/* CR-208 portal — the one stylesheet (no inline styles, so the CSP stays default-src 'self'). Phone first.
   CR-213: the SmartGenie brand, as on the Entra sign-in page — midnight page, opaque white card, violet actions. No web
   font is loaded (the CSP allows none): DM Sans where installed, else Segoe UI or the system font. Every view renders
   inside .card, so all text sits on white. Muted #5B5675 is 6.92:1 on white (Entra's #7A7694 is 4.33:1, below AA);
   the input border #8E8AA8 is 3.31:1; white on violet #7C3AED is 5.70:1. */
:root { --page: #0C0A1F; --title: #1A1740; --ink: #3D3960; --muted: #5B5675; --brand: #7C3AED; --brand-hover: #6D28D9; --tint: #F5F3FF; --line: #8E8AA8; }
* { box-sizing: border-box; }
body { margin: 0; padding: 16px; background: var(--page); color: var(--ink); font: 16px/1.5 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif; }
.card { max-width: 440px; margin: 32px auto; padding: 24px; background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); overflow-wrap: anywhere; }
h1 { font-size: 1.4rem; margin: 0 0 16px; color: var(--title); }
p { margin: 0 0 12px; color: var(--muted); }
a { color: var(--brand); }
.button, button { display: block; width: 100%; padding: 12px 16px; margin: 0 0 12px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; font: inherit; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover, button:hover { background: var(--brand-hover); }
.secondary { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.secondary:hover { background: var(--tint); }
.link { background: none; color: var(--muted); font-weight: 400; text-decoration: underline; }
.link:hover { background: none; color: var(--title); }
label { display: block; margin: 0 0 4px; font-weight: 600; color: var(--title); }
input { display: block; width: 100%; padding: 12px; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--title); font: inherit; letter-spacing: 0.2em; }
input:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.notice { padding: 12px; border-radius: 8px; background: #fef3c7; color: var(--title); }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0 0 16px; }
dt { color: var(--muted); }
dd { margin: 0; color: var(--title); }
.tier { font-weight: 700; }
