.department-row{margin-bottom:9px}
.department-trigger{display:flex;align-items:center;width:100%;min-width:0;min-height:32px;padding:0;border:0;background:transparent;border-radius:3px;cursor:pointer;appearance:none;box-shadow:none}
.department-row .bar-track{height:12px;width:100%;overflow:hidden;border-radius:2px}
.department-row .bar-track .department-share-placement{position:absolute;inset:0;display:flex;height:100%;align-items:center;pointer-events:none}
.department-share-placement::before{content:"";flex:0 1 calc(var(--filled) + 4px);min-width:0}
.department-row .bar-track .department-share{position:static;flex:none;margin-right:2px;font-size:10px;line-height:12px;text-shadow:0 1px 2px #00101f,0 0 4px #00101f}
.department-trigger:hover .bar-track,.department-trigger.is-department-selected .bar-track{box-shadow:0 0 0 1px #73e6f580,0 0 15px #37dceb25;background-color:#1a4055}
.department-trigger:focus-visible{outline:2px solid #7ae7f4;outline-offset:3px}
.department-popover{position:fixed;inset:auto;margin:0;padding:0;border:1px solid #64dce8a6;border-radius:7px;background:linear-gradient(135deg,#123247e8,#061622df 70%);color:#e6f7ff;box-shadow:0 0 26px #32d7e827,0 18px 60px #0009;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);overflow:auto;overscroll-behavior:contain;max-width:none;box-sizing:border-box}
.department-popover:popover-open{animation:department-reveal .25s ease-out both}
.department-popover::backdrop{background:transparent}
.department-electric{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;opacity:.9}
.department-electric path{fill:none;stroke:#79f2ff;stroke-width:1.1;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 4px #39e2ff);stroke-dasharray:100;animation:department-current .6s ease-out both}
.department-popover-body{position:relative;min-height:142px;padding:19px 17px 20px}
.department-popover-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:10px}
.department-kicker{margin:0 0 5px;font:8px var(--mono);letter-spacing:.8px;color:#81d9e5}
.department-popover-head h3{font-size:14px;line-height:1.5;margin:0;color:#f0fbff;overflow-wrap:anywhere}
.department-popover-close{display:grid;place-items:center;width:27px;height:27px;flex:none;padding:0;border:1px solid #74c7dc55;border-radius:4px;background:#14344780;color:#c1f1fa;font-size:19px;cursor:pointer}
.department-popover-close:hover{background:#26607680;border-color:#8beaff}
.department-reason-brief{margin:0;font-size:12px;line-height:1.8;color:#e3f4fc;overflow-wrap:anywhere}
.department-wire{position:fixed;inset:0;margin:0;padding:0;width:100vw;height:100vh;max-width:none;max-height:none;border:0;background:transparent;overflow:hidden;pointer-events:none!important}
.department-wire::backdrop{display:none;pointer-events:none}
.department-wire svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
.department-wire path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.department-wire-base{stroke:#49cadb88;stroke-width:1.3}
.department-wire-current{stroke:#a6fbff;stroke-width:2;stroke-dasharray:9 15;filter:drop-shadow(0 0 4px #5eeeff);animation:department-flow 1.1s linear infinite}
@keyframes department-reveal{from{opacity:0}to{opacity:1}}
@keyframes department-current{from{stroke-dashoffset:100;opacity:.2}to{stroke-dashoffset:0;opacity:.9}}
@keyframes department-flow{from{stroke-dashoffset:24}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.department-popover:popover-open,.department-electric path,.department-wire-current{animation:none!important}}
.department-hint{margin:10px 20px 0;font-size:10px;letter-spacing:.5px;color:#9ddce6}
.weekly-trigger{cursor:pointer;outline:none}
.weekly-trigger:hover .weekly-hit,.weekly-trigger:focus-visible .weekly-hit{fill:#58e4ef0c;stroke:#73e6f580;stroke-width:1}
.weekly-trigger.is-department-selected .weekly-hit{fill:#58e4ef08}
.weekly-lock{fill:#cbffff;stroke:#45dfe9;stroke-width:2;opacity:0;filter:drop-shadow(0 0 4px #63efff)}
.weekly-trigger.is-department-selected .weekly-lock{opacity:1}
.weekly-wire .department-wire-current{stroke-dasharray:2 18;animation:weekly-flow 1.6s linear infinite;stroke-width:2.8}
.weekly-popover .department-popover-body{min-height:142px}
.weekly-popover .department-popover-head h3{font-size:13px}
.weekly-popup-total{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0 0 10px}
.weekly-popup-total span{font-size:10px;color:#bcdbe5}
.weekly-popup-total strong{font:16px var(--mono);font-weight:600;color:#83edf5}
.weekly-popup-split{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:10px;line-height:1.7;margin:0}
.component-ring{position:absolute;inset:0;width:100%;height:100%}
.component-segment{cursor:pointer}
.component-segment:hover,.component-segment.is-department-selected{filter:brightness(1.2)}
.donut-label{pointer-events:none}
.connection-origin{fill:#d8ffff;stroke:#53e1ec;stroke-width:2;filter:drop-shadow(0 0 4px #6cefff)}
.weekly-abnormal{color:#efbc78}.weekly-support{color:#69dcd0}
@keyframes weekly-flow{from{stroke-dashoffset:20}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.weekly-wire .department-wire-current{animation:none!important}}
