

.iv-flaeche {
  flex: 1;
  min-height: 0;
  overflow: hidden auto;
  padding: 18px 20px 40px;
  color: var(--text);
  font-family: var(--schrift);
}

.iv-kopf {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.iv-mandantname { font-size: 0.85rem; color: var(--iv-leise); }

.iv-titel { margin: 0; font-size: 1.3rem; color: var(--marke-dunkel); }
.iv-waehler { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.iv-waehlerlabel { font-weight: 600; font-size: 0.9rem; }
.iv-mandantwahl { min-width: 240px; }
.iv-mandantname { color: var(--text-mute); }

.iv-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.iv-navknopf {
  border: 1px solid var(--rand);
  background: var(--flaeche);
  border-radius: 6px;
  padding: 7px 14px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.iv-navknopf.aktiv {
  background: var(--marke-soft);
  border-color: var(--marke);
  color: var(--marke-dunkel);
  font-weight: 600;
}

.s-modulnav .iv-nav { flex-direction: column; flex-wrap: nowrap; gap: 2px; padding: 10px; }
.s-modulnav .iv-navknopf {
  width: 100%; text-align: left; border: 0; border-left: 3px solid transparent;
  border-radius: var(--radius-m); padding: 8px 10px; font-size: 0.93rem; background: none;
}
.s-modulnav .iv-navknopf:hover { background: var(--hover); }
.s-modulnav .iv-navknopf.aktiv {
  background: var(--marke-soft); color: var(--marke-dunkel); font-weight: 600;
  border-left-color: var(--marke);
}

.iv-meldung {
  background: var(--signal-info-soft);
  border-left: 3px solid var(--signal-info);
  padding: 9px 13px;
  border-radius: 4px;
  margin: 0 0 14px;
  font-size: 0.93rem;
}

.iv-werkzeuge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.iv-suche { position: relative; display: block; min-width: 220px; flex: 0 1 280px; }
.iv-suche-lupe {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--text-mute); pointer-events: none;
}
.iv-suche .iv-suche-feld { width: 100%; padding-left: 32px; box-sizing: border-box; }
.iv-auswahlzahl { color: var(--text-mute); font-size: 0.9rem; }

.iv-filter {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px 14px;
  background: var(--panel);
  border: 1px solid var(--rand);
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.iv-filterfeld .ut-feld { width: 100%; }
.iv-filterfeld .key-label { margin-bottom: 4px; font-size: 0.82rem; }

.iv-tabelle {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--panel);
}
.iv-tabelle th,
.iv-tabelle td {
  border-bottom: 1px solid var(--rand);
  padding: 7px 9px;
  text-align: left;
  vertical-align: top;
}
.iv-tabelle thead th {
  background: var(--chip);
  position: sticky;
  top: 0;

  z-index: 1;
}
.iv-spalte-wahl { width: 32px; }
.iv-zahlen { white-space: nowrap; color: var(--text-mute); font-variant-numeric: tabular-nums; }
.iv-tabelle .ut-marke { margin-left: 8px; }

.iv-sortknopf {
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.iv-fuss {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--text-mute);
  font-size: 0.9rem;
}
.iv-seitengroesse { margin-left: auto; width: auto; }

.id-detail { padding-bottom: 40px; }

.id-kopf { display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 28px; }
.id-kopf > .ut-btn { margin-top: 2px; }
.id-kopf-mitte { flex: 1; min-width: 0; }
.id-kopf-zeile { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.id-kopf-titel { margin: 0; font-size: 1.5rem; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.id-kopf-unterzeile { margin: 3px 0 0; font-size: 0.88rem; color: var(--iv-leise);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.id-kopf-rechts { margin-left: auto; flex-shrink: 0; display: flex; align-items: center; gap: 8px; }
.id-kopfknoepfe { display: flex; gap: 8px; }

.id-schalter { display: flex; align-items: center; gap: 6px; font-size: 0.92rem; margin-top: 16px; }

.id-zugangscode { margin: 4px 0 0; font-size: 0.85rem; color: var(--ut-grau, #5b6770); }
.id-zugangscode code { font-family: ui-monospace, monospace; letter-spacing: 0.08em; }

.id-mailvorschau { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 12px;
  max-width: 720px; }
.id-mail-kopf { display: flex; gap: 8px; font-size: 0.85rem; }
.id-mail-schluessel { min-width: 88px; color: var(--ut-grau, #5b6770); }
.id-mail-text { white-space: pre-wrap; font-family: ui-monospace, monospace; font-size: 0.8rem;
  max-height: 40vh; overflow: auto; margin: 6px 0 0; padding: 10px;
  border: 1px solid var(--iv-rand, #e4e4e7); border-radius: 6px; }
.id-mail-gruende { margin: 0 0 6px; padding-left: 18px; color: #b45309; }

.id-koerper { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 768px) { .id-koerper { flex-direction: row; } }
@media (min-width: 768px) { .id-seite { width: 16rem; flex-shrink: 0; } }
.id-abschnittsnav {
  border: 1px solid var(--iv-rand); border-radius: 16px; padding: 16px; background: #fafafa;
}
@media (min-width: 768px) {

  .id-abschnittsnav { position: sticky; top: 16px; max-height: calc(100vh - 2rem); overflow: hidden auto; }
}
.id-abschnittsnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.id-navpunkt {
  display: block; width: 100%; text-align: left; border: 0; background: none; cursor: pointer;
  padding: 8px 12px; border-radius: var(--radius-m); font: inherit; font-size: 0.88rem; color: #3f3f46;
  transition: background 0.12s, color 0.12s;
}
.id-navpunkt:hover { background: #fff; color: var(--iv-tuerkis); }
.id-navpunkt.aktiv { background: #fff; color: var(--iv-tuerkis); font-weight: 500; }
.id-inhalt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 32px; }

.id-abschnitt { border-radius: 16px; padding: 24px; scroll-margin-top: 16px; }
.id-abschnitt .iv-karte-kopf { border-bottom: 0; padding-bottom: 0; margin-bottom: 20px; }

.id-felder { display: grid; grid-template-columns: 1fr; gap: 14px 24px; }
@media (min-width: 640px) { .id-felder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .id-felder { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.id-anzeige { min-width: 0; }

.id-wert { white-space: pre-line; }
.id-felder .id-feldzeile--breit { grid-column: 1 / -1; }
textarea.iv-mitwachsend { resize: none; overflow-y: auto; min-height: 0; }
.id-feldfehler { margin: 4px 0 0; font-size: 0.78rem; color: var(--signal-gefahr); }
.id-beschriftung { font-size: 0.75rem; color: var(--iv-tuerkis); margin-bottom: 2px; }
.id-wert { font-size: 0.88rem; color: #18181b; overflow-wrap: anywhere; }
.id-unterueberschrift { margin: 24px 0 12px; font-size: 0.9rem; font-weight: 500; color: var(--iv-leise); }
.id-standortkarte { width: 100%; height: 400px; border-radius: var(--radius-m); box-shadow: var(--schatten-1); }
.id-kartenhinweis { margin: 8px 0 0; font-size: 0.75rem; color: var(--iv-leise); }
.id-kartenhinweis:empty { display: none; }

.iv-menue-huelle { position: relative; }
.iv-menue {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 240px;
  background: var(--flaeche); border: 1px solid var(--iv-rand); border-radius: var(--radius-l);
  box-shadow: var(--schatten-2); padding: 6px;
}
.iv-menue-eintrag {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; cursor: pointer;
  border: 0; background: none; font: inherit; font-size: 0.88rem; color: var(--text);
  padding: 8px 10px; border-radius: var(--radius-m);
}
.iv-menue-eintrag:hover { background: #f4f4f5; }
.iv-menue-trenner { height: 1px; background: var(--iv-rand); margin: 6px 4px; }
.iv-rueckfrage-karte { padding: 22px 24px 18px; }

.id-ueberschrift {
  font-weight: 600;
  color: var(--marke-dunkel);
  margin: 16px 0 6px;
}
.id-grundlage { display: flex; gap: 10px; }
.id-begruendungen { margin: 6px 0; padding-left: 18px; color: var(--text-leise); }
.id-kommentar { white-space: pre-wrap; }

.id-ueberschritten { color: var(--signal-gefahr); font-weight: 600; }

.id-oeffnen { color: var(--marke-dunkel); text-align: left; }
.id-oeffnen:hover { text-decoration: underline; }

.id-liste { display: flex; flex-direction: column; gap: 12px; }
.id-leer { margin: 0; font-size: 0.88rem; color: #a1a1aa; }
.id-zeile { padding: 12px; border-radius: 12px; background: #fafafa;
            display: flex; flex-direction: column; gap: 12px; }
.id-zeile--neu { background: rgba(240, 253, 250, 0.3); border: 1px dashed #99f6e4; }
@media (min-width: 1024px) { .id-zeile .id-felder--eingabe { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.id-zeilenknoepfe { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.id-papierkorb svg { color: #ef4444; }
.id-ghs-liste { display: flex; flex-wrap: wrap; gap: 6px 14px; }

.ia-flaeche { display: flex; flex-direction: column; gap: 14px; }
.ia-inhalt { display: flex; flex-direction: column; gap: 14px; }

.ia-tabelle tr.ia-erledigt { opacity: 0.5; }

.ia-tabelle { font-size: 0.8rem; }
.iv-tabelle.ia-tabelle th,
.iv-tabelle.ia-tabelle td { padding: 6px 7px; font-size: inherit; }
.ia-tabelle .iv-spaltenkopf { gap: 4px; }
.ia-tabelle .iv-spalte-mitte { white-space: nowrap; }
.ia-tabelle .ia-leise,
.ia-tabelle .ia-betriebsstaette { font-size: inherit; }
.ia-tabelle .ia-unternehmen { min-width: 11rem; }
.ia-tabelle .ia-zeilenknoepfe { gap: 6px; }
.ia-tabelle .ia-zeilenknoepfe .ut-btn { padding: 3px 8px; font-size: 0.78rem; }
.ia-tabelle td { vertical-align: middle; }
.ia-unternehmen { min-width: 15.6rem; white-space: normal; }
.ia-firmenname { font-weight: 500; color: #18181b; }
.ia-betriebsstaette { display: block; font-size: 0.875rem; color: #71717a; }
.ia-umbruch { white-space: normal; }
.ia-leise { font-size: 0.875rem; color: #52525b; }
.ia-ohne-umbruch { white-space: nowrap; }
.ia-zeilenknoepfe { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.ia-zeilenknoepfe .ut-btn { padding: 4px 10px; font-size: 0.85rem; }
.ia-statuswahl { max-width: 12rem; }
.ia-kommentarfeld { max-width: 32rem; width: 100%; margin-bottom: 12px; }
.ia-vorformatiert { white-space: pre-line; }
.ia-loeschwege { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.ia-loeschwege .ut-btn { width: 100%; justify-content: center; }

.ii-bereich { display: flex; flex-direction: column; gap: 8px;
  border: 1px solid #e6ebee; border-radius: 6px; padding: 12px; }
.ii-ergebnis { display: flex; flex-direction: column; gap: 6px; }
.ii-ergebnis .iv-tabelle:empty { display: none; }

.iv-trenner {
  border: 0;
  border-top: 1px solid var(--ut-linie, #d8dde3);
  margin: 20px 0 12px;
}

.ut-btn-warnung {
  border-color: var(--signal-gefahr);
  color: var(--signal-gefahr);
}

.ut-btn-warnung:hover {
  background: var(--signal-gefahr);
  color: #fff;
}

.ii-bestaetigung .iv-meldung {
  background: var(--signal-gefahr-soft);
  border-left-color: var(--signal-gefahr);
}

.id-dokumente {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--ut-linie, #d8dde3);
}

.id-dok-hochladen {
  display: flex; flex-direction: column; gap: 10px; margin: 8px 0 12px;
  padding: 16px; border-radius: 12px; background: #f4f4f5; border: 1px dashed transparent;
}
.id-dok-hochladen--ziel { border-color: var(--iv-tuerkis); background: var(--iv-tuerkis-soft); }
.id-dok-hochladen .ut-feld { max-width: 520px; }
.id-dok-hochladen-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.id-dok-formate { margin: 0; font-size: 0.78rem; color: var(--iv-leise); }
.id-dok-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.id-dok {
  display: flex; flex-direction: column; gap: 12px; padding: 12px 14px;
  border-radius: 12px; background: #fafafa; border: 1px solid var(--iv-rand);
}
.id-dok-kopf { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; min-width: 0; }
.id-dok-symbol {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
}
.id-dok-symbol--pdf { background: #fee2e2; color: #b91c1c; }
.id-dok-symbol--bild { background: var(--iv-tuerkis-soft); color: var(--iv-tuerkis-dunkel); }
.id-dok-symbol--tabelle { background: #dcfce7; color: #15803d; }
.id-dok-name { flex: 1 1 200px; min-width: 0; font-weight: 500; color: #18181b; overflow-wrap: anywhere; }
.id-dok-angaben { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 16px; }
.id-dok-angabe { min-width: 0; }
.id-dok-angabe--breit { grid-column: span 2; }
.id-dok-angabe .id-wert { white-space: pre-line; overflow-wrap: anywhere; }

.id-dok-plan { margin: 6px 0 0; font-size: 0.82rem; color: #18181b; }
.id-dok-plan--aufbereiten .id-dok-plan-satz { color: var(--iv-leise); font-style: italic; }
.id-dok-plan--fehlgeschlagen .id-dok-plan-satz { color: var(--signal-gefahr); }
.id-dok-plan-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; }
.id-dok-plan-zeile .id-dok-plan { margin: 0; }

.ip-abdeckung { position: fixed; inset: 0; z-index: 2400; background: rgba(15, 23, 42, 0.55);
  display: flex; align-items: center; justify-content: center; }
.ip-fenster { background: #fff; border-radius: 10px; width: calc(100vw - 48px); height: calc(100vh - 48px);
  display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); overflow: hidden auto; }
.ip-kopf { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #e4e4e7; }
.ip-titel { font-size: 1rem; font-weight: 600; margin: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ip-schritte { display: flex; gap: 6px; list-style: none; margin: 0 auto 0 0; padding: 0; }
.ip-schritt button { border: 1px solid #d4d4d8; background: #fff; border-radius: 999px; padding: 4px 12px; cursor: pointer; font: inherit; font-size: 0.85rem; }
.ip-schritt--aktiv button { background: #0d9488; border-color: #0d9488; color: #fff; }
.ip-zu { border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #52525b; }
.ip-meldung { margin: 8px 16px 0; padding: 8px 12px; border-radius: 6px; background: #fef2f2; color: #991b1b; font-size: 0.88rem; }
.ip-koerper { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 12px 16px; gap: 10px; }
.ip-fuss { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid #e4e4e7; }
.ip-fuss-rechts, .ip-fuss-links { display: flex; gap: 8px; }
.ip-hinweis { margin: 0; color: #3f3f46; font-size: 0.9rem; }
.ip-hinweis--klein { font-size: 0.8rem; color: var(--iv-leise); }
.ip-seiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; overflow: auto; }
.ip-seite { border: 2px solid #e4e4e7; border-radius: 8px; background: #fafafa; padding: 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font: inherit; }
.ip-seite--gewaehlt { border-color: #0d9488; background: #f0fdfa; }
.ip-seite-bild img { max-width: 100%; max-height: 220px; display: block; }
.ip-zuschnitt { position: relative; flex: 1; min-height: 0; align-self: center; display: inline-block; max-width: 100%; }
.ip-zuschnitt-bild { display: block; max-width: 100%; max-height: calc(100vh - 230px); user-select: none; }
.ip-zuschnitt-rahmen { position: absolute; border: 2px solid #0d9488; box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.45); cursor: move; touch-action: none; }
.ip-zuschnitt { overflow: hidden; }
.ip-zgriff { position: absolute; width: 14px; height: 14px; background: #fff; border: 2px solid #0d9488; border-radius: 3px; }
.ip-zgriff--n { top: -8px; left: calc(50% - 7px); cursor: ns-resize; }
.ip-zgriff--s { bottom: -8px; left: calc(50% - 7px); cursor: ns-resize; }
.ip-zgriff--w { left: -8px; top: calc(50% - 7px); cursor: ew-resize; }
.ip-zgriff--o { right: -8px; top: calc(50% - 7px); cursor: ew-resize; }
.ip-zgriff--nw { left: -8px; top: -8px; cursor: nwse-resize; }
.ip-zgriff--no { right: -8px; top: -8px; cursor: nesw-resize; }
.ip-zgriff--sw { left: -8px; bottom: -8px; cursor: nesw-resize; }
.ip-zgriff--so { right: -8px; bottom: -8px; cursor: nwse-resize; }
.ip-einpassen { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 260px; gap: 12px; }
.ip-karte { min-height: 0; height: 100%; border-radius: 8px; }
.ip-steuerung { display: flex; flex-direction: column; gap: 12px; }
.ip-feld { display: flex; flex-direction: column; gap: 4px; }
.ip-knopfpaar { display: flex; gap: 8px; }
.ip-schalter { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.ip-wert { font-size: 0.85rem; color: #3f3f46; }
.ip-planbild { cursor: move; touch-action: none; image-rendering: auto; }
.ip-griff { background: #fff; border: 2px solid #0d9488; border-radius: 3px; box-sizing: border-box; }
.ip-griff--ol, .ip-griff--ur { cursor: nwse-resize; }
.ip-griff--or, .ip-griff--ul { cursor: nesw-resize; }
.ip-drehgriff { background: #0d9488; border: 2px solid #fff; border-radius: 50%; box-sizing: border-box; cursor: grab; box-shadow: 0 0 0 1px #0d9488; }

.ip-steuerung { overflow-y: auto; }
.ip-knopfreihe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ip-knopfreihe .ut-btn { padding-left: 4px; padding-right: 4px; justify-content: center; font-variant-numeric: tabular-nums; }
.ip-karte--drehpunkt, .ip-karte--drehpunkt .ip-planbild { cursor: crosshair; }
.ip-fadenkreuz { pointer-events: none; }
.ip-fadenkreuz::before, .ip-fadenkreuz::after { content: ""; position: absolute; background: #db2777; box-shadow: 0 0 0 1.5px #fff; }
.ip-fadenkreuz::before { left: 21px; top: 0; width: 2px; height: 44px; }
.ip-fadenkreuz::after { top: 21px; left: 0; width: 44px; height: 2px; }
.leaflet-pane.ip-netzscheibe { z-index: 450; pointer-events: none; }
.leaflet-pane.ip-netzscheibe * { pointer-events: none !important; }
.ip-schachtname, .ip-einleittipp { background: rgba(17, 24, 39, 0.78); color: #fef9c3; border: 0; box-shadow: none; padding: 1px 4px; font-size: 11px; }
.ip-schachtname::before, .ip-einleittipp::before { display: none; }
.ip-einleittipp { background: #be185d; color: #fff; font-weight: 600; }
.id-dok-knoepfe { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
@media (max-width: 560px) {
  .id-dok-angabe--breit { grid-column: auto; }
  .id-dok-knoepfe { justify-content: flex-start; }
}

.db-flaeche { display: flex; flex-direction: column; gap: 16px; }
.db-kopf { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 4px; }

.iv-kopf-zusatz { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; }
.db-kopfzeile { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.db-keine { font-size: 0.85rem; color: var(--signal-warn); }
.db-listenverweis { font-size: 0.88rem; color: var(--iv-tuerkis); text-decoration: underline; }
.db-verortung { color: var(--iv-leise); font-size: 0.85rem; }

.iv-testsystem { display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
                 padding: 8px 12px; border-radius: 8px; border: 1px solid var(--signal-info);
                 border-left-width: 4px; background: var(--signal-info-soft);
                 color: var(--signal-info); font-size: 0.88rem; font-weight: 600; }
.iv-testsystem.hidden { display: none; }
.iv-testsystem .iv-symbol { flex: none; }

.iv-testsystem-texte { display: flex; flex-direction: column; gap: 4px; }
.iv-testsystem-bestaetigung { font-weight: 400; }
.iv-testsystem-bestaetigung.hidden, .iv-testsystem-erster.hidden { display: none; }
.iv-testsystem-knopf { border: 0; background: none; padding: 0; font: inherit; font-weight: 600;
                       color: inherit; text-decoration: underline; cursor: pointer; }
.iv-testsystem-knopf:disabled { opacity: 0.6; cursor: default; }
.db-fehlend { color: var(--signal-warn); }

.db-filter { display: grid; grid-template-columns: 1fr; gap: 16px; }

.db-schnellfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.db-schnellfilter:empty { display: none; }
.db-schnellfilter-titel { font-size: 0.85rem; font-weight: 600; margin-right: 4px; }
@media (min-width: 768px) { .db-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .db-filter { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.db-filter .ut-feld { width: 100%; box-sizing: border-box; }

.iv-mehrfach { position: relative; }
.iv-mehrfach-knopf { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  text-align: left; cursor: pointer; background: var(--flaeche); }
.iv-mehrfach-anzeige { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iv-mehrfach-leer { color: var(--iv-leise); }
.iv-mehrfach-liste {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30;
  max-height: 280px; overflow: hidden auto;
  background: var(--flaeche); border: 1px solid var(--iv-rand); border-radius: var(--radius-l);
  box-shadow: var(--schatten-2); padding: 6px;
}
.iv-mehrfach-suche { width: 100%; box-sizing: border-box; margin-bottom: 6px; }
.iv-mehrfach-zeile { display: flex; align-items: center; gap: 8px; padding: 6px 8px;
  border-radius: var(--radius-s); cursor: pointer; font-size: 0.88rem; }
.iv-mehrfach-zeile:hover { background: #f4f4f5; }

.db-pfeildefs { position: absolute; }
.db-reihe { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) {
  .db-reihe { flex-direction: row; justify-content: space-between; }
  .db-reihe--1 > .db-kasten { width: 100%; }
  .db-reihe--2 { gap: 10%; }
  .db-reihe--2 > .db-kasten { width: 45%; }
  .db-reihe--3 { gap: 5%; }
  .db-reihe--3 > .db-kasten { width: 30%; }
}
.db-kasten {
  display: flex; align-items: stretch; overflow: hidden;
  border: 1px solid rgba(13, 148, 136, 0.4); border-radius: var(--radius-m);
  background: var(--flaeche); box-shadow: var(--schatten-1);
  text-decoration: none; color: inherit; transition: border-color 0.12s, box-shadow 0.12s;
}
.db-kasten:hover { border-color: #0d9488; box-shadow: var(--schatten-2); }
.db-kasten-text { flex: 1; display: flex; align-items: center; padding: 12px 16px;
  font-size: 0.88rem; font-weight: 500; color: #3f3f46; }
.db-kasten:hover .db-kasten-text { color: #115e59; }
.db-kasten-zahl {
  min-width: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 16px; background: #0d9488; color: #fff; text-align: center;
}
.db-kasten-absolut { font-size: 1.15rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.db-kasten-anteil { margin-top: 3px; font-size: 0.75rem; color: #ccfbf1; }

.db-verbinder { display: none; color: #14b8a6; }
.db-verbinder line { stroke-width: 8px; }
.db-verbinder-handy { display: flex; justify-content: center; padding: 6px 0; color: #14b8a6;
  font-size: 1.4rem; font-weight: 700; line-height: 1; }
@media (min-width: 768px) {
  .db-verbinder { display: block; }
  .db-verbinder-handy { display: none; }
}

.ii-zeilenaktionen { display: flex; gap: 6px; flex-wrap: wrap; }
.ii-zeilenaktionen .ut-btn { padding: 4px 10px; font-size: 0.85rem; }

.iv-flaeche, .iv-rueckfrage {
  --iv-tuerkis: #0f766e;        
  --iv-tuerkis-dunkel: #115e59; 
  --iv-tuerkis-soft: rgba(45, 212, 191, 0.2);   
  --iv-gelb-text: #854d0e;      
  --iv-gelb-soft: rgba(250, 204, 21, 0.25);     
  --iv-grau-text: #3f3f46;      
  --iv-grau-soft: rgba(161, 161, 170, 0.15);    
  --iv-rand: #e4e4e7;           
  --iv-leise: #71717a;          
}
.iv-flaeche .ut-btn--primaer, .iv-rueckfrage .ut-btn--primaer { background: var(--iv-tuerkis); border-color: var(--iv-tuerkis); }
.iv-flaeche .ut-btn--primaer:hover, .iv-rueckfrage .ut-btn--primaer:hover { background: var(--iv-tuerkis-dunkel); border-color: var(--iv-tuerkis-dunkel); }
.iv-flaeche .ut-btn { display: inline-flex; align-items: center; gap: 6px; }

.iv-symbol { flex-shrink: 0; }

.iv-karte {
  background: var(--flaeche);
  border: 1px solid var(--iv-rand);
  border-radius: var(--radius-l);
  padding: 20px 24px;
  min-width: 0;

  margin: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.iv-karte-kopf {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--iv-rand);
}
.iv-karte-symbol { color: var(--iv-tuerkis); }
.iv-karte-titel { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--text); }
.iv-karte-rechts { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.iv-abzeichen {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: var(--radius-rund);
  font-size: 0.76rem; font-weight: 500; line-height: 1.5; white-space: nowrap;
}
.iv-abzeichen--grau { background: var(--iv-grau-soft); color: var(--iv-grau-text); }
.iv-abzeichen--tuerkis { background: var(--iv-tuerkis-soft); color: var(--iv-tuerkis-dunkel); }
.iv-abzeichen--gelb { background: var(--iv-gelb-soft); color: var(--iv-gelb-text); }
.iv-abzeichen--gruen { background: var(--signal-ok-soft); color: var(--marke-dunkel); }
.iv-abzeichen--orange { background: #fbe4d3; color: #b85c00; }
.iv-abzeichen--rot { background: var(--signal-gefahr-soft); color: var(--signal-gefahr); }

.iv-seitenkopf {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 16px; margin: 8px 0 28px;
}
.iv-seitentitel { margin: 0; font-size: 1.45rem; font-weight: 600; color: var(--text); }

.iv-anlage-raster { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
@media (min-width: 1024px) { .iv-anlage-raster { grid-template-columns: 1fr 1fr; } }
.iv-formular-felder { display: flex; flex-direction: column; gap: 16px; }
.iv-formfeld { display: flex; flex-direction: column; gap: 6px; }
.iv-formfeld-kopf { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 500; color: var(--text); }
.iv-formfeld-marke {
  font-size: 0.7rem; font-weight: 500; color: var(--iv-leise);
  background: var(--iv-grau-soft); border-radius: var(--radius-s); padding: 1px 6px;
}
.iv-formfeld-hilfe { font-size: 0.8rem; color: var(--iv-leise); margin: 0; }
.iv-formfeld-fehler { font-size: 0.8rem; color: var(--signal-gefahr); margin: 0; }
.iv-formfeld .ut-feld { width: 100%; box-sizing: border-box; }
.iv-formfeld--schmal .ut-feld { max-width: 8rem; }
.iv-formfeld.hat-fehler .ut-feld { border-color: var(--signal-gefahr); }
.iv-trennlinie { border: 0; border-top: 1px solid var(--iv-rand); margin: 4px 0; }
.iv-formular-fuss { display: flex; justify-content: flex-end; gap: 8px; }

.iv-seitenkopf--links { justify-content: flex-start; }
.iv-import-raster { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
@media (min-width: 1100px) { .iv-import-raster { grid-template-columns: 1fr 1fr; } }
.iv-import-loeschen { margin-top: 24px; }
.iv-import-loeschen .iv-karte { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.iv-schritte { display: flex; flex-direction: column; gap: 24px; }

.iv-schritt { display: flex; gap: 16px; }
.iv-schritt-nr {
  flex: none; width: 32px; height: 32px; border-radius: var(--radius-rund);
  display: flex; align-items: center; justify-content: center;
  background: #f4f4f5; color: #18181b; font-weight: 700;
}
.iv-schritt-inhalt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.iv-schritt-text { margin: 0; color: #52525b; line-height: 1.5; }
.iv-datei { display: flex; flex-direction: column; gap: 10px; }

.iv-datei-waehlen {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; align-self: flex-start;
  padding: 8px 16px; border-radius: var(--radius-m);
  background: #f4f4f5; border: 1px solid var(--iv-rand); color: #18181b;
  transition: background 0.12s;

  position: relative;
}
.iv-datei-waehlen:hover { background: #e4e4e7; }
.iv-datei-waehlen:focus-within { outline: 2px solid var(--iv-tuerkis); outline-offset: 2px; }
.iv-datei-eingabe { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.iv-dateiname { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 0.88rem;
  font-weight: 500; color: #0d9488; word-break: break-all; }
.iv-dateiname-leer { margin: 0; font-size: 0.88rem; color: var(--iv-leise); font-style: italic; }
.iv-import-ausloesen { padding-top: 8px; }
.iv-import-laeuft { margin: 0; font-size: 0.88rem; color: var(--iv-leise); }
.iv-import-ergebnis { display: flex; flex-direction: column; gap: 12px; }
.iv-import-ergebnis:not(:empty) { margin-top: 20px; }
.iv-import-zahlen { margin: 0; font-size: 0.85rem; color: var(--iv-leise); }
.iv-fehlerliste { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.iv-tabelle-rahmen { overflow-x: auto; border: 1px solid var(--iv-rand); border-radius: var(--radius-l); }

.iv-kasten { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius-l); border: 1px solid; }
.iv-kasten p { margin: 0; line-height: 1.45; }
.iv-kasten-text { display: flex; flex-direction: column; gap: 4px; }
.iv-kasten-titel { font-weight: 600; }
.iv-kasten-symbol { margin-top: 1px; }
.iv-kasten--erfolg { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.iv-kasten--fehler { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.iv-kasten--warnung { background: #fefce8; border-color: #fef08a; color: #854d0e; }

.iv-kasten--kraeftig { border-width: 2px; border-color: #f59e0b; background: #fffbeb; }
.iv-kasten-verweis { color: inherit; font-weight: 600; text-decoration: underline; }
.iv-massen:not(.hidden) > .iv-exportwarnung { grid-column: 1 / -1; }
.iv-exportwarnung-kurz { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem;
                         font-weight: 600; color: #b45309; }
.iv-exportwarnung-kurz.hidden { display: none; }

.iv-titelzeile { display: flex; align-items: center; gap: 14px;
  justify-content: space-between;  }
.iv-kopfwerkzeuge { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; justify-content: flex-end; }
@media (min-width: 768px) { .iv-kopfwerkzeuge { flex: 0 0 auto; } }
.iv-kopfwerkzeuge .iv-suche { flex: 1 1 256px; min-width: 180px; }
@media (min-width: 768px) { .iv-kopfwerkzeuge .iv-suche { flex: 0 0 256px; } }

.iv-umschalter { color: var(--iv-tuerkis); padding: 7px 9px; }
.iv-umschalter.an { background: var(--iv-tuerkis); border-color: var(--iv-tuerkis); color: #fff; }
.iv-trennstrich { width: 1px; align-self: stretch; background: var(--iv-rand); margin: 4px 2px; }

.iv-klappbereich { background: #fafafa; border: 1px solid var(--iv-rand); border-radius: 16px;
  padding: 24px; margin-bottom: 24px; }
@media (min-width: 768px) { .iv-klappbereich { padding: 32px; } }
.iv-klappbereich-titel { margin: 0 0 14px; font-size: 0.9rem; font-weight: 600; color: var(--iv-tuerkis); }
.iv-klappbereich .iv-werkzeuge { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }

.iv-tabelle--frageboegen th { white-space: nowrap; }
.iv-spaltenkopf { display: inline-flex; align-items: center; gap: 6px; }
.iv-spalte-mitte { text-align: center; }
.iv-spalte-mitte .iv-spaltenkopf { justify-content: center; }
.iv-spalte-rechts { text-align: right; }
.iv-namensverweis { border: 0; background: none; padding: 0; font: inherit; font-weight: 500;
  color: #18181b; cursor: pointer; text-align: left; }
.iv-namensverweis:hover { color: var(--iv-tuerkis); text-decoration: underline; }
.iv-zelle-betrieb { min-width: 250px; }
.iv-unterzeile { font-size: 0.78rem; color: var(--iv-leise); margin-top: 2px; }
.iv-zelle-leise { font-size: 0.85rem; color: #52525b; min-width: 150px; }
.iv-zelle-datum { white-space: nowrap; color: var(--iv-leise); font-size: 0.85rem; }
.iv-leer { color: #d4d4d8; }
.iv-punkte { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; cursor: help; }

.iv-punkte-mit-hand { display: inline-flex; align-items: center; gap: 4px; }
.iv-von-hand { display: inline-flex; color: var(--iv-leise); cursor: help; }
.iv-plausibel { color: var(--iv-tuerkis); display: inline-flex; cursor: help; }
.iv-unplausibel { color: #eab308; display: inline-flex; cursor: help; }
.iv-kommentarsymbol { color: var(--iv-tuerkis); display: inline-flex; cursor: help; }
.iv-erinnerung { display: inline-flex; align-items: center; gap: 5px; color: var(--iv-tuerkis);
  font-size: 0.78rem; font-weight: 500; }
.iv-erinnerung span { color: #52525b; }

.iv-erinnerungen { display: inline-flex; align-items: center; gap: 10px; cursor: help; }
.iv-blase-titel { display: block; font-weight: 600; margin-bottom: 4px; }
.iv-blase-liste { margin: 0; padding-left: 16px; }
.iv-oeffnen { padding: 4px 6px; }
.iv-fuss-seite { margin-left: auto; }

.iv-einstellungen { display: flex; flex-direction: column; gap: 24px; }
.iv-einstellungen .iv-schritt-text { margin-bottom: 14px; }
.iv-parameterfeld { width: 7rem; margin-right: 8px; }
.iv-vorlage { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--iv-rand); flex-wrap: wrap; }
.iv-vorlage:first-child { border-top: 0; padding-top: 0; }
.iv-vorlage-titel { font-weight: 500; }
.iv-meldung--erfolg { color: #166534; }

.id-auswertung-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.iu-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
           gap: 12px 16px; margin: 16px 0 32px; }
.iu-kopf-titel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.iu-kopf-titel .iv-titel { margin: 0; }
.iu-kopfknoepfe { display: flex; align-items: center; gap: 8px; }
.iu-trennstrich { width: 1px; align-self: stretch; background: var(--iv-rand); margin: 2px 4px; }
.iu-raster-seite { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .iu-raster-seite { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.iu-karte { padding: 0; }
.iu-karte > .iv-karte-kopf { min-height: 64px; padding: 16px 24px; border-bottom: 1px solid var(--iv-rand); margin: 0; }
.iu-anzeigen, .iu-raster, .iu-staetten { padding: 24px; }
.iu-anzeigen { display: flex; flex-direction: column; gap: 16px; }
.iu-anzeige { min-width: 0; }
.iu-beschriftung { display: flex; align-items: center; gap: 4px; font-size: 0.88rem; color: var(--iv-tuerkis); }
.iu-info { display: inline-flex; color: #a1a1aa; cursor: help; }
.iu-wert { font-size: 0.88rem; color: #18181b; overflow-wrap: anywhere; }
.iu-codezeile { display: flex; align-items: center; gap: 4px; max-width: 420px; margin-top: 4px; }
.iu-codezeile .iu-code { max-width: 200px; }

.iu-alsbetrieb { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
                 font-size: 0.82rem; text-decoration: none; }
.iu-code { background: #f4f4f5; font-family: var(--mono, ui-monospace, monospace); font-size: 0.82rem; }
.iu-traeger { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; border-top: 1px solid var(--iv-rand); }
.iu-hinweis { margin: 0; font-size: 0.88rem; color: #71717a; }
.iu-raster { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: center; }
.iu-label { grid-column: span 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
            color: #71717a; font-size: 1rem; hyphens: auto; overflow-wrap: anywhere; }
.iu-feld { grid-column: span 4; min-width: 0; }
.iu-detailplatz { display: contents; }
.iu-trenner { grid-column: span 6; padding-top: 16px; border-top: 1px solid var(--iv-rand); }
.iu-optional { font-size: 0.7rem; padding: 1px 6px; border-radius: 6px; background: #f4f4f5; color: #71717a; }
.iu-staetten { display: flex; flex-direction: column; gap: 16px; }
.iu-staette { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px;
              border-bottom: 1px solid var(--iv-rand); }
.iu-staette:last-child { border-bottom: 0; padding-bottom: 0; }
.iu-staette-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.iu-staette-name { min-width: 0; }
.iu-staette-titel { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iu-abzeichen { display: flex; gap: 6px; flex-shrink: 0; }
.iu-klein { font-size: 0.75rem; color: #71717a; }
.iu-datumszeilen { display: flex; flex-direction: column; gap: 4px; }
.iu-kommentar { font-size: 0.75rem; font-style: italic; color: #52525b; white-space: pre-line; }
.iu-zeilenknoepfe { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px;
                    padding-top: 12px; border-top: 1px solid #f4f4f5; }
.iu-aktion { margin: -16px 0 16px; font-size: 0.88rem; }

.iv-flaeche .ut-btn--sanft, .iv-rueckfrage .ut-btn--sanft { background: #f4f4f5; border-color: transparent; color: #27272a; }
.iv-flaeche .ut-btn--sanft:hover, .iv-rueckfrage .ut-btn--sanft:hover { background: #e4e4e7; }
.iv-flaeche .ut-btn.iu-loeschen, .iv-rueckfrage .ut-btn.iu-loeschen { background: #dc2626; border-color: #dc2626; color: #fff; }
.iv-flaeche .ut-btn.iu-loeschen:hover, .iv-rueckfrage .ut-btn.iu-loeschen:hover { background: #b91c1c; border-color: #b91c1c; }

.iv-fenster { width: 500px; display: flex; flex-direction: column; gap: 16px; }
.iv-fenster--breit { width: 800px; }
.iu-fensterfeld { display: flex; flex-direction: column; gap: 4px; }
.iu-fensterfeld .key-label { display: flex; align-items: center; gap: 6px; }
.iu-feldfehler { font-size: 0.75rem; color: var(--signal-gefahr); }
.iu-feldfehler:empty { display: none; }
.iu-neu { display: flex; flex-direction: column; gap: 8px; }
.iu-neu-spalten { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .iu-neu-spalten { grid-template-columns: 1fr 1fr; } }
.iu-neu-spalten > div { display: flex; flex-direction: column; gap: 12px; }
.iu-neu-titel { margin: 0; font-size: 0.95rem; font-weight: 500; color: var(--iv-tuerkis); }
.iu-trefferliste { max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.iu-treffer { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 0;
              background: none; font: inherit; font-size: 0.88rem; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.iu-treffer:hover { background: #fafafa; }
.iu-treffer.gewaehlt { background: #f0fdfa; color: #115e59; }
.iu-unsichtbar { visibility: hidden; }
.iu-kartenplatz { width: 100%; height: 480px; border-radius: var(--radius-m); }

.iv-massen:not(.hidden) { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .iv-massen:not(.hidden) { grid-template-columns: 1fr 1fr; } }
.iv-massengruppe { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.iv-massengruppe--rechts { border-top: 1px solid var(--iv-rand); padding-top: 24px; }
@media (min-width: 768px) {
  .iv-massengruppe--rechts { border-top: 0; padding-top: 0; border-left: 1px solid var(--iv-rand); padding-left: 40px; }
}
.iv-massenknoepfe, .iv-massen .iv-werkzeuge { display: flex; flex-wrap: wrap; gap: 8px; }
.iv-flaeche .ut-btn.iv-massenknopf { background: none; border-color: transparent; color: var(--iv-tuerkis);
  font-size: 0.82rem; padding: 5px 10px; }
.iv-flaeche .ut-btn.iv-massenknopf:hover { background: #e4e4e7; }
.iv-massen .iv-auswahlzahl { margin-top: 8px; font-size: 0.88rem; color: #71717a; }
.iv-klappbereich .iv-filter { grid-template-columns: 1fr; gap: 40px; background: none; border: 0; padding: 0; margin: 0; }
@media (min-width: 1280px) {
  .iv-klappbereich .iv-filter { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .iv-filterspalte + .iv-filterspalte { border-left: 1px solid var(--iv-rand); padding-left: 40px; }
}
.iv-filterspalte { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.iv-filterspalte .iv-klappbereich-titel { margin: 0 0 4px; }
.iv-exportart { padding: 16px; background: #fafafa; border: 1px solid var(--iv-rand); border-radius: 8px; }
.iv-exportart-titel { margin: 0 0 4px; font-size: 0.88rem; font-weight: 500; color: #18181b; }
.iv-exportart-text { margin: 0; font-size: 0.75rem; color: #71717a; }
.iv-blasen-ausloeser { cursor: help; }

body > .iv-blase { z-index: 1455; }
.iv-blase { position: absolute; z-index: 60; max-width: 20rem; padding: 8px 10px; border-radius: 8px;
  background: #27272a; color: #fff; font-size: 0.82rem; line-height: 1.4; box-shadow: var(--schatten-2);
  white-space: pre-line; }
.iv-blase-kopf { margin: 0 0 4px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; opacity: 0.7; }
.iv-blase-punkt { display: flex; gap: 8px; opacity: 0.85; }
.iv-blase-marke { opacity: 0.5; }

.iv-filterspalte .key-label, .iv-filterspalte .iv-formfeld-kopf {
  display: block; margin-bottom: 4px; font-size: 0.82rem; font-weight: 500; color: #27272a; }

.id-bewertungsraster { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .id-bewertungsraster { grid-template-columns: 1fr 1fr; } }
.id-bewertungsspalte { min-width: 0; }
.id-beschriftung--abstand { margin-bottom: 8px; }
.id-bewertungszeile { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.id-klein { font-size: 0.75rem; color: #71717a; }
.id-leise { color: #d4d4d8; }
.id-stand { margin: 8px 0 0; font-size: 0.75rem; color: #a1a1aa; }
.id-ok { color: var(--iv-tuerkis); }
.id-warnung { color: #eab308; }
.id-aufzaehlung { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column;
  gap: 4px; font-size: 0.88rem; color: #52525b; }
.id-aufzaehlung li { display: flex; align-items: flex-start; gap: 8px; }
.id-aufzaehlung-marke { color: #a1a1aa; }
.id-punktfeld { width: 96px; }
.id-markieren { margin-top: 12px; max-width: 36rem; display: flex; flex-direction: column; gap: 8px; }
.id-markierung { margin-top: 12px; font-size: 0.88rem; color: #52525b; }
.id-unterueberschrift--tuerkis { color: var(--iv-tuerkis); margin: 24px 0 12px; }
.id-hauptbewertung > .id-unterueberschrift--tuerkis:first-child { margin-top: 0; }
.id-breit { grid-column: 1 / -1; margin-top: 12px; }
.id-felder .id-breit { margin-top: 0; }
@media (min-width: 1280px) { .id-felder--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.id-probeformular { padding: 16px; background: #fafafa; border-radius: 12px; margin-bottom: 16px;
  display: flex; flex-direction: column; gap: 12px; }

.iv-ringpunkt { background: none; border: 0; }
.iv-ringpunkt svg { display: block; }

.ia-neu-bezug { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .ia-neu-bezug { grid-template-columns: 1fr 1fr; } }
.ia-neu-trenner { border: 0; border-top: 1px solid var(--iv-rand); margin: 16px 0; }
.ia-neu-felder { max-width: 32rem; }
.ia-neu-kopf { color: var(--iv-tuerkis); }
.ia-neu-datum { max-width: 12rem; }
.ia-neu-schalterzeile { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.ia-neu-wiederholung { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ia-neu-wiederholung .ut-feld.ia-neu-intervall { width: 5rem; flex: none; }

.ik-raster { display: grid; grid-template-columns: 1fr; gap: 24px; }

.ik-vorfuehrung { display: flex; flex-direction: column; gap: 10px; }

.ik-code-kasten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
                  gap: 12px 24px; max-width: 1040px; padding: 14px 18px; border-radius: 10px;
                  border: 1px solid var(--rand-stark); background: var(--signal-ok-soft); }
.ik-code { font-size: 1.9rem; font-weight: 700; letter-spacing: 0.06em; color: var(--marke-dunkel);
           font-family: var(--schrift); overflow-wrap: anywhere; }
.ik-code-zeile { margin-top: 4px; font-size: 0.85rem; color: var(--text); }
.ik-code-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.ik-kopierfeld { position: fixed; left: -9999px; top: 0; }

.ik-lauf { color: var(--text-leise); }
.ik-lauf--fehler { color: #8a4a00; background: var(--signal-warn-soft); border-left: 4px solid var(--signal-warn);
                   padding: 8px 12px; border-radius: 6px; font-weight: 600; }
.ik-unterkopf { margin: 10px 0 0; font-size: 0.95rem; font-weight: 600; }
.ik-testzugang { max-width: 760px; grid-template-columns: 150px minmax(0, 1fr) 150px minmax(0, 1fr); }
.ik-testzugang > * { grid-column: auto; }
.ik-testzugang input { width: 100%; }
@media (min-width: 1024px) { .ik-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ik-felder { display: flex; flex-direction: column; gap: 14px; }
.ik-felder + .ik-felder { margin-top: 14px; }
.ik-wert { white-space: pre-line; }
.ik-knoepfe { margin-top: 14px; flex-wrap: wrap; }
.ik-logo { min-height: 64px; display: flex; align-items: center; }
.ik-logo img { max-width: 240px; max-height: 120px; object-fit: contain; }
.ik-gebietskarte { width: 100%; height: 320px; border-radius: var(--radius-m); }

.ik-zeichenpunkt { background: transparent; border: 0; cursor: pointer; }
.ik-zeichenpunkt::after { content: ""; position: absolute; left: 4px; top: 4px; width: 8px; height: 8px;
                          box-sizing: border-box; border-radius: 50%; background: #fff;
                          border: 2px solid #3388ff; }

.iv-menue-knopf--bestand { width: 32px; height: 32px; padding: 0; display: inline-flex;
                           align-items: center; justify-content: center; border-radius: 6px;
                           color: #27272a; background: transparent; border: 0; cursor: pointer; }
.iv-menue-knopf--bestand:hover { background: rgba(39, 39, 42, 0.06); }

.id-standortkarte.is-editable .leaflet-marker-icon { cursor: grab; }
.id-standortkarte.is-editable .leaflet-marker-icon:active { cursor: grabbing; }
.id-kartenhinweis--ziehbar { color: #0d9488; font-weight: 500; }

.ik-kopfabzeichen, .ik-abzeichenreihe { display: inline-flex; gap: 6px; align-items: center; }
.ik-kundenname { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.ik-listenlogo { width: 32px; height: 32px; border-radius: 6px; background: #f4f4f5; color: #a1a1aa;
  display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.ik-listenlogo img { width: 32px; height: 32px; object-fit: contain; background: #fff; }
.ik-leer { text-align: center; padding: 64px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ik-leer-kreis { width: 64px; height: 64px; border-radius: 50%; background: #fafafa; color: #d4d4d8;
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.ik-leer-titel { margin: 0; font-size: 1.1rem; font-weight: 500; color: #18181b; }
.ik-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ik-logo-wahl { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; text-align: center; }
.ik-logo-vorschau img { max-width: 320px; max-height: 192px; border: 1px solid var(--iv-rand); border-radius: 8px; }
.ik-logo-leer { width: 96px; height: 96px; border: 2px dashed #e4e4e7; border-radius: 12px; background: #fafafa;
  display: flex; align-items: center; justify-content: center; color: #a1a1aa; font-size: 0.75rem; }
.ik-logo-knopf { background: var(--iv-tuerkis); color: #fff; }
.ik-tabelle td { vertical-align: middle; }

.iv-flaeche--ueber-karte .iv-kopf {
  justify-content: flex-start;
  min-height: 32px;
  padding-right: 44px;
  margin-bottom: 8px;
}
.iv-flaeche--ueber-karte .iv-waehler { margin-left: 0; }

.iv-flaeche--ueber-karte { overscroll-behavior: contain; }

.iv-verlauf-karte .iv-karte-kopf { cursor: default; }
.iv-verlauf-zahl { color: #71717a; font-size: 0.9rem; font-weight: 400; }
.iv-verlauf-umschalter { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  border: 1px solid var(--iv-rand); border-radius: 8px; background: var(--flaeche); color: #3f3f46;
  font: inherit; font-size: 0.85rem; cursor: pointer; }
.iv-verlauf-umschalter:hover { background: #f4f4f5; }
.iv-verlauf-umschalter svg { transition: transform 150ms; }
.iv-verlauf-offen .iv-verlauf-umschalter svg { transform: rotate(180deg); }
.iv-verlauf { display: flex; flex-direction: column; gap: 18px; margin-top: 4px; }
.iv-verlauf-hinweis { margin: 0; padding: 10px 12px; border-radius: 8px; background: #f4f4f5;
  color: #52525b; font-size: 0.85rem; line-height: 1.45; }
.iv-verlauf-leer { margin: 0; color: #71717a; font-size: 0.9rem; }
.iv-verlauf-tagname { margin: 0 0 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: #71717a; }
.iv-verlauf-liste { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.iv-verlauf-liste::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: var(--iv-rand); border-radius: 1px; }
.iv-verlauf-eintrag { position: relative; padding: 4px 0 10px 26px; }
.iv-verlauf-punkt { position: absolute; left: 0; top: 8px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--flaeche); border: 2px solid var(--iv-tuerkis); }
.iv-verlauf-satz { font-size: 0.92rem; line-height: 1.5; color: #27272a; overflow-wrap: anywhere; }
.iv-verlauf-zeit { display: inline-block; min-width: 3.2em; margin-right: 6px; color: #71717a;
  font-variant-numeric: tabular-nums; }
.iv-verlauf-wer { font-weight: 600; color: #18181b; }
.iv-verlauf-punkte { margin: 4px 0 0 3.6em; padding-left: 16px; color: #3f3f46;
  font-size: 0.88rem; line-height: 1.5; }
.iv-verlauf-punkte li { margin: 2px 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .iv-verlauf-zeit { display: block; margin: 0; }
  .iv-verlauf-punkte { margin-left: 0; }
}

.iv-wird-bewertet { color: var(--iv-leise, #71717a); font-style: italic; font-size: 0.85rem; white-space: nowrap; }

.indika-legende-titel { font-weight: 600; margin-bottom: 4px; }
.indika-legende-zeile { display: flex; align-items: center; gap: 8px; line-height: 1.6; }
.indika-legende-punkt { width: 10px; height: 10px; border-radius: 50%; border: 2px solid; flex: none; }

.ik-netz-name { font-weight: 600; }
.ik-netze-zugeordnet { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ik-netz-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 10px; border: 1px solid var(--iv-rand); border-radius: var(--radius-m); }
.ik-netz-text { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-width: 0; }
.ik-netz-vorschlaege { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin: 8px 0; }
.ik-netz-vorschlag-titel { font-weight: 600; }
.ik-netz-vorschlag { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.ik-netzauswahl { margin-top: 12px; max-width: 640px; }
.ik-netzauswahl-feld { width: 100%; box-sizing: border-box; }
.ik-netzauswahl-liste { list-style: none; margin: 4px 0 0; padding: 4px;
  max-height: min(280px, 40vh); overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--iv-rand); border-radius: var(--radius-m); background: var(--flaeche); }
.ik-netzauswahl-option { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 7px 10px; border-radius: var(--radius-s); cursor: pointer; }
.ik-netzauswahl-option:hover, .ik-netzauswahl-option[aria-selected="true"] { background: var(--marke-soft); }
.ik-netzauswahl-leer { padding: 7px 10px; color: var(--iv-leise); }

.id-karte-scharf { cursor: crosshair; }
.id-karte-scharf .leaflet-interactive { cursor: crosshair; }
.id-einleitung { display: flex; flex-direction: column; gap: 6px; }

.id-karte-zoomhinweis {
  background: rgba(255, 255, 255, 0.94); color: #1f2933; padding: 4px 8px; border-radius: 6px;
  font-size: 0.75rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); max-width: 260px;
}
.id-karte-zoomhinweis.hidden { display: none; }
.id-kartenhinweis-verweis { color: #0d9488; text-decoration: underline; cursor: pointer; }

.id-kartenhinweis-ungenau { color: #9a5b00; font-weight: 600; }

.iv-strgzoom-hinweis {
  position: absolute; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, 0.45); color: #fff; font-size: 1rem; font-weight: 500;
  pointer-events: none; opacity: 0; transition: opacity 0.2s ease;
}
.iv-strgzoom-hinweis.sichtbar { opacity: 1; }

.iv-haltungschip-zeile { margin: 4px 0 10px; }
.iv-chip.iv-haltungschip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px 3px 10px;
  border-radius: 999px; background: var(--chip); border: 1px solid var(--rand); font-size: 0.85rem;
}
.iv-chip-zu { border: 0; background: none; cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0 4px; }

.id-einleitstelle { margin: 4px 0 8px; }
.id-kartenhinweis:empty { display: none; }
.id-kartenhinweis--leise { color: var(--text-mute); }

.iv-schalter-zeile { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; cursor: pointer; }
.ik-fortschritt { width: 100%; max-width: 420px; height: 10px; accent-color: var(--iv-tuerkis); }
.ik-paketbericht { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }

.ib-dreieck { color: var(--signal-gefahr); vertical-align: -2px; }
.ib-hinweis { color: var(--text-mute); vertical-align: -2px; }
.ib-ueber { color: var(--signal-gefahr); font-weight: 600; white-space: nowrap; }
.ib-fehler { color: var(--signal-gefahr); }
.ib-kopf { flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ib-leer-zustand { padding: 16px; border: 1px dashed var(--rand-stark); border-radius: 8px; background: var(--grund); }
.ib-leer-zustand p { margin: 0 0 4px; }

.ib-grenzwerte { margin-bottom: 12px; }
.ib-grenzwerte:empty { display: none; }
.ib-grenzwerte-kopf { font-weight: 600; margin-bottom: 4px; }
.ib-grenzwerte-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ib-grenzwert { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px 8px;
  background: var(--signal-info-soft); border-radius: 6px; }
.ib-grenzwert-knoepfe { display: inline-flex; gap: 2px; margin-left: auto; }

.ib-erfassung { border: 1px solid var(--rand); border-radius: 8px; padding: 12px; margin-bottom: 12px;
  background: var(--flaeche); display: flex; flex-direction: column; gap: 10px; }
.ib-erfassung-kopf, .ib-mehr-felder, .ib-zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.ib-feld { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ib-feld--klein { max-width: 170px; }
.ib-breit { grid-column: 1 / -1; }
.ib-mehr summary { cursor: pointer; color: var(--text-leise); font-size: 0.92em; }
.ib-mehr[open] summary { margin-bottom: 8px; }
.ib-wertzeilen { display: flex; flex-direction: column; gap: 6px; }
.ib-wertzeile { display: grid; grid-template-columns: minmax(120px, 1.2fr) minmax(150px, 1.4fr) minmax(0, 1fr);
  align-items: center; gap: 8px; }
.ib-wertname { font-weight: 600; }
.ib-wertfeld { display: flex; gap: 6px; align-items: center; min-width: 0; }
.ib-wertfeld .ut-feld { min-width: 0; flex: 1; }
.ib-einheit { flex: 0 0 auto; width: auto; }
.ib-einheit-text { color: var(--text-mute); font-weight: 400; white-space: nowrap; }
.ib-wertgrenze { color: var(--text-mute); font-size: 0.85em; }
.ib-feldfehler { grid-column: 1 / -1; color: var(--signal-gefahr); font-size: 0.85em; }
.ib-feldfehler:empty { display: none; }
.ib-suche .ut-feld { width: 100%; }
.ib-arten { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ib-art { display: inline-flex; gap: 4px; align-items: center; }

.ib-tabellenrahmen { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%;
  width: fit-content; border: 1px solid var(--rand); border-radius: 6px; }

.ib-messwerte { width: max-content; min-width: 0; table-layout: fixed; border-collapse: separate;
  border-spacing: 0; overflow: visible; font-size: 0.85rem; }
.ib-messwerte th, .ib-messwerte td { white-space: nowrap; padding: 1px 8px; line-height: 1.2;
  border-bottom: 1px solid var(--rand); }
.ib-messwerte thead th { padding-top: 5px; padding-bottom: 5px; vertical-align: bottom; }
.ib-parameterkopf, .ib-parameter { position: sticky; left: 0; z-index: 2; background: var(--panel);
  width: 190px; min-width: 190px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.ib-grenzkopf, .ib-grenze { position: sticky; left: 190px; z-index: 2; background: var(--panel);
  width: 185px; min-width: 185px; max-width: 185px; box-shadow: 2px 0 0 var(--rand); }
.ib-messwerte thead .ib-parameterkopf, .ib-messwerte thead .ib-grenzkopf { background: var(--chip); z-index: 3; }
.ib-messwerte tbody .ib-zelle { text-align: right; vertical-align: middle; }
.ib-messwerte tbody th, .ib-messwerte tbody .ib-grenze { vertical-align: middle; }
.ib-spalte, .ib-zelle { width: 110px; min-width: 110px; max-width: 110px; overflow: hidden; }
.ib-parameterknopf { background: none; border: 0; padding: 0; color: var(--marke-dunkel); cursor: pointer;
  font: inherit; text-align: left; text-decoration: underline dotted; max-width: 100%; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.ib-grenze { color: var(--text-mute); font-size: 0.92em; }
.ib-grenzinhalt { display: flex; align-items: center; gap: 2px; }
.ib-grenztext { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ib-grenzquelle { font-size: 0.85em; font-style: italic; color: var(--marke-dunkel); }
.ib-stift { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 16px; padding: 0; border: 0; border-radius: 4px; background: none;
  color: var(--text-mute); cursor: pointer; }
.ib-stift:hover, .ib-stift:focus-visible { background: var(--hover); color: var(--marke-dunkel); }
.ib-spaltenknopf { display: flex; flex-direction: column; align-items: flex-start; gap: 0; background: none;
  border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; max-width: 100%; }
.ib-spaltendatum { font-weight: 600; }
.ib-spaltenart { font-size: 0.78em; color: var(--text-mute); font-weight: 400; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; }
.ib-spaltenueber { font-size: 0.8em; color: var(--signal-gefahr); }
.ib-hervor { background: var(--signal-warn-soft); }
.ib-zelle { text-align: right; }
.ib-ueberschritten { color: var(--signal-gefahr); font-weight: 600; background: var(--signal-gefahr-soft); }
.ib-nicht_beurteilbar, .ib-nicht_umrechenbar { color: var(--text-mute); }
.ib-gruppe td { background: var(--grund); padding: 1px 6px; }
.ib-gruppenknopf { background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; padding: 1px 0;
  position: sticky; left: 6px; }
.ib-gruppenknopf .ib-zu { transform: rotate(-90deg); }
.ib-tabellenleiste { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-bottom: 6px; }
.ib-terminzahl { margin-left: auto; }
.ib-tabellenschalter { margin-top: 0; }
.ib-mehr-termine { margin-top: 6px; }
.ib-legende { margin-top: 6px; }

.ib-upload { max-width: min(1100px, 96vw); }
.ib-upload-wahl { flex-wrap: wrap; align-items: center; gap: 8px; }
.ib-erklaerung { color: var(--text-leise); }
.ib-summe { margin: 6px 0; }
.ib-blatt { border-top: 1px solid var(--rand); padding-top: 8px; margin-top: 8px; }
.ib-blattkopf { margin-bottom: 4px; }
.ib-frage { display: flex; flex-direction: column; gap: 3px; margin: 6px 0; padding: 8px; border-radius: 6px;
  background: var(--signal-warn-soft); }
.ib-vorschau td, .ib-vorschau th { font-size: 0.85em; white-space: nowrap; }
.ib-zeile-fehler { background: var(--signal-gefahr-soft); }
.ib-doppelt { color: var(--text-mute); text-decoration: line-through; }
.ib-tabellenrahmen .ib-vorschau { min-width: 0; }

.ib-diagramm { width: min(760px, 96vw); max-width: 96vw; }
.ib-diagramm--gross { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0;
  overflow: hidden auto; }
.ib-diagramm-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ib-diagramm-knoepfe { display: flex; gap: 4px; }
.ib-diagramm-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0; }
.ib-diagramm-rahmen { position: relative; height: min(340px, 52vh); }
.ib-diagramm--gross .ib-diagramm-rahmen { height: calc(100vh - 180px); }

.ib-diagramm-rahmen canvas { cursor: crosshair; touch-action: pan-y pinch-zoom; }
.ib-zoomband { position: absolute; pointer-events: none; background: rgba(15, 118, 110, 0.14);
  border-left: 1px solid #0f766e; border-right: 1px solid #0f766e; }
.ib-ausschnitt { display: inline-flex; align-items: center; gap: 8px; }

.ib-verlauf-legende { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 18px;
  margin-top: 6px; font-size: 12px; color: var(--text-mute); }
.ib-verlauf-legende-eintrag { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none;
  padding: 2px 0; font: inherit; color: inherit; }
button.ib-verlauf-legende-eintrag { cursor: pointer; }
.ib-verlauf-legende-eintrag[aria-pressed="false"] span { text-decoration: line-through; }
.ib-verlauf-legende-eintrag[aria-pressed="false"] .ib-verlauf-legende-symbol { opacity: 0.35; }
.ib-verlauf-legende-symbol { flex: none; }
.ib-ausschnitt-text { font-size: 0.85em; color: var(--text-mute); font-variant-numeric: tabular-nums; }
.ib-diagramm-leer { padding: 24px 8px; text-align: center; color: var(--text-leise); }
.ib-diagramm-fuss { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.85em; color: var(--text-mute); }
.ib-umschalter { display: inline-flex; border: 1px solid var(--rand-stark); border-radius: 6px; overflow: hidden; }
.ib-umschalter-knopf { background: var(--flaeche); border: 0; padding: 4px 10px; cursor: pointer; font: inherit; }
.ib-umschalter-knopf.ist-aktiv { background: var(--marke-soft); color: var(--marke-dunkel); font-weight: 600; }
.ib-probenartwahl-rahmen { display: inline-flex; gap: 6px; align-items: center; }
.ib-probenartwahl { width: auto; }

.ib-flaeche { display: flex; flex-direction: column; gap: 12px; }
.ib-filterzeile { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.ib-nur-ueber { align-self: flex-end; padding-bottom: 9px; white-space: nowrap; }

.ib-filterzeile > .ut-feld, .ib-filterzeile > select { flex: 0 1 220px; width: auto; }
.ib-filterzeile > :first-child { flex: 0 1 280px; }
.ib-listenzeile { cursor: pointer; }
.ib-listenzeile:hover, .ib-listenzeile:focus { background: var(--hover); outline: none; }
.ib-betrieb { font-weight: 600; }
.ib-satzung td { white-space: normal; }

@media (max-width: 600px) {
  .ib-wertzeile { grid-template-columns: 1fr; gap: 3px; }
  .ib-wertgrenze { font-size: 0.8em; }
  .ib-erfassung { padding: 10px; }
  .ib-diagramm-rahmen { height: 46vh; }
  .ib-feld--klein { max-width: none; }
  .ib-filterzeile > * { flex: 1 1 140px; }

  .ib-parameterkopf, .ib-parameter { width: 128px; min-width: 128px; max-width: 128px; }
  .ib-grenzkopf, .ib-grenze { position: static; left: auto; width: 120px; min-width: 120px; max-width: 120px; box-shadow: none; }

  .ib-messwerte thead .ib-grenzkopf { position: sticky; left: auto; z-index: 1; }
  .ib-parameter { box-shadow: 2px 0 0 var(--rand); }
  .ib-terminzahl { margin-left: 0; }
}

.iv-rueckfrage-karte:has(.id-mailvorschau) { width: min(760px, 94vw); max-width: none; }
