:root{--bg:#f1f5f9;--card:#fff;--text:#0f172a;--muted:#64748b;--primary:#0f766e;--primary-dark:#115e59;--border:#e2e8f0;--danger:#dc2626;--ok:#16a34a;--radius:12px}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}.center{place-items:center;min-height:100vh;padding:1rem;display:grid}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);width:100%;max-width:460px;padding:1.75rem;box-shadow:0 10px 30px #0f172a0f}.card.wide{max-width:900px}h1{margin:0 0 .25rem;font-size:1.4rem}h2{margin:0 0 .5rem;font-size:1.05rem}p.sub{color:var(--muted);margin:0 0 1.25rem;font-size:.9rem}label{margin:0 0 .35rem;font-size:.85rem;font-weight:600;display:block}input[type=text],input[type=password],textarea,select{border:1px solid var(--border);width:100%;font:inherit;color:var(--text);background:#fff;border-radius:8px;padding:.65rem .75rem}textarea{resize:vertical;min-height:120px}.field{margin-bottom:1rem}.btn{appearance:none;font:inherit;cursor:pointer;background:var(--primary);color:#fff;border:1px solid #0000;border-radius:8px;padding:.65rem 1rem;font-weight:600}.btn:hover{background:var(--primary-dark)}.btn:disabled{opacity:.6;cursor:not-allowed}.btn.secondary{color:var(--text);border-color:var(--border);background:#fff}.btn.ghost{color:var(--primary);background:0 0}.error{color:var(--danger);background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:1rem;padding:.6rem .75rem;font-size:.85rem}.runner{flex-direction:column;min-height:100vh;display:flex}.runner-top{z-index:5;background:var(--card);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;display:flex;position:sticky;top:0}.timer{font-variant-numeric:tabular-nums;font-weight:700}.timer.low{color:var(--danger)}.runner-body{flex:1;gap:1rem;width:100%;max-width:900px;margin:0 auto;padding:1rem;display:grid}.q-head{color:var(--muted);justify-content:space-between;margin-bottom:.5rem;font-size:.85rem;display:flex}.q-text{white-space:pre-wrap;margin-bottom:1rem;font-size:1.05rem}.stimulus{border:1px dashed var(--border);background:#f8fafc;border-radius:8px;margin-bottom:1rem;padding:.75rem}.opt{border:1px solid var(--border);cursor:pointer;border-radius:8px;align-items:flex-start;gap:.6rem;margin-bottom:.5rem;padding:.6rem .75rem;display:flex}.opt:hover{border-color:var(--primary)}.opt input{margin-top:.2rem}.opt.selected{border-color:var(--primary);background:#ecfdf5}.runner-nav{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.palette{flex-wrap:wrap;gap:.4rem;display:flex}.palette button{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:8px;width:2.4rem;height:2.4rem;font-weight:600}.palette button.answered{background:#dcfce7;border-color:#86efac}.palette button.current{outline:2px solid var(--primary)}.badge{border-radius:999px;padding:.15rem .55rem;font-size:.75rem;font-weight:700;display:inline-block}.badge.ok{color:var(--ok);background:#dcfce7}.badge.no{color:var(--danger);background:#fee2e2}.big-score{margin:.5rem 0;font-size:3rem;font-weight:800}.muted{color:var(--muted)}.row{flex-wrap:wrap;gap:.5rem;display:flex}.spacer{flex:1}.offline-bar{color:#854d0e;text-align:center;background:#fef9c3;border-bottom:1px solid #fde68a;padding:.3rem;font-size:.8rem}
