/* FlowHub light theme — flips the neutral scale; brand colours deepened for contrast on white */
html[data-theme="light"]{
  color-scheme: light;
  --n0:oklch(0.19 0.022 275); --n100:oklch(0.26 0.022 275); --n200:oklch(0.33 0.022 275);
  --n300:oklch(0.41 0.022 275); --n400:oklch(0.50 0.020 275); --n500:oklch(0.60 0.018 275);
  --n600:oklch(0.70 0.015 275); --n700:oklch(0.80 0.012 275); --n800:oklch(0.885 0.010 275);
  --n850:oklch(0.935 0.008 275); --n900:oklch(0.995 0.002 275); --n950:oklch(0.972 0.006 275);

  --primary:oklch(0.52 0.22 293); --primary-hi:oklch(0.50 0.21 293);
  --secondary:oklch(0.52 0.20 263); --secondary-hi:oklch(0.50 0.19 260);
  --accent:oklch(0.80 0.16 72); --accent-hover:oklch(0.76 0.16 68);
  --accent-text:oklch(0.55 0.14 62);
  --success:oklch(0.52 0.13 160);
  --muted:oklch(0.48 0.019 275);
  --link:var(--primary-hi); --focus:var(--secondary);
  --on-accent:oklch(0.17 0.02 275);
  --hair:0 0 0 1px var(--border);
}
html{ --on-accent:var(--n950); }

/* Text that sits ON the amber accent stays dark in both themes */
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .skip,
html[data-theme="light"] .badge,
html[data-theme="light"] [class*="badge"][style*="accent"]{ color:var(--on-accent); }
html[data-theme="light"] .demo-tag{ color:var(--n900); background:var(--n300); }

/* Hard-coded dark translucent bars */
html[data-theme="light"] .nav{ background:oklch(0.985 0.004 275 / 0.9); }
html[data-theme="light"] .mbar{ background:oklch(0.985 0.004 275 / 0.96); }
@media (max-width:959px){ html[data-theme="light"] .nav{ background:oklch(0.985 0.004 275 / 0.98); } }
html[data-theme="light"] dialog.modal::backdrop{ background:oklch(0.25 0.02 275 / 0.45); }
html[data-theme="light"] dialog.modal{ box-shadow:var(--hair), 0 30px 80px -20px oklch(0.2 0.02 275 / 0.35); }

/* Cards get a soft lift instead of relying on dark contrast */
html[data-theme="light"] .hero-receipt{ box-shadow:0 0 0 1px oklch(0.20 0.02 275 / 0.12), 0 18px 40px -18px oklch(0.2 0.02 275 / 0.35); }
html[data-theme="light"] .receipt{ box-shadow:0 0 0 1px oklch(0.20 0.02 275 / 0.12); }

/* Logo swap */
html[data-theme="light"] .brand img{ content:url(/assets/logo-nav-dark.webp); }

/* Amber used as text needs to be darker on white */
html[data-theme="light"] .venue h3 .arr,
html[data-theme="light"] .accent-text{ color:var(--accent-text); }

/* Toggle button */
.theme-btn{ display:inline-grid; place-items:center; width:44px; height:44px; border-radius:var(--radius,4px); border:0; background:transparent; color:var(--text-2); cursor:pointer; transition:background .15s, color .15s; flex:none; }
.theme-btn:hover{ background:var(--n900); color:var(--text); }
.theme-btn svg{ width:20px; height:20px; }
.theme-btn .i-sun{ display:none; }
html[data-theme="light"] .theme-btn .i-sun{ display:block; }
html[data-theme="light"] .theme-btn .i-moon{ display:none; }
html[data-theme="light"] .theme-btn:hover{ background:var(--n850); }
.mm-theme{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; width:100%; background:transparent; border:0; border-bottom:1px solid var(--n850); color:var(--text); font:600 1rem var(--f-body, sans-serif); cursor:pointer; padding:0; text-align:left; }

/* Product dropdown with descriptions */
.dd-menu a.dd-rich{ display:grid; gap:2px; padding:12px; min-width:260px; }
.dd-menu a.dd-rich b{ color:var(--text); font-weight:700; font-size:0.9375rem; }
.dd-menu a.dd-rich span{ color:var(--muted); font-size:0.8125rem; line-height:1.35; }
