:root{font-family:Monaco,"SFMono-Regular",Consolas,"Liberation Mono",monospace;color:#dcecf8;background:#04101d;font-synthesis:none;--bg:#04101d;--panel:#071e30;--panel2:#0b2b42;--line:#1c668d;--ice:#4cc9fb;--bright:#86dcff;--muted:#92b0c5;--red:#ec2d52}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 70% -6%,#11334d 0%,#04101d 62%,#020911 100%);min-height:100vh}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;background:linear-gradient(#09263c,#061729);border:1px solid #216085;color:#c8e6fa;border-radius:5px;padding:10px 15px;font-size:13px;font-weight:600;transition:border-color .15s,box-shadow .15s}button:hover,.button:hover{border-color:#45cfff;box-shadow:0 0 12px #2caddf30}button.primary{background:linear-gradient(180deg,#1093df,#0066b8);border-color:#4dceff;color:white;box-shadow:inset 0 1px 0 #9ce4ff85}button.primary:hover{background:#0089ce}.hidden{display:none!important}.header{min-height:75px;background:linear-gradient(90deg,#020b16,#08263b 65%,#020913);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:22px;border-bottom:1px solid #266b90;box-shadow:0 2px 19px #00aaff19}.header .brand{font-size:27px;border:0;background:none;padding:0;display:flex;align-items:center;gap:9px;color:#f0f8ff;font-weight:800;letter-spacing:-1px}.header .brand span.accent{color:#e82149}.brandmark{color:#fc2850;font-size:43px;line-height:1;text-shadow:0 0 14px #e21b4770}.header nav{display:flex;gap:4px;align-items:stretch;align-self:stretch;overflow:auto}.header nav button{border:0;border-radius:0;background:transparent;color:#b1cfe4;font-weight:600;white-space:nowrap;padding:0 20px;font-size:14px}.header nav button.active{color:#fff;border-bottom:3px solid #32c9ff;background:linear-gradient(0deg,#0f65927a,transparent);text-shadow:0 0 10px #5cd2ff70}.header nav button:hover{color:#fff}main{width:100%;max-width:1790px;margin:auto}.page{padding:18px 18px 70px}.section-heading{display:flex;align-items:center;gap:10px;margin:0 0 14px}.slashmark{color:var(--red);letter-spacing:-8px;font-size:18px;margin-right:10px;font-weight:900;text-shadow:0 0 10px #e819555c}.section-heading h1{margin:0}h1{font-size:24px;font-weight:800;letter-spacing:.45px;margin:0 0 20px}h2{font-size:19px;margin:0;font-weight:800}.heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.heading h1{margin:0}.actions,.toolbar{display:flex;align-items:center;gap:10px}.toolbar{margin:0 0 15px}.toolbar.wrap{flex-wrap:wrap}.toolbar.belowmap{margin-top:10px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(#0c293d,#061829)}.toolbar .primary{margin-left:auto}input,select,textarea{background:#041526;border:1px solid #276084;border-radius:5px;padding:10px 12px;color:#eaf6ff;min-height:41px;outline-offset:2px}input:focus,select:focus,textarea:focus{outline:1px solid #58cfff}input::placeholder{color:#7d9eb6}input[type=search]{min-width:195px;flex:1}select{min-width:155px}#stormMap{height:clamp(320px,37vw,540px);border:1px solid #2ebbe5;border-radius:9px;background:#091a2e;overflow:hidden;box-shadow:0 0 15px #028edf23}.leaflet-container{background:#0b1a2d!important}.leaflet-control-attribution{font-size:9px!important;background:#061422cd!important;color:#c1d7e8!important}.leaflet-control-attribution a{color:#81caff!important}.panel{background:linear-gradient(145deg,#0b293e,#051524 78%);border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:inset 0 1px 0 #68c4f514}.panel-title{padding:13px 17px;border-bottom:1px solid #1c6085;text-transform:uppercase;letter-spacing:1px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{background:#09243a;color:#bad6e8;text-transform:uppercase;font-size:11px;letter-spacing:.45px;font-weight:750;border-bottom:1px solid #24516e;padding:12px 17px;white-space:nowrap}td{padding:13px 17px;border-bottom:1px solid #173c55;vertical-align:middle}tr[data-id]{cursor:pointer}tr[data-id]:hover{background:#104769}tbody tr:nth-child(even){background:#081a2b}tbody tr:last-child td{border-bottom:0}.address{color:#f4f9ff;font-weight:650}.muted{font-size:12px;color:var(--muted);margin-top:4px}.empty{text-align:center;padding:36px;color:#90adc0;font-size:13px}.back{border:0;background:transparent;color:var(--bright);padding-left:0}.eventmeta{display:flex;gap:20px;color:var(--muted);font-size:13px;margin:-8px 0 20px}.tag{border:1px solid var(--line);color:#a1d5f2;background:#11324b;border-radius:5px;padding:4px 7px;display:inline-block;font-size:11px}.good{color:#68ddac}.review-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(320px,1fr);gap:18px}.imagery{min-height:440px}.imageContainer{display:flex;align-items:center;justify-content:center;background:#051321;min-height:400px}.imageContainer img{max-width:100%;max-height:72vh;cursor:zoom-in}.imagefooter{padding:10px 14px;font-size:12px;color:var(--muted)}.review-fields{padding:22px}.metric{display:flex;align-items:baseline;justify-content:space-between;gap:14px;border-bottom:1px solid #1a4d6a;padding:15px 0}.metric span{color:var(--muted);font-size:12px}.metric strong{font-weight:650}.review-actions{display:flex;gap:10px;margin-top:24px}.review-actions button{flex:1}#correctionForm{padding-top:18px;display:flex;align-items:end;gap:10px}#correctionForm label{flex:1}.training-layout{display:grid;grid-template-columns:minmax(330px,.85fr) minmax(0,1.65fr);gap:16px}.training-inputs{padding:0}.train-rows{max-height:760px;min-height:540px;overflow:auto}.train-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:14px 16px;border:0;border-bottom:1px solid #17415d;border-radius:0;background:transparent;cursor:pointer}.train-row.selected{background:#0c4d71;border-left:3px solid #47ceff}.train-row small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.train-row .train-count{color:var(--bright)}.training-detail{padding:16px}.training-detail h2{font-size:16px;margin-bottom:14px}.training-image{background:#020c15;min-height:240px;height:360px;display:grid;place-items:center;border:1px solid #225674;border-radius:5px;overflow:hidden}.training-image img{height:100%;max-width:100%;object-fit:contain;cursor:zoom-in}.reference-gallery{display:flex;gap:7px;overflow-x:auto;padding:10px 0}.thumb{min-width:60px;width:60px;height:52px;padding:2px;border:1px solid #28516e;overflow:hidden}.thumb.active{border-color:var(--ice);box-shadow:0 0 8px #00aaff70}.thumb img{width:100%;height:100%;object-fit:cover}.material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px 0}.material-grid div{display:flex;flex-direction:column;gap:5px}.material-grid span{color:var(--muted);font-size:11px}.material-grid strong{font-size:13px}.training-tabs{margin-bottom:16px}.training-tabs button.active{border-color:var(--ice);background:#0c486d;color:white}.check{display:flex;align-items:center;gap:7px;font-size:13px}.check input{min-height:auto}.modal-backdrop{position:fixed;inset:0;background:#010a12c9;z-index:1200;display:grid;place-items:center;padding:14px}.modal{max-width:650px;width:100%;background:#071c2c;border:1px solid #3483ae;border-radius:10px;padding:24px;max-height:93vh;overflow:auto;box-shadow:0 12px 50px #000a}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.close{padding:4px 12px;font-size:26px;border:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.form-grid label,.review-fields label{font-size:12px;color:#bad8e9;font-weight:600;display:flex;flex-direction:column;gap:6px}.form-grid .wide{grid-column:span 2}.form-grid input,.form-grid select,.form-grid textarea{width:100%}.form-buttons{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.toast{position:fixed;right:20px;bottom:20px;background:#0d3b58;color:white;padding:13px 18px;border:1px solid var(--ice);border-radius:8px;box-shadow:0 3px 15px #111a;z-index:1400}@media(max-width:850px){.header{padding:8px 14px;flex-wrap:wrap;height:auto;min-height:65px}.header .brand{padding:5px 0}.header nav{width:100%;overflow:auto}.header nav button{padding:12px 10px;font-size:12px}.page{padding:15px 12px 45px}.heading{flex-wrap:wrap}h1{font-size:22px}#stormMap{height:330px}.review-layout,.training-layout{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:span 1}th,td{padding:11px 9px}.imageContainer{min-height:260px}.material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Roof Card */
.roof-card{padding:18px 22px;max-width:1400px;margin:auto}
.roof-card-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid #205473}
.roof-card-header h1{margin:0 0 4px;font-size:22px}
.roof-card-body{display:grid;grid-template-columns:minmax(0,1fr) 145px;gap:22px;padding:20px 0}
.roof-card-main h2{margin:0 0 12px;font-size:18px}
.materials-table th:first-child,.materials-table td:first-child{width:43%}
.materials-table th:nth-child(2),.materials-table td:nth-child(2){text-align:left;width:27%}
.materials-table th:last-child,.materials-table td:last-child{text-align:right}
.roof-details{display:flex;gap:28px;flex-wrap:wrap;padding:17px 0}
.roof-details div,.roof-card-footer>div{display:flex;flex-direction:column;gap:5px}
.roof-details span,.roof-card-footer span,.roof-verification span{font-size:11px;color:#8fcbe8}
.roof-details strong,.roof-card-footer strong{font-size:13px}
.roof-photo{position:relative;width:145px;height:130px;padding:0;overflow:hidden;border:1px solid #286c91;background:#02101b}
.roof-photo img{width:100%;height:100%;object-fit:cover}
.roof-photo span{position:absolute;bottom:7px;right:10px;font-size:20px;text-shadow:0 2px 6px black}
.roof-verification{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #205473;padding-top:12px;gap:15px}
.roof-verification>div{display:flex;gap:10px;align-items:center}
.roof-verification strong{font-size:13px}
.roof-card-footer{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding-top:16px;border-top:1px solid #205473}
.roof-card-footer>div:first-child{min-width:230px}
.roof-card-footer>button{margin-right:auto}
.card-correction{display:flex;gap:10px;margin-top:18px;align-items:end}
.card-correction label{display:flex;flex-direction:column;gap:6px}
#stormHistoryContent{max-height:55vh;overflow:auto}
.training-detail .training-image{height:270px;min-height:230px}
@media(max-width:690px){.roof-card-body{grid-template-columns:1fr 90px;gap:10px}.roof-photo{width:90px;height:90px}.roof-card{padding:13px}.roof-card-footer{gap:13px}.materials-table th,.materials-table td{padding:8px 5px;font-size:11px}}

.storm-marker{background:transparent;border:0}.storm-pulse{display:block;width:23px;height:23px;background:#f32651;border:3px solid #ffd7df;border-radius:50%;box-shadow:0 0 0 6px #fa214c3d,0 0 17px #f52d53}.storm-pulse.wind{background:#f8b531;border-color:#fff0c8;box-shadow:0 0 0 6px #f8b53142,0 0 17px #ffcc40}.verification-buttons{display:flex;gap:8px;align-items:center}

/* Unified roof lists */
th.sortable{cursor:pointer;user-select:none}th.sortable:hover{color:#54d7ff}th.sortable[aria-sort="ascending"]::after{content:" ↑";color:#56d2f7}th.sortable[aria-sort="descending"]::after{content:" ↓";color:#56d2f7}
.training-tabs{display:flex;gap:8px;margin:0 0 12px}.training-tabs button{min-width:150px}

/* Sign-in */
.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 15%,#154566 0%,#04101d 60%,#020812 100%)}
.login-panel{width:min(100%,390px);display:flex;flex-direction:column;gap:19px;background:linear-gradient(145deg,#0b293e,#051524 78%);border:1px solid #2c83ae;border-radius:12px;padding:34px;box-shadow:0 18px 70px #0009,0 0 24px #27bcff19}
.login-brand{display:flex;align-items:center;justify-content:center;font-size:31px;font-weight:800;color:#f3faff;letter-spacing:-1px;margin-bottom:12px}
.login-brand .brandmark{margin-right:9px}.login-brand .accent{color:#e82149}
.login-panel label{font-size:13px;color:#a7cde4;font-weight:650;display:flex;flex-direction:column;gap:8px}
.login-panel input{width:100%}.login-panel button{min-height:44px;margin-top:6px}
.login-error{color:#ff8094;font-size:13px}
.session-menu{display:flex;align-items:center;gap:10px;white-space:nowrap;color:#b0d7eb;font-size:13px}
.session-menu button{padding:7px 11px}
@media(max-width:850px){.session-menu{margin-left:auto}}

/* United States Home map: bundled, no external tiles or labels */
#stormMap{height:auto;aspect-ratio: 1672 / 941;display:grid;place-items:center;background:#04111f;max-height:620px}
#stormMap img{width:100%;height:100%;object-fit:contain;display:block}
.roof-heading{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.roof-heading h1{margin:0}
.roof-counters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.roof-counter{display:flex;align-items:center;gap:11px;border:1px solid #24658a;background:#09293f;border-radius:6px;padding:7px 13px;font-size:12px;color:#a9cde2;white-space:nowrap}
.roof-counter strong{font-size:18px;color:#7adcff;font-variant-numeric:tabular-nums}
.select-col{width:44px;padding-left:15px;padding-right:5px;text-align:center}
.select-col input{appearance:auto;accent-color:#35c7f7;min-height:0;width:16px;height:16px;cursor:pointer;vertical-align:middle}
tr.row-selected{background:#0c3753!important}
@media(max-width:850px){#stormMap{height:auto;max-height:unset;aspect-ratio:1672 / 941}.roof-heading{gap:10px}.roof-counter{padding:6px 9px}.roof-counter strong{font-size:16px}}
/* StormSniper brand artwork */
.header .brand{flex-shrink:0}.header-logo{display:block;width:240px;max-width:31vw;height:52px;object-fit:contain;object-position:left center}.login-logo{width:100%;height:auto;max-height:95px;object-fit:contain}.login-brand{margin-bottom:4px}
/* National overview map and red crosshair overlays */
#stormMap{display:flex;justify-content:center;align-items:center;max-height:none}.national-map{position:relative;max-width:1080px;width:100%;margin:0 auto;line-height:0}.national-map>img{width:100%;height:auto;display:block}.national-markers{position:absolute;inset:0;pointer-events:none}.storm-crosshair{pointer-events:auto;position:absolute;transform:translate(-50%,-50%);height:42px;width:42px;padding:0;background:transparent;border:0;border-radius:50%;filter:drop-shadow(0 0 6px #ff254a);z-index:4}.storm-crosshair:hover{box-shadow:none;border:0}.target-ring{position:absolute;inset:6px;border:3px solid #fb2748;border-radius:50%;box-shadow:inset 0 0 8px #fb274899,0 0 15px #e31245}.target-ring:before,.target-ring:after{content:"";position:absolute;background:#ff3851;box-shadow:0 0 6px #fc274b}.target-ring:before{width:42px;height:2px;left:-9px;top:calc(50% - 1px)}.target-ring:after{height:42px;width:2px;top:-9px;left:calc(50% - 1px)}.target-core{position:absolute;left:calc(50% - 4px);top:calc(50% - 4px);width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 7px 3px white,0 0 19px 5px #f5244d}
.roof-address-line{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.roof-address-line h1{margin:0}.roof-address-line button{padding:6px 11px;font-size:12px}.roof-card-main .verification-buttons{padding-top:13px}.roof-card-footer>div:first-child{min-width:170px}
/* Make native search clear control permanently visible (not hover/focus dependent) */
input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button;appearance:auto;opacity:1!important;display:block!important;cursor:pointer;filter:brightness(2.2)}
/* State View inside application */
.state-view-modal{max-width:1360px;width:min(96vw,1360px);padding:22px;max-height:94vh;overflow:auto;background:linear-gradient(145deg,#09283b,#04101e)}
.state-view-modal .modal-head{margin-bottom:14px}.eyebrow{color:#56bee7;font-size:11px;letter-spacing:2px;font-weight:800;margin-bottom:6px}.state-view-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,1fr);gap:16px;min-height:530px}.state-map-panel{background:#061626;border:1px solid #255e7c;border-radius:5px;padding:8px;display:flex;flex-direction:column}.state-map{flex:1;min-height:500px;position:relative;background:radial-gradient(circle at 48% 51%,#10394e 0%,#061c2d 68%,#020f20 100%);overflow:hidden;border:1px solid #174e6a}.state-grid{position:absolute;inset:0;background-image:linear-gradient(#3b8caf27 1px,transparent 1px),linear-gradient(90deg,#3b8caf27 1px,transparent 1px);background-size:42px 42px}.state-name{position:absolute;top:18px;left:20px;font-weight:800;font-size:13px;letter-spacing:3px;color:#86d8ed}.state-report-pins{position:absolute;inset:0}.map-coord-caption{color:#80acc5;font-size:11px;padding:10px 4px 2px}.report-pin{position:absolute;z-index:2;width:19px;height:19px;border-radius:50%;padding:0;transform:translate(-50%,-50%);background:#ec2d52;border:2px solid #ffced5;box-shadow:0 0 12px #f2335b80}.report-pin span{display:block;width:5px;height:5px;border-radius:50%;background:white;margin:auto;box-shadow:0 0 8px white}.report-pin.wind{background:#f29f38;border-color:#ffdb94}.report-pin.flood{background:#5baaff;border-color:#d5eeff}.report-pin.selected{z-index:5;outline:2px solid white;outline-offset:4px;box-shadow:0 0 15px #ffffffbb}.report-pin:hover{transform:translate(-50%,-50%) scale(1.28)}.state-report-panel{display:flex;min-width:0;flex-direction:column;gap:10px}.state-report-filter{display:flex;gap:8px}.state-report-filter select{min-width:0;width:50%;font-size:12px}.state-report-list{overflow:auto;max-height:240px;border:1px solid #215879;border-radius:4px}.report-item{display:grid;grid-template-columns:76px 1fr 102px;align-items:center;gap:8px;text-align:left;width:100%;border:0;border-bottom:1px solid #1a4963;border-radius:0;padding:10px 9px;font-size:12px;background:transparent}.report-item.selected{background:#104b6a;border-left:3px solid #55d3ff}.report-item strong{font-weight:650}.report-item span:last-child{text-align:right;color:#b9d7e9}.report-time{color:#76c4e9;font-variant-numeric:tabular-nums}.state-report-detail{border:1px solid #215879;background:#071d2c;padding:17px;border-radius:4px;flex:1;min-height:210px}.state-report-detail h3{margin:0 0 14px;font-size:16px}.report-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.report-detail-grid div{display:flex;flex-direction:column;gap:5px}.report-detail-grid span,.report-remarks span{font-size:11px;color:#83b9d2}.report-detail-grid strong{font-size:12px}.report-remarks{margin-top:15px}.report-remarks p{font-size:12px;line-height:1.5;margin:7px 0 0}.state-report-detail a{color:#6cd8fa;font-size:12px;display:inline-block;margin-top:12px}
@media(max-width:900px){.state-view-grid{grid-template-columns:1fr}.state-map{min-height:400px}.state-view-modal{padding:13px}.header-logo{width:180px;max-width:48vw;height:43px}.report-item{grid-template-columns:65px 1fr 90px}}

.search-wrap{position:relative;display:inline-flex;flex:1;min-width:195px;align-items:center}.search-wrap input[type=search]{width:100%;min-width:0;padding-right:39px}.search-clear{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0;background:transparent;box-shadow:none;padding:3px 8px;font-size:21px;line-height:1;color:#b7d8e9}.search-clear:hover{color:#fff;border:0;box-shadow:none}.search-wrap input::-webkit-search-cancel-button{display:none!important}
/* Compact national overview: all Home sections remain within the viewport. */
@media(min-width:851px){
 body.home-active{height:100%;overflow:hidden}
 body.home-active #appShell{height:100dvh;display:flex;flex-direction:column}
 .header{min-height:64px;height:64px;flex-shrink:0}
 .header-logo{height:43px}
 body.home-active main{height:calc(100dvh - 64px);min-height:0;overflow:hidden}
 #stormsPage{height:100%;display:flex;flex-direction:column;gap:9px;min-height:0;padding:9px 15px 12px;overflow:hidden}
 #stormsPage .belowmap{margin:0;flex-shrink:0;padding:6px 10px}
 #stormsPage .belowmap select{min-height:33px;padding:4px 10px}
 #stormsPage>.panel{flex:1;min-height:95px;display:flex;flex-direction:column}
 #stormsPage .panel-title{padding:8px 13px;flex-shrink:0}
 #stormsPage .table-scroll{overflow:auto;min-height:0;flex:1}
 #stormsPage th,#stormsPage td{padding:8px 13px}
 #stormMap{flex:0 1 min(42dvh,340px);height:min(42dvh,340px);min-height:150px;width:100%;max-height:none;padding:2px}
 .national-map{height:100%;width:auto;max-width:100%;aspect-ratio:1000 / 440}
 .national-map>img{width:100%;height:100%;object-fit:contain}
}
@media(max-width:850px){#stormMap{height:clamp(160px,39vw,310px);max-height:310px;aspect-ratio:auto}.national-map{width:100%;aspect-ratio:1000/440}}
/* Accurate geographic outlines in both map scales. */
.state-map{isolation:isolate}
.state-outline{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;z-index:1}
.state-report-pins{z-index:2}
.report-pin.extreme{background:#f52242;border-color:#ffdee3;box-shadow:0 0 12px #f52242a8}
.report-pin.severe{background:#c3af00;border-color:#fff2a0;box-shadow:0 0 12px #dbbd19a0}
.report-pin.other{background:#2184bf;border-color:#a9e1ff;box-shadow:0 0 11px #258dd0a0}
.report-item.extreme{background:#6c1025;color:#fff;border-left:3px solid #f72d4f}
.report-item.severe{background:#645a00;color:#fff;border-left:3px solid #edd022}
.report-item.other{border-left:3px solid #247ea8}
.report-item.selected{outline:2px solid #f4f9ff;outline-offset:-3px}
.report-item.extreme .report-time,.report-item.extreme span:last-child,.report-item.severe .report-time,.report-item.severe span:last-child{color:#f7f7e9}
/* Zoom toward the selected storm, reveal state and reports. */
#stateViewModal:not(.hidden){animation:state-overlay-enter .36s ease-out both}
#stateViewModal:not(.hidden)>.modal{animation:state-zoom-enter .43s cubic-bezier(.15,.78,.18,1) both;transform-origin:var(--focus-x,50%) var(--focus-y,50%)}
#stateViewModal.closing{animation:state-overlay-out .29s ease-in both}
#stateViewModal.closing>.modal{animation:state-zoom-out .29s ease-in both;transform-origin:var(--focus-x,50%) var(--focus-y,50%)}
@keyframes state-overlay-enter{from{background:#010a1200}to{background:#010a12c9}}
@keyframes state-overlay-out{from{background:#010a12c9}to{background:#010a1200}}
@keyframes state-zoom-enter{from{opacity:.1;transform:scale(.73) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes state-zoom-out{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.79)}}
@media(prefers-reduced-motion:reduce){#stateViewModal,#stateViewModal>.modal{animation:none!important}}

/* Per-property source imagery; unconfirmed images are never training inputs. */
.roof-imagery{min-width:0;display:flex;flex-direction:column;gap:7px}
.roof-imagery .roof-photo:disabled{cursor:default;opacity:1}
.imagery-placeholder{color:#6ec7df;font-size:14px;font-weight:650;letter-spacing:2px}
.imagery-controls{display:flex;gap:6px;flex-wrap:wrap}
.imagery-controls button,.imagery-coords button{padding:5px 8px;font-size:11px;min-height:27px}
.imagery-status{font-size:11px;color:#9ccde3;min-height:14px}
.imagery-coords{display:flex;gap:5px;flex-wrap:wrap}
.imagery-coords input{min-width:95px;width:calc(50% - 6px);font-size:12px;padding:6px}

/* 2026-11 map/navigation corrections */
#stormMap{position:relative;height:clamp(180px,34vh,310px)!important;max-height:310px!important;width:100%!important;aspect-ratio:auto!important;min-height:0!important;padding:0!important;overflow:hidden;border:1px solid #205775;border-radius:5px}
#mapHost,#geoMap,#stateMapSlot{width:100%;height:100%;min-height:0;position:relative}
#geoMap{background:#061321}
.maplibregl-canvas{outline:none}
.maplibregl-control-container .maplibregl-ctrl-attrib{font-size:9px;background:#091827bf;color:#abc9d8}
.state-view-modal{height:min(91dvh,820px);max-height:91dvh!important;overflow:hidden!important;display:flex;flex-direction:column;min-height:0;transform-origin:var(--focus-x,50%) var(--focus-y,50%)}
.state-view-modal .modal-head{flex:none;min-height:56px;margin-bottom:8px}
.state-view-grid{flex:1;min-height:0!important;height:auto;grid-template-columns:minmax(0,1.55fr) minmax(330px,1fr);overflow:hidden}
.state-map-panel{height:100%;min-height:0;overflow:hidden}
.state-map{height:100%!important;flex:1;min-height:0!important;overflow:hidden;border:1px solid #285773}
.state-report-panel{height:100%;min-height:0;overflow:hidden}
.state-report-list{flex:0 1 38%;max-height:none;min-height:90px;overflow:auto}
.state-report-detail{height:0;flex:1 1 0;min-height:0!important;overflow:auto;padding:10px 12px}
.report-detail-grid{gap:6px 12px}
.report-remarks{margin-top:9px;height:82px;display:flex;flex-direction:column;overflow:hidden}
.report-remarks p{flex:1;min-height:0;overflow:auto;overflow-wrap:anywhere;margin:5px 0 0;padding:2px 0}
.state-report-filter{flex:none}
.map-coord-caption{display:flex;gap:10px;padding:4px 0 0;flex:none}
.map-coord-caption button{padding:5px 12px;font-size:11px}
#mapViewBack{padding:4px 10px;margin-bottom:5px;font-size:11px}
.report-pin{position:relative!important;left:auto!important;top:auto!important;display:grid;place-items:center;cursor:pointer}
.report-pin.extreme{background:#ed3151;border-color:#ffb4c1}
.report-pin.severe{background:#edca32;border-color:#fff1a4}
.report-pin.other{background:#3684bc;border-color:#a9daff}
.report-item.extreme{border-left:3px solid #e83b55}
.report-item.severe{border-left:3px solid #ebca3c}
.report-item.other{border-left:3px solid #2e86ad}
.storm-crosshair{position:relative!important;left:auto!important;top:auto!important;display:block}
.storm-crosshair:hover{filter:drop-shadow(0 0 12px #ff486b)}
@media(max-width:900px){.state-view-grid{grid-template-columns:minmax(0,1.15fr) minmax(260px,1fr)}.state-map{min-height:0!important}}
@media(max-width:650px){.state-view-grid{grid-template-columns:1fr;grid-template-rows:minmax(130px,45%) minmax(0,55%)}.state-view-modal{height:94dvh;max-height:94dvh!important}.state-report-list{flex:0 1 30%}.report-detail-grid{grid-template-columns:1fr 1fr}}

.roof-imagery .roof-photo img{width:100%;height:100%;object-fit:contain;object-position:center;max-width:100%;max-height:100%}
.imagery-gallery{display:flex;flex-wrap:wrap;gap:4px;max-height:62px;overflow:auto}
.imagery-gallery button{font-size:10px;padding:3px 6px;border-radius:3px}
.imagery-gallery button.active{border-color:#68def7;background:#13506b}
.map-load-error{padding:35px 20px;color:#bce3f6;text-align:center}
.state-view-modal.zoom-arrival{animation:storm-materialize .85s cubic-bezier(.18,.82,.24,1) both}
@keyframes storm-materialize{from{opacity:.15;transform:scale(.66);filter:blur(4px)}to{opacity:1;transform:scale(1);filter:blur(0)}}
@media(prefers-reduced-motion:reduce){.state-view-modal.zoom-arrival{animation:none!important}}

.crop-roof-modal{width:min(95vw,780px);max-height:90dvh;display:flex;flex-direction:column;overflow:hidden}
.crop-stage{min-height:0;flex:1;align-self:center;position:relative;touch-action:none;user-select:none;display:flex;align-items:center;justify-content:center;max-height:67dvh;cursor:crosshair}
.crop-stage img{display:block;max-width:100%;max-height:66dvh;object-fit:contain;user-select:none;pointer-events:none}
.crop-selection{position:absolute;pointer-events:none;border:2px solid #4de2f9;background:#34c7ec30;box-shadow:0 0 9px #14cbf550}

/* Monaco and latest production branding */
.header-logo{width:min(350px,31vw);height:48px;max-width:100%;object-fit:contain;object-position:left center}
.login-logo{max-height:110px;object-fit:contain}
/* Map fallback is local and guaranteed to be visible when remote libraries cannot load. */
.map-offline{height:100%;width:100%;display:flex;justify-content:center;align-items:center;background:#04121f;position:relative;overflow:hidden}
.map-offline .overview-frame{height:100%;max-width:100%;aspect-ratio:1000/440;position:relative}
.map-offline .overview-frame img{display:block;width:100%;height:100%;object-fit:contain}
.map-offline .overview-event{position:absolute;transform:translate(-50%,-50%);border:2px solid #ff2145;border-radius:50%;color:white;background:#f42045;width:20px;height:20px;box-shadow:0 0 12px #ff2145;cursor:pointer}
.map-offline .overview-caption{position:absolute;bottom:7px;left:10px;color:#81a8bf;font-size:10px;background:#061725ba;padding:3px 6px}
.map-offline .overview-event:hover{box-shadow:0 0 18px white}
.map-load-error{color:#badbea;padding:12px;background:#081d30}

/* Roof Card - reference layout, fixed action grid */
.roof-card{min-height:min(66vh,680px);padding:22px 26px;display:flex;flex-direction:column;overflow:visible}
.roof-card-header{padding-bottom:19px}.roof-card-header h1{font-size:clamp(23px,2vw,30px);font-weight:600}
.roof-card-body{grid-template-columns:minmax(0,1fr) 230px;gap:30px;flex:1;min-height:350px;padding:12px 0 20px}
.roof-card-main h2{font-weight:500;font-size:22px}
.roof-card .materials-table{max-width:680px;font-size:18px}.roof-card .materials-table th{font-size:17px;text-transform:none;padding:10px 12px;font-weight:500}.roof-card .materials-table td{font-size:18px;padding:12px}
.roof-card .roof-details{display:flex;flex-direction:column;gap:12px;margin-top:12px}.roof-card .roof-details div{display:flex;flex-direction:row;gap:10px;font-size:18px}.roof-card .roof-details span,.roof-card .roof-details strong{font-size:18px;color:#e3f2fb;font-weight:400}
.roof-imagery{width:230px;align-items:stretch}.roof-imagery .roof-photo{width:230px;height:200px;flex:none;border-radius:8px;overflow:hidden}.roof-imagery .roof-photo img{object-fit:contain}
.imagery-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start}.imagery-controls button{width:100%;height:35px;min-height:35px;font-size:12px;padding:5px 4px;white-space:nowrap}.imagery-controls button[data-action="load-image"]{grid-column:1;grid-row:3}.imagery-controls button[data-action="edit-image"]{grid-column:1;grid-row:1}.imagery-controls button[data-action="confirm-image"]{grid-column:2;grid-row:1}.imagery-controls button[data-provider="USDA NAIP"]{grid-column:1;grid-row:2}.imagery-controls button[data-provider="USGS NAIP"]{grid-column:2;grid-row:2}.imagery-controls button.active{border-color:#65deff;background:#15465e;color:#effbff}.imagery-controls button:disabled{opacity:.52;cursor:default}.imagery-status{font-size:12px;min-height:17px}
.roof-card-footer{margin-top:auto;display:flex;justify-content:space-between;gap:22px;flex-wrap:wrap;align-items:center;padding-top:18px}.roof-card-footer>div:first-child{min-width:180px}.roof-card-footer>button{margin-right:auto}.roof-card-footer span{font-size:11px}
/* Fixed report details: the event list is the only independent scroll region */
.state-view-modal .state-report-panel{display:grid;grid-template-rows:auto minmax(80px,40%) minmax(0,1fr);height:100%;min-height:0;overflow:hidden}
.state-view-modal .state-report-list{height:100%;max-height:none;min-height:0;overflow-y:auto;overflow-x:hidden}
.state-view-modal .state-report-detail{height:100%;min-height:0!important;max-height:100%;overflow:hidden;padding:11px 13px;display:flex;flex-direction:column;gap:7px}
.state-report-detail h3{font-size:14px;margin:0 0 3px}.report-detail-grid{gap:4px 14px}.report-detail-grid strong{font-size:11px}.report-remarks{height:auto;flex:1;min-height:0;overflow:hidden;margin-top:2px}.report-remarks p{flex:1;min-height:0;overflow:hidden!important;overflow-wrap:anywhere;line-height:1.35;font-size:11px}.state-report-detail a{margin-top:4px;font-size:11px;flex:none}
/* Exact longitude/latitude marker anchor is controlled by MapLibre, never CSS filter/list layout */
.maplibregl-marker .storm-crosshair,.maplibregl-marker .report-pin{position:relative!important;left:auto!important;top:auto!important;transform:none!important}.maplibregl-marker .storm-crosshair:hover,.maplibregl-marker .report-pin:hover{transform:scale(1.13)!important}
/* Long transitions, no new browser tabs for imagery */
.state-view-modal.zoom-arrival{animation-duration:1.5s}
.image-editor-modal{width:min(93vw,950px);max-height:94dvh;display:flex;flex-direction:column;overflow:hidden;min-height:0}
.image-editor-stage{flex:1;min-height:0;min-width:0;display:grid;place-items:center;position:relative;overflow:hidden;background:#03121c;border:1px solid #24658b;border-radius:6px;padding:8px}
.image-editor-stage img{max-width:100%;max-height:min(68dvh,680px);width:auto;height:auto;object-fit:contain;user-select:none}
.image-editor-stage.choosing-center{cursor:crosshair}.image-center-target{position:absolute;transform:translate(-50%,-50%);font-size:32px;line-height:22px;font-weight:bold;color:#fc3651;text-shadow:0 0 7px #fff;pointer-events:none}
.image-editor-actions{display:flex;gap:10px;flex-wrap:wrap;padding-top:13px}
.image-editor-modal.zoom-image-in{animation:image-zoom-in 1.5s cubic-bezier(.16,.84,.22,1) both}.image-editor-modal.zoom-image-out{animation:image-zoom-out 1.5s cubic-bezier(.42,.02,.82,.28) both}
@keyframes image-zoom-in{from{opacity:0;transform:scale(.25)}to{opacity:1;transform:scale(1)}}@keyframes image-zoom-out{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.25)}}
@media(max-width:750px){.roof-card-body{grid-template-columns:minmax(0,1fr);min-height:0}.roof-imagery{width:min(100%,230px)}.roof-card{min-height:0}.state-view-modal .state-report-panel{grid-template-rows:auto minmax(70px,37%) minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.image-editor-modal.zoom-image-in,.image-editor-modal.zoom-image-out{animation:none!important}}

#stateViewModal:not(.hidden)>.modal.zoom-arrival{animation:storm-materialize 1.5s cubic-bezier(.18,.82,.24,1) both}
#stateViewModal:not(.hidden):not(.closing){animation:state-overlay-enter 1.5s ease-out both}
#stateViewModal.closing{animation:state-overlay-out 1.5s ease-in both}
#stateViewModal.closing>.modal{animation:state-zoom-out 1.5s ease-in both}
#cropRoofModal .crop-roof-modal.zoom-crop-in{animation:image-zoom-in 1.5s cubic-bezier(.16,.84,.22,1) both}
#cropRoofModal .crop-roof-modal.zoom-crop-out{animation:image-zoom-out 1.5s cubic-bezier(.42,.02,.82,.28) both}
@media(prefers-reduced-motion:reduce){#cropRoofModal .crop-roof-modal.zoom-crop-in,#cropRoofModal .crop-roof-modal.zoom-crop-out{animation:none!important}}

.roof-card .materials-table{max-width:850px}.roof-card .materials-table th{background:transparent;font-size:21px;padding:6px 12px 12px}.roof-card .materials-table td{font-size:19px}.roof-card .roof-details span::after{content:':'}.roof-card .roof-details{margin-top:19px}.roof-card .roof-details div{gap:9px}

/* November production interface corrections */
:root{--storm-open:1200ms;--storm-close:900ms;--severity-yellow:#edca32;--severity-red:#ed3151}
/* MapLibre assigns both classes to the SAME DOM element. Never override marker transform. */
.maplibregl-marker.storm-crosshair,.maplibregl-marker.report-pin{position:absolute!important;left:0!important;top:0!important;transform-origin:center center!important}
.maplibregl-marker.storm-crosshair:hover,.maplibregl-marker.report-pin:hover{filter:drop-shadow(0 0 12px #ff486b);box-shadow:none!important}
.maplibregl-marker.storm-crosshair:hover .target-ring,.maplibregl-marker.storm-crosshair:hover .target-core{scale:1.15}
.maplibregl-marker.report-pin:hover span{scale:1.12}
.report-item.extreme{border-left-color:var(--severity-red)!important}.report-item.severe{border-left-color:var(--severity-yellow)!important}
.report-pin.extreme{background:var(--severity-red)!important}.report-pin.severe{background:var(--severity-yellow)!important}
.roof-card-header{display:flex;align-items:start;justify-content:space-between;gap:20px}
.roof-card-location{display:flex;align-items:start;gap:18px;flex-wrap:wrap}
.roof-address-actions{display:flex;flex-direction:column;gap:6px;min-width:140px}
.roof-address-actions button{font-size:12px;padding:6px 10px;min-height:31px;white-space:nowrap}
.roof-card-main .materials-table th:first-child,.roof-card-main .materials-table td:first-child{padding-left:0}
.roof-card .roof-details{margin-left:0;padding-left:0}
.roof-card .roof-details div{padding-left:0}
#modal .modal:has(#roofForm:not(.hidden)){width:min(94vw,820px);max-width:820px;padding:16px 22px;overflow:hidden;max-height:96dvh}
#modal .modal:has(#roofForm:not(.hidden)) .modal-head{margin-bottom:12px}
#roofForm .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 13px;margin-bottom:10px}
#roofForm .form-grid .wide{grid-column:span 3}
#roofForm .form-grid textarea{min-height:46px;max-height:56px;resize:none}
#roofForm .form-grid input,#roofForm .form-grid select{min-height:35px}
#roofForm .form-buttons{margin-top:7px}
@media(max-width:640px){#roofForm .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#roofForm .form-grid .wide{grid-column:span 2}#modal .modal:has(#roofForm:not(.hidden)){overflow:auto}}
/* The entire overlay grows out of the clicked crosshair's viewport point. */
#stateViewModal:not(.hidden):not(.closing){animation:state-overlay-enter var(--storm-open) ease-out both!important}
#stateViewModal.closing{animation:state-overlay-out var(--storm-close) ease-in both!important}
#stateViewModal:not(.hidden):not(.closing)>.modal{animation:crosshair-open var(--storm-open) cubic-bezier(.17,.82,.22,1) both!important;transform-origin:center center!important}
#stateViewModal.closing>.modal{animation:crosshair-close var(--storm-close) cubic-bezier(.56,.01,.79,.2) both!important;transform-origin:center center!important}
@keyframes crosshair-open{from{opacity:.3;transform:translate(calc(var(--origin-x,50vw) - 50vw),calc(var(--origin-y,50vh) - 50vh)) scale(.016)}to{opacity:1;transform:translate(0,0) scale(1)}}
@keyframes crosshair-close{from{opacity:1;transform:translate(0,0) scale(1)}to{opacity:.3;transform:translate(calc(var(--origin-x,50vw) - 50vw),calc(var(--origin-y,50vh) - 50vh)) scale(.016)}}
/* Image editor visibly grows from the Roof Card thumbnail and shrinks back to it. */
#imageEditorModal:not(.hidden) .image-editor-modal.zoom-image-in{animation:roof-image-open var(--storm-open) cubic-bezier(.17,.82,.22,1) both!important}
#imageEditorModal:not(.hidden) .image-editor-modal.zoom-image-out{animation:roof-image-close var(--storm-close) cubic-bezier(.56,.01,.79,.2) both!important}
@keyframes roof-image-open{from{opacity:.2;transform:translate(calc(var(--image-origin-x,50vw) - 50vw),calc(var(--image-origin-y,50vh) - 50vh)) scale(.12)}to{opacity:1;transform:translate(0,0) scale(1)}}
@keyframes roof-image-close{from{opacity:1;transform:translate(0,0) scale(1)}to{opacity:.2;transform:translate(calc(var(--image-origin-x,50vw) - 50vw),calc(var(--image-origin-y,50vh) - 50vh)) scale(.12)}}
.image-editor-stage{touch-action:none;cursor:crosshair}
.image-editor-stage img{pointer-events:none;-webkit-user-drag:none}
.image-center-target{width:42px;height:42px;font-size:0;line-height:normal;z-index:3;filter:drop-shadow(0 0 4px red)}
.image-center-target .target-ring{inset:6px}
.image-crop-selection{position:absolute;border:2px solid #39baff;background:#39baff30;box-shadow:0 0 10px #39baff99;pointer-events:none;z-index:2}
.image-editor-stage .hidden{display:none!important}
.state-view-modal .state-report-detail{overflow:hidden!important}
/* Themed dropdown widgets: native values, custom visible interaction. */
.themed-select{position:relative;display:inline-flex;min-width:0;flex:1}
.themed-select select{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
.themed-select-trigger{position:relative;width:100%;min-height:35px;text-align:left;padding:7px 28px 7px 10px;border:1px solid #277b9e;background:#061b2d;color:#e6f5ff;font:inherit;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.themed-select-trigger:after{content:'⌄';position:absolute;right:9px;color:#55cfff}
.themed-select-list{position:absolute;top:calc(100% + 3px);left:0;right:0;max-height:min(40vh,350px);overflow:auto;background:#071e30;border:1px solid #42b8e5;box-shadow:0 12px 24px #000a;z-index:1800;border-radius:5px;padding:4px}
.themed-select-option{display:block;width:100%;border:0;border-radius:3px;text-align:left;padding:9px 8px;font:inherit;font-size:12px;color:#ecf7ff;background:transparent;white-space:nowrap}
.themed-select-option:hover,.themed-select-option[aria-selected="true"]{background:#124968;color:#72ddff}
.themed-select-option:focus-visible,.themed-select-trigger:focus-visible{outline:2px solid #68d9fa;outline-offset:1px}
.themed-select-trigger:disabled{opacity:.5;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){#stateViewModal>.modal,#imageEditorModal>.modal{animation-duration:0ms!important}}

/* Control widths remain predictable across list, toolbar and edit forms. */
#stormsPage .toolbar.belowmap .themed-select{flex:0 0 190px;max-width:190px}
.toolbar:not(.belowmap) .themed-select{flex:0 1 190px;min-width:150px}
.state-report-filter .themed-select{flex:1 1 50%;min-width:0}
.form-grid .themed-select{width:100%;min-width:0;flex:1 1 auto}

/* Nov 17 adjustments */
:root{--storm-open:1100ms;--storm-close:500ms}
/* Original source-pin colors are the single authority for list severity. */
.report-item.extreme{background:var(--severity-red)!important;color:#fff!important}
.report-item.severe{background:var(--severity-yellow)!important;color:#071625!important}
.report-item.other{background:#3684bc!important;color:#fff!important}
.report-item.extreme span,.report-item.extreme strong,.report-item.severe span,.report-item.severe strong,.report-item.other span,.report-item.other strong{color:inherit!important}
.report-item.selected{outline:2px solid #fff;outline-offset:-3px;border-left:3px solid #fff!important}
#stormsPage .map-date-filter{position:absolute;bottom:12px;left:12px;z-index:15;width:190px;max-width:calc(100% - 24px)}
#stormsPage .map-date-filter .themed-select{width:100%}
#stormsPage .map-date-filter .themed-select-list{
  top:auto;
  bottom:calc(100% + 3px);
  max-height:min(350px,calc(var(--storm-map-height) - 72px));
  overscroll-behavior:contain;
}
#stormMap{--storm-map-height:clamp(230px,43vh,420px);height:var(--storm-map-height)!important;max-height:420px!important}
.image-dates{font-size:10px;margin-top:5px;color:#8bc8e5;white-space:normal}
#imageEditorLoading{font-size:12px;color:#8bd7f7;align-self:center}
.roof-card .materials-table th:nth-child(2),.roof-card .materials-table th:nth-child(3){min-width:145px}
.roof-card .roof-details{padding-left:0!important;margin-left:0!important}
.roof-card .roof-details div{padding-left:0!important}
#imageEditorModal:not(.hidden) .image-editor-modal.zoom-image-in{animation-duration:1100ms!important}
#imageEditorModal:not(.hidden) .image-editor-modal.zoom-image-out{animation-duration:500ms!important}

/* Parcel-match state and unobtrusive provider loading animation. */
.parcel-status{font:11px Monaco,Menlo,monospace;line-height:1.45;padding:5px 1px;overflow-wrap:anywhere;color:#a8bbce}
.parcel-status.matched{color:#88e7ea}.parcel-status.unresolved{color:#e7b1a0}
.imagery-controls button[data-action="match-parcel"]{grid-column:1/-1}
.loading-ellipsis{display:inline-block;min-width:3ch;font-weight:600;font-size:0}
.loading-ellipsis::after{content:".";font-size:12px;animation:ludo-ellipsis 1.2s step-end infinite}
@keyframes ludo-ellipsis{0%,100%{content:"."}33%{content:".."}66%{content:"..."}}

.storm-report-actions{display:flex;align-items:center;gap:8px;flex:none}

#eventPagination{justify-content:flex-end;margin-top:10px}
#stormGenerationStatus{margin:0 0 10px}
#stormSourceDialog{color:inherit}
#stormSourceDialog h2{margin:0 0 16px}
#stormSourceDialog input{max-width:100%}
#stormSourceDialog::backdrop{background:#010a12c9}
.event-magnitude{display:flex;align-items:center;gap:8px;white-space:nowrap}
.event-magnitude input{width:76px;min-width:0}
.state-report-list{position:relative}
#eventPage th:is([data-sort-key="hail"],[data-sort-key="wind"])[aria-sort="descending"]::after{content:" ↑"}
#eventPage th:is([data-sort-key="hail"],[data-sort-key="wind"])[aria-sort="ascending"]::after{content:" ↓"}

.software-updates{max-width:680px;margin-top:16px;padding:20px}
.software-updates h2{margin-top:0}
.software-updates .read-field{display:grid;gap:5px}
.software-updates .read-field span{color:var(--muted);font-size:13px}
.software-update-file-row,.software-update-previous{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:16px}
.software-update-action{min-width:225px}
.software-update-status:empty,.software-update-metric:empty,.software-update-activity:empty{display:none}
.software-update-status.update-error{color:#ff9ba9}
.software-update-progress{padding:12px 0}
.software-update-progress-heading,.software-update-progress-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
.software-update-track{height:14px;background:#04111f;border:1px solid var(--line);border-radius:20px;margin:9px 0}
.software-update-fill{height:100%;width:0;background:var(--ice);border-radius:20px;transition:width .25s ease}
.software-update-metric,.software-update-activity,.software-update-progress-footer,.software-update-percent{font-size:13px;color:var(--muted);margin-top:6px}
.software-update-completed{display:grid;gap:5px;margin-top:10px}
.software-update-completed [role=listitem]::before{content:"✓ ";color:#86e1bb}
#softwareUpdateConfirm{color:inherit}
#softwareUpdateConfirm::backdrop{background:#010a12c9}
