/* ==============================================================
   theme.css - Infinite Atom 3.0 design tokens + shared skin
   Premium modern marketplace: Sora / Inter / JetBrains Mono,
   deep space navy, atomic teal, warm amber. Dark + light themes.
   ============================================================== */

/* --------------------------------------------------------------
   Global type layer - makes the new fonts win even on pages that
   still declare Orbitron / Space Mono in their page CSS.
   (font-family !important only - no layout properties forced)
   -------------------------------------------------------------- */
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif !important;
  letter-spacing: -0.02em;
  font-weight: 700;
}

button, input, select, textarea {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}

code, pre, kbd, samp {
  font-family: 'JetBrains Mono', ui-monospace, monospace !important;
}

/* --------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------- */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080D18;
  --bg2: #0C1322;
  --accent: #2CE0C7;
  --accent2: #FFA05C;
  --accent3: #8B7CF6;
  --text: #C6D2E2;
  --text-dim: #93A1B5;
  --text-strong: #F4F8FF;
  --border: rgba(44, 224, 199, 0.14);
  --panel: rgba(13, 20, 35, 0.88);
  --glow: 0 8px 40px rgba(44, 224, 199, 0.10);
  --on-accent: #05221E;
  --site-body-bg-stack:
    radial-gradient(1100px 620px at 12% -8%, rgba(44, 224, 199, 0.07), transparent 60%),
    radial-gradient(900px 560px at 88% 2%, rgba(139, 124, 246, 0.06), transparent 60%),
    radial-gradient(1000px 700px at 50% 112%, rgba(255, 160, 92, 0.05), transparent 62%),
    linear-gradient(180deg, #080D18, #0A101E);
  --site-grid-line: rgba(198, 210, 226, 0.05);
  --site-nav-bg:
    linear-gradient(180deg, rgba(8, 13, 24, 0.88), rgba(10, 16, 30, 0.78));
  --site-nav-border: rgba(44, 224, 199, 0.12);
  --site-sidebar-bg:
    linear-gradient(180deg, rgba(13, 20, 35, 0.97), rgba(10, 16, 29, 0.97));
  --site-panel-bg-stack:
    linear-gradient(180deg, rgba(16, 24, 42, 0.92), rgba(12, 19, 34, 0.9));
  --site-panel-border: rgba(44, 224, 199, 0.13);
  --site-muted-surface: rgba(255, 255, 255, 0.04);
  --site-input-bg: rgba(255, 255, 255, 0.035);
  --site-footer-bg-stack:
    linear-gradient(180deg, rgba(9, 14, 26, 0.99), rgba(6, 10, 19, 0.995)),
    radial-gradient(circle at top left, rgba(44, 224, 199, 0.06), transparent 36%);
  --site-footer-admin-bg-stack:
    linear-gradient(180deg, rgba(20, 14, 10, 0.99), rgba(13, 9, 7, 0.995)),
    radial-gradient(circle at top left, rgba(255, 160, 92, 0.08), transparent 36%);
  --site-consent-bg-stack:
    linear-gradient(180deg, rgba(11, 17, 31, 0.97), rgba(8, 13, 24, 0.985)),
    radial-gradient(circle at top left, rgba(44, 224, 199, 0.06), transparent 38%);
  --site-cosmo-launcher-bg:
    linear-gradient(180deg, rgba(16, 24, 42, 0.96), rgba(11, 17, 31, 0.98));
  --site-cosmo-panel-bg:
    linear-gradient(180deg, rgba(11, 17, 31, 0.99), rgba(8, 13, 24, 0.995)),
    radial-gradient(circle at top left, rgba(44, 224, 199, 0.06), transparent 38%);
  --site-cosmo-launcher-border: rgba(44, 224, 199, 0.2);
  --site-cosmo-launcher-border-hover: rgba(44, 224, 199, 0.4);
  --site-cosmo-launcher-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(44, 224, 199, 0.08);
  --site-cosmo-launcher-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(44, 224, 199, 0.12);
  --site-cosmo-panel-border: rgba(44, 224, 199, 0.16);
  --site-cosmo-panel-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 32px rgba(44, 224, 199, 0.08);
  --site-cosmo-header-border: rgba(44, 224, 199, 0.1);
  --site-cosmo-message-bg: rgba(255, 255, 255, 0.025);
  --site-cosmo-message-border: rgba(198, 210, 226, 0.1);
  --site-cosmo-bot-bg: rgba(255, 160, 92, 0.05);
  --site-cosmo-user-bg: rgba(44, 224, 199, 0.07);
  --site-cosmo-pending-bg:
    linear-gradient(135deg, rgba(44, 224, 199, 0.08), rgba(44, 224, 199, 0.02)),
    rgba(44, 224, 199, 0.03);
  --site-cosmo-pending-border: rgba(44, 224, 199, 0.16);
  --site-cosmo-starter-bg:
    linear-gradient(180deg, rgba(44, 224, 199, 0.06), rgba(44, 224, 199, 0.015)),
    rgba(255, 255, 255, 0.02);
  --site-cosmo-starter-border: rgba(44, 224, 199, 0.14);
  --site-cosmo-chip-bg: rgba(255, 255, 255, 0.03);
  --site-cosmo-chip-border: rgba(198, 210, 226, 0.12);
  --site-cosmo-chip-hover-bg: rgba(44, 224, 199, 0.08);
  --site-cosmo-chip-text: #DCE7F4;
  --site-cosmo-chip-hover-text: #2CE0C7;
  --site-cosmo-footer-bg: rgba(6, 10, 19, 0.72);
  --site-cosmo-input-bg: rgba(255, 255, 255, 0.04);
  --site-cosmo-input-border: rgba(198, 210, 226, 0.14);
  --site-cosmo-input-focus-border: rgba(44, 224, 199, 0.4);
  --site-cosmo-close-border: rgba(198, 210, 226, 0.14);
  --site-cosmo-note: var(--text-dim);
  --site-cosmo-skip-border: rgba(255, 160, 92, 0.24);
  --site-cosmo-skip-bg: rgba(255, 160, 92, 0.06);
  --site-cosmo-skip-hover-border: rgba(255, 160, 92, 0.45);
  --site-cosmo-skip-hover-bg: rgba(255, 160, 92, 0.1);
  --theme-toggle-bg: rgba(255, 255, 255, 0.04);
  --theme-toggle-border: rgba(44, 224, 199, 0.18);
  --theme-toggle-hover-bg: rgba(44, 224, 199, 0.1);
  --theme-toggle-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --scroll-track: rgba(8, 13, 24, 0.6);
  --scroll-thumb-top: rgba(147, 161, 181, 0.4);
  --scroll-thumb-bottom: rgba(147, 161, 181, 0.32);
  --scroll-thumb-top-hover: rgba(44, 224, 199, 0.5);
  --scroll-thumb-bottom-hover: rgba(44, 224, 199, 0.4);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F4F3EE;
  --bg2: #EAE8E0;
  --accent: #0E7A6E;
  --accent2: #C05621;
  --accent3: #6D5BD0;
  --text: #1E2936;
  --text-dim: #4A5A6A;
  --text-strong: #121A24;
  --border: rgba(14, 122, 110, 0.16);
  --panel: #FFFFFF;
  --glow: 0 8px 40px rgba(14, 122, 110, 0.08);
  --on-accent: #FFFFFF;
  --site-body-bg-stack:
    radial-gradient(1100px 620px at 12% -8%, rgba(14, 122, 110, 0.05), transparent 60%),
    radial-gradient(900px 560px at 88% 2%, rgba(109, 91, 208, 0.04), transparent 60%),
    linear-gradient(180deg, #F4F3EE, #EFEDE6);
  --site-grid-line: rgba(30, 41, 54, 0.06);
  --site-nav-bg:
    linear-gradient(180deg, rgba(252, 251, 248, 0.92), rgba(246, 245, 240, 0.86));
  --site-nav-border: rgba(30, 41, 54, 0.1);
  --site-sidebar-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.98));
  --site-panel-bg-stack:
    linear-gradient(180deg, #FFFFFF, #FBFAF6);
  --site-panel-border: rgba(30, 41, 54, 0.1);
  --site-muted-surface: rgba(30, 41, 54, 0.05);
  --site-input-bg: #FFFFFF;
  --site-footer-bg-stack:
    linear-gradient(180deg, #EDEBE3, #E5E2D8),
    radial-gradient(circle at top left, rgba(14, 122, 110, 0.05), transparent 36%);
  --site-footer-admin-bg-stack:
    linear-gradient(180deg, #EFE7DD, #E7DED2),
    radial-gradient(circle at top left, rgba(192, 86, 33, 0.06), transparent 36%);
  --site-consent-bg-stack:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.99)),
    radial-gradient(circle at top left, rgba(14, 122, 110, 0.04), transparent 38%);
  --site-cosmo-launcher-bg:
    linear-gradient(180deg, #FFFFFF, #F6F4EE);
  --site-cosmo-panel-bg:
    linear-gradient(180deg, #FFFFFF, #F8F6F0),
    radial-gradient(circle at top left, rgba(14, 122, 110, 0.04), transparent 38%);
  --site-cosmo-launcher-border: rgba(30, 41, 54, 0.12);
  --site-cosmo-launcher-border-hover: rgba(14, 122, 110, 0.34);
  --site-cosmo-launcher-shadow: 0 12px 32px rgba(30, 41, 54, 0.12);
  --site-cosmo-launcher-shadow-hover: 0 16px 38px rgba(30, 41, 54, 0.16);
  --site-cosmo-panel-border: rgba(30, 41, 54, 0.12);
  --site-cosmo-panel-shadow: 0 24px 56px rgba(30, 41, 54, 0.16);
  --site-cosmo-header-border: rgba(30, 41, 54, 0.08);
  --site-cosmo-message-bg: rgba(30, 41, 54, 0.035);
  --site-cosmo-message-border: rgba(30, 41, 54, 0.1);
  --site-cosmo-bot-bg: rgba(192, 86, 33, 0.06);
  --site-cosmo-user-bg: rgba(14, 122, 110, 0.07);
  --site-cosmo-pending-bg:
    linear-gradient(135deg, rgba(14, 122, 110, 0.1), rgba(14, 122, 110, 0.03)),
    rgba(14, 122, 110, 0.04);
  --site-cosmo-pending-border: rgba(14, 122, 110, 0.2);
  --site-cosmo-starter-bg:
    linear-gradient(180deg, rgba(14, 122, 110, 0.05), rgba(14, 122, 110, 0.015)),
    #FFFFFF;
  --site-cosmo-starter-border: rgba(14, 122, 110, 0.16);
  --site-cosmo-chip-bg: rgba(30, 41, 54, 0.04);
  --site-cosmo-chip-border: rgba(30, 41, 54, 0.12);
  --site-cosmo-chip-hover-bg: rgba(14, 122, 110, 0.1);
  --site-cosmo-chip-text: var(--text-strong);
  --site-cosmo-chip-hover-text: var(--accent);
  --site-cosmo-footer-bg: rgba(244, 243, 238, 0.92);
  --site-cosmo-input-bg: #FFFFFF;
  --site-cosmo-input-border: rgba(30, 41, 54, 0.14);
  --site-cosmo-input-focus-border: rgba(14, 122, 110, 0.4);
  --site-cosmo-close-border: rgba(30, 41, 54, 0.14);
  --site-cosmo-note: var(--text-dim);
  --site-cosmo-skip-border: rgba(192, 86, 33, 0.3);
  --site-cosmo-skip-bg: rgba(192, 86, 33, 0.08);
  --site-cosmo-skip-hover-border: rgba(192, 86, 33, 0.46);
  --site-cosmo-skip-hover-bg: rgba(192, 86, 33, 0.14);
  --theme-toggle-bg: rgba(255, 255, 255, 0.7);
  --theme-toggle-border: rgba(30, 41, 54, 0.14);
  --theme-toggle-hover-bg: rgba(14, 122, 110, 0.1);
  --theme-toggle-shadow: 0 8px 24px rgba(30, 41, 54, 0.1);
  --scroll-track: rgba(234, 232, 224, 0.9);
  --scroll-thumb-top: rgba(74, 90, 106, 0.4);
  --scroll-thumb-bottom: rgba(74, 90, 106, 0.32);
  --scroll-thumb-top-hover: rgba(14, 122, 110, 0.55);
  --scroll-thumb-bottom-hover: rgba(14, 122, 110, 0.45);
}

html[data-theme] {
  background: var(--bg);
}

html[data-theme] body {
  background: var(--site-body-bg-stack) !important;
  color: var(--text);
  position: relative;
  isolation: isolate;
}

/* Faint dot grid instead of harsh terminal grid lines */
html[data-theme] body::before {
  background-image:
    radial-gradient(var(--site-grid-line) 1px, transparent 1px) !important;
  background-size: 26px 26px !important;
  opacity: 1 !important;
  z-index: -1 !important;
}

html[data-theme] body::after {
  content: none !important;
  background: none !important;
}

html[data-theme="light"] body::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 18% 14%, rgba(14, 122, 110, 0.04), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(192, 86, 33, 0.035), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(30, 41, 54, 0.02)) !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

html[data-theme] .ticker {
  background:
    linear-gradient(90deg, rgba(255, 160, 92, 0.09), rgba(255, 160, 92, 0.03)) !important;
  border-top-color: rgba(255, 160, 92, 0.22) !important;
  border-bottom-color: rgba(255, 160, 92, 0.18) !important;
}

html[data-theme] .ticker-inner {
  color: var(--accent2) !important;
  opacity: 0.92;
}

html[data-theme="light"] .ticker {
  background:
    linear-gradient(90deg, rgba(192, 86, 33, 0.08), rgba(192, 86, 33, 0.02)) !important;
  border-top-color: rgba(192, 86, 33, 0.18) !important;
  border-bottom-color: rgba(192, 86, 33, 0.14) !important;
}

html[data-theme] .construction-banner {
  border-top-color: rgba(255, 160, 92, 0.22) !important;
  border-bottom-color: rgba(255, 160, 92, 0.18) !important;
  background:
    linear-gradient(90deg, rgba(255, 160, 92, 0.08), rgba(255, 160, 92, 0.025)) !important;
}

html[data-theme] .construction-banner__eyebrow,
html[data-theme] .construction-banner__text strong {
  color: var(--accent2) !important;
}

html[data-theme] .construction-banner__text {
  color: var(--text-strong) !important;
}

html[data-theme="light"] .construction-banner__text {
  color: var(--text) !important;
}

html[data-theme] .page-hero::after {
  background: radial-gradient(circle, rgba(44, 224, 199, 0.09) 0%, rgba(139, 124, 246, 0.05) 48%, transparent 74%) !important;
}

html[data-theme="light"] .page-hero::after {
  background: radial-gradient(circle, rgba(14, 122, 110, 0.07) 0%, rgba(192, 86, 33, 0.035) 48%, transparent 70%) !important;
}

html[data-theme="light"] .hero-orb {
  background: radial-gradient(circle, rgba(14, 122, 110, 0.05) 0%, rgba(109, 91, 208, 0.03) 46%, transparent 70%) !important;
  opacity: 0.54 !important;
}

html[data-theme="light"] .hero h1 .line1 {
  color: var(--text-strong) !important;
}

html[data-theme="light"] .hero-desc strong {
  color: var(--text-strong) !important;
}

html[data-theme="light"] :is(.hero-emblem, .hero-tag img, .nav-logo img) {
  filter: drop-shadow(0 0 1px rgba(14, 122, 110, 0.6)) drop-shadow(0 0 5px rgba(14, 122, 110, 0.14)) !important;
}

html[data-theme="light"] .hero-tag {
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(14, 122, 110, 0.16) !important;
}

html[data-theme] .stat-list div {
  border-color: var(--site-panel-border) !important;
  background: var(--site-muted-surface) !important;
}

html[data-theme] :is(nav, .topbar) {
  background: var(--site-nav-bg) !important;
  border-color: var(--site-nav-border) !important;
  color: var(--text);
}

html[data-theme] :is(.sidebar, .dash-tabs) {
  background: var(--site-sidebar-bg) !important;
  border-color: var(--site-panel-border) !important;
}

html[data-theme] :is(
  .page-hero-panel,
  .panel,
  .feature-card,
  .price-card,
  .register-card,
  .portal-wrap .panel,
  .tier-option,
  .tier-btn,
  .stall-card,
  .bb-cat-cell,
  .bb-tier-card,
  .bb-prev-card,
  .mb-type-cell,
  .mb-feat,
  .event-sidebar,
  .sb-panel,
  .quick-card,
  .stat-card,
  .fav-card,
  .reminder-card,
  .explore-card,
  .site-consent-banner,
  .site-consent-panel,
  .cosmo-site-panel,
  .cosmo-site-launcher
) {
  border-color: var(--site-panel-border) !important;
  color: var(--text);
}

html[data-theme] :is(.page-hero-panel, .panel, .feature-card, .price-card, .register-card, .portal-wrap .panel) {
  background: var(--site-panel-bg-stack) !important;
  border-radius: 16px;
}

html[data-theme] :is(.tier-option, .tier-btn, .stall-card, .bb-cat-cell, .bb-tier-card, .bb-prev-card, .mb-type-cell, .mb-feat, .event-sidebar, .sb-panel, .quick-card, .stat-card, .fav-card, .reminder-card, .explore-card) {
  background: var(--site-panel-bg-stack) !important;
  border-radius: 14px;
}

html[data-theme] :is(input, select, textarea, .baz-sort-select, .map-controls select, #searchInput) {
  background: var(--site-input-bg) !important;
  color: var(--text) !important;
  border-color: var(--site-panel-border) !important;
  border-radius: 10px;
}

html[data-theme] :is(select option) {
  background: var(--bg2) !important;
  color: var(--text) !important;
}

html[data-theme] :is(.btn-primary, .btn-submit, .submit-btn, .btn-map.primary, .auth-tab.active, .filter-btn.active) {
  color: var(--on-accent) !important;
}

html[data-theme="light"] :is(h1, h2, h3, h4, h5, h6, .topbar-title, .nav-brand-text, .site-footer__column h3, .site-consent-panel__title, .site-consent-option__label, .cosmo-site-panel__title, .cosmo-site-launcher__title, .popup-name, .ev-item .ev-name, .stall-name, .thread-title, .panel h2) {
  color: var(--text-strong) !important;
  text-shadow: none !important;
}

html[data-theme="light"] :is(.nav-links a, .topbar-link, .back-link, .nav-dash-label, .nav-user-caret, .site-footer__column a, .site-footer__legal a, .site-footer__social a, .site-consent-option__desc, .cosmo-site-launcher__subtitle, .cosmo-site-panel__subtitle, .popup-meta, .stall-desc, .portal-header p, .panel p, .intro-text, .site-footer__brandcopy p, .site-footer__copyright) {
  color: var(--text-dim) !important;
}

html[data-theme="light"] .nav-brand-text,
html[data-theme="light"] .nav-dash-label span,
html[data-theme="light"] .nav-links a.active,
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .topbar-title span {
  color: var(--accent) !important;
}

html[data-theme] nav.nav--dashboard,
html[data-theme] nav.nav--admin {
  background: var(--site-nav-bg) !important;
  border-bottom-color: var(--site-nav-border) !important;
}

html[data-theme] .nav-dash-label {
  color: var(--text-dim) !important;
  border-left-color: var(--site-panel-border) !important;
}

html[data-theme="light"] .nav-dash-label {
  color: var(--text-dim) !important;
}

html[data-theme] .nav-dash-label span {
  color: var(--accent) !important;
}

html[data-theme] nav.nav--admin .nav-dash-label span {
  color: var(--accent2) !important;
}

html[data-theme] .nav-user-avatar {
  background: var(--site-muted-surface) !important;
  border-color: rgba(44, 224, 199, 0.35) !important;
  color: var(--accent) !important;
}

html[data-theme="light"] .nav-user-avatar {
  border-color: rgba(14, 122, 110, 0.3) !important;
}

html[data-theme] .nav-user-dropdown {
  background: var(--site-panel-bg-stack) !important;
  border-color: var(--site-panel-border) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="light"] .nav-user-dropdown {
  box-shadow: 0 16px 40px rgba(30, 41, 54, 0.16) !important;
}

html[data-theme] .nav-dd-name {
  color: var(--accent) !important;
  border-bottom-color: var(--site-panel-border) !important;
}

html[data-theme] .nav-dd-item {
  color: var(--text-dim) !important;
}

html[data-theme] .nav-dd-item:hover {
  color: var(--accent) !important;
  background: var(--theme-toggle-hover-bg) !important;
}

html[data-theme] .site-footer {
  background: var(--site-footer-bg-stack) !important;
  border-top-color: var(--site-panel-border) !important;
}

html[data-theme] .site-footer--admin {
  background: var(--site-footer-admin-bg-stack) !important;
}

html[data-theme] .sidebar-title,
html[data-theme] .map-stats,
html[data-theme] .leaflet-popup-content-wrapper {
  background: var(--site-panel-bg-stack) !important;
  border-color: var(--site-panel-border) !important;
  box-shadow: var(--theme-toggle-shadow) !important;
}

html[data-theme] .leaflet-popup-content-wrapper {
  border-radius: 14px !important;
}

html[data-theme] .leaflet-popup-tip {
  background: var(--bg2) !important;
  border-color: var(--site-panel-border) !important;
}

html[data-theme] .sidebar-title {
  color: var(--text-strong) !important;
}

html[data-theme] .event-sidebar::before,
html[data-theme] .map-stats::before,
html[data-theme] .leaflet-popup-content-wrapper::before {
  background: linear-gradient(90deg, rgba(255, 160, 92, 0.9), rgba(255, 160, 92, 0.24)) !important;
}

html[data-theme] .ev-item {
  border-bottom-color: rgba(44, 224, 199, 0.08) !important;
}

html[data-theme] .ev-item:hover {
  background: rgba(44, 224, 199, 0.05) !important;
}

html[data-theme="light"] .ev-item {
  border-bottom-color: rgba(14, 122, 110, 0.08) !important;
}

html[data-theme="light"] .ev-item:hover {
  background: rgba(14, 122, 110, 0.07) !important;
}

html[data-theme="light"] .ev-section {
  background: rgba(14, 122, 110, 0.09) !important;
  border-bottom-color: rgba(14, 122, 110, 0.18) !important;
  color: var(--accent) !important;
}

html[data-theme="light"] .ev-section.this-week {
  background: rgba(192, 86, 33, 0.1) !important;
  border-bottom-color: rgba(192, 86, 33, 0.18) !important;
  color: var(--accent2) !important;
}

html[data-theme="light"] .ev-section.this-month {
  background: rgba(14, 122, 110, 0.09) !important;
  border-bottom-color: rgba(14, 122, 110, 0.18) !important;
  color: var(--accent) !important;
}

html[data-theme="light"] .map-controls :is(select, input) {
  background: #FFFFFF !important;
}

html[data-theme="light"] :is(.topbar, .dash-tabs) {
  box-shadow: 0 12px 30px rgba(30, 41, 54, 0.1) !important;
}

html[data-theme="light"] :is(.stat, .notif-item, .fav-card, .event-card, .sell-cta-panel, .explore-card) {
  background: linear-gradient(180deg, #FFFFFF, #FBFAF6) !important;
  border-color: rgba(30, 41, 54, 0.1) !important;
  box-shadow: 0 14px 32px rgba(30, 41, 54, 0.08) !important;
}

html[data-theme="light"] :is(.stat strong, .explore-card h4, .notif-msg, .fav-card-name, .event-name, .sell-cta-panel h4) {
  color: var(--text-strong) !important;
  text-shadow: none !important;
}

html[data-theme="light"] :is(.stat span, .explore-card p, .notif-time, .fav-card-meta, .event-location, .event-desc, .empty-state, .sell-cta-panel p, .field label) {
  color: var(--text-dim) !important;
}

html[data-theme="light"] :is(.panel p, .hero-desc, .explore-card p, .baz-hero > p, .bb-hd p, .bb-cat-cell .cc-sub, .bb-tier-card li, .bb-prev-desc, .bb-cta > p, .stall-desc, .mb-hd p, .mb-type-cell .ts, .mb-feat p, .mb-ev-meta, .mb-ev-date, .mb-cta > p, .popup-desc, .ev-item .ev-loc, .event-desc) {
  color: var(--text) !important;
}

html[data-theme="light"] :is(.field input, .field textarea, .fav-tab, .btn-secondary, .logout-btn) {
  background: #FFFFFF !important;
  border-color: rgba(30, 41, 54, 0.14) !important;
  color: var(--text) !important;
}

html[data-theme="light"] :is(.btn-secondary:hover, .logout-btn:hover, .fav-tab:hover) {
  background: rgba(14, 122, 110, 0.08) !important;
  border-color: rgba(14, 122, 110, 0.3) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .btn-primary:hover {
  background: #0A6459 !important;
  color: #FFFFFF !important;
  box-shadow: 0 12px 28px rgba(14, 122, 110, 0.22) !important;
}

html[data-theme="light"] .notif-item.is-read {
  opacity: 0.74 !important;
}

html[data-theme="light"] .event-date-block {
  background: rgba(14, 122, 110, 0.1) !important;
  border-color: rgba(14, 122, 110, 0.22) !important;
}

html[data-theme="light"] .event-type-tag {
  background: rgba(192, 86, 33, 0.1) !important;
  border-color: rgba(192, 86, 33, 0.22) !important;
}

html[data-theme="light"] :is(.event-sidebar, .sidebar-title, .map-stats, .leaflet-popup-content-wrapper) {
  background: linear-gradient(180deg, #FFFFFF, #F8F6F0) !important;
  box-shadow: 0 16px 34px rgba(30, 41, 54, 0.1) !important;
}

html[data-theme="light"] :is(.bb-strip-cell, .mb-strip-cell, .stat-list div) {
  background: linear-gradient(180deg, #FFFFFF, #F6F4EE) !important;
  border-color: rgba(30, 41, 54, 0.09) !important;
  box-shadow: 0 10px 24px rgba(30, 41, 54, 0.07) !important;
}

html[data-theme="light"] .leaflet-popup-tip {
  background: #F8F6F0 !important;
}

html[data-theme="light"] :is(.map-stat .ms-label, .legend-item, .popup-meta, .popup-type, .ev-item .ev-loc, .mb-hd p, .mb-type-cell .ts, .mb-feat p, .mb-ev-meta, .mb-ev-date, .mb-cta > p, .mb-cta-sub, .submit-form label, .geocode-hint) {
  color: var(--text-dim) !important;
}

html[data-theme="light"] :is(.map-stat .ms-value, .popup-name, .ev-item .ev-name, .mb-hd h2, .mb-type-cell .tn, .mb-feat h4, .mb-ev-name, .mb-lock-lbl, .mb-cta h2) {
  color: var(--text-strong) !important;
  text-shadow: none !important;
}

html[data-theme="light"] :is(.submit-form input, .submit-form textarea, .submit-form select) {
  background: #FFFFFF !important;
  border-color: rgba(30, 41, 54, 0.14) !important;
  color: var(--text) !important;
}

html[data-theme="light"] .legend-dot {
  border-color: rgba(30, 41, 54, 0.16) !important;
}

html[data-theme="light"] :is(.popup-save-btn, .popup-directions-btn) {
  background: rgba(255, 255, 255, 0.8) !important;
}

html[data-theme="light"] .baz-hero > p {
  color: var(--text) !important;
}

html[data-theme="light"] .baz-search-wrap {
  background: #FFFFFF !important;
  border-color: rgba(30, 41, 54, 0.12) !important;
  box-shadow: 0 16px 32px rgba(30, 41, 54, 0.1) !important;
}

html[data-theme="light"] #searchInput {
  background: transparent !important;
  color: var(--text) !important;
}

html[data-theme="light"] #searchInput::placeholder {
  color: var(--text-dim) !important;
}

html[data-theme="light"] :is(.baz-filter-label, .baz-sort-label, .baz-count, .stall-prod-count, .baz-loading, .baz-empty, .bb-strip-cell span, .bb-hd p, .bb-tier-note, .bb-prev-desc, .bb-prev-foot, .bb-cta > p, .bb-cta-sub) {
  color: var(--text-dim) !important;
}

html[data-theme="light"] :is(.bb-tier-note, .bb-prev-foot, .baz-loading, .baz-empty, .bb-strip-cell span, .mb-strip-cell span, .map-stat .ms-label, .legend-item, .popup-type, .notif-time, .field label) {
  color: var(--text-dim) !important;
}

html[data-theme="light"] :is(.filter-btn, .stall-desc, .bb-cat-cell .cc-sub) {
  color: var(--text) !important;
}

html[data-theme="light"] :is(.bb-hd h2, .bb-cat-cell .cc-nm, .bb-tier-card h4, .bb-prev-name, .bb-lock-lbl, .bb-cta h2, .baz-cta-inner h3) {
  color: var(--text-strong) !important;
  text-shadow: none !important;
}

html[data-theme="light"] .filter-btn {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(30, 41, 54, 0.12) !important;
}

html[data-theme="light"] .filter-btn:hover {
  background: rgba(192, 86, 33, 0.09) !important;
  border-color: rgba(192, 86, 33, 0.22) !important;
  color: var(--text-strong) !important;
}

html[data-theme="light"] .baz-sort-select {
  background: #FFFFFF !important;
}

html[data-theme="light"] .baz-cta-inner {
  background:
    linear-gradient(135deg, rgba(14, 122, 110, 0.1), rgba(192, 86, 33, 0.07)),
    linear-gradient(180deg, #FFFFFF, #F6F4EE) !important;
  border-color: rgba(14, 122, 110, 0.18) !important;
  box-shadow: 0 16px 34px rgba(30, 41, 54, 0.08) !important;
}

html[data-theme="light"] :is(.bb-lock, .mb-lock) {
  background: radial-gradient(ellipse at center, rgba(30, 41, 54, 0.45) 0%, rgba(30, 41, 54, 0.75) 100%) !important;
}

html[data-theme="light"] .construction-banner {
  background:
    linear-gradient(90deg, rgba(192, 86, 33, 0.11), rgba(192, 86, 33, 0.04)) !important;
  border-top-color: rgba(192, 86, 33, 0.26) !important;
  border-bottom-color: rgba(192, 86, 33, 0.2) !important;
}

html[data-theme="light"] .construction-banner__text {
  color: var(--text-strong) !important;
}

html[data-theme="light"] :is(.hero-orb, .page-hero::after) {
  background: radial-gradient(circle, rgba(14, 122, 110, 0.1) 0%, rgba(192, 86, 33, 0.05) 46%, transparent 74%) !important;
}

html[data-theme="light"] :is(.stat, .spotlight-card, .page-hero-panel, .feature-card, .panel, .price-card, .cb-cat, .cb-feat, .sb-panel, .cb-thread-row, .thread-row) {
  background: linear-gradient(180deg, #FFFFFF, #FAF8F3) !important;
  border-color: rgba(30, 41, 54, 0.1) !important;
  box-shadow: 0 14px 30px rgba(30, 41, 54, 0.06) !important;
}

html[data-theme="light"] .stat::before {
  background: linear-gradient(135deg, rgba(14, 122, 110, 0.07) 0%, rgba(192, 86, 33, 0.02) 65%) !important;
}

html[data-theme="light"] :is(.nav-brand-text, h1 .line2, .page-hero h1 span, .comm-hero h1 span, .cb-hd h2 span, .comm-stat strong, .stat-list strong, .sb-stat-row strong, .spotlight-link) {
  color: var(--accent) !important;
  text-shadow: none !important;
}

html[data-theme="light"] :is(h1 .line3, .construction-banner__eyebrow, .construction-banner__text strong, .page-hero-panel .kicker, .eyebrow, .card-label, .section-tag) {
  color: var(--accent2) !important;
  text-shadow: none !important;
}

html[data-theme="light"] :is(.hero-desc, .hero-desc strong, .page-hero p, .cb-hd p, .comm-hero p, .spotlight-bio, .feature-card p, .panel p, .price-card p) {
  color: var(--text) !important;
}

html[data-theme="light"] :is(.page-hero-panel h2, .feature-card h3, .panel h3, .price-card h3, .spotlight-heading h2, .spotlight-name, .cb-cat h4, .cb-feat h4, .sb-panel h4, .section-head h2) {
  color: var(--text-strong) !important;
  text-shadow: none !important;
}

html[data-theme="light"] .cta-band {
  background: linear-gradient(90deg, rgba(14, 122, 110, 0.1), rgba(192, 86, 33, 0.07)) !important;
  border-color: rgba(14, 122, 110, 0.18) !important;
}

html[data-theme="light"] :is(.cat-tab, .filter-btn, .btn-secondary) {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(30, 41, 54, 0.12) !important;
}

html[data-theme] .site-footer__social a,
html[data-theme] .site-footer__divider {
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .site-footer__social a,
html[data-theme="light"] .site-footer__divider {
  border-color: rgba(30, 41, 54, 0.12);
}

html[data-theme="light"] .site-footer__brandmark img {
  filter: drop-shadow(0 0 1px rgba(14, 122, 110, 0.5)) drop-shadow(0 0 6px rgba(14, 122, 110, 0.14));
}

html[data-theme] :is(.site-consent-banner, .site-consent-panel) {
  background: var(--site-consent-bg-stack) !important;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="light"] :is(.site-consent-banner, .site-consent-panel) {
  box-shadow: 0 24px 56px rgba(30, 41, 54, 0.16) !important;
}

html[data-theme] .site-consent-btn:not(.site-consent-btn--primary),
html[data-theme] .site-consent-option {
  background: var(--site-muted-surface) !important;
  border-color: var(--site-panel-border) !important;
  color: var(--text) !important;
}

html[data-theme] .site-consent-toggle {
  border-color: var(--site-panel-border) !important;
  background: var(--theme-toggle-bg) !important;
}

html[data-theme] .site-consent-toggle::after {
  background: rgba(198, 210, 226, 0.78) !important;
}

html[data-theme="light"] .site-consent-toggle::after {
  background: rgba(30, 41, 54, 0.45) !important;
}

html[data-theme] .site-consent-toggle:checked::after {
  background: var(--accent) !important;
}

html[data-theme] .cosmo-site-launcher {
  background: var(--site-cosmo-launcher-bg) !important;
  border-color: var(--site-cosmo-launcher-border) !important;
  box-shadow: var(--site-cosmo-launcher-shadow) !important;
  color: var(--text) !important;
}

html[data-theme="light"] .cosmo-site-launcher {
  border-color: rgba(14, 122, 110, 0.2) !important;
}

html[data-theme] .cosmo-site-panel {
  background: var(--site-cosmo-panel-bg) !important;
  border-color: var(--site-panel-border) !important;
  box-shadow: var(--site-cosmo-panel-shadow) !important;
}

html[data-theme] .cosmo-site-panel__close,
html[data-theme] .cosmo-site-starter__chip,
html[data-theme] .cosmo-site-input {
  border-color: var(--site-panel-border) !important;
}

html[data-theme="light"] .cosmo-site-message,
html[data-theme="light"] .cosmo-site-input {
  color: var(--text) !important;
}

html[data-theme="light"] .cosmo-site-message {
  background: var(--site-cosmo-message-bg) !important;
  border-color: var(--site-cosmo-message-border) !important;
  color: var(--text) !important;
}

html[data-theme="light"] .cosmo-site-starter {
  background: var(--site-cosmo-starter-bg) !important;
  border-color: var(--site-cosmo-starter-border) !important;
  color: var(--text) !important;
}

html[data-theme="light"] .cosmo-site-starter__chip {
  background: var(--site-cosmo-chip-bg) !important;
  border-color: var(--site-cosmo-chip-border) !important;
  color: var(--text) !important;
}

html[data-theme="light"] .cosmo-site-message--bot {
  background: var(--site-cosmo-bot-bg) !important;
}

html[data-theme="light"] .cosmo-site-message--user,
html[data-theme="light"] .cosmo-site-message--pending {
  background: var(--site-cosmo-user-bg) !important;
}

html[data-theme="light"] .cosmo-site-message--pending {
  background: var(--site-cosmo-pending-bg) !important;
  border-color: var(--site-cosmo-pending-border) !important;
}

html[data-theme="light"] .cosmo-site-input {
  background: var(--site-cosmo-input-bg) !important;
  border-color: var(--site-cosmo-input-border) !important;
}

html[data-theme] .site-nav-toggle {
  border-color: var(--theme-toggle-border);
  background: var(--theme-toggle-bg);
  color: var(--text);
}

html[data-theme] .site-nav-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------
   Sitewide type rhythm - readable floors, sentence-case UI.
   -------------------------------------------------------------- */
html[data-theme] {
  font-size: clamp(16px, 0.2vw + 15.4px, 18px);
}

html[data-theme] body {
  font-size: 1rem;
  line-height: 1.65;
}

html[data-theme] nav {
  gap: clamp(0.9rem, 1.1vw, 1.35rem);
}

html[data-theme] .nav-brand-text {
  font-family: 'Sora', 'Inter', sans-serif !important;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: none !important;
}

html[data-theme] .nav-links {
  flex-wrap: nowrap;
  gap: clamp(0.68rem, 0.9vw, 1rem);
  min-width: 0;
}

html[data-theme] .nav-links li {
  flex: 0 0 auto;
}

html[data-theme] .nav-links a {
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-transform: none !important;
  font-weight: 500;
}

html[data-theme] :is(.nav-actions, .site-nav-actions) {
  flex-wrap: nowrap;
  gap: 0.7rem;
  flex-shrink: 0;
}

html[data-theme] nav :is(.btn-primary, .btn-secondary, .theme-toggle, .nav-user-inner) {
  white-space: nowrap;
  overflow-wrap: normal !important;
  word-break: keep-all;
}

html[data-theme] nav :is(.btn-primary, .btn-secondary) {
  padding: 0.7rem 1.15rem;
  letter-spacing: 0.01em;
  text-transform: none !important;
  font-weight: 600;
  border-radius: 12px !important;
  clip-path: none !important;
}

html[data-theme] nav .theme-toggle {
  min-width: 112px;
  padding: 0.5rem 0.78rem;
}

html[data-theme] :is(
  .ticker-inner,
  .nav-brand-text,
  .nav-links a,
  .nav-dd-name,
  .nav-dd-item,
  .topbar-title,
  .topbar-link,
  .dash-tab,
  .site-nav-toggle,
  .site-consent-kicker,
  .site-consent-btn,
  .site-consent-panel__title,
  .site-consent-option__label,
  .site-footer__eyebrow,
  .site-footer__column h3
) {
  font-size: 0.82rem !important;
}

html[data-theme] :is(
  .btn-primary,
  .btn-secondary,
  .theme-toggle,
  .atom-status,
  .logout-btn
) {
  font-size: 0.82rem !important;
}

html[data-theme] :is(
  .theme-toggle__label,
  .nav-user-avatar,
  .nav-user-caret,
  .site-footer__social a
) {
  font-size: 0.7rem !important;
}

html[data-theme] :is(
  .page-hero p,
  .section-head p,
  .page-hero-panel p,
  .feature-card p,
  .feature-card li,
  .panel p,
  .panel li,
  .price-card p,
  .cta-band p,
  .site-consent-text,
  .site-consent-option__desc,
  .site-footer__brandcopy p,
  .site-footer__column a,
  .site-footer__legal a,
  .site-footer__copyright,
  .baz-hero > p,
  .stall-desc,
  .comm-hero p,
  .join-prompt p,
  .post-body,
  .feed-empty,
  .feed-loading,
  .popup-desc,
  .bb-hd p,
  .bb-prev-desc,
  .bb-cta > p,
  .mb-hd p,
  .mb-feat p,
  .mb-cta > p,
  .cb-hd p,
  .cb-cat p,
  .cb-feat p,
  .cb-cta > p,
  .setup-phase p,
  .panel-card p,
  .inq-message,
  .event-card .ev-desc,
  .chat-msg .chat-body,
  .thread-post .tp-body,
  .showcase-card .sc-body,
  .notif-msg,
  .access-denied p
) {
  font-size: 0.94rem !important;
  line-height: 1.72 !important;
}

html[data-theme] :is(
  .eyebrow,
  .feature-card .kicker,
  .card-label,
  .price-card .kicker,
  .page-hero-panel .kicker,
  .tag,
  .construction-banner__eyebrow,
  .field label,
  .submit-form label,
  .baz-filter-label,
  .baz-sort-label,
  .baz-count,
  .stall-prod-count,
  .baz-loading,
  .baz-empty,
  .bb-strip-cell span,
  .bb-tier-badge,
  .bb-tier-note,
  .bb-prev-tier,
  .bb-prev-foot,
  .bb-cta-sub,
  .mb-strip-cell span,
  .map-stat .ms-label,
  .legend-item,
  .popup-meta,
  .popup-type,
  .ev-item .ev-loc,
  .ev-item .ev-date,
  .ev-item .ev-hours,
  .mb-type-cell .ts,
  .mb-ev-meta,
  .mb-ev-date,
  .mb-cta-sub,
  .thread-author,
  .thread-time,
  .thread-badge,
  .thread-reply-label,
  .pin-badge,
  .thread-detail-meta,
  .post-time,
  .spotlight-tier,
  .spotlight-link,
  .partner-row-tier,
  .cb-cat .ct,
  .cb-thread-meta,
  .cb-thread-cat,
  .cb-stat-cell span,
  .cb-cta-sub,
  .page-subtitle,
  .stat-sub,
  .section-tag,
  .notif-time,
  .notif-mark-btn,
  .fav-tab,
  .fav-visit,
  .fav-remove,
  .reminder-month,
  .reminder-type,
  .reminder-directions,
  .reminder-remove,
  .status-active,
  .status-pending,
  .status-suspended,
  .data-table,
  .geocode-hint,
  .site-footer__divider
) {
  font-size: 0.78rem !important;
  line-height: 1.6 !important;
}

html[data-theme] :is(
  .eyebrow,
  .feature-card .kicker,
  .card-label,
  .price-card .kicker,
  .page-hero-panel .kicker,
  .section-tag,
  .construction-banner__eyebrow
) {
  font-family: 'JetBrains Mono', ui-monospace, monospace !important;
  font-size: 0.69rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}

html[data-theme] :is(
  .filter-btn,
  .bb-cat-cell .cc-nm,
  .bb-cat-cell .cc-sub,
  .bb-tier-card h4,
  .bb-tier-card li,
  .bb-prev-name,
  .bb-lock-lbl,
  .mb-type-cell .tn,
  .mb-feat h4,
  .mb-ev-name,
  .mb-lock-lbl,
  .cb-cat h4,
  .cb-thread-title,
  .cb-lock-lbl,
  .thread-title,
  .composer h4,
  .composer textarea,
  .composer-cancel,
  .reply-form h5,
  .reply-form textarea,
  .spotlight-name,
  .partner-row a,
  .setup-item,
  .atom-text strong,
  .field input,
  .field textarea,
  .field select,
  .submit-form input,
  .submit-form textarea,
  .submit-form select,
  .data-table th,
  .data-table td,
  .fav-card-name,
  .fav-card-meta,
  .reminder-name,
  .reminder-location,
  .reminder-hours,
  .event-card .ev-meta,
  .event-card .ev-claimed,
  .chat-msg .chat-author,
  .chat-msg .chat-time,
  .thread-item .th-title,
  .thread-item .th-meta,
  .thread-post .tp-author,
  .thread-post .tp-time,
  .showcase-card .sc-type,
  .showcase-card .sc-title,
  .showcase-card .sc-meta,
  .analytics-card .an-label,
  .analytics-card .an-sub,
  .access-denied a
) {
  font-size: 0.88rem !important;
}

html[data-theme] :is(
  input,
  select,
  textarea,
  button,
  #searchInput,
  .baz-sort-select
) {
  font-size: 0.92rem;
}

/* --------------------------------------------------------------
   Shared button language - premium, no clip-path.
   -------------------------------------------------------------- */
html[data-theme] :is(.btn-primary, .btn-submit, .submit-btn, .btn-map.primary) {
  background: linear-gradient(135deg, #2CE0C7, #1FB9A6) !important;
  border: 0 !important;
  border-radius: 12px !important;
  clip-path: none !important;
  font-weight: 600;
  text-transform: none !important;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 8px 22px rgba(44, 224, 199, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

html[data-theme] :is(.btn-primary:hover, .btn-submit:hover, .submit-btn:hover, .btn-map.primary:hover) {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 12px 28px rgba(44, 224, 199, 0.24);
}

html[data-theme="light"] :is(.btn-primary, .btn-submit, .submit-btn, .btn-map.primary) {
  background: linear-gradient(135deg, #0E7A6E, #0A6459) !important;
  box-shadow: 0 8px 22px rgba(14, 122, 110, 0.2);
}

html[data-theme] :is(.btn-secondary, .logout-btn, .filter-btn, .cat-tab, .fav-tab) {
  border-radius: 12px !important;
  clip-path: none !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
  font-weight: 500;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

/* --------------------------------------------------------------
   Theme toggle component
   -------------------------------------------------------------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-width: 120px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--theme-toggle-border);
  border-radius: 12px;
  background: var(--theme-toggle-bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  text-transform: none;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
  box-shadow: var(--theme-toggle-shadow);
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--theme-toggle-hover-bg);
  color: var(--accent);
  transform: translateY(-1px);
}

.theme-toggle__label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.theme-toggle__value {
  color: var(--accent2);
  font-weight: 700;
}

.theme-toggle[data-mode="light"] .theme-toggle__value {
  color: var(--accent);
}

.theme-toggle--floating {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1100;
}

@media (max-width: 900px) {
  nav.site-nav-enhanced .site-nav-actions .theme-toggle {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .theme-toggle--floating {
    top: 0.75rem;
    right: 0.75rem;
    min-width: 104px;
    padding: 0.5rem 0.72rem;
  }
}

/* --------------------------------------------------------------
   Sidebar text - light theme
   -------------------------------------------------------------- */
html[data-theme="light"] .sidebar-toggle {
  color: #1E2936 !important;
  background: rgba(30, 41, 54, 0.03) !important;
}

html[data-theme="light"] .sidebar-toggle:hover {
  background: rgba(30, 41, 54, 0.06) !important;
}

html[data-theme="light"] .sidebar-toggle-caret {
  color: rgba(30, 41, 54, 0.45) !important;
}

html[data-theme="light"] .sidebar-group.open .sidebar-toggle-caret {
  color: var(--accent) !important;
}

html[data-theme="light"] .sidebar-group {
  border-color: rgba(30, 41, 54, 0.09) !important;
  background: rgba(30, 41, 54, 0.02) !important;
}

html[data-theme="light"] .nav-item {
  color: #2A3A4A !important;
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(30, 41, 54, 0.06) !important;
}

html[data-theme="light"] .nav-item:hover {
  color: #1E2936 !important;
  background: rgba(30, 41, 54, 0.06) !important;
  border-color: rgba(30, 41, 54, 0.1) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .nav-item.active {
  color: var(--accent) !important;
  background: rgba(14, 122, 110, 0.09) !important;
  border-color: rgba(14, 122, 110, 0.18) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .nav-item .icon {
  color: var(--accent2) !important;
  text-shadow: none !important;
}

html[data-theme="light"] .sidebar-bottom {
  background: rgba(30, 41, 54, 0.04) !important;
  border-top-color: rgba(30, 41, 54, 0.1) !important;
}

html[data-theme="light"] .stall-name-sidebar {
  color: #1E2936 !important;
}


/* ==== LIGHT THEME FIXES 20260703b ==== */
html[data-theme="light"] .site-footer__social a { color: var(--text-dim); }
