:root { --paper:#f3efe6; --ink:#0d0c0a; --soft:#5b5850; --line:#d8d2c4; --rebar:#d84a1a; }
@media (prefers-color-scheme: dark) { :root { --paper:#12110f; --ink:#f3efe6; --soft:#a49f93; --line:#2c2a25; } }
* { box-sizing: border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif; }
.wrap { max-width:960px; margin:0 auto; padding:1.5rem 1rem 4rem; }
.bar { display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--line); padding:0.9rem 1rem; }
.brand { font-weight:800; letter-spacing:0.08em; }
.bar button { background:none; border:1px solid var(--line); color:var(--ink); padding:0.35rem 0.8rem; border-radius:4px; cursor:pointer; font:inherit; font-size:0.85rem; }
.label { font:0.75rem ui-monospace,monospace; letter-spacing:0.08em; text-transform:uppercase; color:var(--soft); margin:0; }
h1 { font-size:2rem; line-height:1.1; margin:0.2em 0 0.3em; }
h2 { font-size:1.15rem; margin:2.2rem 0 0.8rem; }
.sub { color:var(--soft); max-width:62ch; margin:0 0 1.5rem; }
.status, .note, .empty { font:0.8rem ui-monospace,monospace; color:var(--soft); max-width:80ch; }
.warn { font:0.8rem ui-monospace,monospace; color:var(--rebar); max-width:80ch; }
.note code { background:var(--line); padding:0.1em 0.35em; border-radius:3px; }
.cards { display:flex; flex-wrap:wrap; gap:2rem; margin:1.5rem 0; }
.card b { display:block; font-size:1.7rem; line-height:1.1; font-variant-numeric:tabular-nums; }
.card span { font:0.75rem ui-monospace,monospace; color:var(--soft); text-transform:uppercase; letter-spacing:0.06em; }
.cols { display:grid; gap:2rem; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); }
table { border-collapse:collapse; width:100%; font-variant-numeric:tabular-nums; }
th { font:0.72rem ui-monospace,monospace; text-transform:uppercase; letter-spacing:0.06em; color:var(--soft); text-align:left; padding:0.4rem 0.8rem 0.4rem 0; border-bottom:1px solid var(--line); }
td { padding:0.45rem 0.8rem 0.45rem 0; border-bottom:1px solid var(--line); }
.barfill { display:inline-block; height:0.6rem; background:var(--rebar); border-radius:2px; vertical-align:middle; }
.login { max-width:420px; margin:12vh auto 0; padding:0 1rem; }
.login input { width:100%; padding:0.8rem; font:inherit; font-size:1.1rem; border:1px solid var(--line); background:transparent; color:var(--ink); border-radius:4px; margin:0.4rem 0 1rem; }
.login input.code { letter-spacing:0.4em; text-align:center; font-size:1.5rem; }
.login button.go { background:var(--ink); color:var(--paper); border:0; padding:0.8rem 1.4rem; font:inherit; font-weight:700; border-radius:4px; cursor:pointer; }
.err { color:var(--rebar); font-size:0.9rem; min-height:1.3em; }
[hidden] { display:none !important; }
