.metarCheckBtn{height:36px;padding:0 15px;border:1px solid #405b7d;background:#22364f;color:#d9e8ff;border-radius:7px;font-size:10px;font-weight:650;letter-spacing:.06em;white-space:nowrap}
.metarCheckBtn:hover{background:#2a4260;border-color:#709cdb;color:#f1f6ff}
.metarOverlay[hidden],[hidden].metarTools,[hidden].metarErrors,.metarAccess[hidden],:is(#metarCheckContent,#tafWatchCheckContent)[hidden],:is(#metarCheckRefresh,#tafWatchCheckRefresh)[hidden]{display:none!important}
body.metarOpen{overflow:hidden}
.metarOverlay{position:fixed;inset:0;z-index:10000;display:flex;padding:12px;background:#080d16ed;backdrop-filter:blur(5px)}
.metarDialog{width:100%;height:100%;margin:auto;display:flex;flex-direction:column;min-height:0;background:var(--bg);color:var(--ink);border:1px solid #354255;border-radius:12px;box-shadow:0 24px 90px #0006;overflow:hidden}
.metarTop{padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:var(--slotBg);flex-shrink:0}
.metarEyebrow{font-size:8px;font-weight:650;letter-spacing:.15em;color:var(--blue);margin-bottom:5px}
.metarTop h2{margin:0;font-size:21px;font-weight:650;letter-spacing:-.6px}
.metarTopActions{display:flex;gap:10px;align-items:center}
.metarRefresh,.metarClose{height:34px;border:1px solid #344154;background:#202d40;color:#dae5f5;border-radius:7px;font-size:11px;padding:0 14px;font-weight:600}
.metarRefresh:hover,.metarClose:hover{background:#2a3d56;color:#f3f7fe}
.metarClose{width:34px;padding:0;font-size:16px}
.metarStatus{display:flex;align-items:center;gap:9px;min-height:34px;padding:7px 20px;color:#c2d1e6;font-size:10px;border-bottom:1px solid #283344;flex-shrink:0;line-height:1.5;font-weight:500}
.metarStatus.isLoading:before{content:'';display:block;width:12px;height:12px;border:2px solid #334969;border-top-color:#8cb2e5;border-radius:50%;animation:metarSpin .8s linear infinite;flex-shrink:0}
@keyframes metarSpin{to{transform:rotate(360deg)}}
.metarScroll{min-height:0;flex:1;padding:12px 16px;overflow:hidden;display:flex;flex-direction:column}
:is(#metarCheckContent,#tafWatchCheckContent){display:flex;flex-direction:column;min-height:0;flex:1;gap:10px}
.metarTools{display:flex;align-items:center;justify-content:flex-end;flex-shrink:0}
:is(#metarCheckSearch,#tafWatchCheckSearch){width:220px;max-width:100%;height:31px;padding:0 11px;border:1px solid #344154;border-radius:7px;background:#141c28;color:#f0f4fb;font-size:11px;font-weight:500}
:is(#metarCheckSearch,#tafWatchCheckSearch):focus{border-color:#709cdb;box-shadow:0 0 0 2px #22364f}
:is(#metarCheckResults,#tafWatchCheckResults){flex:1;min-height:0;overflow:auto}
.metarBoard{display:grid;grid-template-columns:repeat(var(--metar-columns),minmax(0,1fr));gap:10px;height:100%;min-height:0}
.metarColumn{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid #303e51;border-radius:9px;background:#131c28;overflow:hidden;--condition:#aabed9}
.metarColumn[data-metar-column="FG"]{--condition:#dfc99e}
.metarColumn[data-metar-column="TS"]{--condition:#e5a9ba}
.metarColumn[data-metar-column="WIND_WS"]{--condition:#96bfe8}
.metarColumn[data-metar-column="DUST"]{--condition:#d8b280}
.metarColumn[data-metar-column="MIST"]{--condition:#a7c9bb}
.metarColumn[data-metar-column="LOW_CLOUD"]{--condition:#bcb0ea}
.metarColumnHeader{flex-shrink:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:15px 13px;height:76px;min-height:76px;border-top:4px solid var(--condition);border-bottom:1px solid #51647e;background:linear-gradient(180deg,#2b3c53,#243247)}
.metarColumnHeader h3{margin:0;font-size:clamp(14px,calc(26px - var(--metar-columns) * 2px),18px);font-weight:700;color:#fff;letter-spacing:.055em;text-transform:uppercase;line-height:1.35}
.metarColumnCount{font-family:var(--mono);font-size:14px;font-weight:600;color:var(--condition);border:1px solid #64718a;border-radius:5px;min-width:25px;text-align:center;padding:3px 5px;background:#141e2b}
.metarColumnFilters{display:grid;grid-template-columns:repeat(var(--filter-count),minmax(0,1fr));gap:4px;padding:10px 8px;background:#1a2637;border-bottom:1px solid #34475e;flex-shrink:0}
.metarColumnFilters button{min-width:0;height:30px;padding:0 3px;font-size:10px;font-weight:650;white-space:nowrap;border:1px solid #51647e;border-radius:5px;background:#172232;color:#dce8fa}
.metarColumnFilters button:hover{border-color:#99b4da;background:#2b405d;color:#fff}
.metarColumnFilters button[aria-pressed="true"]{border-color:#a3c2ef;background:#44638d;color:#fff;box-shadow:inset 0 0 0 1px #a3c2ef}
.metarColumnEmpty{padding:24px 10px;text-align:center;color:#bdcce0;font-size:12px;line-height:1.7}
.metarColumnList{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:8px;scrollbar-width:thin;scrollbar-color:#4b5f79 transparent}
.metarColumnList:focus-visible{outline:2px solid #709cdb;outline-offset:-2px}
.metarCard{padding:12px;margin-bottom:10px;border:1px solid #344052;border-radius:7px;background:#1b2636;min-width:0}
.metarCard:last-child{margin-bottom:0}
.metarCardTop{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
.metarStation{font-family:var(--mono);font-weight:600;letter-spacing:.02em;font-size:16px;color:#f5f8ff}
.metarAirportName{margin:6px 0 8px;line-height:1.5;font-size:12px;color:#dce5f2;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.metarObserved{text-align:right;white-space:nowrap;color:#e0e9f6;font-size:11px;line-height:1.6;font-family:var(--mono);font-weight:500}
.metarObserved span{display:block;font-size:10px;color:#bdcce0;font-family:var(--font);font-weight:500}
.metarRaw{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--mono);font-size:13px;line-height:1.8;color:#f2f6ff;border:1px solid #2b3748;border-radius:5px;background:#131c28;padding:10px;font-weight:500}
.metarTrigger{background:transparent;color:#ff707a;font-weight:600}
.metarTrigger[data-tone="purple"]{color:#c5a4ff}
.metarTrigger[data-tone="orange"]{color:#ffb570}
.metarEmpty{padding:35px 20px;border:1px dashed #344154;border-radius:10px;text-align:center;color:#c7d5ea;font-size:13px;line-height:1.8}
.metarErrors{padding:9px 12px;border:1px solid #77523b;background:#30271f;color:#ebc99d;border-radius:8px;font-size:10px;line-height:1.7;flex-shrink:0;max-height:15vh;overflow:auto}
.metarDialog.isLocked .metarScroll{display:grid;place-items:center;overflow:auto}
.metarAccess{width:min(360px,100%)}
.metarAccessCard{padding:28px;border:1px solid #344154;background:#18212e;border-radius:12px}
.metarAccessCard h3{font-size:21px;font-weight:650;color:#f0f3f8;margin:0 0 24px;letter-spacing:-.4px}
.metarAccessCard label{display:block;font-size:11px;font-weight:600;color:#c7d3e4;margin-bottom:9px}
.metarAccessCard input{width:100%;height:43px;background:#141c28;color:#f0f3f8;border:1px solid #405371;border-radius:7px;padding:0 12px;font-size:14px}
.metarAccessCard input:focus{border-color:#709cdb;box-shadow:0 0 0 3px #22364f}
.metarAccessCard button{height:40px;width:100%;margin-top:15px;border:1px solid #709cdb;border-radius:7px;background:#496f9f;color:#f6f9ff;font-size:12px;font-weight:600}
.metarAccessCard button:hover{background:#547ead}
.metarAccessError{color:#edacb4;font-size:11px;line-height:1.7;min-height:19px;margin-top:12px}
@media(max-width:1000px){.metarBoard{grid-template-columns:repeat(var(--metar-columns),minmax(260px,1fr))}}
@media(max-width:600px){.metarOverlay{padding:0}.metarDialog{border-radius:0;border:0}.metarTop{padding:12px;gap:10px}.metarTop h2{font-size:18px}.metarTopActions{gap:6px}.metarRefresh{padding:0 10px}.metarStatus{padding:7px 12px;font-size:9px}.metarScroll{padding:10px}.metarCheckBtn{padding:0 10px;font-size:9px}:is(#metarCheckSearch,#tafWatchCheckSearch){width:100%}}
@media(prefers-reduced-motion:reduce){.metarStatus.isLoading:before{animation:none}}

.metarWatchBar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 20px;border-bottom:1px solid #344154;flex-shrink:0}
.metarWatchBar .metarStatus{padding:0;border:0;min-height:0;text-align:right;font-size:10px}
.metarDialog.isLocked .metarWatchBar{display:none}
.metarTools{display:flex;flex-direction:column;align-items:stretch;gap:9px}
.metarStationForm{display:flex;gap:8px;min-width:0}
.metarStationForm input{flex:1;min-width:0;width:0;height:42px;border:1px solid #526680;border-radius:7px;background:#141c28;color:#f5f8ff;font-size:14px;padding:0 13px;font-weight:600}
.metarStationForm button{height:42px;font-size:13px}
.metarSubTools{display:flex;align-items:center;justify-content:space-between;gap:10px}
:is(#metarCheckSearch,#tafWatchCheckSearch){width:240px;font-size:12px;height:34px}
.metarSelectionInfo{font-size:11px;line-height:1.6;color:#ffcf9b;max-height:64px;overflow:auto;padding:7px 10px;background:#30271f;border:1px solid #77523b;border-radius:6px;overflow-wrap:anywhere}
.metarColumnFilters button{font-size:13px;height:34px;font-weight:700}
:is(#metarDestinations,#tafWatchDestinations)[aria-pressed="true"]{background:#41658c;border-color:#a3c2ef;color:white;box-shadow:inset 0 0 0 1px #a3c2ef}
.metarScroll{position:relative}
.metarNormalPanel{position:absolute;inset:0;z-index:4;background:#101824;display:flex;flex-direction:column;padding:16px;gap:14px}
.metarNormalPanel[hidden],.metarSelectionInfo[hidden]{display:none!important}
.metarNormalTop{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid #40536b;padding-bottom:12px}
.metarNormalTop h3{margin:0;margin-right:auto;color:#f5f8ff;font-size:17px}
.metarNormalTop input,.metarNormalTop select{height:34px;background:#1b293d;color:#fff;border:1px solid #526680;border-radius:6px;padding:0 10px;font-size:12px}
.metarNormalTop label{color:#e0e9f6;font-size:12px}
.metarNormalList{overflow:auto;flex:1;min-height:0}
.metarNormalList .metarCard{max-width:100%;}
@media(max-width:600px){.metarWatchBar{padding:8px 10px}.metarWatchBar button{font-size:10px;padding:0 8px}.metarSubTools button{font-size:9px;padding:0 7px}:is(#metarCheckSearch,#tafWatchCheckSearch){width:180px}.metarStationForm input{font-size:12px}}

.metarColumn[data-metar-column="SNOW"]{--condition:#b6d9f1}
.metarColumn[data-metar-column="SNOW"] .metarColumnFilters{row-gap:5px}
.metarColumn{container-type:inline-size;container-name:metar-column}
@container metar-column (max-width:190px){
 .metarColumnHeader{grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto;gap:4px;padding:10px;height:96px;min-height:96px}
 .metarColumnHeader h3{font-size:13px;letter-spacing:.02em;overflow-wrap:anywhere}
 .metarColumnCount{justify-self:end;font-size:12px}
 .metarCardTop{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
 .metarObserved{text-align:left;font-size:10px;white-space:normal}
 .metarObserved span{display:inline;margin-left:6px;font-size:9px}
 .metarStation{font-size:14px;overflow-wrap:anywhere}
 .metarColumnFilters{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 6px}
 .metarColumnFilters button:last-child:nth-child(odd){grid-column:1/-1}
 .metarColumn[data-metar-column="SNOW"] .metarColumnFilters{grid-template-columns:repeat(3,minmax(0,1fr))}
 .metarColumn[data-metar-column="SNOW"] .metarColumnFilters button{grid-column:auto;font-size:12px;padding:0 1px}
}

.metarBaseStation{display:flex;align-items:center;gap:16px;padding:10px 20px;border-bottom:1px solid #344154;background:#172333;flex-shrink:0;max-height:150px;overflow:auto}
.metarBaseStation[hidden],.metarDialog.isLocked .metarBaseStation{display:none!important}
.metarBaseLabel{flex-shrink:0;display:flex;flex-direction:column;gap:5px;color:#f5f8ff}
.metarBaseStation strong{font-family:var(--mono);font-size:12px;font-weight:700;white-space:nowrap}
.metarBaseLabel span,.metarBaseNotice{font-size:10px;color:#cfdbec;line-height:1.5}
.metarBaseStation .metarRaw{flex:1;min-width:0;font-size:12px;line-height:1.6;padding:8px 10px}
@media(max-width:600px){.metarBaseStation{padding:8px 10px;gap:8px;align-items:stretch;flex-direction:column}.metarBaseLabel{flex-direction:row;justify-content:space-between;align-items:center}.metarBaseStation .metarRaw{flex:none;font-size:11px}}

/* Compact command area: keep space for the report columns. */
.metarOverlay{padding:8px}
.metarTop{padding:7px 12px;gap:12px}
.metarTopMain{display:flex;align-items:center;gap:16px;min-width:0}
.metarTop h2{font-size:18px;white-space:nowrap;letter-spacing:-.3px}
.metarTop .metarRefresh,.metarTop .metarClose{height:29px;font-size:11px}
.metarTop .metarClose{width:29px;font-size:15px}
.metarUpdateGroup{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.metarActionRow{display:flex;align-items:center;gap:7px}
.metarTopActions .metarStatus{padding:0;border:0;min-height:0;font-size:9px;line-height:1.3;gap:5px}
.metarTopActions .metarStatus.isLoading:before{width:8px;height:8px}
.metarDialog.isLocked :is(#metarDestinations,#tafWatchDestinations),.metarDialog.isLocked .metarStatus{display:none}
.metarBaseStation{padding:6px 12px;gap:12px;max-height:110px}
.metarBaseStation .metarRaw{padding:6px 8px;line-height:1.5}
.metarScroll{padding:7px 10px}
:is(#metarCheckContent,#tafWatchCheckContent){gap:6px}
.metarTools{display:grid;grid-template-columns:minmax(240px,1fr) 180px auto;gap:6px 8px;align-items:center}
.metarStationForm{grid-column:1;grid-row:1;gap:6px}
.metarStationForm input{height:33px;font-size:12px;padding:0 10px}
.metarStationForm button{height:33px;font-size:12px;padding:0 13px}
.metarSubTools{display:contents}
:is(#metarCheckSearch,#tafWatchCheckSearch){grid-column:2;grid-row:1;width:100%;height:33px;font-size:11px}
:is(#metarNonCritical,#tafWatchNonCritical){grid-column:3;grid-row:1;height:33px;font-size:10px;padding:0 11px}
.metarSelectionInfo{grid-column:1/-1;grid-row:2;padding:5px 8px;max-height:48px;font-size:10px;line-height:1.5}
.metarBoard{gap:8px}
.metarColumnHeader{height:62px;min-height:62px;padding:10px 12px}
@container metar-column (max-width:190px){.metarColumnHeader{height:80px;min-height:80px;padding:8px 10px}}
@media(max-width:1000px){
 .metarTools{grid-template-columns:minmax(0,1fr) auto}
 .metarStationForm{grid-column:1/-1;grid-row:1}
 :is(#metarCheckSearch,#tafWatchCheckSearch){grid-column:1;grid-row:2;width:200px;max-width:100%}
 :is(#metarNonCritical,#tafWatchNonCritical){grid-column:2;grid-row:2}
 .metarSelectionInfo{grid-row:3}
}
@media(max-width:600px){
 .metarOverlay{padding:0}
 .metarTop{padding:7px 10px;gap:8px}
 .metarTopMain{flex-direction:column;align-items:flex-start;gap:5px}
 .metarTop h2{font-size:16px}
 :is(#metarDestinations,#tafWatchDestinations){font-size:9px;padding:0 8px;height:26px}
 .metarTopActions .metarStatus{font-size:8px}
 .metarBaseStation{padding:6px 10px;gap:5px}
 .metarBaseStation .metarRaw{font-size:11px}
 .metarScroll{padding:6px}
}

/* Secondary controls appear only for a submitted airport selection. */
.metarSubTools[hidden]{display:none!important}
.metarTools:not(.hasSelection){grid-template-columns:minmax(0,1fr)}

/* Align the update time with the title and emphasize only the base report. */
.metarTop{padding:9px 12px;align-items:center}
.metarTopMain{flex-direction:column;align-items:flex-start;gap:4px}
.metarTopMain .metarStatus{padding:0;border:0;min-height:0;font-size:10px;line-height:1.35;text-align:left;gap:6px;color:#b9cadf}
.metarTopMain .metarStatus.isLoading:before{width:8px;height:8px}
.metarTopActions{align-items:center;gap:8px;flex-shrink:0}
.metarTop .metarRefresh,.metarTop .metarClose{height:32px}
.metarTop .metarClose{width:32px;font-size:17px}
.metarBaseStation{justify-content:center;padding:7px 12px;gap:0;background:#162637;max-height:140px}
.metarBaseStation .metarRaw{flex:0 1 100%;max-width:1600px;margin:0 auto;text-align:center;padding:9px 14px;border:1px solid #42617a;border-radius:7px;background:#22384b;color:#f6f9ff;font-size:13px;font-weight:600;line-height:1.65;box-shadow:inset 0 1px 0 #ffffff08}
.metarBaseStation.isStale .metarRaw{border-color:#8a704e}
.metarBaseNotice{text-align:center;padding:8px;font-size:12px}
@media(max-width:600px){
 .metarTop{padding:8px 10px;gap:8px}
 .metarTopMain .metarStatus{font-size:9px}
 :is(#metarDestinations,#tafWatchDestinations){height:30px;font-size:9px;padding:0 8px}
 .metarBaseStation{padding:6px 8px;align-items:stretch}
 .metarBaseStation .metarRaw{flex:none;width:100%;font-size:12px;padding:8px}
}
@media(max-width:400px){.metarTop h2{font-size:14px}.metarTopMain .metarStatus{font-size:8px}}

/* On-demand TAF detail, above both METAR lists. */
[data-taf-station]{cursor:pointer}
[data-taf-station]:focus-visible{outline:2px solid #8cb2e5;outline-offset:2px}
.metarCard:hover{border-color:#6c88ac;background:#202e40}
.metarTafOverlay{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:22px;background:#050b146e;backdrop-filter:blur(2px)}
.metarTafOverlay[hidden]{display:none!important}
.metarTafDialog{width:min(760px,100%);max-height:72vh;display:flex;flex-direction:column;min-height:0;border:1px solid #526780;border-radius:12px;background:#172334;color:#f2f6ff;box-shadow:0 24px 90px #0009;overflow:hidden}
.metarTafTop{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 12px}
.metarTafTop h3{margin:0;font-size:20px;letter-spacing:.02em;font-weight:700}
.metarTafAirport{font-size:12px;color:#c8d7e9;margin-top:6px}
.metarTafMeta{font-size:11px;line-height:1.7;color:#bed0e5;padding:0 22px 14px;border-bottom:1px solid #34445a}
.metarTafMeta:empty{display:none}
.metarTafBody{padding:18px 22px 22px;overflow:auto;min-height:60px;font-size:14px;line-height:1.7}
.metarTafRaw{font-size:15px;line-height:1.9;padding:14px 16px;background:#101b29;border-color:#34465e}
.metarTafPart{display:block}
.metarTafPart+.metarTafPart{margin-top:8px}
@media(max-width:600px){.metarTafOverlay{padding:14px}.metarTafDialog{max-height:82vh}.metarTafTop{padding:16px 16px 10px}.metarTafMeta{padding:0 16px 12px}.metarTafBody{padding:14px 16px 16px}.metarTafRaw{font-size:13px;padding:10px;line-height:1.85}}

/* Copy actions stay outside report text, preserving its full width and size. */
.metarAirportLine{position:relative}
.metarAirportLine .metarAirportName{padding-right:30px;min-height:18px}
.metarAirportLine .metarCopyBtn{position:absolute;right:0;top:50%;transform:translateY(-50%)}
.metarCopyBtn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:23px;height:23px;padding:3px;border:1px solid #465b74;border-radius:5px;background:#223147;color:#d2e0f2;cursor:pointer;transition:background .15s,color .15s}
.metarCopyBtn:hover:not(:disabled){background:#304762;color:#fff;border-color:#7fa5d3}
.metarCopyBtn:focus-visible{outline:2px solid #91bafa;outline-offset:2px}
.metarCopyBtn:disabled{opacity:.35;cursor:default}
.metarCopyBtn svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.metarCopyBtn .copyDone{display:none}
.metarCopyBtn[data-copy-state="done"]{color:#9ce0bd;border-color:#598f77}
.metarCopyBtn[data-copy-state="done"] .copyNormal{display:none}
.metarCopyBtn[data-copy-state="done"] .copyDone{display:block}
.metarCopyBtn[data-copy-state="error"]{color:#ff8792;border-color:#b95b68}
.metarTafLink{min-width:0;text-align:left;background:none;border:0;padding:0;cursor:pointer}
.metarTafLink:hover{color:#bfd7ff}
.metarTafLink:focus-visible{outline:2px solid #91bafa;outline-offset:3px;border-radius:2px}
.metarDetailCardTop .metarCopyBtn{width:28px;height:28px}

/* Paired, independently copyable reports share one scrollable detail window. */
.metarTafDialog{width:min(840px,100%);max-height:82vh}
.metarReportsBody{padding:4px 22px 22px;overflow:auto;min-height:0;display:flex;flex-direction:column;gap:24px}
.metarDetailCard{position:relative;border:0;border-radius:0;background:transparent;padding:0;flex-shrink:0;min-width:0}
.metarDetailCardTop{position:absolute;right:0;top:0;display:flex;align-items:center;margin:0}
.metarDetailCardTop h4{margin:0;font-size:12px;font-weight:700;letter-spacing:.12em;color:#e3ecf9}
.metarReportMeta,.metarDetailCard .metarTafMeta{margin:0 0 11px;padding:0;font-size:10px;line-height:1.7;color:#becfe5;border:0}
.metarReportMeta:empty{display:none}
.metarDetailCard .metarTafBody{padding:0;min-height:0;overflow:visible}
.metarDetailCard .metarRaw{margin:0;font-size:14px;line-height:1.85;padding:0 40px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none}
.metarDetailNotice{font-size:13px;color:#c6d6e9;padding:8px 0}
.metarBaseReport{position:relative;flex:1;min-width:0;width:100%;max-width:1600px;margin:0 auto}
.metarBaseReport .metarRaw{width:100%;max-width:none;padding:9px 48px}
.metarBaseReport>.metarCopyBtn{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:28px;height:28px}
@media(max-width:600px){.metarTafDialog{max-height:86vh}.metarReportsBody{padding:4px 14px 16px;gap:12px}.metarDetailCard{padding:0}.metarDetailCard .metarRaw{font-size:13px;padding:0 38px 0 0}.metarBaseReport .metarRaw{padding:8px 44px 8px 12px}.metarBaseReport>.metarCopyBtn{right:8px}}

/* Compact airport cards retain their state across automatic refreshes. */
.metarCard.canCollapse{position:relative}
.canCollapse .metarCardTop{padding-right:30px}
.metarCollapseBtn{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:1px solid #4b607b;border-radius:5px;background:#223147;color:#edf4ff;font-size:19px;line-height:1;cursor:pointer}
.metarCollapseBtn:hover{background:#354b67;border-color:#8caed5}
.metarCollapseBtn:focus-visible{outline:2px solid #91bafa;outline-offset:2px}
.metarCollapsedName{display:none}
.metarCard.isCollapsed{padding:10px 42px 10px 12px;margin-bottom:6px;min-height:40px;box-sizing:border-box}
.isCollapsed .metarCardTop,.isCollapsed .metarAirportLine,.isCollapsed>.metarRaw{display:none}
.isCollapsed .metarCollapsedName{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:650;line-height:20px;color:#f2f6ff}
.isCollapsed .metarCollapseBtn{top:8px}

/* Keep copy and collapse together in one aligned action row. */
.canCollapse .metarCardTop{padding-right:0}
.metarAirportLine{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
.metarAirportLine .metarAirportName{padding-right:0}
.metarCardActions{display:flex;align-items:center;gap:5px}
.metarCardActions .metarCopyBtn,.metarCardActions .metarCollapseBtn{position:static;transform:none;box-sizing:border-box;width:24px;height:24px;flex:0 0 24px;border:1px solid #4b607b;border-radius:5px;background:#223147;color:#dce8f8}
.metarCardActions .metarCopyBtn:hover,.metarCardActions .metarCollapseBtn:hover{background:#354b67;border-color:#8caed5;color:#fff}
.isCollapsed .metarAirportLine{display:block;position:static}
.isCollapsed .metarAirportName,.isCollapsed .metarCardActions .metarCopyBtn{display:none}
.isCollapsed .metarCardActions{position:absolute;top:8px;right:10px}

.isTafBase .metarBaseReport .metarRaw{max-height:112px;overflow:auto;text-align:left;padding:9px 48px 9px 12px}
.isTafBase .metarTafPart+.metarTafPart{margin-top:3px}

.weatherModeSwitch{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #41536c;border-radius:7px;background:#111c2b}
.weatherModeSwitch button{height:27px;padding:0 14px;border:1px solid transparent;border-radius:4px;background:transparent;color:#b8c9de;font-family:var(--font);font-size:11px;font-weight:700;letter-spacing:.04em;cursor:pointer}
.weatherModeSwitch button[aria-pressed="true"]{background:#41658c;border-color:#97b9e4;color:#fff}
.weatherModeSwitch button:hover{color:#fff;background:#2e4561}
.weatherModeSwitch button:focus-visible{outline:2px solid #91bafa;outline-offset:2px}
@media(max-width:600px){.metarTop{flex-wrap:wrap}.metarTopActions{margin-left:auto}.weatherModeSwitch button{height:25px;padding:0 10px;font-size:10px}}

/* Pack the next sorted report into the shorter column, preserving DOM order. */
.metarNormalList{display:block}
.metarNormalGrid{position:relative;min-width:0}
.metarNormalGrid>.metarCard{box-sizing:border-box;margin-bottom:12px}
.metarNormalGrid.isPacked>.metarCard{position:absolute;margin-bottom:0}

/* Keep the report switch centered independently of the header action widths. */
.metarTop{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.metarTop>.weatherModeSwitch{justify-self:center}
.metarTop>.metarTopActions{justify-self:end}
@media(max-width:700px){
  .metarTop{grid-template-columns:1fr auto}
  .metarTop>.weatherModeSwitch{grid-row:2;grid-column:1/-1}
}

.metarDialog{position:relative}
.metarDialog.isLocked .metarNotificationsToggle{display:none}
.metarNotificationsToggle{display:flex;align-items:center;gap:6px}
.metarNotificationsToggle[aria-expanded="true"]{background:#38587a;border-color:#91b4de;color:white}
:is(#metarNotificationsBadge,#tafWatchNotificationsBadge){min-width:17px;padding:1px 4px;border-radius:10px;background:#b73e55;color:#fff;font-size:10px;line-height:15px}
.metarNotificationsPanel{position:absolute;right:10px;top:65px;bottom:10px;width:min(800px,calc(100% - 20px));z-index:35;display:flex;flex-direction:column;background:rgba(23,35,52,.94);backdrop-filter:blur(18px);border:1px solid #5b718d;border-radius:12px;box-shadow:-12px 12px 48px #0007;overflow:hidden}
.metarNotificationsPanel[hidden]{display:none}
.metarNotificationsTop{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px;border-bottom:1px solid #4a5a70}
.metarNotificationsTop h3{margin:0;font-size:18px;color:#f4f7ff}
.metarNotificationsTop p{margin:5px 0 0;font-size:11px;color:#bdcce0}
.metarNotificationsList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:1;overflow:hidden;min-height:0;padding:12px}
.metarNotificationsColumn{display:flex;flex-direction:column;min-width:0;min-height:0}
.metarNotificationsColumn h4{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;padding:0 3px 10px;border-bottom:1px solid #4a5a70;color:#f4f7ff;font-size:14px;letter-spacing:.07em}
.metarNotificationsColumn h4 span{font-size:11px;letter-spacing:0;color:#bdcce0}
.metarNotificationsColumnList{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.metarNotificationsColumn .metarNotification{overflow-wrap:anywhere}
.metarNotification{padding:13px;margin-bottom:9px;background:#121f31bd;border:1px solid #3d526c;border-left:3px solid #e4ae6e;border-radius:8px}
.metarNotification[data-tone="red"]{border-left-color:#ff6574}
.metarNotification[data-tone="purple"]{border-left-color:#c5a4ff}
.metarNotification[data-tone="orange"]{border-left-color:#ffb570}
.metarNotification>div{display:flex;justify-content:space-between;align-items:center;gap:10px}
.metarNotification strong{font-size:13px;letter-spacing:.03em;color:#fff}
.metarNotification time,.metarNotification small{font-size:10px;color:#b7c9e1}
.metarNotification p{font-size:13px;font-weight:600;line-height:1.55;color:#eef3fd;margin:8px 0}
.metarNotificationEmpty{font-size:13px;line-height:1.7;color:#c8d5e7;padding:8px}
.metarNotificationLive{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:700px){.metarNotificationsPanel{top:106px}.metarNotificationsToggle{padding:0 8px!important;font-size:10px!important}}

.metarNotificationType{display:inline-block;padding:2px 5px;margin-right:4px;background:#314c6d;border-radius:4px;color:#f1f6ff;font-size:10px;font-weight:750;letter-spacing:.04em}

/* Current METAR flight categories with paired, latest TAF reports. */
.metarDialog.isCombined .metarBaseStation{display:none!important}
.combinedLegend{display:flex;align-items:center;gap:12px;padding:6px 2px 12px;color:#e3ebf7;font-size:12px;font-weight:650}
.combinedLegend span,.combinedLegend small{color:#b4c4da;font-size:11px}.combinedLegend small{margin-left:auto}
.combinedGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}
.combinedCard.metarCard{margin:0;padding:10px;min-width:0;width:100%;box-sizing:border-box}
.combinedCardTop{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:7px}
.combinedCardTop>div{min-width:0}.combinedCardTop .metarAirportName{margin:2px 0 0;font-size:11px;line-height:1.35}.combinedCardTop .metarStation{font-size:15px}
.flightCategory{font-size:12px;font-weight:800;letter-spacing:.05em;padding:5px 9px;border-radius:5px;border:1px solid currentColor;flex-shrink:0}
.flightLIFR{color:#d1abff;background:#a36ee51a}.flightIFR{color:#ff7b8e;background:#f25b741a}.flightMVFR{color:#8dbdff;background:#639eef1a}.flightVFR{color:#8fd4b2;background:#67bf921a}.flightUNKNOWN{color:#b7c3d3;background:#8896a51a}
.combinedReport{position:relative;margin:0 0 6px}
.combinedReport:last-child{margin-bottom:0}
.combinedReport>.metarCopyBtn{position:absolute;right:6px;top:6px;width:23px;height:23px;min-width:23px;z-index:1;background:#1b2b40}
.combinedReport .metarRaw{margin:0;padding:7px 35px 7px 8px;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.combinedReport .metarTafPart+.metarTafPart{margin-top:2px}
@media(max-width:1100px){.combinedGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.combinedGrid{grid-template-columns:1fr}.combinedLegend{flex-wrap:wrap}.weatherModeSwitch button{padding:0 7px!important;font-size:10px!important}}

/* Combined split view: report list and interactive globe. */
.metarDialog.isCombined #metarCheckResults{overflow:hidden;display:flex;flex-direction:column}
.combinedWorkspace{display:grid;grid-template-columns:minmax(340px,38%) minmax(0,1fr);gap:12px;flex:1;min-height:0}
.combinedListPane{min-height:0;overflow:auto;padding-right:4px;overscroll-behavior:contain}
.combinedGrid{display:flex;flex-direction:column;gap:10px;align-items:stretch}.combinedLegend{flex-wrap:wrap;font-size:11px;gap:5px 10px}.combinedLegend small{font-size:10px}
.combinedMapSlot{min-width:0;min-height:0}
.combinedGlobe{height:100%;display:flex;flex-direction:column;overflow:hidden;min-height:0;border:1px solid #34485e;border-radius:9px;background:radial-gradient(ellipse at 50% 35%,#172d40,#0c1724 75%)}
.globeHeader{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 16px;flex-wrap:wrap}
.globeHeader h3{margin:0;color:#ecf4ff;font-size:13px;letter-spacing:.1em}.globeHeader p{margin:5px 0 0;color:#99adc6;font-size:11px}
.globeControls{display:flex;gap:5px}.globeControls button{height:28px;padding:0 9px;color:#d9e8fb;background:#1c3046;border:1px solid #415974;border-radius:5px;font-size:11px;cursor:pointer}
.globeViewport{position:relative;flex:1;min-height:200px;overflow:hidden}
.globeViewport canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.globeViewport canvas:active{cursor:grabbing}.globeViewport canvas:focus-visible{outline:2px solid #87b6ef;outline-offset:-3px}
.globeInstructions{position:absolute;bottom:8px;left:0;right:0;text-align:center;color:#839ab4;font-size:10px;pointer-events:none}
.globeTooltip{position:absolute;max-width:230px;pointer-events:none;background:#16273bf2;border:1px solid #627d9b;border-radius:6px;padding:8px 10px;color:#f1f6ff;font-size:11px;line-height:1.5;box-shadow:0 4px 20px #0007;z-index:2}
.globeFooter{padding:10px 16px 14px;flex-shrink:0;border-top:1px solid #2b3d51}.globeLegend{display:flex;flex-wrap:wrap;gap:7px 12px;color:#c7d4e5;font-size:10px;line-height:1.5}
.globeLegend span:before{content:'';display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:var(--tone)}
.globeLegend [data-tone="red"]{--tone:#ff303b}.globeLegend [data-tone="purple"]{--tone:#b14dff}.globeLegend [data-tone="orange"]{--tone:#ff9d00}
.globeSummary{margin:9px 0;color:#a9bdd5;font-size:11px}.globeFooter select{width:100%;height:30px;background:#16273a;color:#e0eafa;border:1px solid #405a75;border-radius:5px;font-size:11px;padding:0 8px}.globeNotice{color:#b4c6dd;font-size:11px;margin-top:6px}.globeNotice:empty{display:none}
@media(max-width:900px){.combinedWorkspace{grid-template-columns:minmax(280px,45%) minmax(0,1fr)}.globeHeader{padding:10px}.globeHeader h3{font-size:11px}.globeFooter{padding:9px}.globeLegend{font-size:9px}}
@media(max-width:650px){.metarDialog.isCombined #metarCheckResults{overflow:auto;display:block}.combinedWorkspace{display:flex;flex-direction:column}.combinedListPane{overflow:visible;order:2}.combinedMapSlot{height:420px;flex-shrink:0}.combinedLegend{padding-top:6px}}

.globeImageryNote{margin-top:8px;font-size:9px;line-height:1.4;color:#8ca3bd}.combinedGlobe{background:radial-gradient(ellipse at 50% 35%,#152638,#080f1b 78%)}

.combinedGlobe.isVectorMap{background:#142331}.isVectorMap .globeViewport{background:#142331}.isVectorMap .globeInstructions{color:#d0dce8;text-shadow:0 1px 3px #101c29}

.isVectorMap .globeViewport{isolation:isolate;contain:layout paint}.isVectorMap .globeViewport .mapBaseCanvas{position:absolute;left:0;top:0;pointer-events:none;transform-origin:0 0;will-change:transform;max-width:none;max-height:none}.isVectorMap .globeViewport .mapMarkerCanvas{position:relative;background:transparent}

.metarNotificationActions,.metarNotificationTools{display:flex;align-items:center;gap:9px}
.metarNotificationClear{height:30px;padding:0 10px;border:1px solid #526780;border-radius:6px;background:#223147;color:#edf4ff;font-size:11px;font-weight:650;cursor:pointer}
.metarNotificationClear:disabled{opacity:.4;cursor:default}
.metarNotification{cursor:pointer}.metarNotification:hover{background:#1c2c40;border-color:#66819e}
.metarNotificationDelete{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;padding:0;border:1px solid #465e79;border-radius:5px;background:transparent;color:#c8d7e9;font-size:12px;cursor:pointer}
.metarNotificationDelete:hover{background:#492a38;color:#ffb2bc;border-color:#a65b6c}
.metarNotification:focus-visible,.metarNotificationDelete:focus-visible,.metarNotificationClear:focus-visible{outline:2px solid #91bafa;outline-offset:2px}

.metarDetailCard[hidden]{display:none}.metarNotification p{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.65}.globeTooltip{max-width:340px;white-space:normal}

/* Group report types without adding repeated card headings. */
.metarReportsBody{gap:14px}
.metarReportGroup{border:1px solid #43566c;border-radius:8px;padding:14px;min-width:0}
.metarReportGroup>.metarDetailCard+.metarDetailCard,.metarHistoryRow+.metarHistoryRow{margin-top:16px;padding-top:16px;border-top:1px solid rgba(130,153,180,.16)}
.metarReportGroup>.metarDetailCard+.metarDetailCard .metarDetailCardTop,.metarHistoryRow+.metarHistoryRow .metarDetailCardTop{top:16px}
.metarHistoryTools{display:flex;justify-content:flex-end}
.metarHistoryTools select{font:inherit;font-size:13px;color:#e7eef8;background:#182637;border:1px solid #43566c;border-radius:6px;padding:7px 28px 7px 10px}
.metarHistoryRow{position:relative;min-width:0}
.metarHistoryRow .metarRaw{margin:0;padding:0 40px 0 0;border:0;background:transparent;font-size:14px;line-height:1.85}
.metarHistoryRow .metarDetailCardTop{top:0}
.metarHistoryStatus{margin:8px 0}

.metarReportGroup .metarDetailCard{min-height:30px}
.metarReportGroup [id$="PreviousReport"]:not([hidden]){margin-top:14px;padding-top:0;border-top:0}
.metarReportGroup [id$="PreviousReport"] .metarDetailCardTop{top:0}

/* The history picker shares the close-button row; reports remain selectable text. */
.metarTafTop>.metarHistoryTools{margin-left:auto;flex-shrink:0}
.metarTafTop{gap:12px}
.metarTafTop>div:first-child{min-width:0}
.metarTafTop>.metarHistoryTools select{max-width:160px}
.metarReportGroup .metarRaw,.metarHistoryRow .metarRaw{padding:0}
@media(max-width:600px){.metarTafTop{gap:8px}.metarTafTop>.metarHistoryTools select{max-width:126px;padding:7px;font-size:12px}}

/* Dense report history uses the same rhythm as the combined list. */
.metarReportsBody{gap:10px}
.metarReportGroup{padding:10px 12px}
.metarReportGroup .metarRaw,.metarHistoryRow .metarRaw{font-size:13px;line-height:1.5}
.metarReportGroup .metarTafPart+.metarTafPart{margin-top:2px}
.metarHistoryRow+.metarHistoryRow{margin-top:7px;padding-top:7px}
.metarReportGroup [id$="PreviousReport"]:not([hidden]){margin-top:7px}
.metarDesktopAlerts{border:1px solid #526c88;border-radius:6px;background:#223147;color:#dce8f7;padding:7px 9px;font:inherit;font-size:11px;font-weight:600;cursor:pointer}
.metarDesktopAlerts[aria-pressed="true"]{background:#314f49;border-color:#80b8a0;color:#e6fff3}
.metarDesktopAlerts:focus-visible{outline:2px solid #91bafa;outline-offset:2px}
.metarDesktopAlerts:disabled{opacity:.65;cursor:default}

.metarDesktopStatus{max-width:360px;line-height:1.45}
.metarNotificationsTop,.metarNotificationActions{flex-wrap:wrap}

/* TAF column focus keeps the original cards, filters and delegated actions. */
.metarColumnHeader[data-expand-column]{cursor:pointer}
.metarColumnHeader[data-expand-column]:hover{background:#314761}
.metarColumnHeader[data-expand-column]:focus-visible{outline:2px solid #a3c2ef;outline-offset:-3px}
.tafColumnExpandIcon{display:inline-block;margin-left:8px;font-size:17px;color:#a8c6e8;vertical-align:middle}
.tafColumnBackdrop{position:fixed;inset:0;z-index:10008;background:#040a14a8;backdrop-filter:blur(3px)}
.metarColumn.isExpandedColumn{position:fixed;inset:8vh 7vw 5vh;z-index:10009;box-shadow:0 20px 70px #0009;--metar-columns:1}
.isExpandedColumn .metarColumnHeader{height:auto;min-height:58px;padding:14px 20px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto}
.isExpandedColumn .metarColumnHeader h3{font-size:20px}
.isExpandedColumn .metarColumnFilters{padding:10px 18px;gap:8px}
.isExpandedColumn .metarColumnFilters button{font-size:14px;height:35px}
.isExpandedColumn .metarColumnList{padding:14px 18px}
.isExpandedColumn .metarCard{padding:15px}
.isExpandedColumn .metarRaw{font-size:15px;line-height:1.5}
.isExpandedColumn .metarTafPart+.metarTafPart{margin-top:2px}
@media(max-width:600px){.metarColumn.isExpandedColumn{inset:5vh 18px}.isExpandedColumn .metarColumnHeader h3{font-size:17px}.isExpandedColumn .metarRaw{font-size:13px}}

/* Each Combined report keeps its own flight-condition outline. */
.combinedReport[data-flight="LIFR"]{--flight-outline:#d1abff}
.combinedReport[data-flight="IFR"]{--flight-outline:#ff7b8e}
.combinedReport[data-flight="MVFR"]{--flight-outline:#8dbdff}
.combinedReport[data-flight="VFR"]{--flight-outline:#8fd4b2}
.combinedReport[data-flight="UNKNOWN"]{--flight-outline:#68768a}
.combinedReport[data-flight]>.metarRaw{border-color:var(--flight-outline);border-width:2px}

.globeModeSwitch{display:flex;gap:6px;flex-wrap:wrap}
.globeModeSwitch button{padding:8px 10px;border:1px solid #415974;border-radius:5px;background:#132237;color:#b6c7dc;font-size:11px;font-weight:750;cursor:pointer}
.globeModeSwitch button[aria-pressed="true"]{background:#355c83;border-color:#96bbeb;color:#f3f7ff}
.globeModeSwitch button:hover{border-color:#aacbf0}
.globeModeSwitch button:focus-visible{outline:2px solid #a1caff;outline-offset:2px}
@media(max-width:900px){.globeModeSwitch button{font-size:10px;padding:7px 8px}}

.metarNotificationTaf{display:block;white-space:pre-wrap;overflow-wrap:anywhere}
.metarNotificationTaf+.metarNotificationTaf{margin-top:5px}
.metarNotificationTafComparison{display:block}
.metarNotificationTafComparison+.metarNotificationTafComparison{margin-top:8px}
.metarNotificationTafComparison>.metarNotificationTaf+.metarNotificationTaf{margin-top:4px}

/* TAF-only forecast window, adjacent to the airport text filter. */
#tafWatchCheckTools.hasSelection{grid-template-columns:minmax(240px,1fr) 180px auto auto}
.tafHorizon{grid-column:3;grid-row:1;height:33px;font:inherit;font-size:11px;color:#e7eef8;background:#182637;border:1px solid #43566c;border-radius:6px;padding:0 8px}
#tafWatchNonCritical{grid-column:4}
@media(max-width:1000px){
 #tafWatchCheckTools.hasSelection{grid-template-columns:minmax(0,1fr) auto auto}
 #tafWatchHorizon{grid-column:2;grid-row:2}
 #tafWatchNonCritical{grid-column:3;grid-row:2}
}
@media(max-width:600px){
 #tafWatchCheckTools.hasSelection{grid-template-columns:minmax(0,1fr) auto}
 #tafWatchNonCritical{grid-column:1/-1;grid-row:3}
 #tafWatchSelectionInfo{grid-row:4}
}

/* Match Combined report spacing in the METAR and TAF columns. */
.metarColumn .metarRaw{line-height:1.5}
.metarColumn .metarTafPart+.metarTafPart{margin-top:2px}

/* Give report text the available width inside METAR/TAF column cards. */
.metarColumn .metarColumnList{padding:6px 4px}
.metarColumn .metarCard{padding:8px 4px}
.metarColumn .metarRaw{padding:6px 4px}

/* Compact column headings and airport metadata in METAR / TAF boards. */
.metarColumn .metarColumnHeader{height:auto;min-height:40px;padding:6px 8px;gap:5px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto;border-top-width:3px}
.metarColumn .metarColumnHeader h3{font-size:12px;line-height:1.2;letter-spacing:.025em}
.metarColumn .metarColumnCount{font-size:11px;min-width:20px;padding:2px 4px;line-height:1.2}
.metarColumn .metarColumnFilters{padding:4px;gap:3px;grid-template-columns:repeat(var(--filter-count),minmax(0,1fr))}
.metarColumn .metarColumnFilters button{height:24px;padding:0 2px;font-size:10px;grid-column:auto}
.metarColumn .compactWeatherCard{padding:5px 4px}
.compactWeatherCard .metarCardTop,.compactWeatherCard.isCollapsed .metarCardTop{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:4px;min-width:0;padding:0}
.compactWeatherCard .metarStation{min-width:0;font-size:14px;line-height:1.25;letter-spacing:0;overflow-wrap:normal;white-space:nowrap}
.compactWeatherCard .metarCardActions,.compactWeatherCard.isCollapsed .metarCardActions{position:static;display:flex;flex:0 0 auto;gap:3px}
.compactWeatherCard .metarCardActions .metarCopyBtn,.compactWeatherCard .metarCardActions .metarCollapseBtn{width:21px;height:21px;flex:0 0 21px;display:flex;align-items:center;justify-content:center}
.compactWeatherCard .metarCardActions .metarCopyBtn svg{width:13px;height:13px}
.compactWeatherCard .metarAirportLine{display:block}
.compactWeatherCard .metarAirportName{margin:2px 0 4px;font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compactWeatherCard.isCollapsed .metarAirportLine,.compactWeatherCard.isCollapsed>.metarRaw{display:none}
@container metar-column (max-width:190px){.compactWeatherCard .metarStation{font-size:12px}}

.metarColumn .metarColumnFilters button:last-child:nth-child(odd){grid-column:auto}

/* Selected airport geography replaces the unavailable/outdated summary strip. */
.metarSelectionInfo.metarRegionFilters{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:0;border:0;background:transparent;max-height:none;overflow:visible}
.metarRegionFilters button{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid #43566c;border-radius:5px;background:#182637;color:#dce8fa;font:inherit;font-size:11px;cursor:pointer}
.metarRegionFilters button span{font-family:var(--mono);font-size:10px;opacity:.8}
.metarRegionFilters button:hover{border-color:#8fb1de;background:#2b405d}
.metarRegionFilters button[aria-pressed="true"]{border-color:#a3c2ef;background:#44638d;color:#fff}
.metarSelectionInfo.metarRegionFilters[hidden]{display:none}

/* Keep region controls and the report warning on one shared row. */
.metarSelectionInfo.metarRegionFilters{flex-wrap:nowrap;min-width:0;overflow:hidden;gap:8px}
.metarRegionButtons{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:thin;flex:0 1 auto}
.metarRegionButtons button{flex:0 0 auto}
.hasRegionWarning .metarRegionButtons{max-width:75%}
.metarRegionButtons:empty{display:none}
.metarRegionWarning{display:block;flex:1 1 200px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#ffcf9b;font-size:10px;line-height:28px}

.metarRegionWarning{box-sizing:border-box;height:28px;line-height:26px;padding:0 8px;border:1px solid #77523b;border-radius:6px;background:#30271f;color:#ffcf9b}

/* Center the two view families, with aligned captions and controls. */
.metarTop>.weatherModeSwitch{display:flex;align-items:stretch;justify-content:center;gap:12px;padding:0;border:0;border-radius:0;background:transparent}
.weatherViewGroup{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:128px}
.weatherViewLabel{text-align:center;font-size:9px;font-weight:650;line-height:1.2;letter-spacing:.1em;text-transform:uppercase;color:#a8bcd5;white-space:nowrap}
.weatherViewButtons{display:flex;align-items:center;justify-content:center;gap:3px;padding:3px;border:1px solid #41536c;border-radius:7px;background:#111c2b}
.weatherViewButtons button{flex:1;white-space:nowrap}
@media(max-width:1000px){
 .metarTop{grid-template-columns:minmax(0,1fr) auto}
 .metarTop>.weatherModeSwitch{grid-row:2;grid-column:1/-1}
 .metarTop>.metarTopActions{grid-row:1;grid-column:2}
}
@media(max-width:600px){.metarTop>.weatherModeSwitch{gap:10px}.weatherViewGroup{min-width:120px}.weatherViewLabel{font-size:8px}}

/* Keep grid choices and list/map visible, with their button rows aligned. */
.weatherModeSwitch .weatherListMapGroup{align-self:flex-end;min-width:158px}
.weatherModeSwitch .weatherListMapGroup button{font-size:10px;letter-spacing:.025em}

/* A single compact row: List & Map on the left, METAR / TAF on the right. */
.metarTop>.weatherModeSwitch{align-items:center;gap:8px}
.weatherModeSwitch .weatherViewGroup{gap:0;min-width:0}
.weatherModeSwitch .weatherListMapGroup{align-self:center;min-width:0}
.metarTop{padding-top:5px;padding-bottom:5px}

/* METAR-only trigger summary uses the existing collapsed header line. */
.metarCollapsedSummary{display:none}
.compactWeatherCard.isCollapsed .metarCollapsedSummary{display:block;flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-family:var(--mono);font-size:14px;line-height:20px;color:#f2f6ff}
.compactWeatherCard.isCollapsed .metarStation{flex:0 0 auto}

@container metar-column (max-width:190px){.compactWeatherCard.isCollapsed .metarCollapsedSummary{font-size:12px}}

/* Center the unchanged collapsed row height around its controls. */
.metarColumn .compactWeatherCard.isCollapsed{display:flex;flex-direction:column;justify-content:center}
.metarColumn .compactWeatherCard.isCollapsed .metarCardTop{flex:0 0 auto;width:100%;box-sizing:border-box}

/* One shared line box aligns code, summary and action-button bottoms. */
.metarColumn .compactWeatherCard.isCollapsed .metarCardTop{align-items:flex-end}
.metarColumn .compactWeatherCard.isCollapsed .metarStation,
.metarColumn .compactWeatherCard.isCollapsed .metarCollapsedSummary{height:21px;line-height:21px;box-sizing:border-box;margin:0;padding:0;font-family:var(--mono);font-weight:600}
.metarColumn .compactWeatherCard.isCollapsed .metarCardActions{height:21px;align-items:flex-end}

/* Column visibility is a presentation preference, separate from alert monitoring. */
#metarCheckTools.hasSelection{grid-template-columns:minmax(240px,1fr) 180px auto auto}
#tafWatchCheckTools.hasSelection{grid-template-columns:minmax(240px,1fr) 180px auto auto auto}
.metarColumnChooser{position:relative;grid-row:1;grid-column:3;z-index:5;min-width:0}
#tafWatchColumnChooser{grid-column:4}
.metarColumnChooser>button{height:33px;white-space:nowrap}
#metarNonCritical{grid-column:4}
#tafWatchNonCritical{grid-column:5}
.metarColumnChooser[hidden],.metarColumnMenu[hidden]{display:none!important}
.metarColumnMenu{position:absolute;right:0;top:calc(100% + 6px);width:238px;max-width:calc(100vw - 40px);max-height:min(320px,45vh);overflow:auto;overscroll-behavior:contain;padding:6px;border:1px solid #516983;border-radius:7px;background:#182637;box-shadow:0 10px 30px #0008;color:#e4edf9}
.metarColumnMenu label{display:flex;align-items:center;gap:9px;padding:8px 7px;font-size:11px;line-height:1.25;cursor:pointer;border-radius:4px}
.metarColumnMenu label:hover{background:#2b405d}
.metarColumnMenu input{width:14px;height:14px;min-width:14px;margin:0;accent-color:#8db6e5;cursor:pointer}
.metarColumnMenu .metarColumnsShowAll{width:100%;height:28px;padding:0 8px;margin:0 0 4px;text-align:left;font:inherit;font-size:11px;color:#e7f0ff;background:#2b405d;border:1px solid #526d8d;border-radius:4px;cursor:pointer}
.isCombined #metarCheckTools.hasSelection{grid-template-columns:minmax(240px,1fr) 180px}
@media(max-width:1000px){
 #metarCheckTools.hasSelection{grid-template-columns:minmax(0,1fr) auto auto}
 #tafWatchCheckTools.hasSelection{grid-template-columns:minmax(0,1fr) auto auto auto}
 #metarColumnChooser{grid-column:2;grid-row:2}
 #tafWatchColumnChooser{grid-column:3;grid-row:2}
 #metarNonCritical{grid-column:3;grid-row:2}
 #tafWatchNonCritical{grid-column:4;grid-row:2}
 .isCombined #metarCheckTools.hasSelection{grid-template-columns:minmax(0,1fr) auto}
}
@media(max-width:600px){
 #metarCheckTools.hasSelection,#tafWatchCheckTools.hasSelection{grid-template-columns:minmax(0,1fr) auto}
 #metarNonCritical{grid-column:1/-1;grid-row:3}
 #metarSelectionInfo{grid-row:4}
 #tafWatchColumnChooser{grid-column:1;grid-row:3;justify-self:start}
 #tafWatchNonCritical{grid-column:2;grid-row:3;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #tafWatchSelectionInfo{grid-row:4}
 .isCombined #metarSelectionInfo{grid-row:3}
}

@media(max-width:600px){#tafWatchColumnChooser .metarColumnMenu{left:0;right:auto}}

/* No separate non-critical entry point; List & Map contains every airport. */
#metarCheckTools.hasSelection{grid-template-columns:minmax(240px,1fr) 180px auto}
#tafWatchCheckTools.hasSelection{grid-template-columns:minmax(240px,1fr) 180px auto auto}
@media(max-width:1000px){
 #metarCheckTools.hasSelection{grid-template-columns:minmax(0,1fr) auto}
 #tafWatchCheckTools.hasSelection{grid-template-columns:minmax(0,1fr) auto auto}
 #metarSelectionInfo{grid-row:3}
}
@media(max-width:600px){
 #tafWatchCheckTools.hasSelection{grid-template-columns:minmax(0,1fr) auto}
 #metarSelectionInfo{grid-row:3}
 #tafWatchSelectionInfo{grid-row:4}
}

/* Compact runway pairs in each List & Map airport heading. */
.combinedRunways{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;margin-top:3px;font-family:var(--mono);font-size:10px;line-height:1.35;color:#b9cadf}
.combinedRunwayLabel{font-size:9px;color:#8299b5}
.combinedRunway{white-space:nowrap}
.combinedRunway[data-wind-tone="red"]{color:#ff707a;font-weight:700}
.combinedRunway[data-wind-tone="orange"]{color:#ffb570;font-weight:700}

/* Larger runway text shares the ICAO/IATA line; airport name remains below. */
.combinedStationLine{display:flex;align-items:baseline;gap:12px;min-width:0}
.combinedStationLine>.metarStation{flex:0 0 auto;white-space:nowrap}
.combinedStationLine .combinedRunways{flex:1 1 auto;min-width:0;flex-wrap:nowrap;align-items:baseline;gap:8px;margin-top:0;font-size:14px;line-height:1.35;white-space:nowrap;overflow-x:auto;scrollbar-width:none}
.combinedStationLine .combinedRunways::-webkit-scrollbar{display:none}
.combinedStationLine .combinedRunwayLabel{font-size:11px}
.combinedStationLine .combinedRunway{flex:0 0 auto}

/* Runway detail sheet: one component row per runway end and wind group. */
.combinedRunway{background:none;border:0;padding:0;font:inherit;cursor:pointer;color:inherit;flex-shrink:0}
.combinedRunway:hover{text-decoration:underline}
.weatherRunwayDialog{color:#eef3ff;background:#192638;border:1px solid #60758c;border-radius:14px;padding:20px;width:min(1000px,94vw);max-height:85vh;box-sizing:border-box;overflow:auto}
.weatherRunwayDialog::backdrop{background:rgba(0,0,0,.65)}
.runwayDetailTop{display:flex;align-items:center;justify-content:space-between;gap:16px}
.runwayDetailTop h2{font-size:20px;margin:0}
.runwayDetailTop button{font-size:26px;color:inherit;background:#24354a;border:1px solid #60758c;border-radius:6px;cursor:pointer}
.runwayDetailBody section{border-top:1px solid #42556a;margin-top:16px;padding-top:10px}
.runwayDetailBody h3{font-size:15px;margin:0 0 8px}
.runwayDetailBody p{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.runwayDetailBody table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}
.runwayDetailBody th,.runwayDetailBody td{text-align:left;padding:6px;border-bottom:1px solid #34475b}
.runwayRed{color:#ff707a;font-weight:700}.runwayOrange{color:#ffb570;font-weight:700}
.runwayDetailNote{color:#aebed0}

.runwayDetailBody{overflow-x:auto}

/* Compact runway visual shared by runway and airport report dialogs. */
.weatherRunwayDialog{width:min(650px,94vw);padding:18px}
.runwayVisualHost{margin-top:16px}
.airportRunwayPanel{border:1px solid #425970;border-radius:8px;padding:12px;margin-top:12px;background:#132135}
.airportRunwayPanel[hidden]{display:none}
.windVisualControls{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1.7fr);gap:10px}
.windVisualControls label{display:flex;flex-direction:column;gap:5px;min-width:0;color:#a9bdd3;font-size:11px;font-weight:600}
.windVisualControls select{box-sizing:border-box;width:100%;min-width:0;height:34px;padding:0 8px;border:1px solid #526a83;border-radius:6px;background:#1a2b40;color:#edf4fd;font:inherit;font-size:12px;text-overflow:ellipsis}
.windVisualBody{display:grid;grid-template-columns:minmax(170px,270px) minmax(140px,1fr);align-items:center;gap:18px;margin-top:8px}
.runwayCompass{width:100%;max-width:270px;display:block}
.windVisualWind{font-family:var(--mono);font-size:18px;font-weight:700;margin-bottom:10px;color:#edf4fd}
.windComponent{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;border-bottom:1px solid #344a60}
.windComponent span{font-size:13px;color:#bed0e2}
.windComponent strong{font-family:var(--mono);font-size:22px;white-space:nowrap}
.windComponent small{margin-left:5px;font-family:var(--font);font-size:11px;font-weight:500;color:#a9bdd3}
.windVisualNote{font-size:11px;line-height:1.5;color:#8fa8c0;margin-top:10px}
.runwayEmpty{font-size:13px;color:#a9bdd3}
@media(max-width:540px){.windVisualControls{grid-template-columns:1fr}.windVisualBody{grid-template-columns:minmax(130px,1fr) minmax(125px,1fr);gap:8px}.windVisualWind{font-size:15px}.windComponent strong{font-size:18px}.weatherRunwayDialog{padding:12px}.runwayDetailTop h2{font-size:17px}}

/* Manual calculator: runway/component list on the left, vector graphic right. */
.weatherRunwayDialog{width:min(930px,96vw)}
.manualWindCalculator{display:grid;grid-template-columns:minmax(300px,1.2fr) minmax(260px,1fr);gap:18px;align-items:start}
.manualWindLeft{min-width:0}
.manualWindInputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.manualWindInputs label{display:flex;flex-direction:column;gap:5px;color:#b7cce0;font-size:12px;font-weight:600}
.manualWindInputs input{box-sizing:border-box;width:100%;min-width:0;height:36px;background:#102034;border:1px solid #58738e;border-radius:6px;padding:0 10px;color:#edf5ff;font-family:var(--mono);font-size:16px}
.manualWindHint{min-height:18px;margin:7px 0;color:#97afc7;font-size:11px;line-height:1.5}
.manualRunwayTableWrap{overflow-x:auto;border:1px solid #3c526a;border-radius:7px;max-height:390px;overflow-y:auto}
.manualRunwayTable{width:100%;border-collapse:collapse;color:#dfebf7;font-size:13px;white-space:nowrap;font-family:var(--mono)}
.manualRunwayTable thead{position:sticky;top:0;background:#23374c;z-index:1}
.manualRunwayTable td,.manualRunwayTable th{padding:7px 6px;text-align:right;border-bottom:1px solid #30465e}
.manualRunwayTable th:nth-child(2){text-align:left}
.manualRunwayTable td:first-child,.manualRunwayTable th:first-child{width:20px;text-align:center}
.manualRunwayTable tbody tr{cursor:pointer}.manualRunwayTable tbody tr:hover{background:#21384e}
.manualRunwayTable tbody tr.isSelected{background:#294762;box-shadow:inset 3px 0 #91d6ff}
.manualRunwayTable input{accent-color:#91d6ff;margin:0;cursor:pointer}
.manualRunwayGraphic{min-width:0;align-self:center}
.runwayCalculatorCompass{display:block;width:100%;max-width:390px;margin:auto}
.windVectorLabel{font-size:12px;font-weight:700;text-anchor:middle;paint-order:stroke fill;stroke:#102034;stroke-width:4px;stroke-linejoin:round}
.windRunwayLabel{font-size:14px;font-weight:700;fill:#edf3f9;paint-order:stroke fill;stroke:#102034;stroke-width:4px}
@media(max-width:740px){.manualWindCalculator{grid-template-columns:1fr}.manualRunwayGraphic{order:2}.runwayCalculatorCompass{max-width:340px}.manualRunwayTable td,.manualRunwayTable th{padding:6px}}

.metarNotificationMetar{display:block;overflow-wrap:anywhere}
.metarNotificationMetar+.metarNotificationMetar{margin-top:4px}

/* Crisp instrument-style compass with separated, non-overlapping readouts. */
.manualRunwayGraphic{background:#0d1b2c;border:1px solid #2e455e;border-radius:14px;padding:8px;box-shadow:inset 0 1px 0 #ffffff05}
.runwayCalculatorCompass{max-width:430px;font-family:var(--font);shape-rendering:geometricPrecision}
.manualWindCalculator{grid-template-columns:minmax(300px,1.1fr) minmax(290px,1fr);gap:22px}
.manualWindHint{line-height:1.5;min-height:32px;font-size:11px;color:#9fb9d0;overflow-wrap:anywhere}
.manualRunwayTable{font-variant-numeric:tabular-nums}
.manualRunwayTable tbody tr.isSelected{background:#263e55;box-shadow:inset 3px 0 #8ed7f5}
.manualRunwayTable th,.manualRunwayTable td{padding-top:8px;padding-bottom:8px}
@media(max-width:740px){.manualWindCalculator{grid-template-columns:1fr}.manualRunwayGraphic{padding:4px}.runwayCalculatorCompass{max-width:390px}}

.manualWindHint[hidden]{display:none}
.manualRunwayTableWrap{margin-top:10px}
.runwayWindArrow text{font-family:var(--font);font-variant-numeric:tabular-nums}

.manualRunwayVisual{min-width:0;align-self:center}
.runwayImageTools{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-bottom:8px;min-height:28px}
.runwayImageTools button{flex:0 0 auto;padding:6px 10px;border:1px solid #526e88;border-radius:6px;background:#1e344a;color:#dfedf9;font:inherit;font-size:12px;cursor:pointer}
.runwayImageTools button:hover{background:#2a455f}.runwayImageTools button:disabled{cursor:wait;opacity:.7}
.runwayImageStatus{font-size:11px;color:#9fb9d0;line-height:1.3}

/* Keep copy controls inside the illustration's frame; exported PNG stays clean. */
.manualRunwayVisual{position:relative;background:#0d1b2c;border:1px solid #2e455e;border-radius:14px;box-shadow:inset 0 1px 0 #ffffff05}
.manualRunwayVisual .runwayImageTools{position:absolute;top:8px;right:8px;z-index:1;margin:0;max-width:calc(100% - 16px)}
.manualRunwayVisual .manualRunwayGraphic{background:transparent;border:0;border-radius:0;padding:42px 8px 8px;box-shadow:none}
.manualRunwayVisual .runwayImageStatus{max-width:170px}

/* Align copy action with the SVG's first line without a separate header row. */
.manualRunwayVisual .manualRunwayGraphic{padding:6px 8px 8px}
.manualRunwayVisual .runwayImageTools{top:7px;right:8px;min-height:22px;gap:0}
.manualRunwayVisual .runwayImageTools button{padding:3px 6px;font-size:10px;line-height:1.25}
.manualRunwayVisual .runwayImageStatus{position:absolute;right:0;top:28px;width:170px;background:#0d1b2c;border-radius:4px;text-align:right}
.manualRunwayVisual .runwayImageStatus:empty{display:none}

/* Single aligned graphic header; clipboard action uses an accessible icon only. */
.manualRunwayVisual .runwayImageTools{top:20px;right:12px;min-height:28px}
.manualRunwayVisual .runwayImageTools button{display:grid;place-items:center;width:28px;height:28px;padding:0;border-radius:7px;background:#1b3147;color:#bed6e9}
.manualRunwayVisual .runwayImageTools button svg{display:block;width:16px;height:16px}
.manualRunwayVisual .runwayImageTools button[data-copy-state="done"]{color:#7bdfc0;border-color:#477c70}
.manualRunwayVisual .runwayImageStatus{top:34px}

/* Equal side cells keep the two-line runway/wind heading centered on the compass. */
.manualRunwayVisual{padding:6px 8px 8px}
.manualRunwayVisual .manualRunwayGraphic{padding:0}
.manualRunwayVisual .runwayCalculatorCompass{max-width:none;width:100%}
.manualRunwayVisual .runwayImageTools{top:calc(6px + (100% - 14px)*.0163265306);right:calc(8px + (100% - 16px)*.0380952381);width:calc((100% - 16px)*.1904761905);height:calc((100% - 14px)*.0938775510);min-height:0}
.manualRunwayVisual .runwayImageTools button{box-sizing:border-box;width:100%;height:100%;border-radius:8px;background:#14253a;border-color:#2c435b}
.manualRunwayVisual .runwayImageTools button svg{width:18px;height:18px}
.manualRunwayVisual .runwayImageStatus{top:calc(100% + 6px)}

/* Calm, readable component table with a single runway selection column. */
.manualWindInputs{gap:12px}
.manualWindInputLabel{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:600;color:#b4c9dd;letter-spacing:.02em}
.manualWindInputLabel small{font-size:10px;color:#7e9bb5;font-weight:600}
.manualWindInputs input{height:38px;border:1px solid #36536e;border-radius:9px;background:#102034;font-size:17px;font-weight:600;padding:0 12px;transition:border-color .15s}
.manualWindInputs input:focus{outline:none;border-color:#83c9eb;box-shadow:0 0 0 2px #83c9eb18}
.manualRunwayTableWrap{border:1px solid #304960;border-radius:10px;background:#102034;scrollbar-width:thin;scrollbar-color:#3a546d transparent}
.manualRunwayTable{table-layout:fixed;border-collapse:separate;border-spacing:0;font-family:var(--font);font-size:13px}
.manualRunwayTable col.runwayCodeColumn{width:24%}.manualRunwayTable col.runwayHeadingColumn{width:19%}
.manualRunwayTable thead{top:0;z-index:2;background:#132539}
.manualRunwayTable th,.manualRunwayTable td{box-sizing:border-box;height:34px;padding:4px 8px;border-bottom:1px solid #bfd6eb0d;text-align:right;vertical-align:middle}
.manualRunwayTable thead th{height:31px;color:#829db6;font-family:var(--font);font-size:9px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;border-bottom-color:#2a4056}
.manualRunwayTable th:first-child,.manualRunwayTable td:first-child{width:auto;text-align:left;padding-left:12px}
.manualRunwayTable th:nth-child(2){text-align:right}
.manualRunwayTable td:last-child,.manualRunwayTable th:last-child{padding-right:12px}
.manualRunwayTable tbody tr{background:transparent;box-shadow:none;transition:background .12s}
.manualRunwayTable tbody tr:nth-child(even){background:#b6d2eb03}
.manualRunwayTable tbody tr:hover{background:#193149}
.manualRunwayTable tbody tr.isSelected{background:#1c354b;box-shadow:none}
.manualRunwayTable tbody tr.isSelected th{box-shadow:inset 2px 0 #8ed7f5}
.manualRunwayTable tbody tr:last-child td,.manualRunwayTable tbody tr:last-child th{border-bottom:0}
.runwayIdentity{display:flex;align-items:center;gap:9px;cursor:pointer;white-space:nowrap;color:#e5eff8;font:650 13px var(--mono)}
.manualRunwayTable .runwayIdentity input{appearance:none;-webkit-appearance:none;box-sizing:border-box;position:relative;flex:0 0 12px;width:12px;height:12px;margin:0;border:1.5px solid #6c859d;border-radius:50%;background:transparent;cursor:pointer}
.manualRunwayTable .runwayIdentity input:checked{border-color:#91d6f5;background:#91d6f5}
.manualRunwayTable .runwayIdentity input:checked::after{content:'';position:absolute;inset:3px;border-radius:50%;background:#102034}
.manualRunwayTable .runwayIdentity input:focus-visible{outline:2px solid #a5e0fc;outline-offset:3px}
.manualRunwayTable .runwayTableHeading{font-family:var(--mono);font-size:11px;color:#88a3bb;font-weight:400}
.runwayComponentValue{display:inline-block;box-sizing:border-box;min-width:38px;padding:3px 5px;border-radius:5px;text-align:right;font:500 13px var(--mono);font-variant-numeric:tabular-nums;color:#d6e5f3}
.runwayComponentValue.isZero{color:#6f8aa3;font-weight:400}
.runwayComponentValue.runwayRed{color:#ff8993;background:#ff707a12;font-weight:650}
.runwayComponentValue.runwayOrange{color:#ffc081;background:#ffb57010;font-weight:650}
.manualRunwayTable thead i{display:inline-block;width:4px;height:4px;border-radius:50%;margin-right:4px;vertical-align:middle}
.headDot{background:#7bdfc0}.crossDot{background:#c5a5ff}.tailDot{background:#ffbc78}
@media(max-width:480px){.manualRunwayTable th,.manualRunwayTable td{padding-left:5px;padding-right:5px}.runwayComponentValue{min-width:32px;font-size:12px;padding:3px}.manualRunwayTable thead i{display:none}}

/* One issue label per TAF, aligned with its compact chronological periods. */
.metarNotificationTafGroup{line-height:1.5;display:grid;grid-template-columns:8ch minmax(0,1fr);column-gap:1ch;align-items:start}
.metarNotificationTafGroup+.metarNotificationTafGroup{margin-top:8px}
.metarNotificationTafIssue{white-space:nowrap}
.metarNotificationTafPeriods{display:block;min-width:0}
.metarNotificationTafPeriods>.metarNotificationTaf+.metarNotificationTaf{margin-top:2px}

/* Two solar rows fit within the existing station/name header height. */
.combinedCard{container-type:inline-size}
.combinedCardTop{gap:8px}
.combinedCardTop>.combinedAirportIdentity{flex:1 1 auto;min-width:0}
.combinedCardTop .metarAirportName{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.combinedCardTop>.combinedSolar{flex:0 0 204px;display:grid;gap:3px;font-size:10px;line-height:12px;color:#a9bed3;font-variant-numeric:tabular-nums}
.combinedSolar>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.combinedSolarEvent{display:grid;grid-template-columns:40px max-content;justify-content:start;align-items:baseline;gap:3px;white-space:nowrap}
.combinedSolar time{font-family:var(--mono);color:#d9e6f3;font-size:10px}
.combinedSolar .solarLabelShort{display:none}
@container(max-width:440px){
 .combinedCardTop{gap:6px}
 .combinedCardTop>.combinedSolar{flex-basis:150px;font-size:9px}
 .combinedSolar>div{gap:7px}
 .combinedSolarEvent{grid-template-columns:26px max-content;gap:2px}
 .combinedSolar time{font-size:9px}
 .combinedSolar .solarLabelFull{display:none}
 .combinedSolar .solarLabelShort{display:inline}
 .combinedCardTop .flightCategory{font-size:10px;padding:4px 6px}
}

/* Airport headers: aligned identity, solar times, and a dedicated runway row. */
.combinedCardTop{display:grid;grid-template-columns:minmax(0,1fr) 204px auto;align-items:center;column-gap:14px;row-gap:7px;padding-bottom:9px}
.combinedCardTop>.combinedAirportIdentity{min-width:0}
.combinedCardTop .metarStation{line-height:1.25}
.combinedCardTop .metarAirportName{font-size:11px;line-height:1.3;margin-top:3px;color:#b5c6d9}
.combinedCardTop>.combinedSolar{width:204px}
.combinedCardTop>.flightCategory{justify-self:end}
.combinedCardTop>.combinedRunways{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 12px;margin:0;padding-top:6px;border-top:1px solid rgba(143,168,194,.16);font-size:11px;line-height:14px;color:#afc1d5}
.combinedCardTop .combinedRunwayLabel{font-size:9px;line-height:14px;letter-spacing:.06em;color:#7f98b4}
.metarTafTop{display:grid;grid-template-columns:minmax(0,1fr) 204px auto 34px;align-items:center;gap:12px 20px;padding:20px 22px 14px}
.metarTafTop>div:first-child{min-width:0}
.metarTafTitleLine{display:block;min-width:0}
.metarTafTitleLine h3{line-height:1.25;white-space:nowrap}
.metarTafTop .metarTafAirport{margin-top:5px;line-height:1.3;color:#b5c6d9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.metarTafTop>.metarHistoryTools{margin:0}
.metarTafTop>.metarHistoryTools select{height:34px;box-sizing:border-box}
.metarTafTop>.metarClose{width:34px;height:34px;box-sizing:border-box}
.metarTafSolar>.combinedSolar{display:grid;gap:3px;font-size:10px;line-height:12px;color:#a9bed3;font-variant-numeric:tabular-nums}
.detailRunwaySummary{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 14px;padding-top:10px;border-top:1px solid rgba(143,168,194,.2);font-family:var(--mono);font-size:12px;line-height:16px;color:#afc1d5}
.detailRunwaySummary>span{white-space:nowrap}
.detailRunwaySummary .combinedRunwayLabel{font-size:10px;letter-spacing:.06em;color:#7f98b4}
@container(max-width:440px){
 .combinedCardTop{grid-template-columns:minmax(0,1fr) 150px auto;column-gap:8px}
 .combinedCardTop>.combinedSolar{width:150px}
 .combinedCardTop>.combinedRunways{gap:4px 10px;font-size:10px}
}
@media(max-width:700px){
 .metarTafTop{grid-template-columns:minmax(0,1fr) auto 34px;gap:12px}
 .metarTafTop>div:first-child{grid-column:1/3;grid-row:1}
 .metarTafTop>.metarClose{grid-column:3;grid-row:1}
 .metarTafSolar{grid-column:1;grid-row:2;width:204px}
 .metarTafTop>.metarHistoryTools{grid-column:2/4;grid-row:2;justify-self:end}
 .detailRunwaySummary{grid-row:3}
}
