:root{color-scheme:dark light;--bg: #14161a;--surface: #1f232a;--surface-2: #2b303a;--ink: #eceff4;--muted: #9aa3b2;--accent: #e0b354;--accent-ink: #1b1405;--danger: #e5675f;--border: #353b46;--sq-light: #3a4150;--sq-dark: #2b303a;--radius: .75rem}@media(prefers-color-scheme:light){:root{--bg: #f4f2ee;--surface: #ffffff;--surface-2: #ebe7df;--ink: #1d2128;--muted: #616a78;--accent: #b5862a;--accent-ink: #ffffff;--border: #d9d4ca;--sq-light: #ede3cf;--sq-dark: #c9b48f}}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.45;-webkit-text-size-adjust:100%}h1,h2,h3{margin:0 0 .75rem;line-height:1.2}h1{font-size:1.5rem}h2{font-size:1.15rem}h3{font-size:1rem}a{color:var(--accent)}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem 1rem;background:var(--surface);border-bottom:1px solid var(--border)}.topbar .brand{font-weight:700;color:var(--ink);text-decoration:none}.topbar nav{display:flex;gap:1rem;align-items:center}.topbar nav a{color:var(--muted);text-decoration:none}.topbar nav a.active{color:var(--ink);font-weight:600}.page{padding:1rem;max-width:48rem;margin:0 auto;display:flex;flex-direction:column;gap:1rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;margin:0}.narrow{max-width:24rem;width:100%;margin:2rem auto 0}.center{text-align:center}.stack{display:flex;flex-direction:column;gap:.85rem}.row{display:flex;gap:.5rem;align-items:flex-end}.row.wrap{flex-wrap:wrap}.row.between{justify-content:space-between;align-items:center}.row>input{flex:1;min-width:0}.row+.row{margin-top:.75rem}.list-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.6rem 0;border-top:1px solid var(--border)}.list-item>div{display:flex;flex-direction:column;min-width:0}.list-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}label{display:flex;flex-direction:column;gap:.3rem;font-size:.9rem;color:var(--muted)}input,select,button{font:inherit;min-height:2.75rem;border-radius:.5rem;border:1px solid var(--border);background:var(--surface-2);color:var(--ink);padding:.5rem .75rem}input:focus-visible,select:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}button{cursor:pointer;font-weight:600}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}button.danger{border-color:var(--danger);color:var(--danger);background:transparent}button.link{background:none;border:none;color:var(--accent);padding:0;min-height:auto}.muted{color:var(--muted)}.small{font-size:.85rem}.error{color:var(--danger);margin:0}
