:root{--bg:#f4f5f7;--card:#fff;--ink:#17202b;--mute:#5d6b7a;--line:#dde2e8;--brand:#0b5fff;--brand-ink:#fff;
--ok:#12805c;--warn:#b25e00;--bad:#c4262e;--a:#0b5fff;--b:#c2410c;--r:12px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
h1,h2,h3{margin:0 0 .4em;line-height:1.2}
h1{font-size:1.35rem}h2{font-size:1.1rem}h3{font-size:1rem}
button,select,input,textarea{font:inherit;color:inherit}
button{background:var(--brand);color:var(--brand-ink);border:0;border-radius:10px;padding:.7em 1.1em;min-height:44px;cursor:pointer;font-weight:600}
button.sec{background:#e8ecf2;color:var(--ink)}
button.bad{background:var(--bad)}
button.ok{background:var(--ok)}
button.small{min-height:34px;padding:.35em .8em;font-size:.9rem}
button:disabled{opacity:.45;cursor:not-allowed}
input[type=text],input[type=number],input[type=password],select,textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:.65em .75em;background:#fff;color:#17202b;min-height:44px}
textarea{min-height:90px;resize:vertical}
label{display:block;font-size:.9rem;color:var(--mute);margin:.6em 0 .2em}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:14px;margin:0 0 12px}
.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.row>.grow{flex:1;min-width:140px}
.mute{color:var(--mute);font-size:.9rem}
.pill{display:inline-block;border-radius:99px;padding:.15em .7em;font-size:.82rem;font-weight:600;background:#e8ecf2}
.pill.open{background:#e3edff;color:#0b4bd6}.pill.answered{background:#dcf5ea;color:var(--ok)}
.pill.expired{background:#fde4e4;color:var(--bad)}.pill.closed{background:#ececec;color:#555}
.pill.processing{background:#fff1d6;color:var(--warn)}.pill.done{background:#dcf5ea;color:var(--ok)}.pill.error{background:#fde4e4;color:var(--bad)}
.err{background:#fde4e4;color:var(--bad);padding:.6em .8em;border-radius:10px;margin:.5em 0}
.note{background:#fff7e0;color:#6b4a00;padding:.6em .8em;border-radius:10px;margin:.5em 0}
.top{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--line);padding:10px 14px}
.top .title{font-weight:700}
.rec{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.88rem}
.rec i{width:10px;height:10px;border-radius:50%;background:#999;display:inline-block}
.rec.on i{background:#e11;animation:pulse 1.2s infinite}
@keyframes pulse{50%{opacity:.25}}
.timer{font-variant-numeric:tabular-nums;font-weight:700;font-size:1.15rem}
.timer.low{color:var(--bad)}
.reply{border-left:4px solid var(--line);padding:.3em .7em;margin:.5em 0;background:#fafbfc;border-radius:0 8px 8px 0}
.reply.executive{border-color:#6d3fd9}.reply.team_member{border-color:var(--ok)}.reply.chair{border-color:var(--warn)}
.reply b{font-size:.9rem}
.bar{height:8px;background:#e8ecf2;border-radius:99px;overflow:hidden}.bar>span{display:block;height:100%;background:var(--brand)}
.hide{display:none!important}
table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:.45em .5em;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:.82rem;color:var(--mute);font-weight:600}
.banner{background:#17202b;color:#fff;padding:8px 14px;font-size:.9rem}
.conn{position:fixed;left:0;right:0;bottom:0;background:var(--bad);color:#fff;text-align:center;padding:6px;z-index:20}
dialog{border:0;border-radius:14px;padding:18px;max-width:min(640px,94vw);width:100%}
dialog::backdrop{background:rgba(0,0,0,.45)}

.stage{position:fixed;inset:0;z-index:15;background:#1E1D1B;color:#FAFAF8;display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}
.stage .stagebox{max-width:900px;text-align:center}
.stage .eyebrow{color:#EDC13C;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.95rem;margin-bottom:14px}
.stage h1{font-size:clamp(2rem,6vw,3.6rem);line-height:1.1;margin:0 0 18px}
.stage p{font-size:clamp(1.1rem,2.6vw,1.5rem);line-height:1.45;margin:0 0 14px;color:#EDE9DF}
.stage p.soft{color:#B8B2A3;font-size:clamp(1rem,2.2vw,1.2rem)}
.stage .bigclock{font-size:clamp(3.5rem,14vw,8rem);font-weight:800;color:#EDC13C;font-variant-numeric:tabular-nums;margin:18px 0}
.stage .qs{text-align:left;background:#2B2A27;border-radius:14px;padding:16px 22px;margin-top:18px;font-size:1.15rem}
.stage .qs li{margin:8px 0}
body.staged{overflow:hidden}

.dbf{margin:.6em 0 1em}.dbf h3{margin:.2em 0 .4em}.dbf h4{margin:.8em 0 .2em}
.dbf-div{margin:.5em 0;padding:.5em .6em;border:1px solid rgba(128,128,128,.35);border-radius:10px}
.dbf-bar{display:flex;height:12px;border-radius:99px;overflow:hidden;background:rgba(128,128,128,.25);margin:.35em 0}
.dbf-bar .tb{background:#12805c}.dbf-bar .wd{background:#c2410c}
.dbf-small{font-size:.85em;opacity:.85;margin:.15em 0}

.stage .stagebtn{font:inherit;font-weight:700;font-size:1.1rem;padding:14px 22px;border-radius:12px;border:0;background:#EDC13C;color:#1E1D1B;cursor:pointer;min-height:48px}
.stage .bigclock small{display:block;font-size:.2em;font-weight:600;color:#B8B2A3;letter-spacing:.04em}
.stage .qs.mine{margin-top:14px}
.stage .skgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:8px 0 12px}
.stage .sk{background:#1E1D1B;border-radius:10px;padding:8px 10px;display:flex;flex-direction:column}
.stage .sk span{font-size:.8rem;color:#B8B2A3}.stage .sk b{font-size:1.2rem;color:#EDC13C}
.stage .qs p{font-size:1rem;margin:6px 0}
.stage{align-items:flex-start}.stage .stagebox{margin:auto;width:100%}
