/* METAR / TAF (weather.html and the Route Map) */
.wx-st { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 6px; }
.wx-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wx-id { font-size: 17px; font-weight: 800; letter-spacing: .03em; color: #fbbf24; }
.wx-age { margin-left: auto; font-size: 12px; opacity: .75; }
.wx-age.wx-old { color: #fbbf24; opacity: 1; }
.wx-cat { cursor: pointer; padding: 1px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .05em; color: #0b1724; }
.wx-VFR { background: #4ade80; } .wx-IFR { background: #f87171; }
.wx-raw { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.45; word-break: break-word; }
.wx-ind { padding-left: 18px; }
.wx-dec { font-size: 12.5px; color: #93c5fd; }
.wx-none { font-size: 12.5px; opacity: .6; }
.wx-taf summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: #cbd5e1; padding: 2px 0; }
.wx-taf[open] summary { margin-bottom: 4px; }
.wx-msg { padding: 10px 12px; border-radius: 10px; background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .4); color: #fde68a; font-size: 13px; line-height: 1.45; }
.wx-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.wx-bar input { flex: 1 1 240px; min-width: 0; text-transform: uppercase; }
.wx-list { display: grid; gap: 10px; margin-top: 12px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.wx-note { font-size: 12px; opacity: .6; line-height: 1.5; margin: 8px 0 0; }
/* Route Map panel */
.rm-ad-wx { margin-top: 10px; }

.wx-h { margin-bottom: 4px; }
#adWx { margin-top: 12px; }
.wx-ov { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(2, 8, 16, .66); }
.wx-bal { width: min(560px, 100%); max-height: 88vh; overflow: auto; padding: 18px; border-radius: 16px; background: #10233a; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); display: grid; gap: 10px; }
.wx-bal h3 { margin: 0; font-size: 18px; }
.wx-bal h3 small { font-size: 12px; opacity: .65; font-weight: 400; }
.wx-bal p { margin: 0; font-size: 13px; line-height: 1.5; }
.wx-bal-note { opacity: .7; }
.wx-tab { width: 100%; border-collapse: collapse; font-size: 13px; }
.wx-tab th, .wx-tab td { text-align: left; padding: 7px 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); vertical-align: top; }
.wx-tab th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.wx-bal .primary { justify-self: end; }
