/* Generated workspace stylesheet; ordered sources: workspace-styles.json. */
/* Source: drone.css */
:root{color-scheme:light;--nav:#f6f8fa;--paper:#fff;--ink:#193044;--muted:#6a7d8d;--line:#e3eaf0;--blue:#087fec;--blue-dark:#0964bb;--blue-soft:#edf6ff;--green:#19785a;--amber:#93611d;--radius:12px;font-family:Inter,"Segoe UI",Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#f7f9fc;color:var(--ink);font-size:14px;line-height:1.5}[hidden]{display:none!important}a{color:#066ac5;text-decoration:none}a:hover{text-decoration:underline}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:40px;padding:9px 15px;border:1px solid #d7e2eb;border-radius:7px;background:#fff;color:#2c4b63;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer;transition:background .15s}button:hover,.button:hover{background:#edf4fa;text-decoration:none}button.primary,.button.primary{background:var(--blue);color:#fff;border-color:var(--blue)}button.primary:hover,.button.primary:hover{background:var(--blue-dark)}button:disabled{opacity:.55;cursor:wait}:focus-visible{outline:3px solid #80bfff;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:25px;letter-spacing:-.6px;margin-bottom:0}h2{font-size:25px;letter-spacing:-.7px;line-height:1.25;margin-bottom:12px}h3{font-size:17px;letter-spacing:-.2px;margin-bottom:16px}p{margin-bottom:14px}small,.muted{color:var(--muted);font-size:12px;line-height:1.6}.eyebrow,.nav-label{font-size:10px;letter-spacing:1.6px;font-weight:750;color:var(--muted);margin-bottom:10px}input,select,textarea{font:inherit;color:var(--ink);width:100%;padding:10px 12px;background:white;border:1px solid #cfdce7;border-radius:6px;min-height:41px}input::placeholder,textarea::placeholder{color:#8a9aa7}label{display:block;font-size:12px;font-weight:600;margin-bottom:13px}label input,label select,label textarea{display:block;margin-top:6px}textarea{resize:vertical}pre{font-family:"SFMono-Regular",Consolas,monospace}details>summary{cursor:pointer;font-weight:600;padding:10px 0}dialog{border:1px solid var(--line);border-radius:14px;padding:28px;box-shadow:0 24px 100px #102c4450}dialog::backdrop{background:#142d4280}.skip-link{position:absolute;top:-80px;left:15px;z-index:2000;padding:12px;background:white}.skip-link:focus{top:10px}.mobile-brand{display:none}.brand-mark{width:39px;height:39px;display:grid;place-items:center;background:#152f46;color:white;border-radius:10px;font-size:15px;font-weight:800;letter-spacing:-.8px}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:var(--nav);border-right:1px solid var(--line);padding:27px 16px;display:flex;flex-direction:column;z-index:500}.program-brand{display:flex;align-items:center;gap:12px;padding:0 7px 35px;color:var(--ink)}.program-brand:hover{text-decoration:none}.program-brand strong{font-size:20px;line-height:1;display:block;letter-spacing:2px}.program-brand small{font-size:9px;font-weight:750;letter-spacing:1.9px;display:block;margin-top:6px}.nav-label{margin:0 12px 10px;font-size:9px}.sidebar nav>a{display:flex;align-items:center;gap:12px;padding:12px;margin-bottom:5px;color:#526b7f;font-size:13px;border:1px solid transparent;border-radius:7px}.sidebar nav>a>span{font-size:19px;font-weight:500;line-height:1;width:21px;text-align:center;color:#7b90a0}.sidebar nav>a:hover{background:#edf2f7;text-decoration:none}.sidebar nav>a[aria-current=page]{color:#0669c1;background:#e6f1ff;border-color:#d8eaff;font-weight:700}.sidebar nav>a[aria-current=page]>span{color:#087fec}.sidebar nav .nav-label{margin-top:28px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.video-link{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;font-size:12px;font-weight:650;color:var(--ink)}.sidebar-bottom p{font-size:10px;color:#8b9aa7;line-height:1.7;margin:16px 12px 0}.program-main{margin-left:226px;min-height:100vh}.workspace-header{height:103px;background:var(--paper);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:20px 36px;gap:20px}.breadcrumb{font-size:11px;color:#8a9ba8;margin-bottom:5px}.account{display:flex;align-items:center;gap:12px;font-size:11px;color:#6b7e8e}.account-dot{height:27px;width:27px;flex-shrink:0;border-radius:50%;background:#e3eef8;border:7px solid #f2f7fb}.account button{font-size:11px;min-height:31px;padding:5px 10px}#content{padding:30px 36px;max-width:1600px;margin:auto;min-height:calc(100vh - 160px)}.welcome{display:flex;justify-content:space-between;align-items:center;padding:4px 0 28px;gap:20px}.welcome h2{font-size:32px;letter-spacing:-1px;margin-bottom:9px}.welcome p:last-child{color:var(--muted);margin-bottom:0}.welcome .eyebrow{color:#527797}.weather-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:14px}.weather-heading h3{font-size:13px;margin:0}.weather-heading>span,[data-weather-status]{font-size:11px;color:var(--muted)}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.metric{padding:21px 20px;background:white;border:1px solid var(--line);border-radius:var(--radius);min-height:133px}.metric>span{display:block;font-size:11px;font-weight:650;color:var(--muted);margin-bottom:13px}.metric strong{font-size:26px;letter-spacing:-1px;display:block;line-height:1.2;font-weight:650;overflow-wrap:anywhere}.metric small{display:block;margin-top:10px;font-size:10px}.metric [data-wx=wind]{font-size:19px;line-height:1.65;letter-spacing:-.5px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr);gap:22px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:22px;min-width:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.section-title h2,.section-title h3,.section-title p:last-child{margin-bottom:0}.section-title>a{font-size:12px;flex-shrink:0}.badge,.station-tag{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.4px;color:#41769f;background:#eef5fb;padding:5px 9px;border-radius:5px}.workflow-row{display:flex;align-items:center;gap:15px;padding:18px 0;border-top:1px solid #edf1f5;color:var(--ink)}.workflow-row:hover{text-decoration:none;color:#066ac5}.workflow-row .step{background:#f3f7fb;color:#6e8ba3;border:1px solid var(--line);width:34px;height:34px;display:grid;place-items:center;border-radius:8px;font-size:10px;flex-shrink:0}.workflow-row strong{display:block;font-size:12px}.workflow-row small{display:block;font-size:11px;margin-top:4px}.workflow-row b{margin-left:auto;color:#89a2b6}.summary-stats{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:26px 0}.summary-stats strong{font-size:39px;line-height:1;display:block;font-weight:550;letter-spacing:-1px}.summary-stats span{display:block;font-size:11px;color:var(--muted);margin-top:12px;max-width:110px}.program-summary>a{font-size:12px;font-weight:650}.program-summary .muted{border-top:1px solid var(--line);margin-top:24px;padding-top:18px;font-size:11px;margin-bottom:0}.metar{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f7fb;border:1px solid #e6eef5;padding:18px;border-radius:8px;color:#385a74;min-height:70px}.alert-summary{padding:14px 18px;border:1px solid #e0e8ef;border-radius:8px;color:#627a8d;font-size:12px}.alert-summary.has-alerts{border-color:#efc178;background:#fff8e9;color:#8a5a19}.planning-grid{display:grid;grid-template-columns:minmax(0,1fr) 328px;gap:20px;align-items:start}.map-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white;min-width:0}.map-toolbar{padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.map-toolbar button{font-size:11px;padding:7px 10px;min-height:32px}#planning-map{height:calc(100vh - 290px);min-height:440px;max-height:850px;background:#e9eff3;z-index:1}.map-footer{padding:11px 16px;font-size:10px;color:var(--muted);border-top:1px solid var(--line)}#map-status:not(:empty){padding:12px 16px;margin:0;color:#92611b;font-size:12px}.coordinate-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.coordinate-grid input{font-size:12px;padding:8px}#coordinate-form button{font-size:10px;min-height:33px;padding:7px 9px}.planning-context .card{padding:19px;margin-bottom:16px}.planning-context h3{font-size:15px}.planning-context p{font-size:12px}.compact-weather>strong{font-size:30px;font-weight:600}.compact-weather p{margin-bottom:8px}.compact-weather p.muted{font-size:10px;margin-top:12px}.authorization{border-left:3px solid #77b4e9}.weather-two{display:grid;grid-template-columns:1fr 1fr;gap:22px}.observation-hero{display:flex;align-items:center;gap:20px;margin:24px 0}.observation-hero>strong{font-size:44px;font-weight:500;letter-spacing:-2px}.observation-hero>span{padding:6px 12px;border-radius:5px;background:#eef6fc;font-weight:700;font-size:12px}.weather-readings{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin:0 0 22px}.weather-readings div{border-top:1px solid var(--line);padding-top:10px}.weather-readings dt{font-size:10px;color:var(--muted);margin-bottom:5px}.weather-readings dd{margin:0;font-weight:600;font-size:13px}.source-link{display:block;font-size:11px;margin:15px 0}.hourly-scroll{display:flex;gap:12px;overflow-x:auto;padding-bottom:10px}.hour-card{flex:0 0 110px;border:1px solid var(--line);border-radius:8px;padding:15px 12px;display:flex;flex-direction:column;gap:8px}.hour-card strong{font-size:20px;font-weight:600}.hour-card small{font-size:10px}.weather-symbol{font-size:23px;color:#db9b21;line-height:1.3}.forecast-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.forecast-card{padding:15px;border:1px solid var(--line);border-radius:8px;min-width:0}.forecast-card h4{margin:0 0 12px;font-size:12px}.forecast-card>strong{font-size:24px;font-weight:600}.forecast-card p{font-size:11px;margin:8px 0;color:var(--muted)}.forecast-card details{font-size:11px}.forecast-card summary{font-size:10px;padding:7px 0}.forecast-card.night{background:#f6f8fc}.weather-source-note{font-size:11px;color:var(--muted);line-height:1.8}#weather-message{font-size:12px;color:var(--muted)}.weather-alert{border-left:3px solid #e9af48;border-radius:6px;padding:15px;background:#fff9ed;margin-top:12px}.weather-alert h4{margin:0 0 8px}.weather-alert p{font-size:12px;white-space:pre-line}.weather-alert small{display:block}.weather-alert details{font-size:12px}.inline-note{background:var(--blue-soft);padding:15px 18px;border-radius:7px;font-size:12px;color:#315c7e;margin:20px 0}#publisher-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:25px}#publisher-list button{min-height:105px;display:flex;align-items:start;justify-content:center;flex-direction:column;text-align:left;font-size:14px;padding:18px;background:#fafcff;border-color:#dce8f2}#publisher-list button:hover{border-color:#73b7f4;background:#f1f8ff}#publisher-dialog{width:min(94vw,740px);max-height:90vh;overflow:auto}#publisher-dialog li{margin:10px 0;font-size:13px}.uas-actions{display:flex;flex-wrap:wrap;gap:10px}.search-label{max-width:340px;font-size:11px;margin-bottom:24px}.pilot{display:flex;align-items:start;gap:18px;padding:21px 0;border-top:1px solid var(--line)}.pilot-avatar{width:39px;height:39px;display:grid;place-items:center;border-radius:9px;background:#eef4fa;color:#5b7e9c;font-size:12px;font-weight:700;flex-shrink:0}.pilot-content{flex:1;min-width:0}.pilot strong{font-size:14px}.pilot p{font-size:11px;color:var(--muted);margin:7px 0}.pilot .pilot-main{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.pilot button{font-size:11px;min-height:32px;padding:6px 10px}.pilot details{font-size:12px}.pilot summary{font-size:11px;padding:7px 0}.status-tag{font-size:9px;letter-spacing:.2px;background:#edf4f9;padding:3px 8px;border-radius:4px;color:#5f7c93}.status-tag.active{background:#eaf6f0;color:#32775d}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}.user-row{display:flex;align-items:center;gap:15px;border-top:1px solid var(--line);padding:16px 0}.user-row>strong{flex:1}.user-row select{max-width:240px}.user-row button{min-width:90px}footer{font-size:10px;color:#91a0ad;padding:16px 36px;border-top:1px solid var(--line);display:flex;justify-content:space-between}.login-card{max-width:430px;margin:9vh auto;padding:35px;background:white;border:1px solid var(--line);border-radius:14px}.login-card h1{margin-bottom:16px}.login-card button{width:100%}.login-card a{font-size:12px}#notice:empty{display:none}#notice:not(:empty){position:fixed;bottom:20px;right:20px;max-width:min(440px,90vw);padding:16px 20px;background:#fff6df;border:1px solid #e8cc8c;border-radius:9px;z-index:1500;font-size:12px;box-shadow:0 10px 35px #16334c20}.leaflet-control-attribution{font-size:9px!important}.map-airport-label{white-space:nowrap;font-size:10px;font-weight:700;color:#1a4770;background:white;border:1px solid #adc9dd;border-radius:5px;padding:5px 9px}.leaflet-container a{color:#0869af}.leaflet-container .leaflet-control-zoom a{color:#274b66}.map-airport-dot{border-radius:50%;background:#087fec;border:3px solid white;box-shadow:0 0 0 2px #087fec}.map-point-dot{border-radius:50%;background:#d7941e;border:3px solid white;box-shadow:0 0 0 2px #c78c25}.is-stale{color:#9b661d!important}.is-unavailable{color:#9c5260!important}
@media(min-width:1700px){#content{padding-top:36px}.metric{min-height:145px}.overview-grid{grid-template-columns:1.6fr 1fr}.welcome h2{font-size:37px}}
@media(max-width:1200px){.sidebar{width:202px;padding:26px 12px}.program-main{margin-left:202px}#content{padding:26px}.workspace-header{padding:18px 26px}.planning-grid{grid-template-columns:minmax(0,1fr) 290px}.account #identity{max-width:180px}.metric{padding:18px 14px}.metric strong{font-size:23px}.metric [data-wx=wind]{font-size:15px}.forecast-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:950px){.planning-grid{grid-template-columns:1fr}.planning-context{display:grid;grid-template-columns:1fr 1fr;gap:16px}.planning-context .authorization{grid-column:1/-1}#planning-map{height:430px;min-height:350px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:1fr}.weather-two{grid-template-columns:1fr}.weather-two .card{margin-bottom:0}.weather-two{margin-bottom:22px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome{align-items:start}.welcome h2{font-size:27px}.welcome>.button{white-space:nowrap}.account-dot{display:none}#publisher-list{grid-template-columns:1fr}}
@media(max-width:700px){.sidebar{position:static;width:100%;padding:12px 15px;border-right:0;border-bottom:1px solid var(--line)}.program-brand{padding:0 0 13px;gap:9px}.program-brand strong{font-size:17px}.brand-mark{width:32px;height:32px}.program-brand small{font-size:8px}.sidebar>.nav-label,.sidebar nav .nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px;overflow-x:auto;white-space:nowrap}.sidebar nav>a{font-size:11px;padding:9px;gap:6px;margin:0;flex-shrink:0}.sidebar nav>a>span{font-size:15px;width:15px}.program-main{margin:0}.workspace-header{height:auto;padding:17px 19px;align-items:start}.workspace-header h1{font-size:22px}.breadcrumb{font-size:10px}.account{gap:7px;align-items:end;flex-direction:column}.account #identity{font-size:9px;max-width:155px;text-align:right}.account button{min-height:28px;font-size:10px}#content{padding:22px 17px}.welcome{flex-direction:column;gap:16px;padding-bottom:25px}.welcome h2{font-size:28px}.welcome>div>p:last-child{font-size:12px}.welcome>.button{min-height:37px;font-size:12px}.metric-grid{gap:10px;margin-bottom:17px}.metric{padding:16px 13px;min-height:126px}.metric strong{font-size:24px}.metric>span{font-size:10px}.metric small{font-size:9px}.weather-heading{align-items:start;flex-direction:column;gap:5px}.card{padding:19px;margin-bottom:17px}.section-title{gap:12px;align-items:start}.section-title h2{font-size:23px}.section-title h3{font-size:16px}.section-title>.button,.section-title>button{font-size:10px;padding:8px 10px}.planning-context{display:block}.map-card{margin-bottom:17px}.map-toolbar{padding:11px}.map-toolbar strong{font-size:11px}.map-toolbar button{font-size:10px}.map-footer{font-size:9px}.forecast-grid{gap:9px}.forecast-card{padding:13px}.weather-readings dd{font-size:12px}.station-tag{vertical-align:middle}footer{padding:15px 19px;font-size:9px}.settings-grid{grid-template-columns:1fr}.user-row{flex-wrap:wrap}.user-row>strong{flex-basis:100%}.user-row select{flex:1;max-width:none}.login-card{margin:35px 16px;padding:26px;max-width:none}.pilot{gap:10px}.pilot-avatar{width:31px;height:31px;font-size:10px}.pilot button{font-size:10px;padding:5px 8px}.weather-source-note{font-size:10px}#publisher-dialog{padding:22px}.metar{font-size:11px;padding:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

#mfa-qr{display:block;max-width:100%;height:auto;background:white;margin:16px 0;image-rendering:pixelated}#mfa-qr[hidden]{display:none}#mfa-key{display:block;overflow-wrap:anywhere}#mfa-panel,#password-panel{margin-top:18px}#mfa-codes{width:100%;max-width:650px;font-family:monospace}#admin-video-host .uas-heading{display:flex}#admin-video-host button,#admin-video-host input,#admin-video-host select{font:inherit}#admin-video-host label input[type=checkbox],#security-controls input[type=checkbox]{width:20px;display:inline-block;min-height:20px;vertical-align:middle}#user-list .user-row{display:flex;flex-wrap:wrap;gap:10px;padding:16px 0;border-top:1px solid var(--line)}#user-list .user-row input{min-width:170px;flex:1}#user-list .user-row select{width:auto}#user-list .user-row strong{width:100%}#security-controls .card{padding:18px;margin:12px 0}#secret-dialog{max-width:450px;width:95%}#guest-share-dialog{max-width:700px;width:95%}#guest-share-message{width:100%}#secret-dialog::backdrop,#guest-share-dialog::backdrop{background:#102536c9}.settings-grid,.inline-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;align-items:end}.settings-grid button,.inline-form button{margin-bottom:13px}#status:empty{display:none}

/* Private aircraft telemetry workspace. */
#telemetry-map{height:52vh;min-height:300px;max-height:620px;border:1px solid var(--border,#cbd5e1);border-radius:12px;z-index:0}
.telemetry-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;margin:16px 0}
.telemetry-track p{margin:5px 0}.telemetry-track[data-test="true"]{border:2px solid #7c3aed}.telemetry-track[data-state="lost"]{opacity:.75}
.telemetry-source-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px;align-items:end;margin:14px 0}
.telemetry-source{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:12px 0;border-bottom:1px solid #cbd5e1}.telemetry-source label{margin:0}.telemetry-source small{flex-basis:100%}
#telemetry-manager summary{cursor:pointer;font-weight:700}#telemetry-bind-form{margin-top:20px;max-width:650px}#telemetry-key-dialog{max-width:560px;width:calc(100% - 32px)}#telemetry-key{width:100%}
@media(max-width:600px){#telemetry-map{height:46vh;min-height:280px}.telemetry-source{align-items:stretch}.telemetry-source>*{flex-basis:100%}}

/* Bounded FAA labels: no permanent polygon tooltip strips. */
#planning-map .airspace-grid-label{display:flex;align-items:center;justify-content:center;pointer-events:none!important;background:transparent;border:0;padding:0}
#planning-map .airspace-grid-label>span{display:block;white-space:nowrap;pointer-events:none;max-width:72px;overflow:hidden;font-size:12px;font-weight:750;line-height:20px;padding:0 4px;border-radius:4px;background:#ffffffed;color:#173550;box-shadow:0 0 0 1px #65829830}
#planning-map-card .map-toolbar{flex-wrap:wrap;justify-content:flex-start}#planning-map-card .map-toolbar>label{flex:1 1 160px;max-width:230px;margin:0}#planning-map-card .map-toolbar>div{display:flex;gap:6px;margin-left:auto}#planning-map-card .map-toolbar strong{margin-right:auto}
#planning-map-card .map-layer-controls{flex-wrap:wrap;gap:8px 14px}#planning-map-card .map-layer-controls label{font-size:12px}#planning-map-card .map-footer{display:flex;flex-wrap:wrap;gap:4px 10px}#map-label-status{flex-basis:100%}
.map-selection-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid var(--line);font-size:12px;background:#f5f9fd}.map-selection-row button{flex-shrink:0;min-height:34px;padding:6px 10px;font-size:12px}
body.planning-map-open{overflow:hidden}#planning-map-card[data-expanded="true"]{position:fixed;inset:12px;z-index:2400;display:flex;flex-direction:column;box-shadow:0 0 0 30px #142d4280;margin:0}#planning-map-card[data-expanded="true"] #planning-map{flex:1 1 auto;height:auto;min-height:0;max-height:none}#planning-map-card[data-expanded="true"] #map-layer-status{margin:0;padding-bottom:8px}#planning-map-card[data-expanded="true"] #map-status:empty{display:none}
@media(max-width:700px){#planning-map-card[data-expanded="true"]{inset:4px;border-radius:8px}#planning-map-card .map-toolbar{gap:6px}#planning-map-card .map-toolbar label{max-width:none}.map-selection-row{padding:8px 11px;align-items:flex-start}.map-selection-row span{overflow-wrap:anywhere}#planning-map-card .map-layer-controls{padding:8px 11px}#planning-map-card .map-footer{padding:7px 11px}}

.trust-device{display:flex;align-items:center;gap:.65rem}.trust-device input{width:auto;flex:0 0 auto}

/* Source: operations.css */
.ops-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.ops-actions label{min-width:170px;margin:0}.ops-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.ops-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding:16px 0}.ops-row strong,.ops-row small{display:block}.ops-row p{margin:5px 0;color:var(--muted)}.check-row{display:flex;align-items:center;gap:10px}.check-row input{width:20px;min-height:20px}.attachment-row{padding:15px;border:1px solid var(--line);border-radius:8px;margin:12px 0}.attachment-row strong,.attachment-row small{display:block}.attachment-row button{margin:6px 8px 0 0}.attachment-row code{overflow-wrap:anywhere}.record-history{max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.draft-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px;border-top:1px solid var(--line)}#ops-message{position:sticky;top:0;z-index:500;background:#eff7ff;color:#193044;border-radius:8px;white-space:pre-wrap;padding:12px}#ops-message:empty{display:none}fieldset{border:1px solid var(--line);border-radius:8px;padding:16px;margin:12px 0}legend{font-weight:700}.markup-dialog{width:96vw;max-width:1500px;max-height:94vh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:14px;background:#f7f9fc;color:var(--ink)}.markup-dialog::backdrop{background:#102536c9}.markup-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px}.markup-toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.markup-toolbar label{flex:1;min-width:125px}.markup-toolbar button{margin-bottom:13px}.markup-stage{background:#182c3b;padding:12px;border-radius:9px;overflow:auto}#markup-canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair}.markup-layout aside{background:white;padding:18px;border-radius:9px;align-self:start}#markup-items{max-height:260px;overflow:auto;padding-left:20px}#markup-items li{margin:6px 0;font-size:12px}#markup-items button{font-size:11px;min-height:28px;margin-left:5px;padding:3px 7px}#ops-editor{scroll-margin-top:24px}#ops-history:empty{display:none}#ops-storage{font-size:13px}#ops-pilot-hours p{border-bottom:1px solid var(--line);padding-bottom:8px}@media(max-width:900px){.markup-layout{grid-template-columns:1fr}.ops-fields{grid-template-columns:1fr}.markup-dialog{padding:12px}.markup-layout aside{order:2}.ops-row{align-items:flex-start}.markup-toolbar{gap:6px}}

.mission-plan-map{height:420px;min-height:280px;width:100%;margin:12px 0;border:1px solid #aebdcb;border-radius:10px;z-index:0}.mission-workbench{grid-column:1/-1}.mission-workbench code{display:block;overflow-wrap:anywhere}.mission-workbench button{white-space:normal}.mission-workbench .check-row{display:flex;gap:10px;margin:10px 0}@media(max-width:650px){.mission-plan-map{height:55vh;min-height:300px}.mission-workbench .ops-actions{display:flex;flex-wrap:wrap}}
/* Mission briefing: one location and operational details first. */
.mission-brief{display:grid;gap:14px}.mission-brief h3,.mission-brief p{margin:0}.mission-location-map{height:320px;min-height:280px;border:1px solid #b5c6d5;border-radius:12px;isolation:isolate}.mission-brief>details{padding:12px;border:1px solid #d4dee7;border-radius:10px}.mission-brief>details[open]{display:grid;gap:12px}.mission-brief summary{cursor:pointer;font-weight:650}.mission-brief #mission-start-flight{justify-self:start}.mission-brief .ops-fields{margin:0}.mission-brief .ops-fields label{min-width:0}
.mission-transfer-guide{margin:0 0 12px}.mission-transfer-guide li{margin:8px 0;line-height:1.5}
html[data-theme] #ops-form>.mission-workbench{background:var(--surface);color:var(--text);border-color:var(--stroke)}
.mapping-coverage{padding:12px;background:var(--surface-soft);color:var(--text);border:1px solid var(--stroke);border-radius:8px;margin:12px 0}
.mapping-coverage p{line-height:1.5;margin:12px 0}.mapping-coverage a{color:var(--accent-text);overflow-wrap:anywhere}
.mapping-coverage>summary,.mission-transfer-guide>summary{min-height:36px;align-content:center;font-weight:650}
.mapping-coverage .settings-grid{margin:12px 0}.mapping-coverage .settings-grid label{min-width:0}.mapping-coverage input,.mapping-coverage select{max-width:100%;width:100%}
@media(max-width:640px){.mapping-coverage{padding:12px}.mapping-coverage button{width:100%;min-height:44px}.mapping-coverage>summary,.mission-transfer-guide>summary{min-height:44px}}

/* Source: gnss-visibility.css */
.gnss-widget{--gnss-gps:#2865a2;--gnss-galileo:#8654b5;--gnss-beidou:#a05d0a;min-width:0;color:var(--text,#203444);container-type:inline-size}
.gnss-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.gnss-heading h3{margin:3px 0 0;font-size:1.08rem}.gnss-heading .eyebrow{margin:0;font-size:.72rem}.gnss-tag{font-size:.66rem;letter-spacing:.06em;font-weight:800;padding:5px 8px;border:1px solid currentColor;border-radius:20px;white-space:nowrap}.gnss-tag[data-state=ready]{color:var(--gnss-gps)}
.gnss-metrics{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:12px 0}.gnss-metrics>div:first-child{display:flex;gap:10px;align-items:baseline}.gnss-count{font-size:2.4rem;line-height:1.1;font-variant-numeric:tabular-nums}.gnss-metrics>div>span{font-size:.85rem}.gnss-totals{display:flex;gap:8px;flex-wrap:wrap}.gnss-system{display:inline-flex;align-items:center;gap:5px;font-size:.8rem}.gnss-key{width:8px;height:8px;display:inline-block;border-radius:50%;background:currentColor}.gnss-gps{color:var(--gnss-gps);fill:var(--gnss-gps)}.gnss-galileo{color:var(--gnss-galileo);fill:var(--gnss-galileo)}.gnss-beidou{color:var(--gnss-beidou);fill:var(--gnss-beidou)}
.gnss-notice,.gnss-note,.gnss-source{font-size:.8rem;line-height:1.5;overflow-wrap:anywhere}.gnss-notice{margin:8px 0}.gnss-detail{margin-top:10px}.gnss-detail>summary{font-weight:700;padding:8px 0;cursor:pointer}.gnss-controls{margin-top:12px;display:flex}.gnss-controls label{width:min(100%,480px);display:flex;flex-direction:column;gap:6px;font-size:.82rem}.gnss-controls select{max-width:100%;min-width:0;width:100%;font-size:.84rem}.gnss-layout{display:grid;grid-template-columns:minmax(160px,230px) minmax(0,1fr);gap:24px;align-items:center}.gnss-sky{min-width:0;max-width:230px}.gnss-sky svg{width:100%;display:block}.gnss-horizon{fill:transparent;stroke:currentColor;opacity:.25}.gnss-ring{stroke:currentColor;stroke-width:.7;opacity:.25;fill:none}.gnss-compass{fill:currentColor;font-size:12px;font-weight:700}.gnss-dot{stroke:var(--panel,#fff);stroke-width:1}.gnss-hours{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.gnss-hour{border:1px solid var(--border,#c7d5df);border-radius:10px;padding:12px 6px;text-align:center;min-width:0}.gnss-hour strong,.gnss-hour small{display:block;font-variant-numeric:tabular-nums}.gnss-hour strong{font-size:1.6rem;margin:4px 0}.gnss-hour small{font-size:.73rem}.gnss-outlook h4{font-size:.9rem}.gnss-compact{border-top:1px solid var(--border,#c7d5df);margin-top:14px;padding-top:14px}.gnss-compact .gnss-count{font-size:1.9rem}.gnss-compact .gnss-metrics{gap:8px 16px}.gnss-compact .gnss-notice{font-size:.76rem}
:root[data-theme=dark] .gnss-widget{--gnss-gps:#96c5ff;--gnss-galileo:#d0b0ff;--gnss-beidou:#ffcc80}
@container(max-width:520px){.gnss-layout{grid-template-columns:1fr;gap:4px}.gnss-sky{width:190px;justify-self:center}.gnss-hours{gap:5px}.gnss-hour{padding:10px 3px}.gnss-hour small{font-size:.68rem}}

/* Source: uas.css */
.uas-panel{max-width:1600px;margin:auto;padding:12px}.uas-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.uas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:18px}.uas-card{background:var(--app-card,#fff);color:var(--app-ink,#15354d);border:1px solid var(--app-line,#c6d4de);border-radius:12px;padding:14px}.uas-card header{display:flex;align-items:center;justify-content:space-between;gap:8px}.uas-card h3{margin:8px 0}.uas-video{position:relative;aspect-ratio:16/9;background:#142331;border-radius:8px;overflow:hidden}.uas-video video{width:100%;height:100%;object-fit:contain}.uas-old-frame{display:none;position:absolute;top:8px;left:8px;right:8px;background:#7c292c;color:white;padding:5px 8px;border-radius:4px;font-size:12px;pointer-events:none}.uas-stale .uas-old-frame{display:block}.uas-stale video{opacity:.65}.uas-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.uas-panel button{background:var(--app-soft,#eef4f8);color:inherit;border:1px solid var(--app-line,#a6bbc9);padding:9px 12px;border-radius:7px;cursor:pointer}.uas-panel button:disabled{opacity:.45;cursor:default}.uas-panel small{font-size:12px}.uas-panel [data-uas-status]{padding:12px;background:var(--app-bluewash,#e9f0f6)}.uas-panel video:fullscreen{background:#000;opacity:1}.uas-panel details{margin-top:18px}

.uas-source-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:20px 0}.uas-panel .uas-source{display:flex;flex-direction:column;gap:6px;text-align:left;min-height:78px;background:#fff;border:2px solid #c6d4de;padding:14px}.uas-source span{font-size:13px;color:#526f82}.uas-source span:before{content:'●';margin-right:6px;color:#7b8790}.uas-source.is-live span:before{color:#16844b}.uas-panel .uas-source[aria-pressed=true]{border-color:#185e85;background:#eaf3fa}.uas-source strong{font-size:16px}.uas-panel [data-uas-start]{background:#185e85;color:white;font-weight:700}.uas-old-frame{right:auto;max-width:75%;font-size:11px}.uas-panel .flow-disclosure{margin-top:0}

.drone-setup-link{display:inline-block;margin:.5rem 0;color:var(--accent,#82d4f7);text-decoration:underline}

.receiver-stats{display:grid;grid-template-columns:minmax(130px,1fr) minmax(100px,1fr);gap:5px 14px;font-size:12px;overflow-wrap:anywhere}.receiver-stats dt{font-weight:600}.receiver-stats dd{margin:0;text-align:right}

.uas-playback-state{display:flex;flex-direction:column;gap:4px}.uas-playback-state small{color:var(--app-muted,#526575)}.uas-card [data-uas-go-live]{font-weight:700}.uas-card [data-uas-playback]{max-width:100%;margin:8px 0 8px 8px}

.uas-playback-control{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;font-weight:600}.uas-card .uas-playback-control [data-uas-playback]{flex:1;min-width:150px;margin:0}
.uas-quick-sharing{display:flex;gap:8px;flex-wrap:wrap;padding:8px 0}.uas-quick-sharing:empty{display:none}.uas-quick-sharing .button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:7px 12px;border:1px solid #bacbd9;border-radius:8px;background:#fff;color:#24445e;text-decoration:none;font-weight:600}

@media(max-width:620px){.uas-grid{grid-template-columns:1fr!important}.uas-grid>.uas-card{grid-column:auto!important}}

.uas-view-slots{margin:12px 0;padding:12px;border:1px solid #bacbd9;border-radius:10px}.uas-view-slots>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.uas-view-slots label{display:flex;flex-direction:column;gap:5px}.uas-card header[draggable]{cursor:grab}.uas-card [data-uas-view-number]{font-size:12px;font-weight:700}
/* v6.44: retain players while fitting the wall to the viewport. */
.uas-wall{grid-column:1/-1;min-width:0;position:relative;scroll-margin-top:8px;background:var(--app-card,#fff);color:var(--app-ink,#15354d)}
.uas-wall-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0;position:relative;z-index:6}
.uas-wall-tools label{display:flex;align-items:center;gap:8px;margin:0;font-weight:600}.uas-wall-tools select{margin:0;min-height:44px;max-width:150px}
.uas-wall-toolbar button[aria-pressed=true]{background:#a8323c;color:white;border-color:#a8323c}.uas-panel .uas-wall-picker{margin:0;margin-left:auto}
.uas-wall-picker>summary,.uas-feed-controls>summary{cursor:pointer;min-height:44px;box-sizing:border-box;padding:11px 12px;border:1px solid var(--app-line,#a6bbc9);border-radius:7px;font-weight:600;font-size:13px}
.uas-wall-picker-body{position:absolute;top:100%;right:0;width:min(680px,calc(100vw - 48px));max-height:65vh;overflow:auto;background:var(--app-card,#fff);color:var(--app-ink,#15354d);padding:12px;border:1px solid var(--app-line,#a6bbc9);border-radius:10px;box-shadow:0 8px 28px #0004}
.uas-wall-message{margin:0 0 8px;padding:8px;background:var(--app-bluewash,#e9f0f6);font-size:13px}.uas-wall-message:empty{display:none}
.uas-feed-toolbar{display:flex;gap:6px;align-items:center;margin:8px 0}.uas-panel .uas-feed-controls{margin-top:0;position:relative}.uas-feed-controls-body{padding:12px 0}
.uas-wall.is-wall{height:calc(100dvh - 24px);display:flex;flex-direction:column;box-sizing:border-box;padding:8px;border:1px solid var(--app-line,#a6bbc9);border-radius:12px}
.uas-wall.is-wall .uas-grid{flex:1;min-height:0;align-items:stretch;grid-template-rows:minmax(0,1fr);gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.uas-wall.is-wall[data-views="1"] .uas-grid{grid-template-columns:minmax(0,1fr)!important}.uas-wall.is-wall[data-views="3"] .uas-grid,.uas-wall.is-wall[data-views="4"] .uas-grid{grid-template-rows:repeat(2,minmax(0,1fr))}
.uas-wall.is-wall .uas-card{position:relative;min-height:0;min-width:0;padding:6px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr) auto auto;gap:4px;border-radius:8px;box-sizing:border-box}.uas-wall.is-wall .uas-card[hidden]{display:none}
.uas-wall.is-wall .uas-card>header{grid-column:1/-1;flex-wrap:nowrap;min-width:0;gap:6px;margin:0;min-height:26px}.uas-wall.is-wall .uas-card h3{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.uas-wall.is-wall .uas-card [data-uas-feed-status]{font-size:10px;padding:2px 4px}.uas-wall.is-wall .uas-card [data-uas-view-number]{font-size:10px;white-space:nowrap}
.uas-wall.is-wall .uas-video{grid-column:1/-1;min-height:0;aspect-ratio:auto;width:100%;height:100%}
.uas-wall.is-wall .uas-playback-state{grid-column:1/-1;margin:0;display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:16px}
.uas-wall.is-wall [data-uas-player-status]{font-size:11px;padding:0;line-height:16px}.uas-wall.is-wall [data-uas-live-position]{display:none}
.uas-wall.is-wall .uas-feed-toolbar{grid-column:1;grid-row:4;margin:0;min-width:0}.uas-wall.is-wall .uas-feed-toolbar button{font-size:12px;padding:6px;min-height:40px;max-width:100%}
.uas-wall.is-wall .uas-feed-controls{grid-column:2;grid-row:4;position:static;margin:0;padding:0;border:0}.uas-wall.is-wall .uas-feed-controls>summary{min-height:40px;padding:9px;font-size:12px}
.uas-wall.is-wall .uas-feed-controls-body{position:absolute;z-index:5;left:6px;right:6px;bottom:50px;max-height:calc(100% - 86px);overflow:auto;padding:12px;background:var(--app-card,#fff);color:var(--app-ink,#15354d);border:1px solid var(--app-line,#a6bbc9);border-radius:8px;box-shadow:0 4px 20px #0005}
.uas-wall:fullscreen{height:100dvh;width:100vw;max-width:none;border:0;border-radius:0;padding:8px;background:var(--app-card,#fff)}.uas-wall:fullscreen::backdrop{background:#142331}
@media(max-width:620px){.uas-wall.is-wall .uas-card>header{flex-wrap:wrap;gap:2px 5px}.uas-wall.is-wall .uas-card [data-uas-feed-status]{padding:0 3px}.uas-wall.is-wall .uas-feed-toolbar button{font-size:10px;padding:4px}.uas-wall.is-wall .uas-feed-controls>summary{padding:10px 5px;font-size:11px}.uas-wall-toolbar{gap:5px}.uas-wall-toolbar button{padding:9px 8px}.uas-wall-tools label{font-size:0}.uas-wall-tools select{font-size:12px;width:105px}.uas-wall-picker>summary{font-size:12px;padding:12px 8px}}

/* Shared overlay styling for both root and drone viewers. */
.video-overlay-layer{position:absolute;inset:0;pointer-events:none;z-index:2}.video-overlay-labels{position:absolute;left:12px;bottom:50px;max-width:85%;padding:7px 10px;background:#000b;color:white;font-size:clamp(11px,1.2vw,16px);border-radius:5px;line-height:1.4;overflow-wrap:anywhere}.video-overlay-clock{position:absolute;right:10px;top:48px;padding:5px 8px;background:#000b;color:white;font-size:11px;border-radius:4px}.video-overlay-grid{position:absolute;inset:0;background:linear-gradient(to right,transparent 33.15%,#ffffff85 33.3%,transparent 33.45%,transparent 66.5%,#ffffff85 66.65%,transparent 66.8%),linear-gradient(to bottom,transparent 33.15%,#ffffff85 33.3%,transparent 33.45%,transparent 66.5%,#ffffff85 66.65%,transparent 66.8%)}.video-overlay-reticle{position:absolute;left:50%;top:50%;width:32px;height:32px;transform:translate(-50%,-50%)}.video-overlay-reticle:before,.video-overlay-reticle:after{content:"";position:absolute;background:white;box-shadow:0 0 2px black}.video-overlay-reticle:before{height:1px;width:32px;left:0;top:16px}.video-overlay-reticle:after{height:32px;width:1px;left:16px;top:0}.overlay-toggles{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.overlay-toggles label{font-size:13px}.overlay-toggles input{display:inline-block!important;width:auto!important;min-height:0;margin-right:4px}.overlay-form{margin-top:16px}.overlay-form [data-save-status]{flex-basis:100%;font-size:13px}

.sensitive-badge{position:absolute;top:6px;right:6px;font:600 10px/1.2 sans-serif;letter-spacing:.05em;color:#fff;background:rgba(130,28,28,.62);padding:3px 5px;border-radius:3px;pointer-events:none}.guest-watermark{position:absolute;bottom:7px;right:7px;font:10px/1.2 sans-serif;color:rgba(255,255,255,.85);text-shadow:0 1px 2px #000;pointer-events:none}.sensitive-action{border:2px solid #ad3131;color:#ad3131;font-weight:700}.sensitive-action.active{background:#ad3131;color:white}
/* Short controller/landscape screens keep controls on a single tile header. */
.uas-wall.is-wall{height:calc(100vh - 24px);height:calc(100dvh - 24px)}
.uas-wall:fullscreen{height:100vh;height:100dvh;overflow:auto}
.uas-wall-picker-body:focus-within,.uas-feed-controls-body:focus-within{outline-offset:2px}
@media(max-height:560px){
 .uas-wall.is-wall{padding:4px}
 .uas-wall.is-wall .uas-grid{gap:4px}
 .uas-wall.is-wall .uas-card{padding:4px;gap:3px;grid-template-columns:minmax(0,1fr);grid-template-rows:32px minmax(0,1fr)}
 .uas-wall.is-wall .uas-card>header{grid-column:1;grid-row:1;padding-right:113px;flex-wrap:nowrap;min-height:32px;gap:4px}
 .uas-wall.is-wall .uas-card h3{font-size:12px}
 .uas-wall.is-wall [data-uas-view-number]{display:none}
 .uas-wall.is-wall .uas-video{grid-row:2;grid-column:1}
 .uas-wall.is-wall .uas-playback-state{display:none}
 .uas-wall.is-wall .uas-feed-toolbar{position:absolute;right:72px;top:4px;margin:0;display:block}
 .uas-wall.is-wall .uas-feed-toolbar button{width:38px;min-height:32px;height:32px;font-size:0;padding:3px}
 .uas-wall.is-wall .uas-feed-toolbar button::after{content:'PiP';font-size:11px}
 .uas-wall.is-wall .uas-feed-controls{grid-row:1;grid-column:1;height:0}
 .uas-wall.is-wall .uas-feed-controls>summary{position:absolute;right:4px;top:4px;min-height:32px;height:32px;padding:7px 5px;font-size:11px}
 .uas-wall.is-wall .uas-feed-controls-body{position:fixed;z-index:20;left:8px;right:8px;bottom:12px;width:auto;max-width:680px;margin-inline:auto;max-height:calc(100vh - 80px);max-height:calc(100dvh - 80px);padding:12px 12px 20px}
 .uas-wall.is-wall .uas-feed-controls[open]>summary{background:var(--app-bluewash,#e9f0f6)}
 .uas-wall.is-wall .uas-old-frame{max-width:calc(100% - 16px);padding:3px 5px}
 .uas-wall-toolbar{padding:4px 0;gap:5px}
}

.uas-controls-heading{position:sticky;top:-12px;z-index:2;display:flex;justify-content:flex-end;padding:4px 0;background:var(--app-card,#fff);border-bottom:1px solid var(--app-line,#a6bbc9)}

.uas-pip-short{display:none}
.uas-card[data-sensitive="1"] .uas-old-frame{top:34px}
@media(max-height:560px){.uas-wall.is-wall .uas-feed-toolbar button{font-size:12px}.uas-wall.is-wall .uas-feed-toolbar button::after{content:none}.uas-wall.is-wall .uas-pip-label{display:none}.uas-wall.is-wall .uas-pip-short{display:inline}}
@media(max-height:560px){.uas-wall.is-wall .uas-feed-toolbar{right:84px}.uas-wall.is-wall .uas-card>header{padding-right:125px}}

/* Source: management.css */
/* Program tables and procedure drawers */
.sidebar{background:#f5f7fa;color:#334155;border-right:1px solid #dce3ec;padding:20px 14px;width:244px;overflow-y:auto}.program-brand,.sidebar nav a{color:#334155}.sidebar nav a{padding:9px 12px;font-size:13px;border-radius:5px}.sidebar nav a[aria-current=page]{background:#e1edff;color:#116ce5;border-left:3px solid #116ce5}.nav-label{font-size:10px;letter-spacing:.12em;color:#8290a3;margin:20px 12px 6px}.sidebar-bottom{margin-top:20px}.program-main{margin-left:244px}.workspace-header{background:#fff;border-bottom:1px solid #e0e6ee}.program-main main{max-width:none}.records-table{width:100%;border-collapse:collapse;font-size:13px}.records-table th{background:#f6f8fb;text-align:left;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.records-table td,.records-table th{padding:16px;border-bottom:1px solid #e8edf3;vertical-align:middle}.records-table button{background:transparent;border:0;color:#246bd1;padding:0;text-align:left}.records-table tr:hover td{background:#f8fbff}.record-status{text-transform:capitalize}.table-tools,.table-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0}.table-tools select{width:auto;max-width:240px}.table-footer{font-size:12px;color:#64748b}.table-footer span{margin-right:auto}.records-empty{text-align:center;padding:64px 20px;color:#64748b}.column-picker{position:relative;padding:8px;border:1px solid #dce3ec;border-radius:5px}.column-picker[open]{background:white}.column-picker label{display:flex;gap:8px}.column-picker input{width:auto}[data-density=compact] td{padding:8px 16px}#ops-editor:not([hidden]){position:fixed;inset:0 0 0 auto;width:min(700px,96vw);z-index:600;overflow:auto;margin:0;border:0;border-left:1px solid #cbd5e1;border-radius:0;box-shadow:-14px 0 50px #112d4533;padding:28px;background:#fff}#ops-editor h3{font-size:22px}.procedure-item{border:1px solid #e1e7ef;background:#f8fafc;border-radius:6px;padding:12px;margin:10px 0}.procedure-item input[type=checkbox],#procedure-answers input[type=checkbox],#ops-form input[type=checkbox]{width:auto}#procedure-answers label{display:block;padding:12px;border-bottom:1px solid #e7edf5}#procedure-answers small{display:block;color:#64748b;margin-top:6px}.sidebar-bottom .video-link{background:#116ce5;color:white}.sidebar-bottom p{color:#64748b}@media(max-width:850px){.sidebar{width:100%;position:relative;max-height:none}.sidebar nav{display:flex;flex-wrap:wrap}.sidebar .nav-label{width:100%}.program-main{margin-left:0}.records-table td,.records-table th{padding:10px}.table-scroll{overflow:auto}}@media print{.sidebar,.workspace-header,.table-tools{display:none}.program-main{margin:0}#ops-editor:not([hidden]){position:static;width:100%;box-shadow:none}}

#ops-editor>.section-title{position:sticky;top:-28px;background:white;padding:12px 0;z-index:1;border-bottom:1px solid #e3eaf0}#ops-drawer-close{margin-left:auto}#ops-create-type{max-width:260px}.records-table td:nth-child(1){font-weight:600}.records-table td:last-child{text-align:right}
.nav-group{border-bottom:1px solid #e2e8f0;margin:4px 0}.nav-group>summary{font-size:12px;letter-spacing:.03em;color:#40546b;padding:13px 8px}.nav-group-links{padding:0 0 10px 9px}.sidebar .nav-group-links a{display:block;padding:8px 12px;margin:1px 0;border:1px solid transparent}.sidebar .nav-group-links a[aria-current=page]{font-weight:700;background:#e1edff;color:#116ce5}.record-context{border:1px solid #d9e5f5;border-radius:8px;background:#f6faff;padding:16px;margin:16px 0}.record-context p{white-space:pre-wrap;font-size:12px}.record-context small{display:block}.map-layer-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px}.map-layer-controls label{margin:0;display:flex;align-items:center;gap:6px}.map-layer-controls input{width:auto;min-height:0;margin:0}.airspace-cell-label{background:#fffffff2;border:0;box-shadow:none;font-size:11px;font-weight:600;padding:1px 3px;pointer-events:none;white-space:nowrap}.airspace-cell-label:before{display:none}#map-layer-status{font-size:12px;padding:0 16px}#map-airspace-summary strong{display:block;font-size:19px;margin:8px 0}.sidebar{z-index:500}.nav-group-links a{font-size:13px}#ops-create-actions{display:flex;gap:8px}

/* Source: workspace-ui.css */
/* SLFD-specific presentation; locally bundled, no UI framework or remote fonts. */
:root{--muted:#526579;--line:#dce4ec;--blue:#a8323c;--blue-dark:#862630;--blue-soft:#fcf0f1;--radius:14px}
body{background:#edf2f5}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:3px solid #1769aa;outline-offset:3px}
.sidebar :focus-visible{outline-color:#b7dcfa}
button,.button{min-height:42px;border-color:#bbcbd9;border-radius:7px;gap:8px}
button:disabled{cursor:not-allowed}
input,select,textarea{border-color:#aebfce;min-height:42px}
input::placeholder,textarea::placeholder{color:#637688}
input:focus,select:focus,textarea:focus{border-color:#1267b3}
input:user-invalid,textarea:user-invalid,select:user-invalid,[aria-invalid=true]{border-color:#ad3541}
input:disabled,select:disabled,textarea:disabled{background:#f1f4f8;color:#526579}
.ui-icon{width:19px;height:19px;flex:0 0 19px;vertical-align:middle;pointer-events:none}
.sidebar{width:248px;padding:22px 14px;background:linear-gradient(165deg,#34424f,#222c35);color:#e4ebf0;overflow-y:auto;overscroll-behavior:contain;border:1px solid #667480;border-radius:20px;inset:10px auto 10px 10px}
.program-main{margin-left:268px;min-width:0}
.program-brand{padding:0 9px 22px;gap:11px}
.program-brand,.program-brand small,.sidebar .program-brand{color:#e4ebf0}
.brand-mark{background:#a8323c;border:1px solid #cf7c83;border-radius:11px}
.sidebar nav{display:block;overflow:visible;white-space:normal}
.nav-group{border:0;margin:4px 0 8px}
.nav-group>summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px;border-radius:9px;color:#d5e0e8;font-size:12px;letter-spacing:.02em;list-style:none}
.nav-group>summary::-webkit-details-marker{display:none}
.nav-group>summary:after{content:'›';margin-left:auto;font-size:20px;line-height:1;transform:rotate(0deg)}
.nav-group[open]>summary:after{transform:rotate(90deg)}
.nav-group>summary:hover{background:#ffffff0e}
.nav-group-links{padding:4px 0 4px 12px;margin-left:18px;border-left:1px solid #ffffff24}
.sidebar .nav-group-links a{font-size:13px;min-height:38px;line-height:1.4;padding:9px 10px;border:1px solid transparent;border-radius:8px;overflow-wrap:anywhere;color:#d5e0e8}
.sidebar .nav-group-links a:hover{background:#ffffff0e;text-decoration:none;color:#fff}
.sidebar .nav-group-links a[aria-current=page]{background:#87313a;color:#fff;border-color:#b25c65;border-left:3px solid #edb6bc;padding-left:8px}
.sidebar-bottom{margin-top:auto;padding-top:16px;display:block}
.sidebar-bottom p{color:#c4d0d9;font-size:11px}
.sidebar-bottom .video-link{border-radius:9px;background:#ffffff12;border:1px solid #ffffff30;min-height:42px;gap:6px;color:#fff}
.sidebar-bottom .video-link:hover{background:#214f72}
.workspace-header{height:auto;min-height:90px;padding:17px 28px;gap:18px}
.workspace-heading{min-width:0;flex:1}.workspace-heading h1{font-size:24px;overflow-wrap:anywhere}
.breadcrumb{color:#526579;font-size:11px}
.workspace-header .account{gap:10px}.account #identity{font-size:12px;max-width:250px;color:#40566d}
.account button{min-height:38px;font-size:12px}
#workspace-find{font-size:12px;color:#40566d;white-space:nowrap}
#workspace-menu,#workspace-menu-close{display:none}
#workspace-nav-backdrop{position:fixed;inset:0;background:#10283c80;border:0;border-radius:0;z-index:1900}
#content{padding:25px 28px;max-width:1720px}
.card{padding:22px;border-radius:16px;border-color:#fff;box-shadow:0 7px 22px #23374709}
.welcome{padding-bottom:22px}.welcome h2{font-size:29px}
.metric{min-height:112px;padding:18px 20px;border-radius:10px}.metric>span{color:#526579;font-size:12px}.metric small{font-size:11px;color:#526579}
.eyebrow{font-size:11px;letter-spacing:1.1px}
.section-title{flex-wrap:wrap}.section-title h2{font-size:24px}
.table-tools{gap:8px;padding:12px 0;margin:0;border-top:1px solid var(--line)}
.table-tools select{max-width:220px;min-width:135px}.table-tools button{font-size:12px;padding:8px 11px}
.column-picker{padding:0;border-color:#bbcbd9;min-height:42px;z-index:2}
.column-picker>summary{padding:10px 12px;font-size:12px}.column-picker[open]{box-shadow:0 5px 18px #173c5915}.column-picker label{padding:4px 10px;margin:0;align-items:center;font-size:12px}
.table-scroll{overflow:auto;max-height:65vh;max-height:65dvh;border:1px solid var(--line);border-radius:8px;scroll-padding-top:56px}
.records-table{border-collapse:separate;border-spacing:0;min-width:620px}
.records-table th{position:sticky;top:0;z-index:1;background:#f3f6fa;color:#40566d;font-size:12px;text-transform:none;letter-spacing:0}
.records-table td,.records-table th{padding:10px 14px;border-bottom:1px solid #e2e9f0}
.records-table th button{font-size:12px;min-height:38px;color:#40566d}
.records-table td button{min-height:38px;color:#125a9c;max-width:100%;overflow-wrap:anywhere;white-space:normal;justify-content:flex-start}
.records-table .record-title{min-width:175px;max-width:320px}.records-table .record-detail{max-width:420px;overflow-wrap:anywhere;font-weight:400}
.records-table .record-date{font-variant-numeric:tabular-nums;font-size:12px;min-width:145px;white-space:normal}
.records-table tr:last-child td{border-bottom:0}
.record-status-badge{display:inline-flex;align-items:center;gap:6px;border-radius:5px;padding:4px 8px;font-size:12px;line-height:1.4;font-weight:600;background:#edf1f6;color:#40566d;white-space:nowrap}
.record-status-badge:before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%;flex-shrink:0}
.record-status-badge[data-tone=good]{color:#21634b;background:#eaf5ef}.record-status-badge[data-tone=attention]{color:#80540e;background:#fff4dd}.record-status-badge[data-tone=critical]{color:#9c2c3a;background:#fcecef}.record-status-badge[data-tone=info]{color:#125a9c;background:#eaf3fc}
.table-footer{font-size:12px;margin-bottom:0}.table-footer button{min-height:38px}
[data-density=compact] .records-table td{padding:5px 14px}[data-density=compact] .records-table td button{min-height:30px}
.records-empty{padding:35px 18px}
#ops-editor:not([hidden]){padding:22px;width:min(740px,100vw)}
#ops-editor>.section-title{top:-22px;padding:14px 0;gap:8px;z-index:3;background:white}
#ops-editor-title{margin:0;flex:1;font-size:20px!important}#ops-version{flex-basis:100%;order:3;font-size:12px}
#ops-editor-message:empty{display:none}#ops-editor-message:not(:empty){padding:11px 13px;background:#edf5fc;color:#234d72;border:1px solid #c4dcf2;border-radius:7px;overflow-wrap:anywhere;font-size:13px}
#ops-form>.ops-fields{gap:4px 18px}#ops-form label{font-size:13px;color:#334f67}
#ops-form>.record-context{padding:14px;border-color:#c9daea;background:#f5f9fd}
#ops-form>.record-actions{position:sticky;bottom:-22px;z-index:2;display:flex;gap:8px;align-items:center;padding:14px 0 18px;margin:18px 0 0;background:white;border-top:1px solid var(--line);box-shadow:0 -10px 12px #ffffffed}
#ops-form>.context-actions{padding:14px 0;border-top:1px solid var(--line)}
#ops-form>.record-actions button:last-child{margin-left:auto}
#planning-map-card .map-layer-controls label{min-height:36px;align-items:center;color:#40566d}#planning-map-card .map-toolbar button{min-height:40px;font-size:12px}
#planning-map-card .map-footer{font-size:11px;color:#526579}
#workspace-finder{width:min(560px,calc(100vw - 24px));max-height:85vh;max-height:85dvh;padding:0;border-radius:12px}
.finder-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 0;gap:12px}.finder-header h2{font-size:19px;margin:0}
.finder-search{padding:0 20px;margin:14px 0 0}.finder-search input{font-size:16px}
#workspace-find-results{overflow:auto;max-height:49vh;padding:8px 12px 14px}
#workspace-find-results a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:10px;border-radius:7px;color:#193044}
#workspace-find-results a:hover,#workspace-find-results a:focus-visible{background:#edf5fc;text-decoration:none}#workspace-find-results a strong{font-size:13px;font-weight:600}#workspace-find-results a small{font-size:11px;text-align:right}
#workspace-find-results a[aria-current=page]{background:#edf5fc}
#workspace-find-status{font-size:12px;padding:8px 20px;margin:0;color:#526579}
@media(max-width:1100px){.workspace-header{flex-wrap:wrap}#workspace-find{order:3}.workspace-header .account{margin-left:auto}.metric{padding:16px}}
@media(max-width:850px){
 .sidebar{position:relative;inset:auto;width:100%;padding:16px;border-radius:0}.program-main{margin-left:0}
 .workspace-ui-ready #workspace-sidebar{position:fixed;inset:0 auto 0 0;width:min(320px,calc(100vw - 40px));height:100vh;height:100dvh;z-index:2000;box-shadow:10px 0 35px #173c5920;display:flex;overflow:auto}
 .workspace-ui-ready #workspace-menu{display:inline-flex;min-height:44px}.workspace-ui-ready #workspace-menu-close{display:inline-flex;align-self:flex-end;min-height:44px;margin-bottom:12px}
 body.workspace-nav-open{overflow:hidden}
 .sidebar nav{display:block}.sidebar-bottom{display:block}.sidebar .nav-group-links a{min-height:44px}
 .workspace-header{padding:14px 18px;gap:12px}.workspace-heading h1{font-size:22px}.workspace-header .account{flex-direction:row;align-items:center;flex-basis:100%;justify-content:space-between;padding-top:10px;border-top:1px solid var(--line)}
 .account #identity{max-width:none;font-size:12px;text-align:left}.account button{min-height:44px;font-size:12px}.account-dot{display:none}
 #workspace-find{order:0;min-height:44px}#workspace-find .finder-shortcut{display:none}
 #content{padding:20px 16px}.card{padding:18px}.section-title>.button,.section-title>button{font-size:12px;min-height:44px}
 .table-tools select{flex:1;max-width:none}.table-tools button{min-height:44px}.column-picker>summary{min-height:44px}
 .records-table td button,.records-table th button,.table-footer button{min-height:44px}[data-density=compact] .records-table td button{min-height:44px}
 #ops-editor:not([hidden]){padding:18px}#ops-editor>.section-title{top:-18px}#ops-form>.record-actions{bottom:-18px;padding-bottom:14px;gap:7px}
 #ops-form>.record-actions button{font-size:12px;padding:9px 11px;min-height:44px}#ops-drawer-close{min-height:44px}
 #planning-map-card .map-layer-controls label{min-height:40px}#planning-map-card .map-toolbar button{min-height:44px}
}
@media(max-width:420px){#workspace-menu{padding:9px}#workspace-menu .menu-label{display:none}.workspace-heading h1{font-size:20px}#workspace-find{font-size:11px;padding:9px}.finder-header{padding:14px 16px 0}#workspace-find-results a{align-items:flex-start;flex-direction:column;gap:3px}}
@media print{#workspace-menu,#workspace-find,#workspace-nav-backdrop,#workspace-finder{display:none!important}.program-main{margin:0}.table-scroll{overflow:visible;max-height:none}.records-table{min-width:0}#ops-form>.record-actions{position:static;box-shadow:none}}

.department-logo{width:48px;height:48px;object-fit:contain;flex-shrink:0}.program-brand .department-logo{width:46px;height:46px}

/* Source: flight-checks.css */
.records-table td:last-child button[data-flight-check-row]{display:inline-flex;font-size:12px;min-height:38px;margin-left:12px}
#flight-check-dialog{width:min(720px,calc(100vw - 16px));max-height:92vh;max-height:92dvh;overflow:auto;padding:0 22px;border-radius:14px;background:#fff;color:#233340;overscroll-behavior:contain}
#flight-check-dialog::backdrop{background:#142d4299}
.flight-check-header{position:sticky;top:0;background:#fff;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #dce4ec}.flight-check-header h2{font-size:23px;margin:0}.flight-check-header button{min-height:44px}
#flight-check-dialog>label{font-size:13px;margin:14px 0}#flight-check-dialog input,#flight-check-dialog select,#flight-check-dialog textarea{font-size:16px}#flight-check-dialog input[type=search]{min-height:44px}
#flight-check-status:empty{display:none}#flight-check-status:not(:empty){padding:12px;background:#edf5fc;border:1px solid #c5d9eb;border-radius:8px;font-size:13px;line-height:1.5;margin:14px 0;overflow-wrap:anywhere}
#flight-check-context{font-weight:600;font-size:13px;padding:10px 12px;background:#f2f5f8;border-radius:8px;overflow-wrap:anywhere}
.flight-check-selectors{display:grid;grid-template-columns:1fr 1fr;gap:12px}.flight-check-selectors label{min-width:0;font-size:12px}
#flight-check-log-state{font-size:12px;color:#526579;margin:0 0 10px}#flight-check-progress{font-size:13px;font-weight:700;margin:12px 0;color:#334f67}
#flight-check-answers{padding:0;border:0;margin:0 0 18px;min-width:0}#flight-check-answers:empty{display:none}#flight-check-answers legend{font-size:14px;font-weight:700;padding:0 0 12px;overflow-wrap:anywhere}
#flight-check-answers label{display:flex;align-items:flex-start;gap:13px;margin:0 0 8px;padding:14px;border:1px solid #c8d5e1;border-radius:9px;min-height:56px;cursor:pointer;font-size:14px;font-weight:400}
#flight-check-answers input[type=checkbox]{width:23px;height:23px;min-height:23px;margin:0;flex:0 0 23px;accent-color:#a8323c}
#flight-check-answers label strong{display:block;font-size:14px;line-height:1.5;font-weight:600}#flight-check-answers label small{display:block;font-size:12px;margin-top:5px;color:#526579;font-weight:400}#flight-check-answers label:has(input:checked){background:#f0f7f3;border-color:#9bbdaa}
.flight-check-links{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.flight-check-links button{font-size:12px;min-height:44px}
.flight-check-footer{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 0;background:#fff;border-top:1px solid #dce4ec;box-shadow:0 -8px 14px #ffffffed}.flight-check-footer button{min-height:48px;font-size:13px}
.login-card>.department-logo{display:block;width:64px;height:64px;object-fit:contain;margin:0 0 18px}
.flight-procedure-actions{padding:0 0 14px;margin:0 0 16px;border-bottom:1px solid #dce4ec}
@media(max-width:600px){.flight-check-selectors{grid-template-columns:1fr;gap:0}#flight-check-dialog{padding:0 14px}.flight-check-header h2{font-size:21px}.flight-check-footer button{flex:1}#flight-check-answers label{padding:13px;gap:11px}.records-table td:last-child button[data-flight-check-row]{min-height:44px}}

.preflight-site{margin:18px 0;padding:16px;border:1px solid #ccd4df;border-radius:12px;background:#f8fafc}
.preflight-site h3{margin-top:0}.preflight-site p{line-height:1.5}
#preflight-map{height:290px;min-height:240px;border-radius:8px;background:#dbe2e8;border:1px solid #a7b4c4;isolation:isolate}
.preflight-coordinates{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin:12px 0}
.preflight-coordinates input{min-width:0}.preflight-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.preflight-facts>div{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #d9e0e8;border-radius:8px;padding:12px;overflow-wrap:anywhere}.preflight-facts strong{font-size:.78rem;color:#526175}.preflight-facts span{font-size:.9rem}
#preflight-summary small{display:block;line-height:1.5;margin:8px 0}#flight-check-answers h3{font-size:1rem;margin:20px 0 8px;border-bottom:1px solid #cbd5e1;padding-bottom:8px}
#preflight-site[hidden]{display:none}#preflight-summary .metar{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:580px){.preflight-site{padding:10px}.preflight-coordinates{grid-template-columns:1fr 1fr}.preflight-coordinates button{grid-column:1/-1}.preflight-facts{grid-template-columns:1fr}#preflight-map{height:260px}}

.overview-flight-card{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border:1px solid #d1dbe4;border-left:5px solid #a8323c;border-radius:12px;padding:22px;margin:0 0 24px;box-shadow:0 5px 18px #23374707}.overview-flight-card h3{font-size:23px;margin:0 0 8px}.overview-flight-card p{margin:0;max-width:550px}.overview-flight-card .eyebrow{margin-bottom:8px}.overview-flight-actions{display:flex;flex-direction:column;gap:9px;min-width:225px}.overview-flight-actions button{min-height:48px}.overview-flight-actions a{text-align:center;font-size:12px;padding:6px}
.flight-check-mode{display:flex;gap:8px;margin:16px 0}.flight-check-mode button{min-height:44px}.flight-check-mode button[aria-pressed=true]{background:#fcf0f1;border-color:#a8323c;color:#8e2c36}
#flight-check-details{border:1px solid #d1dbe4;border-radius:10px;padding:0 14px;margin:16px 0}#flight-check-details>summary{min-height:48px}.quick-flight-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}.quick-flight-fields label{min-width:0}.quick-flight-fields p{grid-column:1/-1}#flight-check-history{border-top:1px solid #dce4ec;margin:8px 0}.preflight-brief{background:#fff;border:1px solid #d7e1ea;border-radius:8px;padding:12px;font-size:13px;line-height:1.6}.coordinate-entry{margin:10px 0}.coordinate-entry summary,#preflight-conditions>summary{min-height:44px;font-size:13px}.inspection-heading{margin:22px 0 4px;font-size:17px}.inspection-item{border:1px solid #c8d5e1;border-radius:9px;margin-bottom:8px;overflow:hidden}#flight-check-answers .inspection-item label{border:0;margin:0;padding:12px;min-height:48px}.inspection-item>details{padding:0 12px 6px 48px}.inspection-item summary{font-size:12px;padding:5px 0;color:#526579}.inspection-item p{font-size:12px;line-height:1.5;margin:5px 0}.preflight-site{padding:14px}#preflight-map{height:310px}#flight-check-notes-panel{margin-bottom:15px}
@media(max-width:700px){.overview-flight-card{align-items:stretch;flex-direction:column;gap:18px;padding:18px}.overview-flight-actions{min-width:0}.overview-flight-actions button{width:100%}.quick-flight-fields{grid-template-columns:1fr}#preflight-map{height:280px}}

/* Source: flight-guide.css */
#flight-check-dialog.guided-flight{width:min(920px,calc(100vw - 24px));max-height:94dvh;padding:0 22px}
#flight-check-dialog.guided-flight> :not(.flight-check-header):not(#flight-check-status):not(#flight-guide-shell){display:none!important}
#flight-guide-shell [hidden]{display:none!important}
#guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;list-style:none;margin:12px 0 22px}
#guide-steps li{min-width:0}#guide-steps button{width:100%;text-align:left;min-height:44px;font-size:12px;line-height:1.4;padding:10px;border:1px solid #c7d3df;background:#f4f7fa;color:#23425a;border-radius:8px}
#guide-steps button[aria-current=step]{background:#173b53;border-color:#173b53;color:#fff;font-weight:700}#guide-steps button:disabled{opacity:.65}
#guide-heading{font-size:24px;margin-bottom:8px}#guide-help{color:#4c6274;line-height:1.6}#flight-guide-shell h4{font-size:17px;margin:22px 0 10px}
#flight-guide-shell label{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:14px}#flight-guide-shell input,#flight-guide-shell select,#flight-guide-shell textarea{width:100%;min-width:0;font-size:16px;min-height:44px}
#flight-guide-shell .guide-confirm{display:flex;flex-direction:row;align-items:flex-start;gap:12px;background:#eef4fa;border:1px solid #bdcedf;border-radius:10px;padding:16px;line-height:1.5}#flight-guide-shell .guide-confirm input{width:24px;min-height:24px;flex:0 0 24px;margin:0;accent-color:#9f2937}
#flight-guide-shell p,#flight-guide-shell li{line-height:1.6;overflow-wrap:anywhere}.guide-instructions{padding-left:22px}.guide-instructions li{padding:4px 0}
.guide-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.guide-actions button,.guide-actions .button{min-height:44px}.guide-footer{display:flex;gap:10px;flex-wrap:wrap;position:sticky;bottom:0;background:#fff;border-top:1px solid #ccd6e0;padding:16px 0;z-index:4;margin-top:20px;box-shadow:0 -10px 20px #ffffffeb}.guide-footer .primary{margin-left:auto}
#guide-dependencies{background:#f7f8fa;border:1px solid #ccd6df;border-radius:10px;margin:18px 0;padding:0 16px 10px}#guide-dependencies ul{padding-left:20px}#guide-dependencies button{text-align:left;border:0;background:transparent;color:#254d6a;text-decoration:underline;min-height:44px;padding:8px 0;white-space:normal}
#guide-risk:not(:empty),#guide-approval:not(:empty){padding:0 14px 14px;border:1px solid #bacddd;background:#f4f8fc;border-radius:10px;margin:18px 0}
#guide-risk label small{display:block;color:#52667a}#guide-preflight #flight-check-history,#guide-postflight #flight-check-history{margin:12px 0}
.guide-feed{border:1px solid #c8d5df;padding:14px;border-radius:10px;margin:12px 0;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.guide-feed strong,.guide-feed p{flex-basis:100%;margin:0}.guide-feed button{min-height:44px;margin-left:auto}
#flight-guide-drafts{display:grid;gap:10px}#flight-guide-drafts button{text-align:left;white-space:normal;min-height:48px}#guide-completed{padding:20px 0}#guide-completed button{margin:8px 8px 8px 0}
@media(max-width:600px){#flight-check-dialog.guided-flight{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:0 14px}#guide-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}#guide-heading{font-size:22px}.guide-footer button{flex:1;min-height:48px}.guide-footer .primary{flex-basis:100%;margin:0}.guide-actions>*{flex:1;text-align:center}.guide-feed button{margin-left:0}#guide-dependencies{padding:0 10px 8px}}
/* Keep inspection and contact checkboxes beside their labels inside the guide. */
#flight-guide-shell #flight-check-answers label{flex-direction:row;margin:0 0 8px}
#flight-guide-shell .contact-picker label,#flight-guide-shell .contact-policy{flex-direction:row;align-items:flex-start}
#flight-guide-shell .contact-picker input,#flight-guide-shell .contact-policy input{width:24px;min-height:24px;flex:0 0 24px;margin:0}

/* Field layout: clear hierarchy and large individually confirmed controls. */
#guide-launch-point #preflight-map{height:42dvh;min-height:260px;max-height:480px}
#flight-guide-shell .guide-risk-factor{border:1px solid #d3dae2;border-radius:10px;margin:14px 0;padding:14px;background:#fff}
#flight-guide-shell .guide-risk-factor legend{font-weight:700;padding:0 6px}
#flight-guide-shell .guide-risk-factor label{display:flex;flex-direction:row;align-items:center;gap:14px;min-height:52px;padding:10px;border:1px solid #e0e5eb;border-radius:8px;background:#fafbfc}
#flight-guide-shell .guide-risk-factor label:has(input:checked){border-color:#a31b31;background:#fff3f4}
#flight-guide-shell .guide-risk-factor input[type=radio]{flex:0 0 25px;width:25px;min-height:25px;accent-color:#a31b31}
#guide-preflight #flight-check-answers label{min-height:64px;padding:14px;background:#fff;border:1px solid #d4dce4;border-radius:10px;gap:14px;align-items:flex-start}
#guide-preflight #flight-check-answers input[type=checkbox]{width:28px;min-height:28px;flex:0 0 28px;accent-color:#a31b31}
.guide-method-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.guide-method-cards article{padding:14px;border:1px solid #d4dce4;border-radius:10px;background:#fff}
#guide-weather{border:1px solid #c8d2de;border-left:5px solid #8b98a6;padding:14px;border-radius:10px;margin:14px 0;background:#fff}
#guide-weather.within{border-left-color:#16815c}#guide-weather.exceeded{border-left-color:#b31933}#guide-weather.incomplete{border-left-color:#a76608}
@media(max-width:600px){#flight-check-dialog.guided-flight .flight-check-header{position:sticky;top:0;z-index:8;background:#26313b;color:#fff;padding:12px 14px;margin:0 -14px}#flight-check-dialog.guided-flight .flight-check-header button{background:#fff;color:#26313b}#guide-steps{display:flex;overflow:auto;gap:8px}#guide-steps li{flex:0 0 145px}#guide-steps button{min-height:50px}.guide-footer{padding-bottom:max(12px,env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr}.guide-footer .primary{grid-column:1/-1;width:100%}.guide-method-cards{grid-template-columns:1fr}}

.flight-weather-banner{display:flex;flex-direction:column;gap:6px;padding:22px 24px;margin:14px 0;border-radius:12px;border:2px solid transparent}.flight-weather-banner strong{font-size:clamp(1.6rem,4vw,2.5rem);line-height:1.2}.flight-weather-banner.safe{background:#146c43;color:#fff;border-color:#0f5132}.flight-weather-banner.unsafe{background:#a51c30;color:#fff;border-color:#771225}.flight-weather-banner.unknown{background:#e9edf1;color:#243441;border-color:#6b7785}.flight-weather-banner small{color:inherit}.flight-weather-banner span{font-weight:600}

.flight-weather-banner.caution{background:#fff4d2;color:#493400;border:2px solid #a56a00}.wx-assessment.advisory{border-left:5px solid #a56a00}

/* Four-step workflow. Optional detail is kept out of the main path. */
#guide-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
.flight-flow-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0;list-style:none;margin:20px 0}
.flight-flow-cards li{padding:18px;background:#fff;border:1px solid #d2dbe3;border-radius:12px;display:grid;gap:10px}.flight-flow-cards span{color:#526575;line-height:1.5}
#workspace-flight-list{display:grid;gap:10px}#workspace-flight-list button{text-align:left;white-space:normal;min-height:52px}
#guide-airspace-options{border:1px solid #cbd5df;border-radius:12px;padding:14px;margin:18px 0}#guide-airspace-options legend{font-weight:700;padding:0 6px}
#guide-airspace-options .guide-confirm{margin:8px 0;padding:12px;min-height:52px;background:#fff}#guide-airspace-options .guide-confirm:has(input:checked){border-color:#a31b31;background:#fff2f4}
#flight-guide-shell #guide-time-fields[hidden]{display:none!important}
.guide-plan-review{padding:12px;background:#f1f5f8;border-radius:8px}
@media(max-width:700px){.flight-flow-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#guide-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#guide-steps li{min-width:0}#guide-steps button{font-size:13px}.guide-footer .primary{width:100%}}
.tx-report-fields{margin:18px 0;padding:16px;min-width:0;border:1px solid #c5d2de;border-radius:12px}.tx-report-fields legend{font-weight:700;padding:0 6px}.tx-report-fields fieldset{min-width:0;margin:12px 0}.tx-report-fields [hidden]{display:none!important}

.expense-editor{margin:18px 0;padding:16px;border:1px solid #c5d2de;border-radius:12px}.expense-crew-row{margin:12px 0;min-width:0}.expense-crew-row label:has([type=checkbox]){display:flex;flex-direction:row;align-items:center}.expense-crew-row input[type=checkbox]{width:20px!important;min-height:20px!important;flex:0 0 auto}

/* Source: contact-sharing.css */
.contact-sharing-dialog{width:min(760px,calc(100vw - 24px));max-height:92dvh;border:1px solid #becbd6;border-radius:14px;padding:0 20px 20px}.contact-sharing-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;background:#fff;z-index:2;padding:14px 0;border-bottom:1px solid #d5dee6}.contact-sharing-heading h2{font-size:22px;margin:0}.contact-sharing-heading button{min-height:44px}
.contact-sharing p{line-height:1.6;overflow-wrap:anywhere}.contact-sharing label{display:flex;flex-direction:column;gap:7px;margin:14px 0}.contact-sharing input,.contact-sharing select,.contact-sharing textarea{font-size:16px;width:100%;min-width:0;min-height:44px;box-sizing:border-box}.contact-sharing button{min-height:44px;white-space:normal}.contact-picker{border:1px solid #c5d3df;border-radius:10px;padding:8px 12px}.contact-picker>div{max-height:270px;overflow:auto}.contact-picker label{flex-direction:row;align-items:flex-start;padding:10px;border:1px solid #d6e0e8;border-radius:8px}.contact-picker input{width:24px;min-height:24px;margin:0;flex:0 0 24px}.contact-picker small{display:block;color:#51677b;overflow-wrap:anywhere}.contact-result,.contact-link-row{border:1px solid #cad6e0;border-radius:9px;padding:12px;margin:12px 0}.contact-result textarea{margin:10px 0}.contact-result button,.contact-link-row button{margin:6px 8px 0 0}.contact-recent,[data-management]{margin:18px 0}.contact-sharing [hidden]{display:none!important}.contact-sharing [role=status]:not(:empty){background:#edf4fa;border:1px solid #c2d5e5;border-radius:8px;padding:12px}
@media(max-width:600px){.contact-sharing-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:0 14px 14px}.contact-picker>div{max-height:220px}}

.contact-sharing .contact-policy{flex-direction:row;align-items:flex-start;gap:10px}.contact-sharing .contact-policy input{width:24px;min-height:24px;flex:0 0 24px}
.contact-quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.contact-quick-actions button{flex:1 1 180px;font-weight:650}.contact-quick-help{color:#425e76;font-size:14px}.contact-other-options{margin:12px 0}.contact-result>input{margin:10px 0}.contact-result>details{margin:12px 0}

/* The administrator actions are visible above the live feeds. */
.admin-stream-sharing{border:2px solid #2474a3;border-radius:16px;background:#f2f8fc;color:#16364b;padding:20px;margin:0 0 24px;box-shadow:0 5px 18px #16364b12}.admin-stream-sharing[hidden]{display:none!important}.admin-sharing-heading h2{font-size:26px;margin:4px 0 8px}.admin-sharing-heading>p:last-child{margin:0 0 16px;line-height:1.5}.admin-stream-sharing .contact-sharing>h3,.admin-stream-sharing .contact-sharing>h3+p{display:none}.admin-stream-sharing .contact-quick-actions{margin:8px 0 18px}.admin-stream-sharing .contact-quick-actions button{min-height:52px;font-size:17px}.admin-stream-sharing .contact-picker>div{max-height:180px}.admin-stream-sharing input,.admin-stream-sharing select,.admin-stream-sharing textarea{background:#fff;color:#16364b;border:1px solid #aabfce;border-radius:7px;padding:9px}.admin-stream-sharing .contact-picker input{padding:0}.admin-stream-sharing .contact-sharing>p:empty{display:none}@media(max-width:600px){.admin-stream-sharing{padding:14px}.admin-stream-sharing .contact-quick-actions{gap:8px}.admin-stream-sharing .contact-quick-actions button{flex:1 1 140px}}

.mobile-share-dock{display:none}.mobile-share-dock[hidden]{display:none!important}@media(max-width:700px){body.sharing-admin{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}.mobile-share-dock{position:fixed;z-index:100;bottom:0;left:0;right:0;display:flex;flex-direction:column;gap:7px;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;color:#16364b;border-top:2px solid #2474a3;box-shadow:0 -4px 20px #16364b20}.mobile-share-dock small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.mobile-share-dock>div{display:flex;gap:8px}.mobile-share-dock button{min-height:52px;flex:1;min-width:0;font-size:16px;font-weight:700;border-radius:9px;padding:10px 8px}.mobile-share-dock button:disabled{opacity:.55}}

/* Source: weather-workspace.css */
.wx-workspace{display:grid;gap:16px;color:var(--ink,#26313b)}.wx-toolbar,.wx-tabs,.wx-actions{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.wx-toolbar label{flex:1;min-width:125px}.wx-toolbar input,.wx-toolbar select{width:100%}.wx-tabs{border-bottom:1px solid #d5dce3;padding-bottom:10px}.wx-tabs button{min-height:48px}.wx-tabs button[aria-pressed=true]{background:#a71930;color:#fff;border-color:#a71930}.wx-workspace [hidden]{display:none!important}.wx-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.wx-fact{border:1px solid #d5dce3;border-radius:12px;background:#fff;padding:14px;min-width:0}.wx-fact small{display:block;color:#536171}.wx-fact strong{display:block;font-size:1.35rem;margin:8px 0;overflow-wrap:anywhere}.wx-assessment{padding:16px;border:1px solid #c5ced8;border-left:5px solid #677586;border-radius:12px;background:#fff}.wx-assessment.within{border-left-color:#16815c}.wx-assessment.exceeded{border-left-color:#b31933}.wx-assessment.incomplete{border-left-color:#a76608}.wx-assessment h3{margin:0 0 8px}.wx-sources{font-size:.86rem;color:#536171;overflow-wrap:anywhere}.wx-table-scroll{overflow:auto;max-height:65vh;border:1px solid #d5dce3;border-radius:10px}.wx-table{border-collapse:separate;border-spacing:0;width:100%;background:#fff}.wx-table th,.wx-table td{padding:12px;white-space:nowrap;border-bottom:1px solid #e1e6ec;text-align:left}.wx-table thead th{position:sticky;top:0;z-index:3;background:#26313b;color:white}.wx-table th:first-child,.wx-table td:first-child{position:sticky;left:0;z-index:2;background:#f4f6f9}.wx-table thead th:first-child{z-index:4;background:#26313b}.wx-table tr.wx-exceeded td{border-bottom:2px solid #b31933}.wx-table small{display:block;max-width:280px;white-space:normal}.wx-chart{width:100%;height:170px;background:#fff;border:1px solid #d5dce3;border-radius:10px}.wx-map{height:520px;min-height:320px;border-radius:12px;background:#e7ecf1}.wx-map-card:fullscreen{background:#f3f5f8;overflow:auto;padding:14px}.wx-map-card:fullscreen .wx-map{height:75vh}.wx-radar-state{padding:10px;background:#fff4dc;border-radius:8px;min-height:42px}.wx-radar-legend{display:block;max-width:100%;max-height:150px;object-fit:contain;object-position:left;background:#fff;padding:8px}.wx-time{width:100%;min-height:40px}.wx-config{display:grid;gap:12px}.wx-config .wx-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wx-product{padding:12px 0;border-bottom:1px solid #e0e5eb}.wx-product pre{white-space:pre-wrap;max-height:280px;overflow:auto}.wx-marker{width:18px!important;height:18px!important;border:3px solid white;border-radius:50%;background:#ad1c35;box-shadow:0 0 0 2px #ad1c35}.wx-footer{border-top:1px solid #d5dce3;padding-top:10px}.wx-chart text{fill:#455361;font-size:12px}.wx-data-note{background:#f0f3f6;padding:10px;border-radius:8px}
@media(max-width:900px){.wx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wx-map{height:440px}}@media(max-width:600px){.wx-workspace{gap:12px}.wx-toolbar label{min-width:110px}.wx-tabs{flex-wrap:nowrap;overflow-x:auto;align-items:center}.wx-tabs button{flex:0 0 auto;padding:10px 14px}.wx-fact{padding:12px}.wx-fact strong{font-size:1.15rem}.wx-config .wx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wx-map{height:60vh}.wx-actions button,.wx-actions a{min-height:48px}.wx-table th,.wx-table td{padding:10px}.wx-workspace .card{padding:14px}}

.flight-weather-banner{display:flex;flex-direction:column;gap:6px;padding:22px 24px;margin:14px 0;border-radius:12px;border:2px solid transparent}.flight-weather-banner strong{font-size:clamp(1.6rem,4vw,2.5rem);line-height:1.2}.flight-weather-banner.safe{background:#146c43;color:#fff;border-color:#0f5132}.flight-weather-banner.unsafe{background:#a51c30;color:#fff;border-color:#771225}.flight-weather-banner.unknown{background:#e9edf1;color:#243441;border-color:#6b7785}.flight-weather-banner small{color:inherit}.flight-weather-banner span{font-weight:600}

.flight-weather-banner.caution{background:#fff4d2;color:#493400;border:2px solid #a56a00}.wx-assessment.advisory{border-left:5px solid #a56a00}
/* v6.76: current conditions stay above every forecast view. */
#wx-observation .current-weather-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}#wx-observation .current-weather-facts>div{min-height:68px;padding:12px;border:1px solid var(--stroke,#ccd5df);border-radius:12px}#wx-observation .current-weather-top{margin:8px 0}#wx-observation .weather-temp{font-size:clamp(2.2rem,4vw,3.8rem)}.wx-daily-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.wx-day-card{display:flex;flex-direction:column;gap:10px;padding:14px 10px;border:1px solid var(--stroke,#ccd5df);border-radius:12px;background:var(--surface-soft,#f2f5f8);min-width:0}.wx-day-card>b{font-size:1.3rem}.wx-day-card>span:first-of-type{min-height:2.8em}.wx-day-card small{margin-top:auto}.wx-hourly-details{margin:16px 0}.wx-hourly-details summary{font-weight:700;padding:8px;cursor:pointer}.wx-current-row,.wx-upcoming{min-width:0}.wx-daily-grid span,.wx-day-card strong{overflow-wrap:anywhere}.current-weather-facts{grid-template-columns:repeat(4,minmax(0,1fr))}.current-weather-facts>div{min-width:0}@media(max-width:1100px){.wx-daily-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:620px){.wx-daily-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#wx-observation .current-weather-facts,.current-weather-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.wx-day-card>span:first-of-type{min-height:2.8em}}

html[data-theme] body [data-panel=weather]>#wx-provenance{margin:20px 0 0!important;overflow-wrap:anywhere}

/* Source: incident-rooms.css */
.room-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}.room-form{display:grid;gap:14px;max-width:760px;padding:20px;background:#fff;border:1px solid #cad6df;border-radius:12px;margin:16px 0}.room-form fieldset{display:grid;gap:10px;min-width:0}.room-form label{display:grid;gap:6px}.room-form input,.room-form textarea,.room-form select{width:100%;max-width:100%;min-width:0}.room-form input[type=checkbox]{width:auto}.room-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:12px}.room-items .card p{white-space:pre-wrap;overflow-wrap:anywhere}.room-timeline{max-height:480px;overflow:auto;padding-left:24px}.room-timeline li{padding:10px;border-bottom:1px solid #d7e1e9}.room-timeline small{display:block}#room-map{height:420px;border:1px solid #bed0de;border-radius:12px;z-index:0;margin-top:20px}#board-body>.card{margin-bottom:20px}#room-message,#board-message{white-space:pre-wrap}#room-editor:empty,#room-item-editor:empty{display:none}@media(max-width:600px){#room-map{height:310px}.room-form{padding:12px}.room-actions>*{max-width:100%}}

/* Source: feature-roles.css */
.feature-role-form{display:grid;gap:12px;max-width:900px}.feature-role-form>label{display:grid;gap:6px}.feature-role-form input[type=text],.feature-role-form input:not([type]),.feature-role-form select{width:100%;min-height:44px}
.feature-checkbox-dropdown{position:relative;border:1px solid #b9c8d5;border-radius:10px;background:#fff}.feature-checkbox-dropdown>summary{padding:14px;cursor:pointer;min-height:44px;font-weight:700}.feature-checkbox-dropdown>div{padding:0 14px 14px;max-height:min(520px,65dvh);overflow:auto}.feature-checkbox-dropdown h3{font-size:14px;padding:10px 0 4px;border-bottom:1px solid #dbe3ea}.feature-checkbox-dropdown label{display:flex;align-items:flex-start;gap:12px;padding:10px 4px;margin:0;border-bottom:1px solid #edf1f5}.feature-checkbox-dropdown input[type=checkbox]{width:20px;height:20px;flex:0 0 20px;margin:2px 0;accent-color:#126848}.feature-checkbox-dropdown span{min-width:0}.feature-checkbox-dropdown strong,.feature-checkbox-dropdown small{display:block}.feature-checkbox-dropdown small{font-size:12px;font-weight:400;line-height:1.5;color:#516579;margin-top:4px}.feature-checkbox-dropdown label:focus-within{outline:2px solid #296fa8;outline-offset:2px}.feature-role-editor{scroll-margin-top:20px}#role-permissions-host .feature-role-editor{max-width:1000px}#role-permissions-host .feature-role-editor>summary{font-size:18px}

/* Source: responsive-wall.css */
/* Final overrides for both viewer pages, including old Compact/Large and short-screen rules. */
.uas-panel .uas-wall.is-wall.adaptive-wall{display:flex!important;flex-direction:column!important;box-sizing:border-box;height:var(--wall-height,calc(100dvh - 16px))!important;max-height:var(--wall-height,calc(100dvh - 16px));min-height:0;overflow:visible;padding:6px!important;scroll-margin-top:8px}
.uas-panel .uas-wall.is-wall.adaptive-wall:fullscreen{width:100%;height:var(--wall-height,100dvh)!important;max-height:var(--wall-height,100dvh);border-radius:0;overflow:visible}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-wall-toolbar{display:flex!important;flex:none;align-items:center;flex-wrap:nowrap;gap:6px;padding:0 0 6px!important;min-height:38px;z-index:8}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-wall-toolbar button,.uas-panel .uas-wall.is-wall.adaptive-wall .uas-wall-picker>summary{min-height:36px;height:36px;padding:6px 9px;font-size:12px;white-space:nowrap}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-wall-tools label{font-size:0;gap:0}.uas-panel .uas-wall.is-wall.adaptive-wall .uas-wall-tools select{min-height:36px;height:36px;margin:0;padding:4px 6px;width:105px;font-size:12px}
.uas-panel .uas-wall.is-wall.adaptive-wall [data-wall-sources]{margin-right:auto}.uas-panel .source-chooser .uas-wall.adaptive-wall .uas-wall-picker{display:none}
.uas-panel .uas-wall.is-wall.adaptive-wall [data-uas-wall-message]:empty{display:none}.uas-panel .uas-wall.is-wall.adaptive-wall [data-uas-wall-message]:not(:empty){position:absolute;z-index:9;top:44px;left:8px;right:8px;max-height:65px;overflow:auto}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-grid{display:grid!important;flex:1;min-height:0!important;width:100%;margin:0!important;gap:6px!important;align-items:stretch}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-card{position:relative!important;display:grid;min-width:0!important;min-height:0!important;height:100%;max-height:100%;padding:5px!important;margin:0;box-sizing:border-box;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:24px minmax(0,1fr) 16px 34px!important;gap:3px!important;overflow:visible;aspect-ratio:auto!important}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-card[hidden]{display:none!important}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-card>header{grid-row:1!important;grid-column:1/-1!important;display:flex!important;align-items:center;flex-wrap:nowrap!important;gap:5px!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-card h3{font-size:13px!important;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1;margin:0!important}
.uas-panel .uas-wall.is-wall.adaptive-wall [data-uas-view-number]{display:none!important}.uas-panel .uas-wall.is-wall.adaptive-wall [data-uas-feed-status]{flex:none;font-size:10px!important;line-height:15px;padding:1px 5px!important}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-video{grid-row:2!important;grid-column:1/-1!important;min-width:0!important;min-height:0!important;height:100%!important;max-height:100%!important;aspect-ratio:auto!important;width:100%!important;overflow:hidden;background:#10171c}
.uas-panel .uas-wall.is-wall.adaptive-wall video{height:100%!important;width:100%!important;max-height:100%!important;object-fit:contain!important}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-playback-state{display:block!important;grid-row:3!important;grid-column:1/-1!important;margin:0!important;min-height:0;line-height:16px!important;font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uas-panel .uas-wall.is-wall.adaptive-wall [data-uas-player-status]{font-size:10px!important;line-height:16px!important;padding:0!important}.uas-panel .uas-wall.is-wall.adaptive-wall [data-uas-live-position]{display:none}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-feed-toolbar{position:static!important;grid-row:4!important;grid-column:1!important;display:flex!important;justify-content:flex-start!important;align-items:center;gap:4px;margin:0!important;min-width:0}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-feed-toolbar button{height:32px!important;min-height:32px!important;width:auto!important;min-width:0;font-size:11px!important;padding:4px 7px!important;white-space:nowrap}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-feed-toolbar button::after{content:none!important}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-feed-controls{position:static!important;grid-row:4!important;grid-column:2!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-feed-controls>summary{position:static!important;min-height:32px!important;height:32px!important;padding:5px 6px!important;font-size:11px!important;white-space:nowrap;box-sizing:border-box}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-feed-controls-body{position:absolute!important;z-index:20;left:4px!important;right:4px!important;bottom:40px!important;width:auto!important;max-width:none!important;margin:0!important;max-height:calc(100% - 48px)!important;overflow:auto;padding:10px!important;background:#fff;color:#233340;box-shadow:0 3px 14px #0004}
.uas-panel .uas-wall.is-wall.adaptive-wall.dense-wall [data-uas-close]{font-size:0!important;padding:4px 6px!important}.uas-panel .uas-wall.is-wall.adaptive-wall.dense-wall [data-uas-close]::after{content:'Close'!important;font-size:11px}
.uas-panel .uas-wall.is-wall.adaptive-wall.dense-wall .uas-pip-label{display:none!important}.uas-panel .uas-wall.is-wall.adaptive-wall.dense-wall .uas-pip-short{display:inline!important;font-size:11px}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-old-frame{top:5px;left:5px;font-size:11px;line-height:1.25;padding:4px 6px;max-width:52%}
.uas-panel .uas-wall.is-wall.adaptive-wall .video-overlay-clock{font-size:10px;line-height:1.2;top:5px;right:5px;max-width:42%;white-space:normal}.uas-panel .uas-wall.is-wall.adaptive-wall .video-overlay-labels{font-size:11px;line-height:1.2;left:5px;bottom:40px;max-width:78%;padding:4px 6px}
@media(max-width:420px){.uas-panel .uas-wall.is-wall.adaptive-wall .uas-wall-toolbar{gap:4px}.uas-panel .uas-wall.is-wall.adaptive-wall .uas-wall-tools select{width:92px}.uas-panel .uas-wall.is-wall.adaptive-wall .uas-wall-toolbar button{padding:5px 7px}.uas-panel .uas-wall.is-wall.adaptive-wall .uas-wall-picker>summary{padding:5px 6px}}

.uas-panel .source-chooser .uas-wall.adaptive-wall:not(:has(.uas-card:not([hidden]))){display:none!important}
@media(max-width:420px){.uas-panel .uas-wall.is-wall.adaptive-wall [data-uas-wall]{display:none!important}}

.uas-panel .uas-wall.is-wall.adaptive-wall .uas-feed-controls-body [data-uas-pip]{font-size:12px!important;white-space:normal;width:100%;min-height:36px}.uas-panel .uas-wall.is-wall.adaptive-wall .uas-feed-controls-body .uas-pip-label{display:inline!important}.uas-panel .uas-wall.is-wall.adaptive-wall .uas-feed-controls-body .uas-pip-short{display:none!important}

.uas-panel .uas-wall.is-wall.adaptive-wall.ultra-wall .uas-card{grid-template-rows:20px minmax(0,1fr) 0 32px!important;gap:2px!important;padding:4px!important}.uas-panel .uas-wall.is-wall.adaptive-wall.ultra-wall .uas-playback-state{visibility:hidden;overflow:hidden}.uas-panel .uas-wall.is-wall.adaptive-wall.ultra-wall .uas-card h3{font-size:11px!important;line-height:18px}.uas-panel .uas-wall.is-wall.adaptive-wall.ultra-wall .uas-old-frame{font-size:10px;padding:3px}

/* Keep the complete 16:9 picture area proportional at every monitor size. */
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-video{width:min(100%,var(--landscape-video-width,100%))!important;height:auto!important;aspect-ratio:16 / 9!important;justify-self:center;align-self:center}

/* Source: polished-workspace.css */
/* Compact operational workspace; preserves native controls and focus behavior. */
body{background:linear-gradient(145deg,#edf3f7,#f7f9fb 60%,#eaf1f4)}
#content{color:#18344a}.card,.overview-flight-card,.map-card{border:1px solid #d8e3eb;border-radius:16px;box-shadow:0 5px 20px rgba(23,52,72,.05)}
#content button,#content .button{border-radius:10px;transition:background-color .16s,border-color .16s,box-shadow .16s,transform .16s}
#content button:hover:not(:disabled),#content .button:hover{box-shadow:0 4px 12px #17405c20;transform:translateY(-1px)}
#content :focus-visible{outline:3px solid #147cca;outline-offset:2px}
.overview-flight-card{display:block;padding:20px 22px;margin-bottom:14px;background:linear-gradient(120deg,#fff 70%,#f2f7fa)}
.overview-flight-card h3{font-size:21px}.overview-flight-card p{max-width:none}.overview-flight-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;margin-top:14px;min-width:0}.overview-flight-actions button,.overview-flight-actions .button{width:auto;min-height:42px}.overview-flight-actions details{margin:0}.overview-flight-actions details button{display:inline-flex;margin:6px 6px 0 0}
.overview-utility-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.overview-utility-grid>.card{margin:0;padding:16px 18px}.overview-utility-grid h3,.overview-utility-grid p{margin:0 0 7px}
.overview-weather-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px;margin:0 0 14px}.weather-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#113d5d,#15607a 62%,#2d8092);color:#fff;border-radius:16px;padding:18px 20px;box-shadow:0 8px 24px #153e5429}.weather-hero::after{content:'';position:absolute;width:220px;height:220px;right:-80px;top:-100px;border:1px solid #ffffff2e;border-radius:50%;box-shadow:0 0 0 28px #ffffff0a,0 0 0 58px #ffffff08;pointer-events:none}.weather-hero-top{display:flex;justify-content:space-between;gap:12px}.weather-hero-top svg{width:46px;height:46px;flex:none;color:#c9eaf4}.weather-hero h3{color:white;margin:0;font-size:18px}.weather-hero h3 span{font-size:12px;opacity:.8}.weather-hero .eyebrow{color:#bde5eb;margin:0 0 4px}.weather-temp{font-size:40px;font-weight:750;line-height:1.1;margin-top:8px}.weather-observation{margin:2px 0 12px}.weather-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid #ffffff45;padding-top:10px}.weather-facts span,.weather-facts strong{display:block}.weather-facts span,.weather-timestamp{font-size:11px;color:#d1e7ee}.weather-facts strong{font-size:13px;overflow-wrap:anywhere}.weather-timestamp{margin:12px 0 4px}.weather-hero a{color:#fff;font-weight:700}.overview-readiness{margin:0;padding:18px 20px;display:flex;flex-direction:column;gap:7px}.overview-readiness h3,.overview-readiness p{margin:0}.overview-readiness select{width:100%}.overview-condition{display:flex;flex-direction:column;gap:2px;border-radius:10px;padding:10px 12px;background:#e9edf1;color:#34495a;border-left:4px solid #728593}.overview-condition strong{font-size:16px}.overview-condition span,.readiness-note{font-size:12px}.overview-condition.safe{background:#e4f5ec;color:#145f3c;border-color:#1c8050}.overview-condition.unsafe{background:#fff0ef;color:#8c2631;border-color:#b42b3c}.overview-condition.caution{background:#fff5db;color:#704c08;border-color:#bf8a25}.overview-readiness>a{margin-top:auto;font-weight:700}.overview-grid{gap:14px}.overview-grid>.card{padding:16px 18px}.workflow-row{padding-top:8px;padding-bottom:8px}
#planning-map-card .map-toolbar{gap:8px;padding:12px;align-items:end}#planning-map-card .map-toolbar strong{align-self:center;flex:1 1 125px}#planning-map-card .map-toolbar>div{flex-wrap:wrap;justify-content:flex-end}#planning-map-card .map-layer-controls{gap:6px 14px;padding:8px 12px}#planning-map-card .map-layer-controls label{min-height:36px}
@media(max-width:800px){.overview-weather-grid{grid-template-columns:1fr 1fr}.overview-utility-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.overview-weather-grid,.overview-utility-grid{grid-template-columns:1fr}.overview-flight-card{padding:16px;gap:0}.overview-flight-actions{flex-direction:row;align-items:center}.overview-flight-actions button{width:auto;flex:1 1 auto}.overview-flight-actions .button{flex:1 1 auto;text-align:center}#planning-map-card .map-toolbar>div{margin-left:0;justify-content:flex-start}.weather-hero{padding:16px}}
@media(prefers-reduced-motion:reduce){#content button,#content .button{transition:none!important}#content button:hover,#content .button:hover{transform:none!important}}

.weather-hero .is-stale,.weather-hero .is-unavailable{color:#ffe2ab}

/* Source: design-system.css */
/* SLFD operational workspace: shared visual tokens and compact controls. */
:root{--slfd-ink:#17354b;--slfd-muted:#506c7c;--slfd-line:#cfdee6;--slfd-surface:#fff;--slfd-accent:#a42d40;--slfd-navy:#14364d;--slfd-teal:#117e84;--slfd-shadow:0 10px 30px rgba(21,51,69,.07)}
body:not(.live-viewer){background:radial-gradient(ellipse at 95% 0,#dbeef1 0,transparent 34%),linear-gradient(135deg,#edf3f6,#f8fafb 58%,#eef4f5);color:var(--slfd-ink)}
body:not(.live-viewer) .sidebar{background:linear-gradient(155deg,#153b50,#172e3f 62%,#172737);border-color:#426174;box-shadow:0 12px 30px #102e4030}
body:not(.live-viewer) .program-brand strong{letter-spacing:.08em}body:not(.live-viewer) .sidebar .nav-group-links a[aria-current=page]{background:linear-gradient(100deg,#a22e40,#813244);border-color:#c27a83;border-left-color:#f9cbd0}
body:not(.live-viewer) .workspace-header{background:#ffffffdf;border-bottom:1px solid #d8e5eb;backdrop-filter:blur(12px);min-height:76px;padding-top:12px;padding-bottom:12px}
body:not(.live-viewer) .workspace-heading h1{letter-spacing:-.035em}body:not(.live-viewer) .breadcrumb{color:#517285}
body:not(.live-viewer) #content{padding-top:20px}body:not(.live-viewer) .welcome{padding-bottom:14px}body:not(.live-viewer) .welcome h2{letter-spacing:-.04em}
body:not(.live-viewer) .card,body:not(.live-viewer) .map-card,body:not(.live-viewer) .overview-flight-card{border:1px solid #d7e4e9;border-radius:16px;box-shadow:var(--slfd-shadow)}
body:not(.live-viewer) .card{padding:18px 20px}body:not(.live-viewer) .section-title{gap:10px 16px;margin-bottom:14px}body:not(.live-viewer) .section-title h2{letter-spacing:-.035em}body:not(.live-viewer) .section-title p{margin:3px 0}
body:not(.live-viewer) .eyebrow{color:#52778d;letter-spacing:.1em;font-weight:750}body:not(.live-viewer) button,body:not(.live-viewer) .button{border-radius:10px;font-weight:650}body:not(.live-viewer) button.primary,body:not(.live-viewer) .button.primary{background:linear-gradient(135deg,#ac3043,#8d2938);border-color:#962b3a;color:white}
body:not(.live-viewer) input:not([type=checkbox]):not([type=radio]):not([type=range]),body:not(.live-viewer) select,body:not(.live-viewer) textarea{border-radius:9px;border-color:#b8ccd8;background-color:#fff;min-width:0}
body:not(.live-viewer) input:focus-visible,body:not(.live-viewer) select:focus-visible,body:not(.live-viewer) textarea:focus-visible{outline:3px solid #6aafcd;outline-offset:1px}
body:not(.live-viewer) .metric{min-height:90px;padding:13px 16px;background:linear-gradient(145deg,#fff,#f5f9fb);border:1px solid #d6e4eb;border-radius:13px;box-shadow:0 3px 12px #1a405a08}body:not(.live-viewer) .metric strong{letter-spacing:-.035em}
body:not(.live-viewer) .table-scroll{border-radius:12px}body:not(.live-viewer) .records-table th{background:#eaf2f6;color:#38566a}body:not(.live-viewer) .records-table tbody tr:hover{background:#f2f8fa}body:not(.live-viewer) .records-table td,body:not(.live-viewer) .records-table th{padding:8px 12px}
body:not(.live-viewer) .ops-actions,body:not(.live-viewer) .wx-actions,body:not(.live-viewer) .wx-toolbar{gap:8px;margin:10px 0}body:not(.live-viewer) .ops-fields,body:not(.live-viewer) .settings-grid,body:not(.live-viewer) .quick-flight-fields{gap:6px 12px}
body:not(.live-viewer) #ops-form>.ops-fields{gap:6px 12px}body:not(.live-viewer) #ops-form label,body:not(.live-viewer) #pilot-form label{margin:5px 0}body:not(.live-viewer) #ops-form>.record-actions{gap:8px;padding:10px 0 14px;margin-top:12px}
body:not(.live-viewer) #flight-guide-shell label{margin:7px 0;gap:4px}body:not(.live-viewer) #flight-guide-shell .guide-confirm{padding:11px 12px}body:not(.live-viewer) #guide-preflight #flight-check-answers label{min-height:54px;padding:10px 12px}body:not(.live-viewer) #guide-steps{gap:6px;margin:10px 0 14px}body:not(.live-viewer) #guide-steps button{border-radius:10px}body:not(.live-viewer) .guide-footer{padding:10px 0;margin-top:14px}
body:not(.live-viewer) .wx-fact,body:not(.live-viewer) .forecast-card,body:not(.live-viewer) .hour-card{border-radius:12px;border:1px solid #d9e7ed;background:#f8fbfc}body:not(.live-viewer) .wx-fact{padding:12px}body:not(.live-viewer) .wx-tabs{gap:6px}body:not(.live-viewer) .wx-tabs button{border-radius:999px}
body:not(.live-viewer) .overview-flight-card{border-left:4px solid #a42d40}body:not(.live-viewer) .weather-hero{background:linear-gradient(135deg,#103b58,#176579 65%,#208793)}
body:not(.live-viewer) .overview-condition.safe{background:#e5f5ed;color:#145e3c}body:not(.live-viewer) .overview-condition.unsafe{background:#fff0f0;color:#8c2533}
/* Viewer source list; adaptive wall sizing stays controlled by responsive-wall.css. */
.live-viewer{background:radial-gradient(ellipse at 90% 0,#d9ebed,transparent 38%),linear-gradient(145deg,#edf3f6,#f8fafb);color:var(--slfd-ink)}
.live-viewer .topbar{background:linear-gradient(110deg,#153d52,#172c3d 76%,#273648);border:1px solid #4b6877;box-shadow:0 8px 25px #17384a26}
.live-viewer .brand strong{letter-spacing:-.025em}.live-viewer .viewer-heading h1{font-size:22px;letter-spacing:-.035em}.live-viewer .viewer-options>summary,.live-viewer .viewer-menu>summary{border-radius:10px}
.live-viewer .uas-panel .uas-source{position:relative;overflow:hidden;border:1px solid #c9dce4;border-radius:14px;background:linear-gradient(145deg,#fff,#f4f9fa);box-shadow:0 5px 16px #173c4c0b;transition:transform .16s,box-shadow .16s,border-color .16s}
.live-viewer .uas-panel .uas-source:hover{transform:translateY(-2px);border-color:#71a7b0;box-shadow:0 9px 20px #173c4c1b}.live-viewer .uas-panel .uas-source[aria-pressed=true]{background:#fdf2f3;border-color:#a42d40}
.live-viewer .uas-panel .uas-source[data-source-status="online"]{border-left:4px solid #268759}.live-viewer .uas-panel .uas-source[data-source-status="offline"]{border-left:4px solid #b7444a}.live-viewer .uas-panel .uas-source[data-source-status="unknown"]{border-left:4px solid #8295a0}
.live-viewer .uas-source-buttons{gap:9px}.live-viewer .uas-panel [data-uas-status]{background:#fff;border-color:#d5e4e9;border-radius:12px}.live-viewer .source-chooser-prompt{color:#4c6a7b}
.live-viewer .login-card{border:1px solid #d9e6eb;border-top:4px solid #a42d40;box-shadow:0 20px 60px #163c5220}.live-viewer .viewer-menu-body,.live-viewer .viewer-options>.viewer-tools{border-radius:14px;box-shadow:0 16px 40px #102f4533}
@media(min-width:601px){body:not(.live-viewer) .ops-fields{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.live-viewer) .quick-flight-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body:not(.live-viewer) .workspace-header{padding:10px 14px;gap:8px}body:not(.live-viewer) #content{padding:16px 12px}body:not(.live-viewer) .card{padding:15px}body:not(.live-viewer) .section-title{margin-bottom:10px}body:not(.live-viewer) .ops-actions>button,body:not(.live-viewer) .wx-actions>button{flex:1 1 auto}body:not(.live-viewer) #flight-guide-shell .guide-confirm{min-height:48px}.live-viewer main{padding:10px 12px}.live-viewer .uas-panel .uas-source{min-height:58px}}
@media(prefers-reduced-motion:reduce){.live-viewer .uas-panel .uas-source{transition:none}.live-viewer .uas-panel .uas-source:hover{transform:none}}
@media print{body:not(.live-viewer){background:white}.card,.map-card{box-shadow:none!important}}
/* Keep the empty stage from consuming a screen before a source is selected. */
.uas-panel.source-chooser .uas-wall.adaptive-wall:not(:has(.uas-card:not([hidden]))){display:none!important}
.uas-panel.source-chooser .uas-wall.adaptive-wall .uas-wall-picker{display:none}

/* Source: planning-design.css */
/* Planning map: group location, export and layers without moving map controls. */
[data-panel=planning]>.section-title{align-items:center;margin-bottom:16px;gap:14px}[data-panel=planning]>.section-title h2{margin-bottom:2px}[data-panel=planning]>.section-title p{margin:2px 0}.planning-laanc{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.planning-laanc>span,.planning-group-label{font-size:10px;font-weight:800;letter-spacing:.09em;color:#5d7b8c;white-space:nowrap}.planning-laanc .button{min-height:40px;padding:8px 13px;background:#fff}.planning-laanc .button:first-of-type{color:#fff;background:#9d2e40;border-color:#9d2e40}
.planning-grid{gap:14px}.planning-map-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px 10px}.planning-map-title{display:flex;align-items:center;gap:10px;min-width:0}.planning-map-title strong,.planning-map-title small{display:block}.planning-map-title strong{font-size:16px;color:#183a50}.planning-map-title small{font-size:11px;color:#587181}.planning-map-icon{display:grid;place-items:center;width:37px;height:37px;flex:0 0 37px;border-radius:11px;background:#e6f3f4;color:#08757b}.planning-map-icon svg{width:21px;height:21px}.planning-map-header button{min-height:40px;font-size:12px;padding:8px 12px}
.planning-map-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;padding:8px 16px 12px}.map-locations,.map-capture{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}.map-capture label{font-size:11px;font-weight:700;color:#587181;margin:0;white-space:nowrap}.planning-map-actions button,.planning-map-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 10px;font-size:12px;font-weight:650;line-height:1.3}.map-locations a{border:1px solid #bdcfdc;border-radius:10px;background:#fff;color:#205f80;text-decoration:none}.map-locations a:hover{background:#edf6f8}.map-capture select{min-width:135px;max-width:180px;min-height:38px;margin:0;padding:6px 28px 6px 9px;font-size:12px}.map-capture button{background:#ecf6f6;color:#135e67;border-color:#a9cdcf}
#planning-map-card .map-layer-controls{display:flex;gap:4px 13px;align-items:center;padding:8px 16px;background:#f4f8fa;border-top:1px solid #e2edf1;border-bottom:1px solid #e2edf1}#planning-map-card .map-layer-controls label{font-size:12px;min-height:32px;display:inline-flex;align-items:center;gap:6px;margin:0;color:#355367}#planning-map-card .map-layer-controls input{accent-color:#147781}#planning-map-card .map-layer-controls button{margin-left:auto;min-height:34px;padding:5px 9px;font-size:12px;background:white}#planning-map-card #map-layer-status{margin:0;padding:8px 16px;color:#527082;font-size:11px;line-height:1.45}
.planning-context .card{padding:16px 18px}.planning-context .card h3{font-size:16px;letter-spacing:-.02em}.planning-context .ops-actions{gap:6px}.planning-context .ops-actions button{min-height:40px;font-size:12px}.planning-context .coordinate-grid{gap:8px}.planning-context .muted{font-size:12px}
@media(max-width:1100px){.planning-map-actions{justify-content:flex-start}.map-capture{flex-wrap:wrap}}
@media(max-width:600px){[data-panel=planning]>.section-title{align-items:flex-start}.planning-laanc{justify-content:flex-start}.planning-map-header{padding:12px 12px 8px}.planning-map-title small{font-size:10px}.planning-map-header button{min-height:44px}.planning-map-actions{padding:8px 12px;gap:8px}.map-locations,.map-capture{width:100%}.map-locations button,.map-locations a,.map-capture button,.map-capture select{min-height:44px}.map-capture select{max-width:none;flex:1 1 125px}.map-capture button{flex:1 1 auto}#planning-map-card .map-layer-controls{padding:7px 12px;gap:3px 10px}#planning-map-card .map-layer-controls button{margin-left:0;min-height:44px}#planning-map-card #map-layer-status{padding:8px 12px}.planning-context .card{padding:15px}}

.planning-context .ops-actions button{flex:1 1 110px}
@media(max-width:600px){.map-capture label{flex-basis:100%}.map-capture select{flex:1 1 150px;min-width:150px}}

/* Source: navigation-scroll.css */
/* Scrolling remains enabled for wheel, touch and keyboard. */
#workspace-sidebar{scrollbar-width:none;-ms-overflow-style:none}
#workspace-sidebar::-webkit-scrollbar{display:none;width:0;height:0}

/* Source: ui-refinement.css */
/* Operational hierarchy, compact forms and coherent cards. */
.streamlined-overview{grid-template-columns:1fr!important}.streamlined-overview .program-summary{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px;align-items:center}.streamlined-overview .summary-stats{grid-column:2;grid-row:1/4;margin:0;gap:18px}.streamlined-overview .program-summary>.muted{grid-column:1/-1}.streamlined-overview .program-summary h3{margin:0}.overview-metar>summary{font-weight:700;cursor:pointer}.overview-metar[open]>summary{margin-bottom:14px}.overview-utility-grid .card{padding:14px 16px}.overview-utility-grid .card h3{font-size:16px}.overview-utility-grid .card p{font-size:12px}.overview-utility-grid .card .primary{background:#f2f7fa;color:#214c62;border-color:#b5cbd7;box-shadow:none}.overview-more-actions{position:relative}.overview-more-actions>summary{cursor:pointer;border:1px solid #b8cdd9;padding:9px 12px;border-radius:10px;min-height:42px;font-weight:650;list-style:none}.overview-more-actions>summary::after{content:'⌄';padding-left:8px}.overview-more-body{position:absolute;z-index:30;top:calc(100% + 5px);left:0;display:grid;gap:5px;background:white;border:1px solid #cbdde6;border-radius:12px;padding:10px;min-width:210px;box-shadow:0 12px 30px #14364d26}.overview-more-body a{display:block;text-align:left;padding:9px;font-weight:600}.overview-more-body button{margin:0!important;text-align:left}
body:not(.live-viewer) .grouped-fields{display:block!important}.form-section{min-width:0;border:1px solid #d7e4eb;border-radius:12px;padding:10px 12px 12px;margin:12px 0;background:#fbfdfe}.form-section legend{font-weight:750;font-size:12px;letter-spacing:.03em;color:#355a70;padding:0 6px}.form-section-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}.form-section-fields>label{min-width:0;margin:4px 0!important}.form-section-fields .field-wide{grid-column:1/-1}.form-section-fields input:not([type=checkbox]),.form-section-fields select,.form-section-fields textarea{width:100%}.form-section-fields label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.form-section-fields input[type=checkbox]{width:20px;min-height:20px}.ops-fields:not(.grouped-fields) .field-wide{grid-column:1/-1}
.aircraft-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 12px;color:#496a7e;font-size:12px}.aircraft-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px}.aircraft-record-card{border:1px solid #cbdde6;background:linear-gradient(145deg,#fff,#f1f7f9);border-radius:15px;padding:16px;box-shadow:0 5px 16px #16374b09}.aircraft-card-top{display:flex;justify-content:space-between;align-items:start;gap:8px}.aircraft-card-top small{color:#537084;font-weight:650}.aircraft-record-card h3{font-size:19px;margin:12px 0}.aircraft-record-card dl{margin:0 0 12px}.aircraft-record-card dl>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:6px;padding:5px 0;border-bottom:1px solid #e1ebef;font-size:12px}.aircraft-record-card dt{color:#5a7283}.aircraft-record-card dd{margin:0;overflow-wrap:anywhere;font-weight:650}.aircraft-record-card button{width:100%;background:#fff;color:#21566f}.records-empty{padding:22px 16px;border:1px dashed #b9cedb;background:#f6fafb;border-radius:12px}.records-empty h3{margin:0 0 5px}.records-empty p{margin:0;font-size:13px}.records-table td:last-child button{margin:2px}.records-table td:last-child{white-space:nowrap}.table-tools{background:#f6fafb;border-radius:12px;padding:10px!important}.table-tools select{min-width:110px}.table-footer{display:flex;align-items:center;gap:7px}.table-footer>span{margin-right:auto}.table-footer button{font-size:12px}
.wx-workspace .flight-weather-banner{padding:12px 16px;gap:3px;margin:4px 0;border-radius:12px}.wx-workspace .flight-weather-banner strong{font-size:clamp(1.1rem,2.2vw,1.55rem)}.wx-workspace .flight-weather-banner span{font-size:12px}.wx-workspace{gap:12px}.wx-workspace .wx-assessment{padding:12px}.wx-workspace .wx-assessment h3{font-size:16px}.wx-workspace .wx-fact strong{font-size:1.15rem;margin:5px 0}.wx-workspace .wx-fact{padding:10px}.wx-workspace .wx-radio{padding:14px 16px}.wx-workspace .wx-radio p{font-size:12px;margin:4px 0}.wx-workspace .wx-radio h3{font-size:17px}.wx-workspace .wx-tabs button{min-height:42px}.wx-workspace .wx-sources{font-size:11px}
.live-viewer .uas-source-buttons{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}.live-viewer .uas-panel .uas-source{min-height:74px;gap:4px;padding:12px 14px}.live-viewer .uas-source strong{font-size:15px}.live-viewer .uas-source small{color:#506e80;font-size:11px}.live-viewer .source-chooser-prompt{padding:9px 12px;border-radius:10px;background:#ffffffb0;border:1px solid #dbe7ed}.live-viewer .uas-old-frame{border-radius:8px;box-shadow:0 3px 12px #0002}.live-viewer .viewer-menu-body a{border-radius:9px}.live-viewer .viewer-menu-body a:hover{background:#edf6f8}
@keyframes slfd-panel-in{from{opacity:.7;transform:translateY(4px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:no-preference){[data-panel]:not([hidden]){animation:slfd-panel-in .18s ease-out}.aircraft-record-card{transition:box-shadow .16s,border-color .16s}.aircraft-record-card:hover{border-color:#89b5c4;box-shadow:0 7px 20px #123c5517}}
@media(max-width:600px){.form-section-fields{grid-template-columns:1fr}.form-section{padding:8px 10px}.overview-more-body{left:auto;right:0}.streamlined-overview .program-summary{grid-template-columns:1fr}.streamlined-overview .summary-stats{grid-column:1;grid-row:auto}.live-viewer .uas-source-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.live-viewer .uas-panel .uas-source{min-height:78px}.wx-workspace .flight-weather-banner span{line-height:1.4}}

#ops-list[aria-busy=true]::before{content:'Refreshing records…';display:block;padding:10px 12px;margin:8px 0;background:#eaf4f8;border:1px solid #c6dfe9;border-radius:10px;color:#315c73;font-size:12px}.wx-workspace[aria-busy=true] #wx-refresh{opacity:.65}.overview-metar{margin-top:14px}

.optional-record-fields{padding:8px 12px;border:1px solid #d6e3eb;border-radius:11px;margin:10px 0;background:#f7fafc}.optional-record-fields>summary{font-weight:700;font-size:12px;min-height:30px;cursor:pointer}.optional-record-fields[open]>summary{margin-bottom:8px}
/* Preserve contrast inside the dark observation card and a quieter utility hierarchy. */
body:not(.live-viewer) .weather-hero .eyebrow{color:#c1e8f0}body:not(.live-viewer) .weather-hero .is-stale,body:not(.live-viewer) .weather-hero .is-unavailable{color:#ffe1a2}body:not(.live-viewer) .overview-utility-grid .card .button.primary{background:#eef6f8;color:#20556b;border-color:#aecbd7}

/* Source: component-upgrades.css */
/* Compact component patterns inspired by Flowbite tabs, Chakra steps and Lucide. */
:root{--slfd-ring:0 0 0 3px #168b9426;--slfd-elevated:0 8px 24px #16374b0b}
.maintenance-overview{position:relative;padding:22px 24px;border:1px solid #bad7df;border-radius:14px;background:radial-gradient(circle at 100% 0,#cbe9ec80,transparent 55%),linear-gradient(120deg,#eff8fa,#f8fbfc);margin:12px 0 16px;overflow:hidden}
.maintenance-overview:before{content:'';display:block;width:34px;height:34px;float:right;background:var(--slfd-teal);mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z"/%3E%3C/svg%3E') center/contain no-repeat}
.maintenance-overview h3{font-size:25px;letter-spacing:-.035em;margin:7px 0}.maintenance-overview p{margin:5px 0;color:#4b697b;max-width:60ch}.maintenance-stats{display:flex;gap:24px;margin-top:18px;flex-wrap:wrap}.maintenance-stats>div{display:flex;gap:8px;align-items:baseline}.maintenance-stats strong{font-size:26px;color:#18475d;line-height:1}.maintenance-stats span{font-size:12px;color:#506d7d}
.maintenance-list-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}.segmented-control{display:flex;gap:3px;padding:3px;background:#eaf1f5;border:1px solid #d5e1e8;border-radius:10px}.segmented-control button{border:0!important;background:transparent!important;padding:7px 11px!important;min-height:36px!important;font-size:12px!important}.segmented-control button[aria-pressed=true]{background:#fff!important;color:#0b6269!important;box-shadow:0 2px 6px #16374b15}
.maintenance-work-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:12px}.maintenance-work-card{border:1px solid #d0e0e8;border-radius:12px;padding:16px;background:linear-gradient(150deg,#fff,#fafcfd);box-shadow:var(--slfd-elevated);transition:transform .16s ease,box-shadow .16s ease}.maintenance-work-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #16374b14}.maintenance-work-top{display:flex;justify-content:space-between;gap:6px;align-items:center}.maintenance-work-top>small{font-weight:750;font-size:10px;letter-spacing:.1em;color:#55768b}.maintenance-work-card h4{font-size:17px;letter-spacing:-.02em;margin:12px 0 5px;overflow-wrap:anywhere}.maintenance-work-card p{margin:5px 0}.maintenance-work-card>small{display:block;font-size:12px;color:#526e80}.maintenance-excerpt{font-size:12px;line-height:1.5;color:#557083;overflow-wrap:anywhere}.maintenance-work-card>button{margin-top:12px;width:100%;background:#edf6f8!important;color:#155565!important;border-color:#c5dde3!important}
.maintenance-editor{display:grid;gap:14px}.maintenance-form-intro{padding:16px;border-radius:12px;background:linear-gradient(120deg,#edf7f9,#f5f9fc);border:1px solid #d6e8ee}.maintenance-form-intro h3{margin:7px 0;font-size:22px;letter-spacing:-.03em}.maintenance-form-intro p{margin:0;color:#4b697b;font-size:13px;line-height:1.5}.maintenance-steps{display:flex;list-style:none;padding:0;margin:0;counter-reset:maintenance-step;gap:6px}.maintenance-steps li{flex:1;counter-increment:maintenance-step;display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:#376374;padding-bottom:10px;border-bottom:2px solid #a9d5dc}.maintenance-steps li:before{content:counter(maintenance-step);display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:#176c78;color:#fff}
.maintenance-editor .form-section-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.maintenance-editor .field-wide{grid-column:1/-1}.maintenance-editor textarea{width:100%;box-sizing:border-box}.maintenance-editor label small{display:block;font-size:12px;line-height:1.5;font-weight:400;color:#557083}.maintenance-checks{padding:10px 14px;border:1px solid #d2e2e9;border-radius:12px;min-width:0}.maintenance-checks legend{font-weight:750;padding:0 4px}.maintenance-check-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(145px,42%);align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #e6eef2;font-size:13px}.maintenance-check-row:last-child{border-bottom:0}.maintenance-check-row select{margin:0;min-height:36px!important;font-size:12px}.maintenance-extra{border:1px solid #d1e1e8;border-radius:10px;padding:11px 14px}.maintenance-extra>summary{font-weight:650;cursor:pointer;font-size:13px}.maintenance-extra[open]>.form-section-fields{margin-top:12px}.maintenance-result-note{font-size:12px;line-height:1.5;color:#536e7d;margin:0}
/* A monitoring canvas, with unobtrusive chrome and a fixed landscape grid. */
.uas-panel .uas-wall.is-wall.adaptive-wall{position:relative;background:linear-gradient(140deg,#edf4f7,#e3eef2);border-color:#c4d8e3;box-shadow:0 12px 32px #16374b12}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-card{border:1px solid #c3d5e0;border-radius:10px;background:#f9fcfd;box-shadow:0 2px 7px #1233450a}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-video{border-radius:6px;background:#0e1922}.uas-panel .uas-wall.is-wall.adaptive-wall video{object-position:center}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-card>header{padding-inline:3px!important}.uas-panel .uas-wall.is-wall.adaptive-wall .uas-card h3{color:#183d52}
.uas-panel .uas-wall.is-wall.adaptive-wall.landscape-four .uas-card{grid-template-rows:24px minmax(0,1fr) 14px 30px!important;gap:2px!important;padding:4px!important}
.uas-panel .uas-wall.is-wall.adaptive-wall.landscape-four .uas-feed-toolbar button,.uas-panel .uas-wall.is-wall.adaptive-wall.landscape-four .uas-feed-controls>summary{height:28px!important;min-height:28px!important;padding:4px 7px!important}
.uas-panel .uas-wall.is-wall.adaptive-wall.landscape-four.ultra-wall .uas-card{grid-template-rows:20px minmax(0,1fr) 0 28px!important}
.uas-panel .uas-wall.is-wall.adaptive-wall:fullscreen{overflow:hidden!important;padding:6px!important;scroll-margin:0}
.uas-panel .uas-wall.is-wall.adaptive-wall .uas-wall-toolbar button{border-radius:9px;background:#fff}.uas-panel .uas-wall.is-wall.adaptive-wall .uas-wall-tools select{border-radius:9px}
.live-viewer .uas-source-card{border-radius:14px;box-shadow:0 3px 12px #183e4f09}.live-viewer .topbar{background:linear-gradient(110deg,#102e42,#19485b);border-bottom:1px solid #326075}.live-viewer .topbar .brand,.live-viewer .topbar .brand strong,.live-viewer .topbar .brand small{color:#f4fbff}.live-viewer .topbar #contact-share-open,.live-viewer .topbar .viewer-menu>summary{background:#ffffff14;color:#fff;border-color:#ffffff40}.live-viewer .topbar .viewer-menu-body{color:#17354b}
body:not(.live-viewer) .section-title h2{font-size:clamp(24px,2.2vw,31px)}body:not(.live-viewer) .record-actions{position:sticky;bottom:0;background:#ffffffed;padding:10px 0;border-top:1px solid #e0e9ee;z-index:2;backdrop-filter:blur(8px)}
@media(max-width:600px){.maintenance-overview{padding:16px}.maintenance-stats{gap:12px}.maintenance-stats>div{display:grid;gap:5px}.maintenance-stats strong{font-size:23px}.maintenance-editor .form-section-fields{grid-template-columns:1fr}.maintenance-steps li{font-size:10px;align-items:flex-start}.maintenance-check-row{grid-template-columns:1fr;gap:4px}.maintenance-list-toolbar>button{font-size:12px}.segmented-control button{padding:6px 8px!important}}
@media(prefers-reduced-motion:reduce){.maintenance-work-card{transition:none}.maintenance-work-card:hover{transform:none}}

#ops-create-actions{display:flex;gap:8px;flex-wrap:wrap}.record-export-menu{position:relative;margin:0 0 0 auto}.record-export-menu>summary{cursor:pointer;padding:9px 12px;border:1px solid #c9dce5;border-radius:9px;font-size:12px;font-weight:650;background:#f4f8fa}.record-export-menu[open]>div{position:absolute;right:0;top:calc(100% + 7px);z-index:10;display:grid;gap:6px;min-width:235px;background:#fff;padding:10px;border:1px solid #ccdce5;border-radius:12px;box-shadow:0 10px 25px #17394c20}.record-export-menu[open]>div>*{white-space:nowrap;text-align:left;font-size:12px}body:not(.live-viewer) [data-panel=operations].maintenance-mode>.metric-grid,body:not(.live-viewer) [data-panel=operations].maintenance-mode>#ops-readiness{display:none}.record-export-menu:not([open])>div{display:none}#table-tools[hidden]{display:none!important}

[data-panel=operations].maintenance-mode>section.card:has(#ops-pilot-hours){display:none} .logbook-device-tools>summary{cursor:pointer;font-weight:700;font-size:13px}.logbook-device-tools>div{margin-top:14px}.logbook-device-tools:not([open])>div{display:none}
.maintenance-check-all{display:block;margin:4px 0 8px auto;font-size:12px!important;min-height:34px!important;padding:6px 10px!important;background:#edf7f8!important;color:#155665!important}

@media(min-width:600px){.uas-panel .uas-wall.is-wall.adaptive-wall .uas-wall-tools select{width:136px}}
.uas-panel .uas-wall.is-wall.adaptive-wall [data-uas-wall-message]:not(:empty){top:auto;bottom:48px;left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);box-sizing:border-box;border:1px solid #9ab6c5;border-radius:10px;background:#173c50;color:#fff;padding:9px 13px;font-size:12px;box-shadow:0 6px 22px #0c243b30}

/* Source: appearance.css */
/* SLFD's operational palette, in paired light and charcoal appearances. */
html[data-theme]{--surface:#fff;--surface-soft:#f5f7f8;--surface-raised:#fff;--page:#eef2f3;--text:#20333f;--text-muted:#576e7b;--stroke:#d6e0e4;--accent:#167b83;--accent-soft:#e4f0f1;--accent-text:#155e66;--brand:#a43145;--good-bg:#e4f4ed;--good-text:#146448;--warn-bg:#fff2d9;--warn-text:#77500d;--bad-bg:#fce7ec;--bad-text:#9c2b42;--info-bg:#e5eff8;--info-text:#245c83;--map-filter:grayscale(.85) saturate(.35) contrast(.88) brightness(1.08);--surface-shadow:0 4px 18px #18384306;--nav-shadow:0 6px 24px #18384309}
html[data-theme=dark]{--surface:#1a2229;--surface-soft:#202b33;--surface-raised:#25313a;--page:#10171c;--text:#e3edf2;--text-muted:#a8bbc7;--stroke:#34444e;--accent:#66c1c6;--accent-soft:#263d43;--accent-text:#ade4e7;--brand:#b43e53;--good-bg:#1b3c31;--good-text:#a1e6c8;--warn-bg:#443826;--warn-text:#f4d295;--bad-bg:#4a2b36;--bad-text:#ffc1cf;--info-bg:#263d50;--info-text:#b6dcf7;--map-filter:grayscale(1) invert(1) brightness(.72) contrast(.85);--surface-shadow:0 5px 20px #00000012;--nav-shadow:0 10px 30px #00000020}
html[data-theme]{--nav:var(--surface);--paper:var(--surface);--ink:var(--text);--muted:var(--text-muted);--line:var(--stroke);--blue:var(--brand);--blue-dark:#882d3f;--blue-soft:var(--accent-soft);--app-card:var(--surface);--app-ink:var(--text);--app-line:var(--stroke);--app-soft:var(--surface-soft);--app-bluewash:var(--accent-soft);--slfd-ink:var(--text);--slfd-muted:var(--text-muted);--slfd-line:var(--stroke);--slfd-surface:var(--surface);--slfd-accent:var(--brand);--slfd-navy:var(--text);--slfd-teal:var(--accent);--slfd-shadow:var(--surface-shadow);background:var(--page);color:var(--text)}
html[data-theme] body,html[data-theme] body.live-viewer{background:var(--page);color:var(--text);--app-card:var(--surface);--app-ink:var(--text);--app-line:var(--stroke);--app-soft:var(--surface-soft);--app-bluewash:var(--accent-soft)}
html[data-theme] body :is(h1,h2,h3,h4,h5){color:var(--text)}html[data-theme] body :is(small,.muted,.breadcrumb,.weather-source-note,.weather-heading>span,.source-chooser-prompt,.readiness-note,.pilot p,.table-footer,.maintenance-result-note){color:var(--text-muted)}
html[data-theme] body :is(.eyebrow,.nav-label,.planning-group-label,.planning-laanc>span){color:var(--text-muted)}html[data-theme] body a{color:var(--accent-text)}html[data-theme=dark] body a{color:var(--accent)}
html[data-theme] body :is(.card,.metric,.map-card,.overview-flight-card,.login-card,.aircraft-record-card,.maintenance-work-card,.overview-readiness,.session-bar,.forecast-card,.hour-card,.pilot-card,.room-card,.board-card,.photo-upload,.feature-role-card){background:var(--surface);color:var(--text);border-color:var(--stroke);box-shadow:var(--surface-shadow);border-radius:14px}
html[data-theme] body :is(.section-title,.weather-heading){border-color:var(--stroke)}html[data-theme] body .overview-flight-card{border-left:3px solid var(--accent);background:var(--surface)}html[data-theme] body .card{border-width:1px;border-style:solid}
html[data-theme] body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:var(--surface-soft)!important;color:var(--text)!important;border-color:var(--stroke)!important;box-shadow:none}html[data-theme] body :is(input,textarea)::placeholder{color:var(--text-muted);opacity:.85}html[data-theme] body :is(input[type=checkbox],input[type=radio]){accent-color:var(--accent)}
html[data-theme] body :is(label,legend){color:var(--text)!important}html[data-theme] body #ops-form>.record-actions{box-shadow:0 -7px 14px var(--surface)!important}
html[data-theme] body button:not(.primary):not(.sensitive-action):not(.uas-source-card),html[data-theme] body .button:not(.primary){background:var(--surface)!important;color:var(--text)!important;border-color:var(--stroke)!important;box-shadow:none}
html[data-theme] body button:not(.primary):not(.sensitive-action):not(.uas-source-card):hover,html[data-theme] body .button:not(.primary):hover{background:var(--surface-soft)!important;border-color:var(--accent)!important}
html[data-theme] body :is(button.primary,.button.primary){background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important;box-shadow:0 2px 6px #0000000a}
html[data-theme] body :is(button.primary,.button.primary):hover{filter:brightness(1.08)}html[data-theme] body :focus-visible{outline:3px solid var(--accent);outline-offset:3px}
html[data-theme] body .sidebar{background:var(--surface);color:var(--text);border-color:var(--stroke);border-radius:16px;box-shadow:var(--nav-shadow)}html[data-theme] body .sidebar :is(.program-brand,.program-brand small,.program-brand strong,.video-link,.sidebar-bottom p,.nav-group>summary,.nav-group-links a){color:var(--text)}
html[data-theme] body .sidebar .nav-group>summary{font-size:12px;font-weight:650}html[data-theme] body .sidebar .nav-group>summary .ui-icon{color:var(--text-muted)}html[data-theme] body .sidebar :is(.nav-group-links a,.nav-group>summary):hover{background:var(--surface-soft);color:var(--text)}html[data-theme] body .sidebar .nav-group-links a[aria-current=page]{background:var(--accent-soft);color:var(--accent-text);border:1px solid var(--stroke);border-left:3px solid var(--accent)}
html[data-theme] body .sidebar :is(.sidebar-bottom,.nav-group-links){border-color:var(--stroke)}html[data-theme] body .sidebar-bottom .video-link{background:var(--surface-soft);border-color:var(--stroke)}
html[data-theme] body .workspace-header,html[data-theme] body.live-viewer .topbar{background:var(--surface);color:var(--text);border-color:var(--stroke);box-shadow:none;backdrop-filter:none}
html[data-theme] body.live-viewer .topbar :is(.brand,.brand strong,.brand small,#username),html[data-theme] body .account #identity{color:var(--text)}html[data-theme] body .account-dot{background:var(--accent-soft);border-color:var(--surface-soft)}
html[data-theme] body :is(#workspace-find,.finder-shortcut){color:var(--text-muted)}html[data-theme] body .workspace-header{gap:12px;min-height:78px}html[data-theme] body .workspace-heading h1{font-size:24px;font-weight:680;letter-spacing:-.04em}
html[data-theme] body :is(.viewer-menu-body,.viewer-options-body,.overview-more-body,.record-export-menu[open]>div,.column-picker[open],.feature-checkbox-dropdown[open],.uas-wall-picker-body,.uas-feed-controls-body,.contact-sharing-dialog,.contact-sharing-panel){background:var(--surface-raised)!important;color:var(--text)!important;border-color:var(--stroke)!important;box-shadow:0 10px 30px #00000020}
html[data-theme] body :is(dialog,#ops-editor){background:var(--surface);color:var(--text);border-color:var(--stroke)}html[data-theme] body :is(dialog .section-title,#ops-editor>.section-title){background:var(--surface);border-color:var(--stroke)}html[data-theme] body :is(.record-actions,.flight-check-actions,.contact-sharing-actions){background:var(--surface)!important;border-color:var(--stroke)!important;backdrop-filter:none}
html[data-theme] body :is(.form-section,.maintenance-checks,.maintenance-extra,.optional-record-fields,.record-context,.procedure-item,.flight-flow-cards li,.flight-guide-step,.flight-guide-summary,.check-section){background:var(--surface-soft);border-color:var(--stroke);color:var(--text)}html[data-theme] body :is(.form-section legend,.maintenance-checks legend,.maintenance-editor label small){color:var(--text-muted)}
html[data-theme] body :is(.maintenance-overview,.maintenance-form-intro){background:linear-gradient(110deg,var(--surface-soft),var(--surface));border-color:var(--stroke);box-shadow:none}html[data-theme] body :is(.maintenance-overview p,.maintenance-form-intro p,.maintenance-stats span,.maintenance-work-card>small,.maintenance-excerpt,.maintenance-work-top>small,.maintenance-steps li){color:var(--text-muted)}html[data-theme] body .maintenance-stats strong{color:var(--text)}html[data-theme] body .maintenance-steps li{border-color:var(--stroke)}html[data-theme] body .maintenance-steps li:before{background:var(--accent-soft);color:var(--accent-text)}html[data-theme] body .maintenance-check-row{border-color:var(--stroke)}
html[data-theme] body :is(.segmented-control,.table-tools,.aircraft-view-toolbar,.metar,.forecast-card.night,.wx-radio-card,.wx-fact,.wx-source-card,.wx-brief-controls,.wx-tabs){background:var(--surface-soft);color:var(--text);border-color:var(--stroke)}
html[data-theme] body :is(.segmented-control button[aria-pressed=true],button[role=tab][aria-selected=true]){background:var(--accent-soft)!important;color:var(--accent-text)!important;border-color:var(--accent)!important}
html[data-theme] body :is(.records-table,.records-table td,.records-table th,.user-row,.pilot,.attachment-row){border-color:var(--stroke);color:var(--text)}html[data-theme] body :is(.records-table th,.records-table thead,.records-table th button){background:var(--surface-soft)!important;color:var(--text)!important}html[data-theme] body .records-table tr:hover td{background:var(--surface-soft)}html[data-theme] body .records-empty{background:var(--surface-soft);border-color:var(--stroke);color:var(--text-muted)}
html[data-theme] body .records-empty h3{color:var(--text)}html[data-theme] body .records-empty p{color:var(--text-muted)}html[data-theme] body :is(.aircraft-record-card small,.aircraft-record-card dt,.aircraft-card-top small){color:var(--text-muted)}html[data-theme] body :is(.aircraft-record-card dd,.aircraft-record-card h3){color:var(--text)}
html[data-theme] body :is(.record-status-badge,.status-tag,.badge,.station-tag,.pill){background:var(--surface-soft);color:var(--text-muted);border-color:var(--stroke)}
html[data-theme] body :is(.record-status-badge[data-tone=good],.status-tag.active,.overview-condition.safe){background:var(--good-bg);color:var(--good-text);border-color:var(--good-text)}
html[data-theme] body :is(.record-status-badge[data-tone=attention],.overview-condition.caution,.weather-alert,.alert-summary.has-alerts){background:var(--warn-bg);color:var(--warn-text);border-color:var(--warn-text)}
html[data-theme] body :is(.record-status-badge[data-tone=critical],.overview-condition.unsafe){background:var(--bad-bg);color:var(--bad-text);border-color:var(--bad-text)}html[data-theme] body .record-status-badge[data-tone=info]{background:var(--info-bg);color:var(--info-text);border-color:var(--stroke)}
html[data-theme] body .overview-condition{background:var(--surface-soft);color:var(--text);border-color:var(--text-muted)}html[data-theme] body .overview-condition :is(strong,span){color:inherit}
html[data-theme] body :is(.inline-note,.alert-summary,#ops-message:not(:empty),#ops-editor-message:not(:empty),#status:not(:empty),.flight-guide-note){background:var(--accent-soft);color:var(--accent-text);border-color:var(--stroke)}
html[data-theme] body :is(#flight-check-status:not(:empty),.contact-sharing [role=status]:not(:empty)){background:var(--accent-soft)!important;color:var(--accent-text)!important;border-color:var(--stroke)!important}html[data-theme] body #notice:not(:empty){background:var(--warn-bg);color:var(--warn-text);border-color:var(--warn-text)}
html[data-theme] body :is(#preflight-map,#mission-brief-map){background:var(--surface-soft);border-color:var(--stroke)}:is(#preflight-map,#mission-brief-map) .leaflet-tile-pane{filter:var(--map-filter)}
html[data-theme] body .weather-hero{background:linear-gradient(130deg,#16424c,#20636d);box-shadow:var(--surface-shadow);border:1px solid #477983}html[data-theme=dark] body .weather-hero{background:linear-gradient(130deg,#20353e,#23464d);border-color:#38616a}
html[data-theme] body .weather-hero :is(h3,strong,p,a){color:#f3fbfc}html[data-theme] body .weather-hero :is(.eyebrow,small,.weather-facts span,.weather-timestamp){color:#c1e0e5}html[data-theme] body .weather-hero :is(.is-stale,.is-unavailable){color:#ffe1a6!important}html[data-theme] body :is(.hour-card small,.forecast-card p,.forecast-card small){color:var(--text-muted)}
html[data-theme] body .is-stale{color:var(--warn-text)!important}html[data-theme] body .is-unavailable{color:var(--bad-text)!important}
html[data-theme] body .uas-panel .uas-wall.is-wall.adaptive-wall{background:var(--surface-soft);border-color:var(--stroke);box-shadow:var(--surface-shadow)}html[data-theme] body .uas-panel .uas-wall.is-wall.adaptive-wall .uas-card{background:var(--surface);color:var(--text);border-color:var(--stroke);box-shadow:none}html[data-theme] body .uas-panel .uas-wall.is-wall.adaptive-wall .uas-card h3{color:var(--text)}
html[data-theme] body .uas-source-card{background:var(--surface);color:var(--text);border-color:var(--stroke);box-shadow:var(--surface-shadow)}html[data-theme] body .uas-source-card :is(strong,h3){color:var(--text)}html[data-theme] body .uas-source-card :is(small,.uas-source-kind){color:var(--text-muted)}
html[data-theme] body .uas-source-card[data-source-status=online]{border-color:var(--good-text)}html[data-theme] body .uas-source-card[data-source-status=offline]{border-color:var(--stroke)}
html[data-theme] body :is([data-uas-feed-status],.uas-source-status){color:var(--text);background:var(--surface-soft);border-color:var(--stroke)}
html[data-theme] body :is([data-uas-feed-status].online,.uas-source-card[data-source-status=online] .uas-source-status){background:var(--good-bg)!important;color:var(--good-text)!important}
html[data-theme] body :is([data-uas-feed-status].offline,.uas-source-card[data-source-status=offline] .uas-source-status){background:var(--bad-bg)!important;color:var(--bad-text)!important}
html[data-theme] body .uas-video{background:#0b1117}html[data-theme] body .uas-panel .uas-feed-controls-body{background:var(--surface-raised)!important;color:var(--text)!important;border-color:var(--stroke)!important}
html[data-theme] body :is(.feature-checkbox-dropdown,.feature-checkbox-list,.feature-role-presets,.contact-sharing-people,.contact-sharing-preview,.contact-sharing-feed,.contact-sharing-tabs,#mfa-key,.telemetry-source,.room-item,.board-task){background:var(--surface-soft);color:var(--text);border-color:var(--stroke)}
html[data-theme] body :is(#workspace-find-results a,#workspace-find-status,.workspace-finder-heading){color:var(--text)}html[data-theme] body :is(#workspace-find-results a:hover,#workspace-find-results a[aria-current=page]){background:var(--accent-soft)}html[data-theme] body .workspace-finder-heading{background:var(--surface);border-color:var(--stroke)}
html[data-theme] body #publisher-list button{background:var(--surface-soft)!important}html[data-theme] body footer{color:var(--text-muted);border-color:var(--stroke)}
.appearance-control{display:inline-flex!important;align-items:center;gap:7px;margin:0!important;padding:3px 7px;border:1px solid var(--stroke);border-radius:9px;background:var(--surface);color:var(--text);flex:0 0 auto;max-width:125px}.appearance-icon{font-size:18px;line-height:1;color:var(--accent)}
html[data-theme] body.live-viewer :is(.viewer-menu>summary,.viewer-options>summary){background:var(--surface-soft)!important;color:var(--text)!important;border-color:var(--stroke)!important}html[data-theme] body.live-viewer .viewer-menu-body :is(a,.header-link){color:var(--text);border-color:var(--stroke)}html[data-theme] body.live-viewer .viewer-menu-body a:hover{background:var(--surface-soft)}html[data-theme] body .viewer-tools{background:var(--surface-raised);color:var(--text);border-color:var(--stroke)}
html[data-theme] body.live-viewer .topbar .viewer-menu-body .header-link{background:var(--surface-soft)!important;color:var(--text)!important;border-color:var(--stroke)!important}
html[data-theme] body :is(.streaming-card,#streaming-status,.upload-preview,.photo-preview>article,.reference-panel){background:var(--surface);color:var(--text);border-color:var(--stroke)}html[data-theme] body .streaming-card p{color:var(--text-muted)}html[data-theme] body>header:not(.mobile-brand):not(.topbar){background:var(--surface);color:var(--text);border-color:var(--stroke)}html[data-theme] body>header:not(.mobile-brand):not(.topbar) :is(.brand,.brand strong,.brand small,nav a){color:var(--text)}
html[data-theme] .appearance-control select{width:83px;min-height:31px!important;height:31px;margin:0!important;padding:3px 16px 3px 3px!important;border:0!important;background:transparent!important;font-size:12px!important;cursor:pointer}.viewer-header-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}#login>.appearance-control{float:right;margin:0 0 12px 12px!important}body>main>header>.appearance-control{margin-bottom:14px!important}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html[data-theme] body :is(.wx-assessment,.wx-table,.wx-chart,.wx-data-note,.preflight-site,.preflight-brief,.preflight-facts>div,.guide-confirm,#guide-dependencies,#guide-risk:not(:empty),#guide-approval:not(:empty),#flight-check-context,.admin-stream-sharing,.contact-picker,.contact-result,.contact-link-row){background:var(--surface-soft)!important;color:var(--text)!important;border-color:var(--stroke)!important}
html[data-theme] body :is(.wx-table th,.wx-table td,.wx-table th:first-child,.wx-table td:first-child){background:var(--surface);color:var(--text);border-color:var(--stroke)}html[data-theme] body .wx-table thead th{background:var(--surface-raised);color:var(--text)}html[data-theme] body .wx-chart text{fill:var(--text-muted)}
html[data-theme] body .wx-assessment.within{border-left-color:var(--good-text)!important}html[data-theme] body .wx-assessment.exceeded{border-left-color:var(--bad-text)!important}html[data-theme] body :is(.wx-assessment.incomplete,.wx-assessment.advisory){border-left-color:var(--warn-text)!important}html[data-theme] body .wx-table tr.wx-exceeded td{border-bottom-color:var(--bad-text)}
html[data-theme] body :is(.wx-sources,.wx-data-note,#guide-help,#flight-check-log-state,#flight-check-progress,.contact-quick-help,.preflight-facts strong){color:var(--text-muted)}html[data-theme] body .wx-tabs button[aria-pressed=true]{background:var(--accent-soft)!important;color:var(--accent-text)!important;border-color:var(--accent)!important}
html[data-theme] body :is(.flight-check-header,.flight-check-footer,.guide-footer,.contact-sharing-heading,.mobile-share-dock){background:var(--surface)!important;color:var(--text);border-color:var(--stroke);box-shadow:none}html[data-theme] #guide-steps button[aria-current=step]{background:var(--accent-soft)!important;color:var(--accent-text)!important;border-color:var(--accent)!important}
html[data-theme] body .flight-weather-banner.safe{background:var(--good-bg);color:var(--good-text);border-color:var(--good-text)}html[data-theme] body .flight-weather-banner.unsafe{background:var(--bad-bg);color:var(--bad-text);border-color:var(--bad-text)}html[data-theme] body .flight-weather-banner.caution{background:var(--warn-bg);color:var(--warn-text);border-color:var(--warn-text)}html[data-theme] body .flight-weather-banner.unknown{background:var(--surface-soft);color:var(--text);border-color:var(--text-muted)}html[data-theme] body .flight-weather-banner small{color:inherit}
html[data-theme] body [data-uas-source]{background:var(--surface)!important;color:var(--text)!important;border-color:var(--stroke)!important;box-shadow:var(--surface-shadow)}html[data-theme] body [data-uas-source] :is(strong,small){color:var(--text)!important}html[data-theme] body [data-uas-source][data-source-status=online]>span,html[data-theme] body [data-uas-feed-status][data-source-status=online]{background:var(--good-bg)!important;color:var(--good-text)!important}html[data-theme] body [data-uas-source][data-source-status=offline]>span{background:var(--bad-bg)!important;color:var(--bad-text)!important}html[data-theme] body [data-uas-source][data-source-status=unknown]>span{background:var(--surface-soft)!important;color:var(--text-muted)!important}
html[data-theme] body .uas-panel :is(.uas-feed-controls>summary,.uas-wall-picker>summary){background:var(--surface-raised);color:var(--text)!important;border-color:var(--stroke)}html[data-theme] body .uas-panel .uas-card[data-source-status=offline] [data-uas-feed-status]{background:var(--bad-bg)!important;color:var(--bad-text)!important}html[data-theme] body .uas-panel .uas-card[data-source-status=online] [data-uas-feed-status]{background:var(--good-bg)!important;color:var(--good-text)!important}html[data-theme] body .uas-panel .uas-card[data-source-status=offline] [data-uas-player-status]{color:var(--warn-text)!important}html[data-theme] body .uas-panel .source-chooser-prompt{background:var(--surface-soft);color:var(--text-muted);border-color:var(--stroke)}html[data-theme] body [data-uas-source][aria-pressed=true]{border-color:var(--accent)!important;box-shadow:0 0 0 1px var(--accent)}
@media(max-width:1100px){html[data-theme] .workspace-header .account #identity{display:none}html[data-theme] .workspace-header .account-dot{display:none}}
@media(max-width:600px){html[data-theme] body .workspace-header{gap:8px;flex-wrap:wrap}.workspace-header .appearance-control{margin-left:auto!important}.workspace-header .workspace-heading{flex-basis:calc(100% - 60px)}html[data-theme] .appearance-control select{width:75px}.appearance-control{gap:4px;max-width:112px}.viewer-header-tools{gap:7px}html[data-theme] body.live-viewer .topbar{padding:13px;gap:9px;align-items:flex-start;flex-wrap:wrap}.live-viewer .brand{flex:1 1 200px}.live-viewer .viewer-header-tools{flex:1 1 auto}.live-viewer #account{flex:0 0 auto}.live-viewer .brand small{font-size:10px}}
@media(max-width:850px){html[data-theme] body .workspace-header{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px 16px}html[data-theme] .workspace-header #workspace-menu{grid-column:1;grid-row:1;padding:8px}html[data-theme] .workspace-header .workspace-heading{grid-column:2;grid-row:1}html[data-theme] .workspace-header .account{grid-column:3;grid-row:1;padding:0;border:0;flex-basis:auto;justify-content:flex-end}html[data-theme] .workspace-header #workspace-find{grid-column:1/3;grid-row:2;justify-self:start;min-height:38px}html[data-theme] .workspace-header .appearance-control{grid-column:3;grid-row:2;margin:0!important}html[data-theme] .workspace-header .account button{min-height:38px}}
@media(prefers-reduced-motion:no-preference){html[data-theme] :is(.card,.metric,.maintenance-work-card,.aircraft-record-card,.uas-source-card){transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}}

html[data-theme] body.field-utility section{background:var(--surface);color:var(--text);border-color:var(--stroke)}html[data-theme] body.field-utility :is(header,section,article,figure){border-color:var(--stroke)}

/* Operational dashboard: compact metrics and purposeful movement. */
html[data-theme] [data-panel="overview"]{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:14px;align-items:stretch}
html[data-theme] [data-panel="overview"]>.welcome{grid-column:1/-1;order:1;padding:0 0 2px;margin:0;min-width:0}
html[data-theme] [data-panel="overview"]>.welcome h2{font-size:clamp(24px,2.2vw,31px);margin-bottom:3px}
html[data-theme] [data-panel="overview"]>.streamlined-overview{grid-column:1/-1;order:2;margin:0;display:block}
html[data-theme] [data-panel="overview"] .program-summary{display:grid;grid-template-columns:minmax(135px,.8fr) minmax(0,3.2fr) auto;align-items:center;gap:14px;padding:15px 18px;border-radius:16px}
html[data-theme] [data-panel="overview"] .program-summary>.eyebrow{display:none}
html[data-theme] [data-panel="overview"] .program-summary>h3{margin:0;font-size:15px}
html[data-theme] [data-panel="overview"] .program-summary>.muted{display:none}
html[data-theme] [data-panel="overview"] .program-summary>a{white-space:nowrap;font-size:12px}
html[data-theme] [data-panel="overview"] .summary-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0}
html[data-theme] [data-panel="overview"] .summary-stats>div{padding:0 14px;border-left:1px solid var(--stroke);min-width:0}
html[data-theme] [data-panel="overview"] .summary-stats strong{font-size:22px;line-height:1.15;overflow-wrap:anywhere}
html[data-theme] [data-panel="overview"] .summary-stats span{display:block;font-size:11px;margin-top:4px;color:var(--text-muted)}
html[data-theme] [data-panel="overview"]>.overview-flight-card{grid-column:1;order:3;margin:0;padding:22px;display:flex;flex-direction:column;justify-content:space-between;gap:22px;border-radius:18px;position:relative;overflow:hidden;background:linear-gradient(145deg,var(--surface),var(--surface-soft))}
html[data-theme] [data-panel="overview"] .overview-flight-card h3{font-size:24px;letter-spacing:-.035em;margin:0 0 14px}
html[data-theme] [data-panel="overview"] .command-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:20px 0 14px;list-style:none}
html[data-theme] [data-panel="overview"] .command-steps li{font-size:12px;color:var(--text);font-weight:650;min-width:0}
html[data-theme] [data-panel="overview"] .command-steps li span{display:block;color:var(--accent-text);background:var(--accent-soft);border:1px solid var(--stroke);border-radius:10px;padding:9px 10px;margin-bottom:6px;font-size:13px}
html[data-theme] [data-panel="overview"] .command-subtext{font-size:12px;color:var(--text-muted);margin:0}
html[data-theme] [data-panel="overview"] .overview-flight-actions{display:flex;flex-wrap:wrap;gap:8px}
html[data-theme] [data-panel="overview"]>.overview-weather-grid{grid-column:2;order:4;margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
html[data-theme] [data-panel="overview"] .weather-hero,html[data-theme] [data-panel="overview"] .overview-readiness{margin:0;padding:18px 20px;border-radius:18px}
html[data-theme] [data-panel="overview"] .weather-hero{min-height:0}
html[data-theme] [data-panel="overview"] .weather-temp{font-size:36px;line-height:1}
html[data-theme] [data-panel="overview"] .weather-facts{margin-top:10px;padding-top:10px}
html[data-theme] [data-panel="overview"] .overview-readiness h3{margin:0 0 4px}
html[data-theme] [data-panel="overview"] .overview-readiness label{margin:6px 0 4px}
html[data-theme] [data-panel="overview"] .readiness-note{margin:8px 0 2px}
html[data-theme] [data-panel="overview"]>#flight-guide-resume{grid-column:1/-1;order:5}
html[data-theme] [data-panel="overview"]>.overview-utility-grid{grid-column:1/-1;order:6;margin:0}
html[data-theme] [data-panel="overview"]>.overview-metar{grid-column:1/-1;order:7;margin:0}
html[data-theme] [data-panel="overview"]>.alert-summary{grid-column:1/-1;order:8;margin:0}
html[data-theme] .sidebar .nav-group-links a[aria-current=page]{box-shadow:inset 0 0 0 1px var(--accent-soft)}
html[data-theme] body.live-viewer .uas-panel .uas-heading{border-bottom:1px solid var(--stroke);padding-bottom:15px;margin-bottom:16px}
html[data-theme] body.live-viewer .uas-panel .uas-source-buttons{gap:12px}
html[data-theme] body.live-viewer .uas-panel .uas-source{border-radius:16px;min-height:94px;padding:15px 18px;position:relative;overflow:hidden}
html[data-theme] body.live-viewer .uas-panel .uas-source[aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--accent);border-color:var(--accent)!important}
html[data-theme] body.live-viewer .uas-panel .uas-source strong{font-size:16px;letter-spacing:-.02em}
html[data-theme] body.live-viewer .uas-panel .uas-source small{color:var(--text-muted)}
@media (prefers-reduced-motion:no-preference){
 html[data-theme] [data-panel="overview"]>.streamlined-overview,html[data-theme] [data-panel="overview"]>.overview-flight-card,html[data-theme] [data-panel="overview"]>.overview-weather-grid{animation:command-reveal .48s cubic-bezier(.2,.7,.2,1) both}
 html[data-theme] [data-panel="overview"]>.overview-flight-card{animation-delay:.08s}html[data-theme] [data-panel="overview"]>.overview-weather-grid{animation-delay:.16s}
 html[data-theme] [data-panel="overview"] .weather-hero-top svg{animation:weather-drift 5s ease-in-out infinite}
 html[data-theme] body.live-viewer .uas-panel .uas-source[data-source-status="online"] span:before{animation:live-breathe 2s ease-in-out infinite}
 html[data-theme] body.live-viewer .uas-panel .uas-source:hover{transform:translateY(-3px);box-shadow:0 10px 26px #0002}
 html[data-theme] [data-panel="overview"] .command-steps li span{transition:transform .2s ease,background .2s ease}html[data-theme] [data-panel="overview"] .command-steps li:hover span{transform:translateY(-3px)}
}
@keyframes command-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes weather-drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes live-breathe{0%,100%{opacity:1}50%{opacity:.35}}
@media(max-width:900px){html[data-theme] [data-panel="overview"] .program-summary{grid-template-columns:1fr auto}html[data-theme] [data-panel="overview"] .program-summary .summary-stats{grid-column:1/-1;grid-row:2}html[data-theme] [data-panel="overview"] .program-summary .summary-stats>div:first-child{border-left:0;padding-left:0}}
@media(max-width:700px){html[data-theme] [data-panel="overview"]{grid-template-columns:minmax(0,1fr)}html[data-theme] [data-panel="overview"]>.overview-flight-card,html[data-theme] [data-panel="overview"]>.overview-weather-grid{grid-column:1}html[data-theme] [data-panel="overview"] .program-summary .summary-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px}html[data-theme] [data-panel="overview"] .summary-stats>div:nth-child(3){border-left:0;padding-left:0}html[data-theme] [data-panel="overview"] .command-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}html[data-theme] [data-panel="overview"] .command-steps li{font-size:10px}html[data-theme] [data-panel="overview"] .command-steps li span{padding:7px}html[data-theme] [data-panel="overview"]>.overview-flight-card{padding:18px}}
@media(max-width:700px){html[data-theme] [data-panel="overview"] .overview-flight-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}html[data-theme] [data-panel="overview"] .overview-flight-actions>button,html[data-theme] [data-panel="overview"] .overview-flight-actions>details{width:100%;min-width:0;margin:0}html[data-theme] [data-panel="overview"] .overview-flight-actions>button{font-size:12px;line-height:1.25;padding:8px}html[data-theme] [data-panel="overview"] .overview-flight-actions>details>summary{height:100%;display:flex;align-items:center;justify-content:center;font-size:12px}}
@media(min-width:901px){html[data-theme] [data-panel="overview"]>.overview-weather-grid{display:contents}html[data-theme] [data-panel="overview"] .overview-weather-grid>.weather-hero{grid-column:2;order:4}html[data-theme] [data-panel="overview"] .overview-weather-grid>.overview-readiness{grid-column:1/-1;order:5;display:grid;grid-template-columns:minmax(160px,1fr) minmax(190px,1fr) minmax(250px,1.2fr);column-gap:18px;align-items:center}html[data-theme] [data-panel="overview"] .overview-readiness>div:first-child{grid-column:1;grid-row:1}html[data-theme] [data-panel="overview"] .overview-readiness>label{grid-column:2;grid-row:1}html[data-theme] [data-panel="overview"] .overview-readiness>select{grid-column:2;grid-row:2}html[data-theme] [data-panel="overview"] .overview-readiness>.overview-condition{grid-column:3;grid-row:1/3}html[data-theme] [data-panel="overview"] .overview-readiness>.readiness-note{grid-column:1/3;grid-row:3}html[data-theme] [data-panel="overview"] .overview-readiness>a{grid-column:3;grid-row:3}}
html[data-theme] [data-panel="overview"]>.overview-flight-card{align-items:stretch;justify-content:flex-start;gap:14px}

/* Navy and fire red operational accents. Status colors remain semantic. */
html[data-theme]{--accent:#2c6292;--accent-soft:#e6edf6;--accent-text:#244e78;--brand:#a43145;--map-filter:grayscale(.85) saturate(.35) contrast(.88) brightness(1.08)}
html[data-theme=dark]{--accent:#98bfe8;--accent-soft:#29384a;--accent-text:#c3dcf5;--brand:#b43e53}
html[data-theme] [data-panel="overview"]>.overview-flight-card{overflow:visible;z-index:4}
html[data-theme] [data-panel="overview"] .overview-more-actions[open]{position:relative;z-index:50}
html[data-theme] body .records-table th button{display:inline-flex!important;width:auto!important;min-width:0!important;min-height:0!important;padding:4px 2px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;line-height:1.3;box-shadow:none!important;text-align:left}
html[data-theme] body .records-table th{padding:10px 14px;white-space:normal}
html[data-theme] body .weather-hero{background:linear-gradient(140deg,#e4edf8,#f4f7fb)!important;color:#213b57!important;border-color:#c5d5e7!important}
html[data-theme=dark] body .weather-hero{background:linear-gradient(140deg,#26384a,#202d3a)!important;color:#e8f0f8!important;border-color:#435970!important}

.overview-extra-weather{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.overview-extra-weather span,.overview-extra-weather strong{display:block;font-size:11px}.overview-next-hours{margin-top:14px;border-top:1px solid var(--stroke);padding-top:12px}.overview-next-hours>strong{font-size:12px}#overview-four-hours{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:7px}#overview-four-hours>div{background:var(--surface-soft);border:1px solid var(--stroke);border-radius:9px;padding:7px;min-width:0}#overview-four-hours :is(small,strong,span){display:block;overflow-wrap:anywhere}#overview-four-hours span{font-size:10px;color:var(--text-muted)}@media(max-width:380px){#overview-four-hours{grid-template-columns:repeat(2,minmax(0,1fr))}}
html[data-theme=light] body .weather-hero :is(h3,h3 span,p,span,strong,small,a,.eyebrow,.weather-temp,.weather-timestamp){color:#213b57!important}
html[data-theme=light] body .weather-hero svg{color:#315a86!important}

.maintenance-simple-toggle{margin:4px 0 10px}.maintenance-simple-buttons{display:flex;flex-wrap:wrap;gap:6px}.maintenance-simple-buttons[hidden]{display:none!important}.maintenance-simple-buttons button{min-height:44px;padding:8px 12px;font-size:12px}.maintenance-simple-buttons button[aria-pressed=true]{background:var(--accent-soft)!important;color:var(--accent-text)!important;border-color:var(--accent)!important;box-shadow:inset 0 0 0 1px var(--accent)!important}@media(max-width:600px){.maintenance-simple-buttons button{flex:1 1 0;min-width:0}.maintenance-simple-buttons button:nth-child(2){flex:1.6 1 0}.maintenance-check-row{margin-bottom:12px}}
/* Contrast repairs for headings, record controls, weather, and status text. */
html[data-theme] body .skip-link{background:var(--surface);color:var(--text)!important;border:1px solid var(--stroke)}
html[data-theme] body .section-title p:not(.eyebrow),html[data-theme] body :is(#telemetry-status,#telemetry-tracks p,#plan-traffic-status){color:var(--text-muted)}
html[data-theme] body .metric span,html[data-theme] body .map-footer span{color:var(--text-muted)}
html[data-theme] body #map-status:not(:empty){color:var(--warn-text)}
html[data-theme] body .record-export-menu>summary{background:var(--surface-soft);border-color:var(--stroke);color:var(--text)}
html[data-theme] body .observation-hero>span{background:var(--surface-soft);color:var(--text);border:1px solid var(--stroke)}
html[data-theme] body.live-viewer .viewer-options>.viewer-tools{background:var(--surface-raised);color:var(--text);border-color:var(--stroke)}

/* Compact, aligned workflow and weather controls. */
html[data-theme] [data-panel="overview"] .command-steps li span{display:inline;color:var(--accent-text);background:none;border:0;padding:0;margin:0 5px 0 0;border-radius:0}
html[data-theme] [data-panel="overview"] .command-steps li:hover span{transform:none}
html[data-theme] [data-panel="overview"] .overview-flight-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}
html[data-theme] [data-panel="overview"] .overview-flight-actions>button,html[data-theme] [data-panel="overview"] .overview-flight-actions>details{width:100%;min-width:0;margin:0}
html[data-theme] [data-panel="overview"] .overview-flight-actions>details>summary{min-height:48px;height:100%;display:flex;align-items:center;justify-content:center}
@media(min-width:901px){html[data-theme] [data-panel="overview"] .overview-weather-grid>.overview-readiness{grid-template-columns:minmax(200px,1fr) minmax(200px,1fr) minmax(240px,1.1fr);align-items:start;row-gap:8px}html[data-theme] [data-panel="overview"] .overview-readiness>label{grid-column:2;grid-row:1}html[data-theme] [data-panel="overview"] .overview-readiness>select{grid-column:2;grid-row:2}html[data-theme] [data-panel="overview"] .overview-readiness>.overview-condition{grid-column:3;grid-row:1/3}html[data-theme] [data-panel="overview"] .overview-readiness>.readiness-note{grid-row:3}html[data-theme] [data-panel="overview"] .overview-readiness>a{grid-row:3}}
.wx-workspace #wx-location{align-items:end}.wx-workspace #wx-location label{display:flex;flex-direction:column;gap:6px;margin:0}.wx-workspace #wx-location input,.wx-workspace #wx-location button{min-height:48px;margin:0}.readiness-maintenance{margin-top:24px}.readiness-maintenance h4{margin-bottom:10px}

@media(min-width:901px){html[data-theme] [data-panel="overview"] .overview-readiness>.overview-weather-criteria{grid-column:2;grid-row:1/3;margin:0;align-self:center}}

/* Responsive workspace header: the menu needs room for both its icon and text. */
@media(max-width:850px){html[data-theme] body .workspace-header{grid-template-columns:max-content minmax(0,1fr) max-content;column-gap:12px}html[data-theme] .workspace-header #workspace-menu{width:auto;min-width:0;white-space:nowrap}html[data-theme] .workspace-header .workspace-heading{min-width:0}html[data-theme] .workspace-header .workspace-heading h1{font-size:clamp(18px,3.1vw,24px);line-height:1.15;overflow-wrap:anywhere}html[data-theme] .workspace-header .breadcrumb{overflow-wrap:anywhere}html[data-theme] .workspace-header .account{min-width:0}}
@media(max-width:420px){html[data-theme] .workspace-header #workspace-menu{width:44px;min-width:44px;justify-content:center}}
/* Month calendar: readable week grid with a compact day detail on phones. */
.calendar-section-header,.month-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.calendar-section-header h3,.month-calendar-heading h4{margin:0}.calendar-section-header p,.month-calendar>p{color:var(--text-muted);margin:4px 0 12px}.calendar-section-actions,.month-calendar-controls{display:flex;gap:8px;flex-wrap:wrap}.month-calendar{margin-top:18px}.month-calendar-controls button{min-width:42px;min-height:42px;margin:0}.month-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-weekday{font-size:12px;font-weight:700;color:var(--text-muted);text-align:center;padding:6px}.calendar-day{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px;min-width:0;min-height:112px;padding:9px;text-align:left;background:var(--surface-soft);border:1px solid var(--stroke);color:var(--text);border-radius:9px}.calendar-day-number{align-self:flex-start}.calendar-day[aria-current=date] .calendar-day-number{color:var(--accent-text);text-decoration:underline;text-underline-offset:3px}.calendar-day[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.calendar-day-events{display:grid;gap:3px;min-width:0}.calendar-day-events>span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-event{padding:3px 5px;border-left:3px solid var(--accent);background:var(--accent-soft);color:var(--accent-text);border-radius:4px}.calendar-event[data-kind=training]{border-left-color:#a43145}.calendar-event[data-kind=maintenance]{border-left-color:#ad7430}.calendar-event[data-status=cancelled]{text-decoration:line-through;opacity:.7}.calendar-event-count{display:none}.calendar-day-detail{margin-top:12px;padding:14px;border:1px solid var(--stroke);border-radius:10px;background:var(--surface-soft)}.calendar-day-detail h4,.calendar-day-detail p{margin:0}.calendar-detail-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--stroke)}.calendar-detail-row:first-of-type{margin-top:8px}.calendar-detail-row div{min-width:0}.calendar-detail-row strong,.calendar-detail-row span{display:block;overflow-wrap:anywhere}.calendar-detail-row span{color:var(--text-muted);font-size:12px}.calendar-list{margin-top:18px}.calendar-list summary{cursor:pointer;font-weight:700}.calendar-list .table-scroll{margin-top:10px}
@media(max-width:700px){.calendar-day{min-height:65px;padding:6px;align-items:center;gap:3px}.calendar-day-number{align-self:center}.calendar-day-events{display:none}.calendar-event-count{display:block;font-size:10px;font-weight:700;color:var(--accent-text);background:var(--accent-soft);border-radius:99px;padding:1px 5px}.calendar-weekday{font-size:10px;padding:4px 0}.month-calendar-grid{gap:3px}.calendar-section-actions>button{flex:1 1 auto}.calendar-detail-row{align-items:flex-start}}
@media(prefers-reduced-motion:no-preference){.calendar-day{transition:border-color .18s,transform .18s,box-shadow .18s}.calendar-day:hover{transform:translateY(-2px);border-color:var(--accent)}}
/* Consistent navy/blue status and clearer workspace hierarchy. */
html[data-theme=light] body :is(.flight-weather-banner.safe,.overview-condition.safe){background:#e5eef9;color:#163c68;border-color:#416e9c}
html[data-theme=dark] body :is(.flight-weather-banner.safe,.overview-condition.safe){background:#203b58;color:#d5eaff;border-color:#8bbce9}
html[data-theme] body .wx-assessment.within{border-left-color:var(--accent)!important}
html[data-theme] body #content :is(.card,.map-card){min-width:0}
html[data-theme] body #content :is(.section-title,.weather-heading){gap:14px;flex-wrap:wrap;align-items:center}
html[data-theme] body #content :is(h1,h2,h3,h4){overflow-wrap:anywhere}
html[data-theme] body #content :is(button,a,summary):focus-visible{outline:3px solid var(--accent);outline-offset:3px}
html[data-theme] body .calendar-section{padding:clamp(16px,2.4vw,28px)}
html[data-theme] body .calendar-section-header{padding-bottom:14px;border-bottom:1px solid var(--stroke)}
html[data-theme] body .calendar-section-header h3{font-size:clamp(20px,2vw,25px);letter-spacing:-.025em}
@media(prefers-reduced-motion:no-preference){html[data-theme] body .calendar-section{animation:command-reveal .35s ease both}}
/* Keep the full theme name visible, including in narrow windows. */
html[data-theme] body .appearance-control{max-width:none}
html[data-theme] body .appearance-control select{width:94px;min-width:94px}
/* Data-bound wind bars and compact metric surfaces. */
html[data-theme] [data-panel="overview"] .program-summary .summary-stats>div{min-width:0;border:1px solid var(--stroke);border-radius:10px;background:var(--surface-soft);padding:11px 12px}
html[data-theme] [data-panel="overview"] .program-summary .summary-stats{gap:8px}
.forecast-wind-meter{display:block;height:4px;margin-top:6px;border-radius:9px;background:var(--stroke);overflow:hidden}.forecast-wind-meter>i{display:block;height:100%;background:var(--accent);border-radius:inherit;transform-origin:left}
@media(prefers-reduced-motion:no-preference){.forecast-wind-meter>i{animation:wind-reveal .55s ease both}@keyframes wind-reveal{from{transform:scaleX(0)}to{transform:scaleX(1)}}}

/* Source: map-presentation.css */
/* Quiet basemap + truthful FAA overlays. Filters affect only the street raster. */
.leaflet-container .leaflet-layer.slfd-basemap{filter:var(--map-filter)}#planning-map{background:var(--surface-soft)}
html[data-theme] .planning-map-header{padding:12px 14px;background:var(--surface);border-bottom:1px solid var(--stroke)}html[data-theme] .planning-map-title strong{color:var(--text);font-size:14px}html[data-theme] .planning-map-title small{color:var(--text-muted);font-size:10px}.planning-map-icon{background:var(--accent-soft);color:var(--accent);width:32px;height:32px;flex-basis:32px;border-radius:9px}
.map-header-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.map-header-tools>button{min-height:36px;padding:7px 10px;font-size:12px}.planning-map-actions{padding:7px 14px;min-height:43px}.map-locations{gap:5px}.map-locations .planning-group-label{display:none}.map-locations :is(button,a){min-height:32px;padding:5px 9px;font-size:11px}.map-locations a{background:var(--surface);color:var(--accent-text);border-color:var(--stroke)}
.map-utility-menu,.map-layers-menu{position:relative;margin:0;color:var(--text)}.map-utility-menu>summary,.map-layers-menu>summary{display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;border:1px solid var(--stroke);border-radius:9px;padding:8px 11px;min-height:36px;font-size:12px;background:var(--surface);color:var(--text);box-shadow:0 2px 7px #132f410a}.map-utility-menu>summary::marker,.map-layers-menu>summary::marker{content:''}.map-utility-menu>summary:after{content:'⌄';font-size:13px}.map-utility-menu[open]>summary,.map-layers-menu[open]>summary{border-color:var(--accent);color:var(--accent-text);background:var(--accent-soft)}
.map-utility-menu .map-capture{display:none}.map-utility-menu[open] .map-capture{display:flex;position:absolute;right:0;top:calc(100% + 8px);z-index:800;min-width:270px;max-width:calc(100vw - 48px);padding:14px;background:var(--surface-raised);border:1px solid var(--stroke);border-radius:12px;box-shadow:0 8px 25px #112d4225;gap:9px}.map-utility-menu .map-capture label{flex-basis:100%;color:var(--text-muted)}.map-utility-menu .map-capture select{max-width:none;flex:1 1 100%;min-height:40px}.map-utility-menu .map-capture button{width:100%;min-height:40px}
.planning-map-stage{position:relative;min-height:0;isolation:isolate}.map-layers-menu{position:absolute;right:12px;top:12px;z-index:600}.map-layers-menu>summary{box-shadow:0 3px 13px #0d263b20;min-height:40px}.map-layers-menu>summary span{font-size:21px;line-height:16px;transform:rotate(-12deg)}
#planning-map-card .map-layers-menu .map-layer-controls{display:none}#planning-map-card .map-layers-menu[open] .map-layer-controls{position:absolute;right:0;top:calc(100% + 7px);display:flex;flex-direction:column;align-items:stretch;width:275px;max-width:calc(100vw - 45px);padding:12px;gap:5px;background:var(--surface-raised);border:1px solid var(--stroke);border-radius:12px;box-shadow:0 8px 25px #112d4225}#planning-map-card .map-layer-controls .planning-group-label{display:none}#planning-map-card .map-layer-controls label{color:var(--text);font-size:12px;min-height:36px;white-space:normal}#planning-map-card .map-layer-controls button{margin:4px 0 0;min-height:36px}
.map-mini-legend{position:absolute;left:12px;bottom:33px;z-index:500;display:flex;gap:9px;flex-wrap:wrap;padding:6px 9px;border:1px solid var(--stroke);border-radius:7px;background:var(--surface);color:var(--text-muted);font-size:10px;box-shadow:0 2px 8px #12293912;pointer-events:none}.map-mini-legend span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:4px}.map-mini-legend .legend-grid:before{background:#6187b2}.map-mini-legend .legend-zero:before{background:#d8506d}.map-mini-legend .legend-unknown:before{background:#87939c}
:is(#planning-map,#wx-radar-map) .airspace-grid-label>span{font-size:11px;font-weight:750;line-height:18px;padding:0 3px;border:0;box-shadow:none;background:transparent;color:#123d47;text-shadow:1px 0 1px white,-1px 0 1px white,0 1px 1px white,0 -1px 1px white,1px 1px 2px white,-1px -1px 2px white;overflow:visible}
html[data-theme=dark] :is(#planning-map,#wx-radar-map) .airspace-grid-label>span{color:#ecfbff;text-shadow:1px 0 1px #14242e,-1px 0 1px #14242e,0 1px 1px #14242e,0 -1px 1px #14242e,1px 1px 2px #14242e,-1px -1px 2px #14242e}
:is(#planning-map,#wx-radar-map) .airspace-grid-label>span[data-ceiling=zero]{background:#a72f48;color:#fff;text-shadow:none;border-radius:4px;padding:0 5px}:is(#planning-map,#wx-radar-map) .airspace-grid-label>span[data-ceiling=unknown]{background:var(--surface);color:var(--text-muted);text-shadow:none;border-radius:4px}
.map-point-pin{background:transparent;border:0}.map-point-pin>span{position:absolute;width:25px;height:25px;left:1px;top:0;background:#163e4e;border:3px solid white;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 3px 6px #0a243b40}.map-point-pin>span:after{content:'';position:absolute;inset:5px;border-radius:50%;background:#b9e8ec}.map-airport-dot{background:#557ea9;box-shadow:0 0 0 2px #557ea9}
html[data-theme] .leaflet-control-zoom{border:1px solid var(--stroke)!important;box-shadow:0 3px 12px #0b28351a;border-radius:9px;overflow:hidden}html[data-theme] .leaflet-control-zoom a{background:var(--surface);color:var(--text)!important;border-color:var(--stroke)}html[data-theme] .leaflet-control-attribution{background:var(--surface);color:var(--text-muted)}html[data-theme] .leaflet-control-attribution a{color:var(--accent-text)}html[data-theme] .leaflet-control-scale-line{background:var(--surface);color:var(--text);border-color:var(--text-muted)}
html[data-theme] .map-selection-row{background:var(--surface-soft);border-color:var(--stroke);color:var(--text);padding:9px 13px}html[data-theme] #planning-map-card #map-layer-status{background:var(--surface);color:var(--text-muted);font-size:10px;padding:7px 14px;border-top:1px solid var(--stroke)}html[data-theme] .map-footer{border-color:var(--stroke);color:var(--text-muted);font-size:10px;padding:8px 14px}
#planning-map-card[data-expanded=true] .planning-map-stage{flex:1 1 auto;display:flex;min-height:0}#planning-map-card[data-expanded=true] #planning-map{width:100%;flex:1;min-height:0;height:auto}#planning-map-card[data-expanded=true] .planning-map-actions{flex:none}#planning-map-card[data-expanded=true] .map-header-tools{margin-left:auto}
@media(min-width:951px){.planning-grid{grid-template-columns:minmax(0,1fr) 292px;gap:14px}.planning-context .card{padding:15px}.planning-context .muted{font-size:11px}}
@media(max-width:600px){.planning-map-header{flex-wrap:wrap;gap:9px}.planning-map-title{flex:1 1 100%}.map-header-tools{width:100%;justify-content:flex-end}.map-header-tools>button,.map-utility-menu>summary{min-height:40px}.map-utility-menu[open] .map-capture{right:-105px}.map-locations{gap:4px}.map-locations :is(button,a){min-height:38px;padding:6px 8px;font-size:11px}.map-mini-legend{bottom:32px;left:8px;gap:5px;font-size:9px;padding:5px 7px}.map-layers-menu{top:9px;right:9px}.map-layers-menu>summary{min-height:42px}#planning-map-card[data-expanded=true] .planning-map-title{display:none}#planning-map-card[data-expanded=true] .planning-map-header{padding:7px 10px}#planning-map-card[data-expanded=true] .planning-map-actions{padding:4px 8px}}
#planning-map-card .map-layers-menu[open] .map-layer-controls{max-height:min(60dvh,440px);overflow-y:auto;overscroll-behavior:contain}

/* Source: ui-system.css */
/* Shared UI owner: shell, page layout, filters, live-weather, fleet and motion.
   Palette variables remain owned by appearance.css; semantic legacy modules retained. */
html[data-theme] body :is(main,[data-panel],.card,.section-title,.section-title>div,.room-form,label,.table-tools,.user-row){min-width:0}
html[data-theme] body :is(h1,h2,h3,h4,p,label,summary,button,a){overflow-wrap:break-word}
html[data-theme] body :is([data-panel="incident-rooms"],[data-panel="video-management"],[data-panel="flight-flow"]) :is(p,small,label){color:var(--text-muted)}
html[data-theme] body .flight-flow-cards span{color:var(--text-muted)}
html[data-theme] body [data-panel="video-management"] summary{color:var(--text)}
html[data-theme] body .section-title{align-items:center;gap:16px;flex-wrap:wrap}
html[data-theme] body .section-title>div{flex:1 1 240px}
html[data-theme] body .section-title>button{flex:0 0 auto}
html[data-theme] body .table-tools{display:grid;grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) repeat(5,auto);gap:8px;align-items:center}
html[data-theme] body .table-tools select{width:100%;min-width:0}
html[data-theme] body .table-tools button,html[data-theme] body .table-tools summary{white-space:normal;min-height:44px}
html[data-theme] body .user-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(160px,1fr) minmax(180px,2fr) auto auto;gap:12px;align-items:center}
html[data-theme] body .user-row select{width:100%}
html[data-theme] body [data-panel="operations"] .metric-grid[hidden],html[data-theme] body .record-section-summary[hidden]{display:none}
.record-section-summary{color:var(--text);display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.record-section-summary>span{background:var(--surface-soft);border:1px solid var(--stroke);border-radius:12px;padding:12px 18px}
/* Overview uses explicit areas; no fixed minimum columns at tablet widths. */
html[data-theme] body [data-panel="overview"]{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-areas:'intro intro' 'stats stats' 'status status' 'map weather' 'flight activity' 'utils utils' 'metar metar' 'alerts alerts';gap:16px;align-items:start}
html[data-theme] body [data-panel="overview"][hidden]{display:none}
html[data-theme] body [data-panel="overview"]>.welcome{grid-area:intro;margin:0}html[data-theme] body [data-panel="overview"]>.welcome h2{font-size:28px;margin:0 0 6px}html[data-theme] body [data-panel="overview"]>.streamlined-overview{grid-area:stats;display:block;margin:0}
html[data-theme] body [data-panel="overview"] .program-summary{grid-area:stats;display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:16px;margin:0}
html[data-theme] body [data-panel="overview"] .program-summary .summary-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:1 1 540px;gap:12px}
html[data-theme] body [data-panel="overview"] .summary-stats>div{min-width:0;border:0;padding:0}
html[data-theme] body [data-panel="overview"] .overview-weather-grid{display:contents}
html[data-theme] body [data-panel="overview"] .overview-weather-grid>.overview-readiness{grid-area:status;display:flex;flex-direction:row;align-items:center;padding:0;gap:12px;background:transparent;border:0;box-shadow:none}
html[data-theme] body [data-panel="overview"] .overview-readiness>.flight-weather-banner{flex:1 1 0;margin:0}
html[data-theme] body [data-panel="overview"] .overview-readiness>a{flex:0 0 auto;max-width:180px}
html[data-theme] body [data-panel="overview"] .overview-weather-grid>.weather-hero{grid-area:weather;padding:20px;background:var(--surface)!important;color:var(--text)!important;min-height:0;border:1px solid var(--stroke)!important}
html[data-theme] body [data-panel="overview"] .weather-hero :is(h3,p,span,strong,small,a,dt,dd){color:var(--text)!important}
html[data-theme] body [data-panel="overview"]>.overview-flight-card{grid-area:flight;min-height:0;margin:0;padding:20px;align-self:start}
html[data-theme] body [data-panel="overview"]>.overview-map-card{grid-area:map;margin:0;padding:20px}
html[data-theme] body [data-panel="overview"]>.overview-activity{grid-area:activity;margin:0;padding:20px}
html[data-theme] body [data-panel="overview"]>.overview-utility-grid{grid-area:utils}
html[data-theme] body [data-panel="overview"]>.overview-metar{grid-area:metar}
html[data-theme] body [data-panel="overview"]>.alert-summary{grid-area:alerts}
html[data-theme] body [data-panel="overview"]>#flight-guide-resume{grid-column:1/-1}
#overview-location-map{height:370px;border-radius:12px;border:1px solid var(--stroke);z-index:0}
.overview-asset,.overview-agenda-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;text-decoration:none;color:var(--text);border-top:1px solid var(--stroke);padding:14px 0}
.overview-asset small,.overview-agenda-item small{grid-column:1/-1;color:var(--text-muted)}
/* Current observation and four future slots share the same components. */
html[data-theme] body .weather-hero::after{display:none}
.confirm-action{width:min(540px,calc(100vw - 24px));background:var(--surface);color:var(--text);border:1px solid var(--stroke);border-radius:16px;padding:24px}.confirm-action form{display:grid;gap:16px}.confirm-action label{display:grid;gap:6px}.confirm-action input,.confirm-action textarea{width:100%;min-width:0}.delete-action{color:var(--bad-text)!important;border-color:var(--bad-text)!important}
.current-weather-top{display:flex;align-items:center;justify-content:space-between;margin:16px 0}.current-weather-top .weather-temp{font-size:42px;line-height:1.1}
.current-weather-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px;margin:16px 0}.current-weather-facts dt{font-size:12px;color:var(--text-muted)}.current-weather-facts dd{margin:3px 0;font-weight:700;font-size:14px}
.wx-location-caption,.wx-sources{color:var(--text-muted);font-size:12px}.weather-empty{padding:18px 0;margin:0;color:var(--text-muted)}
.next-four,html[data-theme] body #overview-four-hours{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.next-four>p{grid-column:1/-1}
.forecast-slot{min-width:0;background:var(--surface-soft);border:1px solid var(--stroke);border-radius:10px;padding:10px}.forecast-slot small,.forecast-slot strong,.forecast-slot>span{display:block}.forecast-slot strong{font-size:20px;margin:7px 0}.forecast-slot>span{font-size:11px;line-height:1.5}
.weather-rain-meter{height:4px;background:var(--stroke);border-radius:3px;margin-top:10px;overflow:hidden}.weather-rain-meter i{display:block;height:100%;background:var(--accent);transform-origin:left}
.flight-weather-banner{min-width:0;padding:16px 20px}.flight-weather-banner strong{font-size:22px;line-height:1.3}.flight-weather-banner strong,.flight-weather-banner>span,.flight-weather-banner>small{display:block}.flight-weather-banner details{margin-top:8px}.flight-weather-banner ul{padding-left:20px}
.wx-workspace #wx-location{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr)) repeat(3,auto);gap:10px;align-items:end;margin-bottom:16px}.wx-workspace #wx-location label{margin:0}.wx-workspace #wx-location button{min-height:44px;margin:0}
.wx-workspace #wx-conditions{display:grid;grid-template-columns:1fr;gap:16px}.wx-workspace #wx-conditions>.card{margin:0}.wx-workspace #wx-observation{padding:20px}
.wx-workspace .wx-tabs{display:flex;flex-wrap:wrap;overflow:visible;gap:8px}.wx-workspace .wx-tabs button{flex:1 1 auto;min-height:44px;white-space:normal}
.wx-forecast-details>summary{font-weight:700}.wx-forecast-details .wx-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.wx-workspace .wx-radio{border:0;padding:0;margin-top:16px}
/* Compact month + selected-day agenda. */
.month-calendar{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px}.month-calendar-heading,.month-calendar>p{grid-column:1/-1;margin:0}.month-calendar-grid{grid-column:1}.calendar-day-detail{grid-column:2;grid-row:3;align-self:start;margin:0}.calendar-day{min-height:82px}.calendar-detail-row{display:grid;grid-template-columns:1fr auto;gap:8px}.calendar-detail-row span{display:block;font-size:12px;color:var(--text-muted)}
.calendar-section-header{padding-bottom:12px;margin-bottom:14px}.calendar-section-header h3{font-size:16px}.calendar-section-header p{margin:0;font-size:13px}.calendar-conflict{color:var(--bad-text);font-weight:700}.calendar-day:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
/* Fleet cards provide the maintenance context without expanding the table. */
.readiness-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}.readiness-card{padding:18px;border:1px solid var(--stroke);border-radius:14px;background:var(--surface-soft)}.readiness-card h4{margin:10px 0}.readiness-card dl{display:grid;gap:10px}.readiness-card dl>div{display:grid;grid-template-columns:110px 1fr;gap:8px}.readiness-card dt{font-size:12px;color:var(--text-muted)}.readiness-card dd{margin:0;font-size:13px}.readiness-card .record-status-badge{display:inline-block}.readiness-maintenance{margin-top:24px}
.maintenance-progress{display:grid;grid-template-columns:1fr auto;gap:8px;margin:12px 0}.maintenance-progress progress{grid-column:1/-1;width:100%;height:8px;accent-color:var(--accent)}
@media(max-width:1350px){html[data-theme] body .table-tools{grid-template-columns:repeat(2,minmax(160px,1fr)) repeat(2,auto)}.wx-workspace #wx-location{grid-template-columns:repeat(2,minmax(0,1fr))}.wx-workspace #wx-location button{width:100%}.wx-workspace #wx-location #wx-gps{grid-column:1/-1}.month-calendar{grid-template-columns:minmax(0,1fr)}.calendar-day-detail{grid-column:1;grid-row:auto}}
@media(max-width:1100px){html[data-theme] body [data-panel="overview"]{grid-template-columns:minmax(0,1fr);grid-template-areas:'intro' 'stats' 'status' 'flight' 'weather' 'map' 'activity' 'utils' 'metar' 'alerts'}html[data-theme] body [data-panel="overview"] .overview-readiness{flex-wrap:wrap}html[data-theme] body [data-panel="overview"] .overview-readiness>.flight-weather-banner{flex-basis:100%}html[data-theme] body .user-row{grid-template-columns:repeat(2,minmax(0,1fr))}.user-row>small{grid-column:1/-1}}
@media(max-width:600px){html[data-theme] body .table-tools{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme] body .table-tools select{grid-column:1/-1;min-height:44px}html[data-theme] body .table-tools .column-picker{min-width:0}html[data-theme] body [data-panel="overview"] .program-summary .summary-stats{grid-template-columns:repeat(2,minmax(0,1fr));flex-basis:100%}.current-weather-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.next-four,html[data-theme] body #overview-four-hours{grid-template-columns:repeat(2,minmax(0,1fr))}.forecast-slot{padding:10px}.calendar-day{min-height:58px}#overview-location-map{height:280px}html[data-theme] body .user-row{grid-template-columns:minmax(0,1fr)}.overview-asset{grid-template-columns:minmax(0,1fr)}.overview-asset small{grid-column:auto}}
@media(prefers-reduced-motion:no-preference){[data-panel]:not([hidden]){animation:workspace-enter .2s ease-out}.weather-rain-meter i{animation:meter-enter .35s ease-out}.overview-asset:hover,.overview-agenda-item:hover{background:var(--surface-soft)}.readiness-card{transition:border-color .2s ease}.readiness-card:hover{border-color:var(--accent)}@keyframes workspace-enter{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes meter-enter{from{transform:scaleX(0)}to{transform:scaleX(1)}}}
@media(prefers-reduced-motion:reduce){html[data-theme] body *,html[data-theme] body *:before,html[data-theme] body *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.location-dialog{width:min(880px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--stroke);border-radius:18px;padding:20px}.location-dialog::backdrop{background:rgba(0,0,0,.6)}.location-dialog .section-title{display:flex;justify-content:space-between;align-items:center}.location-dialog h2{margin:0}.location-dialog p{color:var(--text-muted)}#shared-location-map{height:min(55dvh,500px);min-height:220px;border:1px solid var(--stroke);border-radius:12px}#workspace-location{white-space:nowrap;min-height:44px}.leaflet-container{background:var(--surface-soft)!important}

.aircraft-reference{margin:0 0 16px;max-width:480px}.aircraft-reference img{display:block;object-fit:contain;object-position:center;width:100%;height:180px;box-sizing:border-box;padding:10px;background:#fff;border:1px solid var(--stroke);border-radius:12px}.aircraft-reference figcaption{font-size:11px;line-height:1.5;color:var(--text-muted);padding-top:6px}.aircraft-reference figcaption a{color:var(--text-muted)}.overview-asset .aircraft-reference{grid-column:1/-1;width:100%;margin:0}.aircraft-reference.compact img{height:140px}
.inspection-intro{grid-column:1/-1;border:1px solid var(--stroke);border-radius:14px;padding:16px;background:var(--surface-soft)}.inspection-intro h4{margin:0}.inspection-intro p{margin:8px 0}.inspection-model-note{font-size:12px;color:var(--text-muted)}.inspection-guide{grid-column:1/-1;min-width:0;border:1px solid var(--stroke);border-radius:16px;padding:16px;background:var(--surface)}.inspection-guide[hidden]{display:none}.inspection-toolbar,.inspection-nav{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.inspection-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(250px,1fr);gap:20px}.inspection-stage{min-width:0;background:var(--surface-soft);border-radius:14px;overflow:hidden}.inspection-stage model-viewer{display:block;width:100%;height:360px;min-height:260px;--poster-color:transparent}.inspection-stage .aircraft-reference{margin:12px}.inspection-step{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:12px}.inspection-step h4,.inspection-step p{margin:0}.inspection-step ul{padding-left:20px;margin:0}.inspection-step li{margin-bottom:10px;line-height:1.6}.inspection-step progress{width:100%;height:8px;accent-color:var(--accent)}.inspection-results{display:grid;grid-template-columns:1fr 1fr;gap:8px}.inspection-results button{min-height:48px}.inspection-results button:last-child{grid-column:1/-1}.inspection-results button[aria-pressed=true]{outline:2px solid var(--accent);background:var(--surface-strong);color:var(--text)}.inspection-results button[data-value=attention]{color:var(--bad-text);border-color:var(--bad-text)}.inspection-viewer-status{color:var(--text-muted);font-size:12px}.inspection-step [data-result=attention]{color:var(--bad-text);font-weight:700}@media(max-width:850px){.inspection-content{grid-template-columns:minmax(0,1fr)}.inspection-stage model-viewer{height:270px}.inspection-guide{padding:12px}}

.inspection-hotspot{display:grid;place-items:center;width:28px;height:28px;border:2px solid white;border-radius:50%;background:#285c94;color:#fff;font-weight:700;box-shadow:0 2px 12px #0005;pointer-events:none}.inspection-hotspot[hidden]{display:none}.inspection-stage model-viewer{--min-hotspot-opacity:.25}.inspection-step [data-result=pass]{color:var(--accent)}@media(prefers-reduced-motion:no-preference){.inspection-hotspot{animation:inspection-focus .3s ease-out}@keyframes inspection-focus{from{transform:scale(.6)}to{transform:scale(1)}}}

#overview-fleet-meter{display:flex;align-items:center;gap:18px;margin:8px 0 20px}#overview-fleet-meter:empty{display:none}#overview-fleet-meter p{margin:4px 0}#overview-fleet-meter small{color:var(--text-muted)}.fleet-readiness-ring{position:relative;flex:0 0 92px;height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:conic-gradient(var(--accent) var(--ready-angle),var(--stroke) 0)}.fleet-readiness-ring::before{content:'';position:absolute;inset:8px;border-radius:50%;background:var(--surface)}.fleet-readiness-ring>*{position:relative}.fleet-readiness-ring strong{font-size:26px;line-height:1.2}.fleet-readiness-ring small{font-size:11px}

/* Populated fleet layout: compact cards keep the overview balanced. */
html[data-theme] body [data-panel="overview"]{grid-template-areas:'intro intro' 'stats stats' 'status status' 'flight flight' 'map weather' 'activity activity' 'utils utils' 'metar metar' 'alerts alerts'}html[data-theme] body [data-panel="overview"]>.overview-flight-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,1fr);gap:24px;align-items:center}#overview-asset-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.overview-asset{grid-template-columns:minmax(0,1fr);gap:8px;border:1px solid var(--stroke);border-radius:12px;padding:12px}.overview-asset>a{font-weight:700;text-decoration:none}.overview-asset>.record-status-badge{justify-self:start}.overview-asset .aircraft-reference{grid-column:1}.overview-asset .aircraft-reference img{height:110px}.overview-asset small{grid-column:1}.aircraft-reference summary{font-size:11px;line-height:1.5;cursor:pointer}.record-status-badge[data-tone=good]{background:var(--info-bg)!important;color:var(--info-text)!important}#overview-agenda{margin-top:18px}#overview-agenda h4{margin-bottom:8px}@media(max-width:1100px){html[data-theme] body [data-panel="overview"]{grid-template-areas:'intro' 'stats' 'status' 'flight' 'weather' 'map' 'activity' 'utils' 'metar' 'alerts'}html[data-theme] body [data-panel="overview"]>.overview-flight-card{grid-template-columns:minmax(0,1fr)}#overview-asset-cards{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}}

.inspection-photo-comparison{padding:10px 12px;border-top:1px solid var(--stroke)}.inspection-photo-comparison summary{cursor:pointer;color:var(--text);font-weight:600;font-size:13px}.inspection-photo-comparison .aircraft-reference{margin:12px 0 0}
.inspection-mode-choices{display:flex;gap:10px;flex-wrap:wrap}.inspection-mode-choices button{flex:1;min-height:48px}.inspection-guide>select{width:100%;max-width:100%;margin-top:14px;white-space:normal}.inspection-guide .inspection-content{align-items:start}.inspection-guide .inspection-stage{position:sticky;top:12px}.inspection-view-caption{margin:0;padding:12px 14px;border-bottom:1px solid var(--stroke);font-size:12px;color:var(--text-muted);line-height:1.5}.inspection-stage model-viewer[hidden],.inspection-external[hidden],.guided-simple-list[hidden],.inspection-step [hidden],.inspection-mode-choices[hidden]{display:none!important}.inspection-phase{font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--accent);padding:7px 10px;border-radius:8px;background:var(--surface-soft);align-self:flex-start}.inspection-step .inspection-detail{font-size:13px;line-height:1.55;color:var(--text-muted)}.inspection-step>p{line-height:1.6}.inspection-blocked{padding:12px;border:1px solid var(--bad-text);border-radius:10px;background:var(--surface-soft);color:var(--bad-text)}.inspection-note{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.inspection-note textarea{width:100%;resize:vertical;min-height:70px}.inspection-sources{font-size:12px;line-height:1.5}.inspection-sources summary{cursor:pointer;font-weight:600}.inspection-sources>div{display:grid;gap:8px;margin-top:10px}.inspection-sources a{overflow-wrap:anywhere}.inspection-external{min-height:310px;padding:30px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--text)}.inspection-external-icon{font-size:64px;color:var(--accent)}.inspection-external p{font-size:13px;color:var(--text-muted)}.guided-simple-list{display:grid;gap:12px}.guided-simple-item{padding:14px;border:1px solid var(--stroke);border-radius:12px;background:var(--surface)}.guided-simple-item h4{margin:6px 0 8px}.guided-simple-item p{line-height:1.55;font-size:14px}.guided-simple-item label{display:grid;gap:6px;margin:8px 0}.guided-simple-item select,.guided-simple-item textarea{width:100%;max-width:100%}.guided-simple-item details{margin-top:10px}.guided-simple-item small{color:var(--text-muted)}.guided-simple-progress{font-weight:700;color:var(--text)}.inspection-step .inspection-results button{font-size:14px;padding:10px;overflow-wrap:anywhere}.inspection-step .inspection-nav button{flex:1;min-height:46px}.inspection-step .inspection-results button[data-value=na]{grid-column:1/-1}.inspection-step .inspection-results button[data-value=attention]{grid-column:auto}.inspection-guide textarea,.guided-simple-list textarea{box-sizing:border-box}@media(max-width:850px){.inspection-guide .inspection-stage{position:static}.inspection-guide .inspection-content{gap:14px}.inspection-external{min-height:220px}.inspection-guide .inspection-stage model-viewer{height:280px}.inspection-mode-choices button{flex-basis:100%}}
/* Equal edges on dashboard and planning workspace; map grows with its sidebar. */
html[data-theme] body [data-panel="overview"]{align-items:stretch}
html[data-theme] body [data-panel="overview"]>.overview-map-card{display:flex;flex-direction:column;align-self:stretch}
#overview-location-map{flex:1 1 auto;min-height:370px;height:auto}
html[data-theme] body [data-panel="overview"] .weather-hero{margin:0;align-self:stretch}
html[data-theme] body [data-panel="overview"]>.overview-metar,html[data-theme] body [data-panel="overview"]>.alert-summary{display:none}
html[data-theme] body .planning-grid{align-items:stretch}
html[data-theme] body #planning-map-card:not([data-expanded=true]){display:flex;flex-direction:column;align-self:stretch;min-height:0;height:auto;margin:0}
#planning-map-card:not([data-expanded=true]) .planning-map-stage{flex:1;display:flex;min-height:500px}
html[data-theme] body #planning-map-card:not([data-expanded=true]) #planning-map{flex:1;width:100%;height:auto;max-height:none;min-height:500px}
html[data-theme] body .planning-context{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:16px;align-content:stretch}
html[data-theme] body .planning-context>.card{margin:0;height:100%;min-width:0;box-sizing:border-box}
.planning-context .current-weather-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.planning-context .weather-temp{font-size:32px}
@media(max-width:950px){html[data-theme] body .planning-context{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto}html[data-theme] body .planning-context>.card.authorization{grid-column:auto}#planning-map-card:not([data-expanded=true]) .planning-map-stage,html[data-theme] body #planning-map-card:not([data-expanded=true]) #planning-map{min-height:430px}#overview-location-map{height:370px;flex:auto}}
@media(max-width:600px){html[data-theme] body .planning-context{grid-template-columns:1fr}#overview-location-map{min-height:320px}}
@media(prefers-reduced-motion:reduce){}

/* Size the inspection to its container, not the monitor width. */
html[data-theme] body #ops-editor.guided-inspection-open:not([hidden]){width:min(1120px,100vw)}
.inspection-guide{container-type:inline-size;scroll-margin-top:90px}
.inspection-guide .inspection-stage model-viewer{height:400px;width:100%;min-width:0}
.inspection-toolbar button{flex:1;min-height:44px}.inspection-guide .inspection-step{min-width:0}
@container(max-width:660px){.inspection-guide .inspection-content{grid-template-columns:minmax(0,1fr)}.inspection-guide .inspection-stage{position:static}.inspection-guide .inspection-stage model-viewer{height:320px}.inspection-guide .inspection-toolbar{display:grid;grid-template-columns:1fr 1fr}.inspection-guide .inspection-toolbar button:first-child{grid-column:1/-1}}

/* Source: workspace-experience.css */
/* v6.73: one spacing, typography and interaction system across operations. */
html[data-theme]{--accent:#386da7;--accent-soft:#e9f0f9;--accent-text:#25588e;--good-bg:#e8f0fb;--good-text:#24558c;--radius:16px}
html[data-theme=dark]{--accent:#9bc5f3;--accent-soft:#26394e;--accent-text:#b8d8fa;--good-bg:#233b55;--good-text:#c3dfff}
html[data-theme] body :is(.card,.map-card,.overview-flight-card,.weather-hero,.maintenance-work-card,.aircraft-record-card){border-radius:16px}
html[data-theme] body :is(h2,h3,h4){line-height:1.25;letter-spacing:-.025em}
html[data-theme] body h2{font-size:clamp(23px,2.1vw,30px)}html[data-theme] body h3{font-size:19px}html[data-theme] body h4{font-size:15px}
html[data-theme] body :is(button,.button,details>summary){line-height:1.35;min-height:42px;border-radius:10px}
html[data-theme] body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:10px}
html[data-theme] body :is(button,.button):focus-visible,html[data-theme] body a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
html[data-theme] body .section-title{margin-bottom:20px}.section-title :is(h2,h3){margin-bottom:6px}.section-title p:last-child{margin-bottom:0}
html[data-theme] body [data-panel=overview]{grid-template-areas:'intro intro' 'stats stats' 'status status' 'flight flight' 'map weather' 'open open' 'activity activity' 'utils utils';gap:18px}
html[data-theme] body [data-panel=overview]>.streamlined-overview{display:none}
.operation-metrics{grid-area:stats;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.operation-metric{display:grid;grid-template-columns:40px minmax(0,1fr);gap:5px 14px;padding:18px;background:var(--surface);border:1px solid var(--stroke);border-radius:16px;color:var(--text)!important;text-decoration:none!important}
.operation-metric svg,.workspace-empty svg{width:38px;height:38px;fill:none;stroke:var(--accent);stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;background:var(--accent-soft);padding:8px;border-radius:10px;grid-row:1/3}
.operation-metric strong{font-size:25px;line-height:1.1;align-self:end}.operation-metric>span{font-size:12px;font-weight:700}.operation-metric small{grid-column:1/-1;font-size:11px;color:var(--text-muted);margin-top:6px;line-height:1.5}
html[data-theme] body .overview-open-flights{grid-area:open;margin:0;padding:20px}.open-flight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px}
.open-flight-card{display:flex;flex-direction:column;gap:12px;padding:16px;background:var(--surface-soft);border:1px solid var(--stroke);border-radius:12px}.open-flight-heading{display:flex;justify-content:space-between;gap:10px;align-items:start}.open-flight-heading h4{margin:0}.open-flight-heading .record-status-badge{flex-shrink:0;font-size:11px}.open-flight-card>small{color:var(--text-muted)}.open-flight-card>button{margin-top:auto;align-self:start}.flight-next-reason{margin:0;font-size:13px;line-height:1.55;color:var(--text-muted)}
.flight-stage-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;list-style:none;padding:0;margin:4px 0}.flight-stage-track li{font-size:11px;color:var(--text-muted);border-top:4px solid var(--stroke);padding-top:7px}.flight-stage-track li[data-state=done]{border-color:var(--accent)}.flight-stage-track li[data-state=current]{color:var(--text);font-weight:750;border-color:var(--brand)}
.workspace-empty{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;background:var(--surface-soft);border:1px dashed var(--stroke);border-radius:12px}.workspace-empty p{margin:0;flex:1 1 220px;color:var(--text-muted);font-size:13px}
html[data-theme] body [data-panel=overview] .overview-readiness{position:relative}.overview-readiness>a{align-self:center}.overview-readiness .flight-weather-banner{border-radius:14px;padding:16px 18px}.overview-readiness .flight-weather-banner strong{font-size:19px}
html[data-theme] body [data-panel=overview]>.overview-flight-card{padding:20px;gap:20px}.overview-flight-card .command-steps{margin:16px 0;gap:12px}.overview-flight-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}.overview-flight-actions>button,.overview-flight-actions>details>summary{width:100%;height:100%;min-height:46px;margin:0!important}.overview-more-actions{min-width:0}.overview-more-actions>summary{display:flex;align-items:center;justify-content:center;border:1px solid var(--stroke);padding:10px 14px}.overview-more-actions[open]{z-index:800}.overview-more-body{z-index:801;min-width:240px;max-width:calc(100vw - 40px)}
.current-connection{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;margin:10px 0;color:var(--text-muted)}.current-connection>strong{background:var(--surface-soft);border:1px solid var(--stroke);border-radius:20px;padding:4px 8px;font-size:10px;letter-spacing:.03em}.current-connection[data-state=failed]>strong{color:var(--bad-text)}.current-connection[data-state=connected]>strong{color:var(--accent-text)}.current-weather-facts dd{font-variant-numeric:tabular-nums}.weather-coverage{border-top:1px solid var(--stroke);margin-top:14px;padding-top:10px}.weather-coverage>summary{font-size:12px;min-height:32px!important;padding:5px 0}.weather-coverage p{font-size:12px;color:var(--text-muted);line-height:1.55;margin:6px 0}.wx-sources{line-height:1.6}
.build-status{font-size:11px!important;min-height:32px!important;margin:16px 0;color:var(--text-muted)!important}.test-diagnostics{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:var(--surface);color:var(--text);padding:24px;border:1px solid var(--stroke);border-radius:18px}.test-diagnostics::backdrop{background:#07152299}.diagnostic-facts>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;border-bottom:1px solid var(--stroke);padding:12px 0}.diagnostic-facts dt{font-size:12px;color:var(--text-muted)}.diagnostic-facts dd{margin:0;font-size:13px;overflow-wrap:anywhere}.workspace-network{padding:12px 18px;background:var(--warn-bg);color:var(--warn-text);border:1px solid var(--warn-text);border-radius:10px;margin:12px 0}
.inspection-load-progress{width:100%;height:6px;accent-color:var(--accent);margin:8px 0}.inspection-retry{min-height:44px}.inspection-toolbar{align-items:center}.inspection-nav{position:sticky;bottom:0;background:var(--surface);padding:12px 0 4px;z-index:1}.inspection-nav button{flex:1}.inspection-step progress{margin:3px 0 10px}.guided-simple-item:focus-within{border-color:var(--accent)}
html[data-theme] body .planning-grid{grid-template-columns:minmax(0,1fr) minmax(280px,350px);gap:18px}.planning-context>.card{padding:20px!important}.planning-context .current-weather-facts{gap:12px}.planning-context p{font-size:13px;line-height:1.55}.planning-context .card>h3{margin-bottom:14px}.planning-context .current-connection{font-size:10px}.planning-context .current-connection span{display:block}.planning-context .current-weather-top{margin:10px 0}
.readiness-card{display:flex;flex-direction:column}.readiness-card dl{flex:1}.readiness-card>a{margin-top:10px}.readiness-card>button{margin-top:10px}.readiness-card .aircraft-reference img{height:150px}.record-actions{position:sticky;bottom:-24px;padding:14px 0;margin-top:18px;background:var(--surface);border-top:1px solid var(--stroke);z-index:5}.record-actions>button{min-height:44px}.records-empty{padding:28px!important}.records-empty h3{font-size:19px!important}.table-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.records-table th button{background:transparent!important;border:0!important;padding:0!important;min-height:36px!important;justify-content:flex-start;width:100%;text-align:left}.records-table td{vertical-align:middle;line-height:1.5}.records-table td button{margin:3px}.record-status-badge{line-height:1.5;padding:4px 9px;white-space:normal}
#guide-steps{gap:8px}#guide-steps li{min-width:0}#guide-steps button{width:100%;min-height:48px;white-space:normal}#guide-steps button[aria-current=step]{border-color:var(--brand);box-shadow:inset 0 -3px var(--brand)}.guide-footer{position:sticky;bottom:0;z-index:8;background:var(--surface);border-top:1px solid var(--stroke);padding:14px 0;gap:10px}#guide-dependencies{border-radius:12px}#guide-dependencies ul{padding-left:20px;line-height:1.65}.flight-flow-cards{gap:14px}.flight-flow-cards li{border-radius:14px;padding:18px}.flight-flow-cards strong{margin-bottom:8px}
@media(max-width:1200px){.operation-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.operation-metric strong{font-size:24px}}
@media(max-width:1100px){html[data-theme] body [data-panel=overview]{grid-template-areas:'intro' 'stats' 'status' 'flight' 'weather' 'map' 'open' 'activity' 'utils'}html[data-theme] body .planning-grid{grid-template-columns:minmax(0,1fr)}html[data-theme] body .planning-context{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto}.planning-context .card.authorization{grid-column:auto!important}}
@media(max-width:600px){html[data-theme] body :is(.card,.overview-flight-card){padding:16px}.operation-metrics{gap:10px}.operation-metric{padding:13px;grid-template-columns:28px minmax(0,1fr);gap:6px 8px}.operation-metric svg{width:28px;height:28px;padding:5px}.operation-metric strong{font-size:21px}.operation-metric small{font-size:10px}.overview-flight-actions{grid-template-columns:minmax(0,1fr)}.overview-flight-card .command-steps{font-size:11px;gap:6px}.overview-readiness>a{padding-bottom:6px}.open-flight-heading{flex-wrap:wrap}.diagnostic-facts>div{grid-template-columns:minmax(0,1fr);gap:4px}.test-diagnostics{padding:16px}.test-diagnostics .ops-actions>button{width:100%}html[data-theme] body .planning-context{grid-template-columns:minmax(0,1fr)}.guide-footer{flex-wrap:wrap}.guide-footer button{flex:1 1 120px}#guide-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.record-actions{bottom:-16px}.record-actions button{flex:1 1 120px}
 .responsive-records{display:block;min-width:0!important}.responsive-records thead{display:block}.responsive-records thead tr{display:flex;flex-wrap:wrap;padding:8px;gap:8px}.responsive-records thead th{display:block;padding:3px 6px;border:0;flex:1 1 65px;font-size:11px}.responsive-records tbody{display:block}.responsive-records tbody tr{display:block;padding:12px;margin:10px 0;border:1px solid var(--stroke);border-radius:12px;background:var(--surface)}.responsive-records tbody td{display:grid;grid-template-columns:minmax(70px,30%) minmax(0,1fr);gap:10px;width:auto!important;border:0;padding:7px;overflow-wrap:anywhere}.responsive-records tbody td:before{content:attr(data-label);font-size:11px;font-weight:700;color:var(--text-muted)}.responsive-records tbody td>button{max-width:100%;white-space:normal}.responsive-records tbody td>button~button{grid-column:2}.responsive-records tbody td[colspan]{display:block}.responsive-records tbody td[colspan]:before{display:none}
}
@media(prefers-reduced-motion:no-preference){.operation-metric,.open-flight-card{transition:border-color .18s,box-shadow .18s}.operation-metric:hover,.open-flight-card:focus-within{border-color:var(--accent);box-shadow:0 4px 18px #16334e12}.value-updated{animation:value-update .6s ease-out}@keyframes value-update{from{color:var(--accent);transform:translateY(2px)}to{transform:none}}.inspection-load-progress{transition:opacity .2s}.flight-stage-track li[data-state=current]{animation:stage-enter .35s ease-out}@keyframes stage-enter{from{opacity:.4}to{opacity:1}}}

.overview-open-flights[data-empty=true]>.section-title{display:none}.overview-open-flights[data-empty=true]{padding:12px!important}.overview-open-flights[data-empty=true] .workspace-empty{border:0;background:transparent;padding:4px}html[data-theme] body [data-panel=overview] .overview-readiness{display:flex;flex-direction:column;align-items:stretch;gap:8px}html[data-theme] body [data-panel=overview] .overview-readiness>a{align-self:flex-end;max-width:none;font-size:12px}

#planning-map-card .map-layers-menu[open]{z-index:1200}html[data-theme] body .nav-group a[aria-current=page]{border-left:3px solid var(--accent);font-weight:750;background:var(--accent-soft);color:var(--text)}

/* Source: import-library.css */
.import-dialog{width:min(1180px,94vw);max-height:92dvh;padding:clamp(16px,3vw,32px);color:var(--text,#182e40);background:var(--surface,#fff);border:1px solid var(--border,#adbccb);border-radius:22px;overflow:auto}.import-dialog::backdrop{background:#071522b8}.import-header,.import-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.import-header{position:sticky;top:-32px;background:inherit;z-index:3;padding:12px 0}.import-header h2{font-size:clamp(1.25rem,2vw,1.8rem);overflow-wrap:anywhere}.import-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:18px;margin-top:22px}.import-card{border:1px solid var(--border,#adbccb);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;background:var(--surface,#fff);min-width:0}.import-card img,.import-card video,.import-file-icon{width:100%;height:190px;object-fit:contain;background:#101b26}.import-file-icon{display:grid;place-items:center;color:#c5d9ef;font-weight:700;letter-spacing:.12em}.import-card-body{padding:16px;display:flex;flex-direction:column;gap:10px;flex:1}.import-card h3,.import-card p{margin:0;overflow-wrap:anywhere}.import-card h3{font-size:1rem}.import-card code,.import-assignment code{display:block;overflow-wrap:anywhere;white-space:normal;font-size:.85rem}.import-card label{display:flex;align-items:center;gap:10px}.import-card input[type=checkbox]{width:20px;height:20px;flex:none}.import-card details{margin-top:auto}.import-upload,.import-assignment,.import-log,.import-device{border:1px solid var(--border,#adbccb);border-radius:14px;padding:18px;margin:18px 0;display:grid;gap:14px}.import-upload{grid-template-columns:minmax(0,1fr) auto;align-items:end}.import-upload small{grid-column:1/-1}.import-dialog input,.import-dialog select{max-width:100%;min-width:0}.import-dialog label{display:grid;gap:8px}.import-dialog button,.import-dialog a{min-height:42px}.import-dialog button{white-space:normal}.import-note{font-size:.9rem}.log-track{display:block;width:100%;height:auto;max-height:380px;color:#508bc2;background:#112333;border-radius:12px}.log-track text{fill:#d7e8f7}.import-log input[type=range]{width:100%}html[data-theme=dark] .import-dialog,body[data-theme=dark] .import-dialog{background:#18232d;color:#e2edf7}html[data-theme=dark] .import-card,body[data-theme=dark] .import-card{background:#202f3b}@media(max-width:620px){.import-upload{grid-template-columns:1fr}.import-dialog{width:96vw;padding:16px}.import-header{top:-16px}.import-tools>*{flex:1 1 180px}}@media(prefers-reduced-motion:no-preference){.import-card{animation:import-appear .25s ease-out}@keyframes import-appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}}

.import-header h2{flex:1;min-width:0}.import-header>button{flex:none}.import-header{flex-wrap:nowrap}.import-tools{justify-content:flex-start}.import-export{margin-left:auto}.import-export[open]{display:flex;flex-wrap:wrap;gap:10px}.import-export button{margin:8px}.import-dialog .import-card label{display:flex;align-items:center;gap:10px;font-size:.85rem}.import-card-body p{font-size:.9rem}.import-card-body a{min-height:28px}.import-upload-drawer{margin-top:14px}.import-upload-drawer>summary,.import-export>summary{cursor:pointer;padding:12px;border:1px solid var(--stroke,#adbccb);border-radius:10px;font-weight:650}.import-card-body{gap:8px}.import-card details{font-size:.85rem}.import-grid{margin-top:16px}@media(max-width:620px){.import-tools>*{flex:initial}.import-export{margin-left:0}.import-header h2{font-size:1.18rem}.import-dialog .import-card img,.import-dialog .import-card video{height:210px}}

.import-lightbox{padding:16px;margin:18px 0;border:1px solid var(--stroke,#adbccb);border-radius:16px;background:var(--surface,#fff)}.import-lightbox img{display:block;width:100%;max-height:70dvh;object-fit:contain;background:#101b26}.import-lightbox h3{overflow-wrap:anywhere}

/* Diagnostic captures use the available width; never imply a live flight card. */
.snapshot-dialog .import-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}
.snapshot-dialog .snapshot-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px 24px}
.snapshot-dialog .snapshot-facts p{margin:0;overflow-wrap:anywhere}
.snapshot-dialog .import-card-body{padding:18px;gap:14px}
.snapshot-dialog .import-card-body h3{overflow-wrap:anywhere}
html[data-theme=dark] .snapshot-dialog button{background:#26343f;color:#f2f5f8;border:1px solid #657581}
html[data-theme=dark] .snapshot-dialog button:hover{background:#354955}
.snapshot-dialog button:focus-visible{outline:3px solid #68acff;outline-offset:2px}
.snapshot-dialog button:disabled{opacity:.65}
html[data-theme=dark] body .snapshot-dialog{--surface:#26343f;--surface-soft:#354955;--text:#f2f5f8;--stroke:#657581}
html[data-theme=dark] body .snapshot-dialog button:not(.primary):not(.sensitive-action):not(.uas-source-card){background:#26343f!important;color:#f2f5f8!important;border-color:#657581!important}
html[data-theme=dark] body .snapshot-dialog button:not(.primary):not(.sensitive-action):not(.uas-source-card):hover{background:#354955!important}
html[data-theme=dark] body .snapshot-dialog{--rd-s3:#26343f;--rd-t1:#f2f5f8;--rd-line2:#657581;--rd-hi:none}

.log-header-summary{padding:16px;border:1px solid var(--border,#3b4550);border-radius:12px;margin:12px 0;overflow-wrap:anywhere}.log-header-summary dl{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:8px 16px}.log-header-summary dt{font-weight:600}.log-header-summary dd{margin:0}@media(max-width:480px){.log-header-summary dl{grid-template-columns:1fr;gap:4px}.log-header-summary dd{margin-bottom:8px}}

/* Source: mission-log-viewer.css */
.mission-replay{--mr-panel:var(--surface,#fff);--mr-line:var(--stroke,#cbd8e2);box-sizing:border-box;width:min(1480px,calc(100vw - 32px));max-width:none;max-height:94dvh;padding:24px;border:1px solid var(--mr-line);border-radius:24px;background:var(--surface,#fff);color:var(--text,#193449);overflow:auto}.mission-replay::backdrop{background:#071323c9;backdrop-filter:blur(5px)}.mission-replay *{box-sizing:border-box;min-width:0}.mr-header{display:flex;justify-content:space-between;gap:20px;align-items:center}.mr-header h2{margin:6px 0;font-size:clamp(22px,3vw,32px);overflow-wrap:anywhere}.mr-eyebrow{font-size:11px;font-weight:750;letter-spacing:.12em}.mr-status,.mr-note{font-size:12px;line-height:1.55;opacity:.85}.mr-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:20px 0}.mr-kpi{display:flex;flex-direction:column;gap:8px;padding:18px 14px;border:1px solid var(--mr-line);border-radius:16px;background:linear-gradient(140deg,#74b6ef14,transparent)}.mr-kpi>span{font-size:12px;font-weight:700}.mr-kpi strong{font-size:clamp(20px,2vw,29px);font-variant-numeric:tabular-nums;letter-spacing:-.03em}.mr-kpi small{font-size:11px;line-height:1.5;margin-top:auto}.mr-tools,.mr-controls,.mr-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0}.mission-replay button,.mission-replay select{font:inherit;font-size:13px;min-height:40px;border-radius:10px;white-space:normal}.mr-quality,.mr-sources,.mr-review{padding:16px;border:1px solid var(--mr-line);border-radius:14px;margin:16px 0}.mr-quality summary,.mr-sources summary{font-weight:750;cursor:pointer}.mr-stage{display:grid;grid-template-columns:minmax(0,3fr) minmax(230px,1fr);gap:16px}.mr-map-card{border-radius:18px;overflow:hidden;background:#171a1d;color:#e8f1fa;border:1px solid #3d444a}.mr-card-heading{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.mr-card-heading h3{margin:0}.mr-map{width:100%;display:block;aspect-ratio:1000/560}.mr-map-card>.mr-note{padding:0 20px 12px}.mr-live-panel{border:1px solid var(--mr-line);border-radius:18px;padding:18px;display:flex;flex-direction:column;max-height:610px}.mr-live-panel h3{margin:0 0 8px}.mr-clock{font-size:24px;font-variant-numeric:tabular-nums}.mr-readings{overflow:auto;flex:1;margin-top:14px}.mr-reading{border-left:3px solid var(--track);padding:8px 10px;margin:10px 0;background:#80a5c50b}.mr-reading button{text-align:left;padding:4px;background:transparent;color:inherit;border:0;font-weight:700;overflow-wrap:anywhere}.mr-reading p{line-height:1.65;font-size:12px;font-variant-numeric:tabular-nums}.mr-transport{border:1px solid var(--mr-line);border-radius:16px;padding:4px 20px 12px;margin-top:16px}.mr-controls select{width:auto}.mr-time{margin-left:auto;font-variant-numeric:tabular-nums}.mr-transport input[type=range]{width:100%;accent-color:#3b97e4;min-height:32px;padding:0}.mr-legend button{border-bottom:3px solid var(--track,#6d9ecd);max-width:260px;overflow-wrap:anywhere}.mr-legend [aria-pressed=true]{box-shadow:inset 0 0 0 1px currentColor}.mr-timeline-card,.mr-charts{padding:18px;border:1px solid var(--mr-line);border-radius:16px;margin:16px 0}.mr-timeline-card h3,.mr-charts h3{margin:0}.mr-timeline-card svg,.mr-chart-panel svg{width:100%;display:block;touch-action:pan-y}.mr-interactive-chart{cursor:crosshair}.mr-chart-panel h4{font-size:13px;margin:16px 0 0}.mr-chart-panel+.mr-chart-panel{border-top:1px solid var(--mr-line)}.mr-source-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:8px 16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--mr-line)}.mr-source-row strong,.mr-source-row small{overflow-wrap:anywhere}.mr-source-row small{grid-column:1 / 3}.mr-source-row button{grid-column:3;grid-row:1 / 3}.mr-review-table{overflow:auto;margin:18px 0}.mr-review table{width:100%;border-collapse:collapse;text-align:left;min-width:650px}.mr-review th,.mr-review td{padding:12px;border-bottom:1px solid var(--mr-line);font-size:13px}.mr-review input{width:20px;height:20px}.mr-review>button{margin-right:8px}.mr-empty{padding:50px 24px;text-align:center;border:1px dashed var(--mr-line);border-radius:18px}.mr-track{transition:opacity .2s}.mission-replay [hidden]{display:none!important}
@media(max-width:1150px){.mr-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.mr-card-heading{flex-wrap:wrap}.mr-live-panel{max-height:480px}}
@media(max-width:720px){.mission-replay{width:calc(100vw - 12px);max-height:97dvh;padding:14px;border-radius:16px}.mr-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mr-kpi{padding:12px}.mr-kpi strong{font-size:23px}.mr-stage{grid-template-columns:1fr}.mr-live-panel{max-height:250px}.mr-readings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mr-reading{padding:4px 8px}.mr-header{align-items:flex-start}.mr-header>button{flex-shrink:0}.mr-transport,.mr-charts,.mr-timeline-card{padding:12px}.mr-source-row{grid-template-columns:1fr}.mr-source-row small,.mr-source-row button{grid-column:auto;grid-row:auto}.mr-time{font-size:12px}.mr-card-heading{padding:14px}.mr-legend button{max-width:100%}}
@media(prefers-reduced-motion:reduce){.mr-track{transition:none}}

html[data-theme=light] .mr-legend button{border-bottom-color:color-mix(in srgb,var(--track,#6d9ecd) 65%,#193449)}
.mr-charts,.mr-timeline-card{background:#171a1d;color:#e8f1fa;border-color:#3d444a}.mr-charts .mr-chart-panel+.mr-chart-panel{border-color:#3d444a}.mr-charts h3,.mr-charts h4,.mr-timeline-card h3{color:inherit}
html[data-theme] dialog.mission-replay .mr-map-card h3,html[data-theme] dialog.mission-replay .mr-charts h3,html[data-theme] dialog.mission-replay .mr-charts h4,html[data-theme] dialog.mission-replay .mr-timeline-card h3{color:#e8f1fa}.mr-kpi>span{min-height:2.7em}

.mr-kpis{gap:10px;margin:16px 0}.mr-kpi{gap:6px;padding:14px}.mr-kpi>span{min-height:2.5em}.mr-reading p{line-height:1.45}.mr-status,.mr-note{line-height:1.4}.mr-header .mr-eyebrow{display:none}

/* Recorded-log maps and compact, responsive telemetry. */
.log-map-view{min-width:0;padding:12px;border:1px solid var(--stroke,#53616f);border-radius:12px;overflow:hidden}.log-replay-tools{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-bottom:12px}.log-replay-tools label{flex:1;min-width:150px}.log-replay-tools select{width:100%}.log-basemap{height:clamp(280px,45vh,520px);width:100%;isolation:isolate;background:#17232e;border-radius:10px}.log-map-note,.log-map-view small{font-size:12px;line-height:1.45}.log-aircraft-icon{background:transparent;border:0}.log-aircraft-arrow{display:block;font-size:25px;line-height:26px;text-align:center;text-shadow:0 0 2px #000,0 0 4px #000}.log-summary-grid,.log-reading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.log-summary-grid>div,.log-reading-grid>div{display:flex;flex-direction:column;gap:6px;padding:12px;border:1px solid var(--stroke,#53616f);border-radius:10px;min-width:0}.log-summary-grid span,.log-reading-grid span{font-size:12px}.log-summary-grid strong{font-size:21px}.log-reading-grid strong{font-size:16px}.log-reading-grid strong,.log-summary-grid strong{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.log-chart-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:16px}.log-chart-grid section{padding:12px;background:#17232e;color:#edf2f6;border-radius:12px}.log-chart-grid h4{color:inherit;margin:0 0 8px}.log-chart-grid svg{display:block;width:100%;cursor:crosshair}.log-chart-grid text{fill:currentColor;font:11px system-ui}.log-map-view .leaflet-control a{min-height:0}.log-map-view .leaflet-control-attribution{font-size:10px}.mr-map-card .log-map-view{border:0}.mr-map-card details{padding:12px}.log-insights h3{margin:18px 0 10px}@media(max-width:600px){.log-summary-grid,.log-reading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.log-summary-grid strong{font-size:18px}.log-basemap{height:320px}.log-map-view{padding:8px}.log-chart-grid section{padding:8px}}

.log-speed-legend{display:grid;gap:6px;padding:12px 0;font-size:12px;line-height:1.4}.log-speed-legend strong{font-size:12px}.log-speed-gradient{height:8px;border-radius:8px;background:linear-gradient(90deg,#35ca76 0%,#f5ce45 50%,#f05b5b 100%);border:1px solid #71808d}.log-speed-labels{display:flex;justify-content:space-between;gap:12px;font-variant-numeric:tabular-nums}.log-speed-legend small{font-size:11px}.log-speed-trail{stroke-linecap:round;stroke-linejoin:round}

/* Source: brand-design.css */
/* SLFD UAS Manager: consistent, responsive type hierarchy. */
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}h1,h2,h3,h4{font-family:inherit;letter-spacing:-.025em;text-wrap:balance;line-height:1.2;overflow-wrap:anywhere}h1{font-size:clamp(1.75rem,2.5vw,2.6rem)}h2{font-size:clamp(1.4rem,2vw,2rem)}h3{font-size:clamp(1.15rem,1.5vw,1.4rem)}h4{font-size:1.05rem}p{overflow-wrap:anywhere;text-wrap:pretty}small,.eyebrow{line-height:1.5}.eyebrow{letter-spacing:.1em;font-size:.72rem;font-weight:750}.program-brand strong{letter-spacing:.03em}.program-brand small{font-size:.72rem;letter-spacing:.1em}.breadcrumb{font-size:.75rem;line-height:1.5;overflow-wrap:anywhere}.section-title>*{min-width:0}.section-title{gap:1rem;align-items:center;flex-wrap:wrap}label{line-height:1.4}label :is(input,select,textarea){margin-top:.4rem}button,.button{line-height:1.3;white-space:normal;overflow-wrap:normal;min-height:42px}input,select,textarea{min-width:0;max-width:100%}th,td{line-height:1.45}th{font-size:.8rem;letter-spacing:.015em}dt{font-size:.77rem;color:var(--text-muted)}dd{font-weight:650;margin-left:0}.readiness-grid{align-items:stretch}.readiness-card{display:flex;flex-direction:column}.readiness-card dl{flex:1}.maintenance-overdue{border:1px solid #d8506d;border-left-width:4px;border-radius:8px;padding:.65rem .8rem;color:var(--text);background:var(--surface-soft);font-weight:750}.wx-map .airspace-grid-label span{font-size:11px}.wx-map{min-height:440px}.mission-weather-log{margin-block:1rem;padding:1.25rem;border:1px solid var(--stroke);border-radius:16px;background:var(--surface)}.mission-weather-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.mission-weather-fact{display:flex;flex-direction:column;justify-content:space-between;gap:.3rem;padding:.8rem;background:var(--surface-soft);border:1px solid var(--stroke);border-radius:12px;min-width:0}.mission-weather-fact strong{font-size:1.3rem}.mission-weather-fact small{font-size:.7rem;color:var(--text-muted)}.mission-weather-log select{width:100%;margin-block:.65rem}.mission-weather-log p{font-size:.85rem}.mission-weather-log h3{margin-top:0}.mission-replay .mission-weather-log{--surface:#132234;--surface-soft:#192b3f;--stroke:#344c68;--text-muted:#b6c8dc;color:#eef4fc}.mission-weather-log details{margin-top:.8rem}
@media(max-width:600px){.mission-weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mission-weather-log{padding:.85rem}.section-title>button{flex-shrink:0}.program-brand{max-width:100%}.wx-map{min-height:380px}.breadcrumb{max-width:100%;padding-inline:0}}
@media(prefers-reduced-motion:no-preference){.mission-weather-fact{animation:slfd-fact-in .25s ease-out both}@keyframes slfd-fact-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}}

.mission-weather-grid{grid-auto-rows:1fr}.mission-weather-fact{display:grid;grid-template-rows:auto auto 1fr auto;align-content:start;justify-content:stretch}.mission-weather-fact strong{align-self:start}.mission-weather-fact small{align-self:start}

html[data-theme] .wx-radar-state{background:var(--surface-soft);color:var(--text);border:1px solid var(--stroke);padding:.75rem;border-radius:10px}.wx-actions label:has(input[type=checkbox]){display:inline-flex;flex-direction:row;align-items:center;gap:.55rem;font-size:.8rem}.wx-actions input[type=checkbox]{width:18px;height:18px;min-width:18px;min-height:18px;margin:0;padding:0}

/* Keep recorded measurements readable inside narrow mission drawers. */
.mission-weather-fact :is(span,strong,small){min-width:0;overflow-wrap:anywhere}.mission-weather-fact strong{font-variant-numeric:tabular-nums}.mission-weather-log label{display:block;font-size:.8rem;font-weight:650;margin-top:.75rem}.mission-weather-log select{min-height:44px}

/* Page audit: preserve heading space when desktop navigation reduces content width. */
@media(min-width:851px) and (max-width:1350px){
 html[data-theme] body .workspace-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px}
 html[data-theme] .workspace-header .workspace-heading{grid-column:1/3;grid-row:1}
 html[data-theme] .workspace-header .account{grid-column:3;grid-row:1;margin:0;padding:0;border:0}
 html[data-theme] .workspace-header #workspace-find{grid-column:1;grid-row:2;justify-self:start}
 html[data-theme] .workspace-header #workspace-location{grid-column:2;grid-row:2}
 html[data-theme] .workspace-header .appearance-control{grid-column:3;grid-row:2;margin:0!important}
}
@media(max-width:850px){html[data-theme] .workspace-header #workspace-location{grid-column:1/-1;grid-row:3;width:100%;margin:0}}
/* Consistent aircraft image frames and bottom-aligned actions, without stretching photos. */
.aircraft-record-card{display:flex;flex-direction:column;min-width:0}
.aircraft-card-top{flex-wrap:wrap;min-height:42px;align-content:start}
.aircraft-record-card h3{min-height:2.4em}
.aircraft-record-card>.aircraft-reference{width:100%;max-width:none;margin:0 0 16px}
.aircraft-record-card>.aircraft-reference img{height:160px;object-fit:contain}
.aircraft-record-card>dl{flex:1}
.aircraft-record-card>button{margin-top:auto;min-height:44px}
.aircraft-image-placeholder{height:160px;display:grid;place-items:center;border:1px dashed var(--stroke);border-radius:12px;background:var(--surface-soft);color:var(--text-muted);margin-bottom:16px;font-size:.8rem}
/* Shared records controls: use available width and consistent control heights. */
#ops-search{width:100%}
#ops-list{min-width:0}
[data-panel=operations] label:has(>#ops-search){width:100%;max-width:none}
.table-tools{align-items:stretch}
.table-tools>button,.table-tools>select,.table-tools>details{min-height:44px;margin-block:0}
.table-tools>details>summary{min-height:26px;display:flex;align-items:center}
.record-section-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.record-section-summary>span{margin:0;padding:12px;display:flex;align-items:center;justify-content:center;text-align:center}
@media(max-width:420px){.record-section-summary{grid-template-columns:minmax(0,1fr)}.table-footer>span{flex-basis:100%}.table-footer>button{flex:1}}
[data-panel=operations] .ops-fields>label:has(>#ops-search){grid-column:1/-1}

/* Source: command-suite.css */
/* Shared approved command palette: charcoal, warm yellow and fire-service red. */
html[data-theme]{--accent:#8a6400;--accent-soft:#fff3c8;--accent-text:#664900;--brand:#b52f35;--info-bg:#fff1bd;--info-text:#664900;--good-bg:#eeeae0;--good-text:#39372f;--page:#f1f0ec;--surface:#fff;--surface-soft:#f5f4ef;--stroke:#dedcd4;--text:#202124;--text-muted:#61615e;--blue:var(--brand);--blue-soft:var(--accent-soft)}
html[data-theme=dark]{--page:#101112;--surface:#1b1c1e;--surface-soft:#242527;--surface-raised:#2c2d30;--stroke:#3a3b3f;--text:#f2f1eb;--text-muted:#b6b6af;--accent:#efc84a;--accent-soft:#3a331d;--accent-text:#f6dc7c;--brand:#ca3b42;--info-bg:#3a331d;--info-text:#f6dc7c;--good-bg:#2d2d29;--good-text:#e0dfd4;--bad-bg:#402326;--bad-text:#ffb7bc}
html[data-theme] .sidebar{background:var(--surface);border-color:var(--stroke)}html[data-theme] .sidebar nav a[aria-current=page]{background:var(--accent-soft);color:var(--accent-text);border-color:var(--accent)}
html[data-theme] :is(.aircraft-record-card,.overview-asset,.weather-hero,.metric,.card){box-shadow:none;background:var(--surface);border-color:var(--stroke)}
html[data-theme] :is(.primary,button.primary){background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important}
html[data-theme] :is(button,a,select,textarea):focus-visible{outline:3px solid var(--accent);outline-offset:3px}
html[data-theme] .aircraft-reference img{background:#faf9f5}html[data-theme] .workspace-heading h1{letter-spacing:-.035em;font-weight:750}
html[data-theme] .summary-stats strong{font-variant-numeric:tabular-nums;font-weight:750}html[data-theme] .weather-temp{font-variant-numeric:tabular-nums}
.messages-open{position:fixed;right:20px;bottom:18px;z-index:650;border:1px solid var(--accent);background:var(--surface);color:var(--text);box-shadow:0 3px 16px #0003;min-height:44px}
.messages-dialog{width:min(620px,94vw);height:min(700px,90dvh);padding:20px;background:var(--surface);color:var(--text);border:1px solid var(--stroke);border-radius:16px}
.messages-dialog[open]{display:flex;flex-direction:column;gap:12px}.message-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.message-heading h2{margin:0}.messages-dialog label{margin:0}.messages-dialog p{margin:0;overflow-wrap:anywhere}.message-history{flex:1;min-height:100px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:12px;background:var(--surface-soft);border:1px solid var(--stroke);border-radius:9px}.message-history article{max-width:88%;padding:10px;border-radius:9px;background:var(--surface);border:1px solid var(--stroke)}.message-history p{white-space:pre-wrap}.message-history .message-own{align-self:flex-end;border-color:var(--accent)}.messages-dialog form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.messages-dialog textarea{resize:vertical;max-height:160px}.messages-dialog [role=status]{font-size:12px;color:var(--text-muted)}
.aircraft-possession{margin:8px 0 16px;padding:10px 0;border-top:1px solid var(--stroke)}.aircraft-possession select{margin:6px 0}.aircraft-possession button{min-height:44px;width:100%}
.message-heading{flex-wrap:wrap}.message-heading h2{margin-right:auto}.message-group-dialog{width:min(540px,94vw);max-height:90dvh;overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--stroke);border-radius:14px;padding:20px}.message-group-dialog select[multiple]{min-height:180px}.message-group-dialog p{font-size:12px;color:var(--text-muted)}.message-group-dialog button{margin:6px}

.message-options{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.message-options label{display:flex;align-items:center;gap:6px;font-size:12px}.message-options input[type=checkbox]{width:18px;min-height:18px}.message-options select{flex:1;min-width:150px}.message-file{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px}.message-file input{max-width:100%;min-width:0;flex:1}.message-file small{flex-basis:100%}.message-history .message-mentioned{border-left:4px solid var(--accent)}.message-history article small{display:block}.message-history a{overflow-wrap:anywhere}.messages-dialog{height:min(850px,94dvh)}.messages-dialog .message-history{min-height:120px}.messages-dialog[open]{overflow:auto}.message-group-dialog label{display:block;margin:12px 0}.message-group-dialog label select,.message-group-dialog label input{width:100%}
/* Video-first viewer: equal usable tiles, one options dialog, quiet source rows. */
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console{display:grid!important;height:var(--command-wall-height,calc(100dvh - 190px))!important;min-height:460px!important;grid-template-columns:minmax(0,1fr) 210px!important;grid-template-rows:48px minmax(0,1fr)!important;gap:12px!important;padding:12px!important;box-sizing:border-box}
.live-viewer .uas-panel .uas-wall.command-console.sources-collapsed{grid-template-columns:minmax(0,1fr)!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.command-sources[hidden]{display:none!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.uas-wall-toolbar{padding:0!important;gap:8px!important;align-items:center!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.uas-wall-toolbar [data-command-return]{margin-right:auto}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.uas-wall-toolbar button,.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.uas-wall-toolbar select{min-height:42px!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>[data-uas-feeds]{display:grid!important;gap:12px!important;min-height:0!important;overflow:visible!important;align-content:stretch!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:44px minmax(0,1fr)!important;padding:0!important;gap:0!important;min-width:0!important;min-height:0!important;overflow:hidden!important;border:1px solid var(--stroke)!important;border-radius:10px!important;position:relative!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card[hidden],.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card.command-inactive{display:none!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card>header{display:flex!important;grid-column:1!important;grid-row:1!important;position:static!important;padding:0 8px 0 12px!important;min-height:44px!important;gap:8px!important;flex-wrap:nowrap!important;overflow:hidden!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card>header h3{font-size:13px!important;line-height:18px!important;margin:0!important;min-width:0!important;flex:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card>header [data-uas-view-number]{display:none!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card>header [data-uas-feed-status]{font-size:11px!important;background:none!important;border:0!important;padding:0!important;color:var(--text-muted)!important;white-space:nowrap!important;flex-shrink:0!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card>header button{font-size:11px!important;font-weight:600!important;min-width:44px!important;min-height:40px!important;height:40px!important;padding:4px 8px!important;border:0!important;background:transparent!important;flex-shrink:0!important;color:var(--text)!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card>.uas-video{grid-column:1!important;grid-row:2!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;max-width:none!important;aspect-ratio:auto!important;align-self:stretch!important;justify-self:stretch!important;border-radius:0!important;background:#08090a!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card>.uas-video video{object-fit:contain!important;width:100%!important;height:100%!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card>.uas-playback-state{display:none!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card[data-source-status=offline] .uas-old-frame{display:block!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%);max-width:90%!important;white-space:nowrap!important;background:transparent!important;color:#a9aaad!important;font-size:12px!important;text-align:center!important;border:0!important;padding:8px!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card[data-source-status=offline] .video-overlay-labels,.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card[data-source-status=offline] .video-overlay-clock,.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card[data-source-status=offline] .video-overlay-reticle,.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card[data-source-status=offline] .video-overlay-grid{display:none!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.command-sources{padding:12px!important;border:1px solid var(--stroke)!important;border-radius:10px!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-sources h3{font-size:13px!important;margin:0 0 10px!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-sources label{font-size:11px!important;display:block!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-sources select{width:100%!important;min-height:40px!important;margin:5px 0 12px!important;font-size:12px!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-sources [data-uas-sources]{display:flex!important;flex-direction:column!important;gap:4px!important;overflow:visible!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-sources .uas-source{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 8px!important;width:100%!important;min-height:58px!important;max-height:none!important;padding:10px!important;border:1px solid transparent!important;border-radius:6px!important;box-shadow:none!important;outline:none!important;background:transparent!important;color:var(--text)!important;text-align:left!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-sources .uas-source[aria-pressed=true]{border-color:var(--stroke)!important;background:var(--surface-soft)!important;box-shadow:inset 2px 0 var(--accent)!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-sources .uas-source strong{grid-column:1/-1!important;font-size:13px!important;line-height:18px!important;font-weight:600!important;overflow-wrap:anywhere!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-sources .uas-source span{font-size:11px!important;line-height:16px!important;background:none!important;padding:0!important;min-height:0!important;border:0!important;color:var(--text-muted)!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-sources .uas-source small{font-size:10px!important;color:var(--text-muted)!important;align-self:center!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-controls-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(640px,92vw)!important;max-width:92vw!important;max-height:86dvh!important;height:fit-content!important;padding:20px!important;background:var(--surface)!important;color:var(--text)!important;border:1px solid var(--stroke)!important;border-radius:14px!important;overflow:auto!important;box-sizing:border-box!important;z-index:1000!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-controls-dialog:not([open]){display:none!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-controls-dialog::backdrop{background:#0009}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-controls-dialog .uas-feed-controls-body{position:static!important;inset:auto!important;max-height:none!important;overflow:visible!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-controls-dialog .uas-feed-toolbar{position:static!important;display:flex!important;flex-wrap:wrap!important;overflow:visible!important;padding:0!important;margin:12px 0!important;gap:8px!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-controls-dialog .uas-feed-toolbar>button{font-size:13px!important;min-height:44px!important;height:auto!important;width:auto!important;padding:9px 12px!important;white-space:normal!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-controls-dialog .uas-actions button,.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-controls-dialog summary{min-height:44px!important;font-size:13px!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-controls-dialog [data-uas-controls-close]{min-height:44px!important;margin-left:auto!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-controls-dialog .uas-controls-heading{display:flex!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-controls-dialog .uas-pip-label{display:inline!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-controls-dialog .uas-pip-short{display:none!important}
.live-viewer .uas-panel .source-chooser-prompt{display:none!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console:fullscreen{height:100dvh!important;min-height:0!important}
@media(max-width:1000px){.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:48px auto auto!important;height:auto!important;min-height:0!important;max-height:none!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.command-sources{grid-column:1!important;grid-row:3!important;max-height:240px!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>[data-uas-feeds]{min-height:400px!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card>.uas-video{min-height:160px!important;aspect-ratio:16/9!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-sources [data-uas-sources]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card>header{padding-left:8px!important;gap:4px!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card>header [data-uas-feed-status]{font-size:10px!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .uas-card>header button{padding:4px!important}.live-viewer .uas-panel .uas-wall.command-console .uas-wall-toolbar{height:auto!important;min-height:48px!important;flex-wrap:wrap!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console{grid-template-rows:auto auto auto!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console .command-sources [data-uas-sources]{grid-template-columns:1fr!important}}

.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.uas-wall-toolbar{grid-column:1/-1!important;grid-row:1!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>[data-uas-feeds]{grid-column:1!important;grid-row:2!important;width:100%!important}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.command-sources{grid-column:2!important;grid-row:2!important;max-height:100%;min-height:0}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.uas-wall-message{display:none!important}
@media(max-width:1000px){.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.command-sources{grid-column:1!important;grid-row:3!important;max-height:240px!important}}

.overview-weather-grid{grid-template-columns:minmax(0,1fr)!important}.weather-source-notice{font-size:12px;line-height:1.5;color:var(--text-muted);padding:10px 12px;border-left:3px solid var(--accent);background:var(--surface-soft)}
.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.uas-wall-toolbar button{background:var(--surface)!important;color:var(--text)!important;border:1px solid var(--stroke)!important}

/* v6.80 review: quiet glass chrome, dense readable content, complete Messages workspace. */
html[data-theme]{--page:#eeefed;--surface:#ffffff;--surface-soft:#f5f5f1;--surface-raised:#fff;--stroke:#d7d9d5;--text:#23262a;--text-muted:#5c625f;--accent:#87620b;--accent-text:#70500a;--accent-soft:#f6edcc;--brand:#aa313b;--glass:rgba(255,255,255,.86);--glass-edge:rgba(255,255,255,.8);--shadow-soft:0 8px 28px #20252a08;--good-bg:#e7edf0;--good-text:#2d4754;--warn-bg:#fff1d6;--warn-text:#79551b;--bad-bg:#fae6e7;--bad-text:#992d39}
html[data-theme=dark]{--page:#121416;--surface:#1c1f22;--surface-soft:#24282c;--surface-raised:#2b3035;--stroke:#383e44;--text:#f2f3ed;--text-muted:#b7bdbf;--accent:#e1c16c;--accent-text:#efda9e;--accent-soft:#383324;--brand:#ba3947;--glass:rgba(29,33,36,.88);--glass-edge:rgba(255,255,255,.11);--shadow-soft:0 10px 30px #0002;--good-bg:#29343b;--good-text:#c4d6e1;--warn-bg:#3d3423;--warn-text:#f2d397;--bad-bg:#432a30;--bad-text:#ffb5bf}
html[data-theme] body{line-height:1.4;background:var(--page);color:var(--text)}
html[data-theme] .workspace-header,html[data-theme] .sidebar{background:var(--glass);border-color:var(--stroke);box-shadow:inset 0 1px var(--glass-edge),var(--shadow-soft)}
@supports(backdrop-filter:blur(1px)){html[data-theme] .workspace-header,html[data-theme] .sidebar,.location-dialog,.command-controls-dialog{backdrop-filter:blur(22px) saturate(115%);-webkit-backdrop-filter:blur(22px) saturate(115%)}}
html[data-theme] .workspace-header{padding:18px 24px;gap:12px}
html[data-theme] .workspace-heading h1{font-size:clamp(24px,2.1vw,32px);line-height:1.12;margin:4px 0 0;letter-spacing:-.035em}
html[data-theme] .breadcrumb{font-size:11px;letter-spacing:.03em;color:var(--text-muted)}
html[data-theme] .sidebar .program-brand{padding-block:20px}.sidebar nav{padding-block:8px}.sidebar nav>a.messages-nav-link{display:flex;align-items:center;gap:10px;margin:6px 10px;padding:11px 13px;border:1px solid transparent;border-radius:10px;text-decoration:none;font-size:13px;font-weight:650;color:var(--text)}
.sidebar nav>a.messages-nav-link:before{content:'';width:16px;height:13px;border:1.5px solid currentColor;border-radius:4px}.sidebar nav>a[hidden]{display:none!important}
html[data-theme] body .nav-group summary{font-size:12px;min-height:40px;padding-block:9px}.sidebar .nav-group a{font-size:12px!important;padding-block:9px!important}
html[data-theme] body main{min-width:0}html[data-theme] body .section-title{margin-bottom:14px;gap:12px;align-items:center}.section-title :is(h2,h3){margin:0}.section-title p{margin:5px 0 0;font-size:13px;color:var(--text-muted)}
html[data-theme] body h2{font-size:24px}html[data-theme] body h3{font-size:18px}html[data-theme] body h4{font-size:14px}html[data-theme] body :is(h2,h3,h4){line-height:1.25;text-wrap:pretty}
html[data-theme] body :is(button,.button,summary){font-size:13px;min-height:42px;box-sizing:border-box}html[data-theme] body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:14px;min-height:42px}
html[data-theme] body :is(.card,.overview-flight-card,.map-card){padding:20px;border-radius:16px;box-shadow:var(--shadow-soft)}
html[data-theme] body .card>p{font-size:13px;line-height:1.45;margin:10px 0}.card>small{font-size:11px;line-height:1.4;color:var(--text-muted)}
html[data-theme] body [data-panel=overview]{grid-template-areas:'stats stats' 'flight flight' 'map weather' 'open open' 'activity activity' 'utils utils';gap:16px}
html[data-theme] [data-panel=overview]>.welcome{display:none}.operation-metrics{gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}
html[data-theme] .operation-metric{padding:16px;gap:4px 10px;grid-template-columns:34px minmax(0,1fr);align-content:start;border-radius:14px;box-shadow:var(--shadow-soft)}
.operation-metric svg{box-sizing:border-box;width:34px;height:34px;padding:7px;align-self:center}.operation-metric strong{font-size:25px;line-height:1.1;margin:0}.operation-metric>span{font-size:12px;line-height:1.25}.operation-metric small{font-size:11px;line-height:1.35;margin:4px 0 0;min-height:2.7em}
html[data-theme] body [data-panel=overview]>.overview-flight-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);padding:20px;gap:26px;align-items:center}
.overview-flight-card .command-steps{display:flex;margin:14px 0 0!important;gap:20px!important;padding:0}.command-steps li{display:flex;align-items:center;gap:7px;font-size:12px;flex:1;min-width:0}.command-steps li>span{display:inline-grid;place-items:center;width:25px;min-width:25px;height:25px;border-radius:50%;font-size:10px;padding:0;background:var(--surface-soft);border:1px solid var(--stroke)}
.overview-flight-actions{gap:8px!important}.overview-flight-actions>button,.overview-flight-actions>details>summary{min-height:42px!important;font-size:12px!important;padding:9px!important}.overview-more-body{background:var(--surface);box-shadow:0 12px 40px #0003;border:1px solid var(--stroke)}
html[data-theme] .overview-map-card{display:flex;flex-direction:column;min-height:0}.overview-map-card .section-title{flex:none}html[data-theme] #overview-location-map{flex:1;min-height:360px;height:auto;width:100%;border:1px solid var(--stroke);border-radius:12px}.overview-map-card #overview-site-caption{font-size:12px;margin:0 0 12px}.overview-map-card #overview-map-status{font-size:11px;margin:10px 0 0}
.current-observation-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.current-observation-heading h3{margin:0}.current-observation-heading small{color:var(--text-muted);font-size:11px}
html[data-theme] .current-weather-top{display:flex;justify-content:space-between;align-items:center;margin:14px 0}.current-weather-top>div:first-child{display:flex;flex-direction:column}.weather-temp{font-size:44px!important;line-height:1.1}.weather-description{font-size:12px;color:var(--text-muted);margin-top:4px}
html[data-theme] .current-weather-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;margin:0;padding:14px 0;border-top:1px solid var(--stroke)}.current-weather-facts>div{min-width:0}.current-weather-facts dt{font-size:11px;margin-bottom:3px}.current-weather-facts dd{margin:0;font-size:14px;line-height:1.35;overflow-wrap:anywhere}.current-weather-facts dd small{display:block;font-size:10px;color:var(--text-muted);font-weight:450;margin-top:3px}.current-connection{justify-content:space-between;line-height:1.4;margin:8px 0;font-size:10px}.current-connection>small{font-size:10px}.weather-coverage{margin-top:8px;padding-top:5px}.weather-coverage>summary{font-size:11px!important;min-height:28px!important}.weather-coverage p{font-size:11px;line-height:1.4}
html[data-theme] .next-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.forecast-slot{padding:10px!important;border-radius:10px!important;min-width:0}.forecast-slot>small{font-size:11px}.forecast-slot>strong{font-size:20px}.forecast-slot>span{font-size:10px;line-height:1.35}.weather-rain-meter{margin-top:8px!important;height:3px!important}.overview-weather-card>h4{font-size:12px;margin:14px 0 8px}
html[data-theme] .flight-weather-banner{padding:16px 18px;border:1px solid var(--stroke);border-left-width:4px;border-radius:12px;display:grid;gap:5px}.flight-weather-banner.safe{background:var(--good-bg);border-color:var(--good-text);color:var(--good-text)}.flight-weather-banner.caution{background:var(--warn-bg);border-color:var(--warn-text);color:var(--warn-text)}.flight-weather-banner.unsafe{background:var(--bad-bg);border-color:var(--bad-text);color:var(--bad-text)}.flight-weather-banner.unknown{background:var(--surface-soft);color:var(--text)}.weather-verdict-heading{display:flex;align-items:center;gap:12px}.weather-verdict-heading>strong{font-size:24px!important;line-height:1.1}.weather-verdict-heading>small{font-size:12px}.flight-weather-banner>span{font-size:13px;font-weight:500}.flight-weather-banner>small{font-size:11px;opacity:.9}.flight-weather-banner details{margin:0}.flight-weather-banner details>summary{min-height:28px!important;font-size:11px!important;padding:4px 0}.flight-weather-banner details ul{font-size:12px;line-height:1.45;margin:6px 0;padding-left:18px}
#wx-observation .current-weather-facts{grid-template-columns:repeat(3,minmax(0,1fr))}#wx-observation{margin-block:16px}.wx-toolbar{gap:10px!important;align-items:end!important}.wx-toolbar label{font-size:12px!important}.wx-toolbar input{margin-top:4px}.wx-toolbar button{margin:0!important}#wx-location{padding:0;margin:14px 0!important}#wx-location label{flex:1 1 140px;max-width:240px}#wx-location button{flex:0 1 auto}.wx-tabs{margin:16px 0!important}.wx-tabs button{min-height:38px!important;padding:8px 12px!important;font-size:12px!important}.wx-sources,.wx-data-note{font-size:11px!important;line-height:1.45!important}.wx-daily-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important}.wx-daily-grid article{padding:12px 8px!important;border-radius:10px!important}.wx-workspace>.section-title .eyebrow{display:none}#wx-message:empty,#wx-provenance:empty{display:none}
html[data-theme] .aircraft-record-card h3{min-height:0;margin:8px 0 12px;font-size:20px}.aircraft-card-top{min-height:0;gap:8px}.aircraft-card-top>small{font-size:11px}.aircraft-record-card>.aircraft-reference{margin:0 0 14px}.aircraft-reference figcaption{font-size:10px;line-height:1.4}.aircraft-record-card dl>div,.readiness-card dl>div{padding-block:7px;gap:10px}.aircraft-record-card dl dd,.readiness-card dl dd{font-size:12px;line-height:1.35}.aircraft-possession{font-size:11px;margin:8px 0 12px;padding-top:12px}.aircraft-possession strong{display:block;font-size:13px;margin-top:4px}.aircraft-possession button{font-size:12px}.readiness-card .aircraft-reference img{height:140px}.record-status-badge{font-size:11px;line-height:1.3}.overview-asset small{font-size:11px;line-height:1.4}.overview-asset h3{font-size:16px}.maintenance-overdue{font-size:12px;padding:8px 10px;margin:10px 0}
.table-tools{padding:10px!important;gap:8px!important}.table-tools>button,.table-tools>select,.table-tools>details{font-size:12px!important}.records-table td{font-size:13px;line-height:1.4}.records-table th{font-size:12px}.records-table th button{min-height:30px!important}.records-empty{padding:24px!important}.records-empty h3{margin:0 0 6px}.records-empty p{font-size:13px;margin:0}.record-section-summary>span{font-size:12px;padding:10px}.table-footer{font-size:12px}.section-title .eyebrow{font-size:10px;margin-bottom:4px}
/* Messaging occupies the available page; only history and conversation list scroll. */
html[data-theme] .messages-workspace:not([hidden]){display:grid;grid-template-columns:minmax(220px,28%) minmax(0,1fr);height:calc(100dvh - 230px);min-height:520px;max-height:900px;border:1px solid var(--stroke);border-radius:16px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow-soft)}
.message-rail{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--surface-soft);border-right:1px solid var(--stroke);padding:16px;gap:14px}.message-rail-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.message-rail-heading h2{font-size:18px!important;margin:0}.message-rail-heading button{font-size:11px!important;padding:8px!important;min-height:36px!important}.message-rail>input{width:100%;min-height:40px!important;margin:0;font-size:12px!important;background:var(--surface)!important}.conversation-list{flex:1;overflow:auto;min-height:0;display:flex;flex-direction:column;gap:5px;margin:0 -5px;padding:0 5px}
html[data-theme] .conversation-row{display:flex;align-items:center;text-align:left;gap:10px;padding:12px 10px;min-height:64px;border:1px solid transparent;background:transparent;color:var(--text);border-radius:10px;flex-shrink:0;width:100%}.conversation-row[aria-pressed=true]{background:var(--surface)!important;border-color:var(--stroke)!important;box-shadow:inset 3px 0 var(--accent)}.conversation-avatar{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;background:var(--accent-soft);color:var(--accent-text);border:1px solid var(--stroke);border-radius:11px;font-size:11px;font-weight:700}.conversation-label{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.conversation-label strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}.conversation-label small{font-size:10px;color:var(--text-muted);line-height:1.2}.conversation-unread{font-size:10px;border-radius:12px;background:var(--accent-soft);color:var(--accent-text);padding:3px 6px}
.message-thread{display:flex;flex-direction:column;min-width:0;min-height:0}.message-thread-heading{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--stroke);flex-shrink:0}.message-thread-heading>div{min-width:0;flex:1}.message-thread-heading h3{margin:0 0 3px;font-size:16px!important;overflow-wrap:anywhere}.message-thread-heading small{font-size:11px;color:var(--text-muted)}.message-thread-heading>button{font-size:11px!important}.message-back{display:none}
.messages-workspace .message-history{margin:0;border:0;border-radius:0;background:var(--surface);padding:22px;min-height:120px;flex:1;gap:12px;overscroll-behavior:contain}.message-history article{max-width:80%;padding:10px 13px;flex-shrink:0;align-self:flex-start;border-color:var(--stroke);background:var(--surface-soft);border-radius:12px 12px 12px 3px}.message-history article.message-own{background:var(--accent-soft);border-color:transparent;border-radius:12px 12px 3px 12px}.message-history article small{font-size:10px;color:var(--text-muted);line-height:1.4}.message-history article p{font-size:14px;line-height:1.45;margin:5px 0 0;overflow-wrap:anywhere}.message-history article a{font-size:12px;display:block;margin-top:6px}.message-empty{color:var(--text-muted);font-size:13px;margin:auto;align-self:center;text-align:center;padding:24px}.message-status{font-size:12px;color:var(--bad-text);margin:0;padding:0 20px 8px}.message-status:empty{display:none}
.message-settings{border-top:1px solid var(--stroke);padding:0 20px;background:var(--surface)}.message-settings>summary{font-size:11px!important;min-height:34px!important;padding:8px 0}.message-settings>small{font-size:10px;color:var(--text-muted);display:block;padding-bottom:12px}.message-settings .message-options{margin:6px 0 12px;gap:18px}.message-settings .message-options label{font-size:12px}.messages-workspace .message-composer{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:8px;padding:12px 20px 16px;background:var(--surface)}.message-composer textarea{height:68px;min-height:68px!important;max-height:160px;resize:vertical;margin:0;line-height:1.4}.message-composer>button{height:68px;align-self:start}.message-compose-tools{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px}.message-compose-tools>small{font-size:10px;color:var(--text-muted)}.message-compose-tools>select{width:auto;max-width:180px;font-size:11px!important;min-height:32px!important;padding:5px 24px 5px 8px;margin:0}.message-compose-tools>button{font-size:10px!important;min-height:32px!important;padding:5px 8px}.message-attach{position:relative;display:inline-flex;align-items:center;min-height:32px;min-width:72px;font-size:11px;font-weight:650;margin:0!important;overflow:hidden;padding:5px 8px;box-sizing:border-box;border:1px solid var(--stroke);border-radius:8px;cursor:pointer}.message-attach input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0!important}.message-attach:focus-within{outline:3px solid var(--accent);outline-offset:2px}.messages-workspace [hidden]{display:none!important}
html[data-theme] .live-viewer .uas-wall-toolbar{background:var(--glass)!important;border-radius:10px}.messages-nav-link:not(.sidebar *){font-size:12px;min-height:38px}
@media(max-width:1250px){.operation-metric small{min-height:2.7em}.operation-metric strong{font-size:23px}html[data-theme] body [data-panel=overview]>.overview-flight-card{grid-template-columns:1fr 1fr;gap:20px}.command-steps li{flex-direction:column;align-items:flex-start;gap:5px}.wx-daily-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1100px){html[data-theme] body [data-panel=overview]{grid-template-areas:'stats' 'flight' 'weather' 'map' 'open' 'activity' 'utils'}.operation-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.operation-metric{grid-template-columns:1fr!important}.operation-metric svg{display:none}.operation-metric small{font-size:10px}.messages-workspace:not([hidden]){grid-template-columns:minmax(200px,30%) minmax(0,1fr)!important}.message-rail{padding:12px}.message-rail-heading{flex-wrap:wrap}}
@media(max-width:700px){html[data-theme] body .workspace-header{padding:14px 16px}html[data-theme] body :is(.card,.overview-flight-card,.map-card){padding:16px}.operation-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.operation-metric{grid-template-columns:30px minmax(0,1fr)!important;padding:13px!important}.operation-metric svg{display:block;width:30px;height:30px}.operation-metric small{min-height:0;grid-column:1/-1}html[data-theme] body [data-panel=overview]>.overview-flight-card{grid-template-columns:1fr;gap:18px}.command-steps li{flex-direction:row}.overview-flight-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.current-weather-facts{gap:12px!important}.current-weather-facts dd{font-size:13px}.next-four{gap:5px!important}.forecast-slot{padding:8px!important}.forecast-slot>span{font-size:9px}.wx-daily-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#wx-location label{max-width:none;flex:1 1 120px}#wx-location button{flex:1 1 120px}.wx-tabs{gap:6px!important}.wx-tabs button{flex:1 1 120px}.messages-workspace:not([hidden]){grid-template-columns:1fr!important;min-height:500px;height:calc(100dvh - 240px)!important}.message-rail{border-right:0}.message-thread{display:none}.messages-workspace[data-thread=selected] .message-rail{display:none}.messages-workspace[data-thread=selected] .message-thread{display:flex}.message-back{display:block}.message-thread-heading{padding:12px}.message-thread-heading h3{font-size:14px!important}.messages-workspace .message-history{padding:14px}.messages-workspace .message-composer{padding:10px 12px 14px;grid-template-columns:minmax(0,1fr) 62px}.message-settings{padding-inline:12px}.message-history article{max-width:90%}.message-rail-heading{flex-wrap:nowrap}.message-rail-heading button{min-height:42px!important}.conversation-row{min-height:68px!important}.conversation-label strong{font-size:14px}.conversation-label small{font-size:11px}}
@media(prefers-reduced-motion:no-preference){.messages-workspace .message-history article{animation:message-in .18s ease-out}.conversation-row{transition:background .18s,border-color .18s}.sidebar nav a,.operation-metric,.overview-flight-actions button{transition:background .18s,border-color .18s,box-shadow .18s}@keyframes message-in{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){html[data-theme] .workspace-header,html[data-theme] .sidebar,.location-dialog,.command-controls-dialog{background:var(--surface)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

/* Review pass 2: contrast and compact weather controls. */
html[data-theme] body .message-settings>summary,html[data-theme] body .aircraft-reference summary{color:var(--text)!important}
html[data-theme] body .flight-weather-banner.safe{background:var(--good-bg)!important;border-color:var(--good-text)!important;color:var(--good-text)!important}
html[data-theme] body .flight-weather-banner.caution{background:var(--warn-bg)!important;border-color:var(--warn-text)!important;color:var(--warn-text)!important}
html[data-theme] body .flight-weather-banner.unsafe{background:var(--bad-bg)!important;border-color:var(--bad-text)!important;color:var(--bad-text)!important}
html[data-theme] body #wx-flight-banner{margin:0;grid-template-columns:110px minmax(0,1fr);gap:4px 16px}.weather-verdict-heading{grid-row:1/4;flex-direction:column;align-items:flex-start;justify-content:center}.flight-weather-banner>span,.flight-weather-banner>small,.flight-weather-banner>details{grid-column:2}.flight-weather-banner>details>summary{min-height:24px!important;padding:2px 0}
html[data-theme] body #wx-observation .current-weather-facts>div{min-height:52px;padding:10px}.wx-workspace{gap:12px}#wx-observation{margin-block:0}.wx-workspace>.section-title{margin:0!important;justify-content:flex-end}.wx-workspace>.section-title>div{display:none}.wx-location-details{border:1px solid var(--stroke);border-radius:10px;background:var(--surface-soft);padding:0 14px}.wx-location-details>summary{font-size:12px!important;min-height:40px!important;padding:11px 0;color:var(--text)}#wx-location{margin:0 0 14px!important}.wx-location-details>summary:after{content:' · coordinates or device location';font-size:11px;color:var(--text-muted)}
#texas-reporting button{margin:5px 8px 5px 0}#texas-reporting>div>label{font-size:12px}.message-rail-heading h2{font-size:16px!important}
@media(max-width:600px){html[data-theme] body #wx-flight-banner{grid-template-columns:80px minmax(0,1fr);gap:5px 12px}.weather-verdict-heading>strong{font-size:23px!important}.weather-verdict-heading>small{font-size:10px}.flight-weather-banner>span{font-size:12px}.wx-location-details>summary:after{content:''}}

@media(max-width:700px){html[data-theme] body .overview-flight-card .command-steps{gap:8px!important}html[data-theme] body .overview-flight-card .command-steps li{flex-direction:column;align-items:flex-start;gap:5px;font-size:11px}html[data-theme] body .overview-flight-card .command-steps li>span{width:auto;min-width:0;height:auto;border:0;background:transparent;line-height:1}}

@media(max-width:700px){body[data-current-view=messages] #workspace-location{display:none!important}}

.maintenance-steps{list-style:none;padding:0}.maintenance-overview>.eyebrow:empty{display:none}

/* Final review: keep the viewer navigation on the same control baseline. */
.live-viewer #messages-open{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:42px;padding:9px 14px;border:1px solid var(--stroke);border-radius:10px;text-decoration:none;color:var(--text);background:var(--surface)}

html[data-theme] .messages-workspace .message-history article,html[data-theme] .messages-workspace .message-history article p{color:var(--text)!important}
html[data-theme] .messages-workspace .message-history article a{color:var(--accent-text)!important}

html[data-theme] .breadcrumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}

/* Pre-live review: compact record actions and consistent header height. */
[data-panel=operations]>.section-title{display:none!important}
.records-table .record-actions-cell{min-width:150px;width:170px;white-space:normal!important}
.record-actions-cell>button{min-height:36px!important;padding:6px 10px!important}.record-row-actions{display:inline-block;vertical-align:top;margin-left:6px}.record-row-actions>summary{min-height:36px!important;padding:7px 10px!important;font-size:12px!important}.record-row-actions>div{display:grid;gap:5px;padding-top:6px}.record-row-actions button{min-height:36px!important;padding:6px 9px!important;text-align:left}
@media(min-width:1001px) and (max-width:1500px){.workspace-header .account>span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-heading{min-width:230px!important}}
@media(max-width:700px){.ops-actions{gap:8px!important}.ops-actions>button{flex:0 1 auto}.record-row-actions{margin:5px 0 0}}

.workspace-header .account{min-width:0}.workspace-header .account>button{flex-shrink:0;min-width:76px;white-space:nowrap!important}
@media(min-width:1001px) and (max-width:1500px){.workspace-header .account>span{max-width:125px;min-width:0}.workspace-heading{min-width:220px!important}}
.records-table th button{background:transparent!important;border:0!important;min-height:30px!important;padding:4px 0!important;color:var(--text)!important}
.readiness-card dl{gap:0!important;margin:10px 0}.readiness-card dl>div{padding-block:6px!important;grid-template-columns:100px minmax(0,1fr)!important;border-bottom:1px solid var(--stroke)}.readiness-card h4{font-size:16px!important}.readiness-equipment{margin-top:22px}.readiness-equipment h4{margin-bottom:10px}.readiness-equipment td:last-child>div{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

@media(min-width:1200px){#access-list .user-row{grid-template-columns:minmax(130px,1fr) minmax(150px,1fr) minmax(180px,1.4fr) auto auto auto;gap:10px}#access-list .user-row .delete-action{margin:0}}
#access-list .delete-action{color:var(--bad-text);border-color:var(--stroke);background:var(--bad-bg)}

/* Short landscape windows keep every selected view inside the screen. */
@media(orientation:landscape) and (max-height:600px){
 body.live-viewer{display:flow-root!important}
 .live-viewer .topbar{padding:4px 8px!important;margin:4px!important;min-height:44px!important;gap:8px!important}.live-viewer .topbar .department-logo{width:30px!important;height:30px!important}.live-viewer .topbar .brand strong{font-size:13px!important}.live-viewer .topbar .brand small{display:none!important}.live-viewer .topbar :is(button,summary,select,.button){min-height:34px!important;padding:6px 9px!important;font-size:11px!important}.live-viewer .topbar .appearance-control{padding:0!important;margin:0!important}.live-viewer main{padding:0 6px!important;margin:0!important}.live-viewer .viewer-heading{display:none!important}.live-viewer #status{font-size:10px!important;line-height:1.3!important;margin:4px 0!important;padding:4px 8px!important}.live-viewer footer{padding:3px 6px!important;font-size:9px!important}.live-viewer #video-host{margin:0!important}
 .live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;height:var(--command-wall-height)!important;min-height:0!important;max-height:none!important;padding:6px!important;gap:6px!important;overflow:hidden!important;margin:0!important}
 .live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape>.uas-wall-toolbar{min-height:36px!important;height:36px!important;flex-wrap:nowrap!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape>.uas-wall-toolbar :is(button,select){min-height:32px!important;height:32px!important;font-size:11px!important;padding:4px 8px!important}
 .live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape>[data-uas-feeds]{height:100%!important;min-height:0!important;gap:6px!important;overflow:hidden!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape .uas-card{min-height:0!important;grid-template-rows:30px minmax(0,1fr)!important;overflow:hidden!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape .uas-card>header{min-height:30px!important;height:30px!important;padding:0 6px!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape .uas-card>header button{min-height:28px!important;height:28px!important;font-size:10px!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape .uas-card>header h3{font-size:11px!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape .uas-card>.uas-video{height:100%!important;min-height:0!important;aspect-ratio:auto!important}
 .live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape>.command-sources{position:absolute!important;right:6px!important;top:48px!important;bottom:6px!important;grid-column:auto!important;grid-row:auto!important;width:min(220px,45vw)!important;max-height:none!important;background:var(--surface)!important;z-index:30!important;box-shadow:0 8px 24px #0008}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape>.command-sources[hidden]{display:none!important}.live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape .command-sources [data-uas-sources]{display:flex!important}
 .live-viewer .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape:fullscreen{height:100dvh!important}
}

/* One viewer toolbar. Secondary controls retain their original nodes and access rules. */
body.live-viewer.compact-viewer-active{display:flow-root!important}
body.live-viewer.compact-viewer-active>.topbar,body.live-viewer.compact-viewer-active>footer,body.live-viewer.compact-viewer-active .viewer-heading{display:none!important}
body.live-viewer.compact-viewer-active main{padding:6px!important;margin:0!important}
body.live-viewer.compact-viewer-active #video-host{margin:0!important}
body.live-viewer.compact-viewer-active #status,body.live-viewer.compact-viewer-active [data-uas-status]{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body.live-viewer.compact-viewer-active .uas-panel .uas-wall.is-wall.adaptive-wall.command-console{grid-template-rows:auto minmax(0,1fr)!important;padding:8px!important;gap:8px!important;max-height:none!important}
body.live-viewer.compact-viewer-active .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.uas-wall-toolbar{display:flex!important;height:40px!important;min-height:40px!important;flex-wrap:nowrap!important;gap:6px!important;overflow:visible!important;background:transparent!important}
body.live-viewer.compact-viewer-active .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.uas-wall-toolbar :is(button,select){height:36px!important;min-height:36px!important;font-size:12px!important;padding:5px 9px!important;white-space:nowrap!important;margin:0!important;width:auto!important}
body.live-viewer.compact-viewer-active .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.uas-wall-toolbar .uas-wall-tools{display:flex!important;flex:1!important;min-width:0!important;gap:0!important;padding:0!important}
body.live-viewer.compact-viewer-active .uas-wall-tools>label{display:flex!important;align-items:center!important;font-size:0!important;margin:0!important;gap:0!important;min-width:0!important}
body.live-viewer.compact-viewer-active .uas-wall-tools select{max-width:155px!important;min-width:0!important}
body.live-viewer.compact-viewer-active .compact-viewer-brand{display:flex;align-items:center;flex:none;width:26px}
body.live-viewer.compact-viewer-active .compact-viewer-brand img{width:26px;height:26px;object-fit:contain}
body.live-viewer.compact-viewer-active [data-uas-wall-full]{min-width:36px!important;font-size:22px!important;line-height:1!important}
body.live-viewer.compact-viewer-active [data-command-return]{margin:0!important;order:0!important}
body.live-viewer.compact-viewer-active .compact-viewer-menu{position:fixed!important;inset:0!important;margin:auto!important;width:min(420px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;height:fit-content!important;padding:18px!important;border:1px solid var(--stroke)!important;border-radius:16px!important;background:var(--glass,var(--surface))!important;color:var(--text)!important;backdrop-filter:blur(24px);box-sizing:border-box!important;overflow:auto!important;box-shadow:0 18px 70px #0006!important}
body.live-viewer.compact-viewer-active .compact-viewer-menu:not([open]){display:none!important}
.compact-viewer-menu::backdrop{background:#0008}
body.live-viewer.compact-viewer-active .compact-viewer-menu>header{display:flex!important;align-items:center;justify-content:space-between;padding:0!important;margin:0 0 14px!important;gap:12px;background:transparent!important}
body.live-viewer.compact-viewer-active .compact-viewer-menu h2{font-size:20px!important;margin:0!important}
body.live-viewer.compact-viewer-active .compact-viewer-menu :is(button,select,a.button,a.header-link){min-height:42px!important;font-size:13px!important;line-height:1.25!important;padding:10px 12px!important;border:1px solid var(--stroke)!important;border-radius:8px!important;box-sizing:border-box;background:var(--surface)!important;color:var(--text)!important;text-decoration:none}
body.live-viewer.compact-viewer-active .compact-viewer-menu [hidden]{display:none!important}
body.live-viewer.compact-viewer-active .compact-viewer-menu :is(.compact-viewer-preferences,.compact-viewer-actions,.viewer-tools,.viewer-menu-body){display:flex!important;flex-wrap:wrap!important;gap:8px!important;position:static!important;inset:auto!important;min-width:0!important;width:100%!important;margin:0 0 12px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;max-height:none!important;overflow:visible!important}
body.live-viewer.compact-viewer-active .compact-viewer-menu .viewer-menu-body>*{flex:1 1 44%;min-width:0;overflow-wrap:anywhere}
body.live-viewer.compact-viewer-active .compact-viewer-menu #username{flex-basis:100%;font-size:12px;color:var(--text-muted)}
body.live-viewer.compact-viewer-active .compact-viewer-menu .appearance-control{display:flex!important;margin:0!important;padding:0!important;gap:8px}
body.live-viewer.compact-viewer-active .compact-viewer-menu .viewer-tools>label,body.live-viewer.compact-viewer-active .compact-viewer-menu #viewer-fullscreen,body.live-viewer.compact-viewer-active .compact-viewer-menu .viewer-size{display:none!important}
.compact-viewer-status{font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere;margin:8px 0!important;color:var(--text-muted)}
.compact-viewer-version{display:block;font-size:11px;color:var(--text-muted)}
@media(max-width:1000px) and (min-height:601px){body.live-viewer.compact-viewer-active .uas-panel .uas-wall.is-wall.adaptive-wall.command-console{grid-template-rows:auto auto auto!important}}
@media(max-width:600px){body.live-viewer.compact-viewer-active .uas-wall-tools select{max-width:122px!important}body.live-viewer.compact-viewer-active .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.uas-wall-toolbar{gap:4px!important}body.live-viewer.compact-viewer-active .uas-panel .uas-wall.is-wall.adaptive-wall.command-console>.uas-wall-toolbar :is(button,select){font-size:11px!important;padding:5px 7px!important}}
@media(orientation:landscape) and (max-height:600px){body.live-viewer.compact-viewer-active .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape{grid-template-rows:auto minmax(0,1fr)!important;padding:6px!important;gap:6px!important}body.live-viewer.compact-viewer-active .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape>.uas-wall-toolbar{height:36px!important;min-height:36px!important}body.live-viewer.compact-viewer-active .uas-panel .uas-wall.is-wall.adaptive-wall.command-console.compact-landscape>.command-sources{top:48px!important}}

/* v6.84: compact weather, clear edge status and gently colored maps. */
html[data-theme] body .flight-weather-banner.safe{border:1px solid #39a971!important;background:var(--surface)!important;box-shadow:inset 0 0 25px 0 #23ad6270!important;color:var(--text)!important}
html[data-theme] body .flight-weather-banner.unsafe{border:1px solid #e95a63!important;background:var(--surface)!important;box-shadow:inset 0 0 25px 0 #db304e70!important;color:var(--text)!important}
html[data-theme] body .operation-metric:has(#overview-weather-badge-card[data-tone=safe]){border-color:#39a971!important;box-shadow:inset 0 0 25px #23ad6270!important}
html[data-theme] body .operation-metric:has(#overview-weather-badge-card[data-tone=unsafe]){border-color:#e95a63!important;box-shadow:inset 0 0 25px #db304e70!important}
html[data-theme] body .slfd-basemap{filter:saturate(.25) contrast(.95) brightness(1.02)!important}
html[data-theme=dark] body .slfd-basemap{filter:saturate(.22) contrast(.94) brightness(.81)!important}
.current-weather-top{display:grid!important;grid-template-columns:minmax(0,1fr) 112px 64px!important;align-items:center;gap:10px!important}
.current-weather-art{width:112px;height:76px;color:var(--accent)}.current-weather-art svg{width:100%;height:100%}.weather-sun{fill:var(--accent-soft);stroke:var(--accent);stroke-width:3}.weather-cloud{fill:var(--surface-soft);stroke:var(--text-muted);stroke-width:3}.weather-rain{color:var(--text-muted)}
@media(prefers-reduced-motion:no-preference){.current-weather-art .weather-sun-rays{transform-origin:105px 34px;animation:weather-sun-turn 35s linear infinite}.current-weather-art .weather-rain{animation:weather-rain-pulse 2.5s ease-in-out infinite}@keyframes weather-sun-turn{to{transform:rotate(360deg)}}@keyframes weather-rain-pulse{50%{opacity:.35;transform:translateY(2px)}}}
html[data-theme] body #wx-conditions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
html[data-theme] body #wx-conditions>#wx-current-banner{grid-column:1/-1}
html[data-theme] body #wx-conditions>#wx-observation{grid-column:1;min-width:0}
html[data-theme] body #wx-conditions>#weather-gnss{grid-column:2;min-width:0}
html[data-theme] body .wx-forecast-details{grid-column:1/-1}
html[data-theme] body #wx-observation .current-weather-facts{grid-template-columns:repeat(3,minmax(0,1fr))!important}
html[data-theme] body .planning-layout{align-items:start!important;grid-template-columns:minmax(0,1fr) 300px!important}
html[data-theme] body #planning-map-card{min-height:0!important;align-self:start!important}
html[data-theme] body #planning-map{height:clamp(380px,65dvh,780px)!important;min-height:0!important}
html[data-theme] body .planning-sidebar .card{padding:14px!important}.planning-sidebar p{font-size:12px;line-height:1.4;margin:6px 0}
.readiness-due-actions{display:flex;gap:8px;flex-wrap:wrap}.readiness-due-actions a{padding:8px 10px;border:1px solid var(--stroke);border-radius:8px;font-size:12px;color:var(--accent-text)}
@media(max-width:1000px){html[data-theme] body #wx-conditions{grid-template-columns:minmax(0,1fr)}html[data-theme] body #wx-conditions>:is(#wx-observation,#weather-gnss){grid-column:1}html[data-theme] body .planning-layout{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:550px){.current-weather-top{grid-template-columns:minmax(0,1fr) 80px 54px!important}.current-weather-art{width:80px;height:62px}}
.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.library-media-card{display:flex;flex-direction:column;gap:6px;padding:12px;border:1px solid var(--stroke);border-radius:12px;background:var(--surface);min-width:0}.library-media-card>button{padding:0!important;overflow:hidden;aspect-ratio:16/10;background:#111!important}.library-media-card :is(img,video){width:100%;height:100%;object-fit:contain}.library-media-card>strong{font-size:13px;overflow-wrap:anywhere}.library-media-card>small{font-size:11px;color:var(--text-muted)}.library-documents{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}.library-pin-form{display:flex;flex-wrap:wrap;gap:10px;align-items:end;max-width:550px}.library-pin-form label{flex:1;min-width:180px}.library-upload{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0}.library-upload label{max-width:450px}.library-caption{font-size:13px;color:var(--text-muted)}.library-permissions{margin:16px 0}.library-access-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--stroke);padding:12px 0}.library-access-row>strong{flex:1;min-width:140px}.library-access-row label,.gallery-publish-form label{display:flex;align-items:center;gap:8px;margin:0;font-size:13px}.library-access-row input,.gallery-publish-form input{width:18px!important;min-height:18px!important}.gallery-publish-form{display:grid;gap:12px;max-height:420px;overflow:auto}.library-preview{width:min(1100px,94vw);max-height:94dvh;overflow:auto;border:1px solid var(--stroke);border-radius:16px;background:var(--surface);color:var(--text)}.library-preview::backdrop{background:#000b}.library-preview :is(img,video){display:block;max-width:100%;width:auto;height:auto;max-height:70dvh;margin:auto;object-fit:contain}.library-preview h3{font-size:15px;overflow-wrap:anywhere}
.slfd-traffic-icon{background:none!important;border:0!important;filter:drop-shadow(0 1px 2px #0008)}.traffic-heading{display:block;width:26px;height:26px;transition:transform .4s linear}.traffic-heading svg{width:100%;height:100%;fill:var(--accent,#e1c16c);stroke:#252a30;stroke-width:1.2;stroke-linejoin:round}.traffic-uas svg{fill:#eab983;stroke:#272c32;stroke-width:1.5}.traffic-stale{opacity:.45;filter:grayscale(1)}
html[data-theme] body .planning-grid{grid-template-columns:minmax(0,1fr) 290px!important;align-items:start!important;gap:14px!important}
html[data-theme] body .planning-grid>aside{max-height:calc(100dvh - 210px);overflow:auto;display:grid;gap:12px;align-content:start;padding-right:4px}
html[data-theme] body .planning-grid>aside .card{padding:14px!important}html[data-theme] body .planning-grid>aside :is(h3,p){margin:5px 0!important}html[data-theme] body .planning-grid>aside h3{font-size:16px!important}html[data-theme] body .planning-grid>aside p{font-size:12px!important;line-height:1.35!important}
html[data-theme] body #planning-map{height:clamp(320px,52dvh,640px)!important}
html[data-theme] body .planning-grid>aside{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto!important}html[data-theme] body .planning-context .current-weather-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
@media(max-width:1000px){html[data-theme] body .planning-grid{grid-template-columns:minmax(0,1fr)!important}html[data-theme] body .planning-grid>aside{max-height:none;overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){html[data-theme] body .planning-grid>aside{grid-template-columns:minmax(0,1fr)!important}}
@media(prefers-reduced-motion:reduce){.traffic-heading{transition:none}}

.wx-current-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:12px;align-items:stretch}.wx-current-row>section,.wx-current-row>div{min-width:0;margin:0!important}
html[data-theme] body #wx-conditions>.wx-seven-day{grid-column:2}html[data-theme] body #wx-conditions>.wx-upcoming{grid-column:1}html[data-theme] body #wx-conditions>.wx-hourly-details{grid-column:1/-1}
html[data-theme] body .wx-day-card{padding:10px!important;gap:5px!important}html[data-theme] body .wx-daily-grid{grid-template-columns:repeat(auto-fit,minmax(86px,1fr))!important;gap:7px!important}
@media(max-width:1100px){.wx-current-row{grid-template-columns:minmax(0,1fr)}html[data-theme] body #wx-conditions>.wx-seven-day{grid-column:1}}
html[data-theme] body #planning-map-card[data-expanded=true] #planning-map{height:100%!important;min-height:0!important}

html[data-theme] body .operation-metric[data-metric=weather][data-tone=safe]{border-color:#39a971!important;box-shadow:inset 0 0 25px #23ad6270!important}html[data-theme] body .operation-metric[data-metric=weather][data-tone=unsafe]{border-color:#e95a63!important;box-shadow:inset 0 0 25px #db304e70!important}

.sidebar nav>a.library-nav-link{display:flex;align-items:center;gap:10px;margin:6px 10px;padding:11px 13px;border:1px solid transparent;border-radius:10px;text-decoration:none;font-size:13px;font-weight:650;color:var(--text)}.sidebar nav>a.library-nav-link:before{content:'';width:16px;height:13px;border:1.5px solid currentColor;border-radius:3px;background:linear-gradient(145deg,transparent 50%,currentColor 51%,transparent 56%)}
/* Keep the combined map inside a normal desktop workspace instead of stretching with its sidebar. */
html[data-theme] body [data-panel=planning]>.section-title{justify-content:flex-end;margin-bottom:10px!important}
html[data-theme] body [data-panel=planning]>.section-title>div:first-child{display:none!important}
html[data-theme] body #planning-map-card{padding:0!important;overflow:hidden!important}
html[data-theme] body #planning-map-card .planning-map-stage{min-height:0!important;height:auto!important}
html[data-theme] body #planning-map-card .planning-map-header{padding:9px 12px!important;min-height:48px!important}
html[data-theme] body #planning-map-card .planning-map-actions{padding:5px 10px!important;min-height:40px!important}
html[data-theme] body #planning-map-card :is(#plan-traffic-status,#map-layer-status){padding:5px 10px!important;margin:0!important;font-size:10px!important;line-height:1.3!important;min-height:0!important}
html[data-theme] body #planning-map-card .map-selection-row{padding:5px 10px!important;min-height:38px!important;font-size:11px!important}
html[data-theme] body #planning-map-card .map-selection-row button{min-height:30px!important;padding:5px 8px!important;font-size:11px!important}
html[data-theme] body #planning-map-card .map-footer{padding:5px 10px!important;font-size:9px!important;line-height:1.3!important}
html[data-theme] body #planning-map-card #map-status:empty{display:none!important}
html[data-theme] body .planning-context .current-weather-top{grid-template-columns:minmax(0,1fr) 65px!important}.planning-context .current-weather-art{width:65px;height:54px}.planning-context .weather-temp{font-size:36px!important}
html[data-theme] body :is([data-panel=media-gallery],[data-panel=restricted-documents])>.section-title{justify-content:flex-end;margin:0 0 10px!important}
html[data-theme] body :is([data-panel=media-gallery],[data-panel=restricted-documents])>.section-title h2{display:none!important}
html[data-theme] body :is([data-panel=media-gallery],[data-panel=restricted-documents])>.section-title:has(h2:only-child){display:none!important}
html[data-theme] body .library-media-card>strong{color:var(--text)!important}
html[data-theme] body [data-panel=media-gallery]>.card{display:inline-block;vertical-align:top;width:calc(50% - 8px);padding:12px 14px!important;margin:4px 8px 14px 0!important}
@media(max-width:700px){html[data-theme] body [data-panel=media-gallery]>.card{display:block;width:100%;margin:8px 0!important}}

/* Keep the empty command wall operable after its last stream closes. */
.live-viewer .command-console>.command-empty{grid-column:1;grid-row:2;align-self:center;justify-self:center;max-width:32rem;margin:24px;padding:20px;text-align:center;color:var(--text-muted)}
.live-viewer .command-console>.command-empty[hidden]{display:none!important}

/* Source: review-v684.css */
/* Focused account, navigation and aircraft-awareness refinements. */
.sidebar nav>a.nav-primary-link{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin:5px 0;padding:9px;min-height:44px;border:1px solid transparent;border-radius:10px;color:var(--text,var(--ink));font-size:13px;font-weight:650;line-height:1.25;text-decoration:none}
.sidebar nav>a.nav-primary-link:before{display:none!important;content:none!important}
.sidebar nav>a.nav-primary-link>.ui-icon,.sidebar .nav-group>summary>.ui-icon{flex:0 0 22px;width:22px;height:22px;stroke-width:1.8}
.sidebar nav>a.nav-primary-link>[data-nav-label]{display:block;flex:1 1 auto;width:auto!important;min-width:0;max-width:none;font:inherit;color:inherit;text-align:left;line-height:1.25;white-space:normal;overflow-wrap:normal}
.sidebar nav>a.nav-primary-link:hover,.sidebar nav>a.nav-primary-link[aria-current=page]{background:var(--surface-soft,#eee);border-color:var(--stroke,#ddd)}
.sidebar nav>a.nav-primary-link[aria-current=page]{box-shadow:inset 3px 0 var(--accent,#d4b03b)}
.sidebar nav>.nav-primary-link[data-view=overview]{margin-top:0;margin-bottom:12px}
.account-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:12px 0 18px}
.account-create-card{min-width:0;padding:18px;border:1px solid var(--stroke,var(--line));border-radius:14px;background:var(--surface-soft,#f5f5f3)}
.account-create-card h3{margin:0 0 6px}.account-create-card>p{margin:0 0 16px;line-height:1.4}.account-create-card form{display:grid;grid-template-columns:1fr;align-content:start;gap:12px}
.account-create-card form label{margin:0;display:grid;gap:5px}.account-create-card :is(input,select,button){min-height:42px;width:100%;max-width:100%}
.account-create-card form button{margin:0;align-self:end}.account-create-card #new-user-role-description{margin:0;font-size:12px;line-height:1.4}
#user-form{grid-template-columns:repeat(2,minmax(0,1fr))}#user-form>label:nth-of-type(3),#user-form>p,#user-form>button{grid-column:1/-1}
#signup-link-result{margin-top:14px}#signup-link-result label{display:grid;gap:5px}#signup-link-url{font-size:12px}#signup-link-copy{margin-top:8px}.signup-link-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid var(--stroke,var(--line));font-size:12px;line-height:1.3}.signup-link-row button{width:auto;min-height:34px;padding:6px 10px;flex:none}
html[data-theme] body #planning-map-card .map-locations{display:flex;align-items:center;flex-wrap:wrap;gap:6px;width:100%;min-width:0;overflow:visible}
html[data-theme] body #planning-map-card .map-locations button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:36px;height:auto;margin:0;padding:7px 12px;line-height:1.2;font-size:12px;border:1px solid var(--stroke,#ccc);border-radius:9px;white-space:nowrap}
.aircraft-alert-panel{flex:none;border-block:1px solid var(--stroke,var(--line));background:var(--surface-soft,#f7f7f5);padding:9px 12px}
.aircraft-alert{margin:0 0 7px;line-height:1.35;font-size:12px;font-weight:650;color:var(--text,var(--ink));overflow-wrap:anywhere}
.aircraft-alert[data-level=warning]{padding:9px 11px;color:#b61c35;border:1px solid #cb4058;border-radius:9px;background:linear-gradient(110deg,#e8476124,transparent)}
html[data-theme=dark] .aircraft-alert[data-level=warning]{color:#ffbdc6;background:linear-gradient(110deg,#d442593d,transparent)}
.aircraft-alert[data-level=unknown]{color:var(--muted-strong,var(--text))}.aircraft-reference{margin:5px 0 0;line-height:1.3;font-size:10px;color:var(--muted)}
.aircraft-legend{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;font-size:10px;line-height:1.3;color:var(--text,var(--ink))}.aircraft-legend>span{display:inline-flex;align-items:center;gap:5px}.aircraft-legend i{display:inline-block;width:8px;height:8px;border-radius:50%}.alt-high{background:#8f949b;opacity:.6}.alt-medium{background:#e4bf32}.alt-low{background:#e44a5c}
.aircraft-legend>label{display:flex;align-items:center;gap:6px;margin:0 0 0 auto;font-size:10px}.aircraft-legend select{width:auto;min-height:30px;padding:3px 7px;font-size:11px;margin:0}
.aircraft-legend .alt-unknown{background:transparent;border:1.3px solid #7b848d}
.slfd-traffic-icon.traffic-alt-high .traffic-heading svg{fill:#979da5;stroke:#33383e}.slfd-traffic-icon.traffic-alt-medium .traffic-heading svg{fill:#f1cf37;stroke:#4b3e09}.slfd-traffic-icon.traffic-alt-low .traffic-heading svg{fill:#ee455a;stroke:#5f1020}.slfd-traffic-icon.traffic-alt-unknown .traffic-heading svg{fill:#a0a6af;stroke:#252b32}
@media(max-width:760px){.account-create-grid{grid-template-columns:1fr}.account-create-card{padding:14px}.aircraft-legend>label{margin-left:0}.aircraft-alert-panel{padding:8px 10px}.aircraft-reference{font-size:10px}html[data-theme] body #planning-map-card .map-locations button{flex:1 0 auto;min-height:38px;padding:7px 9px}}
@media(max-width:480px){#user-form{grid-template-columns:1fr}}

/* Account feedback stays immediately below its email field. */
.account-email-status{display:block;font-size:12px;line-height:1.4;font-weight:500;overflow-wrap:anywhere;max-width:100%;color:var(--text,var(--ink))}
.account-email-status:empty{display:none}
.account-email-status[data-state=error]{color:#a51e31}
html[data-theme=dark] .account-email-status[data-state=error]{color:#ffb6c2}
#user-form{align-items:start}

#user-form>label:has(input[name=email]){grid-column:1/-1}
#user-form>label:has(select[name=tier]){grid-column:1/-1}
.profile-card{margin-bottom:16px}.profile-card h3{margin-top:0}

/* v6.87: compact weather, map context and accessible profile entry. */
.weather-updated{display:block;margin-top:3px;font-size:11px;font-weight:400;color:var(--text-muted)}
html[data-theme] body .wx-daily-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;gap:8px!important}
html[data-theme] body .wx-day-card{padding:10px 12px!important;gap:5px!important;line-height:1.35;overflow-wrap:normal}
.wx-day-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.wx-day-heading strong{font-size:12px;white-space:nowrap}.wx-day-icon{font-size:23px;color:var(--accent-text)}
html[data-theme] body .wx-day-card .wx-day-condition{min-height:0;overflow-wrap:normal;font-size:12px}.wx-day-card>b{font-size:21px;line-height:1.3;margin:2px 0}
html[data-theme] body .wx-day-card>span{font-size:11px;overflow-wrap:normal;min-height:0}.wx-day-card>details{margin-top:auto;font-size:11px}.wx-day-card>details>summary{padding:3px 0;min-height:24px!important;font-size:11px!important}.wx-day-card small{display:block;line-height:1.4}
html[data-theme] body .wx-seven-day>p{display:none}
html[data-theme] body .planning-context{grid-auto-rows:auto!important;align-content:start;gap:12px!important}html[data-theme] body .planning-context>.card{height:auto!important;padding:14px!important}
.planning-context h3{margin:0 0 10px;font-size:17px}.planning-context p{font-size:12px;line-height:1.45;margin:6px 0}.planning-context details{font-size:11px}.planning-context details summary{min-height:30px!important;padding:5px 0!important}
html[data-theme] body #coordinate-form .coordinate-grid{gap:8px}.coordinate-grid label{font-size:11px}html[data-theme] body .coordinate-grid input{min-height:40px;padding:8px;font-size:13px}
html[data-theme] body .planning-context button{min-height:38px;padding:8px 10px;font-size:12px}.planning-context .ops-actions{gap:8px;margin-top:8px}.planning-context #map-apply{margin-top:8px;width:100%}
html[data-theme] body #planning-map-card:not([data-expanded=true]) .planning-map-stage{min-height:460px;flex:1 1 460px}html[data-theme] body #planning-map-card:not([data-expanded=true]) #planning-map{min-height:460px;height:100%;max-height:850px}
.map-diagnostics{padding:5px 12px;border-top:1px solid var(--stroke);font-size:11px}.map-diagnostics summary{min-height:28px!important;padding:4px 0!important}.map-diagnostics p{font-size:11px;margin:5px 0!important;padding:0!important;line-height:1.4}
html[data-theme] body .map-footer{padding:6px 12px;font-size:10px;line-height:1.4;border-top:0}.map-footer #map-label-status{display:none}
html[data-theme] body .map-selection-row{padding:8px 12px;gap:8px;font-size:12px}.map-selection-row button{font-size:12px;min-height:34px;padding:6px 10px}
html[data-theme] body #plan-traffic-status{padding:7px 12px;margin:0;font-size:12px;line-height:1.4}#plan-aircraft-reference{font-size:10px;line-height:1.4;margin:5px 0 0}
.traffic-selection{background:var(--surface-soft);border:1px solid var(--stroke);border-radius:10px;padding:10px 12px;margin:8px 12px;min-width:0;position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;font-size:12px}
.traffic-selection[hidden]{display:none!important}.traffic-selection strong{font-size:14px;overflow-wrap:anywhere}.traffic-selection button{grid-column:2;grid-row:1/4;align-self:start;padding:6px 10px;min-height:34px}.traffic-selection dl{display:flex;flex-wrap:wrap;gap:5px 18px;grid-column:1;margin:0}.traffic-selection dt{color:var(--text-muted);font-size:10px}.traffic-selection dd{margin:0;font-weight:650}.traffic-selection small{color:var(--text-muted);font-size:10px}.traffic-selection[data-stale=true]{border-color:var(--warn-text)}.traffic-selected{filter:drop-shadow(0 0 3px #fff)!important;outline:2px solid var(--accent,#f2d04d);border-radius:50%}
#profile-shortcut{display:flex;flex-direction:column;color:var(--text);text-decoration:none;font-size:12px;line-height:1.3}#profile-shortcut .profile-shortcut-label{color:var(--accent-text);font-size:11px}#profile-shortcut:focus-visible{outline:2px solid var(--accent-text);outline-offset:4px}
@media(max-width:600px){html[data-theme] body .wx-daily-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.wx-day-card>span{line-height:1.4}.current-weather-top{gap:10px!important}.current-weather-art{max-width:85px!important}html[data-theme] body .planning-map-stage{display:block!important}html[data-theme] body #planning-map-card:not([data-expanded=true]) #planning-map{height:440px!important;min-height:380px!important}.traffic-selection{margin:8px}.traffic-selection dl{gap:5px 12px}#profile-shortcut #identity{display:none}#profile-shortcut .profile-shortcut-label{font-size:12px;white-space:nowrap}}
#planning-restrictions p,.map-restriction-status p{font-size:12px;margin:5px 0;line-height:1.4}#planning-restrictions button,.map-restriction-status button{font-size:11px;padding:5px 7px;min-height:30px;margin:3px}.map-restriction-status{padding:6px 10px}#planning-restrictions pre,.map-restriction-status pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.45 system-ui;max-height:320px;overflow-y:auto}#planning-restrictions [data-status=unavailable],#planning-restrictions [data-status=stale],#planning-restrictions [data-status=incomplete]{color:var(--warn-text)}
html[data-theme] body .wx-current-row{align-items:start!important}html[data-theme] body .wx-current-row>#weather-gnss{height:auto!important;min-height:0!important}html[data-theme] body .wx-seven-day{grid-column:1/-1}html[data-theme] body .wx-upcoming{grid-column:1/-1}
@media(min-width:1200px){html[data-theme] body .wx-daily-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}}
html[data-theme] body .current-weather-top{grid-template-columns:minmax(0,1fr) 80px 78px!important}html[data-theme] body .current-weather-top>div:first-child{min-width:0}.weather-description{overflow-wrap:normal}
@media(max-width:600px){html[data-theme] body .current-weather-top{grid-template-columns:minmax(0,1fr) 55px 78px!important;gap:8px!important}html[data-theme] body .current-weather-art{width:55px!important;max-width:55px!important}}html[data-theme] body .traffic-selection{flex:none!important}
/* v6.87: shared maps and independent flight sections */
dialog.map-fullscreen-dialog{position:fixed;inset:0;margin:0;padding:0;border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;background:var(--panel,#1b2227);overflow:hidden}
.map-fullscreen-surface{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;border-radius:0!important;position:relative!important;inset:auto!important}
.map-fullscreen-control button{display:block;width:38px;height:38px;padding:0;min-height:38px;border:0;border-radius:3px;background:#20282d;color:#fff;font-size:25px;cursor:pointer}
.mission-area-tools{max-width:min(310px,calc(100vw - 90px));padding:8px;border:1px solid #667179;border-radius:10px;background:#20282df2;color:#fff;box-shadow:0 3px 10px #0004}
.mission-area-tools small{display:block;margin:0 0 5px;font-size:11px;line-height:1.3;color:#e7edf0}
.mission-area-tools>div{display:flex;flex-wrap:wrap;gap:4px}
.mission-area-tools button{font:600 12px/1.2 system-ui;min-height:36px;padding:6px 9px;background:#333f46;color:#fff;border:1px solid #75818a;border-radius:6px}
.mission-area-tools button[hidden]{display:none!important}
.mission-area-corner{background:#edbd49;color:#151b20;border:2px solid #fff;border-radius:50%;font:700 12px/22px system-ui;text-align:center;box-shadow:0 1px 5px #0008}
.laanc-access,.flight-section-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}
.laanc-access details{position:relative}.laanc-access summary{padding:10px;cursor:pointer}.laanc-access details[open]{flex-basis:100%}
.cow-guide{margin:10px 0;padding:10px 14px;border:1px solid var(--border,#65717b);border-radius:12px;max-width:900px}.cow-guide summary{font-weight:700;cursor:pointer}.cow-guide li,.cow-guide p{font-size:.9rem;line-height:1.45;margin:8px 0}.cow-guide small{font-size:.78rem;line-height:1.4;display:block}
.flight-section-row{display:flex;flex-wrap:wrap;gap:6px;padding:10px 0;border-bottom:1px solid var(--border,#65717b)}.flight-section-row>button:first-child{flex-basis:100%;text-align:left}.flight-section-row>button{min-height:40px}
#guide-steps{grid-template-columns:repeat(4,minmax(0,1fr))}#guide-steps button{min-width:0;white-space:normal}
@media(max-width:600px){.mission-area-tools{padding:6px;max-width:250px}.mission-area-tools button{min-height:38px}#guide-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.flight-section-links>*{flex:1 1 42%}}

.map-recorded-fullscreen{display:flex;flex-direction:column;padding:12px!important;box-sizing:border-box}.map-recorded-fullscreen>button{align-self:flex-end;flex:none}.map-recorded-fullscreen>.map-fullscreen-surface{flex:1;min-height:0!important}

html[data-theme] .cow-guide,html[data-theme] .cow-guide summary,html[data-theme] .laanc-access summary{color:var(--text)}
html[data-theme] .cow-guide,html[data-theme] .laanc-access details{border-color:var(--stroke)}
dialog.map-fullscreen-dialog[open]{display:flex;flex-direction:column;box-sizing:border-box}
.map-fullscreen-target{flex:1 1 0%!important;min-height:0!important;max-height:none!important;position:relative}
.recorded-fullscreen-exit{align-self:flex-end;flex:none;margin:8px}

.map-layer-legend{display:flex;flex-wrap:wrap;gap:7px;font-size:11px;color:var(--text)}.map-layer-legend .legend-zero{color:#ed7589}.map-layer-legend .legend-grid{color:#7fb5e6}

/* Source: voice.css */
.voice-open{white-space:nowrap;min-height:36px;padding:7px 12px}.voice-panel{box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:18px;border:1px solid var(--stroke,#505354);border-radius:16px;background:var(--surface,#1c2226);color:var(--text,#f4f3eb);overflow:auto}.voice-panel::backdrop{background:#0008}.voice-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.voice-panel h2,.voice-panel h3,.voice-panel p{margin:0}.voice-panel h2{font-size:1.25rem}.voice-panel h3{font-size:1rem}.voice-panel label{display:flex;gap:8px;align-items:center}.voice-panel select{width:100%;min-width:0;margin:8px 0}.voice-panel button{min-height:40px;white-space:normal}.voice-panel .voice-ptt{width:100%;min-height:58px;margin:10px 0;touch-action:none;user-select:none;background:#e6c550;color:#161616;font-weight:700;border:2px solid transparent}.voice-panel .voice-ptt[aria-pressed=true]{background:#bd3944;color:#fff;border-color:#f7a7ad}.voice-panel .voice-ptt:disabled{opacity:.45}.voice-actions{display:flex;gap:8px;flex-wrap:wrap}.voice-status{margin:10px 0!important;font-size:.9rem;line-height:1.35;min-height:1.3em}.voice-speakers{font-size:.9rem;line-height:1.4;min-height:1.4em}.voice-atc{border-top:1px solid var(--stroke,#505354);margin-top:14px;padding-top:12px;display:grid;gap:8px}.voice-atc audio{width:100%;max-width:100%;height:38px}.voice-panel details{margin-top:12px}.voice-panel small{font-size:.8rem;line-height:1.35}.voice-admin{display:grid;gap:10px;margin-top:10px}.voice-admin input:not([type=checkbox]),.voice-admin select{width:100%;box-sizing:border-box}.voice-admin select[multiple]{min-height:100px}.voice-admin fieldset{border:1px solid var(--stroke,#505354);border-radius:8px;max-height:150px;overflow:auto;padding:10px}.voice-admin fieldset label{margin:5px 0}.voice-panel [hidden]{display:none!important}html[data-theme=light] .voice-panel{background:#fff;color:#202528}@media(max-height:450px){.voice-panel{padding:12px;width:min(560px,calc(100vw - 20px))}.voice-panel .voice-ptt{min-height:42px;margin:6px 0}.voice-panel header{margin-bottom:6px}}

/* Keep voice controls compact within the existing workspace header. */
.voice-tools{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap;grid-column:1;grid-row:2}
html[data-theme] .workspace-header .voice-tools #workspace-find{margin:0}
html[data-theme] body .voice-panel label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;font-size:.9rem;line-height:1.3}
html[data-theme] body .voice-panel input[type=checkbox]{width:18px;height:18px;min-width:18px;min-height:18px;margin:0;padding:0;flex:0 0 18px}
html[data-theme] body .voice-panel .voice-ptt{background:#e6c550!important;color:#161616!important;border:2px solid transparent;min-height:50px;margin:10px 0}
html[data-theme] body .voice-panel .voice-ptt[aria-pressed=true]{background:#bd3944!important;color:#fff!important;border-color:#f7a7ad}
.voice-speakers:empty{display:none}
@media(max-width:900px){.voice-tools{grid-column:1/3;grid-row:2}.voice-tools button{font-size:12px;padding:7px 9px}}
@media(max-height:450px){html[data-theme] body .voice-panel .voice-ptt{min-height:40px;margin:6px 0}.voice-panel details{margin-top:8px}}

.live-viewer .uas-wall-toolbar .voice-open{flex-shrink:0}
@media(max-width:620px){.live-viewer .uas-wall-toolbar .voice-open{max-width:74px;font-size:11px!important;padding:5px!important;white-space:normal;line-height:1.1}.live-viewer .uas-wall-toolbar .compact-viewer-brand{display:none}}

/* ===== BEGIN SLFD visual redesign (presentation only; not voice behavior). Source: ui-redesign.css. Move to its own file once gateway.cjs serves it. ===== */
/* SLFD UAS Manager · approved visual redesign (presentation only).
   Loaded last on the workspace and the live viewer. It changes colors, type,
   spacing and layout of existing elements. It does not change IDs, data
   attributes, routes, timers, fetches, thresholds or event wiring.
   Later phase (separate approval): retire the superseded layered sheets so
   these rules no longer need !important. */

/* ---------- 1. Tokens ---------- */
html[data-theme]{
  --rd-font:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  --rd-mono:ui-monospace,"SF Mono","Cascadia Mono",Consolas,monospace;
  --rd-r-sm:8px;--rd-r-md:12px;--rd-r-lg:14px;
  --rd-ctl:38px;--rd-touch:44px;
  --rd-toolbar:56px;--rd-wx-depth:25px;
}
html[data-theme=dark]{
  --rd-bg:#0A0C0F;--rd-s1:#11151A;--rd-s2:#161B21;--rd-s3:#1D232A;--rd-s4:#262D36;
  --rd-line:rgba(170,186,204,.13);--rd-line2:rgba(170,186,204,.24);
  --rd-hi:inset 0 1px 0 rgba(255,255,255,.04);
  --rd-t1:#EEF1F4;--rd-t2:#B4BCC6;--rd-t3:#8F9AA7;
  --rd-accent:#F5B942;--rd-accent-ink:#14110A;--rd-accent-soft:rgba(245,185,66,.13);--rd-accent-line:rgba(245,185,66,.45);--rd-accent-text:#F7C963;
  --rd-ok:#3FD68F;--rd-ok-soft:rgba(63,214,143,.13);
  --rd-warn:#FF9F45;--rd-warn-soft:rgba(255,159,69,.14);
  --rd-bad:#FF6B6B;--rd-bad-soft:rgba(255,107,107,.14);--rd-bad-fill:#D93636;
  --rd-info:#5CC8FF;--rd-info-soft:rgba(92,200,255,.12);
  --rd-unk:#94A0AE;--rd-unk-soft:rgba(148,160,174,.12);
  --rd-glass:rgba(14,18,23,.80);--rd-glass-line:rgba(190,205,220,.16);
  --rd-shadow:0 8px 28px rgba(0,0,0,.42);
  --rd-focus:#F5B942;--rd-focus-halo:rgba(10,12,15,.9);
  /* existing app tokens, re-pointed */
  --page:var(--rd-bg);--surface:var(--rd-s2);--surface-soft:var(--rd-s3);--surface-raised:var(--rd-s4);
  --stroke:#2A323B;--text:var(--rd-t1);--text-muted:var(--rd-t2);
  --accent:var(--rd-accent);--accent-soft:#2E2715;--accent-text:var(--rd-accent-text);
  --brand:var(--rd-accent);--blue-dark:#C9922A;
  --good-bg:#12291F;--good-text:#8FE6BB;--warn-bg:#33240F;--warn-text:#FFC58A;
  --bad-bg:#3A1A1C;--bad-text:#FFB3B3;--info-bg:#2E2715;--info-text:#F7C963;
  --glass:var(--rd-glass);--glass-edge:var(--rd-glass-line);
  --shadow-soft:none;--surface-shadow:none;--nav-shadow:none;
}
html[data-theme=light]{
  --rd-bg:#F3F4F1;--rd-s1:#FBFBF9;--rd-s2:#FFFFFF;--rd-s3:#ECEEEA;--rd-s4:#E2E5E0;
  --rd-line:rgba(30,40,50,.12);--rd-line2:rgba(30,40,50,.24);
  --rd-hi:inset 0 1px 0 rgba(255,255,255,.8);
  --rd-t1:#14181D;--rd-t2:#46505C;--rd-t3:#5F6A77;
  --rd-accent:#8A5A00;--rd-accent-ink:#1A1405;--rd-accent-soft:rgba(240,180,58,.18);--rd-accent-line:rgba(160,110,0,.45);--rd-accent-text:#7A4F00;
  --rd-ok:#11734A;--rd-ok-soft:rgba(17,115,74,.10);
  --rd-warn:#A8520A;--rd-warn-soft:rgba(168,82,10,.10);
  --rd-bad:#C42B2B;--rd-bad-soft:rgba(196,43,43,.09);--rd-bad-fill:#C42B2B;
  --rd-info:#0A6A9E;--rd-info-soft:rgba(10,106,158,.09);
  --rd-unk:#5B6673;--rd-unk-soft:rgba(91,102,115,.10);
  --rd-glass:rgba(251,251,249,.86);--rd-glass-line:rgba(30,40,50,.14);
  --rd-shadow:0 8px 24px rgba(20,24,29,.12);
  --rd-focus:#8A5A00;--rd-focus-halo:#FFFFFF;
  --page:var(--rd-bg);--surface:var(--rd-s2);--surface-soft:var(--rd-s3);--surface-raised:var(--rd-s4);
  --stroke:#D6DAD4;--text:var(--rd-t1);--text-muted:var(--rd-t2);
  --accent:var(--rd-accent);--accent-soft:#FBEFD2;--accent-text:var(--rd-accent-text);
  --brand:#8A5A00;--blue-dark:#6E4800;
  --good-bg:#E4F3EB;--good-text:#0D5C3B;--warn-bg:#FBEBDC;--warn-text:#7F3E07;
  --bad-bg:#FBE6E6;--bad-text:#9E2222;--info-bg:#FBEFD2;--info-text:#6E4800;
  --glass:var(--rd-glass);--glass-edge:var(--rd-glass-line);
  --shadow-soft:none;--surface-shadow:none;--nav-shadow:none;
}

/* ---------- 2. Base ---------- */
html[data-theme] body{font-family:var(--rd-font)!important;background:var(--rd-bg)!important;color:var(--rd-t1);-webkit-font-smoothing:antialiased;line-height:1.42}
html[data-theme] body :is(h1,h2,h3){letter-spacing:-.01em}
html[data-theme] body :focus-visible{outline:2px solid var(--rd-focus)!important;outline-offset:2px!important;box-shadow:0 0 0 5px var(--rd-focus-halo)!important}
html[data-theme] body :is(small,.muted,.breadcrumb,.wx-sources){color:var(--rd-t3)}
html[data-theme] body .eyebrow{font-size:11px!important;font-weight:650!important;letter-spacing:.09em!important;text-transform:uppercase;color:var(--rd-t3)!important}
html[data-theme] body :is(.num,.value-updated,.weather-temp){font-variant-numeric:tabular-nums}

/* Buttons: gold for the primary action, neutral for the rest, red only for alerts. */
html[data-theme] body :is(button,.button,a.button,summary.button){border-radius:var(--rd-r-sm)!important;font-weight:600}
html[data-theme] body :is(button,.button):not(.primary):not(.voice-ptt):not(.leaflet-control *):not(.uas-source):not(.rd-tab):not([class*=cardinal]){background:var(--rd-s3)!important;border:1px solid var(--rd-line2)!important;color:var(--rd-t1)!important;box-shadow:var(--rd-hi)!important}
html[data-theme] body :is(button,.button):not(.primary):not(.voice-ptt):not(.leaflet-control *):not(.uas-source):not(.rd-tab):hover{background:var(--rd-s4)!important}
html[data-theme] body :is(button.primary,.button.primary,a.button.primary){background:var(--rd-accent)!important;border-color:var(--rd-accent)!important;color:var(--rd-accent-ink)!important;box-shadow:none!important}
html[data-theme=light] body :is(button.primary,.button.primary,a.button.primary){background:#F0B43A!important;border-color:#D79A1E!important;color:#1A1405!important}
html[data-theme] body :is(button.primary,.button.primary):hover{filter:brightness(1.06)}
html[data-theme] body :is(button,.button).delete-action,html[data-theme] body button[data-danger]{color:var(--rd-bad)!important;border-color:color-mix(in srgb,var(--rd-bad) 45%,transparent)!important;background:var(--rd-bad-soft)!important}
html[data-theme] body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:var(--rd-s1)!important;border:1px solid var(--rd-line2)!important;border-radius:var(--rd-r-sm)!important;color:var(--rd-t1)!important}
html[data-theme] body :is(input,select,textarea):focus-visible{border-color:var(--rd-accent)!important}
html[data-theme] body a:not(.button):not(.nav-primary-link):not(.nav-group-links a):not(.operation-metric):not(.leaflet-control-zoom a){color:var(--rd-accent-text)}

/* Cards: one surface, one border, no heavy shadows. */
html[data-theme] body :is(.card,.operation-metric,.overview-flight-card,.map-card,.message-rail,.message-thread,.wx-day-card,.forecast-slot){background:var(--rd-s2)!important;border:1px solid var(--rd-line)!important;box-shadow:var(--rd-hi)!important;border-radius:var(--rd-r-lg)!important}
html[data-theme] body :is(.wx-day-card,.forecast-slot){border-radius:var(--rd-r-md)!important;background:var(--rd-s1)!important}
html[data-theme] body details > summary{cursor:pointer}

/* ---------- 3. Shell: sidebar ---------- */
@media (min-width:851px){
  html[data-theme] body #workspace-sidebar.sidebar{top:0!important;left:0!important;bottom:0!important;height:100vh!important;width:248px!important;border-radius:0!important;border:0!important;border-right:1px solid var(--rd-line)!important;background:var(--rd-s1)!important;box-shadow:none!important;padding:14px 10px 12px!important}
  html[data-theme] body .program-main{margin-left:248px!important}
}
html[data-theme] body #workspace-sidebar .program-brand{padding:4px 8px 14px!important;margin:0 0 6px!important;min-height:0!important;border-bottom:1px solid var(--rd-line);gap:10px!important}
html[data-theme] body #workspace-sidebar .program-brand .department-logo{width:36px!important;height:36px!important}
html[data-theme] body #workspace-sidebar .program-brand strong{font-size:16px!important;letter-spacing:.02em}
html[data-theme] body #workspace-sidebar .program-brand small{font-size:10.5px!important;letter-spacing:.14em!important;color:var(--rd-t3)!important}
html[data-theme] body #workspace-sidebar nav{gap:2px!important;overflow-y:auto;scrollbar-width:thin}
html[data-theme] body #workspace-sidebar :is(.nav-primary-link,.nav-group > summary){min-height:38px!important;height:auto!important;padding:8px 10px!important;border-radius:var(--rd-r-sm)!important;border:1px solid transparent!important;background:transparent!important;color:var(--rd-t2)!important;font-size:13.5px!important;font-weight:550!important;box-shadow:none!important;gap:10px!important;white-space:nowrap!important;line-height:1.25!important}
html[data-theme] body #workspace-sidebar :is(.nav-primary-link,.nav-group > summary) svg{width:18px!important;height:18px!important;color:var(--rd-t3)}
html[data-theme] body #workspace-sidebar :is(.nav-primary-link,.nav-group > summary):hover{background:var(--rd-s3)!important;color:var(--rd-t1)!important}
html[data-theme] body #workspace-sidebar .nav-group{margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html[data-theme] body #workspace-sidebar .nav-group-links{padding:2px 0 6px 18px!important;margin:0 0 0 18px!important;border-left:1px solid var(--rd-line)!important;gap:1px!important}
html[data-theme] body #workspace-sidebar .nav-group-links a{min-height:34px!important;padding:7px 10px!important;border-radius:var(--rd-r-sm)!important;color:var(--rd-t2)!important;font-size:13.5px!important;font-weight:500!important;background:transparent!important;border:0!important}
html[data-theme] body #workspace-sidebar .nav-group-links a:hover{background:var(--rd-s3)!important;color:var(--rd-t1)!important}
html[data-theme] body #workspace-sidebar [aria-current=page]{background:var(--rd-accent-soft)!important;color:var(--rd-t1)!important;box-shadow:inset 3px 0 0 var(--rd-accent)!important;border-color:transparent!important}
html[data-theme] body #workspace-sidebar [aria-current=page] svg{color:var(--rd-accent)!important}
html[data-theme] body #workspace-sidebar .sidebar-bottom{border-top:1px solid var(--rd-line)!important;padding-top:10px!important;gap:8px!important}
html[data-theme] body #workspace-sidebar .video-link{min-height:38px!important;padding:8px 12px!important;border-radius:var(--rd-r-sm)!important;background:var(--rd-s3)!important;border:1px solid var(--rd-line2)!important;color:var(--rd-t1)!important;box-shadow:none!important}
html[data-theme] body #workspace-sidebar .sidebar-bottom p{font-size:11.5px!important;line-height:1.35!important;color:var(--rd-t3)!important;margin:0!important;padding:0 4px!important}

/* ---------- 4. Shell: one-row toolbar ---------- */
html[data-theme] body .workspace-header{position:sticky!important;top:0!important;z-index:30!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;height:var(--rd-toolbar)!important;min-height:0!important;padding:0 20px!important;background:color-mix(in srgb,var(--rd-bg) 88%,transparent)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:0!important;border-bottom:1px solid var(--rd-line)!important;box-shadow:none!important;border-radius:0!important}
html[data-theme] body .workspace-header > *{flex:0 0 auto!important}
html[data-theme] body .workspace-header > .workspace-heading{flex:1 1 auto!important;min-width:0!important;margin-right:auto!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:0!important}
html[data-theme] body .workspace-heading .breadcrumb{font-size:11px!important;line-height:1.2!important;margin:0!important;color:var(--rd-t3)!important}
html[data-theme] body .workspace-heading h1{font-size:18px!important;line-height:1.25!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme] body .workspace-header .voice-tools{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;width:auto!important;height:auto!important;order:1}
html[data-theme] body .workspace-header :is(button,.appearance-control select){min-height:var(--rd-ctl)!important;height:var(--rd-ctl)!important;padding:0 12px!important;font-size:13px!important;white-space:nowrap}
html[data-theme] body #workspace-find{min-width:220px;justify-content:flex-start!important;gap:8px!important;color:var(--rd-t3)!important;font-weight:500!important}
html[data-theme] body #workspace-find .finder-shortcut{margin-left:auto!important;font:600 11px/1 var(--rd-mono)!important;padding:3px 6px!important;border:1px solid var(--rd-line2);border-radius:5px;color:var(--rd-t3)!important;background:transparent!important}
html[data-theme] body #workspace-location{order:2}
html[data-theme] body .workspace-header .appearance-control{order:3;height:var(--rd-ctl)!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;position:relative}
html[data-theme] body .workspace-header .appearance-control .appearance-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--rd-t2)}
html[data-theme] body .workspace-header .appearance-control select{padding-left:28px!important;width:104px!important}
html[data-theme] body .workspace-header .account{order:4;display:flex!important;align-items:center!important;gap:8px!important;flex:0 1 auto!important;min-width:0!important;padding-left:10px!important;border-left:1px solid var(--rd-line)!important}
html[data-theme] body .workspace-header .account-dot{width:30px!important;height:30px!important;flex:none}
html[data-theme] body #profile-shortcut{display:flex!important;flex-direction:column!important;min-width:0!important;max-width:190px!important;line-height:1.2!important;text-decoration:none!important}
html[data-theme] body #profile-shortcut #identity{font-size:12.5px!important;font-weight:600!important;color:var(--rd-t1)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;height:auto!important}
html[data-theme] body #profile-shortcut .profile-shortcut-label{font-size:11.5px!important;color:var(--rd-accent-text)!important;height:auto!important}
html[data-theme] body #content{padding:20px 24px 28px!important;color:var(--rd-t1)!important}

/* Mid widths: the toolbar keeps one row by dropping labels, never wrapping. */
@media (max-width:1250px){
  html[data-theme] body #workspace-find{min-width:0}
  html[data-theme] body #workspace-find .finder-shortcut{display:none!important}
  html[data-theme] body #profile-shortcut{max-width:140px!important}
}
@media (max-width:1100px){
  html[data-theme] body .workspace-header :is(#workspace-find,#workspace-location,#voice-open,#signout){font-size:0!important;gap:0!important;padding:0!important;width:var(--rd-ctl)!important;min-width:var(--rd-ctl)!important;justify-content:center!important}
  html[data-theme] body .workspace-header :is(#workspace-find,#voice-open,#workspace-location,#signout)>*:not(svg){display:none!important}
  html[data-theme] body #workspace-find svg{width:18px!important;height:18px!important}
  html[data-theme] body :is(#voice-open,#workspace-location,#signout)::before{content:"";width:18px;height:18px;background:currentColor;-webkit-mask:var(--rd-ico) center/contain no-repeat;mask:var(--rd-ico) center/contain no-repeat}
  html[data-theme] body #voice-open{--rd-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E")}
  html[data-theme] body #workspace-location{--rd-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12s-8-7-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E")}
  html[data-theme] body #signout{--rd-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='m16 17 5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E")}
  html[data-theme] body .workspace-header .appearance-control select{width:var(--rd-ctl)!important;padding:0!important;color:transparent!important;text-indent:-999px;cursor:pointer}
  html[data-theme] body .workspace-header .appearance-control .appearance-icon{left:50%;transform:translate(-50%,-50%)}
  html[data-theme] body #profile-shortcut #identity{display:none!important}
}
@media (min-width:851px) and (max-width:1100px){
  html[data-theme] body #workspace-sidebar.sidebar{width:208px!important}
  html[data-theme] body .program-main{margin-left:208px!important}
}

/* ---------- 5. Phone: compact bar + bottom tabs ---------- */
.rd-tabbar{display:none}
@media (max-width:850px){
  html[data-theme] body .workspace-header{height:52px!important;padding:0 10px!important;gap:6px!important;display:flex!important;grid-template-columns:none!important}
  html[data-theme] body #workspace-menu{order:-1;font-size:0!important;gap:0!important;justify-content:center!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important}
  html[data-theme] body .workspace-heading .breadcrumb{display:none!important}
  html[data-theme] body .workspace-heading h1{font-size:17px!important}
  html[data-theme] body .workspace-header :is(#workspace-find,#workspace-location,#voice-open,#signout,.appearance-control select){width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important}
  html[data-theme] body .workspace-header .appearance-control{width:40px!important}
  html[data-theme] body .workspace-header .account{padding-left:6px!important;gap:6px!important;border-left:0!important}
  html[data-theme] body .workspace-header .account-dot{display:none!important}
  html[data-theme] body #profile-shortcut{width:40px;height:40px;max-width:40px!important;align-items:center;justify-content:center;border-radius:50%;background:var(--rd-s3);border:1px solid var(--rd-line2);overflow:hidden}
  html[data-theme] body #profile-shortcut .profile-shortcut-label{display:block!important;font-size:0!important;width:18px!important;height:18px!important;flex:none;background:currentColor;color:var(--rd-t1)!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center/contain no-repeat}
  html[data-theme] body #content{padding:12px 12px 20px!important}
  html[data-theme] body .workspace-header > *,html[data-theme] body .workspace-header .voice-tools > *{margin:0!important}
  html[data-theme] body .workspace-header .appearance-control select{-webkit-appearance:none;appearance:none;background-image:none!important}
  html[data-theme] body #workspace-sidebar.sidebar{background:var(--rd-s1)!important;border-right:1px solid var(--rd-line)!important;border-radius:0!important}
}
@media (max-width:850px) and (min-height:521px){
  html[data-theme] body .workspace-header #workspace-menu{display:none!important}
  html[data-theme] body:not(.workspace-nav-open) .rd-tabbar:not([hidden]){display:grid;position:fixed;left:0;right:0;bottom:0;z-index:40;grid-auto-flow:column;grid-auto-columns:1fr;height:calc(60px + env(safe-area-inset-bottom,0px));padding:0 4px env(safe-area-inset-bottom,0px);background:color-mix(in srgb,var(--rd-s1) 94%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--rd-line)}
  html[data-theme] body #workspace:not([hidden]) .program-main{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))!important}
  html[data-theme] body .rd-tab[hidden]{display:none!important}
  html[data-theme] body .rd-tab:not([hidden]){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-height:52px!important;height:auto!important;margin:4px 0!important;padding:0!important;border:0!important;border-radius:var(--rd-r-md)!important;background:transparent!important;box-shadow:none!important;color:var(--rd-t3)!important;font:600 11px/1.1 var(--rd-font)!important;text-decoration:none!important}
  html[data-theme] body .rd-tab svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  html[data-theme] body .rd-tab[aria-current=page]{color:var(--rd-accent-text)!important}
  html[data-theme] body .rd-tab[aria-current=page] svg{stroke:var(--rd-accent)}
  html[data-theme] body .rd-tab[aria-current=page]::after{content:"";position:absolute;margin-top:-44px;width:24px;height:3px;border-radius:0 0 3px 3px;background:var(--rd-accent)}
}
@media (orientation:landscape) and (max-height:520px){
  html[data-theme] body .workspace-header{height:44px!important}
  html[data-theme] body .workspace-header :is(button,#profile-shortcut,.appearance-control select){height:36px!important;min-height:36px!important;width:36px!important;min-width:36px!important}
  html[data-theme] body .workspace-heading h1{font-size:15px!important}
  html[data-theme] body #content{padding:8px 12px 16px!important}
}

/* ---------- 6. Overview ---------- */
html[data-theme] body .operation-metrics{gap:12px!important;margin-bottom:14px!important}
html[data-theme] body .operation-metric{min-height:0!important;height:auto!important;padding:14px 16px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;grid-template-rows:auto auto auto;column-gap:12px!important;row-gap:1px!important;align-items:center}
html[data-theme] body .operation-metric > :is(strong,span,small){grid-column:2!important}
html[data-theme] body .operation-metric > svg{grid-column:1!important;grid-row:1 / span 3;width:38px!important;height:38px!important;padding:9px;border-radius:10px;background:var(--rd-s3);border:1px solid var(--rd-line);color:var(--rd-t2)}
html[data-theme] body .operation-metric strong{font-size:22px!important;line-height:1.15!important;letter-spacing:-.01em;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme] body .operation-metric span{font-size:13px!important;font-weight:600!important;color:var(--rd-t1)!important}
html[data-theme] body .operation-metric small{grid-column:2!important;font-size:12px!important;color:var(--rd-t3)!important;line-height:1.3!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html[data-theme] body .overview-flight-card{padding:16px 20px!important;border-left:3px solid var(--rd-accent)!important}
html[data-theme] body .overview-flight-card h3{font-size:18px!important}
html[data-theme] body .command-steps li{position:relative;padding-top:10px!important;font-size:13px!important;color:var(--rd-t2)!important;border-top:3px solid var(--rd-s4)!important}
html[data-theme] body .command-steps li span{font:600 11px/1 var(--rd-mono)!important;color:var(--rd-t3)!important;background:transparent!important;border:0!important;width:auto!important;height:auto!important}
html[data-theme] body .overview-flight-actions :is(button,summary){min-height:var(--rd-ctl)!important;padding:0 14px!important}
html[data-theme] body .overview-more-body{background:var(--rd-s2)!important;border:1px solid var(--rd-line2)!important;border-radius:var(--rd-r-md)!important;box-shadow:var(--rd-shadow)!important}
html[data-theme] body .overview-map-card .section-title{margin-bottom:8px!important}
html[data-theme] body #overview-site-caption{font-family:var(--rd-mono);font-size:12px!important;color:var(--rd-t3)!important}
html[data-theme] body :is(#overview-location-map,#planning-map,#preflight-map){border-radius:var(--rd-r-md)!important;border:1px solid var(--rd-line)!important;overflow:hidden}
html[data-theme] body .fleet-readiness-ring{--rd-ring:var(--rd-ok)}
html[data-theme] body .overview-asset{background:var(--rd-s1)!important;border:1px solid var(--rd-line)!important;border-radius:var(--rd-r-md)!important;box-shadow:none!important}
html[data-theme] body .overview-asset > a{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
html[data-theme] body :is(.aircraft-reference img,.asset-card img,.aircraft-card img){background:radial-gradient(120% 90% at 50% 40%,var(--rd-s3),var(--rd-s1))!important;border-radius:var(--rd-r-sm)}
html[data-theme] body .record-status-badge{border-radius:999px!important;font-size:11.5px!important;font-weight:650!important;padding:2px 9px!important}

@media (max-width:600px){
  html[data-theme] body .operation-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html[data-theme] body .operation-metric{grid-template-columns:minmax(0,1fr)!important;padding:12px!important}
  html[data-theme] body .operation-metric > svg{display:none!important}
  html[data-theme] body .operation-metric > :is(strong,span,small){grid-column:1!important}
  html[data-theme] body .operation-metric strong{font-size:20px!important}
}

/* ---------- 7. Weather: status edge, dial, forecast rows ---------- */
html[data-theme] body :is(.flight-weather-banner,.overview-condition){position:relative;isolation:isolate;border-radius:var(--rd-r-lg)!important;border:1px solid var(--rd-line2)!important;background:var(--rd-s2)!important;box-shadow:none!important;--rd-wx:var(--rd-unk)}
html[data-theme] body :is(.flight-weather-banner,.overview-condition)::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;
  background:linear-gradient(90deg,color-mix(in srgb,var(--rd-wx) var(--rd-wx-a,28%),transparent),transparent var(--rd-wx-depth)),linear-gradient(270deg,color-mix(in srgb,var(--rd-wx) var(--rd-wx-a,28%),transparent),transparent var(--rd-wx-depth)),linear-gradient(180deg,color-mix(in srgb,var(--rd-wx) var(--rd-wx-a,28%),transparent),transparent var(--rd-wx-depth)),linear-gradient(0deg,color-mix(in srgb,var(--rd-wx) var(--rd-wx-a,28%),transparent),transparent var(--rd-wx-depth))}
html[data-theme] body :is(.flight-weather-banner,.overview-condition):is(.safe,.unsafe,.caution,.unknown,.stale,.marginal,.advisory){background:var(--rd-s2)!important;color:var(--rd-t1)!important;box-shadow:none!important;border-width:1px!important}
html[data-theme] body :is(.flight-weather-banner,.overview-condition).safe{--rd-wx:var(--rd-ok);border-color:color-mix(in srgb,var(--rd-ok) 55%,transparent)!important}
html[data-theme] body :is(.flight-weather-banner,.overview-condition):is(.caution,.marginal,.advisory){--rd-wx:var(--rd-warn);border-color:color-mix(in srgb,var(--rd-warn) 55%,transparent)!important}
html[data-theme] body :is(.flight-weather-banner,.overview-condition):is(.unsafe,.danger,.exceeded,.no-go){--rd-wx:var(--rd-bad);border-color:color-mix(in srgb,var(--rd-bad) 55%,transparent)!important}
html[data-theme] body :is(.flight-weather-banner,.overview-condition):is(.unknown,.stale){--rd-wx:var(--rd-unk);--rd-wx-a:16%;border-style:dashed!important}
html[data-theme] body .flight-weather-banner{display:grid!important;grid-template-columns:minmax(150px,auto) minmax(0,1fr)!important;column-gap:20px!important;row-gap:2px!important;align-items:start!important;padding:16px 20px!important;min-height:0!important}
html[data-theme] body .flight-weather-banner .weather-verdict-heading{grid-row:1 / span 3;display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important;width:auto!important;overflow:visible!important}
html[data-theme] body .flight-weather-banner .weather-verdict-heading strong{font-size:20px!important;line-height:1.2!important;white-space:nowrap!important;color:var(--rd-wx)!important}
html[data-theme=light] body .flight-weather-banner .weather-verdict-heading strong{filter:saturate(1.1) brightness(.85)}
html[data-theme] body .flight-weather-banner .weather-verdict-heading small{font-size:12px!important;color:var(--rd-t3)!important;text-transform:none!important}
html[data-theme] body .flight-weather-banner > :is(span,small,details){grid-column:2!important;min-width:0}
html[data-theme] body .flight-weather-banner > span{font-weight:600;color:var(--rd-t1)!important}

/* Current conditions */
html[data-theme] body .current-weather-top{align-items:center!important;gap:16px!important;padding-bottom:22px!important}
html[data-theme] body .weather-temp{font-size:46px!important;font-weight:650!important;letter-spacing:-.03em!important;line-height:1!important}
html[data-theme] body .current-weather-facts{gap:0!important;border-top:1px solid var(--rd-line)}
html[data-theme] body .current-weather-facts > div{background:transparent!important;border:0!important;border-radius:0!important;padding:10px 4px!important;box-shadow:none!important}
html[data-theme] body .current-weather-facts dt{font-size:12px!important;color:var(--rd-t3)!important;font-weight:500!important}
html[data-theme] body .current-weather-facts dd{font-size:16px!important;font-weight:650!important;color:var(--rd-t1)!important;margin:2px 0 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme] body :is(.current-connection,.weather-updated){font-size:12px!important;color:var(--rd-t3)!important}

/* Hourly slots */
html[data-theme] body .next-four{gap:8px!important}
html[data-theme] body .forecast-slot{padding:10px 12px!important;min-width:0!important}
html[data-theme] body .forecast-slot small{font:600 12px/1.2 var(--rd-font)!important;color:var(--rd-t2)!important}
html[data-theme] body .forecast-slot strong{font-size:20px!important;letter-spacing:-.01em}
html[data-theme] body .forecast-slot > span:not(.weather-rain-meter){font-size:12px!important;color:var(--rd-t2)!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
html[data-theme] body .weather-rain-meter{height:3px!important;border-radius:2px!important;background:var(--rd-s4)!important;overflow:hidden}

/* 7-day: rows instead of 66 px cards. */
html[data-theme] body .wx-daily-grid{display:flex!important;flex-direction:column!important;gap:0!important;overflow:visible!important}
html[data-theme] body .wx-daily-grid .wx-day-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"day temp" "cond cond" "rain wind" "more more";align-items:center!important;column-gap:12px!important;row-gap:4px!important;width:auto!important;min-width:0!important;min-height:0!important;padding:8px 4px!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--rd-line)!important;border-radius:0!important;box-shadow:none!important}
html[data-theme] body .wx-daily-grid .wx-day-card:last-child{border-bottom:0!important}
html[data-theme] body .wx-day-card > *{min-width:0!important;width:auto!important;margin:0!important;text-align:left!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
html[data-theme] body .wx-day-card .wx-day-heading{grid-area:day;display:flex!important;align-items:center!important;gap:6px!important;font-weight:650;white-space:nowrap}
html[data-theme] body .wx-day-card .wx-day-heading :is(svg,img){width:20px!important;height:20px!important;position:static!important}
html[data-theme] body .wx-day-card .wx-day-condition{grid-area:cond;font-size:12px!important;color:var(--rd-t3)!important;white-space:normal;overflow-wrap:anywhere!important}
html[data-theme] body .wx-day-card > b{grid-area:temp;font-size:15px!important;font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-theme] body .wx-day-card > span:not(.wx-day-condition):nth-of-type(2){grid-area:rain}
html[data-theme] body .wx-day-card > span:not(.wx-day-condition):nth-of-type(3){grid-area:wind}
html[data-theme] body .wx-day-card > span:not(.wx-day-condition){font-size:12.5px!important;color:var(--rd-t2)!important;line-height:1.4!important;white-space:normal;overflow-wrap:anywhere!important}
html[data-theme] body .wx-day-card > details{grid-area:more;justify-self:stretch;width:100%!important;position:static!important;min-width:0!important}.wx-day-card > details > summary{text-align:right!important;min-height:28px!important}.wx-day-card > details[open] > small{display:block;position:static!important;margin-top:8px!important;padding:10px;background:var(--rd-s3);border-radius:6px;white-space:normal;overflow-wrap:anywhere!important}
html[data-theme] body .wx-day-card > details > summary{font-size:12px!important;color:var(--rd-accent-text)!important}
@media (max-width:600px){
  html[data-theme] body .wx-daily-grid .wx-day-card{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"day temp" "cond cond" "rain rain" "wind wind" "more more"!important;row-gap:2px!important}
  html[data-theme] body .wx-day-card > b{justify-self:end;text-align:right!important}
}
html[data-theme] body .wx-tabs{gap:4px!important;padding:4px!important;background:var(--rd-s1)!important;border:1px solid var(--rd-line)!important;border-radius:var(--rd-r-md)!important;overflow-x:auto;scrollbar-width:none}
html[data-theme] body .wx-tabs button{min-height:36px!important;flex:1 0 auto;background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--rd-t2)!important}
html[data-theme] body .wx-tabs button:is([aria-selected=true],[aria-pressed=true],.active,[aria-current]){background:var(--rd-s3)!important;border-color:var(--rd-line2)!important;color:var(--rd-t1)!important;box-shadow:inset 0 -2px 0 var(--rd-accent)!important}
html[data-theme] body .wx-table{font-variant-numeric:tabular-nums}
html[data-theme] body .wx-table :is(th,td){border-color:var(--rd-line)!important}
html[data-theme] body .wx-table thead th{background:var(--rd-s1)!important;color:var(--rd-t3)!important;font-size:11.5px!important;text-transform:uppercase;letter-spacing:.06em}

/* ---------- 8. Airspace & traffic ---------- */
html[data-theme] body .laanc-access{gap:8px!important;margin-bottom:10px!important}
html[data-theme] body .laanc-access > a.button.primary{background:var(--rd-s3)!important;border:1px solid var(--rd-line2)!important;color:var(--rd-t1)!important}
html[data-theme] body .planning-map-header{min-height:0!important;padding:10px 14px!important;border-bottom:1px solid var(--rd-line)!important}
html[data-theme] body .planning-map-actions{padding:8px 14px!important}
html[data-theme] body .map-locations{gap:6px!important;flex-wrap:wrap}
html[data-theme] body .map-locations button{min-height:32px!important;height:32px!important;padding:0 12px!important;border-radius:999px!important;font-size:12.5px!important}
html[data-theme] body .map-locations button[aria-pressed=true]{background:var(--rd-accent-soft)!important;border-color:var(--rd-accent-line)!important;color:var(--rd-t1)!important}
html[data-theme] body .aircraft-alert-panel{padding:8px 14px!important;gap:6px!important;background:transparent!important;border:0!important}
html[data-theme] body .aircraft-alert{border-radius:var(--rd-r-sm)!important;padding:8px 12px!important;font-size:13px!important;background:var(--rd-s2)!important;color:var(--rd-t1)!important;border:1px solid var(--rd-line2)!important}
html[data-theme] body .aircraft-alert[data-level=warning]{background:var(--rd-bad-soft)!important;border-color:var(--rd-bad)!important;color:var(--rd-bad)!important}
html[data-theme] body .aircraft-alert[data-level=unknown]{background:var(--rd-unk-soft)!important;border-color:var(--rd-unk)!important;color:var(--rd-t2)!important}
html[data-theme] body .aircraft-legend{min-height:0!important;gap:14px!important;font-size:12px!important}
html[data-theme] body .aircraft-legend span{font-size:12px!important;color:var(--rd-t2)!important}
html[data-theme] body .aircraft-reference{font-size:11.5px!important;color:var(--rd-t3)!important}
html[data-theme] body .planning-map-stage{height:min(68vh,720px)!important;min-height:420px!important}
html[data-theme] body .planning-map-stage #planning-map{height:100%!important;border-radius:0!important;border:0!important;border-top:1px solid var(--rd-line)!important;border-bottom:1px solid var(--rd-line)!important}
html[data-theme] body :is(.map-layers-menu,.map-utility-menu) > summary{background:var(--rd-glass)!important;border:1px solid var(--rd-glass-line)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:var(--rd-shadow)!important;color:var(--rd-t1)!important;border-radius:var(--rd-r-sm)!important}
html[data-theme] body :is(.map-layers-menu,.map-utility-menu)[open] > :not(summary){background:var(--rd-s2)!important;border:1px solid var(--rd-line2)!important;border-radius:var(--rd-r-md)!important;box-shadow:var(--rd-shadow)!important}
html[data-theme] body .map-selection-row,html[data-theme] body #plan-traffic-status{padding-inline:14px!important;font-size:12.5px!important;color:var(--rd-t2)!important}
html[data-theme] body .map-footer{font-size:11px!important;color:var(--rd-t3)!important;padding-inline:14px!important}
html[data-theme] body .map-footer a{color:var(--rd-t2)!important}
html[data-theme] body .leaflet-bar{border:1px solid var(--rd-glass-line)!important;border-radius:var(--rd-r-sm)!important;box-shadow:var(--rd-shadow)!important;overflow:hidden}
html[data-theme] body .leaflet-bar :is(a,button){background:var(--rd-glass)!important;color:var(--rd-t1)!important;border-color:var(--rd-glass-line)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
html[data-theme] body .leaflet-bar :is(a,button):hover{background:var(--rd-s3)!important}
html[data-theme] body .leaflet-control-attribution{background:var(--rd-glass)!important;color:var(--rd-t2)!important;border-radius:6px 0 0 0;font-size:10.5px!important}
html[data-theme] body .leaflet-control-attribution a{color:var(--rd-t1)!important}
html[data-theme] body .leaflet-container{background:var(--rd-s1)!important;font-family:var(--rd-font)!important}
html[data-theme] body .leaflet-tooltip{background:var(--rd-glass)!important;color:var(--rd-t1)!important;border:1px solid var(--rd-glass-line)!important;border-radius:6px!important;box-shadow:var(--rd-shadow)!important;font:600 11px/1.3 var(--rd-mono)!important}
html[data-theme] body .leaflet-tooltip::before{display:none}
html[data-theme] body .leaflet-popup-content-wrapper,html[data-theme] body .leaflet-popup-tip{background:var(--rd-s2)!important;color:var(--rd-t1)!important;border:1px solid var(--rd-line2);box-shadow:var(--rd-shadow)!important}
html[data-theme] body .mission-area-tools{background:var(--rd-glass)!important;border:1px solid var(--rd-glass-line)!important;border-radius:var(--rd-r-md)!important;box-shadow:var(--rd-shadow)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:var(--rd-t1)!important}
html[data-theme] body .mission-area-tools small{color:var(--rd-t2)!important;font-size:11.5px!important}
html[data-theme] body .mission-area-tools button{min-height:34px!important;height:34px!important;background:var(--rd-s3)!important;color:var(--rd-t1)!important;border:1px solid var(--rd-line2)!important}
html[data-theme] body .leaflet-control-scale-line{background:var(--rd-glass)!important;color:var(--rd-t1)!important;border-color:var(--rd-t2)!important;font:600 10.5px/1.3 var(--rd-mono)!important;text-shadow:none!important}
html[data-theme] body .planning-context .card{padding:14px 16px!important}
html[data-theme] body .planning-context .card h3{font-size:14px!important;margin-bottom:6px!important}
@media (orientation:landscape) and (max-height:520px){
  html[data-theme] body .planning-map-stage{height:calc(100vh - 60px)!important;min-height:280px!important}
  /* Keep launch references available on short screens; compact them rather than hiding controls. */
  html[data-theme] body .laanc-access{gap:6px!important;margin-bottom:6px!important;flex-wrap:wrap}
  html[data-theme] body details.cow-guide{margin-block:6px!important}
  html[data-theme] body .aircraft-alert-panel .aircraft-legend{gap:6px!important;flex-wrap:wrap}
  html[data-theme] body .aircraft-alert-panel .aircraft-reference{margin-block:4px!important}
}

/* ---------- 9. Messages ---------- */
html[data-theme] body .messages-workspace{gap:0!important;border:1px solid var(--rd-line)!important;border-radius:var(--rd-r-lg)!important;overflow:hidden;background:var(--rd-s2)!important;min-height:min(72vh,760px)}
html[data-theme] body .messages-workspace :is(.message-rail,.message-thread){border:0!important;border-radius:0!important;box-shadow:none!important}
html[data-theme] body .message-rail{background:var(--rd-s1)!important;border-right:1px solid var(--rd-line)!important}
html[data-theme] body .message-thread-heading{border-bottom:1px solid var(--rd-line)!important;min-height:60px!important;padding:12px 20px!important}
html[data-theme] body .message-empty{color:var(--rd-t2)!important;font-size:13.5px!important}
html[data-theme] body .conversation-list :is(button,a){background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;text-align:left;border-radius:var(--rd-r-md)!important}
html[data-theme] body .conversation-list :is(button,a):hover{background:var(--rd-s3)!important}
html[data-theme] body .conversation-list :is([aria-current],[aria-selected=true],.active,.selected){background:var(--rd-accent-soft)!important;border-color:var(--rd-accent-line)!important}

/* ---------- 10. Audit fixes on other screens ---------- */
/* Media gallery and other empty states were at 1.43:1. */
html[data-theme] body :is(.empty,.empty-state,.library-empty,.message-empty,[class*=empty]){color:var(--rd-t2)!important}
/* Small map/meta labels below 4.5:1 in light theme. */
html[data-theme] body :is(.map-label,.ceiling-label,.map-legend small,.area-draft,.mission-area-status){font-size:max(11px,1em)}
html[data-theme=light] body :is(.map-label,.ceiling-label,.map-legend small,.area-draft,.mission-area-status){color:var(--rd-t2)!important}
/* Long names never push media out of line. */
html[data-theme] body :is(.asset-card,.aircraft-card,.overview-asset) :is(h3,h4,strong,a):first-of-type{overflow-wrap:anywhere}
/* Aircraft cards: two-line name clamp keeps photos and rows aligned; full name stays in the title text. */
html[data-theme] body .aircraft-record-card{background:var(--rd-s2)!important;border:1px solid var(--rd-line)!important;border-radius:var(--rd-r-lg)!important;box-shadow:var(--rd-hi)!important}
html[data-theme] body .aircraft-record-card > h3{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;min-height:2.5em;line-height:1.25!important;font-size:16px!important;overflow-wrap:normal!important;word-break:normal!important}
html[data-theme] body .aircraft-record-card .aircraft-reference img{height:150px!important;object-fit:contain!important}
html[data-theme] body .aircraft-record-card dl > div{border-color:var(--rd-line)!important}
html[data-theme] body .aircraft-record-card dt{color:var(--rd-t3)!important;font-size:12.5px!important}
/* Words never split mid-word. */
html[data-theme] body :is(.operation-metric,.forecast-slot,.wx-day-card,.uas-card header){word-break:normal!important;overflow-wrap:normal!important;hyphens:manual!important}

/* ---------- 11. Sign-in ---------- */
html[data-theme] body .login-card{background:var(--rd-s2)!important;border:1px solid var(--rd-line)!important;border-radius:16px!important;box-shadow:var(--rd-shadow)!important;padding:28px!important;position:relative}
html[data-theme] body .login-card h1{font-size:24px!important}
html[data-theme] body .login-card .appearance-control{position:absolute!important;top:14px!important;right:14px!important;margin:0!important}
html[data-theme] body .login-card label{font-size:13px!important;font-weight:600!important;color:var(--rd-t2)!important}

/* ---------- 12. Live video ---------- */
html[data-theme] body.live-viewer{background:var(--rd-bg)!important}
html[data-theme] body .uas-wall-toolbar{min-height:44px!important;padding:4px 6px!important;gap:6px!important;background:var(--rd-s1)!important;border:1px solid var(--rd-line)!important;border-radius:var(--rd-r-md)!important}
html[data-theme] body .uas-wall-toolbar :is(button,select){min-height:36px!important;height:36px!important;font-size:13px!important}
html[data-theme] body .uas-grid{gap:8px!important}
html[data-theme] body .uas-card{background:var(--rd-s1)!important;border:1px solid var(--rd-line)!important;border-radius:var(--rd-r-md)!important;box-shadow:none!important;overflow:hidden}
html[data-theme] body .uas-card > header{min-height:40px!important;padding:4px 6px 4px 12px!important;gap:8px!important;background:var(--rd-s2)!important;border-bottom:1px solid var(--rd-line)!important}
html[data-theme] body .uas-card > header h3{font-size:13.5px!important;font-weight:650!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme] body .uas-card > header button{min-height:32px!important;height:32px!important;padding:0 10px!important;font-size:12px!important}
html[data-theme] body .uas-card > header > [data-uas-feed-status]{display:inline-flex!important;align-items:center;gap:6px;font-size:11.5px!important;font-weight:650!important;letter-spacing:.02em;padding:3px 8px!important;border-radius:999px!important;background:var(--rd-unk-soft)!important;color:var(--rd-t2)!important;border:1px solid var(--rd-line)!important;white-space:nowrap}
html[data-theme] body .uas-card > header > [data-uas-feed-status]::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--rd-unk)}
html[data-theme] body .uas-card[data-source-status=online]:not(.uas-stale) > header > [data-uas-feed-status]{background:var(--rd-ok-soft)!important;color:var(--rd-t1)!important;border-color:color-mix(in srgb,var(--rd-ok) 40%,transparent)!important}
html[data-theme] body .uas-card[data-source-status=online]:not(.uas-stale) > header > [data-uas-feed-status]::before{background:var(--rd-ok);box-shadow:0 0 0 3px var(--rd-ok-soft)}
html[data-theme] body .uas-card[data-source-status=offline] > header > [data-uas-feed-status]{background:var(--rd-bad-soft)!important;border-color:color-mix(in srgb,var(--rd-bad) 40%,transparent)!important}
html[data-theme] body .uas-card[data-source-status=offline] > header > [data-uas-feed-status]::before{background:var(--rd-bad)}
html[data-theme] body .uas-card[data-source-status=online].uas-stale > header > [data-uas-feed-status]::before{background:var(--rd-accent)}
html[data-theme] body .uas-video{background:#050607!important}
html[data-theme] body .uas-old-frame{background:rgba(5,6,7,.78)!important;color:#EEF1F4!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:6px!important;font-size:11.5px!important;font-weight:600!important;padding:4px 8px!important}
html[data-theme] body .command-sources{background:var(--rd-s1)!important;border:1px solid var(--rd-line)!important;border-radius:var(--rd-r-md)!important;box-shadow:none!important}
html[data-theme] body .uas-source{background:var(--rd-s2)!important;border:1px solid var(--rd-line)!important;border-radius:var(--rd-r-sm)!important;color:var(--rd-t1)!important;box-shadow:none!important;text-align:left}
html[data-theme] body .uas-source:hover{background:var(--rd-s3)!important}
html[data-theme] body .uas-source:is([aria-pressed=true],.active,.selected){border-color:var(--rd-accent-line)!important;background:var(--rd-accent-soft)!important}
html[data-theme] body .uas-source small{font:600 11px/1 var(--rd-mono)!important;color:var(--rd-t3)!important}

html[data-theme] body .topbar{background:var(--rd-s1)!important;border-bottom:1px solid var(--rd-line)!important;box-shadow:none!important}
html[data-theme] body :is(.viewer-menu-body,.compact-viewer-menu,.uas-feed-controls,dialog){background:var(--rd-s2)!important;color:var(--rd-t1)!important;border:1px solid var(--rd-line2)!important;border-radius:var(--rd-r-lg)!important;box-shadow:var(--rd-shadow)!important}
html[data-theme] body dialog::backdrop{background:rgba(5,7,10,.6);backdrop-filter:blur(2px)}

/* ---------- 13. Motion & transparency preferences ---------- */
@media (prefers-reduced-motion:reduce){
  html[data-theme] body *,html[data-theme] body *::before,html[data-theme] body *::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
}
@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){
  html[data-theme]{--rd-glass:var(--rd-s2)}
}

/* Preserve PTT state against both the earlier appearance layer and neutral controls. */
html[data-theme] body .voice-panel button.voice-ptt[aria-pressed]:is(:hover,:not(:hover)){background:#e6c550!important;color:#161616!important;border:2px solid transparent!important}
html[data-theme] body .voice-panel button.voice-ptt[aria-pressed=true]:is(:hover,:not(:hover)){background:#bd3944!important;color:#fff!important;border-color:#f7a7ad!important}
/* ===== END SLFD visual redesign ===== */

/* Source: dji-cloud.css */
.dji-panel{margin-block:12px}.dji-live-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}.dji-live-card{border:1px solid var(--border,#687178);border-radius:12px;padding:14px;display:grid;grid-template-columns:1fr auto;gap:8px}.dji-live-card dl{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0}.dji-live-card dt{font-size:.76rem;opacity:.75}.dji-live-card dd{margin:2px 0;font-weight:650}.dji-live-card small{grid-column:1/-1}.dji-live-card[data-status=Live]{border-color:#36aa84}.dji-assign{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 0;border-bottom:1px solid #7775}.dji-assign h4,.dji-assign>small,.dji-assign>p{grid-column:1/-1;margin:0}.dji-assign label{display:flex;flex-direction:column;gap:4px;min-width:0}.dji-assign select{width:100%;min-width:0}.dji-assign input[type=checkbox]{width:auto;align-self:flex-start}.dji-strip{position:absolute;left:8px;right:8px;bottom:34px;border-radius:6px;background:#101719dc;color:#fff;padding:5px 8px;font:500 12px/1.35 system-ui;pointer-events:none;z-index:5;white-space:normal}.dji-strip[data-status=Stale],.dji-strip[data-status=Disconnected]{color:#ffcf77}.dji-code-dialog{max-width:min(92vw,480px);border-radius:16px;padding:24px}.dji-code-dialog strong{display:block;font:700 23px monospace;overflow-wrap:anywhere}.dji-record{padding:16px;margin-block:16px;border:1px solid #7776;border-radius:12px}.dji-record svg{width:100%;max-height:260px;background:#192126;border-radius:8px}.dji-record input[type=range]{width:100%}.dji-pilot{margin:0;background:#151a1e;color:#f5f6f6;font:16px/1.5 system-ui}.dji-pilot main{max-width:560px;margin:30px auto;padding:24px}.dji-pilot h1{font-size:24px}.dji-pilot label{display:block}.dji-pilot input{display:block;width:100%;box-sizing:border-box;padding:12px;font:20px monospace;margin:8px 0}.dji-pilot button{background:#e8c649;color:#17191b;border:0;border-radius:8px;padding:12px 18px;font-weight:700;margin:6px 0}.dji-pilot small{display:block;margin-top:16px}.dji-pilot #dji-disconnect{background:#414b52;color:white}@media(max-width:600px){.dji-assign{grid-template-columns:1fr}.dji-live-card dl{gap:8px}.dji-strip{font-size:10px;padding:3px 5px;bottom:28px}}@media(max-height:500px) and (orientation:landscape){.dji-strip{bottom:8px;font-size:10px}}

/* Source: design-correction.css */
/* Claude proposal correction: weather and overview composition, scoped to this release. */
html[data-theme] body .wx-workspace{gap:12px}
html[data-theme] body .wx-workspace>.section-title{display:flex!important;justify-content:space-between!important;align-items:center;margin:0!important}
html[data-theme] body .wx-workspace>.section-title>div{display:block!important}
html[data-theme] body .wx-workspace>.section-title h2{font-size:24px;margin:0}
html[data-theme] body .wx-workspace>.section-title p{font-size:12px;margin:2px 0 0;color:var(--text-muted)}
html[data-theme] body .wx-location-details{order:0}
html[data-theme] body .wx-summary{display:grid;grid-template-columns:1.18fr 1.06fr .96fr;gap:12px;align-items:stretch;min-width:0}
html[data-theme] body .wx-summary>*{min-width:0;margin:0!important;border:1px solid var(--stroke);border-radius:12px;background:var(--surface);padding:18px!important}
html[data-theme] body .wx-summary>#wx-flight-banner{display:flex!important;flex-direction:column;gap:10px!important;align-items:flex-start;justify-content:flex-start;box-shadow:none!important}
html[data-theme] body .wx-summary>#wx-flight-banner>strong{font-size:22px!important;line-height:1.1;color:inherit}
html[data-theme] body .wx-summary>#wx-flight-banner>span,html[data-theme] body .wx-summary>#wx-flight-banner>small,html[data-theme] body .wx-summary>#wx-flight-banner>details{grid-column:auto!important}
html[data-theme] body .wx-summary>#wx-flight-banner.safe{border-color:var(--good-text)!important;box-shadow:inset 0 0 24px #23ad622b!important}
html[data-theme] body .wx-summary>#wx-flight-banner.unsafe{border-color:var(--bad-text)!important;box-shadow:inset 0 0 24px #db304e29!important}
html[data-theme] body .wx-summary>#wx-flight-banner.caution{border-color:var(--warn-text)!important;box-shadow:inset 0 0 24px #c3891f26!important}
html[data-theme] body .wx-summary .current-weather-top{display:grid;grid-template-columns:minmax(0,1fr) 104px 70px!important;gap:8px!important}
html[data-theme] body .wx-summary .current-weather-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
html[data-theme] body .wx-summary .current-weather-facts>div{padding:6px!important;min-height:0!important;border:0!important;background:transparent!important}
html[data-theme] body .wx-summary .current-weather-facts dd{font-size:13px!important}
html[data-theme] body .wx-summary .gnss-widget{height:100%}
html[data-theme] body #wx-tabs{margin:0!important;gap:4px!important;padding-bottom:0}
html[data-theme] body #wx-tabs button{border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;min-height:40px!important;background:transparent!important;padding:8px 12px!important}
html[data-theme] body #wx-tabs button[aria-pressed=true]{border-bottom-color:var(--accent)!important;color:var(--accent-text)!important}
html[data-theme] body #wx-conditions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
html[data-theme] body #wx-conditions>.wx-forecast-layout{grid-column:1!important;display:grid!important;grid-template-columns:minmax(0,1.28fr) minmax(300px,.9fr);gap:12px;align-items:start;min-width:0}
html[data-theme] body .wx-forecast-visual{min-width:0;padding:16px!important}
html[data-theme] body .wx-forecast-visual h3,html[data-theme] body .wx-seven-day h3{font-size:15px;margin:0 0 12px}
html[data-theme] body .wx-forecast-visual #wx-chart{min-width:0;min-height:220px}
html[data-theme] body .wx-forecast-visual .wx-chart{height:auto;min-height:220px;background:transparent;border:0}
html[data-theme] body .wx-seven-day{min-width:0;padding:16px!important}
html[data-theme] body .wx-seven-day .wx-daily-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important}
html[data-theme] body .wx-seven-day .wx-day-card{display:grid;grid-template-columns:minmax(90px,1.1fr) minmax(80px,1fr) auto;gap:3px 8px!important;align-items:center;padding:7px 2px!important;border:0!important;border-bottom:1px solid var(--stroke)!important;border-radius:0!important;background:transparent!important;min-height:54px}
html[data-theme] body .wx-day-card .wx-day-heading{grid-column:1;grid-row:1;display:flex;gap:6px;align-items:center;font-size:12px}
html[data-theme] body .wx-day-card .wx-day-condition{grid-column:1;grid-row:2;font-size:11px;min-height:0!important;white-space:normal;overflow-wrap:normal}
html[data-theme] body .wx-day-card>b{grid-column:2;grid-row:1;font-size:14px!important;white-space:nowrap}
html[data-theme] body .wx-day-card>span:nth-of-type(2){grid-column:2;grid-row:2;font-size:11px}
html[data-theme] body .wx-day-card>span:nth-of-type(3){grid-column:3;grid-row:1 / 3;font-size:11px;white-space:nowrap}
html[data-theme] body .wx-day-card>details{grid-column:1 / -1;font-size:11px}
html[data-theme] body #wx-conditions>.wx-upcoming,html[data-theme] body #wx-conditions>.wx-hourly-details,html[data-theme] body #wx-conditions>.wx-forecast-details{grid-column:1!important;margin:0!important}
html[data-theme] body [data-panel=overview]>.streamlined-overview{order:1!important}
html[data-theme] body [data-panel=overview]>.overview-flight-card{grid-column:1/-1!important;order:2!important;padding:16px 20px!important;gap:12px!important}
html[data-theme] body [data-panel=overview]>.overview-map-card{grid-column:1!important;order:3!important}
html[data-theme] body [data-panel=overview]>.overview-weather-grid{grid-column:2!important;order:3!important;display:grid!important;gap:12px!important}
html[data-theme] body [data-panel=overview]>.overview-activity{grid-column:2!important;order:4!important}
html[data-theme] body [data-panel=overview]>.welcome{order:0!important}
@media(max-width:1100px){html[data-theme] body .wx-summary{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme] body .wx-summary>#weather-gnss{grid-column:1/-1}html[data-theme] body #wx-conditions>.wx-forecast-layout{grid-template-columns:minmax(0,1fr)}html[data-theme] body [data-panel=overview]>.overview-map-card,html[data-theme] body [data-panel=overview]>.overview-weather-grid,html[data-theme] body [data-panel=overview]>.overview-activity{grid-column:1!important}}
@media(max-width:640px){html[data-theme] body .wx-summary{grid-template-columns:minmax(0,1fr)}html[data-theme] body .wx-summary>#weather-gnss{grid-column:1}html[data-theme] body .wx-summary>*{padding:15px!important}html[data-theme] body .wx-summary .current-weather-top{grid-template-columns:minmax(0,1fr) 80px 54px!important}html[data-theme] body .wx-summary .current-weather-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-theme] body .wx-seven-day .wx-day-card{grid-template-columns:minmax(80px,1fr) minmax(80px,1fr);gap:3px 6px!important}html[data-theme] body .wx-day-card>span:nth-of-type(3){grid-column:2;grid-row:3}html[data-theme] body #wx-tabs{overflow-x:auto;flex-wrap:nowrap!important}html[data-theme] body #wx-tabs button{white-space:nowrap;flex:0 0 auto!important}html[data-theme] body [data-panel=overview]>.overview-flight-card{grid-column:1!important}}
@media(prefers-reduced-motion:reduce){html[data-theme] body .wx-summary *,html[data-theme] body .wx-day-card *{animation:none!important;transition:none!important}}
.slfd-dvr-dialog{width:min(900px,94vw);max-height:90dvh;overflow:auto;padding:18px;border:1px solid var(--stroke,#444);border-radius:14px;background:var(--surface,#1c1f22);color:var(--text,#fff)}
.slfd-dvr-dialog::backdrop{background:#080b0ed9}
.slfd-dvr-heading,.slfd-dvr-actions,.slfd-dvr-clip{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.slfd-dvr-heading h2{margin:0;font-size:20px}
.slfd-dvr-dialog video{width:100%;aspect-ratio:16/9;background:#090b10;display:block;border-radius:8px}
.slfd-dvr-actions{justify-content:flex-start;margin:12px 0}
.slfd-dvr-clip{padding:9px 0;border-top:1px solid var(--stroke,#444);font-size:13px}
.slfd-dvr-dialog #slfd-dvr-state{min-height:22px;font-size:13px}
@media(max-width:640px){.slfd-dvr-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0;padding:12px;margin:0}.slfd-dvr-heading button,.slfd-dvr-actions button{min-height:44px}}

/* Source: wind-instruments.css */
/* Shared compact wind instrument. Direction arrow points downwind; caption states FROM. */
html[data-theme] body{--wind-size:72px;--wind-ink:#202932;--wind-face:#fff;--wind-edge:#67727c;--wind-arrow:#925900}
html[data-theme=dark] body{--wind-ink:#f4f6f8;--wind-face:#20262c;--wind-edge:#a5b0ba;--wind-arrow:#ffd166}
html[data-theme] body :is(.wind-compass,.map-wind-dial){box-sizing:border-box;position:relative;display:block;width:var(--wind-size);height:var(--wind-size);min-width:var(--wind-size);flex:none;margin:0;padding:0;border:1px solid var(--wind-edge);border-radius:50%;background:var(--wind-face);color:var(--wind-ink);box-shadow:none}
html[data-theme] body :is(.weather-wind-cardinal,.map-cardinal){position:absolute;font:700 12px/14px system-ui,sans-serif;color:var(--wind-ink);background:var(--wind-face);text-shadow:none}
html[data-theme] body :is(.cardinal-0,.map-cardinal-0){top:3px;left:50%;transform:translateX(-50%)}
html[data-theme] body :is(.cardinal-1,.map-cardinal-1){right:3px;top:50%;transform:translateY(-50%)}
html[data-theme] body :is(.cardinal-2,.map-cardinal-2){bottom:3px;left:50%;transform:translateX(-50%)}
html[data-theme] body :is(.cardinal-3,.map-cardinal-3){left:3px;top:50%;transform:translateY(-50%)}
html[data-theme] body .map-wind-rose{position:absolute;inset:0}
html[data-theme] body :is(.weather-wind-arrow,.map-wind-arrow){position:absolute;inset:17px;display:block;width:auto;height:auto;border:0;background:none;font-size:0;line-height:0;color:var(--wind-arrow);transform-origin:center}
html[data-theme] body :is(.weather-wind-arrow,.map-wind-arrow)::before{content:'';position:absolute;top:7px;bottom:3px;left:calc(50% - 1.5px);width:3px;height:auto;background:var(--wind-arrow);mask:none;-webkit-mask:none}
html[data-theme] body :is(.weather-wind-arrow,.map-wind-arrow)::after{content:'';position:absolute;top:0;left:calc(50% - 6px);width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:10px solid var(--wind-arrow)}
html[data-theme] body :is(.weather-wind-arrow,.map-wind-arrow)[hidden]{display:none!important}
html[data-theme] body .weather-wind-instrument{display:flex;flex-direction:column;align-items:center;gap:5px;width:104px;max-width:100%;min-width:0}
html[data-theme] body .wind-direction-label{position:static;display:block;margin:0;width:100%;font-size:12px;line-height:16px;text-align:center;color:var(--text);white-space:normal;overflow-wrap:normal;transform:none}
html[data-theme] body #workspace .current-weather-top{display:grid!important;grid-template-columns:minmax(0,1fr) 104px!important;align-items:center!important;gap:8px!important;padding-bottom:0!important;margin:12px 0!important;min-width:0}
html[data-theme] body #workspace .current-weather-reading{display:grid;grid-template-columns:1fr 32px;align-items:center;gap:4px;min-width:0}
html[data-theme] body #workspace .current-weather-reading .weather-temp{grid-column:1/-1;font-size:36px!important;line-height:1.1!important}
html[data-theme] body #workspace .current-weather-reading .weather-description{min-width:0;font-size:13px;overflow-wrap:anywhere}
html[data-theme] body #workspace .current-weather-art{width:32px!important;height:32px!important;max-width:32px!important}
html[data-theme] body .map-instruments{position:relative;box-sizing:border-box;width:116px;padding:7px;margin-top:84px!important;background:var(--wind-face);color:var(--wind-ink);border:1px solid var(--wind-edge);border-radius:8px;box-shadow:0 1px 4px #0002;backdrop-filter:none}
html[data-theme] body .map-wind-dial{margin:0 auto}
html[data-theme] body .map-wind-speed{position:static;display:flex;flex-direction:row;align-items:baseline;justify-content:center;gap:4px;margin:4px 0 0;padding:0;background:none;border:0;border-radius:0;color:var(--wind-ink)}
html[data-theme] body .map-wind-speed strong{font-size:17px;line-height:20px}
html[data-theme] body .map-wind-speed small{font-size:12px;color:var(--wind-ink)}
html[data-theme] body .map-wind-caption{display:block;margin:2px 0 0;font-size:12px;line-height:16px;text-align:center;white-space:normal;color:var(--wind-ink)}
html[data-theme] body .map-north{position:absolute;right:0;top:-28px;display:flex;align-items:center;gap:4px;background:var(--wind-face);border:1px solid var(--wind-edge);border-radius:5px;padding:3px 7px;font-size:12px;color:var(--wind-ink)}
html[data-theme] body .map-north-arrow{display:block;color:var(--wind-ink)}
html[data-theme] body .map-instruments [hidden]{display:none!important}

/* Source: weather-chart.css */
html[data-theme] body #wx-chart{min-width:0;min-height:0}
html[data-theme] body #wx-chart .wx-interactive-chart{display:block;width:100%;height:auto;min-height:0;border:0;border-radius:6px;cursor:crosshair;color:var(--text)}
html[data-theme] body #wx-chart .wx-chart-grid{stroke:var(--text-muted);stroke-opacity:.35;stroke-width:1}
html[data-theme] body #wx-chart .wx-chart-series{stroke:currentColor;stroke-width:2}
html[data-theme] body #wx-chart .wx-chart-point{fill:var(--text);stroke:var(--surface);stroke-width:1}
html[data-theme] body #wx-chart .wx-chart-gusts{stroke:#ad2445}
html[data-theme] body #wx-chart path.wx-chart-gusts{stroke-dasharray:6 4}
html[data-theme] body #wx-chart circle.wx-chart-gusts{fill:#ad2445;stroke:var(--surface)}
html[data-theme=dark] body #wx-chart .wx-chart-gusts{stroke:#ff93ab}
html[data-theme=dark] body #wx-chart circle.wx-chart-gusts{fill:#ff93ab;stroke:var(--surface)}
html[data-theme] body #wx-chart .wx-chart-cursor{stroke:var(--text);stroke-dasharray:3 4;stroke-opacity:.6;pointer-events:none}
html[data-theme] body #wx-chart text{font:12px system-ui,sans-serif;fill:var(--text)}
html[data-theme] body #wx-chart .wx-chart-readout{font-size:14px;line-height:1.5;margin:8px 0 0;min-height:42px;overflow-wrap:anywhere}
html[data-theme] body #wx-chart .wx-interactive-chart:focus-visible{outline:2px solid var(--text);outline-offset:3px}
html[data-theme] body .wx-forecast-visual .wx-toolbar label{flex:1 1 220px;min-width:0}

/* Allocate unused card height to the plot. JS redraws in viewport pixel units. */
html[data-theme] body .wx-forecast-visual.card{display:flex!important;flex-direction:column}
html[data-theme] body .wx-forecast-visual.card #wx-chart{display:flex;flex-direction:column;flex:1 1 auto;min-height:260px!important}
html[data-theme] body .wx-forecast-visual.card #wx-chart .wx-interactive-chart{flex:1 1 210px;height:0;min-height:210px;width:100%}
html[data-theme] body .wx-forecast-visual.card #wx-chart .wx-chart-readout,html[data-theme] body .wx-forecast-visual.card #wx-chart-note{flex:0 0 auto}

/* Source: combined-review.css */
/* Shared review corrections; semantic colors and responsive record layout. */
html[data-theme] body{--review-green:#167647;--review-yellow:#8a5a00;--review-red:#b72b3a}
html[data-theme=dark] body{--review-green:#52d994;--review-yellow:#ffd166;--review-red:#ff7b87}
html[data-theme] body .record-status-badge[data-tone=good],html[data-theme] body [data-tone=safe]{color:var(--review-green)!important;background:color-mix(in srgb,var(--review-green) 12%,transparent)!important;border-color:var(--review-green)!important}
html[data-theme] body .record-status-badge[data-tone=attention]{color:var(--review-yellow)!important;background:color-mix(in srgb,var(--review-yellow) 12%,transparent)!important}
html[data-theme] body .record-status-badge[data-tone=critical]{color:var(--review-red)!important;background:color-mix(in srgb,var(--review-red) 12%,transparent)!important}
html[data-theme] body .conversation-label strong{font-weight:600!important;text-shadow:none!important;-webkit-text-stroke:0!important;letter-spacing:normal;line-height:1.4}
html[data-theme] body .table-tools{display:flex!important;flex-wrap:wrap;align-items:end;gap:12px!important;padding:12px 0!important;background:none!important;border:0!important;box-shadow:none!important}
html[data-theme] body .table-tools>.ops-fields{display:block!important;flex:1 1 320px;margin:0!important;padding:0!important}
html[data-theme] body .table-tools>select{flex:0 1 190px;width:auto!important;min-width:160px}
html[data-theme] body .table-tools :is(button,select,input,summary),html[data-theme] body .ops-actions :is(button,summary){min-height:44px!important;height:auto!important;padding:10px 14px!important;font-size:14px!important}
html[data-theme] body .record-view-menu{position:relative;flex:0 0 auto;border:1px solid var(--stroke);border-radius:8px;padding:0!important}
html[data-theme] body .record-view-menu[open]{display:flex;flex-wrap:wrap;gap:8px;padding:10px!important;flex-basis:100%}
html[data-theme] body .record-view-menu>summary{cursor:pointer;font-weight:600}
html[data-theme] body .record-view-menu :is(select,button,.column-picker){width:auto!important;max-width:100%;flex:0 1 auto}
html[data-theme] body .ops-actions{gap:8px!important;align-items:center!important;margin-bottom:12px!important}
html[data-theme] body .records-table th button{border:0!important;background:transparent!important;box-shadow:none!important;padding:6px 0!important;min-height:44px;color:var(--text)!important;text-align:left}
html[data-theme] body .records-table td{padding:14px 16px!important;vertical-align:top;line-height:1.45}
html[data-theme] body .record-title button{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;text-align:left;font-weight:600!important;line-height:1.5}
html[data-theme] body .record-title small{display:block;color:var(--text-muted);font-size:12px;margin-top:4px}
html[data-theme] body .records-table .record-title{width:24%}html[data-theme] body .records-table .record-date{min-width:130px}
html[data-theme] body .record-actions-cell{white-space:nowrap}html[data-theme] body .record-row-actions{display:inline-block;margin-left:8px}
html[data-theme] body .records-empty{padding:24px 16px!important;border:0!important;background:transparent!important;border-radius:0!important}
html[data-theme] body .records-empty h3{font-size:17px!important;margin:0 0 6px}
html[data-theme] body .table-footer{padding:12px 0!important;margin:0!important;font-size:13px;min-height:0!important}
html[data-theme] body .table-scroll{border-radius:8px!important}
html[data-theme] body #ops-readiness{margin:0;padding:0;background:none;border:0;font-size:13px;line-height:1.5}
html[data-theme] body .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
html[data-theme] body .metric-grid .metric{padding:16px!important;min-height:0!important}
html[data-theme] body .metric[data-tone=good]{border-color:var(--review-green);color:var(--review-green)}
html[data-theme] body .metric[data-tone=attention]{border-color:var(--review-yellow);color:var(--review-yellow)}
html[data-theme] body .metric[data-tone=critical]{border-color:var(--review-red);color:var(--review-red)}
html[data-theme] body :is(.wind-compass,.map-wind-dial){border:3px solid var(--wind-edge);box-shadow:inset 0 0 0 2px var(--wind-face),inset 0 0 5px #0005,0 1px 2px #0003;background:radial-gradient(circle,var(--wind-face) 60%,transparent 61%),repeating-conic-gradient(from 0deg,var(--wind-edge) 0deg 1deg,var(--wind-face) 1deg 15deg)}
html[data-theme] body .wx-summary{align-items:stretch!important}
html[data-theme] body .wx-summary>.wx-status-stack{display:contents!important}
html[data-theme] body .wx-status-stack>:is(section,div){margin:0!important;min-height:0!important;border:1px solid var(--stroke);border-radius:12px;padding:16px!important;background:var(--surface)}
html[data-theme] body .flight-weather-banner{display:flex!important;flex-direction:column;align-items:start!important;justify-content:start!important;gap:8px!important;min-height:0!important;height:auto!important;padding:16px!important}
html[data-theme] body .flight-weather-banner strong{font-size:21px!important;line-height:1.2}
html[data-theme] body .flight-weather-banner :is(span,small,details){grid-column:auto!important;white-space:normal}
html[data-theme] body .flight-weather-banner.safe{border-color:var(--review-green);box-shadow:inset 0 0 18px #23ad621a!important}
html[data-theme] body .flight-weather-banner.caution,html[data-theme] body .flight-weather-banner.unknown{border-color:var(--review-yellow);box-shadow:inset 0 0 18px #c3891f1a!important}
html[data-theme] body .flight-weather-banner.unsafe{border-color:var(--review-red);box-shadow:inset 0 0 18px #db304e1a!important}
html[data-theme] body .next-four{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html[data-theme] body .forecast-slot{padding:10px!important;min-width:0;font-size:13px}
html[data-theme] body .weather-condition-icon{width:32px;height:32px;object-fit:contain;vertical-align:middle}
html[data-theme] body .current-connection{font-size:12px;display:grid;gap:4px;margin-top:12px}
html[data-theme] body .wx-alerts h3{font-size:16px;margin:0 0 6px}
html[data-theme] body .wx-alerts p{font-size:13px;margin:6px 0}
@media(max-width:1000px){html[data-theme] body .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){html[data-theme] body .metric-grid{grid-template-columns:minmax(0,1fr)!important}html[data-theme] body .table-tools>.ops-fields{flex-basis:100%}html[data-theme] body .records-table{min-width:620px}html[data-theme] body .table-scroll{overflow:auto}html[data-theme] body .ops-actions{flex-wrap:wrap}html[data-theme] body .record-export-menu{margin-left:auto}}

.weather-condition-icon{width:40px;height:40px;object-fit:contain;vertical-align:middle}.current-weather-art .weather-condition-icon{width:64px;height:64px}.readiness-metric p{font-size:.85rem;line-height:1.4;margin:.4rem 0;max-height:6em;overflow:auto}.readiness-metric[data-state=within] strong{color:var(--status-good,#4ade80)}.readiness-metric[data-state=advisory] strong{color:var(--status-attention,#facc15)}.readiness-metric[data-state=exceeded] strong{color:var(--status-critical,#f87171)}

.traffic-heading img{width:26px;height:26px;filter:invert(72%) sepia(90%) saturate(900%) hue-rotate(2deg);filter:drop-shadow(0 0 1px #fff)}.traffic-trail-controls{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin:.5rem 0}.traffic-trail-controls select{width:auto;min-height:40px}.traffic-trail-controls small,.traffic-trail-controls a{font-size:.75rem}.traffic-trail-controls a{margin-left:auto}

html[data-theme] body [data-semantic-tone=good]{color:var(--review-green)!important;background:color-mix(in srgb,var(--review-green) 12%,transparent)!important;border-color:var(--review-green)!important}html[data-theme] body [data-semantic-tone=attention]{color:var(--review-yellow)!important;background:color-mix(in srgb,var(--review-yellow) 12%,transparent)!important;border-color:var(--review-yellow)!important}html[data-theme] body [data-semantic-tone=critical]{color:var(--review-red)!important;background:color-mix(in srgb,var(--review-red) 12%,transparent)!important;border-color:var(--review-red)!important}#notification-settings>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}#notification-settings input[type=checkbox]{width:auto;min-height:20px;margin-right:8px}#notification-settings input[type=time]{width:auto;margin:5px}#notification-settings button{margin:6px 6px 6px 0}

html[data-theme] body #ops-list table.records-table thead th button{border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;outline-offset:3px!important;padding:5px 0!important;font-size:13px!important;min-height:36px!important}html[data-theme] body .wx-summary{align-items:stretch!important}html[data-theme] body #weather-gnss{align-self:stretch!important;height:auto!important;min-height:0!important}html[data-theme] body #wx-next-four .forecast-slot{padding:10px!important;gap:4px!important;min-height:0!important}html[data-theme] body #wx-next-four .forecast-slot>strong{font-size:21px!important;margin:0!important}html[data-theme] body #wx-next-four .weather-condition-icon{width:28px;height:28px}html[data-theme] body #wx-next-four .forecast-slot>span{font-size:12px!important}html[data-theme] body #wx-flight-banner.caution{border-color:var(--review-yellow)!important;box-shadow:inset 0 0 18px color-mix(in srgb,var(--review-yellow) 24%,transparent)!important}html[data-theme] body #wx-flight-banner.caution .weather-verdict-heading>strong{color:var(--review-yellow)!important}html[data-theme] body .conversation-row strong{font-weight:600!important;text-shadow:none!important;-webkit-text-stroke:0!important}html[data-theme] body #workspace-sidebar summary{white-space:normal!important;line-height:1.35}html[data-theme] body #workspace-sidebar summary>span{overflow:visible!important;text-overflow:clip!important;white-space:normal!important}

.weather-verdict-heading{display:grid!important;grid-template-columns:24px minmax(0,1fr);column-gap:8px;align-items:center}.weather-verdict-heading small{grid-column:2}.weather-status-icon{display:inline-flex;width:20px;height:20px;border:1.5px solid currentColor;border-radius:50%;align-items:center;justify-content:center;font-size:14px;font-weight:700}.flight-weather-banner.safe .weather-status-icon{color:var(--review-green)}.flight-weather-banner.caution .weather-status-icon{color:var(--review-yellow)}.flight-weather-banner.unsafe .weather-status-icon{color:var(--review-red)}html[data-theme] body .flight-weather-banner.unknown{background-image:repeating-linear-gradient(-45deg,transparent,transparent 12px,#88888809 12px,#88888809 14px)!important}#wx-official-alerts[data-alert-state=within] .official-alert-status{color:var(--review-green)}#wx-official-alerts[data-alert-state=exceeded] summary{color:var(--review-red)}#wx-official-alerts[data-alert-state=advisory] summary{color:var(--review-yellow)}html[data-theme=dark] body .traffic-heading img{filter:invert(1) drop-shadow(0 0 1px #000)}html[data-theme=light] body .traffic-heading img{filter:drop-shadow(0 0 1px #fff)}

html[data-theme] body #workspace-sidebar .nav-group > summary{white-space:normal!important;line-height:1.35!important;min-width:0!important}html[data-theme] body #workspace-sidebar .nav-group > summary>[data-nav-label]{min-width:0;flex:1;white-space:normal!important;overflow-wrap:normal}html[data-theme] body #workspace-sidebar .nav-group > summary:after{flex:none;margin-left:0}html[data-theme] body .flight-weather-banner .weather-verdict-heading{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:2px 8px!important}html[data-theme] body .flight-weather-banner .weather-verdict-heading .weather-status-icon{grid-column:1!important;grid-row:1!important}html[data-theme] body .flight-weather-banner .weather-verdict-heading strong{grid-column:2!important;grid-row:1!important}html[data-theme] body .flight-weather-banner .weather-verdict-heading small{grid-column:2!important;grid-row:2!important}
html[data-theme=dark] body img.weather-condition-icon[src$="/not-available.svg"]{filter:brightness(0) invert(.7)}

/* Recovery refinement: shared tokens from the supplied design reference. */
html[data-theme],html[data-theme] body{--page:#f3f4f1;--surface:#fff;--surface-soft:#eceeea;--surface-raised:#eceeea;--stroke:#cbd0d2;--text:#13181d;--text-muted:#454f5b;--meta:#606b77;--accent:#f0b43a;--accent-text:#855700;--accent-soft:#f9efd5;--good-text:#11734f;--good-bg:#e5f3ec;--warn-text:#8a5a00;--warn-bg:#fff3d3;--bad-text:#bf2929;--bad-bg:#fbeaea;--review-green:#11734f;--review-yellow:#8a5a00;--review-red:#bf2929;--data-text:#0b6d9b;--unknown:#606b77}
html[data-theme=dark],html[data-theme=dark] body{--page:#0a0c0f;--surface:#171c22;--surface-soft:#1e242c;--surface-raised:#1e242c;--stroke:#39424c;--text:#ecf1f6;--text-muted:#b0bac6;--meta:#909dab;--accent:#f8bd40;--accent-text:#f8bd40;--accent-soft:#3b321f;--good-text:#39d493;--good-bg:#17382d;--warn-text:#ffd166;--warn-bg:#39311e;--bad-text:#ff666b;--bad-bg:#40252a;--review-green:#39d493;--review-yellow:#ffd166;--review-red:#ff666b;--data-text:#58c9fa;--unknown:#9ba8b5}
html[data-theme] body{font-size:14px;line-height:1.5}
html[data-theme] body :is(h2,#page-title){font-size:24px;line-height:1.25;letter-spacing:-.02em}
html[data-theme] body :is(.card h3,.card h4){font-size:16px;line-height:1.35;font-weight:650}
html[data-theme] body :is(.card,.operation-metric,.readiness-card){border-radius:12px;box-shadow:none}
html[data-theme] body :is(.card:not(#ops-editor),.operation-metric){align-self:start}
html[data-theme] body :is(button,.button,input,select){min-height:36px}
html[data-theme] body :is(button,.button,input,select,textarea,summary,a):focus-visible{outline:2px solid var(--accent-text)!important;outline-offset:3px!important;box-shadow:0 0 0 5px var(--surface)!important}
html[data-theme] body :is(button.primary,.button.primary){background:var(--accent)!important;color:#171c22!important;border-color:var(--accent)!important}
html[data-theme] body .flight-weather-banner.unknown{border-color:var(--unknown)!important;color:var(--text);box-shadow:none!important}
html[data-theme] body .flight-weather-banner.unknown .weather-status-icon{color:var(--unknown)}
html[data-theme] body .flight-weather-banner{box-shadow:none!important;border-width:1px!important}
html[data-theme] body .flight-weather-banner.safe{box-shadow:inset 0 0 25px #39d49312!important}
html[data-theme] body .flight-weather-banner.caution{box-shadow:inset 0 0 25px #ffd16612!important}
html[data-theme] body .flight-weather-banner.unsafe{box-shadow:inset 0 0 25px #ff666b12!important}
html[data-theme] body #wx-conditions[hidden],html[data-theme] body [data-wx-view][hidden]{display:none!important}
html[data-theme] body .wx-forecast-layout{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
html[data-theme] body .wx-forecast-layout>.card{margin:0!important;height:auto!important;align-self:stretch!important;min-width:0!important}
html[data-theme] body .wx-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
html[data-theme] body #weather-gnss{grid-column:2!important;grid-row:3!important;margin-top:0!important}
html[data-theme] body .wx-status-stack #wx-flight-banner{grid-column:1/-1!important;grid-row:1!important;margin:0!important}html[data-theme] body .wx-status-stack .wx-upcoming{grid-column:2!important;grid-row:2!important}html[data-theme] body .wx-status-stack #wx-official-alerts{grid-column:1!important;grid-row:3!important}
html[data-theme] body #wx-observation{grid-column:1!important;grid-row:2!important}
html[data-theme] body .wx-summary .current-weather-top{grid-template-columns:minmax(0,1fr) 96px!important}
html[data-theme] body .traffic-trail-controls{position:static!important;display:flex!important;flex-wrap:wrap;gap:8px;padding:12px;margin:0;min-height:0;height:auto}
html[data-theme] body .traffic-trail-controls small{flex:1 1 220px;font-size:12px}
html[data-theme] body #planning-map-card .map-selection-row{height:auto!important;flex-wrap:wrap;gap:8px}
html[data-theme] body :is(.current-connection,.wx-sources,.wx-data-note){font-size:12px;line-height:1.5}
html[data-theme] body .wind-compass[data-state=stale]{opacity:.7}
@media(max-width:1100px){html[data-theme] body .wx-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}html[data-theme] body #weather-gnss{grid-column:2!important}}
@media(max-width:640px){html[data-theme] body .wx-summary{grid-template-columns:minmax(0,1fr)!important}html[data-theme] body .wx-status-stack,html[data-theme] body #wx-observation,html[data-theme] body #weather-gnss{grid-column:1!important;grid-row:auto!important}html[data-theme] body :is(button,.button,input,select,summary){min-height:44px!important}html[data-theme] body #planning-map-card .map-selection-row button{min-height:44px!important}html[data-theme] body :is(h2,#page-title){font-size:22px}html[data-theme] body .wx-summary>*{padding:12px!important}}
@media(pointer:coarse){html[data-theme] body :is(button,.button,input,select,summary){min-height:44px!important}}
@media(prefers-reduced-motion:reduce){html[data-theme] body *,html[data-theme] body *::before,html[data-theme] body *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

html[data-theme] body .wx-forecast-layout>.wx-forecast-visual{grid-column:1!important;grid-row:1!important}
html[data-theme] body .wx-forecast-layout>.wx-seven-day{grid-column:2!important;grid-row:1!important}
html[data-theme] body #wx-flight-banner.safe{box-shadow:inset 0 0 25px #39d49316!important}
html[data-theme] body #wx-flight-banner.caution{box-shadow:inset 0 0 25px #ffd16616!important}
html[data-theme] body #wx-flight-banner.unsafe{box-shadow:inset 0 0 25px #ff666b16!important}
html[data-theme] body .wx-workspace:not([data-weather-tab=conditions]) .wx-summary :is(#wx-observation,#weather-gnss,.wx-upcoming,.wx-alerts){display:none!important}
html[data-theme] body .wx-workspace:not([data-weather-tab=conditions]) .wx-summary{display:block!important}
html[data-theme] body .wx-workspace:not([data-weather-tab=conditions]) .wx-status-stack{display:block!important}
html[data-theme] body .wx-workspace:not([data-weather-tab=conditions]) #wx-flight-banner{gap:4px!important;padding:12px 16px!important}
html[data-theme] body .wx-workspace:not([data-weather-tab=conditions]) #wx-flight-banner strong{font-size:18px!important}
@media(max-width:800px){html[data-theme] body .wx-forecast-layout>.wx-seven-day{grid-column:1!important;grid-row:2!important}}

/* Permission and lifecycle visibility must win over component display rules. */
html[data-theme] body #workspace [hidden],html[data-theme] body #workspace-sidebar [data-view][hidden],html[data-theme] body #workspace [data-panel][hidden]{display:none!important}

html[data-theme] body #ops-editor:not([hidden]){align-self:stretch!important;height:100dvh!important;max-height:100dvh!important;overflow:auto!important}

html[data-theme] body.dji-pilot main{background:var(--surface);color:var(--text);border:1px solid var(--stroke);border-radius:12px;padding:24px}
html[data-theme] body.dji-pilot :is(input,button){background:var(--surface-soft);color:var(--text);border-color:var(--stroke)}
@media(max-width:640px),(pointer:coarse){html[data-theme] body #ops-list table.records-table thead th button,html[data-theme] body .record-row-actions>summary,html[data-theme] body #wx-tabs button{min-height:44px!important}html[data-theme] body .leaflet-bar a{min-width:44px;min-height:44px;line-height:44px}}

/* Matched weather rows. Expanded daily details always remain in document flow. */
html[data-theme] body .wx-summary :is(#wx-flight-banner,#wx-observation,.wx-upcoming,#wx-official-alerts,#weather-gnss){align-self:stretch!important;min-width:0!important;height:auto!important;margin:0!important;box-sizing:border-box}
html[data-theme] body .wx-status-stack .wx-upcoming{display:flex!important;flex-direction:column}
html[data-theme] body .wx-status-stack .wx-upcoming .next-four{flex:1;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-theme] body .wx-forecast-layout .wx-forecast-visual{display:flex!important;flex-direction:column}
html[data-theme] body .wx-forecast-layout #wx-chart{min-height:240px}
@media(max-width:800px){
 html[data-theme] body .wx-summary,html[data-theme] body #wx-conditions>.wx-forecast-layout{grid-template-columns:minmax(0,1fr)!important}
 html[data-theme] body .wx-summary :is(#wx-flight-banner,#wx-observation,.wx-upcoming,#wx-official-alerts,#weather-gnss),html[data-theme] body .wx-forecast-layout>:is(.wx-forecast-visual,.wx-seven-day){grid-column:1!important;grid-row:auto!important}
}

/* Type/category sizes stay centered inside a consistent accessible hit target. */
.slfd-traffic-icon .traffic-heading{width:44px;height:44px;display:flex;align-items:center;justify-content:center;transform-origin:50% 50%}
.traffic-uas .traffic-heading svg{width:26px;height:26px}
.traffic-silhouette{display:block;flex:none;background:currentColor;mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}
.traffic-aircraft{color:var(--text-secondary,#a0a6af)}
.traffic-aircraft.traffic-alt-low{color:#ff6675}.traffic-aircraft.traffic-alt-medium{color:#f8c443}.traffic-aircraft.traffic-alt-high,.traffic-aircraft.traffic-alt-unknown{color:#aeb9c5}
html[data-theme=light] .traffic-aircraft.traffic-alt-low{color:#ba2637}html[data-theme=light] .traffic-aircraft.traffic-alt-medium{color:#8b6100}html[data-theme=light] .traffic-aircraft.traffic-alt-high,html[data-theme=light] .traffic-aircraft.traffic-alt-unknown{color:#485565}

.map-selection-row{align-items:center;gap:12px}.map-selection-row #map-selection-summary{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.5;flex:1}.map-selection-row button{flex:none}

/* Short-term forecast tiles use the existing space for named hourly values. */
html[data-theme] body .forecast-slot{display:flex;flex-direction:column;gap:8px;padding:12px!important;min-width:0}
html[data-theme] body #wx-next-four .forecast-slot{padding:12px!important;gap:8px!important}
.forecast-hour-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.forecast-hour-heading>small{font-size:13px;font-weight:650}.forecast-hour-heading .weather-condition-icon{width:28px;height:28px;flex:none}
.forecast-temperature{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}.forecast-temperature>strong{font-size:24px;line-height:1.2}.forecast-temperature>small{font-size:12px;color:var(--text-secondary,var(--text-muted))}
.forecast-conditions{margin:0;line-height:1.4;font-size:13px;min-height:2.8em;overflow-wrap:anywhere}
.forecast-hour-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px;margin:0;min-width:0}.forecast-hour-facts>div{min-width:0}.forecast-hour-facts dt{font-size:11px;line-height:1.4;color:var(--text-secondary,var(--text-muted))}.forecast-hour-facts dd{margin:3px 0 0;font-size:14px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}.forecast-hour-facts .forecast-wind-from{display:block;margin-top:3px;min-height:2.7em;font-size:11px;font-weight:400;color:var(--text-secondary,var(--text-muted))}
html[data-theme] body .forecast-slot>.weather-rain-meter{margin-top:auto!important}.forecast-stale{font-size:12px;color:var(--review-yellow)}

/* A reserved, responsive current-condition illustration; motion never affects layout. */
html[data-theme] body #workspace .current-weather-top{container-name:current-condition;container-type:inline-size}
html[data-theme] body #workspace .current-weather-reading{grid-template-columns:minmax(0,1fr) minmax(64px,36%);column-gap:8px;row-gap:4px}
html[data-theme] body #workspace .current-weather-reading .current-weather-art{width:100%!important;max-width:128px!important;height:auto!important;aspect-ratio:1;justify-self:center;pointer-events:none}
.weather-hero-icon{display:block;width:100%;height:100%;overflow:visible;fill:none;stroke-linecap:round;stroke-linejoin:round}
.weather-hero-sun circle{fill:#fbbf24;stroke:#f59e0b;stroke-width:2}.weather-hero-rays{stroke:#fbbf24;stroke-width:4}.weather-hero-sun{filter:drop-shadow(0 0 5px #fbbf2433)}
.weather-hero-cloud>path:first-child{fill:#e6edf3;stroke:#9aabb9;stroke-width:2}.weather-hero-cloud-shine{stroke:#fff;stroke-width:4;opacity:.8}.weather-hero-back-cloud{transform:translate(9px,-15px) scale(.85);opacity:.6}
.weather-hero-rain{stroke:#58b9f7;stroke-width:4;stroke-dasharray:6 11}.weather-hero-snow{stroke:#9ad9ff;stroke-width:2}.weather-hero-fog{stroke:#9aabb9;stroke-width:5;opacity:.8}.weather-hero-bolt{fill:#fbbf24;stroke:#f59e0b;stroke-width:1.5}
.weather-hero-moon>path{fill:#c6d9f1;stroke:#9fb6d0;stroke-width:2}.weather-hero-stars{fill:#d7e6f8}.weather-hero-unknown{stroke:#94a3b8;stroke-width:3;stroke-dasharray:4 6}.weather-hero-question{font:600 54px system-ui,sans-serif;fill:#94a3b8}
@container current-condition (min-width:300px){html[data-theme] body #workspace .current-weather-reading .weather-temp{grid-column:1;grid-row:1}html[data-theme] body #workspace .current-weather-reading .weather-description{grid-column:1;grid-row:2}html[data-theme] body #workspace .current-weather-reading .current-weather-art{grid-column:2;grid-row:1/span 2}}
@media(prefers-reduced-motion:no-preference){.weather-hero-rays{animation:slfd-weather-rays 32s linear infinite;transform-box:view-box}.weather-hero-cloud{animation:slfd-weather-cloud 6s ease-in-out infinite alternate}.weather-hero-rain{animation:slfd-weather-rain 1.8s linear infinite}.weather-hero-snow{animation:slfd-weather-snow 3.8s ease-in-out infinite alternate}.weather-hero-fog{animation:slfd-weather-fog 5s ease-in-out infinite alternate}.weather-hero-bolt,.weather-hero-stars{animation:slfd-weather-glow 4.5s ease-in-out infinite alternate}}
@keyframes slfd-weather-rays{to{transform:rotate(360deg)}}@keyframes slfd-weather-cloud{to{transform:translateX(3px)}}@keyframes slfd-weather-rain{to{stroke-dashoffset:-17}}@keyframes slfd-weather-snow{to{transform:translateY(6px);opacity:.55}}@keyframes slfd-weather-fog{to{transform:translateX(4px);opacity:.5}}@keyframes slfd-weather-glow{to{opacity:.55}}
@media(prefers-reduced-motion:reduce){.weather-hero-icon *{animation:none!important;transition:none!important}}

/* Source: voice-command.css */
/* Command voice stays with the streaming toolbar, including wall fullscreen. */
.voice-command-bar{display:flex;align-items:center;gap:8px;min-width:0;padding:4px 8px;border:1px solid var(--border,#39414a);border-radius:8px;background:var(--surface,#171c22);color:var(--text,#edf1f5)}
.voice-command-bar[hidden]{display:none!important}.voice-channel-badge{font-size:14px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-bar-state{font-size:12px;color:var(--text-secondary,#b1bbc7)}
.voice-command-bar .voice-ptt{min-height:44px;min-width:108px;touch-action:none;white-space:normal;background:#f7bb40;color:#181a1e;border:1px solid #f7bb40}.voice-command-bar .voice-ptt[aria-pressed=true]{background:#a42a30;color:#fff;border-color:#ff7075}.voice-command-bar button:disabled{opacity:.55}
html[data-theme=light] .voice-command-bar{background:#fff;color:#171c22;border-color:#66717d}html[data-theme=light] .voice-bar-state{color:#465260}
.live-viewer .uas-wall-toolbar{position:sticky;top:0;z-index:20;flex-wrap:wrap;flex-shrink:0;background:var(--surface,#171c22)}.live-viewer .voice-open{min-height:44px}.live-viewer .voice-command-bar{margin-left:auto}
.voice-panel .voice-local-audio,.voice-remote-audio section{display:grid;gap:12px;padding:12px;border:1px solid #65717d;border-radius:8px;margin:12px 0}.voice-local-audio label,.voice-remote-audio label{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,2fr) 44px;align-items:center;gap:8px}.voice-local-audio select{grid-column:2/4;max-width:100%;min-width:0}.voice-panel input[type=range]{width:100%;min-width:0}.voice-panel meter{width:100%;height:16px}.voice-panel button,.voice-panel select{min-height:44px}.voice-panel button:focus-visible,.voice-command-bar button:focus-visible{outline:2px solid #f7bb40;outline-offset:3px}.voice-panel .voice-remote-audio{border-top:2px solid #65717d;padding-top:12px}
@media(max-width:640px){.live-viewer .voice-command-bar{width:100%;margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto}.voice-channel-badge{max-width:none}.voice-bar-state{grid-column:1;grid-row:2}.voice-command-bar .voice-ptt{grid-column:2;grid-row:1/3}.voice-command-bar>button:not(.voice-ptt){grid-column:1/3}.voice-panel{max-width:calc(100vw - 16px);box-sizing:border-box}.voice-local-audio label,.voice-remote-audio label{grid-template-columns:minmax(0,1fr) 44px}.voice-local-audio select{grid-column:1/3}.voice-local-audio input,.voice-remote-audio input{grid-column:1;grid-row:2}}
@media(max-height:520px) and (min-width:641px){.voice-command-bar{gap:4px;padding:2px 4px}.voice-bar-state{display:none}.voice-channel-badge{max-width:130px}}
@media(prefers-reduced-motion:reduce){.voice-command-bar *{transition:none!important}}

/* Override the legacy compact toolbar only when command voice is present. */
.live-viewer .uas-wall-toolbar:has(#voice-command-bar:not([hidden])){height:auto!important;min-height:52px!important;flex-wrap:wrap!important}
.live-viewer #voice-command-bar .voice-ptt{min-height:44px!important;height:auto!important;width:auto!important;background:#f7bb40!important;color:#181a1e!important;white-space:normal!important}
.live-viewer #voice-command-bar .voice-ptt[aria-pressed=true]{background:#a42a30!important;color:#fff!important}

html[data-theme] body .voice-panel .voice-local-audio label,html[data-theme] body .voice-panel .voice-remote-audio label{display:grid;align-items:center;gap:8px}

/* The command tile determines the toolbar row height, including fullscreen. */
body.live-viewer.compact-viewer-active .command-console:has(#voice-command-bar:not([hidden]))>.uas-wall-toolbar{height:auto!important;min-height:64px!important;padding:4px 6px!important;box-sizing:border-box;align-items:center!important;flex-wrap:wrap!important}
body.live-viewer.compact-viewer-active #voice-command-bar{max-width:100%;box-sizing:border-box;flex:0 1 auto}
@media(max-width:700px){body.live-viewer.compact-viewer-active #voice-command-bar{order:10;flex:1 0 100%;width:100%;margin:0}body.live-viewer.compact-viewer-active .uas-wall-toolbar .uas-wall-tools{flex:1 1 90px!important}}

@media(max-width:700px){body.live-viewer.compact-viewer-active .uas-wall-toolbar .compact-viewer-brand{display:none!important}body.live-viewer.compact-viewer-active .uas-wall-toolbar .voice-open{white-space:normal!important;height:auto!important;min-height:44px!important;max-width:90px;flex:0 0 auto}}

/* Clear channel setup and local audio health; no dialog content replacement on polling. */
html[data-theme] body .voice-panel{width:min(600px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
.voice-panel .voice-setup-intro{font-size:14px;line-height:1.5;margin-bottom:12px}
.voice-panel>label{display:grid!important;gap:4px!important;align-items:stretch!important}
.voice-channel-tools{margin:8px 0 12px}.voice-channel-tools button{flex:1;min-width:120px}
.voice-mic-health{display:grid;gap:8px;padding:12px;border:1px solid var(--stroke,#505963);border-radius:8px;margin-top:12px}
.voice-mic-health meter{display:block;width:100%;height:16px}.voice-mic-health p{min-height:3em;font-size:13px;line-height:1.5}
.voice-mic-health[data-signal=detected]{border-color:var(--success,#38ce8c)}
.voice-audio-warning{padding:12px;margin:10px 0!important;border:1px solid #bc7b24;border-radius:8px;font-size:14px;line-height:1.5}
.voice-admin form,.voice-default-setup{display:grid;gap:12px;min-width:0}.voice-default-setup{padding:12px;border:1px solid var(--stroke,#505963);border-radius:8px;margin-top:12px}
.voice-admin .voice-actions button{flex:1;min-width:100px}.voice-panel .voice-delete{background:#b5262d!important;color:white!important;border:1px solid #b5262d!important}
.voice-admin fieldset{min-width:0}.voice-admin fieldset label{min-height:36px;overflow-wrap:anywhere}.voice-panel .voice-admin form>label{display:grid!important;gap:6px}
@media(pointer:coarse){.voice-admin fieldset label{min-height:44px}}

.voice-panel header{flex-wrap:wrap}.voice-radio-link{font-size:12px;margin-left:auto}

/* Source: overview-planning.css */
/* Overview and planning layout authority, v6.94.1. Keep map tools out of its width allocation. */
html[data-theme] body #planning-map-card:not([data-expanded=true]) .planning-map-stage{display:block!important;flex:none!important;height:auto!important;min-height:0!important}
html[data-theme] body #planning-map-card:not([data-expanded=true]) #planning-map{display:block;width:100%!important;flex:none!important;height:clamp(360px,56dvh,640px)!important;min-height:360px!important;max-height:none}
html[data-theme] body #planning-map-card[data-expanded=true] .planning-map-stage{display:flex!important;flex-direction:column;height:auto!important;min-height:0!important;flex:1 1 auto!important}
html[data-theme] body #planning-map-card[data-expanded=true] #planning-map{width:100%!important;flex:1 1 auto!important;min-height:160px!important;height:auto!important}
html[data-theme] body #planning-map-card .traffic-trail-controls{flex:none;max-width:100%;min-width:0}
html[data-theme] body [data-panel=overview]{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;grid-template-areas:'stats stats' 'flight flight' 'map weather' 'forecast gnss' 'open open' 'activity activity' 'utils utils';align-items:start;gap:16px}
html[data-theme] body [data-panel=overview]>.overview-map-card{grid-area:map!important;order:0!important;display:block!important}
html[data-theme] body [data-panel=overview]>.overview-current-card{grid-area:weather!important}
html[data-theme] body [data-panel=overview]>.overview-forecast-card{grid-area:forecast!important}
html[data-theme] body [data-panel=overview]>.overview-gnss-card{grid-area:gnss!important}
html[data-theme] body [data-panel=overview]>.overview-activity{grid-area:activity!important;order:0!important}
html[data-theme] body [data-panel=overview]>#flight-guide-resume{grid-area:resume!important}
html[data-theme] body [data-panel=overview]>:is(.overview-current-card,.overview-forecast-card,.overview-gnss-card){margin:0;min-width:0;padding:20px}
html[data-theme] body #overview-location-map{height:400px!important;min-height:320px!important;flex:none!important}
html[data-theme] body #overview-gnss{border:0;margin:0;padding:0}
html[data-theme] body #overview-four-hours{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html[data-theme] body .current-weather-facts dd{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
html[data-theme] body .current-weather-facts dd small{display:block}
@media(max-width:1100px){html[data-theme] body [data-panel=overview]{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:'stats' 'flight' 'map' 'weather' 'forecast' 'gnss' 'open' 'activity' 'utils'}html[data-theme] body #overview-four-hours{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:640px){html[data-theme] body #overview-four-hours{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-theme] body #overview-location-map{height:340px!important}html[data-theme] body [data-panel=overview]>:is(.overview-current-card,.overview-forecast-card,.overview-gnss-card){padding:12px}}

html[data-theme] body #planning-map-card[data-expanded=true]{height:calc(100dvh - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important}

/* Overview summary and spacing authority. State comes from the existing weather assessment. */
html[data-theme] body [data-panel=overview]{gap:20px!important}
html[data-theme] body [data-panel=overview]>.card,html[data-theme] body [data-panel=overview]>.overview-utility-grid>.card{margin:0!important;align-self:stretch!important}
html[data-theme] body [data-panel=overview]:has(>#flight-guide-resume:not([hidden])){grid-template-areas:'stats stats' 'flight flight' 'resume resume' 'map weather' 'forecast gnss' 'open open' 'activity activity' 'utils utils'!important}
html[data-theme] body #operation-metrics{gap:20px!important;margin:0!important;grid-auto-rows:1fr;align-items:stretch}
html[data-theme] body #operation-metrics .operation-metric{align-self:stretch!important;height:100%!important;min-width:0;align-content:start}
html[data-theme] body #operation-metrics .operation-metric>small{height:2.6em;min-height:2.6em;max-height:2.6em;margin-bottom:0;line-height:1.3!important}
html[data-theme] body #operation-metrics .operation-metric[data-metric=weather]{--overview-state:var(--rd-unk);--overview-state-soft:var(--rd-unk-soft);border-color:var(--overview-state)!important;background:linear-gradient(115deg,var(--overview-state-soft),transparent 70%),var(--rd-s2)!important;box-shadow:inset 3px 0 0 var(--overview-state),var(--rd-hi)!important}
html[data-theme] body #operation-metrics .operation-metric[data-metric=weather][data-tone=caution]{--overview-state:var(--rd-warn);--overview-state-soft:var(--rd-warn-soft)}
html[data-theme] body #operation-metrics .operation-metric[data-metric=weather][data-tone=safe]{--overview-state:var(--rd-ok);--overview-state-soft:var(--rd-ok-soft)}
html[data-theme] body #operation-metrics .operation-metric[data-metric=weather][data-tone=unsafe]{--overview-state:var(--rd-bad);--overview-state-soft:var(--rd-bad-soft)}
html[data-theme] body #operation-metrics .operation-metric[data-metric=weather]>strong{color:var(--overview-state)!important}
html[data-theme] body [data-panel=overview]>.overview-utility-grid{gap:20px!important;margin:0!important}
@media(max-width:1100px){html[data-theme] body #operation-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-theme] body [data-panel=overview]:has(>#flight-guide-resume:not([hidden])){grid-template-areas:'stats' 'flight' 'resume' 'map' 'weather' 'forecast' 'gnss' 'open' 'activity' 'utils'!important}}

/* Source: easy-mapping.css */
/* Mapping editor: map first, one descriptive workflow and one unit preference. */
.easy-mapping{max-width:1560px;margin:auto;color:var(--ink,#edf1f5);--mapping-bg:var(--surface,#171c22);--mapping-line:var(--stroke,#343e49)}
.easy-mapping .mapping-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.mapping-heading h2{margin:4px 0}.mapping-heading p{margin:4px 0;line-height:1.5}
.mapping-identity{display:grid;grid-template-columns:1fr 1.3fr 220px;gap:16px;margin-bottom:16px}.easy-mapping label{display:grid;gap:6px;margin:0 0 12px;font-size:13px;min-width:0}.easy-mapping input,.easy-mapping select,.easy-mapping textarea{min-width:0;max-width:100%;width:100%;box-sizing:border-box}.easy-mapping textarea{font-family:ui-monospace,monospace}
.easy-mapping .mapping-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.mapping-area,.mapping-send{grid-column:1/-1}.mapping-card{background:var(--mapping-bg);border:1px solid var(--mapping-line);border-radius:12px;padding:16px;min-width:0;box-shadow:inset 0 1px 0 #ffffff08}.mapping-card h3{font-size:17px;margin:0 0 16px}.mapping-card p{line-height:1.5}
.mapping-search{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-bottom:8px}.mapping-search label:first-child{flex:1 1 300px}.mapping-search label{margin:0}.mapping-search label:last-child{flex:0 1 180px}.mapping-search-results{display:grid;gap:6px;margin:8px 0}.mapping-search-results:empty{display:none}.mapping-search-results button{text-align:left}.mapping-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.mapping-tools button[aria-pressed=true]{border-color:var(--accent,#f0b43a)!important;background:color-mix(in srgb,var(--accent,#f0b43a) 14%,var(--mapping-bg))!important;color:var(--accent-text,#f0b43a)!important}.mapping-draw-instruction{min-height:42px;display:flex;align-items:center;margin:8px 0;font-size:14px;color:var(--ink,#edf1f5)}
.easy-mapping button{min-height:40px;white-space:normal}.mapping-map{height:clamp(360px,58vh,620px);min-height:360px;border-radius:8px;background:#1e242c;z-index:0}.mapping-map[data-drawing=rectangle],.mapping-map[data-drawing=circle],.mapping-map[data-drawing=polygon]{cursor:crosshair!important;touch-action:none}.mapping-map .leaflet-control-scale-line{color:#171c22!important;background:#ffffffe8!important}.mapping-area details{margin-top:12px}.mapping-area details label{display:inline-grid;margin:10px 12px 10px 0;max-width:180px}.mapping-area textarea{display:block;margin-bottom:8px}.mapping-area>.mapping-map+small{display:block;margin-top:8px}
.mapping-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mapping-input-grid label{margin:0}.mapping-input-grid small{line-height:1.45}.mapping-card details{margin-top:16px}.easy-mapping summary{cursor:pointer;font-weight:600}.mapping-card details[open]>summary{margin-bottom:12px}.mapping-card details label{margin-top:12px}.mapping-help{font-size:12px;color:var(--muted,#aeb8c4);line-height:1.5}.easy-mapping small{font-size:12px;line-height:1.5;color:var(--muted,#aeb8c4)}
.mapping-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.mapping-metrics>div{border-left:3px solid #f0b43a;padding-left:12px}.mapping-metrics strong,.mapping-metrics small{display:block}.mapping-metrics strong{font-size:23px;line-height:1.5}.mapping-metrics small{font-size:11px;text-transform:uppercase;color:var(--muted,#aeb8c4)}.mapping-warning,.mapping-status[data-error=true]{color:var(--mapping-advisory,#ffa343)}.mapping-status{padding:12px 16px;border-left:3px solid #f0b43a;white-space:pre-wrap;overflow-wrap:anywhere}.mapping-status:empty{display:none}
.easy-mapping .mapping-review{display:flex;gap:10px;align-items:flex-start;margin:16px 0}.mapping-review input{width:18px;height:18px;flex:none}.mapping-send>label:first-of-type{max-width:420px}.mapping-send-buttons{display:flex;flex-wrap:wrap;gap:8px}.mapping-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;margin-top:16px}.mapping-bottom a{display:inline-block;margin:8px 16px 8px 0}.mapping-bottom select{margin-bottom:12px}.mapping-bottom button{margin:4px 8px 12px 0}.mapping-bottom>details{margin:0}
.mission-vertex-icon{background:transparent!important;border:0!important}.mission-vertex-icon span{display:grid;place-items:center;width:26px;height:26px;box-sizing:border-box;background:#171c22;border:2px solid #f0b43a;border-radius:50%;font:700 12px system-ui;color:#fff;box-shadow:0 1px 5px #0008}.mapping-direction-icon span{display:block;font-size:20px;line-height:20px;color:#f0b43a;text-shadow:0 1px 3px #000;transform-origin:center}.mapping-route-label{display:grid!important;place-items:center;border-radius:4px;border:1px solid #171c22;background:#f0b43a;color:#171c22;font:700 10px system-ui;box-shadow:0 1px 5px #0008}.mapping-route-label.end{background:#171c22;color:#fff;border-color:#aeb8c4}.mapping-shape-popup .leaflet-popup-content-wrapper{background:var(--surface,#171c22)!important;color:var(--ink,#edf1f5)!important}.mapping-shape-popup .leaflet-popup-tip{background:var(--surface,#171c22)!important}.mapping-shape-actions p{font-size:13px;line-height:1.5;margin:10px 0}.mapping-shape-actions button{display:block;width:100%;margin-top:8px;min-height:44px}.mapping-shape-actions strong{display:block;line-height:1.4}
@media(max-width:1100px){.mapping-identity{grid-template-columns:1fr 1fr}.mapping-identity>label:last-child{grid-column:1/-1;max-width:300px}.mapping-tools{gap:6px}.mapping-tools button{padding:8px 10px}}
@media(max-width:800px){.easy-mapping .mapping-layout,.mapping-bottom{grid-template-columns:minmax(0,1fr)}.mapping-area,.mapping-send{grid-column:1}.mapping-map{height:440px}.mapping-heading{align-items:flex-start!important}.mapping-input-grid{gap:12px}}
@media(max-width:540px){.easy-mapping .mapping-heading{display:block}.mapping-heading>button{margin-top:12px}.mapping-identity{grid-template-columns:minmax(0,1fr);gap:0}.mapping-identity>label:last-child{max-width:none}.mapping-card{padding:12px}.mapping-map{height:380px;min-height:320px}.mapping-tools button{min-height:44px}.mapping-metrics strong{font-size:21px}.mapping-search{display:grid;grid-template-columns:1fr}.mapping-search label:first-child,.mapping-search label:last-child{flex:auto}.mapping-input-grid{grid-template-columns:1fr 1fr;gap:12px 8px}.mapping-input-grid small{font-size:11px}.mapping-send-buttons>*{flex:1 1 180px}}

.easy-mapping .mapping-photo-toggle{display:flex;align-items:center;gap:8px;margin-top:12px;margin-bottom:0}.mapping-photo-toggle input{width:18px;height:18px;flex:none}.mapping-photo-dot{cursor:help}

html[data-theme=light] .easy-mapping{--mapping-advisory:#8b4500}html[data-theme=dark] .easy-mapping{--mapping-advisory:#ffa343}.mapping-north{background:var(--surface,#171c22);color:var(--ink,#edf1f5);border:1px solid var(--stroke,#343e49);border-radius:5px;padding:6px 8px;font:700 12px system-ui}
.emergency-flights .mapping-layout{align-items:stretch}.emergency-flights label small{font-weight:400}.emergency-flights>.mapping-card button{margin:0 8px 12px 0}.emergency-flights>.mapping-card>a{display:inline-block;margin-top:8px}

/* Consistent drawing controls with matching vector icons and a separate edit row. */
html[data-theme] .easy-mapping .mapping-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:700px;margin:20px 0 12px}
html[data-theme] .easy-mapping .mapping-tools [data-shape-tool]{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 12px;margin:0;min-width:0}
.mapping-tools [data-shape-tool] svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mapping-edit-tools{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 16px}.mapping-edit-tools button{min-height:44px;min-width:132px;margin:0}
.mapping-close-point span{background:#f0b43a!important;color:#171c22!important;box-shadow:0 0 0 5px #f0b43a55,0 1px 5px #0008!important}
html[data-theme] .easy-mapping .mapping-card{min-width:0}.mapping-search input,.mapping-search select{min-height:48px}.mapping-search button{min-height:48px;margin:0}
@media(max-width:540px){html[data-theme] .easy-mapping .mapping-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:none}.mapping-edit-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mapping-edit-tools button{min-width:0;width:100%}.mapping-edit-tools button:last-child{grid-column:1/-1}}

html[data-theme] .easy-mapping .mapping-layout{gap:20px;align-items:stretch}
html[data-theme] .easy-mapping .mapping-draw-instruction{min-height:28px;margin:12px 0}
.mapping-edit-tools .mapping-photo-toggle{margin:0!important;min-height:44px;padding:0 4px}
.mapping-capture-guides section+section{margin-top:20px}.mapping-capture-guides h4{margin:0 0 8px}.mapping-capture-guides p,.mapping-native-orbit p{line-height:1.5}

/* Source: pilot-profile.css */
.pilot-profile-panel{margin-top:20px;padding-top:20px;border-top:1px solid var(--border,#58616b);min-width:0}
.pilot-profile-panel fieldset{margin:12px 0;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid var(--border,#58616b);border-radius:8px}
.pilot-profile-panel .pilot-role-choice{display:flex;align-items:center;gap:8px;margin:0;min-height:44px}
.pilot-profile-panel input[type=checkbox]{width:20px;height:20px;margin:0;flex:none}
.pilot-profile-panel label{display:block;margin:12px 0}
.pilot-profile-panel label>input:not([type=checkbox]),.pilot-profile-panel label>select,.pilot-profile-panel label>textarea{display:block;width:100%;margin-top:6px;box-sizing:border-box}
.pilot-profile-panel .pilot-affiliation{padding:12px;margin:12px 0;border:1px solid var(--border,#58616b);border-radius:8px;overflow-wrap:anywhere}
.pilot-profile-panel .affiliation-state{display:inline-block;margin:4px 8px;padding:3px 8px;border:1px solid currentColor;border-radius:99px;font-size:12px;font-weight:650}
.pilot-profile-panel .affiliation-state.pending{color:var(--rd-warn,#ffb86b)}
.pilot-profile-panel .affiliation-state.approved{color:var(--rd-ok,#13734e)}
.pilot-profile-panel .pilot-profile-actions{display:flex;flex-wrap:wrap;gap:12px}
html[data-theme] body .pilot-profile-panel button{min-height:44px!important;max-width:100%;white-space:normal}
.pilot-profile-panel details{margin-top:20px}
.pilot-profile-panel .affiliation-selection{min-width:0}
.pilot-profile-panel .affiliation-selection label[hidden]{display:none!important}
.pilot-profile-panel>button{margin:0 8px 8px 0}
@media(max-width:640px){.pilot-profile-panel fieldset{grid-template-columns:1fr}}

/* Source: mapping-flights.css */
.easy-mapping .mapping-flight-notice{padding:12px;border:1px solid var(--rd-warn,#f0b43a);border-left:4px solid var(--rd-warn,#f0b43a);border-radius:8px;font-weight:650}
.easy-mapping .mapping-comparison-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;padding:12px 0;border-bottom:1px solid var(--mapping-line);overflow-wrap:anywhere}
.easy-mapping .mapping-comparison-row>span{grid-column:1;line-height:1.5}
.easy-mapping .mapping-comparison-row>button{grid-column:2;grid-row:1/3;max-width:180px;white-space:normal}
.easy-mapping .mapping-result>button{margin:0 8px 12px 0}
.easy-mapping .mapping-result>label{margin-top:12px}
@media(max-width:640px){.easy-mapping .mapping-comparison-row{grid-template-columns:minmax(0,1fr)}.easy-mapping .mapping-comparison-row>button{grid-column:1;grid-row:auto;max-width:100%}}

/* Source: aviation-products.css */
html[data-theme] body #wx-aviation .wx-aviation-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px}
html[data-theme] body #wx-aviation .wx-aviation-tools button{min-height:44px}
html[data-theme] body #wx-aviation details.wx-aviation-product{box-sizing:border-box;padding:6px 12px!important;min-width:0}
html[data-theme] body #wx-aviation details.wx-aviation-product:not([open]){height:84px;min-height:84px;max-height:84px;overflow:hidden}
html[data-theme] body #wx-aviation details.wx-aviation-product>summary{display:block;list-style:none;padding:0!important;min-height:0!important;margin:0!important;cursor:pointer}
html[data-theme] body #wx-aviation .wx-aviation-product>summary::-webkit-details-marker{display:none}
html[data-theme] body #wx-aviation .wx-aviation-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(115px,40%);gap:8px;align-items:start;margin:0 0 2px}
html[data-theme] body #wx-aviation .wx-aviation-name{font-size:13px!important;line-height:16px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html[data-theme] body #wx-aviation .wx-aviation-name::before{content:'▸ ';font-size:12px}
html[data-theme] body #wx-aviation details[open] .wx-aviation-name::before{content:'▾ '}
html[data-theme] body #wx-aviation .wx-aviation-version{font-size:11px!important;line-height:13px!important;text-align:right;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--rd-muted,var(--muted,#606c77))}
html[data-theme] body #wx-aviation .wx-aviation-plain{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px!important;line-height:15px!important;font-weight:400;overflow-wrap:anywhere}
html[data-theme] body #wx-aviation .wx-aviation-content{margin-top:12px;min-width:0}
html[data-theme] body #wx-aviation .wx-aviation-content pre{white-space:pre-wrap;overflow-wrap:anywhere}
html[data-theme] body #wx-aviation .wx-aviation-pending{padding:8px;border:1px solid var(--rd-warn,#e6a23c);border-radius:6px;font-size:12px}
html[data-theme] body #wx-aviation .wx-aviation-product[data-report-status=stale],html[data-theme] body #wx-aviation .wx-aviation-product[data-report-status=expired]{border-left:3px solid var(--rd-warn,#d98623)}
@media(max-width:640px){html[data-theme] body #wx-aviation details.wx-aviation-product:not([open]){height:78px;min-height:78px;max-height:78px}}
