@charset "UTF-8";
/* Die folgenden Legacy-Regeln (bis zum modernen Block) werden nur noch von nicht modernisierten Portal-Seiten gebraucht und entfallen, sobald alle Seiten umgebaut sind. */
body {font:300 10pt helvetiva,arial,verdana,sans-serif; color: #202020; margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px;}
/* #shutter {position:absolute; top:50%; left:50%; width:200px; height:200px; border:solid 1px #c0c0c0;
} */
td {font:300 10pt helvetiva,arial,verdana,sans-serif;}
hr {color: #ffffff;background:transparent;margin: 0 0 2px 0;padding: 0 0 2px 0;border:0;border-bottom: 1px #c0c0c0 solid;}
.headtext {Font-Size: 10pt; font-weight:bold;}
.tabbedpanetable {border-collapse: separate;border-spacing: 2pt;border: 1px #c0c0c0 solid;}
.active {font-family:helvetiva,arial,verdana,sans-serif;Font-Size: 9pt;font-weight:bold;background-color:#c0c0c0;color: #51281F;border:#c0c0c0;border-style: solid;border-top-width: 2px;border-right-width: 2px;border-bottom-width: 2px;border-left-width: 2px;}
.button {font-family:helvetiva,arial,verdana,sans-serif;Font-Size: 9pt;font-weight:bold;color: #202020;border:#c0c0c0;border-style: solid;border-top-width: 2px;border-right-width: 2px;border-bottom-width: 2px;border-left-width: 2px;margin: 3px;}
button { }
.footernav {color:#202020;Font-Size:9pt;font-weight:normal;text-decoration:none}
A.footernav:link {color:#202020;text-decoration:none}
A.footernav:visited {color:#202020;text-decoration:none}
A.footernav:hover {color:#202020;color:#000000;text-decoration:none}
A.footernav:active {color:#202020;color:#000000;text-decoration:none}
A.footernav:focus {color:#202020;color:#000000;text-decoration:none}
.data {font-family:helvetiva,arial,verdana,sans-serif;Font-Size: 9pt;font-weight:bold;color: #51281F;border:#c0c0c0;border-style: solid;border-top-width: 2px;border-right-width: 2px;border-bottom-width: 2px;border-left-width: 2px;}
.input {font-family:helvetiva,arial,verdana,sans-serif;Font-Size: 9pt;font-weight:bold;color: #51281F;border:#c0c0c0;border-style: solid;border-top-width: 2px;border-right-width: 2px;border-bottom-width: 2px;border-left-width: 2px;}
.check {color: #51281F;border:#c0c0c0;border-style: solid;border-top-width: 2px;border-right-width: 2px;border-bottom-width: 2px;border-left-width: 2px;}
.radiobutton {color:#51281F; border:none}
.hrblack {width:100%; height:1px; background-color:#808080;}
#info {Font-Size: 9pt; background-color:#FFFFEE; color:#006600; width:300px; border:solid 1px #c0c0c0; padding-left:10px;}
.infoLabel {color:#339933; text-decoration:none}
#problem {background-color:#FFFFEE; color:#FF5F00; width:300px; border:solid 1px #c0c0c0; padding-left:10px;}
#messageboard {background-color:#FFFFEE; color:#FF5F00; width:300px; border:solid 1px #c0c0c0; padding-left:10px;}
.messageboardText {color:#FF5F00; text-decoration:none;}
.messageboardTextRed {color:#FF0000; text-decoration:none;}
/* ===== saproKapro-Modernisierungs-Layer (app-shell/card/navbar) — portiert aus saproKapro/src/main/webapp/css/standard.css ===== */
/* =============================================================================
   standard.css  —  saproKapro
   Letzte Überarbeitung: 2026-07-03
   ============================================================================= */
/* ── Utilities ──────────────────────────────────────────────────────────────── */
/* ── CSS-Variablen ──────────────────────────────────────────────────────────── */
:root {
    --font-main: Helvetica, Arial, Verdana, sans-serif;
    --font-mono: Courier, monospace;

    --font-size-base: 1rem;
    --font-size-xs: 0.9rem;
    --font-size-sm: 0.75rem;
    --font-size-1: 3rem;
    --font-size-2: 2.5rem;
    --font-size-3: 2rem;
    --font-size-4: 1.5rem;
    --font-size-5: 1.25rem;
    --font-size-6: 1rem;
    --font-size-7: 0.75rem;

    --color-text: #515553;
    --color-text-dark: #000000;
    --color-text-accent: #004a63;
    --color-silver: #c0c0c0;
    --color-mid-grey: #808080;
    --color-light-grey: #e0e0e0;
    --color-lighter-grey: #d0d0d0;
    --color-brand: #5f7d59;
    --color-brand-dark: #004a63;
    --color-brand-light: #e2e9e2;
    --color-header-bg: #eef2f6;
    --color-row-alt: #f7f8fa;

    --color-error: #ff5f00;
    --color-error-red: #ff0000;
    --color-error-orange: #ff8f00;
    /* Dunklere Variante von --color-error für Fließtext/Links (WCAG-AA-Kontrast ~5.5:1 auf Weiß, --color-error selbst liegt nur bei ~3:1) */
    --color-error-text: #b34700;
    --color-info-bg: #ffffee;
    --color-info-text: #006600;
    --color-info-green: #339933;

    --border-std: 2px solid var(--color-silver);

    --width-label: 180px;
}
/* ── Reset / Box-Modell ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}
/* ── Basis ──────────────────────────────────────────────────────────────────── */
html {
    height: 100%;
}
body {
    font: 300 var(--font-size-base) var(--font-main);
    color: var(--color-text);
    margin: 0;
    background-color: rgba(128, 161, 122, 0.1);
    min-height: 100%;
}
td {
    font: 300 var(--font-size-xs) var(--font-main);
}
hr {
    color: transparent;
    background: transparent;
    margin: 0 0 2px 0;
    padding: 0 0 2px 0;
    border: 0;
    border-bottom: 1px solid var(--color-silver);
}
/* ── Lade-Indikator ─────────────────────────────────────────────────────────── */
#shutter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-light-grey);
    text-align: center;
    color: var(--color-info-text);
    border: 2px solid #a0a0a0;
    padding: 10px 20px;
    z-index: 22222;
}
/* ── Tabellen-Layouts ───────────────────────────────────────────────────────── */
/* toolboxtable (Selector-Popup): Darstellung an .collectorTable angelehnt statt am alten Kasten-Look — der äußere .selector-Container liefert bereits Rahmen/Schatten. */
.tabbedpanetable {
    border-collapse: separate;
    border-spacing: 0;
    border-top: none;
    margin-top: 16px;
    margin-bottom: 16px;
    padding-right: 10px;
}
/* infotable: Callout-Box mit linkem Akzentrand statt Silver-Rahmen */
.tabtable {
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: stretch;
}
/* ── Überschriften ──────────────────────────────────────────────────────────── */
.headtext {
    font-size: var(--font-size-base);
    font-weight: bold;
    color: var(--color-text-accent);
}
/* ── App-Shell / Seitenstruktur ────────────────────────────────────────────── */
.app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 32px;
}
.app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 1px solid var(--color-light-grey);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    padding: 0 16px;
    height: 52px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}
.app-topbar-left,
.app-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.app-topbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.app-topbar-brand {
    font-size: var(--font-size-base);
    font-weight: bold;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
}
a.app-topbar-brand:hover {
    color: var(--color-brand-dark);
}
.app-topbar-action {
    font-size: var(--font-size-sm);
    color: var(--color-mid-grey);
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
}
a.app-topbar-action:hover {
    background-color: var(--color-light-grey);
    color: var(--color-text);
}
.app-banner {
    background-color: var(--color-brand);
    padding: 12px 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.app-banner .headtext {
    color: #ffffff;
    font-size: var(--font-size-4);
}
.app-main {
    flex: 1;
    padding: 16px 20px;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}
.app-content {
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    padding: 14px 16px;
    overflow-x: auto;
}
.app-content:has(.login-outer),
.app-content:has(.dash-grid) {
    background-color: unset;
    border: unset;
    box-shadow: unset;
}
body:has(.login-outer) {
    background-color: unset;
}
.app-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    padding: 5px 12px;
    gap: 8px;
    z-index: 50;
}
.app-footer-left,
.app-footer-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
/* ── Tabs / Buttons ─────────────────────────────────────────────────────────── */
/* Container-Zeile der Tab-Bar: durchgehende Trennlinie über volle Breite */
.tab-bar-container {
    border-bottom: 2px solid var(--color-silver);
    padding-bottom: 0;
}
/* Tab-Leiste: links ausgerichtet (kein width="100%" mehr) */
table.tab-bar {
    border-spacing: 0;
    border-collapse: collapse;
    border-bottom: none;
}
/* Inhaltszeile unterhalb der Tab-Leiste (Body des aktiven Tabs) */
.tab-body-row {
    background-color: var(--color-header-bg);
}
/* Gemeinsame Basis für Tab-Buttons in der Tab-Leiste */
/* Inaktiver (klickbarer) Tab */
/* Aktiver (aktuell geöffneter) Tab */
/* .active außerhalb von Tabs (Fallback) */
.active {
    font-family: var(--font-main);
    font-size: var(--font-size-sm);
    font-weight: bold;
    background-color: #ffffff;
    color: var(--color-text-accent);
    border: 1px solid var(--color-silver);
    border-top: 2px solid var(--color-text-accent);
    border-bottom-color: #ffffff;
    border-radius: 3px 3px 0 0;
    padding: 2px 10px 3px;
    cursor: default;
}
.button {
    font-family: var(--font-main);
    font-size: var(--font-size-sm);
    font-weight: normal;
    color: var(--color-mid-grey);
    background-color: #f0f0f0;
    border: 1px solid var(--color-silver);
    border-bottom-color: var(--color-silver);
    border-radius: 3px 3px 0 0;
    padding: 3px 10px;
    margin: 3px 2px 0;
    cursor: pointer;
    transition:
        background-color 0.12s,
        color 0.12s;
}
.button:hover {
    background-color: var(--color-light-grey);
    color: var(--color-text);
}
/* Haupt-Aktions-Buttons (Speichern, Löschen, Abbrechen …) */
input[type="submit"].button {
    /* Sicherstellen, dass Browser-Defaults überschrieben werden */
    appearance: none;
    -webkit-appearance: none;
}
input[type="submit"]:focus,
input[type="button"]:focus,
button:focus {
    outline: 2px solid var(--color-brand);
    outline-offset: 1px;
}
/* ── Navigations-Links ──────────────────────────────────────────────────────── */
a.footernav {
    font-size: var(--font-size-sm);
    font-weight: normal;
    text-decoration: none;
    color: var(--color-text-accent);
    background: var(--color-light-grey);
    border-radius: 10px;
    padding: 2px 9px;
    white-space: nowrap;
    transition:
        background 0.12s,
        color 0.12s;
}
a.footernav:hover,
a.footernav:focus {
    background: var(--color-brand);
    color: #ffffff;
    outline: none;
}
.footer-copyright {
    font-size: var(--font-size-sm);
    color: var(--color-text);
    white-space: nowrap;
}
/* ── Formulare ──────────────────────────────────────────────────────────────── */
.input,
textarea {
    font-family: var(--font-main);
    font-size: var(--font-size-xs);
    font-weight: normal;
    color: var(--color-brand-dark);
    background: #ffffff;
    border: 1px solid var(--color-silver);
    border-radius: 3px;
    padding: 3px 10px;
    cursor: pointer;
    vertical-align: middle;
    transition:
        background-color 0.15s,
        border-color 0.15s,
        box-shadow 0.15s;
}
.input:hover,
textarea:hover {
    /* background-color: var(--color-light-grey); */
    border-color: var(--color-brand-dark);
}
.input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-brand-dark);
    box-shadow: 0 0 0 2px rgba(0, 74, 99, 0.2);
    background-color: #fffff8;
}
/* Statischer (nicht editierbarer) Wert neben einem echten .input in derselben Feldgruppe (z.B. field-flow) — gleiches
   Boxmodell (Padding/Rahmenstärke) wie .input, nur unsichtbar, damit beide Felder exakt dieselbe Höhe haben statt der
   Text ohne umgebende Box sichtbar niedriger auszufallen. */
textarea {
    width: -moz-available;
}
/* Reiner Anzeigetext für berechnete/feste Werte (z.B. Partiemenge) — ohne Rahmen/Box */
.data {
    font-family: var(--font-main);
    font-size: var(--font-size-xs);
    font-weight: normal;
    color: var(--color-text);
    background: none;
    border: none;
    padding: 0;
    cursor: default;
    vertical-align: middle;
}
/* Native <select> Elemente (z.B. aus selectOnSubmit ohne CSS-Klasse) */
select:not([class]),
select {
    font-family: var(--font-main);
    font-size: var(--font-size-xs);
    color: var(--color-text-accent);
    border: 1px solid var(--color-silver);
    border-radius: 3px;
    padding: 3px 4px;
    background-color: #fff;
    transition: border-color 0.15s;
    vertical-align: middle;
}
select:not([class]):focus,
select:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 2px rgba(128, 161, 122, 0.25);
}
/* Placeholder-Text für Eingabefelder */
::placeholder {
    color: var(--color-mid-grey);
    font-weight: normal;
    font-style: italic;
    opacity: 1;
}
/* Generischer Datensatz-Selektor: Auswahlliste (z.B. Herkunft/Partien/Rechnungen wechseln) nutzt die volle Breite,
   zugehörige Aktions-Buttons als Toolbar darunter statt in einer Hilfstabelle mit großem Leerraum daneben. */
.check {
    color: var(--color-text-accent);
    border: var(--border-std);
    accent-color: var(--color-brand-dark);
}
.radiobutton {
    color: var(--color-text-accent);
    border: none;
}
/* ── Collector-Widget ───────────────────────────────────────────────────────── */
/* ── Collector Info-Bereich ─────────────────────────────────────────────────── */
/* Info-Button + Popover (Anzeige per Hover oder Klick/Fokus) */
.info-trigger {
    position: relative;
    display: inline-block;
}
.info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--color-text-accent);
    background: var(--color-text-accent);
    color: #ffffff;
    font-size: var(--font-size-sm);
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    white-space: wrap;
}
.info-btn:hover,
.info-btn:focus {
    background: var(--color-light-grey);
    border-color: var(--color-mid-grey);
    outline: none;
}
.info-popover {
    display: none;
    position: absolute;
    top: 28px;
    left: 0;
    z-index: 100;
    min-width: 260px;
    max-width: 420px;
    background: var(--color-info-bg);
    color: var(--color-text);
    font-size: var(--font-size-sm);
    border: 1px solid var(--color-silver);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 8px 10px;
    white-space: wrap;
}
.info-trigger:hover .info-popover,
.info-trigger:focus-within .info-popover {
    display: block;
}
/* Position (top/left) wird bei sichtbaren Popovern per JS inline gesetzt (main.js:
   positionInfoPopover) — .flip-up dient hier nur noch als Marker/Hook, falls künftig
   z.B. die Pfeilspitze am Popover je nach Öffnungsrichtung gestylt werden soll. */
/* ── Collector / Lift Toolbar ───────────────────────────────────────────────── */
/* Alle Such-/Navigations-/Filterelemente auf einheitliche Höhe bringen */
/* .collector-toolbar input[type="checkbox"] {
    width: 24px;
    height: 24px;
} */
/* Toolbar-Buttons (Pagination, Filter-Toggle, Sortierpfeile) */
/* Suchfeld + Lupen-Button als verschmolzene Pill (Suchfeld direkt mit Suchen-Button verbunden) */
.search-box {
    display: inline-flex;
    align-items: center;
    height: 24px;
    border: 1px solid var(--color-silver);
    border-radius: 3px;
    overflow: hidden;
    background: #ffffff;
    box-sizing: border-box;
}
.search-box input[type="text"] {
    height: 22px;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.search-box input[type="text"]:focus {
    outline: none;
}
.search-box .search-submit-btn {
    height: 22px;
    min-width: 26px;
    border: none;
    border-left: 1px solid var(--color-silver);
    border-radius: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23515553' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}
.search-box .search-submit-btn:hover {
    background-color: var(--color-light-grey);
}
/* Selektor-Button (ersetzt select.gif) */
/* Schließen-Button im Selector-Header (ersetzt close.gif) */
/* Alle Bild-Elemente und image-Inputs mittig ausrichten */
input[type="image"] {
    vertical-align: middle;
    margin-left: 4px !important;
}
img {
    vertical-align: middle;
}
/* Sort-Link + Suchfeld-Checkbox in einer Kopfzelle */
/* ── Overlay-Widgets (Darstellung an collectorTable angelehnt) ──────────────── */
/* ── Bottom-Navigation-Bar ─────────────────────────────────────────────────── */
/* ── Trennlinien ────────────────────────────────────────────────────────────── */
.hrblack {
    width: 100%;
    height: 1px;
    background-color: var(--color-mid-grey);
}
/* ── Info- / Problem- / Messageboard-Boxen ──────────────────────────────────── */
#info {
    font-size: var(--font-size-sm);
    background-color: var(--color-info-bg);
    color: var(--color-info-text);
    width: 300px;
    border: 1px solid var(--color-silver);
    padding: 6px 10px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}
.infoLabel {
    color: var(--color-info-text);
    text-decoration: none;
    margin-left: 8px;
    vertical-align: middle;
}
#problem {
    background-color: var(--color-info-bg);
    color: var(--color-error-text);
    width: 300px;
    border: 1px solid var(--color-silver);
    padding-left: 10px;
}
#messageboard {
    background-color: var(--color-info-bg);
    color: var(--color-error-text);
    width: 300px;
    border: 1px solid var(--color-silver);
    padding-left: 10px;
}
.messageboardText,
.messageboardTextRed {
    display: block;
    margin: 8px 0;
    padding: 8px 12px;
    border: 1px solid;
    border-left-width: 4px;
    border-radius: 3px;
    text-decoration: none;
}
.messageboardText {
    color: var(--color-info-text);
    background-color: #eef7ee;
    border-color: var(--color-info-green);
}
.messageboardTextRed {
    color: #a00000;
    background-color: #fdeeee;
    border-color: var(--color-error-red);
}
/* ── Hilfsklassen ───────────────────────────────────────────────────────────── */
.hidden {
    display: none;
}
/* Sicherheitsnetz: <nobr> verhält sich korrekt in allen Browsern */
nobr {
    white-space: nowrap;
    display: inline;
}
/* ── Workspace / Formular-Container ────────────────────────────────────────── */
.workspace {
    border-spacing: 0 4px;
}
.workspace-form {
    border-spacing: 4px 5px;
}
.workspace-form--wide {
    width: 100%;
}
.workspace-form th {
    font-weight: 500;
    font-size: var(--font-size-sm);
    color: var(--color-text);
    text-align: left;
    padding: 0 4px 4px;
    border-bottom: 1px solid var(--color-silver);
    white-space: nowrap;
}
/* Label-Spalte in Formular-Tabellen */
.workspace-form td[align="right"],
table.workspace-form td[align="right"] {
    color: var(--color-mid-grey);
    font-size: var(--font-size-sm);
    white-space: nowrap;
}
/* ── data-grid: responsive mehrspaltige Datenliste (ersetzt workspace-form-Tabellen) ── */
.data-grid {
    display: grid;
    gap: 4px 10px;
    width: 100%;
}
.data-grid__header {
    font-size: var(--font-size-xs);
    color: var(--color-text-accent);
    border-bottom: 1px solid var(--color-silver);
    padding: 0 4px 4px;
    white-space: nowrap;
}
.data-grid__row {
    display: contents;
}
.data-grid__cell {
    padding: 4px 4px 6px;
    /* border-bottom: 1px solid var(--color-light-grey); */
    display: flex;
    align-items: center;
}
.data-grid--zuordnungen {
    grid-template-columns: 130px 90px 110px 90px 90px 1.4fr 1.2fr;
}
.data-grid--partnerschluessel {
    grid-template-columns: 1.4fr 120px 1.4fr 70px 110px 120px 120px 80px 90px;
}
/* Listen des Wirtschaftsbereichs (siehe WirtschaftVorhaben/-Proben/-Mailbox) */
.data-grid--wirtschaftvorhaben {
    grid-template-columns: 140px 90px minmax(100px, 1fr) 90px minmax(140px, 1.4fr) minmax(100px, 1fr) 100px;
}
.data-grid--wirtschaftproben {
    grid-template-columns: 170px minmax(100px, 1fr) minmax(100px, 1fr) 90px 110px 100px;
}
.data-grid--wirtschaftmailbox {
    grid-template-columns: minmax(200px, 2fr) minmax(120px, 1.3fr) minmax(120px, 1.2fr) minmax(100px, 1fr) minmax(120px, 1.2fr) 140px 80px;
}
/* Betreiber-Oberfläche (siehe betrieb/*) */
.data-grid--vorlagen {
    grid-template-columns: minmax(200px, 2fr) minmax(120px, 1.2fr) 90px 140px 110px 100px;
}
.data-grid--parameter {
    grid-template-columns: minmax(180px, 1.2fr) minmax(200px, 3fr) 100px;
}
.data-grid--nummern {
    grid-template-columns: minmax(240px, 3fr) 120px;
}
.data-grid--mailboxen {
    grid-template-columns: minmax(130px, 1fr) minmax(120px, 1.4fr) minmax(130px, 1fr) minmax(90px, 0.7fr) minmax(130px, 1fr);
}
.data-grid--mailbox {
    grid-template-columns: minmax(110px, 1fr) minmax(160px, 2fr) minmax(100px, 1fr) minmax(80px, 0.7fr) minmax(130px, 1fr) minmax(100px, 1fr);
}
.betrieb-geheimnis {
    font-size: 1.1em;
    user-select: all;
    word-break: break-all;
}
.data-grid__cell .input {
    width: -moz-available;
}
@media (max-width: 900px) {
    .data-grid--zuordnungen, .data-grid--partnerschluessel, .data-grid--wirtschaftvorhaben, .data-grid--wirtschaftproben, .data-grid--wirtschaftmailbox, .data-grid--vorlagen, .data-grid--parameter, .data-grid--nummern, .data-grid--mailboxen, .data-grid--mailbox {
        grid-template-columns: 1fr;
    }
    .data-grid__header {
        display: none;
    }
    .data-grid__row {
        display: grid;
        grid-template-columns: 1fr;
        border: 1px solid var(--color-light-grey);
        border-radius: 6px;
        padding: 6px 8px;
        margin-bottom: 8px;
    }
    .data-grid__cell {
        display: grid;
        grid-template-columns: 140px 1fr;
        gap: 0 10px;
        border-bottom: none;
        padding: 3px 0;
    }
    .data-grid__cell::before {
        content: attr(data-label);
        font-weight: 500;
        font-size: var(--font-size-sm);
        color: var(--color-mid-grey);
    }
}
/* ── head-grid: Kopfzeilen-Felder + Nav-Toolbar, reflowt per flex-wrap ──────── */
.head-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 16px;
    margin-bottom: 1.5em;
}
/** Erzwingt einen Zeilenumbruch im head-grid (z.B. nach nav-tools), unabhängig von der verfügbaren Breite. */
/* ── field-flow: reflowende Feldgruppe für Formular-Sektionen im Tab-Body (wie .head-grid, aber ohne Kopfbereich-Sonderfälle) ── */
.field-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 16px;
    margin-bottom: 6px;
}
.field-flow__item .form-label {
    display: block;
    margin-bottom: 2px;
    text-align: left;
}
/* Checkbox als eigene Kapsel ("Chip") statt nacktem Häkchen + Label — Haken wird per CSS-Pseudo-Element gezeichnet, kein Icon-Asset nötig */
.field-flow__item--check {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--color-silver);
    border-radius: 3px;
    padding: 3px 5px 3px 5px;
    width: fit-content;
    cursor: pointer;
}
.field-flow__item--check input.check {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    margin: 0;
    flex: none;
    border: 1px solid var(--color-mid-grey);
    border-radius: 3px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.field-flow__item--check input.check:checked {
    background: var(--color-brand-dark);
    border-color: var(--color-brand-dark);
}
.field-flow__item--check input.check:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.field-flow__item--check input.check:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: 2px;
}
.field-flow__item--check .form-label {
    margin-bottom: 0;
    /* color: #eef4f0; */
    font-size: var(--font-size-xs);
    cursor: pointer;
}
/* Gebührenassistent-Button (Besichtigungen): rechtsbündig im field-flow + farblich hervorgehoben, damit er im Bereich "Besichtigungen" nicht untergeht. */
/* Feste Mindestbreite für ein field-flow-Item, dessen Label-Länge stark variiert (z.B. "zurückgezogen/nicht besichtigt" vs. "§ 8(2)") —
   damit ein direkt nachfolgendes Feld (z.B. "Grund") über mehrere Zeilen hinweg an derselben Spaltenposition beginnt. */
/** Erzwingt einen Zeilenumbruch im field-flow (z.B. zwischen thematisch getrennten Feldern), unabhängig von der verfügbaren Breite. */
.field-flow__break {
    flex-basis: 100%;
    height: 0;
}
@media (max-width: 768px) {
    .field-flow {
        gap: 8px 16px;
    }
}
/* ── field-flow-2col: zwei fest zugeordnete, senkrecht gestapelte Spalten (statt responsivem Reflow) ── */
.field-flow-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 32px;
    margin-bottom: 6px;
}
.field-flow--col {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .field-flow-2col {
        grid-template-columns: 1fr;
        gap: 8px 16px;
    }
}
/* ── zweiteiler: Zweispalten-Layout innerhalb eines Tabs (ersetzt Zweiteiler-Tabelle) ── */
.zweiteiler {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
    align-items: start;
}
@media (max-width: 900px) {
    .zweiteiler {
        grid-template-columns: 1fr;
    }
}
/* Modifikator: linke Spalte breiter als rechte (z.B. "Zuordnung" vs. "Untersuchungsauftrag" im Probeneingang). */
/* Modifikator: rechte Spalte breiter als linke (z.B. "Summenkriterien" vs. "Flächen" in besichtigungenUpdate — die
   Flächen-Box braucht wegen ihrer langen "Grund"-Freitextfelder deutlich mehr Breite als die schmale Kriterienliste). */
/* ── sumkrit-row: Summenkriterien-Zeile (besichtigungenUpdate, Tab "Summen/Flächen") — Label+Grenzwert, Werteingabe
   und Bewertung als Segmented-Control statt separater Tabellenspalten mit eigener Kopfzeile. ── */
/* Feste Breite (statt flex-grow) — sonst zieht sich das Label je nach Zeile unterschiedlich weit, weil es den
   kompletten Rest der Zeile ausfüllt: die Segmented-Control ist bei Ja/Nein-Kriterien schmaler (nur Erf./oE., kein
   8(2)), wodurch Wert- und Häkchen-Spalte sonst pro Zeile an einer anderen Stelle beginnen würden. */
/* Feste Breite statt inhaltsbasierter Größe — sonst hat jede Zeile ihre eigene Spaltenbreite (Textfeld vs. Checkbox
   sind unterschiedlich breit) und der Inhalt fluchtet nicht über die Zeilen hinweg. min-width:0 verhindert, dass ein
   Flex-Item sich am intrinsischen Mindestinhalt (hier: das Textfeld) aufbläht statt die feste Breite zu respektieren. */
/* Textfeld selbst auf dieselbe feste Breite zwingen (statt browserabhängiger Größe über das size-Attribut), damit es
   nicht über die Spaltenbreite hinausragt und die Zentrierung der Checkbox in anderen Zeilen unterläuft. */
/* Ja/Nein-Kriterien (z.B. Mindestentfernung, RNQP-Symptome): eigenständig gezeichnete Checkbox statt kaum sichtbarer
   nativer Checkbox — zwischen den farbigen Segmented-Control-Pills sonst schwer erkennbar/treffbar. Generisch für jedes
   Kriterium mit kriteriumTyp J/N, nicht an einen bestimmten Kriteriumsnamen gebunden. Gleiche Technik wie .field-flow__item--check. */
/* Segmented-Control: echte Radiobuttons, optisch zu einer Gruppe zusammengefasst statt einzelner Tabellenzellen.
   margin-left:auto hält sie rechtsbündig am Zeilenende — unabhängig von der (durch .sumkrit-row__label) fest
   positionierten Wert-Spalte davor und unabhängig davon, ob 2 oder 3 Optionen gerendert werden. */
/* ── flaechen-zone: Flächen-Box (besichtigungenUpdate, Tab "Summen/Flächen") — "Meldung"/"Ausnahmen"/"Weitere Prüfungen"
   als getrennte Teilboxen statt einer einzigen reflowenden Feldliste, in der "Grund" optisch nicht zugeordnet war. ── */
/* Nur im Ausnahmefall befüllt — dezent farblich abgesetzt. */
/* Feld + zugehöriges "Grund"-Freitextfeld in derselben Zeile statt gestapelt — nutzt die durch
   .zweiteiler--wide-right gewonnene Breite direkt für die Grund-Eingabe. */
/* ── Grid-Formular ─────────────────────────────────────────────────────────── */
.form-row {
    display: grid;
    grid-template-columns: var(--width-label) 1fr;
    align-items: center;
    gap: 10px;
    padding: 2px 0;
}
/* Einspaltige Sektion: Felder nehmen nur Inhaltsgröße ein, kein Strecken auf td-Breite */
.form-section {
    width: fit-content;
    min-width: 50vw;
    margin-bottom: 6px;
}
/* Zweispaltige Sektion (innerhalb .zweiteiler-col): min-width:50vw je Spalte würde zusammen
   ≥100vw fordern und .app-content sprengen — im Grid-Spaltenkontext zurücksetzen */
.zweiteiler-col .form-section {
    min-width: 0;
    width: 100%;
}
/* .form-section .form-row {
    grid-template-columns: max-content auto;
} */
/* 2-Spalten-Sektion: form-rows werden paarweise nebeneinander angeordnet */
.form-section--2col {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    margin-bottom: 6px;
}
/* Wrapper, der einspaltigen .form-section innerhalb dieselbe Breite gibt wie eine Spalte
   einer .form-section--2col-Zeile (calc(50% - 12px), passend zu deren gap: 4px 24px) */
.form-section--2col .form-row {
    flex: 0 0 calc(50% - 12px);
    /* grid-template-columns: auto 1fr; */
    gap: 5px 10px;
    margin-bottom: 0;
}
/* Volle Breite innerhalb einer 2-Spalten-Sektion */
.form-field input:not([class="check"]),
.form-field select {
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: stretch;
}
.form-field input[type="submit"],
.form-field input[type="image"] {
    width: revert;
}
/* Für Felder, die sich eine Zeile mit einem Button/weiterem Element teilen (z.B. Datum + "geprüft"-Button) — kein Streichen auf volle Feldbreite. */
/* Einheitliche Breite für kurze Nummernfelder mit unterschiedlichem HTML-size/maxlength (z.B. Zuordnung: Züchter/VO-Firma/Aufbereiter/
   SBI/Anerk.-Reg.bez./Kreis/Gemeinde) — Breite kommt aus CSS statt aus dem size-Attribut, damit die Felder optisch gleich breit sind,
   obwohl die zugrunde liegenden Datenfelder unterschiedlich lang sind (GitLab #31). */
/* Textfeld neben einem Pfeil-Button (selectorButton) darf nicht auf 100% strecken — sonst bleibt kein Platz für den Button */
/* Auswahl-Dropdown, das sich eine Zeile mit einem nachfolgenden Textfeld teilt (z.B. Einreicher-/Rechnungsempfänger-Typauswahl) — nicht auf volle Feldbreite strecken, sonst bleibt kein Platz für Textfeld/Button/Info */
.form-field select:has(~ input) {
    width: revert;
}
/* Schreibgeschützte Referenzfelder (z.B. kurze IDs) sollen nicht auf volle Zeilenbreite gestreckt werden */
.form-section input[readonly],
.form-section--2col input[readonly] {
    width: revert;
}
/* Gestapelte Formularzeile: Label über dem Feld */
/* Hinweistexte in Formularzeilen: Info-Button mit Popover statt Fließtext (siehe .info-trigger/.info-btn/.info-popover) */
.form-field .info-trigger,
.form-label .info-trigger,
.field-flow__item .info-trigger {
    margin-left: 6px;
    vertical-align: middle;
}
.form-field .info-btn,
.field-flow__item .info-btn {
    font-weight: revert;
    width: 1.5em;
    height: 1.5em;
}
/* flowFieldCheck(label, content, hint) hängt den Info-Button als eigenes Flex-Item rechts neben die
   Checkbox-Chip-Box an (kein Nachkomme von .field-flow__item) — ohne diese Regel greift nur die
   Basisgröße aus .info-btn (24px), größer als bei den anderen Infobuttons. align-self: center statt
   dem geerbten align-items: flex-end von .field-flow, damit der Button nicht am unteren Rand der Zeile klebt. */
.field-flow > .info-trigger {
    align-self: center;
    margin-left: -6px;
}
.field-flow > .info-trigger .info-btn {
    font-weight: revert;
    width: 1.5em;
    height: 1.5em;
}
.form-field .check {
    margin-left: 0;
}
/* Zwei gestapelte Felder nebeneinander (z. B. PLZ + Ort, Land + Bundesland) */
/* Felder dürfen nicht unter ihre Inhaltsbreite schrumpfen — sonst überlagert der Inhalt (z.B. Pfeil-Button) das nächste Feld */
/* Innerhalb der Gruppe als eindeutiges Flex-Layout statt Grid — verhindert unvorhersehbare Breitenberechnung/Überlagerung.
   Erstes Label bleibt bündig mit den Labels der Zeilen davor, weitere Labels in der Gruppe nur so breit wie nötig. */
/* Letztes Feld der Gruppe nutzt die restliche Breite aus, damit es rechts mit den Zeilen darüber abschließt */
/* Stacked rows in 2-Spalten-Sektion */
.form-label {
    text-align: right;
    font-size: var(--font-size-xs);
    color: var(--color-text);
    white-space: wrap;
}
.form-field {
    font-size: var(--font-size-sm);
    white-space: nowrap;
}
.hint {
    font-size: var(--font-size-sm);
    color: var(--color-mid-grey);
    margin-left: 6px;
}
fieldset {
    margin: 0 0 10px 0;
}
legend {
    color: var(--color-brand-dark);
}
/* ── card-fieldset: freistehende Karte statt Rahmen-Kasten — Trennung zwischen Gruppen meist rein räumlich (ohne <legend>);
   für Fieldsets, die schon vor der Card-Migration eine Legende hatten, bleibt sie erhalten, aber zurückhaltend gestylt. ── */
.card-fieldset {
    background: var(--color-row-alt);
    border: none;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin: 5px;
}
.card-fieldset legend {
    font-weight: 600;
    padding: 0 2px;
}
/* Verschachteltes Fieldset innerhalb einer .card-fieldset (z.B. "spezielle Zuordnungen") — dezenter als eigenständige Karte,
   Legende bewusst zurückhaltend (Fließtext-Grauton statt Akzentfarbe/Fettschrift) */
/* Reihe mehrerer .card-fieldset nebeneinander, per flex-wrap responsiv umbrechend statt fester Tabellenspalten. */
/* .form-section erzwingt sonst min-width: 50vw — würde hier schon 2 Karten auf volle Zeilenbreite treiben.
   Im card-row-Kontext auf den tatsächlichen Inhalt zurücksetzen, wie bei .zweiteiler-col. */
/* Summenzeile am Ende eines .card-fieldset — optisch abgesetzt durch Trennlinie statt eigener freistehender Box. */
/* Kopfbereich-Boxen (Identifikation/Erfassung/Pflanze) sollen die Zeile ausfüllen statt nur ihren Inhalt zu umschließen.
   margin-bottom: 0 hebt das von .head-grid geerbte 1.5em auf (das ist für den äußeren Container gedacht) — der
   flex-gap von .head-grid übernimmt den Abstand zwischen den Boxen bereits. */
.head-grid > fieldset {
    flex: 1 1 auto;
    margin-bottom: 0;
}
/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    :root {
        --font-size-base: 13px;
        --font-size-sm: 11px;
    }
    .form-row {
        grid-template-columns: 1fr;
        margin-top: 0.5rem;
        gap: 2px;
    }
    .form-label {
        text-align: left;
    }
}
/* ── Login-Seite ─────────────────────────────────────────────────────────────── */
.login-outer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 32px;
}
/* ── app-topbar--nav (helle Topbar mit Dropdown-Nav, alle Seiten) ───────────── */
.app-topbar--nav {
    background: #f5f5f5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    overflow: visible;
    border-bottom: 1px solid #e0e0e0;
    padding-left: 0;
}
.app-topbar--nav .app-topbar-left {
    gap: 0;
    align-items: center;
    align-self: stretch;
}
.app-topbar--nav .app-topbar-brand {
    background: #e8e8e8;
    color: var(--color-brand-dark);
    /* font-weight: bold; */
    padding: 0 16px;
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
    align-self: stretch;
    border: none;
    margin-right: 8px;
}
.app-topbar--nav .app-topbar-brand:hover {
    background: #dcdcdc;
    color: var(--color-text-dark);
}
.app-topbar--nav .app-topbar-right {
    gap: 12px;
}
.app-topbar--nav .app-topbar-action {
    color: var(--color-brand-dark);
    border-radius: 0;
    padding: 2px 4px;
    font-size: var(--font-size-xs);
    font-weight: 600;
}
.app-topbar--nav .app-topbar-action:hover {
    background: none;
    color: var(--color-text-dark);
}
/* .app-topbar--nav .app-topbar-logout {
    color: var(--color-mid-grey);
} */
/* ── Navigation des Wirtschaftsbereichs (flache Linkleiste in der Topbar) ──── */
.wirtschaft-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-left: 12px;
}
.wirtschaft-nav-link {
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: var(--color-text);
    font-size: var(--font-size-xs);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.wirtschaft-nav-link:hover,
.wirtschaft-nav-link.is-active {
    color: var(--color-brand-dark);
    border-bottom-color: var(--color-brand);
}
.wirtschaft-nav-link.is-active {
    font-weight: bold;
}
a.app-topbar-action.is-active {
    color: var(--color-text);
    font-weight: bold;
}
/* ── Listenseiten des Wirtschaftsbereichs: Aktion, Filterleiste, Seitenschalter ── */
a.wirtschaft-action {
    display: inline-block;
    padding: 5px 14px;
    background: var(--color-brand-dark);
    color: #ffffff;
    font-size: var(--font-size-sm);
    text-decoration: none;
    border-radius: 3px;
}
a.wirtschaft-action:hover {
    background: var(--color-brand);
}
.wirtschaft-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px 16px;
    margin: 0 0 14px;
    padding: 10px 12px;
    background: var(--color-row-alt);
    border-radius: 4px;
}
.wirtschaft-filter-feld {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--font-size-xs);
    color: var(--color-mid-grey);
}
.wirtschaft-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--color-light-grey);
}
.wirtschaft-tab {
    padding: 6px 14px;
    color: var(--color-text);
    font-size: var(--font-size-sm);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.wirtschaft-tab:hover,
.wirtschaft-tab.is-active {
    color: var(--color-brand-dark);
    border-bottom-color: var(--color-brand);
}
.wirtschaft-tab.is-active {
    font-weight: bold;
}
.wirtschaft-formkarte {
    max-width: 560px;
    padding: 4px 0;
}
.wirtschaft-formkarte--breit {
    max-width: 820px;
}
.wirtschaft-formkarte .form-field {
    font-size: var(--font-size-base);
}
.wirtschaft-hinweis {
    margin: 6px 0 12px;
    font-size: var(--font-size-xs);
    color: var(--color-mid-grey);
}
.wirtschaft-betreff {
    margin: 0 0 10px;
    color: var(--color-brand-dark);
}
.wirtschaft-nachricht {
    margin: 12px 0;
    padding: 10px 12px;
    background: var(--color-row-alt);
    border-radius: 4px;
    line-height: 1.5;
}
.wirtschaft-leer {
    color: var(--color-mid-grey);
    padding: 12px 0;
}
.wirtschaft-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 12px;
}
.wirtschaft-pager a,
.wirtschaft-pager span {
    padding: 3px 9px;
    font-size: var(--font-size-sm);
    border-radius: 3px;
    text-decoration: none;
    color: var(--color-brand-dark);
}
.wirtschaft-pager a:hover {
    background: var(--color-light-grey);
}
.wirtschaft-pager .is-active {
    background: var(--color-brand-dark);
    color: #ffffff;
    font-weight: bold;
}
/* ── sapr-navbar (Dropdown-Items in der Topbar) ─────────────────────────────── */
.sapr-navbar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: var(--font-size-4);
    line-height: 1;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
}
.sapr-navbar-inner {
    display: flex;
    align-items: stretch;
}
/* ── sapr-navbar: Burgermenü bei kleinerem Display ──────────────────────────── */
@media (max-width: 1350px) {
    .sapr-navbar-toggle {
        display: inline-flex;
    }
    .sapr-navbar-inner {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #ffffff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
        border-top: 2px solid var(--color-brand);
        z-index: 100;
        max-height: calc(100vh - 52px);
        overflow-y: auto;
    }
    .sapr-navbar-inner.is-open {
        display: flex;
    }
}
/* Info-/Problem-Box: standardmaessig unsichtbar (per JS eingeblendet). Nicht nur per style-Attribut, da der
   oeffentliche Wirtschaftsbereich per CSP (style-src 'self') Inline-Styles verbietet. */
#info, #problem {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}
/* Dashboard mit wenigen Kacheln (z.B. Start Wirtschaftsbereich): linksbuendig statt zentriert */
.dash-grid.dash-grid--start {
    margin: 0;
    max-width: 1000px;
}
/* ── Dashboard (selection.java) ─────────────────────────────────────────────── */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 14px;
    padding: 4px 0 16px;
    max-width: 1500px;
    margin: 0 auto;
}
@media (min-width: 700px) {
    .dash-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1000px) {
    .dash-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.dash-card {
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.dash-card-header {
    background: var(--color-brand-dark);
    color: #ffffff;
    font-weight: bold;
    font-size: var(--font-size-base);
    padding: 7px 14px;
}
.dash-card-desc {
    margin: 0;
    padding: 8px 14px 4px;
    font-size: var(--font-size-sm);
    color: var(--color-info-text);
    line-height: 1.4;
}
.dash-card-links {
    padding: 6px 14px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 3px 10px;
}
.dash-card-links a {
    font-size: var(--font-size-xs);
    color: var(--color-brand-dark);
    text-decoration: none;
    white-space: nowrap;
    padding-top: 3px;
}
.dash-card-links a:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 2px;
    margin-left: 10px;
    margin-bottom: 2px;
    border-radius: 50%;
    background-color: var(--color-mid-grey);
    vertical-align: middle;
}
.dash-card-links a:hover {
    text-decoration: underline;
    color: var(--color-brand);
}
/* Fehlermeldung unter einem Formularfeld (Wirtschaftsbereich) */
.wirtschaft-fehler {
    color: var(--color-error-red);
    font-size: var(--font-size-xs);
    margin-top: 2px;
}
.form-field [aria-invalid="true"] {
    border-color: var(--color-error-red);
}
/* Zusammenfassung der Eingabefehler oberhalb des Formulars */
.wirtschaft-fehlerliste {
    color: var(--color-error-red);
    margin: 0 0 12px;
    padding-left: 20px;
}
/* Standard-Schaltfläche eines Formulars, die per Eingabetaste ausgelöst wird, aber nicht sichtbar ist (liegt vor den Zeilen-Schaltflächen) */
.wirtschaft-versteckt {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ── Collector-Liste (Betreiber-Listen, Stil aus saproKapro) ───────────────── */
.collector-table-wrap {
    max-height: 70vh;
    overflow: auto;
    padding-bottom: 5px;
}
.collectorTable {
    border-collapse: collapse;
    width: 100%;
    font-size: var(--font-size-sm);
}
.collectorTable td,
.collectorTable th {
    padding: 8px 12px;
    border-bottom: 1px solid var(--color-light-grey);
    border-right: 1px solid var(--color-light-grey);
}
.collectorTable tr:hover {
    background-color: var(--color-light-grey);
}
.collectorHead,
.collectorSelHead,
.collectorHead2,
.collectorSelHead2,
.collectorHead3,
.collectorSelHead3,
.collectorHeadSieve {
    position: sticky;
    top: 0;
    z-index: 1;
}
.collectorHead {
    background-color: var(--color-header-bg);
    text-align: left;
    font-weight: bold;
    padding: 8px 12px;
}
.collectorSelHead {
    background-color: var(--color-header-bg);
    text-align: left;
    font-weight: bold;
    padding: 8px 12px;
    border-bottom: 3px solid var(--color-brand-dark);
    color: var(--color-brand-dark);
}
.collectornav {
    color: var(--color-text);
    /* font-weight: bold; */
    text-decoration: none;
}
a.collectornav:link,
a.collectornav:visited {
    color: var(--color-text);
    text-decoration: none;
}
a.collectornav:hover,
a.collectornav:active,
a.collectornav:focus {
    color: var(--color-text-dark);
    text-decoration: none;
}
.collector-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 6px 0 8px;
    border-bottom: 1px solid var(--color-light-grey);
    margin-top: 8px;
    margin-bottom: 6px;
    font-size: var(--font-size-xs);
}
.collector-toolbar input[type="text"],
.collector-toolbar select {
    height: 24px;
    line-height: 22px;
    padding: 0 8px;
    box-sizing: border-box;
}
.collector-toolbar-sep {
    color: var(--color-mid-grey);
    user-select: none;
}
.coll-btn {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline-block;
    min-width: 26px;
    height: 24px;
    margin: 0;
    padding: 0 7px 4px;
    border: 1px solid var(--color-silver);
    border-radius: 3px;
    background: #ffffff;
    color: var(--color-text);
    font-family: inherit;
    font-size: var(--font-size-xs);
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    vertical-align: middle;
}
.coll-btn:hover {
    background: var(--color-light-grey);
    border-color: var(--color-mid-grey);
}
.coll-btn--dis {
    color: var(--color-mid-grey);
    background: var(--color-lighter-grey);
    border-color: var(--color-light-grey);
    cursor: default;
}
.coll-btn--on {
    background: var(--color-brand);
    color: #ffffff;
    border-color: var(--color-brand-dark);
}
.nav-btn {
    font-size: var(--font-size-4);
    padding-bottom: 3px;
}
.coll-page-indicator {
    font-size: var(--font-size-xs);
    color: var(--color-brand-dark);
    padding: 0 2px;
}
.resultBright {
    background-color: #ffffff;
    cursor: pointer;
}
.resultDark {
    background-color: var(--color-row-alt);
    cursor: pointer;
}
.resultBright:hover {
    background-color: #e8f0fa;
}
.resultDark:hover {
    background-color: #e8f0fa;
}
.collector-liste tr {
    cursor: default;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
a.coll-btn,
a.coll-btn:link,
a.coll-btn:visited {
    text-decoration: none;
    line-height: 22px;
}
