:root{color-scheme:light dark;--radius: 22px;--radius-sm: 14px;--shadow: 0 18px 45px color-mix(in srgb, var(--text) 14%, transparent);--focus: 0 0 0 4px color-mix(in srgb, var(--accent) 42%, transparent);--font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}html[data-theme=cozy-desk]{--bg: #fff7e8;--surface: #ffffff;--surface-2: #ffeac8;--text: #332313;--muted: #6f5944;--accent: #b65c08;--accent-contrast: #ffffff;--ok: #1f7a3f;--almost: #8a6200;--bad: #b3261e;--border: #d8b98b;--decor: #f6b25c}html[data-theme=space]{--bg: #f1efff;--surface: #ffffff;--surface-2: #ded8ff;--text: #21173f;--muted: #62578b;--accent: #5a36c8;--accent-contrast: #ffffff;--ok: #177245;--almost: #765c00;--bad: #ba1a1a;--border: #c2b9ef;--decor: #8368ff}html[data-theme=forest]{--bg: #eff8ed;--surface: #ffffff;--surface-2: #d8edd0;--text: #172817;--muted: #51634f;--accent: #2f6e36;--accent-contrast: #ffffff;--ok: #23723c;--almost: #755c00;--bad: #b3261e;--border: #adcaa4;--decor: #8dbf70}html[data-theme=ocean]{--bg: #edf9fb;--surface: #ffffff;--surface-2: #cdeef2;--text: #112b31;--muted: #4d6570;--accent: #007489;--accent-contrast: #ffffff;--ok: #18713f;--almost: #7a5d00;--bad: #b3261e;--border: #9bcbd2;--decor: #55c4d3}@media(prefers-color-scheme:dark){html[data-theme=cozy-desk]{--bg: #1e160f;--surface: #2c2118;--surface-2: #3b2b1c;--text: #fff4df;--muted: #d6c0a6;--accent: #ffbd6b;--accent-contrast: #2a1600;--ok: #8be0a6;--almost: #f3cf72;--bad: #ffb4ab;--border: #705437;--decor: #f6a33e}html[data-theme=space]{--bg: #100c24;--surface: #1e1740;--surface-2: #30285d;--text: #f4efff;--muted: #cdc2f7;--accent: #c6b8ff;--accent-contrast: #25145f;--ok: #87dca6;--almost: #e8ce73;--bad: #ffb4ab;--border: #6256a1;--decor: #8f7dff}html[data-theme=forest]{--bg: #101b12;--surface: #1c2a1c;--surface-2: #2b3e29;--text: #eef8e9;--muted: #c5d5be;--accent: #a7d989;--accent-contrast: #14380f;--ok: #8de0a1;--almost: #e8cd72;--bad: #ffb4ab;--border: #556b4f;--decor: #6fb05a}html[data-theme=ocean]{--bg: #071b21;--surface: #122a32;--surface-2: #1c424c;--text: #e8f8fb;--muted: #b9d5db;--accent: #84d8e5;--accent-contrast: #00363f;--ok: #86dba0;--almost: #e7cc72;--bad: #ffb4ab;--border: #4e747d;--decor: #43bfd0}}*{box-sizing:border-box}html{min-height:100%;background:var(--bg);color:var(--text);font-family:var(--font)}body{min-height:100vh;margin:0;background:radial-gradient(circle at top left,color-mix(in srgb,var(--decor) 22%,transparent),transparent 34rem),linear-gradient(135deg,var(--bg),color-mix(in srgb,var(--surface-2) 42%,var(--bg)))}button,input,select,textarea{font:inherit;font-size:16px}button,a,input,select,textarea{outline:none}:focus-visible{box-shadow:var(--focus)}a{color:var(--accent);font-weight:700}.app-shell{min-height:100vh;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 auto 20px;max-width:1180px}.brand{display:inline-flex;align-items:center;gap:12px;color:var(--text);text-decoration:none}.brand-mark,.avatar{display:inline-grid;min-width:48px;min-height:48px;place-items:center;border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}.nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.nav a,.nav button,.button,button{min-height:44px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);padding:10px 16px;text-decoration:none;cursor:pointer}.nav a.active,.button.primary,button.primary{border-color:var(--accent);background:var(--accent);color:var(--accent-contrast)}.button.ghost,button.ghost{background:transparent}.button.danger,button.danger{border-color:var(--bad);color:var(--bad)}main{max-width:1180px;margin:0 auto}.hero,.card,.panel,.dialog-card{border:1px solid var(--border);border-radius:var(--radius);background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:var(--shadow)}.hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:22px;padding:clamp(22px,4vw,42px);overflow:hidden}.hero h1,.page-title{margin:0 0 10px;font-size:clamp(2rem,6vw,4.5rem);line-height:1}.lead{color:var(--muted);font-size:1.08rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.card,.panel{padding:18px}.stack{display:grid;gap:14px}.row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.between{justify-content:space-between}.muted{color:var(--muted)}.pill,.status{display:inline-flex;align-items:center;gap:6px;min-height:32px;border:1px solid var(--border);border-radius:999px;padding:4px 10px;background:var(--surface-2);font-weight:700}.ok{color:var(--ok)}.almost{color:var(--almost)}.bad{color:var(--bad)}label{display:grid;gap:6px;color:var(--text);font-weight:700}input,select,textarea{width:100%;min-height:44px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);padding:11px 12px}input[type=checkbox],input[type=radio]{width:1.2rem;min-height:1.2rem;height:1.2rem;padding:0;accent-color:var(--accent)}label.pill{display:inline-flex;align-items:center;width:auto}button:disabled{cursor:not-allowed;opacity:.5}.setup-steps{display:grid;gap:8px;margin:0;padding-left:1.5rem}.setup-steps .done{color:var(--ok)}.setup-steps .current{color:var(--accent);font-weight:800}textarea{min-height:140px;resize:vertical}.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.progress-bar{overflow:hidden;height:12px;border-radius:999px;background:color-mix(in srgb,var(--muted) 20%,transparent)}.progress-bar>span{display:block;height:100%;border-radius:inherit;background:var(--accent)}.question-nav{display:flex;flex-wrap:wrap;gap:8px}.question-nav button{min-width:48px;padding-inline:10px}.question-nav .answered{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 32%,var(--surface))}.question-nav button[aria-current=true]{box-shadow:var(--focus);border-width:2px}.question-nav .flagged{border-style:dashed;border-color:var(--almost)}.question-nav .ok{border-color:var(--ok);background:color-mix(in srgb,var(--ok) 30%,var(--surface));color:var(--text)}.question-nav .almost{border-color:var(--almost);background:color-mix(in srgb,var(--almost) 34%,var(--surface));color:var(--text)}.question-nav .bad{border-color:var(--bad);background:color-mix(in srgb,var(--bad) 30%,var(--surface));color:var(--text)}.feedback{animation:pop .24s ease-out;border-inline-start:8px solid currentColor}.skeleton{min-height:96px;border-radius:var(--radius);background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--surface) 70%,var(--surface-2)),transparent);animation:shimmer 1.6s infinite}.offline{position:sticky;top:0;z-index:20;margin:0 auto 16px;max-width:1180px;border:1px solid var(--almost);border-radius:var(--radius-sm);background:var(--surface);padding:10px 14px}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:18px;background:#00000073}.dialog-card{width:min(560px,100%);padding:22px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes pop{0%{transform:scale(.98);opacity:.2}}@keyframes shimmer{0%{background-position:-20rem 0}to{background-position:20rem 0}}@media(max-width:780px){.topbar,.hero{grid-template-columns:1fr}.topbar{align-items:flex-start}.nav{justify-content:flex-start}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
