/* His page's look (site/design/kit.css tokens, light only). Decisions in yellow. High contrast, nothing clipped. */
:root {
  color-scheme: light;
  --ink: #0B0C0E; --body: #3F4448; --quiet: #5F656B; --page: #FFFFFF; --recess: #FBFBFC; --rule: #E7E8EA; --rule-strong: #D3D6D9;
  --blue: #1967D2; --built-ink: #137333; --built-wash: #E6F4EA; --stop-ink: #A50E0E; --stop-wash: #FCE8E6;
  --yellow: #FBBC04; --yellow-edge: #B06000; --yellow-bg: #FEF7E0;
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tap: 48px; --r: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--body); font: 400 1.0625rem/1.55 var(--sans); }
h1, h2, p { margin: 0; }
main { max-width: 34rem; margin: 0 auto; padding: 28px 20px 40px; min-height: 100vh; display: flex; flex-direction: column; gap: 20px; }
.from { font: 500 1rem/1.2 var(--serif); color: var(--ink); }
.micro { font-size: .875rem; color: var(--quiet); letter-spacing: .01em; }
h1 { font: 500 1.75rem/1.2 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
h2 { font: 600 1.125rem/1.35 var(--sans); color: var(--ink); }
.lead { font-size: 1.125rem; color: var(--body); }
.card { border: 1px solid var(--rule); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.code { font: 600 2.75rem/1.1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); letter-spacing: .08em; text-align: center; padding: 16px 0; }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.steps li { display: flex; gap: 10px; align-items: baseline; }
.steps li::before { content: "○"; color: var(--quiet); }
.steps li.done::before { content: "●"; color: var(--built-ink); }
.steps li.done { color: var(--built-ink); }
.acts { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
button { min-height: var(--tap); border-radius: 12px; font: 600 1.0625rem/1.2 var(--sans); padding: 12px 20px; cursor: pointer; width: 100%; }
button.decide { background: var(--yellow); color: var(--ink); border: 2px solid var(--yellow-edge); }
button.plain { background: var(--page); color: var(--ink); border: 1px solid var(--rule-strong); }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.note { border-radius: 12px; padding: 14px 16px; font-size: 1rem; }
.note.ok { background: var(--built-wash); color: var(--built-ink); }
.note.stop { background: var(--stop-wash); color: var(--stop-ink); }
.note.wait { background: var(--yellow-bg); color: #6B3E00; }
.hidden { display: none !important; }
.row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (min-width: 760px) { main { padding-top: 56px; } .acts { flex-direction: row; } .acts button { width: auto; flex: 1; } }
#view { display: flex; flex-direction: column; gap: 20px; flex: 1; }
@media (min-width: 760px) { #view .acts { margin-top: 8px; } }
input.code { width: 100%; min-height: var(--tap); border: 2px solid var(--rule-strong); border-radius: 12px; background: var(--page); font-size: 2rem; }
label { font: 600 1rem/1.3 var(--sans); color: var(--ink); }
