/* ═══════════════════════════════════════════════════════════════
   verlauf.css · „Verlauf“ + „Vergleich zum Vormonat“ (L-0046 WP5) – Rechner und Handy
   ALMAS-Webdesign v2: hell, Rot #FF2325 (Flächen) / #D81020 (Text, Knöpfe), weiche mehrschichtige Schatten,
   gerundet, Helvetica Neue, Status-Badges. Eigene Tokens (--vl-*), damit beide Seiten gleich aussehen, egal welches
   Stylesheet sonst geladen ist (wie archiv.css). Kontraste der Badges ≥ 4,5:1. „Auffällig“ ist nie nur Farbe:
   Warnsymbol + Text. Präfix vl-.
   ═══════════════════════════════════════════════════════════════ */

.vl-seite, .vl-m, .vl-vgl, .vl-wahl {
  --vl-rot: #FF2325;
  --vl-rot-tief: #D81020;
  --vl-ink: #15161A;
  --vl-grau: #5C5F66;
  --vl-grau2: #6B6E75;
  --vl-linie: #ECECEF;
  --vl-flaeche: #F6F6F8;
  --vl-karte: #FFFFFF;
  --vl-ok: #147A3D;      --vl-ok-bg: #E5F5EE;
  --vl-warn: #8A5A00;    --vl-warn-bg: #FBF1DD;  --vl-warn-rand: #E9B949;
  --vl-alarm: #C20F1C;   --vl-alarm-bg: #FDE7E8;
  --vl-info: #0057B8;    --vl-info-bg: #E7EEFE;
  --vl-neutral: #4A4D54; --vl-neutral-bg: #EEEEF1;
  --vl-schatten: 0 1px 2px rgba(16,17,22,.05), 0 2px 8px rgba(16,17,22,.06), 0 12px 28px rgba(16,17,22,.05);
  --vl-r: 16px;
  --vl-font: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-family: var(--vl-font);
  color: var(--vl-ink);
  min-width: 0;
}
.vl-seite *, .vl-m *, .vl-vgl *, .vl-wahl * { box-sizing: border-box; }
.vl-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.vl-ic { width: 16px; height: 16px; flex: 0 0 auto; }
.vl-leise { color: var(--vl-grau); font-size: 13px; line-height: 1.45; }
.vl-zahl { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--vl-warn); color: #fff; font-size: 12px; font-weight: 700; }

/* ─── Karte, Überschriften ─── */
.vl-karte { background: var(--vl-karte); border-radius: var(--vl-r); box-shadow: var(--vl-schatten); min-width: 0; }
.vl-h2 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--vl-grau2); }
.vl-h2-gross { font-size: 22px; letter-spacing: -.01em; text-transform: none; color: var(--vl-ink); line-height: 1.2; overflow-wrap: anywhere; }
.vl-h3 { margin: 0; font-size: 16px; font-weight: 700; }

/* ─── Knöpfe, Chips, Links (≥ 44 px Tap-Ziel) ─── */
.vl-knopf {
  appearance: none; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; min-width: 44px; padding: 0 18px; border-radius: 12px; justify-content: center;
  background: var(--vl-flaeche); color: var(--vl-ink); border: 1px solid #DCDCE1; box-shadow: 0 1px 2px rgba(16,17,22,.05);
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.vl-knopf:hover { background: #EDEDF0; border-color: #CFCFD5; }
.vl-knopf:active { transform: translateY(1px); }
.vl-knopf-leise { background: transparent; box-shadow: none; }
.vl-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.vl-chip {
  appearance: none; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--vl-karte); color: var(--vl-grau); border: 1px solid #DCDCE1; box-shadow: 0 1px 2px rgba(16,17,22,.05); max-width: 100%;
  transition: background .15s ease, color .15s ease;
}
.vl-chip:hover { background: var(--vl-flaeche); }
.vl-chip-an, .vl-chip-an:hover { background: var(--vl-rot-tief); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(255,35,37,.28); }
.vl-link {
  appearance: none; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; background: none; border: 0; padding: 0 6px; min-height: 44px; min-width: 44px;
  color: var(--vl-rot-tief); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; text-align: left;
}
.vl-link-weiter { text-decoration: none; }
.vl-link-voll { width: 100%; justify-content: center; margin-top: 4px; }
.vl-knopf:focus-visible, .vl-chip:focus-visible, .vl-link:focus-visible, .vl-lf:focus-visible, .vl-fehlt-k:focus-visible, .vl-mon-k:focus-visible,
.vl-re-link:focus-visible, .vl-m-wahl:focus-visible, .vl-suchfeld:focus-visible, .vl-tab-box:focus-visible {
  outline: 3px solid rgba(216,16,32,.45); outline-offset: 2px;
}

/* ─── Badges (Fläche + Symbol/Text) ─── */
.vl-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3; background: var(--vl-neutral-bg); color: var(--vl-neutral); max-width: 100%; overflow-wrap: anywhere; }
.vl-badge .vl-ic { width: 13px; height: 13px; }
.vl-badge-warn { background: var(--vl-warn-bg); color: var(--vl-warn); }
.vl-badge-auf { background: var(--vl-alarm-bg); color: var(--vl-alarm); }
.vl-badge-ok { background: var(--vl-ok-bg); color: var(--vl-ok); }
/* Veränderung: kleiner Pfeil + Prozent; ab Schwelle Fläche + Warnsymbol */
.vl-d { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--vl-grau); font-variant-numeric: tabular-nums; white-space: nowrap; padding: 1px 4px; border-radius: 6px; }
.vl-d .vl-ic { width: 12px; height: 12px; }
.vl-d-auf { background: var(--vl-alarm-bg); color: var(--vl-alarm); font-weight: 700; padding: 2px 7px; border-radius: 999px; }

/* ─── Hinweisband „Monatsrechnung fehlt“ ─── */
.vl-band { background: var(--vl-warn-bg); border-radius: var(--vl-r); box-shadow: 0 0 0 1.5px var(--vl-warn-rand), var(--vl-schatten); padding: 14px 16px 10px; margin: 0 0 18px; min-width: 0; }
.vl-band-titel { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--vl-warn); }
.vl-band-titel .vl-ic { width: 20px; height: 20px; }
.vl-fehlt-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.vl-fehlt-k {
  appearance: none; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; width: 100%; min-height: 44px; display: flex; align-items: center; gap: 10px;
  padding: 6px 10px; border: 0; border-radius: 12px; background: transparent; color: var(--vl-ink); text-align: left; min-width: 0;
}
.vl-fehlt-k:hover { background: rgba(255,255,255,.65); }
.vl-fehlt-k span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.vl-fehlt-k .vl-ic:first-child { color: var(--vl-warn); }
.vl-fehlt-k .vl-ic:last-child { color: var(--vl-grau2); }
.vl-fehlt-text { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--vl-warn); font-size: 13px; }

/* ─── Rechner: Raster, Liste links, Hauptteil ─── */
.vl-seite { max-width: 1480px; }
.vl-raster { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: 18px; align-items: start; min-width: 0; }
.vl-links { padding: 16px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 12px; max-height: calc(100vh - 100px); min-width: 0; }
.vl-haupt { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.vl-suche { position: relative; }
.vl-suche .vl-ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--vl-grau2); pointer-events: none; }
.vl-suchfeld { width: 100%; min-height: 44px; border: 1px solid #DCDCE1; border-radius: 12px; padding: 0 12px 0 38px; font: inherit; font-size: 15px; background: var(--vl-karte); color: var(--vl-ink); }
.vl-suchfeld:focus { outline: none; border-color: var(--vl-rot-tief); box-shadow: 0 0 0 3px rgba(216,16,32,.14); }
.vl-lf-box { overflow-y: auto; min-height: 0; margin: 0 -6px; padding: 0 6px; }
.vl-lf-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.vl-lf {
  appearance: none; font: inherit; cursor: pointer; width: 100%; min-height: 52px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2px 6px;
  padding: 8px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--vl-ink); text-align: left; min-width: 0;
}
.vl-lf:hover { background: var(--vl-flaeche); }
.vl-lf-an { background: var(--vl-alarm-bg); border-color: rgba(216,16,32,.25); }
.vl-lf-an .vl-lf-name { color: var(--vl-alarm); }
.vl-lf-name { grid-column: 1; font-weight: 700; font-size: 14.5px; overflow-wrap: anywhere; min-width: 0; }
.vl-lf-meta { grid-column: 1; font-size: 12.5px; color: var(--vl-grau); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vl-lf .vl-badge { grid-column: 2; grid-row: 1 / span 2; }
.vl-lf > .vl-ic { grid-column: 3; grid-row: 1 / span 2; color: var(--vl-grau2); }
.vl-leer-klein { padding: 10px 6px; margin: 0; }

.vl-kopf { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; }
.vl-kopf-titel { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 240px; }
.vl-kopf-regler { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-width: 0; }

/* ─── Matrix ─── */
.vl-matrix { padding: 4px 0 12px; overflow: hidden; }
.vl-tab-box { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; border-radius: var(--vl-r) var(--vl-r) 0 0; }
.vl-tab { border-collapse: separate; border-spacing: 0; width: auto; min-width: max-content; font-size: 14px; }
.vl-tab th, .vl-tab td { padding: 10px 12px; text-align: right; vertical-align: top; border-bottom: 1px solid var(--vl-linie); }
.vl-th-art, .vl-td-art { position: sticky; left: 0; z-index: 2; background: var(--vl-karte); text-align: left !important; min-width: 190px; max-width: 260px; box-shadow: 1px 0 0 var(--vl-linie); }
.vl-tab thead th { background: var(--vl-karte); font-size: 12.5px; font-weight: 700; color: var(--vl-grau); vertical-align: bottom; white-space: nowrap; min-width: 124px; }
.vl-tab thead .vl-th-art { z-index: 3; min-width: 190px; }
.vl-mon-k { appearance: none; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--vl-ink); display: block; margin-left: auto; text-decoration: underline; text-decoration-color: #C9CAD0; text-underline-offset: 4px; }
.vl-mon-k:hover { background: var(--vl-flaeche); }
.vl-th-an .vl-mon-k { background: var(--vl-alarm-bg); color: var(--vl-alarm); }
.vl-th-mon .vl-badge { margin: 2px 0 4px; display: flex; width: fit-content; margin-left: auto; }
.vl-art-name { display: block; font-weight: 700; overflow-wrap: anywhere; }
.vl-art-sum { display: block; font-size: 12px; color: var(--vl-grau); font-weight: 600; margin-top: 2px; }
.vl-z { white-space: nowrap; min-width: 124px; }
.vl-bet { display: block; font-weight: 700; font-variant-numeric: tabular-nums; }
.vl-mng { display: block; font-size: 12px; color: var(--vl-grau); font-variant-numeric: tabular-nums; margin-top: 1px; }
.vl-dl { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px; margin-top: 4px; }
.vl-z-auf { background: #FFF6F6; }
.vl-z-leer { color: #9A9CA3; text-align: center !important; }
/* Lücke: ganze Spalte gestreift, damit „Rechnung fehlt“ nicht wie eine Null aussieht */
.vl-luecke { background: repeating-linear-gradient(135deg, #FBF1DD, #FBF1DD 6px, #FFFBF3 6px, #FFFBF3 12px) !important; color: var(--vl-warn); }
.vl-z-fehlt { text-align: center !important; white-space: normal; }
.vl-summe .vl-td-art, .vl-summe td { background: var(--vl-flaeche); border-bottom: 0; font-weight: 700; }
.vl-summe .vl-luecke { background: repeating-linear-gradient(135deg, #FBF1DD, #FBF1DD 6px, #FFFBF3 6px, #FFFBF3 12px) !important; }
.vl-legende { display: flex; align-items: center; gap: 6px; margin: 10px 16px 4px; flex-wrap: wrap; }
.vl-legende .vl-ic { color: var(--vl-alarm); }

.vl-monat-panel { padding: 16px 20px; }
.vl-monat-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.vl-re-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vl-re-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 8px 0; border-bottom: 1px solid var(--vl-linie); min-width: 0; font-size: 14px; }
.vl-re-liste li:last-child { border-bottom: 0; }
.vl-re-link { font-weight: 700; color: var(--vl-rot-tief); text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; padding-right: 6px; }

/* ─── Meldungen, Skeleton ─── */
.vl-meldung { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--vl-r); background: var(--vl-karte); box-shadow: var(--vl-schatten); min-width: 0; flex-wrap: wrap; }
.vl-meldung .vl-ic { width: 22px; height: 22px; margin-top: 1px; }
.vl-meldung-text { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.45; }
.vl-meldung-fehler { background: var(--vl-alarm-bg); box-shadow: 0 0 0 1.5px rgba(255,35,37,.4), var(--vl-schatten); }
.vl-meldung-fehler > .vl-ic, .vl-meldung-fehler strong { color: var(--vl-alarm); }
.vl-meldung-leer > .vl-ic { color: var(--vl-info); }
.vl-meldung:focus { outline: none; }
.vl-meldung:focus-visible { outline: 3px solid rgba(216,16,32,.45); outline-offset: 2px; }
.vl-skel-box { display: flex; flex-direction: column; gap: 10px; opacity: 0; animation: vl-ein .2s ease .15s forwards; }
.vl-skel { height: 64px; border-radius: var(--vl-r); background: linear-gradient(90deg, #EEEEF1, #F6F6F8, #EEEEF1); background-size: 200% 100%; animation: vl-shimmer 1.2s infinite; }
@keyframes vl-shimmer { to { background-position: -200% 0; } }
@keyframes vl-ein { to { opacity: 1; } }

/* ─── Vergleich zum Vormonat (Freigabe-Dialog, Handy-Detail, „Meine Rechnungen“) ─── */
.vl-vgl-platz:empty { display: none; }
.vl-vgl-platz { margin: 0 0 16px; min-width: 0; }
.vl-vgl { background: var(--vl-flaeche); border: 1px solid var(--vl-linie); border-radius: 14px; padding: 12px 14px 6px; min-width: 0; font-size: 13.5px; line-height: 1.45; text-align: left; }
.vl-vgl-auf { border-left: 4px solid var(--vl-warn-rand); } /* ruhig: neutrale Fläche, nur ein amber Rand */
.vl-vgl-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.vl-vgl-titel { margin: 0; font-size: 14px; font-weight: 700; color: var(--vl-ink); }
.vl-vgl-sub { margin: 4px 0 6px; color: var(--vl-grau); font-size: 13px; }
.vl-vgl-warn { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; padding: 8px 10px; border-radius: 0; background: transparent; color: var(--vl-warn); box-shadow: none; }
.vl-vgl-warn .vl-ic { margin-top: 2px; }
.vl-vgl-warn div { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.vl-vgl-warn span { color: var(--vl-grau); font-size: 12.5px; }
.vl-vgl-liste { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.vl-vgl-punkt { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; min-width: 0; overflow-wrap: anywhere; color: var(--vl-ink); font-weight: 400; }
.vl-vgl-pf { flex: 0 0 18px; text-align: center; font-size: 11px; font-weight: 700; color: var(--vl-warn); }
.vl-vgl:not(.vl-vgl-alle) .vl-extra { display: none; }
.vl-vgl-ruhig { margin: 6px 0 4px; color: var(--vl-grau); }
.vl-vgl-fuss { display: flex; justify-content: flex-end; margin-top: 2px; }
.vl-vgl .vl-link { font-size: 13.5px; }

/* ─── Handy ─── */
.vl-m { padding: 2px 0 8px; display: flex; flex-direction: column; gap: 12px; }
.vl-m .vl-band { margin: 0; }
.vl-m-wahl { margin-bottom: 12px;
  appearance: none; font: inherit; cursor: pointer; width: 100%; min-height: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 8px;
  padding: 8px 14px; border: 1px solid #DCDCE1; border-radius: 14px; background: var(--vl-karte); box-shadow: var(--vl-schatten); text-align: left; color: var(--vl-ink);
}
.vl-m-wahl-k { grid-column: 1; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--vl-grau); }
.vl-m-wahl-v { grid-column: 1; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; min-width: 0; }
.vl-m-wahl .vl-ic { grid-column: 2; grid-row: 1 / span 2; color: var(--vl-grau2); }
.vl-m .vl-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; margin: 0 -2px; }
.vl-m .vl-chips::-webkit-scrollbar { display: none; }
.vl-m .vl-chip { flex: 0 0 auto; }
.vl-m-stand { margin: 2px 2px 0; }
.vl-m-karten { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vl-m-karte { background: var(--vl-karte); border: 1px solid var(--vl-linie); border-radius: var(--vl-r); box-shadow: var(--vl-schatten); padding: 14px; min-width: 0; }
.vl-m-karte-auf { box-shadow: 0 0 0 1.5px rgba(255,35,37,.45), var(--vl-schatten); }
.vl-m-karte-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.vl-m-karte-titel { margin: 0; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; min-width: 0; flex: 1 1 140px; }
.vl-m-karte-unter { margin: 2px 0 0; font-size: 12.5px; color: var(--vl-grau); font-variant-numeric: tabular-nums; }
.vl-rows { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; min-width: 0; }
.vl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--vl-linie); min-width: 0; }
.vl-row:first-child { border-top: 0; }
.vl-row-m { font-size: 13.5px; font-weight: 700; color: var(--vl-grau); }
.vl-row-v { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.vl-bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--vl-neutral-bg); overflow: hidden; }
.vl-bar i { display: block; height: 100%; border-radius: 999px; background: #B9BBC2; }
.vl-row-auf .vl-bar i { background: var(--vl-rot); }
.vl-row-z { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.vl-row-mng { font-size: 12.5px; color: var(--vl-grau); font-variant-numeric: tabular-nums; }
.vl-row .vl-dl { margin: 0; }
.vl-row-luecke { background: repeating-linear-gradient(135deg, #FBF1DD, #FBF1DD 6px, #FFFBF3 6px, #FFFBF3 12px); border-radius: 10px; padding: 9px 10px; margin: 4px 0; border-top: 0; }
.vl-row-luecke .vl-row-v { text-align: right; }
.vl-wahl { padding: 0 0 6px; }
.vl-suche-m { margin: 0 0 12px; }

@media (max-width: 1180px) {
  .vl-raster { grid-template-columns: minmax(0, 1fr); }
  .vl-links { position: static; max-height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .vl-skel { animation: none; }
  .vl-skel-box { animation: none; opacity: 1; }
  .vl-knopf, .vl-chip { transition: none; }
}

/* ─── Handy: Sheets über dem Detail (z-index wie „Abwesenheit ändern“) und Platz des Vergleichs im Detail ─── */
.sheet-ov.m-ov3 { z-index: 64; }
.sheet.m-sheet3 { z-index: 65; }
.sheet .vl-vgl-platz { margin: 12px 20px 4px; }

/* Chip-Gruppen (Rechner: sichtbare Beschriftung) */
.vl-gruppe { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.vl-gruppe-k { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--vl-grau); }
.vl-kopf-regler { gap: 10px 22px; }
.vl-m .vl-gruppe { display: block; }

/* Screenreader-Texte sind absolut positioniert: der Scroll-Bereich muss ihr Bezugsrahmen sein, sonst ragen sie über seinen Rand
   und erzeugen einen seitlichen Überlauf der ganzen Seite (gemessen bei 1024 px). */
.vl-tab-box, .vl-lf-box, .vl-m .vl-chips, .vl-seite, .vl-m, .vl-vgl { position: relative; }

/* ─── WP5 Runde 2 ─── */
/* K1: im waagerechten Chip-Scroller würde der rote Schein abgeschnitten (rosa Rechteck) – dort ohne Schein */
.vl-m .vl-chip-an, .vl-m .vl-chip-an:hover { box-shadow: none; }
/* U-S4: Band am Handy eingeklappt */
.vl-band-zu { padding: 4px 8px; }
.vl-band-h { margin: 0; }
.vl-band-knopf { appearance: none; font: inherit; font-weight: 700; font-size: 15px; color: var(--vl-warn); background: transparent; border: 0; cursor: pointer; width: 100%; min-height: 48px; display: flex; align-items: center; gap: 8px; text-align: left; padding: 0 6px; border-radius: 12px; }
.vl-band-knopf .vl-ic { width: 20px; height: 20px; }
.vl-band-knopf:focus-visible { outline: 3px solid rgba(216,16,32,.45); outline-offset: 2px; }
.vl-band-auf { margin-left: auto; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.vl-m .vl-band:not(.vl-band-zu) .vl-band-h { margin-bottom: 4px; }
/* U-S2: Teilmonat */
.vl-teil { display: inline-block; margin-top: 3px; padding: 1px 8px; border-radius: 999px; background: var(--vl-neutral-bg); color: var(--vl-neutral); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
/* U-M1: Summe im Kasten hervorgehoben, immer sichtbar */
.vl-vgl-summe { font-weight: 700; }
.vl-vgl-summe .vl-vgl-pf { font-size: 13px; }
/* U-S5: Hinweis zum gewählten Lieferanten */
.vl-meldung-hinweis { background: var(--vl-info-bg); box-shadow: none; }
.vl-meldung-hinweis > .vl-ic { color: var(--vl-info); }
.vl-haupt > .vl-meldung-hinweis, .vl-m > div > .vl-meldung-hinweis { margin-bottom: 12px; }
/* Kasten unter den Knöpfen im Freigabe-Dialog */
#approveDialog .vl-vgl-platz { margin: 0 0 14px; }

/* Runde 3 (Codex S6): Freigabe-Dialog oben statt vertikal zentriert – der nachgeladene Vergleichs-Kasten wächst nach unten, Knöpfe und Felder darüber bleiben stehen */
#approveDialog.almas-modal-overlay { align-items: flex-start; padding-top: 6vh; }
#approveDialog .almas-modal { max-height: 88vh; }

/* Feinschliff nach Abnahme */
.vl-vgl-summe { font-weight: 700; }
.vl-vgl-summe .vl-vgl-pf { color: var(--vl-ink); }
.vl-kopf { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; }
.vl-kopf-zeile { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-width: 0; }
