:root { color-scheme:light; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; background:#f1f5f9; color:#152238; }
* { box-sizing:border-box; }
body { margin:0; }
.shell { min-height:100vh; display:grid; place-items:center; padding:32px 16px; }
.card { background:#fff; border:1px solid #e2e8f0; border-radius:18px; padding:30px; box-shadow:0 8px 28px rgba(15,23,42,.045); }
.shell>.card { width:min(100%,760px); }
.intro { max-width:600px; }
h1 { font-size:clamp(26px,4vw,36px); line-height:1.2; letter-spacing:-.035em; margin:14px 0; }
h2 { font-size:19px; margin:26px 0 14px; }
p { color:#475569; line-height:1.65; }
.muted,.hint,.optional { color:#64748b; font-size:13px; }
.eyebrow { font-size:12px; letter-spacing:.11em; text-transform:uppercase; color:#4f46e5; font-weight:800; }
label { display:grid; gap:7px; font-size:13px; font-weight:650; }
.intro form { display:grid; gap:16px; }
input,select { width:100%; padding:12px; border:1px solid #cbd5e1; border-radius:9px; font:inherit; background:#fff; color:#152238; }
button { font:inherit; cursor:pointer; }
button:focus-visible,a:focus-visible { outline:3px solid #7c83ff; outline-offset:3px; }
.start { background:#4338ca; color:#fff; border:0; border-radius:9px; padding:13px 18px; font-weight:700; }
.start:hover { background:#3730a3; }
.privacy { font-size:12px; margin:0; }
.error { color:#b91c1c; }
.top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.progress { background:#e2e8f0; border-radius:20px; height:7px; overflow:hidden; margin:18px 0 26px; }
.progress>div { background:#4f46e5; height:100%; }
.pill { background:#eef2ff; color:#4338ca; border-radius:30px; font-size:12px; font-weight:750; padding:7px 11px; }
.stage { margin-top:24px; padding:28px 20px; border-radius:14px; border:1px solid; }
.stage.light { background:#f8fafc; border-color:#e2e8f0; color:#334155; }
.stage.dark { background:#111827; border-color:#334155; color:#e5e7eb; }
.stage-label { font-size:11px; font-weight:800; letter-spacing:.1em; opacity:.7; margin-bottom:20px; }
.options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.option { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; background:transparent; border:2px solid transparent; border-radius:12px; padding:12px 6px; min-height:110px; }
.option:hover { border-color:#94a3b8; }
.button-face { display:flex; align-items:center; justify-content:center; width:min(100%,200px); min-height:48px; border-radius:9px; background:var(--swatch); color:var(--swatch-text); font-size:14px; font-weight:700; padding:12px; text-align:center; }
.choice-label { color:inherit; opacity:.75; font-size:12px; }
.link-option .button-face { background:transparent; color:var(--swatch); text-decoration:underline; }
.link-option .button-face { font-weight:700; }
.hint { margin:20px 0 0; }
.tick { background:#dcfce7; color:#15803d; width:64px; height:64px; border-radius:50%; display:grid; place-items:center; font-size:30px; }
.dashboard { max-width:1250px; margin:0 auto; padding:32px 18px 70px; display:grid; gap:20px; }
.dashboard h1 { margin-bottom:0; }
.dashboard h2 { margin:0 0 16px; }
.metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.metrics .card { display:grid; gap:8px; padding:20px; }
.metrics strong { font-size:29px; }
.filters { display:flex; align-items:end; gap:12px; flex-wrap:wrap; }
.filters label { flex:1 1 150px; }
.subtle { display:inline-block; border:1px solid #cbd5e1; color:#334155; background:#fff; border-radius:9px; padding:12px 15px; text-decoration:none; font-weight:650; }
.tablewrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; text-align:left; font-size:13px; }
th,td { padding:12px; border-bottom:1px solid #e2e8f0; white-space:nowrap; }
th { color:#64748b; font-size:12px; }
.swatch { width:21px; height:21px; border-radius:5px; display:inline-block; vertical-align:middle; margin-right:8px; border:1px solid #0001; }
.bar { background:#e2e8f0; height:5px; border-radius:8px; margin-top:7px; min-width:80px; }
.bar div { height:100%; border-radius:8px; }
@media(max-width:650px) { .card { padding:20px; } .stage { padding:20px 8px; } .options { gap:5px; } .button-face { font-size:12px; } .metrics { grid-template-columns:repeat(2,1fr); } }
