/* Operations desk. Text and map stay flat; depth belongs to the scene and panel edges. */
.dashboard-shell #content {background:radial-gradient(ellipse at 75% 14%,#10364b80,transparent 55%);max-width:1700px}
.dashboard-shell .page-title{margin-bottom:17px}
.ops-deck{margin:0 0 22px;color:#e2f3fb;--edge:#27536b}
.ops-kpis,.ops-main{display:grid;gap:14px}
.ops-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:15px}
.ops-kpi,.ops-scene,.ops-health,.dashboard-shell .category-overview,.dashboard-shell .site-panel,.dashboard-shell .water-results,.dashboard-shell .water-trend{
 background:linear-gradient(156deg,#16354c 0%,#102739 46%,#0b202f 100%);border:1px solid #2b4c62;border-top-color:#46728b;border-radius:15px;box-shadow:inset 0 1px #b2f1ff12,0 4px 0 #081823,0 7px 18px #04101c52}
.ops-kpi{--tone:#74d5f2;position:relative;padding:13px 18px 14px 22px;overflow:hidden}
.ops-kpi:before{content:'';position:absolute;left:0;top:20%;height:60%;width:3px;border-radius:0 4px 4px 0;background:var(--tone);box-shadow:0 0 12px var(--tone)}
.ops-kpi.ok{--tone:#49e0d0}.ops-kpi.due{--tone:#efbc6b}.ops-kpi.fail{--tone:#ff8d7b}
.ops-kpi>span{display:block;font-size:.82rem;color:#c7dfed}.ops-kpi strong{font-size:clamp(1.5rem,2.15vw,2.25rem);line-height:1.28;font-weight:600;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.ops-kpi small{color:#a4bfcc;margin-left:8px}
.ops-main{grid-template-columns:minmax(0,2.3fr) minmax(214px,.85fr)}
.ops-scene,.ops-health{min-width:0;overflow:hidden}.ops-scene{display:flex;flex-direction:column;background:radial-gradient(ellipse at 54% 63%,#245169 0%,#123046 40%,#0c2132 78%);position:relative}
.ops-toolbar,.ops-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 21px}
.ops-kicker{font:600 10px/1.4 system-ui,sans-serif;letter-spacing:.16em;color:#77d1e4}
.dashboard-shell .ops-deck h2{margin:2px 0 0;font:500 clamp(1.15rem,1.7vw,1.65rem)/1.35 PMThai,system-ui,sans-serif;color:#eefaff}
.ops-switch{display:flex;padding:3px;background:#081d2a;border:1px solid #31556b;border-radius:10px;gap:2px}
.ops-switch button{font:inherit;font-size:.8rem;background:transparent;border:0;border-radius:7px;color:#b9d3df;padding:6px 10px;cursor:pointer}
.ops-switch button[aria-pressed=true]{background:#22566b;color:#e0ffff;box-shadow:inset 0 1px #72bcd350}
.ops-deck button:focus-visible{outline:2px solid #8ce9fa;outline-offset:2px}
.ops-stage{isolation:isolate;position:relative;display:grid;place-items:center;min-height:213px;flex:1}
.ops-stage:before{content:'';z-index:-1;position:absolute;inset:8% 4% 0;background:repeating-linear-gradient(24deg,transparent 0 27px,#76cde212 28px,transparent 29px),repeating-linear-gradient(156deg,transparent 0 27px,#76cde212 28px,transparent 29px);mask-image:radial-gradient(ellipse,#000 25%,transparent 72%);pointer-events:none}
.ops-stage svg{display:block;width:96%;height:clamp(210px,23vw,325px);filter:drop-shadow(0 10px 8px #04132080)}
.ops-stage[hidden]{display:none!important}.ops-caption{margin-top:auto;border-top:1px solid #96d2e61e;padding:8px 18px;color:#b2cbd8;font-size:.77rem}
.ops-caption .link{padding:7px 3px}.ops-health{display:flex;flex-direction:column;padding:19px 22px}
.ops-gauge{margin:auto;position:relative;width:clamp(106px,10vw,148px);aspect-ratio:1;border-radius:100%;background:conic-gradient(from -90deg,#49e0d0 0 var(--ready),#efbc6b var(--ready) var(--covered),var(--rest) var(--covered) 100%);box-shadow:0 5px 0 #051925,0 0 26px #4fced91a;display:grid;place-items:center}
.ops-gauge>div{display:grid;align-content:center;justify-items:center;width:81%;height:81%;border-radius:100%;background:radial-gradient(at 30% 15%,#1f4052,#0b2131 75%);box-shadow:inset 0 2px 7px #051321}
.ops-gauge strong{font-weight:500;font-size:clamp(22px,2.6vw,38px);line-height:1.2;color:#ecfbff}.ops-gauge small,.ops-date{color:#b0c8d6;font-size:.78rem}
.ops-key{display:grid;gap:6px;margin-top:12px}.ops-key>div{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #294859;padding-bottom:5px;font-size:.85rem}.ops-key span:before{content:'';display:inline-block;vertical-align:middle;width:7px;height:7px;margin-right:8px;border-radius:100%;background:var(--dot)}.ops-key b{font-weight:500}.ops-date{margin-top:9px}
.dashboard-shell .category-overview{position:relative;--sys:#62cfe6}.dashboard-shell .category-overview.extinguisher{--sys:#fc997a}.dashboard-shell .category-overview.generator{--sys:#e7c37d}
.dashboard-shell .category-heading .category-icon{color:var(--sys);border:1px solid #60869866;box-shadow:inset 0 2px 0 #badde12a,2px 4px 0 #06182577;background:linear-gradient(145deg,#31566a,#102738);border-radius:10px}
.dashboard-shell .readiness-track{box-shadow:inset 0 2px 3px #071826}.dashboard-shell .category-overview .readiness-track i{background:linear-gradient(90deg,#2995a5,#6be6d9)}
@media(max-width:800px){.ops-main{grid-template-columns:minmax(0,1.6fr) minmax(180px,.85fr)}.ops-key{margin-top:10px}.ops-kpi{padding:10px 13px}.ops-toolbar{padding:13px}}
@media(max-width:640px){.ops-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ops-main{grid-template-columns:1fr}.ops-health{display:grid;grid-template-columns:minmax(88px,.8fr) minmax(115px,1.2fr);column-gap:18px}.ops-health>.ops-kicker,.ops-health>h2,.ops-date{grid-column:1/-1}.ops-gauge{width:92px;margin:10px auto 3px}.ops-key{align-self:center}.ops-stage svg{height:215px}.ops-toolbar,.ops-caption{gap:7px}.ops-deck{margin-bottom:16px}}
