/* Notrufabfrage (Skizze sna.html): Kopf 64 · Schrittleiste 40 · Raster 12×12 · Einsatzspalte 390 */
.sna { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 390px; grid-template-rows: 64px 40px 1fr; gap: 6px; }
.sna-kopf { grid-column: 1 / 3; display: flex; align-items: center; gap: 14px; padding: 0 12px; background: var(--p1); border: 1px solid var(--ln); border-radius: 6px; min-width: 0; }
.sna-kopf .nr { font: 800 26px var(--mono); }
.sna-kopf .meta { display: flex; flex-direction: column; font-size: 12.5px; color: var(--mu); line-height: 1.35; white-space: nowrap; }
.sna-kopf .meta b, .sna-kopf .meta .link { color: var(--tx); font-size: 15px; font-weight: 700; }
.sna-kopf .sw { display: flex; flex-direction: column; min-width: 0; }
.sna-kopf .sw b { font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sna-kopf .vs { width: 1px; align-self: stretch; background: var(--ln); margin: 8px 0; flex: none; }
.sna-kopf .akt { margin-left: auto; display: flex; gap: 6px; }
.sna.rea-an .sna-kopf { background: linear-gradient(90deg, color-mix(in srgb, var(--rea) 45%, var(--p1)), var(--rea-bg) 70%); border-color: var(--rea); }
.btn.rea { background: var(--rea); border-color: #ff8a4c; color: #fff; font-weight: 700; }
.btn.ok { background: var(--ok-bg); border-color: var(--ok); }
.rea-kopf { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.rea-titel { font-weight: 800; font-size: 20px; letter-spacing: 1px; white-space: nowrap; }
.rea-zeit { font: 800 40px var(--mono); color: #fff; }
.rea-puls { width: 26px; height: 26px; border-radius: 50%; background: #ff8a4c; animation: rea-puls .6s infinite; flex: none; }
@keyframes rea-puls { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .5; } }
.rea-kopf .meta { color: #ffd0b3; }

.sna-schritte { display: flex; align-items: stretch; gap: 4px; min-width: 0; }
.sna-schritte > button { display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--p1); border: 1px solid var(--ln); border-radius: 6px; color: var(--mu); font-size: 14.5px; white-space: nowrap; cursor: pointer; }
.sna-schritte > button .nm { font: 700 13px var(--mono); background: var(--p3); border-radius: 4px; padding: 1px 6px; color: var(--tx); }
.sna-schritte > button.an { background: var(--ac2); border-color: var(--ac); color: var(--an-tx); }
.sna-schritte > button.gesp { opacity: .5; cursor: not-allowed; }
.sna-schritte .ok { color: var(--ok); } .sna-schritte .warn { color: var(--warn); }
.sna-schritte > button.reat { background: var(--rea); border-color: #ff8a4c; color: #fff; font-weight: 700; }
.sna-schritte > button.reat.an { box-shadow: 0 0 0 2px #fff inset; }
.sna-schritte { overflow-x: auto; scrollbar-width: thin; }
.sna-spalte .sna-nav { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sna-spalte .sna-nav .btn { justify-content: center; min-height: 40px; }
.sna-spalte .sna-nav .hinweis { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--mu2); }

.sna-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(12, minmax(0, 1fr)); gap: 6px; min-height: 0; }
.sna-modul.ausgeblendet { visibility: hidden; }
.sna-modul.ueberlauf-sichtbar, .sna-modul.ueberlauf-sichtbar > .b { overflow: visible; z-index: 5; }
.sna-modul > .b.mitte { justify-content: center; align-items: center; text-align: center; }
.sna-modul > .b.scr { overflow: auto; }
.gross { font-size: 30px; line-height: 1.3; font-weight: 600; white-space: pre-line; }
.vorlesen { font-size: 16.5px; line-height: 1.5; white-space: pre-line; }
.pf { color: var(--warn); font-weight: 700; }
.inp.konflikt { border-color: var(--err); box-shadow: 0 0 0 1px var(--err) inset; }
.fuellen { flex: 1; width: 100%; }
.suche-box { position: relative; flex: 1; display: flex; flex-direction: column; }
.vorschlaege { position: absolute; left: 0; right: 0; top: 34px; z-index: 30; background: var(--p2); border: 1px solid var(--ln2); border-radius: 0 0 6px 6px; box-shadow: 0 10px 24px #000c; }
.vorschlaege .li { cursor: pointer; border-radius: 0; }
.li.sel { background: var(--ac2); }
.sna-suche { padding: 3px 8px !important; }
.typ-stichwort > .b { padding: 6px 10px; }
.typ-stichwort .hinweis { white-space: nowrap; }
.sna-eingang { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.knopf { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 10px 14px; border-radius: 8px; background: var(--p3); border: 1px solid var(--ln2); font-size: 22px; font-weight: 700; cursor: pointer; text-align: left; }
.knopf small { font-size: 12.5px; color: var(--mu); font-weight: 500; }
.knopf.an { background: var(--ac2); border-color: var(--ac); }
.btn.riesig { height: 90px; font-size: 24px; width: 100%; }
.sna-adresse { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 8px 10px; align-content: start; }
.sna-nto { display: flex; flex-direction: column; gap: 8px; }
.sna-nto .chip { align-self: flex-start; }
.sna-nto-felder { display: grid; grid-template-columns: 1fr 1fr 220px; gap: 8px; }
.sna-info { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 12px; align-content: start; }
.karte-platzhalter { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sna-schnellwahl { flex: 1; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: 44px; gap: 5px; align-content: start; }
.sna-sw-leer { display: block; }
.sna-schnellwahl .btn { width: 100%; overflow: hidden; height: 44px; padding: 2px 6px; font-size: 12px; font-weight: 600; line-height: 1.15; white-space: normal; text-align: center; overflow-wrap: anywhere; hyphens: auto; } /* höher, kleiner mit Umbruch (2026-11-19) */
.sna-reiter { gap: 4px; flex-wrap: wrap; }
.sna-reiter .chip, .q .chip, .b .chip { cursor: pointer; }
.sna-reiter-inhalt { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 4px; }
/* Stichwortfrage als Karte: Frage oben (ganz, umbrechend), Antworten darunter über die volle Breite */
.q { display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 6px 8px; border-radius: 4px; background: var(--p2); font-size: 13.5px; }
.q .t { min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
.q > .zeile { justify-content: flex-start !important; }
.q > .inp { align-self: flex-start; max-width: 100%; }
.q.offen { outline: 1px solid var(--warn); background: var(--warn-bg); }
/* beantwortet = grün (Wunsch 2026-11-19): Frage-Zeile und ausgefülltes Feld */
.q.beantwortet { outline: 1px solid var(--ok); background: var(--ok-bg); }
.inp.ausgefuellt { border-color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); background: color-mix(in srgb, var(--ok) 10%, var(--inp)); }
.vorschau { flex: 1; font-size: 12.5px; height: auto; min-height: 30px; padding: 6px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 1.4; }
.vorschau.mehrzeilig { white-space: pre-wrap; max-height: 120px; overflow: auto; }
.sna-schnellraster { display: grid; gap: 5px; flex: 1; min-height: 0; overflow: auto; --emk-min: 44px; }
.sna-schnellraster .emk .z { font-size: 24px; }
.sna-schnellraster .emk .n { font-size: 13px; padding-right: 26px; }
.sna-schnellraster .emk .o { font-size: 11px; padding-right: 26px; }
.sna-emliste { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 4px; }
.sna-emliste .emk { min-height: 52px; flex: none; }
.inp.klein { height: 24px; font-size: 12.5px; padding: 0 6px; }

/* Einsatzspalte */
.sna-spalte { grid-row: 2 / 4; grid-column: 2; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.sna-spalte .pn > .b { gap: 4px; }
.sna-spalte .pn.wachsen { flex: 1; }
.sna-spalte .drop { border: 2px dashed var(--ln2); border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 4px; color: var(--mu2); font-size: 12.5px; min-height: 48px; }
.sna-spalte .drop.mitte { align-items: center; justify-content: center; min-height: 34px; }
.sna-spalte .drop .emk { min-height: 52px; flex: none; }
.spalte-em .emk { flex: 1; }
.sm { font-size: 12.5px; }

/* REA-Reiter */
.rea-pn { border-color: var(--rea); }
.rea-pn > .h { background: var(--rea-bg); color: var(--rea-tx); }
.rea-anleitung { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; overflow: auto; }
.rea-anleitung li { padding: 6px 10px; border-radius: 5px; background: var(--p2); font-size: 14px; display: flex; gap: 10px; cursor: pointer; white-space: pre-line; }
.rea-anleitung li .nr { font-family: var(--mono); min-width: 26px; }
.rea-anleitung li.hinweis-zeile { background: var(--warn-bg); color: var(--warn-tx); }
.rea-anleitung li.aktuell { background: var(--rea-bg); border: 1px solid var(--rea); font-size: 21px; font-weight: 600; line-height: 1.35; padding: 12px 14px; }
.rea-knoepfe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rea-knoepfe .btn { height: 60px; font-size: 17px; font-weight: 700; }
.pn > .b.zeile { flex-direction: row; }

/* ---------- Karte (Skizze karte.html) ---------- */
.kt { position: absolute; inset: 0; display: grid; grid-template-columns: 380px 1fr; gap: 6px; }
.kt-seite { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.kt-seite .pn { min-height: 0; }
.kt-seite .li { cursor: pointer; }
.kt-flaeche { position: relative; border: 1px solid var(--ln); border-radius: 6px; overflow: hidden; }
.kt-karte { position: absolute; inset: 0; background: var(--p3); }
.kt-karte.setzen, .kt-karte.setzen .leaflet-interactive { cursor: crosshair !important; }
.kt-leiste { position: absolute; left: 60px; top: 10px; right: 10px; display: flex; gap: 8px; align-items: center; z-index: 500; pointer-events: none; }
.kt-leiste > * { pointer-events: auto; }
.kt-leiste .grp { display: flex; gap: 4px; background: var(--p1); border: 1px solid var(--ln2); border-radius: 6px; padding: 4px; }
.kt-pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ac2); border: 2px solid #fff; display: grid; place-items: center; box-shadow: 0 2px 6px #0008; }
.kt-pin span { transform: rotate(45deg); font: 800 11px var(--mono); color: #fff; }
.kt-pin.rea { background: var(--rea); }
.kt-pin.fokus { outline: 3px solid #F5C211; }
.kt-pille { background: var(--info-bg) !important; border: 1px solid var(--ac) !important; color: var(--tx) !important; border-radius: 11px !important; font-size: 12px; padding: 1px 9px !important; box-shadow: none !important; }
.kt-pille::before { display: none; }
.leaflet-marker-icon.kt-name { display: none; width: auto !important; height: auto !important; transform-origin: center; white-space: nowrap; background: var(--info-bg); border: 1px solid var(--ac); color: var(--tx); border-radius: 11px; font-size: 12px; padding: 1px 9px; translate: -50% -50%; pointer-events: none; }
.ab-zoom9 .leaflet-marker-icon.kt-name { display: block; }
.ab-zoom9 .leaflet-marker-icon.kt-name.kt-verdeckt { visibility: hidden; } /* Q11: entzerrt (überlappt Pille/Bedienelement) */
.leaflet-marker-icon.kt-name.geteilt { border-color: var(--warn); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--p1); color: var(--tx); border: 1px solid var(--ln2); }
.leaflet-popup-content { margin: 10px 12px; font: 13.5px Inter, system-ui, sans-serif; }
.kt-popup { display: flex; flex-direction: column; gap: 6px; min-width: 260px; }
/* Keine Nähte (weiße/schwarze Linien) zwischen Kartenkacheln: Leaflet 1.9 legt Kacheln mit mix-blend-mode: plus-lighter
   übereinander; durch den CSS-Zoom der Bühne überlappen Nachbarkacheln um Bruchteile eines Pixels → dort addiert sich die
   Helligkeit (weiße Linie), bei Lücken scheint der Hintergrund durch (schwarze Linie). Daher normal mischen und 2 px überlappen (Kantenglättung fällt auf die Nachbarkachel). */
.leaflet-container img.leaflet-tile { mix-blend-mode: normal; width: 258px !important; height: 258px !important; max-width: none !important; }
.leaflet-container { font: inherit; background: var(--p3); isolation: isolate; } /* Leaflet-Ebenen (z-index 400–1000) bleiben in der Karte, Dialoge liegen darüber */
.leaflet-control-attribution { background: color-mix(in srgb, var(--bg) 80%, transparent) !important; color: var(--mu) !important; }
.leaflet-control-attribution a { color: var(--link) !important; }
.leaflet-bar a { background: var(--p2); color: var(--tx); border-color: var(--ln2); }
.leaflet-control-scale-line { background: color-mix(in srgb, var(--bg) 67%, transparent); color: var(--tx); border-color: var(--mu); }
.sna-karte { flex: 1; border-radius: 4px; min-height: 0; }
.sna-modul.roh { display: flex; min-height: 0; min-width: 0; } .sna-modul.roh > .pn { flex: 1; }

/* LST-Fenster (Skizze dialoge.html#lst) */
.lst-fenster { display: flex; flex-direction: column; gap: 10px; }
.lst-m4 { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--warn); background: var(--warn-bg); border-radius: 6px; flex-wrap: wrap; }
.lst-m4 > b { color: var(--warn-tx); white-space: nowrap; }
.lst-m4 .seg { margin-left: auto; }
.lst-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-height: 360px; }
.lst-gebiete { flex-wrap: wrap; gap: 5px; }
.lst-tab td { padding: 4px 8px; }
.lst-tab td:first-child { width: 110px; }
.lst-tab td:last-child { width: 40px; text-align: right; }
.lst-tab tr.notruf .link { font-size: 16px; font-weight: 700; }

/* FwDV 100 Schritt 6: UTM-Gitter, Randbeschriftung, Koordinatenanzeige */
.utm-rand { position: absolute; inset: 0; pointer-events: none; z-index: 450; overflow: hidden; }
.utm-l { position: absolute; font: 700 11px/1.1 system-ui, sans-serif; color: #1d4ed8; background: #ffffffdd; padding: 1px 3px; border-radius: 2px; white-space: nowrap; }
.utm-l small { font-size: 8px; font-weight: 600; }
.utm-l.o { top: 2px; transform: translateX(-50%); }
.utm-l.u { bottom: 2px; transform: translateX(-50%); }
.utm-l.l { left: 2px; transform: translateY(-50%); }
.utm-l.r { right: 2px; transform: translateY(-50%); }
.kt-karte .utm-l.o { top: 52px; }
.kt-karte .utm-l.l { left: 52px; }
.kt-karte .utm-zone { display: none; } /* steht in der Koordinatenanzeige */
.utm-zone { position: absolute; left: 8px; bottom: 34px; font: 600 10.5px system-ui, sans-serif; color: #1d4ed8; background: #ffffffdd; padding: 1px 5px; border-radius: 3px; }
.utm-anzeige { background: #ffffffe6; color: #111; font: 600 11.5px ui-monospace, monospace; padding: 2px 7px; border-radius: 4px; border: 1px solid #0003; }
