/* ---------- Wetter (F9, F4-7 … F4-9, LH 16; Skizze wetter.html): Statusleiste, Wetter-Fenster, SNA-Modul, Karten-Ebene ---------- */
.wt-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.chip.wt-alt { height: 20px; font-size: 12px; }
.wt-st { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -1px; margin-right: 5px; flex: none; }
.wt-st.vorab { border: 2px dashed #fff; background: transparent; }
.blass { opacity: .55; }

/* Statusleiste */
.sb > .wt-werkzeug { cursor: pointer; }
.sb > .wt-werkzeug:hover { background: var(--p3); }
.sb > .wt-werkzeug:focus-visible { outline: 2px solid var(--ac); outline-offset: -2px; }
.wt-werkzeug .sm { font-size: 12px; }

/* Wetter-Fenster (über der Ansicht, rechts unten) */
.win.wt-fenster { right: 6px; bottom: 6px; width: 760px; height: 640px; z-index: 31; }
.win.wt-fenster > .h { cursor: default; }
.win.wt-fenster > .h .r { margin-left: auto; display: flex; gap: 6px; }
.wt-fenster > .b { gap: 9px; }
.wt-inhalt { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 9px; }
.wt-gross { gap: 16px; align-items: center; }
.wt-symbol { font-size: 44px; line-height: 1; }
.wt-temp { font-size: 30px; }
.wt-kv { margin-left: auto; grid-template-columns: 100px auto; }
.wt-liste { display: flex; flex-direction: column; gap: 4px; flex: none; }
.wt-wn { display: grid; grid-template-columns: 6px 1fr; gap: 8px; padding: 6px 8px; border-radius: 5px; background: var(--p2); border: 1px solid transparent; font-size: 13.5px; text-align: left; }
button.wt-wn { cursor: pointer; }
button.wt-wn:hover { background: var(--p3); }
.wt-wn .wt-bar { border-radius: 3px; }
.wt-wn b { display: block; }
.wt-wn small { color: var(--mu); font-size: 12px; display: block; }
.wt-wn .wt-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
.wt-einsatz .wt-ort { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wt-fuss { margin-top: auto; flex: none; }
.wt-dlg { display: flex; flex-direction: column; gap: 14px; max-height: 620px; overflow: auto; }
.wt-dlg-w { display: flex; flex-direction: column; gap: 5px; }
.wt-dlg-w .sm, .wt-k-popup .sm, .wt-sna .sm { font-size: 13px; }

/* SNA-Modul „wetter“ */
.sna-modul > .h.wt-gefahr { background: var(--err-bg); color: var(--err-tx); }
.wt-sna { gap: 6px; }
.wt-sna-gross { font-size: 30px; white-space: nowrap; }
.wt-sna-symbol { font-size: 30px; }
.wt-sna-hinweis { color: #ffd2cc; }
.sna-modul .wt-sna .link { font-size: 13px; }

/* Karte: Warn-Ebene, Legende, Popups */
.kt-leiste:has(.wt-k-steuerung) { flex-wrap: wrap; }
.kt-leiste .grp.wt-k-steuerung { align-items: center; gap: 6px; }
.wt-k-lbl { margin: 0 0 0 6px; }
.wt-k-steuerung .seg button { padding: 2px 9px; font-size: 13px; }
.wt-k-steuerung .pf-cb { font-size: 13px; }
.wt-k-info { max-width: 360px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.wt-legende { position: absolute; left: 10px; bottom: 34px; z-index: 500; background: color-mix(in srgb, var(--p1) 90%, transparent); border: 1px solid var(--ln); border-radius: 6px; padding: 7px 10px; font-size: 12.5px; display: flex; flex-direction: column; gap: 3px; pointer-events: none; }
.wt-k-popup { display: flex; flex-direction: column; gap: 6px; min-width: 240px; }
.wt-k-gross { font-size: 24px; white-space: nowrap; }
.wt-k-text { max-height: 120px; overflow: auto; }
