:root{font-family:system-ui,sans-serif;color:#0f172a;background:#f8fafc;color-scheme:light;--surface:#fff;--border:#e2e8f0;--accent:#57776b}:root[data-theme=dark]{color-scheme:dark;color:#f1f5f9;background:#0f172a;--surface:#1e293b;--border:#334155}@media(prefers-color-scheme:dark){:root[data-theme=system]{color-scheme:dark;color:#f1f5f9;background:#0f172a;--surface:#1e293b;--border:#334155}}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--border);border-radius:8px;padding:9px 14px;background:var(--surface);color:inherit}button:disabled{opacity:.5;cursor:default}input,select{display:block;width:100%;padding:10px;border:1px solid var(--border);border-radius:8px;margin:6px 0 16px;background:var(--surface);color:inherit}.login{max-width:420px;margin:10vh auto;padding:28px}.login h1{font-size:48px;margin:0}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}aside{height:100vh;position:sticky;top:0;overflow:auto;background:var(--surface);padding:20px;border-right:1px solid var(--border)}aside h1{margin:0}aside h3{font-size:12px;letter-spacing:.12em;margin:22px 0 8px}aside button{display:block;width:100%;text-align:left;border:0;margin:2px 0}.active{background:var(--accent);color:#fff}main{padding:24px;min-width:0}header{display:flex;justify-content:space-between;align-items:center;gap:12px}article{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px;margin:16px 0;max-width:760px}[role=alert]{color:#b45309;overflow-wrap:anywhere}@media(max-width:700px){.shell{grid-template-columns:1fr}aside{height:auto;max-height:32vh;position:static;border-right:0;border-bottom:1px solid var(--border)}main{padding:16px}}
