/* Light mode for the public site (28 Oct 2026). The sun button in the top strip sets <html data-theme="light">
   (assets/site.js), remembered on the device with the client portal's own setting, so the two match; head.php applies
   it before the first paint. Dark is the Zopi default. This redefines the colour variables of assets/base.css in the
   portal's light palette, then fixes the few things a variable can't reach. */
html[data-theme=light]{
  --navy:#f3f6fa; --card:#fff; --card2:#f1f5f9; --deep:#fff;
  --white:#0f172a; --muted:#556070; --muted2:#334155;
  --border:rgba(15,23,42,.1);
  --cyan:#0369a1; --cyan2:#0284c7; --grad2:#7c3aed; --violet:#7c3aed; --purple:#7c3aed;
  --green:#047857; --amber:#a14a08; --red:#c81e1e;
  --ink:15,23,42; --bg-rgb:243,246,250; --card-rgb:255,255,255; --card2-rgb:241,245,249; --deep-rgb:255,255,255;
  --shadow-rgb:15,23,42; --sh:.3;
  color-scheme:light}
html[data-theme=light] .h-page{--card-solid:#fff}

/* The navy logo instead of the white one (includes/nav.php, footer.php) */
html[data-theme=light] .zn-logo .zl-d,html[data-theme=light] .zf-brand .zl-d{display:none}
html[data-theme=light] .zn-logo .zl-l,html[data-theme=light] .zf-brand .zl-l{display:block}

/* Icons drawn with the bright cyan written into them */
html[data-theme=light] svg[stroke="#00C2FF"],html[data-theme=light] svg [stroke="#00C2FF"]{stroke:var(--cyan)}
html[data-theme=light] svg[fill="#00C2FF"],html[data-theme=light] svg [fill="#00C2FF"]{fill:var(--cyan)}

/* Partner logos are white pictures: grey silhouettes on a light page (index.php trust strip, partners.php) */
html[data-theme=light] .h-trust img,html[data-theme=light] .co-plogo img{filter:brightness(0);opacity:.62}
