:root { --paper: #F8F6EE; --ink: #0E1A12; --muted: #4B5A50; --line: #D9D6CA; --brand: #0F7A4F; --brand-ink: #FFFFFF; --bad: #B3261E; color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--paper); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
main { width: min(100%, 440px); }
main.wide { width: min(100%, 680px); }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; font-weight: 700; letter-spacing: .02em; }
.brand svg { width: 28px; height: 28px; }
h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.2; text-wrap: balance; }
p { margin: 0 0 16px; color: var(--muted); text-wrap: pretty; }
form, .card { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input[type=text], input[type=password], input[type=email] { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
button { min-height: 46px; padding: 10px 18px; border: 1px solid var(--brand); border-radius: 10px; background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 600; cursor: pointer; transition: opacity .15s ease-out; }
button.ghost { background: transparent; color: var(--brand); }
button:disabled { opacity: .55; cursor: default; }
.msg { min-height: 1.5em; margin: 0; font-size: 14px; }
.msg.bad { color: var(--bad); }
.small { font-size: 14px; }
.link { background: none; border: 0; padding: 0; min-height: 0; color: var(--brand); font-weight: 600; text-decoration: underline; cursor: pointer; }
.secret { padding: 12px 14px; border: 1px dashed var(--line); border-radius: 10px; background: #fff; font: 600 18px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .08em; word-break: break-all; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0; list-style: none; font: 600 16px/1.4 ui-monospace, Consolas, monospace; }
.codes li { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.steps { display: grid; gap: 24px; }
.step { display: grid; gap: 16px; }
.step[hidden] { display: none; }
.step h1, .step p { margin-bottom: 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
progress { width: 100%; height: 10px; }
.log { max-height: 220px; overflow: auto; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 13px/1.5 ui-monospace, Consolas, monospace; white-space: pre-wrap; }
table.sum { width: 100%; border-collapse: collapse; font-size: 14px; }
table.sum td, table.sum th { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
table.sum td.num, table.sum th.num { text-align: right; font-variant-numeric: tabular-nums; }
