:root { --bg:#f4f5f7; --card:#fff; --text:#1c2430; --muted:#5b6675; --accent:#1f5fbf; --line:#d7dce3; --bad:#a61b1b; }
@media (prefers-color-scheme: dark) { :root { --bg:#14181e; --card:#1d232c; --text:#e8ecf1; --muted:#9aa6b5; --accent:#7fb0ff; --line:#333c48; --bad:#ff9a9a; } }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.5 system-ui,sans-serif; }
main { max-width:26rem; margin:8vh auto; padding:1.75rem; background:var(--card); border:1px solid var(--line); border-radius:10px; }
main:has(table) { max-width:64rem; overflow-x:auto; }
h1 { margin:0 0 1rem; font-size:1.35rem; }
label { display:block; margin:.9rem 0 .25rem; }
input { width:100%; padding:.6rem; font:inherit; color:inherit; background:var(--bg); border:1px solid var(--line); border-radius:6px; }
button { width:100%; margin-top:1.2rem; padding:.7rem; font:inherit; font-weight:600; color:var(--card); background:var(--accent); border:0; border-radius:6px; cursor:pointer; }
a { color:var(--accent); }
.error { color:var(--bad); font-weight:600; }
.muted { color:var(--muted); font-size:.9rem; }
.codes { font:.95rem/2 ui-monospace,monospace; padding:0; list-style:none; white-space:nowrap; }
.key { font-family:ui-monospace,monospace; overflow-wrap:anywhere; }
.qr { display:block; width:200px; height:200px; margin:0 auto; background:#fff; }
table { width:100%; border-collapse:collapse; font-size:.88rem; }
th, td { padding:.4rem .5rem; text-align:left; border-bottom:1px solid var(--line); }
