:root{--navy:#062b4b;--navy2:#031e36;--blue:#1475ee;--red:#f13d36;--orange:#ff9017;--green:#12ae67;--purple:#7157dc;--ink:#14213d;--muted:#6e7b91;--line:#e4ebf4;--bg:#f4f8fc;--shadow:0 7px 22px rgba(29,70,113,.09)}*{box-sizing:border-box}body{margin:0;font-family:'Noto Sans Thai',system-ui,sans-serif;color:var(--ink);background:var(--bg)}button,input,textarea{font:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:linear-gradient(160deg,var(--navy2),#063b63);color:#fff;padding:24px 14px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px}.brand strong{display:block;font-size:20px}.brand span{display:block;color:#b8d3e9;font-size:14px}.crest{width:52px;height:60px;display:grid;place-items:center;font-size:23px;font-weight:800;color:#08325b;background:linear-gradient(145deg,#ffdc35,#f5a900);clip-path:polygon(50% 0,92% 15%,84% 76%,50% 100%,16% 76%,8% 15%);border-radius:9px}.sidebar nav{display:grid;gap:6px;margin-top:36px}.nav-item{border:0;background:transparent;color:#d7e6f2;text-align:left;padding:13px 14px;border-radius:10px;cursor:pointer;font-size:15px;display:flex;align-items:center;gap:14px}.nav-item span{font-size:22px;width:22px;text-align:center}.nav-item:hover,.nav-item.active{background:linear-gradient(135deg,#0d7bea,#0961c7);color:#fff;box-shadow:0 8px 20px rgba(0,100,213,.28)}.badge{margin-left:auto;background:#ff3c35;border-radius:20px;padding:2px 8px;font-size:12px}.line-card{margin-top:auto;background:linear-gradient(135deg,#10ae51,#02c536);border-radius:12px;padding:13px;display:grid;grid-template-columns:48px 1fr;column-gap:10px;align-items:center}.line-card b{grid-row:1/3;background:#fff;color:#12a64a;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:11px}.line-card span{font-weight:700;font-size:13px}.line-card small{font-size:11px}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid rgba(255,255,255,.13);padding:18px 8px 0;margin-top:16px}.profile .avatar{width:40px;height:40px;border-radius:50%;background:#d9e3ec;color:#12344e;display:grid;place-items:center;font-weight:700}.profile strong,.profile span{font-size:13px}.profile div:nth-child(2){flex:1}.profile span{color:#b7ccdd}.main{margin-left:250px;min-height:100vh}.topbar{height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:10}.menu-btn{border:0;background:none;font-size:23px;color:var(--ink)}.eyebrow{font-size:11px;letter-spacing:1.5px;color:#66809a;font-weight:800}.top-actions,.system-ok,.date{display:flex;align-items:center;gap:12px}.system-ok,.date{border:1px solid var(--line);padding:9px 14px;border-radius:10px;background:#fff}.system-ok i{width:9px;height:9px;background:var(--green);border-radius:50%}.system-ok span,.date div{display:grid}.system-ok b{color:var(--green);font-size:12px}.system-ok small,.date small{color:var(--muted);font-size:10px}.date b{font-size:12px}.bell{position:relative;border:1px solid var(--line);background:#fff;width:48px;height:48px;border-radius:10px;font-size:22px}.bell b{position:absolute;top:-7px;right:-6px;background:var(--red);color:white;width:21px;height:21px;border-radius:50%;font-size:11px;display:grid;place-items:center}.view{display:none;padding:28px;max-width:1600px;margin:auto}.view.active{display:block}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.page-heading h1{font-size:25px;margin:0 0 3px}.page-heading p{margin:0;color:var(--muted);font-size:14px}.primary-btn,.danger-btn{border:0;background:linear-gradient(135deg,#147cf3,#0762d6);color:#fff;border-radius:10px;padding:11px 18px;font-weight:700;cursor:pointer}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat,.panel,.mobile-card{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.stat{padding:18px;display:flex;align-items:center;gap:15px}.stat-icon{width:58px;height:58px;border-radius:13px;color:#fff;display:grid;place-items:center;font-size:28px;box-shadow:inset 0 0 15px rgba(255,255,255,.24)}.red{background:linear-gradient(145deg,#ff5a53,#db251f)}.orange{background:linear-gradient(145deg,#ffa33a,#f57900)}.blue{background:linear-gradient(145deg,#42a0ff,#0b66db)}.green{background:linear-gradient(145deg,#37c77e,#079f57)}.purple{background:linear-gradient(145deg,#9479ef,#6548d0)}.gray{background:linear-gradient(145deg,#9caec1,#667b91)}.stat span{font-size:13px;font-weight:700}.stat strong{display:block;font-size:25px}.stat strong small{font-size:11px;color:var(--muted);font-weight:500}.stat em{display:block;font-size:10px;color:var(--muted);font-style:normal}.red-text{color:var(--red)!important}.dashboard-grid{display:grid;grid-template-columns:46% 54%;gap:14px;margin-top:14px}.panel-head{height:54px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 18px}.panel-head h2{font-size:15px;margin:0}.panel-head h2 b{background:#ffedea;color:var(--red);font-size:10px;border-radius:15px;padding:5px 9px;margin-left:8px}.panel-head h2 span{font-size:11px;color:var(--muted);font-weight:500}.panel-head button{border:0;background:none;color:var(--blue);font-size:11px}.incident-row{display:grid;grid-template-columns:42px 1fr auto auto;align-items:center;gap:11px;padding:10px 15px;border-bottom:1px solid var(--line)}.incident-row:last-child{border:0}.incident-row .type-icon{width:36px;height:36px;border-radius:50%;color:#fff;display:grid;place-items:center;font-weight:800}.incident-row b{display:block;font-size:13px}.incident-row small{font-size:10px;color:var(--muted)}.incident-row time{font-size:11px;color:#56677d}.status{font-size:10px;padding:6px 11px;border-radius:8px;background:#fff0ee;color:var(--red);min-width:80px;text-align:center}.status.progress{background:#fff5e5;color:#ef7e00}.map-canvas,.mini-map,.route-map{position:relative;overflow:hidden;background-color:#dfeee4;background-image:linear-gradient(30deg,transparent 48%,rgba(255,255,255,.65) 49%,rgba(255,255,255,.65) 51%,transparent 52%),linear-gradient(120deg,transparent 48%,rgba(255,255,255,.45) 49%,rgba(255,255,255,.45) 51%,transparent 52%);background-size:100px 100px}.map-canvas{height:322px;border-radius:0 0 13px 13px}.road{position:absolute;background:#f5ca4d;height:4px;width:120%;transform-origin:left}.r1{top:58%;left:-5%;transform:rotate(-12deg)}.r2{top:9%;left:37%;transform:rotate(73deg)}.river{position:absolute;width:400px;height:80px;border:6px solid #9ed3ee;border-color:#9ed3ee transparent transparent;border-radius:50%;transform:rotate(17deg);top:39%;left:17%}.place{position:absolute;font-size:9px;color:#718197}.p1{left:19%;top:64%}.p2{right:8%;top:20%}.p3{left:50%;top:78%}.pin{position:absolute;border:0;width:38px;height:38px;border-radius:50%;color:#fff;font-size:17px;box-shadow:0 4px 12px #55708566}.pin i{position:absolute;right:-5px;top:-5px;background:#fff;color:var(--ink);font-style:normal;font-size:9px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center}.red-pin{background:var(--red)}.orange-pin{background:var(--orange)}.blue-pin{background:var(--blue)}.green-pin{background:var(--green)}.map-tools{position:absolute;right:15px;top:20px;display:grid;box-shadow:var(--shadow)}.map-tools button{width:34px;height:34px;border:1px solid var(--line);background:#fff}.map-legend{position:absolute;inset:auto 0 0;background:#fff;padding:11px;display:flex;gap:20px;justify-content:center;font-size:9px}.dot,.chart-body li i,.response-values i{display:inline-block;width:8px;height:8px;border-radius:50%}.red-bg{background:var(--red)}.orange-bg{background:var(--orange)}.blue-bg{background:var(--blue)}.green-bg{background:var(--green)}.purple-bg{background:var(--purple)}.gray-bg{background:#9aa7b7}.bottom-grid{display:grid;grid-template-columns:1.1fr .95fr 1.25fr;gap:14px;margin-top:14px}.chart-body{display:flex;align-items:center;gap:25px;padding:18px}.donut,.progress-ring{width:130px;height:130px;border-radius:50%;background:conic-gradient(var(--red) 0 28%,var(--orange) 28% 53%,var(--blue) 53% 73%,var(--green) 73% 88%,var(--purple) 88%);position:relative;display:grid;place-items:center}.donut:after,.progress-ring:after{content:"";position:absolute;inset:22px;border-radius:50%;background:#fff}.donut span,.progress-ring span{z-index:1;text-align:center;font-size:10px}.donut b,.progress-ring b{display:block;font-size:25px}.chart-body ul{list-style:none;padding:0;margin:0;display:grid;gap:7px;font-size:11px;flex:1}.chart-body li{display:flex;gap:8px;align-items:center}.chart-body li b{margin-left:auto}.response-card{padding-bottom:15px}.progress-ring{margin:17px auto 8px;background:conic-gradient(var(--green) 0 94.4%,#e5edf7 94.4%)}.response-values{display:flex;justify-content:center;gap:15px;font-size:10px}.response-values span{display:flex;gap:5px;align-items:center}.team-row{display:grid;grid-template-columns:30px 1fr auto auto;align-items:center;gap:8px;padding:11px 15px;border-bottom:1px solid var(--line);font-size:10px}.mini-crest{width:27px;height:30px;display:grid;place-items:center;background:#1672d9;color:#fff;border-radius:8px}.mini-crest.fire{background:var(--red)}.mini-crest.medic{background:var(--green)}.team-row b{font-size:10px}.team-row em{font-style:normal;background:#e6f7ee;color:var(--green);padding:5px 7px;border-radius:7px}.team-row small{color:var(--muted)}
/* citizen */.citizen-view{padding-top:16px}.mobile-page{max-width:1100px;margin:auto}.mobile-header{display:none}.sos-hero{background:linear-gradient(135deg,#ff493d,#e62921);color:#fff;border-radius:20px;padding:28px 38px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 12px 26px rgba(238,56,46,.22)}.sos-hero h1{font-size:34px;margin:0}.sos-hero p{margin:5px 0}.sos-circle{width:125px;height:125px;border-radius:50%;background:#fff;color:var(--red);display:grid;place-items:center;font-size:43px}.sos-circle b{font-size:22px;margin-top:-32px}.mobile-card{margin-top:18px;padding:20px}.section-title{display:flex;justify-content:space-between;align-items:center}.section-title h2,.report-form h2{font-size:18px;margin:0 0 15px}.section-title button{border:0;background:none;color:var(--blue)}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.category-grid button{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px 8px;display:grid;gap:10px;place-items:center;cursor:pointer}.category-grid button.selected{border:2px solid var(--red);background:#fff8f7}.category-grid i{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;color:white;font-style:normal;font-size:23px}.citizen-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:18px}.mini-map{height:260px;border-radius:12px}.mini-map:before,.route-map:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 43% 57%,transparent 0 45px,#d6edf4aa 46px 82px,transparent 83px)}.mini-map span{position:absolute;top:28%;left:57%;font-size:12px}.mini-map b{position:absolute;bottom:18%;right:12%;font-size:10px;background:#fff;padding:3px}.loc-pulse{position:absolute;left:42%;top:54%;width:26px;height:26px;background:#1979ef;border:4px solid white;border-radius:50%;z-index:2;box-shadow:0 0 0 12px #2581ed33}.address{display:flex;align-items:center;gap:12px;padding-top:15px}.address>span{font-size:24px;color:var(--blue)}.address div{display:grid;flex:1}.address small{color:var(--muted)}.address button{border:1px solid #b8d4fa;background:#fff;color:var(--blue);border-radius:9px;padding:8px}.report-form{display:flex;flex-direction:column;gap:10px}.report-form label{font-size:12px;font-weight:600}.report-form input,.report-form textarea{display:block;width:100%;border:1px solid #dce5ef;border-radius:8px;padding:10px;margin-top:4px;background:#f9fbfd}.report-form textarea{height:72px;resize:none}.photo-btn{border:1px dashed #9fb1c7;background:#f7fafd;padding:10px;border-radius:8px;color:#60738c}.danger-btn{background:linear-gradient(135deg,#ff4e44,#dc2c25);padding:13px}
/* field */.field-view.active{display:grid;grid-template-columns:380px 1fr;gap:20px;max-width:1120px}.phone{background:linear-gradient(160deg,#062b4b,#03406b);color:#fff;border-radius:28px;overflow:hidden;box-shadow:0 18px 50px rgba(7,43,75,.25);padding:22px 16px}.phone-top,.hello{display:flex;justify-content:space-between;align-items:center}.phone-top small,.phone-top b{display:block}.phone-top small{font-size:11px;color:#b9d6ea}.hello h1{margin:20px 0 0;font-size:24px}.hello p{margin:0;color:#b9d6ea}.hello>span{font-size:11px;color:#48e08d;border:1px solid #1fa562;border-radius:18px;padding:7px 12px}.mission-card{background:linear-gradient(145deg,#de2c26,#9f0d09);border:1px solid #ff655c;border-radius:16px;text-align:center;padding:15px;margin-top:17px}.mission-meta{display:flex;justify-content:space-between;font-size:10px}.mission-meta em{background:#f63e37;border-radius:7px;padding:5px;font-style:normal}.mission-icon{margin:10px auto 2px;width:62px;height:62px;border-radius:50%;background:#ef3d36;display:grid;place-items:center;font-size:28px}.mission-card h2{margin:2px}.mission-card p{font-size:13px}.mission-stats{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ef5f5a;margin-top:14px}.mission-stats span{padding:10px;font-size:10px}.mission-stats span:first-child{border-right:1px solid #ef5f5a}.mission-stats b{display:block;font-size:20px}.mission-card>button{width:100%;padding:13px;border:0;border-radius:8px;font-weight:700;color:var(--ink);margin-top:5px}.mission-card>a{display:block;font-size:11px;margin-top:10px}.my-title{font-size:14px}.my-title a{float:right;color:#59a8ff;font-size:11px}.task-item{background:#fff;color:var(--ink);border-radius:12px;padding:13px;display:flex;gap:10px;align-items:center}.task-item i{width:34px;height:34px;border-radius:50%;background:#e4f8ed;color:var(--green);display:grid;place-items:center}.task-item div{display:grid;flex:1}.task-item small{color:var(--muted);font-size:9px}.task-item em{color:var(--green);font-size:9px;font-style:normal}.quick-menu{background:white;color:var(--ink);border-radius:15px;margin-top:18px;display:grid;grid-template-columns:repeat(4,1fr);padding:12px 4px}.quick-menu button{border:0;background:none;font-size:20px;color:var(--blue)}.quick-menu span{display:block;font-size:8px;color:var(--muted)}.quick-menu .sos-small{color:var(--red)}.mission-detail{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}.detail-head{height:62px;background:var(--navy);color:white;display:flex;align-items:center;gap:15px;padding:0 18px}.detail-head button{background:none;border:0;color:#fff;font-size:30px}.detail-head h2{font-size:18px;flex:1}.detail-head em{background:var(--red);border-radius:7px;padding:5px 10px;font-size:10px;font-style:normal}.route-map{height:300px}.route-line{position:absolute;width:45%;height:120px;border:7px solid #1873dc;border-left-color:transparent;border-radius:50%;left:27%;top:30%;transform:rotate(-14deg)}.route-start,.route-end{position:absolute;font-size:25px}.route-start{left:27%;top:59%;color:var(--blue)}.route-end{right:22%;top:24%;color:var(--red)}.route-map span{position:absolute;left:12%;top:25%;background:#fff;border:1px solid #aaa;padding:3px}.route-map button{position:absolute;right:20px;bottom:20px;border:0;background:#fff;color:var(--blue);border-radius:20px;padding:10px 17px;box-shadow:var(--shadow);font-weight:700}.detail-card{padding:20px}.incident-title{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:15px}.incident-title>i{width:48px;height:48px;border-radius:50%;background:var(--red);color:white;display:grid;place-items:center;font-size:22px}.incident-title div{flex:1}.incident-title h2,.incident-title p{margin:0}.incident-title p{font-size:11px;color:var(--muted)}.incident-title em{font-size:10px;color:var(--red);background:#fff0ee;padding:5px 8px;border-radius:8px;font-style:normal}.detail-card dl{display:grid;grid-template-columns:150px 1fr;font-size:11px;line-height:1.7}.detail-card dt{color:var(--muted)}.action-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.action-grid button{border:0;background:#edf5ff;color:var(--blue);padding:11px 5px;border-radius:8px;font-size:10px}.wide{width:100%;margin-top:13px}
/* report */.export-buttons{display:flex;gap:8px}.export-buttons button{border:1px solid #b8d4f6;background:#fff;color:var(--blue);border-radius:9px;padding:9px 13px;font-weight:700}.report-period{background:linear-gradient(135deg,var(--navy),#0b4a78);color:#fff;border-radius:13px;padding:18px 22px;display:flex;justify-content:space-between;align-items:center}.report-period div{display:grid}.report-period span{font-size:11px;color:#bdd2e4}.report-period b{font-size:20px}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:14px}.kpi-grid article{background:#fff;border:1px solid var(--line);padding:16px;border-radius:12px;box-shadow:var(--shadow)}.kpi-grid span,.kpi-grid em{display:block;font-size:11px;color:var(--muted);font-style:normal}.kpi-grid b{font-size:30px}.green-text{color:var(--green)}.orange-text{color:var(--orange)}.kpi-mini{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:13px}.kpi-mini article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px;display:flex;gap:11px;align-items:center}.kpi-mini i{width:38px;height:38px;border-radius:10px;background:#eaf3ff;color:var(--blue);display:grid;place-items:center;font-style:normal}.kpi-mini span{font-size:10px;color:var(--muted);display:block}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.bar-chart{padding:20px;display:grid;gap:13px}.bar-chart div{display:grid;grid-template-columns:120px 1fr 25px;gap:10px;align-items:center;font-size:11px}.bar-chart i{height:12px;border-radius:7px;background:linear-gradient(90deg,var(--c) var(--w),#edf1f6 var(--w));}.trend-chart{height:240px;padding:35px 25px 15px;display:flex;gap:15px;align-items:end}.trend-chart span{height:var(--h);flex:1;background:linear-gradient(#68abf8,#dbeaff);border-radius:7px 7px 0 0;position:relative}.trend-chart span.current{background:linear-gradient(var(--blue),#a9d0ff)}.trend-chart i{position:absolute;top:-22px;width:100%;text-align:center;font-style:normal;font-size:10px}.trend-chart b{position:absolute;bottom:-22px;width:100%;text-align:center;font-size:10px;color:var(--muted)}.executive-summary{margin-top:14px;border:1px solid #b8d9ff;background:linear-gradient(135deg,#f7fbff,#eaf5ff);border-radius:13px;padding:18px;display:flex;gap:16px}.ai-icon{width:46px;height:46px;border-radius:12px;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:24px}.executive-summary span{color:var(--blue);font-size:9px;font-weight:800;letter-spacing:1px}.executive-summary h2{font-size:16px;margin:3px 0}.executive-summary p{font-size:12px;color:#53667e;margin:0;line-height:1.8}.toast{position:fixed;right:25px;bottom:25px;background:#102a43;color:#fff;padding:14px 20px;border-radius:10px;box-shadow:0 12px 35px #001b;transform:translateY(100px);opacity:0;transition:.3s;z-index:50}.toast.show{transform:translateY(0);opacity:1}
@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.bottom-grid,.citizen-grid{grid-template-columns:1fr}.dashboard-grid{grid-template-columns:1fr}.kpi-mini{grid-template-columns:repeat(2,1fr)}.field-view.active{grid-template-columns:350px 1fr}}
@media(max-width:760px){.sidebar{display:none}.main{margin:0}.topbar{height:65px;padding:0 14px}.system-ok,.date span,.date small,.eyebrow{display:none}.view{padding:14px}.page-heading{align-items:flex-start}.page-heading h1{font-size:20px}.page-heading .primary-btn{font-size:11px}.stat-grid{grid-template-columns:1fr 1fr;gap:8px}.stat{padding:11px;gap:8px}.stat-icon{width:43px;height:43px;font-size:21px}.stat strong{font-size:20px}.stat em{display:none}.bottom-grid,.report-grid{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(3,1fr)}.citizen-view{padding:0}.mobile-header{display:flex;background:#fff;padding:12px 4px;justify-content:space-between}.mobile-header .crest{width:40px;height:46px}.mobile-header .brand strong{font-size:16px}.sos-hero{border-radius:14px;padding:20px}.sos-hero h1{font-size:25px}.sos-circle{width:85px;height:85px;font-size:30px}.sos-circle b{font-size:15px;margin-top:-22px}.mobile-card{padding:14px}.citizen-grid{gap:0}.field-view.active{display:block;padding:0}.phone{border-radius:0;min-height:calc(100vh - 65px)}.mission-detail{margin-top:14px;border-radius:15px}.route-map{height:250px}.detail-card dl{grid-template-columns:120px 1fr}.action-grid{grid-template-columns:1fr 1fr}.export-buttons{flex-wrap:wrap;justify-content:flex-end}.report-period{align-items:flex-start}.kpi-grid{grid-template-columns:1fr 1fr}.kpi-mini{grid-template-columns:1fr 1fr}.report-view .page-heading p{font-size:10px}.dashboard-grid{display:block}.map-panel{margin-top:10px}.map-canvas{height:280px}}

.crest img{width:100%;height:100%;object-fit:contain;background:#fff}.settings-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:16px}.settings-card{overflow:hidden}.settings-fields{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-fields label,.logo-editor{font-size:13px;font-weight:700}.settings-fields input{display:block;width:100%;margin-top:6px;padding:11px;border:1px solid var(--line);border-radius:9px;background:#fff}.settings-fields input[type=color]{height:44px;padding:4px}.logo-editor{display:flex;align-items:center;gap:22px;padding:28px}.logo-editor p{font-size:12px;color:var(--muted);font-weight:400;line-height:1.7}.logo-editor input{display:block;margin:12px 0}.logo-preview{width:130px;height:145px;flex:0 0 auto;border:2px dashed #bed0e4;border-radius:18px;background:#f7faff;display:grid;place-items:center;overflow:hidden}.logo-preview span{font-size:52px;font-weight:800;color:var(--navy)}.logo-preview img{width:100%;height:100%;object-fit:contain}.secondary-btn{border:1px solid var(--line);background:#fff;color:var(--ink);padding:9px 13px;border-radius:8px;cursor:pointer}.settings-actions{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow)}.settings-actions div{display:grid}.settings-actions span{font-size:12px;color:var(--muted)}
@media(max-width:900px){.settings-grid{grid-template-columns:1fr}.settings-fields{grid-template-columns:1fr}.logo-editor{align-items:flex-start}.settings-actions{grid-column:auto}}
.operation-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}.operation-stats article{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px;box-shadow:var(--shadow)}.operation-stats span{display:block;color:var(--muted);font-size:12px}.operation-stats b{font-size:26px}.operation-panel{overflow:hidden}.operation-list{padding:0 18px}.operation-row{display:grid;grid-template-columns:42px minmax(220px,1fr) 160px 160px 110px 80px;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.operation-row>div{display:grid}.operation-row small,.operation-row>div>span{color:var(--muted)}.operation-row em{font-style:normal;color:var(--green);font-weight:700}.operation-row a{color:var(--blue);text-decoration:none}.empty-state{padding:40px;text-align:center;color:var(--muted)}.live-map-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}.live-map{height:680px;overflow:hidden}.live-map iframe{width:100%;height:100%;border:0}.map-incident-list{max-height:625px;overflow:auto;padding:8px}.map-incident{width:100%;display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;border:0;border-bottom:1px solid var(--line);background:#fff;padding:12px;text-align:left;cursor:pointer;border-radius:8px}.map-incident:hover{background:#f4f8ff}.map-incident i{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;font-style:normal}.map-incident span{display:grid}.map-incident small{color:var(--muted)}.map-incident em{font-size:10px;font-style:normal;color:var(--blue)}.team-management-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.team-management-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px;display:grid;grid-template-columns:54px 1fr;gap:14px;box-shadow:var(--shadow)}.team-symbol{width:52px;height:52px;border-radius:14px;background:linear-gradient(145deg,var(--blue),var(--navy));display:grid;place-items:center;color:white;font-size:23px;font-weight:800}.team-management-card h2{font-size:15px;margin:2px 0}.team-management-card p{font-size:12px;color:var(--muted);margin:3px 0}.team-management-card span{font-size:10px;text-transform:uppercase;color:var(--blue)}.team-status{grid-column:1/-1;padding:9px;border:1px solid var(--line);border-radius:8px;background:#f8fbff}
@media(max-width:1000px){.operation-row{grid-template-columns:42px 1fr 120px}.operation-row>div:nth-of-type(2),.operation-row>div:nth-of-type(3){display:none}.live-map-grid{grid-template-columns:1fr}.live-map{height:420px}.team-management-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.operation-stats,.team-management-grid{grid-template-columns:1fr}.operation-row{grid-template-columns:36px 1fr}.operation-row em,.operation-row a{display:none}}
.user-actions{display:flex;gap:5px}.reset-password{border:1px solid #bcd5f3;background:#eef6ff;color:#0961c7;border-radius:7px;padding:6px 8px;white-space:nowrap}.officer-team-select{max-width:190px;padding:7px;border:1px solid var(--line);border-radius:7px;background:#fff}
.mobile-role-nav{display:none}.nav-item[hidden]{display:none!important}
@media(max-width:760px){body{padding-bottom:72px}.mobile-role-nav{position:fixed;z-index:50;inset:auto 0 0;display:flex;align-items:stretch;gap:2px;overflow-x:auto;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 24px rgba(7,46,80,.12);padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));scrollbar-width:none}.mobile-role-nav::-webkit-scrollbar{display:none}.mobile-role-nav .nav-item{flex:1 0 68px;min-width:68px;display:grid;place-items:center;gap:1px;padding:5px 7px;color:#60738c;background:transparent;border-radius:10px;text-align:center}.mobile-role-nav .nav-item span{width:auto;font-size:20px;line-height:1}.mobile-role-nav .nav-item small{font-size:9px;white-space:nowrap}.mobile-role-nav .nav-item.active{color:#fff;background:linear-gradient(135deg,#147cf3,#0762d6);box-shadow:none}.menu-btn{display:none}.top-actions{gap:6px}.topbar .bell{width:40px;height:40px}.login-btn{height:40px}.admin-view,.settings-view,.operations-view,.report-view{padding-bottom:22px}.users-panel table{min-width:850px}.settings-actions{position:sticky;bottom:78px;z-index:3}.phone{padding-bottom:15px}.mission-card{margin-bottom:12px}}
@media(max-width:430px){.topbar{padding:0 9px}.top-actions .system-ok{display:none}.page-heading{gap:8px}.page-heading>button{white-space:nowrap}.live-map{height:330px}.logo-editor{display:grid}.logo-preview{width:100px;height:110px}.operation-list{padding:0 10px}.mobile-role-nav .nav-item{flex-basis:64px;min-width:64px}.sos-hero{margin:8px}.mobile-card{border-radius:12px}.app-dialog{max-height:94vh;overflow:auto}}
@media(max-width:430px){.topbar .date{display:none}.view{padding:10px}.stat-grid{grid-template-columns:1fr 1fr}.stat{display:block}.stat-icon{margin-bottom:6px}.dashboard-grid{margin-top:8px}.incident-row{grid-template-columns:36px 1fr auto}.incident-row time{display:none}.bottom-grid{margin-top:8px}.category-grid{gap:7px}.category-grid button{font-size:11px}.category-grid i{width:46px;height:46px}.citizen-grid .mobile-card{margin-top:10px}.sos-hero p{font-size:11px}.address{align-items:flex-start}.address button{font-size:9px}.report-view .page-heading{display:block}.export-buttons{margin-top:10px;justify-content:flex-start}.kpi-mini{grid-template-columns:1fr}.trend-chart{height:200px}.report-period>span{display:none}}

/* Authentication, administration and upload security */
.profile{border:0;border-top:1px solid rgba(255,255,255,.13);background:none;color:#fff;text-align:left;cursor:pointer;width:100%}.login-btn{border:1px solid #b9d4f5;background:#f2f8ff;color:var(--blue);height:42px;padding:0 14px;border-radius:9px;font-weight:700;cursor:pointer}.identity-banner{display:flex;gap:9px;background:#eef9f3;border:1px solid #cdebdc;border-radius:9px;padding:9px}.identity-banner i{width:28px;height:28px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-style:normal}.identity-banner div{display:grid}.identity-banner b{font-size:11px}.identity-banner span{font-size:9px;color:var(--muted)}.file-list{display:grid;gap:5px}.file-chip{display:flex;align-items:center;gap:7px;background:#f1f6fb;border-radius:7px;padding:6px 8px;font-size:10px}.file-chip b{margin-left:auto;color:var(--green)}
.admin-only{display:none!important}.app-authenticated.app-role-admin .admin-only{display:flex!important}.permission-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.permission-grid article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;box-shadow:var(--shadow)}.permission-grid i{width:40px;height:40px;border-radius:10px;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:800}.permission-grid div{display:grid}.permission-grid b{font-size:12px}.permission-grid span{font-size:9px;color:var(--muted)}.permission-grid strong{font-size:18px}.users-panel{margin-top:14px}.users-toolbar{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line)}.users-toolbar h2{font-size:16px;margin:0}.users-toolbar span{font-size:10px;color:var(--muted)}.users-toolbar>div:last-child{display:flex;gap:8px}.users-toolbar input,.users-toolbar select{border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:#fff}.users-toolbar input{min-width:260px}.user-table-wrap{overflow:auto}.users-panel table{width:100%;border-collapse:collapse;font-size:11px}.users-panel th{text-align:left;color:var(--muted);font-weight:600;background:#f8fafc}.users-panel th,.users-panel td{padding:11px 16px;border-bottom:1px solid var(--line);white-space:nowrap}.user-cell{display:flex;align-items:center;gap:9px}.user-cell i{width:32px;height:32px;border-radius:50%;background:#e8f2ff;color:var(--blue);display:grid;place-items:center;font-style:normal;font-weight:700}.user-cell div{display:grid}.user-cell small{color:var(--muted)}.role-pill,.active-pill{padding:5px 8px;border-radius:14px;background:#eaf3ff;color:var(--blue);font-size:9px}.active-pill{background:#e8f8ef;color:var(--green)}.active-pill.suspended{background:#fff0ee;color:var(--red)}.user-menu{border:0;background:#f2f5f8;border-radius:6px;padding:4px 9px}.security-note{margin-top:14px;background:#fff9e8;border:1px solid #f2dfa8;border-radius:12px;padding:15px;display:flex;gap:12px}.security-note i{font-size:25px;color:#e69a00}.security-note b{font-size:13px}.security-note p{font-size:10px;color:#6d6247;margin:3px 0}.app-dialog{border:0;border-radius:16px;padding:0;box-shadow:0 24px 80px rgba(4,33,59,.35);width:min(500px,calc(100% - 28px));color:var(--ink)}.app-dialog::backdrop{background:rgba(3,25,45,.65);backdrop-filter:blur(4px)}.app-dialog form{padding:28px;position:relative}.app-dialog h2{margin:8px 0 3px;text-align:center}.app-dialog p{text-align:center;color:var(--muted);font-size:11px;margin:0 0 18px}.app-dialog label{display:grid;gap:4px;font-size:11px;font-weight:700;margin:10px 0}.app-dialog input,.app-dialog select{border:1px solid #d7e2ee;border-radius:8px;padding:10px;background:#fbfcfe}.dialog-close{position:absolute;right:15px;top:12px;border:0;background:none;font-size:25px;color:var(--muted)}.dialog-icon{margin:auto;width:54px;height:60px;background:#ffc62e;clip-path:polygon(50% 0,92% 15%,84% 76%,50% 100%,16% 76%,8% 15%);display:grid;place-items:center;font-weight:800;font-size:22px}.app-dialog form>small{display:block;text-align:center;color:var(--muted);font-size:9px;margin-top:12px}.demo-btn{width:100%;border:0;background:none;color:var(--blue);padding:10px;font-size:11px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.form-grid+button{margin-top:12px}
@media(max-width:1100px){.permission-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.permission-grid{grid-template-columns:1fr 1fr}.users-toolbar{display:block}.users-toolbar>div:last-child{margin-top:10px}.users-toolbar input{min-width:0;width:100%}.form-grid{grid-template-columns:1fr}}
@media(max-width:430px){.permission-grid{grid-template-columns:1fr}.login-btn{font-size:10px;padding:0 8px}.users-toolbar>div:last-child{display:grid}.app-dialog form{padding:22px}}

/* Live maps, GPS and image previews */
.mini-map:before,.route-map:before{display:none}.mini-map iframe,.route-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#dfeee4}.mini-map .loc-pulse{left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none}.location-actions{display:grid!important;gap:6px;flex:0 0 auto!important}.location-actions button{white-space:nowrap}.gps.locating{color:var(--orange)}.gps.ready{color:var(--green)}.gps.error{color:var(--red)}#locationAccuracy{font-size:9px}.field-location-btn{background:#ffffff18!important;color:#fff!important;border:1px solid #ffffff55!important;margin-bottom:7px!important}.route-map .route-start,.route-map .route-end{pointer-events:none;text-shadow:0 2px 5px #fff}.route-map .route-start{left:28%;top:61%}.route-map .route-end{right:21%;top:24%}.image-preview{display:grid;grid-template-columns:42px 1fr auto;gap:8px;align-items:center;background:#f1f6fb;border-radius:8px;padding:6px}.image-preview img{width:42px;height:42px;border-radius:6px;object-fit:cover}.image-preview span{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-preview b{font-size:9px;color:var(--green)}.upload-progress{height:4px;background:#dce7f1;border-radius:3px;overflow:hidden}.upload-progress i{display:block;height:100%;background:var(--green);width:100%}
@media(max-width:430px){.address{flex-wrap:wrap}.location-actions{width:100%;grid-template-columns:1fr 1fr}.location-actions button{font-size:10px}.route-map .route-start,.route-map .route-end{display:none}}
.map-canvas>iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#e5e9e7}.map-canvas .road,.map-canvas .river,.map-canvas .place{display:none}.map-canvas .pin,.map-canvas .map-tools,.map-canvas .map-legend{z-index:2}.map-canvas .pin{pointer-events:none}.map-canvas .map-legend{pointer-events:none}
.assign-btn{border:1px solid #b9d4f5;background:#eef6ff;color:var(--blue);border-radius:7px;padding:5px 8px;font-size:9px}.incident-row:has(.assign-btn){grid-template-columns:42px 1fr auto auto auto}@media(max-width:430px){.incident-row:has(.assign-btn){grid-template-columns:36px 1fr auto}.incident-row .assign-btn{grid-column:2/4}}
.audit-panel{margin-top:14px;overflow:hidden}.audit-list{max-height:430px;overflow:auto}.audit-row{display:grid;grid-template-columns:42px minmax(180px,1fr) minmax(220px,2fr) 160px;gap:12px;align-items:center;padding:13px 18px;border-bottom:1px solid var(--line)}.audit-row:last-child{border-bottom:0}.audit-row>i{width:36px;height:36px;border-radius:10px;background:#eaf3ff;color:var(--blue);display:grid;place-items:center;font-style:normal;font-weight:800}.audit-row>div{display:grid}.audit-row b{font-size:12px}.audit-row small,.audit-row time{font-size:10px;color:var(--muted)}.audit-row code{font-family:inherit;font-size:10px;color:#40536d;white-space:normal;overflow-wrap:anywhere}.audit-row time{text-align:right}@media(max-width:760px){.audit-row{grid-template-columns:36px 1fr;padding:12px}.audit-row code,.audit-row time{grid-column:2;text-align:left}.audit-panel .users-toolbar{display:flex}.audit-panel .users-toolbar button{margin-top:0}}@media(max-width:430px){.audit-panel .users-toolbar{display:grid;gap:10px}.audit-panel .users-toolbar button{width:100%}}

/* Complete operation cycle */
.field-note-label{display:grid;gap:6px;margin:14px 0 10px;font-size:12px;font-weight:700}.field-note-label textarea{width:100%;min-height:94px;resize:vertical;border:1px solid #cfdceb;border-radius:10px;padding:11px;background:#f9fbfd;color:var(--ink)}.field-note-label small{text-align:right;color:var(--muted);font-weight:400}.incident-row-actions{display:flex;gap:5px}.incident-detail-btn{border:1px solid #bad2ef;background:#f4f8ff;color:var(--blue);border-radius:7px;padding:5px 8px;cursor:pointer;white-space:nowrap}.incident-detail-dialog{width:min(850px,calc(100% - 24px));max-height:92vh}.incident-detail-shell{padding:26px;position:relative;max-height:90vh;overflow:auto}.incident-detail-heading{text-align:center;border-bottom:1px solid var(--line);padding:2px 30px 18px}.incident-detail-heading span{display:inline-block;background:#eaf3ff;color:var(--blue);border-radius:20px;padding:5px 11px;font-size:11px}.incident-detail-heading h2{margin:9px 0 2px}.incident-detail-heading p{margin:0;color:var(--muted)}.incident-detail-shell>h3{font-size:14px;margin:20px 0 8px}.incident-detail-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.incident-detail-summary div{display:grid;gap:3px;padding:11px;background:#f5f8fc;border-radius:9px}.incident-detail-summary .full{grid-column:1/-1}.incident-detail-summary span{font-size:10px;color:var(--muted)}.incident-detail-summary b{font-size:12px}.incident-detail-images{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.incident-detail-images img{width:100%;height:120px;object-fit:cover;border-radius:9px}.incident-timeline{display:grid;gap:8px}.incident-timeline article{display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:start;border:1px solid var(--line);border-radius:10px;padding:11px}.incident-timeline article>i{width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-style:normal;font-size:11px}.incident-timeline article>div{display:grid;gap:2px}.incident-timeline span,.incident-timeline small{font-size:10px;color:var(--muted)}.incident-timeline p{font-size:11px;margin:4px 0;background:#f4f7fb;border-radius:6px;padding:7px}.incident-timeline em{font-size:10px;color:var(--green);font-style:normal;white-space:nowrap}
@media(max-width:760px){.incident-detail-shell{padding:18px}.incident-detail-summary{grid-template-columns:1fr}.incident-detail-summary .full{grid-column:auto}.incident-detail-images{grid-template-columns:1fr 1fr}.incident-detail-images img{height:130px}.incident-timeline article{grid-template-columns:28px 1fr}.incident-timeline em{grid-column:2}.incident-row-actions{grid-column:2/-1;justify-content:flex-end}}
.incident-row:has(.incident-row-actions){grid-template-columns:42px 1fr auto auto auto}@media(max-width:760px){.incident-row:has(.incident-row-actions){grid-template-columns:36px 1fr auto}.incident-row:has(.incident-row-actions) .incident-row-actions{grid-column:2/4}}

/* Live system header and completion summary */
.system-ok.checking i{background:var(--orange)}.system-ok.healthy i{background:var(--green);box-shadow:0 0 0 4px #12ae6720}.system-ok.unhealthy{border-color:#ffc8c3;background:#fff8f7}.system-ok.unhealthy i{background:var(--red);box-shadow:0 0 0 4px #f13d3620}.system-ok.unhealthy b{color:var(--red)}.notification-wrap{position:relative}.notification-panel{position:absolute;right:0;top:58px;width:min(390px,calc(100vw - 24px));background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 55px rgba(5,39,69,.22);z-index:100;overflow:hidden}.notification-head{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid var(--line)}.notification-head>div{display:grid}.notification-head b{font-size:13px}.notification-head small{font-size:9px;color:var(--muted)}.notification-head button{border:0;background:#eef5ff;color:var(--blue);width:30px;height:30px;border-radius:8px}.notification-list{max-height:430px;overflow:auto}.notification-item{width:100%;border:0;border-bottom:1px solid var(--line);background:#fff;padding:11px 14px;display:grid;grid-template-columns:36px 1fr;gap:10px;text-align:left;cursor:pointer}.notification-item:hover{background:#f7faff}.notification-item>i{width:34px;height:34px;border-radius:50%;color:#fff;display:grid;place-items:center;font-style:normal}.notification-item>span{display:grid;gap:2px}.notification-item b{font-size:11px;color:var(--ink)}.notification-item small{font-size:9px;color:var(--muted)}.completion-summary-card{margin-top:16px;padding:17px;border:1px solid #bfe6d1;background:linear-gradient(135deg,#f2fcf6,#fff);border-radius:13px}.completion-title{display:flex;align-items:center;gap:10px}.completion-title>i{width:38px;height:38px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-style:normal;font-size:20px}.completion-title>div{display:grid}.completion-title b{font-size:15px}.completion-title span{font-size:10px;color:var(--muted)}.completion-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:13px}.completion-metrics div{padding:10px;background:#fff;border-radius:9px;border:1px solid #ddf0e5;display:grid}.completion-metrics span,.completion-outcome>span{font-size:9px;color:var(--muted)}.completion-metrics b{font-size:13px;color:#087c45}.completion-outcome{margin-top:9px;padding:10px;background:#fff;border-radius:9px}.completion-outcome p{margin:3px 0 0!important;text-align:left!important;color:var(--ink)!important;font-size:11px!important}.bell b[hidden]{display:none}
@media(max-width:760px){.topbar{overflow:visible}.notification-panel{position:fixed;top:67px;right:8px;left:8px;width:auto}.completion-metrics{grid-template-columns:1fr 1fr}.system-ok small{max-width:115px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions .system-ok{display:flex;padding:8px}.top-actions .system-ok span{display:none}.topbar .date{display:flex;padding:7px}.topbar .date>span,.topbar .date b{display:none}.topbar .date small{display:block;font-size:9px}.bell{width:40px;height:40px}}
.completion-metrics.five{grid-template-columns:repeat(5,1fr)}.completion-metrics .total{background:#eaf9f1;border-color:#a9dfc2}.completion-metrics .total b{font-size:15px}.completion-outcome.missing{border:1px solid #f2d79a;background:#fffaf0}.completion-outcome.missing p{color:#8a6615!important}@media(max-width:900px){.completion-metrics.five{grid-template-columns:1fr 1fr}.completion-metrics.five .total{grid-column:1/-1}}@media(max-width:430px){.completion-metrics.five{grid-template-columns:1fr}.completion-metrics.five .total{grid-column:auto}}
.completion-metrics.six{grid-template-columns:repeat(3,1fr)}.completion-metrics small{font-size:9px;color:var(--muted);margin-top:3px}.timeline-warning{margin-top:12px;padding:9px 11px;border-radius:8px;background:#fff6dc;border:1px solid #efd48c;color:#795c12;font-size:10px}@media(max-width:700px){.completion-metrics.six{grid-template-columns:1fr 1fr}}@media(max-width:430px){.completion-metrics.six{grid-template-columns:1fr}}

/* Storage, image viewer and compact timeline */
.incident-detail-images img{cursor:zoom-in;transition:transform .18s,box-shadow .18s}.incident-detail-images img:hover{transform:translateY(-2px);box-shadow:0 8px 22px #1234}.image-lightbox{border:0;padding:0;background:transparent;max-width:95vw;max-height:95vh;overflow:visible}.image-lightbox::backdrop{background:rgba(0,12,24,.88);backdrop-filter:blur(5px)}.image-lightbox img{display:block;max-width:92vw;max-height:84vh;object-fit:contain;border-radius:12px;background:#071b2d}.image-lightbox>button{position:absolute;right:-12px;top:-14px;z-index:2;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:var(--ink);font-size:24px}.image-lightbox>div{color:#fff;text-align:center;padding:9px}.timeline-title{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.timeline-title h3{font-size:14px;margin:0}.incident-timeline.collapsed article:nth-of-type(n+6){display:none}.maintenance-panel{margin-top:14px}.maintenance-actions{display:flex;align-items:center;gap:10px;padding:16px 18px}.maintenance-actions p{margin-left:auto;font-size:10px;color:var(--muted)}.danger-outline-btn{border:1px solid #ef6c65;background:#fff5f4;color:#c72e28;padding:9px 13px;border-radius:8px;font-weight:700}.chart-body .donut{transition:background .3s}.teams-card .empty-state{padding:25px}.report-period{box-shadow:0 12px 30px rgba(5,43,75,.16)}
.command-cancel-button{margin-left:auto;border:1px solid #efada8;background:#fff6f5;color:#c92f29;padding:0 16px}.command-cancel-button:hover{border-color:#e4564f;background:#ffecea}.cancel-mission-dialog{width:min(560px,calc(100vw - 24px))}.cancel-mission-dialog form{max-width:none}.cancel-mission-dialog textarea{min-height:110px}.cancel-mission-dialog aside{padding:12px 14px;border:1px solid #f3d2cf;border-radius:12px;background:#fff7f6;color:#8f4a46;font-size:.76rem;line-height:1.55}.cancel-mission-dialog .danger-btn{margin-top:4px;background:linear-gradient(135deg,#ef453d,#c8231d);box-shadow:0 9px 20px rgba(206,42,34,.2)}
@media(max-width:760px){.maintenance-actions{display:grid}.maintenance-actions p{margin:0}.image-lightbox>button{right:4px;top:4px}.incident-detail-images{grid-template-columns:1fr 1fr}}
.address-help{display:block;color:#60738c;background:#f1f6fb;border-radius:7px;padding:7px 9px;font-size:9px;line-height:1.5;margin-top:-5px}.location-card #currentAddress{color:var(--ink)}
.manual-pin-layer{position:absolute;inset:0;z-index:5;cursor:crosshair;background:rgba(20,117,238,.05)}.manual-pin-layer>div{position:absolute;left:50%;top:10px;transform:translateX(-50%);background:#062b4be8;color:#fff;padding:7px 12px;border-radius:18px;font-size:10px;white-space:nowrap;pointer-events:none}.manual-pin{display:none;position:absolute;transform:translate(-50%,-85%);color:var(--red);font-size:40px;line-height:1;text-shadow:0 2px 0 #fff,0 4px 10px #0018;pointer-events:none}.manual-pin-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:10px}.manual-pin-actions button:disabled{opacity:.45}.location-actions{grid-template-columns:1fr 1fr}.location-actions #shareCitizenLocation{grid-column:1/-1}[hidden]{display:none!important}
.dashboard-grid .map-canvas>.pin,.dashboard-grid .map-tools{display:none}.empty-field-task{padding:15px;background:#ffffff14;border-radius:10px;color:#b9d6ea;font-size:11px;text-align:center}#saveFieldReport:disabled{opacity:.45}
.mission-card>a{display:none}.category-grid+.section-title button{display:none}

/* Executive command report */
.executive-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:30px 34px;border-radius:20px;color:#fff;background:radial-gradient(circle at 85% 10%,#1b75bb88,transparent 28%),linear-gradient(125deg,#031e36,#074673 72%,#0966a2);box-shadow:0 18px 44px rgba(3,35,61,.22)}.executive-hero:after{content:"";position:absolute;right:-70px;bottom:-110px;width:300px;height:300px;border:45px solid #ffffff0b;border-radius:50%}.executive-hero>div{position:relative;z-index:1}.executive-hero span,.executive-panel-head span{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#69b8ff}.executive-hero h1{font-size:30px;line-height:1.2;margin:5px 0}.executive-hero p{margin:0;color:#c3d9e9;font-size:12px}.executive-controls{display:flex;align-items:flex-end;gap:9px}.executive-controls label{display:grid;gap:5px;font-size:9px;color:#bcd4e6}.executive-controls input,.executive-controls button{height:42px;border:1px solid #ffffff30;border-radius:10px;padding:0 13px}.executive-controls input{background:#ffffff12;color:#fff;color-scheme:dark}.executive-controls button{background:#fff;color:#07538c;font-weight:800}.report-freshness{display:flex;align-items:center;gap:16px;padding:11px 4px;color:var(--muted);font-size:9px}.report-freshness span{color:#07864c}.report-freshness span i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#12ae67;box-shadow:0 0 0 4px #12ae6720}.report-freshness b{margin-left:auto;font-weight:500}.report-freshness em{font-style:normal}.executive-kpis{display:grid;grid-template-columns:1.25fr repeat(4,1fr);gap:12px}.executive-kpis article{position:relative;overflow:hidden;min-height:126px;padding:18px;background:#fff;border:1px solid #dce6f0;border-radius:15px;box-shadow:0 8px 25px rgba(16,61,98,.07);display:flex;flex-direction:column;justify-content:center}.executive-kpis article:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#d9e5f0}.executive-kpis .kpi-primary{color:#fff;background:linear-gradient(135deg,#1475ee,#0752a8);border:0}.executive-kpis .kpi-primary:after{content:"";position:absolute;right:-35px;top:-45px;width:150px;height:150px;border:25px solid #ffffff10;border-radius:50%}.executive-kpis span{font-size:10px;color:#708197}.executive-kpis .kpi-primary span,.executive-kpis .kpi-primary small{color:#d9ecff}.executive-kpis b{font-size:34px;line-height:1.1;margin:6px 0}.executive-kpis small{font-size:9px;color:#77869a}.executive-kpis small.good{color:#079557}.executive-kpis small.bad{color:#e3443d}.executive-kpis .kpi-primary small.good,.executive-kpis .kpi-primary small.bad{color:#fff}.executive-chart-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:13px;margin-top:13px}.executive-panel{background:#fff;border:1px solid #dfe8f1;border-radius:16px;box-shadow:0 8px 25px rgba(17,61,96,.06);overflow:hidden}.executive-panel-head{min-height:64px;padding:15px 18px;border-bottom:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between}.executive-panel-head h2{font-size:14px;margin:3px 0 0}.executive-panel-head>div:last-child{font-size:10px;color:var(--muted)}.executive-panel-head button{border:0;background:#eef6ff;color:var(--blue);border-radius:8px;padding:7px 10px}.trend-panel{min-height:340px}.executive-line-chart{height:265px;padding:8px 10px}.executive-line-chart svg{width:100%;height:100%;overflow:visible}.executive-line-chart text{font-family:'Noto Sans Thai',sans-serif;font-size:9px;fill:#4c6078;font-weight:700}.executive-line-chart text.month{fill:#8190a1;font-weight:500}.type-donut-wrap{display:grid;grid-template-columns:160px 1fr;gap:18px;align-items:center;padding:22px}.executive-donut{width:155px;height:155px;border-radius:50%;display:grid;place-items:center;position:relative}.executive-donut:after{content:"";position:absolute;inset:27px;background:#fff;border-radius:50%}.executive-donut span{z-index:1;text-align:center;color:var(--muted);font-size:9px}.executive-donut b{display:block;color:var(--ink);font-size:28px}.type-legend{display:grid;gap:7px}.type-legend div{display:grid;grid-template-columns:9px 1fr auto 34px;gap:7px;align-items:center;font-size:9px}.type-legend i{width:8px;height:8px;border-radius:3px}.type-legend em{font-style:normal;text-align:right;color:var(--muted)}.sla-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px}.sla-metrics>div{padding:13px;background:#f7f9fc;border-radius:11px;display:grid}.sla-metrics span{font-size:9px;color:var(--muted)}.sla-metrics b{font-size:17px;margin:3px 0 8px}.sla-metrics i,.status-breakdown u,.hotspot-list span>i{height:6px;background:#e4ebf3;border-radius:5px;overflow:hidden;text-decoration:none}.sla-metrics u,.hotspot-list u{display:block;height:100%;background:linear-gradient(90deg,#1475ee,#53a7ff);border-radius:5px}.status-breakdown{display:grid;gap:12px;padding:20px}.status-breakdown>div{display:grid;grid-template-columns:1fr 30px;gap:6px;align-items:center}.status-breakdown span{font-size:10px}.status-breakdown span i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:7px}.status-breakdown b{text-align:right}.status-breakdown u{grid-column:1/-1}.status-breakdown u i{display:block;height:100%;border-radius:5px}.executive-table-grid{display:grid;grid-template-columns:.9fr 1.6fr;gap:13px;margin-top:13px}.hotspot-list{display:grid;padding:8px 18px 15px}.hotspot-list>div{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #eef2f6}.hotspot-list>div:last-child{border:0}.hotspot-list strong{width:26px;height:26px;border-radius:8px;background:#eaf3ff;color:var(--blue);display:grid;place-items:center;font-size:10px}.hotspot-list span{display:grid;gap:5px;font-size:10px}.hotspot-list b{font-size:10px}.executive-table-wrap{overflow:auto}.executive-table-wrap table{width:100%;border-collapse:collapse;font-size:10px}.executive-table-wrap th{padding:11px 13px;text-align:left;color:var(--muted);background:#f8fafc}.executive-table-wrap td{padding:12px 13px;border-top:1px solid #edf1f5}.executive-table-wrap td:first-child{display:flex;align-items:center;gap:8px;min-width:180px}.executive-table-wrap td:first-child i{width:28px;height:28px;border-radius:8px;background:#eaf3ff;color:var(--blue);display:grid;place-items:center;font-style:normal}.executive-table-wrap td:last-child span{display:inline-block;padding:4px 7px;border-radius:12px;background:#eaf8f1;color:#07884d;font-weight:700}.executive-cases{margin-top:13px}.executive-case-list{display:grid;grid-template-columns:1fr 1fr;padding:8px 14px}.executive-case-list button{border:0;border-bottom:1px solid #edf1f5;background:#fff;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;text-align:left;padding:12px 8px}.executive-case-list button:nth-child(odd){border-right:1px solid #edf1f5;padding-right:16px}.executive-case-list button>i{width:34px;height:34px;border-radius:10px;color:#fff;display:grid;place-items:center;font-style:normal}.executive-case-list button>span{display:grid}.executive-case-list b{font-size:10px}.executive-case-list small{font-size:8px;color:var(--muted)}.executive-case-list em{font-size:8px;font-style:normal;padding:4px 7px;border-radius:12px;background:#fff1e9;color:#d8671c}.report-view .executive-summary{border-radius:16px;padding:20px;box-shadow:0 8px 25px rgba(20,117,238,.08)}
@media(max-width:1100px){.executive-kpis{grid-template-columns:repeat(3,1fr)}.executive-chart-grid,.executive-table-grid{grid-template-columns:1fr}.type-donut-wrap{grid-template-columns:180px 1fr}}
@media(max-width:760px){.executive-hero{padding:22px;display:grid}.executive-controls{display:grid;grid-template-columns:1fr 1fr}.executive-controls label{width:100%}.executive-kpis{grid-template-columns:1fr 1fr}.executive-kpis article{min-height:112px}.executive-kpis .kpi-primary{grid-column:1/-1}.executive-chart-grid{display:block}.executive-panel{margin-top:12px}.type-donut-wrap{grid-template-columns:130px 1fr;padding:16px}.executive-donut{width:125px;height:125px}.executive-case-list{grid-template-columns:1fr}.executive-case-list button:nth-child(odd){border-right:0;padding-right:8px}.executive-line-chart{overflow-x:auto}.executive-line-chart svg{min-width:680px}.report-freshness em{display:none}}
@media(max-width:430px){.executive-kpis{grid-template-columns:1fr}.executive-kpis .kpi-primary{grid-column:auto}.sla-metrics{grid-template-columns:1fr}.type-donut-wrap{grid-template-columns:1fr}.executive-donut{margin:auto}.executive-controls{grid-template-columns:1fr}.executive-hero h1{font-size:24px}}
@media print{@page{size:A4 landscape;margin:9mm}body{background:#fff!important;padding:0!important}.sidebar,.topbar,.mobile-role-nav,.toast{display:none!important}.main{margin:0!important}.view{display:none!important}.report-view{display:block!important;max-width:none!important;padding:0!important}.executive-hero{padding:18px 22px!important;box-shadow:none!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.executive-controls{display:none!important}.report-freshness{padding:7px 2px}.executive-kpis{grid-template-columns:repeat(5,1fr)!important;gap:7px}.executive-kpis article{min-height:90px!important;padding:11px!important;box-shadow:none}.executive-kpis b{font-size:24px}.executive-chart-grid{grid-template-columns:1.6fr 1fr!important;gap:7px;margin-top:7px}.executive-panel{box-shadow:none;break-inside:avoid}.trend-panel{min-height:280px}.executive-line-chart{height:210px}.executive-table-grid{grid-template-columns:.9fr 1.6fr!important;gap:7px;margin-top:7px}.executive-cases{margin-top:7px}.executive-case-list{grid-template-columns:1fr 1fr}.report-view .executive-summary{margin-top:7px;box-shadow:none}.type-donut-wrap{grid-template-columns:130px 1fr;padding:12px}.executive-donut{width:120px;height:120px}.sla-metrics{padding:12px;gap:7px}.status-breakdown{padding:12px;gap:7px}}
.field-status-dialog{max-width:620px}.field-status-hint{color:#66758f;line-height:1.65;margin:6px 0 18px}.field-status-confirm{display:flex;align-items:center;justify-content:center;gap:16px;background:#f2f7fd;border:1px solid #dce8f5;border-radius:16px;padding:16px;margin:18px 0}.field-status-confirm span{color:#61718b}.field-status-confirm i{color:#1680ed;font-style:normal;font-size:22px}.field-status-confirm strong{color:#08365d}.field-outcome-choices{display:grid;gap:12px}.field-outcome-choices label{display:flex;gap:12px;align-items:flex-start;border:1px solid #dce5ef;border-radius:16px;padding:15px;cursor:pointer;background:#fff}.field-outcome-choices label:has(input:checked){border-color:#1680ed;background:#eef7ff;box-shadow:0 0 0 2px rgba(22,128,237,.1)}.field-outcome-choices input{margin-top:5px;accent-color:#1680ed}.field-outcome-choices span{display:grid;gap:4px}.field-outcome-choices b{color:#12233f}.field-outcome-choices small{color:#68778e;line-height:1.45}.field-status-dialog .field-note-label{margin-top:16px}
.location-card .loc-pulse{left:50%;top:50%;transform:translate(-50%,-50%)}.manual-pin{transform:translate(-50%,-88%)}
.crest.has-logo{width:58px;height:58px;clip-path:none;border-radius:50%;padding:3px;background:#fff;overflow:hidden;box-shadow:0 0 0 2px rgba(255,255,255,.2)}.crest.has-logo img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:50%;transform:scale(1.18)}.line-card{text-decoration:none;color:#fff}.line-card.disabled{filter:saturate(.35);opacity:.8;cursor:not-allowed}.settings-fields .full-field{grid-column:1/-1}.field-refresh{width:34px!important;height:34px;border-radius:50%!important;background:#ffffff1c!important;font-size:18px!important}.priority-badge{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:12px;font-size:9px;font-style:normal;font-weight:700}.priority-badge.critical,.priority-text.critical{background:#ffe8e6;color:#c91d17}.priority-badge.high,.priority-text.high{background:#fff0df;color:#d66a00}.priority-badge.medium,.priority-text.medium{background:#eaf3ff;color:#1768c4}.priority-badge.low,.priority-text.low{background:#eef1f5;color:#607085}.priority-critical{border-left:4px solid #e62d27}.priority-high{border-left:4px solid #ff9017}.priority-select{border:1px solid #cad8e8;background:#fff;border-radius:7px;padding:5px 6px;color:#263b55;font-size:10px}.priority-select:disabled{opacity:.55}
.logo-preview{width:140px;height:140px;border-radius:50%}.logo-preview img{object-fit:cover;border-radius:50%;transform:scale(1.12)}
html,body{min-height:100%;overflow-x:hidden}.main,.view,.panel,.dashboard-grid>*,.bottom-grid>*{min-width:0}.view{width:100%}.dashboard-grid{grid-template-columns:minmax(0,46fr) minmax(0,54fr)}.bottom-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.95fr) minmax(0,1.25fr)}
.operation-panel{background:transparent;border:0;box-shadow:none;overflow:visible}.operation-panel .users-toolbar{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 18px;box-shadow:var(--shadow);margin-bottom:14px}.operation-list{padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mission-summary-card{position:relative;overflow:hidden;background:#fff;border:1px solid #e0e8f2;border-radius:18px;padding:18px;box-shadow:0 10px 30px rgba(18,55,91,.09);display:grid;gap:13px;transition:transform .2s,box-shadow .2s}.mission-summary-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--accent,#1475ee)}.mission-summary-card:hover{transform:translateY(-2px);box-shadow:0 15px 38px rgba(18,55,91,.14)}.mission-summary-card.red-card{--accent:#ef4039}.mission-summary-card.orange-card{--accent:#ff9017}.mission-summary-card.blue-card{--accent:#1475ee}.mission-summary-card.green-card{--accent:#12ae67}.mission-summary-card.purple-card{--accent:#7157dc}.mission-card-top{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center}.mission-type-icon{width:46px;height:46px;border-radius:14px;color:#fff;display:grid;place-items:center;font-size:21px}.mission-card-top>div{display:grid;gap:2px}.mission-card-top small{color:var(--accent);font-weight:700}.mission-card-top b{font-size:15px}.mission-complete-badge{background:#e9f8f0;color:#098b4c;border-radius:18px;padding:6px 10px;font-size:10px;font-weight:800}.mission-code-row{display:flex;align-items:center;gap:8px}.mission-code-row code{font-family:inherit;background:#eef4fb;color:#29445f;border-radius:7px;padding:4px 8px;font-weight:800}.mission-location{margin:0;color:#5c6e84;font-size:12px;line-height:1.6;min-height:38px}.mission-time-grid{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;background:#f7f9fc;border-radius:12px;padding:12px}.mission-time-grid div{display:grid;gap:3px}.mission-time-grid span,.mission-result-strip span{font-size:9px;color:#7c899a;text-transform:uppercase;letter-spacing:.5px}.mission-time-grid b{font-size:11px}.mission-time-grid i{font-style:normal;color:var(--accent);font-size:18px}.mission-result-strip{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e4ebf3;border-radius:11px;overflow:hidden}.mission-result-strip div{display:grid;gap:2px;padding:10px 12px}.mission-result-strip div+div{border-left:1px solid #e4ebf3}.mission-result-strip strong{font-size:13px;color:#18334e}.mission-card-actions{display:flex;gap:8px}.mission-card-actions button,.mission-card-actions a{flex:1;border:1px solid #bfd5ef;background:#f3f8ff;color:#1169c8;border-radius:9px;padding:9px;text-align:center;text-decoration:none;font-weight:700;font-size:11px}.mission-card-actions button{background:linear-gradient(135deg,#147cf3,#0762d6);color:#fff;border:0}
@media(max-width:1250px){.operation-list{grid-template-columns:1fr}.sidebar{width:220px}.main{margin-left:220px}.view{padding-left:20px;padding-right:20px}.dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-grid>*:last-child{grid-column:1/-1}}
@media(min-width:761px) and (max-height:1000px){.topbar{height:68px}.view{padding-top:18px;padding-bottom:20px}.page-heading{margin-bottom:14px}.page-heading h1{font-size:23px}.stat{padding:13px}.stat-icon{width:50px;height:50px}.dashboard-grid{margin-top:10px}.map-canvas{height:270px}.panel-head{height:48px}.incident-row{padding-top:7px;padding-bottom:7px}.bottom-grid{margin-top:10px}.chart-body{padding:13px}.donut,.progress-ring{width:112px;height:112px}.donut:after,.progress-ring:after{inset:19px}.progress-ring{margin-top:12px}.team-row{padding-top:8px;padding-bottom:8px}}
@media(max-width:760px){.operation-list{grid-template-columns:1fr}.mission-summary-card{padding:15px}.mission-card-top{grid-template-columns:42px 1fr}.mission-complete-badge{grid-column:2;justify-self:start}.mission-time-grid{grid-template-columns:1fr}.mission-time-grid i{display:none}.mission-card-actions{display:grid}.main{overflow:visible}}
.incident-list{padding:6px}.incident-row{margin:5px 0;border:1px solid transparent;border-radius:11px;padding-left:11px;padding-right:11px;transition:background .18s,border-color .18s}.incident-row:hover{background:#f8fbff;border-color:#dbe7f4}.incident-row.incident-completed{background:linear-gradient(90deg,#f1fbf6,#fff);border-color:#d9f0e4}.status{font-weight:800}.status-new{background:#fff0ee;color:#d92d27}.status-accepted,.status-traveling{background:#fff3e5;color:#d66a00}.status-arrived,.status-helping,.status-transporting{background:#eaf3ff;color:#1768c4}.status-completed{background:#e6f7ee;color:#07894a}.status-cancelled{background:#eef1f5;color:#66768a}
/* command-grade executive report */
.progress-ring span{width:68%;display:grid;place-items:center;line-height:1.15}.progress-ring b{max-width:100%;font-size:clamp(18px,1.55vw,25px);letter-spacing:-1.3px;white-space:nowrap;font-variant-numeric:tabular-nums}
.report-view{--report-navy:#071e35;--report-blue:#096fd1;--report-cyan:#32a8e6;--report-gold:#dcae43;position:relative}.report-view:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 95% 2%,rgba(38,137,215,.09),transparent 22%),linear-gradient(#f6f9fc,#f2f6fa)}.executive-hero{min-height:190px;align-items:center;padding:34px 38px;background:radial-gradient(circle at 84% 14%,rgba(62,174,238,.35),transparent 20%),radial-gradient(circle at 94% 115%,rgba(220,174,67,.25),transparent 26%),linear-gradient(120deg,#041628 0%,#07395e 60%,#08659b 100%);border:1px solid rgba(255,255,255,.12);box-shadow:0 22px 50px rgba(3,35,61,.24)}.executive-hero:before{content:"";position:absolute;right:29%;top:0;width:1px;height:100%;background:linear-gradient(transparent,rgba(255,255,255,.18),transparent)}.executive-hero-copy{display:grid;align-content:center}.executive-hero h1{font-size:clamp(27px,2.2vw,38px);letter-spacing:-.7px;margin:7px 0}.hero-report-tags{display:flex;gap:8px;margin-top:17px}.hero-report-tags b,.hero-report-tags em{font-size:8px;font-style:normal;letter-spacing:1px;border:1px solid rgba(255,255,255,.2);border-radius:20px;padding:6px 9px;color:#d6eafb}.hero-report-tags b{color:#6df0ae;background:rgba(16,174,103,.14)}.executive-controls{padding:15px;background:rgba(4,26,45,.36);border:1px solid rgba(255,255,255,.14);border-radius:14px;backdrop-filter:blur(10px)}.report-freshness{margin:0 3px;border-bottom:1px solid #dbe5ef}.command-pulse{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:13px 0}.command-pulse article{min-width:0;display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:center;padding:13px 14px;background:rgba(255,255,255,.92);border:1px solid #dce6f0;border-radius:13px;box-shadow:0 7px 20px rgba(16,61,98,.05)}.command-pulse article>i{grid-row:1/3;width:38px;height:38px;border-radius:11px;background:#eaf3ff;color:#0b70d1;display:grid;place-items:center;font-style:normal;font-weight:900}.command-pulse article>div{display:grid}.command-pulse span{color:#748397;font-size:9px}.command-pulse b{font-size:18px;color:#142f49}.command-pulse small{grid-column:2;font-size:8px;color:#8290a0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.command-pulse .pulse-critical>i{background:#fff0ee;color:#d9332c}.command-pulse .pulse-critical.alert{border-color:#efaaa6;background:linear-gradient(135deg,#fff5f4,#fff)}.command-pulse .pulse-critical.alert b{color:#cc2c25}.command-pulse .pulse-readiness>i{background:#e8f8f0;color:#078b4c}.command-pulse .pulse-backlog>i{background:#fff4e6;color:#d36a00}.command-pulse .pulse-quality>i{background:#f1edff;color:#6849cc}
.executive-kpis{gap:10px}.executive-kpis article{min-height:142px;padding:20px 18px 17px;border-radius:17px;border-top:4px solid #dbe5ef}.executive-kpis article:not(.kpi-primary):after{position:absolute;right:15px;top:13px;width:31px;height:31px;border-radius:10px;display:grid;place-items:center;font-size:15px;font-weight:900}.executive-kpis article:nth-child(2){border-top-color:#12ae67}.executive-kpis article:nth-child(2):after{content:"✓";background:#e7f8ef;color:#079050}.executive-kpis article:nth-child(3){border-top-color:#ff9017}.executive-kpis article:nth-child(3):after{content:"◷";background:#fff2e2;color:#d66b00}.executive-kpis article:nth-child(4){border-top-color:#1475ee}.executive-kpis article:nth-child(4):after{content:"↗";background:#eaf3ff;color:#116ac5}.executive-kpis article:nth-child(5){border-top-color:#7157dc}.executive-kpis article:nth-child(5):after{content:"Σ";background:#f0edff;color:#684bcc}.executive-kpis .kpi-primary{background:radial-gradient(circle at 92% 22%,rgba(255,255,255,.18),transparent 24%),linear-gradient(135deg,#0a77dd,#074b93);box-shadow:0 14px 30px rgba(10,105,199,.24)}.executive-kpis b{font-size:38px;font-variant-numeric:tabular-nums}.executive-panel{border-radius:18px;box-shadow:0 10px 30px rgba(14,50,82,.07)}.executive-panel-head{position:relative}.executive-panel-head:before{content:"";position:absolute;left:18px;bottom:-1px;width:44px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--report-blue),var(--report-cyan))}.trend-panel{background:linear-gradient(180deg,#fff,#fafdff)}.executive-line-chart{padding:12px 16px}.type-donut-wrap{background:radial-gradient(circle at 65% 45%,rgba(20,117,238,.05),transparent 44%)}.executive-donut{filter:drop-shadow(0 10px 15px rgba(22,74,115,.12))}.executive-donut:after{box-shadow:inset 0 0 0 1px #edf2f7}.sla-metrics>div{border:1px solid #e8eef5;background:linear-gradient(135deg,#fafcff,#f5f8fc)}.status-breakdown u,.sla-metrics i{height:8px}.hotspot-list strong{border-radius:50%}.executive-table-wrap th{background:#f1f6fb;color:#52677e;text-transform:uppercase;letter-spacing:.5px;font-size:8px}.executive-table-wrap tbody tr:hover{background:#f7fbff}.executive-case-list button{transition:background .18s,transform .18s;border-radius:9px}.executive-case-list button:hover{background:#f3f8fd;transform:translateX(2px)}
.executive-decision-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:13px;margin-top:13px}.report-view .executive-summary{margin:0;min-height:180px;padding:25px;background:radial-gradient(circle at 90% 10%,rgba(50,168,230,.18),transparent 25%),linear-gradient(125deg,#061b30,#093d63);border:0;color:#fff}.report-view .executive-summary .ai-icon{background:linear-gradient(135deg,#29a8ee,#1475ee);box-shadow:0 8px 22px rgba(20,117,238,.35)}.report-view .executive-summary span{color:#67c6ff}.report-view .executive-summary h2{font-size:20px}.report-view .executive-summary p{font-size:13px;line-height:1.9;color:#d4e3ef}.executive-actions-panel{border:1px solid #ead8a4;border-radius:16px;padding:21px;background:linear-gradient(145deg,#fffdf7,#fff9e9);box-shadow:0 8px 25px rgba(120,84,13,.07)}.executive-actions-panel>div span{font-size:9px;letter-spacing:1.5px;font-weight:800;color:#a17413}.executive-actions-panel h2{font-size:16px;margin:3px 0 12px}.executive-actions-panel ol{list-style:none;counter-reset:action;padding:0;margin:0;display:grid;gap:9px}.executive-actions-panel li{counter-increment:action;display:grid;grid-template-columns:26px 1fr;gap:9px;align-items:start;font-size:10px;line-height:1.55;color:#5d4b26}.executive-actions-panel li:before{content:counter(action);width:24px;height:24px;border-radius:8px;background:#dcae43;color:#fff;display:grid;place-items:center;font-weight:800}.executive-methodology{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:13px;border:1px solid #dce5ee;background:#fff;border-radius:14px;overflow:hidden}.executive-methodology div{display:grid;gap:3px;padding:13px 15px}.executive-methodology div+div{border-left:1px solid #e4ebf2}.executive-methodology b{font-size:9px;color:#39526a}.executive-methodology span{font-size:8px;line-height:1.45;color:#7a8898}
@media(max-width:1100px){.command-pulse{grid-template-columns:1fr 1fr}.executive-decision-grid{grid-template-columns:1fr}.executive-methodology{grid-template-columns:1fr 1fr}.executive-methodology div:nth-child(3){border-left:0;border-top:1px solid #e4ebf2}.executive-methodology div:nth-child(4){border-top:1px solid #e4ebf2}}
@media(max-width:760px){.executive-hero{min-height:0}.hero-report-tags{display:grid;justify-items:start}.command-pulse{grid-template-columns:1fr}.command-pulse article{padding:11px}.executive-methodology{grid-template-columns:1fr}.executive-methodology div+div,.executive-methodology div:nth-child(3){border-left:0;border-top:1px solid #e4ebf2}.executive-decision-grid{display:block}.executive-actions-panel{margin-top:12px}}
@media print{.command-pulse{grid-template-columns:repeat(4,1fr);gap:6px;margin:7px 0}.command-pulse article{padding:7px;box-shadow:none}.command-pulse article>i{width:30px;height:30px}.command-pulse b{font-size:14px}.executive-decision-grid{grid-template-columns:1.55fr 1fr;gap:7px;margin-top:7px}.report-view .executive-summary{min-height:120px;padding:14px}.report-view .executive-summary h2{font-size:15px}.report-view .executive-summary p{font-size:9px}.executive-actions-panel{padding:13px;box-shadow:none}.executive-methodology{margin-top:7px;grid-template-columns:repeat(4,1fr)}.executive-methodology div{padding:8px}.hero-report-tags{display:none}}
.progress-ring b{font-size:clamp(17px,1.25vw,21px);letter-spacing:-1.8px}.operation-stats{gap:12px}.operation-stats article{position:relative;overflow:hidden;min-height:112px;padding:20px 22px;border:0;color:#fff;box-shadow:0 12px 28px rgba(12,53,91,.14)}.operation-stats article:before{position:absolute;right:20px;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:15px;background:rgba(255,255,255,.14);display:grid;place-items:center;font-size:21px;font-weight:800}.operation-stats article:after{content:"";position:absolute;right:-35px;bottom:-65px;width:150px;height:150px;border:25px solid rgba(255,255,255,.07);border-radius:50%}.operation-stats article:nth-child(1){background:linear-gradient(135deg,#086cc7,#094980)}.operation-stats article:nth-child(1):before{content:"✓"}.operation-stats article:nth-child(2){background:linear-gradient(135deg,#16b873,#07834b)}.operation-stats article:nth-child(2):before{content:"◷"}.operation-stats article:nth-child(3){background:linear-gradient(135deg,#725be1,#49339f)}.operation-stats article:nth-child(3):before{content:"Σ"}.operation-stats span{color:rgba(255,255,255,.78);font-weight:600}.operation-stats b{display:block;margin-top:4px;color:#fff;font-size:30px;font-variant-numeric:tabular-nums;line-height:1.15;max-width:calc(100% - 60px);overflow-wrap:anywhere}.operation-panel .users-toolbar{color:#fff;border:0;background:radial-gradient(circle at 90% 0,rgba(48,165,230,.22),transparent 24%),linear-gradient(120deg,#061c32,#0a456f);box-shadow:0 12px 28px rgba(7,43,75,.16)}.operation-panel .users-toolbar h2{color:#fff}.operation-panel .users-toolbar span{color:#b9d2e5}.operation-panel .users-toolbar input{background:#fff;border:1px solid rgba(255,255,255,.2);box-shadow:0 6px 20px rgba(0,0,0,.1)}
@media(max-width:650px){.operation-stats article{min-height:94px}.operation-stats b{font-size:25px}.operation-panel .users-toolbar{display:grid;gap:12px}.operation-panel .users-toolbar input{width:100%}}
/* mobile layout guard: must remain last so tablet/desktop breakpoints cannot offset the app */
@media(max-width:760px){html,body{width:100%;max-width:100%;margin:0!important;overflow-x:hidden!important}.app-shell{width:100%;max-width:100%;margin:0!important}.sidebar{display:none!important}.main{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow-x:hidden!important}.topbar{width:100%!important;max-width:100%!important;left:0;right:0;margin:0!important;padding-left:12px;padding-right:12px}.view,.view.active{width:100%!important;max-width:100%!important;margin:0!important;padding-left:12px;padding-right:12px}.dashboard-grid,.bottom-grid,.stat-grid,.citizen-grid,.report-grid,.executive-chart-grid,.executive-table-grid,.executive-decision-grid{width:100%;max-width:100%;min-width:0}.field-view.active{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}.phone,.mission-detail,.mobile-page{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}.mobile-role-nav{left:0!important;right:0!important;width:100%!important;max-width:100%!important;margin:0!important}.page-heading{width:100%;min-width:0}.page-heading>div{min-width:0}.page-heading h1,.page-heading p{overflow-wrap:anywhere}.top-actions{min-width:0}.date{min-width:0}.login-btn{max-width:110px;white-space:normal;line-height:1.2}.incident-row{max-width:100%;overflow:hidden}}
@media(max-width:760px){.dashboard-grid{display:block!important}.dashboard-grid>.panel{width:100%;margin-top:10px}.bottom-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}.bottom-grid>*{width:100%!important;min-width:0!important;grid-column:auto!important}.chart-body{display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;padding:14px!important}.donut,.progress-ring{width:120px!important;height:120px!important;min-width:120px!important;min-height:120px!important;max-width:120px!important;max-height:120px!important;aspect-ratio:1/1!important;flex:none!important}.response-card .progress-ring{margin:15px auto 10px!important}.response-values{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:7px 12px;padding:0 10px}.teams-card{grid-column:auto!important}.team-row{grid-template-columns:30px minmax(0,1fr) auto!important}.team-row b{overflow-wrap:anywhere}.map-canvas{width:100%;max-width:100%}.map-legend{gap:8px!important;justify-content:space-around!important;white-space:nowrap}.map-legend span{font-size:8px}.executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.executive-kpis .kpi-primary{grid-column:1/-1!important}.executive-chart-grid,.executive-table-grid,.executive-decision-grid{display:block!important}.operation-stats,.team-management-grid,.settings-grid,.live-map-grid{grid-template-columns:minmax(0,1fr)!important}.operation-list{grid-template-columns:minmax(0,1fr)!important}.mission-summary-card,.executive-panel,.mobile-card,.panel{max-width:100%;min-width:0}}
@media(max-width:430px){.chart-body{grid-template-columns:105px minmax(0,1fr)!important;gap:10px!important}.donut,.progress-ring{width:105px!important;height:105px!important;min-width:105px!important;min-height:105px!important;max-width:105px!important;max-height:105px!important}.donut:after,.progress-ring:after{inset:18px!important}.chart-body ul{font-size:10px;gap:6px}.progress-ring b{font-size:18px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.stat{min-width:0}.stat strong{font-size:19px}.stat span{overflow-wrap:anywhere}.executive-kpis{grid-template-columns:minmax(0,1fr)!important}.executive-kpis .kpi-primary{grid-column:auto!important}}
/* final responsive polish */
.incident-completed .priority-select,.incident-cancelled .priority-select{display:none}.incident-row .incident-detail-btn{font-size:11px!important;line-height:1.2;padding:7px 10px;min-width:72px;color:#1169c8}.incident-completed .incident-detail-btn{background:#e9f8f0;border-color:#bce7d0;color:#07894a}.incident-cancelled .incident-detail-btn{background:#f1f3f6;border-color:#d9e0e8;color:#66768a}
@media(min-width:761px) and (max-height:1200px){.main{padding-bottom:34px}.topbar{height:68px}.view{padding-top:16px;padding-bottom:18px}.page-heading{margin-bottom:13px}.page-heading h1{font-size:22px}.stat{padding:12px 14px}.stat-icon{width:48px;height:48px}.dashboard-grid{margin-top:9px}.map-canvas{height:258px}.panel-head{height:46px}.incident-row{padding-top:6px;padding-bottom:6px;margin-top:3px;margin-bottom:3px}.bottom-grid{margin-top:9px}.chart-body{padding:11px 14px}.donut,.progress-ring{width:108px;height:108px}.donut:after,.progress-ring:after{inset:18px}.progress-ring{margin-top:10px;margin-bottom:6px}.team-row{padding-top:7px;padding-bottom:7px}}
@media(max-width:760px){body{padding-bottom:calc(126px + env(safe-area-inset-bottom))!important}.view,.view.active{padding-bottom:calc(132px + env(safe-area-inset-bottom))!important}.field-view.active{padding-bottom:calc(112px + env(safe-area-inset-bottom))!important}.mobile-role-nav{min-height:72px}.login-btn{max-width:none!important;white-space:nowrap!important;font-size:11px!important;padding:8px 10px!important}.team-row>small{display:none!important}.team-row{grid-template-columns:30px minmax(0,1fr) auto!important}.incident-row-actions{gap:6px;align-items:center}.incident-row .incident-detail-btn{font-size:10px!important;padding:7px 9px}.incident-completed .incident-detail-btn:before{content:"▤ ";}.page-heading>.primary-btn{max-width:118px;line-height:1.35;padding:10px 12px}}

/* iOS Home Screen: keep account actions reachable and respect both safe areas. */
.mobile-account-dialog{border:0;padding:0;background:transparent}
.mobile-account-sheet{position:relative;width:min(88vw,360px);padding:28px 22px 22px;border-radius:24px;background:#fff;text-align:center;box-shadow:0 24px 70px rgba(3,30,54,.28)}
.mobile-account-avatar{width:72px;height:72px;margin:0 auto 12px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(145deg,#eaf5ff,#d9eaff);color:#0b69cf;font-size:32px;font-weight:800}
.mobile-account-avatar .role-avatar-icon{font-size:32px}.mobile-account-avatar img{width:100%;height:100%;object-fit:cover;border-radius:22px}
.mobile-account-sheet h2{margin:6px 0 2px}.mobile-account-sheet p{margin:0 0 20px;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:760px){
  .mobile-account-nav{order:-1}
  .mobile-account-nav.signed-in{color:#08744a}
  html.ios-standalone .topbar{height:calc(60px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}
  html.ios-standalone .notification-panel{top:calc(64px + env(safe-area-inset-top))}
  html.ios-standalone body{min-height:100dvh}
}
/* field operations UX */
.phone{position:relative;background:radial-gradient(circle at 90% 4%,rgba(36,139,218,.28),transparent 24%),linear-gradient(165deg,#041b31,#06395e 70%,#052943);border:1px solid rgba(255,255,255,.1)}.phone:before{content:"FIELD COMMAND";position:absolute;right:18px;top:5px;color:rgba(255,255,255,.08);font-size:28px;font-weight:900;letter-spacing:2px;pointer-events:none}.phone-top{position:relative;z-index:1}.phone-top>div{display:grid;gap:2px}.phone-top em{font-size:8px;color:#72bde8;font-style:normal}.phone-top .bell{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.1);color:#fff}.hello{position:relative;z-index:1}.mission-card{position:relative;overflow:hidden;transition:background .25s,border-color .25s,box-shadow .25s}.mission-card:after{content:"";position:absolute;right:-55px;bottom:-70px;width:190px;height:190px;border:30px solid rgba(255,255,255,.07);border-radius:50%;pointer-events:none}.mission-card.ready-state{background:radial-gradient(circle at 85% 15%,rgba(69,180,240,.28),transparent 25%),linear-gradient(145deg,#0b69b8,#073d70);border-color:#3d91cf;box-shadow:0 14px 30px rgba(4,38,68,.25)}.mission-card.urgent-state{background:radial-gradient(circle at 85% 15%,rgba(255,130,111,.34),transparent 25%),linear-gradient(145deg,#e43831,#a80f0a);border-color:#ff766e;box-shadow:0 14px 32px rgba(159,22,16,.28)}.mission-card.active-state{background:radial-gradient(circle at 86% 14%,rgba(75,183,245,.3),transparent 25%),linear-gradient(145deg,#0878d5,#07508f);border-color:#54a8e5;box-shadow:0 14px 30px rgba(5,76,133,.27)}.mission-card.ready-state .mission-meta em{background:#ffffff20}.mission-card.active-state .mission-meta em{background:#ffffff20}.mission-card>button{position:relative;z-index:1;border:1px solid rgba(255,255,255,.5);background:#fff;color:#075797;box-shadow:0 7px 20px rgba(0,0,0,.12)}.mission-card.ready-state>button:disabled{background:rgba(255,255,255,.16);color:#d9eeff;border-color:rgba(255,255,255,.24);opacity:1}.mission-detail{border-color:#dbe7f2;box-shadow:0 16px 45px rgba(9,48,82,.1)}.detail-head{background:linear-gradient(110deg,#052943,#0872bd)}.field-stage-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:16px 0 18px;padding:0 3px}.field-stage-rail span{position:relative;padding-top:25px;text-align:center;color:#8a98a9;font-size:8px;font-weight:700}.field-stage-rail span:before{content:"";position:absolute;top:3px;left:50%;transform:translateX(-50%);width:16px;height:16px;border:3px solid #d9e3ed;background:#fff;border-radius:50%;z-index:2}.field-stage-rail span:after{content:"";position:absolute;top:10px;right:50%;width:100%;height:3px;background:#dfe7ef;z-index:1}.field-stage-rail span:first-child:after{display:none}.field-stage-rail span.done{color:#1475ee}.field-stage-rail span.done:before{content:"✓";border-color:#1475ee;background:#1475ee;color:#fff;font-size:8px;display:grid;place-items:center}.field-stage-rail span.done:after,.field-stage-rail span.current:after{background:#1475ee}.field-stage-rail span.current{color:#075da9}.field-stage-rail span.current:before{border-color:#1475ee;box-shadow:0 0 0 5px rgba(20,117,238,.14)}.quick-menu{border:1px solid rgba(255,255,255,.15);box-shadow:0 10px 25px rgba(0,20,38,.18)}.quick-menu button{border-radius:10px;padding:7px 2px;transition:background .18s}.quick-menu button:hover{background:#edf6ff}.action-grid button{border:1px solid #d9e8f8;background:linear-gradient(145deg,#f8fbff,#edf6ff);font-weight:700}.field-note-label textarea:focus{outline:0;border-color:#1475ee;box-shadow:0 0 0 3px rgba(20,117,238,.12)}#saveFieldReport{border-color:#b9d4f0;color:#075daa;font-weight:700}#statusBtn{background:linear-gradient(135deg,#147cf3,#0754a8);box-shadow:0 9px 22px rgba(20,117,238,.22)}#statusBtn:disabled{box-shadow:none;opacity:.5}
@media(max-width:760px){.phone{min-height:auto!important;padding-top:18px}.phone:before{font-size:20px}.mission-card{border-radius:18px}.field-stage-rail{margin-top:13px}.field-stage-rail span{font-size:7px}.detail-card{padding-bottom:20px}}

/* mobile pull-to-refresh */
.pull-refresh-indicator{--pull-distance:0px;position:fixed;z-index:500;top:calc(env(safe-area-inset-top) + 8px);left:50%;display:flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid rgba(185,207,230,.85);border-radius:999px;background:rgba(255,255,255,.96);color:#46627d;box-shadow:0 10px 28px rgba(7,43,75,.2);font-size:11px;font-weight:800;opacity:0;transform:translate(-50%,calc(var(--pull-distance) - 66px));transition:opacity .15s,transform .15s;pointer-events:none;white-space:nowrap}.pull-refresh-indicator i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#eaf4ff;color:#1172d4;font-style:normal;font-size:15px}.pull-refresh-indicator.ready{color:#075dab;border-color:#99c8f4}.pull-refresh-indicator.ready i{background:#1475ee;color:#fff}.pull-refresh-indicator.refreshing{opacity:1}.pull-refresh-indicator.refreshing i{animation:pull-refresh-spin .75s linear infinite}@keyframes pull-refresh-spin{to{transform:rotate(360deg)}}
@media(min-width:761px){.pull-refresh-indicator{display:none}}
@media(max-width:760px){html,body{overscroll-behavior-y:contain}.pull-refresh-indicator{display:flex}}

/* touch-first incident map picker: the map moves under one fixed, precise pin */
.manual-pin-layer{touch-action:none;cursor:grab;background:rgba(5,30,52,.04)}.manual-pin-layer.dragging{cursor:grabbing}.manual-pin-layer~*{user-select:none}.manual-pin-layer .manual-pin{display:block!important;left:50%!important;top:50%!important;width:38px;height:48px;color:transparent;z-index:5;filter:drop-shadow(0 5px 5px rgba(41,31,25,.35));pointer-events:none}.manual-pin-layer .manual-pin:before{content:"";position:absolute;left:50%;top:2px;width:31px;height:31px;transform:translateX(-50%) rotate(45deg);border-radius:50% 50% 50% 5px;background:linear-gradient(135deg,#ff4d45,#cc1711);border:3px solid #fff}.manual-pin-layer .manual-pin:after{content:"";position:absolute;left:50%;top:12px;width:9px;height:9px;transform:translateX(-50%);border-radius:50%;background:#fff;box-shadow:0 0 0 3px rgba(118,10,6,.2)}#manualPinHint{position:absolute;z-index:6;left:50%;top:auto;bottom:13px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 116px);padding:7px 12px;border-radius:999px;background:rgba(5,38,65,.86);color:#fff;font-size:10px;font-weight:700;text-align:center;white-space:normal;box-shadow:0 7px 18px rgba(3,30,52,.22);pointer-events:none}.manual-map-tools{position:absolute;z-index:7;right:10px;top:50%;transform:translateY(-50%);display:grid;gap:6px}.manual-map-tools button{width:42px;height:42px;border:1px solid #d2dfec;border-radius:12px;background:rgba(255,255,255,.96);color:#075fae;box-shadow:0 5px 14px rgba(8,46,76,.18);font-size:22px;font-weight:800;display:grid;place-items:center;padding:0}.manual-map-tools button:last-child{font-size:19px;color:#078c51}.manual-map-tools button:active{transform:scale(.94);background:#eaf4ff}.mini-map #citizenMap{will-change:transform;transition:transform .08s linear}.manual-pin-layer.dragging+#manualPinActions,.manual-pin-layer.dragging{user-select:none}.manual-pin-actions{gap:9px}.manual-pin-actions button{min-height:44px}
@media(max-width:760px){.location-card .mini-map{height:330px;min-height:330px}.manual-map-tools button{width:46px;height:46px}.manual-pin-layer .manual-pin{width:42px;height:52px}#manualPinHint{bottom:12px;max-width:calc(100% - 128px);font-size:9px}.manual-pin-actions{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));z-index:18;background:#fff;padding:9px 0}.manual-pin-actions .primary-btn{flex:1}}

/* iOS/WebKit login guard: prevent focus zoom and keep dialogs inside the visual viewport */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.app-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;overscroll-behavior:contain}.app-dialog form{max-width:100%;overflow-x:hidden}.app-dialog input,.app-dialog select,.app-dialog textarea{min-width:0;max-width:100%}
@media(max-width:760px){.app-dialog{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 18px)!important;border-radius:18px}.app-dialog form{width:100%;padding:22px 18px 20px}.app-dialog h2{font-size:22px;line-height:1.3;overflow-wrap:anywhere}.app-dialog p{font-size:13px;line-height:1.55}.app-dialog label{font-size:13px}.app-dialog input,.app-dialog select,.app-dialog textarea{width:100%;font-size:16px!important;line-height:1.35;min-height:48px;padding:12px 13px}.app-dialog .primary-btn,.app-dialog .demo-btn{width:100%;min-height:48px;font-size:15px}.dialog-icon{width:48px;height:54px}.dialog-close{z-index:3;min-width:40px;min-height:40px}.app-dialog:focus{outline:0}}
@media(max-width:760px){html.ios-chromium #authDialog[open]{position:fixed;inset:max(10px,env(safe-area-inset-top)) 12px auto;width:auto!important;max-width:none!important;max-height:calc(100dvh - max(20px,env(safe-area-inset-top)) - 10px)!important;margin:0;overflow:auto;transform:none}html.ios-chromium #authDialog input{font-size:17px!important}html.ios-chromium body{min-width:0!important;width:100%!important}}

/* compact desktop density for laptop-height screens (MacBook 13–16 inch at 100% browser zoom) */
@media(min-width:1101px) and (max-height:1150px){.sidebar{width:220px;padding-top:16px}.main{margin-left:220px}.sidebar nav{margin-top:22px;gap:3px}.nav-item{padding:9px 12px;font-size:13px}.line-card{padding:9px}.profile{padding-top:10px;margin-top:9px}.topbar{height:60px;padding-left:20px;padding-right:20px}.system-ok,.date{padding:6px 10px}.bell{width:40px;height:40px}.view{padding:12px 18px 16px}.page-heading{margin-bottom:10px}.page-heading h1{font-size:21px}.page-heading p{font-size:11px}.stat-grid{gap:9px}.stat{padding:10px 13px;gap:10px}.stat-icon{width:44px;height:44px;font-size:21px}.stat strong{font-size:21px}.dashboard-grid{gap:9px;margin-top:9px}.panel-head{height:42px;padding-left:14px;padding-right:14px}.map-canvas{height:230px}.incident-row{padding:5px 11px;gap:8px;margin:2px 0}.incident-row .type-icon{width:31px;height:31px}.incident-row b{font-size:11px}.incident-row small,.incident-row time{font-size:9px}.status{padding:5px 7px;min-width:70px}.bottom-grid{gap:9px;margin-top:9px}.chart-body{padding:9px 12px;gap:14px}.donut,.progress-ring{width:96px;height:96px}.donut:after,.progress-ring:after{inset:17px}.donut b,.progress-ring b{font-size:19px}.team-row{padding:6px 11px}.response-card{padding-bottom:7px}.progress-ring{margin-top:7px}.brand strong{font-size:17px}.brand span{font-size:11px}}
@media(min-width:1101px) and (max-height:850px){.topbar{height:54px}.view{padding-top:8px}.page-heading{margin-bottom:7px}.stat{padding-top:7px;padding-bottom:7px}.map-canvas{height:205px}.panel-head{height:38px}.incident-row{padding-top:3px;padding-bottom:3px}.bottom-grid{margin-top:7px}.chart-body{padding-top:6px;padding-bottom:6px}.donut,.progress-ring{width:86px;height:86px}.donut:after,.progress-ring:after{inset:15px}}

/* offline operations queue */
.offline-banner{position:fixed;z-index:520;left:50%;top:12px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;max-width:calc(100vw - 24px);padding:8px 10px;border:1px solid #f0be75;border-radius:999px;background:rgba(255,247,232,.97);color:#9b5500;box-shadow:0 10px 30px rgba(73,46,9,.2);font-size:10px;font-weight:800;white-space:nowrap}.offline-banner i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#ff9017;color:#fff;font-style:normal}.offline-banner b{min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#d96d00;color:#fff;display:grid;place-items:center}.offline-banner button{border:0;border-radius:999px;padding:6px 10px;background:#fff;color:#a75a00;font-size:9px;font-weight:800}.offline-banner.online{border-color:#91c8f6;background:rgba(239,248,255,.97);color:#0866b6}.offline-banner.online i,.offline-banner.online b{background:#1475ee}.offline-banner.online button{color:#0866b6}.offline-banner[hidden]{display:none!important}.offline-banner button[hidden]{display:none!important}
@media(max-width:760px){.offline-banner{top:calc(env(safe-area-inset-top) + 7px);font-size:9px}.offline-banner span{max-width:56vw;overflow:hidden;text-overflow:ellipsis}.offline-banner button{padding:6px 8px}}

/* refined command-center brand */
.brand{min-width:0;gap:10px}.brand-copy{min-width:0;display:grid;align-content:center;gap:1px}.brand-copy>small{color:#72b9e8;font-size:7px;font-weight:800;letter-spacing:1.35px;line-height:1.2}.brand-copy>strong{display:flex!important;align-items:center;gap:5px;min-width:0;color:#fff;font-size:15px!important;line-height:1.2;white-space:nowrap;letter-spacing:-.2px}.brand-copy>strong em{flex:none;padding:3px 5px;border-radius:5px;background:linear-gradient(135deg,#ff4f47,#d6251f);color:#fff;font-size:8px;font-style:normal;letter-spacing:0}.brand-copy>[data-brand-org]{min-width:0;color:#b8d3e9!important;font-size:9px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar>.brand{padding:2px 3px 10px;border-bottom:1px solid rgba(255,255,255,.1)}.sidebar>.brand .crest{flex:0 0 auto;width:48px;height:55px}.mobile-header .brand-copy>strong{font-size:13px!important;color:#102944}.mobile-header .brand-copy>small{color:#3e83b7}.mobile-header .brand-copy>[data-brand-org]{color:#6e7b91!important}

/* user profile management */
.user-profile-dialog{width:min(720px,calc(100vw - 28px))}.user-profile-dialog form{padding:26px 30px}.profile-form-kicker{display:block;color:#1676d2;font-size:8px;font-weight:900;letter-spacing:1.6px;text-align:center}.user-profile-dialog h2{font-size:21px}.user-profile-dialog p b,.user-profile-dialog label>b{color:#e03a33}.user-profile-dialog label em{margin-left:auto;color:#8795a5;font-size:8px;font-style:normal;font-weight:500}.user-profile-dialog .full-field{grid-column:1/-1}.profile-editor-head{display:grid;grid-template-columns:82px 1fr;gap:16px;align-items:center;padding:5px 0 15px;border-bottom:1px solid #e7edf4}.profile-editor-head h2,.profile-editor-head p,.profile-editor-head .profile-form-kicker{text-align:left}.profile-editor-head h2{margin:2px 0}.profile-avatar-preview{width:78px;height:78px;border-radius:24px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#e6f2ff,#c9e2fb);color:#0c6bc4;font-size:28px;font-weight:900;box-shadow:0 8px 22px rgba(14,90,158,.15)}.profile-avatar-preview img,.user-cell i img{width:100%;height:100%;object-fit:cover}.avatar-upload{display:flex!important;align-items:center;gap:8px;padding:10px 12px!important;margin:12px 0 4px!important;border:1px dashed #b8cee4;border-radius:10px;background:#f7fbff}.avatar-upload input{margin-left:auto;max-width:260px}.profile-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:17px;padding-top:15px;border-top:1px solid #e7edf4}.edit-user{border:1px solid #b8d5f4;background:#edf6ff;color:#0865bd;border-radius:7px;padding:6px 9px;font-weight:700;white-space:nowrap}.user-cell i{overflow:hidden}.user-cell i img{display:block}.users-panel tbody tr:hover{background:#f7fbff}.role-pill{font-weight:700}.form-grid label{min-width:0}
@media(max-width:760px){.user-profile-dialog{width:calc(100vw - 18px)!important;max-width:calc(100vw - 18px)!important}.user-profile-dialog form{padding:22px 16px}.profile-editor-head{grid-template-columns:64px 1fr}.profile-avatar-preview{width:62px;height:62px;border-radius:18px}.profile-editor-head h2{font-size:18px;text-align:left}.avatar-upload{display:grid!important}.avatar-upload input{margin:0;max-width:100%}.profile-form-actions{display:grid}.profile-form-actions button{width:100%}.brand-copy>strong{font-size:13px!important}}

/* semantic rescue-team icon system and cards */
.team-management-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.team-management-card{--team-accent:#1475ee;--team-soft:#eaf4ff;position:relative;overflow:hidden;grid-template-columns:62px minmax(0,1fr) auto;gap:13px 15px;align-items:center;padding:19px 18px 16px;border:1px solid #dfe8f1;border-radius:18px;box-shadow:0 10px 28px rgba(15,56,92,.09);transition:transform .18s,box-shadow .18s}.team-management-card:hover{transform:translateY(-2px);box-shadow:0 15px 34px rgba(15,56,92,.14)}.team-management-card.team-fire{--team-accent:#e83b34;--team-soft:#fff0ef}.team-management-card.team-ems{--team-accent:#1475ee;--team-soft:#eaf4ff}.team-management-card.team-medical{--team-accent:#12a865;--team-soft:#e9f8f1}.team-management-card.team-rescue{--team-accent:#ff8b16;--team-soft:#fff3e5}.team-management-card.team-volunteer{--team-accent:#7157d9;--team-soft:#f1edff}.team-card-accent{position:absolute;inset:0 auto 0 0;width:5px;background:var(--team-accent)}.team-symbol{width:60px;height:60px;border-radius:17px;background:var(--team-soft);color:var(--team-accent);box-shadow:none}.team-symbol svg,.mini-crest svg{width:30px;height:30px;fill:currentColor}.team-symbol svg .cut,.mini-crest svg .cut{fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round}.team-card-copy{min-width:0}.team-card-copy>span{color:var(--team-accent);font-size:8px;font-weight:900;letter-spacing:.8px}.team-card-copy h2{margin:3px 0;font-size:14px;white-space:normal;line-height:1.4}.team-card-copy p{margin:2px 0;font-size:10px}.team-card-copy p a{color:#64758a;text-decoration:none}.team-card-copy p a:hover{color:var(--team-accent)}.team-readiness{align-self:start;display:flex;align-items:center;gap:5px;padding:6px 8px;border-radius:999px;background:#e9f8f0;color:#07894d;font-size:8px;font-weight:800;white-space:nowrap}.team-readiness i,.team-row em i{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(14,171,98,.12)}.team-management-card.status-busy .team-readiness{background:#fff2e3;color:#d66c00}.team-management-card.status-inactive .team-readiness{background:#eef1f5;color:#68778a}.team-status-control{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;padding-top:12px;border-top:1px solid #e8eef4}.team-status-control small{color:#7b899b;font-size:8px;font-weight:700}.team-status-control .team-status{grid-column:auto;width:100%;padding:8px 10px;border-color:#d8e3ee;background:#f8fbfe;color:#2f465f;font-weight:700}
#dashboardTeams .team-row{--team-accent:#1475ee;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;padding:9px 13px}.team-row.team-fire{--team-accent:#e83b34}.team-row.team-ems{--team-accent:#1475ee}.team-row.team-medical{--team-accent:#12a865}.team-row.team-rescue{--team-accent:#ff8b16}.team-row.team-volunteer{--team-accent:#7157d9}#dashboardTeams .mini-crest{width:36px;height:36px;border-radius:11px;background:#eaf4ff;color:var(--team-accent)}#dashboardTeams .team-fire .mini-crest{background:#fff0ef}#dashboardTeams .team-medical .mini-crest{background:#e9f8f1}#dashboardTeams .team-rescue .mini-crest{background:#fff3e5}#dashboardTeams .team-volunteer .mini-crest{background:#f1edff}#dashboardTeams .mini-crest svg{width:21px;height:21px}#dashboardTeams .team-row>div{display:grid;min-width:0}#dashboardTeams .team-row b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#dashboardTeams .team-row small{display:block!important;color:#8592a2;font-size:7px}#dashboardTeams .team-row em{display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:8px;font-style:normal;font-weight:800;white-space:nowrap}.team-state-available{background:#e8f8ef;color:#07894d}.team-state-busy{background:#fff2e3;color:#d66c00}.team-state-inactive{background:#eef1f5;color:#68778a}
@media(max-width:1100px){.team-management-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.team-management-grid{grid-template-columns:1fr}.team-management-card{grid-template-columns:56px minmax(0,1fr)}.team-symbol{width:54px;height:54px}.team-readiness{grid-column:2;justify-self:start}.team-status-control{grid-column:1/-1}}

/* SLA warnings and autosave feedback */
.sla-badge{display:inline-flex!important;align-items:center;margin-left:5px;padding:3px 7px;border-radius:999px;font-size:8px!important;font-style:normal;font-weight:900;white-space:nowrap}.sla-badge.warning{background:#fff1dc;color:#c86500}.sla-badge.critical{background:#ffe4e2;color:#c9221c;animation:sla-soft-pulse 1.8s ease-in-out infinite}.incident-row.sla-row-warning{border-left-color:#ff9017}.incident-row.sla-row-critical{border-left-color:#e7352e;background:linear-gradient(90deg,#fff5f4,#fff)}@keyframes sla-soft-pulse{50%{box-shadow:0 0 0 4px rgba(231,53,46,.08)}}
@media(max-width:760px){.sla-badge{margin:4px 2px 0 0}.incident-row.sla-row-critical{box-shadow:inset 3px 0 #e7352e}}
/* Command Center dashboard */
#dashboard{position:relative}
.command-hero{position:relative;isolation:isolate;min-height:154px;padding:25px 28px;border-radius:22px;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;color:#fff;background:radial-gradient(circle at 84% 35%,rgba(33,147,255,.36),transparent 24%),linear-gradient(125deg,#031d35 0%,#073b62 57%,#075a91 100%);box-shadow:0 18px 42px rgba(5,39,72,.22)}
.command-hero:before{content:"";position:absolute;z-index:-1;inset:0;opacity:.18;background-image:linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(90deg,transparent,#000)}
.command-hero:after{content:"";position:absolute;z-index:-1;width:290px;height:290px;right:-65px;top:-78px;border:1px solid rgba(92,193,255,.38);border-radius:50%;box-shadow:0 0 0 42px rgba(69,176,255,.08),0 0 0 84px rgba(69,176,255,.05)}
.command-hero-copy{min-width:0;position:relative;z-index:1}.command-kicker{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:800;letter-spacing:1.8px;color:#91d2ff}.command-kicker i,.command-meta i{width:8px;height:8px;border-radius:50%;background:#28dc8d;box-shadow:0 0 0 5px rgba(40,220,141,.14);animation:commandPulse 2s infinite}.command-hero h1{font-size:29px;line-height:1.2;margin:10px 0 3px;color:#fff}.command-hero p{margin:0;color:#c5dded;font-size:13px}.command-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.command-meta span{display:flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);padding:5px 9px;border-radius:99px;color:#dcebf5;font-size:9px;backdrop-filter:blur(8px)}
.command-actions{position:relative;z-index:2;display:flex;gap:9px;flex-shrink:0}.command-actions button{border-radius:11px;padding:11px 15px;font-size:11px;font-weight:800;cursor:pointer}.command-primary{border:1px solid #4da9ff;background:linear-gradient(135deg,#1687ff,#0867d9);color:#fff;box-shadow:0 9px 20px rgba(0,105,220,.3)}.command-secondary{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff;backdrop-filter:blur(9px)}
.command-alert-strip{position:relative;z-index:3;margin:-12px 18px 17px;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #dfe9f3;border-radius:15px;box-shadow:0 10px 25px rgba(23,63,102,.1);overflow:hidden}.command-alert-strip article{position:relative;padding:13px 17px;border-right:1px solid #e7edf4}.command-alert-strip article:last-child{border:0}.command-alert-strip article:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:#217de0}.command-alert-strip article:nth-child(1):before{background:#17ae69}.command-alert-strip article:nth-child(2):before{background:#f04b43}.command-alert-strip article:nth-child(3):before{background:#805edc}.command-alert-strip span{display:block;color:#718198;font-size:9px}.command-alert-strip b{display:block;margin-top:2px;font-size:14px;color:#112542}.command-level{width:max-content;padding:2px 8px;border-radius:99px}.command-level.normal{color:#0d9557;background:#e8f8f0}.command-level.watch{color:#1669c8;background:#eaf3ff}.command-level.warning{color:#d97500;background:#fff3df}.command-level.critical{color:#d82c26;background:#ffe9e7}
#dashboard .stat-grid{gap:12px}#dashboard .stat{position:relative;overflow:hidden;border:1px solid #dce7f2;border-radius:16px;box-shadow:0 8px 25px rgba(24,66,108,.08)}#dashboard .stat:after{content:"";position:absolute;right:-28px;bottom:-38px;width:96px;height:96px;border-radius:50%;background:var(--stat-glow,#eaf3ff);opacity:.65}#dashboard .stat:nth-child(1){--stat-glow:#ffe1df}#dashboard .stat:nth-child(2){--stat-glow:#fff0d9}#dashboard .stat:nth-child(3){--stat-glow:#dcecff}#dashboard .stat:nth-child(4){--stat-glow:#dff7e9}#dashboard .stat>div{position:relative;z-index:1}
#dashboard .dashboard-grid{grid-template-columns:minmax(390px,.92fr) minmax(520px,1.35fr);gap:12px;margin-top:12px}#dashboard .panel{border-radius:17px;border-color:#dce7f2;box-shadow:0 10px 28px rgba(24,66,108,.09);overflow:hidden}#dashboard .panel-head{height:55px;padding:0 17px;background:linear-gradient(180deg,#fff,#f9fbfe)}#dashboard .map-panel .panel-head{background:linear-gradient(110deg,#062944,#0a466e);border:0}#dashboard .map-panel .panel-head h2,#dashboard .map-panel .panel-head button{color:#fff}#dashboard .map-panel .panel-head h2 span{color:#a9c9dc}#dashboard .map-canvas{height:332px;border-radius:0}#dashboard .incident-list{max-height:332px;overflow:auto;scrollbar-width:thin}#dashboard .incident-row{transition:.18s ease}#dashboard .incident-row:hover{background:#f5f9fe;transform:translateX(2px)}
#dashboard .bottom-grid{gap:12px;margin-top:12px}#dashboard .bottom-grid>.panel{background:linear-gradient(180deg,#fff 0,#fbfdff 100%)}#dashboard .bottom-grid .panel-head h2:before{content:"OPERATIONS INTELLIGENCE";display:block;font-size:7px;letter-spacing:1.15px;color:#7c91a6;margin-bottom:2px}
@keyframes commandPulse{50%{opacity:.45;transform:scale(.82)}}
@media(min-width:761px) and (max-width:1180px){#dashboard .dashboard-grid{grid-template-columns:1fr 1.2fr}.command-actions{flex-direction:column}.command-actions button{width:180px}}
@media(min-width:761px) and (max-height:900px){.command-hero{min-height:112px;padding:16px 20px}.command-hero h1{font-size:23px;margin-top:6px}.command-meta{margin-top:9px}.command-alert-strip{margin-bottom:10px}.command-alert-strip article{padding-top:9px;padding-bottom:9px}#dashboard .map-canvas,#dashboard .incident-list{height:218px;max-height:218px}#dashboard .panel-head{height:42px}#dashboard .bottom-grid{margin-top:8px}}
@media(max-width:760px){.command-hero{min-height:0;padding:19px 17px 20px;border-radius:17px;display:grid;gap:16px}.command-hero:after{width:210px;height:210px;right:-100px}.command-kicker{font-size:8px;letter-spacing:1.2px}.command-hero h1{font-size:23px;margin-top:8px}.command-hero p{font-size:11px;line-height:1.5}.command-meta{margin-top:12px;gap:5px}.command-meta span{font-size:8px}.command-meta span:last-child{display:none}.command-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.command-actions button{padding:10px 8px}.command-alert-strip{margin:-8px 8px 12px;grid-template-columns:1fr 1fr;border-radius:13px}.command-alert-strip article{padding:10px 13px}.command-alert-strip article:nth-child(2){border-right:0}.command-alert-strip article:nth-child(-n+2){border-bottom:1px solid #e7edf4}.command-alert-strip b{font-size:12px}#dashboard .dashboard-grid{display:grid;grid-template-columns:1fr;gap:10px}#dashboard .map-panel{margin:0}#dashboard .map-canvas{height:300px}#dashboard .incident-list{max-height:none}#dashboard .bottom-grid{gap:10px}}
@media(max-width:430px){.command-hero{padding:17px 14px}.command-hero h1{font-size:21px}.command-meta span:nth-child(2){display:none}.command-actions button{font-size:10px}.command-alert-strip{margin-left:5px;margin-right:5px}#dashboard .stat{display:flex;padding:11px 9px}#dashboard .stat-icon{margin:0;flex:0 0 43px}#dashboard .stat span{font-size:11px}#dashboard .map-canvas{height:270px}}

/* Professional signed-in account card */
.account-card{position:relative;width:100%;min-width:0;border:1px solid rgba(157,204,239,.22);border-radius:15px;padding:11px!important;margin-top:14px!important;background:linear-gradient(135deg,rgba(255,255,255,.11),rgba(255,255,255,.045));color:#fff;text-align:left;cursor:pointer;transition:border-color .2s,background .2s,transform .2s;box-shadow:0 12px 25px rgba(0,13,27,.13)}
.account-card:hover{transform:translateY(-1px);border-color:rgba(119,197,255,.5);background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.07))}
.account-card:before{content:"บัญชีผู้ปฏิบัติงาน";position:absolute;left:64px;top:-8px;padding:1px 6px;border-radius:5px;background:#075082;color:#91cff6;font-size:6px;font-weight:900;letter-spacing:1px}
.account-avatar{position:relative;flex:0 0 44px!important;width:44px!important;height:44px!important;border:1px solid rgba(255,255,255,.45);border-radius:13px!important;overflow:visible!important;background:linear-gradient(145deg,#1687ed,#075fae)!important;color:#fff!important;box-shadow:0 6px 15px rgba(0,74,142,.3)}
.account-avatar[data-role="admin"]{background:linear-gradient(145deg,#7759de,#4d35a7)!important}.account-avatar[data-role="dispatcher"]{background:linear-gradient(145deg,#1687ed,#075fae)!important}.account-avatar[data-role="field_officer"]{background:linear-gradient(145deg,#ee4e47,#b62521)!important}.account-avatar[data-role="executive"]{background:linear-gradient(145deg,#d99d2e,#9b6608)!important}.account-avatar[data-role="community_leader"]{background:linear-gradient(145deg,#24b879,#08794b)!important}
.account-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:12px}.account-avatar>i{position:absolute;right:-3px;bottom:-3px;width:11px;height:11px;border:2px solid #074067;border-radius:50%;background:#27d98b;box-shadow:0 0 0 2px rgba(39,217,139,.1)}.account-avatar[data-role="guest"]>i{background:#8aa0b4}
.role-avatar-icon{display:grid;width:100%;height:100%;place-items:center;font-size:20px;font-style:normal;font-weight:900}.account-copy{min-width:0;flex:1;display:grid!important;gap:1px}.account-copy strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:12px!important;line-height:1.35}.account-copy>span{display:block!important;color:#9fd2f2!important;font-size:9px!important;font-weight:700}.account-copy small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7fa8c4;font-size:7px}.profile-chevron{flex:0 0 auto!important;width:22px;height:22px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.13);border-radius:7px;color:#b7d4e8!important;font-size:12px!important}
@media(min-width:1101px) and (max-height:850px){.account-card{padding:8px!important;margin-top:7px!important}.account-card:before,.account-copy small{display:none}.account-avatar{width:38px!important;height:38px!important;flex-basis:38px!important}.account-copy strong{font-size:10px!important}}

/* Citizen emergency report experience */
.citizen-view{background:radial-gradient(circle at 85% 5%,rgba(255,78,68,.07),transparent 24%),linear-gradient(180deg,#f6f9fd,#edf4fa)}.citizen-report-page{max-width:1240px}.citizen-sos-hero{position:relative;isolation:isolate;min-height:170px;padding:30px 36px;border-radius:23px;overflow:hidden;background:radial-gradient(circle at 78% 25%,rgba(255,105,95,.5),transparent 22%),linear-gradient(125deg,#7d100d 0%,#c6221d 48%,#f0443b 100%);box-shadow:0 18px 40px rgba(160,30,24,.22)}.citizen-sos-hero:before{content:"";position:absolute;z-index:-1;inset:0;opacity:.14;background-image:linear-gradient(rgba(255,255,255,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.2) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(90deg,#000,transparent)}.citizen-sos-hero h1{font-size:34px;margin:9px 0 1px}.citizen-sos-hero p{margin:0;color:#ffe4e1;font-size:13px}.sos-kicker{display:flex;align-items:center;gap:8px;font-size:9px;font-weight:800;letter-spacing:.4px;color:#ffd0cc}.sos-kicker i{width:8px;height:8px;border-radius:50%;background:#52f0a3;box-shadow:0 0 0 5px rgba(82,240,163,.13);animation:commandPulse 2s infinite}.hero-trust{display:flex;gap:7px;margin-top:16px}.hero-trust span{padding:5px 9px;border:1px solid rgba(255,255,255,.16);border-radius:99px;background:rgba(255,255,255,.08);font-size:8px;color:#ffeceb}.emergency-call{position:relative;z-index:2;min-width:145px;padding:15px 17px;border:1px solid rgba(255,255,255,.32);border-radius:16px;background:rgba(255,255,255,.94);color:#b71f19;text-decoration:none;text-align:center;box-shadow:0 12px 24px rgba(90,10,7,.2);transition:.2s}.emergency-call:hover{transform:translateY(-2px)}.emergency-call small{display:block;font-size:8px;color:#7a7f89}.emergency-call b{display:block;font-size:21px;margin-top:2px}
.report-stepper{display:grid;grid-template-columns:repeat(4,1fr);margin:-13px 24px 5px;position:relative;z-index:3;border:1px solid #dbe6f1;border-radius:15px;background:#fff;box-shadow:0 10px 25px rgba(27,66,105,.1);overflow:hidden}.report-stepper span{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 8px;color:#8492a4;font-size:9px;font-weight:700;border-right:1px solid #e8eef5;transition:.25s}.report-stepper span:last-child{border:0}.report-stepper i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#edf2f7;color:#6c7d91;font-style:normal;font-size:9px}.report-stepper .active{color:#0866c3;background:#f5faff}.report-stepper .active:after{content:"";position:absolute;inset:auto 18% 0;height:3px;border-radius:3px;background:#1475ee}.report-stepper .active i{background:#1475ee;color:#fff;box-shadow:0 0 0 5px rgba(20,117,238,.1)}.report-stepper .done{color:#0b9255}.report-stepper .done i{font-size:0;background:#15ae68;color:#fff}.report-stepper .done i:after{content:"✓";font-size:11px}
.citizen-report-page .mobile-card{border:1px solid #dce7f1;border-radius:18px;box-shadow:0 10px 30px rgba(29,67,103,.075)}.category-card{padding:20px 22px}.card-kicker{display:block;color:#1475ee;font-size:7px;font-weight:900;letter-spacing:1.5px;margin-bottom:2px}.category-card .section-title h2,.location-card .section-title h2{font-size:18px;margin:0}.category-card .section-title p,.location-card .section-title p{margin:2px 0 0;color:#718096;font-size:9px}.category-card .category-grid{margin-top:15px;gap:10px}.category-card .category-grid button{position:relative;min-width:0;padding:13px 7px 11px;gap:4px;border-radius:14px;border:1px solid #dde7f1;background:linear-gradient(180deg,#fff,#fbfdff);transition:transform .18s,border-color .18s,box-shadow .18s}.category-card .category-grid button:hover{transform:translateY(-2px);border-color:#acc9e7;box-shadow:0 8px 18px rgba(29,76,119,.1)}.category-card .category-grid button.selected{border:2px solid #f0433a;background:linear-gradient(180deg,#fff9f8,#fff);box-shadow:0 8px 20px rgba(232,51,43,.12)}.category-card .category-grid button.selected:after{content:"✓";position:absolute;right:8px;top:7px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#ef4038;color:#fff;font-size:9px}.category-card .category-grid i{width:48px;height:48px;margin-bottom:4px}.category-card .category-grid b{font-size:11px}.category-card .category-grid small{min-height:18px;color:#8491a2;font-size:7px;line-height:1.35;text-align:center}
.citizen-report-page .citizen-grid{grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:14px}.location-card,.report-form{margin-top:14px}.location-card{padding:20px}.location-card .section-title{align-items:flex-start}.location-card .gps{flex:0 0 auto;border-radius:99px;padding:5px 9px;background:#f0f3f7;color:#68798d;font-size:8px;font-weight:800}.location-card .gps.ready{background:#e6f8ef;color:#098b50}.location-card .gps.locating{background:#fff3e2;color:#cc7000}.location-card .gps.error{background:#ffe9e7;color:#d32e27}.location-methods{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0 10px}.location-methods button{display:flex;align-items:center;gap:10px;min-width:0;padding:11px 12px;border:1px solid #d5e2ef;border-radius:12px;background:#fff;color:#17324f;text-align:left;cursor:pointer;transition:.18s}.location-methods button:hover,.location-methods button.active{border-color:#4d9cec;background:#f0f7ff;box-shadow:0 6px 16px rgba(19,105,188,.1)}.location-methods button:disabled{opacity:.65}.location-methods button>i{flex:0 0 36px;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#e8f3ff;color:#0b70d3;font-size:18px;font-style:normal}.location-methods button:nth-child(2)>i{background:#fff0ef;color:#e23932}.location-methods button span{display:grid;min-width:0}.location-methods button b{font-size:10px}.location-methods button small{font-size:7px;color:#7d8c9e}.citizen-location-map{height:340px;border:1px solid #d6e2ed;border-radius:15px;background:#dfe9e4;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}.citizen-location-map iframe{transition:opacity .18s}.map-provider{position:absolute!important;left:10px!important;top:10px!important;z-index:4;padding:4px 7px;border-radius:6px;background:rgba(5,37,63,.78);color:#fff;font-size:6px!important;font-weight:900;letter-spacing:1px;pointer-events:none}.location-confirmation{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:10px;padding:11px 12px;border:1px solid #dbe4ed;border-radius:13px;background:#f8fafc;transition:.2s}.location-confirmation>i{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#e9eef4;color:#6b7d90;font-size:20px;font-style:normal}.location-confirmation>div{display:grid!important;min-width:0}.location-confirmation span{font-size:7px;font-weight:900;letter-spacing:.5px;color:#76879a}.location-confirmation b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.location-confirmation small{font-size:7px;color:#73849a}.location-confirmation>button{border:1px solid #c9daea;border-radius:9px;padding:7px 9px;background:#fff;color:#116ec5;font-size:8px}.location-confirmation.confirmed{border-color:#bce6d1;background:#f1fbf6}.location-confirmation.confirmed>i{background:#13ae67;color:#fff}.location-confirmation.confirmed span{color:#078d50}.manual-draft-coords{position:absolute;z-index:7;left:10px;top:10px;padding:5px 8px;border-radius:7px;background:rgba(255,255,255,.94);color:#17405f;font-size:7px;font-weight:800;box-shadow:0 4px 12px rgba(10,39,63,.15);pointer-events:none}.manual-pin-layer #manualPinHint{bottom:14px}.manual-pin-layer .manual-draft-coords+#manualPinHint{bottom:14px}
.report-form{padding:20px!important;gap:9px}.report-form .identity-banner{margin-bottom:3px;padding:10px 11px;border-radius:12px}.report-form .card-kicker{margin-top:3px}.report-form>h2{font-size:18px}.form-intro{margin:-4px 0 4px;color:#738298;font-size:8px;line-height:1.5}.field-shell{display:block;padding:9px 11px 10px;border:1px solid #dce5ef;border-radius:11px;background:#fbfdff;transition:border-color .18s,box-shadow .18s}.field-shell:focus-within{border-color:#4a9cf0;box-shadow:0 0 0 3px rgba(20,117,238,.09);background:#fff}.field-shell>span{display:block;color:#52667d;font-size:8px;font-weight:800}.required-field>span:after{content:" *";color:#e83c35}.report-form .field-shell input,.report-form .field-shell textarea{display:block;width:100%;border:0!important;border-radius:0!important;padding:5px 0 0!important;margin:0!important;background:transparent!important;outline:0;font-size:11px}.report-form .field-shell textarea{height:85px;line-height:1.55}.report-form .field-shell input[readonly]{color:#1475ee;font-weight:800}.report-form .address-help{margin:-5px 3px 0;padding:5px 8px;background:#f1f6fb;font-size:7px}.report-form .photo-btn{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 11px;border:1px dashed #9fbcd8;border-radius:12px;background:#f5faff;color:#173f64;text-align:left;cursor:pointer}.photo-btn>i{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#e2f0ff;color:#1475ee;font-style:normal;font-size:18px}.photo-btn>span{display:grid}.photo-btn b{font-size:9px}.photo-btn small{font-size:7px;color:#70859a}.photo-btn em{font-size:18px;color:#1475ee;font-style:normal}.report-readiness{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:11px;background:#fff6e8;border:1px solid #f5dfbb}.report-readiness>i{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#ff941e;color:#fff;font-style:normal;font-weight:900}.report-readiness span{display:grid}.report-readiness b{font-size:9px}.report-readiness small{font-size:7px;color:#7f715c}.report-readiness.ready{background:#edf9f3;border-color:#bee7d1}.report-readiness.ready>i{background:#11ad66}.report-readiness.ready small{color:#5d7d6c}.report-submit{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border-radius:12px!important;opacity:.85;transition:.2s}.report-submit.is-ready{opacity:1;box-shadow:0 10px 22px rgba(213,44,37,.22)}.report-submit b{font-size:18px}.submit-trust{text-align:center;color:#8794a5;font-size:7px;line-height:1.4}
@media(max-width:900px){.citizen-report-page .citizen-grid{grid-template-columns:1fr}.report-form{margin-top:0}}
@media(max-width:760px){.citizen-view{padding-top:0!important}.citizen-report-page{padding-bottom:12px}.citizen-sos-hero{min-height:145px;margin:8px 0 0!important;padding:21px 18px;border-radius:18px}.citizen-sos-hero h1{font-size:26px}.citizen-sos-hero p{font-size:10px;max-width:230px}.hero-trust{display:none}.emergency-call{min-width:105px;padding:11px 9px}.emergency-call b{font-size:17px}.report-stepper{position:sticky;top:65px;z-index:9;margin:-9px 7px 5px;border-radius:12px}.report-stepper span{gap:4px;padding:9px 4px}.report-stepper i{width:21px;height:21px}.report-stepper b{font-size:7px}.category-card{margin-top:10px!important;padding:16px 13px!important}.category-card .category-grid{grid-template-columns:repeat(3,1fr);gap:7px}.category-card .category-grid button{padding:10px 4px 8px}.category-card .category-grid small{font-size:6px}.citizen-report-page .citizen-grid{gap:10px}.location-card{margin-top:0!important;padding:16px 13px!important}.location-card .section-title{gap:8px}.location-card .section-title p{max-width:250px}.citizen-location-map{height:360px;min-height:360px!important}.manual-draft-coords{top:9px}.manual-pin-actions{bottom:calc(80px + env(safe-area-inset-bottom))}.location-confirmation{grid-template-columns:34px minmax(0,1fr) auto}.location-confirmation>i{width:34px;height:34px}.report-form{padding:16px 13px!important;margin-top:0!important}.report-form .field-shell input,.report-form .field-shell textarea{font-size:16px!important}.report-form .field-shell textarea{height:100px}.report-submit{position:relative;min-height:52px;font-size:13px}}
@media(max-width:430px){.citizen-sos-hero{margin-left:0!important;margin-right:0!important}.sos-kicker{font-size:7px}.citizen-sos-hero h1{font-size:23px}.citizen-sos-hero p{max-width:190px}.emergency-call{min-width:91px}.emergency-call small{font-size:6px}.report-stepper{margin-left:2px;margin-right:2px}.report-stepper span{display:grid;text-align:center}.report-stepper b{font-size:6px}.category-card .category-grid i{width:43px;height:43px}.location-methods{gap:6px}.location-methods button{padding:9px 7px;gap:7px}.location-methods button>i{width:32px;height:32px;flex-basis:32px}.location-methods button b{font-size:9px}.citizen-location-map{height:330px;min-height:330px!important}.location-confirmation b{max-width:190px}.location-confirmation>button{padding:6px}.report-form .photo-btn{grid-template-columns:34px minmax(0,1fr) auto}.photo-btn>i{width:34px;height:34px}}

/* Precision map pin */
.manual-pin-layer:before{content:"";position:absolute;z-index:4;left:50%;top:calc(50% + 21px);width:30px;height:10px;transform:translate(-50%,-50%);border:2px solid rgba(214,42,34,.34);border-radius:50%;background:radial-gradient(ellipse,rgba(97,25,21,.25) 0 18%,rgba(255,255,255,.82) 20% 37%,rgba(232,62,52,.2) 40% 53%,transparent 56%);box-shadow:0 5px 12px rgba(35,25,23,.2);pointer-events:none}
.manual-pin-layer .manual-pin{display:block!important;left:50%!important;top:50%!important;width:54px!important;height:66px!important;transform:translate(-50%,-88%);color:transparent!important;filter:drop-shadow(0 10px 8px rgba(61,24,20,.3))!important;animation:precision-pin-float 1.9s ease-in-out infinite;transform-origin:50% 100%}
.manual-pin-layer .manual-pin:before{content:""!important;position:absolute!important;left:50%!important;top:2px!important;width:42px!important;height:42px!important;transform:translateX(-50%) rotate(45deg)!important;border-radius:50% 50% 50% 7px!important;border:4px solid #fff!important;background:linear-gradient(135deg,#ff7168 0%,#f13d36 34%,#c81610 72%,#99110d 100%)!important;box-shadow:inset 4px 4px 7px rgba(255,255,255,.34),inset -5px -5px 8px rgba(92,4,2,.18),0 2px 0 rgba(111,8,4,.22)!important}
.manual-pin-layer .manual-pin:after{content:""!important;position:absolute!important;z-index:2!important;left:50%!important;top:14px!important;width:22px!important;height:22px!important;transform:translateX(-50%)!important;border-radius:50%!important;background:radial-gradient(circle,#e42d27 0 4px,#fff 5px 10px,#d5e7f5 11px 12px,transparent 13px)!important;box-shadow:0 2px 5px rgba(74,10,7,.22)!important}
.manual-pin-layer.dragging .manual-pin{animation:none;transform:translate(-50%,-92%) scale(1.08)!important}.manual-pin-layer.dragging:before{opacity:.45;transform:translate(-50%,-50%) scale(.78)}
@keyframes precision-pin-float{0%,100%{transform:translate(-50%,-88%)}50%{transform:translate(-50%,-94%)}}
@media(prefers-reduced-motion:reduce){.manual-pin-layer .manual-pin{animation:none}}

/* Balanced assistance status card */
.response-card{padding-bottom:0!important}.response-insight{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center;padding:14px 16px 16px}.response-insight .progress-ring{width:96px;height:96px;min-width:96px;min-height:96px;margin:0!important;box-shadow:inset 0 0 0 1px rgba(15,105,65,.04),0 8px 20px rgba(16,145,86,.1)}.response-insight .progress-ring:after{inset:17px}.response-insight .progress-ring b{font-size:18px;letter-spacing:-1.1px}.response-summary{min-width:0}.response-kicker{display:block;margin-bottom:6px;color:#73879b;font-size:7px;font-weight:900;letter-spacing:.8px}.response-summary .response-values{display:grid;gap:5px;width:100%;padding:0}.response-summary .response-values span{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:7px;padding:5px 7px;border-radius:8px;background:#f5f8fb;font-size:8px}.response-summary .response-values span:first-child{background:#ecf8f2}.response-summary .response-values span:nth-child(2){background:#fff7ea}.response-summary .response-values i{width:8px;height:8px}.response-summary .response-values em{font-style:normal;color:#52657a}.response-summary .response-values b{font-size:11px;color:#14213d}.response-summary p{margin:7px 0 0;padding-top:6px;border-top:1px dashed #dce5ed;color:#708196;font-size:7px;line-height:1.45}
@media(max-width:760px){.response-insight{grid-template-columns:120px minmax(0,1fr);gap:14px;padding:14px!important}.response-insight .progress-ring{width:120px!important;height:120px!important;min-width:120px!important;min-height:120px!important;max-width:120px!important;max-height:120px!important}.response-insight .progress-ring:after{inset:20px!important}.response-insight .progress-ring b{font-size:20px}.response-kicker{font-size:8px}.response-summary .response-values span{padding:7px 9px;font-size:9px}.response-summary .response-values b{font-size:12px}.response-summary p{font-size:8px}}
@media(max-width:430px){.response-insight{grid-template-columns:105px minmax(0,1fr);gap:10px;padding:13px!important}.response-insight .progress-ring{width:105px!important;height:105px!important;min-width:105px!important;min-height:105px!important;max-width:105px!important;max-height:105px!important}.response-insight .progress-ring:after{inset:18px!important}.response-insight .progress-ring b{font-size:17px}.response-summary .response-values span{padding:6px 7px}.response-summary p{margin-top:5px;padding-top:5px}}

/* Semantic team readiness colors */
#dashboardTeams .team-state-available{background:#e7f8ef;color:#078a4e;border:1px solid #caecd9}#dashboardTeams .team-state-available i{box-shadow:0 0 0 4px rgba(14,171,98,.13)}
#dashboardTeams .team-state-busy{background:#fff2df;color:#cc6900;border:1px solid #f5dcba}#dashboardTeams .team-state-busy i{box-shadow:0 0 0 4px rgba(255,144,23,.14);animation:team-busy-pulse 1.8s ease-in-out infinite}
#dashboardTeams .team-state-inactive{background:#ffebe9;color:#c92e27;border:1px solid #f1cbc8}#dashboardTeams .team-state-inactive i{box-shadow:0 0 0 4px rgba(225,55,47,.11)}
.team-management-card.status-inactive .team-readiness{background:#ffebe9;color:#c92e27}.team-management-card.status-busy .team-readiness i{animation:team-busy-pulse 1.8s ease-in-out infinite}
@keyframes team-busy-pulse{50%{opacity:.52;box-shadow:0 0 0 7px rgba(255,144,23,.07)}}
@media(prefers-reduced-motion:reduce){#dashboardTeams .team-state-busy i,.team-management-card.status-busy .team-readiness i{animation:none}}

/* Google authentication and approval workflow */
.google-login-btn{width:100%;min-height:46px;border:1px solid #d5dee8;border-radius:10px;background:#fff;color:#24364b;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:800;cursor:pointer;box-shadow:0 4px 12px rgba(24,55,87,.06);transition:.18s}.google-login-btn:hover{border-color:#a9bfd6;background:#f9fbfd;transform:translateY(-1px)}.google-login-btn:disabled{opacity:.65}.google-login-btn svg{width:20px;height:20px;flex:0 0 20px}.login-divider{display:flex;align-items:center;gap:9px;margin:10px 0;color:#8491a2;font-size:8px}.login-divider:before,.login-divider:after{content:"";height:1px;flex:1;background:#e1e7ee}.login-divider span{white-space:nowrap}
.pending-account-dialog{width:min(460px,calc(100vw - 24px));border:0;border-radius:22px;padding:0;box-shadow:0 24px 70px rgba(7,31,56,.28)}.pending-account-shell{padding:30px;text-align:center;background:radial-gradient(circle at 100% 0,#edf6ff,transparent 35%),#fff}.pending-account-icon{width:68px;height:68px;margin:auto;border-radius:22px;display:grid;place-items:center;background:linear-gradient(145deg,#ffad3b,#ef7900);color:#fff;font-size:30px;box-shadow:0 12px 25px rgba(239,121,0,.22)}.pending-account-shell>span{display:block;margin-top:15px;color:#1674d1;font-size:8px;font-weight:900;letter-spacing:1.5px}.pending-account-shell h2{margin:4px 0;font-size:22px}.pending-account-shell>p{margin:0;color:#6e7e92;font-size:11px;line-height:1.7}.pending-account-user{display:grid;margin:17px 0;padding:11px;border:1px solid #dce7f1;border-radius:12px;background:#f6f9fc}.pending-account-user b{font-size:12px}.pending-account-user small{color:#73849a}.pending-account-shell ol{margin:0 0 17px;padding:13px 13px 13px 31px;border-radius:12px;background:#fff8eb;color:#685a43;text-align:left;font-size:9px;line-height:1.9}.pending-account-shell button+button{margin-top:8px}
.pending-approval-strip{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;gap:13px;align-items:center;margin:-6px 0 16px;padding:13px 15px;border:1px solid #f0d3a6;border-radius:14px;background:linear-gradient(110deg,#fff9ec,#fff);box-shadow:0 8px 22px rgba(142,88,14,.08)}.pending-approval-strip>i{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#ff941d;color:#fff;font-size:20px;font-style:normal;font-weight:900}.pending-approval-strip>div{display:grid}.pending-approval-strip b{font-size:12px}.pending-approval-strip span{color:#806f55;font-size:8px}.pending-approval-strip>strong{color:#bd5e00;font-size:11px;white-space:nowrap}.pending-approval-strip>button{border:1px solid #e8bd80;border-radius:9px;background:#fff;color:#b75a00;padding:8px 11px;font-size:9px;font-weight:800}.active-pill.pending{background:#fff1dc!important;color:#c76600!important}
@media(max-width:760px){.pending-account-shell{padding:25px 18px}.pending-approval-strip{grid-template-columns:38px minmax(0,1fr) auto;padding:11px}.pending-approval-strip>i{width:38px;height:38px}.pending-approval-strip>strong{grid-column:2}.pending-approval-strip>button{grid-column:3;grid-row:1/3}.google-login-btn{font-size:12px}}

/* Real organization logo and clean map markers */
#authDialog .dialog-icon.has-logo{width:82px;height:82px;clip-path:none;border-radius:20px;background:#fff;padding:7px;box-shadow:0 9px 24px rgba(13,57,95,.14);overflow:hidden}#authDialog .dialog-icon.has-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:14px}
.route-map .route-start,.route-map .route-end{display:none!important}
.manual-pin-layer:before{top:50%!important;width:28px!important;height:9px!important;border:2px solid rgba(211,48,40,.3)!important;background:radial-gradient(ellipse,rgba(89,25,22,.22) 0 20%,rgba(255,255,255,.88) 22% 42%,rgba(224,55,46,.16) 44% 58%,transparent 60%)!important;box-shadow:0 4px 10px rgba(30,24,22,.16)!important}
.manual-pin-layer .manual-pin{display:block!important;left:50%!important;top:50%!important;width:52px!important;height:59px!important;transform:translate(-50%,-100%)!important;filter:drop-shadow(0 7px 6px rgba(58,20,17,.3))!important;animation:none!important;overflow:visible!important}

/* Map search helper for manual pin workflow */
.map-search-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0 0 10px;position:relative}.map-search-box label{display:grid;gap:4px;min-width:0}.map-search-box label span{font-size:8px;font-weight:900;color:#667b91;letter-spacing:.3px}.map-search-box input{width:100%;border:1px solid #d5e2ef;border-radius:12px;padding:11px 12px;background:#fff;color:#17324f;font-size:12px;outline:0}.map-search-box input:focus{border-color:#4d9cec;box-shadow:0 0 0 3px rgba(20,117,238,.1)}.map-search-box>button{align-self:end;border:0;border-radius:12px;padding:11px 14px;background:linear-gradient(135deg,#147cf3,#0762d6);color:#fff;font-size:11px;font-weight:900;cursor:pointer}.map-search-box>button:disabled{opacity:.65}.map-search-results{grid-column:1/-1;display:grid;gap:6px;max-height:168px;overflow:auto;padding:7px;border:1px solid #dbe7f4;border-radius:13px;background:#f8fbff}.map-search-results button{display:grid;gap:2px;border:1px solid #e1ebf5;border-radius:10px;background:#fff;text-align:left;padding:9px 10px;color:#16304d;cursor:pointer}.map-search-results button:hover{border-color:#85bdf4;background:#f0f7ff}.map-search-results b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-search-results small{font-size:8px;color:#6f8297;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.map-search-results p{margin:0;padding:8px;color:#718198;font-size:10px;text-align:center}
@media(max-width:430px){.map-search-box{grid-template-columns:1fr}.map-search-box>button{width:100%}.map-search-results{max-height:140px}}
.manual-pin-layer .manual-pin:before,.manual-pin-layer .manual-pin:after{content:none!important;display:none!important}.manual-pin-layer .manual-pin svg{display:block;width:100%;height:100%;overflow:visible}.manual-pin-layer .manual-pin svg path{fill:#e9362f;stroke:#fff;stroke-width:3;stroke-linejoin:round}.manual-pin-layer .manual-pin svg circle{fill:#fff}.manual-pin-layer .manual-pin svg .pin-center{fill:#e9362f}.manual-pin-layer.dragging .manual-pin{transform:translate(-50%,calc(-100% - 7px)) scale(1.04)!important}.manual-pin-layer.dragging:before{opacity:.48}
@media(max-width:760px){#authDialog .dialog-icon.has-logo{width:72px;height:72px}.manual-pin-layer .manual-pin{width:48px!important;height:55px!important}}

/* Login brand hierarchy */
.login-brand-kicker{display:block;margin:13px 0 2px;text-align:center;color:#1674d1;font-size:8px;font-weight:900;letter-spacing:1.8px}.login-brand-kicker+#loginHeading{margin-top:2px!important;font-size:23px;line-height:1.3}.login-brand-kicker+#loginHeading+#loginDescription{margin-top:4px!important;color:#61748a;font-size:11px;font-weight:600}
@media(max-width:760px){.login-brand-kicker{font-size:7px;margin-top:11px}.login-brand-kicker+#loginHeading{font-size:21px!important}.login-brand-kicker+#loginHeading+#loginDescription{font-size:11px!important}}

/* Match assistance chart to the monthly statistics chart on mobile */
@media(max-width:760px){
  .response-insight{grid-template-columns:120px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;padding:14px!important}
  .response-insight .progress-ring{width:120px!important;height:120px!important;min-width:120px!important;min-height:120px!important;max-width:120px!important;max-height:120px!important;margin:0!important;box-shadow:none!important}
  .response-insight .progress-ring:after{inset:20px!important}
  .response-insight .progress-ring b{font-size:20px!important}
  .response-kicker,.response-summary>p{display:none!important}
  .response-summary{width:100%!important;justify-self:stretch!important}
  .response-summary .response-values{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-content:stretch!important;justify-items:stretch!important;gap:7px!important;width:100%!important;padding:0!important}
  .response-summary .response-values span{display:grid!important;grid-template-columns:8px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding:3px 0!important;border-radius:0!important;background:transparent!important;font-size:10px!important}
  .response-summary .response-values em{color:var(--ink)!important}
  .response-summary .response-values b{font-size:11px!important;margin-left:auto!important}
}
@media(max-width:430px){
  .response-insight{grid-template-columns:105px minmax(0,1fr)!important;gap:10px!important}
  .response-insight .progress-ring{width:105px!important;height:105px!important;min-width:105px!important;min-height:105px!important;max-width:105px!important;max-height:105px!important}
  .response-insight .progress-ring:after{inset:18px!important}
  .response-insight .progress-ring b{font-size:18px!important}
  .response-summary .response-values{gap:6px!important}
}

/* Three-month dashboard and report comparison */
#dashboardMonth{max-width:165px;border:1px solid #dce6f0;border-radius:9px;background:#f7fbff;color:#1674d1;padding:6px 30px 6px 9px;font-size:9px;font-weight:800;outline:0;cursor:pointer}
#dashboardMonth:focus{border-color:#59a4ee;box-shadow:0 0 0 3px rgba(20,117,238,.1)}
@media(max-width:430px){.chart-card .panel-head h2 span{display:none}.chart-card .panel-head{padding-left:13px;padding-right:10px}.chart-card .panel-head h2{font-size:13px}#dashboardMonth{max-width:145px;padding-left:7px;padding-right:22px;font-size:8px}}
@media print{#executiveTrendChart svg{min-width:0!important}.trend-panel .executive-panel-head h2{font-size:12px}}

/* Command Center Motion Pack — subtle, official, and mobile-safe */
:root{--motion-fast:160ms;--motion-med:320ms;--motion-slow:760ms;--glow-blue:rgba(20,117,238,.18);--glow-red:rgba(241,61,54,.18);--glow-green:rgba(18,174,103,.18)}
body:before{content:"";position:fixed;inset:-20% -10% auto auto;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(20,117,238,.12),transparent 62%);pointer-events:none;z-index:-1;filter:blur(4px);animation:ambientDrift 14s ease-in-out infinite alternate}
.view.active{animation:viewRise var(--motion-med) ease-out both}
.panel,.stat,.mobile-card,.executive-panel,.executive-summary,.executive-actions-panel{transition:transform var(--motion-fast) ease,box-shadow var(--motion-fast) ease,border-color var(--motion-fast) ease,background var(--motion-fast) ease}
.panel:hover,.stat:hover,.executive-panel:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(24,66,108,.12);border-color:#d2e2f1}
.primary-btn,.secondary-btn,.danger-btn,.danger-outline-btn,.login-btn,.nav-item,.panel-head button,.export-buttons button,.emergency-call,.location-methods button,.category-grid button,.action-grid button,.mission-card>button,.wide{transition:transform var(--motion-fast) ease,box-shadow var(--motion-fast) ease,filter var(--motion-fast) ease,border-color var(--motion-fast) ease}
button:active,.primary-btn:active,.secondary-btn:active,.danger-btn:active,.danger-outline-btn:active,.login-btn:active,.nav-item:active,.emergency-call:active{transform:scale(.975)}
.system-ok i,.sos-kicker i,.team-state-available i,.team-readiness i,.field-status-dot{position:relative}
.system-ok i:after,.sos-kicker i:after,.team-state-available i:after,.team-readiness i:after{content:"";position:absolute;inset:-6px;border-radius:inherit;border:1px solid currentColor;opacity:.38;animation:softPulse 1.9s ease-out infinite}
.bell b,.badge{box-shadow:0 0 0 0 rgba(241,61,54,.34);animation:badgeBeat 2.6s ease-in-out infinite}
.stat-icon,.mini-crest,.type-icon,.category-grid i{position:relative;overflow:hidden}
.stat-icon:after,.mini-crest:after,.type-icon:after,.category-grid i:after{content:"";position:absolute;inset:-35% auto -35% -65%;width:45%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);transform:rotate(18deg);animation:iconSweep 5.6s ease-in-out infinite}
.donut,.progress-ring,.executive-donut{animation:chartPop 520ms cubic-bezier(.2,.85,.2,1) both;box-shadow:inset 0 0 0 1px rgba(12,54,88,.04),0 10px 24px rgba(24,66,108,.08)}
.map-canvas,.citizen-location-map,.live-map,.route-map{isolation:isolate}
.map-canvas:after,.citizen-location-map:after,.route-map:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 0 46%,rgba(255,255,255,.22) 50%,transparent 54%);opacity:.42;mix-blend-mode:screen;animation:mapScan 8s linear infinite}
.incident-row,.team-row,.audit-row,.operation-list>*{animation:listIn 360ms ease-out both}
.incident-row:nth-child(2),.team-row:nth-child(2){animation-delay:35ms}.incident-row:nth-child(3),.team-row:nth-child(3){animation-delay:70ms}.incident-row:nth-child(4),.team-row:nth-child(4){animation-delay:105ms}.incident-row:nth-child(5),.team-row:nth-child(5){animation-delay:140ms}
.command-hero,.citizen-sos-hero,.executive-hero{position:relative}
.command-hero:before,.executive-hero:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(120deg,transparent 10%,rgba(255,255,255,.14) 38%,transparent 62%);transform:translateX(-110%);animation:heroSweep 7s ease-in-out infinite}
@keyframes ambientDrift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(-70px,48px,0) scale(1.15)}}
@keyframes viewRise{from{opacity:.01;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes softPulse{0%{transform:scale(.72);opacity:.45}100%{transform:scale(1.9);opacity:0}}
@keyframes badgeBeat{0%,82%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(241,61,54,.28)}88%{transform:scale(1.08);box-shadow:0 0 0 6px rgba(241,61,54,0)}}
@keyframes iconSweep{0%,72%{transform:translateX(0) rotate(18deg);opacity:0}78%{opacity:.9}100%{transform:translateX(360%) rotate(18deg);opacity:0}}
@keyframes chartPop{from{opacity:.2;transform:scale(.94) rotate(-6deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@keyframes mapScan{from{transform:translateY(-105%)}to{transform:translateY(105%)}}
@keyframes listIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes heroSweep{0%,58%{transform:translateX(-110%);opacity:0}68%{opacity:1}100%{transform:translateX(110%);opacity:0}}
@media(max-width:760px){body:before{width:260px;height:260px;opacity:.8}.panel:hover,.stat:hover,.executive-panel:hover{transform:none}.stat,.panel,.mobile-card{box-shadow:0 8px 22px rgba(24,66,108,.08)}.map-canvas:after,.citizen-location-map:after,.route-map:after{opacity:.24;animation-duration:10s}.stat-icon:after,.mini-crest:after,.type-icon:after,.category-grid i:after{animation-duration:7.5s}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.view.active{animation:none}.panel:hover,.stat:hover,.executive-panel:hover{transform:none}}

/* Live Mission Board for dispatcher/admin monitoring */
.mission-board{margin:0 0 14px;overflow:hidden;border-radius:18px!important;background:linear-gradient(180deg,#fff,#fbfdff)}
.mission-board-head{height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-bottom:1px solid var(--line);background:linear-gradient(100deg,#061f36,#0a4d7d);color:#fff}
.mission-board-head span{display:block;font-size:8px;letter-spacing:1.8px;color:#9cd7ff;font-weight:900}.mission-board-head h2{margin:3px 0 0;font-size:17px}.mission-board-head p{margin:0;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.1);color:#d6edf9;font-size:9px;white-space:nowrap}
.mission-board-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;background:linear-gradient(180deg,#f8fbfe,#fff)}
.mission-track-card{--stage:#1475ee;position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 118px;gap:10px;min-height:124px;padding:12px;border:1px solid #dfe9f3;border-radius:15px;background:#fff;box-shadow:0 8px 18px rgba(24,66,108,.07);overflow:hidden}
.mission-track-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--stage)}.mission-track-card.stage-new,.mission-track-card.stage-assigned{--stage:#f13d36}.mission-track-card.stage-accepted{--stage:#ff9017}.mission-track-card.stage-traveling{--stage:#1475ee}.mission-track-card.stage-onsite,.mission-track-card.stage-helping{--stage:#7157dc}.mission-track-card.stage-done{--stage:#12ae67}.mission-track-card.mission-sla-critical{background:linear-gradient(90deg,#fff3f2,#fff)}.mission-track-card.mission-sla-warning{background:linear-gradient(90deg,#fff8ed,#fff)}
.mission-track-icon{width:42px;height:42px;border-radius:13px;color:#fff;display:grid;place-items:center;font-size:20px;box-shadow:0 8px 18px rgba(20,40,70,.12)}
.mission-track-main{min-width:0}.mission-track-title{display:flex;align-items:center;gap:6px;min-width:0}.mission-track-title span{font-size:8px;color:#6f8197;font-weight:900}.mission-track-title b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.mission-track-title em{margin-left:auto;padding:3px 6px;border-radius:999px;background:#f2f6fb;color:#587087;font-style:normal;font-size:7px;font-weight:900;white-space:nowrap}
.mission-track-main p{margin:5px 0 9px;color:#6f8197;font-size:9px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mission-progress{height:7px;border-radius:999px;background:#e9f0f7;overflow:hidden}.mission-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--stage),#78bdff);box-shadow:0 0 14px color-mix(in srgb,var(--stage),transparent 65%);animation:missionFlow 2.4s ease-in-out infinite}
.mission-step-row{display:flex;align-items:center;gap:6px;margin-top:8px}.mission-step-row span{padding:4px 7px;border-radius:999px;background:color-mix(in srgb,var(--stage),white 87%);color:var(--stage);font-size:8px;font-weight:900;white-space:nowrap}.mission-step-row small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7a8a9c;font-size:8px}
.mission-track-card aside{display:grid;align-content:start;gap:6px;text-align:right}.mission-track-card aside strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mission-track-card aside time{font-size:8px;color:#718198}.mission-track-card aside u{justify-self:end;text-decoration:none;padding:3px 6px;border-radius:999px;background:#ffe7e4;color:#d42f28;font-size:7px;font-weight:900}.mission-track-card aside button{justify-self:end;border:1px solid #b8d4f6;background:#f7fbff;color:#0d6ddf;border-radius:9px;padding:6px 9px;font-size:8px;font-weight:900;cursor:pointer}
.mission-empty{grid-column:1/-1;padding:18px!important}@keyframes missionFlow{0%,100%{filter:saturate(1)}50%{filter:saturate(1.35) brightness(1.05)}}
@media(min-width:761px) and (max-height:900px){.mission-board-head{height:48px}.mission-board-list{grid-template-columns:repeat(3,minmax(0,1fr));padding:9px}.mission-track-card{min-height:94px;padding:9px}.mission-track-main p,.mission-step-row small{display:none}}
@media(max-width:1100px){.mission-board-list{grid-template-columns:repeat(2,minmax(0,1fr))}.mission-track-card{grid-template-columns:42px minmax(0,1fr)}.mission-track-card aside{grid-column:2;text-align:left;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.mission-track-card aside button{margin-left:auto}}
@media(max-width:760px){.mission-board{margin:0 0 10px}.mission-board-head{height:auto;padding:13px 14px;display:grid}.mission-board-head h2{font-size:15px}.mission-board-head p{white-space:normal;width:100%;font-size:8px}.mission-board-list{grid-template-columns:1fr;padding:10px}.mission-track-card{min-height:112px}.mission-track-title b{font-size:11px}}

/* Incident list layout polish — keep long Thai addresses readable */
#dashboard .incident-row{grid-template-columns:42px minmax(0,1fr) auto auto!important;align-items:center;gap:9px 12px;padding:12px 14px}
#dashboard .incident-row>.type-icon{grid-column:1;grid-row:1/3}
#dashboard .incident-row>div:not(.incident-row-actions){grid-column:2;min-width:0}
#dashboard .incident-row>div:not(.incident-row-actions) b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.35}
#dashboard .incident-row>div:not(.incident-row-actions) small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55;word-break:normal;overflow-wrap:break-word}
#dashboard .incident-row>time{grid-column:3;grid-row:1;align-self:center;white-space:nowrap}
#dashboard .incident-row>.status{grid-column:4;grid-row:1;white-space:nowrap}
#dashboard .incident-row-actions{grid-column:2/5;grid-row:2;display:flex;justify-content:flex-end;align-items:center;gap:8px;min-width:0}
#dashboard .incident-row-actions .priority-select{width:118px;min-width:0}
#dashboard .incident-row-actions button{white-space:nowrap}
@media(max-width:1100px){#dashboard .incident-row{grid-template-columns:42px minmax(0,1fr) auto!important}#dashboard .incident-row>.status{grid-column:3;grid-row:2;justify-self:end}#dashboard .incident-row-actions{grid-column:2/4;justify-content:flex-start;flex-wrap:wrap}#dashboard .incident-row>time{grid-column:3}}
@media(max-width:760px){#dashboard .incident-row{grid-template-columns:44px minmax(0,1fr) auto!important;padding:13px 12px!important}#dashboard .incident-row>.type-icon{grid-row:1/4}#dashboard .incident-row>.status{grid-column:2;grid-row:2;justify-self:start}#dashboard .incident-row-actions{grid-column:2/4;grid-row:3;display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%}#dashboard .incident-row-actions .priority-select{grid-column:1/-1;width:100%}#dashboard .incident-row-actions button{width:100%;min-width:0}#dashboard .incident-row>div:not(.incident-row-actions) b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}#dashboard .incident-row>div:not(.incident-row-actions) small{-webkit-line-clamp:2}}

/* Native gesture contract shared with the proven water-meter implementation. */
html,body{width:100%;min-height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:auto;touch-action:pan-y pinch-zoom}
.app-shell,.main,.view.active{touch-action:pan-y pinch-zoom;overscroll-behavior-y:auto}
.manual-pin-layer,.mini-map,.map-canvas,.route-map{touch-action:pan-x pan-y pinch-zoom!important}
.mini-map iframe,.map-canvas iframe,.route-map iframe{touch-action:pan-x pan-y pinch-zoom!important}
@media(max-width:760px){.pull-refresh-indicator{display:none!important}}
.notification-controls{display:flex;align-items:center;gap:6px}.notification-controls button{border:1px solid #d7e3ef;border-radius:8px;padding:6px 8px;background:#f7fbff;color:#075fae;font-size:9px;font-weight:800;white-space:nowrap}

/* Professional mobile navigation: large primary actions, secondary tools in one sheet. */
.mobile-more-dialog{width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;background:rgba(3,24,43,.42)}
.mobile-more-dialog[open]{display:flex;align-items:flex-end}
.mobile-more-dialog::backdrop{background:rgba(3,24,43,.42);backdrop-filter:blur(3px)}
.mobile-more-sheet{width:100%;padding:9px 18px calc(18px + env(safe-area-inset-bottom));border-radius:26px 26px 0 0;background:#fff;box-shadow:0 -18px 50px rgba(3,30,54,.2)}
.mobile-more-handle{width:42px;height:5px;margin:0 auto 14px;border-radius:999px;background:#d7e1ec}
.mobile-more-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.mobile-more-head div{display:grid;gap:2px}.mobile-more-head span{font-size:18px;font-weight:800;color:#10233f}.mobile-more-head b{font-size:11px;font-weight:600;color:#728197}.mobile-more-head>button{width:40px;height:40px;border:0;border-radius:13px;background:#eef4fa;color:#52677e;font-size:24px}
.mobile-more-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mobile-more-grid button{min-height:86px;border:1px solid #dfe8f2;border-radius:17px;background:linear-gradient(160deg,#fff,#f5f9fd);color:#19314d;display:grid;place-items:center;align-content:center;gap:7px}.mobile-more-grid button span{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:#e9f4ff;color:#0d70dc;font-size:21px}.mobile-more-grid button b{font-size:12px}.mobile-more-grid button[hidden]{display:none!important}
.mobile-session-button{width:100%;height:50px;margin-top:14px;border:1px solid #b9d5f2;border-radius:15px;background:#f4f9ff;color:#0866c5;font-size:14px;font-weight:800}.mobile-session-button.logout{border-color:#ffd2cf;background:#fff5f4;color:#d83731}
@media(max-width:760px){
  body{padding-bottom:calc(102px + env(safe-area-inset-bottom))!important}
  .view,.view.active{padding-bottom:calc(108px + env(safe-area-inset-bottom))!important}
  .mobile-role-nav{display:grid!important;grid-auto-flow:column;grid-auto-columns:1fr;overflow:visible!important;gap:5px;min-height:82px;padding:8px max(10px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));border-top-color:#dce6f0;box-shadow:0 -10px 32px rgba(7,46,80,.13)}
  .mobile-role-nav .nav-item{min-width:0!important;min-height:60px;padding:7px 5px!important;border-radius:15px!important;display:flex!important;flex-direction:column;justify-content:center;gap:5px!important;color:#60738c}
  .mobile-role-nav .nav-item[hidden]{display:none!important}
  .mobile-role-nav .nav-item span{font-size:25px!important;font-weight:500;line-height:1!important}
  .mobile-role-nav .nav-item small{font-size:11px!important;font-weight:700;line-height:1.2}
  .mobile-role-nav .nav-item.active{background:linear-gradient(145deg,#1681f5,#0868dc)!important;box-shadow:0 7px 16px rgba(13,111,222,.25)!important}
  .mobile-more-nav span{font-size:21px!important;letter-spacing:2px}
}

/* Mobile field UI refinement — consistent professional vector icon language. */
.mobile-role-nav svg,.quick-menu svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.mobile-preference-list{display:grid;gap:8px;margin-bottom:18px}.mobile-preference-list>button{width:100%;min-height:67px;padding:10px 8px 10px 10px;border:1px solid #e0e9f2;border-radius:16px;background:#fff;display:grid;grid-template-columns:46px minmax(0,1fr) 24px;align-items:center;gap:11px;text-align:left}.preference-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-style:normal;font-size:21px}.alert-icon{background:#fff0ee;color:#e33b34}.location-icon{background:#eaf4ff;color:#0872dc}.sync-icon{background:#e9f8f1;color:#0b9d5b}.mobile-preference-list span{display:grid;gap:3px}.mobile-preference-list b{font-size:13px;color:#182c47}.mobile-preference-list small{font-size:10px;line-height:1.4;color:#728197}.mobile-preference-list em{font-size:25px;font-style:normal;color:#9cabb9}.mobile-tools-title{margin:0 0 10px;color:#75859a;font-size:10px;letter-spacing:.7px;text-transform:uppercase}
@media(max-width:760px){
  .mobile-more-sheet{max-height:min(84dvh,720px);overflow-y:auto}
  .mobile-role-nav{min-height:94px!important;padding-top:9px}
  .mobile-role-nav .nav-item{min-height:70px!important;gap:7px!important}
  .mobile-role-nav .nav-item span{width:30px!important;height:30px!important}
  .mobile-role-nav .nav-item small{font-size:13px!important;font-weight:800!important}
  .mobile-role-nav .nav-item.active{border-radius:18px!important}
  .quick-menu{gap:7px;padding:9px!important;border-radius:20px!important}
  .quick-menu button{min-height:78px;padding:9px 3px!important;border:1px solid #e4ebf3!important;border-radius:14px!important;background:#f8fbfe!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}
  .quick-menu button svg{width:27px;height:27px}
  .quick-menu span{font-size:11px!important;font-weight:700!important;line-height:1.25}
  .quick-menu .sos-small{background:#fff4f2!important;border-color:#ffd8d4!important}
  .mission-card{border-radius:22px!important;box-shadow:0 16px 35px rgba(0,20,40,.16)}
  .mission-card h2{font-size:22px!important;line-height:1.35}.mission-card p{font-size:13px!important;line-height:1.55}
  .mission-card>button{min-height:50px;border-radius:13px!important;font-size:14px}
}

/* Compact incident sheet for the operations map. */
.map-incident-panel{align-self:start;overflow:hidden;border-radius:20px!important}.map-sheet-handle{display:none}.map-list-head{min-height:66px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5edf5}.map-list-head>div{display:flex;align-items:baseline;gap:8px}.map-list-head span{font-size:16px;font-weight:800;color:#172943}.map-list-head b{padding:4px 8px;border-radius:999px;background:#eaf4ff;color:#0870d8;font-size:10px}.map-list-head>button{width:38px;height:38px;border:0;border-radius:12px;background:#f0f5fa;color:#526a83;font-size:20px}.map-filter-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:10px 12px}.map-filter-tabs button{height:36px;border:1px solid #dfe8f2;border-radius:11px;background:#f7fafc;color:#63758b;font-size:10px;font-weight:800}.map-filter-tabs button b{margin-left:3px}.map-filter-tabs button.active{border-color:#abd2fa;background:#eaf4ff;color:#086bcf}.map-incident-list{max-height:none!important;overflow:visible!important;padding:0 12px!important}.map-incident-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center;margin-bottom:8px;border:1px solid #e0e9f2;border-radius:15px;background:#fff;box-shadow:0 5px 14px rgba(22,62,101,.05);overflow:hidden}.map-incident-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#ff9017}.map-incident-card.priority-critical:before{background:#f13d36}.map-incident-card.priority-high:before{background:#ff9017}.map-incident-card.priority-low:before,.map-incident-card.is-closed:before{background:#20b66d}.map-incident-card.is-closed{opacity:.72}.map-focus-button{min-width:0;min-height:76px;padding:10px 4px 10px 13px;border:0;background:transparent;display:grid;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:10px;text-align:left}.map-focus-button>i{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:#fff;font-size:19px;font-style:normal}.map-focus-button>span{min-width:0;display:grid;gap:2px}.map-focus-button b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172943;font-size:12px}.map-focus-button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#748399;font-size:9px}.map-focus-button u{color:#71839a;font-size:8px;text-decoration:none}.map-focus-button>em{color:#1780e9;font-style:normal;font-size:17px}.map-detail-button{width:34px;height:42px;border:0;border-left:1px solid #e5edf5;background:#f8fbfe;color:#1475ee;font-size:25px}.map-list-toggle{width:calc(100% - 24px);height:42px;margin:2px 12px 12px;border:1px solid #bad8f7;border-radius:12px;background:#f2f8ff;color:#086bcf;font-size:11px;font-weight:800}.map-empty{padding:26px 10px!important}.map-incident-panel.collapsed .map-filter-tabs,.map-incident-panel.collapsed .map-incident-list,.map-incident-panel.collapsed .map-list-toggle{display:none!important}
@media(max-width:760px){
  .live-map-grid{gap:0!important}
  .live-map{height:52dvh!important;min-height:350px;border-radius:18px 18px 8px 8px!important}
  .map-incident-panel{position:relative;z-index:2;margin:-22px 8px 0;border-radius:24px 24px 18px 18px!important;box-shadow:0 -8px 28px rgba(7,43,75,.15)!important}
  .map-sheet-handle{display:block;width:42px;height:5px;margin:9px auto 0;border-radius:999px;background:#d8e2ec}
  .map-list-head{min-height:58px;padding-top:7px}.map-list-head span{font-size:18px}
  .map-filter-tabs button{height:40px;font-size:11px}
  .map-focus-button{min-height:82px;grid-template-columns:46px minmax(0,1fr) 24px}.map-focus-button>i{width:46px;height:46px}.map-focus-button b{font-size:14px}.map-focus-button small{font-size:11px}.map-focus-button u{font-size:9px}
}

/* Command Center UI refresh: shared icon language, compact incident cards and mobile control center. */
.ux-icon{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mission-icon .response-beacon,.incident-title>i .response-beacon{width:31px;height:31px}.mission-card.ready-state .mission-icon{background:linear-gradient(145deg,#1aa6e8,#0872d7);color:#fff;box-shadow:0 8px 20px rgba(4,80,145,.3)}.incident-title.response-ready>i{background:linear-gradient(145deg,#1aa6e8,#0872d7);box-shadow:0 7px 16px rgba(8,113,205,.2)}
.stat-icon,.type-icon,.mission-track-icon,.mission-type-icon,.map-focus-button i{font-size:0!important}
.stat-icon .ux-icon,.type-icon .ux-icon,.mission-track-icon .ux-icon,.mission-type-icon .ux-icon,.map-focus-button i .ux-icon{width:25px;height:25px;stroke-width:2.25}
#dashboard .stat{min-height:104px;padding:16px;border-radius:19px;background:linear-gradient(155deg,#fff 0%,#f8fbff 100%);border-color:#dbe7f2}
#dashboard .stat-icon{border-radius:18px}
#dashboard .stat span{font-size:12px;color:#63748b;letter-spacing:.1px}
#dashboard .stat strong{font-size:28px;letter-spacing:-.7px;color:#10223d}
#dashboard .stat em{font-size:11px;margin-top:3px}
.incident-list{padding:9px;background:linear-gradient(180deg,#f8fbff,#fff);border-radius:0 0 13px 13px}
.incident-command-card{position:relative;margin:0 0 8px!important;border:1px solid #dfe8f2!important;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(20,60,100,.07);transition:transform .18s ease,box-shadow .18s ease}
.incident-command-card:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(20,60,100,.11)}
.incident-command-card:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:4px;border-radius:999px;background:#86a1bd}
.incident-command-card.priority-critical:before{background:#f13d36}.incident-command-card.priority-high:before{background:#ff9017}.incident-command-card.priority-medium:before{background:#1475ee}.incident-command-card.priority-low:before{background:#8ba0b6}
.incident-row-main{min-width:0;display:grid!important;gap:2px}
.incident-code{width:max-content;max-width:100%;padding:2px 7px;border-radius:999px;background:#eef5ff;color:#176bd4;font-size:9px;font-weight:900;letter-spacing:.2px}
.incident-command-card .type-icon{width:44px!important;height:44px!important;border-radius:15px!important;box-shadow:0 9px 20px rgba(18,50,85,.12)}
.incident-command-card b{font-size:14px!important;color:#10223d}
.incident-command-card small{font-size:11px!important;color:#667891}
.incident-meta-line{display:flex;flex-wrap:wrap;gap:5px;margin-top:3px}
.incident-meta-line .priority-badge,.incident-meta-line .sla-badge{margin:0}
.incident-command-card time{font-weight:800;color:#50657d}
.incident-command-card .status{font-weight:900;border-radius:999px;min-width:auto;padding:7px 10px;background:#eef5ff;color:#126ad3}
.incident-command-card.incident-new .status,.incident-command-card.incident-ใหม่ .status{background:#fff0ee;color:#d92f28}
.incident-command-card.incident-completed .status{background:#e8f8f0;color:#0a9b5a}
.incident-command-card .incident-detail-btn,.incident-command-card .assign-btn,.incident-command-card .priority-select{min-height:34px;border-radius:11px;font-weight:900}
.incident-command-card .assign-btn{border:0;background:linear-gradient(135deg,#147cf3,#0762d6);color:#fff;padding:5px 11px;cursor:pointer}
.settings-control-center{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:-4px 0 16px}
.settings-control-center article{display:grid;grid-template-columns:50px minmax(0,1fr);gap:12px;align-items:center;padding:16px;border:1px solid #dce8f3;border-radius:18px;background:linear-gradient(150deg,#fff,#f5f9ff);box-shadow:0 8px 24px rgba(24,66,108,.07)}
.settings-control-center i{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:#eaf4ff;font-style:normal;font-size:24px}
.settings-control-center span{display:block;color:#718198;font-size:11px;font-weight:800}.settings-control-center b{display:block;font-size:15px;color:#10223d}.settings-control-center small{display:block;color:#74859a;font-size:10px;line-height:1.45}
.mobile-role-nav svg{stroke-width:2.15!important}
@media(max-width:760px){
  body{padding-bottom:calc(138px + env(safe-area-inset-bottom))!important}
  .mobile-role-nav{min-height:102px!important;padding:10px max(10px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;background:rgba(255,255,255,.97);backdrop-filter:blur(16px);border-top:1px solid rgba(212,226,240,.9);box-shadow:0 -16px 38px rgba(7,46,80,.16)}
  .mobile-role-nav .nav-item{min-height:76px!important;border-radius:20px!important;color:#64758b!important}
  .mobile-role-nav .nav-item span{width:34px!important;height:34px!important}
  .mobile-role-nav .nav-item small{font-size:14px!important;letter-spacing:-.2px}
  .mobile-role-nav .nav-item.active{color:#fff!important;background:linear-gradient(145deg,#1688ff,#0567df)!important;box-shadow:0 10px 24px rgba(12,105,220,.28)!important}
  .mobile-more-sheet{padding:10px 18px calc(22px + env(safe-area-inset-bottom));border-radius:30px 30px 0 0}
  .mobile-more-head span{font-size:21px}.mobile-more-head b{font-size:12px}
  .mobile-preference-list>button{min-height:76px;border-radius:20px;padding:12px;grid-template-columns:54px minmax(0,1fr) 24px}
  .preference-icon{width:54px;height:54px;border-radius:18px}
  .mobile-preference-list b{font-size:15px}.mobile-preference-list small{font-size:11px}
  .mobile-more-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .mobile-more-grid button{min-height:94px;border-radius:20px}.mobile-more-grid button b{font-size:14px}
  .mobile-session-button{min-height:50px;border-radius:16px;font-size:15px;font-weight:900}
  .settings-control-center{grid-template-columns:1fr;gap:9px}
  .settings-control-center article{padding:13px;border-radius:16px;grid-template-columns:46px 1fr}.settings-control-center i{width:46px;height:46px;border-radius:15px}
  .incident-list{padding:8px}
  #dashboard .incident-command-card{grid-template-columns:48px minmax(0,1fr) auto!important;padding:14px 12px!important;gap:10px!important;border-radius:18px}
  #dashboard .incident-command-card>.type-icon{grid-row:1/4}
  #dashboard .incident-row-main{grid-column:2/4!important}.incident-code{font-size:9px}
  .incident-command-card b{font-size:15px!important;white-space:normal!important}
  .incident-command-card small{font-size:12px!important;-webkit-line-clamp:1!important}
  #dashboard .incident-command-card>time{grid-column:3;grid-row:1;font-size:11px}
  #dashboard .incident-command-card>.status{grid-column:2;grid-row:2;justify-self:start;font-size:10px}
  #dashboard .incident-command-card .incident-row-actions{grid-column:2/4;grid-row:3;display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
}

/* Completed mission archive refresh. */
.completed-toolbar{align-items:flex-start!important;gap:14px}.completed-tools{display:grid;gap:9px;min-width:min(520px,100%)}.completed-filter-tabs{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.completed-filter-tabs button{height:34px;border:1px solid #dce7f2;border-radius:999px;background:#f7fbff;color:#64758a;padding:0 13px;font-size:11px;font-weight:900}.completed-filter-tabs button.active{background:linear-gradient(135deg,#147cf3,#0762d6);border-color:#1475ee;color:#fff;box-shadow:0 8px 18px rgba(20,117,238,.18)}.completed-tools input{width:100%;min-height:42px;border:1px solid #dce7f2;border-radius:13px;padding:0 13px;background:#fff}.completed-archive-list{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}.completed-day-group{display:grid;gap:10px}.completed-day-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px}.completed-day-head span{font-size:13px;font-weight:900;color:#182b45}.completed-day-head b{padding:4px 9px;border-radius:999px;background:#eaf4ff;color:#0b70d8;font-size:10px}.completed-day-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.completed-compact-card{padding:14px!important;gap:10px!important;border-radius:18px!important;background:linear-gradient(155deg,#fff,#f8fbff)!important}.completed-compact-card .mission-card-top{grid-template-columns:48px minmax(0,1fr) auto}.completed-compact-card .mission-card-top>div{min-width:0}.completed-compact-card .mission-card-top b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.completed-compact-card .mission-card-top p{margin:1px 0 0;color:#718198;font-size:11px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.completed-compact-card .mission-complete-badge{background:#e8f8f0;color:#0a9857;white-space:nowrap}.completed-card-meta{display:grid;grid-template-columns:1.3fr .8fr .8fr;gap:7px}.completed-card-meta span{display:grid;gap:2px;padding:9px;border:1px solid #e5edf5;border-radius:12px;background:#fff}.completed-card-meta i{font-style:normal;font-size:8px;color:#7a8b9e;font-weight:900;text-transform:uppercase}.completed-card-meta b{font-size:11px;color:#19314d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.completed-badge-row{display:flex;gap:6px;flex-wrap:wrap}.completed-chip{margin:0;padding:3px 8px;border-radius:999px;background:#eef5ff;color:#176bd4;font-size:9px;font-style:normal;font-weight:900}.completed-chip.map{background:#e8f8f0;color:#0a9857}.completed-chip.muted{background:#eef1f5;color:#7a8796}.completed-empty{grid-column:1/-1;padding:34px!important}.assignment-followup form{border-top:5px solid #1475ee}.assignment-followup .dialog-icon{background:linear-gradient(145deg,#147cf3,#0762d6);color:#fff}
@media(max-width:980px){.completed-day-list{grid-template-columns:1fr}.completed-toolbar{display:grid!important}.completed-tools{min-width:0;width:100%}.completed-filter-tabs{justify-content:flex-start}}
@media(max-width:760px){.completed-filter-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.completed-filter-tabs button{height:38px;padding:0 6px}.completed-compact-card .mission-card-top{grid-template-columns:44px minmax(0,1fr)}.completed-compact-card .mission-complete-badge{grid-column:2;justify-self:start}.completed-card-meta{grid-template-columns:1fr 1fr}.completed-card-meta span:first-child{grid-column:1/-1}.completed-compact-card .mission-card-actions{grid-template-columns:1fr 1fr}}

/* Desktop archive toolbar polish. */
.operation-panel .completed-toolbar{display:grid!important;grid-template-columns:minmax(220px,1fr) auto;align-items:center!important;gap:18px!important;padding:16px 18px!important;color:var(--ink)!important;border:1px solid #dce7f2!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;box-shadow:0 10px 28px rgba(20,60,100,.08)!important}
.completed-title{display:grid!important;gap:2px}.operation-panel .completed-title h2{color:#10223d!important;font-size:18px!important}.operation-panel .completed-title span{color:#728197!important;font-size:12px!important}
.completed-tools{display:flex!important;align-items:center;justify-content:flex-end;gap:12px!important;min-width:0!important}.completed-filter-tabs{display:flex!important;align-items:center;gap:3px!important;padding:4px;border:1px solid #dce7f2;border-radius:18px;background:#eef4fb;box-shadow:inset 0 1px 0 rgba(255,255,255,.85)}.completed-filter-tabs button{height:40px;min-width:76px;border:0!important;border-radius:14px!important;background:transparent!important;color:#60748c!important;padding:0 14px!important;font-size:13px!important;font-weight:900!important;box-shadow:none!important}.completed-filter-tabs button.active{background:#fff!important;color:#0b6bd3!important;box-shadow:0 6px 14px rgba(26,79,128,.12)!important}
.completed-search{width:min(430px,31vw);height:50px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;border:1px solid #dce7f2;border-radius:16px;background:#fff;padding:0 14px;box-shadow:0 7px 18px rgba(20,60,100,.06)}.completed-search span{font-size:11px!important;color:#8a98a8!important;font-weight:900!important}.completed-search input{min-width:0!important;width:100%!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:14px;color:#10223d;outline:0}.completed-search input::placeholder{color:#98a5b4}
@media(max-width:1100px){.operation-panel .completed-toolbar{grid-template-columns:1fr}.completed-tools{justify-content:flex-start;flex-wrap:wrap}.completed-search{width:min(100%,520px)}}
@media(max-width:760px){.operation-panel .completed-toolbar{display:grid!important;padding:14px!important;border-radius:17px!important}.completed-tools{display:grid!important;width:100%;gap:10px!important}.completed-filter-tabs{display:grid!important;grid-template-columns:repeat(4,1fr);gap:4px!important}.completed-filter-tabs button{min-width:0;height:38px;font-size:11px!important;padding:0 4px!important}.completed-search{width:100%;height:48px}}

/* Team management edit affordance. */
.edit-team-button{align-self:start;border:1px solid #cfe0f2;background:#fff;color:#126bd2;border-radius:999px;padding:7px 12px;font-size:10px;font-weight:900;cursor:pointer;box-shadow:0 5px 14px rgba(18,80,140,.08)}.edit-team-button:hover{background:#eaf4ff;border-color:#a8cef5}.team-management-card .team-readiness{grid-column:auto}.team-management-card .edit-team-button+.team-status-control{margin-top:0}
@media(max-width:650px){.edit-team-button{grid-column:2;justify-self:start}.team-management-card .team-readiness{grid-column:2;justify-self:start}}

/* Executive report prestige refresh. */
.report-view{--exec-ink:#0b1f38;--exec-line:#d9e4ef;--exec-gold:#d6ad54;--exec-blue:#0a73d9;background:radial-gradient(circle at 8% 0,rgba(214,173,84,.09),transparent 23%),radial-gradient(circle at 96% 8%,rgba(10,115,217,.12),transparent 24%),linear-gradient(180deg,#f7f9fc,#eef4f9)!important;max-width:1680px}
.report-view .executive-hero{min-height:228px;border-radius:26px;padding:34px 38px;background:linear-gradient(135deg,rgba(5,19,37,.98),rgba(7,47,79,.98) 58%,rgba(12,95,151,.96)),radial-gradient(circle at 85% 20%,rgba(214,173,84,.35),transparent 28%);border:1px solid rgba(255,255,255,.18);box-shadow:0 24px 55px rgba(5,31,58,.25);overflow:hidden}
.report-view .executive-hero:after{content:"";position:absolute;right:-80px;top:-120px;width:410px;height:410px;border:1px solid rgba(214,173,84,.36);border-radius:50%;box-shadow:0 0 0 46px rgba(214,173,84,.08),0 0 0 92px rgba(255,255,255,.045)}
.report-view .executive-hero-copy>span{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(214,173,84,.16);border:1px solid rgba(214,173,84,.34);color:#f8d98f;font-size:10px;letter-spacing:2px;font-weight:900}
.report-view .executive-hero h1{max-width:760px;margin:13px 0 7px;font-size:clamp(31px,2.8vw,48px);line-height:1.15;letter-spacing:-1.2px;color:#fff}
.report-view .executive-hero p{font-size:15px;color:#d8e6f3}.hero-report-tags b,.hero-report-tags em{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.24);font-size:9px}
.report-view .executive-controls{min-width:275px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);box-shadow:0 16px 35px rgba(0,0,0,.16)}
.report-view .executive-controls label{color:#e6eef7;font-weight:800}.report-view .executive-controls input{height:43px;border:1px solid rgba(255,255,255,.25);background:#fff;border-radius:12px;color:#10223d}
.report-view .executive-controls button{height:46px;border:0;border-radius:13px;background:linear-gradient(135deg,#f2c866,#d49e37);color:#182339;font-weight:1000;box-shadow:0 12px 24px rgba(214,158,55,.28)}
.report-freshness{margin:14px 2px 12px;padding:12px 4px;border:0!important;color:#5d7087}.report-freshness span{font-weight:900}.report-freshness i{background:#16b873!important}.report-freshness b,.report-freshness em{font-weight:800}
.command-pulse{gap:12px}.command-pulse article{border-radius:18px;background:linear-gradient(150deg,#fff,#f8fbff);border:1px solid var(--exec-line);box-shadow:0 10px 26px rgba(12,50,85,.08)}.command-pulse article>i{border-radius:14px}.command-pulse b{font-size:20px}
.executive-kpis{display:grid;grid-template-columns:1.35fr repeat(4,1fr);gap:13px}.executive-kpis article{position:relative;isolation:isolate;min-height:158px;border:1px solid var(--exec-line);border-radius:22px;padding:22px 20px 18px;background:linear-gradient(160deg,#fff,#f8fbff);box-shadow:0 14px 34px rgba(13,49,84,.09);overflow:hidden;border-top:0!important}
.executive-kpis article:before{content:"";position:absolute;right:-36px;bottom:-54px;width:140px;height:140px;border-radius:50%;background:rgba(10,115,217,.07);z-index:-1}.executive-kpis article:after{right:18px!important;top:18px!important;width:40px!important;height:40px!important;border-radius:14px!important}
.executive-kpis .kpi-primary{background:linear-gradient(145deg,#0a69c9,#063b72)!important;color:#fff;border-color:#0b69c7;box-shadow:0 18px 42px rgba(6,79,148,.24)}.executive-kpis .kpi-primary:before{background:rgba(255,255,255,.12)}.executive-kpis .kpi-primary span,.executive-kpis .kpi-primary small{color:rgba(255,255,255,.82)!important}
.executive-kpis span{font-size:11px;text-transform:uppercase;letter-spacing:.9px;color:#6c7e94;font-weight:1000}.executive-kpis b{margin-top:9px;font-size:clamp(30px,2.4vw,46px);letter-spacing:-1.3px;color:#10223d}.executive-kpis small{font-size:11px;color:#73849a}
.executive-panel{border:1px solid var(--exec-line)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 14px 34px rgba(13,49,84,.08)!important;overflow:hidden}.executive-panel-head{min-height:66px;padding:17px 20px!important;border-bottom:1px solid #e7eef5}.executive-panel-head:before{left:20px!important;width:54px!important;background:linear-gradient(90deg,var(--exec-gold),var(--exec-blue))!important}.executive-panel-head span{font-size:9px;letter-spacing:1.4px;color:#7b8ca2;font-weight:1000}.executive-panel-head h2{font-size:16px;color:#10223d}
.executive-chart-grid{grid-template-columns:1.45fr 1fr;gap:14px}.trend-panel{grid-column:span 1}.executive-line-chart{height:290px!important}.type-donut-wrap{grid-template-columns:190px minmax(0,1fr)!important;gap:16px;padding:22px!important}.executive-donut{width:172px!important;height:172px!important}.executive-donut span b{font-size:34px}.type-legend div,.status-breakdown>div,.sla-metrics>div{border-radius:13px;background:linear-gradient(135deg,#fbfdff,#f6f9fc)!important;border:1px solid #e8eef5!important}
.executive-table-grid{gap:14px}.hotspot-list,.sla-metrics,.status-breakdown{padding:18px!important}.executive-table-wrap{padding:0 18px 18px}.executive-table-wrap table{border-collapse:separate;border-spacing:0 8px}.executive-table-wrap tbody tr{background:#f8fbff}.executive-table-wrap td{border-top:1px solid #e7eef5;border-bottom:1px solid #e7eef5}.executive-table-wrap td:first-child{border-left:1px solid #e7eef5;border-radius:12px 0 0 12px}.executive-table-wrap td:last-child{border-right:1px solid #e7eef5;border-radius:0 12px 12px 0}
.executive-cases{margin-top:14px}.executive-case-list{padding:16px!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.executive-case-list button{border:1px solid #e4ecf4!important;background:linear-gradient(145deg,#fff,#f8fbff)!important;border-radius:15px!important;padding:12px!important}
.executive-decision-grid{gap:14px}.report-view .executive-summary{border-radius:22px;background:linear-gradient(135deg,#061a2f,#0b4773)!important;box-shadow:0 16px 40px rgba(5,45,79,.18)!important}.executive-actions-panel{border-radius:22px!important;border-color:#ead8a4!important;box-shadow:0 14px 30px rgba(112,77,12,.08)!important}.executive-actions-panel li{font-size:12px!important;color:#4d3d1d}
.executive-methodology{border-radius:18px!important;margin-top:14px;background:#fff!important;box-shadow:0 9px 24px rgba(13,49,84,.06)}.executive-methodology b{font-size:10px!important}.executive-methodology span{font-size:10px!important}
@media(max-width:1200px){.executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.executive-kpis .kpi-primary{grid-column:1/-1}.executive-chart-grid{grid-template-columns:1fr}.executive-case-list{grid-template-columns:1fr}}
@media(max-width:760px){.report-view .executive-hero{padding:24px 18px;border-radius:20px}.report-view .executive-hero h1{font-size:27px}.report-view .executive-controls{min-width:0;width:100%}.executive-kpis{grid-template-columns:1fr}.command-pulse{grid-template-columns:1fr 1fr}.type-donut-wrap{grid-template-columns:1fr!important;place-items:center}.executive-donut{width:150px!important;height:150px!important}}
@media print{@page{size:A4 landscape;margin:8mm}body{background:#fff!important}.report-view{background:#fff!important;padding:0!important;color:#10223d}.report-view .executive-hero{min-height:120px!important;padding:18px 22px!important;border-radius:12px!important;box-shadow:none!important;break-inside:avoid}.report-view .executive-hero h1{font-size:25px!important}.report-view .executive-controls,.report-freshness em,.topbar,.sidebar,.mobile-role-nav{display:none!important}.report-freshness{padding:6px 0!important;margin:6px 0!important}.command-pulse{grid-template-columns:repeat(4,1fr)!important;gap:6px!important}.command-pulse article,.executive-kpis article,.executive-panel,.executive-actions-panel,.report-view .executive-summary,.executive-methodology{box-shadow:none!important;break-inside:avoid}.executive-kpis{grid-template-columns:repeat(5,1fr)!important;gap:6px!important}.executive-kpis article{min-height:86px!important;padding:10px!important;border-radius:10px!important}.executive-kpis b{font-size:24px!important}.executive-chart-grid,.executive-table-grid,.executive-decision-grid{gap:6px!important;margin-top:6px!important}.executive-panel-head{min-height:42px!important;padding:9px 12px!important}.executive-line-chart{height:180px!important}.executive-methodology{display:grid!important;grid-template-columns:repeat(4,1fr)!important}}

/* Executive report 2.0: bolder command cards and PDF-safe color output. */
.report-view .command-pulse article{position:relative;overflow:hidden;min-height:128px;color:#fff;border:0!important;border-radius:24px;box-shadow:0 18px 42px rgba(9,38,72,.18)!important}
.report-view .command-pulse article:before{content:"";position:absolute;right:-46px;bottom:-70px;width:168px;height:168px;border-radius:50%;border:28px solid rgba(255,255,255,.12)}
.report-view .command-pulse article:after{content:"";position:absolute;inset:0;background:linear-gradient(125deg,rgba(255,255,255,.16),transparent 42%);pointer-events:none}
.report-view .command-pulse .pulse-critical{background:linear-gradient(135deg,#d9352f,#7b1512)!important}.report-view .command-pulse .pulse-readiness{background:linear-gradient(135deg,#13aa67,#047443)!important}.report-view .command-pulse .pulse-backlog{background:linear-gradient(135deg,#f59a24,#b95405)!important}.report-view .command-pulse .pulse-quality{background:linear-gradient(135deg,#7557dc,#3c2a8f)!important}
.report-view .command-pulse article>i{position:relative;z-index:1;background:rgba(255,255,255,.18)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18);width:48px;height:48px;border-radius:17px}
.report-view .command-pulse article>div,.report-view .command-pulse article>small{position:relative;z-index:1}.report-view .command-pulse span{color:rgba(255,255,255,.76)!important}.report-view .command-pulse b{color:#fff!important;font-size:26px!important;letter-spacing:-.8px}.report-view .command-pulse small{color:rgba(255,255,255,.78)!important;font-size:10px}
.report-view .executive-kpis article{border:0!important;color:#fff;box-shadow:0 18px 42px rgba(9,38,72,.14)!important}.report-view .executive-kpis article:not(.kpi-primary){background:linear-gradient(145deg,#ffffff,#f7fbff)!important;color:#10223d;border:1px solid #dce7f2!important}
.report-view .executive-kpis article:nth-child(2){background:linear-gradient(145deg,#12b871,#07804a)!important;color:#fff;border:0!important}.report-view .executive-kpis article:nth-child(3){background:linear-gradient(145deg,#ff9a2a,#c76404)!important;color:#fff;border:0!important}.report-view .executive-kpis article:nth-child(4){background:linear-gradient(145deg,#1688f5,#0759b0)!important;color:#fff;border:0!important}.report-view .executive-kpis article:nth-child(5){background:linear-gradient(145deg,#7c5ce2,#4931a4)!important;color:#fff;border:0!important}
.report-view .executive-kpis article span,.report-view .executive-kpis article small,.report-view .executive-kpis article b{color:inherit!important}.report-view .executive-kpis article span,.report-view .executive-kpis article small{opacity:.82}.report-view .executive-kpis article:before{background:rgba(255,255,255,.13)!important}.report-view .executive-kpis article:not(.kpi-primary):after{background:rgba(255,255,255,.18)!important;color:#fff!important}
.report-view .executive-panel{border-top:5px solid #0a73d9!important}.report-view .type-panel{border-top-color:#7157dc!important}.report-view .sla-panel{border-top-color:#12ae67!important}.report-view .status-panel{border-top-color:#ff9017!important}.report-view .team-performance-panel{border-top-color:#d6ad54!important}
@media print{
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;color-adjust:exact!important}
  .report-view,.report-view *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  .report-view{background:#f4f8fc!important}
  .report-view .executive-hero{background:linear-gradient(135deg,#051c35,#0a5d96)!important;color:#fff!important;border:0!important}
  .report-view .command-pulse article,.report-view .executive-kpis article{box-shadow:none!important;border:0!important}
  .report-view .command-pulse .pulse-critical{background:#b92420!important}.report-view .command-pulse .pulse-readiness{background:#07834b!important}.report-view .command-pulse .pulse-backlog{background:#d66a00!important}.report-view .command-pulse .pulse-quality{background:#5a3fc5!important}
  .report-view .executive-kpis .kpi-primary{background:#0752a8!important}.report-view .executive-kpis article:nth-child(2){background:#0b9455!important}.report-view .executive-kpis article:nth-child(3){background:#d66a00!important}.report-view .executive-kpis article:nth-child(4){background:#0b66db!important}.report-view .executive-kpis article:nth-child(5){background:#6045c9!important}
  .report-view .command-pulse article>i,.report-view .executive-kpis article:after{background:rgba(255,255,255,.22)!important;color:#fff!important}
  .report-view .command-pulse span,.report-view .command-pulse b,.report-view .command-pulse small,.report-view .executive-kpis span,.report-view .executive-kpis b,.report-view .executive-kpis small{color:#fff!important}
  .report-view .executive-panel{background:#fff!important;border:1px solid #d9e4ef!important;border-top-width:5px!important}
}

/* Executive report 3.0: refined official scorecards. */
.report-view{--er-red:#c92d28;--er-green:#0f8f55;--er-orange:#d87205;--er-blue:#126fd6;--er-purple:#6046c8}
.report-view .executive-hero{min-height:184px!important;border-radius:22px!important}
.report-view .report-freshness{font-size:12px!important;margin:10px 2px 9px!important;padding:8px 4px!important}
.report-view .command-pulse{gap:11px!important;margin:10px 0 12px!important}
.report-view .command-pulse article{min-height:96px!important;grid-template-columns:44px minmax(0,1fr)!important;gap:12px!important;padding:15px 16px!important;color:#10223d!important;background:linear-gradient(180deg,#fff,#f9fbfe)!important;border:1px solid #d9e5f0!important;border-left:6px solid var(--pulse-color,#126fd6)!important;border-radius:18px!important;box-shadow:0 10px 24px rgba(12,48,82,.08)!important}
.report-view .command-pulse article:before,.report-view .command-pulse article:after{display:none!important}
.report-view .command-pulse .pulse-critical{--pulse-color:var(--er-red)}.report-view .command-pulse .pulse-readiness{--pulse-color:var(--er-green)}.report-view .command-pulse .pulse-backlog{--pulse-color:var(--er-orange)}.report-view .command-pulse .pulse-quality{--pulse-color:var(--er-purple)}
.report-view .command-pulse article>i{width:42px!important;height:42px!important;border-radius:14px!important;background:#f3f7fb!important;color:var(--pulse-color)!important;border:1px solid #e1ebf5!important;font-size:18px!important}
.report-view .command-pulse article>div,.report-view .command-pulse article>small{position:relative!important;z-index:1!important}.report-view .command-pulse span{font-size:12px!important;color:#64758a!important;font-weight:900!important;letter-spacing:.1px!important}.report-view .command-pulse b{font-size:28px!important;line-height:1.05!important;color:#10223d!important;letter-spacing:-.6px!important}.report-view .command-pulse small{font-size:11px!important;color:#718198!important}
.report-view .executive-kpis{grid-template-columns:1.2fr repeat(4,1fr)!important;gap:11px!important;margin-top:0!important}
.report-view .executive-kpis article{min-height:116px!important;padding:17px 16px 14px!important;color:#10223d!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;border:1px solid #d9e5f0!important;border-top:5px solid var(--kpi-color,#126fd6)!important;border-radius:18px!important;box-shadow:0 10px 24px rgba(12,48,82,.08)!important}
.report-view .executive-kpis .kpi-primary{--kpi-color:#0b5fae;background:linear-gradient(180deg,#fff,#f5f9ff)!important;color:#10223d!important;border-color:#d5e4f2!important;border-top-color:var(--kpi-color)!important;box-shadow:0 10px 24px rgba(12,48,82,.09)!important}
.report-view .executive-kpis article:nth-child(2){--kpi-color:var(--er-green)}.report-view .executive-kpis article:nth-child(3){--kpi-color:var(--er-orange)}.report-view .executive-kpis article:nth-child(4){--kpi-color:var(--er-blue)}.report-view .executive-kpis article:nth-child(5){--kpi-color:var(--er-purple)}
.report-view .executive-kpis article:before{display:none!important}.report-view .executive-kpis article:not(.kpi-primary):after,.report-view .executive-kpis .kpi-primary:after{right:15px!important;top:15px!important;width:36px!important;height:36px!important;border-radius:13px!important;background:#f3f7fb!important;color:var(--kpi-color)!important;border:1px solid #e1ebf5!important}
.report-view .executive-kpis .kpi-primary:after{content:"▣"!important;display:grid;place-items:center;font-size:14px;font-weight:900}.report-view .executive-kpis span{max-width:72%;font-size:12px!important;line-height:1.25!important;color:#64758a!important;font-weight:1000!important;letter-spacing:.35px!important;opacity:1!important}.report-view .executive-kpis b{margin:8px 0 5px!important;font-size:clamp(32px,2.2vw,42px)!important;line-height:1!important;color:#10223d!important;letter-spacing:-1px!important}.report-view .executive-kpis small{font-size:12px!important;line-height:1.35!important;color:#718198!important;opacity:1!important}
.report-view .executive-chart-grid,.report-view .executive-table-grid,.report-view .executive-decision-grid{gap:12px!important;margin-top:12px!important}.report-view .executive-panel{border-radius:19px!important}.report-view .executive-panel-head h2{font-size:18px!important}.report-view .executive-panel-head span{font-size:10px!important}.report-view .executive-panel-head>div:last-child{font-size:12px!important}
@media(max-width:1200px){.report-view .executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.report-view .executive-kpis .kpi-primary{grid-column:1/-1!important}}
@media(max-width:760px){.report-view .command-pulse{grid-template-columns:1fr!important}.report-view .executive-kpis{grid-template-columns:1fr!important}.report-view .executive-kpis .kpi-primary{grid-column:auto!important}.report-view .command-pulse b{font-size:25px!important}}
@media print{
  @page{size:A4 landscape;margin:8mm}
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;color-adjust:exact!important}
  .report-view{background:#fff!important;padding:0!important;color:#10223d!important}
  .report-view .executive-hero{min-height:92px!important;padding:14px 18px!important;border-radius:10px!important;background:linear-gradient(135deg,#061b31,#0a5b91)!important;color:#fff!important;box-shadow:none!important}
  .report-view .executive-hero h1{font-size:22px!important;margin:6px 0 3px!important}.report-view .executive-hero p{font-size:11px!important}.report-view .executive-hero-copy>span{font-size:7px!important;padding:4px 8px!important}.report-view .executive-controls,.report-view .hero-report-tags,.sidebar,.topbar,.mobile-role-nav,.toast{display:none!important}
  .report-view .report-freshness{font-size:7px!important;margin:4px 0!important;padding:3px 0!important}.report-view .report-freshness b{font-size:7px!important}
  .report-view .command-pulse{grid-template-columns:repeat(4,1fr)!important;gap:6px!important;margin:5px 0 6px!important}
  .report-view .command-pulse article{min-height:54px!important;grid-template-columns:24px minmax(0,1fr)!important;gap:6px!important;padding:7px 8px!important;background:#fff!important;color:#10223d!important;border:1px solid #d8e3ee!important;border-left:4px solid var(--pulse-color,#126fd6)!important;border-radius:8px!important;box-shadow:none!important}
  .report-view .command-pulse article>i{width:22px!important;height:22px!important;border-radius:7px!important;background:#fff!important;color:var(--pulse-color)!important;border:1px solid currentColor!important;font-size:10px!important}.report-view .command-pulse span{font-size:7px!important;color:#60748c!important}.report-view .command-pulse b{font-size:14px!important;color:#10223d!important;letter-spacing:-.2px!important}.report-view .command-pulse small{font-size:6.5px!important;color:#718198!important}
  .report-view .executive-kpis{grid-template-columns:repeat(5,1fr)!important;gap:6px!important;margin:0!important}
  .report-view .executive-kpis article{min-height:58px!important;padding:7px 8px!important;background:#fff!important;color:#10223d!important;border:1px solid #d8e3ee!important;border-top:4px solid var(--kpi-color,#126fd6)!important;border-radius:8px!important;box-shadow:none!important}
  .report-view .executive-kpis article:not(.kpi-primary):after,.report-view .executive-kpis .kpi-primary:after{width:20px!important;height:20px!important;right:7px!important;top:7px!important;border-radius:7px!important;background:#fff!important;color:var(--kpi-color)!important;border:1px solid currentColor!important;font-size:9px!important}.report-view .executive-kpis span{font-size:7px!important;color:#60748c!important;max-width:78%!important}.report-view .executive-kpis b{font-size:18px!important;color:#10223d!important;margin:3px 0!important}.report-view .executive-kpis small{font-size:6.5px!important;color:#718198!important}
  .report-view .executive-chart-grid,.report-view .executive-table-grid,.report-view .executive-decision-grid{gap:6px!important;margin-top:6px!important}.report-view .executive-panel{box-shadow:none!important;border:1px solid #d8e3ee!important;border-top:3px solid #126fd6!important;border-radius:9px!important}.report-view .executive-panel-head{min-height:38px!important;padding:7px 10px!important}.report-view .executive-panel-head h2{font-size:10px!important}.report-view .executive-panel-head span,.report-view .executive-panel-head>div:last-child{font-size:6.5px!important}.report-view .executive-line-chart{height:172px!important}
}

/* Executive report 3.1: fix legacy color-card overrides and improve contrast. */
.report-view .command-pulse .pulse-critical,.report-view .command-pulse .pulse-readiness,.report-view .command-pulse .pulse-backlog,.report-view .command-pulse .pulse-quality{background:linear-gradient(180deg,#fff,#f9fbfe)!important;color:#10223d!important}
.report-view .executive-kpis .kpi-primary,.report-view .executive-kpis article:nth-child(2),.report-view .executive-kpis article:nth-child(3),.report-view .executive-kpis article:nth-child(4),.report-view .executive-kpis article:nth-child(5){background:linear-gradient(180deg,#fff,#f8fbff)!important;color:#10223d!important;border:1px solid #d9e5f0!important;border-top:5px solid var(--kpi-color,#126fd6)!important}
.report-view .command-pulse span,.report-view .executive-kpis span{color:#50657d!important}
.report-view .command-pulse b,.report-view .executive-kpis b{color:#0b1f38!important}
.report-view .command-pulse small,.report-view .executive-kpis small{color:#5f7086!important}
.report-view .executive-kpis article span,.report-view .executive-kpis article small,.report-view .executive-kpis article b{opacity:1!important}
.report-view .executive-kpis article:not(.kpi-primary):after,.report-view .executive-kpis .kpi-primary:after{background:#f6f9fd!important;color:var(--kpi-color,#126fd6)!important;border:1px solid #dce7f2!important}
@media print{
  .report-view .command-pulse .pulse-critical,.report-view .command-pulse .pulse-readiness,.report-view .command-pulse .pulse-backlog,.report-view .command-pulse .pulse-quality{background:#fff!important;color:#10223d!important;border:1px solid #d8e3ee!important;border-left:4px solid var(--pulse-color,#126fd6)!important}
  .report-view .executive-kpis .kpi-primary,.report-view .executive-kpis article:nth-child(2),.report-view .executive-kpis article:nth-child(3),.report-view .executive-kpis article:nth-child(4),.report-view .executive-kpis article:nth-child(5){background:#fff!important;color:#10223d!important;border:1px solid #d8e3ee!important;border-top:4px solid var(--kpi-color,#126fd6)!important}
  .report-view .command-pulse span,.report-view .executive-kpis span{color:#50657d!important}.report-view .command-pulse b,.report-view .executive-kpis b{color:#0b1f38!important}.report-view .command-pulse small,.report-view .executive-kpis small{color:#5f7086!important}
}

/* Executive report 4.0: premium command dashboard with controlled color. */
.report-view{--cmd-navy:#052b4f;--cmd-navy-2:#031a32;--cmd-blue:#1475ee;--cmd-cyan:#29b7f2;--cmd-green:#0fa66b;--cmd-orange:#f08420;--cmd-red:#d73635;--cmd-purple:#6a52d8;--cmd-gold:#d7ad52;background:radial-gradient(circle at 8% 0,rgba(20,117,238,.12),transparent 22%),radial-gradient(circle at 98% 12%,rgba(215,173,82,.18),transparent 26%),linear-gradient(180deg,#edf5fb 0%,#f7fafc 46%,#eef5fa 100%)!important}
.report-view .executive-hero{min-height:205px!important;border-radius:28px!important;background:radial-gradient(circle at 82% 18%,rgba(41,183,242,.28),transparent 24%),radial-gradient(circle at 92% 110%,rgba(215,173,82,.24),transparent 28%),linear-gradient(132deg,#03182d 0%,#063d68 58%,#0b79b7 100%)!important;box-shadow:0 26px 60px rgba(3,32,59,.24)!important}
.report-view .executive-hero h1{font-size:clamp(34px,2.8vw,48px)!important}.report-view .executive-hero p{font-size:15px!important;color:#dcecf8!important}.report-view .executive-hero-copy>span{background:rgba(215,173,82,.18)!important;border-color:rgba(215,173,82,.46)!important;color:#ffe3a0!important}
.report-view .report-freshness{height:42px;margin:12px 2px!important;padding:0 4px!important;font-size:13px!important;color:#53677f!important}.report-view .report-freshness span{color:#099b62!important}.report-view .report-freshness b,.report-view .report-freshness em{font-size:12px!important;color:#52667f!important}
.executive-brief-strip{display:grid;grid-template-columns:1.35fr repeat(3,1fr);gap:10px;margin:0 0 12px;padding:13px;border:1px solid rgba(255,255,255,.58);border-radius:22px;background:linear-gradient(135deg,#062b4d 0%,#064f82 60%,#0a7fba 100%);box-shadow:0 18px 36px rgba(6,61,104,.18);overflow:hidden;position:relative}
.executive-brief-strip:before{content:"";position:absolute;right:-70px;top:-95px;width:260px;height:260px;border-radius:50%;border:38px solid rgba(255,255,255,.08)}
.executive-brief-strip div{position:relative;z-index:1;min-height:72px;padding:13px 15px;border-radius:17px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);display:grid;align-content:center;gap:4px}.executive-brief-strip span{font-size:11px;color:#aed7f3;font-weight:1000;letter-spacing:.5px;text-transform:uppercase}.executive-brief-strip b{font-size:22px;line-height:1.1;color:#fff}.executive-brief-strip i{font-style:normal;color:#ffe19a}
.report-view .command-pulse{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 13px!important}.report-view .command-pulse article{min-height:122px!important;padding:18px 18px!important;color:#fff!important;border:0!important;border-radius:23px!important;box-shadow:0 18px 36px rgba(9,43,78,.18)!important;border-left:0!important;background:linear-gradient(135deg,#145fae,#063b72)!important}.report-view .command-pulse article:before{display:block!important;content:"";position:absolute;right:-44px;bottom:-70px;width:168px;height:168px;border-radius:50%;border:28px solid rgba(255,255,255,.13)}.report-view .command-pulse .pulse-critical{background:linear-gradient(135deg,#e54743,#8f1e1b)!important}.report-view .command-pulse .pulse-readiness{background:linear-gradient(135deg,#15b978,#04794a)!important}.report-view .command-pulse .pulse-backlog{background:linear-gradient(135deg,#ff981e,#bf5904)!important}.report-view .command-pulse .pulse-quality{background:linear-gradient(135deg,#8064ee,#4531a6)!important}
.report-view .command-pulse article>i{background:rgba(255,255,255,.92)!important;color:var(--pulse-color,#1475ee)!important;border:0!important;box-shadow:0 10px 24px rgba(0,0,0,.16)!important}.report-view .command-pulse span{font-size:13px!important;color:rgba(255,255,255,.78)!important}.report-view .command-pulse b{font-size:31px!important;color:#fff!important}.report-view .command-pulse small{font-size:12px!important;color:rgba(255,255,255,.82)!important}
.report-view .executive-kpis{grid-template-columns:1.2fr repeat(4,1fr)!important;gap:12px!important}.report-view .executive-kpis article{min-height:132px!important;padding:20px 18px 16px!important;background:linear-gradient(160deg,#fff,#f6fbff)!important;border:1px solid #d8e6f2!important;border-top:0!important;border-radius:22px!important;box-shadow:0 14px 32px rgba(11,49,84,.10)!important;overflow:hidden}.report-view .executive-kpis article:before{display:block!important;content:"";position:absolute;left:0;top:0;width:100%;height:7px;background:linear-gradient(90deg,var(--kpi-color,#1475ee),rgba(255,255,255,0))!important}.report-view .executive-kpis article:after{background:linear-gradient(135deg,#fff,rgba(255,255,255,.72))!important;color:var(--kpi-color,#1475ee)!important;border:1px solid rgba(20,117,238,.18)!important;box-shadow:0 8px 18px rgba(20,80,140,.10)!important}.report-view .executive-kpis .kpi-primary{--kpi-color:#1475ee;background:linear-gradient(150deg,#eaf5ff,#fff 58%)!important}.report-view .executive-kpis span{font-size:13px!important;color:#40566f!important;max-width:72%!important}.report-view .executive-kpis b{font-size:clamp(37px,2.5vw,50px)!important;color:#071d37!important}.report-view .executive-kpis small{font-size:13px!important;color:#4f637c!important}
.report-view .executive-panel{border:1px solid #d7e6f2!important;border-radius:24px!important;box-shadow:0 16px 38px rgba(10,45,78,.10)!important;border-top:0!important}.report-view .executive-panel-head{min-height:74px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important}.report-view .executive-panel-head:before{height:4px!important;width:76px!important;background:linear-gradient(90deg,var(--cmd-gold),var(--cmd-blue),var(--cmd-cyan))!important}.report-view .executive-panel-head h2{font-size:20px!important;letter-spacing:-.3px}.report-view .executive-panel-head span{color:#7187a0!important;font-size:11px!important;letter-spacing:2px!important}.report-view .trend-panel{border-top:6px solid var(--cmd-blue)!important}.report-view .type-panel{border-top:6px solid var(--cmd-purple)!important}.report-view .sla-panel{border-top:6px solid var(--cmd-green)!important}.report-view .status-panel{border-top:6px solid var(--cmd-orange)!important}.report-view .team-performance-panel{border-top:6px solid var(--cmd-gold)!important}
@media(max-width:1200px){.executive-brief-strip{grid-template-columns:1fr 1fr}.report-view .command-pulse{grid-template-columns:1fr 1fr!important}.report-view .executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.report-view .executive-kpis .kpi-primary{grid-column:1/-1!important}}
@media(max-width:760px){.executive-brief-strip,.report-view .command-pulse,.report-view .executive-kpis{grid-template-columns:1fr!important}.executive-brief-strip div{min-height:62px}.report-view .command-pulse article{min-height:106px!important}.report-view .executive-kpis .kpi-primary{grid-column:auto!important}}
@media print{
  .report-view{background:#fff!important}.report-view .executive-hero{min-height:98px!important;border-radius:10px!important;box-shadow:none!important}.executive-brief-strip{grid-template-columns:repeat(4,1fr)!important;gap:5px!important;margin:4px 0 6px!important;padding:6px!important;border-radius:9px!important;background:#063d68!important;box-shadow:none!important}.executive-brief-strip div{min-height:38px!important;padding:5px 7px!important;border-radius:7px!important}.executive-brief-strip span{font-size:6px!important}.executive-brief-strip b{font-size:10px!important}
  .report-view .command-pulse article{min-height:58px!important;padding:7px 8px!important;border-radius:8px!important;box-shadow:none!important;color:#fff!important}.report-view .command-pulse b{font-size:14px!important;color:#fff!important}.report-view .command-pulse span,.report-view .command-pulse small{color:rgba(255,255,255,.82)!important}.report-view .executive-kpis article{min-height:62px!important;padding:8px!important;border-radius:8px!important;box-shadow:none!important}.report-view .executive-kpis b{font-size:18px!important}.report-view .executive-kpis span,.report-view .executive-kpis small{font-size:7px!important}.report-view .executive-panel{box-shadow:none!important;border-radius:9px!important}
}

/* Executive report 4.1: siren-and-lightning emergency palette. */
.report-view{--cmd-navy:#062540;--cmd-blue:#0f6fb8;--cmd-red:#d90429;--cmd-red-dark:#9f0020;--cmd-pink:#ef476f;--cmd-gold:#ffb01f;--cmd-gold-dark:#e67c00;--cmd-green:#0fa66b;background:radial-gradient(circle at 12% -2%,rgba(217,4,41,.14),transparent 23%),radial-gradient(circle at 94% 4%,rgba(255,176,31,.18),transparent 24%),linear-gradient(180deg,#f4f7fb 0%,#edf4fb 100%)!important}
.report-view .executive-hero{background:radial-gradient(circle at 83% 14%,rgba(255,176,31,.24),transparent 23%),radial-gradient(circle at 92% 108%,rgba(217,4,41,.22),transparent 28%),linear-gradient(130deg,#05172b 0%,#063a61 54%,#b90026 145%)!important}
.report-view .executive-hero-copy>span{background:rgba(255,176,31,.16)!important;border-color:rgba(255,176,31,.5)!important;color:#ffe5a8!important}.hero-report-tags b{color:#fff!important;background:rgba(217,4,41,.22)!important;border-color:rgba(255,255,255,.22)!important}
.executive-brief-strip{background:linear-gradient(135deg,#061f39 0%,#074d7f 50%,#d90429 145%)!important}.executive-brief-strip i{color:#ffca55!important}.executive-brief-strip:before{border-color:rgba(255,176,31,.12)!important}
.report-view .command-pulse .pulse-critical{--pulse-color:var(--cmd-red);background:linear-gradient(135deg,#ef3b4a,#9f0020)!important}.report-view .command-pulse .pulse-readiness{--pulse-color:var(--cmd-green);background:linear-gradient(135deg,#17b978,#06784a)!important}.report-view .command-pulse .pulse-backlog{--pulse-color:var(--cmd-gold);background:linear-gradient(135deg,#ffb01f,#e67c00)!important}.report-view .command-pulse .pulse-quality{--pulse-color:#7056d9;background:linear-gradient(135deg,#7357dc,#3d2b91)!important}
.report-view .executive-kpis .kpi-primary{--kpi-color:var(--cmd-red)!important;background:linear-gradient(150deg,#fff3f5,#fff 58%)!important}.report-view .executive-kpis article:nth-child(2){--kpi-color:var(--cmd-green)!important}.report-view .executive-kpis article:nth-child(3){--kpi-color:var(--cmd-gold-dark)!important}.report-view .executive-kpis article:nth-child(4){--kpi-color:var(--cmd-blue)!important}.report-view .executive-kpis article:nth-child(5){--kpi-color:#7056d9!important}
.report-view .executive-panel-head:before{background:linear-gradient(90deg,var(--cmd-red),var(--cmd-gold),var(--cmd-blue))!important}.report-view .trend-panel{border-top-color:var(--cmd-red)!important}.report-view .type-panel{border-top-color:var(--cmd-gold)!important}.report-view .sla-panel{border-top-color:var(--cmd-green)!important}.report-view .status-panel{border-top-color:var(--cmd-blue)!important}.report-view .team-performance-panel{border-top-color:#7056d9!important}
@media print{.executive-brief-strip{background:#062f50!important}.report-view .executive-hero{background:linear-gradient(135deg,#061f39,#9f0020)!important}}

/* SaaS/Fishbone dashboard polish: clearer tiles, icon cards and production-line rhythm. */
:root{--factory-navy:#073b78;--factory-blue:#1464e9;--factory-cyan:#27c1d9;--factory-green:#21b979;--factory-yellow:#ffd35a;--factory-orange:#f59a23;--factory-red:#e7333f;--factory-purple:#784ee8;--factory-ink:#0b1f3b;--factory-muted:#68788f;--factory-line:#dbe7f2}
body{background:linear-gradient(180deg,#f5f9fd 0%,#eef5fb 100%)}
.sidebar{background:linear-gradient(180deg,#073b78 0%,#052d66 52%,#04224d 100%)!important;box-shadow:inset -1px 0 0 rgba(255,255,255,.08),18px 0 45px rgba(5,38,85,.12)}
.sidebar:after{content:"";position:absolute;left:-70px;bottom:-110px;width:260px;height:260px;border-radius:50%;background:rgba(39,193,217,.12);pointer-events:none}
.sidebar>.brand{border-bottom-color:rgba(255,255,255,.16)!important}.sidebar .crest{background:linear-gradient(145deg,#fff,#eef7ff)!important;color:#0a5ab8!important;box-shadow:0 12px 28px rgba(0,0,0,.16)}.brand-copy>small{color:#a9e8ff!important}.brand-copy>[data-brand-org]{color:#d3e9fb!important}
.nav-item{position:relative;border:1px solid transparent;border-radius:14px;margin:2px 0;color:#d9e8f7!important;font-weight:800}.nav-item span{width:30px;height:30px;border-radius:10px;background:rgba(255,255,255,.11);display:inline-grid!important;place-items:center;color:#fff}.nav-item:hover{background:rgba(255,255,255,.10)!important}.nav-item.active{background:linear-gradient(135deg,#1d74ff,#0e59ca)!important;border-color:rgba(255,255,255,.18);box-shadow:0 12px 26px rgba(0,22,60,.22)!important;color:#fff!important}.nav-item.active:before{content:"";position:absolute;left:-8px;top:50%;width:4px;height:34px;border-radius:999px;background:#ffd35a;transform:translateY(-50%)}
.line-card{border:1px solid rgba(255,255,255,.18)!important;background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.06))!important;box-shadow:0 12px 28px rgba(0,22,60,.16)}.line-card b{background:#20c873!important}
.main{background:linear-gradient(180deg,#f6f9fd,#edf5fb)}.topbar{backdrop-filter:blur(14px);background:rgba(255,255,255,.88)!important;border-bottom:1px solid #dce8f3}.system-ok,.date,.login-btn,.bell{box-shadow:0 8px 20px rgba(14,57,102,.08)}
.panel,.mobile-card,.mission-detail,.operation-panel{border:1px solid var(--factory-line)!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:0 14px 34px rgba(12,52,94,.08)!important}.panel-head{min-height:58px;background:linear-gradient(180deg,#fff,#f7fbff);border-bottom:1px solid #e7eef6}.panel-head h2{color:var(--factory-ink);font-size:17px}.panel-head h2 span,.panel-head h2 b{font-weight:900}.panel-head button,.panel-head select{border:1px solid #cfe0f2!important;border-radius:12px!important;background:#f5f9ff!important;color:#0d62c6!important;font-weight:900!important}
.command-hero{border-radius:28px!important;background:radial-gradient(circle at 76% 18%,rgba(39,193,217,.3),transparent 24%),radial-gradient(circle at 93% 110%,rgba(255,211,90,.24),transparent 30%),linear-gradient(135deg,#062a51 0%,#0a5aa3 58%,#18a9c5 100%)!important;box-shadow:0 24px 58px rgba(5,45,93,.22)!important}.command-hero:after{border-color:rgba(255,255,255,.12)!important}.command-kicker{color:#d9f7ff!important}.command-primary{background:linear-gradient(135deg,#ffb01f,#f08420)!important;color:#22170a!important;box-shadow:0 12px 26px rgba(240,132,32,.28)!important}.command-secondary{background:rgba(255,255,255,.16)!important;color:#fff!important;border-color:rgba(255,255,255,.28)!important}
.command-alert-strip{gap:12px!important}.command-alert-strip article{position:relative;overflow:hidden;border-radius:18px!important;background:linear-gradient(145deg,#fff,#f7fbff)!important;border:1px solid #dce8f3!important;box-shadow:0 10px 24px rgba(12,52,94,.07)!important}.command-alert-strip article:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,var(--factory-blue),var(--factory-cyan))}.command-alert-strip b{font-size:22px!important;color:var(--factory-ink)!important}
#dashboard .stat-grid{gap:14px}.stat{position:relative;overflow:hidden;min-height:122px!important;border:1px solid #dce8f3!important;border-radius:22px!important;background:linear-gradient(160deg,#fff,#f8fbff)!important;box-shadow:0 14px 30px rgba(13,54,95,.08)!important}.stat:after{content:"";position:absolute;right:-36px;bottom:-48px;width:140px;height:140px;border-radius:50%;background:var(--stat-glow,rgba(20,117,238,.08))}.stat-icon{width:58px!important;height:58px!important;border-radius:18px!important;color:#fff!important;box-shadow:0 12px 24px rgba(13,54,95,.15)}.stat-icon.red{background:linear-gradient(145deg,#ff4b57,#d90429)!important}.stat-icon.orange{background:linear-gradient(145deg,#ffb01f,#f08420)!important}.stat-icon.blue{background:linear-gradient(145deg,#2d8cff,#0f64dd)!important}.stat-icon.green{background:linear-gradient(145deg,#35d28c,#0fa66b)!important}.stat:has(.stat-icon.red){--stat-glow:rgba(217,4,41,.09)}.stat:has(.stat-icon.orange){--stat-glow:rgba(245,154,35,.12)}.stat:has(.stat-icon.blue){--stat-glow:rgba(20,100,233,.10)}.stat:has(.stat-icon.green){--stat-glow:rgba(33,185,121,.10)}.stat span{font-size:13px!important;color:#53677f!important;font-weight:900!important}.stat strong{font-size:34px!important;color:#071d37!important}.stat em{font-size:12px!important;color:#64758c!important}
.chart-body,.response-insight{background:linear-gradient(180deg,#fff,#f9fcff)}.donut,.progress-ring{filter:drop-shadow(0 12px 18px rgba(15,74,132,.13))}.response-values span,.sla-metrics>div,.status-breakdown>div{border:1px solid #e2edf7!important;border-radius:16px!important;background:linear-gradient(145deg,#fff,#f7fbff)!important}
.category-grid button,.location-methods button,.action-grid button,.report-card,.settings-control-center article{border:1px solid #dbe7f2!important;border-radius:18px!important;background:linear-gradient(150deg,#fff,#f7fbff)!important;box-shadow:0 10px 24px rgba(13,54,95,.07)!important}.category-grid button.selected{border-color:#ffd0d5!important;background:linear-gradient(150deg,#fff4f5,#fff)!important;box-shadow:0 14px 30px rgba(217,4,41,.10)!important}.category-grid i,.location-methods i,.settings-control-center i{border-radius:16px!important;box-shadow:0 8px 18px rgba(13,54,95,.10)}.report-stepper span.active i{background:linear-gradient(135deg,#ffb01f,#d90429)!important;color:#fff!important}
.incident-command-card,.map-incident-card,.completed-compact-card,.team-management-card{border-radius:18px!important;border:1px solid #dbe7f2!important;background:linear-gradient(160deg,#fff,#f9fcff)!important;box-shadow:0 12px 26px rgba(13,54,95,.075)!important}.incident-command-card .type-icon,.map-focus-button>i,.mission-type-icon,.mission-track-icon{border-radius:16px!important}.priority-badge,.sla-badge,.status{border-radius:999px!important;font-weight:1000!important}
.operation-stats article{position:relative;overflow:hidden;border:1px solid #dce8f3!important;border-radius:22px!important;background:linear-gradient(145deg,#fff,#f7fbff)!important;box-shadow:0 12px 28px rgba(13,54,95,.08)!important}.operation-stats article:before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:linear-gradient(90deg,#1475ee,#27c1d9)}.operation-stats b{color:#071d37!important}
.executive-case-list button,.hotspot-list>div,.executive-table-wrap tbody tr{box-shadow:0 6px 16px rgba(13,54,95,.05)}.type-legend div{padding:7px 9px;border-radius:12px;background:#f8fbff}
@media(max-width:760px){.main{background:#edf5fb}.panel,.mobile-card{border-radius:20px!important}.stat{min-height:104px!important}.stat strong{font-size:29px!important}.stat-icon{width:52px!important;height:52px!important}.nav-item.active:before{display:none}.command-alert-strip{grid-template-columns:1fr 1fr!important}}

/* Mission archive command view: make completed work feel like a real operations dashboard. */
#completed{position:relative;isolation:isolate;background:radial-gradient(circle at 8% 0,rgba(217,4,41,.11),transparent 20%),radial-gradient(circle at 96% 2%,rgba(255,176,31,.18),transparent 25%),linear-gradient(180deg,#eef6fc 0%,#f8fbff 44%,#eef5fb 100%);border-radius:0}
#completed .page-heading{position:relative;overflow:hidden;min-height:168px;margin:0 0 18px;padding:30px 32px;border:1px solid rgba(255,255,255,.18);border-radius:28px;background:radial-gradient(circle at 86% 14%,rgba(255,176,31,.28),transparent 23%),radial-gradient(circle at 96% 112%,rgba(217,4,41,.22),transparent 30%),linear-gradient(135deg,#06192f 0%,#064779 56%,#0e7fc0 100%);box-shadow:0 24px 58px rgba(5,45,93,.22);color:#fff}
#completed .page-heading:after{content:"";position:absolute;right:-80px;top:-110px;width:330px;height:330px;border-radius:50%;border:42px solid rgba(255,255,255,.08);box-shadow:0 0 0 44px rgba(255,176,31,.08)}
#completed .page-heading>div,#completed .page-heading button{position:relative;z-index:1}#completed .page-heading .eyebrow{display:inline-flex;width:max-content;padding:7px 11px;border-radius:999px;background:rgba(255,176,31,.18);border:1px solid rgba(255,176,31,.45);color:#ffe3a0;font-size:10px;letter-spacing:2px}#completed .page-heading h1{font-size:clamp(34px,3vw,52px);color:#fff;margin-top:10px;letter-spacing:-1.1px}#completed .page-heading p{color:#d6ebfb;font-size:15px}#completed #refreshCompleted{height:50px;border:1px solid rgba(255,255,255,.28);border-radius:16px;background:rgba(255,255,255,.14);color:#fff;font-size:15px;font-weight:1000;backdrop-filter:blur(8px)}
#completed .operation-stats{grid-template-columns:1.1fr 1fr 1.15fr;gap:16px;margin:0 0 18px}#completed .operation-stats article{min-height:142px!important;padding:22px 24px!important;color:#fff!important;border:0!important;border-radius:26px!important;box-shadow:0 18px 40px rgba(10,45,84,.18)!important}#completed .operation-stats article:nth-child(1){background:linear-gradient(135deg,#126fe6,#064f9a)!important}#completed .operation-stats article:nth-child(2){background:linear-gradient(135deg,#17bd7c,#06784a)!important}#completed .operation-stats article:nth-child(3){background:linear-gradient(135deg,#ffb01f,#d96b00)!important}#completed .operation-stats article:before{left:auto!important;right:22px!important;top:22px!important;bottom:auto!important;width:54px!important;height:54px!important;border-radius:18px!important;background:rgba(255,255,255,.18)!important;color:#fff!important;display:grid;place-items:center;font-size:24px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}#completed .operation-stats article:nth-child(1):before{content:"✓"}#completed .operation-stats article:nth-child(2):before{content:"◷"}#completed .operation-stats article:nth-child(3):before{content:"Σ"}#completed .operation-stats article:after{content:"";position:absolute;right:-46px;bottom:-70px;width:180px;height:180px;border-radius:50%;border:30px solid rgba(255,255,255,.12)}#completed .operation-stats span{display:block!important;max-width:calc(100% - 72px);color:rgba(255,255,255,.82)!important;font-size:14px!important;font-weight:1000!important;letter-spacing:.2px!important}#completed .operation-stats b{display:block!important;max-width:calc(100% - 72px);margin-top:12px!important;color:#fff!important;font-size:clamp(38px,3vw,56px)!important;line-height:1!important;letter-spacing:-1.2px}
#completed .operation-panel{padding:0!important;border-radius:28px!important;background:rgba(255,255,255,.72)!important;border:1px solid #d7e6f2!important;box-shadow:0 18px 42px rgba(10,45,84,.12)!important;backdrop-filter:blur(10px)}
#completed .operation-panel .completed-toolbar{margin:0!important;padding:20px 22px!important;border:0!important;border-bottom:1px solid #dce8f3!important;border-radius:28px 28px 0 0!important;background:linear-gradient(135deg,#061f39 0%,#074d7f 55%,#d90429 150%)!important;color:#fff!important;box-shadow:none!important}#completed .operation-panel .completed-title h2{font-size:24px!important;color:#fff!important}#completed .operation-panel .completed-title span{font-size:13px!important;color:#cfe3f4!important}#completed .completed-filter-tabs{background:rgba(255,255,255,.16)!important;border-color:rgba(255,255,255,.18)!important;box-shadow:none!important}#completed .completed-filter-tabs button{color:#d9edf9!important}#completed .completed-filter-tabs button.active{background:#fff!important;color:#075fc1!important;box-shadow:0 10px 22px rgba(0,0,0,.16)!important}#completed .completed-search{height:54px;border:1px solid rgba(255,255,255,.25)!important;background:#fff!important;box-shadow:0 12px 24px rgba(0,18,44,.16)!important}
#completed .completed-archive-list{padding:18px!important;gap:18px!important}#completed .completed-day-head{padding:4px 6px 2px}#completed .completed-day-head span{font-size:17px!important;color:#0b1f3b!important}#completed .completed-day-head b{padding:6px 12px!important;background:linear-gradient(135deg,#eaf4ff,#fff)!important;border:1px solid #d3e5f8!important;color:#0b70d8!important;font-size:12px!important}
#completed .completed-day-list{gap:16px!important}#completed .completed-compact-card{position:relative;min-height:230px;padding:20px!important;border-radius:24px!important;background:linear-gradient(160deg,#fff 0%,#f9fcff 100%)!important;border:1px solid #d8e6f2!important;box-shadow:0 16px 34px rgba(10,45,84,.10)!important}#completed .completed-compact-card:before{width:7px!important;border-radius:999px;background:var(--accent,#1475ee)!important;top:14px!important;bottom:14px!important;left:0!important}#completed .completed-compact-card:after{content:"";position:absolute;right:-36px;top:-44px;width:142px;height:142px;border-radius:50%;background:color-mix(in srgb,var(--accent,#1475ee) 12%,transparent);pointer-events:none}#completed .completed-compact-card .mission-card-top{grid-template-columns:64px minmax(0,1fr) auto!important;gap:16px!important}#completed .mission-type-icon{width:58px!important;height:58px!important;border-radius:20px!important;box-shadow:0 13px 28px rgba(12,52,94,.15)!important}#completed .mission-card-top small{font-size:15px!important;color:var(--accent,#1475ee)!important;font-weight:1000!important}#completed .mission-card-top b{font-size:19px!important;color:#0b1f3b!important}#completed .mission-card-top p{font-size:13px!important;color:#61738a!important;line-height:1.45!important}#completed .mission-complete-badge{padding:9px 13px!important;border-radius:999px!important;background:#e8f8f0!important;color:#05965a!important;font-size:12px!important}
#completed .completed-card-meta{grid-template-columns:1.15fr .8fr .8fr!important;gap:10px!important}#completed .completed-card-meta span{min-height:66px;padding:12px 13px!important;border-radius:16px!important;background:#f8fbff!important;border:1px solid #dfeaf5!important}#completed .completed-card-meta i{font-size:10px!important;color:#718198!important;letter-spacing:.6px}#completed .completed-card-meta b{font-size:14px!important;color:#10223d!important}.completed-badge-row{gap:8px!important}#completed .priority-badge,#completed .completed-chip{padding:6px 10px!important;font-size:11px!important}#completed .mission-card-actions{gap:12px!important}#completed .mission-card-actions button,#completed .mission-card-actions a{min-height:46px!important;border-radius:14px!important;font-size:13px!important;font-weight:1000!important}#completed .mission-card-actions button{background:linear-gradient(135deg,#1475ee,#075fd0)!important;box-shadow:0 10px 22px rgba(20,117,238,.22)!important}#completed .mission-card-actions a{background:#f3f8ff!important;border-color:#bdd8f4!important;color:#0866c9!important}
@media(max-width:1100px){#completed .operation-stats{grid-template-columns:1fr}#completed .completed-tools{display:grid!important;grid-template-columns:1fr;justify-content:stretch!important}#completed .completed-search{width:100%!important}}
@media(max-width:760px){#completed .page-heading{min-height:0;padding:22px 18px;border-radius:22px}#completed .page-heading h1{font-size:30px}#completed #refreshCompleted{width:100%;margin-top:14px}#completed .operation-stats article{min-height:116px!important}#completed .operation-stats b{font-size:36px!important}#completed .operation-panel .completed-toolbar{border-radius:22px 22px 0 0!important}#completed .completed-archive-list{padding:12px!important}#completed .completed-compact-card{min-height:0;padding:16px!important}#completed .completed-compact-card .mission-card-top{grid-template-columns:54px minmax(0,1fr)!important}#completed .mission-complete-badge{grid-column:2;justify-self:start}#completed .completed-card-meta{grid-template-columns:1fr!important}}

/* Desktop dashboard lower-panel alignment: keep charts and team list on the same visual baseline. */
@media(min-width:761px){
  #dashboard .bottom-grid{align-items:stretch!important;grid-template-columns:1.08fr .93fr 1.25fr!important;gap:18px!important}
  #dashboard .bottom-grid>.panel{display:grid!important;grid-template-rows:74px minmax(244px,1fr)!important;min-height:318px!important;overflow:hidden!important}
  #dashboard .bottom-grid .panel-head{height:74px!important;min-height:74px!important;padding:0 28px!important;align-items:center!important}
  #dashboard .bottom-grid .panel-head h2{font-size:21px!important;line-height:1.15!important}
  #dashboard .bottom-grid .panel-head h2:before{font-size:10px!important;letter-spacing:2px!important;margin-bottom:7px!important}
  #dashboard .chart-body{height:100%!important;display:grid!important;grid-template-columns:178px minmax(0,1fr)!important;align-items:center!important;gap:28px!important;padding:24px 28px!important}
  #dashboard .donut{width:168px!important;height:168px!important;min-width:168px!important;min-height:168px!important;margin:0!important;justify-self:center!important}
  #dashboard .donut:after{inset:34px!important}
  #dashboard .donut b{font-size:34px!important}
  #dashboard .chart-body ul{align-self:center!important;gap:15px!important;font-size:16px!important}
  #dashboard .chart-body li{min-height:22px!important;gap:12px!important;color:#172943!important;font-weight:800!important}
  #dashboard .chart-body li i{width:15px!important;height:15px!important}
  #dashboard .chart-body li b{font-size:17px!important}
  #dashboard .response-insight{height:100%!important;display:grid!important;grid-template-columns:178px minmax(0,1fr)!important;align-items:center!important;gap:26px!important;padding:24px 28px!important}
  #dashboard .response-insight .progress-ring{width:168px!important;height:168px!important;min-width:168px!important;min-height:168px!important;margin:0!important;justify-self:center!important}
  #dashboard .response-insight .progress-ring:after{inset:34px!important}
  #dashboard .response-insight .progress-ring b{font-size:34px!important}
  #dashboard .response-kicker{font-size:10px!important;letter-spacing:1.4px!important;margin-bottom:12px!important}
  #dashboard .response-summary .response-values{gap:10px!important}
  #dashboard .response-summary .response-values span{min-height:46px!important;padding:9px 12px!important;border-radius:999px!important;font-size:13px!important}
  #dashboard .response-summary .response-values b{font-size:17px!important}
  #dashboard .response-summary p{font-size:11px!important;margin-top:15px!important;padding-top:14px!important}
  #dashboard .teams-card #dashboardTeams{height:100%!important;display:grid!important;align-content:stretch!important}
  #dashboardTeams .team-row{min-height:81px!important;grid-template-columns:58px minmax(0,1fr) auto!important;padding:14px 28px!important;border-bottom:1px solid #e4edf6!important}
  #dashboardTeams .mini-crest{width:50px!important;height:50px!important;border-radius:17px!important}
  #dashboardTeams .mini-crest svg{width:29px!important;height:29px!important}
  #dashboardTeams .team-row b{font-size:16px!important;color:#172943!important}
  #dashboardTeams .team-row small{font-size:11px!important;margin-top:3px!important}
  #dashboardTeams .team-row em{min-width:138px!important;justify-content:center!important;font-size:12px!important;padding:9px 13px!important}
}

/* Dispatch intake workspace: triage, live review and direct hand-off to command tracking. */
.dispatcher-intake-panel{position:relative}
.dispatcher-intake-panel{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(460px,1.35fr) auto;align-items:center;gap:24px;margin:12px 0 2px;padding:18px 20px;border:1px solid rgba(57,151,219,.28);border-radius:20px;background:radial-gradient(circle at 96% 0,rgba(31,193,215,.18),transparent 26%),linear-gradient(135deg,#061d35 0%,#073f69 66%,#075d85 100%);box-shadow:0 16px 34px rgba(6,42,78,.18);color:#fff}.dispatcher-intake-panel>div{display:grid;gap:3px}.dispatcher-intake-panel>div>span{color:#73dded;font-size:9px;font-weight:1000;letter-spacing:2px}.dispatcher-intake-panel>div>b{font-size:20px}.dispatcher-intake-panel>div>small{color:#bcd8e9;font-size:10px}.dispatcher-intake-panel ol{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0;padding:0;list-style:none}.dispatcher-intake-panel li{display:flex;align-items:center;gap:9px;min-height:54px;padding:9px 10px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(255,255,255,.07)}.dispatcher-intake-panel li.active{border-color:rgba(255,188,70,.5);background:linear-gradient(135deg,rgba(255,176,31,.2),rgba(255,255,255,.08))}.dispatcher-intake-panel li>i{flex:0 0 30px;width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.13);font-size:11px;font-style:normal}.dispatcher-intake-panel li.active>i{background:#ffad21;color:#142235}.dispatcher-intake-panel li span{display:grid}.dispatcher-intake-panel li b{font-size:10px}.dispatcher-intake-panel li small{color:#b9d0e1;font-size:7px;line-height:1.35}.dispatcher-intake-panel>em{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:9px 12px;border:1px solid rgba(49,226,147,.35);border-radius:999px;background:rgba(21,185,121,.13);color:#68efb0;font-size:9px;font-style:normal;font-weight:1000}.dispatcher-intake-panel>em i{width:8px;height:8px;border-radius:50%;background:#35dc91;box-shadow:0 0 0 5px rgba(53,220,145,.12)}
.dispatch-live-summary{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:1px;overflow:hidden;margin:2px 0 3px;border:1px solid #d8e7f4;border-radius:15px;background:#d8e7f4}.dispatch-live-summary>span{position:relative;min-width:0;min-height:68px;padding:12px 12px;background:linear-gradient(155deg,#fff,#f6faff);display:grid;align-content:center}.dispatch-live-summary>span:first-child{grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:10px}.dispatch-live-summary>span:first-child i{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#ff4c58,#d90429);color:#fff;font-size:19px;font-style:normal;box-shadow:0 9px 18px rgba(217,4,41,.18)}.dispatch-live-summary small{overflow:hidden;color:#708198;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.dispatch-live-summary b{overflow:hidden;color:#0a2544;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.dispatch-live-summary[data-severity="critical"]>span:nth-child(2){background:#fff1f3}.dispatch-live-summary[data-severity="high"]>span:nth-child(2){background:#fff7eb}
.severity-control{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0;padding:0;border:0}.severity-control legend{margin-bottom:6px;color:#52667d;font-size:8px;font-weight:900}.severity-control button{display:flex;align-items:center;gap:7px;min-width:0;padding:9px 8px;border:1px solid #dbe6f0;border-radius:12px;background:#fff;color:#38506a;text-align:left;cursor:pointer}.severity-control button>i{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#8da0b4}.severity-control button:nth-of-type(2)>i{background:#2585ea}.severity-control button:nth-of-type(3)>i{background:#f59a23}.severity-control button:nth-of-type(4)>i{background:#df3040}.severity-control button span{display:grid;min-width:0;font-size:8px;font-weight:1000}.severity-control button small{color:#8795a5;font-size:6px;font-weight:700;white-space:nowrap}.severity-control button.selected{border-color:#65aaf1;background:#eff7ff;box-shadow:0 0 0 3px rgba(20,117,238,.08)}.severity-control button[data-severity="high"].selected{border-color:#f0ad45;background:#fff8ed}.severity-control button[data-severity="critical"].selected{border-color:#eb6570;background:#fff1f3}
.triage-quick-picks{display:grid;gap:6px;padding:9px 10px;border:1px solid #e0eaf3;border-radius:12px;background:#f8fbfe}.triage-quick-picks>span{color:#63768c;font-size:8px;font-weight:900}.triage-quick-picks>div{display:flex;flex-wrap:wrap;gap:5px}.triage-quick-picks button{padding:6px 8px;border:1px solid #cddfec;border-radius:999px;background:#fff;color:#236795;font-size:7px;font-weight:900;cursor:pointer}.triage-quick-picks button.selected{border-color:#20ac70;background:#eaf9f2;color:#078552}.post-dispatch-note{display:flex;align-items:center;gap:10px;padding:10px 11px;border:1px solid #c8e0f3;border-radius:12px;background:linear-gradient(135deg,#eff8ff,#f9fcff)}.post-dispatch-note>i{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#1475ee;color:#fff;font-size:15px;font-style:normal}.post-dispatch-note span{display:grid}.post-dispatch-note b{color:#0d3b67;font-size:9px}.post-dispatch-note small{color:#6e8295;font-size:7px}.app-role-citizen .post-dispatch-note,.app-role-community_leader .post-dispatch-note{display:none}
@media(max-width:1100px){.dispatcher-intake-panel{grid-template-columns:1fr}.dispatcher-intake-panel>em{position:absolute;right:34px;align-self:start}.severity-control{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.dispatcher-intake-panel{margin:10px 0 4px;padding:15px;border-radius:17px}.dispatcher-intake-panel>div{padding-right:100px}.dispatcher-intake-panel>div>b{font-size:17px}.dispatcher-intake-panel ol{grid-template-columns:1fr}.dispatcher-intake-panel li{min-height:48px}.dispatcher-intake-panel>em{right:26px}.dispatch-live-summary{grid-template-columns:1fr 1fr}.dispatch-live-summary>span:first-child{grid-column:1/-1}.severity-control button{min-height:52px}.severity-control button span{font-size:11px}.severity-control button small{font-size:8px}.triage-quick-picks button{min-height:34px;padding:7px 10px;font-size:9px}}

/* Dynamic incident intake — readable, event-aware and fast on mobile. */
.report-form{--incident-accent:#e52d3d;--incident-deep:#981827;--incident-soft:#fff0f2;--incident-halo:rgba(229,45,61,.16)}
.report-form[data-incident-theme="accident"]{--incident-accent:#f28a19;--incident-deep:#a64d00;--incident-soft:#fff5e7;--incident-halo:rgba(242,138,25,.17)}
.report-form[data-incident-theme="medical"]{--incident-accent:#1677e8;--incident-deep:#084d9f;--incident-soft:#eaf4ff;--incident-halo:rgba(22,119,232,.16)}
.report-form[data-incident-theme="natural"]{--incident-accent:#12a967;--incident-deep:#087345;--incident-soft:#eaf9f1;--incident-halo:rgba(18,169,103,.16)}
.report-form[data-incident-theme="crime"]{--incident-accent:#7351d8;--incident-deep:#43279d;--incident-soft:#f1edff;--incident-halo:rgba(115,81,216,.16)}
.report-form[data-incident-theme="general"]{--incident-accent:#60788f;--incident-deep:#344b61;--incident-soft:#eff4f8;--incident-halo:rgba(96,120,143,.15)}
.intake-form-heading{display:grid;gap:5px;margin:3px 2px 4px}.report-form .intake-form-heading .card-kicker{font-size:10px;letter-spacing:1.7px}.report-form .intake-form-heading h2{margin:0;font-size:26px;line-height:1.2;color:#10253f}.report-form .intake-form-heading .form-intro{margin:0;font-size:13px;line-height:1.55;color:#62758b}
.report-form .dispatch-live-summary{border-color:#cfdfed;background:#cfdfed}.report-form .dispatch-live-summary>span{min-height:82px;padding:15px}.report-form .dispatch-live-summary>span:first-child{grid-template-columns:50px 1fr;column-gap:12px}.report-form .dispatch-live-summary>span:first-child i{width:50px;height:50px;border-radius:16px;background:linear-gradient(145deg,var(--incident-accent),var(--incident-deep));font-size:23px;box-shadow:0 10px 22px var(--incident-halo)}.report-form .dispatch-live-summary small{font-size:11px}.report-form .dispatch-live-summary b{font-size:16px}
.intake-section-card{display:grid;gap:12px;padding:16px;border:1px solid #d7e4ef;border-radius:18px;background:linear-gradient(155deg,#fff,#f9fcff);box-shadow:0 8px 22px rgba(17,55,91,.055)}.intake-section-title,.intake-section-head{display:flex;align-items:center;gap:12px}.intake-section-title>i{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#eaf3fc;color:#1769b2;font-size:14px;font-style:normal;font-weight:1000}.intake-section-title>span,.intake-section-head>span{display:grid}.intake-section-title b{font-size:16px;color:#142b45}.intake-section-title small{font-size:11px;line-height:1.4;color:#75869a}
.incident-context-card{position:relative;overflow:hidden;padding:17px 18px;border-color:color-mix(in srgb,var(--incident-accent) 32%,#d7e4ef);background:linear-gradient(135deg,var(--incident-soft),#fff 72%)}.incident-context-card:after{content:"";position:absolute;right:-35px;bottom:-55px;width:140px;height:140px;border:22px solid var(--incident-halo);border-radius:50%;pointer-events:none}.intake-section-head{position:relative;z-index:1}.intake-section-head>i{flex:0 0 52px;width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,var(--incident-accent),var(--incident-deep));color:#fff;font-size:23px;font-style:normal;box-shadow:0 10px 22px var(--incident-halo)}.intake-section-head small{color:var(--incident-deep);font-size:10px;font-weight:900;letter-spacing:.35px}.intake-section-head b{color:#10253f;font-size:17px}.incident-context-card>p{position:relative;z-index:1;margin:0;padding-left:64px;color:#536a82;font-size:12px;line-height:1.55}
.report-form .field-shell{padding:12px 14px 13px;border-radius:14px}.report-form .field-shell>span{font-size:13px;line-height:1.3}.report-form .field-shell input,.report-form .field-shell textarea{padding-top:7px!important;font-size:16px!important;line-height:1.5}.report-form .field-shell textarea{height:124px}.report-form .address-help{margin:-6px 3px 0;padding:8px 10px;border-radius:9px;font-size:11px;line-height:1.45}
.report-form .severity-control{gap:8px}.report-form .severity-control legend{margin-bottom:8px;font-size:13px}.report-form .severity-control button{min-height:58px;padding:10px 11px;border-radius:14px}.report-form .severity-control button>i{flex-basis:11px;width:11px;height:11px}.report-form .severity-control button span{font-size:13px}.report-form .severity-control button small{font-size:9px;line-height:1.4}
.report-form .triage-quick-picks{gap:9px;padding:13px;border-radius:14px;background:var(--incident-soft);border-color:color-mix(in srgb,var(--incident-accent) 24%,#dce8f1)}.report-form .triage-quick-picks>span{font-size:12px;color:var(--incident-deep)}.report-form .triage-quick-picks>div{gap:8px}.report-form .triage-quick-picks button{min-height:42px;padding:9px 13px;border-color:color-mix(in srgb,var(--incident-accent) 28%,#cfdeea);color:var(--incident-deep);font-size:12px}.report-form .triage-quick-picks button.selected{border-color:var(--incident-accent);background:var(--incident-accent);color:#fff;box-shadow:0 7px 16px var(--incident-halo)}
.report-form .photo-btn{grid-template-columns:46px minmax(0,1fr) auto;padding:13px 14px;border-radius:14px}.report-form .photo-btn>i{width:46px;height:46px;border-radius:13px;font-size:21px}.report-form .photo-btn b{font-size:14px}.report-form .photo-btn small{font-size:10px;line-height:1.45}.report-form .photo-btn em{font-size:22px}.report-form .report-readiness{padding:13px 14px;border-radius:14px}.report-form .report-readiness>i{width:36px;height:36px}.report-form .report-readiness b{font-size:14px}.report-form .report-readiness small{font-size:10px}.report-form .report-submit{min-height:58px;font-size:15px}.report-form .post-dispatch-note{padding:13px 14px}.report-form .post-dispatch-note b{font-size:13px}.report-form .post-dispatch-note small{font-size:10px}.report-form .submit-trust{font-size:10px}.mobile-report-dock{display:none}
@media(max-width:1100px){.report-form .severity-control{grid-template-columns:1fr 1fr}}
@media(max-width:760px){
  .report-form{padding:17px 14px 132px!important;gap:12px!important}.report-form .intake-form-heading h2{font-size:25px}.report-form .intake-form-heading .form-intro{font-size:14px}.report-form .dispatch-live-summary>span{min-height:76px}.report-form .dispatch-live-summary small{font-size:12px}.report-form .dispatch-live-summary b{font-size:17px}.intake-section-card{padding:15px 13px;border-radius:17px}.intake-section-title b{font-size:16px}.intake-section-title small{font-size:12px}.incident-context-card{padding:15px}.intake-section-head>i{flex-basis:48px;width:48px;height:48px}.intake-section-head small{font-size:11px}.intake-section-head b{font-size:17px}.incident-context-card>p{padding-left:60px;font-size:13px}.report-form .field-shell>span{font-size:14px}.report-form .address-help{font-size:12px}.report-form .severity-control button{min-height:64px}.report-form .severity-control button span{font-size:14px}.report-form .severity-control button small{font-size:11px}.report-form .triage-quick-picks>span{font-size:13px}.report-form .triage-quick-picks button{min-height:46px;padding:10px 13px;font-size:13px}.report-form .photo-btn b{font-size:15px}.report-form .photo-btn small{font-size:11px}.report-form .report-readiness b{font-size:14px}.report-form .report-readiness small{font-size:11px}.report-form .submit-trust{font-size:11px}.mobile-report-dock{position:fixed;left:10px;right:10px;bottom:calc(98px + env(safe-area-inset-bottom));z-index:46;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 10px 10px 15px;border:1px solid rgba(255,255,255,.7);border-radius:18px;background:rgba(7,35,62,.96);box-shadow:0 16px 42px rgba(3,25,49,.32);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:#fff}.mobile-report-dock>span{display:grid;min-width:0}.mobile-report-dock small{color:#9dc1dd;font-size:10px}.mobile-report-dock>span>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.mobile-report-dock>button{min-height:48px;padding:10px 17px;border:0;border-radius:13px;background:linear-gradient(135deg,var(--incident-accent),var(--incident-deep));box-shadow:0 8px 20px var(--incident-halo);color:#fff;font-size:14px;font-weight:1000}.mobile-report-dock.ready>button{box-shadow:0 0 0 3px rgba(255,255,255,.17),0 10px 24px var(--incident-halo)}
}
@media(max-width:430px){.incident-context-card>p{padding-left:0}.report-form .dispatch-live-summary>span:first-child{grid-template-columns:45px 1fr}.report-form .dispatch-live-summary>span:first-child i{width:45px;height:45px}.report-form .severity-control{gap:7px}.report-form .severity-control button{padding:9px}.mobile-report-dock{left:8px;right:8px}.mobile-report-dock>span>b{font-size:12px}}

/* Executive Report 2026 — one coherent premium visual system. */
#report.report-view{--report-ink:#061c34;--report-navy:#041b31;--report-blue:#096aa9;--report-red:#c9082b;--report-gold:#f2ad2e;--report-line:#d6e3ee;position:relative;padding:26px 28px 46px!important;background:radial-gradient(circle at 92% 2%,rgba(242,173,46,.16),transparent 22%),radial-gradient(circle at 6% 0,rgba(9,106,169,.14),transparent 25%),linear-gradient(180deg,#edf4fa,#f7fafc 48%,#edf3f8)!important}
#report .executive-hero{position:relative;min-height:228px!important;padding:34px 38px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:30px!important;background:radial-gradient(circle at 82% 20%,rgba(34,174,220,.24),transparent 22%),radial-gradient(circle at 99% 105%,rgba(242,173,46,.22),transparent 27%),linear-gradient(128deg,#03172b 0%,#063b62 57%,#9d0826 150%)!important;box-shadow:0 28px 65px rgba(4,34,63,.24)!important}
#report .executive-hero:before{content:"";position:absolute;right:10%;top:-52%;width:300px;height:300px;border:38px solid rgba(255,255,255,.075);border-radius:50%;pointer-events:none}
#report .executive-hero-copy{position:relative;z-index:1;max-width:760px}#report .executive-hero-copy>span{padding:7px 12px!important;font-size:10px!important;letter-spacing:2.3px!important;background:rgba(242,173,46,.14)!important;border:1px solid rgba(255,214,125,.42)!important;color:#ffda83!important}#report .executive-hero h1{max-width:760px;margin:14px 0 8px!important;font-size:clamp(34px,3.15vw,54px)!important;line-height:1.08!important;letter-spacing:-1.5px!important;color:#fff!important}#report .executive-hero p{font-size:15px!important;color:#d7e7f3!important}
#report .hero-report-tags{margin-top:22px!important}#report .hero-report-tags b,#report .hero-report-tags em{padding:7px 11px!important;border-radius:999px!important;font-size:9px!important;letter-spacing:1.2px!important}
#report .executive-controls{z-index:2;align-self:flex-end!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important;min-width:235px}#report .executive-controls label{padding:9px 12px!important;border-radius:15px!important;background:rgba(255,255,255,.11)!important;border:1px solid rgba(255,255,255,.18)!important;color:#cfe2ef!important}#report .executive-controls input{color:#fff!important;background:transparent!important}#report .executive-controls button{min-height:62px!important;padding:9px 14px!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:17px!important;background:linear-gradient(135deg,#ffbd3f,#ed8918)!important;color:#1e2732!important;box-shadow:0 14px 30px rgba(236,139,24,.3)!important;display:grid!important;grid-template-columns:38px 1fr!important;grid-template-rows:auto auto!important;text-align:left!important;align-items:center!important}#report .executive-controls button>span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(255,255,255,.55);font-size:22px}#report .executive-controls button b{font-size:14px}#report .executive-controls button small{font-size:9px;opacity:.75}
#report .report-freshness{margin:12px 4px!important;padding:0 4px!important;height:40px!important;color:#66788d!important}#report .report-freshness span{color:#078d59!important;font-weight:1000!important}#report .report-freshness em{padding-left:13px;border-left:1px solid #ccdae6}
#report .executive-brief-strip{gap:1px!important;padding:0!important;border:0!important;border-radius:22px!important;background:linear-gradient(135deg,#06223c,#07547f)!important;box-shadow:0 18px 42px rgba(6,52,89,.18)!important}#report .executive-brief-strip div{min-height:86px!important;padding:18px 21px!important;border:0!important;border-right:1px solid rgba(255,255,255,.12)!important;border-radius:0!important;background:transparent!important}#report .executive-brief-strip div:first-child{border-radius:22px 0 0 22px!important}#report .executive-brief-strip div:last-child{border:0!important;border-radius:0 22px 22px 0!important}#report .executive-brief-strip span{color:#9bcde7!important;font-size:10px!important;letter-spacing:1px!important}#report .executive-brief-strip b{font-size:22px!important}
#report .command-pulse{gap:14px!important;margin:16px 0!important}#report .command-pulse article{min-height:118px!important;padding:20px!important;border-radius:22px!important;box-shadow:0 16px 34px rgba(7,39,70,.16)!important}#report .command-pulse article>i{width:45px!important;height:45px!important;border-radius:14px!important}#report .command-pulse span{font-size:12px!important}#report .command-pulse b{font-size:29px!important;letter-spacing:-.8px!important}#report .command-pulse small{font-size:11px!important}
#report .executive-kpis{gap:14px!important;margin:0!important}#report .executive-kpis article{min-height:144px!important;padding:22px 20px!important;border:1px solid #d5e3ef!important;border-radius:22px!important;background:linear-gradient(155deg,#fff,#f6faff)!important;box-shadow:0 14px 34px rgba(7,44,78,.09)!important}#report .executive-kpis article:before{height:6px!important}#report .executive-kpis span{font-size:12px!important;color:#4c6078!important;letter-spacing:.2px!important}#report .executive-kpis b{font-size:clamp(38px,2.5vw,50px)!important;color:#061c34!important}#report .executive-kpis small{font-size:12px!important;color:#60738a!important}
#report .executive-chart-grid,#report .executive-table-grid,#report .executive-decision-grid{gap:16px!important;margin-top:16px!important}#report .executive-panel{overflow:hidden!important;border:1px solid #d4e2ed!important;border-top:0!important;border-radius:24px!important;background:#fff!important;box-shadow:0 16px 40px rgba(7,43,76,.10)!important}#report .executive-panel-head{min-height:78px!important;padding:17px 21px!important;background:linear-gradient(180deg,#fff,#f8fbfd)!important}#report .executive-panel-head:before{width:72px!important;height:4px!important;background:linear-gradient(90deg,#c9082b,#f2ad2e,#0a71b2)!important}#report .executive-panel-head h2{font-size:20px!important;color:#071d36!important}#report .executive-panel-head span{font-size:9px!important;letter-spacing:2.2px!important;color:#78899b!important}#report .executive-line-chart{min-height:300px!important;padding:24px!important}#report .type-donut-wrap{min-height:300px!important;padding:24px!important}#report .executive-donut{width:170px!important;height:170px!important}#report .type-legend div{min-height:38px;padding:8px 10px!important;background:#f6f9fc!important;border:1px solid #e4ecf3!important}#report .sla-metrics,#report .status-breakdown{padding:22px!important}#report .hotspot-list{padding:18px!important}#report .executive-table-wrap{padding:8px 16px 18px!important}#report .executive-table-wrap th{padding:13px 10px!important;background:#eef4f8!important;color:#4b6078!important;font-size:11px!important}#report .executive-table-wrap td{padding:14px 10px!important;font-size:12px!important}
#report .executive-summary,#report .executive-actions-panel{min-height:170px!important;border-radius:24px!important;box-shadow:0 16px 38px rgba(7,43,76,.11)!important}#report .executive-summary{background:linear-gradient(135deg,#062641,#075582)!important}#report .executive-actions-panel{background:linear-gradient(145deg,#fff8e8,#fff)!important;border:1px solid #f0ddb4!important}#report .executive-methodology{margin-top:16px!important;border-radius:20px!important;background:#e9f0f5!important}
.report-export-dialog{width:min(94vw,520px);max-width:520px;padding:0;border:0;border-radius:26px;background:transparent;box-shadow:0 30px 80px rgba(3,24,45,.35)}.report-export-dialog::backdrop{background:rgba(2,17,32,.65);backdrop-filter:blur(8px)}.report-export-sheet{position:relative;padding:30px;background:linear-gradient(180deg,#fff,#f5f9fc);border:1px solid rgba(255,255,255,.7);border-radius:26px}.report-export-sheet>.dialog-close{position:absolute;right:18px;top:18px}.report-export-mark{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#072d4e,#0b74ad);color:#fff;font-size:28px;box-shadow:0 14px 28px rgba(5,68,108,.22)}.report-export-kicker{display:block;margin:18px 0 5px;color:#b40a29;font-size:9px;font-weight:1000;letter-spacing:2px}.report-export-sheet h2{margin:0;color:#071d36;font-size:27px}.report-export-sheet>p{margin:7px 0 19px;color:#61748a;font-size:13px;line-height:1.5}.report-export-actions{display:grid;gap:10px}.report-export-actions button{display:grid;grid-template-columns:50px 1fr 18px;align-items:center;gap:12px;min-height:76px;padding:12px;border:1px solid #d8e5f0;border-radius:18px;background:#fff;color:#10253e;text-align:left;box-shadow:0 8px 20px rgba(8,45,79,.06)}.report-export-actions button i{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#edf5ff;color:#086fd3;font-size:23px;font-style:normal;font-weight:1000}.report-export-actions .share-report-action i{background:linear-gradient(135deg,#e9f9f2,#dff5ec);color:#07945c}.report-export-actions button span{display:grid;gap:3px}.report-export-actions button b{font-size:14px}.report-export-actions button small{color:#718299;font-size:11px}.report-export-actions button em{color:#9babbc;font-size:25px;font-style:normal}.report-export-note{display:block;margin-top:16px;text-align:center;color:#078e58;font-weight:900}
.report-export-actions .view-report-action{border-color:#bfdaee;background:linear-gradient(145deg,#eef8ff,#fff)}.report-export-actions .view-report-action i{background:linear-gradient(135deg,#dcedff,#edf7ff);color:#0869bf}.report-export-actions button:disabled{opacity:.62;cursor:wait}
@media(max-width:760px){#report.report-view{padding:14px 12px 120px!important}#report .executive-hero{min-height:0!important;padding:24px 20px!important;border-radius:24px!important;display:block!important}#report .executive-hero h1{font-size:31px!important;letter-spacing:-.8px!important}#report .executive-hero p{font-size:12px!important;line-height:1.5!important}#report .hero-report-tags{display:none!important}#report .executive-controls{margin-top:22px!important;min-width:0!important;grid-template-columns:1fr!important}#report .executive-controls button{width:100%!important}#report .report-freshness{height:auto!important;min-height:34px!important;display:flex!important;flex-wrap:wrap!important;gap:5px 10px!important}#report .report-freshness em{display:none!important}#report .executive-brief-strip{grid-template-columns:1fr 1fr!important;gap:1px!important;border-radius:19px!important}#report .executive-brief-strip div{min-height:72px!important;padding:13px!important;border-bottom:1px solid rgba(255,255,255,.12)!important}#report .executive-brief-strip div:first-child{border-radius:19px 0 0 0!important}#report .executive-brief-strip div:nth-child(2){border-radius:0 19px 0 0!important}#report .executive-brief-strip div:nth-child(3){border-radius:0 0 0 19px!important}#report .executive-brief-strip div:last-child{border-radius:0 0 19px 0!important}#report .executive-brief-strip span{font-size:8px!important}#report .executive-brief-strip b{font-size:17px!important}#report .command-pulse{grid-template-columns:1fr 1fr!important;gap:10px!important}#report .command-pulse article{min-height:118px!important;padding:15px!important;grid-template-columns:38px 1fr!important}#report .command-pulse article>i{width:38px!important;height:38px!important}#report .command-pulse span{font-size:10px!important}#report .command-pulse b{font-size:23px!important}#report .executive-kpis{grid-template-columns:1fr 1fr!important;gap:10px!important}#report .executive-kpis .kpi-primary{grid-column:1/-1!important}#report .executive-kpis article{min-height:125px!important;padding:17px 15px!important}#report .executive-kpis b{font-size:34px!important}#report .executive-kpis span,#report .executive-kpis small{font-size:10px!important}#report .executive-chart-grid,#report .executive-table-grid,#report .executive-decision-grid{grid-template-columns:1fr!important}#report .executive-panel-head{min-height:68px!important;padding:14px 16px!important}#report .executive-panel-head h2{font-size:17px!important}#report .executive-line-chart,#report .type-donut-wrap{min-height:250px!important;padding:16px!important}#report .executive-methodology{grid-template-columns:1fr 1fr!important}.report-export-dialog{width:100%;max-width:none;margin:auto 0 0;border-radius:26px 26px 0 0}.report-export-sheet{padding:26px 18px calc(22px + env(safe-area-inset-bottom));border-radius:26px 26px 0 0}.report-export-sheet h2{font-size:24px}.report-export-actions button{min-height:72px}}
@media(min-width:761px) and (max-height:900px){
  #dashboard .bottom-grid>.panel{grid-template-rows:62px minmax(206px,1fr)!important;min-height:268px!important}
  #dashboard .bottom-grid .panel-head{height:62px!important;min-height:62px!important;padding:0 22px!important}
  #dashboard .bottom-grid .panel-head h2{font-size:18px!important}
  #dashboard .chart-body,#dashboard .response-insight{grid-template-columns:138px minmax(0,1fr)!important;gap:18px!important;padding:18px 22px!important}
  #dashboard .donut,#dashboard .response-insight .progress-ring{width:132px!important;height:132px!important;min-width:132px!important;min-height:132px!important}
  #dashboard .donut:after,#dashboard .response-insight .progress-ring:after{inset:25px!important}
  #dashboard .donut b,#dashboard .response-insight .progress-ring b{font-size:27px!important}
  #dashboard .chart-body ul{gap:10px!important;font-size:13px!important}
  #dashboardTeams .team-row{min-height:68px!important;padding:10px 22px!important}
  #dashboardTeams .mini-crest{width:42px!important;height:42px!important}
  #dashboardTeams .team-row b{font-size:13px!important}
  #dashboardTeams .team-row em{font-size:10px!important}
}

/* Field quick actions 2.0: consistent professional action dock, readable labels. */
.field-view .quick-menu{
  position:relative!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  padding:16px!important;
  border:1px solid rgba(222,234,246,.96)!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%)!important;
  box-shadow:0 18px 38px rgba(4,26,48,.18)!important;
  overflow:hidden!important;
}
.field-view .quick-menu:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg,#139af2,#21c3d8,#ffb01f,#f0443d);
}
.field-view .quick-menu button{
  --action-color:#1289e8;
  min-width:0!important;
  min-height:98px!important;
  padding:12px 8px 10px!important;
  border:1px solid #dde9f4!important;
  border-radius:20px!important;
  background:linear-gradient(160deg,#fff,#f1f7fe)!important;
  color:#5d7189!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  box-shadow:0 10px 22px rgba(10,52,92,.07)!important;
  font:inherit!important;
}
.field-view .quick-menu button:nth-child(1){--action-color:#1186e8}
.field-view .quick-menu button:nth-child(2){--action-color:#0fa3d8}
.field-view .quick-menu button:nth-child(3){--action-color:#18a86d}
.field-view .quick-menu button:nth-child(4){--action-color:#ef4038}
.field-view .quick-menu button svg{
  box-sizing:border-box!important;
  width:46px!important;
  height:46px!important;
  padding:10px!important;
  border-radius:17px!important;
  background:color-mix(in srgb,var(--action-color) 12%,#fff)!important;
  color:var(--action-color)!important;
  stroke:currentColor!important;
  stroke-width:2.25!important;
  filter:drop-shadow(0 6px 10px rgba(9,63,116,.10))!important;
}
.field-view .quick-menu span{
  max-width:100%!important;
  color:#50647e!important;
  font-size:13px!important;
  font-weight:1000!important;
  line-height:1.18!important;
  letter-spacing:-.1px!important;
  text-align:center!important;
  white-space:normal!important;
}
.field-view .quick-menu button:hover,
.field-view .quick-menu button:focus-visible{
  border-color:color-mix(in srgb,var(--action-color) 36%,#d9e8f5)!important;
  transform:translateY(-1px);
}
.field-view .quick-menu .sos-small{
  background:linear-gradient(160deg,#fff,#fff6f4)!important;
  border-color:#ffd9d5!important;
}
.field-view .quick-menu .sos-small span{color:#a8403a!important}
@media(max-width:760px){
  .field-view .quick-menu{
    gap:9px!important;
    padding:13px!important;
    border-radius:24px!important;
  }
  .field-view .quick-menu button{
    min-height:88px!important;
    padding:10px 5px 9px!important;
    border-radius:17px!important;
    gap:8px!important;
  }
  .field-view .quick-menu button svg{
    width:42px!important;
    height:42px!important;
    padding:9px!important;
    border-radius:15px!important;
  }
  .field-view .quick-menu span{
    font-size:12px!important;
  }
}

/* Mobile role navigation 3.0: unified admin/officer dock with balanced icons and labels. */
@media(max-width:760px){
  body{
    padding-bottom:calc(122px + env(safe-area-inset-bottom))!important;
  }
  .view,
  .view.active{
    padding-bottom:calc(128px + env(safe-area-inset-bottom))!important;
  }
  .field-view.active{
    padding-bottom:calc(116px + env(safe-area-inset-bottom))!important;
  }
  .mobile-role-nav{
    left:10px!important;
    right:10px!important;
    bottom:8px!important;
    width:auto!important;
    max-width:none!important;
    min-height:86px!important;
    padding:9px 10px calc(9px + env(safe-area-inset-bottom))!important;
    display:grid!important;
    grid-auto-flow:column!important;
    grid-auto-columns:minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    border:1px solid rgba(213,228,241,.96)!important;
    border-radius:28px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(246,250,255,.97))!important;
    box-shadow:0 -10px 26px rgba(5,32,60,.12),0 16px 34px rgba(5,32,60,.18)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    overflow:visible!important;
  }
  .mobile-role-nav:before{
    content:"";
    position:absolute;
    left:24px;
    right:24px;
    top:0;
    height:3px;
    border-radius:999px;
    background:linear-gradient(90deg,#0f8df2,#22c0d6,#ffb01f,#ef4038);
    opacity:.9;
  }
  .mobile-role-nav .nav-item{
    min-width:0!important;
    min-height:66px!important;
    padding:7px 3px 6px!important;
    margin:0!important;
    border:1px solid transparent!important;
    border-radius:20px!important;
    background:transparent!important;
    color:#5d6f86!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    box-shadow:none!important;
    transform:none!important;
  }
  .mobile-role-nav .nav-item:before{
    display:none!important;
  }
  .mobile-role-nav .nav-item[hidden]{
    display:none!important;
  }
  .mobile-role-nav .nav-item span{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    border-radius:14px!important;
    display:grid!important;
    place-items:center!important;
    background:#eef5fc!important;
    color:#59708a!important;
    box-shadow:inset 0 0 0 1px rgba(199,216,232,.75)!important;
  }
  .mobile-role-nav .nav-item svg{
    width:21px!important;
    height:21px!important;
    stroke:currentColor!important;
    stroke-width:2.25!important;
    fill:none!important;
  }
  .mobile-role-nav .nav-item small{
    display:block!important;
    max-width:100%!important;
    color:inherit!important;
    font-size:12px!important;
    font-weight:1000!important;
    line-height:1.08!important;
    letter-spacing:-.25px!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .mobile-role-nav .nav-item.active{
    min-height:68px!important;
    color:#075fc5!important;
    background:linear-gradient(180deg,#ffffff,#edf6ff)!important;
    border-color:#b9d9fb!important;
    border-radius:22px!important;
    box-shadow:0 9px 20px rgba(10,93,183,.16)!important;
  }
  .mobile-role-nav .nav-item.active span{
    background:linear-gradient(145deg,#1889ff,#0764d9)!important;
    color:#fff!important;
    box-shadow:0 8px 17px rgba(10,93,183,.24)!important;
  }
  .mobile-role-nav .nav-item.active small{
    color:#075fc5!important;
  }
  .mobile-role-nav .nav-item[data-view="citizen"].active,
  .mobile-role-nav .nav-item[data-view="field"].active{
    color:#0b6fd6!important;
  }
  .mobile-role-nav .nav-item[data-view="citizen"].active span{
    background:linear-gradient(145deg,#ffb01f,#f08218)!important;
    box-shadow:0 8px 17px rgba(240,130,24,.24)!important;
  }
  .mobile-role-nav .nav-item[data-view="completed"].active span{
    background:linear-gradient(145deg,#20c878,#0b995b)!important;
    box-shadow:0 8px 17px rgba(11,153,91,.22)!important;
  }
  .mobile-role-nav .nav-item[data-view="map"].active span{
    background:linear-gradient(145deg,#1aa9df,#0c79cf)!important;
  }
  .mobile-role-nav .nav-item[data-view="resources"].active{
    color:#087b5b!important;
    border-color:#a8dfcb!important;
    background:linear-gradient(180deg,#fff,#effbf6)!important;
  }
  .mobile-role-nav .nav-item[data-view="resources"].active span{
    background:linear-gradient(145deg,#16ba7b,#087d5c)!important;
    box-shadow:0 8px 17px rgba(8,125,92,.24)!important;
  }
  .mobile-role-nav .nav-item[data-view="resources"].active small{
    color:#087b5b!important;
  }
  .mobile-role-nav .nav-item.mobile-more-nav.active span,
  .mobile-role-nav .nav-item[data-view="settings"].active span{
    background:linear-gradient(145deg,#745ce7,#4d37b4)!important;
  }
}
@media(max-width:390px){
  .mobile-role-nav{
    left:7px!important;
    right:7px!important;
    gap:5px!important;
    padding-left:7px!important;
    padding-right:7px!important;
  }
  .mobile-role-nav .nav-item span{
    width:31px!important;
    height:31px!important;
    min-width:31px!important;
    min-height:31px!important;
    border-radius:12px!important;
  }
  .mobile-role-nav .nav-item svg{
    width:19px!important;
    height:19px!important;
  }
  .mobile-role-nav .nav-item small{
    font-size:11px!important;
  }
}

/* Quiet developer signature — visible without competing with operational content */
.developer-signature{margin:18px 0 4px;padding:14px 17px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #dce7f2;border-radius:16px;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(239,246,253,.92));box-shadow:0 8px 24px rgba(11,53,94,.05);color:#60748b}
.developer-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#e9f4ff,#f7fbff);color:#1475ee;border:1px solid #d3e5f7}
.developer-mark svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.developer-signature div{display:grid;gap:2px}.developer-signature small{font-size:8px;font-weight:900;letter-spacing:1.6px;color:#8192a6}.developer-signature strong{font-size:12px;letter-spacing:1.1px;color:#263c56}.developer-signature em{font-size:9px;font-style:normal;font-weight:700;color:#8a9aad;white-space:nowrap}.developer-signature em i{padding:0 4px;font-style:normal;color:#18a86b}
.login-developer-credit{margin:12px -2px -3px;padding-top:10px;border-top:1px solid #e6edf5;display:flex;align-items:center;justify-content:center;gap:5px;color:#8a99aa;font-size:7px;letter-spacing:.25px}
.login-developer-credit b{color:#526b84;font-size:8px;letter-spacing:.85px}
@media(max-width:760px){.developer-signature{margin-top:14px;grid-template-columns:34px minmax(0,1fr);padding:12px 13px}.developer-mark{width:34px;height:34px;border-radius:11px}.developer-signature em{grid-column:2}.developer-signature strong{font-size:11px}.login-developer-credit{margin-top:10px}}

/* Background Web Push setup */
.push-setup-dialog{width:min(470px,calc(100vw - 24px));padding:0;border:0;border-radius:24px;background:transparent;box-shadow:0 28px 80px rgba(3,31,60,.28)}
.push-setup-dialog::backdrop{background:rgba(5,28,50,.58);backdrop-filter:blur(5px)}
.push-setup-shell{position:relative;padding:26px;background:linear-gradient(165deg,#fff 0%,#f3f8fd 100%);border:1px solid rgba(207,223,238,.9);border-radius:24px;color:#10243e}
.push-setup-shell .dialog-close{top:14px;right:14px}.push-setup-icon{width:62px;height:62px;margin:0 auto 10px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(145deg,#147cf3,#075fc5);box-shadow:0 13px 28px rgba(20,124,243,.25);font-size:29px}
.push-setup-kicker{display:block;text-align:center;color:#1475ee;font-size:8px;font-weight:900;letter-spacing:2px}.push-setup-shell h2{margin:5px 0 3px;text-align:center;font-size:23px}.push-setup-shell>p{margin:0 0 16px;text-align:center;color:#667a91;font-size:11px;line-height:1.55}
.push-setup-state{display:grid;grid-template-columns:13px minmax(0,1fr);gap:11px;align-items:center;padding:13px 15px;border:1px solid #d9e6f2;border-radius:15px;background:#fff}.push-setup-state>i{width:11px;height:11px;border-radius:50%;background:#8295aa;box-shadow:0 0 0 5px #8295aa18}.push-setup-state div{display:grid;gap:2px}.push-setup-state b{font-size:12px}.push-setup-state small{font-size:9px;color:#718399}.push-setup-state.success{border-color:#bde8d2;background:#f2fcf7}.push-setup-state.success>i{background:#16b66b;box-shadow:0 0 0 5px #16b66b18}.push-setup-state.warning{border-color:#f4d9a9;background:#fffbf2}.push-setup-state.warning>i{background:#ed9516;box-shadow:0 0 0 5px #ed951618}.push-setup-state.error{border-color:#f2c5c2;background:#fff5f4}.push-setup-state.error>i{background:#e33b34;box-shadow:0 0 0 5px #e33b3418}.push-setup-state.checking>i{animation:pushPulse 1.2s ease-in-out infinite}
.ios-push-guide{margin:13px 0 0;padding:13px 13px 13px 35px;border:1px solid #cae0f6;border-radius:15px;background:#edf6ff;color:#334f6c;font-size:10px;line-height:1.7}.ios-push-guide li+li{margin-top:4px}.push-benefits{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:13px 0}.push-benefits span{display:flex;align-items:center;gap:6px;color:#526a82;font-size:9px;font-weight:700}.push-benefits span:last-child{grid-column:1/-1}.push-benefits i{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#e4f8ed;color:#0b9654;font-style:normal;font-size:10px}.push-setup-shell>.primary-btn,.push-setup-shell>.secondary-btn{min-height:46px;margin-top:8px;border-radius:13px;font-size:11px}.push-disable-button{display:block;margin:10px auto 0;border:0;background:transparent;color:#a14d4a;font-size:9px;font-weight:800;cursor:pointer}.push-privacy{display:block;margin-top:13px;text-align:center;color:#8a9aad;font-size:8px;line-height:1.5}.push-setup-shell [hidden]{display:none!important}
@keyframes pushPulse{50%{transform:scale(.65);opacity:.45}}
@media(max-width:760px){.push-setup-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.push-setup-shell{padding:22px 18px 19px}.push-setup-icon{width:55px;height:55px;border-radius:18px;font-size:26px}.push-setup-shell h2{font-size:20px}.push-benefits{grid-template-columns:1fr}.push-benefits span:last-child{grid-column:auto}}
/* Joint operations: multi-team command and field support */
.multi-assignment-dialog{width:min(780px,calc(100vw - 28px))}.multi-assignment-dialog form{max-width:none;padding:34px;background:linear-gradient(155deg,#f8fbff,#eef6ff)}.assignment-kicker{display:inline-flex;color:#0876df;font-size:.72rem;font-weight:900;letter-spacing:.15em}.assignment-suggestion{display:flex;flex-direction:column;gap:4px;margin:18px 0 14px;padding:14px 16px;border:1px solid #b9dcff;border-radius:16px;background:linear-gradient(135deg,#e8f4ff,#f7fbff);color:#24415f}.assignment-suggestion b{color:#086fd1}.assignment-suggestion span{font-size:.83rem}.assignment-team-list{display:grid;gap:10px;max-height:min(52vh,520px);overflow:auto;padding:2px}.assignment-team-card{border:1px solid #d7e4f1;border-radius:18px;background:#fff;padding:14px;transition:.18s ease}.assignment-team-card.selected{border-color:#1687ee;box-shadow:0 8px 24px #0875df1f}.team-choice{display:flex!important;align-items:center;gap:12px;margin:0!important;cursor:pointer}.team-choice>input{width:20px;height:20px}.team-choice>i{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#e9f4ff;color:#0875df;font-style:normal;font-size:1.35rem}.team-choice>span{display:grid;gap:2px;flex:1}.team-choice b{color:#0b223e;font-size:1rem}.team-choice small{color:#6c7f94}.team-assignment-controls{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;margin:12px 0 0 32px}.team-assignment-controls label{display:flex!important;align-items:center;gap:6px;margin:0!important;font-size:.79rem;font-weight:800;color:#38516d}.team-assignment-controls input[type=radio],.team-assignment-controls input[type=checkbox]{width:17px;height:17px}.team-assignment-controls .team-duty{height:42px;margin:0;padding:0 12px;border-radius:11px;font-size:.82rem}.assignment-selected-summary{margin:14px 0;padding:12px 14px;border-radius:13px;background:#072d50;color:#d7ebff;font-size:.87rem}.assignment-selected-summary b{color:#fff}.support-request-dialog{width:min(520px,calc(100vw - 28px))}.support-request-dialog form{padding:34px}.support-request-dialog textarea{min-height:120px}.field-assignment-brief{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:14px 0;padding:14px;border:1px solid #62b3f4;border-radius:16px;background:linear-gradient(135deg,#0e5f9f,#1377bc);color:#fff}.field-assignment-brief>i{padding:7px 10px;border-radius:10px;background:#ffffff22;font-style:normal;font-size:.75rem;font-weight:900}.field-assignment-brief>div{display:grid;gap:2px}.field-assignment-brief span,.field-assignment-brief em{color:#cbe8ff;font-size:.72rem;font-style:normal}.field-assignment-brief b{font-size:.92rem}.incident-assignment-board{margin:18px 0;padding:18px;border:1px solid #d6e5f4;border-radius:20px;background:#f7fbff}.assignment-board-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.assignment-board-head span{font-size:.66rem;font-weight:900;letter-spacing:.16em;color:#1680df}.assignment-board-head h3{margin:3px 0 0}.assignment-board-head>b{padding:7px 11px;border-radius:999px;background:#e2f1ff;color:#0872d4;font-size:.78rem}.assignment-board-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.assignment-status-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:13px;border:1px solid #dce7f2;border-radius:15px;background:#fff}.assignment-status-card>i{padding:7px 9px;border-radius:9px;background:#ecf4fc;color:#49627c;font-style:normal;font-size:.68rem;font-weight:900}.assignment-status-card.primary>i{background:#dff1ff;color:#0875d5}.assignment-status-card>div{min-width:0}.assignment-status-card b{display:block;color:#0a2440}.assignment-status-card p{margin:3px 0 0;color:#6b7e92;font-size:.78rem}.assignment-status-card>em{padding:7px 9px;border-radius:999px;background:#fff2df;color:#b76300;font-size:.7rem;font-style:normal;font-weight:800;white-space:nowrap}.assignment-status-card>em.completed{background:#e3f8ed;color:#05814d}.assignment-status-card>em.traveling,.assignment-status-card>em.arrived,.assignment-status-card>em.helping{background:#e5f2ff;color:#086dcc}
@media(max-width:640px){.multi-assignment-dialog form,.support-request-dialog form{padding:25px 18px}.team-assignment-controls{grid-template-columns:1fr 1fr;margin-left:0}.team-assignment-controls .team-duty{grid-column:1/-1}.team-required-label{justify-self:end}.assignment-board-grid{grid-template-columns:1fr}.assignment-status-card{grid-template-columns:auto 1fr}.assignment-status-card>em{grid-column:2}.field-assignment-brief{grid-template-columns:auto 1fr}.field-assignment-brief>em{grid-column:2}}

/* Support dispatch command queue */
.support-request-queue{border:1px solid #cfe1f2;background:linear-gradient(135deg,#f5faff,#fff);box-shadow:0 14px 34px #0c4b7b12}
.support-request-queue .panel-head{align-items:center}.support-request-queue .panel-head h2{display:flex;align-items:center;gap:10px}.support-request-queue .panel-head h2 b{padding:6px 11px;border-radius:999px;background:#fff0dd;color:#bd6500;font-size:.72rem}
.support-request-list{display:grid;gap:10px;padding:0 18px 18px}.support-request-card{display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;padding:15px 16px;border:1px solid #d9e7f3;border-left:4px solid #f08b20;border-radius:16px;background:#fff}.support-request-card.urgency-critical{border-left-color:#e32d42;box-shadow:0 8px 22px #e32d4212}.support-request-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff0dc;color:#e47b09;font-size:1.25rem}.support-request-main{min-width:0}.support-request-main>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.support-request-main span{font-size:.72rem;font-weight:900;color:#0c77da}.support-request-main b{color:#102945}.support-request-main p{margin:4px 0;color:#4c6680;font-size:.84rem}.support-request-main small{color:#8192a5;font-size:.72rem}.support-request-main small strong{color:#c36a00}.support-status{padding:4px 8px;border-radius:999px;font-size:.68rem;font-style:normal;font-weight:800;background:#fff0de;color:#b76500}.support-status.acknowledged{background:#e8f2ff;color:#1473cf}.support-status.assigned{background:#e4f8ed;color:#07814e}.support-status.external{background:#f0e9ff;color:#6943be}.support-request-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.support-request-actions button{border:1px solid #c9ddec;border-radius:10px;padding:9px 11px;background:#fff;color:#31506e;font-weight:800;font-size:.74rem;cursor:pointer}.support-request-actions button.primary{border-color:#0878e5;background:#0878e5;color:#fff}.support-request-actions button:hover{filter:brightness(.97);transform:translateY(-1px)}
.detail-support-requests,.detail-team-reports{margin:18px 0;padding:18px;border:1px solid #d3e4f3;border-radius:20px;background:#f8fbff}.detail-section-heading{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:12px}.detail-section-heading span{width:100%;font-size:.65rem;letter-spacing:.16em;font-weight:900;color:#1680df}.detail-section-heading h3{margin:0;color:#102945}.detail-section-heading>b{margin-left:auto;color:#71869b;font-size:.76rem}.detail-support-list{display:grid;gap:9px}.detail-support-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #dce8f2}.detail-support-card>i{font-style:normal;color:#e98a14}.detail-support-card p{margin:3px 0;color:#60758b;font-size:.8rem}.detail-support-card small{color:#8b9bad;font-size:.7rem}.detail-support-card>em{padding:6px 9px;border-radius:999px;background:#eef4fb;color:#52708d;font-size:.68rem;font-style:normal;font-weight:800;white-space:nowrap}.team-report-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.team-report-lane{border:1px solid #dce8f2;border-radius:15px;background:#fff;overflow:hidden}.team-report-lane header{display:flex;align-items:center;gap:9px;padding:11px 13px;background:#eef6ff;border-bottom:1px solid #dce8f2}.team-report-lane header i{font-style:normal;color:#1479dc}.team-report-lane header div{display:grid;gap:2px}.team-report-lane header b{color:#153453;font-size:.83rem}.team-report-lane header span{color:#7e93a8;font-size:.68rem}.team-report-lane ul{list-style:none;margin:0;padding:5px 12px}.team-report-lane li{display:grid;grid-template-columns:auto 1fr;gap:8px;padding:9px 0;border-bottom:1px solid #edf2f7}.team-report-lane li:last-child{border-bottom:0}.team-report-lane time{color:#8ba0b2;font-size:.68rem}.team-report-lane li b{color:#31516f;font-size:.74rem}.team-report-lane li p{margin:2px 0;color:#63788d;font-size:.75rem}.team-report-lane li small{color:#1680df;font-size:.68rem}
.support-dispatch-dialog{width:min(560px,calc(100vw - 28px));border:0;border-radius:22px;padding:0;box-shadow:0 24px 80px #062b4a44}.support-dispatch-dialog form{display:grid;gap:13px;padding:30px;background:linear-gradient(155deg,#f9fcff,#eef7ff)}.support-dispatch-dialog h2{margin:0;color:#0d2948}.support-dispatch-dialog p{margin:0;color:#647b92;font-size:.84rem}.support-dispatch-dialog label{display:grid;gap:6px;color:#244563;font-size:.8rem;font-weight:800}.support-dispatch-dialog select,.support-dispatch-dialog textarea{width:100%;border:1px solid #c9ddec;border-radius:12px;padding:11px;background:#fff;font:inherit}.support-dispatch-dialog textarea{min-height:110px;resize:vertical}
@media(max-width:700px){.support-request-card{grid-template-columns:auto 1fr}.support-request-actions{grid-column:1/-1;justify-content:flex-start}.team-report-columns{grid-template-columns:1fr}.detail-support-card{grid-template-columns:auto 1fr}.detail-support-card>em{grid-column:2;justify-self:start}}

/* Resource status provenance */
.resource-status-reason{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:7px;align-items:center;margin:0 0 10px;padding:9px 10px;border:1px solid #dce8f4;border-radius:10px;background:#f6faff;color:#60778e;font-size:.66rem}.resource-status-reason b{color:#173b5e}.resource-status-reason span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-status-reason small{color:#8a9bad;white-space:nowrap}
.resource-card .resource-ready-button{margin-bottom:8px;border-color:#8edab8;background:linear-gradient(135deg,#0c9f5d,#18bd75);color:#fff;box-shadow:0 7px 16px rgba(10,153,90,.18)}.resource-card .resource-ready-button:disabled{opacity:.65;box-shadow:none}.resource-card.status-inspection{background:linear-gradient(150deg,#fff,#fffaf2)}
@media(max-width:760px){.resource-status-reason{grid-template-columns:1fr}.resource-status-reason span{white-space:normal}.resource-status-reason small{white-space:normal}}

/* Incident Command Center + verified acknowledgement */
.incident-detail-dialog{width:min(1040px,calc(100% - 24px));border-radius:26px}.incident-detail-dialog::backdrop{background:rgba(3,20,37,.72);backdrop-filter:blur(8px)}.incident-detail-shell{padding:0 28px 30px}.command-heading{margin:0 -28px;padding:30px 68px 24px;text-align:left;border:0;border-radius:25px 25px 0 0;background:radial-gradient(circle at 88% 10%,rgba(40,153,230,.3),transparent 30%),linear-gradient(125deg,#052943,#075b94);color:#fff}.command-heading>span{background:#ffffff18;color:#aadaff;border:1px solid #ffffff24;font-size:.68rem;font-weight:900;letter-spacing:.15em}.command-heading h2{font-size:1.8rem;margin-top:13px}.command-heading p{color:#c8e3f5;font-size:1rem}.command-heading-status{display:flex;align-items:center;gap:10px;margin-top:14px}.command-heading-status b,.command-heading-status em{padding:8px 12px;border-radius:999px;font-size:.76rem;font-style:normal}.command-heading-status b{background:#147cf3;color:#fff}.command-heading-status em{background:#ffffff12;color:#d9efff;border:1px solid #ffffff1f}.detail-command-state{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 12px}.detail-command-state>div{position:relative;overflow:hidden;display:grid;gap:4px;min-height:105px;padding:17px 18px;border:1px solid #d7e5f2;border-radius:18px;background:#fff}.detail-command-state>div:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#1680df}.detail-command-state span,.detail-command-state small{color:#74869a;font-size:.72rem}.detail-command-state b{color:#092640;font-size:1rem}.detail-command-state .state-good:before{background:#12ad68}.detail-command-state .state-good b{color:#07844c}.detail-command-state .state-warning:before,.detail-command-state .state-pending:before{background:#ff9418}.detail-command-state .state-warning b,.detail-command-state .state-pending b{color:#b96000}.detail-command-state .state-late{background:#fff7f6;border-color:#ffc9c4}.detail-command-state .state-late:before{background:#ef3e36}.detail-command-state .state-late b{color:#c72d26}.detail-command-actions{display:flex;gap:9px;align-items:center;margin-bottom:18px}.detail-command-actions button{min-height:44px;border-radius:13px;font-weight:900}.command-ack-button{border:0;padding:0 18px;background:linear-gradient(135deg,#12b96d,#07854d);color:#fff;box-shadow:0 9px 20px #0b95502e}.command-ack-button:disabled{opacity:.55;box-shadow:none}.incident-detail-summary{margin-top:0}.incident-detail-summary div{border:1px solid #e0eaf4;background:#f8fbfe;border-radius:14px}.incident-assignment-board{padding:20px;border-radius:20px;background:linear-gradient(145deg,#f7fbff,#edf6ff)}.command-team-grid{grid-template-columns:1fr 1fr}.command-team-card{align-items:start;min-height:138px;padding:15px;border-radius:17px;box-shadow:0 5px 16px #092c4a0b}.command-team-card>div{display:grid;gap:3px}.command-team-card>div>small{color:#74869a;font-size:.68rem}.assignment-mini-rail{display:grid!important;grid-template-columns:repeat(6,1fr);gap:4px;margin:9px 0 5px}.assignment-mini-rail i{height:5px;border-radius:999px;background:#dbe6f0}.assignment-mini-rail i.done{background:#13ad68}.assignment-mini-rail i.current{background:#1680df;box-shadow:0 0 0 3px #1680df18}.command-empty-team{display:flex;align-items:center;gap:13px;padding:20px;border:1px dashed #efad61;border-radius:16px;background:#fff9f1}.command-empty-team>i{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#ff9418;color:#fff;font-style:normal;font-weight:900}.command-empty-team>div{display:grid;gap:3px}.command-empty-team b{color:#7e4200}.command-empty-team span{color:#8b7154;font-size:.78rem}.incident-timeline article{border-radius:15px}.incident-timeline article p{background:#edf6ff;color:#29465f}.notification-item small{line-height:1.45}.notification-item:has(small:first-child){border-left:3px solid #1475ee}
.incident-command-tabs{position:sticky;z-index:8;top:0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 -4px 18px;padding:12px 4px 9px;background:linear-gradient(180deg,#fff 78%,#ffffff00)}.incident-command-tabs button{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;min-height:54px;padding:8px 11px;border:1px solid #d7e4ef;border-radius:15px;background:#f7fafc;color:#60758b;text-align:left}.incident-command-tabs button>i{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#e8f2fb;color:#1474d6;font-style:normal;font-size:1rem}.incident-command-tabs button>span{font-size:.75rem;font-weight:900}.incident-command-tabs button>em{padding:4px 6px;border-radius:999px;background:#e9f2fa;color:#6b7f93;font-size:.57rem;font-style:normal;font-weight:900}.incident-command-tabs button.active{border-color:#9bcaf4;background:#edf7ff;color:#0869c6;box-shadow:0 8px 20px rgba(8,105,198,.12)}.incident-command-tabs button.active>i{background:linear-gradient(145deg,#1689f5,#0764c8);color:#fff}.incident-command-tabs button.active>em{background:#d7edff;color:#0869c6}.detail-incident-personnel{margin-top:14px;padding:18px;border:1px solid #d4e5ef;border-radius:20px;background:linear-gradient(145deg,#f9fffc,#eefaf5)}.incident-personnel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.incident-personnel-item{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:12px;border:1px solid #d5e8df;border-radius:14px;background:#fff}.incident-personnel-item>i{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#e2f7ec;color:#078c54;font-style:normal;font-weight:1000}.incident-personnel-item>div{display:grid;min-width:0;gap:2px}.incident-personnel-item span,.incident-personnel-item small{color:#71869a;font-size:.64rem}.incident-personnel-item b{overflow:hidden;color:#12324d;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.incident-personnel-item>em{padding:5px 7px;border-radius:999px;background:#e3f7ed;color:#07874f;font-size:.59rem;font-style:normal;font-weight:900}.incident-personnel-item.released>em,.incident-personnel-item.completed>em{background:#eef2f5;color:#65778a}.command-evidence-section,.command-timeline-section{margin-top:18px}.command-evidence-section>h3{font-size:14px;margin:0 0 8px}
@media(max-width:760px){.incident-detail-dialog{width:100%;max-height:100dvh;margin:0;border-radius:22px 22px 0 0}.incident-detail-shell{padding:0 14px calc(24px + env(safe-area-inset-bottom));max-height:100dvh}.command-heading{margin:0 -14px;padding:24px 46px 19px 18px;border-radius:21px 21px 0 0}.command-heading h2{font-size:1.25rem}.command-heading p{font-size:.82rem}.command-heading-status{align-items:flex-start;flex-direction:row;flex-wrap:wrap;gap:6px;margin-top:10px}.command-heading-status b,.command-heading-status em{padding:6px 9px;font-size:.65rem}.incident-command-tabs{top:0;gap:4px;margin:0 -14px 12px;padding:8px 9px;background:rgba(255,255,255,.96);border-bottom:1px solid #dfe8f0;backdrop-filter:blur(13px)}.incident-command-tabs button{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:62px;padding:5px 2px;border:0;background:transparent;text-align:center}.incident-command-tabs button>i{width:29px;height:29px;border-radius:10px;font-size:.88rem}.incident-command-tabs button>span{max-width:100%;font-size:.66rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.incident-command-tabs button>em{position:absolute;top:2px;right:3px;padding:2px 4px;font-size:.48rem}.incident-command-tabs button.active{border:1px solid #acd1f4;border-radius:14px}.incident-detail-dialog [data-command-section]{scroll-margin-top:88px}.incident-detail-dialog[data-active-command-tab="overview"] [data-command-section]:not([data-command-section="overview"]),.incident-detail-dialog[data-active-command-tab="teams"] [data-command-section]:not([data-command-section="teams"]),.incident-detail-dialog[data-active-command-tab="timeline"] [data-command-section]:not([data-command-section="timeline"]),.incident-detail-dialog[data-active-command-tab="reports"] [data-command-section]:not([data-command-section="reports"]){display:none!important}.detail-command-state{grid-template-columns:1fr;gap:8px;margin-top:7px}.detail-command-state>div{min-height:80px;padding:12px 14px}.detail-command-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.detail-command-actions button{min-height:47px;font-size:.72rem}.detail-command-actions .command-ack-button,.detail-command-actions .command-cancel-button{grid-column:1/-1}.command-cancel-button{margin-left:0}.incident-assignment-board{padding:12px;border-radius:17px}.command-team-grid{grid-template-columns:1fr}.command-team-card{min-height:0;grid-template-columns:auto 1fr}.command-team-card>em{grid-column:2;justify-self:start}.incident-personnel-grid{grid-template-columns:1fr}.incident-personnel-item{grid-template-columns:auto 1fr}.incident-personnel-item>em{grid-column:2;justify-self:start}.detail-incident-personnel{padding:13px}.incident-detail-summary{grid-template-columns:1fr 1fr}.incident-detail-summary .full{grid-column:1/-1}.command-evidence-section,.command-timeline-section{margin-top:5px}}

/* Incident Command live controls: obvious close action and resilient in-place sync. */
.command-close-button{position:absolute;z-index:25;right:22px;top:20px;display:flex;align-items:center;gap:9px;min-height:46px;padding:7px 12px 7px 8px;border:1px solid rgba(255,255,255,.35);border-radius:15px;background:rgba(3,28,51,.58);box-shadow:0 10px 24px rgba(1,21,40,.22);color:#fff;cursor:pointer;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:.18s}.command-close-button:hover{transform:translateY(-1px);background:#b9192b;border-color:#ffb2bb;box-shadow:0 12px 28px rgba(145,14,34,.32)}.command-close-button>i{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#e72f43;color:#fff;font-size:23px;font-style:normal;line-height:1}.command-close-button>span{font-size:12px;font-weight:1000;white-space:nowrap}
.incident-command-live{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;margin-top:13px;padding:6px 7px 6px 10px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(1,25,45,.28);color:#d5edfb}.incident-command-live>i{flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:#35db91;box-shadow:0 0 0 5px rgba(53,219,145,.13)}.incident-command-live>span{font-size:10px;font-weight:850;white-space:nowrap}.incident-command-live>button{min-height:30px;padding:4px 9px;border:1px solid rgba(255,255,255,.21);border-radius:999px;background:rgba(255,255,255,.11);color:#fff;font-size:10px;font-weight:900;cursor:pointer}.incident-command-live[data-state="syncing"]>i{background:#ffb126;box-shadow:0 0 0 5px rgba(255,177,38,.14);animation:command-live-pulse 1s infinite}.incident-command-live[data-state="fallback"]>i{background:#43a5f4;box-shadow:0 0 0 5px rgba(67,165,244,.14)}.incident-command-live[data-state="offline"]>i{background:#ff5b67;box-shadow:0 0 0 5px rgba(255,91,103,.14)}
.assignment-board-meta{display:flex;align-items:center;gap:8px}.assignment-board-meta>span{display:flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#e4f8ef;color:#087e4c;font-size:10px;font-weight:900}.assignment-board-meta>span i{width:7px;height:7px;border-radius:50%;background:#16b46c;box-shadow:0 0 0 4px rgba(22,180,108,.12)}.assignment-board-meta>b{padding:7px 11px;border-radius:999px;background:#e2f1ff;color:#0872d4;font-size:.78rem}.incident-detail-dialog.command-data-updated .incident-assignment-board{animation:command-board-update .85s ease}
@keyframes command-live-pulse{50%{opacity:.45;transform:scale(.82)}}@keyframes command-board-update{0%{box-shadow:0 0 0 0 rgba(20,128,223,.34)}45%{box-shadow:0 0 0 5px rgba(20,128,223,.11)}100%{box-shadow:0 0 0 0 rgba(20,128,223,0)}}
@media(max-width:760px){.command-close-button{position:fixed;right:12px;top:calc(10px + env(safe-area-inset-top));min-height:45px;padding:6px;border-color:rgba(255,255,255,.48);background:rgba(5,35,60,.9)}.command-close-button>i{width:33px;height:33px}.command-close-button>span{display:none}.command-heading{padding-right:62px}.incident-command-live{width:100%;justify-content:flex-start;margin-top:11px;border-radius:13px}.incident-command-live>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.incident-command-live>button{margin-left:auto}.assignment-board-head{align-items:flex-start;gap:8px}.assignment-board-meta{align-items:flex-end;flex-direction:column;gap:5px}.assignment-board-meta>span{padding:5px 7px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.incident-command-live[data-state="syncing"]>i,.incident-detail-dialog.command-data-updated .incident-assignment-board{animation:none}}

/* Joint Operations mission timeline, attention filters and command notes. */
.assignment-board-head>div:first-child>p{margin:4px 0 0;color:#6f8498;font-size:11px}.command-team-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:14px 0}.command-team-filters button{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:43px;padding:8px 10px;border:1px solid #d6e4ef;border-radius:13px;background:#fff;color:#5e748a;cursor:pointer}.command-team-filters button span{font-size:10px;font-weight:900;white-space:nowrap}.command-team-filters button b{min-width:24px;padding:3px 6px;border-radius:999px;background:#edf3f8;color:#38536c;font-size:10px;text-align:center}.command-team-filters button.active{border-color:#7ebbf0;background:#eaf5ff;color:#086bc7;box-shadow:0 6px 16px rgba(8,107,199,.11)}.command-team-filters button.active b{background:#147bea;color:#fff}.command-team-filters button[data-team-filter="stale"]{color:#b85a00}.command-team-filters button[data-team-filter="stale"].active{border-color:#f2b25f;background:#fff5e8;color:#9b4900}.command-team-filters button[data-team-filter="stale"].active b{background:#ee8b18}
.command-team-grid{align-items:start}.command-team-card{display:block!important;min-height:0!important;padding:16px!important;border-radius:19px!important}.command-team-card[hidden]{display:none!important}.command-team-card>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px}.command-team-card>header>i{padding:7px 9px;border-radius:9px;background:#ecf4fc;color:#49627c;font-style:normal;font-size:.68rem;font-weight:900}.command-team-card.primary>header>i{background:#dff1ff;color:#0875d5}.command-team-card>header>div{display:grid;min-width:0;gap:3px}.command-team-card>header b{color:#0a2440;font-size:15px}.command-team-card>header p{margin:0;color:#6b7e92;font-size:11px;line-height:1.4}.command-team-card>header>em{padding:7px 9px;border-radius:999px;background:#fff2df;color:#b76300;font-size:.7rem;font-style:normal;font-weight:900;white-space:nowrap}.command-team-card>header>em.completed{background:#e3f8ed;color:#05814d}.command-team-card>header>em.traveling,.command-team-card>header>em.arrived,.command-team-card>header>em.helping,.command-team-card>header>em.transporting{background:#e5f2ff;color:#086dcc}
.team-mission-steps{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin:18px 0 13px}.team-mission-steps:before{content:"";position:absolute;left:7%;right:7%;top:14px;height:3px;border-radius:99px;background:#dfe8f0}.team-mission-steps>span{position:relative;z-index:1;display:grid;justify-items:center;gap:5px;min-width:0}.team-mission-steps>span>i{width:30px;height:30px;display:grid;place-items:center;border:3px solid #e2eaf1;border-radius:50%;background:#fff;color:#8193a5;font-size:10px;font-style:normal;font-weight:1000}.team-mission-steps>span>b{color:#8292a3;font-size:8px;white-space:nowrap}.team-mission-steps>span.done>i{border-color:#15aa68;background:#15aa68;color:#fff}.team-mission-steps>span.done>b{color:#07814c}.team-mission-steps>span.current>i{border-color:#fff;background:#147ceb;color:#fff;box-shadow:0 0 0 4px #dceeff,0 6px 14px rgba(20,124,235,.2)}.team-mission-steps>span.current>b{color:#086bc8;font-weight:1000}.team-mission-steps.halted>span:first-child>i{background:#8b99a7;color:#fff}
.team-latest-activity{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid #dce8f2;border-radius:14px;background:linear-gradient(145deg,#f8fbfe,#f1f7fc)}.team-latest-activity>i{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#e3f1ff;color:#0873d5;font-style:normal;font-weight:1000}.team-latest-activity>div{display:grid;min-width:0;gap:2px}.team-latest-activity span,.team-latest-activity small{color:#72869a;font-size:9px}.team-latest-activity b{overflow:hidden;color:#173750;font-size:11px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.team-latest-activity>a{padding:7px 9px;border:1px solid #b9d9f2;border-radius:10px;background:#fff;color:#0872d2;font-size:9px;font-weight:900;text-decoration:none;white-space:nowrap}.team-silence-alert{display:flex;align-items:center;gap:8px;margin-top:9px;padding:9px 10px;border-radius:11px;font-size:10px;font-weight:900}.team-silence-alert>i{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;font-style:normal}.team-silence-alert.warning{background:#fff5e5;color:#a95700}.team-silence-alert.warning>i{background:#f39a20;color:#fff}.team-silence-alert.critical{background:#fff0f1;color:#b82230}.team-silence-alert.critical>i{background:#e63243;color:#fff}.command-team-card.attention-warning{border-color:#efc27e!important}.command-team-card.attention-critical{border-color:#ee9099!important;box-shadow:0 8px 24px rgba(202,35,52,.1)!important}
.command-note-form{display:grid;gap:12px;margin:0 0 18px;padding:15px 16px;border:1px solid #c9dded;border-radius:18px;background:radial-gradient(circle at 98% 0,rgba(22,127,221,.12),transparent 32%),linear-gradient(145deg,#f8fcff,#eef7ff)}.command-note-heading{display:flex;align-items:center;gap:11px}.command-note-heading>i{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#1689ef,#0867c8);color:#fff;font-style:normal;font-size:17px}.command-note-heading>span{display:grid}.command-note-heading b{color:#0b3659;font-size:14px}.command-note-heading small{color:#668097;font-size:10px}.command-note-fields{display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:end;gap:9px}.command-note-fields label{display:grid;gap:5px;color:#506b82;font-size:9px;font-weight:900}.command-note-fields select,.command-note-fields textarea{width:100%;border:1px solid #cbddea;border-radius:11px;background:#fff;color:#17334c;font:inherit;font-size:11px;outline:none}.command-note-fields select{height:45px;padding:0 10px}.command-note-fields textarea{height:45px;min-height:45px;padding:11px;resize:vertical}.command-note-fields select:focus,.command-note-fields textarea:focus{border-color:#3a93df;box-shadow:0 0 0 3px rgba(58,147,223,.1)}.command-note-fields>button{min-height:45px;padding:0 15px;border:0;border-radius:11px;background:linear-gradient(135deg,#0d80e6,#075dbb);color:#fff;font-size:11px;font-weight:1000;white-space:nowrap;box-shadow:0 7px 17px rgba(8,104,197,.18)}.command-note-fields>button:disabled{opacity:.6}
@media(max-width:900px){.command-team-filters{grid-template-columns:repeat(3,1fr)}.command-note-fields{grid-template-columns:1fr auto}.command-note-fields>label:first-child{grid-column:1/-1}.command-note-message{grid-column:1}.command-note-fields>button{grid-column:2}}
@media(max-width:760px){.assignment-board-head>div:first-child>p{font-size:10px}.command-team-filters{display:flex;overflow-x:auto;margin:12px -3px;padding:3px;scrollbar-width:none}.command-team-filters::-webkit-scrollbar{display:none}.command-team-filters button{flex:0 0 auto;min-height:42px}.command-team-card{padding:14px 12px!important}.command-team-card>header{grid-template-columns:auto minmax(0,1fr)}.command-team-card>header>em{grid-column:2;justify-self:start}.team-mission-steps{margin-left:-5px;margin-right:-5px}.team-mission-steps>span>i{width:28px;height:28px}.team-mission-steps>span>b{font-size:7px}.team-latest-activity{grid-template-columns:auto minmax(0,1fr)}.team-latest-activity>a{grid-column:2;justify-self:start}.team-latest-activity b{white-space:normal}.command-note-form{padding:13px}.command-note-heading b{font-size:13px}.command-note-heading small{font-size:9px}.command-note-fields{grid-template-columns:1fr}.command-note-fields>label:first-child,.command-note-message,.command-note-fields>button{grid-column:1}.command-note-fields textarea{height:74px}.command-note-fields>button{min-height:48px}}
@media(max-width:420px){.incident-detail-summary{grid-template-columns:1fr}.incident-detail-summary .full{grid-column:auto}.detail-command-actions{grid-template-columns:1fr}.detail-command-actions .command-ack-button{grid-column:auto}}
.support-request-card.support-escalated{border-color:#ef4444;box-shadow:0 10px 26px rgba(239,68,68,.14);background:linear-gradient(135deg,#fff 0%,#fff7f7 100%)}
.support-request-card.support-escalated .support-request-mark{background:#ef4444;color:#fff;animation:pulse-alert 1.8s infinite}
.support-request-card.support-escalated .support-status{color:#b42318;background:#fee4e2}
@keyframes pulse-alert{0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,.25)}50%{box-shadow:0 0 0 8px rgba(239,68,68,0)}}

/* Settings: data backup, restore and organization handoff */
.data-management{margin-top:24px;padding:26px;border:1px solid #cfe0ef;border-radius:26px;background:linear-gradient(145deg,#f8fbff,#eef6fc);box-shadow:0 18px 46px rgba(9,52,87,.09)}
.data-management-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.data-management-head span,.backup-scope-card span,.restore-copy span,.maintenance-grid article>div>span{color:#1677d2;font-size:.68rem;font-weight:900;letter-spacing:.15em}.data-management-head h2{margin:5px 0 3px;color:#082744;font-size:1.35rem}.data-management-head p{margin:0;color:#6b8095}.data-management-head>i{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#0b7cea,#0755b8);color:#fff;font-size:1.8rem;font-style:normal;box-shadow:0 12px 24px rgba(8,105,207,.2)}
.backup-scope-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.backup-scope-card{position:relative;overflow:hidden;display:grid;grid-template-columns:auto 1fr;gap:14px;min-height:215px;padding:20px;border:1px solid #d6e5f2;border-radius:20px;background:#fff}.backup-scope-card:after{content:"";position:absolute;right:-45px;bottom:-65px;width:150px;height:150px;border:24px solid #e9f3fc;border-radius:50%}.backup-scope-card>i{position:relative;z-index:1;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#e8f3ff;color:#0875dc;font-style:normal;font-size:1.25rem}.backup-scope-card>div{position:relative;z-index:1}.backup-scope-card h3{margin:4px 0;color:#0b2a47}.backup-scope-card p{margin:7px 0 0;color:#687f95;font-size:.79rem;line-height:1.6}.backup-scope-card button{position:relative;z-index:1;grid-column:1/-1;align-self:end;min-height:44px;border:0;border-radius:13px;background:#e9f4ff;color:#086dcc;font-weight:900}.backup-scope-card.incidents>i,.backup-scope-card.incidents button{background:#fff0de;color:#bd6800}.backup-scope-card.full{border-color:#a8d2fa;background:linear-gradient(145deg,#fff,#f1f8ff)}.backup-scope-card.full>i,.backup-scope-card.full button{background:linear-gradient(135deg,#147cf3,#075fcf);color:#fff}.backup-scope-card button:disabled{opacity:.55}
.restore-center{display:grid;grid-template-columns:1.1fr 1fr;gap:16px;align-items:center;margin-top:16px;padding:20px;border:1px solid #caddec;border-radius:20px;background:#fff}.restore-copy{display:flex;align-items:center;gap:14px}.restore-copy>i{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#e7f7ef;color:#07925a;font-style:normal;font-size:1.4rem}.restore-copy h3{margin:4px 0;color:#092945}.restore-copy p{margin:0;color:#708499;font-size:.78rem}.restore-drop{display:grid!important;gap:3px;margin:0!important;padding:14px 16px;border:1px dashed #8ab9e3;border-radius:15px;background:#f7fbff;cursor:pointer}.restore-drop input{position:absolute;opacity:0;pointer-events:none}.restore-drop b{color:#0d68bd}.restore-drop small{color:#7a8da0}.restore-preview{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:12px 15px;border-radius:14px;background:#f1f6fa;color:#73869a}.restore-preview>div{display:grid;gap:2px}.restore-preview b{color:#0a2945}.restore-preview small{color:#7c8fa2}.restore-preview>i{color:#078b53;font-style:normal;font-weight:900}.restore-preview>em{color:#c82c27;font-style:normal;font-weight:800}.restore-button{grid-column:1/-1;min-height:48px;border:0;border-radius:14px;background:linear-gradient(135deg,#12ad68,#07834d);color:#fff;font-weight:900}.restore-button:disabled{background:#d8e2eb;color:#8495a6}
.maintenance-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.maintenance-grid>article{display:flex;justify-content:space-between;gap:18px;min-height:145px;padding:20px;border:1px solid #d4e3ef;border-radius:20px;background:#fff}.maintenance-grid h3{margin:4px 0;color:#0b2945}.maintenance-grid p{max-width:560px;margin:6px 0;color:#6c8196;font-size:.78rem;line-height:1.55}.maintenance-grid nav{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:190px}.factory-reset-card{border-color:#ffc9c5!important;background:linear-gradient(135deg,#fff,#fff5f4)!important}.factory-reset-card>div>span{color:#d33c35}.factory-reset-card>button{align-self:center;min-width:210px;min-height:46px;border:1px solid #e54a43;border-radius:13px;background:#fff;color:#c52e28;font-weight:900}.backup-security-note{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:13px 16px;border-radius:14px;background:#0b2f4e;color:#d4e7f6}.backup-security-note>i{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#16b76d;color:#fff;font-style:normal}.backup-security-note p{margin:2px 0;font-size:.76rem;line-height:1.55}.backup-security-note b{color:#fff}
@media(max-width:900px){.backup-scope-grid{grid-template-columns:1fr}.backup-scope-card{min-height:0}.restore-center,.maintenance-grid{grid-template-columns:1fr}.restore-preview,.restore-button{grid-column:1}.maintenance-grid>article{flex-direction:column}.maintenance-grid nav{min-width:0}.factory-reset-card>button{align-self:stretch}.data-management{padding:18px}}
@media(max-width:560px){.data-management-head>i{display:none}.restore-center{padding:15px}.restore-copy{align-items:flex-start}.backup-scope-card{padding:16px}.data-management-head h2{font-size:1.12rem}}

/* Operational resources and readiness center */
.resources-view{padding:24px 28px 42px;background:radial-gradient(circle at 92% 2%,#dff3ff 0,transparent 28%),linear-gradient(180deg,#f4f9fd,#eaf3f9);min-height:100vh}.resource-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:28px;padding:30px 34px;border-radius:28px;background:radial-gradient(circle at 78% 20%,rgba(46,184,236,.28),transparent 26%),linear-gradient(130deg,#052b49 0%,#075b91 68%,#087eb3 100%);color:#fff;box-shadow:0 20px 48px rgba(3,45,77,.2)}.resource-hero:after{content:"";position:absolute;right:-80px;top:-140px;width:390px;height:390px;border:55px solid rgba(255,255,255,.07);border-radius:50%}.resource-hero>div,.resource-hero>nav{position:relative;z-index:1}.resource-hero>div>span{display:flex;align-items:center;gap:9px;color:#82d9ff;font-size:.72rem;font-weight:900;letter-spacing:.15em}.resource-hero>div>span i{width:9px;height:9px;border-radius:50%;background:#24d68c;box-shadow:0 0 0 7px rgba(36,214,140,.15)}.resource-hero h1{margin:10px 0 3px;font-size:2rem}.resource-hero p{margin:0;color:#c6e5f7}.resource-freshness{display:flex;gap:12px;align-items:center;margin-top:18px}.resource-freshness b,.resource-freshness em{padding:8px 12px;border:1px solid #ffffff25;border-radius:999px;background:#ffffff0d;color:#d9effb;font-size:.72rem;font-style:normal}.resource-hero nav{display:flex;align-items:center;gap:10px}.resource-hero nav button{min-height:52px;border-radius:15px;font-weight:900}.resource-report-button{display:flex;align-items:center;gap:10px;padding:0 18px;border:0;background:linear-gradient(135deg,#ffb224,#f18a12);color:#172944;box-shadow:0 12px 26px rgba(240,139,19,.25)}.resource-report-button>i{font-size:1.35rem;font-style:normal}.resource-report-button span{display:grid;text-align:left}.resource-report-button small{font-size:.68rem}.resource-add-button{padding:0 17px;border:1px solid #ffffff42;background:#ffffff12;color:#fff}
.resource-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}.resource-kpis article{position:relative;overflow:hidden;display:flex;align-items:center;gap:13px;min-height:116px;padding:18px;border:1px solid #d5e4ef;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(9,52,85,.07)}.resource-kpis article:after{content:"";position:absolute;right:-27px;bottom:-48px;width:110px;height:110px;border:18px solid #edf5fb;border-radius:50%}.resource-kpis>article>i{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:14px;background:#e7f2ff;color:#1475df;font-style:normal;font-size:1.25rem}.resource-kpis>article>div{position:relative;z-index:1;display:grid;gap:2px}.resource-kpis span,.resource-kpis small{color:#73869a;font-size:.72rem}.resource-kpis b{color:#092743;font-size:1.8rem}.resource-kpis .ready>i{background:#e1f7ec;color:#079358}.resource-kpis .active>i{background:#fff0db;color:#d27605}.resource-kpis .repair>i{background:#fee8e5;color:#d83c34}.resource-kpis .people>i{background:#eee9ff;color:#6d50d5}
.resource-attention-panel{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(420px,1.2fr);gap:18px;align-items:center;margin:0 0 16px;padding:20px 22px;border:1px solid #f0d2a2;border-radius:23px;background:linear-gradient(135deg,#fffaf1,#fff4df);box-shadow:0 10px 28px rgba(126,81,15,.08)}.resource-attention-panel>div:first-child>span{color:#ca7208;font-size:.67rem;font-weight:1000;letter-spacing:.15em}.resource-attention-panel h2{margin:3px 0;color:#122d49;font-size:1.2rem}.resource-attention-panel p{margin:0;color:#718399;font-size:.75rem}.resource-attention-panel.clear{border-color:#cfe9dc;background:linear-gradient(135deg,#f7fffb,#edfaf4)}#resourceAttentionActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#resourceAttentionActions>button,.resource-attention-clear{min-height:76px;padding:11px 13px;border:1px solid #f0d09f;border-radius:16px;background:#fff;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;text-align:left;color:#16304b}#resourceAttentionActions>button>i,.resource-attention-clear>i{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#fff0d7;color:#c66e05;font-style:normal;font-weight:1000}#resourceAttentionActions>button span,.resource-attention-clear span{display:grid;gap:2px}#resourceAttentionActions b,.resource-attention-clear b{font-size:.82rem}#resourceAttentionActions small,.resource-attention-clear small{color:#74879a;font-size:.65rem}#resourceAttentionActions em{color:#cc7308;font-size:.67rem;font-style:normal;font-weight:900}#resourceAttentionActions>button.issue>i{background:#fee9e7;color:#d43832}.resource-attention-clear{grid-column:1/-1;border-color:#cbe8d9}.resource-attention-clear>i{background:#e0f7eb;color:#079359}
.readiness-section,.resource-register{margin-top:16px;padding:22px;border:1px solid #d3e3ef;border-radius:24px;background:#fff;box-shadow:0 12px 32px rgba(8,48,78,.07)}.resource-section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:16px}.resource-section-head>div>span{color:#1477d6;font-size:.67rem;font-weight:900;letter-spacing:.16em}.resource-section-head h2{margin:3px 0;color:#092844}.resource-section-head p{margin:0;color:#718599;font-size:.78rem}.unit-readiness-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.unit-readiness-card{padding:17px;border:1px solid #dce7f0;border-radius:18px;background:linear-gradient(145deg,#fff,#f7fbfe)}.unit-readiness-card header{display:flex;justify-content:space-between;align-items:center;gap:10px}.unit-readiness-card header>div{display:flex;align-items:center;gap:10px}.unit-readiness-card header>div>i{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e8f3ff;color:#1475db}.unit-readiness-card header svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.8}.unit-readiness-card header span{display:grid}.unit-readiness-card header b{color:#0a2844}.unit-readiness-card header small{color:#72869a}.unit-readiness-card header>em{padding:6px 9px;border-radius:999px;background:#e3f7ed;color:#07864f;font-size:.68rem;font-style:normal;font-weight:900}.unit-readiness-card.watch header>em{background:#fff1dc;color:#b86500}.unit-readiness-card.limited header>em{background:#fee9e7;color:#c6332d}.unit-readiness-meter{height:7px;margin:13px 0;border-radius:999px;background:#e5edf4;overflow:hidden}.unit-readiness-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#12a863,#20ca82)}.unit-readiness-card.watch .unit-readiness-meter i{background:#f39b1e}.unit-readiness-card.limited .unit-readiness-meter i{background:#e4423a}.unit-readiness-card section{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.unit-readiness-card section>span{display:grid;gap:2px;padding:9px;border-radius:11px;background:#f1f6fa}.unit-readiness-card section small{color:#74879a;font-size:.62rem}.unit-readiness-card section b{color:#0a2944;font-size:1rem}.unit-readiness-card section b em{display:block;color:#8192a3;font-size:.58rem;font-style:normal;font-weight:600}.unit-readiness-card footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}.unit-readiness-card footer strong{color:#c03932;font-size:.68rem}.unit-readiness-card footer strong.ok{color:#07874f}.unit-readiness-card footer button{border:0;background:transparent;color:#1475da;font-size:.68rem;font-weight:900}
.resource-filters{display:flex;gap:7px;align-items:center}.resource-filters button,.resource-filters select{height:40px;border:1px solid #d3e1ec;border-radius:11px;background:#f7fafc;color:#5b7188;font-weight:800}.resource-filters button{padding:0 13px}.resource-filters button.active{border-color:#1475e0;background:#1475e0;color:#fff}.resource-filters select{padding:0 12px}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.resource-card{position:relative;padding:17px;border:1px solid #d9e5ee;border-top:4px solid #1475e0;border-radius:18px;background:#fff;box-shadow:0 6px 20px rgba(8,48,78,.05)}.resource-card.status-available{border-top-color:#10ad68}.resource-card.status-deployed,.resource-card.status-standby{border-top-color:#f19a1c}.resource-card.status-maintenance,.resource-card.status-inspection,.resource-card.status-unavailable{border-top-color:#e13e38}.resource-card header{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center}.resource-card header>i{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#e8f3ff;color:#1475da;font-style:normal;font-size:1.35rem}.resource-card header>div{display:grid;min-width:0}.resource-card header span{color:#1475d8;font-size:.63rem;font-weight:900;letter-spacing:.08em}.resource-card header b{overflow:hidden;color:#0a2844;text-overflow:ellipsis;white-space:nowrap}.resource-card header small{color:#73869a;font-size:.68rem}.resource-card header>em{padding:6px 8px;border-radius:999px;background:#e4f7ee;color:#087f4d;font-size:.65rem;font-style:normal;font-weight:900}.resource-card:not(.status-available) header>em{background:#fff0dc;color:#b46200}.resource-card.status-maintenance header>em,.resource-card.status-inspection header>em,.resource-card.status-unavailable header>em{background:#fee8e6;color:#c33530}.resource-card dl{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:14px 0}.resource-card dl>div{padding:9px;border-radius:10px;background:#f3f7fa}.resource-card dt{color:#7b8da0;font-size:.61rem}.resource-card dd{margin:2px 0 0;color:#263f58;font-size:.72rem;font-weight:800}.resource-card dd.due{color:#c6322d}.resource-card>p{margin:0 0 10px;padding:9px;border-radius:10px;background:#fff8ed;color:#7e5e34;font-size:.69rem}.resource-card>button{width:100%;height:38px;border:1px solid #c5dbed;border-radius:10px;background:#f5faff;color:#116fca;font-weight:900}.resource-dialog,.readiness-dialog{width:min(760px,calc(100vw - 28px))}.resource-dialog form,.readiness-dialog form{max-width:none}.resource-dialog textarea,.readiness-dialog textarea{min-height:80px}
.resource-card-actions{display:flex;gap:7px;flex-wrap:wrap}.resource-card-actions>button{min-height:38px;flex:1;padding:7px 10px;border:1px solid #c9dced;border-radius:11px;background:#f5faff;color:#126cc2;font-size:.7rem;font-weight:900}.resource-card-actions>.resource-ready-button{flex-basis:100%;border-color:#97dfbb;background:linear-gradient(135deg,#e9faf2,#dff7eb);color:#087d4d}.resource-inspection-dialog{width:min(620px,calc(100vw - 24px))}.resource-inspection-dialog form{max-width:none}.inspection-result-switch{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.inspection-result-switch label{cursor:pointer}.inspection-result-switch input{position:absolute;opacity:0}.inspection-result-switch span{display:grid;gap:3px;min-height:76px;padding:14px;border:1px solid #d4e2ed;border-radius:16px;background:#f8fbfe}.inspection-result-switch input:checked+span{border-color:#1681e9;background:#eaf5ff;box-shadow:0 0 0 2px #1681e921}.inspection-result-switch label:last-child input:checked+span{border-color:#e44840;background:#fff0ee;box-shadow:0 0 0 2px #e4484021}.inspection-result-switch small{color:#728499;font-size:.7rem}.inspection-checklist{display:grid;gap:8px;margin:0 0 14px;padding:14px;border:1px solid #d7e4ee;border-radius:16px}.inspection-checklist legend{padding:0 6px;color:#17334f;font-weight:900}.inspection-checklist label{display:flex;align-items:center;gap:9px;padding:10px;border-radius:11px;background:#f3f8fc}.inspection-checklist input{width:20px;height:20px}.resource-inspection-dialog aside{margin:12px 0;padding:10px 12px;border-radius:12px;background:#eef5fc;color:#5c738a;font-size:.72rem}.inspection-issue-submit{background:linear-gradient(135deg,#eb4b42,#c82e29)!important}.resource-history-dialog{width:min(720px,calc(100vw - 24px))}.resource-history-dialog>div{position:relative;padding:24px}.resource-history-list{display:grid;gap:9px;max-height:60vh;overflow:auto}.resource-history-list article{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:start;padding:13px;border:1px solid #dce7ef;border-radius:15px;background:#f9fbfd}.resource-history-list article>i{width:13px;height:13px;margin-top:4px;border:4px solid #2a88e7;border-radius:50%}.resource-history-list article>i.available{border-color:#11aa67}.resource-history-list article>i.maintenance,.resource-history-list article>i.unavailable{border-color:#df3d36}.resource-history-list article>i.inspection{border-color:#ee9417}.resource-history-list article div{display:grid;gap:2px}.resource-history-list p{margin:0;color:#526b84;font-size:.74rem}.resource-history-list small{color:#8393a4;font-size:.66rem}.resource-history-list em{color:#698096;font-size:.63rem;font-style:normal}
@media(max-width:1150px){.resource-kpis{grid-template-columns:repeat(3,1fr)}.unit-readiness-grid,.resource-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){
  .resources-view.active{display:flex!important;flex-direction:column;padding:12px 10px calc(118px + env(safe-area-inset-bottom))!important}
  .resource-hero{order:1;display:grid;gap:16px;padding:21px 18px;border-radius:22px}
  .resource-hero h1{font-size:1.55rem}.resource-hero p{font-size:.76rem;line-height:1.55}
  .resource-hero nav{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .resource-hero nav button{min-height:48px;padding:0 10px}.resource-report-button{justify-content:center}.resource-add-button{font-size:.78rem}
  .resource-freshness{align-items:flex-start;flex-direction:column;gap:7px;margin-top:13px}.resource-freshness b,.resource-freshness em{font-size:.66rem}
  .resource-attention-panel{order:2;display:block;margin:11px 0 0;padding:16px;border-radius:19px}
  .resource-attention-panel h2{font-size:1.05rem}.resource-attention-panel p{font-size:.69rem;line-height:1.5}
  #resourceAttentionActions{grid-template-columns:1fr;margin-top:12px}
  #resourceAttentionActions>button,.resource-attention-clear{grid-column:1;min-height:70px;padding:10px}
  #resourceAttentionActions b,.resource-attention-clear b{font-size:.78rem}
  .resource-kpis{order:3;grid-template-columns:1fr 1fr;gap:8px;margin:11px 0 0}
  .resource-kpis article{min-height:92px;padding:12px;gap:9px;border-radius:17px}.resource-kpis article:last-child{grid-column:1/-1}
  .resource-kpis>article>i{flex-basis:39px;height:39px;border-radius:12px}.resource-kpis b{font-size:1.45rem}.resource-kpis span,.resource-kpis small{font-size:.65rem}
  .resource-register{order:4;margin-top:11px}.readiness-section{order:5;margin-top:11px}.personnel-roster-section{order:6;margin-top:11px}
  .readiness-section,.resource-register{padding:14px;border-radius:20px}
  .resource-section-head{align-items:flex-start;flex-direction:column;gap:11px}.resource-section-head h2{font-size:1.08rem}
  .resource-filters{width:100%;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.resource-filters::-webkit-scrollbar{display:none}.resource-filters button{white-space:nowrap}
  .unit-readiness-grid,.resource-grid{grid-template-columns:1fr}
  .resource-card{padding:14px;border-radius:17px}.resource-card header{grid-template-columns:auto 1fr}.resource-card header>em{grid-column:2;justify-self:start}.resource-card dl{margin:11px 0}
  .resource-card-actions{display:grid;grid-template-columns:1fr 1fr}.resource-card-actions>.resource-ready-button{grid-column:1/-1;min-height:45px;font-size:.76rem}
  .unit-readiness-card section{grid-template-columns:1fr 1fr}
  .resource-inspection-dialog,.resource-history-dialog{width:100%!important;max-width:100%!important;margin:auto 0 0!important;border-radius:25px 25px 0 0!important}
  .resource-inspection-dialog form,.resource-history-dialog>div{padding:25px 17px calc(20px + env(safe-area-inset-bottom))}
  .inspection-result-switch{grid-template-columns:1fr}.inspection-result-switch span{min-height:68px}
  .inspection-checklist{padding:11px}.inspection-checklist label{min-height:49px}
  .resource-history-list{max-height:62dvh}.resource-history-list article{grid-template-columns:auto 1fr}.resource-history-list article>em{grid-column:2}
}

/* Notification health center */
.push-health-center{margin:18px 0 22px;border:1px solid #bcd4ec;border-radius:22px;background:linear-gradient(145deg,#f8fbff,#edf6ff);box-shadow:0 18px 45px rgba(8,55,96,.1);overflow:hidden}.push-health-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 28px;color:#fff;background:linear-gradient(120deg,#062d4e 0%,#07588d 64%,#0b83b4 100%);position:relative}.push-health-hero:after{content:"";position:absolute;right:90px;top:-100px;width:280px;height:280px;border:38px solid rgba(255,255,255,.08);border-radius:50%}.push-health-hero>div:first-child{position:relative;z-index:1}.push-health-hero span{font-size:10px;font-weight:900;letter-spacing:2px;color:#7cddff}.push-health-hero h2{margin:5px 0 3px;font-size:25px}.push-health-hero p{margin:0;color:#c9dfef;font-size:12px}.push-health-score{position:relative;z-index:1;width:112px;height:86px;border:1px solid rgba(255,255,255,.25);border-radius:18px;background:rgba(255,255,255,.12);display:grid;place-items:center;align-content:center;backdrop-filter:blur(8px)}.push-health-score b{font-size:25px;color:#fff}.push-health-score span{font-size:8px;color:#bde9fb;letter-spacing:.4px}.push-health-score.healthy b{color:#55efaa}.push-health-score.warning b{color:#ffd071}.push-health-score.error b{color:#ff827d}.push-health-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px 20px 0}.push-health-metrics article{min-height:92px;padding:15px;border:1px solid #d5e3f1;border-radius:16px;background:#fff;display:grid;grid-template-columns:46px 1fr;align-items:center;gap:12px}.push-health-metrics article>i{width:44px;height:44px;border-radius:13px;background:#e9f4ff;color:#0876df;display:grid;place-items:center;font-size:20px;font-style:normal}.push-health-metrics span{font-size:9px;font-weight:800;color:#7890a8}.push-health-metrics b{display:block;margin:2px 0;font-size:14px;color:#082844}.push-health-metrics small{font-size:9px;color:#7b8da1}.push-health-body{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.75fr);gap:15px;padding:16px 20px 20px}.push-device-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.push-device-heading h3{margin:0;font-size:15px}.push-device-heading span{font-size:9px;color:#7b8da1}.push-device-list{display:grid;gap:8px}.push-device-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid #d5e3f1;border-radius:14px;background:#fff}.push-device-card>i{width:42px;height:42px;border-radius:12px;background:#e9f4ff;color:#0876df;display:grid;place-items:center;font-style:normal;font-weight:900}.push-device-card div{min-width:0}.push-device-card b{display:block;font-size:12px;color:#092844}.push-device-card span{display:block;font-size:9px;color:#7890a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.push-device-card em{font-style:normal;font-size:9px;font-weight:800;border-radius:999px;padding:6px 9px;background:#e7f8ef;color:#07844a}.push-device-card.current{border-color:#6db8ff;box-shadow:0 0 0 2px rgba(20,124,243,.1)}.push-device-card em.stale{background:#fff3de;color:#a96300}.push-device-card em.expired{background:#ffe8e6;color:#c92f28}.push-repair-panel{padding:18px;border-radius:17px;background:#fff;border:1px solid #d5e3f1}.push-repair-panel>span{font-size:8px;letter-spacing:1.7px;color:#0a7bdc;font-weight:900}.push-repair-panel h3{font-size:17px;margin:5px 0}.push-repair-panel p{font-size:10px;color:#6e8298;line-height:1.65}.push-repair-panel button{margin-top:8px}.push-repair-panel>small{display:block;margin-top:12px;padding-top:10px;border-top:1px dashed #cfdeec;font-size:8px;line-height:1.6;color:#778a9e}.push-mini-diagnostics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:13px 0}.push-mini-diagnostics>span{padding:9px 7px;border-radius:10px;background:#f1f6fb;display:grid;text-align:center}.push-mini-diagnostics b{font-size:8px;color:#7a8da1}.push-mini-diagnostics em{font-size:9px;font-weight:800;font-style:normal;color:#082844;margin-top:2px}
@media(max-width:900px){.push-health-metrics{grid-template-columns:1fr}.push-health-body{grid-template-columns:1fr}.push-health-hero{padding:21px}.push-health-hero h2{font-size:21px}.push-health-score{width:92px}.push-device-card{grid-template-columns:40px minmax(0,1fr) auto}}
@media(max-width:560px){.push-health-hero{align-items:flex-start}.push-health-hero p{max-width:230px}.push-health-score{width:76px;height:72px;flex:0 0 auto}.push-health-score b{font-size:19px}.push-health-metrics,.push-health-body{padding-left:12px;padding-right:12px}.push-device-card{padding:10px;gap:9px}.push-device-card em{padding:5px 7px}.push-mini-diagnostics{grid-template-columns:1fr 1fr}.push-mini-diagnostics>span:last-child{grid-column:1/-1}}

/* Historical analytics and vehicle fuel readiness */
.executive-controls{align-items:stretch!important}.executive-controls label{min-width:142px}.executive-controls select{width:100%;min-height:42px;margin-top:7px;padding:0 13px;border:1px solid rgba(255,255,255,.28);border-radius:12px;background:rgba(255,255,255,.12);color:#fff;font:inherit;font-weight:800;outline:none}.executive-controls select option{color:#10243c;background:#fff}.incident-comparison-panel{margin-top:13px!important;border-top:6px solid #15a8d8!important}.incident-comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;padding:16px}.incident-comparison-grid article{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:112px;padding:15px;border:1px solid #dce8f2;border-radius:17px;background:linear-gradient(150deg,#fff,#f7fbff);overflow:hidden}.incident-comparison-grid article:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--compare-color)}.incident-comparison-grid article>i{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:color-mix(in srgb,var(--compare-color) 12%,white);color:var(--compare-color);font-size:21px;font-style:normal;font-weight:900}.incident-comparison-grid span{display:block;color:#52677e;font-size:11px;font-weight:900}.incident-comparison-grid b{display:block;color:#0a213c;font-size:27px;line-height:1.15}.incident-comparison-grid b small{font-size:10px;color:#76899d}.incident-comparison-grid em{display:inline-block;margin-top:4px;padding:4px 7px;border-radius:99px;background:#eef3f8;color:#60758a;font-size:9px;font-style:normal;font-weight:900}.incident-comparison-grid em.up{background:#ffe8e5;color:#ca342f}.incident-comparison-grid em.down{background:#e2f7ec;color:#07834b}.incident-comparison-grid dl{display:grid;grid-template-columns:auto auto;gap:3px 8px;margin:0;font-size:9px}.incident-comparison-grid dt{color:#8293a5}.incident-comparison-grid dd{margin:0;text-align:right;color:#18314e;font-weight:900}
.vehicle-fuel-card{margin:13px 0;padding:13px 14px;border:1px solid #cfe1ef;border-radius:16px;background:linear-gradient(145deg,#f7fbff,#edf6fd)}.vehicle-fuel-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.vehicle-fuel-card-head>span{display:grid;grid-template-columns:30px 1fr;align-items:center;column-gap:9px}.vehicle-fuel-card-head>span>i{grid-row:1/3;width:30px;height:30px;border-radius:10px;background:#e2f1ff;color:#0c73da;display:grid;place-items:center;font-style:normal}.vehicle-fuel-card-head b{font-size:12px;color:#112a47}.vehicle-fuel-card-head small{font-size:8px;color:#73879c}.vehicle-fuel-card-head strong{font-size:19px;color:#0b7f4c}.vehicle-fuel-card.medium strong{color:#c87a00}.vehicle-fuel-card.low strong,.vehicle-fuel-card.critical strong{color:#d43631}.vehicle-fuel-track{position:relative;height:13px;margin:11px 0 9px;border-radius:99px;background:repeating-linear-gradient(90deg,#dbe6ef 0,#dbe6ef calc(25% - 3px),transparent calc(25% - 3px),transparent 25%);overflow:hidden}.vehicle-fuel-track>i{display:block;width:calc(var(--fuel)*1%);height:100%;border-radius:99px;background:linear-gradient(90deg,#ef3c37 0%,#ff981c 28%,#16ad68 65%);transition:width .25s}.vehicle-fuel-track>span{position:absolute;inset:0;border:1px solid #cedce8;border-radius:99px}.vehicle-fuel-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.vehicle-fuel-card footer em{font-size:9px;color:#60768c;font-style:normal;font-weight:800}.vehicle-fuel-card footer button{min-height:34px;padding:0 12px;border:0;border-radius:10px;background:#0d73dd;color:#fff;font-size:9px;font-weight:900}.vehicle-fuel-card.critical{border-color:#f1b5b1;background:#fff5f4}.vehicle-fuel-dialog{width:min(560px,calc(100% - 28px))}.vehicle-fuel-dialog form{padding:30px}.vehicle-fuel-gauge{display:grid;place-items:center;margin:18px 0}.vehicle-fuel-gauge>div{position:relative;width:190px;height:95px;overflow:hidden}.vehicle-fuel-gauge>div:before,.vehicle-fuel-gauge>div>i{content:"";position:absolute;left:0;top:0;width:190px;height:190px;border-radius:50%;box-sizing:border-box}.vehicle-fuel-gauge>div:before{border:22px solid #e3ebf2}.vehicle-fuel-gauge>div>i{border:22px solid transparent;border-top-color:#16ad68;border-right-color:#16ad68;transform:rotate(calc(-135deg + (var(--fuel)*2.7deg)));transition:transform .25s}.vehicle-fuel-gauge.medium>div>i{border-top-color:#f3a01f;border-right-color:#f3a01f}.vehicle-fuel-gauge.low>div>i,.vehicle-fuel-gauge.critical>div>i{border-top-color:#e43c36;border-right-color:#e43c36}.vehicle-fuel-gauge>div>span{position:absolute;inset:42px 0 0;text-align:center;color:#092846}.vehicle-fuel-gauge>div b{font-size:34px}.vehicle-fuel-gauge>div small{font-size:12px}.vehicle-fuel-gauge>em{margin-top:8px;font-style:normal;font-size:12px;font-weight:900;color:#526b82}.fuel-range-label{display:block;font-size:11px;font-weight:900;color:#304b67}.fuel-range-label input{width:100%;margin:12px 0 4px;accent-color:#11875a}.fuel-range-label>span{display:flex;justify-content:space-between;color:#7d8fa2}.fuel-range-label i{font-style:normal;font-size:9px}.vehicle-fuel-dialog aside{margin:15px 0;padding:12px;border-radius:12px;background:#edf6ff;color:#526c84;font-size:10px;line-height:1.55}
@media(max-width:900px){.incident-comparison-grid{grid-template-columns:1fr 1fr}.executive-controls label{min-width:0}.vehicle-fuel-dialog{width:100%;max-width:100%;margin:auto 0 0;border-radius:25px 25px 0 0}.vehicle-fuel-dialog form{padding:26px 17px calc(20px + env(safe-area-inset-bottom))}}
@media(max-width:600px){.incident-comparison-grid{grid-template-columns:1fr;padding:12px}.incident-comparison-grid article{min-height:96px}.executive-controls{grid-template-columns:1fr 1fr!important}.executive-controls button{grid-column:1/-1}.vehicle-fuel-card footer{align-items:flex-start;flex-direction:column}.vehicle-fuel-card footer button{width:100%;min-height:40px}}
@media print{.incident-comparison-grid{grid-template-columns:repeat(3,1fr)!important;gap:5px!important;padding:7px!important}.incident-comparison-grid article{min-height:55px!important;padding:6px!important;border-radius:7px!important;grid-template-columns:25px 1fr auto!important}.incident-comparison-grid article>i{width:23px!important;height:23px!important;border-radius:6px!important;font-size:10px!important}.incident-comparison-grid span{font-size:6px!important}.incident-comparison-grid b{font-size:13px!important}.incident-comparison-grid em,.incident-comparison-grid dl{font-size:5.5px!important}}

/* Executive report studio — daily, custom range and case-level reporting. */
.report-studio{position:relative;overflow:hidden;margin:0 0 17px;padding:22px;border:1px solid #cddfec;border-radius:26px;background:linear-gradient(145deg,#fff 0%,#f4f9fd 72%,#edf6fc 100%);box-shadow:0 20px 45px rgba(6,43,77,.11)}.report-studio:before{content:"";position:absolute;right:-75px;top:-120px;width:260px;height:260px;border:34px solid rgba(10,113,178,.055);border-radius:50%;pointer-events:none}.report-studio-head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:17px}.report-studio-head span{color:#b30a2a;font-size:9px;font-weight:1000;letter-spacing:2.1px}.report-studio-head h2{margin:4px 0 2px;color:#061d36;font-size:25px;letter-spacing:-.5px}.report-studio-head p{margin:0;color:#65798e;font-size:12px}.report-studio-head>em{padding:8px 12px;border:1px solid #cfe0ed;border-radius:999px;background:#edf6ff;color:#096bb1;font-size:10px;font-style:normal;font-weight:1000}.report-studio-modes{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.report-studio-modes button{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:11px;min-height:78px;padding:12px;border:1px solid #d5e3ee;border-radius:18px;background:#fff;color:#17324f;text-align:left;box-shadow:0 8px 20px rgba(5,43,77,.05);transition:.2s}.report-studio-modes button:hover{transform:translateY(-2px);border-color:#78b5e6}.report-studio-modes button>i{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#edf5fc;color:#0a70c4;font-size:20px;font-style:normal;font-weight:1000}.report-studio-modes button span{display:grid;gap:2px}.report-studio-modes button b{font-size:13px}.report-studio-modes button small{color:#788a9d;font-size:9px}.report-studio-modes button.active{border-color:#0877d8;background:linear-gradient(145deg,#eaf5ff,#fff);box-shadow:0 0 0 3px rgba(8,119,216,.1),0 12px 25px rgba(8,79,139,.11)}.report-studio-modes button.active>i{background:linear-gradient(135deg,#0877df,#0758a6);color:#fff}.report-studio-filters{display:flex;align-items:end;gap:10px;margin-top:13px;padding:13px;border:1px solid #d8e5ef;border-radius:18px;background:rgba(239,246,252,.78)}.report-studio-filters label{display:grid;flex:1;gap:5px;min-width:145px}.report-studio-filters .studio-search{flex:2}.report-studio-filters label>span{padding-left:3px;color:#5a6f85;font-size:9px;font-weight:1000}.report-studio-filters input,.report-studio-filters select{width:100%;height:45px;padding:0 12px;border:1px solid #cdddea;border-radius:13px;background:#fff;color:#102a45;font:inherit;font-size:11px;font-weight:800;outline:none}.report-studio-filters input:focus,.report-studio-filters select:focus{border-color:#1683df;box-shadow:0 0 0 3px rgba(22,131,223,.1)}.report-studio-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:13px;padding:15px 17px;border-radius:18px;background:linear-gradient(120deg,#062844,#07527f);color:#fff}.report-studio-summary>div:first-child{display:grid;gap:2px}.report-studio-summary span{color:#8fd9fb;font-size:8px;font-weight:1000;letter-spacing:1.4px}.report-studio-summary h3{margin:0;font-size:18px}.report-studio-summary small{color:#c6dfef;font-size:9px}.report-studio-actions{display:flex;gap:8px;flex:0 0 auto}.report-studio-actions button{min-height:43px;padding:0 14px;border:1px solid rgba(255,255,255,.25);border-radius:12px;color:#fff;font-size:10px;font-weight:1000}.report-studio-actions .studio-preview{background:rgba(255,255,255,.11)}.report-studio-actions .studio-export{border-color:#ffc867;background:linear-gradient(135deg,#ffbc35,#ed8715);color:#17283a}.report-studio-actions button:disabled{opacity:.45;cursor:not-allowed}.report-studio-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.report-case-card{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:13px;min-height:130px;padding:14px 14px 14px 18px;border:1px solid #d6e4ef;border-left:5px solid var(--case-color,#1475ee);border-radius:19px;background:#fff;box-shadow:0 9px 22px rgba(7,43,77,.055);transition:.18s}.report-case-card:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(7,43,77,.11)}.report-case-card.completed{--case-color:#10ad68}.report-case-card.cancelled{--case-color:#8494a8}.report-case-card.critical{--case-color:#e33b38}.report-case-card.active{--case-color:#1475ee}.report-case-card.selected{border-color:#0876d6;box-shadow:0 0 0 3px rgba(8,118,214,.12),0 14px 30px rgba(7,43,77,.12)}.report-case-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#edf5fd;color:#0871d5;font-size:23px}.report-case-icon svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.9}.report-case-copy{min-width:0}.report-case-copy>span{display:block;color:#0a70c8;font-size:8px;font-weight:1000}.report-case-copy h3{overflow:hidden;margin:3px 0 2px;color:#09223e;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.report-case-copy p{overflow:hidden;margin:0;color:#687c91;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.report-case-copy>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:8px}.report-case-copy em,.report-case-copy b,.report-case-copy i{padding:4px 7px;border-radius:999px;font-size:8px;font-style:normal}.report-case-copy em{padding-left:0;color:#72859a}.report-case-copy b{background:#e7f7ef;color:#078950}.report-case-card.active .report-case-copy b{background:#e7f2ff;color:#096dc7}.report-case-card.critical .report-case-copy b{background:#ffe8e5;color:#c72f2b}.report-case-copy i{background:#f1ecff;color:#6748c7;font-weight:900}.report-case-actions{display:grid;gap:7px}.report-case-actions button{min-width:80px;min-height:35px;padding:0 9px;border:1px solid #cfe0ed;border-radius:10px;background:#f5f9fc;color:#1767ac;font-size:9px;font-weight:1000}.report-case-actions button:last-child{border-color:#187bd1;background:#1475df;color:#fff}.report-studio-empty{grid-column:1/-1;display:grid;place-items:center;min-height:145px;padding:24px;border:1px dashed #bdd2e3;border-radius:18px;background:rgba(245,249,252,.75);color:#708399;text-align:center}.report-studio-empty i{font-size:26px;font-style:normal}.report-studio-empty b{margin-top:5px;color:#18324e}.report-studio-empty span{font-size:10px}
@media(max-width:1050px){.report-studio-modes{grid-template-columns:1fr 1fr}.report-studio-filters{flex-wrap:wrap}.report-studio-filters label{flex:1 1 calc(50% - 10px)}.report-studio-cases{grid-template-columns:1fr}}
@media(max-width:600px){.report-studio{padding:14px;border-radius:21px}.report-studio-head{display:grid}.report-studio-head h2{font-size:21px}.report-studio-head>em{justify-self:start}.report-studio-modes{gap:7px}.report-studio-modes button{grid-template-columns:37px minmax(0,1fr);min-height:68px;padding:9px;gap:8px;border-radius:15px}.report-studio-modes button>i{width:37px;height:37px;border-radius:11px;font-size:17px}.report-studio-modes button b{font-size:11px}.report-studio-modes button small{font-size:7px}.report-studio-filters{display:grid;grid-template-columns:1fr 1fr;padding:10px}.report-studio-filters label,.report-studio-filters .studio-search{min-width:0}.report-studio-filters .studio-search{grid-column:1/-1}.report-studio-summary{display:grid}.report-studio-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.report-studio-actions button{width:100%}.report-case-card{grid-template-columns:45px minmax(0,1fr);min-height:0;padding:13px;gap:10px}.report-case-icon{width:44px;height:44px}.report-case-actions{grid-column:1/-1;grid-template-columns:1fr 1fr}.report-case-actions button{min-height:40px}.report-case-copy h3{font-size:14px}}

/* Visible, reusable link handoff for view-only executive reports. */
.report-link-dialog{width:min(610px,calc(100% - 26px));border:0;border-radius:26px;padding:0;background:transparent;box-shadow:0 30px 90px rgba(5,34,61,.28)}.report-link-dialog::backdrop{background:rgba(4,25,44,.62);backdrop-filter:blur(8px)}.report-link-sheet{position:relative;display:grid;justify-items:center;padding:34px;background:linear-gradient(150deg,#fff,#f2f9ff);color:#0a2947;text-align:center}.report-link-icon{display:grid;place-items:center;width:62px;height:62px;margin-bottom:12px;border-radius:19px;background:linear-gradient(135deg,#1c86f3,#1162c7);box-shadow:0 12px 28px rgba(20,117,238,.25);color:#fff;font-size:26px}.report-link-sheet>span{color:#1475cf;font-size:10px;font-weight:900;letter-spacing:1.7px}.report-link-sheet h2{margin:5px 0 4px;font-size:25px}.report-link-sheet>p{max-width:470px;margin:0 0 20px;color:#61778c;font-size:13px;line-height:1.6}.report-link-sheet>label{display:grid;gap:7px;width:100%;color:#354f69;font-size:11px;font-weight:900;text-align:left}.report-link-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:6px;border:1px solid #c8ddec;border-radius:14px;background:#fff}.report-link-field input{min-width:0;border:0;padding:7px;background:transparent;color:#31516e;font:inherit;font-size:11px;outline:0}.report-link-field button{min-height:39px;border:0;border-radius:10px;padding:0 15px;background:#e7f3ff;color:#106cbe;font:inherit;font-size:11px;font-weight:900}.report-link-expiry{display:flex;align-items:center;gap:11px;width:100%;margin:13px 0;padding:12px 14px;border:1px solid #cce9dc;border-radius:14px;background:#effaf5;text-align:left}.report-link-expiry>i{width:11px;height:11px;border:3px solid #13aa69;border-radius:50%;box-shadow:0 0 0 5px #d7f4e7}.report-link-expiry>div{display:grid}.report-link-expiry b{color:#087b4c;font-size:11px}.report-link-expiry small{color:#668276;font-size:9px}.report-link-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%}.report-link-actions button{min-height:47px;border:1px solid #bdd5e8;border-radius:13px;background:#fff;color:#1767a9;font:inherit;font-size:12px;font-weight:900}.report-link-actions button.primary{border-color:#1475ee;background:linear-gradient(135deg,#2088f5,#1268d1);color:#fff}@media(max-width:640px){.report-link-sheet{padding:29px 17px calc(20px + env(safe-area-inset-bottom))}.report-link-actions{grid-template-columns:1fr}.report-link-field{grid-template-columns:1fr}.report-link-field button{width:100%}}

/* Locked report scope shown before exporting one incident. */
.report-export-scope{display:grid;gap:3px;margin:2px 0 14px;padding:12px 14px;border:1px solid #cfe2f4;border-left:4px solid #1478e8;border-radius:12px;background:linear-gradient(110deg,#eef7ff,#fff);text-align:left}.report-export-scope[hidden],.report-export-actions button[hidden]{display:none!important}.report-export-scope span{color:#66809a;font-size:11px;font-weight:800;letter-spacing:.05em}.report-export-scope b{overflow:hidden;color:#0a3154;font-size:14px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.report-export-scope small{overflow:hidden;color:#71859a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
