/* wiamoney.wiastandards.com — LIGHT-mode gap filler (2026-10-29, family56 bundle D). OPTIONAL, ~40 lines.
   The site's theme switch is Tailwind `darkMode:'class'` on <html class="dark"> + localStorage `theme` — the engine
   must toggle THAT class (NOTES ④); `data-theme` alone changes nothing in Tailwind. This file only patches the
   handful of hard-coded dark values in views/layouts/main.php's inline <style> that have no light counterpart.
   Scoped to html[data-theme="light"]:not(.dark) so it can never fight the dark look. Load at the END of <head> of
   views/layouts/main.php (line ~199 `</head>`, after the inline <style>). auth.php needs nothing (it already has
   html:not(.dark) .glass-card). Live files untouched. color-scheme: engine, not here. */

/* main.php 57-63: base .glass-card is rgba(255,255,255,.03) + rgba(255,255,255,.06) border, the light variant is written
   as `.light .glass-card` — a class nobody sets → in light mode every card on the dashboard is see-through with an
   invisible edge. (auth.php got the html:not(.dark) fix, main.php did not.) */
html[data-theme="light"]:not(.dark) .glass-card {
  background: rgba(255, 255, 255, .85);
  border-color: rgba(15, 23, 42, .12);
  box-shadow: 0 10px 30px -12px rgba(15, 23, 42, .12);
}

/* main.php 154-160: .bottom-nav a{color:#94a3b8} on rgba(255,255,255,.95) = 2.9:1; active #2b8fff = 3.6:1 (text 0.7rem) */
html[data-theme="light"]:not(.dark) .bottom-nav a { color: #475569; }
html[data-theme="light"]:not(.dark) .bottom-nav a.active,
html[data-theme="light"]:not(.dark) .bottom-nav a:hover { color: #1470f5; }      /* brand-600, 4.8:1 on white */

/* main.php 78-82 / 130: sidebar .nav-link.active colour #2b8fff (3.6:1 on #f0f4f8) → brand-600 */
html[data-theme="light"]:not(.dark) .nav-link:hover,
html[data-theme="light"]:not(.dark) .nav-link.active { color: #1470f5; border-left-color: #1470f5; }

/* main.php 74: ::-webkit-scrollbar-thumb rgba(255,255,255,.1) is invisible on the light page */
html[data-theme="light"]:not(.dark) ::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, .18); }

/* main.php 165-167: pull-to-refresh pill text #2b8fff on rgba(43,143,255,.15) tint */
html[data-theme="light"]:not(.dark) .ptr-indicator { color: #1470f5; }

/* main.php 434 / auth login.php 73 / register.php 83: A11Y self-audit caption <div style="font-size:10px;color:#94a3b8">
   = 2.4:1 on light → inline needs !important */
html[data-theme="light"]:not(.dark) div[style*="color:#94a3b8"] { color: #475569 !important; }
