:root{--bg:#f7f7fb;--surface:#fff;--border:#e2e2ea;--text:#1b1b1f;--text-muted:#6b6b76;--accent:#6c5ce7;--accent-hover:#5a4bd1;--danger:#e0245e;--radius:10px}@media (prefers-color-scheme:dark){:root{--bg:#14141a;--surface:#1e1e26;--border:#2c2c36;--text:#f0f0f5;--text-muted:#9a9aa5;--accent:#8b7cf6;--accent-hover:#a396f8}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif}a{color:var(--accent)}h1{margin:0 0 1rem;font-size:1.5rem}.layout{flex-direction:column;min-height:100vh;display:flex}.topbar{background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem;display:flex}.topbar .brand{font-weight:700}.nav-links{flex-wrap:wrap;gap:1.25rem;display:flex}.nav-links a{color:var(--text-muted);font-weight:500;text-decoration:none}.nav-links a.active,.nav-links a:hover{color:var(--accent)}.content{flex:1;width:100%;max-width:720px;margin:0 auto;padding:2rem 1.5rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.25rem}.list{flex-direction:column;gap:.75rem;margin:1.5rem 0 0;padding:0;list-style:none;display:flex}.form-row{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}input,textarea{font:inherit;border-radius:var(--radius);border:1px solid var(--border);background:var(--bg);color:var(--text);padding:.6rem .75rem}textarea{resize:vertical;width:100%;min-height:90px}button{font:inherit;border-radius:var(--radius);background:var(--accent);color:#fff;cursor:pointer;border:none;padding:.6rem 1.1rem;font-weight:600}button:hover{background:var(--accent-hover)}button.secondary{color:var(--text-muted);border:1px solid var(--border);background:0 0}.login-page{justify-content:center;align-items:center;min-height:100vh;padding:1.5rem;display:flex}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:.75rem;width:100%;max-width:360px;padding:2rem;display:flex}.error-text{color:var(--danger);margin:0;font-size:.9rem}.muted{color:var(--text-muted);font-size:.9rem}
