:root{color-scheme:light;--text: #17202a;--muted: #55606e;--line: #d5dbe3;--page: #f4f6f8;--card: #ffffff;--accent: #1f4e9c;--warn: #8a4b00;--warn-bg: #fff0d6;--bad: #9b1c14}*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.4;overflow-wrap:anywhere;-webkit-text-size-adjust:100%}button,input{font:inherit;color:inherit}button,.button{display:inline-block;min-height:44px;padding:8px 16px;border:1px solid var(--line);border-radius:8px;background:var(--card);cursor:pointer;text-decoration:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,.button:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.primary{background:var(--accent);border-color:var(--accent);color:#fff}.note{background:var(--warn-bg);color:var(--warn);border-radius:8px;padding:10px 12px}.muted{color:var(--muted)}.s5{--tint: #d3ecd9;--full: #1b6e34;--ink: #fff}.s4{--tint: #e6f2da;--full: #7fbb5c;--ink: #10200a}.s3{--tint: #faf0c4;--full: #e5c22e;--ink: #231c00}.s2{--tint: #fce3cd;--full: #ee913f;--ink: #2a1200}.s1{--tint: #f6d5d1;--full: #ac241c;--ink: #fff}.s0{--tint: #ffffff;--full: #4b5563;--ink: #fff}#app{max-width:560px;margin:0 auto;padding:0 12px 32px}header{position:sticky;top:0;z-index:1;background:var(--page);padding:8px 0 6px}.bar{display:flex;justify-content:space-between;gap:8px;font-size:14px}.status{margin-left:auto;color:var(--muted)}.status[data-state=retry],.status[data-state=unsaved]{color:var(--bad);font-weight:600}progress{width:100%;height:6px;accent-color:var(--accent)}progress[hidden],.note[hidden]{display:none}h1{font-size:21px;margin:8px 0}h1.message{margin-top:32px}.category{margin:8px 0 0;color:var(--accent);font-weight:700}.criterion-text{white-space:pre-line;margin:0 0 12px}.legend{list-style:none;margin:0 0 12px;padding:8px 10px;background:var(--card);border:1px solid var(--line);border-radius:8px;font-size:13px;display:grid;grid-template-columns:1fr 1fr;gap:4px 8px}.key{display:inline-block;min-width:20px;text-align:center;border-radius:4px;background:var(--tint);border:1px solid rgb(0 0 0 / 20%)}.key.s0{border:1px dashed var(--full)}.row{background:var(--card);border:2px solid var(--line);border-radius:10px;padding:8px;margin-bottom:10px;scroll-margin:80px 0}.row h2{font-size:16px;margin:0 0 6px}.answers{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.answer{min-height:48px;padding:0;font-size:18px;font-weight:600;background:var(--tint);border:2px solid rgb(0 0 0 / 12%)}.answer.s0{margin-left:2px;border:2px dashed var(--full)}.answer[aria-pressed=true]{background:var(--full);color:var(--ink);border:3px solid #000}.answer:disabled[aria-pressed=false]{opacity:.45}.chosen{margin:4px 0 0;min-height:20px;font-size:14px;color:var(--muted)}.missing-text{display:none;margin:0;color:var(--bad);font-weight:600;font-size:14px}.row.missing{border-color:var(--bad);background:#fdecea}.row.missing .missing-text{display:block}.steps{display:flex;justify-content:space-between;gap:12px;margin-top:16px}.steps button{flex:1;min-height:52px}.wide{width:100%;min-height:52px;margin-top:12px}.loading{padding-top:32px;text-align:center}
