:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#172033;background:#f4f7fb;color-scheme:light}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#172554 0 15rem,#f4f7fb 15rem)}
header,main{width:min(920px,calc(100% - 2rem));margin:auto}header{color:#fff;padding:2.5rem 0 1.75rem}
.eyebrow{font-size:.75rem;letter-spacing:.14em;font-weight:800;color:#bfdbfe;margin:0 0 .65rem}
h1{font-size:clamp(1.8rem,5vw,2.4rem);line-height:1.15;letter-spacing:-.03em;margin:0}header>p:last-child{color:#dbeafe}
h2{font-size:1.1rem;margin:0 0 .75rem}p{line-height:1.6}main{padding-bottom:3rem}.card{background:#fff;border:1px solid #e3eaf3;border-radius:1rem;padding:1.5rem;overflow-wrap:anywhere}
.login{max-width:440px;margin:0 auto}.login form{display:grid;gap:.7rem}.login label{font-weight:650;margin-top:.4rem}
input{width:100%;border:1px solid #cbd5e1;border-radius:.6rem;padding:.8rem;font:inherit;color:inherit;background:#fff}
button{border:0;border-radius:.65rem;background:#2563eb;color:#fff;padding:.85rem 1rem;font:inherit;font-weight:700;cursor:pointer;min-height:44px}
.login button{margin-top:.7rem}.secondary{color:#172554;background:#eaf0f9}
a{color:#1d4ed8;text-underline-offset:.2em}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.muted{color:#526071;font-size:.9rem}.notice{background:#dbeafe;color:#172554;border-radius:.75rem;padding:1rem}
.error,.stale{background:#fff1d6;color:#713f12}.toolbar p{margin-bottom:0}.actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1.2rem}
.actions form{margin:0}#items{display:grid;gap:.8rem}.item h2{margin:.5rem 0}.item p{margin:.4rem 0}
.tag{display:inline-block;font-size:.75rem;font-weight:700;background:#eaf0f9;color:#172554;padding:.3rem .5rem;border-radius:.4rem;margin-right:.45rem}
.manual{background:#f3e8ff;color:#6b21a8}button:disabled{opacity:.6;cursor:wait}@media(max-width:480px){header{padding-top:2rem}.card{padding:1.2rem}.actions{gap:.8rem}.actions a{flex-basis:100%}}
