:root{font-family:"Source Sans 3","Segoe UI",Arial,sans-serif;color:#172f35;background:#f3f6f5;--ink:#172f35;--muted:#52696e;--line:#cfdad9;--teal:#00675e;--deep:#103e42;--surface:#fff;font-size:16px}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-width:280px}
button,input,select{font:inherit}
button,a,input,select{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.6}
:focus-visible{outline:3px solid #007bba;outline-offset:3px}
.skip{position:fixed;z-index:10;top:.5rem;left:.5rem;transform:translateY(-180%);background:white;padding:.65rem;color:var(--teal)}
.skip:focus{transform:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.header-inner,main{width:min(1320px,calc(100% - clamp(32px,8vw,132px)));margin-inline:auto}
.header-inner{min-height:72px;display:flex;align-items:center;gap:clamp(20px,5vw,72px)}
.brand{display:flex;align-items:center;gap:.6rem;color:var(--deep);font:600 1.43rem/1.1 "PT Serif",Georgia,serif;letter-spacing:-.05em}
.brand-mark{position:relative;width:27px;height:27px;border-radius:8px;background:var(--teal);display:block}
.brand-mark::before,.brand-mark::after{content:"";position:absolute;background:#dcf7ed;border-radius:2px;inset:6px 11px}
.brand-mark::after{inset:11px 6px}
nav{display:flex;align-self:stretch;gap:1.5rem}
nav a{display:flex;align-items:center;text-decoration:none;color:var(--muted);border-bottom:3px solid transparent;padding:.15rem .15rem 0;font-weight:600}
nav a[aria-current=page]{color:var(--teal);border-bottom-color:var(--teal)}
.account{margin-left:auto;display:flex;align-items:center;gap:1rem;min-width:0}
.account span{max-width:18ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:.9rem}
button{border:0;border-radius:8px}
.quiet,.secondary,.primary,.play,.move{padding:.58rem .88rem;min-height:40px;font-size:.92rem;font-weight:600}
.quiet{background:transparent;color:var(--teal)}
.quiet:hover,.play:hover,.move:hover{background:#d7efe8}
.secondary{color:var(--ink);border:1px solid #bdcecb;background:white}
.secondary:hover{background:#edf5f2;border-color:#91aaa4}
.primary{background:var(--teal);color:white}
.primary:hover{background:#00534c}
main{padding-bottom:3.5rem}
h1,h2,p{margin:0}
h1{font:500 clamp(2.45rem,4vw,3.8rem)/1.08 "PT Serif",Georgia,serif;letter-spacing:-.055em;color:var(--deep)}
h2{font-size:clamp(1.25rem,2.1vw,1.62rem);letter-spacing:-.035em;color:var(--deep)}
.page-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:clamp(2rem,4vw,3.5rem) 0 1.7rem}
.time-note,.muted{color:var(--muted);font-size:.86rem;line-height:1.45}
.time-note{margin-top:.48rem}
.refresh{display:flex;align-items:center;gap:.55rem}
.refresh:before{content:"↻";font-size:1.25rem;line-height:1}
.metrics{display:grid;grid-template-columns:1.19fr repeat(5,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.metric{min-width:0;background:white;padding:1.15rem clamp(.75rem,1.5vw,1.35rem);display:flex;flex-direction:column;justify-content:space-between;gap:.7rem}
.metric span{color:var(--muted);font-size:.85rem;font-weight:600;line-height:1.3}
.metric strong{font:600 clamp(1.6rem,2.8vw,2.55rem)/1.05 "Source Sans 3","Segoe UI",sans-serif;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.metric.primary-metric{background:var(--deep);color:white}
.primary-metric span{color:#c4e5dd}
.work-area{margin-top:1.7rem;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.work-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.4rem clamp(.9rem,2vw,1.6rem)}
.work-head .muted{margin-top:.3rem}
.tools{display:flex;align-items:center;gap:.55rem}
input,select{max-width:100%;width:100%;min-height:42px;border:1px solid #b5c6c4;border-radius:7px;background:white;color:var(--ink);padding:.54rem .7rem}
input::placeholder{color:#586e73}
.search{position:relative;display:block}
.search:before{content:"";position:absolute;left:.82rem;top:calc(50% - 7px);width:10px;height:10px;border:1.7px solid var(--muted);border-radius:50%;pointer-events:none}
.search:after{content:"";position:absolute;left:1.5rem;top:calc(50% + 4px);width:6px;height:2px;background:var(--muted);transform:rotate(45deg);pointer-events:none}
.search input{padding-left:2.15rem;width:220px}
.tools select{width:155px}
.stages{display:flex;flex-wrap:wrap;gap:.4rem;padding:0 clamp(.9rem,2vw,1.6rem) 1.1rem}
.stages button{display:inline-flex;align-items:center;gap:.4rem;background:#f2f6f5;color:var(--muted);padding:.48rem .68rem;border:1px solid transparent;min-height:36px;font-size:.88rem}
.stages button[aria-pressed=true]{background:#e0f1eb;color:#00594c;border-color:#94bbac}
.stage-count{font-variant-numeric:tabular-nums;font-size:.8rem}
table{width:100%;border-collapse:collapse;table-layout:fixed;color:var(--ink);font-size:.92rem}
th,td{text-align:left;overflow-wrap:anywhere}
th{background:#edf3f1;color:#476060;font-weight:600;font-size:.79rem;padding:.72rem .65rem}
td{border-top:1px solid #e0e8e6;padding:1rem .65rem;vertical-align:middle}
th:first-child,td:first-child{padding-left:clamp(.9rem,2vw,1.6rem);width:24%}
th:last-child,td:last-child{padding-right:clamp(.9rem,2vw,1.6rem)}
thead th:last-child{width:19%}
.data-name{font-weight:650;line-height:1.36}
.subline{color:var(--muted);font-size:.81rem;margin-top:.22rem;line-height:1.4}
.outcome{font-size:.8rem;font-weight:650;padding:.28rem .56rem;border-radius:5px;background:#eef2f2;color:#465a61;display:inline-block}
.outcome.confirmed{background:#e1f1e6;color:#205f3d}
.outcome.no_answer{background:#fff0d6;color:#7a5204}
.outcome.refused{background:#f8e7e5;color:#8d3a36}
.outcome.callback{background:#e5edf7;color:#2e527f}
.play,.move{background:#e5f2ee;color:#075d50;text-align:left;min-height:36px;line-height:1.25}
.play:before{content:"▶";font-size:.7em;margin-right:.45rem}
.player td{background:#f1f7f5;padding-block:.65rem}
.player audio{height:40px;width:min(100%,430px);vertical-align:middle}
.player .quiet{margin-left:.5rem}
.empty{padding:2.4rem 1.4rem;text-align:center;color:var(--muted);border-top:1px solid var(--line)}
.notice{margin-top:1.2rem;padding:.8rem 1rem;border:1px solid #ddd1ab;background:#fff8e7;color:#624e23;border-radius:8px;line-height:1.45}
.notice.ok{color:#1c5342;background:#e9f5ef;border-color:#bddacd}
.retry{margin-top:.55rem}
.boot{margin:3rem 0;color:var(--muted)}
.login-panel{position:relative;width:min(100%,440px);margin:clamp(3rem,10vh,7rem) auto;padding:clamp(1.55rem,4vw,2.65rem);background:white;border:1px solid var(--line);border-top:4px solid var(--teal);border-radius:12px;box-shadow:0 12px 42px #123b3710}
.login-accent{height:38px;display:flex;align-items:center;gap:4px;margin-bottom:1.25rem}
.login-accent span{width:5px;border-radius:3px;background:#459480;height:12px}
.login-accent span:nth-child(2n){height:24px}.login-accent span:nth-child(4){height:36px;background:var(--teal)}
.login-panel h1{font-size:clamp(2.1rem,4vw,2.65rem);margin-bottom:1.8rem}
.login-panel label,dialog label{display:block;font-size:.9rem;font-weight:650;margin-bottom:.38rem}
.login-panel input{margin-bottom:1rem}
.login-panel .primary{width:100%;margin-top:.45rem}
#login-message{color:#8d3a36;line-height:1.4;margin:.3rem 0 .8rem}
dialog{border:1px solid var(--line);border-radius:12px;padding:1.6rem;width:min(440px,calc(100% - 2rem));color:var(--ink);box-shadow:0 24px 80px #092f3540}
dialog::backdrop{background:#102e36a8}
dialog p{margin:.8rem 0 1.3rem;line-height:1.5}
.dialog-actions{display:flex;justify-content:flex-end;gap:.7rem;margin-top:1.4rem}
@media(max-width:1000px){.metrics{grid-template-columns:repeat(3,1fr)}.metric{min-height:92px}.work-head{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:700px){.header-inner,main{width:calc(100% - 28px)}.header-inner{min-height:60px;flex-wrap:wrap;gap:.1rem 1rem}.brand{font-size:1.2rem}.account{order:1}.account span{max-width:10ch}nav{order:2;flex-basis:100%;gap:1.1rem}nav a{padding:.7rem .1rem}.page-head{align-items:flex-start;margin:1.7rem 0 1.1rem}.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{min-height:85px;padding:.77rem .65rem}.metric span{font-size:.77rem}.work-area{margin-top:1rem}.work-head{padding:1rem .82rem}.tools{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(115px,.74fr)}.tools input,.tools select{width:100%;font-size:.88rem}.stages{max-height:165px;overflow-y:auto}table,tbody,tr,td{display:block}thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}tbody tr:not(.player){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:.82rem;gap:.7rem .65rem;border-top:1px solid var(--line)}td,td:first-child,td:last-child{border:0;padding:0;width:auto}td:first-child{grid-column:1/-1}.data-name{font-size:1.04rem}td[data-label]:before{content:attr(data-label);display:block;font-size:.72rem;font-weight:600;color:var(--muted);margin-bottom:.18rem}.player{padding:.7rem;background:#f1f7f5}.player audio{width:100%}.player .quiet{margin:0}.time-note{max-width:28ch}}
@media(max-width:375px){.account span{display:none}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.tools{grid-template-columns:1fr}.page-head{gap:.4rem}.refresh{padding:.5rem}.dialog-actions{flex-wrap:wrap}}

#invite-note{margin:-.7rem 0 1.15rem}
#activate-message{color:#8d3a36;margin:.25rem 0 .75rem;line-height:1.45}
.to-login{display:inline-block;margin-top:1.2rem;color:var(--teal);text-underline-offset:3px}
.outcome.review{background:#f1eaf5;color:#67467b}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.metric-note{color:#c4e5dd;font-size:.74rem;line-height:1.25}
.metric:has(.metric-note){gap:.35rem}
@media(max-width:700px){.metric-note{font-size:.7rem}}

.branch-picker{display:flex;align-items:center;gap:.7rem;width:fit-content;max-width:100%;margin:0 0 1.1rem;font-weight:600}
.branch-picker select{width:auto;max-width:100%;min-width:0;flex:1;font-weight:400}
