:root{color-scheme:light;--text:#24201c;--muted:#6b645b;--line:#eae5de;--panel:#fff;--canvas:#f7f5f1;--red:#c9372d;--dark:#211e1a;--critical:#b92826;--high:#a34e13;--medium:#885d12;--low:#287450;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--text);font-size:14px}button,input,textarea,select{font:inherit}button,a,input,select,summary,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #176b9d}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}button,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.boot{padding:50px}.shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}
.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:var(--dark);color:#faf7f1;padding:29px 15px 16px;z-index:2}.brand{display:flex;gap:10px;align-items:center;margin:0 7px 45px;font-weight:780;font-size:21px;letter-spacing:-.7px;white-space:nowrap}.brand img{width:39px;height:39px;box-shadow:0 3px 12px #10090663;border-radius:11px}.brand-accent{color:#ff8071}.brand small{font-size:9px;font-weight:650;letter-spacing:1.28px;color:#b7ada2;display:block;margin-top:4px}.side-label{margin:0 11px 13px;font-size:9px;letter-spacing:1.5px;font-weight:750;color:#b8afa4}.sidebar nav{display:grid;gap:5px}.sidebar nav button{position:relative;display:flex;align-items:center;gap:10px;text-align:left;width:100%;min-height:45px;color:#d4cbc0;background:none;border:none;border-radius:8px;padding:0 9px;font-weight:620;font-size:12.5px;white-space:nowrap}.sidebar nav button:hover,.sidebar nav button.active{background:#3b2d27;color:#fff}.sidebar nav button.active:before{content:"";background:#f25c4d;width:3px;height:20px;position:absolute;left:0;top:12px;border-radius:0 3px 3px 0}.sidebar nav button.active svg{color:#ff8071}.sidebar nav button span{margin-left:auto;font-size:10px;font-variant-numeric:tabular-nums;background:#494038;border-radius:6px;padding:3px 6px}.side-bottom{margin-top:auto}.side-bottom>a{display:flex;align-items:center;gap:10px;color:#e0d7cc;padding:13px 8px;margin-bottom:15px;border-radius:8px;font-weight:650;font-size:12px}.side-bottom>a:hover{background:#392f29}.side-bottom>a svg:last-child{margin-left:auto}.profile{display:flex;gap:10px;align-items:center;padding:15px 2px 3px;border-top:1px solid #494138;font-size:12px;color:#f3ece3;font-weight:700}.profile>b{flex:0 0 33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#5a3c32;color:#ffbbad;font-size:10px}.profile small{display:block;font-weight:500;color:#bcb1a5;margin-top:4px}
.topbar{padding:0 33px;height:65px;background:#fbfaf7;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:12px}.crumb{color:var(--muted)}.crumb-sep{margin:0 12px;color:#a39a8f}.top-right{display:flex;gap:14px;align-items:center}.live{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:750;color:#256a4c;background:#e9f4ea;border:1px solid #d7ebdb;border-radius:100px;padding:6px 10px;white-space:nowrap}.live i{width:6px;height:6px;background:#33825d;border-radius:50%}.live.offline{color:#9f3328;background:#fae9e5;border-color:#f3d8d1}.live.offline i{background:var(--red)}.icon-button{display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:8px;width:34px;height:34px;background:#fff;color:#655b50}.icon-button:hover{border-color:#cfbeb0;background:#faf6f2}
main{padding:29px 33px 0;max-width:1620px;margin:0 auto}.headline{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:23px}.kicker{display:flex;align-items:center;gap:6px;color:#a23b2d;font-size:9.5px;letter-spacing:1.35px;font-weight:850}.kicker>span{width:15px;height:2px;background:#d54939;border-radius:3px}.headline h1{font-size:clamp(31px,3.4vw,51px);line-height:1.08;letter-spacing:-.056em;margin:9px 0 8px;font-weight:800}.headline h1 span{color:var(--red)}.headline p{color:var(--muted);font-size:13px;line-height:1.5;margin:0}.date{display:flex;align-items:center;gap:8px;flex-shrink:0;font-weight:650;font-size:11.5px;color:#62594f;padding:9px 12px;background:#fefcf8;border:1px solid #e9e3da;border-radius:8px}.date svg{color:#9b6a50}.notice{border:1px solid #aad7bd;background:#e9f4ea;color:#1f6241;padding:11px 14px;border-radius:8px;margin-bottom:15px}.notice.danger{color:#982820;background:#fcebe8;border-color:#f1c8c1}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:19px}.metric{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;box-shadow:0 1px 2px #44301d05;min-height:112px}.metric-title{display:flex;align-items:center;justify-content:space-between;gap:4px;color:#51493f;font-size:12px;font-weight:740}.metric-icon{width:32px;height:32px;flex-shrink:0;display:grid;place-items:center;border-radius:8px}.metric-icon.red{color:#bf3429;background:#fbe8e3}.metric-icon.orange{color:#a95419;background:#faecdd}.metric-icon.blue{color:#356382;background:#e9f1f6}.metric-icon.green{color:#3c795c;background:#e6f2e9}.metric>strong{display:block;font-size:30px;margin-top:-4px;line-height:1.1;letter-spacing:-.055em;font-weight:800}.metric>small{display:block;color:var(--muted);font-size:10.5px;margin-top:7px}
.board{display:grid;grid-template-columns:minmax(0,1fr) minmax(325px,.62fr);gap:15px;align-items:stretch;margin-bottom:18px}.board.queue-full{grid-template-columns:1fr}.panel{min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #44301d05}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:15px 16px 13px}.panel-head h2{font-size:17px;font-weight:800;letter-spacing:-.32px;margin:0 0 4px}.panel-head p{margin:0;color:var(--muted);font-size:11.5px;line-height:1.35}.map-tag{display:flex;gap:5px;align-items:center;border-radius:6px;border:1px solid #e8e1d3;background:#f8f4ec;font-size:8.5px;font-weight:800;letter-spacing:.5px;padding:5px 7px;color:#6f6353;white-space:nowrap}.map-wrap{position:relative;overflow:hidden;isolation:isolate;height:clamp(260px,25vw,380px);background:#e8e7dd}.map-wrap:after{position:absolute;inset:0;content:"";box-shadow:inset 0 0 0 1px #35302013;pointer-events:none}#map-stage,#map-stage img,#pins{width:100%;height:100%;position:absolute;inset:0}#map-stage{transition:transform .16s ease}#map-stage img{object-fit:fill}.map-controls{position:absolute;top:12px;right:12px;display:grid;background:white;border:1px solid #ded7c9;border-radius:8px;box-shadow:0 1px 5px #1e120c20;overflow:hidden}.map-controls button{width:31px;height:31px;background:white;color:#584d41;border:0;display:grid;place-items:center}.map-controls button+button{border-top:1px solid #e7e0d6}.map-controls button:hover{background:#fbf2e8}.north{position:absolute;left:11px;bottom:9px;color:#5c554a;background:#fffefa;border:1px solid #e0dace;padding:4px 6px;font-size:10px;border-radius:5px}.map-footer{min-height:37px;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:7px 13px;color:#62584d;font-size:10px}.map-footer>span{display:flex;align-items:center;gap:5px}.map-footer small{margin-left:auto;color:#6b645b}.dot,.badge i{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor}.critical{color:var(--critical)}.high{color:var(--high)}.medium{color:var(--medium)}.low{color:var(--low)}
.map-pin{position:absolute;display:grid;place-items:center;width:27px;height:27px;border-radius:50% 50% 50% 4px;transform:translate(-50%,-94%) rotate(-45deg);border:2px solid white;background:currentColor;box-shadow:0 1px 6px #49372a6b;z-index:1}.map-pin span{display:grid;place-items:center;color:white;transform:rotate(45deg);pointer-events:none}.map-pin.selected{box-shadow:0 0 0 4px #fd56564d,0 1px 6px #49372a6b;z-index:2}.map-pin:focus-visible,.map-pin:hover{z-index:3}
.queue{display:flex;flex-direction:column}.filters{padding:0 13px 11px;display:flex;gap:5px;border-bottom:1px solid var(--line);flex-wrap:wrap}.filters button{border:1px solid #eee8e1;color:#62584d;background:#faf8f5;border-radius:7px;padding:6px 8px;font-size:10.5px;font-weight:650;white-space:nowrap}.filters button[aria-pressed=true]{background:#fbeae6;border-color:#f3d4ca;color:#a32d24}.search-wrap{padding:0 13px 8px}.search-wrap input{width:100%;min-height:34px}.queue-list{max-height:calc(clamp(260px,25vw,380px) + 7px);overflow:auto;scrollbar-width:thin;scrollbar-color:#ded4c9 transparent}.queue-full .queue-list{max-height:500px}.queue-row{display:flex;gap:9px;align-items:center;text-align:left;width:100%;border:0;border-bottom:1px solid #f0ebe5;background:#fff;padding:10px 10px 10px 12px;color:var(--text);min-height:65px;position:relative}.queue-row:hover,.queue-row.selected{background:#fdf2ef}.queue-row.selected:before{content:"";position:absolute;left:0;top:0;bottom:0;border-left:3px solid #db4b3d}.type-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:8px}.type-icon.critical,.badge.critical{background:#fce8e5}.type-icon.high,.badge.high{background:#faeddb}.type-icon.medium,.badge.medium{background:#f8f0d9}.type-icon.low,.badge.low{background:#e7f3e9}.q-copy,.q-status{display:grid;gap:3px}.q-copy{min-width:0;flex:1}.q-copy small,.q-status small{font-size:9.5px;color:var(--muted);white-space:nowrap}.q-copy small{font-weight:730;letter-spacing:.21px}.q-copy small i{display:inline-block;background:#c6bcb0;border-radius:50%;width:3px;height:3px;margin:0 2px 2px}.q-copy>b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.q-copy>span{font-size:10.5px;color:#645d55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.q-status{justify-items:end;flex-shrink:0}.badge{font-size:9.5px;font-weight:800;white-space:nowrap;display:inline-flex;align-items:center;gap:4px;border-radius:99px;padding:4px 7px}.badge i{width:5px;height:5px}.empty{padding:23px;text-align:center;color:var(--muted);line-height:1.5}
.detail{scroll-margin-top:12px}.detail-head{background:#fdfbf8;border-bottom:1px solid var(--line)}.detail-head .kicker{margin-bottom:5px}.detail-grid{display:grid;grid-template-columns:1fr .85fr 1.15fr}.detail-grid>section{min-width:0;padding:16px}.detail-grid>section+section{border-left:1px solid var(--line)}h3{margin:0 0 11px;font-size:13px}.incident-description{line-height:1.53;font-size:13px;margin:6px 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}.data-row{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding:8px 0;font-size:11px}.data-row span,.muted{color:var(--muted)}.map-link{display:inline-flex;align-items:center;gap:5px;color:#a43a2d;font-weight:680;font-size:11px;padding:7px 0}.map-link:hover{color:#7b251c;text-decoration:underline}#photos h4{font-size:11px;margin:9px 0 6px}.photo-grid{display:flex;gap:6px;flex-wrap:wrap}.photo-button{padding:0;border:1px solid var(--line);border-radius:6px;background:var(--canvas);overflow:hidden;width:63px;height:52px}.photo-button img{width:100%;height:100%;object-fit:cover}.photo-dialog{width:min(650px,90vw);border:0;border-radius:12px;box-shadow:0 8px 35px #1f120851;text-align:right;padding:15px}.photo-dialog::backdrop{background:#201b16b3}.photo-dialog img{display:block;margin:6px auto 0;max-height:70vh;max-width:100%}.event{display:flex;gap:7px;padding:0 0 12px;font-size:11px;min-height:31px}.event i{margin-top:3px;width:7px;height:7px;flex:0 0 7px;border:2px solid #cd3e31;border-radius:50%}.event small{margin-left:6px;color:var(--muted);font-size:9.5px}.event p{margin:4px 0 0;color:var(--muted);line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
form{margin:0}label{display:grid;gap:5px;font-size:11px;font-weight:740;margin-bottom:9px}input,select,textarea{border:1px solid #e6dfd5;border-radius:7px;background:#fff;color:var(--text);padding:8px;min-width:0;width:100%;min-height:34px;font-weight:500;font-size:12px}textarea{resize:vertical}.pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;border:0;border-radius:7px;font-weight:730;padding:8px 11px;font-size:11.5px}.primary{background:#bf342b;color:white}.primary:hover{background:#a72a23}.secondary{background:#f5eee5;color:#5c4132}.secondary:hover{background:#eee1d6}details{border-top:1px solid var(--line);margin-top:13px;padding-top:10px}summary{cursor:pointer;color:#963a2d;font-weight:750;font-size:11.5px}summary svg{vertical-align:middle;margin-right:4px}details form{margin-top:10px}.handoff-hint,.form-feedback{font-size:11px;line-height:1.45}.form-feedback.error{color:#a62d26}.alert-rows{border-top:1px solid var(--line)}.alert-row{display:flex;gap:10px;padding:13px 16px;align-items:flex-start;border-bottom:1px solid var(--line)}.alert-row:last-child{border-bottom:0}.alert-row>div:nth-child(2){flex:1;min-width:0}.alert-row small{display:block;color:var(--muted);margin:3px 0}.alert-row p{margin:6px 0 0;overflow-wrap:anywhere;line-height:1.45}.alert-stamp{font-size:10px;font-weight:750;padding:5px 7px;background:#faefdb;color:#795415;border-radius:6px;white-space:nowrap}.alert-stamp.ack{background:#e8f3e9;color:#236849}.main-footer{display:flex;justify-content:space-between;gap:7px;font-size:10.5px;color:#6b645b;padding:15px 0 18px}.main-footer strong{color:#bf342b}.main-footer a{display:flex;gap:4px;align-items:center}.main-footer a:hover{text-decoration:underline}
@media(max-width:1070px){.shell{grid-template-columns:199px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.topbar{padding-inline:23px}main{padding-inline:23px}.board{grid-template-columns:minmax(0,1fr) minmax(290px,.68fr)}.queue-row{padding-inline:8px;gap:6px}.q-status small{font-size:9px}}
@media(max-width:850px){.shell{grid-template-columns:minmax(0,1fr)}.sidebar{position:static;height:auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;padding:11px 15px;gap:11px}.brand{margin:0;font-size:17px}.brand img{width:31px;height:31px}.brand small,.side-label,.profile{display:none}.sidebar nav{grid-template-columns:repeat(3,max-content);justify-content:center;gap:3px}.sidebar nav button{min-height:36px}.sidebar nav button.active:before{display:none}.side-bottom{margin:0}.side-bottom>a{margin:0;padding:8px;white-space:nowrap}.side-bottom>a svg:last-child{display:none}}
@media(max-width:625px){.sidebar{grid-template-columns:1fr auto;gap:7px}.sidebar nav{grid-row:2;grid-column:1/-1;justify-content:start;overflow:auto}.sidebar nav button{font-size:11px}.side-bottom{grid-row:1;grid-column:2}.topbar{height:49px;padding-inline:14px}main{padding:19px 13px 0}.headline{align-items:flex-start;flex-direction:column;margin-bottom:15px;gap:9px}.headline h1{margin:7px 0;font-size:34px}.date{padding:5px 7px;font-size:10px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:11px}.metric{min-height:93px;padding:9px}.metric-title{font-size:11px}.metric>strong{font-size:26px}.metric>small{font-size:9.5px}.board{grid-template-columns:minmax(0,1fr);gap:9px}.queue-list{max-height:240px}.detail-grid{grid-template-columns:1fr}.detail-grid>section+section{border-left:0;border-top:1px solid var(--line)}.main-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.demo-page{min-height:100vh;background:radial-gradient(ellipse at 8% 42%,#f5e4d9,transparent 48%),var(--canvas)}.demo-header{background:var(--dark);color:white;min-height:66px;display:flex;justify-content:space-between;align-items:center;padding:10px 5vw}.demo-header .brand{margin:0}.demo-toplink{font-weight:700;font-size:12px;display:flex;gap:7px;align-items:center;color:#fff3e8}.demo-toplink:hover{text-decoration:underline}.demo-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:clamp(25px,7vw,110px);align-items:start;max-width:1130px;margin:0 auto;padding:48px 24px}.demo-story{padding:27px 0}.demo-story h1{font-size:clamp(55px,8vw,109px);font-weight:820;line-height:.91;letter-spacing:-.083em;margin:16px 0 17px}.demo-story h1 span,.device-body h2 span{color:var(--red)}.demo-story>p{color:#605248;font-size:15px;line-height:1.55;max-width:410px}.demo-steps{display:grid;gap:7px;margin:23px 0;max-width:410px}.demo-steps button,.demo-steps a{display:flex;width:100%;align-items:center;gap:11px;text-align:left;border:1px solid #e6d6c8;border-radius:9px;background:#fffaf3;color:#322722;padding:10px;min-height:55px}.demo-steps button[aria-pressed=true]{background:#fae5de;border-color:#e9bdb1}.demo-steps button:hover,.demo-steps a:hover{border-color:#b57362}.demo-steps b{display:grid;place-items:center;width:32px;height:32px;background:#f5e9df;color:#9c4234;border-radius:7px;font-size:11px}.demo-steps span:nth-child(2){flex:1}.demo-steps strong,.demo-steps small{display:block}.demo-steps small{margin-top:4px;color:var(--muted);font-size:11px}.demo-story .demo-note{font-size:12px}.demo-note a{font-weight:800;color:#a53024;text-decoration:underline}.device{min-width:0;border-radius:24px;background:#29201b;padding:8px;box-shadow:0 19px 50px #56342830}.device-cap{color:#e4bdad;font-size:9px;font-weight:800;letter-spacing:1.4px;padding:5px 0 8px;text-align:center}.device-top{display:flex;align-items:center;gap:8px;background:#382923;color:white;padding:9px 12px;border-radius:15px 15px 0 0}.device-top img{width:29px;height:29px}.device-top b{font-size:16px;font-weight:770}.device-top b span{color:#ff9a87}.device-top small{margin-left:auto;background:#51372e;color:#efbbac;border-radius:5px;padding:3px 5px;font-size:9px;font-weight:800}.device-content{background:#f8f4ee;border-radius:0 0 15px 15px;overflow:hidden}.device-nav{padding:4px 8px;display:flex;gap:4px;background:#fff;border-bottom:1px solid var(--line);align-items:center}.device-nav button,.device-nav span{border:0;border-radius:5px;background:white;display:block;padding:7px 6px;color:#9c3b2c;font-size:10.5px;font-weight:760}.device-nav button[aria-pressed=true]{background:#f9ece6}.device-nav .switch-role{margin-left:auto}.device-body{padding:15px;min-height:395px}.device-body h2{font-size:36px;font-weight:820;line-height:.99;letter-spacing:-1.8px;margin:6px 0 9px}.device-body p{font-size:12px;line-height:1.48}.device-body fieldset{background:white;border:1px solid var(--line);padding:9px;margin:0 0 10px;border-radius:9px}.device-body label:last-child{margin-bottom:0}.device-body legend{font-weight:780;font-size:12px;padding:0 5px}.device-body legend span{color:#a6372e;background:#f5e2dd;padding:3px 5px;border-radius:4px;margin-right:3px;font-size:10px}.demo-chips{display:flex;gap:5px;flex-wrap:wrap}.demo-chips label{display:block;position:relative;margin:0 0 7px!important}.demo-chips label input{width:1px;height:1px;min-height:0;position:absolute;opacity:0;padding:0;margin:0}.demo-chips label>span{display:flex;align-items:center;gap:3px;cursor:pointer;background:#faf7f3;border-radius:6px;border:1px solid var(--line);padding:6px}.demo-chips input:checked+span{background:#f9e8e1;border-color:#c34d41}.demo-chips input:focus-visible+span{outline:2px solid #176b9d}.device-body .primary{width:100%}.demo-feed-item{border:1px solid var(--line);background:white;border-radius:10px;padding:10px;margin-bottom:9px;font-size:12px}.demo-feed-item>div:first-child{display:flex;gap:7px;align-items:center}.demo-feed-item>div:first-child>div{flex:1}.demo-feed-item h3{margin:3px 0 0}.demo-feed-item small{font-size:10.5px;color:var(--muted)}.demo-feed-item p{overflow-wrap:anywhere;white-space:pre-wrap}.demo-eta{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:9px 0}.demo-eta span{display:grid;gap:3px;padding:8px;border-radius:6px;background:#f6f0e8;color:var(--muted);font-size:10px}.demo-eta b{color:var(--text);font-size:15px}.demo-code{color:#a33328;font-weight:800;font-size:20px!important}
@media(max-width:670px){.demo-layout{display:block;padding:18px 13px}.demo-story{padding:7px 0 12px}.demo-story h1{font-size:54px}.demo-story h1 br{display:none}.demo-story>p,.demo-steps{margin:8px 0 10px;max-width:100%}.demo-steps{display:flex;flex-wrap:wrap}.demo-steps a,.demo-steps button{width:auto;flex:1;min-height:34px;padding:4px;min-width:max-content;gap:4px;font-size:10px}.demo-steps b{width:20px;height:20px;font-size:9px}.demo-steps small{display:none}.device{max-width:455px;margin:auto}.demo-header{min-height:49px;padding:7px 13px}}
.alert-row .push-summary{margin-top:8px;font-weight:650}

.central-picker{position:relative;z-index:4;margin:0;padding:0;border:0}
.central-picker summary{padding:7px 8px;background:white;border:1px solid var(--line);border-radius:8px;white-space:nowrap}
.central-picker form{position:absolute;right:0;top:100%;width:min(255px,77vw);background:white;border:1px solid var(--line);border-radius:9px;padding:12px;box-shadow:0 5px 24px #241e1a25}
.central-picker form p{margin:0 0 10px;color:var(--muted);line-height:1.45}
.central-picker form .primary{width:100%}
.zone-filter{margin:9px 13px;display:flex;align-items:center;gap:7px;color:var(--muted)}
.zone-filter select{width:auto;flex:1;min-width:0}
.zone-admin-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-top:1px solid var(--line)}
.zone-admin-content>div,.zone-admin-content>form{padding:16px}
.zone-admin-content>form{border-left:1px solid var(--line)}
.zone-admin-content form p{font-size:12px;line-height:1.45}
.zone-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px;border-bottom:1px solid var(--line)}
.zone-row p{margin:4px 0 0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:620px){.zone-admin-content{grid-template-columns:1fr}.zone-admin-content>form{border-left:0;border-top:1px solid var(--line)}.central-picker summary{padding:7px 4px;font-size:10px}.top-right{gap:5px}}
@media(max-width:850px){
  .sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
  .sidebar nav button{white-space:normal;line-height:1.2}
}
@media(max-width:625px){
  .sidebar nav{overflow:visible}
  .topbar>div:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .topbar .crumb,.topbar .crumb-sep{display:none}
  .top-right{flex-shrink:0}
}
@media(max-width:380px){
  .topbar .live{font-size:0;padding:7px}
}
.hospital-choice-info{margin:5px 0 10px}
.hospital-choice-info p,#dispatch-location p{font-size:12px;line-height:1.45;margin:0 0 6px}
#dispatch-location{margin:8px 0}
#dispatch-location>.pair{margin-top:6px}
#dispatch-location summary{margin-bottom:7px}
.hospital-availability{display:flex;flex-direction:row;align-items:center;gap:6px;font-size:12px}
.hospital-availability input{width:16px;height:16px;min-height:0;margin:0;accent-color:var(--red)}
.response-actions{display:flex;flex-wrap:wrap;gap:6px}
.response-actions button{flex:1;min-width:115px}
.response-actions .primary{width:auto}

/* Operational sign-in and hospital inbox */
.ops-entry{min-height:100dvh;display:grid;justify-items:center;align-content:center;gap:22px;padding:24px 16px;margin:0;width:100%}
.ops-entry-brand{display:flex;gap:10px;align-items:center;font-size:20px;font-weight:800;line-height:1.1}
.ops-entry-brand img{width:42px;height:42px;border-radius:10px}
.ops-entry-brand strong{color:var(--red,#b33e32)}
.ops-entry-brand small{display:block;font-size:10px;letter-spacing:.12em;margin-top:4px;color:#665d54}
.ops-entry-card{width:min(100%,425px);padding:24px}
.ops-entry-card h1,.ops-inbox h1{margin:0 0 8px;font-size:clamp(24px,5vw,34px);letter-spacing:-.03em}
.ops-entry-card form{display:grid;gap:13px;margin-top:20px}
.ops-entry-card label{display:grid;gap:5px}
.ops-entry-card input:not([type=radio]){width:100%;min-height:42px}
.ops-entry-card p{margin:8px 0;color:#635b51}
.ops-entry-card fieldset{border:0;padding:0;margin:0}
.ops-entry-card legend{margin-bottom:6px}
.ops-roles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ops-roles label{position:relative}
.ops-roles input{position:absolute;opacity:0;width:1px;height:1px}
.ops-roles span{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #ded7cb;border-radius:8px;padding:10px;cursor:pointer}
.ops-roles input:checked+span{background:#fff0eb;color:#a12e25;border-color:#c56d60}
.ops-roles input:focus-visible+span{outline:2px solid #9a3028;outline-offset:2px}
.ops-hospital-head{display:flex;justify-content:space-between;align-items:center;padding:14px max(16px, calc((100vw - 850px)/2));gap:10px;background:white;border-bottom:1px solid #ded7cb}
.ops-inbox{max-width:882px;margin:0 auto;padding:24px 16px}
.ops-inbox-toolbar,.ops-prealert-meta,.ops-prealert-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.ops-inbox-toolbar{padding:12px;margin:16px 0}
.ops-inbox-toolbar label{display:flex;align-items:center;gap:8px;margin:0}
.ops-prealert{padding:16px;margin:0 0 12px}
.ops-prealert h2,.ops-prealert h3,.ops-prealert p{margin:0 0 6px}
.ops-prealert dl{display:flex;gap:24px;margin:12px 0;padding:10px;background:#f6f2ea;border-radius:8px}
.ops-prealert dt{color:#655c51;font-size:12px}
.ops-prealert dd{margin:3px 0 0;font-size:18px;font-weight:700}
.ops-observation{white-space:pre-wrap;overflow-wrap:anywhere}
.ops-prealert .ops-response-state{margin:14px 0 6px;font-weight:700}
.ops-prealert-actions{justify-content:flex-start;margin-top:10px}

/* Individual operational workspaces: cream canvas, warm red accents, municipal desktop and phone. */
.ops-layout{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100dvh}.ops-nav{background:var(--dark);color:#fff5e9;padding:24px 17px;position:sticky;top:0;align-self:start;min-height:100dvh;display:flex;flex-direction:column;gap:14px}.ops-nav .ops-entry-brand small{color:#cdbfb0}.ops-nav p{line-height:1.5;overflow-wrap:anywhere}.ops-nav p small{display:block;color:#cdbfb0}.ops-nav nav{display:grid;gap:7px;margin:6px 0 18px}.ops-nav .secondary{justify-content:flex-start;text-align:left;min-height:43px;background:#3b3029;color:#f8efe4;font-size:13px;white-space:normal}.ops-nav .secondary[aria-current=page]{background:#74362b;box-shadow:inset 3px 0 #ff8a76}.ops-main{padding:28px;min-width:0;max-width:1550px;width:100%;margin:0 auto}.ops-workspace-head{margin:0 0 22px}.ops-workspace-head h1{font-size:clamp(27px,4vw,42px);letter-spacing:-.045em;margin:9px 0}.ops-card{padding:20px;margin-bottom:16px;min-width:0;overflow-wrap:anywhere}.ops-card h2{font-size:21px;letter-spacing:-.025em;margin:0 0 12px}.ops-card h3{font-size:15px;margin:15px 0 9px}.ops-card p{line-height:1.5}.ops-card label{font-size:12px;margin-bottom:12px}.ops-card input,.ops-card select,.ops-card textarea{font-size:14px;min-height:42px}.ops-card form{margin-top:14px}.ops-card .primary,.ops-card .secondary{font-size:13px;min-height:42px}.ops-card summary{font-size:14px;line-height:1.4;padding:7px 0}.ops-card fieldset{border:1px solid var(--line);border-radius:8px;padding:12px;margin:12px 0}.ops-card legend{font-weight:750;font-size:13px;padding:0 5px}.ops-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.ops-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:0 14px;align-items:end}.ops-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0}.ops-record{padding:13px 0;border-bottom:1px solid var(--line);min-width:0}.ops-record:last-child{border-bottom:0}.ops-record h3{margin:4px 0 8px}.ops-record p{margin:5px 0;font-size:13px;overflow-wrap:anywhere}.ops-facts{margin:12px 0;display:grid;gap:8px}.ops-facts div{display:grid;grid-template-columns:minmax(90px,.4fr) 1fr;gap:8px;font-size:12px}.ops-facts dt{color:var(--muted)}.ops-facts dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.ops-card .check{display:flex;gap:9px;align-items:center;font-weight:550;line-height:1.4}.check input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;accent-color:var(--red)}.ops-check-scroll{max-height:260px;overflow:auto;overscroll-behavior:contain}.ops-patient-checks{display:flex;flex-wrap:wrap;gap:12px}.ops-crew-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}.ops-crew-row label{margin:0}.ops-secret{font-family:ui-monospace,monospace;user-select:all;font-size:18px!important;word-break:break-all}.proof-dialog{border:1px solid var(--line);border-radius:14px;max-width:90vw;max-height:90dvh;padding:18px;width:min(700px,90vw)}.proof-dialog::backdrop{background:#211e1ab3}.proof-dialog img{display:block;max-width:100%;max-height:72dvh;object-fit:contain;margin:14px auto}.proof-dialog a{margin-top:18px}.ops-case-layout{grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr)}.ops-case-button{display:grid;gap:6px;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);padding:15px 10px;background:#fff;color:var(--text)}.ops-case-button:hover,.ops-case-button.selected{background:#fff0e9}.ops-case-button span{font-size:12px;line-height:1.4}.ops-case-button strong{font-size:15px}.ops-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px 0}.ops-metrics>span{display:grid;gap:5px;color:var(--muted);font-size:12px;padding:12px;background:#f8f2e9;border-radius:8px}.ops-metrics strong{font-size:27px;color:var(--red)}.ops-actionable{border-left:4px solid var(--red);padding-left:14px;background:#fff8f2}.ops-patient-summary{padding:10px 0}.ops-review-form{background:#fbf7f0;padding:14px;border-radius:8px}.ops-card .notice{line-height:1.5}.ops-entry-card #account-mode{margin-top:15px;width:100%}
@media(max-width:1000px){.ops-layout{grid-template-columns:210px minmax(0,1fr)}.ops-main{padding:22px 16px}.ops-columns,.ops-case-layout{grid-template-columns:1fr}}
@media(max-width:700px){.ops-layout{display:block}.ops-nav{position:static;min-height:0;padding:16px;display:grid;grid-template-columns:1fr auto;gap:10px}.ops-nav .ops-entry-brand{font-size:19px}.ops-nav>p{grid-column:1/-1;margin:0;font-size:12px}.ops-nav nav{grid-column:1/-1;display:flex;flex-wrap:wrap;margin:0;gap:6px}.ops-nav nav .secondary{flex:1 1 140px;min-height:42px;font-size:12px}.ops-nav>#sign-out{grid-column:2;grid-row:1}.ops-nav>#verify-session{grid-column:1/-1;font-size:12px;min-height:35px}.ops-main{padding:20px 12px}.ops-card{padding:15px}.ops-workspace-head{margin-bottom:16px}.ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-facts div{grid-template-columns:1fr;gap:2px}.ops-crew-row{grid-template-columns:1fr}.ops-card input,.ops-card select,.ops-card textarea{font-size:16px}.ops-card .pair{grid-template-columns:1fr}.ops-actions{align-items:stretch}.ops-actions button{flex:1 1 130px}}
#ops-map-stage,#ops-map-stage>img,#ops-map-pins{width:100%;height:100%;position:absolute;inset:0}#ops-map-stage>img{object-fit:fill}#ops-map-stage{transition:transform .16s ease}#ops-map-pins .map-pin span{font-size:19px}

/* Authentication actions share the native apps' visual hierarchy. */
.ops-entry-card {border-radius:22px}
.ops-entry-card form>.primary {min-height:54px;border-radius:14px;font-size:15px;font-weight:800;justify-content:center}
.ops-entry-card #account-mode {min-height:50px;border-radius:14px;border:1px solid #e7d3c7;background:#fffaf7;color:#9f2e25;font-size:14px;font-weight:700;justify-content:center}
.ops-entry-card #account-mode:focus-visible {outline:2px solid #bf342a;outline-offset:3px}

.ops-layout-dock {
  --dock-ink:#241f1b;
  --dock-muted:#6a6158;
  --dock-red:#bf342a;
  --dock-dark-red:#9f2e25;
  display:block;
  background:#f7f4ef;
}
.ops-layout-dock:has(.ops-dock) {padding-bottom:calc(119px + env(safe-area-inset-bottom))}
.ops-shell-head {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px max(18px,calc((100% - 1500px)/2));background:#241e1a;color:#fff;
}
.ops-shell-head .ops-entry-brand strong {color:#ff8878}
.ops-shell-head .ops-entry-brand small {color:#f4e7dc}
.ops-demo-mark {border-radius:999px;background:#463830;color:#f5dcd1;padding:7px 10px;font-size:10px;font-weight:800;white-space:nowrap}
.ops-session {display:grid;gap:16px;max-width:620px;margin-bottom:16px}
.ops-session[hidden] {display:none}
.ops-session p {margin:0;min-width:0;overflow-wrap:anywhere;color:var(--dock-ink)}
.ops-session p small {display:block;color:var(--dock-muted);margin-top:4px}
.ops-layout-dock .ops-card {border-radius:22px}
.ops-layout-dock .ops-card .primary,.ops-layout-dock .ops-card .secondary {border-radius:14px}
.ops-dock {
  position:fixed;bottom:calc(10px + env(safe-area-inset-bottom));left:50%;z-index:20;
  transform:translateX(-50%);display:grid;grid-template-columns:minmax(0,1fr) 86px minmax(0,1fr);
  width:min(720px,calc(100% - 22px));min-height:82px;padding:8px;
  border:1px solid #e8dfd4;border-radius:26px;background:#fff;
  box-shadow:0 5px 18px #38231c1a;color:var(--dock-muted);
}
.ops-dock-side {display:flex;align-items:stretch;min-width:0}
.ops-dock .ops-dock-item {
  flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;
  color:inherit;background:transparent;border:0;padding:3px 1px;border-radius:13px;
  font-size:11px;line-height:1.2;font-weight:700;text-align:center;overflow-wrap:anywhere;
}
.ops-dock-icon {display:grid;place-items:center;width:40px;height:30px;border-radius:12px}
.ops-dock-item[aria-current=page] {color:var(--dock-dark-red)}
.ops-dock-item[aria-current=page] .ops-dock-icon {background:#fceae5}
.ops-dock .ops-dock-primary {margin-top:-32px;color:var(--dock-dark-red);justify-content:flex-end;padding-bottom:8px}
.ops-dock .ops-dock-primary .ops-dock-icon {
  width:70px;height:70px;background:var(--dock-red);border:5px solid #f7f4ef;border-radius:50%;
  color:#fff;box-shadow:0 4px 11px #9f2e2540;
}
.ops-dock .ops-dock-primary .ops-dock-icon svg {width:29px;height:29px}
.ops-dock .ops-dock-primary[aria-current=page] .ops-dock-icon {background:#c92f27}
.ops-dock .ops-dock-item:focus-visible {outline:2px solid var(--dock-red);outline-offset:2px}
@media(max-width:380px) {
  .ops-dock {grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);padding-inline:5px}
  .ops-dock .ops-dock-item {font-size:10px}
  .ops-dock .ops-dock-primary .ops-dock-icon {width:62px;height:62px}
}
@media(max-width:440px) {
  .ops-layout-dock:has(.ops-dock-side > :nth-child(3)) {padding-bottom:calc(150px + env(safe-area-inset-bottom))}
  .ops-dock:has(.ops-dock-side > :nth-child(3)) {align-items:center}
  .ops-dock-side:has(> :nth-child(3)) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .ops-dock-side:has(> :nth-child(3)) .ops-dock-item {min-height:48px}
}

.ops-layout-dock .primary,.ops-layout-dock .secondary,.ops-entry-card form>.primary,.ops-entry-card #account-mode {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:50px;border-radius:14px;padding:11px 14px;font-size:14px;font-weight:800;
}
.ops-layout-dock .primary,.ops-entry-card form>.primary {background:#bf342a;color:#fff;border:1px solid transparent}
.ops-layout-dock .primary:hover,.ops-entry-card form>.primary:hover {background:#9f2e25}
.ops-layout-dock .secondary,.ops-entry-card #account-mode {background:#fffaf7;color:#241f1b;border:1px solid #e7d3c7}
.ops-layout-dock .secondary:hover,.ops-entry-card #account-mode:hover {background:#f9ece6}
.ops-layout-dock .button-danger {background:#fff7f5;color:#9f2e25;border-color:#e8b7ae}
.ops-layout-dock .button-danger:hover {background:#fceae5}

.ops-profile-identity {max-width:620px}
.ops-session {gap:12px}
.ops-profile-action {margin:0;padding:14px}
.ops-profile-action button {width:100%}
.ops-layout-dock .primary.button-success {background:#236846}
.ops-layout-dock .primary.button-success:hover {background:#1a5035}
.ops-count {display:inline-block;margin-left:4px;border-radius:999px;background:#f7eee5;color:#65564b;padding:4px 8px;font-size:12px;font-weight:700;vertical-align:middle}
.ops-fleet-tabs {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;
  max-width:640px;margin:14px 0;padding:5px;border:1px solid #e8dfd4;border-radius:16px;background:#fff;
}
.ops-layout-dock .ops-fleet-tabs .secondary {min-width:0;padding-inline:4px;background:#fff;border-color:transparent}
.ops-layout-dock .ops-fleet-tabs .secondary[aria-pressed=true] {background:#fceae5;color:#9f2e25}
.ops-fleet-tabs .ops-count {margin:0;padding:3px 6px}
[data-fleet-panel] details:has(> #unit-create),[data-fleet-panel] details:has(> #vehicle-create) {margin:10px 0 18px}
@media(max-width:380px) {
  .ops-layout-dock .ops-fleet-tabs .secondary {flex-wrap:wrap;gap:4px;font-size:12px}
}
@media(min-width:840px) {
  .ops-main:has(.ops-profile-identity) {
    display:grid;grid-template-columns:minmax(0,620px) minmax(220px,340px);gap:0 16px;align-items:start;
  }
  .ops-main:has(.ops-profile-identity) .ops-workspace-head {grid-column:1/-1}
}
[data-fleet-panel] details:has(> #unit-create) > summary,
[data-fleet-panel] details:has(> #vehicle-create) > summary {
  display:inline-flex;align-items:center;gap:9px;min-height:50px;padding:11px 14px;
  border-radius:14px;background:#bf342a;color:#fff;font-size:14px;font-weight:800;list-style:none;
}
[data-fleet-panel] details:has(> #unit-create) > summary::before,
[data-fleet-panel] details:has(> #vehicle-create) > summary::before {content:"+";font-size:18px}
[data-fleet-panel] details[open]:has(> #unit-create) > summary::before,
[data-fleet-panel] details[open]:has(> #vehicle-create) > summary::before {content:"−"}

.ops-inbox-header h2 {margin:0}
.ops-inbox-top {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.ops-inbox-search {display:flex;align-items:flex-end;gap:8px}
.ops-inbox-search label {flex:1;min-width:0;margin:0}
.ops-inbox-search input {width:100%;min-height:50px}
.ops-queue-filters {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:15px}
.ops-layout-dock .ops-queue-filters .secondary {
  justify-content:space-between;gap:5px;min-width:0;padding-inline:11px;text-align:left;line-height:1.2;
}
.ops-queue-filters .secondary strong {font-variant-numeric:tabular-nums;font-size:16px}
.ops-layout-dock .ops-queue-filters [aria-pressed=true] {border-color:#c56d60;background:#fceae5;color:#9f2e25}
.ops-queue-search {display:grid;gap:5px;margin:13px 0 0!important}
.ops-queue-search input {width:100%}
.ops-queue-layout {grid-template-columns:minmax(270px,.8fr) minmax(0,1.2fr);align-items:start}
.ops-queue-layout:has(#hospital-detail[hidden]) {grid-template-columns:minmax(0,1fr)}
.ops-queue-layout:has(#hospital-detail[hidden]) .ops-queue-items {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:8px;
}
.ops-queue-group {margin:12px 0 17px}
.ops-queue-group>h3 {display:flex;align-items:center;gap:6px;margin:0 0 8px}
.ops-queue-card {
  display:grid;gap:8px;width:100%;min-width:0;text-align:left;margin:0 0 8px;
  padding:13px;border:1px solid #e8dfd4;border-radius:14px;background:#fff;
  color:#241f1b;overflow-wrap:anywhere;
}
.ops-queue-card.needs-action {border-inline-start:4px solid #bf342a;background:#fffaf7}
.ops-case-button.ops-queue-card:hover,.ops-queue-card.selected {border-color:#bf342a;background:#fff0ea}
.ops-record-top,.ops-record-bottom {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px}
.ops-protocol {font-variant-numeric:tabular-nums;color:#9f2e25;font-weight:800;letter-spacing:.02em}
.ops-record-bottom time,.ops-location {color:#6a6158;font-size:12px}
.ops-queue-status {justify-self:start;display:inline-block;background:#f4ede5;color:#513e32;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;line-height:1.4}
.ops-queue-status.waiting {background:#fceae5;color:#9f2e25}
.ops-queue-status.accepted {background:#e5f2e9;color:#236846}
.ops-reception-card p,.ops-reception-card h4 {margin:0}
.ops-reception-card h4 {font-size:16px}
.ops-queue-note {background:#f7f4ef;border-radius:9px;padding:8px 10px;color:#51493f;font-size:12px}
.ops-reception-card .ops-observation {display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ops-alert-facts {display:flex;flex-wrap:wrap;gap:8px 16px;margin:0}
.ops-alert-facts dt {color:#6a6158;font-size:11px}
.ops-alert-facts dd {margin:3px 0 0;font-weight:750;font-size:13px}
#incident-detail,#hospital-detail {scroll-margin-top:14px}
@media(max-width:1000px) {.ops-queue-layout {grid-template-columns:1fr}}
@media(max-width:540px) {
  .ops-queue-filters {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ops-inbox-search {align-items:stretch;flex-direction:column}
}
.ops-queue-layout:has(#incident-detail[hidden]) {grid-template-columns:minmax(0,1fr)}
.ops-queue-layout:has(#incident-detail[hidden]) .ops-queue-items {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:8px;
}
.ops-close-incident {margin-bottom:12px}
.ops-inbox-header {padding:14px 16px}
.ops-inbox-header .ops-inbox-top>.secondary {min-height:44px;padding:8px 10px;font-size:12px}
.ops-inbox-header .ops-inbox-context {margin:3px 0 0;color:#6a6158;font-size:12px}
.ops-inbox-header form,.ops-inbox-header details {margin-top:10px}
.ops-inbox-header details {padding-top:5px}
.ops-inbox-header .ops-inbox-search {align-items:stretch;flex-direction:row}
.ops-inbox-search .primary,.ops-inbox-search input,.ops-queue-search input {min-height:44px}
.ops-inbox-extras {display:flex;flex-wrap:wrap;align-items:center;gap:2px 14px}
.ops-inbox-extras p {margin:6px 0 0;font-size:11px}
.ops-inbox-extras details {flex:1 1 180px}
.ops-queue-filters [data-incident-status="new"] strong,.ops-queue-filters [data-hospital-filter="action"] strong {color:#9f2e25}
.ops-queue-list {padding:0;margin:0}
.ops-queue-list .ops-queue-group {margin-top:4px}
@media(max-width:425px) {
  .ops-layout-dock .ops-queue-filters .secondary {min-height:44px;font-size:12px;padding-inline:8px}
  .ops-inbox-search .primary {padding-inline:9px}
}
.ops-record-title {display:flex;align-items:center;justify-content:space-between;gap:6px}
.ops-record-title>span {color:#9f2e25;font-size:21px;line-height:1}
.ops-alert-action-row {display:flex;gap:6px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.ops-layout-dock .ops-alert-action-row button {min-height:44px;padding:8px 10px;font-size:12px}
.ops-inbox-top>h2,.ops-inbox-top>div {flex:1;min-width:0}
@media(max-width:425px) {
  .ops-inbox-top h2 {font-size:18px}
}
@media(max-width:360px) {
  .ops-inbox-header {padding-block:11px}
  .ops-queue-list .ops-queue-group {margin-top:0}
  .ops-reception-card.needs-action .ops-alert-action-row {display:grid;grid-template-columns:minmax(0,1fr) auto}
}

.ops-layout-dock .ops-inbox-top .button-refresh {color:#236846;background:#f2f8f3;border-color:#bed8c6;white-space:nowrap}
.ops-layout-dock .ops-inbox-top .button-refresh:hover {background:#e5f2e9}
.button-refresh svg {flex-shrink:0}
.ops-reception-heading {display:flex;align-items:center;gap:9px}
.ops-reception-heading h2 {color:#9f2e25;font-weight:850}
.ops-reception-symbol {
  flex:0 0 38px;display:grid;place-items:center;width:38px;height:38px;
  border-radius:12px;background:#fceae5;color:#9f2e25;
}
#hospital-filters {grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
.ops-layout-dock #hospital-filters [data-hospital-filter=action] {background:#fceae5;border-color:#dca69a;color:#9f2e25}
.ops-layout-dock #hospital-filters [data-hospital-filter=pending] {background:#f9eddd;border-color:#ddc09b;color:#794d27}
.ops-layout-dock #hospital-filters [data-hospital-filter=all],
.ops-layout-dock #hospital-filters [data-hospital-filter=accepted] {
  min-height:44px;background:transparent;border-color:transparent;color:#6a6158;font-weight:650;
}
#hospital-filters [data-hospital-filter=all] strong,#hospital-filters [data-hospital-filter=accepted] strong {font-size:13px}
.ops-layout-dock #hospital-filters [aria-pressed=true] {box-shadow:inset 0 -2px currentColor}
.ops-layout-dock #hospital-filters .secondary:hover {border-color:currentColor}
@media(max-width:425px) {
  .ops-reception-heading {gap:6px}
  .ops-reception-symbol {flex-basis:29px;width:29px;height:34px;border-radius:9px}
  .ops-reception-symbol svg {width:18px;height:18px}
}
@media(max-width:360px) {
  .ops-layout-dock .ops-inbox-top .button-refresh {gap:4px;padding-inline:7px;font-size:11px}
  .ops-inbox-top .button-refresh svg {width:14px;height:14px}
  .ops-reception-heading h2 {font-size:17px;line-height:1.18}
}

.ops-intake {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:14px 0;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#f8f4ed}
.ops-intake p {margin:4px 0 0;color:var(--muted);font-size:.85rem}
.ops-intake.is-open {background:#f2f8f3;border-color:#bed8c6}
.ops-intake.is-open strong {color:#236846}
.ops-intake-actions {display:flex;flex-wrap:wrap;gap:8px}
.ops-hospital-availability summary span {display:inline-block;margin-left:8px;padding:3px 8px;border-radius:99px;background:#f6efd8;color:#7d5314;font-size:.75rem;font-weight:750}
.ops-hospital-availability summary span:empty {display:none}
.ops-hospital-availability summary span.is-open {background:#e6f3e8;color:#236846}
@media (max-width:540px) {
  .ops-intake-actions {width:100%}
  .ops-intake-actions>button:not([hidden]) {flex:1 1 auto}
}

.ops-handoff-head {display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:12px}
.ops-handoff-head h2 {margin:6px 0 0}
.ops-handoff-head .button-refresh {color:#236846;background:#f2f8f3;border-color:#bed8c6}
.ops-handoff-note,.ops-handoff-response {margin-top:14px;padding:12px 15px;border:1px solid var(--line);border-radius:12px}
.ops-handoff-note {background:#f8f4ed}
.ops-handoff-note h3,.ops-handoff-note p,.ops-handoff-response p {margin:0 0 5px}
.ops-handoff-note p {white-space:pre-wrap}
.ops-handoff-response {background:#f2f8f3;border-color:#bed8c6}
.ops-handoff-response strong {color:#236846}
.ops-handoff-response details {margin-top:8px}
.ops-handoff-totals {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.ops-handoff-totals>div {padding:9px 12px;background:#f8f4ed;border-radius:9px}
.ops-handoff-totals dt {font-size:.8rem;color:var(--muted)}
.ops-handoff-totals dd {margin:3px 0 0;font-size:1.15rem;font-weight:780;font-variant-numeric:tabular-nums}
.ops-patient-summary .ops-record summary {padding:3px 0;font-size:.8rem}

.badge {
  display:inline-flex;align-items:center;justify-content:space-between;gap:8px;
  padding:5px 9px;border:1px solid var(--urgency-border);border-radius:10px;
  color:var(--urgency-ink);background:var(--urgency-bg);font-size:12px;font-weight:800;
}
.badge.critical {--urgency-bg:#8f201b;--urgency-ink:#fff;--urgency-border:#6f1714;background:var(--urgency-bg)}
.badge.high {--urgency-bg:#ffebe6;--urgency-ink:#8b2922;--urgency-border:#d8796b;background:var(--urgency-bg)}
.badge.medium {--urgency-bg:#fff0cd;--urgency-ink:#694508;--urgency-border:#c4983d;background:var(--urgency-bg)}
.badge.low {--urgency-bg:#e6f4eb;--urgency-ink:#23583e;--urgency-border:#79a78d;background:var(--urgency-bg)}
.badge.urgency-card {display:flex;margin:10px 0;min-height:57px;padding:7px 13px;border-inline-start-width:4px;font-size:18px}
.urgency-card small {display:block;font-size:11px;font-weight:700;line-height:1.25}
.badge .urgency-bars {display:inline-flex;gap:2px;align-items:end}
.badge .urgency-bars i {width:3px;height:4px;border-radius:2px;opacity:.25}
.badge .urgency-bars i:nth-child(2) {height:7px}
.badge .urgency-bars i:nth-child(3) {height:10px}
.badge .urgency-bars i:nth-child(4) {height:13px}
.badge .urgency-bars i:first-child,.badge.medium .urgency-bars i:nth-child(2),
.badge.high .urgency-bars i:nth-child(-n+3),.badge.critical .urgency-bars i {opacity:1}
