:root { color-scheme: light dark; --surface: #fff; --background: #f5f7fa; --text: #24334a; --muted: #59677a; --line: #dce2eb; --accent: #155aac; --notice: #fff5d6; --error: #a72e38; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font: 16px/1.5 system-ui, sans-serif; }
header { min-height: 72px; padding: 16px max(24px, calc((100vw - 1440px)/2)); display: flex; align-items: center; gap: 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; margin-right: auto; } nav { display: flex; gap: 12px; } a { color: var(--accent); text-underline-offset: .2em; } nav [aria-current] { font-weight: 700; }
main { max-width: 1440px; padding: 36px 24px; margin: auto; } h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.25; margin: 4px 0 16px; } .eyebrow { color: var(--muted); font-size: .85rem; margin: 0; } .intro { max-width: 80ch; margin-bottom: 28px; }
label { display: block; font-weight: 600; margin-bottom: 6px; } input, select, button { font: inherit; min-height: 44px; border: 1px solid var(--line); border-radius: 5px; padding: 9px 12px; } input, select { width: 100%; color: var(--text); background: var(--surface); } button { cursor: pointer; color: #fff; background: var(--accent); border-color: var(--accent); font-weight: 600; } button.secondary { color: var(--text); background: var(--surface); border-color: var(--line); } button:disabled { opacity: .65; cursor: wait; } :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.controls { display: flex; flex-wrap: wrap; align-items: end; gap: 20px; } .controls > div:first-child { flex: 1 1 340px; } .controls > div:nth-child(2) { flex: 1 1 230px; } .notice { padding: 14px 18px; border-radius: 5px; background: var(--notice); border-left: 4px solid #ae7b00; overflow-wrap: anywhere; } .error { border-left-color: var(--error); } .muted, small { color: var(--muted); } small { display: block; font-size: .85rem; }
.result-heading { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; } table { width: 100%; border-collapse: collapse; text-align: left; background: var(--surface); border: 1px solid var(--line); } th, td { padding: 14px 18px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; } th { font-size: .9rem; color: var(--muted); } td:first-child { max-width: 26ch; } .signin { max-width: 520px; } #login-form label { margin-top: 20px; } #code-help { font-size: .9rem; } [hidden] { display: none !important; }
@media (max-width: 640px) { header { padding: 16px; gap: 14px; flex-wrap: wrap; } .brand { flex: 1 1 180px; } main { padding: 28px 16px; } .controls { gap: 14px; } .controls > div { flex-basis: 100% !important; } .result-heading { gap: 0; } .result-heading p { margin: 8px 0; } table,tbody { display: block; border: 0; } thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } tr { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 0; padding: 14px; border: 1px solid var(--line); border-radius: 5px; gap: 14px; } td { display: block; padding: 0; border: 0; min-width: 0; } td:first-child,td:nth-child(2) { grid-column: 1 / -1; max-width: none; } td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .8rem; font-weight: 600; } }
@media (prefers-color-scheme: dark) { :root { --surface: #202938; --background: #151e2b; --text: #edf2f8; --muted: #b3c0d2; --line: #445067; --accent: #86bafa; --notice: #3a321d; --error: #f09098; } button { color: #122039; } }
#setup-form label { margin-top: 20px; }
#setup-form button[type=submit] { display: block; margin-top: 24px; }
#setup-qr canvas { display: block; width: min(100%, 275px); height: auto; margin: 20px 0; }
#setup-secret { display: block; overflow-wrap: anywhere; padding: 12px 0; }
#setup-recovery { font-size: 1rem; line-height: 1.8; padding: 16px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.setup-check { display: flex; align-items: center; gap: 12px; }
.setup-check input { width: 24px; height: 24px; min-height: 24px; flex-shrink: 0; }
.setup-next { display: inline-block; padding: 10px 0; }
