:root{color-scheme:light;--ink:#172c3b;--muted:#566979;--accent:#0a6959;--line:#cdd8db;font-family:"Inter","Segoe UI",system-ui,sans-serif;color:var(--ink);background:#f2f5f4}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;padding:0 max(4vw,18px);min-height:64px;background:#172e38;color:white}header a{color:inherit;text-decoration:none}.brand{font-weight:760;font-size:19px;letter-spacing:-.5px}.signal{display:inline-grid;place-items:center;background:#a4d8be;color:#203d37;border-radius:5px;margin-right:8px;width:28px;height:27px}nav,.tools,.dialog-head,.dialog-foot,#actions,#playback{display:flex;align-items:center;gap:12px;flex-wrap:wrap}nav{font-size:14px}nav .quiet{background:transparent;color:white;border-color:#71828b}main{max-width:1340px;margin:auto;padding:clamp(20px,4vw,60px)}h1{font-size:clamp(32px,4vw,52px);letter-spacing:-.055em;line-height:1.05;margin:0}h2,h3{letter-spacing:-.03em}h2{margin-top:0}p{line-height:1.5}.title,.dialog-head,.dialog-foot{display:flex;align-items:center;justify-content:space-between}.title p{margin:9px 0;color:var(--muted)}button{border:1px solid transparent;padding:9px 14px;border-radius:6px;background:var(--accent);color:white;font:inherit;font-size:14px;font-weight:600;cursor:pointer}.quiet{background:#fff;color:var(--ink);border-color:var(--line)}button:disabled{opacity:.5;cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #dc9338;outline-offset:2px}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:25px 0}.summary>div,.card,dialog{background:#fff;border:1px solid var(--line);border-radius:10px}.summary>div{padding:18px 20px}.summary span,dt,label{font-size:13px;color:var(--muted);font-weight:600}.summary strong{display:block;font-size:32px;line-height:1.3}.card{padding:clamp(15px,2.5vw,30px)}.card+.card{margin-top:20px}.tools{align-items:flex-end;margin-bottom:20px}.search{flex:1;min-width:160px}input:not([type=checkbox]),select{display:block;width:100%;border:1px solid #aab9bd;padding:8px;border-radius:5px;margin-top:5px;background:white;color:var(--ink);font:inherit}input[type=checkbox]{accent-color:var(--accent)}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:12px;color:var(--muted);white-space:nowrap}td,th{padding:12px 8px;border-bottom:1px solid #e1e8e8}td{font-size:14px}small{display:block;color:var(--muted)}.live{color:#146248;font-weight:700}#notice{min-height:20px;color:var(--accent)}#notice[data-error=true]{color:#a13223}dl{display:grid;grid-template-columns:minmax(130px,200px) 1fr;gap:6px 16px}dd{margin:0;overflow-wrap:anywhere}dialog{max-width:min(660px,95vw);max-height:92vh;color:var(--ink);padding:24px}dialog::backdrop{background:#101e2a92}.fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.wide{grid-column:1/-1}fieldset{border:1px solid var(--line);border-radius:5px;display:grid;gap:5px;margin:18px 0 10px}legend{font-weight:bold}.dialog-foot{margin-top:18px;justify-content:flex-end}.login main{max-width:430px;margin:12vh auto}.login h1{font-size:32px;margin-bottom:22px}.login button{margin-top:16px}video{width:min(100%,600px);background:#18242b}#events{padding-left:24px}#events li{padding:3px}#playback{margin:12px 0}@media(max-width:580px){header{padding:12px;align-items:flex-start;gap:8px}nav{gap:7px}.brand{font-size:15px}.signal{display:none}nav a{font-size:12px}.summary{gap:6px}.summary>div{padding:12px 8px}.summary strong{font-size:24px}main{padding:20px 10px}.fields{grid-template-columns:1fr}.title{gap:5px}.tools{gap:8px}.card{padding:12px}.title button{white-space:nowrap}}
#rows td:first-child button { margin-top: 6px; white-space: nowrap; }
#source-help { margin: 5px 0 0; font-size: 13px; color: var(--muted); }
#authorize-source-host { margin-top: 6px; overflow-wrap: anywhere; }
#editor-error { color: #a13223; }
#editor-error:empty { margin: 0; }
.proxy-cell { min-width: 10rem; max-width: 19rem; }
.proxy-cell a, #playback a { overflow-wrap: anywhere; color: var(--accent); }
.proxy-cell button { display: block; margin-top: 6px; }
.proxy-input { display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.proxy-input input { flex: 1 1 180px; min-width: 0; }
#editor-proxy small { margin-top: 4px; }
