:root{--bg:#081b30;--rail:#081b30;--panel:#0f2e4f;--surface:#0f2e4f;--bubble:#0f2e4f;--raised:#163b60;--selected:#1a3a5c;--hover:#1a3a5c;--mine:#1a3a5c;--text:#f2f4f7;--muted:#a9b8c8;--text-brand:#4fd1ba;--line:#23476b;--border:#23476b;--control:#6f8ba8;--accent:#4fd1ba;--accent-hover:#7adfcc;--accent-ink:#06231e;--signal:#13a08c;--on-signal:#0b2540;--signal-text:#4fd1ba;--focus:#4fd1ba;--success:#4fd1ba;--success-bg:#0e3a35;--danger:#f98b80;--danger-bg:#3d1a17;}:root[data-theme='light']{--bg:#f2f4f7;--rail:#f2f4f7;--panel:#ffffff;--surface:#ffffff;--bubble:#ffffff;--raised:#ffffff;--selected:#ebeff3;--hover:#ebeff3;--mine:#ebeff3;--text:#0b2540;--muted:#5a6b7d;--text-brand:#0b7a6a;--line:#d5dce4;--border:#d5dce4;--control:#7c8da0;--accent:#0b2540;--accent-hover:#1c3d61;--accent-ink:#ffffff;--signal:#13a08c;--on-signal:#0b2540;--signal-text:#0b7a6a;--focus:#0b7a6a;--success:#0b7a6a;--success-bg:#e3f5f1;--danger:#b42318;--danger-bg:#fde8e6;}
/* SOTTO brand layer, added after web/src/style.css (vite.config.js). Colours are in brand.json
   ("theme", from scripts/brand_tokens.py); this file holds type and the logo. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/react/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/react/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/react/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('/react/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 400; font-display: swap; src: url('/react/fonts/space-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url('/react/fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url('/react/fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); }
:root {
  --font-sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}
/* Logo: the padlock is never recoloured (navy, or white on dark), so it is an image, not a mask.
   The wordmark is a mask in the text colour: navy on light, near-white on dark. */
.asar-logo { height: 40px; gap: 0; }
.asar-logo-mark {
  -webkit-mask: none;
  mask: none;
  aspect-ratio: 119.2 / 141.8;
  background: url('/react/brand/sotto-symbol-reversed.svg') center / contain no-repeat;
}
:root[data-theme='light'] .asar-logo-mark { background-image: url('/react/brand/sotto-symbol.svg'); }
.asar-logo-word {
  --mask: url('/react/brand/sotto-wordmark.svg');
  aspect-ratio: 291.3 / 141.8;
}
/* Sign-in story panel: a navy band (surface-inverse) in both themes, with the reversed padlock. */
.login-story {
  background: #0b2540;
  --accent: #4fd1ba;
  --text-brand: #4fd1ba;
  --muted: #a9b8c8;
}
:root .login-story .asar-logo-mark,
:root[data-theme='light'] .login-story .asar-logo-mark {
  background-image: url('/react/brand/sotto-symbol-reversed.svg');
}
.login-story h1 {
  font-weight: 700;
  letter-spacing: -0.01em;
}
