:root{--brand:#0f766e;--brand2:#6366f1}
.calcbox textarea{font:14px/1.5 ui-monospace,Consolas,monospace}
.btnrow{display:flex;flex-wrap:wrap;gap:8px}
.btnrow .btn{width:auto;flex:1 1 auto;min-width:0;padding:9px 14px}
.chks{display:flex;flex-wrap:wrap;gap:6px 16px}
.calc .chks label.chk{flex-direction:row}
.wc .kv{margin:0}
.qrwrap{display:flex;justify-content:center}
.qrc{width:260px;max-width:100%;height:auto;border-radius:12px;border:1px solid var(--line);image-rendering:pixelated}
.pw{display:block}
.pwv{font:700 22px/1.3 ui-monospace,Consolas,monospace;word-break:break-all;padding:6px 0}
.pwbar{height:6px;background:var(--chip);border-radius:6px;overflow:hidden;margin:8px 0 4px}.pwbar i{display:block;height:100%;width:0;transition:width .2s}
.rng{width:100%;accent-color:var(--brand)}
.pickres{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.tag{display:inline-block;padding:10px 16px;border-radius:12px;background:var(--grad);color:#fff;font-weight:800;font-size:20px}
.team{flex:1 1 160px;background:var(--chip);border-radius:12px;padding:10px;text-align:left}.team b{display:block;margin-bottom:4px}
.clock{font:800 clamp(40px,12vw,76px)/1 ui-monospace,Consolas,monospace;text-align:center;padding:14px 0;letter-spacing:-1px}
.clock small{font-size:.45em;color:var(--muted)}.clock.done{color:#ef4444;animation:blink 1s 3}
@keyframes blink{50%{opacity:.3}}
.laps{font:15px ui-monospace,Consolas,monospace;max-height:200px;overflow:auto}
.jmsg.ok{color:#16a34a}.jmsg.bad,.bmsg{color:#ef4444}
.hrow{display:grid;grid-template-columns:80px 1fr 48px;gap:8px;align-items:center;border-bottom:1px solid var(--line);padding:6px 0}
.hrow code{word-break:break-all;font-size:12px;text-align:left}
.hrow .btn{width:48px;padding:6px}
.calc input[type=color]{height:44px;padding:4px;cursor:pointer}
