
:root { color-scheme: light; --ink: #1d1a16; --muted: #4a4238; --line: #c9bfae; --bg: #faf7f1; --accent: #8a5a12; --bad: #9b1c1c; }
* { box-sizing: border-box; }
html { font-size: 18px; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
a:focus, button:focus, input:focus, select:focus, textarea:focus { outline: 3px solid #1a56db; outline-offset: 2px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem; }
header { background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
header .brand { font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
nav a { margin-right: 1rem; }
main { max-width: 46rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
h1 { font-size: 1.6rem; line-height: 1.25; } h2 { font-size: 1.3rem; }
label { display: block; font-weight: 600; margin-top: 1rem; }
input, select, textarea { font: inherit; font-size: 1rem; width: 100%; max-width: 30rem; padding: .6rem .7rem; border: 2px solid var(--line); border-radius: 6px; background: #fff; min-height: 48px; }
input[type=radio] { width: auto; min-height: auto; margin-right: .5rem; }
.choice { font-weight: 400; display: flex; align-items: center; }
button, .button { font: inherit; font-size: 1rem; font-weight: 600; min-height: 48px; padding: .6rem 1.2rem; margin-top: 1rem; border: 0; border-radius: 6px; background: #1a1206; color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
button.secondary { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.notice { border-left: 6px solid var(--accent); background: #fff; padding: .75rem 1rem; margin: 1rem 0; }
.error { border-left-color: var(--bad); }
table { border-collapse: collapse; width: 100%; } th, td { text-align: left; padding: .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.qr svg { width: 100%; max-width: 264px; height: auto; border: 1px solid var(--line); }
.secret { font-family: ui-monospace, monospace; font-size: 1.2rem; letter-spacing: .1em; word-break: break-all; background: #fff; padding: .5rem; border: 1px dashed var(--line); }
footer { color: var(--muted); font-size: .9rem; text-align: center; padding: 2rem 1rem; }
@media (max-width: 30rem) { th, td { display: block; border: 0; padding: .25rem 0; } tr { display: block; border-bottom: 1px solid var(--line); padding: .5rem 0; } }
