*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#eef1f5;color:#1a2230;font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;overflow-wrap:anywhere}
a{color:#0b6e69;text-decoration:underline;text-underline-offset:2px}
a:hover{color:#08524e}
:focus-visible{outline:3px solid #0fa39b;outline-offset:2px;border-radius:4px}
.wrap{max-width:1040px;margin:0 auto;padding:0 14px}
.mast{background:#0f1f3a;color:#fff;border-bottom:3px solid #0fa39b}
.mast .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding-top:12px;padding-bottom:12px}
.brand{color:#fff;font-weight:700;font-size:1.15rem;text-decoration:none;letter-spacing:.02em}
.mast a{color:#cfe9e7}
.mast a:focus-visible,.brand:focus-visible{outline-color:#7fe3dc}
main.wrap{padding-top:18px;padding-bottom:28px}
.pagehead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
.pagehead h1{margin:0;font-size:1.35rem}
.live{display:inline-flex;align-items:center;gap:6px;font-size:.9rem;font-weight:600;color:#0b6e69}
.live::before{content:"";width:9px;height:9px;border-radius:50%;background:#0fa39b;box-shadow:0 0 0 3px rgba(15,163,155,.2)}
.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}
.metric{display:block;background:#fff;border:1px solid #d3d9e2;border-radius:8px;padding:10px 12px;color:#1a2230;text-decoration:none}
.metric strong{display:block;font-size:1.5rem;line-height:1.2}
.metric span{font-size:.9rem;color:#4a5566}
.metric:hover{border-color:#0fa39b}
.metric[aria-current=true]{border:2px solid #0b6e69;background:#e6f5f4;padding:9px 11px}
.tools{background:#fff;border:1px solid #d3d9e2;border-radius:8px;padding:12px;margin-bottom:16px}
.tools form{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}
label{display:block;font-weight:600;font-size:.95rem;color:#1a2230;margin-bottom:4px}
input,select,textarea,button{font:inherit;font-size:16px}
input,select,textarea{width:100%;min-height:44px;padding:8px 10px;border:1px solid #6b7686;border-radius:6px;background:#fff;color:#1a2230}
.tools form>*{flex:1 1 140px;min-width:0}
.tools button{flex:0 0 auto}
button,.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid #6b7686;border-radius:6px;background:#fff;color:#1a2230;cursor:pointer;text-decoration:none;font-weight:600}
button:hover,.btn:hover{background:#f2f5f8}
.primary{background:#0b6e69;border-color:#0b6e69;color:#fff}
.primary:hover{background:#08524e;color:#fff}
.muted{color:#4a5566;font-size:.92rem}
.list{display:grid;gap:10px}
.card{background:#fff;border:1px solid #d3d9e2;border-left:4px solid #8a94a3;border-radius:8px;padding:12px}
.card.r3{border-left-color:#c62828}.card.r2{border-left-color:#d9690b}.card.r1{border-left-color:#1e63b8}
.line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:.92rem}
.badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.82rem;font-weight:700;color:#fff;background:#5f6b7a}
.badge.r3{background:#c62828}.badge.r2{background:#b55306}.badge.r1{background:#1e63b8}.badge.r0{background:#5f6b7a}
.why{margin:6px 0;font-size:.92rem;color:#8a3a00;background:#fff4e8;border-radius:4px;padding:4px 8px}
.body{white-space:pre-wrap;margin:8px 0;font-size:1rem}
details{margin:6px 0}
summary{cursor:pointer;color:#0b6e69;font-weight:600;min-height:32px}
.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;align-items:center}
.actions form{margin:0;display:inline}
.pages{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:20px 0}
.pages a,.pages span{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid #d3d9e2;border-radius:6px;background:#fff}
.pages [aria-current]{background:#0b6e69;color:#fff;border-color:#0b6e69}
.login{max-width:400px;margin:40px auto;background:#fff;border:1px solid #d3d9e2;border-radius:8px;padding:20px}
.login form{display:grid;gap:12px}
.notice{padding:10px 12px;border-radius:6px;background:#e6f5f4;border:1px solid #0fa39b;margin-bottom:14px}
.notice.err{background:#fdecec;border-color:#c62828}
footer{border-top:1px solid #d3d9e2;color:#4a5566;font-size:.9rem;text-align:center;padding:16px 14px}
@media(min-width:720px){.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.wrap{padding:0 20px}.pagehead h1{font-size:1.6rem}}
.brand,.identity,.list-head,.actions form{display:flex;align-items:center;gap:.65rem}.brand,.list-head{justify-content:space-between}.brand{min-height:64px}.mark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#c2ede1;color:#123d35;font-size:.85rem;font-weight:800;letter-spacing:-.05em}.exit{color:#fff;background:transparent;border:1px solid #738296;border-radius:8px;padding:.35rem .75rem}.pagehead{margin:28px 0 20px}.pagehead h1{letter-spacing:-.045em;font-size:clamp(1.9rem,4vw,2.7rem);line-height:1.15;margin:.3rem 0}.stamp{margin:.45rem 0}.refresh{font-weight:650}.metric{border-top:3px solid var(--tone,#82909b);text-decoration:none}.k3{--tone:#b03946}.k2{--tone:#c36924}.k1{--tone:#347694}.k0{--tone:#85938e}.metrics .metric strong{font-variant-numeric:tabular-nums}.list-head{margin-top:1.6rem}.list-head h2{font-size:1.18rem}.list-head>span,.line time{color:#566676;font-size:.88rem}.line{justify-content:space-between}.videotitle{font-weight:650;color:#374b60;margin:.9rem 0 .25rem}.actions form{flex-wrap:wrap}.login{max-width:440px;margin:10vh auto;padding:2rem;background:#fff;border:1px solid #d5dee6;border-radius:16px}.login form,.tools label{display:grid;gap:.4rem}.login input,.login button{width:100%;min-height:46px}.login button{margin-top:.8rem}.tools label{font-size:.87rem;font-weight:600}.tools{align-items:end}.tools input,.tools select{min-width:0;width:100%}.tools .primary,.actions button{min-height:40px}.card{min-width:0}.body,summary{white-space:pre-wrap;overflow-wrap:anywhere}summary span{color:#0b6e69;font-weight:650}.actions{flex-wrap:wrap}.list-head,.pages{font-variant-numeric:tabular-nums}.login [role=alert]{color:#9a2532}footer{margin-top:2rem}@media(max-width:600px){.tools{display:grid;grid-template-columns:1fr 1fr}.tools label:first-child,.tools>.primary{grid-column:1/-1}.pagehead{align-items:flex-start}.actions{gap:.65rem}.actions a{margin-right:auto}.login{margin:8vh auto;padding:1.35rem}.metrics{grid-template-columns:1fr 1fr}}
