/* Archivo selbst gehostet (OFL, siehe /fonts/archivo/OFL.txt); keine Schrift von Dritten. */
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo/Archivo-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
/* Hasan Tel 2415: überall Hand-Zeiger auf allem, was man klicken kann (ohne Gewicht, eigene Regeln wie not-allowed gehen vor). */
:where(button:not(:disabled), [role="button"], [wire\:click], [wire\:click\.stop], [wire\:click\.prevent], [x-on\:click], [x-on\:click\.stop], [x-on\:click\.prevent], [\@click], summary, select:not(:disabled), label:has(> input:not(:disabled))) { cursor: pointer; }
:where(button:disabled, [aria-disabled="true"]) { cursor: not-allowed; }
/* Buchhaltung nach Entwurf Tel 1286: Inter und JetBrains Mono, ebenfalls selbst gehostet (OFL, siehe LIZENZ.txt in /fonts/inter und /fonts/jetbrains-mono). */
@font-face { font-family: 'Inter'; src: url('/fonts/inter/Inter-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter/Inter-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono/JetBrainsMono-Regular.woff2') format('woff2'); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono/JetBrainsMono-Bold.woff2') format('woff2'); font-weight: 600 800; font-style: normal; font-display: swap; }

/*
 * teleint – Filament Theme (public/css/teleint.css, normales CSS ohne Vite)
 */


/* ---- Tokens ---------------------------------------------------------- */
:root {
  --tl-paper: #F3F2EC;
  --tl-line: #E6E4DC;
  --tl-citron: #DDF84E;
  --tl-radius: 10px;      /* Knöpfe, Felder */
  --tl-radius-lg: 14px;   /* Karten, Tabellen */
  --tl-shadow: 0 1px 2px rgba(21,19,14,.05), 0 4px 16px rgba(21,19,14,.06);
}
.dark { --tl-paper: #0E1512; --tl-line: #26312C; }

/* ---- Fläche „Papier“ statt Weiß ------------------------------------- */
.fi-body { background-color: var(--tl-paper); }
.fi-sidebar, .fi-topbar > nav { background-color: rgb(255 255 255); }
.dark .fi-sidebar, .dark .fi-topbar > nav { background-color: #151E1A; }

/* ---- Radius und Schatten -------------------------------------------- */
.fi-section, .fi-ta-ctn, .fi-wi-stats-overview-stat, .fi-modal-window {
  border-radius: var(--tl-radius-lg);
  box-shadow: var(--tl-shadow);
}
.fi-btn, .fi-input-wrp, .fi-select-input, .fi-dropdown-panel { border-radius: var(--tl-radius); }
.fi-badge { border-radius: 999px; font-weight: 560; }

/* ---- Schrift: Überschriften kräftig ------------------------------- */
.fi-header-heading, .fi-section-header-heading, .fi-wi-stats-overview-stat-value {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.fi-ta-text, .fi-wi-stats-overview-stat-value { font-variant-numeric: tabular-nums; }

/* ---- Dichte: kompakte Tabellen, große Tippflächen am Handy -------- */
.fi-ta-cell { padding-block: .625rem; }
.fi-ta-header-cell { text-transform: uppercase; font-size: .75rem; letter-spacing: .05em; }
@media (max-width: 767px) {
  .fi-btn, .fi-input-wrp { min-height: 44px; }
}

/* ---- Modus-Leiste (Komponente <x-mode-bar />) ---------------------- */
.tl-modebar { display: flex; gap: .625rem; align-items: center; padding: .625rem 1rem; border-radius: var(--tl-radius); margin-bottom: 1rem; font-weight: 560; font-size: .875rem; }
.tl-modebar strong { font-weight: 800; letter-spacing: .06em; }
.tl-modebar--aus     { background: #ECEBE5; color: #4A4841; }
.tl-modebar--entwurf { background: #FBEFDA; color: #8A5410; }
.tl-modebar--scharf  { background: #12503B; color: var(--tl-citron); }
.dark .tl-modebar--aus     { background: #232D29; color: #C9C7BE; }
.dark .tl-modebar--entwurf { background: #3A2A10; color: #F2B54A; }
.dark .tl-modebar--scharf  { background: var(--tl-citron); color: #0C3B2B; }

/* SCHARF-Knopf im Schalter: Zitrone auf Tannengrün */
.tl-mode-scharf[aria-pressed="true"] { background: #12503B; color: var(--tl-citron); }
.dark .tl-mode-scharf[aria-pressed="true"] { background: var(--tl-citron); color: #0C3B2B; }

/* ---- Eigene Bausteine für Seiten (Filament liefert keine Tailwind-Hilfsklassen aus) ---- */
.tl-spalte { display: flex; flex-direction: column; gap: .75rem; }
.tl-spalte--eng { gap: .25rem; }
.tl-spalte--weit { gap: 1rem; }
.tl-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.tl-zeile--weit { gap: .5rem 1.25rem; }
.tl-zeile--zwischen { justify-content: space-between; }
.tl-zeile--oben { align-items: flex-start; }
.tl-klein { font-size: .875rem; line-height: 1.25rem; }
.tl-mini { font-size: .75rem; line-height: 1rem; }
.tl-fett { font-weight: 600; }
.tl-blass { color: var(--gray-500); }
.tl-ok { color: var(--success-600); }
.tl-warnung { color: var(--warning-600); }
.tl-fehler { color: var(--danger-600); }
.tl-link { color: var(--primary-600); font-weight: 600; text-decoration: none; cursor: pointer; }
.tl-link:hover { text-decoration: underline; }
.tl-link--rot { color: var(--danger-600); }
.tl-trenner > * + * { border-top: 1px solid var(--tl-line); }
.tl-trenner > * { padding-block: .5rem; }
.tl-rahmen { border: 1px solid var(--tl-line); border-radius: 12px; padding: .75rem; background: rgb(255 255 255 / .6); }
.dark .tl-rahmen { background: rgb(255 255 255 / .03); }
.tl-gedimmt { opacity: .6; }
.tl-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .75rem; }
.tl-meldung { border: 1px solid var(--danger-300); background: var(--danger-50); color: var(--danger-700); border-radius: 12px; padding: 1rem; font-size: .875rem; }
.dark .tl-meldung { border-color: var(--danger-700); background: var(--danger-950); color: var(--danger-300); }
.tl-meldung ul { margin-top: .5rem; list-style: disc; padding-inline-start: 1.25rem; }
.tl-hinweis { border: 1px solid var(--warning-300); background: var(--warning-50); color: var(--warning-800); border-radius: 12px; padding: 1rem; font-size: .875rem; }
.dark .tl-hinweis { border-color: var(--warning-700); background: var(--warning-950); color: var(--warning-300); }
.tl-kanal-fehler { padding: .625rem .875rem; } .tl-kanal-fehler a { font-weight: 600; text-decoration: underline; }
.tl-kopfzeile { margin-bottom: .5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; font-size: .875rem; }

/* Kachel je Marktplatz (Design V19, LIESMICH 38): ruhiger Kasten, Name, zweite Zeile, Stand mit Farbpunkt */
.tl-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tl-kachel { --tl-stand: var(--gray-500); display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; min-width: 0;
  border-radius: 14px; border: 1px solid var(--tl-line); background: rgb(255 255 255); }
.dark .tl-kachel { --tl-stand: #a9b8b0; border-color: #1f2a25; background: #151c19; }
.tl-kachel--verbunden { --tl-stand: var(--success-600); }
.tl-kachel--stoerung { --tl-stand: var(--danger-600); }
.dark .tl-kachel--verbunden { --tl-stand: #34d399; }
.dark .tl-kachel--stoerung { --tl-stand: #f87171; }
.tl-kachel-name { font-size: 18px; font-weight: 700; }
.tl-kachel-unter { font-size: 13px; color: var(--gray-500); margin-top: 3px; overflow-wrap: anywhere; }
.dark .tl-kachel-unter { color: #a9b8b0; }
.tl-stand { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tl-stand); }
.tl-stand::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--tl-stand); }
.tl-kachel--offen .tl-stand::before, .tl-kachel--bald .tl-stand::before { background: #6b7280; }
.tl-verweise { font-size: 13px; color: var(--gray-500); padding-top: 4px; }
.dark .tl-verweise { color: #a9b8b0; }

/* Schrittleiste der Einrichtung */
.tl-schritte { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; font-size: .875rem; }
.tl-schritt { display: flex; align-items: center; gap: .5rem; color: var(--gray-500); text-decoration: none; }
.tl-schritt--aktiv { color: var(--primary-600); font-weight: 600; }
.tl-schritt-nr { display: inline-flex; width: 1.5rem; height: 1.5rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--gray-300); }
.tl-schritt--fertig .tl-schritt-nr { background: var(--success-500); border-color: var(--success-500); color: #fff; }

/* ---- Bausteine der älteren Seiten (Tabellen, Felder, Karten, Ampelpunkte) ---- */
.tl-tabelle { width: 100%; border-collapse: collapse; }
.tl-tabelle th { text-align: start; font-weight: 600; }
.tl-tabelle th, .tl-tabelle td { padding: .25rem .5rem; vertical-align: top; }
.tl-tabelle tfoot { font-weight: 600; }
.tl-tabelle--liste th, .tl-tabelle--liste td { padding: .5rem .75rem; }
.tl-tabelle--liste thead { font-size: .75rem; text-transform: uppercase; color: var(--gray-500); }
.tl-tabelle--liste tbody tr { border-top: 1px solid var(--tl-line); }
.tl-tabelle .tl-rechts, .tl-rechts { text-align: end; }
.tl-mitte { text-align: center; }
.tl-nowrap { white-space: nowrap; }
.tl-umbruch { white-space: normal; }
.tl-zeile-rot { background: var(--danger-50); }
.tl-zeile-gelb { background: var(--warning-50); }
.dark .tl-zeile-rot { background: color-mix(in oklab, var(--danger-500) 10%, transparent); }
.dark .tl-zeile-gelb { background: color-mix(in oklab, var(--warning-500) 10%, transparent); }
.tl-scroll { overflow-x: auto; border: 1px solid var(--tl-line); border-radius: 12px; }
.tl-ueberschrift { margin-bottom: .25rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); }
.tl-gross { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.tl-block { display: block; }
.tl-nach-rechts { margin-inline-start: auto; }
.tl-ende { align-self: flex-end; }
.tl-abstand-oben { margin-top: .75rem; }
.tl-abstand-unten { margin-bottom: 1rem; }
.tl-polster { padding-block: .5rem; }
.tl-zentriert { justify-content: center; }
.tl-schmal { max-width: 20rem; }
.tl-unterstrichen { text-decoration: underline; }
.tl-leise-link { color: inherit; text-decoration: none; }
.tl-leise-link:hover { text-decoration: underline; }
.tl-fuss { padding-block: 1rem; }
.tl-feld { border: 1px solid var(--gray-300); border-radius: var(--tl-radius); padding: .375rem .625rem; font-size: .875rem; background: #fff; color: inherit; }
.dark .tl-feld { border-color: rgb(255 255 255 / .1); background: var(--gray-900); }
.tl-paare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; }
.tl-drittel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.tl-details { display: grid; gap: 1rem; padding-bottom: 1rem; }
@media (min-width: 768px) { .tl-details { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tl-karte { display: flex; flex-direction: column; gap: .25rem; width: 100%; padding: 1rem; text-align: start; color: inherit; cursor: pointer;
  border: 1px solid var(--tl-line); border-radius: 12px; background: #fff; }
.dark .tl-karte { border-color: rgb(255 255 255 / .1); background: var(--gray-900); }
.tl-karte--aktiv, .dark .tl-karte--aktiv { border-color: var(--primary-500); box-shadow: 0 0 0 1px var(--primary-500); }
.tl-zeilenknopf { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; width: 100%; padding-block: .75rem; text-align: start;
  background: none; border: 0; color: inherit; cursor: pointer; }
.tl-breite-nummer { min-width: 12rem; }
.tl-breite-betrag { width: 6rem; text-align: end; }
.tl-punkt { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--gray-300); }
.dark .tl-punkt--grau { background: var(--gray-600); }
.tl-punkt--gruen { background: var(--success-500); }
.tl-punkt--gelb { background: var(--warning-500); }
.tl-punkt--rot { background: var(--danger-500); }
/* Auftrag 3 (Design V21): Platzhalter, solange es keine Artikelbilder gibt */
.tl-bild-platz { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px;
  border: 1px dashed var(--gray-300); font-size: 10px; color: var(--gray-500); }
.dark .tl-bild-platz { border-color: var(--gray-600); }
/* V23 (Design Mandant-ArtikelZuordnung): Zuordnung als Liste aus Zeilen; Hauptartikel grau, Varianten eingerückt darunter */
.tl-zl-kopf, .tl-zl-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-top: 1px solid var(--tl-line); }
.tl-zl-kopf { border-top: 0; font-size: .75rem; font-weight: 600; white-space: nowrap; color: var(--gray-500); }
.tl-zl-zeile--eltern { background: var(--gray-50); }
.dark .tl-zl-zeile--eltern { background: rgb(255 255 255 / .03); }
.tl-zl-bild { flex: 0 0 40px; }
.tl-zl-markt, .tl-zl-ww { flex: 1 1 170px; min-width: 0; }
.tl-zl-status { flex: 0 0 104px; font-size: .875rem; white-space: nowrap; }
/* V25: Bestand FBA / Odoo als zwei kleine Zeilen, Zahlen rechtsbündig */
.tl-zl-bestand { flex: 0 0 72px; font-size: .8125rem; line-height: 1.35; }
.tl-zl-bs-zeile { display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; }
.tl-zl-zahl { font-variant-numeric: tabular-nums; }
.tl-zl-knopf { flex: 0 0 100px; margin-left: auto; text-align: right; }
.tl-zl-titel { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.tl-zl-text { flex: 1; min-width: 0; }
.tl-zl-titel--teile { display: flex; gap: 4px; }
.tl-zl-kurz { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tl-zl-merkmal { flex-shrink: 0; }
/* Hasan Tel 515: Odoo-Variante in eigener Zeile, fett und nie abgeschnitten */
.tl-zl-variante { display: block; font-weight: 600; font-size: .8125rem; overflow-wrap: anywhere; }
/* Tel 516: Vorschlag im Zuordnen-Fenster – Bild links, Text, Knopf rechts */
.tl-zl-kandidat { display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; border: 1px solid var(--tl-line); border-radius: 12px; background: #fff; }
.dark .tl-zl-kandidat { border-color: rgb(255 255 255 / .1); background: var(--gray-900); }
.tl-zl-belegt { font-size: .75rem; font-weight: 600; color: var(--success-600, #16a34a); }
.dark .tl-zl-belegt { color: var(--success-400, #4ade80); }
.tl-zl-kandidat-text { display: flex; flex-direction: column; gap: .125rem; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.tl-zl-kandidat > .fi-btn { flex-shrink: 0; }
@media (max-width: 640px) {
  .tl-zl-kandidat { flex-wrap: wrap; }
  .tl-zl-kandidat-text { flex-basis: calc(100% - 52px); }
  .tl-zl-kandidat > .fi-btn { margin-inline-start: 52px; }
}
/* Etsy E2: lange Variantenwerte – Merkmal unter dem Namen, umbrechend, nie gekürzt */
.tl-zl-titel--untereinander { flex-direction: column; gap: 0; }
.tl-zl-titel--untereinander .tl-zl-nm { display: none; }
.tl-zl-titel--untereinander .tl-zl-merkmal { white-space: normal; overflow-wrap: anywhere; }
.tl-zl-unter { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-zl-gedaempft { opacity: .75; }
.tl-zl-punktwort { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tl-zl-punktwort .tl-punkt { width: 8px; height: 8px; }
.tl-zl-link { color: var(--gray-500); text-decoration: underline; white-space: nowrap; }
.tl-zl-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--gray-300);
  font-size: .8125rem; white-space: nowrap; }
.dark .tl-zl-chip { border-color: var(--gray-600); }
.tl-zl-pille { display: inline-flex; align-items: center; gap: 6px; height: 28px; margin-top: 6px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--gray-300); background: none; color: inherit; font-size: .75rem; white-space: nowrap; cursor: pointer; }
.dark .tl-zl-pille { border-color: var(--gray-600); }
.tl-zl-kinder { margin-left: 26px; border-left: 2px solid var(--gray-300); }
.dark .tl-zl-kinder { border-left-color: var(--gray-600); }
.tl-zl-auf { padding: 10px 12px 14px; border-top: 1px solid var(--tl-line); }
.tl-zl-mob { display: none; }
@media (max-width: 700px) {
  .tl-zl-kopf { display: none; }
  .tl-zl-mob { display: inline; }
  .tl-zl-nm { display: none; }
  .tl-zl-unter { white-space: normal; overflow-wrap: anywhere; }
  .tl-zl-titel--teile { flex-direction: column; gap: 0; }
  .tl-zl-merkmal { white-space: normal; overflow-wrap: anywhere; }
  .tl-zl-markt { flex-basis: 0 !important; }
  .tl-zl-ww { flex-basis: 100% !important; padding-left: 52px !important; }
  .tl-zl-bs { display: flex; gap: 12px; }
  .tl-zl-bs-zeile { gap: 4px; }
}
/* Kennung des Wartungshinweises (Aussehen kommt von tl-modebar--entwurf) */
.tl-wartung { }
/* V24 Warenwirtschaft als eine Seite: drei gleich hohe Kästen (Zugang | Zugriff | Schreiben), unten der leise Link „Weitere …“ */
/* V24: gleich hohe Kästen – jede Hülle zwischen Grid-Zelle und Section gibt die Höhe weiter. */
.tl-kaesten > .fi-grid > .fi-grid-col > .fi-sc-component,
.tl-kaesten > .fi-grid > .fi-grid-col > .fi-sc-component > .fi-sc-section,
.tl-kaesten > .fi-grid > .fi-grid-col > .fi-sc-component > .fi-sc-section > .fi-section { height: 100%; }
.tl-weitere { display: block; text-align: center; padding: 4px 0; color: var(--gray-500); font-size: .8125rem; text-decoration: underline; }
/* V27/V28 Schritt 4 (Design wawi_liste.py): Artikelliste der Warenwirtschaft – Bild vorn, Hauptartikel mit eingerückten Varianten.
   Unter 700 px: ohne Kopf, Zeile bricht um, kleine Vorsätze („Ref.“, „EAN“ …) sichtbar, Steuer und Erlöskonto entfallen. */
.tl-wl { border: 1px solid var(--tl-line); border-radius: 14px; background: rgb(255 255 255); min-width: 0; }
.dark .tl-wl { border-color: #1f2a25; background: #151c19; }
.tl-wl-oben { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 12px; }
.tl-wl-oben-text { min-width: 0; }
.tl-wl-titel { font-size: .9375rem; font-weight: 600; }
.tl-wl-zaehler { font-size: .8125rem; margin-top: 2px; }
.tl-wl-suche { width: 240px; max-width: 100%; }
.tl-wl-kopf, .tl-wl-z { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 12px; padding: 10px 12px; border-top: 1px solid var(--tl-line); }
.tl-wl-kopf { padding-top: 8px; padding-bottom: 8px; font-size: .75rem; font-weight: 600; color: var(--gray-500); white-space: nowrap; }
.tl-wl-z { font-size: .875rem; }
.tl-wl-z--haupt { background: var(--gray-50); }
.dark .tl-wl-z--haupt { background: rgb(255 255 255 / .03); }
.tl-wl-bild { flex: 0 0 40px; }
.tl-wl-img { display: block; width: 40px; height: 40px; border-radius: 8px; object-fit: contain; background: #fff; }
.tl-wl-name { flex: 1 1 200px; min-width: 0; }
.tl-wl-ref { flex: 0 0 104px; min-width: 0; overflow-wrap: anywhere; }
.tl-wl-ean { flex: 0 0 116px; }
.tl-wl-preis { flex: 0 0 72px; text-align: right; white-space: nowrap; }
.tl-wl-bestand { flex: 0 0 64px; text-align: right; font-variant-numeric: tabular-nums; }
.tl-wl-steuer { flex: 0 0 80px; }
.tl-wl-konto { flex: 1 1 140px; min-width: 0; }
.tl-wl-pfeil { flex: 0 0 12px; }
.tl-wl-text { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-wl-name > .tl-wl-text { font-weight: 600; }
.tl-wl-kinder { margin-left: 26px; border-left: 2px solid var(--gray-300); }
.dark .tl-wl-kinder { border-left-color: var(--gray-600); }
.tl-wl-fuss { padding: 10px 12px; border-top: 1px solid var(--tl-line); font-size: .8125rem; }
.tl-wl-mob { display: none; }
@media (max-width: 700px) {
  .tl-wl-kopf { display: none; }
  .tl-wl-mob { display: inline; }
  .tl-wl-z { flex-wrap: wrap; }
  .tl-wl-z > .tl-wl-weg, .tl-wl-z > div:empty { display: none; }
  .tl-wl-z > div { flex: 0 1 auto; text-align: left; }
  .tl-wl-z > .tl-wl-name { flex: 1 1 calc(100% - 60px); }
  .tl-wl-ein { margin-left: 52px; }
}

/* V26/V27 Artikel-Fenster von rechts (x-tl-fenster, Design artikel_fenster.py/wawi_fenster.py): 560 px, Seite abgedunkelt dahinter, am Handy volle Breite. */
.tl-wl-klick { cursor: pointer; }
.tl-wl-klick:hover { background: rgb(0 0 0 / .025); }
.dark .tl-wl-klick:hover { background: rgb(255 255 255 / .03); }
.tl-so { position: fixed; inset: 0; z-index: 40; display: flex; justify-content: flex-end; }
.tl-so-hinten { position: absolute; inset: 0; background: rgb(17 24 39 / .45); }
.dark .tl-so-hinten { background: rgb(0 0 0 / .6); }
.tl-so-fenster { position: relative; width: 560px; max-width: 100%; height: 100%; overflow-y: auto; display: flex; flex-direction: column;
  background: rgb(255 255 255); border-left: 1px solid var(--tl-line); border-radius: 14px 0 0 14px; box-shadow: -12px 0 32px rgb(0 0 0 / .18); }
.dark .tl-so-fenster { background: #151c19; border-color: #2a3a33; box-shadow: -12px 0 32px rgb(0 0 0 / .55); }
.tl-so-kopf { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 14px; }
.tl-so-oben { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .8125rem; }
.tl-so-zurueck { color: var(--primary-600); text-align: left; }
.dark .tl-so-zurueck { color: #9bd3b6; }
button.tl-so-zurueck:hover { text-decoration: underline; }
.tl-so-zu { font-size: 1.25rem; line-height: 1; color: var(--gray-500); padding: 2px 4px; }
.tl-so-zu:hover { color: var(--gray-700); }
.dark .tl-so-zu:hover { color: var(--gray-200); }
.tl-so-titelzeile { display: flex; align-items: flex-start; gap: 14px; }
.tl-so-titeltext { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tl-so-titel { font-size: 1.125rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.tl-so-unter { font-size: .8125rem; }
.tl-so-bild { flex: none; }
.tl-so-bild .tl-wl-img, .tl-so-bild .tl-bild-platz { width: 88px; height: 88px; border-radius: 10px; }
.tl-so-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tl-so-block { display: flex; flex-direction: column; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--tl-line); min-width: 0; }
.tl-so-bkopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tl-so-btitel { font-size: .8125rem; font-weight: 700; }
.tl-so-zeile { display: grid; grid-template-columns: minmax(96px, 140px) minmax(0, 1fr); gap: 10px; font-size: .875rem; }
.tl-so-zeile > .tl-blass { font-size: .8125rem; }
.tl-so-wert { min-width: 0; overflow-wrap: anywhere; }
.tl-so-text { font-size: .875rem; line-height: 1.5; }
.tl-so-klein { font-size: .75rem; }
.tl-so-nowrap { white-space: nowrap; display: inline-block; }
.tl-so-karte { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 12px; border: 1px solid var(--tl-line); border-radius: 10px;
  font-size: .875rem; text-align: left; width: 100%; }
button.tl-so-karte:hover { background: rgb(0 0 0 / .025); }
.dark button.tl-so-karte:hover { background: rgb(255 255 255 / .03); }
.tl-so-kbild { flex: none; }
.tl-so-ktext { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; }
.tl-so-kname { font-weight: 600; }
.tl-so-fuss { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--tl-line);
  background: var(--gray-50); border-radius: 0 0 0 14px; }
.dark .tl-so-fuss { background: #121815; border-color: #2a3a33; }
.tl-so-fusstext { width: 100%; }
/* V28 Schritt 3: Amazon-Artikel-Fenster – Knopf „kommt später“, Bilder, Varianten-Tabelle */
.tl-so-spaeter { padding: 6px 12px; border: 1px dashed var(--gray-300); border-radius: 8px; font-size: .8125rem; color: var(--gray-500); cursor: not-allowed; }
.dark .tl-so-spaeter { border-color: #3a4b43; color: var(--gray-400); }
.tl-so-bilder { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-so-bildlink { display: block; width: 72px; height: 72px; border: 1px solid var(--tl-line); border-radius: 8px; overflow: hidden; background: #fff; }
.tl-so-bildlink img { width: 100%; height: 100%; object-fit: contain; }
.tl-so-bildlink:hover { border-color: var(--primary-500); }
.tl-so-umbruch { white-space: pre-line; }
.tl-so-liste { list-style: disc; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 4px; }
.tl-so-tabelle { display: flex; flex-direction: column; font-size: .875rem; }
.tl-so-tkopf, .tl-so-tzeile { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, .9fr) 64px 72px 14px; gap: 8px; align-items: center;
  padding: 8px 4px; text-align: left; width: 100%; }
.tl-so-tkopf { font-size: .75rem; border-bottom: 1px solid var(--tl-line); }
.tl-so-tzeile { border-bottom: 1px solid var(--tl-line); }
.tl-so-tzeile:hover { background: rgb(0 0 0 / .025); }
.dark .tl-so-tzeile:hover { background: rgb(255 255 255 / .03); }
.tl-so-tzeile > span { min-width: 0; overflow-wrap: anywhere; }
.tl-so-rechts { text-align: right; }
.tl-so-mob { display: none; }
@media (max-width: 700px) {
  .tl-so-fenster { width: 100%; border-radius: 0; border-left: 0; }
  .tl-so-fuss { border-radius: 0; }
  .tl-so-tkopf { display: none; }
  .tl-so-tzeile { grid-template-columns: minmax(0, 1fr) auto 14px; gap: 2px 10px; }
  .tl-so-tzeile > :nth-child(1) { grid-area: 1 / 1; }
  .tl-so-tzeile > :nth-child(2) { grid-area: 2 / 1; }
  .tl-so-tzeile > :nth-child(3) { grid-area: 3 / 1; }
  .tl-so-tzeile > :nth-child(4) { grid-area: 2 / 2; }
  .tl-so-tzeile > :nth-child(5) { grid-area: 1 / 2; white-space: nowrap; }
  .tl-so-tzeile > :nth-child(6) { grid-area: 1 / 3 / 4 / 3; align-self: center; }
  .tl-so-mob { display: inline; }
}

/* Plan Amazon-Abrechnung E5 (Design V32 amazon_abrechnung.py): Liste der Amazon-Abrechnungen (Spalten wie tl-wl) und Fenster mit Summen,
   Meldungen grün/orange/rot und Vorschau-Gruppen. Unter 700 px ohne Kopf, Zeitraum volle Breite, Pfeil entfällt. */
.tl-al-zeitraum { flex: 1 1 190px; min-width: 0; }
.tl-al-betrag { flex: 0 0 110px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-al-waehrung { flex: 0 0 70px; }
.tl-al-stand { flex: 1 1 210px; min-width: 0; }
.tl-al-pfeil { flex: 0 0 12px; }
.tl-al-fett { font-weight: 600; }
.tl-al-neu { font-size: .6875rem; font-weight: 600; color: var(--success-600); }
.dark .tl-al-neu { color: #9bd3b6; }
.tl-al-marke { display: inline-flex; }
.tl-al-standtext { margin-top: 4px; }
.tl-al-aktiv { background: var(--success-50); box-shadow: inset 3px 0 0 #2E8B57; }
.dark .tl-al-aktiv { background: #1b2a23; }
.tl-al-summen { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-al-kachel { flex: 1 1 110px; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--tl-line); background: var(--gray-50); }
.dark .tl-al-kachel { background: #101614; border-color: #1f2a25; }
.tl-al-zahl { font-size: 1rem; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tl-al-hinweise { display: flex; flex-direction: column; gap: 8px; }
.tl-ab-bestellungen { margin-top: 12px; }
.tl-al-meldung { padding: 10px 14px; border-radius: 10px; border: 1px solid; font-size: .8125rem; line-height: 1.5; }
.tl-al-meldung--gruen { background: var(--success-50); border-color: var(--success-500); color: var(--success-800); }
.tl-al-meldung--orange { background: var(--warning-50); border-color: var(--warning-500); color: var(--warning-800); }
.tl-al-meldung--rot { background: var(--danger-50); border-color: var(--danger-500); color: var(--danger-800); }
/* Bestellung öffnen: grauer nächster Schritt (nichts Dringendes). */
.tl-al-meldung--grau { background: var(--gray-50); border-color: var(--gray-300); color: var(--gray-700); }
.dark .tl-al-meldung--gruen { background: #12301f; border-color: #2E8B57; color: #c6ead6; }
.dark .tl-al-meldung--orange { background: #3a2a10; border-color: #E39225; color: #f0c47a; }
.dark .tl-al-meldung--rot { background: #3a1614; border-color: #C0392B; color: #f2a4a4; }
.dark .tl-al-meldung--grau { background: #1f2329; border-color: #4b5563; color: #d1d5db; }
.tl-al-gruppe > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: .875rem; font-weight: 600; }
.tl-al-gruppe > summary::-webkit-details-marker { display: none; }
.tl-al-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; line-height: 1.6; }
.tl-al-abgleich { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tl-al-vz { display: flex; align-items: baseline; gap: 10px; font-size: .875rem; padding: 6px 0; border-top: 1px solid var(--tl-line); }
.tl-al-vz-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.tl-al-geld { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tl-al-zusammen { display: flex; justify-content: space-between; padding: 10px 0 0; border-top: 1px solid var(--tl-line); font-size: .875rem; font-weight: 700; }
@media (max-width: 700px) {
  .tl-al-z > .tl-al-zeitraum { flex: 1 1 100%; }
  .tl-al-z > .tl-al-betrag { text-align: left; }
  .tl-al-z > .tl-al-pfeil { display: none; }
}

/* Amazon „Monat abschließen“ (Design V34 amazon_monat.py): Reiter „Monat“ – Satz oben, Zeile je Abrechnung mit Punkt, Betrag und nächstem Schritt,
   Lücken-Zeile orange. Unter 700 px bricht die Zeile um, Schritt unter dem Betrag. */
.tl-am-wahl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tl-am-satz { padding: 16px; border-top: 1px solid var(--tl-line); }
.tl-am-haupt { font-size: 1.125rem; line-height: 1.45; font-weight: 700; }
.tl-am-haupt--orange { color: var(--warning-600); }
.tl-am-haupt--gruen { color: var(--success-600); }
.dark .tl-am-haupt--orange { color: #f0c47a; }
.dark .tl-am-haupt--gruen { color: #9bd3b6; }
.tl-am-rest { font-size: .8125rem; margin-top: 4px; }
.tl-am-z { display: flex; align-items: center; gap: 8px 16px; padding: 14px; border-top: 1px solid var(--tl-line); font-size: .875rem; }
.tl-am-text { flex: 1 1 260px; min-width: 0; }
.tl-am-titel { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 600; }
.tl-am-stand { font-weight: 400; }
.tl-am-klein { margin: 4px 0 0 18px; }
.tl-am-punkt { width: 10px; height: 10px; flex: none; border-radius: 50%; box-sizing: border-box; }
.tl-am-punkt--blau { background: #7fb2ee; }
.tl-am-punkt--gruen { background: #34d399; }
.tl-am-punkt--grau { background: #6b7280; }
.tl-am-punkt--orange { background: #E39225; }
.tl-am-punkt--rot { background: #f87171; }
.tl-am-punkt--leer { border: 2px dashed #E39225; }
.tl-am-betrag { flex: 0 0 130px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tl-am-schritt { flex: 0 0 220px; text-align: right; font-weight: 600; }
.tl-am-link { color: var(--primary-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dark .tl-am-link { color: #9bd3b6; }
.tl-am-luecke { background: var(--warning-50); box-shadow: inset 3px 0 0 #E39225; }
.dark .tl-am-luecke { background: #1f1a10; }
.dark .tl-am-luecke .tl-warnung { color: #f0c47a; }
@media (max-width: 700px) {
  .tl-am-z { flex-wrap: wrap; }
  .tl-am-z > .tl-am-text { flex: 1 1 100%; }
  .tl-am-z > .tl-am-betrag, .tl-am-z > .tl-am-schritt { flex: 1 1 auto; text-align: left; }
  .tl-am-z > div:empty { display: none; }
}

/* Reiter Monat „Artikel im Monat“: Innenabstände wie die Abrechnungsliste (14px), Währung als Zwischenüberschrift, Zahlen ab 1024 px in festen Spalten. */
.tl-ma-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px; font-size: .875rem; }
.tl-ma-csv { color: var(--gray-600); font-size: .8125rem; font-weight: 600; }
.tl-ma-csv:hover { text-decoration: underline; text-underline-offset: 3px; }
.dark .tl-ma-csv { color: var(--gray-400); }
.tl-ma-hinweise { padding: 0 14px 14px; }
.tl-ma-block { padding: 0 14px 14px; border-top: 1px solid var(--tl-line); }
.tl-ma-waehrung { padding: 18px 0 2px; font-size: .9375rem; font-weight: 700; }
.tl-ma-fehlt { padding-bottom: 4px; }
.tl-ma-zahlen { font-weight: 400; }
.tl-ma .tl-al-geld { min-width: 7.5rem; text-align: right; }
.tl-ma-zahlen > span:empty { display: none; }
.tl-ma-zahlen > span:not(:empty) ~ span:not(:empty)::before { content: " · "; }
@media (min-width: 1024px) {
  .tl-ma-zahlen { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 12px; font-variant-numeric: tabular-nums; }
  .tl-ma-zahlen > span:empty { display: block; }
  .tl-ma-zahlen > span:not(:empty) ~ span:not(:empty)::before { content: none; }
}

/* Plan TikTok übertragen Stufe A (Design V30/V31b, tiktok_uebertragen.py): Liste „Zu TikTok übertragen“ und Fenster; Liste nutzt tl-wl-*, eigenes nur tl-tu-*. */
.tl-tu-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-width: 0; }
.tl-tu-von { display: flex; align-items: center; gap: 8px; }
.tl-tu-reiter { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0 12px; border-bottom: 1px solid var(--tl-line); }
.tl-tu-reiter-knopf { padding: 10px 0 8px; font-size: .875rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tl-tu-reiter-knopf--aktiv { font-weight: 600; border-bottom-color: var(--primary-600); }
.dark .tl-tu-reiter-knopf--aktiv { border-bottom-color: #9bd3b6; }
.tl-tu-ohne { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 12px; border-bottom: 1px solid var(--tl-line); font-size: .875rem; }
.tl-tu-wahl { flex: 0 0 20px; }
.tl-tu-check { width: 16px; height: 16px; border-radius: 4px; accent-color: var(--primary-600); }
.tl-tu-stand { flex: 0 0 150px; display: flex; flex-direction: column; gap: 2px; font-size: .8125rem; }
.tl-tu-punktwort { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tl-tu-schritt { flex: 0 0 120px; text-align: right; }
.tl-tu-weiter { font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.tl-tu-pad { padding: 0 20px 14px; }
.tl-tu-liste { border: 1px solid var(--tl-line); border-radius: 8px; overflow: hidden; }
.dark .tl-tu-liste { border-color: #2a3a33; background: #0f1412; }
.tl-tu-shop { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; font-size: .875rem; }
.tl-tu-shop + .tl-tu-shop { border-top: 1px solid var(--tl-line); }
.dark .tl-tu-shop + .tl-tu-shop { border-top-color: #1f2a25; }
label.tl-tu-shop { cursor: pointer; align-items: center; }
.tl-tu-shop--aus { opacity: .6; cursor: default; }
.tl-tu-shopname { flex: 1 1 auto; min-width: 0; }
.tl-tu-land { flex: 0 0 30px; font-weight: 700; }
.tl-tu-karte { padding: 10px 14px 4px; border: 1px solid var(--tl-line); border-radius: 10px; }
.dark .tl-tu-karte { border-color: #2a3a33; background: #101614; }
.tl-tu-sz { display: flex; align-items: flex-start; gap: 4px 10px; padding: 8px 0; border-top: 1px solid var(--tl-line); font-size: .875rem; }
.dark .tl-tu-sz { border-top-color: #1f2a25; }
.tl-tu-karte > .tl-so-kname { padding-bottom: 6px; }
.tl-tu-stext { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tl-tu-details { margin-top: 4px; }
.tl-tu-details > summary { cursor: pointer; }
.tl-tu-details > .tl-so-zeile { margin-top: 4px; }
.tl-tu-vorgaben { display: flex; flex-direction: column; gap: 4px; }
.tl-tu-vshop + .tl-tu-vshop { border-top: 1px solid var(--tl-line); }
.dark .tl-tu-vshop + .tl-tu-vshop { border-top-color: #1f2a25; }
.tl-tu-vshop > .tl-tu-shop { padding-left: 0; padding-right: 0; flex-wrap: wrap; }
.tl-tu-vfelder { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 14px; padding: 0 0 10px; }
.tl-tu-pad-x { padding: 0 14px; }
.tl-tu-vfeld { display: flex; flex-direction: column; gap: 4px; }
.tl-tu-kat { display: flex; flex-direction: column; gap: 6px; padding: 10px 14px; font-size: .875rem; }
.tl-tu-kat + .tl-tu-kat { border-top: 1px solid var(--tl-line); }
.dark .tl-tu-kat + .tl-tu-kat { border-top-color: #1f2a25; }
.tl-tu-kname { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.tl-tu-kwahl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-tu-kwahl > .fi-input-wrp { flex: 1 1 260px; min-width: 0; }
.tl-tu-angaben-kopf { padding: 14px 20px 4px; border-top: 1px solid var(--tl-line); font-size: .875rem; font-weight: 700; }
.tl-tu-gruppe { border-top: 1px solid var(--tl-line); }
.dark .tl-tu-gruppe, .dark .tl-tu-angaben-kopf { border-top-color: #1f2a25; }
.tl-tu-gkopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 20px; font-size: .875rem; cursor: pointer; list-style: none; }
.tl-tu-gkopf::-webkit-details-marker { display: none; }
.tl-tu-gkopf::before { content: "▸"; color: #7f9a8c; }
.tl-tu-gruppe[open] > .tl-tu-gkopf::before { content: "▾"; }
.tl-tu-gzahl { margin-left: auto; white-space: nowrap; }
.tl-tu-ginhalt { display: flex; flex-direction: column; gap: 10px; padding: 2px 20px 16px; }
.tl-tu-text { width: 100%; min-height: 8rem; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.tl-tu-bilder { display: flex; flex-wrap: wrap; gap: 10px; }
.tl-tu-bild { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 84px; }
.tl-tu-bildknopf { width: 84px; height: 84px; padding: 0; border: 2px solid var(--primary-600); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; }
.tl-tu-bildknopf img { width: 100%; height: 100%; object-fit: contain; }
.tl-tu-bild-aus .tl-tu-bildknopf { border-color: var(--tl-line); opacity: .45; }
.tl-tu-ergaenzen { align-self: flex-start; padding: 2px 0; }
.tl-tu-vfuss { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 0 0 12px; }
@media (max-width: 700px) {
  .tl-tu-stand { flex-direction: row; flex-wrap: wrap; gap: 2px 10px; margin-left: 32px; }
  .tl-tu-schritt { text-align: left; }
}
/* V33 Amazon-Artikel bearbeiten (amazon_bearbeiten.py): aufklappbare Blöcke, orange = geändert, noch nicht gesendet */
.tl-bw-block { border-top: 1px solid var(--tl-line); }
/* Satz „Du bearbeitest nur Amazon …“: bündig mit dem Fenstertitel (.tl-so-kopf 20px) */
.tl-bw-hinweis { padding: 0 20px 10px; }
/* U5 (Tel 1707): Speichern im Verbindungs-Formular bleibt am unteren Rand sichtbar */
.tl-klebend { position: sticky; bottom: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0;
  background: #fff; border-top: 1px solid var(--tl-line); }
.dark .tl-klebend { background: var(--gray-900); }
.tl-bw-block--geaendert { box-shadow: inset 3px 0 0 var(--warning-500); background: var(--warning-50); }
.dark .tl-bw-block--geaendert { background: #1d1a12; }
.tl-bw-kopf { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 13px 20px; }
.tl-bw-kopf::-webkit-details-marker { display: none; }
.tl-bw-pfeil { display: inline-block; transition: transform .15s; }
details[open] > .tl-bw-kopf .tl-bw-pfeil { transform: rotate(90deg); }
.tl-bw-titel { font-size: .875rem; }
.tl-bw-kurz { flex: 1 1 100%; padding-left: 18px; font-size: .8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
details[open] > .tl-bw-kopf .tl-bw-kurz { display: none; }
.tl-bw-inhalt { display: flex; flex-direction: column; gap: 8px; padding: 0 20px 16px 38px; min-width: 0; }
.tl-bw-etikett { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap;
  background: var(--warning-100); color: var(--warning-800); }
.dark .tl-bw-etikett { background: #3a2a10; color: #f0c47a; }
.tl-bw-feld { width: 100%; min-height: 38px; }
textarea.tl-bw-feld { line-height: 1.5; padding: 10px 12px; resize: vertical; }
.tl-bw-feld--geaendert { border-color: var(--warning-500) !important; }
.tl-bw-feld--fehler { border-color: var(--danger-600) !important; }
.tl-bw-unter { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; }
.tl-bw-zaehler { margin-left: auto; }
.tl-bw-vorher s { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tl-bw-link { color: var(--primary-600); font-size: .8125rem; text-align: left; }
.dark .tl-bw-link { color: #9bd3b6; }
.tl-bw-link:hover { text-decoration: underline; }
.tl-bw-neu { align-self: flex-start; }
.tl-bw-reihe { display: flex; gap: 8px; align-items: center; }
.tl-bw-weg { flex: none; width: 32px; height: 32px; border-radius: 8px; }
.tl-bw-weg:hover { color: var(--danger-600); }
.tl-bw-land { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .875rem; }
.tl-bw-variante { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 14px; padding: 10px 0; border-top: 1px solid var(--tl-line); }
.tl-bw-vname { flex: 1 1 130px; min-width: 0; }
.tl-bw-zelle { display: flex; flex-direction: column; gap: 3px; }
.tl-bw-zahl { width: 96px; min-height: 38px; }
.tl-bw-zahl--klein { width: 72px; }
.tl-bw-zahl:disabled { color: var(--gray-400); cursor: not-allowed; }
.tl-bw-weitere { padding: 13px 20px; border-top: 1px solid var(--tl-line); }
.tl-bw-streifen { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; width: 100%; padding: 10px 14px; border-radius: 10px; font-size: .8125rem;
  background: var(--warning-50); border: 1px solid var(--warning-500); color: var(--warning-800); }
.dark .tl-bw-streifen { background: #3a2a10; color: #f0c47a; }
.tl-bw-streifen strong { color: var(--gray-950); }
.dark .tl-bw-streifen strong { color: #fff; }
.tl-bw-streifen-rechts { margin-left: auto; }
@media (max-width: 700px) {
  .tl-bw-inhalt { padding-left: 20px; }
  .tl-bw-streifen-rechts { margin-left: 0; }
  .tl-bw-vname { flex-basis: 100%; }
}
/* V33 T4: Vorher/Nachher vor dem Senden, Kasten „noch nicht freigegeben“. */
.tl-vn { display: flex; flex-direction: column; padding: 14px 20px; border-top: 1px solid var(--tl-line); }
.tl-vn-titel { font-size: .8125rem; font-weight: 700; }
.tl-vn-zeile { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--tl-line); }
.tl-vn-feld { font-size: .875rem; font-weight: 600; }
.tl-vn-feld .tl-blass { font-weight: 400; }
.tl-vn-werte { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 10px; font-size: .875rem; }
.tl-vn-alt { color: var(--gray-500); overflow-wrap: anywhere; }
.tl-vn-neu { overflow-wrap: anywhere; }
.tl-bw-kasten { margin: 14px 20px 0; padding: 10px 14px; border-radius: 10px; font-size: .8125rem; line-height: 1.5;
  background: var(--warning-50); border: 1px solid var(--warning-500); color: var(--warning-800); }
.dark .tl-bw-kasten { background: #3a2a10; color: #f0c47a; }
.tl-bw-kasten strong { color: var(--gray-950); }
.dark .tl-bw-kasten strong { color: #fff; }

/* V33 T5: Reiter über der Zuordnungsliste („Alle n“ / „Geändert, nicht gesendet n“). */
.tl-reiter { display: flex; flex-wrap: wrap; gap: 4px 18px; border-bottom: 1px solid var(--gray-200); font-size: .875rem; }
.dark .tl-reiter { border-color: rgba(255, 255, 255, .1); }
.tl-reiter-knopf { padding: 10px 2px 8px; white-space: nowrap; color: var(--gray-500); cursor: pointer; }
.tl-reiter-knopf--aktiv { color: var(--gray-950); font-weight: 600; box-shadow: inset 0 -2px 0 var(--primary-600); }
.dark .tl-reiter-knopf { color: var(--gray-400); }
.dark .tl-reiter-knopf--aktiv { color: #fff; }
.tl-reiter-zahl { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 999px; font-size: .75rem; text-align: center; background: var(--gray-100); color: var(--gray-600); }
.dark .tl-reiter-zahl { background: rgba(255, 255, 255, .06); color: var(--gray-400); }
.tl-reiter-zahl--gelb { background: var(--warning-100); color: var(--warning-800); }
.dark .tl-reiter-zahl--gelb { background: #3a2a10; color: #f0c47a; }

/* V33 T6: Ergebnis nach dem Senden – Meldung von Amazon unter einer abgelehnten Änderung. */
.tl-vn-abgelehnt { padding: 8px 12px; border-radius: 10px; font-size: .8125rem; line-height: 1.5; background: var(--danger-50); border: 1px solid var(--danger-600); color: var(--danger-700); }
.dark .tl-vn-abgelehnt { background: #3a1614; border-color: #C0392B; color: #f2a4a4; }

/* V35 Stufe 1: Länder-Reiter im Amazon-Artikel-Fenster (abgeholt durchgezogen, nicht abgeholt gestrichelt, gewählt grün). */
.tl-lr-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 0 12px; }
.tl-lr-reiter { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--gray-300); background: transparent; font-size: .8125rem; font-weight: 500; color: var(--gray-700); cursor: pointer; }
.tl-lr-reiter--grau { color: var(--gray-400); }
.tl-lr-reiter--gestrichelt { border-style: dashed; color: var(--gray-400); }
.tl-lr-reiter--aktiv { border-color: #2E8B57; background: #e8f5ee; color: var(--gray-950); font-weight: 700; }
.dark .tl-lr-reiter { border-color: #2a3a33; color: #c9d4ce; }
.dark .tl-lr-reiter--grau, .dark .tl-lr-reiter--gestrichelt { color: #6b7280; }
.dark .tl-lr-reiter--aktiv { border-color: #2E8B57; background: #12301f; color: #fff; }
.tl-lr-leer { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 4px 0 12px; padding: 24px 16px; border: 1px dashed var(--gray-300); border-radius: 12px; text-align: center; }
.dark .tl-lr-leer { border-color: #3a4741; }
.tl-lr-link { color: var(--primary-600); font-weight: 600; text-decoration: underline; }
.dark .tl-lr-link { color: #9bd3b6; }

/* ---- Bestellungen Entwurf 2 (Tel 1831/1864), Übernahmefassung der Design-Sitzung (docs/design/gesamt/entwurf/bestellungen-teleint.css, e94191f) 1:1 ---- */
/* Bestellungen – Entwurf 2 (Tel 1831/1835), übernahmefertig für app/public/css/teleint.css.
   Erzeugt aus docs/design/gesamt/entwurf/bestellungen-farbig*.css (werkzeug/bestellungen_teleint.py) – nicht von Hand ändern, sondern Entwurf ändern und neu erzeugen.
   Wurzel: <div class="tl-bl"> um den ganzen Seiteninhalt (Kopf bis Fußzeile). Hell ist Grundfassung, dunkel gilt unter html.dark (Filament).
   Hintergrund der Seite kommt von Filament; der Entwurf rechnet mit hell #f3f5f4, dunkel #0c1210. */
.tl-bl, .tl-bl * { box-sizing: border-box; }
.tl-bl { margin: 0; color: #e2e9e5; font: 14px/1.45 "Inter", system-ui, sans-serif; }
.tl-bl { container-type: inline-size; max-width: 1220px; margin: 0 auto; padding: 24px 16px 40px; display: flex; flex-direction: column; gap: 16px; }
.tl-bl h1 { margin: 0; font-size: 30px; color: #fff; display: flex; align-items: center; gap: 12px; }
.tl-bl .tl-bl-blass { font-size: 12px; color: #8fa89b; }
.tl-bl .tl-bl-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.tl-bl .tl-bl-kasten { border: 1px solid #34483f; border-radius: 14px; background: #18221e; }
.tl-bl .tl-bl-ic { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; flex: none; }
.tl-bl .tl-bl-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-bl .tl-bl-kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tl-bl .tl-bl-kachel { border-radius: 14px; padding: 20px 18px; display: flex; flex-direction: row; text-align: left; font-size: 14px; align-items: center; gap: 14px; border: 1px solid; }
.tl-bl .tl-bl-kachel .tl-bl-ic { width: 44px; height: 44px; border-radius: 12px; }
.tl-bl .tl-bl-kachel .tl-bl-ic svg { width: 24px; height: 24px; }
.tl-bl .tl-bl-kachel b { display: block; font-size: 32px; line-height: 1.1; color: #fff; }
.tl-bl .tl-bl-kachel span.tl-bl-t { font-size: 13px; color: #e2e9e5; }
.tl-bl .tl-bl-k-blau { background: #1a3d72; border-color: #2f6fb8; }
.tl-bl .tl-bl-k-blau .tl-bl-ic { background: #2f6fb8; color: #fff; }
.tl-bl .tl-bl-k-gruen { background: #175234; border-color: #2E8B57; }
.tl-bl .tl-bl-k-gruen .tl-bl-ic { background: #2E8B57; color: #fff; }
.tl-bl .tl-bl-k-orange { background: #5c3c0c; border-color: #E39225; }
.tl-bl .tl-bl-k-orange .tl-bl-ic { background: #E39225; color: #1a1205; }
.tl-bl .tl-bl-k-rot { background: #5a1f1c; border-color: #d0524a; }
.tl-bl .tl-bl-k-rot .tl-bl-ic { background: #d0524a; color: #fff; }
.tl-bl .tl-bl-tun { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.tl-bl .tl-bl-tun-kopf { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: #fff; }
.tl-bl .tl-bl-aufgaben { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tl-bl .tl-bl-aufgabe { border: 1px solid #3c5148; border-left: 4px solid #E39225; border-radius: 10px; background: #1f2b26; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.tl-bl .tl-bl-aufgabe .tl-bl-titel { font-weight: 600; color: #fff; }
.tl-bl .tl-bl-aufgabe .tl-bl-n { color: #f0c47a; font-weight: 700; }
.tl-bl .tl-bl-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 600; border: 1px solid #44594f; background: #24312b; color: #e2e9e5; white-space: nowrap; }
.tl-bl .tl-bl-knopf--haupt { background: #2fa063; border-color: #2fa063; color: #fff; }
.tl-bl .tl-bl-knopf--gelb { background: #f2b33d; border-color: #f2b33d; color: #1a1205; align-self: flex-start; }
.tl-bl .tl-bl-knopf--klein { height: 28px; padding: 0 10px; font-size: 12px; }
.tl-bl .tl-bl-knopf--aus { opacity: .4; }
/* Hasan Tel 4556 (#631): jeder Knopf zeigt die Hand und reagiert beim Darüberfahren (heller, leicht angehoben). */
.tl-bl-knopf:not(.tl-bl-knopf--aus):not(.tl-bl-knopf--fertig):not(:disabled) { cursor: pointer; transition: filter .15s, box-shadow .15s, transform .15s; }
.tl-bl-knopf:not(.tl-bl-knopf--aus):not(.tl-bl-knopf--fertig):not(:disabled):hover { filter: brightness(1.15); box-shadow: 0 2px 6px rgba(0,0,0,.25); transform: translateY(-1px); }
:where(html:not(.dark)) .tl-bl-knopf:not(.tl-bl-knopf--aus):not(.tl-bl-knopf--fertig):not(:disabled):hover { filter: brightness(.95); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
/* Hasan Tel 5041/5045: erledigter Schritt grün wie die Pille „bestätigt“. */
.tl-bl .tl-bl-knopf--fertig { background: #164a30; border-color: #2E8B57; color: #b6ecd0; cursor: default; }
/* Hasan Tel 353: Fehler beim Melden rot umrahmt, Knopf „An Amazon melden“ darin. */
.tl-bl .tl-bl-fehler { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 12px; border: 1px solid #c2453d; border-left-width: 4px; border-radius: 8px; background: #3a1d1b; color: #f3c4c0; font-size: 12px; line-height: 1.45; }
.tl-bl .tl-bl-knopf--rot { background: #c2453d; border-color: #c2453d; color: #fff; }
.tl-bl .tl-bl-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tl-bl .tl-bl-tab { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid #44594f; background: #18221e; font-size: 13px; font-weight: 600; color: #e2e9e5; }
.tl-bl .tl-bl-tab .tl-bl-z { color: #8fa89b; font-weight: 500; }
.tl-bl .tl-bl-tab.tl-bl-an { background: #2f6fb8; border-color: #2f6fb8; color: #fff; }
.tl-bl .tl-bl-tab.tl-bl-an .tl-bl-z { color: #d6e6fa; }
.tl-bl .tl-bl-suche { margin-left: auto; height: 36px; width: 280px; max-width: 100%; border-radius: 8px; border: 1px solid #44594f; background: #111916; padding: 0 12px; display: flex; align-items: center; color: #8fa89b; font-size: 13px; }
.tl-bl .tl-bl-gross-suche { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 18px; border-radius: 12px; border: 2px solid #2f6fb8; background: #111916; font-size: 17px; color: #9fb3a8; }
.tl-bl .tl-bl-gross-suche svg { width: 22px; height: 22px; fill: none; stroke: #8cc3ff; stroke-width: 2.2; stroke-linecap: round; flex: none; }
.tl-bl .tl-bl-kname { font-size: 14px !important; font-weight: 700; color: #fff; }
.tl-bl .tl-bl-tabelle { overflow: hidden; }
.tl-bl .tl-bl-zeile, .tl-bl .tl-bl-tkopf { display: grid; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid #2a3a33; }
.tl-bl .tl-bl-liste .tl-bl-zeile, .tl-bl .tl-bl-liste .tl-bl-tkopf { grid-template-columns: 152px 64px 132px minmax(110px,1fr) 96px 150px 46px 68px 140px 80px; }
.tl-bl .tl-bl-odoo .tl-bl-zeile, .tl-bl .tl-bl-odoo .tl-bl-tkopf { grid-template-columns: 80px minmax(190px,1.1fr) 140px 140px 140px minmax(190px,1fr) 86px; }
.tl-bl .tl-bl-stark { color: #fff; }
.tl-bl .tl-bl-link { color: #8cc3ff; }
.tl-bl .tl-bl-tkopf { border-top: 0; background: #1f2b26; font-size: 12px; font-weight: 600; color: #b4c4bb; }
.tl-bl .tl-bl-zeile.tl-bl-dich { box-shadow: inset 4px 0 0 #E39225; }
.tl-bl .tl-bl-zeile.tl-bl-offen-zeile { background: #1d2924; }
.tl-bl .tl-bl-nr { white-space: nowrap; font-weight: 600; color: #8cc3ff; font-variant-numeric: tabular-nums; font-size: 13px; }
.tl-bl .tl-bl-markt { display: inline-flex; align-items: center; justify-content: center; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; background: #33453d; border: 1px solid #4b6158; }
.tl-bl .tl-bl-zwei { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
.tl-bl .tl-bl-zwei > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-bl .tl-bl-art { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; }
.tl-bl .tl-bl-art--drop { background: #7046b8; }
.tl-bl .tl-bl-art--fba { background: #2f6fb8; }
.tl-bl .tl-bl-art--mcf { background: #138a8a; }
.tl-bl .tl-bl-art--fbm { background: #2e8b57; }
.tl-bl .tl-bl-pille { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; border: 1px solid; }
.tl-bl .tl-bl-p-orange { background: #5a3a0e; border-color: #c47a1d; color: #ffd08a; }
.tl-bl .tl-bl-p-gruen { background: #164a30; border-color: #2E8B57; color: #b6ecd0; }
.tl-bl .tl-bl-p-blau { background: #173257; border-color: #2f6fb8; color: #cfe3fb; }
.tl-bl .tl-bl-p-grau { background: #26332d; border-color: #44594f; color: #c8d4ce; }
.tl-bl .tl-bl-p-rot { background: #4a1a18; border-color: #d0524a; color: #ffc0bb; }
.tl-bl .tl-bl-punkte { display: inline-flex; gap: 5px; }
.tl-bl .tl-bl-punkte i { width: 10px; height: 10px; border-radius: 50%; background: #4f625a; display: inline-block; }
.tl-bl .tl-bl-punkte i.tl-bl-e { background: #2fa063; }
.tl-bl .tl-bl-punkte i.tl-bl-d { background: #E39225; }
.tl-bl .tl-bl-betrag { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; color: #fff; }
.tl-bl .tl-bl-ergebnis { display: block; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tl-bl .tl-bl-paar .tl-bl-ergebnis { display: inline; font-size: 13px; font-weight: 700; }
.tl-bl .tl-bl-e-gruen { color: #6fd39b; }
.tl-bl .tl-bl-e-rot { color: #ff8a80; }
.tl-bl .tl-bl-e-grau { color: #8fa89b; font-weight: 500; }
.tl-bl .tl-bl-kosten-arten > summary { cursor: pointer; list-style: none; }
.tl-bl .tl-bl-kosten-arten > summary::-webkit-details-marker { display: none; }
.tl-bl .tl-bl-kosten-art { min-height: 22px; padding-left: 12px; }
.tl-bl .tl-bl-kosten-art > :last-child { font-size: 12px; }
.tl-bl .tl-bl-pfeil { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 30px; padding: 0 10px; border-radius: 8px; background: #2563c9; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tl-bl .tl-bl-offen { padding: 16px; border-top: 1px solid #2a3a33; background: #141c19; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.tl-bl .tl-bl-feld { border: 1px solid #3c5148; border-radius: 12px; background: #1f2b26; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.tl-bl .tl-bl-feld-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 14px; background: #263530; border-bottom: 1px solid #3c5148; font-weight: 700; color: #fff; font-size: 14px; }
.tl-bl .tl-bl-feld-kopf .tl-bl-ic { width: 26px; height: 26px; }
.tl-bl .tl-bl-feld-inhalt { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.tl-bl .tl-bl-ic-blau { background: #2f6fb8; color: #fff; }
.tl-bl .tl-bl-ic-violett { background: #7046b8; color: #fff; }
.tl-bl .tl-bl-ic-gruen { background: #2E8B57; color: #fff; }
.tl-bl .tl-bl-ic-grau { background: #4b6158; color: #fff; }
.tl-bl .tl-bl-ic-orange { background: #E39225; color: #1a1205; }
.tl-bl .tl-bl-paar { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 26px; }
.tl-bl .tl-bl-paar > :first-child { color: #8fa89b; font-size: 12px; white-space: nowrap; }
.tl-bl .tl-bl-paar > :last-child { text-align: right; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
/* Hasan Tel 5119: langer Artikelname schneidet den Betrag nicht mehr ab (Name wird gekürzt), lange Pille bricht um statt aus dem Kasten zu laufen. */
.tl-bl .tl-bl-paar > :first-child:has(> b) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tl-bl .tl-bl-paar > :last-child > .tl-bl-pille { white-space: normal; }
.tl-bl .tl-bl-trenn { border-top: 1px solid #34483f; margin: 2px 0; }
.tl-bl .tl-bl-wohin { font-size: 11px; color: #8fa89b; text-align: right; }
.tl-bl .tl-bl-wohin b { color: #9fe0bd; font-weight: 600; }
/* Rechnung + Sendung E1 (Entwurf Tel 847–852) */
.tl-bl .tl-bl-rs { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.tl-bl .tl-bl-rs-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.tl-bl .tl-bl-rs-knoepfe .tl-bl-knopf { flex: 1; text-align: center; }
.tl-bl .tl-bl-rs > .tl-bl-knopf--haupt { align-self: stretch; text-align: center; }
.tl-bl .tl-bl-notiz { font-size: 12px; color: #8fa89b; }
.tl-bl .tl-bl-info { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 6px; border-radius: 50%; border: 1px solid #8fa89b; background: transparent; color: #8fa89b; font: italic 600 11px/1 Georgia, serif; cursor: pointer; vertical-align: middle; }
.tl-bl .tl-bl-info:hover { border-color: #2f9e6e; color: #2f9e6e; }
.tl-bl .tl-bl-info-text { padding: 8px 10px; border-radius: 8px; background: rgba(143, 168, 155, .12); line-height: 1.45; }
.tl-bl .tl-bl-info-text[x-cloak] { display: none; }
.tl-bl .tl-bl-zeit { display: flex; flex-direction: column; }
.tl-bl .tl-bl-zeit div { position: relative; padding: 0 0 12px 18px; border-left: 2px solid #3c5148; margin-left: 5px; }
.tl-bl .tl-bl-zeit div:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-bl .tl-bl-zeit div::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #2fa063; }
.tl-bl .tl-bl-zeit div.tl-bl-d::before { background: #E39225; }
.tl-bl .tl-bl-zeit div.tl-bl-o::before { background: #c9d2cd; }
.tl-bl .tl-bl-zeit .tl-bl-blass { display: block; }
/* Hasan Tel 655: Bestelldatum unter der Nummer. */
.tl-bl .tl-bl-datum { display: block; font-weight: 400; font-size: 11px; color: #8fa89b; }
:where(html:not(.dark)) .tl-bl .tl-bl-datum { color: #5e7268; }
.tl-bl .tl-bl-fall { font-size: 13px; font-weight: 700; color: #9fe0bd; margin-top: 4px; }
.tl-bl .tl-bl-fenster-reihe { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.tl-bl .tl-bl-fenster { width: 470px; max-width: 100%; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.tl-bl .tl-bl-fenster h3 { margin: 0; font-size: 17px; color: #fff; }
.tl-bl .tl-bl-eingabe { height: 42px; border-radius: 8px; border: 1px solid #44594f; background: #111916; padding: 0 12px; display: flex; align-items: center; color: #8fa89b; }
.tl-bl .tl-bl-hinweis { font-size: 12px; color: #8fa89b; }
.tl-bl .tl-bl-markt--eigen { background: transparent; border-style: dashed; color: #c8d4ce; }
@container (min-width: 761px) and (max-width: 1150px) {
.tl-bl .tl-bl-zeile, .tl-bl .tl-bl-tkopf { gap: 8px; padding: 10px 12px; }
.tl-bl .tl-bl-liste .tl-bl-zeile, .tl-bl .tl-bl-liste .tl-bl-tkopf { grid-template-columns: 138px 60px minmax(0,1.2fr) minmax(0,1fr) 84px 146px 41px 58px 134px 66px; }
.tl-bl .tl-bl-zwei .tl-bl-kname, .tl-bl .tl-bl-zwei > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-bl .tl-bl-nr { font-size: 12px; }
.tl-bl .tl-bl-markt { height: 22px; padding: 0 6px; font-size: 11px; }
.tl-bl .tl-bl-zwei { font-size: 12px; }
.tl-bl .tl-bl-kname { font-size: 13px !important; }
.tl-bl .tl-bl-art { padding: 2px 6px; font-size: 11px; }
.tl-bl .tl-bl-pille { padding: 2px 8px; font-size: 11px; }
.tl-bl .tl-bl-punkte { gap: 3px; }
.tl-bl .tl-bl-punkte i { width: 8px; height: 8px; }
.tl-bl .tl-bl-betrag { font-size: 12px; }
.tl-bl .tl-bl-tu .tl-bl-knopf { height: 30px; padding: 0 10px; font-size: 12px; }
.tl-bl .tl-bl-pfeil { height: 28px; padding: 0 8px; font-size: 11px; }
.tl-bl .tl-bl-odoo .tl-bl-zeile, .tl-bl .tl-bl-odoo .tl-bl-tkopf { grid-template-columns: 62px 200px minmax(0,1fr) minmax(0,1fr) 120px 150px 66px; }
.tl-bl .tl-bl-odoo .tl-bl-zeile > :nth-child(2) > span { white-space: nowrap; font-size: 12px; }
.tl-bl .tl-bl-odoo .tl-bl-pille { white-space: normal; text-align: center; }
.tl-bl .tl-bl-offen { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@container (min-width: 761px) and (max-width: 960px) {
.tl-bl .tl-bl-zeile, .tl-bl .tl-bl-tkopf { gap: 7px; padding: 10px 10px; }
.tl-bl .tl-bl-tkopf { font-size: 11px; }
.tl-bl .tl-bl-liste .tl-bl-zeile, .tl-bl .tl-bl-liste .tl-bl-tkopf { grid-template-columns: 124px 56px minmax(0,1.2fr) minmax(0,1fr) 78px 104px 35px 52px 114px 58px; }
.tl-bl .tl-bl-nr { font-size: 11px; }
.tl-bl .tl-bl-markt { padding: 0 5px; }
.tl-bl .tl-bl-art { padding: 2px 5px; }
.tl-bl .tl-bl-liste .tl-bl-stand .tl-bl-pille { white-space: normal; text-align: center; line-height: 1.2; }
.tl-bl .tl-bl-punkte { gap: 2px; }
.tl-bl .tl-bl-betrag { font-size: 11.5px; }
.tl-bl .tl-bl-tu .tl-bl-knopf { height: 28px; padding: 0 8px; font-size: 11px; }
.tl-bl .tl-bl-pfeil { padding: 0 6px; }
.tl-bl .tl-bl-odoo .tl-bl-zeile, .tl-bl .tl-bl-odoo .tl-bl-tkopf { grid-template-columns: 56px 184px minmax(0,1fr) minmax(0,1fr) 110px 136px 58px; }
.tl-bl .tl-bl-odoo .tl-bl-zeile > :nth-child(2) > span { font-size: 11px; }
}
@container (max-width: 760px) {
.tl-bl .tl-bl-kacheln { grid-template-columns: 1fr 1fr; gap: 10px; }
.tl-bl .tl-bl-kachel { padding: 12px; gap: 10px; }
.tl-bl .tl-bl-kachel .tl-bl-ic { width: 36px; height: 36px; }
.tl-bl .tl-bl-kachel b { font-size: 22px; }
.tl-bl .tl-bl-aufgaben { grid-template-columns: 1fr; }
.tl-bl .tl-bl-tkopf { display: none; }
.tl-bl .tl-bl-liste .tl-bl-zeile, .tl-bl .tl-bl-odoo .tl-bl-zeile { grid-template-columns: auto 1fr auto auto; gap: 6px 10px; }
.tl-bl .tl-bl-liste .tl-bl-zeile > :nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.tl-bl .tl-bl-liste .tl-bl-zeile > :nth-child(10) { grid-column: 3 / 5; grid-row: 1; justify-self: end; }
.tl-bl .tl-bl-liste .tl-bl-zeile > :nth-child(3) { grid-column: 1 / 4; grid-row: 2; }
.tl-bl .tl-bl-liste .tl-bl-zeile > :nth-child(2) { grid-column: 4; grid-row: 2; justify-self: end; }
.tl-bl .tl-bl-liste .tl-bl-zeile > :nth-child(4) { grid-column: 1 / 5; grid-row: 3; }
.tl-bl .tl-bl-liste .tl-bl-zeile > :nth-child(5) { grid-column: 1; grid-row: 4; }
.tl-bl .tl-bl-liste .tl-bl-zeile > :nth-child(6) { grid-column: 2 / 4; grid-row: 4; }
.tl-bl .tl-bl-liste .tl-bl-zeile > :nth-child(7) { grid-column: 4; grid-row: 4; justify-self: end; }
.tl-bl .tl-bl-liste .tl-bl-zeile > :nth-child(9) { grid-column: 1 / 4; grid-row: 5; }
.tl-bl .tl-bl-liste .tl-bl-zeile > :nth-child(8) { grid-column: 4; grid-row: 5; }
.tl-bl .tl-bl-zeile > .tl-bl-tu:empty { display: none; }
.tl-bl .tl-bl-gross-suche { font-size: 15px; height: 50px; padding: 0 14px; }
.tl-bl .tl-bl-odoo .tl-bl-zeile > * { grid-column: 1 / -1 !important; min-width: 0; }
.tl-bl .tl-bl-odoo .tl-bl-zeile { grid-template-columns: minmax(0,1fr); }
.tl-bl .tl-bl-odoo .tl-bl-zeile > .tl-bl-pfeil { justify-self: start; }
.tl-bl .tl-bl-offen { grid-template-columns: 1fr; }
.tl-bl .tl-bl-suche { margin-left: 0; width: 100%; }
}
.tl-bl { margin: 0 auto; padding: 0; max-width: 1188px; }
/* Hasan Tel 49: Klick auf die ganze Zeile klappt auf, nicht nur „Details“. */
.tl-bl .tl-bl-zeile[wire\:click] { cursor: pointer; }
/* hell */
:where(html:not(.dark)) .tl-bl { color: #1c2a24; }
:where(html:not(.dark)) .tl-bl h1, :where(html:not(.dark)) .tl-bl .tl-bl-feld-kopf, :where(html:not(.dark)) .tl-bl .tl-bl-fenster h3, :where(html:not(.dark)) .tl-bl .tl-bl-aufgabe .tl-bl-titel, :where(html:not(.dark)) .tl-bl .tl-bl-kname, :where(html:not(.dark)) .tl-bl .tl-bl-betrag, :where(html:not(.dark)) .tl-bl .tl-bl-stark { color: #111a16; }
:where(html:not(.dark)) .tl-bl .tl-bl-blass, :where(html:not(.dark)) .tl-bl .tl-bl-paar > :first-child, :where(html:not(.dark)) .tl-bl .tl-bl-wohin, :where(html:not(.dark)) .tl-bl .tl-bl-notiz, :where(html:not(.dark)) .tl-bl .tl-bl-hinweis, :where(html:not(.dark)) .tl-bl .tl-bl-tab .tl-bl-z { color: #5e7268; }
:where(html:not(.dark)) .tl-bl .tl-bl-link, :where(html:not(.dark)) .tl-bl .tl-bl-nr { color: #1f5fae; }
:where(html:not(.dark)) .tl-bl .tl-bl-kasten { background: #ffffff; border-color: #d3dcd7; }
:where(html:not(.dark)) .tl-bl .tl-bl-kachel b { color: #111a16; }
:where(html:not(.dark)) .tl-bl .tl-bl-kachel span.tl-bl-t { color: #33453d; }
:where(html:not(.dark)) .tl-bl .tl-bl-k-blau { background: #e4eefb; }
:where(html:not(.dark)) .tl-bl .tl-bl-k-gruen { background: #e2f3e9; }
:where(html:not(.dark)) .tl-bl .tl-bl-k-orange { background: #fdf0dc; }
:where(html:not(.dark)) .tl-bl .tl-bl-k-rot { background: #fbe6e4; }
:where(html:not(.dark)) .tl-bl .tl-bl-tun-kopf { color: #111a16; }
:where(html:not(.dark)) .tl-bl .tl-bl-aufgabe { background: #fffaf1; border-color: #ecdcc0; border-left-color: #E39225; }
:where(html:not(.dark)) .tl-bl .tl-bl-aufgabe .tl-bl-n { color: #a85d0c; }
:where(html:not(.dark)) .tl-bl .tl-bl-knopf { background: #ffffff; border-color: #c6d1cb; color: #1c2a24; }
:where(html:not(.dark)) .tl-bl .tl-bl-knopf--haupt { background: #23874f; border-color: #23874f; color: #fff; }
:where(html:not(.dark)) .tl-bl .tl-bl-fehler { background: #fdecea; border-color: #d9534f; color: #8a1f1a; }
:where(html:not(.dark)) .tl-bl .tl-bl-knopf--rot { background: #c9302c; border-color: #c9302c; color: #fff; }
:where(html:not(.dark)) .tl-bl .tl-bl-knopf--gelb { background: #f2b33d; border-color: #e0a12c; color: #1a1205; }
:where(html:not(.dark)) .tl-bl .tl-bl-knopf--fertig { background: #ddf2e5; border-color: #3b9a66; color: #1d6b40; }
:where(html:not(.dark)) .tl-bl .tl-bl-tab { background: #ffffff; border-color: #c6d1cb; color: #1c2a24; }
:where(html:not(.dark)) .tl-bl .tl-bl-tab.tl-bl-an { background: #2f6fb8; border-color: #2f6fb8; color: #fff; }
:where(html:not(.dark)) .tl-bl .tl-bl-tab.tl-bl-an .tl-bl-z { color: #dce9fa; }
:where(html:not(.dark)) .tl-bl .tl-bl-gross-suche { background: #ffffff; color: #5e7268; }
:where(html:not(.dark)) .tl-bl .tl-bl-gross-suche svg { stroke: #2f6fb8; }
:where(html:not(.dark)) .tl-bl .tl-bl-zeile, :where(html:not(.dark)) .tl-bl .tl-bl-tkopf { border-top-color: #e2e8e5; }
:where(html:not(.dark)) .tl-bl .tl-bl-tkopf { background: #eef2f0; color: #4a5d54; }
:where(html:not(.dark)) .tl-bl .tl-bl-zeile.tl-bl-offen-zeile { background: #f4f8f6; }
:where(html:not(.dark)) .tl-bl .tl-bl-markt { background: #eef2f0; border-color: #c6d1cb; color: #1c2a24; }
:where(html:not(.dark)) .tl-bl .tl-bl-p-orange { background: #fdebd0; border-color: #e0a050; color: #8a4b06; }
:where(html:not(.dark)) .tl-bl .tl-bl-e-gruen { color: #1d6b40; }
:where(html:not(.dark)) .tl-bl .tl-bl-e-rot { color: #a3322b; }
:where(html:not(.dark)) .tl-bl .tl-bl-e-grau { color: #5e7268; }
:where(html:not(.dark)) .tl-bl .tl-bl-p-gruen { background: #ddf2e5; border-color: #3b9a66; color: #1d6b40; }
:where(html:not(.dark)) .tl-bl .tl-bl-p-blau { background: #e0ebfa; border-color: #4a86cc; color: #1d4f8f; }
:where(html:not(.dark)) .tl-bl .tl-bl-p-grau { background: #eef2f0; border-color: #c6d1cb; color: #44594f; }
:where(html:not(.dark)) .tl-bl .tl-bl-p-rot { background: #fbe1df; border-color: #d0524a; color: #a3322b; }
:where(html:not(.dark)) .tl-bl .tl-bl-punkte i { background: #d0d9d4; }
:where(html:not(.dark)) .tl-bl .tl-bl-offen { background: #f6f8f7; border-top-color: #e2e8e5; }
:where(html:not(.dark)) .tl-bl .tl-bl-feld { background: #ffffff; border-color: #d3dcd7; }
:where(html:not(.dark)) .tl-bl .tl-bl-feld-kopf { background: #f1f4f2; border-bottom-color: #d3dcd7; }
:where(html:not(.dark)) .tl-bl .tl-bl-trenn { border-top-color: #e2e8e5; }
:where(html:not(.dark)) .tl-bl .tl-bl-wohin b, :where(html:not(.dark)) .tl-bl .tl-bl-fall { color: #1d7a47; }
:where(html:not(.dark)) .tl-bl .tl-bl-zeit div { border-left-color: #d3dcd7; }
:where(html:not(.dark)) .tl-bl .tl-bl-fenster { box-shadow: 0 12px 32px rgba(20,40,30,.14); }
:where(html:not(.dark)) .tl-bl .tl-bl-eingabe { background: #ffffff; border-color: #c6d1cb; color: #5e7268; }
:where(html:not(.dark)) .tl-bl .tl-bl-markt--eigen { background: #ffffff; color: #44594f; }
/* Bestellungen: Ergänzungen zum Entwurf 35f2534 – echte Eingabefelder statt Platzhaltertext, Hand-Zeiger auf Klickflächen, Hinweis ohne Treffer. */
.tl-bl .tl-bl-gross-suche input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: inherit; outline: 0; }
.tl-bl .tl-bl-suchfeld { position: relative; flex: 1; min-width: 0; align-self: stretch; display: flex; }
.tl-bl .tl-bl-suchfeld input { width: 100%; }
.tl-bl .tl-bl-platzhalter { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); line-height: 1.25; pointer-events: none; }
.tl-bl .tl-bl-suchfeld input:not(:placeholder-shown) + .tl-bl-platzhalter { display: none; }
.tl-bl .tl-bl-eingabe input, .tl-bl .tl-bl-eingabe select { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: inherit; outline: 0; appearance: none; }
.tl-bl .tl-bl-eingabe select option { background: #111916; color: #e2e9e5; }
:where(html:not(.dark)) .tl-bl .tl-bl-eingabe select option { background: #ffffff; color: #1c2a24; }
.tl-bl [wire\:click] { cursor: pointer; }
.tl-bl .tl-bl-leer { padding: 18px 16px; border-top: 1px solid #2a3a33; color: #9fb3a8; }
:where(html:not(.dark)) .tl-bl .tl-bl-leer { border-top-color: #e2e8e5; color: #5e7268; }
/* Merker: tl-bl-kunde, tl-bl-artikel und tl-bl-kz haben im Entwurf keine eigene Regel; sie stehen nur zur Kennzeichnung der Zellen. */
.tl-bl .tl-bl-kunde, .tl-bl .tl-bl-artikel, .tl-bl .tl-bl-kz { min-width: 0; }
/* Hasan Tel 2690: langer Versand-Name (z. B. „Streckengeschäft“) läuft nicht mehr unter die Stand-Pille, notfalls mit … (voller Text im Hinweis). */
.tl-bl .tl-bl-liste2 .tl-bl-kz { overflow: hidden; }
.tl-bl .tl-bl-liste2 .tl-bl-kz .tl-bl-art { max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }

/* ---- Artikel Vorschlag 3 (Hasan Tel 189–192/1972), Übernahmefassung der Design-Sitzung (docs/design/gesamt/entwurf/artikel-liste.css, c533754) 1:1 ---- */
/* Seite „Artikel“ – Vorschlag 3 (Hasans Vorlage v2, Tel 189–192 + 1972, 17.11.2026). Ergänzt bestellungen-teleint.css (tl-bl-…), die gleich mitgeladen wird.
   Wurzel: <div class="tl-bl tl-al">. Dunkel ist Grundfassung, hell gilt für html ohne .dark (Filament) – wie bei tl-bl.
   Farben nur aus teleint (grün/orange/rot/blau/grau), keine Portal-Farben. */
.tl-al .tl-al-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
/* Filterleiste: Portal-Knöpfe, Auswahl Land/Stand, Auf-/Zuklappen */
.tl-al .tl-al-seg { display: inline-flex; padding: 3px; gap: 3px; border-radius: 10px; border: 1px solid #44594f; background: #111916; }
.tl-al .tl-al-s { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 600; color: #c8d4ce; white-space: nowrap; }
.tl-al .tl-al-s.tl-bl-an { background: #16301f; color: #9fe0bd; box-shadow: inset 0 0 0 1px #2fa063; }
.tl-al .tl-al-wahl { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 8px; border: 1px solid #44594f; background: #111916; font-size: 13px; color: #c8d4ce; }
.tl-al .tl-al-wahl b { color: #fff; font-weight: 600; }
.tl-al .tl-al-rechts { margin-left: auto; display: flex; gap: 8px; }
/* Artikel-Karte, Ebene 1 */
.tl-al .tl-al-karte { overflow: hidden; padding: 0; }
.tl-al .tl-al-kopfzeile { display: grid; grid-template-columns: 18px 56px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; }
.tl-al .tl-al-auf { color: #8fa89b; font-size: 13px; text-align: center; }
.tl-al .tl-al-bild { width: 56px; height: 56px; border-radius: 10px; border: 1px dashed #44594f; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #8fa89b; flex: none; }
.tl-al .tl-al-titel { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.tl-al .tl-al-name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; min-width: 0; }
.tl-al .tl-al-name > b { font-size: 16px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tl-al .tl-al-etk { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: #24312b; border: 1px solid #44594f; font-size: 11px; font-weight: 600; color: #c8d4ce; white-space: nowrap; }
.tl-al .tl-al-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12px; color: #8fa89b; }
.tl-al .tl-al-meta b { color: #e2e9e5; font-weight: 600; font-variant-numeric: tabular-nums; }
.tl-al .tl-al-meta .tl-al-null { color: #f0c47a; }
.tl-al .tl-al-reiter { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.tl-al .tl-al-r { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid #44594f; font-size: 12px; font-weight: 600; color: #e2e9e5; white-space: nowrap; }
.tl-al .tl-al-r.tl-bl-an { border-color: #2fa063; background: #16301f; color: #9fe0bd; }
.tl-al .tl-al-punkt { width: 7px; height: 7px; border-radius: 50%; background: #f2b33d; flex: none; }
.tl-al .tl-al-punkt--rot { background: #e5484d; }
/* Ebene 2: Variantenleiste (Varianten heißen nur nach Gewicht) */
.tl-al .tl-al-vleiste { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid #2a3a33; background: #121a17; }
.tl-al .tl-al-vleiste > span:first-child { font-size: 12px; font-weight: 600; color: #8fa89b; margin-right: 2px; }
.tl-al .tl-al-vp { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid #44594f; font-size: 13px; color: #c8d4ce; white-space: nowrap; }
.tl-al .tl-al-vp b { color: #fff; font-weight: 700; }
.tl-al .tl-al-vp .tl-al-mono { font-size: 11px; }
.tl-al .tl-al-vp.tl-bl-an { border-color: #2fa063; background: #16301f; color: #9fe0bd; }
.tl-al .tl-al-vp.tl-bl-an b { color: #c6f0d8; }
.tl-al .tl-al-vp .tl-al-null { color: #f0c47a; font-size: 12px; }
/* Ebene 3: Länder-Liste im Reiter Amazon/TikTok */
.tl-al .tl-al-liste { border-top: 1px solid #2a3a33; }
.tl-al .tl-al-lz, .tl-al .tl-al-lkopf { display: grid; grid-template-columns: 48px 140px minmax(0,1fr) 150px 96px 300px; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid #2a3a33; }
.tl-al .tl-al-lkopf { border-top: 0; background: #1f2b26; font-size: 12px; font-weight: 600; color: #b4c4bb; padding-top: 9px; padding-bottom: 9px; }
.tl-al .tl-al-gruppe { display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-top: 1px solid #2a3a33; background: #16201c; font-size: 12px; font-weight: 600; color: #b4c4bb; }
.tl-al .tl-al-lbild { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tl-al .tl-al-lbild > span:first-child { width: 42px; height: 42px; border-radius: 8px; border: 1px dashed #44594f; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #8fa89b; }
.tl-al .tl-al-lbild > span:last-child { font-size: 10px; color: #8fa89b; white-space: nowrap; }
.tl-al .tl-al-lbild .tl-al-null { color: #f0c47a !important; }
.tl-al .tl-al-land { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tl-al .tl-al-kz { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 22px; border-radius: 5px; background: #24312b; border: 1px solid #44594f; font-size: 11px; font-weight: 700; color: #e2e9e5; flex: none; }
.tl-al .tl-al-ltitel { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tl-al .tl-al-ltitel > b { color: #fff; font-weight: 600; font-size: 13px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tl-al .tl-al-fehlt { font-size: 13px; color: #f0a0a2; }
.tl-al .tl-al-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #8fa89b; }
.tl-al .tl-al-zs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tl-al .tl-al-zu { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 5px; background: #13233a; border: 1px solid #2f6fb8; font-size: 11px; font-weight: 700; color: #bcd6f5; }
.tl-al .tl-al-preis { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.tl-al .tl-al-preis > b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.tl-al .tl-al-preis > span { font-size: 11px; color: #8fa89b; white-space: nowrap; }
.tl-al .tl-al-tun { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.tl-al .tl-al-offen-inhalt { padding: 16px; border-top: 1px solid #2a3a33; display: flex; flex-direction: column; gap: 14px; }
@container (max-width: 760px) {
.tl-al .tl-al-rechts { margin-left: 0; }
.tl-al .tl-al-seg { width: 100%; box-sizing: border-box; }
.tl-al .tl-al-s { flex: 1 1 0; justify-content: center; padding: 0 6px; }
.tl-al .tl-al-wahl { flex: 1 1 140px; }
.tl-al .tl-al-kopfzeile { grid-template-columns: 14px 48px minmax(0,1fr); gap: 10px; padding: 12px; }
.tl-al .tl-al-bild { width: 48px; height: 48px; }
.tl-al .tl-al-kopfzeile > .tl-al-reiter { grid-column: 1 / -1; justify-content: flex-start; }
.tl-al .tl-al-name > b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; }
.tl-al .tl-al-vleiste { padding: 10px 12px; }
.tl-al .tl-al-vleiste > span:first-child { width: 100%; }
.tl-al .tl-al-lkopf { display: none; }
.tl-al .tl-al-gruppe { padding: 9px 12px; }
.tl-al .tl-al-lz { grid-template-columns: 42px minmax(0,1fr) auto; gap: 8px 10px; padding: 12px; }
.tl-al .tl-al-lz > :nth-child(1) { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.tl-al .tl-al-lz > :nth-child(2) { grid-column: 2; grid-row: 1; }
.tl-al .tl-al-lz > :nth-child(5) { grid-column: 3; grid-row: 1; }
.tl-al .tl-al-lz > :nth-child(3) { grid-column: 2 / -1; grid-row: 2; }
.tl-al .tl-al-lz > :nth-child(4) { grid-column: 2 / -1; grid-row: 3; }
.tl-al .tl-al-lz > :nth-child(6) { grid-column: 1 / -1; grid-row: 4; justify-content: flex-start; }
.tl-al .tl-al-offen-inhalt { padding: 12px; }
}
/* hell */
:where(html:not(.dark)) .tl-al .tl-al-seg, :where(html:not(.dark)) .tl-al .tl-al-wahl { background: #fff; border-color: #c6d1cb; color: #33453d; }
:where(html:not(.dark)) .tl-al .tl-al-s { color: #33453d; }
:where(html:not(.dark)) .tl-al .tl-al-s.tl-bl-an, :where(html:not(.dark)) .tl-al .tl-al-r.tl-bl-an, :where(html:not(.dark)) .tl-al .tl-al-vp.tl-bl-an { background: #e3f3ea; color: #1d6b40; border-color: #23874f; box-shadow: none; }
:where(html:not(.dark)) .tl-al .tl-al-s.tl-bl-an { box-shadow: inset 0 0 0 1px #23874f; }
:where(html:not(.dark)) .tl-al .tl-al-vp.tl-bl-an b { color: #14532d; }
:where(html:not(.dark)) .tl-al .tl-al-wahl b, :where(html:not(.dark)) .tl-al .tl-al-name > b, :where(html:not(.dark)) .tl-al .tl-al-ltitel > b,
:where(html:not(.dark)) .tl-al .tl-al-preis > b, :where(html:not(.dark)) .tl-al .tl-al-vp b { color: #111a16; }
:where(html:not(.dark)) .tl-al .tl-al-auf, :where(html:not(.dark)) .tl-al .tl-al-meta, :where(html:not(.dark)) .tl-al .tl-al-mono, :where(html:not(.dark)) .tl-al .tl-al-preis > span,
:where(html:not(.dark)) .tl-al .tl-al-lbild > span:last-child, :where(html:not(.dark)) .tl-al .tl-al-vleiste > span:first-child { color: #5e7268; }
:where(html:not(.dark)) .tl-al .tl-al-meta b, :where(html:not(.dark)) .tl-al .tl-al-r, :where(html:not(.dark)) .tl-al .tl-al-vp, :where(html:not(.dark)) .tl-al .tl-al-kz, :where(html:not(.dark)) .tl-al .tl-al-etk { color: #1c2a24; }
:where(html:not(.dark)) .tl-al .tl-al-meta .tl-al-null, :where(html:not(.dark)) .tl-al .tl-al-vp .tl-al-null, :where(html:not(.dark)) .tl-al .tl-al-lbild .tl-al-null { color: #a85d0c !important; }
:where(html:not(.dark)) .tl-al .tl-al-fehlt { color: #b42318; }
:where(html:not(.dark)) .tl-al .tl-al-bild, :where(html:not(.dark)) .tl-al .tl-al-lbild > span:first-child { border-color: #c6d1cb; color: #5e7268; }
:where(html:not(.dark)) .tl-al .tl-al-r, :where(html:not(.dark)) .tl-al .tl-al-vp { border-color: #c6d1cb; }
:where(html:not(.dark)) .tl-al .tl-al-etk, :where(html:not(.dark)) .tl-al .tl-al-kz { background: #eef2f0; border-color: #c6d1cb; }
:where(html:not(.dark)) .tl-al .tl-al-vleiste { background: #f6f8f7; }
:where(html:not(.dark)) .tl-al .tl-al-vleiste, :where(html:not(.dark)) .tl-al .tl-al-liste, :where(html:not(.dark)) .tl-al .tl-al-lz, :where(html:not(.dark)) .tl-al .tl-al-gruppe,
:where(html:not(.dark)) .tl-al .tl-al-offen-inhalt { border-top-color: #e2e8e5; }
:where(html:not(.dark)) .tl-al .tl-al-lkopf { background: #eef2f0; color: #4a5d54; }
:where(html:not(.dark)) .tl-al .tl-al-gruppe { background: #f3f6f4; color: #33453d; }
:where(html:not(.dark)) .tl-al .tl-al-zu { background: #e0ebfa; border-color: #9cbde6; color: #1d4f8f; }
/* Reiter Odoo: Stammtext + Variantentabelle */
.tl-al .tl-al-stamm { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 10px; border: 1px solid #2a3a33; background: #121a17; font-size: 13px; color: #c8d4ce; line-height: 1.5; }
.tl-al .tl-al-stamm > b { font-size: 12px; color: #8fa89b; font-weight: 600; }
.tl-al .tl-al-ot { border: 1px solid #2a3a33; border-radius: 10px; overflow: hidden; }
.tl-al .tl-al-oz, .tl-al .tl-al-okopf { display: grid; grid-template-columns: 48px 110px 150px minmax(0,1fr) 110px 150px; align-items: center; gap: 14px; padding: 10px 14px; border-top: 1px solid #2a3a33; font-size: 13px; color: #e2e9e5; }
.tl-al .tl-al-okopf { border-top: 0; background: #1f2b26; font-size: 12px; font-weight: 600; color: #b4c4bb; padding-top: 9px; padding-bottom: 9px; }
.tl-al .tl-al-oz > :nth-child(5), .tl-al .tl-al-oz > :nth-child(6), .tl-al .tl-al-okopf > :nth-child(5), .tl-al .tl-al-okopf > :nth-child(6) { text-align: right; font-variant-numeric: tabular-nums; }
.tl-al .tl-al-oz .tl-al-lbild > span:first-child { width: 38px; height: 38px; }
.tl-al .tl-al-ean { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* Fenster „Details & Übertragen“ */
.tl-al .tl-al-panel { width: 660px; }
.tl-al .tl-al-fkopf { display: flex; flex-direction: column; gap: 6px; }
.tl-al .tl-al-fkopf > div:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-al .tl-al-fkopf h3 { margin: 0; }
.tl-al .tl-al-abschnitt { display: flex; flex-direction: column; gap: 10px; }
.tl-al .tl-al-abschnitt > b { font-size: 13px; color: #fff; }
.tl-al .tl-al-fl { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #e2e9e5; }
.tl-al .tl-al-fl > span:first-child { display: flex; justify-content: space-between; gap: 10px; }
.tl-al .tl-al-fl .tl-bl-eingabe { color: #e2e9e5; font-weight: 400; font-size: 13px; }
.tl-al .tl-al-fl .tl-al-leer-feld { color: #8fa89b; font-style: italic; }
.tl-al .tl-al-text { height: auto !important; min-height: 64px; align-items: flex-start !important; padding: 10px 12px !important; line-height: 1.45; }
.tl-al .tl-al-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tl-al .tl-al-weg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: #8fa89b; }
.tl-al .tl-al-haken { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: #e2e9e5; }
.tl-al .tl-al-haken span { display: inline-flex; align-items: center; gap: 7px; }
.tl-al .tl-al-haken i { width: 16px; height: 16px; border-radius: 4px; background: #2fa063; color: #fff; font-style: normal; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tl-al .tl-al-haken i.tl-al-leer-haken { background: transparent; border: 1px solid #44594f; }
.tl-al .tl-al-vergleich { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tl-al .tl-al-vergleich > div { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid #2a3a33; font-size: 13px; color: #e2e9e5; }
.tl-al .tl-al-vergleich > div:last-child { border-color: #2fa063; background: #12301f; }
.tl-al .tl-al-vk { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: #8fa89b; }
.tl-al .tl-al-fuss { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.tl-al .tl-al-leer { padding: 28px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
@container (max-width: 760px) {
.tl-al .tl-al-okopf { display: none; }
.tl-al .tl-al-oz { grid-template-columns: 38px minmax(0,1fr) auto; gap: 6px 10px; padding: 10px 12px; }
.tl-al .tl-al-oz > :nth-child(1) { grid-row: 1 / span 3; align-self: start; }
.tl-al .tl-al-oz > :nth-child(2) { grid-column: 2; grid-row: 1; }
.tl-al .tl-al-oz > :nth-child(5) { grid-column: 3; grid-row: 1; }
.tl-al .tl-al-oz > :nth-child(3) { grid-column: 2; grid-row: 2; }
.tl-al .tl-al-oz > :nth-child(6) { grid-column: 3; grid-row: 2; }
.tl-al .tl-al-oz > :nth-child(4) { grid-column: 2 / -1; grid-row: 3; }
.tl-al .tl-al-panel { width: 100%; padding: 14px; }
.tl-al .tl-al-zwei, .tl-al .tl-al-vergleich { grid-template-columns: 1fr; }
}
:where(html:not(.dark)) .tl-al .tl-al-stamm { background: #f6f8f7; border-color: #e2e8e5; color: #33453d; }
:where(html:not(.dark)) .tl-al .tl-al-stamm > b, :where(html:not(.dark)) .tl-al .tl-al-vk, :where(html:not(.dark)) .tl-al .tl-al-weg, :where(html:not(.dark)) .tl-al .tl-al-fl .tl-al-leer-feld { color: #5e7268; }
:where(html:not(.dark)) .tl-al .tl-al-ot, :where(html:not(.dark)) .tl-al .tl-al-oz { border-color: #e2e8e5; }
:where(html:not(.dark)) .tl-al .tl-al-okopf { background: #eef2f0; color: #4a5d54; }
:where(html:not(.dark)) .tl-al .tl-al-oz, :where(html:not(.dark)) .tl-al .tl-al-fl, :where(html:not(.dark)) .tl-al .tl-al-fl .tl-bl-eingabe, :where(html:not(.dark)) .tl-al .tl-al-haken,
:where(html:not(.dark)) .tl-al .tl-al-vergleich > div { color: #1c2a24; }
:where(html:not(.dark)) .tl-al .tl-al-abschnitt > b { color: #111a16; }
:where(html:not(.dark)) .tl-al .tl-al-haken i.tl-al-leer-haken { border-color: #c6d1cb; }
:where(html:not(.dark)) .tl-al .tl-al-vergleich > div { border-color: #d3dcd7; }
:where(html:not(.dark)) .tl-al .tl-al-vergleich > div:last-child { border-color: #23874f; background: #eef8f2; }
/* ---- Artikel: Ergänzungen für die echte Seite (Bilder, Auswahl Land/Stand/Von, Eingaben im Fenster, Klickflächen) ---- */
.tl-al .tl-al-bild img, .tl-al .tl-al-lbild > span:first-child img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.tl-al .tl-al-wahl { position: relative; cursor: pointer; }
.tl-al .tl-al-wahl select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tl-al .tl-al-text textarea, .tl-al .tl-bl-eingabe input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; padding: 0; resize: vertical; }
.tl-al .tl-al-fbilder { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-al .tl-al-kopfzeile, .tl-al .tl-al-r, .tl-al .tl-al-s, .tl-al .tl-al-vp, .tl-al .tl-al-haken > span, .tl-al .tl-bl-kachel { cursor: pointer; }
.tl-al .tl-al-panel { max-height: calc(100vh - 32px); overflow-y: auto; }
/* Mittlere Breite (Inhalt neben der Seitenleiste): Knöpfe untereinander, damit der Titel Platz hat. */
@container (min-width: 761px) and (max-width: 1180px) {
.tl-al .tl-al-lz, .tl-al .tl-al-lkopf { grid-template-columns: 48px 110px minmax(0,1fr) 130px 90px 170px; gap: 12px; }
.tl-al .tl-al-tun { flex-direction: column; align-items: flex-end; }
.tl-al .tl-al-oz, .tl-al .tl-al-okopf { grid-template-columns: 48px 90px 120px minmax(0,1fr) 100px 140px; gap: 12px; }
}
/* Fenster: Auswahl „Von“ ist ein einzeiliges Feld (nicht die Leisten-Regel flex 140px, die in der Spalte zur Höhe wird). */
.tl-al .tl-al-fl .tl-al-wahl { flex: none; }
/* Lange Variantennamen (echte Daten): Pille bricht innen um statt über den Rand zu laufen. */
.tl-al .tl-al-vp { max-width: 100%; height: auto; min-height: 34px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; row-gap: 2px; white-space: normal; }

/* Einstellung „Sendungsnummer meldet“ (Hasan Tel 1992/1994) – zwei getrennte Wahl-Karten statt Umschalter.
   Für app/public/css/teleint.css. Wurzel: <div class="tl-sm"> im Abschnitt „Versand und Bestand“ (Verbindungen › Amazon), ganze Breite.
   Hell = Grundfassung (Filament), dunkel unter :where(.dark). Mobil: @container (max-width:600px). */
.tl-sm { container-type: inline-size; display: flex; flex-direction: column; gap: 10px; }
.tl-sm-frage { font-size: 14px; font-weight: 500; color: #1c1917; }
.tl-sm-unter { font-size: 13px; color: #6c6b6a; margin-top: -6px; }
.tl-sm-wahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tl-sm-karte { display: grid; grid-template-columns: 20px minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 4px 12px; padding: 16px; border: 1px solid #e7e5e4; border-radius: 12px; background: #fff; cursor: pointer; }
.tl-sm-karte.tl-sm-an { border: 2px solid #009d67; padding: 15px; background: #f0faf5; }
.tl-sm-punkt { grid-row: 1 / 4; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid #c9c6c2; background: #fff; }
.tl-sm-an .tl-sm-punkt { border: 5px solid #009d67; }
.tl-sm-titel { font-size: 14px; font-weight: 600; color: #1c1917; }
.tl-sm-text { font-size: 13px; line-height: 1.5; color: #57534e; }
.tl-sm-wann { align-self: end; font-size: 12px; line-height: 1.45; color: #6c6b6a; margin-top: 4px; padding-top: 8px; border-top: 1px solid #e7e5e4; }
.tl-sm-wann b { font-weight: 600; color: #1c1917; }
.tl-sm-hinweis { font-size: 12px; color: #6c6b6a; }
.tl-sm-warn { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid #f3c9c4; border-left: 4px solid #dc2626; border-radius: 10px; background: #fef2f2; font-size: 13px; line-height: 1.5; color: #7f1d1d; }
.tl-sm-warn b { display: block; color: #b91c1c; }
.tl-sm-warn .tl-sm-zeichen { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #dc2626; color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
@container (max-width: 600px) { .tl-sm-wahl { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
:where(.dark) .tl-sm-frage, :where(.dark) .tl-sm-titel, :where(.dark) .tl-sm-wann b { color: #f5f5f4; }
:where(.dark) .tl-sm-unter, :where(.dark) .tl-sm-wann, :where(.dark) .tl-sm-hinweis { color: #a8a29e; }
:where(.dark) .tl-sm-text { color: #d6d3d1; }
:where(.dark) .tl-sm-karte { background: #211e1c; border-color: #3a3634; }
:where(.dark) .tl-sm-karte.tl-sm-an { background: #10261d; border-color: #009d67; }
:where(.dark) .tl-sm-punkt { background: #272423; border-color: #57534e; }
:where(.dark) .tl-sm-an .tl-sm-punkt { border-color: #00b877; }
:where(.dark) .tl-sm-wann { border-top-color: #3a3634; }
:where(.dark) .tl-sm-warn { background: #2a1414; border-color: #5c2622; border-left-color: #ef4444; color: #fecaca; }
:where(.dark) .tl-sm-warn b { color: #fca5a5; }

/* Plan 6acfd73 (Entwurf odoo-automatisch): Trennlinie vor den zwei Automatik-Schaltern im Kasten „Schreiben darf teleint“. */
.tl-ww-automatik { border-top: 1px solid #e7e5e4; padding-top: 14px; }
/* Entwurf odoo-automatisch: Hilfetext unter dem Titel eingerückt (Schalter 44 + Abstand 12), grau wie die Haken-Hinweise. */
.tl-ww-automatik .fi-fo-field-content-col { padding-inline-start: 56px; }
.tl-ww-automatik .fi-sc-text { color: #78716c; }
:where(.dark) .tl-ww-automatik .fi-sc-text { color: #a8a29e; }
/* Entwurf odoo-automatisch, grauer Zustand: gesperrter Schalter samt Titel und Hilfetext blass. */
.tl-ww-automatik .fi-fo-field:has(button[disabled]) { opacity: .5; }
:where(.dark) .tl-ww-automatik { border-top-color: #33302e; }

/* Hasan Tel 2033/2038, Entwurf paketdienst-odoo (04c300b): „Transportunternehmen in Odoo“ je Paketdienst (Verbindungen › Amazon › Paketdienste). */
.tl-pd { container-type: inline-size; display: flex; flex-direction: column; gap: 16px; }
.tl-pd-frage { font-size: 14px; font-weight: 500; color: #1c1917; }
.tl-pd-unter { font-size: 13px; line-height: 1.5; color: #6c6b6a; margin-top: -6px; }
.tl-pd-liste { border: 1px solid #e7e5e4; border-radius: 12px; overflow: hidden; }
.tl-pd-zeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); align-items: center; gap: 8px 16px; padding: 10px 14px; }
.tl-pd-liste .tl-pd-zeile + .tl-pd-zeile { border-top: 1px solid #e7e5e4; }
.tl-pd-tkopf { padding-top: 8px; padding-bottom: 8px; background: #fafaf9; font-size: 12px; color: #6c6b6a; }
.tl-pd-dienst { font-size: 14px; color: #1c1917; }
.tl-pd-vorgabe { border: 1px solid #e7e5e4; border-radius: 12px; }
.tl-pd-vorgabe .tl-pd-dienst { font-weight: 600; }
.tl-pd-wahl { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid #d6d3d1; border-radius: 8px; background: #fff; font-size: 14px; color: #1c1917; }
.tl-pd-wahl.tl-pd-leer { color: #8a8784; }
/* echter Filament-Select: Klasse tl-pd-leer am <select>, solange „wie unten (für alle anderen)“ bzw. „– keine –“ gewählt ist. Die Liste beim Aufklappen bleibt normal. */
.tl-pd select.tl-pd-leer { color: #8a8784; }
.tl-pd select.tl-pd-leer option { color: #1c1917; }
.tl-pd-pfeil { color: #8a8784; font-size: 12px; }
.tl-pd-hinweis { font-size: 12px; line-height: 1.5; color: #6c6b6a; }
.tl-pd-warn { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid #f3dcb5; border-left: 4px solid #E39225; border-radius: 10px; background: #fff8ec; font-size: 13px; line-height: 1.5; color: #6b4310; }
.tl-pd-warn b { display: block; color: #9a5b0c; }
.tl-pd-warn .tl-pd-zeichen { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #E39225; color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tl-pd-pruefen { grid-column: 2; display: flex; align-items: flex-start; gap: 6px; font-size: 12px; line-height: 1.45; color: #9a5b0c; }
.tl-pd-pruefen .tl-pd-zeichen { flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: #E39225; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
@container (max-width: 600px) {
  .tl-pd-pruefen { grid-column: 1; }
  .tl-pd-zeile { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tl-pd-tkopf { display: none; }
}
:where(.dark) .tl-pd-frage, :where(.dark) .tl-pd-dienst, :where(.dark) .tl-pd-wahl { color: #f5f5f4; }
:where(.dark) .tl-pd-unter, :where(.dark) .tl-pd-hinweis, :where(.dark) .tl-pd-tkopf { color: #a8a29e; }
:where(.dark) .tl-pd-liste, :where(.dark) .tl-pd-vorgabe, :where(.dark) .tl-pd-liste .tl-pd-zeile + .tl-pd-zeile { border-color: #3a3634; }
:where(.dark) .tl-pd-tkopf { background: #211e1c; }
:where(.dark) .tl-pd-wahl { background: #272423; border-color: #44403c; }
:where(.dark) .tl-pd-wahl.tl-pd-leer, :where(.dark) .tl-pd-pfeil { color: #8a8784; }
:where(.dark) .tl-pd select.tl-pd-leer { color: #8a8784; }
:where(.dark) .tl-pd select.tl-pd-leer option { color: #f5f5f4; }
:where(.dark) .tl-pd-warn { background: #2a1f0e; border-color: #5c4322; border-left-color: #E39225; color: #f3d9b1; }
:where(.dark) .tl-pd-warn b { color: #f0c47a; }
:where(.dark) .tl-pd-pruefen { color: #f0c47a; }
/* Entwurf paketdienst-neben 2dd7f64 – 1:1 aus docs/design/gesamt/entwurf/paketdienst-neben.css */
.tl-pd-gitter { container-type: inline-size; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 16px; align-items: start; }
.tl-pd-haken label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #1c1917; padding: 6px 0; }
.tl-pd-box { flex: none; width: 16px; height: 16px; border: 1px solid #c9c6c2; border-radius: 4px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; }
.tl-pd-box-an { background: #2E8B57; border-color: #2E8B57; }
.tl-pd-haken-an { display: flex; flex-direction: column; gap: 6px; padding: 8px 12px 12px; border: 1px solid #cfe6d9; border-radius: 10px; background: #f6fbf8; }
.tl-pd-haken-an label { font-weight: 600; }
.tl-pd-odoo { display: flex; flex-direction: column; gap: 4px; }
.tl-pd-odoo .tl-pd-pruefen { grid-column: auto; }
.tl-pd-klein { font-size: 12px; color: #6c6b6a; }
@media (max-width: 900px) { .tl-pd-gitter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tl-pd-gitter { grid-template-columns: minmax(0, 1fr); } }
:where(.dark) .tl-pd-haken label { color: #f5f5f4; }
:where(.dark) .tl-pd-box { background: #272423; border-color: #57534e; }
:where(.dark) .tl-pd-box-an { background: #2E8B57; border-color: #2E8B57; }
:where(.dark) .tl-pd-haken-an { background: #17241d; border-color: #2c4a3a; }
:where(.dark) .tl-pd-klein { color: #a8a29e; }
/* Suchen + Alle auswählen über dem Gitter (im Entwurf .suche); echtes Checkbox statt .tl-pd-box */
.tl-pd-oben { display: flex; flex-direction: column; gap: 16px; }
.tl-pd-suche { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tl-pd-suche .fi-input-wrp { flex: 1; min-width: 180px; }
.tl-pd-suche .fi-link { font-size: 14px; color: #2E8B57; font-weight: 500; }
.tl-pd-haken .fi-checkbox-input { flex: none; }
/* Tel 451: zugeordnete Zeile – „✓ Zugeordnet“ grün, „ändern“ klein darunter, rechtsbündig wie der Knopf */
.tl-zl-zugeordnet { align-items: flex-end; gap: 2px; }
.tl-zl-zugeordnet .fi-btn { color: var(--success-600); border-color: var(--success-600); }
.dark .tl-zl-zugeordnet .fi-btn { color: var(--success-400); border-color: var(--success-400); }
/* Artikel-Startseite nach Hasans Entwurf v2 (docs/design/eingang/hasan-artikel-stamm-kanaele-v2.html, Tel 453–458).
   Dunkel = Entwurfswerte 1:1 (.dark .tl-as), hell = dieselben Flächen auf dem hellen Grund der App. */
.tl-as { --as-grund: #f4f3ef; --as-karte: #fff; --as-flaeche: #f7f6f3; --as-hover: #efeee9; --as-rand: #e7e5e1; --as-rand2: #d6d3cd;
  --as-text: #1c1917; --as-text2: #57534e; --as-blass: #8a8784; --as-vp: #f7f6f3; --as-vp-an: #fff; --as-vp-rand-an: #1c1917; --as-vp-text: #57534e;
  --as-odoo: #9333EA; --as-odoo2: #9333EA; --as-amazon: #B45309; --as-amazon2: #B45309; --as-tiktok: #0E7490; --as-tiktok2: #0E7490; --as-etsy: #E11D48; --as-etsy2: #E11D48; --as-ebay: #0064D2;
  --as-gruen: #059669; --as-hellgruen: #059669; --as-gelb: #A16207; --as-rot: #DC2626; --as-knopf-text: #fff; --as-hell: #fff;
  display: flex; flex-direction: column; gap: 24px; color: var(--as-text); font-feature-settings: "cv02", "cv03", "cv04", "cv11"; }
.dark .tl-as { --as-grund: #0B0F0D; --as-karte: #121815; --as-flaeche: #17201C; --as-hover: #1D2823; --as-rand: #26332D; --as-rand2: #35473F;
  --as-text: #F8FAFC; --as-text2: #94A3B8; --as-blass: #64748B; --as-vp: #141D19; --as-vp-an: #1D2823; --as-vp-rand-an: rgba(255, 255, 255, .65); --as-vp-text: #9CA3AF;
  --as-odoo: #A855F7; --as-odoo2: #C084FC; --as-amazon: #F59E0B; --as-amazon2: #FBBF24; --as-tiktok: #22D3EE; --as-tiktok2: #67E8F9; --as-etsy: #FB7185; --as-etsy2: #FDA4AF; --as-ebay: #60A5FA;
  --as-gruen: #10B981; --as-hellgruen: #34D399; --as-gelb: #EAB308; --as-rot: #EF4444; --as-knopf-text: #052419; --as-hell: #F9FAFB; }
.tl-as button { font-family: inherit; cursor: pointer; }
.tl-as button:disabled { cursor: not-allowed; opacity: .55; }
.tl-as-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-as-mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.tl-as-stark { color: var(--as-text); }
.tl-as-blass { color: var(--as-blass); }
.tl-as-f-odoo { color: var(--as-odoo2); } .tl-as-f-amazon { color: var(--as-amazon); } .tl-as-f-tiktok { color: var(--as-tiktok); } .tl-as-f-etsy { color: var(--as-etsy); }
.tl-as-f-gruen { color: var(--as-gruen); } .tl-as-f-hellgruen { color: var(--as-hellgruen); } .tl-as-f-gelb { color: var(--as-gelb); } .tl-as-f-rot { color: var(--as-rot); }
b.tl-as-f-odoo, b.tl-as-f-amazon, b.tl-as-f-tiktok, b.tl-as-f-etsy { font-weight: 500; }
.tl-as-punkt { display: inline-block; width: 8px; height: 8px; border-radius: 999px; flex: none; }
.tl-as-punkt--klein { width: 6px; height: 6px; }
.tl-as-punkt--odoo { background: var(--as-odoo); } .tl-as-punkt--amazon { background: var(--as-amazon); } .tl-as-punkt--tiktok { background: var(--as-tiktok); } .tl-as-punkt--etsy { background: var(--as-etsy); }
.tl-as-punkt--gelb { background: var(--as-gelb); } .tl-as-punkt--rot { background: var(--as-rot); }
/* Unter-Reiter */
.tl-as-unter { display: flex; gap: 8px; border-bottom: 1px solid var(--as-rand); overflow-x: auto; }
.tl-as-unter a { padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--as-text2); border-bottom: 2px solid transparent; white-space: nowrap; }
.tl-as-unter a:hover { color: var(--as-text); }
.tl-as-unter a.tl-as-unter--an { font-weight: 600; color: var(--as-text); border-bottom-color: var(--as-gruen); }
/* Hasan Tel 1157–1169: mit den Übertragen-Reitern bricht die Leiste am Rechner um, statt „Zu eBay“ abzuschneiden */
@media (min-width: 768px) { .tl-as-unter { flex-wrap: wrap; } }
/* Kopf */
.tl-as-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tl-as-kopf-text { max-width: 48rem; display: flex; flex-direction: column; gap: 6px; }
.tl-as-pfad { font-size: 12px; font-weight: 500; color: var(--as-blass); display: flex; gap: 6px; }
.tl-as-pfad b { font-weight: 500; color: var(--as-text2); }
.tl-as h1 { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; color: var(--as-text); margin: 0; }
.tl-as-kopf p { font-size: 14px; line-height: 1.625; color: var(--as-text2); margin: 0; }
.tl-as-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: none; padding-top: 4px; }
.tl-as-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; border-radius: 8px; background: var(--as-flaeche); border: 1px solid var(--as-rand);
  color: var(--as-text); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.tl-as-knopf:hover:not(:disabled) { background: var(--as-hover); border-color: var(--as-rand2); }
.tl-as-knopf--haupt { background: var(--as-gruen); border-color: var(--as-gruen); color: var(--as-knopf-text); font-weight: 700; padding: 8px 16px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .4); }
.tl-as-knopf--haupt:hover:not(:disabled) { background: #059669; border-color: #059669; }
.tl-as-knopf--klein { padding: 6px 10px; font-size: 12px; color: var(--as-text2); }
.tl-as-knopf--klein:hover { color: var(--as-text); }
.tl-as-knopf--mini { padding: 6px 12px; font-size: 12px; gap: 6px; box-shadow: none; }
.tl-as-knopf--mini .tl-as-ic { width: 14px; height: 14px; }
.tl-as-knopf--odoo { color: var(--as-odoo2); background: color-mix(in srgb, var(--as-odoo) 14%, transparent); border-color: color-mix(in srgb, var(--as-odoo) 40%, transparent); font-weight: 600; }
.tl-as-knopf--breit { width: 100%; padding: 10px 16px; border-radius: 12px; }
/* Kacheln */
.tl-as-kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tl-as-kachel { cursor: pointer; border-radius: 12px; background: var(--as-karte); border: 1px solid var(--as-rand); padding: 16px; transition: border-color .15s; }
.tl-as-kachel:hover { border-color: color-mix(in srgb, var(--as-gruen) 50%, transparent); }
.tl-as-kachel:nth-child(3):hover { border-color: color-mix(in srgb, var(--as-gelb) 50%, transparent); }
.tl-as-kachel:nth-child(4):hover { border-color: color-mix(in srgb, var(--as-rot) 50%, transparent); }
.tl-as-kachel-oben { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--as-text2); }
.tl-as-kachel > b { display: block; margin-top: 8px; font-size: 20px; font-weight: 700; color: var(--as-text); font-variant-numeric: tabular-nums; }
.tl-as-kachel > small { display: block; margin-top: 4px; font-size: 12px; }
/* Abzeichen und Pillen */
.tl-as-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; white-space: nowrap; border: 1px solid;
  color: var(--as-text); background: color-mix(in srgb, var(--as-text) 4%, transparent); border-color: color-mix(in srgb, var(--as-text) 16%, transparent); }
.tl-as-kachel-oben .tl-as-badge { font-size: 10px; font-weight: 600; border-radius: 4px; }
.tl-as-badge--odoo { color: var(--as-odoo); background: color-mix(in srgb, var(--as-odoo) 14%, transparent); border-color: color-mix(in srgb, var(--as-odoo) 40%, transparent); font-weight: 600; }
.tl-as-badge--amazon { color: var(--as-amazon); background: color-mix(in srgb, var(--as-amazon) 14%, transparent); border-color: color-mix(in srgb, var(--as-amazon) 40%, transparent); font-weight: 600; font-size: 12px; }
.tl-as-badge--tiktok { color: var(--as-tiktok); background: color-mix(in srgb, var(--as-tiktok) 14%, transparent); border-color: color-mix(in srgb, var(--as-tiktok) 40%, transparent); font-weight: 600; font-size: 12px; }
.tl-as-badge--ebay { color: var(--as-ebay); background: color-mix(in srgb, var(--as-ebay) 14%, transparent); border-color: color-mix(in srgb, var(--as-ebay) 40%, transparent); font-weight: 600; font-size: 12px; }
.tl-as-badge--etsy { color: var(--as-etsy); background: color-mix(in srgb, var(--as-etsy) 14%, transparent); border-color: color-mix(in srgb, var(--as-etsy) 40%, transparent); font-weight: 600; font-size: 12px; }
.tl-as-badge--gruen { color: var(--as-gruen); background: color-mix(in srgb, var(--as-gruen) 14%, transparent); border-color: color-mix(in srgb, var(--as-gruen) 40%, transparent); }
.tl-as-badge--gelb { color: var(--as-gelb); background: color-mix(in srgb, var(--as-gelb) 12%, transparent); border-color: color-mix(in srgb, var(--as-gelb) 35%, transparent); }
.tl-as-badge--rot { color: var(--as-rot); background: color-mix(in srgb, var(--as-rot) 12%, transparent); border-color: color-mix(in srgb, var(--as-rot) 35%, transparent); font-weight: 600; }
.tl-as-pille { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid; white-space: nowrap; }
.tl-as-pille i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.tl-as-pille--bestaetigt { color: var(--as-gruen); background: color-mix(in srgb, var(--as-gruen) 12%, transparent); border-color: color-mix(in srgb, var(--as-gruen) 35%, transparent); }
.tl-as-pille--vorschlag { color: var(--as-gelb); background: color-mix(in srgb, var(--as-gelb) 12%, transparent); border-color: color-mix(in srgb, var(--as-gelb) 35%, transparent); }
.tl-as-pille--inaktiv { color: var(--as-blass); background: color-mix(in srgb, var(--as-blass) 12%, transparent); border-color: color-mix(in srgb, var(--as-blass) 35%, transparent); }
/* Hasan Tel 565: Ziel eines Vorschlags (Odoo-Artikel) unter den Pillen. */
.tl-as-zcode { display: block; margin-top: 4px; font-size: 11px; }
.tl-as .tl-as-tabelle--kanal .tl-as-va { width: 114px; padding-left: 0; padding-right: 0; }
.tl-as-va .tl-as-wahl select { width: 114px; padding-left: 8px; padding-right: 18px; font-size: 11px; text-overflow: ellipsis; }
.tl-as-va .tl-as-wahl svg { right: 4px; }
.tl-as-va small { max-width: 114px; white-space: normal; }
/* Tel 606: reicht die Breite nicht (lange SKU), rutscht der Knopf unter die Pillen statt abgeschnitten zu werden. */
.tl-as-zs:has(> .tl-as-knopf) { flex-wrap: wrap; }
.tl-as-zs:has(> .tl-as-pille + .tl-as-knopf) { min-width: 240px; }
/* Hasan Tel 570–584: Fenster „Zuordnung zu Odoo“ auf der Artikel-Seite */
.tl-as-zo-titel { font-size: 15px; }
.tl-as-fbox.tl-as-zo-vorschlag { border-color: color-mix(in srgb, var(--as-gelb) 45%, transparent); }
.tl-as-zo-paar { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.tl-as-zo-seite { min-width: 0; padding: 12px; border-radius: 10px; border: 1px solid var(--as-rand); background: var(--as-karte); display: flex; flex-direction: column; gap: 8px; }
.tl-as-zo-seite > .tl-as-badge { align-self: flex-start; }
.tl-as-zo-kopf { display: flex; gap: 10px; font-size: 13px; line-height: 1.35; }
.tl-as-zo-kopf b { min-width: 0; }
.tl-as-zo-zeile { font-size: 13px; }
.tl-as-zo-var { color: var(--as-gelb); }
.tl-as-fzeile.tl-as-zo-knoepfe { justify-content: flex-start; }
.tl-as-zo-menge { font-size: 12px; display: flex; align-items: center; gap: 6px; }
.tl-as-zo-menge input, .tl-as-zo-suche { background: var(--as-karte); border: 1px solid var(--as-rand); border-radius: 8px; color: var(--as-text); }
.tl-as-zo-menge input { width: 64px; padding: 4px 8px; }
.tl-as-zo-suche { width: 100%; padding: 8px 12px; font-size: 14px; }
.tl-as-zo-kandidat { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--as-rand); }
.tl-as-zo-ktext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.tl-as-zo-belegt { color: var(--as-gruen); font-size: 11px; }
/* Hasan Tel 554: bei Amazon/Etsy deaktiviertes Angebot grau. */
.tl-as-zeile--inaktiv td { opacity: .55; }
.tl-as-zeile--inaktiv td:nth-child(4) { opacity: 1; }
.tl-as-pille--offen { color: var(--as-rot); background: color-mix(in srgb, var(--as-rot) 12%, transparent); border-color: color-mix(in srgb, var(--as-rot) 35%, transparent); }
/* Kasten mit Filter */
.tl-as-kasten { border-radius: 12px; background: var(--as-karte); border: 1px solid var(--as-rand); padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.tl-as-filter { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tl-as-kanaele, .tl-as-suchen { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tl-as-suchen { gap: 8px; }
.tl-as-kanal { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500; background: var(--as-flaeche); border: 1px solid var(--as-rand); }
.tl-as-kanal:hover { background: var(--as-hover); }
.tl-as-kanal--alle { color: var(--as-text); } .tl-as-kanal--odoo { color: var(--as-odoo); } .tl-as-kanal--amazon { color: var(--as-amazon); } .tl-as-kanal--tiktok { color: var(--as-tiktok); } .tl-as-kanal--etsy { color: var(--as-etsy); }
.tl-as-kanal--alle.tl-as-kanal--an { background: var(--as-gruen); border-color: var(--as-gruen); color: var(--as-knopf-text); font-weight: 600; }
.tl-as-kanal--an:not(.tl-as-kanal--alle) { font-weight: 600; border-color: currentColor; background: color-mix(in srgb, currentColor 16%, transparent); }
.tl-as-suche { position: relative; display: block; width: 256px; }
.tl-as-suche .tl-as-ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--as-blass); }
.tl-as-suche input, .tl-as-wahl select { width: 100%; background: var(--as-flaeche); border: 1px solid var(--as-rand); border-radius: 8px; padding: 6px 28px 6px 32px; font-size: 12px; color: var(--as-text); outline: none; }
.tl-as-suche input::placeholder { color: var(--as-blass); }
.tl-as-suche input:focus, .tl-as-wahl select:focus { border-color: var(--as-gruen); box-shadow: none; }
.tl-as-wahl { position: relative; display: inline-block; }
.tl-as-wahl select { appearance: none; -webkit-appearance: none; background-image: none; padding: 6px 32px 6px 12px; font-weight: 500; cursor: pointer; }
.tl-as-wahl select:hover { border-color: var(--as-rand2); }
.tl-as-wahl svg { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; fill: none; stroke: var(--as-text2); stroke-width: 2; pointer-events: none; }
.tl-as-wahl--voll { display: block; }
.tl-as-wahl--voll select { background: var(--as-karte); border-color: var(--as-rand2); padding: 8px 32px 8px 12px; font-weight: 600; }
.tl-as-notiz { font-size: 12px; color: var(--as-text2); padding: 10px 12px; border-radius: 8px; background: var(--as-flaeche); border: 1px solid var(--as-rand); }
.tl-as-notiz a { color: var(--as-gruen); font-weight: 600; }
/* Karte */
.tl-as-karte { border-radius: 12px; background: var(--as-karte); border: 1px solid var(--as-rand); overflow: hidden; transition: border-color .15s; }
.tl-as-karte:hover, .tl-as-karte--auf { border-color: var(--as-rand2); }
/* Hasan Tel 525/527: eine geöffnete Karte hebt sich dunkelgrau (hell: hellgrau) vom Hintergrund ab – Kopf, Varianten-Leiste und Tabelle. */
.tl-as-karte--auf, .tl-as-karte--auf .tl-as-vleiste, .tl-as-karte--auf .tl-as-tabelle, .tl-as-karte--auf .tl-as-tabelle th { background: #eceef1; }
.tl-as-karte--auf { border-color: #c9ced6; }
.dark .tl-as-karte--auf, .dark .tl-as-karte--auf .tl-as-vleiste, .dark .tl-as-karte--auf .tl-as-tabelle, .dark .tl-as-karte--auf .tl-as-tabelle th { background: #262a30; }
.dark .tl-as-karte--auf { border-color: #3d434c; }
.tl-as-kkopf { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; cursor: pointer; user-select: none; }
.tl-as-chev { flex: none; padding: 4px; border-radius: 6px; color: var(--as-text2); display: inline-flex; }
.tl-as-chev svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transform: rotate(-90deg); transition: transform .15s; }
.tl-as-karte--auf .tl-as-chev svg { transform: none; }
.tl-as-kbild { flex: none; width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--as-rand); overflow: hidden; background: var(--as-grund); display: flex; align-items: center; justify-content: center; color: var(--as-blass);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1); }
.tl-as-kbild img, .tl-as-vbild img, .tl-as-zbild img, .tl-as-gbild img { width: 100%; height: 100%; object-fit: cover; }
.tl-as-kinfo { min-width: 0; flex: 1; }
.tl-as-kname { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-as-kname > b { font-size: 16px; font-weight: 700; color: var(--as-text); }
.tl-as-code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; border: 1px solid;
  color: var(--as-odoo); background: color-mix(in srgb, var(--as-odoo) 14%, transparent); border-color: color-mix(in srgb, var(--as-odoo) 40%, transparent); }
.tl-as-kmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: 12px; color: var(--as-text2); }
.tl-as-kmeta b { font-weight: 600; }
.tl-as-trenner { color: var(--as-blass); }
.tl-as-ptabs { display: flex; align-items: center; gap: 6px; overflow-x: auto; flex: none; }
.tl-as-ptab { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500; border: 1px solid var(--as-rand); background: var(--as-flaeche); white-space: nowrap; transition: background-color .15s; }
.tl-as-ptab:hover { background: var(--as-hover); }
.tl-as-ptab--odoo { color: var(--as-odoo2); } .tl-as-ptab--amazon { color: var(--as-amazon2); } .tl-as-ptab--tiktok { color: var(--as-tiktok2); } .tl-as-ptab--etsy { color: var(--as-etsy2); }
.tl-as-ptab--an { font-weight: 600; color: var(--as-text); }
.tl-as-ptab--odoo.tl-as-ptab--an { background: color-mix(in srgb, var(--as-odoo) 18%, transparent); border-color: var(--as-odoo); }
.tl-as-ptab--amazon.tl-as-ptab--an { background: color-mix(in srgb, var(--as-amazon) 18%, transparent); border-color: var(--as-amazon); }
.tl-as-ptab--tiktok.tl-as-ptab--an { background: color-mix(in srgb, var(--as-tiktok) 18%, transparent); border-color: var(--as-tiktok); }
.tl-as-ptab--etsy.tl-as-ptab--an { background: color-mix(in srgb, var(--as-etsy) 18%, transparent); border-color: var(--as-etsy); }
/* Variantenleiste – immer sichtbar */
.tl-as-vleiste, .tl-as-fvarianten { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: color-mix(in srgb, var(--as-grund) 75%, transparent); border-top: 1px solid var(--as-rand); overflow-x: auto; }
.tl-as-vtitel { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--as-blass); flex: none; margin-right: 2px; }
.tl-as-vp { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 6px; border-radius: 8px; font-size: 12px; font-weight: 500; white-space: nowrap; flex: none;
  background: var(--as-vp); border: 1px solid var(--as-rand); color: var(--as-vp-text); transition: background-color .15s, border-color .15s, color .15s; }
.tl-as-vp:last-child:not(:has(.tl-as-vbild)) { padding: 6px 12px; }
.tl-as-vp:hover { border-color: color-mix(in srgb, var(--as-text) 28%, transparent); color: var(--as-text); }
.tl-as-vp b { font-weight: inherit; }
.tl-as-vp--an { background: var(--as-vp-an); border-color: var(--as-vp-rand-an); color: var(--as-text); font-weight: 600; }
.tl-as-vp .tl-as-mono { font-size: 11px; }
.tl-as-vp .tl-as-badge { font-size: 10px; padding: 0 6px; border-radius: 4px; }
.tl-as-vbild { width: 22px; height: 22px; border-radius: 4px; border: 1px solid var(--as-rand); overflow: hidden; background: var(--as-grund); flex: none; }
/* Inhalt */
.tl-as-inhalt { border-top: 1px solid var(--as-rand); padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.tl-as-stamm { padding: 14px; border-radius: 12px; background: var(--as-flaeche); border: 1px solid var(--as-rand); border-left: 2px solid var(--as-odoo); }
.tl-as-stamm-t { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--as-odoo); }
.tl-as-stamm p { margin: 4px 0 0; font-size: 14px; line-height: 1.625; color: var(--as-text2); }
/* Hasan Tel 1380/1382: Sonstige Kosten je Stück beim Vaterartikel und je Variante */
.tl-as-kosten { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border-radius: 12px; background: var(--as-flaeche); border: 1px solid var(--as-rand); border-left: 2px solid var(--as-odoo); }
.tl-as-kosten p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--as-text2); }
.tl-as-kosten-ein { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--as-text2); white-space: nowrap; }
.tl-as-kosten-ein input { width: 76px; text-align: right; background: var(--as-karte); border: 1px solid var(--as-rand); border-radius: 8px; padding: 5px 8px; font-size: 13px; font-weight: 600; color: var(--as-text); outline: none; }
.tl-as-kosten-ein input:focus { border-color: var(--as-gruen); box-shadow: none; }
.tl-as-kosten-ein input::placeholder { color: var(--as-blass); font-weight: 400; }
.tl-as-kosten-ein input:disabled { opacity: .6; }
/* Hasan Tel 1570–1586: EK und Sonstige Kosten unter dem VK in der Marktplatz-Zeile */
.tl-as-ek { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-top: 8px; }
.tl-as-ek > span { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.tl-as-ek small { font-size: 11px; color: var(--as-blass); white-space: nowrap; }
.tl-as-ek b { font-size: 13px; line-height: 28px; }
.tl-as-ek .tl-as-kosten-ein input { width: 64px; }
/* teleint-206 EK und Gewicht am Artikel (Entwurf artikel-ek-gewicht) */
/* Herkunft unter einem Wert, der aus der Warenwirtschaft kommt (nur Anzeige) */
.tl-as-herkunft { display: block; font-size: 11px; font-weight: 400; color: var(--as-odoo2); white-space: nowrap; }
.tl-as-wert { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
/* Gewicht: gleiches Feld wie EK/Kosten, schmaler, Einheit g */
.tl-as-kosten-ein--g input { width: 56px; }
/* Angebotszeile: EK · Gewicht · Sonstige untereinander wie bisher */
.tl-as-ek .tl-as-wert b { line-height: 1.3; }
/* Grunddaten ohne Warenwirtschaft: drei Felder nebeneinander, am Handy untereinander */
.tl-as-grund { display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: 12px; background: var(--as-flaeche); border: 1px solid var(--as-rand); border-left: 2px solid var(--as-gruen); }
.tl-as-grund .tl-as-stamm-t { color: var(--as-gruen); }
.tl-as-grund p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--as-text2); }
.tl-as-grund-felder { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.tl-as-grund-feld { display: flex; flex-direction: column; gap: 4px; }
.tl-as-grund-feld small { font-size: 11px; color: var(--as-blass); }
.tl-as-punkt--grund { background: var(--as-gruen); }
.tl-as-ptab--grund.tl-as-ptab--an { color: var(--as-gruen); }
@media (max-width: 640px) { .tl-as-grund-felder { flex-direction: column; } .tl-as-grund-feld { flex-direction: row; align-items: center; justify-content: space-between; } }
@media (max-width: 640px) { .tl-as-kosten { flex-direction: column; align-items: stretch; } }
.tl-as-tabelle { border-radius: 12px; border: 1px solid var(--as-rand); overflow-x: auto; background: var(--as-flaeche); }
.tl-as-kanal-inhalt { border-top: 1px solid var(--as-rand); }
.tl-as-tabelle--kanal { border: 0; border-radius: 0; }
.tl-as-tabelle table { width: 100%; border-collapse: collapse; text-align: left; }
.tl-as-tabelle th { padding: 10px 12px; font-size: 11px; font-weight: 500; color: var(--as-blass); background: var(--as-karte); border-bottom: 1px solid var(--as-rand); white-space: nowrap; }
.tl-as-tabelle td { padding: 10px 12px; font-size: 12px; border-bottom: 1px solid var(--as-rand); white-space: nowrap; vertical-align: middle; color: var(--as-text2); }
.tl-as-tabelle--kanal td { padding: 12px; }
.tl-as-tabelle th:first-child, .tl-as-tabelle td:first-child { padding-left: 16px; }
.tl-as-tabelle th:last-child, .tl-as-tabelle td:last-child { padding-right: 16px; }
.tl-as-tabelle tbody tr:last-child td { border-bottom: 0; }
.tl-as-tabelle tbody tr:not(.tl-as-gruppe):hover { background: var(--as-hover); }
.tl-as-tabelle td b { font-size: 14px; font-weight: 600; }
.tl-as-r { text-align: right !important; }
.tl-as-klick { cursor: pointer; }
.tl-as-tabelle tr.tl-as-zeile--an, .tl-as-tabelle tr.tl-as-zeile--an:hover { background: color-mix(in srgb, var(--as-gruen) 7%, transparent); }
.tl-as-gruppe td { background: var(--as-karte); padding: 8px 16px !important; font-size: 12px; font-weight: 600; color: var(--as-text2); }
.tl-as-zbild { display: block; width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--as-rand); overflow: hidden; background: var(--as-grund); flex: none; }
.tl-as-zbild--gross { width: 42px; height: 42px; }
.tl-as-zbild--fehlt { border: 1px dashed color-mix(in srgb, var(--as-rot) 50%, transparent); background: var(--as-karte); }
.tl-as-zbild--fenster { width: 56px; height: 56px; border-radius: 12px; }
.tl-as-lbild, .tl-as-ean, .tl-as-zs, .tl-as-tun, .tl-as-land-oben { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tl-as-ean, .tl-as-zs, .tl-as-land-oben { gap: 6px; }
.tl-as-lbild, .tl-as-zs, .tl-as-land-oben { flex-wrap: nowrap; }
.tl-as-tun { gap: 8px; justify-content: flex-end; flex-wrap: nowrap; }
.tl-as-medien { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid;
  color: var(--as-odoo2); background: color-mix(in srgb, var(--as-odoo) 12%, transparent); border-color: color-mix(in srgb, var(--as-odoo) 35%, transparent); }
.tl-as-medien .tl-as-ic { width: 12px; height: 12px; }
.tl-as-medien--leer { color: var(--as-rot); background: color-mix(in srgb, var(--as-rot) 12%, transparent); border-color: color-mix(in srgb, var(--as-rot) 35%, transparent); }
.tl-as-land { display: flex; align-items: center; gap: 10px; }
.tl-as-flagge { font-size: 18px; line-height: 1; }
.tl-as-land small, .tl-as-ltitel small { display: block; margin-top: 4px; font-size: 11px; }
.tl-as-ltitel { min-width: 220px; max-width: 340px; white-space: normal !important; }
.tl-as-ltitel b { font-weight: 500 !important; color: var(--as-text); }
.tl-as-ltitel small { font-size: 12px; color: var(--as-blass); }
/* Tel 619: Etsy-Merkmal (Gewicht, Alter) gut lesbar statt klein und grau. */
.tl-as-merkmal { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--as-gelb); }
.tl-as-fehlt { font-style: italic; color: var(--as-rot); font-size: 14px; }
.tl-as-tabelle td small.tl-as-mono { display: block; font-size: 11px; }
.tl-as-keine { text-align: center !important; padding: 24px 16px !important; color: var(--as-text2); }
.tl-as-leer { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 16px; text-align: center; color: var(--as-text2); font-size: 14px; }
.tl-as-leer > .tl-as-ic { width: 28px; height: 28px; color: var(--as-blass); }
.tl-as-leer b { color: var(--as-text); font-size: 16px; }
.tl-as-mehr { align-self: center; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--as-rand); background: var(--as-flaeche); color: var(--as-text2); font-size: 12px; font-weight: 500; }
.tl-as-fuss { margin: 0; font-size: 12px; color: var(--as-blass); }
.tl-as-fuss span { font-weight: 600; }
.tl-as-f-start { color: inherit; }
/* Fenster „Details & Übertragen“ */
.tl-as-fenster-hg { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .8); display: flex; justify-content: flex-end; padding-left: 48px; }
.tl-as-fenster { width: 100%; max-width: 42rem; height: 100%; background: var(--as-karte); border-left: 1px solid var(--as-rand); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); display: flex; flex-direction: column; }
.tl-as-fkopf { padding: 16px 24px; background: var(--as-flaeche); border-bottom: 1px solid var(--as-rand); display: flex; flex-direction: column; gap: 12px; }
.tl-as-fkopf-oben { display: flex; align-items: flex-start; gap: 14px; }
.tl-as-fkopf-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.tl-as-fkopf-text .tl-as-flagge { font-size: 20px; }
.tl-as-fkopf-text b { font-weight: 700; }
.tl-as-zu { padding: 8px; border-radius: 8px; color: var(--as-text2); border: 1px solid transparent; background: none; flex: none; }
.tl-as-zu:hover { color: var(--as-text); background: var(--as-hover); border-color: var(--as-rand); }
.tl-as-zu .tl-as-ic { width: 20px; height: 20px; }
.tl-as-fvarianten { padding: 8px 0 0; background: none; flex-wrap: wrap; gap: 6px; }
.tl-as-fvarianten .tl-as-vp { padding: 4px 12px; }
.tl-as-fvarianten .tl-as-mono { font-size: 10px; }
.tl-as-fkoerper { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.tl-as-fbox { padding: 16px; border-radius: 12px; background: var(--as-flaeche); border: 1px solid var(--as-rand); display: flex; flex-direction: column; gap: 12px; }
.tl-as-fbox-kopf, .tl-as-fzeile { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tl-as-fbox-kopf small { display: block; margin-top: 2px; font-size: 11px; }
.tl-as-ftitel { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--as-text); }
.tl-as-fzeile small { font-size: 11px; }
.tl-as-galerie { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.tl-as-gbild { position: relative; width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--as-rand); background: var(--as-grund); }
.tl-as-gbild img { border-radius: 11px; }
.tl-as-gbild:first-child { border-color: color-mix(in srgb, var(--as-text) 60%, transparent); }
.tl-as-gbild em { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); padding: 0 6px; border-radius: 4px; background: var(--as-vp-an); border: 1px solid color-mix(in srgb, var(--as-text) 40%, transparent);
  font-size: 9px; font-style: normal; font-weight: 600; color: var(--as-text); white-space: nowrap; }
.tl-as-fabschnitt { display: flex; flex-direction: column; gap: 16px; }
.tl-as-feld { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.tl-as-feld b { font-weight: 500; color: var(--as-text); }
.tl-as-feld input, .tl-as-feld textarea { width: 100%; background: var(--as-flaeche); border: 1px solid var(--as-rand); border-radius: 8px; padding: 8px 12px; font-size: 14px; line-height: 1.625; color: var(--as-text); outline: none; }
.tl-as-feld input:focus, .tl-as-feld textarea:focus { border-color: var(--as-gruen); box-shadow: none; }
.tl-as-feld input::placeholder, .tl-as-feld textarea::placeholder { color: var(--as-blass); }
.tl-as-fehler { font-size: 12px; color: var(--as-rot); }
.tl-as-was-tun { display: block; margin-top: 6px; padding: 6px 8px; border-radius: 6px; font-size: 12px; line-height: 1.45; color: var(--as-text); background: color-mix(in srgb, var(--as-rot) 8%, transparent); border: 1px solid color-mix(in srgb, var(--as-rot) 35%, transparent); }
.tl-as-was-tun b { font-weight: 600 !important; color: var(--as-rot) !important; }
.tl-as-was-tun a { font-weight: 600; color: var(--as-ebay); text-decoration: none; white-space: nowrap; }
.tl-as-drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tl-as-drei .tl-as-fbox { padding: 12px; gap: 4px; justify-content: center; }
.tl-as-drei small { font-size: 11px; }
.tl-as-drei .tl-as-mono.tl-as-blass { font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-as-drei b { font-size: 14px; font-weight: 700; }
.tl-as-preis-ein { display: flex; align-items: center; gap: 6px; color: var(--as-text2); }
.tl-as-feld .tl-as-preis-ein input { background: var(--as-karte); padding: 6px 10px; font-size: 14px; font-weight: 600; }
.tl-as-uebertrag { border-color: var(--as-rand2); padding: 20px; gap: 16px; }
.tl-as-ueb-titel { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--as-text); }
.tl-as-ueb-ic { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--as-gruen); font-weight: 700;
  background: color-mix(in srgb, var(--as-gruen) 15%, transparent); border: 1px solid color-mix(in srgb, var(--as-gruen) 40%, transparent); }
.tl-as-weg { display: inline-flex; align-items: center; gap: 6px; }
.tl-as-weg .tl-as-badge { border-radius: 4px; }
.tl-as-feld > small { font-size: 11px; font-weight: 600; }
.tl-as-haken { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tl-as-hk { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; font-size: 12px; color: var(--as-text); }
.tl-as-hk i { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--as-rand2); background: var(--as-karte); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-style: normal; color: #fff; flex: none; }
.tl-as-hk--an i { background: var(--as-gruen); border-color: var(--as-gruen); }
.tl-as-hk--stark { font-weight: 500; }
.tl-as-haken + .tl-as-haken { padding: 12px; border-radius: 8px; background: var(--as-karte); border: 1px solid var(--as-rand); }
.tl-as-vergleich { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tl-as-vergleich > div { padding: 12px; border-radius: 12px; font-size: 12px; font-weight: 500; color: var(--as-text2); display: flex; flex-direction: column; gap: 8px; }
.tl-as-vergleich small { font-size: 11px; font-weight: 600; color: var(--as-text2); }
.tl-as-v-alt { background: var(--as-karte); border: 1px solid var(--as-rand); }
.tl-as-v-neu { background: var(--as-hover); border: 1px solid color-mix(in srgb, var(--as-text) 60%, transparent); color: var(--as-text) !important; }
.tl-as-ffuss { padding: 14px 24px; background: var(--as-flaeche); border-top: 1px solid var(--as-rand); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tl-as-ffuss .tl-as-knopf { font-size: 12px; }
.tl-as-ffuss-r { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tl-as-ffuss a.tl-as-knopf { text-decoration: none; }
/* Hasan Tel 1395: Übertragen an Amazon im Details-Fenster (Vorher/Nachher, Ergebnis). */
.tl-as-ffuss-r { align-items: center; }
.tl-as-ffuss-satz { flex-basis: 100%; text-align: right; }
.tl-as-vn { gap: 0; }
.tl-as-vn > .tl-as-ftitel { margin-bottom: 4px; }
.tl-as-vn > small { margin-top: 10px; }
.tl-as-vn-zeile { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--as-rand); }
.tl-as-vn-zeile .tl-vn-werte { font-size: 13px; }
.tl-as-vn-zeile > .tl-as-fzeile b { font-size: 13px; font-weight: 600; }
.tl-as-vn-zeile > .tl-as-fzeile b + b { font-size: 12px; }
.tl-as-vn-zeile .tl-vn-alt { color: var(--as-text2); }
.tl-as-notiz--warn { background: #fff7e6; border-color: #f3d19b; color: #7a4b00; }
.dark .tl-as-notiz--warn { background: #3a2a10; border-color: #6b4a14; color: #f0c47a; }
.tl-as-ffuss .tl-as-knopf:not(.tl-as-knopf--haupt) { background: var(--as-karte); color: var(--as-text2); }
/* unter 1280: Kopf, Filter und Kartenkopf untereinander, Reiter eingerückt (Entwurf xl:-Stufe) */
@media (max-width: 1279px) {
  .tl-as-kopf, .tl-as-filter { flex-direction: column; align-items: stretch; }
  .tl-as-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-as-kkopf { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; }
  .tl-as-ptabs { grid-column: 1 / -1; padding-left: 32px; }
}
@media (max-width: 639px) {
  .tl-as { gap: 20px; }
  .tl-as h1 { font-size: 24px; }
  .tl-as-kopf p, .tl-as-knopf { font-size: 12px; }
  .tl-as-unter a { font-size: 12px; }
  .tl-as-kacheln { grid-template-columns: minmax(0, 1fr); }
  .tl-as-kachel > b { font-size: 18px; }
  .tl-as-suche { flex: 1; width: auto; min-width: 100%; }
  .tl-as-kkopf { padding: 14px; }
  .tl-as-kname > b, .tl-as-tabelle td b, .tl-as-stamm p, .tl-as-fehlt { font-size: 12px; }
  .tl-as-kname .tl-as-pille { white-space: normal; }
  .tl-as-fenster-hg { padding-left: 16px; }
  .tl-as-fkopf, .tl-as-fkoerper, .tl-as-ffuss { padding-left: 20px; padding-right: 20px; }
  .tl-as-fkoerper { padding-top: 20px; padding-bottom: 20px; }
  .tl-as-drei, .tl-as-vergleich { grid-template-columns: minmax(0, 1fr); }
  .tl-as-uebertrag { padding: 16px; }
  /* Tel 1403: Fuß mit „Übertragen“ – Knöpfe untereinander, nichts ragt über den Rand. */
  .tl-as-ffuss { flex-wrap: wrap; }
  .tl-as-ffuss-r { flex: 1 1 100%; }
  .tl-as-ffuss-r .tl-as-knopf { flex: 1 1 100%; justify-content: center; }
  .tl-as-ffuss-satz { text-align: left; }
}

/* Hasan Tel 486: Artikel in teleint ausblenden / wieder einblenden – zurückhaltend grau, rechts neben den Kanal-Reitern. */
.tl-as-kanal--aus { color: var(--as-text2); }
.tl-as-kanal--aus.tl-as-kanal--an { color: var(--as-text); font-weight: 600; border-color: currentColor; }
.tl-as-ausblenden { color: var(--as-blass); }
.tl-as-ausblenden:hover { color: var(--as-text); }
.tl-as-ausblenden .tl-as-ic { width: 14px; height: 14px; }

/* Plan Etsy-Fenster (Hasan Tel 670–683): Seite „Zu Etsy übertragen“, im Stil des Artikel-Fensters. */
.tl-eu-weg { font-weight: 600; color: var(--as-text); }
.tl-eu-reiter { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-eu-reiter .tl-as-vp { padding: 4px 12px; }
.tl-eu-reiter .tl-as-punkt { width: 6px; height: 6px; }
.tl-eu-verlangt { gap: 14px; }
.tl-eu-zfeld { padding-top: 12px; border-top: 1px solid var(--as-rand); }
.tl-eu-zfeld select[multiple] { min-height: 88px; padding: 6px 8px; }
.tl-eu-grund { display: flex; align-items: center; gap: 8px; }
.tl-as-fkoerper > .tl-as-fvarianten { padding: 0; flex: none; border-top: 0; }
@media (max-width: 640px) {
  .tl-as-ffuss:has(.tl-eu-fuss) { flex-wrap: wrap; }
  .tl-eu-fuss { flex: 1 1 100%; display: flex; gap: 8px; }
  .tl-eu-fuss .tl-as-knopf { flex: 1; justify-content: center; }
}
.tl-eu-textaus { flex-direction: row; align-items: center; gap: 10px; }
.tl-eu-textaus .tl-as-wahl { min-width: 180px; }
.tl-eu-reiter .tl-as-vp small { font-size: 10px; }
.tl-eu-zulang { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--as-rot); }
.tl-eu-grund--rot { color: var(--as-rot); border-color: color-mix(in srgb, var(--as-rot) 45%, transparent); background: color-mix(in srgb, var(--as-rot) 8%, transparent); }
.tl-eu-vbild { padding: 0; cursor: pointer; opacity: .55; }
.tl-eu-vbild:first-child { border-color: var(--as-rand); }
.tl-eu-vbild--an, .tl-eu-vbild--an:first-child { opacity: 1; border: 2px solid var(--as-gruen); }

/* Hasan Tel 714/717: Etsy bearbeiten – Varianten-Zeilen und neues Versandprofil im Fenster */
.tl-eb-variante { align-items: end; gap: 14px 16px; padding: 14px 2px 4px; border-top: 1px solid var(--as-rand); }
.tl-eb-variante .tl-as-feld { gap: 4px; }
.tl-eb-neu { align-self: flex-start; }
.tl-eb-profil { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px dashed var(--as-rand); border-radius: 10px; }
.tl-eb-profil .tl-as-preis-ein input { min-width: 0; }
.tl-eb-haken { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.tl-eb-variante .tl-eb-haken { font-size: 12px; color: var(--as-text); }
.tl-eb-variante .tl-eb-haken input { width: auto; padding: 0; accent-color: var(--as-gruen); }
/* Etsy-Varianten: Wert, SKU, Löschen, Odoo-Artikel übernehmen (Skizze Tel 1901) */
.tl-eb-variante input { min-width: 0; }
.tl-eb-variante .tl-eb-mitte { align-self: center; margin-top: 18px; }
.tl-eb-tun { justify-self: end; margin-bottom: 2px; }
.tl-eb-hin, .tl-eb-voll { grid-column: 1 / -1; }
.tl-eb-hin { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 12px; }
.tl-eb-offen { font-size: 12px; color: var(--as-text2); }
.tl-eb-offen b, .tl-eb-variante .tl-eb-haken b { font-size: 12px; }
.tl-eb-link { color: var(--as-gruen); font-weight: 600; text-decoration: none; font-size: 12px; }
.tl-eb-weg input:not([type=checkbox]) { text-decoration: line-through; opacity: .6; }
.tl-eb-variante button:disabled { opacity: .45; }
.tl-eb-variante input:disabled { opacity: .6; }
.tl-vn.tl-eb-vn { border: 0; padding: 0; }
@media (max-width: 767px) {
  .tl-eb-variante .tl-eb-mitte { margin-top: 0; }
  .tl-eb-tun { justify-self: start; }
  .tl-eb-variante { padding: 16px 2px; }
}

/* Bestellungen neu (Hasan Tel 196, Vorlage „Bestellungen & Auftragssteuerung“) – Ergänzung zu bestellungen-teleint.css.
   Für app/public/css/teleint.css: nach den tl-bl-Regeln einfügen. Wurzel bleibt <div class="tl-bl">.
   Dunkel = Grundfassung, hell unter :where(html:not(.dark)). Mobil: @container (max-width:760px). */
.tl-bl .tl-bl-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-bl .tl-bl-kachel .tl-bl-unter { display: block; font-size: 12px; color: #b4c4bb; margin-top: 2px; }

/* Aufgaben-Streifen */
.tl-bl .tl-bl-streifen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; border: 1px solid #5a4423; border-left: 4px solid #E39225; border-radius: 12px; background: #231d12; }
.tl-bl .tl-bl-streifen .tl-bl-ic { background: #E39225; color: #1a1205; }
.tl-bl .tl-bl-streifen-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.tl-bl .tl-bl-streifen-text b { font-weight: 700; }
.tl-bl .tl-bl-streifen .tl-bl-knoepfe { margin-left: auto; }
.tl-bl .tl-bl-knopf--leise { background: transparent; }

/* Reiter + Filter */
.tl-bl .tl-bl-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tl-bl .tl-bl-filter .tl-bl-leiste { margin-right: auto; }
.tl-bl .tl-bl-wahl { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid #44594f; background: #18221e; font-size: 13px; color: #b4c4bb; white-space: nowrap; }
.tl-bl .tl-bl-wahl b { color: #e2e9e5; font-weight: 600; }
.tl-bl .tl-bl-zurueck { font-size: 13px; color: #6fb0f0; white-space: nowrap; }

/* Liste */
.tl-bl .tl-bl-liste2 .tl-bl-zeile, .tl-bl .tl-bl-liste2 .tl-bl-tkopf { grid-template-columns: 152px 96px minmax(0,130px) minmax(180px,1fr) 128px 152px 82px 72px 84px; }
.tl-bl .tl-bl-liste2 .tl-bl-zeile { min-height: 64px; }
/* Langes Schild („Sendungsnummer fehlt“) bricht in der Spalte um, statt über die Schritt-Punkte zu laufen. */
.tl-bl .tl-bl-liste2 .tl-bl-stand { min-width: 0; }
.tl-bl .tl-bl-liste2 .tl-bl-stand .tl-bl-pille { white-space: normal; text-align: center; line-height: 1.2; max-width: 100%; border-radius: 12px; }
.tl-bl .tl-bl-nrdat { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tl-bl .tl-bl-nrdat .tl-bl-nr { white-space: nowrap; }
.tl-bl .tl-bl-mland { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.tl-bl .tl-bl-mland { flex-wrap: wrap; row-gap: 4px; max-width: 100%; }
/* Entwurf Tel 1048: „Archiviert“ unter Marktplatz und Land, nicht in die Kunden-Spalte. */
.tl-bl .tl-bl-mland .tl-bl-p-grau { order: 1; }
.tl-bl .tl-bl-land { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 20px; padding: 0 4px; border-radius: 5px; border: 1px solid #44594f; background: #24312b; font-size: 11px; font-weight: 700; color: #e2e9e5; }
.tl-bl .tl-bl-art2 { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 10px; align-items: center; min-width: 0; }
.tl-bl .tl-bl-art2 > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tl-bl .tl-bl-art2 .tl-bl-atitel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.tl-bl .tl-bl-art2 .tl-bl-blass { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-bl .tl-bl-bild { width: 38px; height: 38px; border-radius: 8px; border: 1px solid #3c5148; background: #24312b; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tl-bl .tl-bl-bild i { width: 18px; height: 18px; border-radius: 50%; background: #E3B04B; }
.tl-bl .tl-bl-bild--gross { width: 48px; height: 48px; }
.tl-bl .tl-bl-bild img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.tl-bl .tl-bl-bild--gross i { width: 24px; height: 24px; }
.tl-bl .tl-bl-schritte { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.tl-bl .tl-bl-schritte .tl-bl-blass { font-variant-numeric: tabular-nums; }
.tl-bl .tl-bl-details { justify-self: end; }
.tl-bl .tl-bl-details.tl-bl-an { background: #2fa063; border-color: #2fa063; color: #fff; }
.tl-bl .tl-bl-kunde2 .tl-bl-kname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* aufgeklappt */
.tl-bl .tl-bl-produkt { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 10px; align-items: center; }
.tl-bl .tl-bl-produkt > span:last-child { display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.4; min-width: 0; }
.tl-bl .tl-bl-auswahl { height: 34px; border-radius: 8px; border: 1px solid #44594f; background: #111916; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #e2e9e5; }
.tl-bl .tl-bl-auswahl--leer { color: #8fa89b; }
.tl-bl .tl-bl-flabel { font-size: 12px; color: #8fa89b; margin-top: 2px; }

/* Fuß + Leer */
.tl-bl .tl-bl-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; border-top: 1px solid #2a3a33; font-size: 12px; color: #8fa89b; }
.tl-bl .tl-bl-legende { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.tl-bl .tl-bl-legende span { display: inline-flex; align-items: center; gap: 6px; }
.tl-bl .tl-bl-legende i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: #4f625a; }
.tl-bl .tl-bl-legende i.tl-bl-e { background: #2fa063; }
.tl-bl .tl-bl-legende i.tl-bl-d { background: #E39225; }
.tl-bl .tl-bl-leer { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 16px; text-align: center; }
.tl-bl .tl-bl-leer b { font-size: 15px; }

@container (min-width: 761px) and (max-width: 1150px) {
.tl-bl .tl-bl-liste2 .tl-bl-zeile, .tl-bl .tl-bl-liste2 .tl-bl-tkopf { grid-template-columns: 152px 84px minmax(0,1fr) minmax(0,1.3fr) 112px 112px 34px 64px 78px; }
.tl-bl .tl-bl-schritte .tl-bl-blass { display: none; }
.tl-bl .tl-bl-art2 { grid-template-columns: minmax(0,1fr); }
.tl-bl .tl-bl-art2 .tl-bl-bild { display: none; }
}
@container (max-width: 760px) {
.tl-bl .tl-bl-filter .tl-bl-leiste { margin-right: 0; flex: 1 1 100%; }
.tl-bl .tl-bl-wahl { flex: 1 1 140px; }
.tl-bl .tl-bl-streifen .tl-bl-knoepfe { margin-left: 0; }
.tl-bl .tl-bl-liste2 .tl-bl-zeile { grid-template-columns: auto minmax(0,1fr) auto; grid-template-areas: "nr nr de" "ku ku ml" "ar ar ar" "ve st be" "sc sc sc"; gap: 8px 10px; }
.tl-bl .tl-bl-liste2 .tl-bl-zeile > :nth-child(1) { grid-area: nr; }
.tl-bl .tl-bl-liste2 .tl-bl-zeile > :nth-child(2) { grid-area: ml; justify-self: end; }
.tl-bl .tl-bl-liste2 .tl-bl-zeile > :nth-child(3) { grid-area: ku; }
.tl-bl .tl-bl-liste2 .tl-bl-zeile > :nth-child(4) { grid-area: ar; }
.tl-bl .tl-bl-liste2 .tl-bl-zeile > :nth-child(5) { grid-area: ve; }
.tl-bl .tl-bl-liste2 .tl-bl-zeile > :nth-child(6) { grid-area: st; }
.tl-bl .tl-bl-liste2 .tl-bl-zeile > :nth-child(7) { grid-area: sc; }
.tl-bl .tl-bl-liste2 .tl-bl-zeile > :nth-child(8) { grid-area: be; justify-self: end; }
.tl-bl .tl-bl-liste2 .tl-bl-zeile > :nth-child(9) { grid-area: de; }
.tl-bl .tl-bl-liste2 .tl-bl-zeile > * { min-width: 0; }
.tl-bl .tl-bl-liste2 .tl-bl-stand { justify-self: start; }
.tl-bl .tl-bl-offen { grid-template-columns: 1fr; }
.tl-bl .tl-bl-fuss { flex-direction: column; align-items: flex-start; }
}

/* hell */
:where(html:not(.dark)) .tl-bl .tl-bl-kachel .tl-bl-unter { color: inherit; opacity: .8; }
:where(html:not(.dark)) .tl-bl .tl-bl-streifen { background: #fffaf1; border-color: #ecdcc0; border-left-color: #E39225; }
:where(html:not(.dark)) .tl-bl .tl-bl-wahl { background: #ffffff; border-color: #c6d1cb; color: #5e7268; }
:where(html:not(.dark)) .tl-bl .tl-bl-wahl b { color: #1c2a24; }
:where(html:not(.dark)) .tl-bl .tl-bl-zurueck { color: #2f6fb8; }
:where(html:not(.dark)) .tl-bl .tl-bl-land { background: #eef2f0; border-color: #c6d1cb; color: #1c2a24; }
:where(html:not(.dark)) .tl-bl .tl-bl-bild { background: #f4f1e6; border-color: #e2dccb; }
:where(html:not(.dark)) .tl-bl .tl-bl-knopf--leise { background: transparent; }
:where(html:not(.dark)) .tl-bl .tl-bl-details.tl-bl-an { background: #2fa063; border-color: #2fa063; color: #fff; }
:where(html:not(.dark)) .tl-bl .tl-bl-auswahl { background: #ffffff; border-color: #c6d1cb; color: #1c2a24; }
:where(html:not(.dark)) .tl-bl .tl-bl-auswahl--leer, :where(html:not(.dark)) .tl-bl .tl-bl-flabel, :where(html:not(.dark)) .tl-bl .tl-bl-fuss { color: #5e7268; }
:where(html:not(.dark)) .tl-bl .tl-bl-fuss { border-top-color: #e2e8e5; }
:where(html:not(.dark)) .tl-bl .tl-bl-legende i { background: #d0d9d4; }
:where(html:not(.dark)) .tl-bl .tl-bl-legende i.tl-bl-e { background: #2fa063; }
:where(html:not(.dark)) .tl-bl .tl-bl-legende i.tl-bl-d { background: #E39225; }
/* Technik zum Entwurf: Auswahl liegt unsichtbar über der Pille, Eingaben im Kasten ohne eigenen Rahmen. */
.tl-bl .tl-bl-wahl { position: relative; cursor: pointer; }
.tl-bl .tl-bl-wahl select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.tl-bl .tl-bl-auswahl select, .tl-bl .tl-bl-auswahl input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; }
.tl-bl .tl-bl-auswahl select { appearance: none; -webkit-appearance: none; padding: 0; }
/* Tel 196/716: Bestellungen volle Breite wie die Artikel-Seite. */
.tl-bl { max-width: none; }

/* ===== Einstellungen nach Entwurf Tel 884 (Hasan Tel 915/917/920): tl-es-*. Dunkel = Forest-Farben des Entwurfs, hell aus den teleint-Tönen. ===== */
.tl-es {
  --es-bg: var(--tl-paper); --es-surface: #fff; --es-elev: #FAF9F5; --es-hover: #F1F0EA; --es-border: var(--tl-line); --es-border2: #D6D3C8;
  --es-text: #15130E; --es-muted: #5F5B50; --es-dim: #8A8578; --es-gruen: #059669; --es-gruen2: #047857; --es-amber: #B45309;
  --es-sky: #0369A1; --es-lila: #7E22CE; --es-orange: #C2410C;
  display: flex; flex-direction: column; gap: 1.5rem; color: var(--es-text); padding-bottom: 5.5rem;
}
.dark .tl-es {
  --es-bg: #090D0B; --es-surface: #111815; --es-elev: #17201C; --es-hover: #1C2621; --es-border: #24332C; --es-border2: #2E4037;
  --es-text: #ECFDF5; --es-muted: #94A89E; --es-dim: #5C7066; --es-gruen: #10B981; --es-gruen2: #059669; --es-amber: #F59E0B;
  --es-sky: #7DD3FC; --es-lila: #D8B4FE; --es-orange: #FDBA74;
}
.tl-es strong { color: var(--es-text); font-weight: 500; }
.tl-es-zu { display: flex; justify-content: flex-end; margin-bottom: -1rem; }
/* Brotkrumen „Einstellungen › Marktplätze › Name [Typ]“ (Entwurf Tel 884, wie dort ab 640 px) */
.tl-es-brotzeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tl-es-brot { display: none; align-items: center; gap: .375rem; font-size: .75rem; color: var(--es-muted); min-width: 0; }
@media (min-width: 640px) { .tl-es-brot { display: flex; } }
.tl-es-brot-link { color: var(--es-muted); }
.tl-es-brot-link:hover { color: var(--es-text); text-decoration: underline; }
.tl-es-brot-hier { display: flex; align-items: center; gap: .375rem; font-weight: 500; color: var(--es-text); }
.tl-es-brot-typ { padding: .125rem .375rem; border-radius: .25rem; font-size: 10px; font-weight: 600; border: 1px solid;
  background: color-mix(in srgb, var(--es-gruen) 15%, transparent); border-color: color-mix(in srgb, var(--es-gruen) 30%, transparent); color: var(--es-gruen); }
.tl-es-link { color: var(--es-gruen); font-size: .75rem; font-weight: 500; }
.tl-es-link:hover { text-decoration: underline; }
.tl-es-ic { width: .875rem; height: .875rem; flex-shrink: 0; }
.tl-es-dreht { animation: tl-es-dreh 1s linear infinite; }
.tl-es-gruen { color: var(--es-gruen) !important; }
.tl-es-amber { color: var(--es-amber) !important; }
.tl-es-dim { color: var(--es-dim); }
.tl-es-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--es-muted); }
.tl-es-versteckt { display: none !important; }
.tl-es-blass { opacity: .5; }
.tl-es-gedaempft { opacity: .45; }

/* Kopf */
.tl-es-kopf { display: flex; flex-direction: column; gap: 1rem; }
.tl-es-kopf-links { display: flex; align-items: flex-start; gap: .875rem; }
.tl-es-logo { width: 2.75rem; height: 2.75rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; flex-shrink: 0;
  background: color-mix(in srgb, var(--es-gruen) 15%, transparent); border: 1px solid color-mix(in srgb, var(--es-gruen) 30%, transparent); color: var(--es-gruen); }
.tl-es-logo--etsy { background: rgb(249 115 22 / .15); border-color: rgb(249 115 22 / .3); color: var(--es-orange); }
.tl-es-logo--amazon { background: rgb(245 158 11 / .15); border-color: rgb(245 158 11 / .3); color: var(--es-amber); }
.tl-es-logo--ebay { background: rgb(14 165 233 / .15); border-color: rgb(14 165 233 / .3); color: var(--es-sky); }
.tl-es-kopf-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; }
.tl-es-h1 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: var(--es-text); }
.tl-es-unter { font-size: .875rem; color: var(--es-muted); margin-top: .125rem; }
.tl-es-abz { display: inline-flex; align-items: center; gap: .375rem; padding: .125rem .625rem; border-radius: 999px; font-size: .75rem; font-weight: 500; border: 1px solid; }
.tl-es-abz-punkt { width: .375rem; height: .375rem; border-radius: 999px; background: currentColor; }
.tl-es-abz--an { color: var(--es-gruen); background: color-mix(in srgb, var(--es-gruen) 15%, transparent); border-color: color-mix(in srgb, var(--es-gruen) 30%, transparent); }
.tl-es-abz--aus { color: var(--es-amber); background: color-mix(in srgb, var(--es-amber) 15%, transparent); border-color: color-mix(in srgb, var(--es-amber) 30%, transparent); }
.tl-es-knopf { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .875rem; border-radius: .75rem; font-size: .75rem; font-weight: 500;
  background: var(--es-surface); border: 1px solid var(--es-border); color: var(--es-text); transition: background .15s, border-color .15s; }
.tl-es-knopf:hover:not(:disabled) { background: var(--es-elev); border-color: var(--es-border2); }
.tl-es-knopf .tl-es-ic { color: var(--es-gruen); }
.tl-es-knopf:disabled { opacity: .5; cursor: not-allowed; }
.tl-es-knopf--leer { background: transparent; }
.tl-es-knopf--gruen { background: var(--es-gruen); border-color: var(--es-gruen); color: #fff; font-weight: 600; padding: .5rem 1.125rem; }
.tl-es-knopf--gruen .tl-es-ic { color: #fff; }
.tl-es-knopf--gruen:hover:not(:disabled) { background: var(--es-gruen2); border-color: var(--es-gruen2); }

/* Vorschau */
.tl-es-vorschau, .tl-es-abschnitt { border-radius: 1rem; background: var(--es-surface); border: 1px solid var(--es-border); box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.tl-es-vorschau { padding: 1rem; display: flex; flex-direction: column; gap: .875rem; }
.tl-es-vorschau-kopf { display: flex; flex-direction: column; gap: .5rem; }
.tl-es-vorschau-titel { display: flex; align-items: center; gap: .5rem; }
.tl-es-vorschau-titel h2 { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--es-gruen); }
.tl-es-puls { width: .5rem; height: .5rem; border-radius: 999px; background: var(--es-gruen); animation: tl-es-puls 2s cubic-bezier(.4,0,.6,1) infinite; }
.tl-es-vorschau-hinweis { font-size: .75rem; color: var(--es-muted); }
.tl-es-schritte { display: grid; grid-template-columns: 1fr; gap: .625rem; }
.tl-es-schritt { padding: .75rem; border-radius: .75rem; background: var(--es-elev); border: 1px solid var(--es-border); display: flex; flex-direction: column; }
.tl-es-schritt--gruen { border-color: color-mix(in srgb, var(--es-gruen) 40%, transparent); }
.tl-es-schritt-kopf { display: flex; align-items: center; justify-content: space-between; gap: .25rem; }
.tl-es-snr { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--es-dim); }
.tl-es-st { margin-top: .375rem; font-size: .75rem; font-weight: 600; color: var(--es-text); }
.tl-es-ss { margin-top: .125rem; font-size: 11px; color: var(--es-muted); }
.tl-es-tech { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; padding: .125rem .5rem; border-radius: .375rem; background: var(--es-bg); color: var(--es-muted); border: 1px solid var(--es-border); flex-shrink: 0; white-space: nowrap; }
.tl-es-tech--gruen { color: var(--es-gruen); border-color: color-mix(in srgb, var(--es-gruen) 30%, transparent); }
.tl-es-tech--sky { color: var(--es-sky); border-color: rgb(14 165 233 / .3); }
.tl-es-tech--lila { color: var(--es-lila); border-color: rgb(168 85 247 / .3); }

/* Abschnitte */
.tl-es-abschnitt { padding: 1.25rem; display: flex; flex-direction: column; gap: 1.5rem; }
.tl-es-akopf { padding-bottom: 1rem; border-bottom: 1px solid var(--es-border); }
.tl-es-akopf--zwischen { display: flex; flex-direction: column; gap: .5rem; }
.tl-es-akopf-zeile { display: flex; align-items: center; gap: .5rem; }
.tl-es-nr { width: 1.5rem; height: 1.5rem; border-radius: .5rem; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; flex-shrink: 0;
  background: color-mix(in srgb, var(--es-gruen) 15%, transparent); border: 1px solid color-mix(in srgb, var(--es-gruen) 30%, transparent); color: var(--es-gruen); }
.tl-es-h2 { font-size: 1rem; font-weight: 700; color: var(--es-text); }
.tl-es-ahilfe { font-size: .75rem; color: var(--es-muted); margin: .25rem 0 0 2rem; }
.tl-es-block { display: flex; flex-direction: column; gap: .75rem; }
.tl-es-block--linie { padding-top: 1.25rem; border-top: 1px solid var(--es-border); }
.tl-es-kinder { display: flex; flex-direction: column; gap: 1rem; }
.tl-es-raster2, .tl-es-raster3, .tl-es-raster4 { display: grid; grid-template-columns: 1fr; gap: .875rem; }
.tl-es-raster4 { gap: .625rem; }
.tl-es-feld { display: flex; flex-direction: column; gap: .375rem; }
.tl-es-label { display: block; font-size: .75rem; font-weight: 600; color: var(--es-text); }
.tl-es-stern { color: var(--es-gruen); }
.tl-es-hilfe { display: block; font-size: 11px; color: var(--es-dim); }
.tl-es-fehler { font-size: 11px; color: var(--danger-600); }
.tl-es-zeile-zwischen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }

/* Felder */
.tl-es-input, .tl-es-select { width: 100%; padding: .625rem .875rem; border-radius: .75rem; background: var(--es-elev); border: 1px solid var(--es-border); font-size: .875rem; color: var(--es-text); }
.tl-es-input:focus, .tl-es-select:focus { outline: none; border-color: var(--es-gruen); box-shadow: 0 0 0 1px var(--es-gruen); }
.tl-es-input--zahl { max-width: 8rem; }
.tl-es-select { appearance: none; padding-right: 2.25rem; cursor: pointer; }
.tl-es-select:disabled, .tl-es-input:disabled { cursor: not-allowed; }
.tl-es-select--klein { font-size: .75rem; padding: .5rem 2.25rem .5rem .75rem; border-radius: .5rem; }
.tl-es-wahl { position: relative; }
.tl-es-wahl--punkt .tl-es-select { padding-left: 2.25rem; }
.tl-es-wahl-punkt { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); width: .625rem; height: .625rem; border-radius: 999px; background: var(--es-gruen); box-shadow: 0 0 6px rgb(16 185 129 / .7); }
.tl-es-wahl-punkt--aus { background: var(--es-amber); box-shadow: none; }
.tl-es-pfeil { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--es-muted); pointer-events: none; }
.tl-es-check { width: 1rem; height: 1rem; margin-top: .125rem; accent-color: #10B981; border-radius: .25rem; flex-shrink: 0; }

/* Karten */
.tl-es-karte { text-align: left; padding: 1rem; border-radius: .75rem; background: var(--es-elev); border: 1px solid var(--es-border); transition: border-color .15s, background .15s; cursor: pointer; color: inherit; }
.tl-es-karte:hover:not(:disabled) { border-color: var(--es-border2); }
.tl-es-karte--zeile { display: flex; align-items: flex-start; gap: .875rem; }
.tl-es-karte--spalte { display: flex; flex-direction: column; justify-content: space-between; gap: .75rem; }
.tl-es-karte.tl-es-an { background: color-mix(in srgb, var(--es-gruen) 10%, transparent); border-color: color-mix(in srgb, var(--es-gruen) 60%, transparent); }
.tl-es-karte-inhalt, .tl-es-karte-oben { display: flex; flex-direction: column; gap: .5rem; }
.tl-es-karte-inhalt { gap: .25rem; }
.tl-es-karte-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.tl-es-karte-kopf--zwischen { justify-content: space-between; align-items: flex-start; flex-wrap: nowrap; }
.tl-es-karte-name { display: flex; align-items: center; gap: .625rem; }
.tl-es-ktitel { font-size: .875rem; font-weight: 600; color: var(--es-text); }
.tl-es-ktext { font-size: .75rem; line-height: 1.6; color: var(--es-muted); }
.tl-es-einzug { padding-left: 1.5rem; }
.tl-es-radio { width: 1rem; height: 1rem; margin-top: .125rem; border-radius: 999px; border: 2px solid var(--es-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tl-es-an .tl-es-radio { border-color: var(--es-gruen); }
.tl-es-radio > span { width: .5rem; height: .5rem; border-radius: 999px; background: var(--es-gruen); }
.tl-es-empf { padding: .125rem .5rem; border-radius: .375rem; font-size: 10px; font-weight: 600; background: color-mix(in srgb, var(--es-gruen) 20%, transparent); color: var(--es-gruen); border: 1px solid color-mix(in srgb, var(--es-gruen) 30%, transparent); }
.tl-es-pillen { display: flex; flex-wrap: wrap; gap: .375rem; font-size: 11px; }
.tl-es-pille { padding: .125rem .5rem; border-radius: .25rem; background: var(--es-bg); border: 1px solid var(--es-border); color: var(--es-muted); }
.tl-es-pille--gruen { background: color-mix(in srgb, var(--es-gruen) 15%, transparent); color: var(--es-gruen); border-color: color-mix(in srgb, var(--es-gruen) 30%, transparent); font-weight: 500; }
.tl-es-pille--sky { background: rgb(14 165 233 / .1); color: var(--es-sky); border-color: rgb(14 165 233 / .3); }
.tl-es-pille--lila { background: rgb(168 85 247 / .1); color: var(--es-lila); border-color: rgb(168 85 247 / .3); }

/* Wahlknöpfe (Abstände, Rechnung, Sendung) */
.tl-es-wahlknopf { text-align: left; padding: .75rem; border-radius: .75rem; background: var(--es-surface); border: 1px solid var(--es-border); color: inherit; display: flex; flex-direction: column; gap: .125rem; transition: background .15s, border-color .15s; }
.tl-es-raster3 .tl-es-wahlknopf, .tl-es-raster2 > .tl-es-wahlknopf { background: var(--es-elev); }
.tl-es-wahlknopf:hover:not(:disabled) { background: var(--es-hover); }
.tl-es-wahlknopf.tl-es-an { background: color-mix(in srgb, var(--es-gruen) 15%, transparent); border-color: color-mix(in srgb, var(--es-gruen) 60%, transparent); }
.tl-es-wahl-titel { font-size: .75rem; font-weight: 600; color: var(--es-text); display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; }
.tl-es-an .tl-es-wahl-titel { color: var(--es-gruen); }
.tl-es-wahl-text { font-size: 11px; color: var(--es-muted); }

/* „kommt“: gesperrt, gestrichelt */
.tl-es-kommt { opacity: .55; cursor: not-allowed !important; border-style: dashed !important; }
.tl-es-kommt-zeichen { display: inline-block; padding: 0 .375rem; border-radius: .25rem; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--es-amber);
  border: 1px dashed color-mix(in srgb, var(--es-amber) 50%, transparent); background: color-mix(in srgb, var(--es-amber) 8%, transparent); }

/* Intervall-Kasten, Nachtruhe */
.tl-es-box { border-radius: .75rem; background: color-mix(in srgb, var(--es-bg) 90%, transparent); border: 1px solid var(--es-border); padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.tl-es-box-kopf { display: flex; flex-direction: column; gap: .5rem; }
.tl-es-naechster { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .75rem; border-radius: .5rem; background: var(--es-surface); border: 1px solid var(--es-border); font-size: .75rem; }
.tl-es-naechster span { color: var(--es-muted); }
.tl-es-naechster b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; color: var(--es-gruen); font-variant-numeric: tabular-nums; }
.tl-es-nacht { padding-top: .5rem; border-top: 1px solid var(--es-border); display: flex; flex-direction: column; gap: .75rem; }
.tl-es-nacht-links { display: flex; align-items: flex-start; gap: .625rem; }
.tl-es-nacht-titel { display: block; font-size: .75rem; font-weight: 500; color: var(--es-text); }

/* Schalter-Zeilen, Haken, Liste, Details */
.tl-es-schalter-zeile, .tl-es-haken { display: flex; align-items: flex-start; gap: .625rem; font-size: .75rem; color: var(--es-text); }
.tl-es-haken { align-items: center; }
.tl-es-liste { display: flex; flex-direction: column; border: 1px solid var(--es-border); border-radius: .75rem; overflow: hidden; }
.tl-es-liste-zeile { display: flex; flex-direction: column; gap: .75rem; padding: .875rem 1rem; background: var(--es-elev); }
.tl-es-liste-zeile + .tl-es-liste-zeile { border-top: 1px solid var(--es-border); }
.tl-es-puffer { display: flex; align-items: center; gap: .5rem; }
.tl-es-select--preis { min-width: 11rem; } /* Hasan Tel 4442: „Quelle zum Kurs“ ganz lesbar */
@media (max-width: 640px) { .tl-es-select--preis { min-width: 0; flex: 1; } .tl-es-select--preis ~ .tl-es-input--zahl { width: 5rem; flex: none; } .tl-es-pr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.tl-es-amber-pille { font-size: 11px; padding: .125rem .5rem; border-radius: .375rem; color: var(--es-amber); background: color-mix(in srgb, var(--es-amber) 10%, transparent); border: 1px solid color-mix(in srgb, var(--es-amber) 30%, transparent); }
.tl-es-freigabe { display: inline-flex; align-items: center; gap: .375rem; font-size: 11px; color: var(--es-gruen); }
.tl-es-freigabe-punkt { width: .375rem; height: .375rem; border-radius: 999px; background: currentColor; }
.tl-es-details { border-radius: .75rem; border: 1px solid var(--es-border); background: var(--es-elev); transition: opacity .15s; }
.tl-es-details-kopf { width: 100%; display: flex; flex-direction: column; gap: .25rem; padding: .875rem 1rem; text-align: left; }
.tl-es-details-name { display: flex; align-items: center; gap: .5rem; }
.tl-es-chevron { width: 1rem; height: 1rem; color: var(--es-muted); transition: transform .15s; }
.tl-es-details-kopf[aria-expanded="true"] .tl-es-chevron { transform: rotate(90deg); }
.tl-es-details-inhalt { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 1rem; border-top: 1px solid var(--es-border); }

/* Fußzeile, klebende Leiste */
.tl-es-fuss { display: flex; flex-direction: column; gap: .5rem; font-size: .75rem; color: var(--es-muted); padding: 0 .25rem; }
.tl-es-leiste { position: sticky; bottom: 1rem; z-index: 20; display: flex; flex-direction: column; gap: .75rem; padding: .75rem 1rem; border-radius: 1rem;
  background: color-mix(in srgb, var(--es-surface) 95%, transparent); border: 1px solid var(--es-border); box-shadow: 0 10px 30px rgb(0 0 0 / .15); backdrop-filter: blur(8px); }
.tl-es-leiste-stand { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--es-muted); }
.tl-es-punkt-offen, .tl-es-punkt-ok { width: .5rem; height: .5rem; border-radius: 999px; background: var(--es-amber); flex-shrink: 0; }
.tl-es-punkt-ok { background: var(--es-gruen); }
.tl-es-leiste-knoepfe { display: flex; gap: .5rem; justify-content: flex-end; }

/* Filament-Kinder im Entwurfsstil */
.tl-es .fi-section { border-radius: .75rem; background: var(--es-elev); box-shadow: none; --tw-ring-color: var(--es-border); }

@media (min-width: 640px) {
  .tl-es-kopf, .tl-es-vorschau-kopf, .tl-es-box-kopf, .tl-es-nacht, .tl-es-akopf--zwischen, .tl-es-fuss, .tl-es-leiste { flex-direction: row; align-items: center; justify-content: space-between; }
  .tl-es-knopf { align-self: auto; }
  .tl-es-h1 { font-size: 1.5rem; }
  .tl-es-h2 { font-size: 1.125rem; }
  .tl-es-vorschau { padding: 1.25rem; }
  .tl-es-abschnitt { padding: 1.5rem; }
  .tl-es-box { padding: 1.25rem; }
  .tl-es-raster4 { grid-template-columns: repeat(2, 1fr); }
  .tl-es-raster3 { grid-template-columns: repeat(3, 1fr); }
  .tl-es-liste-zeile { flex-direction: row; align-items: center; justify-content: space-between; }
  .tl-es-details-kopf { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 768px) {
  .tl-es-raster2, .tl-es-details-inhalt { grid-template-columns: repeat(2, 1fr); }
  .tl-es-schritte { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1024px) { .tl-es-raster4 { grid-template-columns: repeat(4, 1fr); } }
@keyframes tl-es-dreh { to { transform: rotate(360deg); } }
@keyframes tl-es-puls { 50% { opacity: .5; } }

/* Entwurf Tel 1048 (frei Tel 1052): Marktplatz löschen, Rückfrage, Marktplätze › Archiv. */
.tl-es-abschnitt--rot { border-color: #fecaca; }
.tl-es-block--einfach { display: block; }
.tl-knopf-rot { background: #dc2626; color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; font-weight: 600; font-size: 14px; cursor: pointer; width: auto; }
.tl-knopf-rot:hover { background: #b91c1c; }
.tl-frage-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 99; padding: 16px; }
.tl-frage { background: #fff; border-radius: 16px; max-width: 480px; width: 100%; padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.dark .tl-frage { background: #1c1917; color: #e7e5e4; }
.tl-frage h3 { font-size: 17px; font-weight: 600; margin: 0 0 10px; }
.tl-frage p { font-size: 14px; margin: 0 0 10px; line-height: 1.5; }
.tl-frage ul { font-size: 14px; margin: 0 0 16px 18px; list-style: disc; line-height: 1.6; }
.tl-frage-zeile { display: flex; gap: 8px; justify-content: flex-end; }
.tl-archiv { margin-top: 28px; }
.tl-archiv h2 { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.tl-archiv p.tl-archiv-hilfe { font-size: 13px; color: var(--gray-500); margin: 0 0 12px; }
.tl-kachel--archiv { --tl-stand: #78716c; background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(120,113,108,.06) 10px 20px); }
.tl-pille-archiv { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #e7e5e4; color: #57534e; margin-left: 6px; vertical-align: middle; }
.dark .tl-pille-archiv { background: #44403c; color: #d6d3d1; }
.tl-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }

/* ===== Cockpit nach Entwurf Tel 1146 (Startseite): tl-ck-*. Dunkel = Forest-Farben des Entwurfs, hell aus den teleint-Tönen. ===== */
.tl-ck {
  --ck-bg: var(--tl-paper); --ck-surface: #fff; --ck-card: #FAF9F5; --ck-elev: #F1F0EA; --ck-border: var(--tl-line); --ck-border2: #D6D3C8;
  --ck-text: #15130E; --ck-muted: #5F5B50; --ck-dim: #8A8578;
  --ck-gruen: #059669; --ck-amber: #B45309; --ck-sky: #0369A1; --ck-lila: #7E22CE; --ck-orange: #C2410C; --ck-rose: #BE123C; --ck-pink: #BE185D;
  --ck-f-gruen: #10B981; --ck-f-amber: #F59E0B; --ck-f-sky: #0EA5E9; --ck-f-lila: #A855F7; --ck-f-orange: #F97316; --ck-f-rose: #F43F5E; --ck-f-pink: #EC4899; --ck-f-grau: #94A3B8;
  --ck-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  display: flex; flex-direction: column; gap: 1.5rem; color: var(--ck-text); font-size: .875rem; min-width: 0;
}
.dark .tl-ck {
  --ck-bg: #090D0B; --ck-surface: #111815; --ck-card: #16201B; --ck-elev: #1B2721; --ck-border: #1E2C25; --ck-border2: #2A3D33;
  --ck-text: #ECFDF5; --ck-muted: #94A89E; --ck-dim: #5C7066;
  --ck-gruen: #10B981; --ck-amber: #FCD34D; --ck-sky: #7DD3FC; --ck-lila: #D8B4FE; --ck-orange: #FDBA74; --ck-rose: #FDA4AF; --ck-pink: #F9A8D4;
  --ck-f-gruen: #10B981; --ck-f-amber: #F59E0B; --ck-f-sky: #38BDF8; --ck-f-lila: #C084FC; --ck-f-orange: #FB923C; --ck-f-rose: #FB7185; --ck-f-pink: #F472B6; --ck-f-grau: #CBD5E1;
}
.tl-ck h1, .tl-ck h2, .tl-ck h3, .tl-ck p { margin: 0; }
.tl-ck-mono { font-family: var(--ck-mono); font-variant-numeric: tabular-nums; }
.tl-ck-sans { font-family: inherit; }
.tl-ck-stark { color: var(--ck-text); }
.tl-ck-gedaempft { color: var(--ck-muted); }
.tl-ck-blass { color: var(--ck-dim); }
.tl-ck-gruen { color: var(--ck-gruen); }
.tl-ck-amber { color: var(--ck-amber); }
.tl-ck-sky { color: var(--ck-sky); }
.tl-ck-rose { color: var(--ck-rose); }
.tl-ck-grau { color: var(--ck-f-grau); }
.tl-ck-fett { font-weight: 700; }
.tl-ck-halbfett { font-weight: 600; }
.tl-ck-mittel { font-weight: 500; }
.tl-ck-gross { font-size: .875rem; }
.tl-ck-klein { font-size: 10px; color: var(--ck-dim); margin-left: .25rem; }
div.tl-ck-klein { margin-left: 0; margin-top: .125rem; }
.tl-ck-mini { font-size: 11px; }
.tl-ck-nowrap { white-space: nowrap; }
.tl-ck-rechts { text-align: right; }
.tl-ck-eng { font-size: 11px; line-height: 1.25; }
.tl-ck-hinweis { font-size: 11px; color: var(--ck-dim); line-height: 1.4; }
.tl-ck-hinweis--innen { padding: .75rem 1.25rem; border-top: 1px solid var(--ck-border); }
.tl-ck-leer { font-size: .75rem; padding: .75rem; border-radius: .75rem; border: 1px dashed var(--ck-border2); }

/* Kopf */
.tl-ck-kopf { display: flex; flex-direction: column; gap: .75rem; padding: .875rem 1rem; border-radius: 1rem; background: var(--ck-surface); border: 1px solid var(--ck-border); }
.tl-ck-titelzeile { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; }
.tl-ck-titel { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; color: var(--ck-text); }
.tl-ck-unter { font-size: .75rem; color: var(--ck-muted); margin-top: .125rem; }
.tl-ck-unter--klein { font-size: 11px; }
.tl-ck-kopf > div > .tl-ck-unter { display: none; }
.tl-ck-sync { display: inline-flex; align-items: center; gap: .375rem; padding: .125rem .625rem; border-radius: 999px; font: 500 11px var(--ck-mono);
  background: color-mix(in srgb, var(--ck-f-gruen) 15%, transparent); color: var(--ck-gruen); border: 1px solid color-mix(in srgb, var(--ck-f-gruen) 30%, transparent); }
.tl-ck-sync-punkt { width: .375rem; height: .375rem; border-radius: 999px; background: currentColor; animation: tl-es-puls 2s infinite; }
.tl-ck-sync--fehler { background: color-mix(in srgb, var(--ck-f-rose) 12%, transparent); color: var(--ck-rose); border-color: color-mix(in srgb, var(--ck-f-rose) 30%, transparent); }
.tl-ck-sync--grau { background: var(--ck-elev); color: var(--ck-muted); border-color: var(--ck-border2); }
.tl-ck-sync--grau .tl-ck-sync-punkt { animation: none; }
.tl-ck-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; min-width: 0; }
.tl-ck-wahl { display: inline-flex; align-items: center; padding: .25rem; border-radius: .75rem; background: var(--ck-bg); border: 1px solid var(--ck-border); font-size: .75rem; max-width: 100%; }
.tl-ck-wahl--rollen { overflow-x: auto; }
.tl-ck-wahl--klein { padding: .125rem; border-radius: .5rem; font-size: 11px; flex-shrink: 0; align-self: flex-start; }
.tl-ck-wahl-knopf { padding: .25rem .625rem; border-radius: .5rem; font-weight: 500; color: var(--ck-muted); white-space: nowrap; border: 1px solid transparent; background: none; cursor: pointer; transition: color .15s; }
.tl-ck-wahl--klein .tl-ck-wahl-knopf { border-radius: .375rem; }
.tl-ck-wahl-knopf:hover { color: var(--ck-text); }
.tl-ck-wahl-knopf--rahmen, .tl-ck-wahl-knopf[aria-pressed="true"] { font-weight: 600; background: var(--ck-card); color: var(--ck-gruen); border-color: color-mix(in srgb, var(--ck-f-gruen) 40%, transparent); }
.tl-ck-wahl-knopf--rahmen:hover, .tl-ck-wahl-knopf[aria-pressed="true"]:hover { color: var(--ck-gruen); }
.tl-ck-wahl-knopf--voll { font-weight: 600; background: var(--ck-f-gruen); color: #090D0B; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.tl-ck-wahl-knopf--voll:hover { color: #090D0B; }
/* Hasan Tel 2468: Rücksendungen aufgeteilt unter dem Balken. */
.tl-ck-wasser-teile { margin: .375rem 0 0 1rem; display: grid; gap: .125rem; font-size: 11px; color: var(--ck-muted); }
.tl-ck-wasser-teil { display: flex; justify-content: space-between; gap: .75rem; }
.tl-ck-wasser-teil--hinweis { color: var(--ck-amber); font-style: italic; }
/* Hasan Tel 1433: Monatswahl im Zeitraum-Schalter, sieht aus wie ein Knopf. */
.tl-ck-wahl-monat { font: inherit; font-weight: 500; appearance: auto; max-width: 9.5rem; }
.tl-ck-wahl-monat option { color: var(--ck-text); background: var(--ck-card); }

/* Pillen */
.tl-ck-pill { display: inline-flex; align-items: center; gap: .25rem; padding: .125rem .5rem; border-radius: 999px; font: 600 11px var(--ck-mono); white-space: nowrap; border: 1px solid; }
.tl-ck-pill--gruen { background: color-mix(in srgb, var(--ck-f-gruen) 15%, transparent); color: var(--ck-gruen); border-color: color-mix(in srgb, var(--ck-f-gruen) 30%, transparent); }
.tl-ck-pill--amber { font-weight: 500; background: color-mix(in srgb, var(--ck-f-amber) 15%, transparent); color: var(--ck-amber); border-color: color-mix(in srgb, var(--ck-f-amber) 30%, transparent); }
.tl-ck-pill--rose { background: color-mix(in srgb, var(--ck-f-rose) 15%, transparent); color: var(--ck-rose); border-color: color-mix(in srgb, var(--ck-f-rose) 30%, transparent); }
.tl-ck-pill--grau { font-weight: 400; background: var(--ck-elev); color: var(--ck-muted); border-color: var(--ck-border2); }
.tl-ck-pill.tl-ck-halbfett { font-weight: 600; font-size: .75rem; }

/* Ebene 1: Kennzahlen */
.tl-ck-kpis { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.tl-ck-kpi { border-radius: 1rem; background: var(--ck-card); border: 1px solid var(--ck-border); border-left-width: 4px; padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; gap: .75rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); min-width: 0; }
.tl-ck-kpi--gruen { border-left-color: var(--ck-f-gruen); }
.tl-ck-kpi--amber { border-left-color: #FBBF24; }
.tl-ck-kpi--sky { border-left-color: var(--ck-f-sky); }
.tl-ck-kpi--grau { border-left-color: var(--ck-f-grau); }
.tl-ck-kpi-oben { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.tl-ck-kpi-oben > div:first-child { min-width: 0; }
@media (min-width: 1024px) { .tl-ck-kpi-oben > .tl-ck-pill { white-space: normal; border-radius: .5rem; max-width: 5.5rem; text-align: center; flex-shrink: 0; } }
.tl-ck-kpi-unten { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; padding-top: .25rem; }
.tl-ck-kpi-name { font-size: .75rem; font-weight: 500; color: var(--ck-muted); }
.tl-ck-kpi-wert { font: 700 1.5rem/2rem var(--ck-mono); font-variant-numeric: tabular-nums; color: var(--ck-text); margin-top: .25rem; }
.tl-ck-kpi-zeile { display: flex; align-items: baseline; gap: .5rem; margin-top: .25rem; flex-wrap: wrap; }
.tl-ck-kpi-zeile .tl-ck-kpi-wert { margin-top: 0; }
.tl-ck-kpi-zeile .tl-ck-mono { font-size: .75rem; }
.tl-ck-kpi-wert.tl-ck-gruen { color: var(--ck-gruen); }
.tl-ck-kpi-wert.tl-ck-rose { color: var(--ck-rose); }
.tl-ck-kpi-text { font-size: .75rem; color: var(--ck-muted); min-width: 0; }
.tl-ck-kpi-text .tl-ck-stark { font-weight: 500; }
.tl-ck-spark { width: 5rem; height: 1.75rem; flex-shrink: 0; }
.tl-ck-spark.tl-ck-gruen { color: var(--ck-f-gruen); }
.tl-ck-spark.tl-ck-amber { color: #FBBF24; }
.tl-ck-spark.tl-ck-sky { color: var(--ck-f-sky); }

/* Boxen und Raster */
.tl-ck-reihe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.tl-ck-box { border-radius: 1rem; background: var(--ck-surface); border: 1px solid var(--ck-border); padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; min-width: 0; }
.tl-ck-box--tabelle { padding: 0; gap: 0; overflow: hidden; justify-content: flex-start; }
.tl-ck-boxkopf { display: flex; flex-direction: column; gap: .75rem; }
.tl-ck-boxkopf--fest { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.tl-ck-h2 { font-size: .875rem; font-weight: 700; color: var(--ck-text); }
.tl-ck-h2--gross { font-size: 1rem; }
.tl-ck-fuss { padding-top: .75rem; border-top: 1px solid var(--ck-border); display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: 11px; color: var(--ck-muted); }
.tl-ck-marke { padding: .25rem .625rem; border-radius: .5rem; background: color-mix(in srgb, var(--ck-f-gruen) 15%, transparent); border: 1px solid color-mix(in srgb, var(--ck-f-gruen) 30%, transparent); font: 700 .75rem var(--ck-mono); color: var(--ck-gruen); white-space: nowrap; }

/* Ebene 2: Verlauf */
.tl-ck-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: .75rem; }
.tl-ck-legende > span { display: inline-flex; align-items: center; gap: .375rem; }
.tl-ck-punkt { display: inline-block; width: .625rem; height: .625rem; border-radius: 999px; margin-right: .375rem; flex-shrink: 0; }
.tl-ck-legende .tl-ck-punkt { margin-right: 0; }
.tl-ck-punkt--klein { width: .5rem; height: .5rem; margin-right: .5rem; }
.tl-ck-punkt--gruen { background: var(--ck-f-gruen); }
.tl-ck-punkt--amber { background: #FBBF24; }
.tl-ck-punkt--sky { background: var(--ck-f-sky); }
.tl-ck-punkt--lila { background: var(--ck-f-lila); }
.tl-ck-diagramm { position: relative; width: 100%; height: 250px; user-select: none; }
.tl-ck-svg { width: 100%; height: 100%; overflow: visible; }
.tl-ck-verlauf-oben { stop-color: var(--ck-f-gruen); stop-opacity: .22; }
.tl-ck-verlauf-unten { stop-color: var(--ck-f-gruen); stop-opacity: 0; }
.tl-ck-gitter { stroke: var(--ck-border); stroke-dasharray: 3 3; stroke-width: 1; }
.tl-ck-achse { fill: var(--ck-muted); font: 10px var(--ck-mono); }
.tl-ck-achse--y { fill: var(--ck-dim); }
.tl-ck-linie { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.tl-ck-linie--umsatz { stroke: var(--ck-f-gruen); }
.tl-ck-linie--ausgaben { stroke: var(--ck-f-amber); stroke-width: 2; stroke-dasharray: 4 3; }
.tl-ck-linie--profit { stroke: var(--ck-f-sky); }
.tl-ck-senkrecht { stroke: var(--ck-border2); stroke-width: 1; opacity: 0; transition: opacity .15s; }
.tl-ck-senkrecht[data-an="true"] { opacity: 1; }
.tl-ck-kreis { stroke: var(--ck-bg); stroke-width: 1.5; }
.tl-ck-kreis--umsatz { fill: var(--ck-f-gruen); }
.tl-ck-kreis--ausgaben { fill: var(--ck-f-amber); }
.tl-ck-kreis--profit { fill: var(--ck-f-sky); }
.tl-ck-treffer { cursor: crosshair; }
.tl-ck-tip { position: absolute; top: .5rem; z-index: 10; min-width: 190px; padding: .75rem; border-radius: .75rem; pointer-events: none; font-size: .75rem;
  background: color-mix(in srgb, var(--ck-card) 95%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--ck-border2); box-shadow: 0 20px 25px -5px rgba(0,0,0,.2); }
.tl-ck-tip > div { display: flex; flex-direction: column; gap: .375rem; }
.tl-ck-tip-kopf { font: 600 .75rem var(--ck-mono); color: var(--ck-text); border-bottom: 1px solid var(--ck-border); padding-bottom: .25rem; }
.tl-ck-tip-zeile { display: flex; justify-content: space-between; gap: 1rem; }
.tl-ck-tip-summe { padding-top: .25rem; border-top: 1px solid var(--ck-border); }
.tl-ck-tip-summe .tl-ck-stark { font-weight: 500; }

/* Ebene 2: Wasserfall */
.tl-ck-wasser-zeilen { display: flex; flex-direction: column; gap: .75rem; }
.tl-ck-wasser-zeile { display: flex; flex-direction: column; gap: .25rem; }
.tl-ck-wasser-zeile--ende { padding-top: .625rem; border-top: 1px solid var(--ck-border); }
.tl-ck-wasser-text { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .75rem; }
.tl-ck-wasser-zahlen { display: flex; align-items: center; gap: .5rem; font-family: var(--ck-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-ck-wasser-zahlen .tl-ck-blass { font-size: 11px; }
.tl-ck-wasser-betrag--gruen { color: var(--ck-text); }
.tl-ck-wasser-betrag--grau { color: var(--ck-muted); }
.tl-ck-wasser-betrag--amber { color: var(--ck-amber); }
.tl-ck-wasser-betrag--orange { color: var(--ck-orange); }
.tl-ck-wasser-betrag--lila { color: var(--ck-lila); }
.tl-ck-wasser-betrag--rose { color: var(--ck-rose); }
.tl-ck-wasser-betrag--sky { color: var(--ck-gruen); }
.tl-ck-balken { width: 100%; height: .5rem; border-radius: 999px; background: var(--ck-bg); overflow: hidden; }
.tl-ck-balken-fuell { height: 100%; border-radius: 999px; transition: width .3s; }
.tl-ck-balken-fuell--gruen { background: var(--ck-f-gruen); }
.tl-ck-balken-fuell--grau { background: var(--ck-f-grau); }
.tl-ck-balken-fuell--amber { background: #FBBF24; }
.tl-ck-balken-fuell--orange { background: var(--ck-f-orange); }
.tl-ck-balken-fuell--lila { background: var(--ck-f-lila); }
.tl-ck-balken-fuell--rose { background: var(--ck-f-rose); }
.tl-ck-balken-fuell--sky { background: var(--ck-f-sky); }

/* Tabellen (Ebene 3 und 5) */
.tl-ck-tabkopf { padding: 1.25rem; border-bottom: 1px solid var(--ck-border); display: flex; flex-direction: column; gap: .75rem; }
.tl-ck-rollen { overflow-x: auto; max-width: 100%; }
.tl-ck-tabelle { width: 100%; text-align: left; border-collapse: collapse; font-size: .75rem; }
.tl-ck-tabelle--960 { min-width: 860px; }
.tl-ck-tabelle--900 { min-width: 900px; }
.tl-ck-tabelle--artikel { min-width: 1300px; }
.tl-ck-tabelle thead tr { background: color-mix(in srgb, var(--ck-card) 70%, transparent); border-bottom: 1px solid var(--ck-border); }
.tl-ck-tabelle th { padding: .75rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ck-muted); }
.tl-ck-tabelle td { padding: .875rem .75rem; vertical-align: middle; }
/* Lange Odoo-Namen: Code-Vorsatz weg, höchstens zwei Zeilen, ganzer Name beim Darüberfahren */
.tl-ck-artikelname { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-width: 11rem; max-width: 16rem; }
.tl-ck-tabelle th:first-child, .tl-ck-tabelle td:first-child { padding-left: 1.25rem; }
.tl-ck-tabelle th:last-child, .tl-ck-tabelle td:last-child { padding-right: 1.25rem; }
.tl-ck-tabelle th.tl-ck-rechts { text-align: right; }
.tl-ck-tabelle tbody tr + tr { border-top: 1px solid var(--ck-border); }
.tl-ck-zeile { transition: background-color .15s; }
.tl-ck-zeile--klick { cursor: pointer; }
/* Hasan Tel 4838/4839: Ergebnis je Artikel – Artikel-Zeile mit Bild und Summe, Marktplätze/Länder klappen darunter auf */
.tl-ck-artikel { display: flex; align-items: center; gap: .625rem; }
.tl-ck-artikelbild { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--ck-border); background: color-mix(in srgb, var(--ck-card) 70%, transparent); display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.tl-ck-artikelbild img { width: 100%; height: 100%; object-fit: cover; }
.tl-ck-artikelbild i { width: 16px; height: 16px; border-radius: 50%; background: #E3B04B; }
.tl-ck-artikel-teil { display: block; text-align: right; padding-right: .5rem; }
.tl-ck-zeile--teil { background: color-mix(in srgb, var(--ck-card) 45%, transparent); }
.tl-ck-zeile--summe .tl-ck-stark { font-weight: 600; }
.tl-ck-pfeil { color: var(--ck-muted); transition: transform .15s; }
.tl-ck-zeile--auf .tl-ck-pfeil { transform: rotate(180deg); }
.tl-ck-zeile--klick:hover { background: color-mix(in srgb, var(--ck-card) 80%, transparent); }
.tl-ck-zeile--aktiv, .tl-ck-zeile--aktiv:hover { background: color-mix(in srgb, var(--ck-f-gruen) 10%, transparent); }
.tl-ck-plattform { display: flex; align-items: center; gap: .625rem; }
.tl-ck-kennung { padding: .125rem .5rem; border-radius: .375rem; font: 700 10px var(--ck-mono); border: 1px solid; flex-shrink: 0; }
.tl-ck-kennung--amber { background: color-mix(in srgb, var(--ck-f-amber) 15%, transparent); color: var(--ck-amber); border-color: color-mix(in srgb, var(--ck-f-amber) 30%, transparent); }
.tl-ck-kennung--pink { background: color-mix(in srgb, var(--ck-f-pink) 15%, transparent); color: var(--ck-pink); border-color: color-mix(in srgb, var(--ck-f-pink) 30%, transparent); }
.tl-ck-kennung--orange { background: color-mix(in srgb, var(--ck-f-orange) 15%, transparent); color: var(--ck-orange); border-color: color-mix(in srgb, var(--ck-f-orange) 30%, transparent); }
.tl-ck-kennung--sky { background: color-mix(in srgb, var(--ck-f-sky) 15%, transparent); color: var(--ck-sky); border-color: color-mix(in srgb, var(--ck-f-sky) 30%, transparent); }
.tl-ck-kennung--gruen { background: color-mix(in srgb, var(--ck-f-gruen) 15%, transparent); color: var(--ck-gruen); border-color: color-mix(in srgb, var(--ck-f-gruen) 30%, transparent); }
.tl-ck-marge { display: inline-block; padding: .125rem .5rem; border-radius: .375rem; font: 600 11px var(--ck-mono); background: var(--ck-bg); border: 1px solid var(--ck-border); color: var(--ck-sky); white-space: nowrap; }
.tl-ck-plattform-pill { padding: .125rem .5rem; border-radius: .375rem; background: var(--ck-card); border: 1px solid var(--ck-border); color: var(--ck-text); font-weight: 500; }
.tl-ck-status { display: inline-flex; align-items: center; gap: .375rem; padding: .125rem .625rem; border-radius: 999px; font-size: 11px; font-weight: 500; border: 1px solid; white-space: nowrap; }
.tl-ck-status-punkt { width: .375rem; height: .375rem; border-radius: 999px; background: currentColor; }
.tl-ck-status--gruen { background: color-mix(in srgb, var(--ck-f-gruen) 15%, transparent); color: var(--ck-gruen); border-color: color-mix(in srgb, var(--ck-f-gruen) 30%, transparent); }
.tl-ck-status--amber { background: color-mix(in srgb, var(--ck-f-amber) 15%, transparent); color: var(--ck-amber); border-color: color-mix(in srgb, var(--ck-f-amber) 30%, transparent); }
.tl-ck-status--sky { background: color-mix(in srgb, var(--ck-f-sky) 15%, transparent); color: var(--ck-sky); border-color: color-mix(in srgb, var(--ck-f-sky) 30%, transparent); }
.tl-ck-status--grau { background: var(--ck-elev); color: var(--ck-muted); border-color: var(--ck-border2); }
.tl-ck-pruefen { padding: .25rem .625rem; border-radius: .5rem; background: var(--ck-card); border: 1px solid var(--ck-border); color: var(--ck-text); font-weight: 500; cursor: pointer; transition: background-color .15s; }
.tl-ck-pruefen:hover { background: var(--ck-elev); }
.tl-ck-knopf-hell { align-self: flex-start; display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; border-radius: .75rem; background: var(--ck-card); border: 1px solid var(--ck-border); font-size: .75rem; font-weight: 500; color: var(--ck-gruen); transition: background-color .15s; }
.tl-ck-knopf-hell:hover { background: var(--ck-elev); }

/* Ebene 4: Was ist zu tun?, Versandarten, Top-Artikel */
.tl-ck-tun-titel { display: flex; align-items: center; gap: .5rem; }
.tl-ck-blitz { width: 1.5rem; height: 1.5rem; border-radius: .5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--ck-f-amber) 15%, transparent); border: 1px solid color-mix(in srgb, var(--ck-f-amber) 30%, transparent); color: #FBBF24; }
.tl-ck-blitz svg { width: .875rem; height: .875rem; }
.tl-ck-tun, .tl-ck-versand, .tl-ck-top { justify-content: flex-start; }
.tl-ck-liste { display: flex; flex-direction: column; gap: .625rem; }
.tl-ck-liste--eng { gap: .5rem; }
.tl-ck-liste--top { gap: .75rem; }
.tl-ck-aufgabe { padding: .75rem; border-radius: .75rem; background: var(--ck-card); border: 1px solid var(--ck-border); border-left-width: 4px; display: flex; flex-direction: column; gap: .625rem; }
.tl-ck-aufgabe--rose { border-left-color: var(--ck-f-rose); }
.tl-ck-aufgabe--amber { border-left-color: #FBBF24; }
.tl-ck-aufgabe--emerald { border-left-color: var(--ck-f-gruen); }
.tl-ck-aufgabe-text { min-width: 0; display: flex; flex-direction: column; gap: .125rem; }
.tl-ck-tag { font: 10px var(--ck-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ck-muted); }
.tl-ck-aufgabe-titel { font-size: .75rem; font-weight: 600; color: var(--ck-text); line-height: 1.375; }
.tl-ck-aufgabe-desc { font-size: 11px; color: var(--ck-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-ck-aufgabe.tl-ck-aufgabe--ki { flex-direction: row; flex-wrap: wrap; }
.tl-ck-aufgabe.tl-ck-aufgabe--ki { justify-content: flex-start; }
.tl-ck-aufgabe--ki .tl-ck-aufgabe-text { flex: 1 1 100%; }
.tl-ck-aufgabe--ki .tl-ck-aufgabe-desc { white-space: normal; }
.tl-ck-knopf { align-self: flex-start; flex-shrink: 0; padding: .375rem .75rem; border-radius: .5rem; font-size: 11px; font-weight: 600; color: #090D0B; white-space: nowrap; transition: background-color .15s; }
.tl-ck-knopf--amber { background: #F59E0B; }
.tl-ck-knopf--amber:hover { background: #FBBF24; }
.tl-ck-knopf--gruen { background: #10B981; }
.tl-ck-knopf--gruen:hover { background: #059669; }
.tl-ck-link { font-size: .75rem; font-weight: 500; color: var(--ck-gruen); align-self: flex-start; margin-top: auto; }
.tl-ck-link:hover { text-decoration: underline; }
.tl-ck-mix { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .75rem; }
.tl-ck-mix > span:first-child { display: inline-flex; align-items: center; min-width: 0; }
.tl-ck-mix > span:last-child { white-space: nowrap; }
.tl-ck-mix > span:first-child .tl-ck-mini { margin-left: .3em; }
.tl-ck-mix--teil { padding-left: 1rem; }
.tl-ck-lager { padding-top: .75rem; border-top: 1px solid var(--ck-border); display: flex; flex-direction: column; gap: .625rem; }
.tl-ck-warnung { padding: .625rem; border-radius: .75rem; border: 1px solid; display: flex; flex-direction: column; gap: .25rem; }
.tl-ck-warnung--rose { background: color-mix(in srgb, var(--ck-f-rose) 10%, transparent); border-color: color-mix(in srgb, var(--ck-f-rose) 25%, transparent); color: var(--ck-rose); }
.tl-ck-warnung--amber { background: color-mix(in srgb, var(--ck-f-amber) 10%, transparent); border-color: color-mix(in srgb, var(--ck-f-amber) 25%, transparent); color: var(--ck-amber); }
.tl-ck-warnung-kopf { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: 11px; }
.tl-ck-warnung-kopf .tl-ck-halbfett { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-ck-warnung-kopf .tl-ck-mono { white-space: nowrap; }
.tl-ck-warnung-text { font-size: 10px; color: var(--ck-muted); }
.tl-ck-artikel { padding: .625rem; border-radius: .75rem; background: var(--ck-card); border: 1px solid var(--ck-border); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.tl-ck-artikel-links { display: flex; align-items: center; gap: .625rem; min-width: 0; }
.tl-ck-bild { width: 2.25rem; height: 2.25rem; border-radius: .5rem; border: 1px solid var(--ck-border); background: var(--ck-elev); color: var(--ck-gruen); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tl-ck-bild svg { width: 1.25rem; height: 1.25rem; }
.tl-ck-artikel-text { min-width: 0; }
.tl-ck-artikel-name { font-size: .75rem; font-weight: 600; color: var(--ck-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-ck-artikel-text .tl-ck-mini { margin-top: .125rem; }
.tl-ck-artikel-rechts { text-align: right; flex-shrink: 0; font-size: .75rem; }
.tl-ck-artikel-rechts .tl-ck-mini { font-size: 10px; }

/* Fenster je Bestellung */
.tl-ck-fenster { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,.7); backdrop-filter: blur(2px); }
.tl-ck-fenster-box { width: 100%; max-width: 32rem; border-radius: 1rem; background: var(--ck-surface); border: 1px solid var(--ck-border2); box-shadow: 0 25px 50px -12px rgba(0,0,0,.4); overflow: hidden; color: var(--ck-text); }
.tl-ck-fenster-kopf { padding: 1rem 1.25rem; background: var(--ck-card); border-bottom: 1px solid var(--ck-border); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.tl-ck-fenster-titel { font: 700 1rem var(--ck-mono); color: var(--ck-text); margin-top: .125rem; word-break: break-all; }
.tl-ck-zu { padding: .375rem; border-radius: .5rem; background: var(--ck-surface); border: 1px solid var(--ck-border); color: var(--ck-muted); cursor: pointer; flex-shrink: 0; }
.tl-ck-zu:hover { color: var(--ck-text); }
.tl-ck-zu svg { width: 1rem; height: 1rem; }
.tl-ck-fenster-inhalt { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; font-size: .75rem; }
.tl-ck-fenster-kunde { padding: .75rem; border-radius: .75rem; background: var(--ck-card); border: 1px solid var(--ck-border); display: flex; flex-direction: column; gap: .25rem; }
.tl-ck-fenster-rechnung { padding: .75rem; border-radius: .75rem; background: var(--ck-bg); border: 1px solid var(--ck-border); display: flex; flex-direction: column; gap: .5rem; font-family: var(--ck-mono); font-variant-numeric: tabular-nums; }
.tl-ck-fenster-box--breit { max-width: 36rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
/* Hasan Tel 1473: „Details ›“ je Wasserfall-Zeile */
.tl-ck-details-knopf { margin-left: .5rem; font-size: .6875rem; font-weight: 500; color: var(--ck-gruen); background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.tl-ck-details-knopf:hover { text-decoration: underline; }
.tl-ck-fenster-box--details { max-width: 52rem; max-height: calc(100vh - 2rem); display: flex; flex-direction: column; }
.tl-ck-fenster-box--details .tl-ck-fenster-inhalt { overflow-y: auto; }
.tl-ck-details-hinweis { padding: .625rem .75rem; border-radius: .75rem; background: var(--ck-card); border: 1px solid var(--ck-border); color: var(--ck-muted); }
.tl-ck-details-gruende { display: flex; flex-direction: column; gap: .25rem; }
.tl-ck-details-grund { color: var(--ck-text); }
.tl-ck-details-loesung { margin-left: .25rem; font-weight: 600; color: var(--ck-gruen); background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.tl-ck-details-loesung:hover { text-decoration: underline; }
.tl-ck-fenster-box--details .tl-ck-fenster-titel { word-break: normal; overflow-wrap: anywhere; }
/* Handy: Details-Zeilen untereinander statt seitlich rollen – Nr. + Betrag, darunter Plattform, darunter „Was fehlt“ */
@media (max-width: 640px) {
  /* Hasan Tel 3643: Zeitraum-Leiste passt am Handy ganz hinein. */
  .tl-ck-wahl-knopf { padding: .25rem .45rem; }
  .tl-ck-fenster-box--details .tl-ck-tabelle thead { display: none; }
  .tl-ck-fenster-box--details .tl-ck-tabelle tr { display: grid; grid-template-columns: 1fr auto; gap: .375rem .75rem; padding: .75rem 0; }
  .tl-ck-fenster-box--details .tl-ck-tabelle td { display: block; padding: 0; }
  .tl-ck-fenster-box--details .tl-ck-tabelle td:first-child { padding-left: 0; }
  .tl-ck-fenster-box--details .tl-ck-tabelle td:nth-child(1) { grid-area: 1 / 1; }
  .tl-ck-fenster-box--details .tl-ck-tabelle td:nth-child(3) { grid-area: 1 / 2; }
  .tl-ck-fenster-box--details .tl-ck-tabelle td:nth-child(2) { grid-area: 2 / 1 / 3 / -1; }
  .tl-ck-fenster-box--details .tl-ck-tabelle td:nth-child(4) { grid-area: 3 / 1 / 4 / -1; }
}
.tl-ck-wasser-wahl { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.tl-ck-wasser-wahl .tl-ck-eingabe { width: auto; text-align: left; }
.tl-ck-eingabe { width: 5.5rem; margin-left: auto; padding: .25rem .5rem; border-radius: .375rem; background: var(--ck-surface); border: 1px solid var(--ck-border2); color: var(--ck-text); font: 500 .75rem var(--ck-mono); text-align: right; }
.tl-ck-mix--summe { padding-top: .5rem; border-top: 1px solid var(--ck-border); font-weight: 700; }
.tl-ck-fenster-fuss { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; padding-top: .25rem; }
.tl-ck-knopf-gross { padding: .5rem 1rem; border-radius: .75rem; background: var(--ck-card); border: 1px solid var(--ck-border); color: var(--ck-muted); cursor: pointer; font-size: .75rem; }
.tl-ck-knopf-gross:hover { color: var(--ck-text); }
.tl-ck-knopf-gross--gruen { background: #10B981; border-color: #10B981; color: #090D0B; font-weight: 600; }
.tl-ck-knopf-gross--gruen:hover { background: #059669; color: #090D0B; }

@media (min-width: 640px) {
  .tl-ck-kopf { padding: .875rem 1.5rem; }
  .tl-ck-titel { font-size: 1.25rem; }
  .tl-ck-kopf > div > .tl-ck-unter { display: block; }
  .tl-ck-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-ck-boxkopf, .tl-ck-tabkopf { flex-direction: row; align-items: center; justify-content: space-between; }
  .tl-ck-boxkopf--fest { align-items: flex-start; }
  .tl-ck-knopf-hell, .tl-ck-wahl--klein { align-self: auto; }
  .tl-ck-aufgabe { flex-direction: row; align-items: center; justify-content: space-between; }
  .tl-ck-knopf { align-self: center; }
}
@media (min-width: 1024px) {
  .tl-ck-reihe--zwei { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .tl-ck-reihe--drei { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); }
}
@media (min-width: 1280px) {
  .tl-ck-kopf { flex-direction: row; align-items: center; justify-content: space-between; }
  .tl-ck-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Cockpit LIVE 19.11.: lange Amazon-Artikelnamen höchstens zwei Zeilen wie im Entwurf, ganzer Name im Tooltip */
.tl-ck-zwei-zeilen { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Versand & Lager 1:1 nach Entwurf Hasan Tel 1309 (docs/design/eingang/2026-11-20-versand-lager-tel1309.html); Farben FBA amber, Eigen grün, Dropshipping violett */
.tl-vl { --vl-bg: var(--tl-paper); --vl-surface: #fff; --vl-card: #FAF9F5; --vl-border: var(--tl-line); --vl-border2: #D6D3C8;
  --vl-text: #15130E; --vl-muted: #5F5B50; --vl-dim: #8A8578; --vl-mono: "JetBrains Mono", ui-monospace, monospace;
  --vl-fba: #F59E0B; --vl-fba-t: #B45309; --vl-fba-h: #92400E; --vl-eigen: #059669; --vl-eigen-t: #047857; --vl-drop: #A855F7; --vl-drop-t: #7E22CE; --vl-drop-h: #6B21A8;
  --vl-auf: #fff; --vl-kopfgrund: rgba(250,249,245,.7);
  color: var(--vl-text); font-size: .875rem; font-family: "Inter", system-ui, sans-serif; display: flex; flex-direction: column; gap: 1.5rem; width: 100%; max-width: 1440px; margin-inline: auto; }
.dark .tl-vl { --vl-bg: #090D0B; --vl-surface: #111815; --vl-card: #16201B; --vl-border: #24352C; --vl-border2: #31473B;
  --vl-text: #ECFDF5; --vl-muted: #9AB0A5; --vl-dim: #647A6F; --vl-fba-t: #FCD34D; --vl-fba-h: #FDE68A; --vl-eigen: #10B981; --vl-eigen-t: #6EE7B7; --vl-drop-t: #D8B4FE; --vl-drop-h: #E9D5FF;
  --vl-auf: #090D0B; --vl-kopfgrund: rgba(22,32,27,.55); }
.tl-vl *, .tl-vl *::before, .tl-vl *::after { box-sizing: border-box; }
.tl-vl button, .tl-vl input, .tl-vl select { font-family: inherit; }
.tl-vl button { cursor: pointer; } .tl-vl button:disabled { cursor: default; opacity: .6; }
.tl-vl strong { font-weight: 700; color: var(--vl-text); }
.tl-vl-mono { font-family: var(--vl-mono); font-variant-numeric: tabular-nums; }
.tl-vl-muted { color: var(--vl-muted); } .tl-vl-dim { color: var(--vl-dim); } .tl-vl-xs { font-size: .75rem; }
.tl-vl-t-fba { color: var(--vl-fba-t); } .tl-vl-t-eigen, .tl-vl-t-gruen { color: var(--vl-eigen-t); } .tl-vl-t-drop { color: var(--vl-drop-t); }
.tl-vl-fett5 { font-weight: 500; } .tl-vl-fett6 { font-weight: 600; } .tl-vl-fett7 { font-weight: 700; }
.tl-vl-r { text-align: right; } .tl-vl-min0 { min-width: 0; display: flex; flex-direction: column; } .tl-vl-nowrap { white-space: nowrap; }
.tl-vl-i35 { width: .875rem; height: .875rem; } .tl-vl-i4 { width: 1rem; height: 1rem; flex-shrink: 0; } .tl-vl-i5 { width: 1.25rem; height: 1.25rem; }
.tl-vl-punkt { width: 8px; height: 8px; border-radius: 999px; background: currentColor; flex-shrink: 0; display: inline-block; }
.tl-vl-zeilenhoehe { line-height: 1.6; margin: 0; }

/* Kopfband */
.tl-vl-kopfband { background: var(--vl-surface); border: 1px solid var(--vl-border); border-radius: 1rem; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.tl-vl-banner { border-radius: .75rem; padding: .75rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap;
  background: color-mix(in srgb, var(--vl-fba) 10%, transparent); border: 1px solid color-mix(in srgb, var(--vl-fba) 35%, transparent); }
.tl-vl-banner-links { display: flex; align-items: center; gap: .625rem; font-size: .75rem; }
.tl-vl-banner-pille { padding: .125rem .5rem; border-radius: .375rem; background: var(--vl-fba); color: #090D0B; font-weight: 700; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; flex-shrink: 0; }
.tl-vl-banner-text { color: var(--vl-fba-h); font-weight: 500; line-height: 1.4; }
.tl-vl-banner-system { font-family: var(--vl-mono); font-size: 11px; color: var(--vl-eigen); min-width: 0; overflow-wrap: anywhere; }
.tl-vl-banner--aus { background: var(--vl-card); border-color: var(--vl-border2); }
.tl-vl-banner--aus .tl-vl-banner-pille { background: var(--vl-dim); color: var(--vl-surface); } .tl-vl-banner--aus .tl-vl-banner-text { color: var(--vl-muted); }
.tl-vl-banner--scharf { background: color-mix(in srgb, var(--vl-eigen) 10%, transparent); border-color: color-mix(in srgb, var(--vl-eigen) 40%, transparent); }
.tl-vl-banner--scharf .tl-vl-banner-pille { background: var(--vl-eigen); color: var(--vl-auf); } .tl-vl-banner--scharf .tl-vl-banner-text { color: var(--vl-text); }
.tl-vl-titelzeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tl-vl-h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em; margin: 0; }
.tl-vl-unter { font-size: .875rem; color: var(--vl-muted); margin: .25rem 0 0; }
.tl-vl-h2 { font-size: 1rem; font-weight: 700; }
.tl-vl-segment { display: flex; padding: .375rem; border-radius: 1rem; background: var(--vl-bg); border: 1px solid var(--vl-border); gap: .25rem; }
.tl-vl-segment-knopf { display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: 0 1.5rem; border-radius: .75rem; border: 0; background: none; color: var(--vl-muted); font-size: .875rem; font-weight: 600; }
.tl-vl-segment-knopf--an { background: var(--vl-eigen); color: var(--vl-auf); font-weight: 700; }
.tl-vl-legende-zeile { border-top: 1px solid var(--vl-border); padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.tl-vl-legende { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tl-vl-legende-titel { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--vl-dim); margin-right: .25rem; }
.tl-vl-lpille { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.tl-vl-lpille--fba, .tl-vl-zpille--fba { color: var(--vl-fba-t); background: color-mix(in srgb, var(--vl-fba) 10%, transparent); border: 1px solid color-mix(in srgb, var(--vl-fba) 28%, transparent); }
.tl-vl-lpille--eigen, .tl-vl-zpille--eigen { color: var(--vl-eigen-t); background: color-mix(in srgb, var(--vl-eigen) 10%, transparent); border: 1px solid color-mix(in srgb, var(--vl-eigen) 28%, transparent); }
.tl-vl-lpille--drop, .tl-vl-zpille--drop { color: var(--vl-drop-t); background: color-mix(in srgb, var(--vl-drop) 10%, transparent); border: 1px solid color-mix(in srgb, var(--vl-drop) 28%, transparent); }
.tl-vl-lpille--fba .tl-vl-punkt { color: var(--vl-fba); } .tl-vl-lpille--eigen .tl-vl-punkt { color: var(--vl-eigen); } .tl-vl-lpille--drop .tl-vl-punkt { color: var(--vl-drop); }
.tl-vl-klappknoepfe { display: flex; gap: .5rem; flex-wrap: wrap; }
.tl-vl-klappknopf { display: inline-flex; align-items: center; gap: .375rem; min-height: 34px; padding: 0 .75rem; border-radius: .75rem; background: var(--vl-card); border: 1px solid var(--vl-border); color: var(--vl-muted); font-size: .75rem; font-weight: 600; }
.tl-vl-klappknopf--gruen { color: var(--vl-eigen-t); }
.tl-vl-klappknopf--text { color: var(--vl-eigen-t); white-space: nowrap; }

/* Kennzahlen */
.tl-vl-kpis { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .tl-vl-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .tl-vl-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tl-vl-kpi { display: block; text-align: left; border-radius: 1rem; background: var(--vl-surface); border: 1px solid var(--vl-border); padding: 1.25rem; color: inherit; font: inherit; min-width: 0; }
.tl-vl-kpi--fehlt { border-color: color-mix(in srgb, var(--vl-fba) 40%, transparent); }
.tl-vl-kpi--fehlt:hover { background: color-mix(in srgb, var(--vl-fba) 5%, var(--vl-surface)); }
.tl-vl-kpi-kopf { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.tl-vl-kpi-titel { font-size: .75rem; font-weight: 500; color: var(--vl-muted); }
.tl-vl-kpi-link { font-size: .75rem; font-weight: 600; color: var(--vl-fba-t); text-decoration: underline; text-underline-offset: 2px; }
.tl-vl-kpi-wert { margin-top: .5rem; font: 700 1.5rem var(--vl-mono); letter-spacing: -.02em; }
.tl-vl-kpi-teile { margin-top: .5rem; font-size: .75rem; display: flex; flex-wrap: wrap; gap: .375rem; }
.tl-vl-kpi-gruen { margin-top: .5rem; font-size: .75rem; color: var(--vl-eigen-t); font-weight: 500; }
.tl-vl-kpi-kopf .tl-vl-kpi-gruen { margin: 0; }
.tl-vl-kpi-klein { margin-top: .5rem; font-size: .75rem; line-height: 1.4; overflow-wrap: anywhere; }

/* Inhalt */
.tl-vl-inhalt { display: flex; flex-direction: column; gap: 1.5rem; }
.tl-vl-warn { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: 1rem 1.25rem; border-radius: 1rem;
  background: color-mix(in srgb, var(--vl-fba) 10%, transparent); border: 1px solid color-mix(in srgb, var(--vl-fba) 40%, transparent); font-size: .875rem; color: var(--vl-fba-h); }
.tl-vl-warn strong { color: var(--vl-fba-t); }
.tl-vl-warn-links { display: flex; align-items: flex-start; gap: .75rem; }
.tl-vl-warn-zeichen { width: 20px; height: 20px; border-radius: .375rem; background: var(--vl-fba); color: #090D0B; font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tl-vl-warn-knopf { min-height: 38px; padding: 0 1rem; border-radius: .75rem; border: 0; background: var(--vl-fba); color: #090D0B; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.tl-vl-filterleiste { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: 1rem; border-radius: 1rem; background: var(--vl-surface); border: 1px solid var(--vl-border); }
.tl-vl-suchfeld { position: relative; flex: 1 1 18rem; max-width: 28rem; color: var(--vl-dim); }
.tl-vl-suchfeld svg { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); }
.tl-vl-suchfeld input { width: 100%; min-height: 40px; padding: 0 .875rem 0 2.5rem; border-radius: .75rem; border: 1px solid var(--vl-border); background: var(--vl-bg); color: var(--vl-text); font-size: .875rem; }
.tl-vl-filter-rechts { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tl-vl-auswahl { min-height: 40px; padding: 0 .75rem; border-radius: .75rem; border: 1px solid var(--vl-border); background: var(--vl-bg); color: var(--vl-text); font-size: .8125rem; }
.tl-vl-haken { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: 0 .75rem; border-radius: .75rem; border: 1px solid var(--vl-border); background: var(--vl-bg); font-size: .8125rem; color: var(--vl-muted); cursor: pointer; }
.tl-vl-haken input { accent-color: var(--vl-fba); }

/* Zonen-Kästen */
.tl-vl-zone { border-radius: 1rem; background: var(--vl-surface); border: 1px solid var(--vl-border); border-left-width: 3px; overflow: hidden; }
.tl-vl-zone--fba { --z: var(--vl-fba); --zt: var(--vl-fba-t); border-left-color: var(--vl-fba); }
.tl-vl-zone--eigen { --z: var(--vl-eigen); --zt: var(--vl-eigen-t); border-left-color: var(--vl-eigen); }
.tl-vl-zone--drop { --z: var(--vl-drop); --zt: var(--vl-drop-t); border-left-color: var(--vl-drop); }
.tl-vl-zkopf { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.25rem; border: 0; text-align: left; color: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--z) 9%, transparent), var(--vl-kopfgrund)); }
.tl-vl-zkopf-links { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.tl-vl-zkopf-titel { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tl-vl-zkopf-unter { display: block; margin-top: .125rem; font-size: .75rem; color: var(--vl-muted); }
.tl-vl-chev { width: 28px; height: 28px; border-radius: .5rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px;
  background: color-mix(in srgb, currentColor 12%, transparent); border: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.tl-vl-chev--klein { width: 24px; height: 24px; font-size: 12px; }
.tl-vl-symbol { width: 36px; height: 36px; border-radius: .75rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--z) 14%, transparent); border: 1px solid color-mix(in srgb, var(--z) 32%, transparent); color: var(--zt); }
.tl-vl-zpille { padding: .125rem .5rem; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tl-vl-summe { padding: .375rem .75rem; border-radius: .5rem; font: 500 .75rem var(--vl-mono); background: color-mix(in srgb, var(--vl-bg) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--z) 30%, transparent); color: var(--zt); }
.tl-vl-zinhalt { border-top: 1px solid var(--vl-border); }
.tl-vl-zinhalt--karten { padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.tl-vl-rollen { overflow-x: auto; }
.tl-vl-rand-oben { border-top: 1px solid var(--vl-border); }

/* FBA-Artikelkarte */
.tl-vl-karte { border-radius: .75rem; border: 1px solid var(--vl-border); background: color-mix(in srgb, var(--vl-card) 45%, transparent); overflow: hidden; }
.tl-vl-karte-kopf { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: .75rem 1rem; border: 0; text-align: left; color: inherit;
  background: color-mix(in srgb, var(--vl-card) 80%, transparent); }
.tl-vl-karte-links { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.tl-vl-karte-name { font-weight: 700; font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 36rem; }
.tl-vl-karte-meta { display: flex; gap: .375rem; flex-wrap: wrap; font-size: .75rem; color: var(--vl-muted); margin-top: .125rem; }
.tl-vl-karte-summe { padding: .25rem .625rem; border-radius: .5rem; font: 500 11px var(--vl-mono); color: var(--vl-fba-t); background: var(--vl-bg); border: 1px solid color-mix(in srgb, var(--vl-fba) 30%, transparent); }
.tl-vl-bild { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: .5rem; overflow: hidden; background: var(--vl-bg); border: 1px solid var(--vl-border); }
.tl-vl-bild img { width: 100%; height: 100%; object-fit: cover; }
.tl-vl-bild--44 { width: 44px; height: 44px; } .tl-vl-bild--40 { width: 40px; height: 40px; }
.tl-vl-bild--leer { font-weight: 700; color: var(--vl-dim); }

/* Tabellen */
.tl-vl-tabelle { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.tl-vl-tabelle th { padding: .625rem 1rem; text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--vl-muted); background: color-mix(in srgb, var(--vl-card) 70%, transparent); white-space: nowrap; }
.tl-vl-tabelle th.tl-vl-r { text-align: right; }
.tl-vl-tabelle td { padding: .625rem 1rem; border-top: 1px solid var(--vl-border); vertical-align: middle; }
.tl-vl-tabelle--klein th { font-size: 10px; color: var(--vl-dim); background: color-mix(in srgb, var(--vl-bg) 35%, transparent); }
.tl-vl-zeile-fehlt td { background: color-mix(in srgb, var(--vl-fba) 6%, transparent); }
.tl-vl-zeile-warn td { background: color-mix(in srgb, var(--vl-fba) 5%, transparent); }
.tl-vl-land { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.tl-vl-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; padding: .125rem .375rem; border-radius: .375rem; font: 700 11px var(--vl-mono); }
.tl-vl-chip--fba, .tl-vl-chip--fehlt { color: var(--vl-fba-t); background: color-mix(in srgb, var(--vl-fba) 12%, transparent); border: 1px solid color-mix(in srgb, var(--vl-fba) 30%, transparent); }
.tl-vl-chip--fehlt { border-color: color-mix(in srgb, var(--vl-fba) 50%, transparent); }
.tl-vl-chip--eigen { color: var(--vl-eigen-t); background: color-mix(in srgb, var(--vl-eigen) 12%, transparent); border: 1px solid color-mix(in srgb, var(--vl-eigen) 30%, transparent); }
.tl-vl-chip--drop { color: var(--vl-drop-t); background: color-mix(in srgb, var(--vl-drop) 12%, transparent); border: 1px solid color-mix(in srgb, var(--vl-drop) 30%, transparent); }
.tl-vl-sub { margin-top: .125rem; font-size: 11px; color: var(--vl-dim); }
.tl-vl-feld { padding: .375rem .5rem; border-radius: .5rem; border: 1px solid var(--vl-border2); background: var(--vl-bg); color: var(--vl-text); font: 500 .8125rem var(--vl-mono); text-align: right; }
.tl-vl-feld::placeholder { color: var(--vl-dim); }
.tl-vl-feld--16 { width: 4rem; } .tl-vl-feld--24 { width: 6rem; } .tl-vl-feld--28 { width: 7rem; }
.tl-vl-feld--text { width: 11rem; text-align: left; font-family: inherit; }
.tl-vl-feld--fba-an { border-color: var(--vl-fba); color: var(--vl-fba-t); font-weight: 700; }
.tl-vl-feld--eigen { border-color: color-mix(in srgb, var(--vl-eigen) 45%, transparent); color: var(--vl-eigen-t); font-weight: 700; }
.tl-vl-feld--drop-an { border-color: var(--vl-drop); color: var(--vl-drop-t); font-weight: 700; }
.tl-vl-feld--fehlt { border-color: color-mix(in srgb, var(--vl-fba) 70%, transparent); }
.tl-vl-preis { display: inline-flex; align-items: center; gap: .375rem; }
.tl-vl-kg { width: 3.25rem; border: 0; background: none; color: var(--vl-muted); font: inherit; text-align: right; padding: 0; }
.tl-vl-kg:not(:disabled):hover, .tl-vl-kg:focus { outline: 1px dashed var(--vl-border2); }
.tl-vl-gilt { display: inline-flex; padding: 2px; border-radius: .5rem; background: var(--vl-bg); border: 1px solid var(--vl-border); }
.tl-vl-gilt button { padding: .25rem .625rem; border-radius: .375rem; border: 0; background: none; font-size: 11px; color: var(--vl-muted); white-space: nowrap; }
.tl-vl-gilt button:disabled { opacity: 1; }
.tl-vl-gilt--fba button.tl-vl-an { background: var(--vl-fba); color: #090D0B; font-weight: 700; }
.tl-vl-gilt--drop button.tl-vl-an { background: var(--vl-drop); color: #fff; font-weight: 700; }
.tl-vl-badge { display: inline-flex; align-items: center; gap: .375rem; padding: .25rem .625rem; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.tl-vl-badge .tl-vl-punkt { width: 6px; height: 6px; }
.tl-vl-badge--fehlt { color: var(--vl-fba-t); background: color-mix(in srgb, var(--vl-fba) 20%, transparent); border: 1px solid color-mix(in srgb, var(--vl-fba) 45%, transparent); }
.tl-vl-badge--gruen { color: var(--vl-eigen-t); background: color-mix(in srgb, var(--vl-eigen) 15%, transparent); border: 1px solid color-mix(in srgb, var(--vl-eigen) 40%, transparent); }
.tl-vl-badge--zeit { font-family: var(--vl-mono); color: var(--vl-drop-t); background: var(--vl-card); border: 1px solid var(--vl-border); }
.tl-vl-leer { padding: 1.25rem; text-align: center; font-size: .8125rem; color: var(--vl-muted); }
.tl-vl-fehler { padding: .25rem 1.25rem; font-size: .75rem; color: #E11D48; margin: 0; }
.tl-vl-neu td { background: color-mix(in srgb, var(--vl-card) 50%, transparent); }
.tl-vl-fuss { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: .875rem 1.25rem; border-top: 1px solid var(--vl-border); background: color-mix(in srgb, var(--vl-card) 40%, transparent); }
.tl-vl-fuss--drop { justify-content: space-between; background: color-mix(in srgb, var(--vl-card) 50%, transparent); }
.tl-vl-fuss-hinweis { font-size: 11px; color: var(--vl-dim); }
.tl-vl-kunden-leiste { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; font-size: .75rem; }
.tl-vl-fuss-summe { font: 600 .75rem var(--vl-mono); color: var(--vl-fba-t); }
.tl-vl-plus { min-height: 36px; padding: 0 .875rem; border-radius: .75rem; background: none; font-size: .8125rem; font-weight: 600; }
.tl-vl-plus--eigen { color: var(--vl-eigen-t); border: 1px solid color-mix(in srgb, var(--vl-eigen) 40%, transparent); }
.tl-vl-plus--drop { color: var(--vl-drop-t); border: 1px solid color-mix(in srgb, var(--vl-drop) 40%, transparent); }
.tl-vl-knopf-gruen { min-height: 42px; padding: 0 1.25rem; border-radius: .75rem; border: 0; background: var(--vl-eigen); color: var(--vl-auf); font-size: .875rem; font-weight: 700; }
.tl-vl-knopf--klein { min-height: 32px; padding: 0 .75rem; font-size: .75rem; }
.tl-vl-knopf-leise { border: 0; background: none; color: var(--vl-muted); font-size: .75rem; text-decoration: underline; }

/* Dropshipping-Lieferanten */
.tl-vl-lieferanten { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: .875rem 1.25rem; background: color-mix(in srgb, var(--vl-card) 40%, transparent); }
.tl-vl-lieferanten-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.tl-vl-lchip { display: inline-flex; align-items: center; gap: .375rem; min-height: 34px; padding: 0 .875rem; border-radius: .75rem; background: var(--vl-card); border: 1px solid var(--vl-border); color: var(--vl-muted); font-size: .8125rem; font-weight: 600; }
.tl-vl-lchip--an { color: var(--vl-drop-h); background: color-mix(in srgb, var(--vl-drop) 20%, transparent); border-color: color-mix(in srgb, var(--vl-drop) 45%, transparent); }
.tl-vl-zahl { padding: 0 .375rem; border-radius: 999px; font-size: 10px; font-weight: 700; background: var(--vl-fba); color: #090D0B; }

/* Lager-Reiter */
.tl-vl-orte { display: flex; gap: .5rem; flex-wrap: wrap; }
.tl-vl-ortknopf { display: inline-flex; align-items: center; gap: .5rem; min-height: 36px; padding: 0 .875rem; border-radius: 999px; background: var(--vl-card); font-size: .8125rem; font-weight: 600; border: 1px solid var(--vl-border); color: var(--vl-muted); }
.tl-vl-ortknopf--eigen { color: var(--vl-eigen-t); border-color: color-mix(in srgb, var(--vl-eigen) 30%, transparent); }
.tl-vl-ortknopf--fba { color: var(--vl-fba-t); border-color: color-mix(in srgb, var(--vl-fba) 30%, transparent); }
.tl-vl-ortknopf--drop { color: var(--vl-drop-t); border-color: color-mix(in srgb, var(--vl-drop) 30%, transparent); }
.tl-vl-ortknopf--eigen .tl-vl-punkt { color: var(--vl-eigen); } .tl-vl-ortknopf--fba .tl-vl-punkt { color: var(--vl-fba); } .tl-vl-ortknopf--drop .tl-vl-punkt { color: var(--vl-drop); }
.tl-vl-ortknopf[aria-selected="true"] { background: var(--vl-eigen); border-color: var(--vl-eigen); color: var(--vl-auf); }
.tl-vl-ortknopf[aria-selected="true"] .tl-vl-punkt { color: var(--vl-auf); }
.tl-vl-artikel { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.tl-vl-name { font-weight: 600; max-width: 26rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tl-vl-sku { font: 11px var(--vl-mono); margin-top: .125rem; }
.tl-vl-tage { display: inline-flex; padding: .125rem .625rem; border-radius: 999px; font: 600 11px var(--vl-mono); white-space: nowrap;
  color: var(--vl-eigen-t); background: color-mix(in srgb, var(--vl-eigen) 15%, transparent); border: 1px solid color-mix(in srgb, var(--vl-eigen) 30%, transparent); }
.tl-vl-tage--warn { color: var(--vl-fba-t); background: color-mix(in srgb, var(--vl-fba) 20%, transparent); border-color: color-mix(in srgb, var(--vl-fba) 40%, transparent); }
.tl-vl-zulauf { display: inline-flex; padding: .125rem .625rem; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap;
  color: var(--vl-fba-h); background: color-mix(in srgb, var(--vl-fba) 15%, transparent); border: 1px solid color-mix(in srgb, var(--vl-fba) 30%, transparent); }
.tl-vl-drop-inhalt { padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.tl-vl-pillen { display: flex; gap: .5rem; flex-wrap: wrap; }
/* Linker Teil darf umbrechen, rechte Pille/Knopf bleibt in der Zeile (Entwurf: rechts bündig) */
.tl-vl-tabelle td.tl-vl-mono { white-space: nowrap; }
.tl-vl-titelzeile > :first-child, .tl-vl-orte, .tl-vl-legende, .tl-vl-warn-links, .tl-vl-zkopf-links, .tl-vl-karte-links { flex: 1 1 18rem; min-width: 0; }
@media (max-width: 640px) { .tl-vl-kopfband { padding: 1rem; } .tl-vl-segment { width: 100%; } .tl-vl-segment-knopf { flex: 1; justify-content: center; padding: 0 .75rem; } .tl-vl-karte-name { max-width: none; white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } }
@media (max-width: 640px) { .tl-vl-segment-knopf { flex: 1 1 auto; font-size: .75rem; padding: 0 .5rem; text-align: center; line-height: 1.2; } .tl-vl-segment-knopf svg { display: none; } }

/* Entwurf Tel 1239: Konten-Vorschläge aus Odoo und Reiter „Gebühren“ (tl-vz-*) */
.tl-vz-box{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:12px;margin-bottom:24px}
.tl-vz-kopf{padding:14px 20px;border-bottom:1px solid rgba(0,0,0,.07);display:flex;justify-content:space-between;align-items:center;gap:12px}
.tl-vz-kopf h2{font-weight:600;font-size:15px}
.tl-vz-inhalt{padding:16px 20px}
.tl-vz-raster{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px}
.tl-vz-lbl{font-size:13px;font-weight:500;margin-bottom:5px;display:flex;gap:6px;align-items:center}
.tl-vz-feld{border:1px solid rgba(0,0,0,.15);border-radius:8px;padding:7px 10px;font-size:13.5px;display:flex;justify-content:space-between;background:#fff}
.tl-vz-feld--leer{color:#9ca3af;border-color:#fca5a5;background:#fef2f2}
.tl-vz-pill{font-size:11px;padding:1px 7px;border-radius:999px;border:1px solid #fde68a;background:#fffbeb;color:#b45309;font-weight:500}
.tl-vz-pill--ok{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}
.tl-vz-pill--rot{border-color:#fecaca;background:#fef2f2;color:#b91c1c}
.tl-vz-hint{font-size:12px;opacity:.65;margin-top:3px}
.tl-vz-banner{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:12px 16px;font-size:13.5px;display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}
.tl-vz-knopf{border:1px solid rgba(0,0,0,.15);border-radius:8px;padding:6px 12px;font-size:13px;font-weight:600;background:#fff;white-space:nowrap}
.tl-vz-knopf--gruen{background:#10b981;color:#fff;border-color:#10b981}
.tl-vz-tab{width:100%;border-collapse:collapse;font-size:13.5px}
.tl-vz-tab th{text-align:left;font-weight:500;font-size:12px;opacity:.6;padding:8px 10px;border-bottom:1px solid rgba(0,0,0,.08)}
.tl-vz-tab td{padding:9px 10px;border-bottom:1px solid rgba(0,0,0,.06);vertical-align:top}
.tl-vz-rechts{text-align:right;font-variant-numeric:tabular-nums}
.tl-vz-link{color:#059669;font-weight:600;text-decoration:underline;font-size:13px}
.dark .tl-vz-box,.dark .tl-vz-feld,.dark .tl-vz-knopf{background:#18181b;border-color:rgba(255,255,255,.12);color:#e4e4e7}
.dark .tl-vz-feld--leer{background:#3f1d1d;border-color:#7f1d1d}
.dark .tl-vz-banner{background:#3a2a0a;border-color:#78350f;color:#fde68a}
.dark .tl-vz-kopf,.dark .tl-vz-tab th,.dark .tl-vz-tab td{border-color:rgba(255,255,255,.08)}
@media (max-width:600px){.tl-vz-raster{grid-template-columns:1fr}}

/* ===== Buchhaltung & Odoo-Übergabe – Entwurf Hasan Tel 1286 (tl-bh-*) ===== */
.tl-bh { --bh-bg: var(--tl-paper); --bh-surface: #fff; --bh-card: #FAF9F5; --bh-elev: #F1F0EA; --bh-border: var(--tl-line); --bh-border2: #D6D3C8;
  --bh-text: #15130E; --bh-muted: #5F5B50; --bh-dim: #8A8578; --bh-gruen: #059669; --bh-gruen-hover: #047857; --bh-auf-gruen: #fff;
  --bh-amber: #F59E0B; --bh-amber-text: #B45309; --bh-amber-hell: #92400E; --bh-rose: #E11D48; --bh-rose-text: #BE123C; --bh-rose-hell: #9F1239;
  --bh-mono: "JetBrains Mono", ui-monospace, monospace;
  color: var(--bh-text); font-size: .875rem; display: flex; flex-direction: column; gap: 1.5rem;
  font-family: "Inter", system-ui, sans-serif; width: 100%; max-width: 1440px; margin-inline: auto; }
.tl-bh button, .tl-bh input, .tl-bh select, .tl-bh textarea { font-family: inherit; }
/* Entwurf: Schritt-Inhalt (main p-8, max 1440) liegt bei breitem Fenster 2rem weiter innen als das Kopfband. */
@media (min-width: 1024px) { .tl-bh > .tl-bh-inhalt { padding-inline: clamp(0px, calc((100% - 1376px) / 2), 2rem); } }
.dark .tl-bh { --bh-bg: #090D0B; --bh-surface: #111815; --bh-card: #16201B; --bh-elev: #1C2922; --bh-border: #24352C; --bh-border2: #31473B;
  --bh-text: #ECFDF5; --bh-muted: #9AB0A5; --bh-dim: #647A6F; --bh-gruen: #10B981; --bh-gruen-hover: #059669; --bh-auf-gruen: #090D0B;
  --bh-amber: #F59E0B; --bh-amber-text: #FCD34D; --bh-amber-hell: #FEF3C7; --bh-rose: #EF4444; --bh-rose-text: #FDA4AF; --bh-rose-hell: #FECDD3; }
.tl-bh *, .tl-bh *::before, .tl-bh *::after { box-sizing: border-box; }
.tl-bh strong { color: var(--bh-text); font-weight: 600; }
.tl-bh-mono { font-family: var(--bh-mono); font-size: 11px; font-variant-numeric: tabular-nums; }
.tl-bh-muted { color: var(--bh-muted); } .tl-bh-dim { color: var(--bh-dim); } .tl-bh-gruen { color: var(--bh-gruen); }
.tl-bh-amber3 { color: var(--bh-amber-text); font-weight: 600; } .tl-bh-fett { font-weight: 700; } .tl-bh-halbfett { font-weight: 600; }
.tl-bh-rechts { text-align: right; }
.tl-bh-h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em; margin: 0; }
.tl-bh-h2 { font-size: 1.125rem; font-weight: 700; margin: 0; }
.tl-bh-h3 { font-size: .875rem; font-weight: 700; margin: 0; color: var(--bh-text); }
.tl-bh-text { font-size: .875rem; color: var(--bh-muted); margin: .25rem 0 0; line-height: 1.55; }
.tl-bh-klein { font-size: .75rem; color: var(--bh-muted); margin: 0; line-height: 1.6; }

/* Kopfband: Banner, Titel, Fortschritt, Schritte */
.tl-bh-kopfband { background: var(--bh-surface); border: 1px solid var(--bh-border); border-radius: 1rem; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.tl-bh-banner { border-radius: .75rem; padding: .75rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap;
  background: color-mix(in srgb, var(--bh-amber) 10%, transparent); border: 1px solid color-mix(in srgb, var(--bh-amber) 35%, transparent); }
.tl-bh-banner-links { display: flex; align-items: center; gap: .625rem; font-size: .75rem; }
.tl-bh-banner-pille { padding: .125rem .5rem; border-radius: .375rem; background: var(--bh-amber); color: #090D0B; font-weight: 700; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; flex-shrink: 0; }
.tl-bh-banner-text { color: var(--bh-amber-hell); font-weight: 500; line-height: 1.4; }
.tl-bh-banner-system { font-family: var(--bh-mono); font-size: 11px; color: var(--bh-gruen); flex-shrink: 1; min-width: 0; overflow-wrap: anywhere; }
.tl-bh-banner--aus, .tl-bh-banner--kein_ziel { background: var(--bh-card); border-color: var(--bh-border2); }
.tl-bh-banner--aus .tl-bh-banner-pille, .tl-bh-banner--kein_ziel .tl-bh-banner-pille { background: var(--bh-dim); color: var(--bh-surface); }
.tl-bh-banner--aus .tl-bh-banner-text, .tl-bh-banner--kein_ziel .tl-bh-banner-text { color: var(--bh-muted); }
.tl-bh-banner--scharf { background: color-mix(in srgb, var(--bh-gruen) 10%, transparent); border-color: color-mix(in srgb, var(--bh-gruen) 40%, transparent); }
.tl-bh-banner--scharf .tl-bh-banner-pille { background: var(--bh-gruen); color: var(--bh-auf-gruen); }
.tl-bh-banner--scharf .tl-bh-banner-text { color: var(--bh-text); }
.tl-bh-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tl-bh-unter { font-size: .875rem; color: var(--bh-muted); margin: .125rem 0 0; }
.tl-bh-unter strong { font-weight: 500; }
.tl-bh-fortschritt { width: 360px; max-width: 100%; padding: .875rem; border-radius: .75rem; background: var(--bh-card); border: 1px solid var(--bh-border); display: flex; flex-direction: column; gap: .5rem; }
.tl-bh-fortschritt-zeile { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; gap: .5rem; }
.tl-bh-fortschritt-label { font-weight: 600; }
.tl-bh-balken { height: 10px; border-radius: 999px; background: var(--bh-bg); border: 1px solid var(--bh-border); overflow: hidden; }
.tl-bh-balken-fuellung { height: 100%; border-radius: 999px; background: var(--bh-gruen); transition: width .3s; }
.tl-bh-stepper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .625rem; padding-top: .25rem; }
.tl-bh-schritt { min-height: 56px; padding: .75rem; border-radius: .75rem; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  background: var(--bh-card); border: 1px solid var(--bh-border2); color: var(--bh-text); cursor: pointer; transition: background .15s; }
.tl-bh-schritt:hover { background: var(--bh-elev); }
.tl-bh-schritt--aktiv, .tl-bh-schritt--aktiv:hover { background: color-mix(in srgb, var(--bh-gruen) 15%, transparent); border: 2px solid var(--bh-gruen); padding: calc(.75rem - 1px); }
.tl-bh-schritt-text { min-width: 0; display: flex; flex-direction: column; }
.tl-bh-schritt-nr { font-family: var(--bh-mono); font-size: 11px; color: var(--bh-muted); }
.tl-bh-schritt--aktiv .tl-bh-schritt-nr { color: var(--bh-gruen); font-weight: 600; }
.tl-bh-schritt-titel { font-size: .875rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Abzeichen und Marken */
.tl-bh-abzeichen { padding: .125rem .5rem; border-radius: .375rem; font-family: var(--bh-mono); font-size: 11px; font-weight: 600; border: 1px solid; flex-shrink: 0; white-space: nowrap; }
.tl-bh-abzeichen--rund { border-radius: 999px; padding: .125rem .625rem; font-family: inherit; }
.tl-bh-abzeichen--gruen { background: color-mix(in srgb, var(--bh-gruen) 18%, transparent); color: var(--bh-gruen); border-color: color-mix(in srgb, var(--bh-gruen) 35%, transparent); }
.tl-bh-abzeichen--amber { background: color-mix(in srgb, var(--bh-amber) 20%, transparent); color: var(--bh-amber-text); border-color: color-mix(in srgb, var(--bh-amber) 40%, transparent); font-weight: 700; }
.tl-bh-abzeichen--rose { background: color-mix(in srgb, var(--bh-rose) 18%, transparent); color: var(--bh-rose-text); border-color: color-mix(in srgb, var(--bh-rose) 38%, transparent); font-weight: 700; }
.tl-bh-abzeichen--neutral { background: var(--bh-bg); color: var(--bh-muted); border-color: var(--bh-border); }
.tl-bh-pille { padding: .125rem .5rem; border-radius: .25rem; font-size: 10px; font-weight: 700; border: 1px solid; }
.tl-bh-pille--gruen { background: color-mix(in srgb, var(--bh-gruen) 20%, transparent); color: var(--bh-gruen); border-color: color-mix(in srgb, var(--bh-gruen) 35%, transparent); }
.tl-bh-pille--neutral { font-family: var(--bh-mono); font-weight: 400; background: var(--bh-bg); color: var(--bh-dim); border-color: var(--bh-border); }
.tl-bh-empfohlen { padding: .125rem .625rem; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--bh-gruen); color: var(--bh-auf-gruen); }
.tl-bh-marke { padding: .125rem .5rem; border-radius: .25rem; font-size: 11px; font-weight: 600; }
.tl-bh-marke--gruen { background: color-mix(in srgb, var(--bh-gruen) 15%, transparent); color: var(--bh-gruen); }
.tl-bh-marke--amber { background: color-mix(in srgb, var(--bh-amber) 15%, transparent); color: var(--bh-amber-text); }
.tl-bh-punkt { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; display: inline-block; }
.tl-bh-punkt--gross { width: 10px; height: 10px; }
.tl-bh-punkt--gruen { background: var(--bh-gruen); } .tl-bh-punkt--rose { background: var(--bh-rose); }

/* Karten */
.tl-bh-inhalt { display: flex; flex-direction: column; gap: 1.5rem; }
.tl-bh-karte { border-radius: 1rem; background: var(--bh-surface); border: 1px solid var(--bh-border); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.tl-bh-karte--zeile { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 1.25rem; }
.tl-bh-kartentext { display: flex; flex-direction: column; gap: .25rem; min-width: 0; flex: 1 1 380px; }
.tl-bh-kartentext .tl-bh-text { margin: 0; }
.tl-bh-raster3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tl-bh-raster2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .875rem; }
.tl-bh-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.tl-bh-stapel { display: flex; flex-direction: column; gap: 1rem; }

/* Einrichtung & Export (Buchhaltung v3) */
.tl-bh-e-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
.tl-bh-e-wahl { text-align: left; padding: .75rem; border-radius: .75rem; background: var(--bh-card); border: 1px solid var(--bh-border2); color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: .25rem; font-size: 12px; }
.tl-bh-e-wahl:hover { background: var(--bh-elev); }
.tl-bh-e-wahl--an, .tl-bh-e-wahl--an:hover { border-color: var(--bh-gruen); background: color-mix(in srgb, var(--bh-gruen) 10%, transparent); }
.tl-bh-e-wahl--zu { cursor: not-allowed; opacity: .75; }
.tl-bh-e-feld { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.tl-bh-e-leiste { position: sticky; bottom: .75rem; z-index: 20; border-radius: 1rem; background: var(--bh-surface); border: 1px solid var(--bh-border); box-shadow: 0 10px 25px rgb(0 0 0 / .15); padding: .75rem 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.tl-bh-e-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem; }
.tl-bh-e-zahlen { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.tl-bh-e-liste { display: grid; gap: .375rem 1.5rem; font-size: 12px; max-height: 24rem; overflow-y: auto; }
.tl-bh-e-ablage { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 2rem; border: 2px dashed var(--bh-border2); border-radius: .75rem; text-align: center; cursor: pointer; }
.tl-bh-e-fehler { flex-direction: column; align-items: flex-start; }
.tl-bh-e-fall { display: grid; gap: .5rem; align-items: center; padding: .625rem 0; border-top: 1px solid var(--bh-border); font-size: 12px; }
.tl-bh-e-fall:first-child { border-top: 0; }
.tl-bh-e-gebuehr { display: grid; gap: .5rem; align-items: center; padding: .625rem 0; border-top: 1px solid var(--bh-border); }
.tl-bh-e-gebuehr > * { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) { .tl-bh-e-gebuehr { grid-template-columns: 1.4fr 1.4fr 1fr 6rem; gap: .75rem; } }
.tl-bh-e-spalten { display: flex; flex-direction: column; gap: .5rem; }
.tl-bh-e-spalte { flex-wrap: nowrap; justify-content: flex-start; gap: .5rem; }
.tl-bh-e-spalte > span { width: 6rem; flex: none; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-bh-e-spalte > .tl-bh-suche { flex: 1; min-width: 0; }
.tl-bh-e-partner { display: grid; grid-template-columns: 4rem 1fr auto; gap: .5rem; align-items: center; }
@media (min-width: 640px) { .tl-bh-e-fall { grid-template-columns: 1.1fr 1.5fr 1fr 10rem; gap: .75rem; } .tl-bh-e-liste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tl-bh-e-karten--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.tl-bh-e-offen { color: var(--bh-amber-text); font-weight: 600; }
@media (min-width: 1024px) { .tl-bh-e-karten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Auswahlkarten (Schritt 1) */
.tl-bh-wahl { text-align: left; padding: 1.25rem; border-radius: 1rem; background: var(--bh-card); border: 1px solid var(--bh-border2); cursor: pointer; display: flex; flex-direction: column; gap: .625rem; transition: background .15s; }
.tl-bh-wahl:hover { background: var(--bh-elev); }
.tl-bh-wahl--aktiv, .tl-bh-wahl--aktiv:hover { background: color-mix(in srgb, var(--bh-gruen) 10%, transparent); border: 2px solid var(--bh-gruen); }
.tl-bh-wahl.tl-bh-wahl--aktiv { padding: calc(1.25rem - 1px); }
.tl-bh-wahl-kopf { display: flex; align-items: center; justify-content: space-between; }
.tl-bh-wahl-rechts { display: flex; align-items: center; gap: .5rem; }
.tl-bh-symbol { width: 40px; height: 40px; border-radius: .75rem; background: var(--bh-bg); border: 1px solid var(--bh-border); display: flex; align-items: center; justify-content: center; color: var(--bh-muted); }
.tl-bh-symbol svg { width: 20px; height: 20px; }
.tl-bh-wahl--aktiv .tl-bh-symbol { background: color-mix(in srgb, var(--bh-gruen) 20%, transparent); border-color: color-mix(in srgb, var(--bh-gruen) 40%, transparent); color: var(--bh-gruen); }
.tl-bh-radio { width: 20px; height: 20px; border-radius: 999px; border: 2px solid var(--bh-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tl-bh-wahl--aktiv .tl-bh-radio { border-color: var(--bh-gruen); }
.tl-bh-wahl--aktiv .tl-bh-radio::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--bh-gruen); }
.tl-bh-wahl-fuss { margin-top: auto; padding-top: .375rem; }
.tl-bh-chips { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: auto; padding-top: .375rem; }
.tl-bh-chip { padding: .125rem .5rem; border-radius: .25rem; background: var(--bh-bg); border: 1px solid var(--bh-border); font-family: var(--bh-mono); font-size: 11px; color: var(--bh-muted); cursor: pointer; }
.tl-bh-chip--aktiv { border-color: var(--bh-gruen); color: var(--bh-gruen); }
.tl-bh-modus { text-align: left; padding: 1rem; border-radius: .75rem; background: var(--bh-card); border: 1px solid var(--bh-border2); cursor: pointer; display: flex; align-items: flex-start; gap: .875rem; transition: background .15s; }
.tl-bh-modus:hover { background: var(--bh-elev); }
.tl-bh-modus.tl-bh-wahl--aktiv { padding: calc(1rem - 1px); }
.tl-bh-modus .tl-bh-radio { margin-top: .125rem; }
.tl-bh-modus > div { display: flex; flex-direction: column; gap: .25rem; }
.tl-bh-modus-titel { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tl-bh-modus--bald { cursor: default; opacity: .65; background: color-mix(in srgb, var(--bh-card) 50%, transparent); border-color: var(--bh-border); user-select: none; }
.tl-bh-modus--bald:hover { background: color-mix(in srgb, var(--bh-card) 50%, transparent); }
.tl-bh-modus--bald .tl-bh-h3 { color: var(--bh-muted); } .tl-bh-modus--bald .tl-bh-klein { color: var(--bh-dim); }
.tl-bh-fussleiste, .tl-bh-nav { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding-top: .5rem; }
.tl-bh-fussleiste > .tl-bh-klein { color: var(--bh-muted); }
.tl-bh-fehlertext { color: var(--bh-rose-text); font-size: .75rem; margin: 0; }

/* Knöpfe */
.tl-bh-knopf { min-height: 44px; padding: .625rem 1.25rem; border-radius: .75rem; background: var(--bh-card); border: 1px solid var(--bh-border2); color: var(--bh-text);
  font-size: .875rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: background .15s; white-space: nowrap; }
.tl-bh-knopf:hover { background: var(--bh-elev); }
/* Im Dunkeln klar als Knopf erkennbar (Hasan Tel 2365); grüne, fertige und gesperrte Knöpfe behalten ihre Farbe. */
.dark .tl-bh-knopf:not([class*="tl-bh-knopf--gruen"], .tl-bh-knopf--fertig, .tl-bh-knopf--gesperrt) { background: #24352C; border-color: #4A6B59; }
.dark .tl-bh-knopf:not([class*="tl-bh-knopf--gruen"], .tl-bh-knopf--fertig, .tl-bh-knopf--gesperrt):hover { background: #31473B; }
.tl-bh-knopf--gruen { background: var(--bh-gruen); border-color: var(--bh-gruen); color: var(--bh-auf-gruen); font-weight: 700; padding: .625rem 1.5rem; box-shadow: 0 4px 6px -1px rgb(2 44 34 / .35); }
.tl-bh-knopf--gruen:hover { background: var(--bh-gruen-hover); }
.tl-bh-knopf--gruen:disabled { opacity: .5; cursor: not-allowed; }
.tl-bh-knopf--gross { min-height: 48px; padding: .75rem 1.5rem; }
.tl-bh-knopf--klein { min-height: 32px; padding: .25rem .75rem; font-size: .8125rem; }
.tl-bh-knopf--umriss { border-color: color-mix(in srgb, var(--bh-gruen) 50%, transparent); color: var(--bh-gruen); font-weight: 700; font-size: .75rem; padding: .625rem 1rem; }
.tl-bh-knopf--fertig, .tl-bh-knopf--fertig:hover { background: var(--bh-card); border-color: color-mix(in srgb, var(--bh-gruen) 50%, transparent); color: var(--bh-gruen); font-weight: 700; cursor: default; }
.tl-bh-knopf--gesperrt, .tl-bh-knopf--gesperrt:hover { background: var(--bh-card); border-color: var(--bh-border); color: var(--bh-dim); font-weight: 700; cursor: not-allowed; }
.tl-bh-ikon { width: 16px; height: 16px; color: var(--bh-gruen); }
.tl-bh-knopf--gruen .tl-bh-ikon { color: currentColor; }
.tl-bh-ikon--flieger { transform: rotate(90deg); }
.tl-bh-link { background: none; border: 0; padding: .25rem 0 0; color: var(--bh-gruen); font-size: .75rem; font-weight: 600; cursor: pointer; text-align: left; }
.tl-bh-link:hover { text-decoration: underline; }

/* Auswahlfelder */
.tl-bh-auswahl-rahmen { position: relative; width: 370px; max-width: 100%; flex-shrink: 0; }
.tl-bh-auswahl-rahmen--breit { width: auto; min-width: 280px; }
.tl-bh-auswahl { appearance: none; -webkit-appearance: none; width: 100%; min-height: 44px; padding: .625rem 2.5rem .625rem .875rem; border-radius: .75rem;
  background: var(--bh-card); border: 1px solid var(--bh-border2); color: var(--bh-text); font-size: .875rem; font-weight: 500; cursor: pointer; background-image: none; }
.tl-bh-auswahl:focus { outline: none; border-color: var(--bh-gruen); box-shadow: none; }
.tl-bh-auswahl--offen { border-color: color-mix(in srgb, var(--bh-amber) 60%, transparent); color: var(--bh-amber-hell); }
.tl-bh-auswahl--fett { font-size: .75rem; font-weight: 600; }
.tl-bh-auswahl--fertig { border-color: color-mix(in srgb, var(--bh-gruen) 50%, transparent); }
.tl-bh-auswahl--gruen { border-color: color-mix(in srgb, var(--bh-gruen) 60%, transparent); font-size: .875rem; }
.tl-bh-pfeil { width: 16px; height: 16px; color: var(--bh-muted); pointer-events: none; position: absolute; right: .875rem; top: 50%; transform: translateY(-50%); }

/* Schritt 2 */
.tl-bh-stammdaten { border-radius: 1rem; background: var(--bh-surface); border: 1px solid var(--bh-border); padding: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tl-bh-stammdaten-links { display: flex; align-items: flex-start; gap: .5rem; }
.tl-bh-stammdaten-links > .tl-bh-punkt { margin-top: .375rem; }
.tl-bh-stammdaten-links .tl-bh-fett { font-size: .875rem; }
.tl-bh-stammdaten-zahlen { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-family: var(--bh-mono); font-size: .75rem; color: var(--bh-muted); margin-top: .25rem; }
.tl-bh-stammdaten .tl-bh-knopf { min-height: 42px; padding: .5rem 1rem; }
.tl-bh-assistent { border-radius: 1rem; padding: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: linear-gradient(to right, color-mix(in srgb, var(--bh-gruen) 15%, var(--bh-card)), var(--bh-card), var(--bh-card)); border: 2px solid color-mix(in srgb, var(--bh-gruen) 50%, transparent); }
.tl-bh-assistent-symbol { width: 44px; height: 44px; border-radius: 1rem; background: var(--bh-gruen); color: var(--bh-auf-gruen); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tl-bh-assistent-symbol svg { width: 24px; height: 24px; }
.tl-bh-assistent-text { flex: 1 1 400px; display: flex; flex-direction: column; gap: .25rem; }
.tl-bh-assistent-text .tl-bh-h3 { font-size: 1rem; }
.tl-bh-assistent-text .tl-bh-klein { font-size: .875rem; }
.tl-bh-assistent .tl-bh-knopf { min-height: 48px; }
.tl-bh-gruppe { border-radius: 1rem; background: var(--bh-surface); border: 1px solid var(--bh-border); overflow: hidden; }
.tl-bh-gruppe-kopf { padding: 1rem 1.25rem; background: color-mix(in srgb, var(--bh-card) 70%, transparent); border-bottom: 1px solid var(--bh-border); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tl-bh-gruppe-kopf .tl-bh-h2 { font-size: 1rem; }
.tl-bh-gruppe-kopf .tl-bh-klein { margin-top: .125rem; }
.tl-bh-gruppe-kopf .tl-bh-mono { font-size: .75rem; white-space: nowrap; }
.tl-bh-zeilen > * + * { border-top: 1px solid var(--bh-border); }
.tl-bh-konto { padding: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--bh-surface); }
.tl-bh-konto--offen { background: color-mix(in srgb, var(--bh-amber) 3%, var(--bh-surface)); }
.tl-bh-konto-text { max-width: 42rem; display: flex; flex-direction: column; gap: .25rem; }
.tl-bh-konto-titel { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .625rem; }
.tl-bh-konto-text .tl-bh-mono { margin: 0; }

/* Schritt 3 */
.tl-bh-umschalter { display: inline-flex; padding: .25rem; border-radius: .75rem; background: var(--bh-bg); border: 1px solid var(--bh-border); font-size: .75rem; }
.tl-bh-umschalter-knopf { min-height: 36px; padding: .375rem .75rem; border-radius: .5rem; border: 1px solid transparent; background: none; color: var(--bh-muted); font-weight: 500; cursor: pointer; }
.tl-bh-umschalter-knopf:hover { color: var(--bh-text); }
.tl-bh-umschalter-knopf--aktiv { background: var(--bh-card); color: var(--bh-gruen); border-color: color-mix(in srgb, var(--bh-gruen) 40%, transparent); font-weight: 600; }
.tl-bh-karte--zeile .tl-bh-knopf--gruen, .tl-bh-karte--zeile .tl-bh-knopf--fertig, .tl-bh-karte--zeile .tl-bh-knopf--gesperrt { font-size: .875rem; padding: .625rem 1.25rem; }
.tl-bh-leer { border-radius: 1rem; background: var(--bh-surface); border: 1px solid color-mix(in srgb, var(--bh-gruen) 40%, transparent); padding: 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.tl-bh-leer-symbol { width: 48px; height: 48px; border-radius: 1rem; background: color-mix(in srgb, var(--bh-gruen) 20%, transparent); color: var(--bh-gruen); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 700; }
.tl-bh-leer .tl-bh-h3 { font-size: 1rem; }
.tl-bh-gebgruppe { border-radius: 1rem; background: var(--bh-surface); border: 1px solid var(--bh-border); overflow: hidden; }
.tl-bh-gebgruppe--fertig { border-color: color-mix(in srgb, var(--bh-gruen) 40%, transparent); }
.tl-bh-gebgruppe-kopf { padding: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tl-bh-gebgruppe-text { max-width: 42rem; display: flex; flex-direction: column; gap: .375rem; flex: 1 1 320px; }
.tl-bh-gebgruppe-text .tl-bh-h3 { font-size: 1rem; }
.tl-bh-gebgruppe-wahl { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; flex-wrap: wrap; }
.tl-bh-codes { border-top: 1px solid var(--bh-border); background: color-mix(in srgb, var(--bh-bg) 60%, transparent); }
.tl-bh-codes > * + * { border-top: 1px solid color-mix(in srgb, var(--bh-border) 70%, transparent); }
.tl-bh-code { padding: .75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .75rem; flex-wrap: wrap; }
.tl-bh-code > :first-child { flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; }
.tl-bh-code .tl-bh-mono { margin-top: .125rem; display: block; }
.tl-bh-code-rechts { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.tl-bh-code-sperre { max-width: 280px; }
.tl-bh-auswahl-rahmen--art { width: 280px; }
.tl-bh-code-rechts .tl-bh-mono { margin: 0; font-size: .75rem; }

/* Schritt 4 */
.tl-bh-monatbox { display: flex; align-items: center; gap: .5rem; padding: .5rem .875rem; border-radius: .75rem; background: var(--bh-card); border: 1px solid var(--bh-border); font-size: .75rem; }
.tl-bh-monatwahl { appearance: auto; background: transparent; border: 0; color: var(--bh-text); font-weight: 700; font-size: .75rem; cursor: pointer; padding: 0 1.5rem 0 0; }
.tl-bh-monatwahl:focus { outline: none; box-shadow: none; }
.tl-bh-monatwahl option { background: var(--bh-card); color: var(--bh-text); }
.tl-bh-fehler { border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem;
  background: color-mix(in srgb, var(--bh-rose) 10%, transparent); border: 2px solid color-mix(in srgb, var(--bh-rose) 45%, transparent); }
.tl-bh-fehler-oben { display: flex; align-items: flex-start; gap: .875rem; }
.tl-bh-fehler-symbol { width: 44px; height: 44px; border-radius: 1rem; background: color-mix(in srgb, var(--bh-rose) 20%, transparent); border: 1px solid color-mix(in srgb, var(--bh-rose) 40%, transparent);
  color: var(--bh-rose-text); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.125rem; flex-shrink: 0; }
.tl-bh-fehler-inhalt { display: flex; flex-direction: column; gap: .375rem; align-items: flex-start; min-width: 0; }
.tl-bh-fehler-inhalt .tl-bh-text { margin: 0; max-width: 48rem; }
.tl-bh-fehler-pille { display: inline-flex; padding: .125rem .625rem; border-radius: .375rem; background: color-mix(in srgb, var(--bh-rose) 20%, transparent); color: var(--bh-rose-hell); font-size: 11px; font-weight: 700; }
.tl-bh-liste { margin: 0; padding-left: 1.125rem; color: var(--bh-muted); font-size: .875rem; list-style: disc; }
.tl-bh-loesung { padding: 1rem; border-radius: .75rem; background: var(--bh-surface); border: 1px solid var(--bh-border); display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.tl-bh-loesung-feld { flex: 1 1 320px; }
.tl-bh-loesung-label { display: block; font-size: .75rem; font-weight: 700; color: var(--bh-text); margin-bottom: .375rem; }
.tl-bh-erfolg { border-radius: 1rem; padding: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: color-mix(in srgb, var(--bh-gruen) 15%, transparent); border: 2px solid color-mix(in srgb, var(--bh-gruen) 50%, transparent); }
.tl-bh-erfolg-symbol { width: 44px; height: 44px; border-radius: 1rem; background: var(--bh-gruen); color: var(--bh-auf-gruen); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; flex-shrink: 0; }
.tl-bh-erfolg .tl-bh-fehler-oben { flex: 1 1 400px; }
.tl-bh-dateien { border-radius: 1rem; background: var(--bh-surface); border: 1px solid var(--bh-border); overflow: hidden; }
.tl-bh-dateien-kopf { width: 100%; padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: none; border: 0; color: var(--bh-text); cursor: pointer; text-align: left; }
.tl-bh-dateien-kopf:hover { background: color-mix(in srgb, var(--bh-card) 60%, transparent); }
.tl-bh-dateien-links { display: flex; align-items: center; gap: .75rem; font-size: .875rem; }
.tl-bh-umschalt-text { font-size: .75rem; font-weight: 600; color: var(--bh-gruen); white-space: nowrap; }
.tl-bh-dateien-liste { border-top: 1px solid var(--bh-border); max-height: 340px; overflow-y: auto; }
.tl-bh-dateien-liste > * + * { border-top: 1px solid var(--bh-border); }
.tl-bh-datei { padding: .75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .75rem; }
.tl-bh-datei .tl-bh-mono { font-size: .75rem; }

/* Schritt 5 */
.tl-bh-suche { min-height: 42px; padding: .5rem 1rem .5rem .875rem; border-radius: .75rem; background: var(--bh-card); border: 1px solid var(--bh-border); color: var(--bh-text); font-size: .75rem; width: 240px; }
.tl-bh-suche::placeholder { color: var(--bh-dim); }
.tl-bh-suche:focus { outline: none; border-color: var(--bh-gruen); box-shadow: none; }
.tl-bh-tabelle-rahmen { border-radius: 1rem; background: var(--bh-surface); border: 1px solid var(--bh-border); overflow: hidden; }
.tl-bh-tabelle-scroll { overflow-x: auto; }
.tl-bh-tabelle { width: 100%; min-width: 820px; border-collapse: collapse; text-align: left; font-size: .75rem; }
.tl-bh-tabelle thead tr { background: color-mix(in srgb, var(--bh-card) 80%, transparent); border-bottom: 1px solid var(--bh-border); }
.tl-bh-tabelle th { padding: .875rem .75rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--bh-muted); }
.tl-bh-tabelle td { padding: 1rem .75rem; color: var(--bh-text); font-weight: 500; }
.tl-bh-tabelle th:first-child, .tl-bh-tabelle td:first-child { padding-left: 1.25rem; }
.tl-bh-tabelle th:last-child, .tl-bh-tabelle td:last-child { padding-right: 1.25rem; }
.tl-bh-tabelle tbody tr + tr { border-top: 1px solid var(--bh-border); }
.tl-bh-tabelle tbody tr:hover { background: color-mix(in srgb, var(--bh-card) 60%, transparent); }
.tl-bh-tabelle td.tl-bh-mono { font-size: .75rem; }
.tl-bh-tabelle td.tl-bh-muted, .tl-bh-tabelle td.tl-bh-dim { color: var(--bh-muted); font-weight: 400; }
.tl-bh-ref { font-weight: 700; color: var(--bh-gruen) !important; }
.tl-bh-status { display: inline-flex; align-items: center; gap: .375rem; padding: .25rem .625rem; border-radius: 999px; font-size: 11px; font-weight: 600; border: 1px solid; white-space: nowrap; }
.tl-bh-status-punkt { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.tl-bh-status--entwurf, .tl-bh-status--gebucht { background: color-mix(in srgb, var(--bh-gruen) 15%, transparent); color: var(--bh-gruen); border-color: color-mix(in srgb, var(--bh-gruen) 35%, transparent); }
.tl-bh-status--offen { background: color-mix(in srgb, var(--bh-amber) 20%, transparent); color: var(--bh-amber-text); border-color: color-mix(in srgb, var(--bh-amber) 40%, transparent); font-weight: 700; }
.tl-bh-status--offen .tl-bh-status-punkt { background: #FBBF24; }
.tl-bh-status--fehler { background: color-mix(in srgb, var(--bh-rose) 15%, transparent); color: var(--bh-rose-text); border-color: color-mix(in srgb, var(--bh-rose) 35%, transparent); font-weight: 700; }

@media (max-width: 1023px) {
  .tl-bh-stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-bh-konto { flex-direction: column; align-items: stretch; }
  .tl-bh-auswahl-rahmen { width: 100%; }
  .tl-bh-fortschritt { width: 100%; }
}
@media (max-width: 767px) {
  .tl-bh-raster3, .tl-bh-raster2 { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .tl-bh-stepper { grid-template-columns: 1fr; }
  .tl-bh-kopfband { padding: 1rem; }
  .tl-bh-karte { padding: 1.25rem; }
  .tl-bh-h1 { font-size: 1.25rem; } .tl-bh-h2 { font-size: 1rem; }
  .tl-bh-text, .tl-bh-unter { font-size: .75rem; }
  .tl-bh-schritt-titel { font-size: .75rem; }
  .tl-bh-knopf { white-space: normal; text-align: center; }
  .tl-bh-fussleiste, .tl-bh-nav, .tl-bh-karte--zeile { flex-direction: column; align-items: stretch; }
  .tl-bh-knoepfe > *, .tl-bh-suche { width: 100%; }
  .tl-bh-gebgruppe-wahl, .tl-bh-gebgruppe-wahl > * { width: 100%; }
  .tl-bh-auswahl-rahmen--breit { min-width: 0; }
  .tl-bh-banner-links { align-items: flex-start; }
}
.tl-bh-kopf { flex-wrap: nowrap; }
.tl-bh-kopf-text { flex: 1 1 0; min-width: 0; }
.tl-bh-fortschritt { flex-shrink: 0; }
/* Schmaler Inhaltsbereich (teleint-Seitenleiste breiter als im Entwurf): Abzeichen oben rechts, Titel ganz lesbar. */
@media (min-width: 1024px) and (max-width: 1439px) {
  .tl-bh-schritt { position: relative; align-items: flex-end; }
  .tl-bh-schritt-text { width: 100%; }
  .tl-bh-schritt .tl-bh-abzeichen { position: absolute; top: .5rem; right: .5rem; }
  .tl-bh-schritt-titel { font-size: .8125rem; margin-top: .375rem; }
}
@media (max-width: 1023px) { .tl-bh-kopf { flex-wrap: wrap; } .tl-bh-kopf-text { flex-basis: 100%; } }
/* Gruppen-Konto rechts vom Text (Hasan Tel 2262): lange Kontonamen machen das Feld nicht breiter. */
@media (min-width: 1024px) {
  .tl-bh-gebgruppe-kopf { flex-wrap: nowrap; }
  .tl-bh-gebgruppe-text { flex: 1 1 0; min-width: 0; }
  .tl-bh-gebgruppe-wahl { width: 340px; flex-direction: column; align-items: stretch; }
}
.tl-bh-karte > .tl-bh-h2 + .tl-bh-text, .tl-bh-karte > .tl-bh-h2 + .tl-bh-klein { margin-top: -.75rem; }
@media (min-width: 768px) { .tl-bh-banner { flex-wrap: nowrap; } .tl-bh-banner-links { flex: 1 1 0; min-width: 0; } .tl-bh-banner-system { flex-shrink: 0; } }
@media (min-width: 768px) {
  .tl-bh-stammdaten, .tl-bh-assistent { flex-wrap: nowrap; }
  .tl-bh-stammdaten-links, .tl-bh-assistent-text { flex: 1 1 0; min-width: 0; }
  .tl-bh-stammdaten .tl-bh-knopf, .tl-bh-assistent .tl-bh-knopf { flex-shrink: 0; }
}
.tl-bh-gebgruppe .tl-bh-abzeichen--rund { font-family: var(--bh-mono); }
@media (min-width: 1024px) {
  .tl-bh-karte--zeile { flex-wrap: nowrap; }
  .tl-bh-karte--zeile > .tl-bh-kartentext { flex: 1 1 0; min-width: 0; }
  .tl-bh-karte--zeile > .tl-bh-knoepfe { flex-shrink: 0; }
}
.tl-bh-knoepfe--spalte { flex-direction: column; align-items: flex-start; }
.tl-bh-auswahl-rahmen--voll { width: 100%; }
@media (max-width: 767px) { .tl-bh-karte--zeile > .tl-bh-kartentext, .tl-bh-karte--zeile > .tl-bh-knoepfe { flex: 0 0 auto; } }

/* KI-Connector Phase A (Hasan Tel 1491–1503): Zustimmungsseite, Mandant „KI“, Betreiber „KI“. Ergänzt bestellungen-teleint.css (tl-bl-…).
   Wurzel: <div class="tl-bl tl-ki">. Dunkel ist Grundfassung, hell gilt für html ohne .dark – wie bei tl-bl. Für app/public/css/teleint.css. */
.tl-ki { display: flex; flex-direction: column; gap: 16px; }
/* Im Filament-Seitengitter (fi-page-content) schrumpft .tl-bl mit container-type + margin auto sonst auf Breite 0 */
.tl-bl.tl-ki { width: 100%; }
.tl-ki .tl-ki-titel { font-size: 15px; font-weight: 700; color: #fff; margin: 0; }
.tl-ki .tl-ki-unter { font-size: 13px; color: #8fa89b; line-height: 1.5; }
/* Umschalter aus / lesen / ändern */
.tl-ki .tl-ki-seg { display: inline-flex; padding: 3px; gap: 3px; border-radius: 10px; border: 1px solid #44594f; background: #111916; flex: none; }
.tl-ki .tl-ki-o { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 30px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 600; color: #c8d4ce; white-space: nowrap; }
.tl-ki .tl-ki-o.tl-ki-an { background: #16301f; color: #9fe0bd; box-shadow: inset 0 0 0 1px #2fa063; }
.tl-ki .tl-ki-o.tl-ki-an-aus { background: #2a2f2d; color: #e2e9e5; box-shadow: inset 0 0 0 1px #5d6f67; }
.tl-ki .tl-ki-o.tl-ki-zu { color: #5d6f67; text-decoration: line-through; text-decoration-color: transparent; opacity: .55; }
/* Bereich-Zeile: Name + Satz links, Umschalter rechts */
.tl-ki .tl-ki-bereiche { display: flex; flex-direction: column; }
.tl-ki .tl-ki-bereich { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 12px 0; border-top: 1px solid #2a3a33; flex-wrap: wrap; }
.tl-ki .tl-ki-bereich:first-child { border-top: 0; }
.tl-ki .tl-ki-bereich > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 220px; }
.tl-ki .tl-ki-bereich b { font-size: 14px; color: #fff; }
.tl-ki .tl-ki-grund { font-size: 12px; color: #f0c47a; }
/* Firmenwahl */
.tl-ki .tl-ki-firmen { display: flex; flex-direction: column; gap: 8px; }
.tl-ki .tl-ki-firma { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid #3c5148; background: #1b2622; font-size: 14px; color: #e2e9e5; }
.tl-ki .tl-ki-firma.tl-ki-an { border-color: #2fa063; background: #16301f; }
.tl-ki .tl-ki-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #5d6f67; flex: none; box-sizing: border-box; }
.tl-ki .tl-ki-firma.tl-ki-an .tl-ki-radio { border: 5px solid #2fa063; background: #fff; }
.tl-ki .tl-ki-firma small { margin-left: auto; font-size: 12px; color: #8fa89b; }
/* Hinweis grün (Sicherheit) */
.tl-ki .tl-ki-info { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: #12301f; border: 1px solid #2E8B57; font-size: 13px; color: #c6ead6; line-height: 1.5; }
.tl-ki .tl-ki-info svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.tl-ki .tl-ki-info.tl-ki-achtung { background:#33240f; border-color:#E39225; color:#f6d9a8; }
/* Vier Stufen (Hasan Telegram 1922) */
.tl-ki .tl-ki-stufen-info > div { display: flex; flex-direction: column; gap: 6px; }
.tl-ki .tl-ki-stufen-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 2px 0; }
.tl-ki .tl-ki-stufen-dl dt { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.tl-ki .tl-ki-stufen-dl dd { margin: 0; }
.tl-ki .tl-ki-empf { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: #16301f; color: #9fe0bd; }
:where(html:not(.dark)) .tl-ki .tl-ki-empf { background: #e3f3ea; color: #1d7343; }
@media (max-width: 760px) { .tl-ki .tl-ki-stufen-dl { grid-template-columns: 1fr; gap: 0; } .tl-ki .tl-ki-stufen-dl dd { margin-bottom: 6px; } }
/* Zustimmungsseite (eigenständig, wie Anmelden) */
.tl-ki-seite { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; box-sizing: border-box; }
.tl-ki .tl-ki-karte { width: 100%; max-width: 500px; background: #151c19; border: 1px solid #1f2a25; border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; }
.tl-ki .tl-ki-marke { display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 700; font-size: 18px; color: #fff; }
.tl-ki .tl-ki-logo { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: none; }
.tl-ki .tl-ki-logo--teleint { background: #2E8B57; color: #fff; }
.tl-ki .tl-ki-logo--ki { background: #24312b; border: 1px solid #44594f; color: #e2e9e5; }
.tl-ki .tl-ki-verbind { color: #5d6f67; font-size: 18px; }
.tl-ki .tl-ki-karte h1 { display: block; margin: 0; text-align: center; font-size: 22px; line-height: 1.3; color: #fff; }
.tl-ki .tl-ki-wer { text-align: center; font-size: 13px; color: #8fa89b; }
.tl-ki .tl-ki-wer b { color: #e2e9e5; font-weight: 600; }
.tl-ki .tl-ki-gruppe { display: flex; flex-direction: column; gap: 10px; }
.tl-ki .tl-ki-gruppe > label, .tl-ki .tl-ki-feldname { font-size: 13px; font-weight: 600; color: #d7e0db; }
.tl-ki .tl-ki-leiste { display: flex; gap: 10px; }
.tl-ki .tl-ki-leiste .tl-bl-knopf { flex: 1; height: 44px; font-size: 14px; }
/* Adresse zum Kopieren + Schritte */
.tl-ki .tl-ki-adresse { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tl-ki .tl-ki-adresse code { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 8px; border: 1px solid #44594f; background: #111916; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-ki .tl-ki-schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.tl-ki .tl-ki-schritte li { counter-increment: s; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #1b2622; border: 1px solid #2a3a33; font-size: 13px; color: #c8d4ce; line-height: 1.45; }
.tl-ki .tl-ki-schritte li::before { content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 50%; background: #2fa063; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tl-ki .tl-ki-schritte li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tl-ki .tl-ki-bild { width: 100%; max-width: 300px; height: auto; color: #8fa39a; }
.tl-ki .tl-ki-bild text { font-size: 11px; fill: currentColor; stroke: none; }
.tl-ki .tl-ki-bild .tl-ki-an { fill: #2fa063; stroke: none; }
.tl-ki .tl-ki-bild .tl-ki-auf { fill: #fff; }
.tl-ki .tl-ki-schritte b { color: #fff; font-weight: 600; }
/* Tabellen: am Handy jede Zeile als Karte */
.tl-ki .tl-ki-tabelle { width: 100%; border-collapse: collapse; font-size: 13px; }
.tl-ki .tl-ki-tabelle th { text-align: left; font-size: 12px; font-weight: 600; color: #8fa89b; padding: 10px 14px; border-bottom: 1px solid #2a3a33; white-space: nowrap; }
.tl-ki .tl-ki-tabelle td { padding: 12px 14px; border-bottom: 1px solid #22302a; color: #e2e9e5; vertical-align: middle; }
.tl-ki .tl-ki-tabelle tr:last-child td { border-bottom: 0; }
.tl-ki .tl-ki-tabelle .tl-ki-r { text-align: right; font-variant-numeric: tabular-nums; }
.tl-ki .tl-ki-tabelle .tl-ki-aus td { color: #8fa89b; }
.tl-ki .tl-ki-fuss { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid #2a3a33; font-size: 12px; color: #8fa89b; flex-wrap: wrap; }
.tl-ki .tl-ki-seiten { display: flex; gap: 6px; }
.tl-ki .tl-ki-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.tl-ki .tl-ki-name .tl-ki-logo { width: 26px; height: 26px; border-radius: 7px; font-size: 11px; }
/* Schalter (Sperren, Notaus) */
.tl-ki .tl-ki-schalter { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #c8d4ce; white-space: nowrap; }
.tl-ki .tl-ki-schalter i { width: 40px; height: 22px; border-radius: 999px; background: #3a4a43; position: relative; flex: none; }
.tl-ki .tl-ki-schalter i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.tl-ki .tl-ki-schalter.tl-ki-an i { background: #e5484d; }
.tl-ki .tl-ki-schalter.tl-ki-an i::after { left: 21px; }
.tl-ki .tl-ki-notaus { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; justify-content: space-between; padding: 18px 20px; border-radius: 14px; border: 1px solid #3c5148; background: #1f2b26; }
.tl-ki .tl-ki-notaus > div:first-child { display: flex; flex-direction: column; gap: 4px; flex: 1 1 320px; min-width: 0; }
.tl-ki .tl-ki-notaus b { font-size: 16px; color: #fff; }
.tl-ki .tl-ki-notaus .tl-ki-schalter { font-size: 14px; font-weight: 600; }
.tl-ki .tl-ki-notaus .tl-ki-schalter i { width: 56px; height: 30px; }
.tl-ki .tl-ki-notaus .tl-ki-schalter i::after { width: 24px; height: 24px; }
.tl-ki .tl-ki-notaus .tl-ki-schalter.tl-ki-an i::after { left: 29px; }
.tl-ki .tl-ki-notaus.tl-ki-an { border-color: #e5484d; background: #3a1614; }
.tl-ki .tl-ki-notaus.tl-ki-an b { color: #ffc0bb; }
.tl-ki .tl-ki-leer { padding: 28px 16px; text-align: center; font-size: 13px; color: #8fa89b; }
@media (max-width: 760px) {
  .tl-ki .tl-ki-schritte { grid-template-columns: minmax(0, 1fr); }
  .tl-ki .tl-ki-tabelle thead { display: none; }
  .tl-ki .tl-ki-tabelle, .tl-ki .tl-ki-tabelle tbody, .tl-ki .tl-ki-tabelle tr, .tl-ki .tl-ki-tabelle td { display: block; width: 100%; box-sizing: border-box; }
  .tl-ki .tl-ki-tabelle tr { padding: 10px 14px; border-bottom: 1px solid #2a3a33; }
  .tl-ki .tl-ki-tabelle tr:last-child { border-bottom: 0; }
  .tl-ki .tl-ki-tabelle td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: right; }
  .tl-ki .tl-ki-tabelle td::before { content: attr(data-k); color: #8fa89b; font-size: 12px; text-align: left; }
  .tl-ki .tl-ki-tabelle td.tl-ki-r { text-align: right; }
  .tl-ki .tl-ki-karte { padding: 20px 16px; }
  .tl-ki .tl-ki-bereich .tl-ki-seg { width: 100%; }
  .tl-ki .tl-ki-bereich .tl-ki-o { flex: 1; min-width: 0; }
}
/* hell */
:where(html:not(.dark)) .tl-ki .tl-ki-titel, :where(html:not(.dark)) .tl-ki .tl-ki-bereich b, :where(html:not(.dark)) .tl-ki .tl-ki-marke,
:where(html:not(.dark)) .tl-ki .tl-ki-karte h1, :where(html:not(.dark)) .tl-ki .tl-ki-name, :where(html:not(.dark)) .tl-ki .tl-ki-notaus b,
:where(html:not(.dark)) .tl-ki .tl-ki-schritte b { color: #111a16; }
:where(html:not(.dark)) .tl-ki .tl-ki-unter, :where(html:not(.dark)) .tl-ki .tl-ki-wer, :where(html:not(.dark)) .tl-ki .tl-ki-firma small,
:where(html:not(.dark)) .tl-ki .tl-ki-tabelle th, :where(html:not(.dark)) .tl-ki .tl-ki-fuss, :where(html:not(.dark)) .tl-ki .tl-ki-leer { color: #5f7268; }
:where(html:not(.dark)) .tl-ki .tl-ki-wer b, :where(html:not(.dark)) .tl-ki .tl-ki-tabelle td, :where(html:not(.dark)) .tl-ki .tl-ki-firma { color: #1c2a24; }
:where(html:not(.dark)) .tl-ki .tl-ki-tabelle .tl-ki-aus td { color: #7b8c84; }
:where(html:not(.dark)) .tl-ki .tl-ki-gruppe > label, :where(html:not(.dark)) .tl-ki .tl-ki-feldname { color: #33443c; }
:where(html:not(.dark)) .tl-ki .tl-ki-grund { color: #a85d0c; }
:where(html:not(.dark)) .tl-ki .tl-ki-seg, :where(html:not(.dark)) .tl-ki .tl-ki-adresse code { background: #f3f5f4; border-color: #c6d1cb; color: #111a16; }
:where(html:not(.dark)) .tl-ki .tl-ki-o { color: #33443c; }
:where(html:not(.dark)) .tl-ki .tl-ki-o.tl-ki-an { background: #e3f3ea; color: #1d7343; box-shadow: inset 0 0 0 1px #23874f; }
:where(html:not(.dark)) .tl-ki .tl-ki-o.tl-ki-an-aus { background: #ffffff; color: #1c2a24; box-shadow: inset 0 0 0 1px #9aaaa2; }
:where(html:not(.dark)) .tl-ki .tl-ki-o.tl-ki-zu { color: #9aaaa2; }
:where(html:not(.dark)) .tl-ki .tl-ki-bereich, :where(html:not(.dark)) .tl-ki .tl-ki-tabelle th, :where(html:not(.dark)) .tl-ki .tl-ki-fuss { border-color: #e2e8e5; }
:where(html:not(.dark)) .tl-ki .tl-ki-tabelle td { border-color: #edf1ef; }
:where(html:not(.dark)) .tl-ki .tl-ki-firma { background: #ffffff; border-color: #d3dcd7; }
:where(html:not(.dark)) .tl-ki .tl-ki-firma.tl-ki-an { background: #eef8f2; border-color: #23874f; }
:where(html:not(.dark)) .tl-ki .tl-ki-radio { border-color: #9aaaa2; }
:where(html:not(.dark)) .tl-ki .tl-ki-firma.tl-ki-an .tl-ki-radio { border-color: #23874f; }
:where(html:not(.dark)) .tl-ki .tl-ki-info { background: #eef8f2; border-color: #9fd3b5; color: #1d5a37; }
:where(html:not(.dark)) .tl-ki .tl-ki-info.tl-ki-achtung { background:#fff6e8; border-color:#e0a54b; color:#7a4b0c; }
:where(html:not(.dark)) .tl-ki .tl-ki-karte { background: #ffffff; border-color: #d3dcd7; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
:where(html:not(.dark)) .tl-ki .tl-ki-logo--ki { background: #f1f4f2; border-color: #c6d1cb; color: #1c2a24; }
:where(html:not(.dark)) .tl-ki .tl-ki-verbind { color: #9aaaa2; }
:where(html:not(.dark)) .tl-ki .tl-ki-schritte li { background: #f6f8f7; border-color: #e2e8e5; color: #33443c; }
:where(html:not(.dark)) .tl-ki .tl-ki-schritte li::before { background: #23874f; }
:where(html:not(.dark)) .tl-ki .tl-ki-schalter { color: #33443c; }
:where(html:not(.dark)) .tl-ki .tl-ki-schalter i { background: #c6d1cb; }
:where(html:not(.dark)) .tl-ki .tl-ki-schalter.tl-ki-an i { background: #d93a3f; }
:where(html:not(.dark)) .tl-ki .tl-ki-notaus { background: #ffffff; border-color: #d3dcd7; }
:where(html:not(.dark)) .tl-ki .tl-ki-notaus.tl-ki-an { background: #fff1f0; border-color: #d93a3f; }
:where(html:not(.dark)) .tl-ki .tl-ki-notaus.tl-ki-an b { color: #a3322b; }
:where(html:not(.dark)) .tl-ki .tl-ki-tabelle tr { border-color: #e2e8e5; }
.tl-ki .tl-ki-trenn { border-top: 1px solid #2a3a33; }
.tl-ki .tl-ki-zelle { display: inline-flex; align-items: center; gap: 10px; }
:where(html:not(.dark)) .tl-ki .tl-ki-trenn { border-color: #e2e8e5; }
/* Betreiber › KI: Vorgabe beim Verbinden und Rechte je Firma (Hasan Tel 1557) */
.tl-ki .tl-ki-vorgabe { padding: 16px 20px; }
.tl-ki .tl-ki-kopfzeile { display: flex; flex-direction: column; gap: 4px; padding-bottom: 8px; }
.tl-ki .tl-ki-kopfzeile b { font-size: 16px; color: #fff; }
.tl-ki .tl-ki-firmawahl { display: flex; justify-content: flex-end; }
.tl-ki .tl-ki-auswahl { height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid #44594f; background: #111916; color: #e2e9e5; font-size: 13px; max-width: 100%; }
.tl-ki .tl-ki-knopf { height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid #44594f; background: #111916; color: #c8d4ce; font-size: 13px; font-weight: 600; cursor: pointer; }
.tl-ki .tl-ki-knopf.tl-ki-eigen { border-color: #2fa063; color: #9fe0bd; }
.tl-ki .tl-ki-auf td { background: #141d19; padding: 12px 16px; }
.tl-ki .tl-ki-seg .tl-ki-o:not(.tl-ki-zu) { cursor: pointer; }
.tl-ki .tl-ki-menue .tl-ki-seg .tl-ki-o:not([wire\:click]) { cursor: default; }
:where(html:not(.dark)) .tl-ki .tl-ki-kopfzeile b { color: #111a16; }
:where(html:not(.dark)) .tl-ki .tl-ki-auswahl, :where(html:not(.dark)) .tl-ki .tl-ki-knopf { background: #ffffff; border-color: #c6d1cb; color: #1c2a24; }
:where(html:not(.dark)) .tl-ki .tl-ki-knopf.tl-ki-eigen { border-color: #23874f; color: #1d7343; }
:where(html:not(.dark)) .tl-ki .tl-ki-auf td { background: #f6f8f7; }
@media (max-width: 640px) {
  .tl-ki .tl-ki-tabelle .tl-ki-auf td { display: block; text-align: left; padding: 10px 12px; }
  .tl-ki .tl-ki-tabelle .tl-ki-auf td::before { content: none; }
  .tl-ki .tl-ki-auf .tl-ki-bereich .tl-ki-seg { width: 100%; }
  .tl-ki .tl-ki-auf .tl-ki-bereich .tl-ki-o { flex: 1; min-width: 0; padding: 0 6px; }
}
/* KI-Seite: Reiter Rechte je Menüpunkt und Reiter Änderungen (Entwurf ki-aendern.html, Hasan Tel 1724–1726, 1784, 2751) */
.tl-ki .tl-ki-kasten { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.tl-ki .tl-ki-zeile-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
@media (min-width: 761px) { .tl-ki .tl-ki-tabelle tr.tl-ki-offen td { background: #16221d; } :where(html:not(.dark)) .tl-ki .tl-ki-tabelle tr.tl-ki-offen td { background: #f1f7f3; } }
.tl-ki .tl-ki-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tl-ki .tl-ki-alt { color: #8fa89b; text-decoration: line-through; }
.tl-ki .tl-ki-neu { color: #9fe0bd; font-weight: 600; }
.tl-ki .tl-ki-gruppe-titel { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8fa89b; padding: 12px 0 2px; }
/* Rechte je Menüpunkt mit Details (Hasan Tel 1724–1726) */
.tl-ki .tl-ki-menue { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 16px; padding: 12px 0; border-top: 1px solid #2a3a33; }
.tl-ki .tl-ki-klapp { cursor: pointer; }
.tl-ki .tl-ki-klapp .tl-ki-einzel { cursor: default; }
.tl-ki .tl-ki-menue:first-child { border-top: 0; }
.tl-ki .tl-ki-menue > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tl-ki .tl-ki-menue b { font-size: 14px; color: #fff; }
.tl-ki .tl-ki-details { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #8fc1ff; white-space: nowrap; justify-self: center; }
.tl-ki .tl-ki-details svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-ki .tl-ki-details.tl-ki-offen-d svg { transform: rotate(180deg); }
.tl-ki .tl-ki-rechts { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.tl-ki .tl-ki-einzel { grid-column: 1 / -1; margin: 4px 0 0 14px; padding: 2px 0 2px 14px; border-left: 2px solid #2f4a3d; display: flex; flex-direction: column; }
.tl-ki .tl-ki-punkt { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 8px 0; border-top: 1px dashed #2a3a33; font-size: 13px; color: #c8d4ce; }
.tl-ki .tl-ki-punkt:first-child { border-top: 0; }
.tl-ki .tl-ki-punkt > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 220px; }
.tl-ki .tl-ki-punkt b { font-size: 13px; color: #fff; font-weight: 600; }
.tl-ki .tl-ki-punkt.tl-ki-abw { background: rgba(227, 146, 37, .08); margin: 0 -8px; padding: 8px; border-radius: 8px; }
/* Support #6: Zeile, deren Stand sich seit dem abgelaufenen Vorschlag geändert hat */
.tl-ki .tl-ki-tabelle tr.tl-ki-geaendert td { background: rgba(227, 146, 37, .08); }
.tl-ki .tl-ki-seg.tl-ki-klein-seg .tl-ki-o { padding: 4px 10px; font-size: 12px; }
@media (max-width: 760px) {
  .tl-ki .tl-ki-menue { grid-template-columns: minmax(0, 1fr) auto; }
  .tl-ki .tl-ki-menue .tl-ki-rechts { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .tl-ki .tl-ki-einzel { margin-left: 4px; padding-left: 10px; }
  .tl-ki .tl-ki-knoepfe .tl-bl-knopf { flex: 1; }
}
:where(html:not(.dark)) .tl-ki .tl-ki-alt, :where(html:not(.dark)) .tl-ki .tl-ki-gruppe-titel { color: #5f7268; }
:where(html:not(.dark)) .tl-ki .tl-ki-neu { color: #1d7343; }
:where(html:not(.dark)) .tl-ki .tl-ki-menue, :where(html:not(.dark)) .tl-ki .tl-ki-punkt { border-color: #e1e7e3; }
:where(html:not(.dark)) .tl-ki .tl-ki-menue b, :where(html:not(.dark)) .tl-ki .tl-ki-punkt b { color: #111a16; }
:where(html:not(.dark)) .tl-ki .tl-ki-punkt { color: #33443c; }
:where(html:not(.dark)) .tl-ki .tl-ki-details { color: #1f5fb8; }
:where(html:not(.dark)) .tl-ki .tl-ki-einzel { border-color: #cfe3d6; }
.tl-ki .tl-ki-tabelle tr.tl-ki-aufzeile > td { padding: 0 12px 14px; background: #16221d; }
.tl-ki .tl-ki-tabelle tr.tl-ki-aufzeile > td > .tl-bl-kasten { margin: 0; }
:where(html:not(.dark)) .tl-ki .tl-ki-tabelle tr.tl-ki-aufzeile > td { background: #f1f7f3; }
@media (max-width: 760px) {
  .tl-ki .tl-ki-tabelle tr.tl-ki-aufzeile { padding: 0 10px 12px; }
  .tl-ki .tl-ki-tabelle tr.tl-ki-aufzeile > td { display: block; padding: 0; text-align: left; background: none; }
  .tl-ki .tl-ki-tabelle tr.tl-ki-aufzeile > td::before { content: none; }
  .tl-ki .tl-ki-tabelle tr.tl-ki-offen { border-bottom: 0; }
}
/* Buchhaltung › Eingang, wörtlich aus docs/design/gesamt/entwurf/ki-belege.css */
.tl-ki .tl-ki-tabelle .tl-ki-hinw { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.tl-ki .tl-ki-tabelle .tl-ki-klein { display: block; font-size: 12px; color: #8fa89b; margin-top: 2px; }
.tl-ki .tl-ki-tabelle .tl-ki-summe td { font-weight: 700; color: #fff; border-top: 1px solid #3c5148; }
.tl-ki .tl-ki-angaben { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 16px; }
.tl-ki .tl-ki-angabe { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: #fff; min-width: 0; }
.tl-ki .tl-ki-angabe > span:first-child { font-size: 12px; color: #8fa89b; }
.tl-ki .tl-ki-pruef { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: #c8d4ce; }
.tl-ki .tl-ki-pruef span { display: inline-flex; align-items: center; gap: 6px; }
.tl-ki .tl-ki-ja { color: #8fd3ac; font-weight: 700; }
.tl-ki .tl-ki-nein { color: #ff9b94; font-weight: 700; }
.tl-ki .tl-ki-warn { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: 10px; background: #3a2a0c; border: 1px solid #b7791f; font-size: 13px; color: #f0c47a; line-height: 1.5; }
.tl-ki .tl-ki-warn.tl-ki-rot { background: #3a1614; border-color: #e5484d; color: #ffc0bb; }
.tl-ki .tl-ki-warn b { display: block; }
.tl-ki .tl-ki-ablage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 22px 16px; border: 2px dashed #44594f; border-radius: 12px; background: #111916; text-align: center; font-size: 13px; color: #8fa89b; }
.tl-ki .tl-ki-ablage b { font-size: 14px; color: #fff; }
.tl-ki .tl-ki-ablage svg { width: 28px; height: 28px; fill: none; stroke: #2fa063; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-ki .tl-ki-stufen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tl-ki .tl-ki-stufe { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; border: 1px solid #3c5148; background: #1b2622; font-size: 13px; color: #c8d4ce; line-height: 1.45; }
.tl-ki .tl-ki-stufe b { display: block; font-size: 14px; color: #fff; margin-bottom: 2px; }
.tl-ki .tl-ki-stufe.tl-ki-an { border-color: #2fa063; background: #16301f; }
.tl-ki .tl-ki-stufe.tl-ki-an .tl-ki-radio { border: 5px solid #2fa063; background: #fff; }
.tl-ki .tl-ki-stufe .tl-ki-radio { margin-top: 2px; }
.tl-ki .tl-ki-stufe.tl-ki-gesperrt { opacity: .55; }
.tl-ki .tl-ki-buchung { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; font-size: 13px; color: #c8d4ce; padding: 12px 14px; border-radius: 10px; background: #111916; border: 1px solid #2a3a33; }
.tl-ki .tl-ki-buchung .tl-ki-r { text-align: right; font-variant-numeric: tabular-nums; }
.tl-ki .tl-ki-buchung .tl-ki-btitel { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: #8fa89b; text-transform: uppercase; letter-spacing: .04em; padding-top: 4px; }
.tl-ki .tl-ki-buchung .tl-ki-bsumme { font-weight: 700; color: #fff; border-top: 1px solid #3c5148; padding-top: 6px; }
.tl-ki .tl-ki-felder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 16px; }
.tl-ki .tl-ki-felder label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #8fa89b; min-width: 0; }
.tl-ki .tl-ki-felder .tl-bl-eingabe, .tl-ki .tl-ki-tabelle .tl-bl-eingabe { height: 36px; color: #e9efeb; font-size: 13px; }
.tl-ki .tl-ki-tabelle .tl-bl-eingabe { min-width: 0; }
.tl-ki .tl-ki-pfeil-ab { margin-left: auto; color: #8fa89b; }
/* Aufgeklappte Zeile direkt unter ihrer Zeile (Hasan Telegram 1784) */
.tl-ki .tl-ki-zpfeil { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; color: #8fa89b; }
.tl-ki .tl-ki-zpfeil svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transform: rotate(-90deg); }
.tl-ki .tl-ki-zpfeil--auf { color: #5aa9e6; }
.tl-ki .tl-ki-zpfeil--auf svg { transform: none; }
@media (max-width: 760px) {
  .tl-ki .tl-ki-felder { grid-template-columns: 1fr 1fr; }
  .tl-ki .tl-ki-angaben { grid-template-columns: 1fr 1fr; }
  .tl-ki .tl-ki-stufen { grid-template-columns: minmax(0, 1fr); }
  .tl-ki .tl-ki-tabelle .tl-ki-summe td { border-top: 0; }
}
:where(html:not(.dark)) .tl-ki .tl-ki-tabelle .tl-ki-klein, :where(html:not(.dark)) .tl-ki .tl-ki-angabe > span:first-child,
:where(html:not(.dark)) .tl-ki .tl-ki-ablage { color: #5f7268; }
:where(html:not(.dark)) .tl-ki .tl-ki-tabelle .tl-ki-summe td, :where(html:not(.dark)) .tl-ki .tl-ki-angabe,
:where(html:not(.dark)) .tl-ki .tl-ki-ablage b, :where(html:not(.dark)) .tl-ki .tl-ki-stufe b { color: #111a16; }
:where(html:not(.dark)) .tl-ki .tl-ki-tabelle .tl-ki-summe td { border-color: #c6d1cb; }
:where(html:not(.dark)) .tl-ki .tl-ki-pruef, :where(html:not(.dark)) .tl-ki .tl-ki-stufe { color: #33443c; }
:where(html:not(.dark)) .tl-ki .tl-ki-ja { color: #1d7343; }
:where(html:not(.dark)) .tl-ki .tl-ki-nein { color: #b3261e; }
:where(html:not(.dark)) .tl-ki .tl-ki-warn { background: #fff4e2; border-color: #e0a64a; color: #7a4a0a; }
:where(html:not(.dark)) .tl-ki .tl-ki-warn.tl-ki-rot { background: #fff1f0; border-color: #d93a3f; color: #a3322b; }
:where(html:not(.dark)) .tl-ki .tl-ki-ablage { background: #f6f8f7; border-color: #c6d1cb; }
:where(html:not(.dark)) .tl-ki .tl-ki-ablage svg { stroke: #23874f; }
:where(html:not(.dark)) .tl-ki .tl-ki-stufe { background: #ffffff; border-color: #d3dcd7; }
:where(html:not(.dark)) .tl-ki .tl-ki-stufe.tl-ki-an { background: #eef8f2; border-color: #23874f; }
:where(html:not(.dark)) .tl-ki .tl-ki-stufe.tl-ki-an .tl-ki-radio { border-color: #23874f; }
:where(html:not(.dark)) .tl-ki .tl-ki-buchung .tl-ki-bsumme { color: #111a16; }
:where(html:not(.dark)) .tl-ki .tl-ki-felder label, :where(html:not(.dark)) .tl-ki .tl-ki-buchung .tl-ki-btitel { color: #5f7268; }
:where(html:not(.dark)) .tl-ki .tl-ki-buchung { background: #f6f8f7; border-color: #d3dcd7; color: #1c2a24; }
:where(html:not(.dark)) .tl-ki .tl-ki-felder .tl-bl-eingabe, :where(html:not(.dark)) .tl-ki .tl-ki-tabelle .tl-bl-eingabe { color: #1c2a24; }
:where(html:not(.dark)) .tl-ki .tl-ki-buchung .tl-ki-bsumme { border-color: #c6d1cb; }

/* Kopf je Verbindung im Reiter Rechte (Hasan Telegram 1836) */
.tl-ki .tl-ki-verb-r { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tl-ki .tl-ki-verb-zeit { display: flex; gap: 16px; font-size: 13px; color: #e2e9e5; flex-wrap: wrap; }
:where(html:not(.dark)) .tl-ki .tl-ki-verb-zeit { color: #1c2a24; }
@media (max-width: 760px) {
  .tl-ki .tl-ki-verb-r { width: 100%; justify-content: space-between; }
  .tl-ki .tl-ki-verb-zeit { flex-direction: column; gap: 2px; }
}
.tl-ki .tl-ki-verb-name { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Hasan Tel 1596–1605: „Weiter mit Google“ auf Anmelden und Registrieren */
.tl-google { display: grid; gap: .75rem; margin-bottom: .25rem; }
.tl-google-knopf { display: flex; align-items: center; justify-content: center; gap: .625rem; height: 2.5rem; border-radius: var(--tl-radius);
    border: 1px solid #D6D3D1; background: #fff; color: #1C1917; font-weight: 600; font-size: .875rem; text-decoration: none; }
.tl-google-knopf:hover { background: #F5F5F4; }
.dark .tl-google-knopf { border-color: #3F3F46; background: #18181B; color: #F5F5F4; }
.dark .tl-google-knopf:hover { background: #232D29; }
.tl-google-zustimmung { margin: 0; font-size: .75rem; color: #78716C; text-align: center; }
.dark .tl-google-zustimmung { color: #A8A29E; }
.tl-oder { display: flex; align-items: center; gap: .75rem; margin: 0; color: #A8A29E; font-size: .8125rem; }
.tl-oder::before, .tl-oder::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .4; }
.tl-google-fehler { margin: 0 0 .75rem; padding: .625rem .75rem; border-radius: var(--tl-radius); background: #FDECEA; color: #C0392B; font-size: .875rem; }
.dark .tl-google-fehler { background: #3A1512; color: #F1948A; }

/* ===== Buchhaltung v3 – Kopf, Reiter, Ausgang (docs/design/buchhaltung-v3, Hasan Tel 2164) ===== */
.tl-bh-k { gap: 1rem; max-width: none; }
.tl-bh-k-streifen { padding: 8px 14px; }
.tl-bh-k-frei { background: none; border: 0; padding: 0; font-size: .75rem; font-weight: 600; text-decoration: underline; color: var(--bh-amber-text); cursor: pointer; }
.tl-bh-k-links { display: flex; flex-direction: column; gap: .375rem; }
.tl-bh-k-titel { display: flex; align-items: center; gap: .625rem; }
.tl-bh-k-symbol { width: 32px; height: 32px; border-radius: .625rem; background: color-mix(in srgb, var(--bh-gruen) 15%, transparent); color: var(--bh-gruen); display: inline-flex; align-items: center; justify-content: center; }
.tl-bh-k-symbol svg { width: 18px; height: 18px; }
.tl-bh-k-system { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tl-bh-k-pille { display: inline-flex; align-items: center; gap: .375rem; padding: .125rem .625rem; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--bh-gruen); background: color-mix(in srgb, var(--bh-gruen) 12%, transparent); border: 1px solid color-mix(in srgb, var(--bh-gruen) 35%, transparent); }
.tl-bh-k-pille--aus { color: var(--bh-muted); background: var(--bh-card); border-color: var(--bh-border2); }
a.tl-bh-k-ki { text-decoration: none; }
.tl-bh-k-reiter { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .75rem; border-bottom: 1px solid var(--bh-border); }
.tl-bh-k-tab { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: .5rem 1rem; border-radius: .75rem; background: var(--bh-surface); border: 1px solid var(--bh-border); color: var(--bh-text); font-size: .8125rem; font-weight: 600; white-space: nowrap; text-decoration: none; flex-shrink: 0; }
/* Im Dunkeln klar als Knopf erkennbar (Hasan Tel 2365). */
.dark .tl-bh-k-tab:not(.tl-bh-k-tab--an) { background: #24352C; border-color: #4A6B59; }
.dark .tl-bh-k-tab:not(.tl-bh-k-tab--an):hover { background: #31473B; }
.tl-bh-k-tab:hover { background: var(--bh-elev); }
.tl-bh-k-tab--an, .tl-bh-k-tab--an:hover { background: #10B981; border-color: #10B981; color: #0B0F0D; }
.tl-bh-k-zahl { padding: 0 .4375rem; border-radius: 999px; font-size: 11px; line-height: 18px; font-weight: 700; background: var(--bh-elev); color: var(--bh-muted); }
.tl-bh-k-zahl--gelb { background: color-mix(in srgb, var(--bh-amber) 20%, transparent); color: var(--bh-amber-text); }
.tl-bh-k-tab--an .tl-bh-k-zahl { background: rgba(11, 15, 13, .18); color: #0B0F0D; }
/* Leiste, Monats-Ampel, Hinweis „Steuerdatei fehlt“ (Skizze Tel 2749, Hasan Tel 2754) */
.tl-bh-l { gap: .875rem; max-width: none; }
/* Hasan Tel 3533/3534: Inhalt linksbündig neben der Leiste, ganze Breite nutzen (nicht mittig auf 1440px). */
.tl-bh-l-haupt > .tl-bh { max-width: none; margin-inline: 0; }
.tl-bh-l-hinweis { display: flex; align-items: center; gap: .625rem; flex-wrap: wrap; padding: 9px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--bh-rose) 35%, transparent); background: color-mix(in srgb, var(--bh-rose) 10%, transparent); color: var(--bh-text); font-size: .8125rem; }
.tl-bh-l-amazon { color: var(--bh-gruen); font-weight: 600; text-decoration: none; margin-left: .25rem; }
.tl-bh-l-weiter { margin-left: auto; color: var(--bh-gruen); font-weight: 700; text-decoration: none; }
.tl-bh-l-raster { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: start; }
.tl-bh-l-leiste { background: var(--bh-surface); border: 1px solid var(--bh-border); border-radius: 14px; padding: 14px; }
.tl-bh-l-gruppe { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--bh-dim); margin: 4px 6px 8px; }
.tl-bh-l-gruppe--ampel { margin-top: 14px; }
.tl-bh-l-nav { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--bh-border); border-radius: 10px; margin-bottom: 6px; font-weight: 600; font-size: .8125rem; color: var(--bh-muted); text-decoration: none; }
.tl-bh-l-nav:hover { background: var(--bh-elev); }
.tl-bh-l-nav--an, .tl-bh-l-nav--an:hover { background: #10B981; border-color: #10B981; color: #052419; }
.tl-bh-l-zahl { margin-left: auto; white-space: nowrap; font-size: 11px; padding: 1px 7px; border-radius: 6px; background: color-mix(in srgb, var(--bh-amber) 15%, transparent); color: var(--bh-amber-text); }
.tl-bh-l-zahl--rot { background: color-mix(in srgb, var(--bh-rose) 15%, transparent); color: var(--bh-rose-text); }
.tl-bh-l-nav--an .tl-bh-l-zahl, .tl-bh-l-chip--an .tl-bh-l-zahl { background: rgba(0, 0, 0, .15); color: #052419; }
.tl-bh-l-monat { border: 1px solid var(--bh-border); border-radius: 10px; padding: 9px 10px; margin-bottom: 6px; background: var(--bh-card); font-size: .8125rem; }
.tl-bh-l-monat b { display: flex; justify-content: space-between; align-items: center; }
a.tl-bh-l-monat { display: block; color: inherit; text-decoration: none; }
a.tl-bh-l-monat:hover { border-color: var(--bh-gruen, #0e9f6e); }
.tl-bh-l-punkt { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: #F43F5E; }
.tl-bh-l-punkt--gruen { background: #10B981; }
.tl-bh-l-gruen { color: var(--bh-gruen); }
.tl-bh-l-gelb { color: var(--bh-amber-text); }
.tl-bh-l-rot { color: var(--bh-rose-text); }
.tl-bh-l-haupt { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.tl-bh-l-umschalter { display: flex; gap: 6px; flex-wrap: wrap; }
.tl-bh-l-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--bh-border2); border-radius: 99px; padding: 5px 11px; font-weight: 600; font-size: 12px; color: var(--bh-text); text-decoration: none; }
.tl-bh-l-chip--an { background: #10B981; border-color: #10B981; color: #052419; }
@media (max-width: 900px) { .tl-bh-l-raster { grid-template-columns: minmax(0, 1fr); } }
/* Seite Steuerdatei (Entwurf Hasan Tel 2739) */
/* Hasan Tel 4558–4569: Reiter „Regeln“ der Buchhaltung. */
.tl-bh-rg { display: flex; flex-direction: column; gap: 1.25rem; font-size: .8125rem; color: var(--bh-text); }
.tl-bh-rg .tl-bh-karte { gap: .75rem; }
.tl-bh-rg-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tl-bh-rg-kopf > div { display: flex; flex-direction: column; gap: .25rem; flex: 1 1 320px; }
.tl-bh-rg-zeile { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .75rem .875rem; border: 1px solid var(--bh-border); border-radius: .75rem; background: var(--bh-card); }
.tl-bh-rg-satz { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: .125rem; }
.tl-bh-rg-hinweis { margin: 0; padding: .625rem .875rem; border-radius: .75rem; border: 1px solid color-mix(in srgb, #F59E0B 45%, transparent); background: color-mix(in srgb, #F59E0B 12%, transparent); font-size: .75rem; line-height: 1.5; }
.tl-bh-rg-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; padding: .875rem; border: 1px dashed var(--bh-border2); border-radius: .75rem; font-size: .75rem; color: var(--bh-muted); }
.tl-bh-rg-form input, .tl-bh-rg-form select { width: 100%; min-height: 38px; padding: .375rem .625rem; border: 1px solid var(--bh-border); border-radius: .5rem; background: var(--bh-bg); color: var(--bh-text); font-size: .8125rem; }
.tl-bh-rg-knoepfe { grid-column: 1 / -1; display: flex; gap: .5rem; flex-wrap: wrap; }
.tl-bh-rg-weg { background: none; border: 0; padding: .25rem .375rem; font-size: .75rem; color: var(--bh-muted); cursor: pointer; text-decoration: underline; }
.tl-bh-rg-weg:hover { color: #EF4444; }
.tl-bh-rg .tl-bh-umschalter-knopf:disabled { cursor: default; }
.tl-bh-rg-aus { background: var(--bh-card); color: var(--bh-text); border-color: var(--bh-border2); font-weight: 600; }
.tl-bh-sd { display: flex; flex-direction: column; gap: 1.25rem; font-size: .75rem; color: var(--bh-text); }
.tl-bh-sd-ikon { width: .875rem; height: .875rem; flex-shrink: 0; }
.tl-bh-sd-fehlt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border-radius: .75rem; background: var(--bh-card); border: 1px solid var(--bh-border); border-left: 4px solid #FB7185; }
.tl-bh-sd-fehlt-text { display: flex; flex-direction: column; gap: .25rem; flex: 1 1 420px; }
.tl-bh-sd-fehlt-kopf { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tl-bh-sd-pille { display: inline-flex; align-items: center; gap: .375rem; padding: .125rem .5rem; border-radius: .375rem; font-size: 11px; font-weight: 700; letter-spacing: .03em; background: color-mix(in srgb, var(--bh-rose) 15%, transparent); color: var(--bh-rose-text); border: 1px solid color-mix(in srgb, var(--bh-rose) 30%, transparent); }
.tl-bh-sd-fehlt-titel { font-size: .875rem; font-weight: 700; }
.tl-bh-sd-fehlt-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; flex: 0 1 auto; min-width: 0; }
.tl-bh-sd-unter { color: var(--bh-muted); line-height: 1.6; margin: 0; }
.tl-bh-sd-klein { font-size: 11px; color: var(--bh-dim); margin: .125rem 0 0; }
.tl-bh-sd-umbruch { white-space: normal; max-width: 22rem; }
.tl-bh-sd-knopf { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .625rem; border-radius: .5rem; font-size: .75rem; font-weight: 600; background: var(--bh-elev); border: 1px solid var(--bh-border); color: var(--bh-text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.tl-bh-sd-knopf:hover { border-color: color-mix(in srgb, var(--bh-gruen) 40%, transparent); }
.tl-bh-sd-knopf--gruen { background: #10B981; border-color: #10B981; color: #020617; }
.tl-bh-sd-knopf--gruen:hover { background: #34D399; }
.tl-bh-sd-knopf--gruen:disabled { opacity: .5; cursor: not-allowed; }
.tl-bh-sd-knopf:disabled { opacity: .5; cursor: not-allowed; }
.tl-bh-sd-knopf--gruen-text { color: var(--bh-gruen); }
.tl-bh-sd-knopf--cyan { color: #0891B2; }
.dark .tl-bh-sd-knopf--cyan { color: #67E8F9; }
.tl-bh-sd-fehlt-knoepfe .tl-bh-sd-knopf { padding: .5rem .875rem; }
.tl-bh-sd-versteckt { display: none; }
.tl-bh-sd-reihe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem 1rem; border-radius: .75rem; background: var(--bh-elev); border: 1px solid var(--bh-border); }
.tl-bh-sd-reihe strong { color: var(--bh-gruen); }
.tl-bh-sd-link { color: var(--bh-gruen); font-weight: 600; text-decoration: none; }
.tl-bh-sd-link:hover { text-decoration: underline; }
.tl-bh-sd-kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.tl-bh-sd-kachel { padding: 1rem; border-radius: .75rem; background: var(--bh-card); border: 1px solid var(--bh-border); }
.tl-bh-sd-kachel-betrag { font-size: 1rem; font-weight: 700; margin-top: .25rem; }
.tl-bh-sd-fremd { font-weight: 600; color: #0891B2; margin-top: .125rem; }
.dark .tl-bh-sd-fremd { color: #67E8F9; }
.tl-bh-sd-kachel .tl-bh-sd-klein { margin-top: .25rem; }
.tl-bh-sd-leise { padding: .625rem 1rem; border-radius: .75rem; background: var(--bh-bg); border: 1px solid var(--bh-border); color: var(--bh-dim); }
.tl-bh-sd-leise strong { color: var(--bh-muted); }
.tl-bh-sd-leise--zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.tl-bh-sd-mono { font-family: var(--bh-mono); }
.tl-bh-sd-karte { border-radius: .75rem; background: var(--bh-card); border: 1px solid var(--bh-border); overflow: hidden; }
.tl-bh-sd-karte-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .875rem 1.25rem; border-bottom: 1px solid var(--bh-border); }
.tl-bh-sd-h2 { font-size: 1rem; font-weight: 700; margin: 0; }
.tl-bh-sd-h3 { font-size: 1.125rem; font-weight: 700; margin: .125rem 0 0; }
.tl-bh-sd-aktionen { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .375rem; }
.tl-bh-sd-aktionen--klein { gap: .25rem; flex-wrap: nowrap; }
.tl-bh-sd-aktionen--klein .tl-bh-sd-knopf { padding: .25rem .5rem; border-radius: .25rem; font-size: 11px; }
.tl-bh-sd-rollen { overflow-x: auto; }
.tl-bh-sd-tabelle { width: 100%; border-collapse: collapse; text-align: left; font-size: .75rem; }
.tl-bh-sd-tabelle > thead th { padding: .625rem .75rem; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--bh-dim); background: var(--bh-bg); border-bottom: 1px solid var(--bh-border); }
.tl-bh-sd-tabelle > tbody > tr > td { padding: .75rem; vertical-align: top; border-top: 1px solid var(--bh-border); }
.tl-bh-sd-tabelle > thead th:first-child, .tl-bh-sd-tabelle > tbody > tr > td:first-child { padding-left: 1rem; }
.tl-bh-sd-tabelle > tbody > tr:hover > td { background: color-mix(in srgb, var(--bh-elev) 60%, transparent); }
.tl-bh-sd-tabelle--eng > thead th, .tl-bh-sd-tabelle--eng > tbody > tr > td { padding: .5rem .75rem; }
.tl-bh-sd-rechts { text-align: right !important; }
.tl-bh-sd-nowrap { white-space: nowrap; }
.tl-bh-sd-fett { font-weight: 700; }
.tl-bh-sd-gruen { color: var(--bh-gruen); }
.tl-bh-sd-rot { color: var(--bh-rose-text); }
.tl-bh-sd-gelb { color: var(--bh-amber-text); margin-left: .375rem; }
.tl-bh-sd-stand { font-size: 11px; font-weight: 600; white-space: nowrap; color: var(--bh-rose-text); }
.tl-bh-sd-stand--in_odoo, .tl-bh-sd-stand--angelegt, .tl-bh-sd-stand--gebucht, .tl-bh-sd-stand--entwurf { color: var(--bh-gruen); }
/* Tel 3170: Kürzel klein hinter dem Klartext, Odoo-Stand oben auf einen Blick. */
.tl-bh-sd-kurz { font-family: var(--bh-mono); font-size: 10px; font-weight: 500; color: var(--bh-dim); margin-left: .375rem; }
.tl-bh-sd-ueberblick { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .75rem; color: var(--bh-muted); }
.tl-bh-sd-ueberblick strong { color: var(--bh-text, inherit); }
.tl-bh-sd-ueberblick .tl-bh-sd-stand { font-size: 13px; }
.tl-bh-sd-stand--neu { color: #0891B2; }
.dark .tl-bh-sd-stand--neu { color: #67E8F9; }
.tl-bh-sd-stand--teillieferung, .tl-bh-sd-stand--keine_nummer, .tl-bh-sd-stand--nicht_automatisch { color: var(--bh-amber-text); }
.tl-bh-sd-auf { margin-top: .375rem; }
.tl-bh-sd-auf summary { cursor: pointer; color: var(--bh-gruen); font-weight: 600; font-size: 11px; }
.tl-bh-sd-innen { margin-top: .375rem; border-collapse: collapse; font-size: 11px; }
.tl-bh-sd-innen td { padding: .1875rem .75rem .1875rem 0; color: var(--bh-muted); }
.tl-bh-sd-tabelle > tbody > tr > td:nth-child(2) { min-width: 10rem; }
.tl-bh-sd-tabelle > tbody > tr.tl-bh-sd-unterzeile > td { border-top: 0; padding-top: 0; }
.tl-bh-sd-innen td { white-space: nowrap; }
.tl-bh-sd-tabelle > tbody > tr > td:nth-child(n+4) { white-space: nowrap; }
.tl-bh-sd-fenster { width: 100%; max-width: 42rem; max-height: 90vh; overflow-y: auto; padding: 1.5rem; border-radius: 1rem; background: var(--bh-card); border: 1px solid color-mix(in srgb, #10B981 35%, transparent); color: var(--bh-text); font-size: .75rem; display: flex; flex-direction: column; gap: 1rem; }
.tl-bh-sd-fenster-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--bh-border); }
.tl-bh-sd-oben { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--bh-gruen); }
.tl-bh-sd-x { padding: .375rem; }
.tl-bh-sd-x .tl-bh-sd-ikon { width: 1rem; height: 1rem; }
.tl-bh-sd-rahmen { border: 1px solid var(--bh-border); border-radius: .75rem; }
.tl-bh-sd-summe { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem; border-radius: .75rem; background: var(--bh-elev); border: 1px solid var(--bh-border); }
.tl-bh-sd-ok { padding: .25rem .625rem; border-radius: 999px; font-weight: 600; background: color-mix(in srgb, #10B981 20%, transparent); color: var(--bh-gruen); }
.tl-bh-sd-fuss { display: flex; justify-content: flex-end; gap: .5rem; }
.tl-bh-sd-fuss .tl-bh-sd-knopf { padding: .5rem .875rem; }
@media (max-width: 1279px) { .tl-bh-sd-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .tl-bh-sd-kacheln { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1535px) { .tl-bh-sd-tabelle > tbody > tr > td:nth-child(3) { max-width: 9rem; white-space: normal; } .tl-bh-sd-tabelle > tbody > tr > td:nth-child(5) { white-space: normal; } .tl-bh-sd-aktionen--klein { flex-direction: column; align-items: stretch; } .tl-bh-sd-aktionen--klein .tl-bh-sd-knopf { justify-content: center; } }
.tl-bh-k-fenster { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgb(0 0 0 / .55); }
.tl-bh-k-fenster[x-cloak] { display: none; }
.tl-bh-k-kasten { width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; }
.tl-bh-a-sammel { max-width: 680px; }
.tl-bh-e-fall > .tl-bh-abzeichen { justify-self: start; }
.tl-bh-a-breit { max-width: 960px; }
.tl-bh-a-sammel .tl-bh-h2 { margin-top: .5rem; }
.tl-bh-a-voll.tl-bh-auswahl-rahmen, .tl-bh-a-voll.tl-bh-suche { width: 100%; }
.tl-bh-a-liste { display: flex; flex-direction: column; gap: .625rem; }
.tl-bh-a-zeile { border: 1px solid var(--bh-border); border-radius: .75rem; background: var(--bh-card); overflow: hidden; }
.tl-bh-a-zeile--auf { border-color: var(--bh-gruen); }
.tl-bh-a-kopf { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .75rem; align-items: center; padding: .875rem 1rem; cursor: pointer; }
.tl-bh-a-kopf > * { min-width: 0; overflow-wrap: anywhere; }
.tl-bh-a-kopf .tl-bh-klein { display: inline-block; }
.tl-bh-a-kopf--fest { cursor: default; }
.tl-bh-a-teams { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .75rem; }
.tl-bh-a-3 { grid-column: span 3; } .tl-bh-a-3 > .tl-bh-klein { display: block; }
.tl-bh-a-2 { grid-column: span 2; }
.tl-bh-a-ende { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
.tl-bh-a-pfeil { width: 16px; height: 16px; color: var(--bh-muted); transition: transform .2s; flex-shrink: 0; }
.tl-bh-a-zeile--auf .tl-bh-a-pfeil { transform: rotate(180deg); }
.tl-bh-a-inhalt { border-top: 1px solid var(--bh-border); padding: 1rem; background: var(--bh-surface); display: flex; flex-direction: column; gap: .875rem; }
.tl-bh-a-tabelle { min-width: 560px; }
.tl-bh-a-hoch { max-height: 320px; overflow-y: auto; }
.tl-bh-a-summe { display: flex; justify-content: space-between; padding: .75rem 1rem; border-radius: .75rem; color: var(--bh-gruen); background: color-mix(in srgb, var(--bh-gruen) 12%, transparent); border: 1px solid color-mix(in srgb, var(--bh-gruen) 35%, transparent); }
.tl-bh-a-leer { text-align: center; padding: 1.5rem 0; }
.tl-bh-status--bereit { background: var(--bh-elev); color: var(--bh-muted); border-color: var(--bh-border2); }
@media (max-width: 1023px) { .tl-bh-a-kopf { grid-template-columns: 1fr 1fr; } .tl-bh-a-3, .tl-bh-a-2 { grid-column: span 1; } }
@media (max-width: 639px) { .tl-bh-a-kopf { grid-template-columns: 1fr; } .tl-bh-a-kopf .tl-bh-rechts { text-align: left; } .tl-bh-a-kopf .tl-bh-a-ende { justify-content: space-between; } .tl-bh-a-sammel .tl-bh-a-tabelle { min-width: 0; } }

/* ===== Buchhaltung v3 – Marktplatz-Abrechnungen ===== */
.tl-bh-m-pillen, .tl-bh-m-leiste, .tl-bh-m-krumen, .tl-bh-m-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.tl-bh-m-pille { display: inline-flex; align-items: center; gap: .5rem; padding: .4375rem .875rem; border-radius: 999px; background: var(--bh-card); border: 1px solid var(--bh-border2); color: var(--bh-text); font-size: .75rem; font-weight: 600; cursor: pointer; }
.tl-bh-m-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--bh-gruen); }
.tl-bh-m-pille--an { background: #10B981; border-color: #10B981; color: #0B0F0D; }
.tl-bh-m-pille--an .tl-bh-m-punkt { background: #0B0F0D; }
.tl-bh-m-leiste { justify-content: space-between; border-top: 1px solid var(--bh-border); padding-top: .875rem; }
.tl-bh-m-unter { display: inline-flex; gap: .25rem; padding: .25rem; border-radius: .75rem; background: var(--bh-card); border: 1px solid var(--bh-border); overflow-x: auto; max-width: 100%; align-self: flex-start; }
.tl-bh-m-seg { padding: .375rem .75rem; border: 0; border-radius: .5rem; background: none; color: var(--bh-muted); font-size: .75rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.tl-bh-m-seg--an, .tl-bh-m-seg[aria-pressed="true"] { background: var(--bh-surface); color: var(--bh-gruen); box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.tl-bh-m-krumen { font-size: .75rem; color: var(--bh-muted); }
.tl-bh-m-krumen button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.tl-bh-m-krumen .tl-bh-m-krume--an { color: var(--bh-gruen); font-weight: 700; }
.tl-bh-m-monate { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tl-bh-m-karte { text-align: left; cursor: pointer; color: var(--bh-text); font: inherit; }
.tl-bh-m-karte:hover { border-color: var(--bh-gruen); }
.tl-bh-m-rahmen { display: flex; flex-direction: column; gap: .875rem; }
.tl-bh-m-karte--innen { display: flex; flex-direction: column; gap: .75rem; width: 100%; padding: 0; background: none; border: 0; }
.tl-bh-m-unterlagen { display: flex; flex-direction: column; gap: .5rem; padding-top: .875rem; border-top: 1px solid var(--bh-border); }
.tl-bh-m-unterlage { display: flex; align-items: center; gap: .625rem; }
@media (max-width: 767px) { .tl-bh-m-unterlage { flex-wrap: wrap; } }
.tl-bh-m-unterlage-text { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; font-size: .875rem; }
.tl-bh-m-unterlage-knoepfe { display: flex; align-items: center; gap: .625rem; white-space: nowrap; }
.tl-bh-m-kasten { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .625rem .875rem; border-radius: .75rem; background: var(--bh-card); border: 1px solid var(--bh-border); }
.tl-bh-m-betrag { color: var(--bh-gruen); font-weight: 700; white-space: nowrap; }
.tl-bh-m-block { display: block; overflow-wrap: anywhere; }
.tl-bh-m-oben { font-size: .75rem; font-weight: 600; color: var(--bh-gruen); }
.tl-bh-m-punkte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; font-size: .8125rem; }
.tl-bh-m-punkte li { display: flex; gap: .5rem; } .tl-bh-m-ok b { color: var(--bh-gruen); } .tl-bh-m-nicht b, .tl-bh-m-nicht { color: var(--bh-amber-text); }
.tl-bh-m-breit { overflow: visible; } .tl-bh-m-schmal, .tl-bh-m-mobil { display: none; flex-direction: column; gap: .625rem; }
.tl-bh-m-zeile { padding: .875rem 1rem; display: flex; flex-direction: column; gap: .625rem; overflow: visible; }
.tl-bh-m-breit .tl-bh-m-aktionen { justify-content: flex-end; flex-wrap: nowrap; }
.tl-bh-m-aktionen .tl-bh-knopf { padding: .3125rem .625rem; font-size: .75rem; min-height: 0; white-space: nowrap; }
.tl-bh-m-mehr { position: relative; } .tl-bh-m-mehr > summary, .tl-bh-m-weitere > summary { list-style: none; cursor: pointer; }
.tl-bh-m-mehr > summary::-webkit-details-marker { display: none; }
.tl-bh-m-mehr > div { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 180px; padding: .25rem; border-radius: .75rem; background: var(--bh-surface); border: 1px solid var(--bh-border2); box-shadow: 0 8px 24px rgb(0 0 0 / .2); display: flex; flex-direction: column; }
.tl-bh-m-mehr > div > * { padding: .5rem .75rem; border: 0; border-radius: .5rem; background: none; color: var(--bh-text); font-size: .75rem; text-align: left; text-decoration: none; cursor: pointer; }
.tl-bh-m-mehr > div > *:hover { background: var(--bh-elev); } .tl-bh-m-mehr > div > :disabled { color: var(--bh-dim); cursor: not-allowed; }
.tl-bh-m-weitere > summary { font-size: .8125rem; font-weight: 600; color: var(--bh-muted); } .tl-bh-m-weitere > summary::before { content: '▸ '; } .tl-bh-m-weitere[open] > summary::before { content: '▾ '; }
.tl-bh-m-hinweis { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: .75rem 1rem; border-radius: .75rem; font-size: .8125rem; border: 1px solid transparent; }
.tl-bh-m-hinweis--gelb { color: var(--bh-amber-text); background: color-mix(in srgb, var(--bh-amber) 12%, transparent); border-color: color-mix(in srgb, var(--bh-amber) 35%, transparent); }
.tl-bh-p-steuer { display: flex; flex-direction: column; gap: .5rem; padding: .75rem 1rem; border-radius: .75rem; font-size: .8125rem; color: var(--bh-amber-text); background: color-mix(in srgb, var(--bh-amber) 12%, transparent); border: 1px solid color-mix(in srgb, var(--bh-amber) 35%, transparent); }
.tl-bh-p-steuer-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding-top: .5rem; border-top: 1px solid color-mix(in srgb, var(--bh-amber) 25%, transparent); }
.tl-bh-m-hinweis--gruen { color: var(--bh-gruen); background: color-mix(in srgb, var(--bh-gruen) 10%, transparent); border-color: color-mix(in srgb, var(--bh-gruen) 35%, transparent); }
.tl-bh-m-fluss { display: flex; flex-direction: column; font-size: .8125rem; }
.tl-bh-m-fluss > div { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .625rem 0; border-bottom: 1px solid var(--bh-border); } .tl-bh-m-fluss > div:last-child { border-bottom: 0; }
.tl-bh-m-fluss > div > span { min-width: 0; overflow-wrap: anywhere; }
.tl-bh-m-fluss .tl-bh-m-fluss-summe { color: var(--bh-gruen); font-weight: 700; }
.tl-bh-m-raster4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 0; font-size: .8125rem; } .tl-bh-m-raster4 dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.tl-bh-m-link { background: none; border: 0; cursor: pointer; }
.tl-bh-m-ablage { display: flex; flex-direction: column; align-items: center; gap: .375rem; padding: 1.5rem; border: 2px dashed var(--bh-border2); border-radius: .75rem; text-align: center; position: relative; cursor: pointer; font-size: .8125rem; }
.tl-bh-m-ablage input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tl-bh-m-kacheln { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.tl-bh-m-kachel { align-items: center; background: var(--bh-card); padding: .5rem; border-radius: .625rem; border: 1px solid var(--bh-border); font-size: 11px; display: flex; flex-direction: column; gap: .125rem; }
.tl-bh-m-kachel--da { color: var(--bh-gruen); background: color-mix(in srgb, var(--bh-gruen) 10%, transparent); } .tl-bh-m-kachel--abrufbar { color: var(--bh-amber-text); background: color-mix(in srgb, var(--bh-amber) 12%, transparent); } .tl-bh-m-kachel--fehlt { color: var(--bh-rose-text); background: color-mix(in srgb, var(--bh-rose) 10%, transparent); }
.tl-bh-status--hand { color: #7C3AED; background: color-mix(in srgb, #8B5CF6 14%, transparent); border-color: color-mix(in srgb, #8B5CF6 35%, transparent); } .dark .tl-bh-status--hand { color: #C4B5FD; }
.tl-bh-m-fluss .tl-bh-mono, .tl-bh-m-tab .tl-bh-mono, .tl-bh-m-tab td.tl-bh-mono, .tl-bh-m-breit td.tl-bh-mono, .tl-bh-m-schmal .tl-bh-mono, .tl-bh-m-mobil .tl-bh-mono, .tl-bh-m-betrag.tl-bh-mono, .tl-bh-a-tabelle td.tl-bh-mono { font-family: inherit; font-size: inherit; }
.tl-bh-m-tab th, .tl-bh-m-breit th, .tl-bh-a-tabelle th { text-transform: none; letter-spacing: 0; }
.tl-bh-m-tab td { padding-top: .625rem; padding-bottom: .625rem; } .tl-bh-m-tab tfoot tr { border-top: 2px solid var(--bh-border2); } .tl-bh-m-nurmobil { display: none; } .tl-bh-fussleiste:has(> :nth-child(3)) { justify-content: flex-end; }
@media (max-width: 1279px) { .tl-bh-m-breit { display: none; } .tl-bh-m-schmal { display: flex; } }
@media (max-width: 767px) { .tl-bh-m-monate, .tl-bh-m-punkte { grid-template-columns: 1fr; } .tl-bh-m-raster4 { grid-template-columns: 1fr 1fr; } .tl-bh-m-kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tl-bh-m-tab { display: none; } .tl-bh-m-mobil, .tl-bh-m-nurmobil { display: flex; } }

/* Buchhaltung v3 › Eingang */
.tl-bh-marke--rose { background: color-mix(in srgb, var(--bh-rose) 15%, transparent); color: var(--bh-rose-text); }
.tl-bh-in-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.tl-bh-in-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.tl-bh-in-pille { display: inline-flex; gap: .375rem; min-height: 34px; align-items: center; padding: .375rem .875rem; border-radius: 999px; border: 1px solid var(--bh-border); background: var(--bh-surface); color: var(--bh-muted); font-size: .75rem; font-weight: 600; cursor: pointer; }
.tl-bh-in-pille--an { background: var(--bh-gruen); border-color: var(--bh-gruen); color: var(--bh-auf-gruen); }
.tl-bh-in-marken { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .375rem; }
.tl-bh-in-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.25rem; }
.tl-bh-in-raster > div { display: flex; flex-direction: column; gap: .875rem; min-width: 0; }
.tl-bh-in-blatt { padding: 1rem; border: 1px solid var(--bh-border); border-radius: .75rem; background: var(--bh-card); display: flex; flex-direction: column; gap: .75rem; font-size: .75rem; color: var(--bh-text); }
.tl-bh-in-zeile { display: flex; justify-content: space-between; gap: .75rem; overflow-wrap: anywhere; }
.tl-bh-in-zeile > :last-child { white-space: nowrap; }
.tl-bh-in-felder { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; color: var(--bh-muted); }
.tl-bh-in-felder label, .tl-bh-in-felder > div { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.tl-bh-in-felder strong { color: var(--bh-text); }
.tl-bh-in-felder .tl-bh-suche { width: 100%; }
.tl-bh-in-strich { border-top: 1px solid var(--bh-border); padding-top: .75rem; display: flex; flex-direction: column; gap: .375rem; }
.tl-bh-in-gesamt { font-weight: 700; color: var(--bh-gruen); font-size: .875rem; }
.tl-bh-in-warn { padding: .75rem; border-radius: .75rem; font-size: .75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; background: color-mix(in srgb, var(--bh-amber) 12%, transparent); color: var(--bh-amber-text); border: 1px solid color-mix(in srgb, var(--bh-amber) 35%, transparent); }
.tl-bh-in-warn--rot { background: color-mix(in srgb, var(--bh-rose) 12%, transparent); color: var(--bh-rose-text); border-color: color-mix(in srgb, var(--bh-rose) 35%, transparent); }
.tl-bh-in-positionen td { padding: .375rem; } .tl-bh-in-positionen .tl-bh-suche, .tl-bh-in-positionen .tl-bh-auswahl { min-height: 38px; width: 100%; padding: .375rem .625rem; }
.tl-bh-in-pos { display: flex; gap: .375rem; } .tl-bh-in-pos .tl-bh-suche:first-child { flex: 0 0 48px; width: 48px; }
.tl-bh-in-weg { border: 0; background: none; color: var(--bh-dim); cursor: pointer; padding: .375rem; } .tl-bh-in-weg:hover { color: var(--bh-rose-text); } .tl-bh-in-weg svg { width: 16px; height: 16px; }
.tl-bh-in-summen { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .75rem; color: var(--bh-muted); } .tl-bh-in-summen strong { color: var(--bh-text); } .tl-bh-in-summen b { color: var(--bh-gruen); }
.tl-bh-in-karten { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.tl-bh-in-karten > div { display: flex; gap: .75rem; padding: .875rem; border: 1px solid var(--bh-border); border-radius: .75rem; background: var(--bh-card); font-size: .75rem; color: var(--bh-muted); cursor: not-allowed; }
.tl-bh-in-karten b { display: block; color: var(--bh-text); font-size: .8125rem; }
.tl-bh-in-karten > div.tl-bh-in-an { border: 2px solid var(--bh-gruen); background: color-mix(in srgb, var(--bh-gruen) 10%, transparent); }
.tl-bh-in-ablage--zu { cursor: not-allowed; opacity: .6; } .tl-bh-in-datei { position: relative; } .tl-bh-in-datei input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; } .tl-bh-in-ablage svg { width: 28px; height: 28px; color: var(--bh-gruen); }
@media (max-width: 1023px) { .tl-bh-in-raster { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .tl-bh-in-karten, .tl-bh-in-felder { grid-template-columns: 1fr; } .tl-bh-in-marken { justify-content: flex-start; } }

/* Buchhaltung v3 › Feinschliff nach Entwurf */
.tl-bh .tl-bh-mono, .tl-bh td.tl-bh-mono, .tl-bh .tl-bh-schritt-nr, .tl-bh .tl-bh-abzeichen, .tl-bh .tl-bh-stammdaten-zahlen { font-family: inherit; }
.tl-bh .tl-ki-pruef { display: flex; flex-wrap: wrap; gap: .25rem .875rem; font-size: .75rem; color: var(--bh-muted); } .tl-bh .tl-ki-pruef > span { display: inline-flex; gap: .25rem; }
.tl-bh-m-abschluss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; } .tl-bh-m-abschluss > ul { flex: 1 1 320px; }
.tl-bh-m-mobil .tl-bh-m-kasten > b { white-space: nowrap; }
@media (max-width: 639px) {
  .tl-bh-stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-bh-schritt { position: relative; align-items: flex-end; }
  .tl-bh-schritt-text { width: 100%; }
  .tl-bh-schritt .tl-bh-abzeichen { position: absolute; top: .5rem; right: .5rem; }
  .tl-bh-schritt-titel { margin-top: .375rem; }
  .tl-bh .tl-bh-knoepfe > .tl-bh-status, .tl-bh .tl-bh-knoepfe > .tl-bh-marke, .tl-bh .tl-bh-knoepfe > .tl-bh-knopf { width: auto; }
  .tl-bh .tl-bh-knoepfe { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .tl-bh .tl-bh-knoepfe > .tl-bh-knopf { padding: .375rem .625rem; gap: .375rem; font-size: .75rem; }
  .tl-bh-in-stapel thead { display: none; } .tl-bh-in-stapel, .tl-bh-in-stapel tbody, .tl-bh-in-stapel tr { display: block; min-width: 0; width: 100%; }
  .tl-bh-in-stapel tr { padding: .5rem 0; } .tl-bh-in-stapel td { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: .5rem; padding: .25rem .75rem; border: 0; text-align: right; }
  .tl-bh-in-stapel td::before { content: attr(data-l); text-align: left; color: var(--bh-muted); }
}
.tl-bh .tl-bh-abzeichen, .tl-bh .tl-bh-marke { border-radius: 999px; }
.tl-bh .tl-bh-zielzahl { color: inherit; opacity: .7; }

/* ---- Seite „Abo“ 1:1 nach docs/design/eingang/2026-11-30-abo-zusatzpakete-tel3631.html (Hasan Tel 3631). Wurzel <div class="tl-abo">.
   Hell = html ohne .dark, dunkel = .dark – Werte aus den Tokens des Entwurfs; Tailwind-Maße umgerechnet. */
.tl-abo { --abo-card: #FFFFFF; --abo-elev: #E9F5EE; --abo-row: #F5FAF7; --abo-rand: rgba(11,31,22,.12); --abo-em: rgba(16,185,129,.38);
  --abo-text: #0B1A13; --abo-sub: #365245; --abo-dim: #607B6E;
  display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 1480px; margin: 0 auto; color: var(--abo-text); font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-variant-numeric: tabular-nums; font-size: 12px; line-height: 16px; }
.dark .tl-abo { --abo-card: #101D17; --abo-elev: #15271F; --abo-row: #0C1612; --abo-rand: rgba(167,243,208,.12); --abo-em: rgba(16,185,129,.36);
  --abo-text: #ECFDF5; --abo-sub: #B2C9BE; --abo-dim: #738D80; }
.tl-abo *, .tl-abo *::before, .tl-abo *::after { box-sizing: border-box; }
.tl-abo h1, .tl-abo h2, .tl-abo h3 { font-family: 'Archivo', 'Inter', sans-serif; margin: 0; }
.tl-abo :where(p, ul) { margin: 0; padding: 0; list-style: none; }
.tl-abo :where(button) { cursor: pointer; font: inherit; color: inherit; }
.tl-abo :where(button:disabled) { cursor: default; opacity: .5; }
.tl-abo-karte { background: var(--abo-card); border: 1px solid var(--abo-rand); }
.tl-abo-elev { background: var(--abo-elev); border: 1px solid var(--abo-em); }
.tl-abo-zeile { background: var(--abo-row); border: 1px solid var(--abo-rand); }
.tl-abo-sub { color: var(--abo-sub); } .tl-abo-dim { color: var(--abo-dim); } .tl-abo-haupt { color: var(--abo-text); }
.tl-abo-klein { font-size: 11px; line-height: 16px; } .tl-abo-mini { font-size: 10px; line-height: 14px; }
.tl-abo-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.tl-abo-stripe { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin-top: 8px; font-size: 11px; line-height: 16px; color: var(--abo-sub); text-align: center; }
.tl-abo-stripe svg { width: 12px; height: 12px; flex: none; margin-top: 2px; }
.tl-abo-stripe-marke { height: 18px; width: auto; vertical-align: -5px; margin-left: 2px; }
.tl-abo-zahlarten { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; margin-top: 6px; }
.tl-abo-zahlarten span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 26px; background: #fff; border: 1px solid var(--abo-rand, rgba(127,127,127,.35)); border-radius: 4px; }
.tl-abo-zahlarten img { max-width: 31px; max-height: 17px; }
.tl-abo-fett { font-weight: 700; } .tl-abo-halbfett { font-weight: 600; } .tl-abo-mittel { font-weight: 500; }
.tl-abo-gruen { color: #34d399; } .tl-abo-gruen-hell { color: #6ee7b7; } .tl-abo-rose { color: #fda4af; } .tl-abo-amber { color: #fcd34d; }
html:not(.dark) .tl-abo-gruen { color: #059669; } html:not(.dark) .tl-abo-gruen-hell { color: #047857; } html:not(.dark) .tl-abo-rose { color: #e11d48; } html:not(.dark) .tl-abo-amber { color: #b45309; }
.tl-abo-ueber { font-size: 10px; line-height: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--abo-dim); }
/* 1. Band + Kopf */
.tl-abo-band { border-radius: 16px; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid rgba(245,158,11,.35); background: rgba(245,158,11,.1); }
.tl-abo-band-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-abo-band-pille { padding: 2px 8px; border-radius: 4px; font-weight: 700; background: #fbbf24; color: #020617; font-size: 11px; }
.tl-abo-band-text { color: #fde68a; font-weight: 500; } html:not(.dark) .tl-abo-band-text { color: #92400e; }
.tl-abo-band-rechts { font-size: 11px; color: rgba(252,211,77,.9); } html:not(.dark) .tl-abo-band-rechts { color: #b45309; }
.tl-abo-band--rot { border-color: rgba(244,63,94,.35); background: rgba(244,63,94,.1); }
.tl-abo-band--rot .tl-abo-band-pille { background: #fb7185; }
.tl-abo-band--rot .tl-abo-band-text { color: #fecdd3; } html:not(.dark) .tl-abo-band--rot .tl-abo-band-text { color: #9f1239; }
.tl-abo-kopf { border-radius: 16px; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tl-abo-kopf-text { display: flex; flex-direction: column; gap: 2px; }
.tl-abo-kopf-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-abo-pille-verbunden { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3); }
html:not(.dark) .tl-abo-pille-verbunden { color: #047857; }
.tl-abo-h1 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.025em; padding-top: 2px; }
@media (min-width: 640px) { .tl-abo-h1 { font-size: 24px; line-height: 32px; } }
.tl-abo-kopf-knoepfe { display: flex; align-items: center; gap: 8px; }
.tl-abo-kopf-summe { display: none; font-size: 11px; padding: 6px 12px; border-radius: 12px; }
@media (min-width: 768px) { .tl-abo-kopf-summe { display: inline-block; } }
.tl-abo-knopf-thema { padding: 6px 12px; border-radius: 12px; font-weight: 600; color: var(--abo-sub); transition: border-color .15s; }
.tl-abo-knopf-thema:hover, .tl-abo-knopf-mehr:hover, .tl-abo-knopf-zeile:hover { border-color: rgba(16,185,129,.4); }
/* 2. Status */
.tl-abo-status { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .tl-abo-status { padding: 20px; } }
.tl-abo-status-oben { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.tl-abo-status-text { display: flex; flex-direction: column; gap: 6px; }
.tl-abo-h2 { font-size: 16px; line-height: 24px; font-weight: 700; }
.tl-abo-h2-klein { font-size: 14px; line-height: 20px; font-weight: 700; }
.tl-abo-pille { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tl-abo-knopf-gruen { padding: 8px 16px; border-radius: 12px; background: #10b981; color: #020617 !important; font-weight: 700; border: 0; transition: background .15s; }
.tl-abo-knopf-gruen:hover { background: #34d399; }
.tl-abo-live { border-radius: 12px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
@media (min-width: 1024px) { .tl-abo-live { flex-direction: row; align-items: center; } }
.tl-abo-live-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tl-abo-live-summen { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; flex-shrink: 0; }
.tl-abo-strich { display: none; height: 28px; width: 1px; background: var(--abo-rand); }
@media (min-width: 640px) { .tl-abo-strich { display: block; } }
.tl-abo-summe-netto { font-size: 14px; line-height: 20px; font-weight: 700; color: #6ee7b7; } html:not(.dark) .tl-abo-summe-netto { color: #047857; }
.tl-abo-summe-brutto { font-size: 16px; line-height: 24px; font-weight: 700; }
/* 3. Pakete */
.tl-abo-abschnitt { display: flex; flex-direction: column; gap: 10px; }
.tl-abo-abschnitt-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.tl-abo-link { font-size: 11px; font-weight: 600; color: #34d399; background: none; border: 0; padding: 0; text-decoration: none; }
html:not(.dark) .tl-abo-link { color: #059669; }
.tl-abo-link:hover { text-decoration: underline; }
.tl-abo-pakete { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 640px) { .tl-abo-pakete { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .tl-abo-pakete { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tl-abo-paket { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; transition: all .15s; }
.tl-abo-paket-oben { display: flex; flex-direction: column; gap: 10px; }
.tl-abo-paket-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tl-abo-pille-wahl { padding: 2px 8px; border-radius: 999px; font-size: 10px; line-height: 14px; font-weight: 700; background: #10b981; color: #020617; }
.tl-abo-pille-monat { padding: 2px 8px; border-radius: 999px; font-size: 10px; line-height: 14px; font-weight: 500; color: var(--abo-dim); }
.tl-abo-preis { font-size: 20px; line-height: 28px; font-weight: 700; color: #34d399; } html:not(.dark) .tl-abo-preis { color: #059669; }
.tl-abo-preis-klein { font-size: 16px; line-height: 24px; font-weight: 700; color: #34d399; } html:not(.dark) .tl-abo-preis-klein { color: #059669; }
.tl-abo-linie { padding-top: 8px; border-top: 1px solid var(--abo-rand); display: flex; flex-direction: column; gap: 4px; }
.tl-abo-mehrkasten { border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; line-height: 1.625; }
.tl-abo-paket-unten { padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.tl-abo-knopf-waehlen { width: 100%; padding: 8px 0; border-radius: 12px; font-weight: 700; font-size: 12px; transition: all .15s; color: #6ee7b7 !important; }
html:not(.dark) .tl-abo-knopf-waehlen { color: #047857 !important; }
.tl-abo-knopf-waehlen:hover { border-color: rgba(16,185,129,.45); }
.tl-abo-knopf-waehlen.tl-abo-knopf-gruen, html:not(.dark) .tl-abo-knopf-waehlen.tl-abo-knopf-gruen { color: #020617 !important; border: 0; }
.tl-abo-knopf-mehr { width: 100%; padding: 6px 0; border-radius: 8px; font-size: 11px; font-weight: 500; color: var(--abo-sub); background: none; border: 0; transition: color .15s; }
.tl-abo-knopf-mehr:hover { color: #6ee7b7; }
/* 4. Zusatzpakete */
.tl-abo-zusatz { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 640px) { .tl-abo-zusatz { padding: 20px; } }
.tl-abo-zusatz-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--abo-rand); padding-bottom: 12px; }
.tl-abo-zusaetze { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1024px) { .tl-abo-zusaetze { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tl-abo-zkarte { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; transition: all .15s; }
.tl-abo-zkarte-name { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.tl-abo-einheit { padding: 2px 8px; border-radius: 6px; font-size: 10px; line-height: 14px; color: #6ee7b7; flex-shrink: 0; } html:not(.dark) .tl-abo-einheit { color: #047857; }
.tl-abo-zkarte-preis { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tl-abo-zkarte-unten { padding-top: 8px; border-top: 1px solid var(--abo-rand); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tl-abo-zaehler { display: flex; align-items: center; gap: 6px; }
.tl-abo-zknopf { width: 28px; height: 28px; border-radius: 8px; font-weight: 700; padding: 0; }
.tl-abo-zknopf--plus { background: #10b981; color: #020617 !important; border: 0; } .tl-abo-zknopf--plus:hover { background: #34d399; }
.tl-abo-zahl { width: 32px; text-align: center; font-size: 14px; line-height: 20px; font-weight: 700; }
.tl-abo-knopf-zeile { padding: 6px 10px; border-radius: 8px; font-size: 11px; font-weight: 500; color: var(--abo-sub); transition: border-color .15s; }
.tl-abo-auto { border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.tl-abo-auto input { accent-color: #10b981; width: 14px; height: 14px; flex-shrink: 0; }
/* 5. Enthalten */
.tl-abo-enthalten { border-radius: 16px; overflow: hidden; }
.tl-abo-auf { width: 100%; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; background: none; border: 0; transition: background .15s; }
@media (min-width: 640px) { .tl-abo-auf { padding: 14px 20px; } }
.tl-abo-auf:hover { background: color-mix(in srgb, var(--abo-elev) 60%, transparent); }
.tl-abo-auf-pille { padding: 4px 12px; border-radius: 8px; font-size: 11px; font-weight: 600; color: #6ee7b7; flex-shrink: 0; } html:not(.dark) .tl-abo-auf-pille { color: #047857; }
.tl-abo-auf-inhalt { border-top: 1px solid var(--abo-rand); padding: 16px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .tl-abo-auf-inhalt { padding: 20px; } }
.tl-abo-spalten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 768px) { .tl-abo-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tl-abo-spalte { border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.tl-abo-spalte ul { display: flex; flex-direction: column; gap: 6px; }
.tl-abo-fair { border-radius: 12px; padding: 14px; line-height: 1.625; }
/* 6. Konto */
.tl-abo-konto { border-radius: 16px; overflow: hidden; }
.tl-abo-konto > div + div { border-top: 1px solid var(--abo-rand); }
.tl-abo-kzeile { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 640px) { .tl-abo-kzeile { padding: 16px 20px; } }
.tl-abo-kzeile-oben { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tl-abo-kzeile-text { max-width: 48rem; } .tl-abo-kzeile-text > * + * { margin-top: 2px; }
.tl-abo-kzeile-knoepfe { display: flex; align-items: center; gap: 8px; }
.tl-abo-kkasten { border-radius: 12px; padding: 12px; line-height: 1.625; }
.tl-abo-knopf-em { padding: 6px 12px; border-radius: 8px; font-weight: 600; color: #6ee7b7 !important; transition: background .15s; } html:not(.dark) .tl-abo-knopf-em { color: #047857 !important; }
.tl-abo-knopf-em:hover { background: rgba(16,185,129,.15); }
.tl-abo-knopf-amber { padding: 6px 12px; border-radius: 8px; font-weight: 600; color: #fcd34d !important; transition: border-color .15s; } html:not(.dark) .tl-abo-knopf-amber { color: #b45309 !important; }
.tl-abo-knopf-amber:hover { border-color: rgba(245,158,11,.4); }
.tl-abo-knopf-rose { padding: 6px 12px; border-radius: 8px; font-weight: 600; background: rgba(244,63,94,.15); border: 1px solid rgba(244,63,94,.35); color: #fda4af !important; transition: background .15s; }
html:not(.dark) .tl-abo-knopf-rose { color: #be123c !important; }
.tl-abo-knopf-rose:hover { background: rgba(244,63,94,.25); }
.tl-abo-tabelle { width: 100%; border-collapse: collapse; }
.tl-abo-tabelle td, .tl-abo-tabelle th { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--abo-rand); font-weight: 500; }
.tl-abo-tabelle th { color: var(--abo-dim); font-weight: 600; }
.tl-abo-tabelle .tl-abo-r { text-align: right; }

/* Hasan Tel 3356/3359: Abrechnungen je Monat mit „Was fehlt“ (Entwurf docs/design/eingang/2026-11-27-abrechnung-hasan-tel3356.html). */
.tl-bh-p { display: flex; flex-direction: column; gap: .875rem; }
.tl-bh-p-leiste { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; padding-bottom: .875rem; border-bottom: 1px solid var(--bh-border); }
.tl-bh-p-info { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem 1rem; font-size: .75rem; color: var(--bh-muted); }
.tl-bh-p-info b { color: var(--bh-text); }
.tl-bh-p-titel { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
.tl-bh-p-zeile { cursor: pointer; }
.tl-bh-p-pfeil { display: inline-block; width: .875rem; color: var(--bh-dim); font-size: .625rem; }
.tl-bh-p-marken { display: flex; flex-wrap: wrap; gap: .375rem; }
.tl-bh-p-marken .tl-bh-marke, .tl-bh-p-kontrolle .tl-bh-marke { border: 1px solid color-mix(in srgb, currentColor 35%, transparent); white-space: nowrap; }
.tl-bh-p-fremd { color: #0891B2; }
.dark .tl-bh .tl-bh-p-fremd { color: #22D3EE; }
.tl-bh-p-auf[x-cloak] { display: none; }
.tl-bh-p-kontrolle { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; font-size: .75rem; color: var(--bh-muted); }
.tl-bh-p-erledigt .tl-bh-m-monate { margin-top: .75rem; }
.tl-bh-p-vergleich td:first-child, .tl-bh-p-vergleich td:last-child { white-space: normal; }
.tl-bh-p-vergleich td:not(:first-child):not(:last-child) { white-space: nowrap; }
.tl-bh-p-vergleich { width: 100%; min-width: 26rem; }
.tl-bh-p-schritte { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-top: .625rem; border-top: 1px solid var(--bh-border); font-size: .75rem; color: var(--bh-muted); }
.tl-bh-p-schritt { display: inline-block; padding: .125rem .5rem; border-radius: 999px; border: 1px solid var(--bh-border); font-size: 11px; }
.tl-bh-p-schritt--an { background: color-mix(in srgb, var(--bh-gruen) 15%, transparent); border-color: color-mix(in srgb, var(--bh-gruen) 35%, transparent); color: var(--bh-gruen); font-weight: 600; }
.tl-bh-p-liste { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.tl-bh-p-punkt { padding: .5rem .75rem; border: 1px solid var(--bh-border); border-radius: .625rem; background: var(--bh-surface); }
.tl-bh-p-punkt-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .5rem; font-size: .75rem; }
.tl-bh-p-nr { display: inline-flex; align-items: center; justify-content: center; width: 1.125rem; height: 1.125rem; border-radius: 999px; font-size: 10px; font-weight: 700; background: color-mix(in srgb, var(--bh-gruen) 15%, transparent); color: var(--bh-gruen); }
.tl-bh-p-nr--2 { background: color-mix(in srgb, #0891B2 15%, transparent); color: #0891B2; }
.dark .tl-bh .tl-bh-p-nr--2 { color: #22D3EE; }
.tl-bh-p-vorschlag { margin-top: .25rem; padding-left: 1.75rem; font-size: 11px; color: var(--bh-gruen); }
.tl-bh-p-punkt--erledigt { border-color: color-mix(in srgb, var(--bh-gruen) 40%, transparent); }
.tl-bh-p-punkt--erledigt > .tl-bh-p-punkt-kopf { opacity: .7; }
.tl-bh-p-nehmen { margin-left: auto; font-size: .6875rem; padding: .25rem .625rem; min-height: 0; }
/* Tel 3708: ganze Punktzeile klickbar, dezenter „Details“-Knopf rechts, Bestellungen der Sammelzeile eingerückt. */
.tl-bh-p-punkt-kopf.tl-bh-p-zeile { padding: .25rem .375rem; margin: -.25rem -.375rem; border-radius: .375rem; }
.tl-bh-p-punkt-kopf.tl-bh-p-zeile:hover { background: color-mix(in srgb, var(--bh-dim) 12%, transparent); }
.tl-bh-p-punkt--kind { margin-left: 1.5rem; }
.tl-bh-p-pfeil { font-size: .75rem; }
.tl-bh-p-zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr)); gap: .75rem; align-items: start; }
.tl-bh-p-zwei > * { min-width: 0; }
.tl-bh-p-gruen { color: var(--bh-gruen); }
/* Hasan Tel 3834: Steuerbericht und Auftrag im Vergleich als grüner Link. */
.tl-bh-p-vlink { padding: 0; font-size: inherit; font-weight: 700; }
.tl-bh-p-berichtkasten { max-width: 980px; }
.tl-bh-p-buchung { display: grid; grid-template-columns: minmax(0, 1fr); gap: .375rem; border: 1px solid var(--bh-border); border-radius: .5rem; padding: .625rem; }
.tl-bh-p-bz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(4.5rem, 7rem) 5.5rem; gap: .375rem; align-items: center; }
.tl-bh-p-bz select, .tl-bh-p-bz input { width: 100%; min-width: 0; padding: .3125rem .5rem; border: 1px solid var(--bh-border); border-radius: .375rem; background: var(--bh-card); color: inherit; font-size: 11px; }
.tl-bh-p-bz input { text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tl-bh-p-bz select:disabled, .tl-bh-p-bz input:disabled { opacity: .7; }
@media (max-width: 767px) { .tl-bh-p-bz { grid-template-columns: minmax(0, 1fr) 5.5rem; } .tl-bh-p-bz > :first-child { grid-column: 1 / -1; } }
.tl-bh-p-bfuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem .75rem; margin-top: .25rem; }
.tl-bh-p-bfuss .tl-bh-knopf--gruen { font-size: .75rem; padding: .375rem 1rem; }
.tl-bh-p-karte { margin-top: .625rem; padding-top: .625rem; border-top: 1px solid var(--bh-border); display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.tl-bh-p-kt { font-size: 11px; font-weight: 700; color: var(--bh-muted); margin-bottom: .375rem; }
.tl-bh-p-vergleich td, .tl-bh-p-vergleich th { padding: .3125rem .625rem; font-size: .75rem; }
.tl-bh-p-pos td { color: var(--bh-dim); }
.tl-bh-p-diff td { border-top: 1px solid var(--bh-border2); color: var(--bh-amber-text); }
.tl-bh-p-drei { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: .75rem; }
.tl-bh-p-drei > div { padding: .625rem .75rem; border: 1px solid var(--bh-border); border-radius: .5rem; }
.tl-bh-p-dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; margin: 0; font-size: .75rem; }
.tl-bh-p-nummer { margin-top: .6rem; display: grid; gap: .35rem; } .tl-bh-p-nummer > div { display: flex; gap: .4rem; }
.tl-bh-p-nummer input { flex: 1; min-width: 0; padding: .3rem .5rem; font-size: .75rem; border: 1px solid var(--bh-border); border-radius: .375rem; background: var(--bh-bg); color: var(--bh-text); }
.tl-bh-p-dl dt { color: var(--bh-muted); } .tl-bh-p-dl dd { margin: 0; text-align: right; color: var(--bh-text); }
.tl-bh-p-protokoll { font-size: 11px; color: var(--bh-dim); }
/* Schritt 4 (Hasan Tel 3361): KI-Weg – Indigo wie im Entwurf. */
.tl-bh { --bh-ki: #4338CA; }
.dark .tl-bh { --bh-ki: #A5B4FC; }
.tl-bh-marke--ki { background: color-mix(in srgb, #6366F1 15%, transparent); color: var(--bh-ki); }
.tl-bh-knopf--ki { background: color-mix(in srgb, #6366F1 15%, transparent); border-color: color-mix(in srgb, #818CF8 35%, transparent); color: var(--bh-ki); font-weight: 600; }
.tl-bh-knopf--ki:hover { background: color-mix(in srgb, #6366F1 25%, transparent); }
.tl-bh-p-kifragen { font-size: .6875rem; padding: .25rem .625rem; min-height: 0; color: var(--bh-ki); white-space: nowrap; }
/* #638: Knopf „✦ KI fragen“ je Abrechnungspunkt, klein wie der Knopf in der Abrechnungszeile. */
.tl-bh-p-kifragen-punkt { font-size: .6875rem; padding: .25rem .625rem; min-height: 0; white-space: nowrap; margin-left: auto; }
.tl-bh-p-ki { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .375rem; padding-left: 1.75rem; font-size: 11px; font-weight: 500; color: var(--bh-ki); }
.tl-bh-p-ki .tl-bh-knopf { font-size: 11px; padding: .125rem .5rem; min-height: 0; }
.tl-bh-p-kitext { color: var(--bh-ki); }
.tl-bh-p-schluss { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem .75rem; padding-top: .625rem; border-top: 1px solid var(--bh-border); }
.tl-bh-p-schluss .tl-bh-knopf:disabled { opacity: .5; cursor: not-allowed; }
.tl-bh-p-steuer .tl-bh-knopf:disabled { opacity: .5; cursor: not-allowed; }
.tl-bh-p-export { margin-right: auto; }
/* Entwurf Tel 3356: Zähler + „Weiter mit Schritt“, „künftig immer“, „Rückgängig“, Positionen einzeilig. */
.tl-bh-p-schritte { justify-content: space-between; }
.tl-bh-p-weiter { display: flex; align-items: center; gap: .625rem; margin-left: auto; }
.tl-bh-p-weiter .tl-bh-knopf--gruen, .tl-bh-p-aktion .tl-bh-knopf--gruen { font-size: 11px; padding: .25rem .625rem; min-height: 0; box-shadow: none; }
.tl-bh-p-immer { display: inline-flex; align-items: center; gap: .375rem; margin-right: auto; font-size: 11px; color: var(--bh-muted); }
.tl-bh-p-protokoll { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.tl-bh-p-protokoll > span { min-width: 0; }
.tl-bh-p-protokoll .tl-bh-knopf { flex: none; white-space: nowrap; }
.tl-bh-p-protokoll .tl-bh-knopf { margin-left: auto; font-size: 11px; padding: .125rem .5rem; min-height: 0; }
.tl-bh-p-protokoll .tl-bh-knopf:disabled { opacity: .5; cursor: not-allowed; }
.tl-bh-p-postext { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; white-space: normal; overflow-wrap: anywhere; }
/* Hasan Tel 3798–3802: Abrechnungsliste nach dem Entwurf entwurf-abrechnung-5 – je Abrechnung eine Karte, aufgeklappt vier Blöcke; Farben teleint. */
.tl-bh-p-bereich { display: flex; flex-direction: column; gap: .75rem; min-width: 0; container-type: inline-size; font-size: .75rem; }
.tl-bh-p-alle { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; color: var(--bh-dim); }
.tl-bh-p-allein { display: flex; }
.tl-bh-p-alle .tl-bh-knopf, .tl-bh-p-zeile .tl-bh-knopf, .tl-bh-p-details { min-height: 0; padding: .25rem .625rem; border-radius: .5rem; font-size: 11px; font-weight: 500; box-shadow: none; white-space: nowrap; }
.tl-bh-p-alle .tl-bh-knopf, .tl-bh-p-details { background: var(--bh-surface); color: var(--bh-muted); }
/* teleint-616 (Hasan Tel 4386): „Details“ grün. */
.tl-bh-p-details.tl-bh-knopf--gruen { background: var(--bh-gruen); border-color: var(--bh-gruen); color: var(--bh-auf-gruen); font-weight: 700; }
.tl-bh-p-details.tl-bh-knopf--gruen:hover { background: var(--bh-gruen-hover); }
.tl-bh-p-raster { display: grid; grid-template-columns: minmax(10.5rem, 1.3fr) 5.5rem 5.3rem 1.6rem 5.6rem minmax(0, 1.5fr) 9.5rem; gap: .5rem; align-items: center; padding: .75rem 1rem; }
.tl-bh-p-raster > * { min-width: 0; }
.tl-bh-p-spalten { padding-top: .625rem; padding-bottom: .625rem; border: 1px solid var(--bh-border); border-radius: .75rem; background: var(--bh-surface); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--bh-dim); }
.tl-bh-p-spalten > :first-child { padding-left: 1.5rem; }
.tl-bh-p-abr { border: 1px solid var(--bh-border); border-radius: .75rem; background: var(--bh-surface); overflow: hidden; }
.tl-bh-p-abr > .tl-bh-p-zeile:hover { background: color-mix(in srgb, var(--bh-card) 60%, transparent); }
.tl-bh-p-land { display: flex; align-items: center; gap: .5rem; }
.tl-bh-p-land b { font-size: .875rem; font-weight: 700; color: var(--bh-text); min-width: 0; overflow-wrap: anywhere; }
.tl-bh-p-land .tl-bh-p-pfeil { flex: none; width: 1rem; font-size: .625rem; }
.tl-bh-p-kuerzel { flex: none; padding: .125rem .375rem; border-radius: .25rem; font-size: 10px; font-weight: 700; letter-spacing: .05em; color: var(--bh-gruen); background: color-mix(in srgb, var(--bh-gruen) 15%, transparent); border: 1px solid color-mix(in srgb, var(--bh-gruen) 35%, transparent); }
.tl-bh-p-kuerzel--es, .tl-bh-p-kuerzel--se, .tl-bh-p-kuerzel--pl { color: var(--bh-amber-text); background: color-mix(in srgb, var(--bh-amber) 15%, transparent); border-color: color-mix(in srgb, var(--bh-amber) 40%, transparent); }
.tl-bh-p-kuerzel--fr, .tl-bh-p-kuerzel--nl { color: #0369A1; background: color-mix(in srgb, #0EA5E9 15%, transparent); border-color: color-mix(in srgb, #0EA5E9 40%, transparent); }
.dark .tl-bh .tl-bh-p-kuerzel--fr, .dark .tl-bh .tl-bh-p-kuerzel--nl { color: #7DD3FC; }
.tl-bh-p-raster > .tl-bh-mono { font-size: .75rem; color: var(--bh-muted); white-space: nowrap; }
.tl-bh-p-raster > .tl-bh-p-abnr { color: var(--bh-gruen); font-weight: 600; }
.tl-bh-p-raster > .tl-bh-m-betrag { font-size: .875rem; font-weight: 700; color: var(--bh-text); }
.tl-bh-p-zeile > .tl-bh-p-aktion { flex-wrap: nowrap; justify-content: flex-end; gap: .375rem; }
.tl-bh-p-zeile > .tl-bh-p-aktion .tl-bh-knopf { white-space: normal; text-align: center; line-height: 1.35; }
/* Hasan Tel 3837: offene Abrechnung – Länderzeile in unserer Farbe */
/* Hasan Tel 3857: deutlicher Knopf an der Monatskarte */
.tl-bh-m-zur { margin-right: auto; margin-left: .75rem; }
.tl-bh-p-abr > .tl-bh-p-zeile[data-auf="true"], .tl-bh-p-abr > .tl-bh-p-zeile[data-auf="true"]:hover { background: color-mix(in srgb, var(--bh-gruen) 16%, transparent); box-shadow: inset 3px 0 0 var(--bh-gruen); }
.tl-bh-p-zeile > .tl-bh-p-aktion .tl-bh-knopf--gruen { font-weight: 700; color: var(--bh-auf-gruen); }
/* teleint-225 B1: Sammelknöpfe der Abrechnung als eigene Leiste unter der Zeile, rechtsbündig. */
.tl-bh-p-zeile > .tl-bh-p-sammel { grid-column: 1 / -1; justify-content: flex-end; gap: .375rem; margin-top: -.25rem; }
.tl-bh-p-zeile > .tl-bh-p-sammel .tl-bh-knopf--gruen { font-weight: 700; color: var(--bh-auf-gruen); }
.tl-bh-p-auf { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem; background: var(--bh-card); border-top: 1px solid var(--bh-border); }
.tl-bh-p-block { display: flex; flex-direction: column; gap: .75rem; min-width: 0; padding: 1rem; border-radius: .75rem; border: 1px solid color-mix(in srgb, var(--bh-blockfarbe) 27%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--bh-blockfarbe) 10%, var(--bh-surface)), color-mix(in srgb, var(--bh-blockfarbe) 3%, var(--bh-surface))); }
.tl-bh-p-block--kontrolle { --bh-blockfarbe: var(--bh-gruen); flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding: .625rem 1rem; }
.tl-bh-p-block--schritt { --bh-blockfarbe: #0EA5E9; }
.tl-bh-p-block--fluss { --bh-blockfarbe: var(--bh-amber); }
.tl-bh-p-block--gebucht { --bh-blockfarbe: var(--bh-gruen); }
.tl-bh-p-bt { color: var(--bh-gruen); font-weight: 700; }
.tl-bh-p-block--fluss .tl-bh-h3 { color: var(--bh-amber-text); font-size: .75rem; } .tl-bh-p-block--gebucht .tl-bh-h3 { color: var(--bh-gruen); font-size: .75rem; }
.tl-bh-p-block > .tl-bh-kopf { flex-wrap: wrap; gap: .25rem 1rem; padding-bottom: .625rem; border-bottom: 1px solid var(--bh-border); }
.tl-bh-p-block > .tl-bh-kopf .tl-bh-mono { font-size: 11px; color: var(--bh-muted); }
.tl-bh-p-raster > * { min-width: 0; }
.tl-bh .tl-bh-p-bereich .tl-bh-marke { border-radius: .25rem; }
.tl-bh-p-raster .tl-bh-p-marken .tl-bh-marke { white-space: normal; }
.tl-bh-p-block .tl-bh-p-bt { font-weight: 700; }
.tl-bh-p-bank { justify-content: flex-end; }
.tl-bh-p-block .tl-bh-marke { border: 1px solid color-mix(in srgb, currentColor 35%, transparent); white-space: nowrap; }
.tl-bh-p-block--schritt > .tl-bh-p-schritte { padding-top: 0; border-top: 0; color: color-mix(in srgb, var(--bh-blockfarbe) 30%, var(--bh-text)); font-weight: 600; }
.tl-bh-p-block--schritt .tl-bh-p-schritt { padding: 0; border: 0; border-radius: 0; background: none; font-size: .75rem; color: var(--bh-muted); font-weight: 500; }
.tl-bh-p-block--schritt .tl-bh-p-schritt--an { color: var(--bh-text); font-weight: 700; }
.tl-bh-p-weiter .tl-bh-klein { font-family: var(--bh-mono); font-size: 11px; color: var(--bh-dim); }
.tl-bh-p-block .tl-bh-p-punkt { padding: .875rem; border-radius: .75rem; }
.tl-bh-p-block .tl-bh-p-punkt-kopf b { font-family: var(--bh-mono); font-weight: 700; }
.tl-bh-p-block .tl-bh-p-nr { width: 1.25rem; height: 1.25rem; }
.tl-bh-p-nehmen { border-radius: .5rem; font-weight: 600; box-shadow: none; }
.tl-bh-p-nehmen + .tl-bh-p-nehmen { margin-left: 0; } /* Hasan Tel 3880: „als Entwurf“ und „buchen“ nebeneinander */
.tl-bh-p-nehmen.tl-bh-knopf--gruen { background: color-mix(in srgb, var(--bh-gruen) 12%, transparent); border-color: color-mix(in srgb, var(--bh-gruen) 45%, transparent); color: var(--bh-gruen); }
.tl-bh-p-nehmen.tl-bh-knopf--gruen:hover { background: color-mix(in srgb, var(--bh-gruen) 22%, transparent); }
.tl-bh-p-schluss .tl-bh-knopf, .tl-bh-p-teile > div > .tl-bh-knopf { min-height: 0; padding: .375rem .875rem; border-radius: .5rem; font-size: .75rem; box-shadow: none; }
.tl-bh-p-teile { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.tl-bh-p-teile > .tl-bh-knopf { align-self: flex-start; min-height: 0; padding: .375rem .75rem; border-radius: .5rem; font-size: .75rem; font-weight: 600; }
.tl-bh-p-block .tl-bh-m-fluss { font-size: .75rem; } .tl-bh-p-block .tl-bh-m-fluss > div { padding: .375rem 0; border-bottom: 0; color: var(--bh-muted); }
.tl-bh-p-block .tl-bh-m-fluss > div > .tl-bh-mono { font-family: var(--bh-mono); font-weight: 700; color: var(--bh-text); }
.tl-bh-p-block .tl-bh-m-fluss > .tl-bh-p-minus > .tl-bh-mono { color: var(--bh-rose-text); }
.tl-bh-p-block .tl-bh-m-fluss > .tl-bh-m-fluss-summe { margin-top: .25rem; padding-top: .625rem; border-top: 1px solid var(--bh-border); font-size: .875rem; color: var(--bh-text); }
.tl-bh-p-block .tl-bh-m-fluss > .tl-bh-m-fluss-summe > .tl-bh-mono { color: var(--bh-gruen); font-size: .875rem; }
.tl-bh-p-block .tl-bh-tabelle-rahmen { border-radius: .5rem; }
.tl-bh-p-block .tl-bh-tabelle { min-width: 0; } .tl-bh-p-block .tl-bh-tabelle th { padding: .5rem .75rem; } .tl-bh-p-block .tl-bh-tabelle td { padding: .5rem .75rem; }
.tl-bh-p-block .tl-bh-tabelle td.tl-bh-mono { font-family: var(--bh-mono); white-space: nowrap; }
.tl-bh-p-block--gebucht .tl-bh-tabelle tbody td:first-child b { font-family: var(--bh-mono); font-weight: 500; color: var(--bh-gruen); }
.tl-bh-p-block--gebucht .tl-bh-tabelle tbody td:nth-child(2) { font-weight: 700; }
.tl-bh-p-block--gebucht .tl-bh-tabelle tbody td:nth-child(4) { font-family: var(--bh-mono); color: var(--bh-dim); font-weight: 400; }
.tl-bh-p-block--gebucht > .tl-bh-klein { font-size: 11px; }
.tl-bh-p-block > .tl-bh-p-schluss, .tl-bh-p-block--gebucht > .tl-bh-p-schluss { padding-top: .75rem; }
/* Breiter Inhalt: Anteile wie im Entwurf; in der schmaleren teleint-Spalte feste Breiten, damit Land und Knöpfe ganz zu lesen sind. */
@container (min-width: 58rem) { .tl-bh-p-raster { grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.8fr) minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, 1.7fr) minmax(0, 2.2fr) minmax(0, 2.4fr); } }
@container (max-width: 43rem) { .tl-bh-p-spalten { display: none; } .tl-bh-p-raster { grid-template-columns: 1fr 1fr; } .tl-bh-p-raster > .tl-bh-p-land, .tl-bh-p-raster > .tl-bh-p-marken, .tl-bh-p-raster > .tl-bh-p-aktion { grid-column: 1 / -1; } .tl-bh-p-zeile > .tl-bh-p-aktion { justify-content: flex-start; } .tl-bh-p-auf { padding: .75rem; } .tl-bh-p-block { padding: .75rem; } }
/* Fehler 11: Tabelle (min. 820px) breiter als der Platz → aufgeklappter Inhalt bleibt in der sichtbaren Breite stehen, nichts rechts abgeschnitten. */
.tl-bh-marke--blau { background: color-mix(in srgb, #0EA5E9 15%, transparent); color: #0369A1; }
.dark .tl-bh .tl-bh-marke--blau { color: #7DD3FC; }
.tl-bh-marke--grau { background: var(--bh-elev); color: var(--bh-muted); }

/* Hasan Tel 3618/3621/3626: Kasten „Buchhaltung“ der aufgeklappten Bestellung (Entwurf scratchpad bh/lesen + aendern). */
.tl-bl .tl-bl-bh-zahl{margin-left:auto}
.tl-bl .tl-bl-bz{width:100%;border-collapse:collapse;font-size:12.5px;margin:4px 0 2px}
.tl-bl .tl-bl-bz td{padding:3px 4px;border-bottom:1px solid var(--tl-linie,#e3e8e5)}
.tl-bl .tl-bl-bz td:first-child{width:18px;color:#7b8a83;font-weight:600}
.tl-bl .tl-bl-bz td.tl-bl-bz-r{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.tl-bl .tl-bl-bz tfoot td{border:0;font-weight:600}
.tl-bl .tl-bl-bz select,.tl-bl .tl-bl-bz input{width:100%;font-size:12px;padding:2px 4px;border:1px solid #c9d3ce;border-radius:6px;background:transparent;color:inherit}
.tl-bl .tl-bl-bz input{text-align:right;width:70px}
.tl-bl .tl-bl-unst{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
.tl-bl .tl-bl-unst>div{display:flex;flex-direction:column;gap:4px;padding:7px 9px;border-radius:8px;background:rgba(224,49,49,.06)}
.tl-bl .tl-bl-unst>div.tl-bl-unst-o{background:rgba(240,140,0,.08)}
.tl-bl .tl-bl-bhkn{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 4px}
.tl-bl .tl-bl-kizeile{padding:6px 9px;border-radius:8px;background:rgba(112,72,232,.07);font-size:12.5px;display:flex;flex-direction:column;gap:4px}
.tl-bl .tl-bl-vl{background:none;border:0;padding:0;color:#2f9e6e;cursor:pointer;font-size:12.5px}
.dark .tl-bl .tl-bl-bz td{border-bottom-color:#34483f}
.dark .tl-bl .tl-bl-bz select option{background:#1f2b26}

/* Lager & Steuer an der Odoo-Verbindung (Hasan Tel 3643–3648) */
.tl-es-ls { display: flex; flex-direction: column; }
.tl-es-ls-zeile { display: grid; grid-template-columns: 1.4fr .8fr 1.4fr 1.2fr 1.6fr; gap: .75rem; align-items: center; padding: .625rem 0; border-bottom: 1px solid var(--es-border); font-size: .875rem; }
.tl-es-ls-kopf { font-size: .75rem; opacity: .7; }
.tl-es-ls-neu { margin-left: auto; font-size: .8125rem; }
.tl-es-ls-stand--gut { color: var(--es-gruen); }
.tl-es-ls-stand--offen { color: #b45309; }
@media (max-width: 760px) { .tl-es-ls-zeile { grid-template-columns: 1fr 1fr; } .tl-es-ls-kopf { display: none; } }

/* Benachrichtigungen (Hasan Tel 3260, Entwurf appleiste/seiten.html s1). */
.tl-bn { --bn-flaeche: #fff; --bn-rand: #e5e7eb; --bn-trenner: #f1f5f9; --bn-grau: #64748b; --bn-aus-rand: #cbd5e1; --bn-aus-text: #94a3b8;
    --bn-an-flaeche: #ecfdf5; --bn-an-rand: #059669; --bn-an-text: #047857; --bn-text: #0f172a; max-width: 720px; font-size: 14px; color: var(--bn-text); }
.dark .tl-bn { --bn-flaeche: #111815; --bn-rand: #24352c; --bn-trenner: #1c2a23; --bn-grau: #9ab0a5; --bn-aus-rand: #31473b; --bn-aus-text: #7d9488;
    --bn-an-flaeche: #16302a; --bn-an-rand: #10b981; --bn-an-text: #6ee7b7; --bn-text: #e5ece8; }
.tl-bn-karte { background: var(--bn-flaeche); border: 1px solid var(--bn-rand); border-radius: 14px; margin: 0 0 14px; padding: 14px 16px; }
.tl-bn-karte h2 { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.tl-bn-zeile { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--bn-trenner); }
.tl-bn-karte h2 + .tl-bn-zeile, .tl-bn-karte > .tl-bn-zeile:first-child { border-top: 0; }
.tl-bn-t { flex: 1; min-width: 0; }
.tl-bn-t small { display: block; color: var(--bn-grau); font-size: 12px; }
.tl-bn-wahl { display: flex; gap: 6px; flex: none; }
.tl-bn-pille { border: 1px solid var(--bn-aus-rand); border-radius: 8px; padding: 4px 7px; font-size: 12px; color: var(--bn-aus-text); background: transparent; cursor: pointer; line-height: 1.4; }
.tl-bn-pille.tl-bn-an { background: var(--bn-an-flaeche); border-color: var(--bn-an-rand); color: var(--bn-an-text); font-weight: 600; }
span.tl-bn-pille { cursor: default; }
.tl-bn-knopf { flex: none; background: var(--bn-flaeche); color: var(--bn-text); border: 1px solid var(--bn-aus-rand); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 13px; cursor: pointer; }
.tl-bn-knopf[hidden] { display: none; }

/* App-Leiste (Hasan Tel 3253, Entwurf appleiste/entwurf.html). */
.tl-app-leiste { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-bottom: 1px solid #e5e7eb; box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky; top: 0; z-index: 40; font-family: Inter, system-ui, sans-serif; }
.tl-app-leiste[hidden] { display: none; }
.tl-app-leiste img { width: 40px; height: 40px; border-radius: 10px; background: #12503B; flex: none; }
.tl-app-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; color: #334155; }
.tl-app-text b { display: block; font-size: 14px; color: #0f172a; }
.tl-app-vorteile { margin: 2px 0 0; padding: 0; list-style: none; font-size: 12px; color: #475569; }
.tl-app-vorteile li:before { content: "✓ "; color: #059669; font-weight: 700; }
.tl-app-anleitung { margin: 4px 0 0; font-size: 12px; color: #0f172a; }
.tl-app-anleitung[hidden] { display: none; }
.tl-app-knopf { background: #059669; color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px; flex: none; }
.tl-app-zu { background: none; border: 0; font-size: 22px; color: #64748b; padding: 0 2px; line-height: 1; flex: none; }
.dark .tl-app-leiste { background: #111815; border-color: #24352c; }
.dark .tl-app-text, .dark .tl-app-vorteile { color: #9ab0a5; }
.dark .tl-app-text b, .dark .tl-app-anleitung { color: #e5ece8; }

/* Hasan Tel 3279: Menü unten am Handy und in der App (wie parkapolo). */
.tl-unten { display: none; }
@media (max-width: 768px) {
  .tl-unten { --un-bg: #fff; --un-rand: #e7e5e4; --un-text: #57534e; --un-an: #047857; --un-pille: #d1fae5;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-around;
    background: var(--un-bg); border-top: 1px solid var(--un-rand); padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); }
  .dark .tl-unten { --un-bg: #171512; --un-rand: #2e2a25; --un-text: #a8a29e; --un-an: #34d399; --un-pille: #064e3b; }
  .tl-unten-punkt { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; font-size: 11px; line-height: 1.2;
    color: var(--un-text); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
  .tl-unten-icon { display: flex; padding: 4px 16px; border-radius: 999px; }
  .tl-unten-svg { width: 22px; height: 22px; }
  .tl-unten-an { color: var(--un-an); font-weight: 600; }
  .tl-unten-an .tl-unten-icon { background: var(--un-pille); }
  body:has(#tl-unten) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* Hasan Tel 3381/3382/3407: Bestellungen wie Abrechnungen der Buchhaltung – jede Bestellung ein eigener Kasten mit Abstand,
   die offene mit grünem Rahmen um Zeile und Karte (gleich dünn wie alle, Tel 3410), ihre Zeile grün getönt. */
.tl-bl .tl-bl-tabelle.tl-bl-liste2, .tl-bl .tl-bl-tabelle.tl-bl-odoo { display: flex; flex-direction: column; gap: 10px; border: 0; background: transparent; overflow: visible; }
.tl-bl .tl-bl-tabelle.tl-bl-liste2 > .tl-bl-tkopf, .tl-bl .tl-bl-tabelle.tl-bl-odoo > .tl-bl-tkopf { border: 1px solid #34483f; border-radius: 12px; }
.tl-bl .tl-bl-eintrag { border: 1px solid #34483f; border-radius: 12px; background: #18221e; overflow: hidden; }
.tl-bl .tl-bl-eintrag > .tl-bl-zeile { border-top: 0; }
.tl-bl .tl-bl-eintrag:hover { border-color: #4b6158; }
.tl-bl .tl-bl-eintrag--auf, .tl-bl .tl-bl-eintrag--auf:hover { border: 1px solid #2E8B57; }
.tl-bl .tl-bl-eintrag--auf > .tl-bl-zeile.tl-bl-offen-zeile { background: color-mix(in srgb, #2E8B57 18%, #18221e); box-shadow: none; }
.tl-bl .tl-bl-tabelle.tl-bl-liste2 > .tl-bl-fuss, .tl-bl .tl-bl-tabelle.tl-bl-odoo > .tl-bl-fuss { border-top: 0; padding: 4px 4px 0; }
:where(html:not(.dark)) .tl-bl .tl-bl-tabelle.tl-bl-liste2 > .tl-bl-tkopf, :where(html:not(.dark)) .tl-bl .tl-bl-tabelle.tl-bl-odoo > .tl-bl-tkopf, :where(html:not(.dark)) .tl-bl .tl-bl-eintrag { border-color: #d3dcd7; }
:where(html:not(.dark)) .tl-bl .tl-bl-eintrag { background: #ffffff; }
:where(html:not(.dark)) .tl-bl .tl-bl-eintrag:hover { border-color: #aebdb5; }
:where(html:not(.dark)) .tl-bl .tl-bl-eintrag--auf, :where(html:not(.dark)) .tl-bl .tl-bl-eintrag--auf:hover { border-color: #2E8B57; }
:where(html:not(.dark)) .tl-bl .tl-bl-eintrag--auf > .tl-bl-zeile.tl-bl-offen-zeile { background: #e6f4ec; }

/* Hasan Tel 3381: Solange ein Klick läuft (Livewire setzt data-loading), dreht sich ein Kreis und der Knopf sagt „läuft …“. */
.tl-bl .tl-bl-knopf[data-loading], .tl-bl .tl-bl-tab[data-loading], .tl-bl .tl-bl-zeile[data-loading] .tl-bl-details, .tl-bl .tl-bl-zeile[data-loading] .tl-bl-pfeil { font-size: 0 !important; gap: 6px; pointer-events: none; opacity: .9; }
.tl-bl .tl-bl-knopf[data-loading] > *, .tl-bl .tl-bl-tab[data-loading] > *, .tl-bl .tl-bl-zeile[data-loading] .tl-bl-details > *, .tl-bl .tl-bl-zeile[data-loading] .tl-bl-pfeil > * { display: none; }
.tl-bl .tl-bl-knopf[data-loading]::before, .tl-bl .tl-bl-tab[data-loading]::before, .tl-bl .tl-bl-zeile[data-loading] .tl-bl-details::before, .tl-bl .tl-bl-zeile[data-loading] .tl-bl-pfeil::before { content: ""; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: tl-bl-dreh .7s linear infinite; flex: none; }
.tl-bl .tl-bl-knopf[data-loading]::after, .tl-bl .tl-bl-tab[data-loading]::after, .tl-bl .tl-bl-zeile[data-loading] .tl-bl-details::after, .tl-bl .tl-bl-zeile[data-loading] .tl-bl-pfeil::after { content: var(--tl-laeuft); font-size: 12px; white-space: nowrap; }
@keyframes tl-bl-dreh { to { transform: rotate(360deg); } }
/* Hasan Tel 3985/4006 (Design wawi_artikel_neu.py): Maske „Neuer Artikel“ im Fenster von rechts + Knopf in der Artikelliste. */
.tl-wl-rechts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tl-an-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 16px; }
.tl-an-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.tl-an-breit { grid-column: 1 / -1; }
.tl-an-l { font-size: 13px; font-weight: 600; }
.tl-an-l .tl-an-h { font-weight: 400; }
.tl-an-h { font-size: 12px; line-height: 1.4; }
.tl-an-stern { color: #8a5a0a; }
.dark .tl-an-stern { color: #f0c47a; }
.tl-an-i { height: 38px; width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #d3dcd7; border-radius: 8px; padding: 0 14px; font-size: 14px;
  background: #f3f5f4; color: inherit; }
.dark .tl-an-i { border-color: #2a3a33; background: #0f1412; }
.tl-an-i:disabled { opacity: .6; }
.tl-an-i:focus { outline: 2px solid #2E8B57; outline-offset: 1px; }
.tl-an-i--fehler { border-color: #a3322b; }
.dark .tl-an-i--fehler { border-color: #f2a4a4; }
textarea.tl-an-text { height: auto; padding: 8px 10px; line-height: 1.45; resize: vertical; }
.tl-an-fehler { font-size: 12px; color: #a3322b; }
.dark .tl-an-fehler { color: #f2a4a4; }
.tl-an-wahl { display: flex; height: 38px; border: 1px solid var(--gray-300); border-radius: 8px; overflow: hidden; }
.dark .tl-an-wahl { border-color: #33443c; }
.tl-an-wahlknopf { flex: 1 1 0; font-size: 14px; padding: 0 10px; }
.tl-an-wahlknopf--an { background: #ddf2e5; color: #1d6b40; font-weight: 600; }
.dark .tl-an-wahlknopf--an { background: #12301f; color: #9bd3b6; }
.tl-an-schalterzeile { display: flex; align-items: center; gap: 10px; min-height: 38px; }
.tl-an-schaltertext { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tl-an-schalter { flex: none; position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--gray-300); transition: background .15s; }
.dark .tl-an-schalter { background: #3a4b43; }
.tl-an-schalter > span { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.tl-an-schalter--an { background: #23874f; }
.dark .tl-an-schalter--an { background: #2E8B57; }
.tl-an-schalter--an > span { left: 20px; }
.tl-an-schalter:disabled { opacity: .5; cursor: not-allowed; }
.tl-an-merkmal { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--tl-line); border-radius: 10px; }
.tl-an-merkmalkopf { display: flex; align-items: center; gap: 10px; }
.tl-an-merkmalkopf .tl-an-i { flex: 1 1 auto; font-weight: 600; }
.tl-an-link { font-size: 13px; color: var(--primary-600); white-space: nowrap; }
.dark .tl-an-link { color: #9bd3b6; }
.tl-an-link:hover { text-decoration: underline; }
.tl-an-link--rot { color: #a3322b; }
.dark .tl-an-link--rot { color: #f2a4a4; }
.tl-an-schalterwort { font-size: 14px; }
.tl-an-zahl { margin-left: auto; white-space: nowrap; }
.tl-an-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tl-an-chip { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 6px 0 12px; border: 1px solid var(--tl-line); border-radius: 999px; font-size: 13px;
  background: var(--gray-50); max-width: 100%; }
.dark .tl-an-chip { background: #1b2520; border-color: #33443c; }
.tl-an-chipname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-an-auf { color: #8a5a0a; font-weight: 600; }
.dark .tl-an-auf { color: #f0c47a; }
.tl-an-chipweg { flex: none; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; color: var(--gray-500); }
.tl-an-chipweg:hover { background: rgb(0 0 0 / .08); }
.dark .tl-an-chipweg:hover { background: rgb(255 255 255 / .1); }
.tl-an-wert { width: 110px; height: 30px; border-radius: 999px; border-style: dashed; font-size: 13px; }
.tl-an-aufzeile { max-width: 220px; }
.tl-an-dazu { align-self: flex-start; font-size: 13px; color: #1d6b40; }
.dark .tl-an-dazu { color: #9bd3b6; }
.tl-an-dazu:hover { text-decoration: underline; }
.tl-an-jekopf { margin-top: 6px; }
.tl-an-je { display: flex; flex-direction: column; }
.tl-an-jez { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.4fr) 60px 60px; gap: 6px; align-items: center; padding: 6px 0;
  border-bottom: 1px solid var(--tl-line); font-size: 13px; }
.tl-an-jek { font-size: 12px; }
.tl-an-jez .tl-an-i { height: 32px; padding: 0 6px; font-size: 13px; }
.tl-an-jename { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.tl-an-jefehler { grid-column: 1 / -1; }
.tl-an-hinweise { font-size: 13px; color: #8a5a0a; }
.dark .tl-an-hinweise { color: #f0c47a; }
.tl-an-knopf { height: 44px; padding: 0 18px; border: 1px solid var(--gray-300); border-radius: 8px; font-size: 14px; font-weight: 600; background: #fff; color: inherit; }
.dark .tl-an-knopf { border-color: #33443c; background: #1b2520; }
.tl-an-knopf--gruen, .dark .tl-an-knopf--gruen { background: #23874f; border-color: #23874f; color: #fff; }
.dark .tl-an-knopf--gruen { background: #2E8B57; border-color: #2E8B57; }
.tl-an-knopf--gruen:hover { filter: brightness(1.07); }
.tl-an-knopf--aus, .dark .tl-an-knopf--aus { background: var(--gray-200); border-color: var(--gray-200); color: var(--gray-500); cursor: not-allowed; }
.dark .tl-an-knopf--aus { background: #26312c; border-color: #26312c; color: var(--gray-400); }
.tl-an-knopf--liste { height: 36px; padding: 0 14px; white-space: nowrap; }
.tl-an-knopf:disabled { cursor: not-allowed; }
@media (max-width: 700px) {
  .tl-wl-rechts, .tl-wl-rechts .tl-wl-suche { width: 100%; }
  .tl-an-jek { display: none; }
  .tl-an-jez { grid-template-columns: 1fr 1fr; padding: 10px 0; }
  .tl-an-jename, .tl-an-jeean { grid-column: 1 / -1; }
}

/* ---- Abo-Leiste oben rechts (Hasan Tel 3400/3402, Entwurf frei Tel 3408) ---- */
.tl-ab-leiste { display: flex; align-items: center; gap: 10px; margin-right: 12px; }
.tl-ab-pille { display: flex; align-items: center; gap: 10px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--tl-line); background: #fff; font-size: 12.5px; color: inherit; text-decoration: none; white-space: nowrap; cursor: pointer; }
.dark .tl-ab-pille { background: #151E1A; }
.tl-ab-name { font-weight: 700; }
.tl-ab-zahl { font-family: ui-monospace, monospace; font-size: 11.5px; opacity: .85; }
.tl-ab-balken { width: 56px; height: 6px; border-radius: 3px; background: color-mix(in srgb, currentColor 14%, transparent); overflow: hidden; }
.tl-ab-balken i { display: block; height: 100%; background: #2E8B57; }
.tl-ab-pille.tl-ab-voll { border-color: #d97706; }
.tl-ab-voll .tl-ab-zahl { color: #d97706; font-weight: 700; opacity: 1; }
.tl-ab-voll .tl-ab-balken i { background: #d97706; }
.tl-ab-knopf { padding: 7px 14px; border-radius: 10px; background: #2E8B57; color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; }
.tl-ab-test { font-size: 12px; opacity: .75; white-space: nowrap; }
.tl-ab-sprache { position: relative; }
.tl-ab-sprache > summary { list-style: none; gap: 6px; }
.tl-ab-sprache > summary::-webkit-details-marker { display: none; }
.tl-ab-wahl { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; display: grid; min-width: 130px; padding: 4px; border: 1px solid var(--tl-line); border-radius: 10px; background: #fff; box-shadow: var(--tl-shadow); }
.dark .tl-ab-wahl { background: #151E1A; }
.tl-ab-wahl button { text-align: left; padding: 6px 10px; border-radius: 8px; font-size: 13px; }
.tl-ab-wahl button:hover, .tl-ab-wahl button.tl-ab-aktiv { background: color-mix(in srgb, #2E8B57 14%, transparent); }
.tl-ab-thema { gap: 8px; padding: 5px 10px; }
@media (max-width: 640px) {
  .tl-ab-leiste .tl-ab-zahl, .tl-ab-leiste .tl-ab-balken, .tl-ab-leiste .tl-ab-test, .tl-ab-leiste .tl-ab-lang { display: none; }
}

/* Kopieren nach … und Entwürfe (Hasan Tel 3366/3417–3438/3459/3563), 1:1 aus docs/design/eingang/2026-11-29-entwuerfe-laender.html (2a62c2fd) */
.tl-sk-legende{font-size:12px;color:var(--as-text2);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tl-as-kanal--entwurf{color:var(--as-text)}
.tl-sk-ziele{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tl-sk-ziele .tl-as-kanal b{font-family:"JetBrains Mono",monospace;font-weight:700}
.tl-sk-zeile-titel{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--as-blass);margin-right:4px}
.tl-sk-artikel{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tl-sk-artikel .tl-as-vp{padding:6px 12px 6px 6px}
.tl-sk-artikel .tl-as-vbild{width:28px;height:28px}
.tl-sk-wer{font-size:10px;padding:0 6px;border-radius:4px;border:1px solid var(--as-rand2);color:var(--as-text2)}
.tl-sk-detail{border:1px solid var(--as-rand);border-radius:12px;overflow:hidden;background:var(--as-karte)}
.tl-sk-detail .tl-as-fkopf{padding:16px 20px}
.tl-sk-detail-koerper{padding:20px;display:flex;flex-direction:column;gap:16px}
.tl-sk-detail .tl-as-ffuss{padding:14px 20px}
.tl-sk-zwei{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px;align-items:start}
.tl-sk-alle-inhalt{display:flex;flex-direction:column;gap:8px;margin-top:8px}
@media (max-width:640px){.tl-as-fkopf .tl-as-land-oben{flex-wrap:wrap}}
.tl-sk-alle-liste{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px 14px}
.tl-sk-alle-zeile small{font-weight:400;overflow-wrap:anywhere}
.tl-sk-alle-gruppe{font-size:13px;font-weight:600;color:var(--as-text);border-bottom:1px solid var(--as-rand);padding:8px 0 4px;margin-top:4px}
.tl-sk-pflicht{display:grid;grid-template-columns:1fr auto;gap:6px 12px;font-size:12px}
.tl-sk-pflicht span:nth-child(odd){color:var(--as-text2)}
.tl-sk-pflicht b{color:var(--as-text);font-weight:600;text-align:right}
.tl-sk-ki{font-size:11px;color:var(--as-gruen);font-weight:600}
.tl-sk-kst--entwurf{color:var(--as-ebay);background:color-mix(in srgb,var(--as-ebay) 12%,transparent);border-color:color-mix(in srgb,var(--as-ebay) 35%,transparent)}
.tl-sk-kst--gesendet{color:var(--as-gelb);background:color-mix(in srgb,var(--as-gelb) 12%,transparent);border-color:color-mix(in srgb,var(--as-gelb) 35%,transparent)}
.tl-sk-kst--aktiv{color:var(--as-gruen);background:color-mix(in srgb,var(--as-gruen) 12%,transparent);border-color:color-mix(in srgb,var(--as-gruen) 35%,transparent)}
.tl-sk-kst--fehler{color:var(--as-rot);background:color-mix(in srgb,var(--as-rot) 12%,transparent);border-color:color-mix(in srgb,var(--as-rot) 35%,transparent)}
.tl-sk-stand{display:flex;gap:6px 14px;flex-wrap:wrap;align-items:center;font-size:12px;color:var(--as-text2);padding:10px 16px;border-top:1px solid var(--as-rand);background:var(--as-flaeche)}
.tl-sk-stand > span{display:inline-flex;align-items:center;gap:6px}
.tl-sk-link{color:var(--as-gruen);font-weight:600;text-decoration:none;font-size:12px}
.tl-sk-lager b{font-family:"JetBrains Mono",monospace}
/* --- NEU: Fenster „Kopieren nach …“ --- */
.tl-as-fbox.tl-sk-gruppe{gap:0;padding:12px 16px}
.tl-sk-gruppe-kopf{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.tl-sk-ziel{display:grid;grid-template-columns:18px minmax(0,1fr) 7rem 6.5rem 5.5rem;gap:10px;align-items:center;padding:7px 0;border-top:1px solid var(--as-rand);font-size:13px;color:var(--as-text)}
.tl-sk-ziel:first-of-type{border-top:0}
.tl-sk-ziel .tl-as-hk{gap:0}
.tl-sk-ziel-name{display:flex;align-items:center;gap:8px;min-width:0}
.tl-sk-ziel-name small{color:var(--as-blass);font-size:11px}
.tl-sk-ziel input{width:100%;background:var(--as-karte);border:1px solid var(--as-rand);border-radius:8px;padding:5px 8px;font:600 13px "JetBrains Mono",monospace;color:var(--as-text);text-align:right}
.tl-sk-ziel input:disabled{opacity:.45}
.tl-sk-ziel .tl-as-knopf--mini{padding:5px 8px;font-size:11px;white-space:nowrap}
.tl-sk-ziel-st{justify-self:end}
.tl-sk-ziel--aus{color:var(--as-text2)}
.tl-sk-ki-wert{font-size:11px;color:var(--as-blass);grid-column:3/5;text-align:right;margin-top:-6px}
.tl-sk-ffuss-r{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.tl-as-badge--shopify{color:#5E8E3E;background:color-mix(in srgb,#5E8E3E 14%,transparent);border-color:color-mix(in srgb,#5E8E3E 40%,transparent);font-weight:600;font-size:12px}
.dark .tl-as-badge--shopify{color:#95BF47}
@media(max-width:767px){
 .tl-sk-zwei{grid-template-columns:1fr}
 .tl-sk-ziel{grid-template-columns:18px minmax(0,1fr) auto;row-gap:6px}
 .tl-sk-ziel > input,.tl-sk-ziel > .tl-as-knopf--mini{grid-row:2}
 .tl-sk-ziel > input{grid-column:2}
 .tl-sk-ziel > .tl-as-knopf--mini{grid-column:3}
 .tl-sk-ziel-st{grid-column:3;grid-row:1}
 .tl-sk-ki-wert{grid-column:2/4;text-align:left;margin-top:0}
 .sk .tl-as-fenster{max-width:100%}
 .tl-sk-detail .tl-as-ffuss{flex-direction:column;align-items:stretch}
 .tl-sk-ffuss-r{justify-content:flex-start}
}

/* ===== Warenwirtschaft nach Entwurf warenwirtschaft_teleint_2026-11-30 (Hasan Tel 4324): tl-ww-*. Gilt nur auf der Seite .tl-ww-seite. =====
   Kästen 3 | 3 | 6, darunter Freigaben 3 | Lager & Steuer 9, „Daten aus Odoo“ als schmale Kacheln, Artikelliste eingeklappt. Dicht gesetzt wie im Entwurf. */
.tl-ww-seite {
  --es-surface: #fff; --es-elev: #FAF9F5; --es-border: var(--tl-line); --es-text: #15130E; --es-muted: #5F5B50; --es-gruen: #059669;
  --ww-gruen: #10B981; --ww-gruen-tief: #059669;
}
.dark .tl-ww-seite { --es-surface: #0F1613; --es-elev: #0A100D; --es-border: #1C2A24; --es-text: #ECFDF5; --es-muted: #8FA39A; --es-gruen: #34D399; }
.tl-ww-seite .fi-section, .tl-ww-seite .tl-es-abschnitt, .tl-ww-daten, .tl-ww-seite .tl-wl {
  background: var(--es-surface); border: 1px solid var(--es-border); border-radius: 14px; box-shadow: none; --tw-ring-shadow: 0 0 #0000;
}
.tl-ww-seite .fi-section { display: flex; flex-direction: column; }
.tl-ww-seite .fi-section-header { padding: 14px 16px 10px; margin: 0 0 0; border-bottom: 1px solid var(--es-border); margin-inline: 16px; padding-inline: 0; align-items: center; }
.tl-ww-seite .fi-section-header-heading { font-size: .9375rem; font-weight: 700; }
.tl-ww-seite .fi-section-content-ctn { border-top: 0; flex: 1 1 auto; }
.tl-ww-seite .fi-section-content { padding: 14px 16px; }
.tl-ww-seite .fi-section-footer { padding: 10px 0 14px; margin-inline: 16px; border-top: 1px solid var(--es-border); }
.tl-ww-seite .fi-section .fi-sc-has-gap { gap: 14px; }
.tl-ww-seite .fi-fo-field-label-content { font-size: .75rem; font-weight: 600; color: var(--es-muted); }
.tl-ww-seite .fi-input-wrp { background: var(--es-elev); border-radius: 8px; box-shadow: none; border: 1px solid var(--es-border); }
.tl-ww-seite .fi-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8125rem; padding-block: 7px; }
.tl-ww-seite .fi-sc-text { font-size: .75rem; }
/* Speichern je Kasten: klein, grün (Kopf und Fuß) */
.tl-ww-seite .fi-section .fi-btn.fi-size-sm, .tl-ww-knopf--gruen { background: var(--ww-gruen); color: #04130D; border: 1px solid var(--ww-gruen); border-radius: 8px; font-weight: 700; box-shadow: none; }
.tl-ww-seite .fi-section .fi-btn.fi-size-sm { padding: 4px 10px; font-size: .75rem; }
.tl-ww-seite .fi-section .fi-btn.fi-size-sm:hover, .tl-ww-knopf--gruen:hover { background: var(--ww-gruen-tief); border-color: var(--ww-gruen-tief); }
.tl-ww-seite .fi-section-footer .fi-btn.fi-size-sm { padding: 7px 14px; font-size: .8125rem; }
/* Zugriff: gewählte Möglichkeit als grüner Kasten */
.tl-ww-seite .fi-fo-radio { gap: 6px; }
.tl-ww-seite .fi-fo-radio-label { padding: 10px 12px; border: 1px solid transparent; border-radius: 10px; }
.tl-ww-seite .fi-fo-radio-label:has(input:checked) { border-color: color-mix(in srgb, var(--ww-gruen) 45%, transparent); background: color-mix(in srgb, var(--ww-gruen) 8%, transparent); }
.tl-ww-seite .fi-fo-radio-label:has(input:checked) .fi-fo-radio-label-text > p:first-child { color: var(--es-gruen); }
.tl-ww-seite .fi-fo-radio-label-text { font-size: .8125rem; font-weight: 600; }
.tl-ww-seite .fi-fo-radio-label-description, .tl-ww-seite .fi-fo-checkbox-list-option-description { font-size: .6875rem; line-height: 1.45; font-weight: 400; color: var(--es-muted); }
/* Schreiben darf teleint: Haken dicht, Text läuft in die Breite */
.tl-ww-seite .fi-fo-checkbox-list-options { gap: 12px; }
.tl-ww-seite .fi-fo-checkbox-list-option-label { font-size: .8125rem; font-weight: 600; }
.tl-ww-seite .tl-ww-automatik { border-top-color: var(--es-border); padding-top: 12px; }
.tl-ww-seite .tl-ww-automatik > .fi-grid, .tl-ww-seite .tl-ww-automatik .fi-sc { gap: 12px; }
.tl-ww-seite .tl-ww-automatik .fi-fo-field-label { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; width: 100%; gap: 12px; }
.tl-ww-seite .tl-ww-automatik .fi-fo-field-label-content { font-size: .8125rem; color: var(--es-text); }
.tl-ww-seite .tl-ww-automatik .fi-fo-field-content-col { padding-inline-start: 0; }
.tl-ww-seite .tl-ww-automatik .fi-sc-text { font-size: .6875rem; line-height: 1.45; }
/* Freigaben | Lager & Steuer */
.tl-ww-seite .tl-es-abschnitt { padding: 14px 16px; gap: 12px; height: 100%; color: var(--es-text); }
.tl-ww-seite .tl-es-akopf { padding-bottom: 10px; }
.tl-ww-seite .tl-es-h2 { font-size: .9375rem; }
.tl-ww-seite .tl-es-ahilfe { margin-left: 0; font-size: .6875rem; line-height: 1.45; }
.tl-ww-seite .tl-es-ls-zeile { font-size: .8125rem; padding: .5rem 0; }
.tl-ww-seite .tl-es-ls-kopf { font-size: .6875rem; font-weight: 600; opacity: 1; color: var(--es-muted); }
.tl-ww-seite .tl-es-ls-stand--gut { font-weight: 600; }
.tl-ww-seite .tl-es-select { padding: .3rem 1.75rem .3rem .5rem; border-radius: 6px; font-size: .8125rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
/* Sprungmarken + „Alle Änderungen speichern“ */
.tl-ww-marken { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.tl-ww-marken-liste { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tl-ww-marke { padding: 4px 10px; border: 1px solid var(--es-border); border-radius: 8px; font-size: .75rem; color: var(--es-muted); text-decoration: none; white-space: nowrap; }
.tl-ww-marke:hover { color: var(--es-gruen); border-color: color-mix(in srgb, var(--ww-gruen) 45%, transparent); }
.tl-ww-knopf { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--es-border); border-radius: 8px; background: transparent; color: var(--es-gruen); font-size: .8125rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.tl-ww-knopf:hover { border-color: color-mix(in srgb, var(--ww-gruen) 45%, transparent); }
.tl-ww-knopf.tl-ww-knopf--gruen { color: #04130D; background: var(--ww-gruen); border-color: var(--ww-gruen); font-weight: 700; }
.tl-ww-knopf.tl-ww-knopf--gruen:hover { background: var(--ww-gruen-tief); border-color: var(--ww-gruen-tief); }
.tl-ww-knopf[disabled] { opacity: .6; cursor: default; }
[id^="ww-"], #tl-es-freigaben, #tl-es-lager-steuer { scroll-margin-top: 90px; }
/* Daten aus Odoo */
.tl-ww-daten { padding: 14px 16px 16px; color: var(--es-text); }
.tl-ww-daten-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--es-border); }
.tl-ww-daten-titel { font-size: .9375rem; font-weight: 700; }
.tl-ww-daten-hilfe { font-size: .6875rem; color: var(--es-muted); margin-top: 2px; }
.tl-ww-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.tl-ww-kachel { padding: 10px 12px; border: 1px solid var(--es-border); border-radius: 10px; background: var(--es-elev); min-width: 0; }
.tl-ww-kachel-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tl-ww-kachel-name { font-size: .8125rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.tl-ww-neu { flex: none; width: 26px; height: 26px; border: 1px solid var(--es-border); border-radius: 6px; background: transparent; color: var(--es-muted); font-size: .8125rem; line-height: 1; cursor: pointer; }
.tl-ww-neu:hover { color: var(--es-gruen); }
.tl-ww-neu[disabled] { opacity: .4; cursor: default; }
.tl-ww-kachel-stand { margin-top: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .6875rem; line-height: 1.4; }
@media (min-width: 1280px) { .tl-ww-kacheln { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* Artikel aus Odoo: Leiste zum Auf- und Zuklappen, Zeilen dichter */
.tl-ww-klapp { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; flex: 1 1 220px; }
.tl-ww-klapp .tl-wl-oben-text { display: flex; flex-direction: column; }
.tl-ww-klapp-pfeil { font-size: .75rem; color: var(--es-muted); }
.tl-ww-artikel .tl-wl-oben { padding: 12px 16px; }
.tl-ww-artikel .tl-wl-z { font-size: .8125rem; }
.tl-ww-artikel .tl-wl-ref, .tl-ww-artikel .tl-wl-ean, .tl-ww-artikel .tl-wl-preis, .tl-ww-artikel .tl-wl-bestand { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; }
.tl-ww-artikel .tl-wl-z .tl-wl-ref { color: var(--es-gruen); }

/* KI-Support (Hasan Tel 3626/3628): Menü „Support“ 1:1 nach docs/design/eingang/2026-11-30-support-ki-tel3628.html. Wurzel <div class="tl-sp">.
   Hell = html ohne .dark, dunkel = .dark – Werte aus den Tokens des Entwurfs; Tailwind-Maße umgerechnet. */
.tl-sp { --sp-card: #FFFFFF; --sp-elev: #EAF5EF; --sp-row: #F5FAF7; --sp-input: #F8FBFA; --sp-rand: rgba(10,22,16,.12); --sp-em: rgba(16,185,129,.36);
  --sp-text: #0A140F; --sp-sub: #354E43; --sp-dim: #60786D;
  display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 1520px; margin: 0 auto; color: var(--sp-text); font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-variant-numeric: tabular-nums; font-size: 12px; line-height: 16px; }
.dark .tl-sp { --sp-card: #0F1713; --sp-elev: #14221B; --sp-row: #0A110E; --sp-input: #090F0C; --sp-rand: rgba(255,255,255,.09); --sp-em: rgba(16,185,129,.32);
  --sp-text: #ECFDF5; --sp-sub: #A5BCB1; --sp-dim: #667E72; }
.tl-sp *, .tl-sp *::before, .tl-sp *::after { box-sizing: border-box; }
.tl-sp h1, .tl-sp h2 { font-family: 'Archivo', 'Inter', sans-serif; margin: 0; }
.tl-sp :where(p) { margin: 0; }
.tl-sp :where(button) { cursor: pointer; font: inherit; }
.tl-sp-karte { background: var(--sp-card); border: 1px solid var(--sp-rand); }
.tl-sp-elev { background: var(--sp-elev); border: 1px solid var(--sp-em); }
.tl-sp-zeile { background: var(--sp-row); border: 1px solid var(--sp-rand); }
.tl-sp-feld { background: var(--sp-input); border: 1px solid var(--sp-rand); color: var(--sp-text); border-radius: 12px; padding: 8px 12px; font-size: 12px; line-height: 16px; min-width: 0; }
.tl-sp-feld:focus { outline: none; border-color: rgba(16,185,129,.75); box-shadow: none; }
.tl-sp-feld:disabled { opacity: 1; cursor: default; }
select.tl-sp-feld { cursor: pointer; padding-right: 32px; }
.tl-sp-sub { color: var(--sp-sub); } .tl-sp-dim { color: var(--sp-dim); }
.tl-sp-klein { font-size: 11px; line-height: 16px; }
.tl-sp-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.tl-sp-fett { font-weight: 700; } .tl-sp-halbfett { font-weight: 600; } .tl-sp-mittel { font-weight: 500; }
.tl-sp-gruen { color: #34d399; } .tl-sp-gruen-hell { color: #6ee7b7; } .tl-sp-amber { color: #fcd34d; }
.tl-sp-voll { width: 100%; display: block; }
/* Kopf */
.tl-sp-kopf { border-radius: 16px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tl-sp-kopf-text { display: flex; flex-direction: column; gap: 4px; }
.tl-sp-kopf-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.tl-sp-abzeichen { padding: 2px 8px; border-radius: 6px; background: var(--sp-elev); border: 1px solid var(--sp-em); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; color: #34d399; }
.tl-sp-h1 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.025em; }
@media (min-width: 640px) { .tl-sp-h1 { font-size: 24px; line-height: 32px; } }
.tl-sp-kopf-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-sp-knopf-gruen { padding: 8px 14px; border-radius: 12px; background: #10b981; color: #020617; font-weight: 700; border: 0; transition: background .15s; flex-shrink: 0; }
.tl-sp-knopf-gruen:hover { background: #34d399; }
.tl-sp-knopf-thema { padding: 8px 12px; border-radius: 12px; font-weight: 600; color: var(--sp-sub); }
.tl-sp-knopf-thema:hover, .tl-sp-knopf-klein:hover, .tl-sp-schnellknopf:hover { border-color: rgba(16,185,129,.4); }
/* Kacheln */
.tl-sp-kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .tl-sp-kacheln { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tl-sp-kachel { border-radius: 16px; padding: 14px; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: inherit; transition: border-color .15s; }
.tl-sp-kachel:hover { border-color: rgba(16,185,129,.45); }
.tl-sp-zahl { font-size: 20px; line-height: 28px; font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; margin-top: 2px; }
.tl-sp-zahl--neu { color: #fcd34d; } .tl-sp-zahl--beantwortet { color: #7dd3fc; } .tl-sp-zahl--in_arbeit { color: #6ee7b7; } .tl-sp-zahl--erledigt { color: var(--sp-sub); }
.tl-sp-stand { display: inline-block; padding: 2px 8px; border-radius: 9999px; font-size: 11px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.tl-sp-stand--neu { background: rgba(245,158,11,.15); color: #fcd34d; border: 1px solid rgba(245,158,11,.3); }
.tl-sp-stand--beantwortet { background: rgba(14,165,233,.15); color: #7dd3fc; border: 1px solid rgba(14,165,233,.3); }
.tl-sp-stand--in_arbeit { background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3); }
.tl-sp-stand--erledigt { background: var(--sp-row); color: var(--sp-sub); border: 1px solid var(--sp-rand); }
.tl-sp-pille-gross { padding: 4px 10px; }
.tl-sp-pille-detail { padding: 2px 10px; }
/* Raster */
.tl-sp-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1024px) { .tl-sp-raster { grid-template-columns: repeat(12, minmax(0, 1fr)); } .tl-sp-liste { grid-column: span 7 / span 7; } .tl-sp-rechts { grid-column: span 5 / span 5; } }
.tl-sp-liste, .tl-sp-kasten { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.tl-sp-kasten--neu { gap: 12px; }
@media (min-width: 640px) { .tl-sp-liste, .tl-sp-kasten, .tl-sp-detail { padding: 20px; } }
.tl-sp-rechts { display: flex; flex-direction: column; gap: 16px; }
.tl-sp-titelzeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--sp-rand); padding-bottom: 12px; }
.tl-sp-titelzeile--eng { padding-bottom: 10px; }
.tl-sp-h2 { font-size: 14px; line-height: 20px; font-weight: 700; }
.tl-sp-knopf-klein { padding: 4px 10px; border-radius: 8px; font-size: 11px; line-height: 16px; font-weight: 600; color: var(--sp-sub); }
.tl-sp-filter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 640px) { .tl-sp-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tl-sp-filterzeile { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tl-sp-tickets { display: flex; flex-direction: column; gap: 10px; }
.tl-sp-ticket { border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.tl-sp-ticket-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.tl-sp-ticket-pillen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-sp-typ { padding: 2px 8px; border-radius: 6px; font-size: 11px; line-height: 16px; font-weight: 500; color: var(--sp-sub); }
.tl-sp-ticket-titel { font-weight: 600; font-size: 14px; line-height: 1.375; }
.tl-sp-zwei { line-height: 1.625; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tl-sp-ticket-fuss { padding-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tl-sp-link { color: #34d399; font-weight: 700; } .tl-sp-link:hover { text-decoration: underline; }
.tl-sp-leer { border-radius: 12px; padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
/* KI-Kasten */
.tl-sp-ki-kopf { display: flex; align-items: center; gap: 8px; }
.tl-sp-ki-symbol { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #34d399; font-weight: 700; flex: none; }
.tl-sp-schnell { display: flex; flex-direction: column; gap: 6px; }
.tl-sp-schnell-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-sp-schnellknopf { padding: 4px 10px; border-radius: 8px; font-size: 11px; line-height: 16px; }
.tl-sp-formular-eng { display: flex; flex-direction: column; gap: 8px; }
.tl-sp-label { display: block; font-size: 11px; line-height: 16px; font-weight: 600; color: var(--sp-sub); }
.tl-sp-formular .tl-sp-label { margin-bottom: 4px; }
.tl-sp-eingabezeile { display: flex; gap: 8px; }
.tl-sp-eingabezeile .tl-sp-feld, .tl-sp-wachsen { flex: 1; }
.tl-sp-antwort { border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.tl-sp-antwort-text { line-height: 1.625; }
.tl-sp-antwort-link { padding-top: 4px; border-top: 1px solid var(--sp-rand); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.tl-sp-direkt { padding: 4px 10px; border-radius: 8px; background: rgba(16,185,129,.2); color: #6ee7b7; font-weight: 700; text-decoration: underline; }
.tl-sp-direkt:hover { background: rgba(16,185,129,.3); }
/* Neue Anfrage */
.tl-sp-formular { display: flex; flex-direction: column; gap: 10px; }
.tl-sp-formular textarea.tl-sp-feld { resize: vertical; }
.tl-sp-formular-fuss { padding-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tl-sp-knopf-breit { padding: 8px 16px; }
.tl-sp-fehler { margin-top: 4px; font-size: 11px; color: #f87171; }
.tl-sp-bestaetigt { border-radius: 12px; padding: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.tl-sp-direkt-voll { padding: 4px 10px; border-radius: 8px; }
/* Detail */
.tl-sp-detail { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.tl-sp-detail-kopf { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--sp-rand); padding-bottom: 14px; }
.tl-sp-detail-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tl-sp-nummer-gross { font-size: 14px; line-height: 20px; }
.tl-sp-detail-typ { padding: 2px 10px; border-radius: 9999px; font-size: 11px; line-height: 16px; font-weight: 600; color: #6ee7b7; }
.tl-sp-detail-titel { font-size: 16px; line-height: 24px; font-weight: 700; padding-top: 2px; }
.tl-sp-detail-stand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-sp-detail-stand .tl-sp-feld { padding-top: 6px; padding-bottom: 6px; }
.tl-sp-detail-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1024px) { .tl-sp-detail-raster { grid-template-columns: repeat(12, minmax(0, 1fr)); } .tl-sp-detail-links { grid-column: span 5 / span 5; } .tl-sp-detail-rechts { grid-column: span 7 / span 7; } }
.tl-sp-detail-links { display: flex; flex-direction: column; gap: 8px; }
.tl-sp-detail-rechts { display: flex; flex-direction: column; gap: 10px; }
.tl-sp-abschnitt { font-size: 11px; line-height: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--sp-dim); }
.tl-sp-anliegen { border-radius: 12px; padding: 14px; line-height: 1.625; white-space: pre-line; }
.tl-sp-hinweis { border-radius: 12px; padding: 12px; line-height: 1.625; }
.tl-sp-hinweis strong { color: var(--sp-sub); }
.tl-sp-verlauf { display: flex; flex-direction: column; gap: 8px; }
.tl-sp-eintrag { border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.tl-sp-eintrag-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tl-sp-eintrag-text { line-height: 1.625; white-space: pre-line; }
.tl-sp-notiz { padding-top: 4px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 640px) { .tl-sp-notiz { flex-direction: row; } }
.tl-sp-knopf-notiz { padding: 8px 14px; border-radius: 12px; color: #6ee7b7; font-weight: 600; flex-shrink: 0; transition: background .15s; }
.tl-sp-knopf-notiz:hover { background: rgba(16,185,129,.15); }

/* Slogan unter „Teleint Cockpit“ (Entwurf slogan-teleint.css, Hasan Tel 3832/3834/3850). Satz vom T bis zum t von „Cockpit“; slogan-teleint.js passt ihn je Sprache an. */
.tl-mk { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.tl-mk-logo { height: 32px; width: auto; display: block; flex: none; }
.tl-mk-slogan { display: block; box-sizing: border-box; width: 187.21px; margin-left: 41.56px; font-family: 'Archivo', sans-serif; font-size: 11.5px; font-weight: 500; font-stretch: 100%;
  line-height: 1.2; white-space: nowrap; text-align: justify; text-align-last: justify; color: #b8c7bf; }
.tl-mk--mitte { align-self: center; }
@media (max-width: 359px) { .fi-topbar .tl-mk-slogan { display: none; } }
:where(html:not(.dark)) .tl-mk-slogan { color: #4f6158; }
/* Hasan Tel 4715: Zeichen vor dem Marktplatz-Namen in der Bestellliste (farbige Marke je Marktplatz, Odoo und Webshop). */
.tl-bl .tl-bl-markt .tl-bl-logo { flex: none; width: 14px; height: 14px; margin-right: 5px; border-radius: 4px; background: #6b7f76; position: relative; }
.tl-bl .tl-bl-markt .tl-bl-logo::after { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; line-height: 1; color: #fff; font-style: normal; }
.tl-bl .tl-bl-logo--amazon { background: #232f3e; box-shadow: inset 0 -3px 0 #ff9900; }
.tl-bl .tl-bl-logo--amazon::after { content: 'a'; }
.tl-bl .tl-bl-logo--tiktok { background: #010101; box-shadow: inset 2px 0 0 #25f4ee, inset -2px 0 0 #fe2c55; }
.tl-bl .tl-bl-logo--tiktok::after { content: '♪'; }
.tl-bl .tl-bl-logo--etsy { background: #f1641e; }
.tl-bl .tl-bl-logo--etsy::after { content: 'E'; }
.tl-bl .tl-bl-logo--shopify { background: #5e8e3e; }
.tl-bl .tl-bl-logo--shopify::after { content: 'S'; }
.tl-bl .tl-bl-logo--ebay { background: #0064d2; }
.tl-bl .tl-bl-logo--ebay::after { content: 'e'; }
.tl-bl .tl-bl-logo--odoo { background: #714b67; }
.tl-bl .tl-bl-logo--odoo::after { content: 'o'; }
.tl-bl .tl-bl-logo--webshop { background: #0f8a7a; border-radius: 50%; }
.tl-bl .tl-bl-logo--webshop::after { content: 'w'; }

/* Einrichtungs-Assistent oben im Cockpit (Entwurf einrichtung-assistent, Hasan Tel 3643–3648, Bau Tel 3953) */
/* Im Cockpit (Flex-Spalte) volle Breite – sonst schrumpft die Wurzel wegen container-type und margin auto auf 0. */
.tl-ck > .tl-bl.tl-ea, .fi-page-content > .tl-bl.tl-ea { width: 100%; }
.tl-ck .tl-ea .tl-ea-titel { flex: 1 1 320px; }
/* Einrichtungs-Assistent oben im Cockpit (Hasan Tel 3643–3648, TODO Zeile 34, Vorschlag). Ergänzt bestellungen-teleint.css.
   Wurzel: <div class="tl-bl tl-ea">. Präfix tl-ea-. Dunkel ist Grundfassung, hell gilt für html ohne .dark. */
.tl-ea .tl-ea-karte { padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; border-color: #2E8B57; }
.tl-ea .tl-ea-kopf { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; }
.tl-ea .tl-ea-titel { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.tl-ea .tl-ea-titel b { display: block; font-size: 17px; color: #fff; }
.tl-ea .tl-ea-titel span.tl-ea-satz { display: block; font-size: 13px; color: #8fa89b; margin-top: 2px; line-height: 1.45; }
.tl-ea .tl-ea-titel .tl-bl-ic { background: #2E8B57; color: #fff; }
.tl-ea .tl-ea-tun { display: flex; gap: 8px; flex-wrap: wrap; }
/* Fortschritt */
.tl-ea .tl-ea-balken { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #c8d4ce; }
.tl-ea .tl-ea-balken i { flex: 1; height: 8px; border-radius: 999px; background: #24312b; overflow: hidden; display: block; }
.tl-ea .tl-ea-balken i::before { content: ""; display: block; height: 100%; width: var(--wert, 0%); background: #2fa063; border-radius: 999px; }
.tl-ea .tl-ea-balken b { color: #fff; white-space: nowrap; }
/* Teil 1: Fragen */
.tl-ea .tl-ea-fragen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tl-ea .tl-ea-frage { display: flex; gap: 12px; padding: 14px; border-radius: 10px; border: 1px solid #2a3a33; background: #141d1a; }
.tl-ea .tl-ea-frage--breit { grid-column: 1 / -1; }
.tl-ea .tl-ea-nr { width: 24px; height: 24px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: #24312b; color: #c8d4ce; }
.tl-ea .tl-ea-frage.tl-ea-beantwortet .tl-ea-nr { background: #2fa063; color: #fff; }
.tl-ea .tl-ea-frage-inhalt { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1; }
.tl-ea .tl-ea-frage-inhalt > b { font-size: 14px; color: #fff; line-height: 1.4; }
.tl-ea .tl-ea-hilfe { font-size: 12px; color: #8fa89b; line-height: 1.5; }
.tl-ea .tl-ea-seg { display: inline-flex; padding: 3px; gap: 3px; border-radius: 10px; border: 1px solid #44594f; background: #111916; align-self: flex-start; }
.tl-ea .tl-ea-o { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 30px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 600; color: #c8d4ce; white-space: nowrap; }
.tl-ea .tl-ea-o.tl-ea-an { background: #16301f; color: #9fe0bd; box-shadow: inset 0 0 0 1px #2fa063; }
.tl-ea .tl-ea-wahl { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid #44594f; background: #111916; font-size: 13px; color: #e2e9e5; max-width: 280px; }
.tl-ea .tl-ea-wahl::after { content: "▾"; color: #8fa89b; }
.tl-ea .tl-ea-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-ea .tl-ea-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid #44594f; font-size: 13px; color: #c8d4ce; white-space: nowrap; }
.tl-ea .tl-ea-chip::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 2px solid #5d6f67; box-sizing: border-box; }
.tl-ea .tl-ea-chip.tl-ea-an { border-color: #2fa063; background: #16301f; color: #9fe0bd; }
.tl-ea .tl-ea-chip.tl-ea-an::before { content: "✓"; border-color: #2fa063; background: #2fa063; color: #fff; font-size: 10px; font-weight: 700; line-height: 10px; text-align: center; }
.tl-ea .tl-ea-chip--mehr { border-style: dashed; }
.tl-ea .tl-ea-chip--mehr::before { display: none; }
.tl-ea .tl-ea-radio { display: flex; flex-direction: column; gap: 8px; }
.tl-ea .tl-ea-r { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #c8d4ce; line-height: 1.45; }
.tl-ea .tl-ea-r::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #5d6f67; box-sizing: border-box; flex: none; margin-top: 1px; }
.tl-ea .tl-ea-r.tl-ea-an { color: #fff; }
.tl-ea .tl-ea-r.tl-ea-an::before { border: 5px solid #2fa063; }
.tl-ea .tl-ea-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; font-size: 12px; color: #8fa89b; }
/* Teil 2: Aufgaben + KI */
.tl-ea .tl-ea-zwei { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.tl-ea .tl-ea-aufgaben { display: flex; flex-direction: column; border: 1px solid #2a3a33; border-radius: 10px; overflow: hidden; }
.tl-ea .tl-ea-aufgabe { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid #2a3a33; }
.tl-ea .tl-ea-aufgabe:first-child { border-top: 0; }
.tl-ea .tl-ea-haken { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #5d6f67; box-sizing: border-box; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.tl-ea .tl-ea-fertig .tl-ea-haken { background: #2fa063; border-color: #2fa063; }
.tl-ea .tl-ea-fertig .tl-ea-haken::after { content: "✓"; color: #fff; font-size: 12px; font-weight: 700; }
.tl-ea .tl-ea-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.tl-ea .tl-ea-text b { font-size: 14px; color: #fff; font-weight: 600; }
.tl-ea .tl-ea-text small { font-size: 12px; color: #8fa89b; line-height: 1.45; }
.tl-ea .tl-ea-fertig .tl-ea-text b { color: #9fb3a9; font-weight: 500; }
.tl-ea .tl-ea-jetzt { background: #12301f; box-shadow: inset 3px 0 0 #2fa063; }
.tl-ea .tl-ea-jetzt .tl-ea-haken { border-color: #2fa063; }
.tl-ea .tl-ea-weg .tl-ea-text b, .tl-ea .tl-ea-weg .tl-ea-text small { color: #5d6f67; }
.tl-ea .tl-ea-weg .tl-ea-haken { border-style: dashed; border-color: #3c5148; }
.tl-ea .tl-ea-ziel { font-size: 13px; white-space: nowrap; }
.tl-ea .tl-ea-ki { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 10px; border: 1px solid #5b4a9e; background: #1d1a2e; font-size: 13px; color: #d6d0f0; line-height: 1.5; }
.tl-ea .tl-ea-ki b { font-size: 15px; color: #fff; display: flex; align-items: center; gap: 10px; }
.tl-ea .tl-ea-ki .tl-bl-ic { background: #6b55c8; color: #fff; }
.tl-ea .tl-ea-ki .tl-bl-knopf { align-self: flex-start; background: #6b55c8; border-color: #6b55c8; color: #fff; }
.tl-ea .tl-ea-ki small { font-size: 12px; color: #a99fd0; }
.tl-ea .tl-ea-antworten { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: #8fa89b; }
.tl-ea .tl-ea-antworten span b { color: #c8d4ce; font-weight: 600; }
/* zugeklappt */
.tl-ea .tl-ea-zu { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 12px 16px; border-color: #2E8B57; }
.tl-ea .tl-ea-zu .tl-ea-balken { flex: 1 1 260px; }
.tl-ea .tl-ea-zu .tl-ea-naechst { font-size: 13px; color: #c8d4ce; }
/* fertig */
/* nur Hinweis auf das restliche Cockpit */
@media (max-width: 900px) {
  .tl-ea .tl-ea-fragen, .tl-ea .tl-ea-zwei { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .tl-ea .tl-ea-karte { padding: 16px 14px; }
  .tl-ea .tl-ea-frage { padding: 12px; gap: 10px; }
  .tl-ea .tl-ea-aufgabe { flex-wrap: wrap; padding: 12px; }
  .tl-ea .tl-ea-aufgabe .tl-ea-text { flex: 1 1 calc(100% - 34px); }
  .tl-ea .tl-ea-aufgabe > .tl-ea-ziel, .tl-ea .tl-ea-aufgabe > .tl-bl-knopf { margin-left: 34px; }
  .tl-ea .tl-ea-tun { width: 100%; }
  .tl-ea .tl-ea-fuss .tl-bl-knopf { width: 100%; }
}
/* hell */
:where(html:not(.dark)) .tl-ea .tl-ea-karte, :where(html:not(.dark)) .tl-ea .tl-ea-zu { border-color: #23874f; }
:where(html:not(.dark)) .tl-ea .tl-ea-titel b, :where(html:not(.dark)) .tl-ea .tl-ea-frage-inhalt > b, :where(html:not(.dark)) .tl-ea .tl-ea-text b,
:where(html:not(.dark)) .tl-ea .tl-ea-balken b, :where(html:not(.dark)) .tl-ea .tl-ea-r.tl-ea-an { color: #111a16; }
:where(html:not(.dark)) .tl-ea .tl-ea-titel span.tl-ea-satz, :where(html:not(.dark)) .tl-ea .tl-ea-hilfe, :where(html:not(.dark)) .tl-ea .tl-ea-text small,
:where(html:not(.dark)) .tl-ea .tl-ea-fuss, :where(html:not(.dark)) .tl-ea .tl-ea-antworten { color: #5f7268; }
:where(html:not(.dark)) .tl-ea .tl-ea-balken, :where(html:not(.dark)) .tl-ea .tl-ea-r, :where(html:not(.dark)) .tl-ea .tl-ea-chip, :where(html:not(.dark)) .tl-ea .tl-ea-o,
:where(html:not(.dark)) .tl-ea .tl-ea-zu .tl-ea-naechst, :where(html:not(.dark)) .tl-ea .tl-ea-antworten span b { color: #33443c; }
:where(html:not(.dark)) .tl-ea .tl-ea-balken i { background: #e2e8e5; }
:where(html:not(.dark)) .tl-ea .tl-ea-balken i::before { background: #23874f; }
:where(html:not(.dark)) .tl-ea .tl-ea-frage { background: #f7f9f8; border-color: #e2e8e5; }
:where(html:not(.dark)) .tl-ea .tl-ea-nr { background: #e2e8e5; color: #33443c; }
:where(html:not(.dark)) .tl-ea .tl-ea-frage.tl-ea-beantwortet .tl-ea-nr { background: #23874f; color: #fff; }
:where(html:not(.dark)) .tl-ea .tl-ea-seg, :where(html:not(.dark)) .tl-ea .tl-ea-wahl { background: #ffffff; border-color: #c6d1cb; color: #1c2a24; }
:where(html:not(.dark)) .tl-ea .tl-ea-o.tl-ea-an, :where(html:not(.dark)) .tl-ea .tl-ea-chip.tl-ea-an { background: #e3f3ea; color: #17633a; box-shadow: inset 0 0 0 1px #23874f; border-color: #23874f; }
:where(html:not(.dark)) .tl-ea .tl-ea-chip { border-color: #c6d1cb; }
:where(html:not(.dark)) .tl-ea .tl-ea-chip::before, :where(html:not(.dark)) .tl-ea .tl-ea-r::before, :where(html:not(.dark)) .tl-ea .tl-ea-haken { border-color: #9aaaa2; }
:where(html:not(.dark)) .tl-ea .tl-ea-chip.tl-ea-an::before { background: #23874f; border-color: #23874f; }
:where(html:not(.dark)) .tl-ea .tl-ea-r.tl-ea-an::before { border-color: #23874f; }
:where(html:not(.dark)) .tl-ea .tl-ea-aufgaben, :where(html:not(.dark)) .tl-ea .tl-ea-aufgabe { border-color: #e2e8e5; }
:where(html:not(.dark)) .tl-ea .tl-ea-fertig .tl-ea-haken { background: #23874f; border-color: #23874f; }
:where(html:not(.dark)) .tl-ea .tl-ea-fertig .tl-ea-text b { color: #5f7268; }
:where(html:not(.dark)) .tl-ea .tl-ea-jetzt { background: #eef8f2; box-shadow: inset 3px 0 0 #23874f; }
:where(html:not(.dark)) .tl-ea .tl-ea-jetzt .tl-ea-haken { border-color: #23874f; }
:where(html:not(.dark)) .tl-ea .tl-ea-weg .tl-ea-text b, :where(html:not(.dark)) .tl-ea .tl-ea-weg .tl-ea-text small { color: #9aaaa2; }
:where(html:not(.dark)) .tl-ea .tl-ea-weg .tl-ea-haken { border-color: #c6d1cb; }
:where(html:not(.dark)) .tl-ea .tl-ea-ki { background: #f3f0fc; border-color: #c9bdf0; color: #3d3366; }
:where(html:not(.dark)) .tl-ea .tl-ea-ki b { color: #241c4a; }
:where(html:not(.dark)) .tl-ea .tl-ea-ki small { color: #6a5f99; }
:where(html:not(.dark)) .tl-ea .tl-ea-ki .tl-bl-knopf { background: #5b45b8; border-color: #5b45b8; color: #fff; }
.tl-ea .tl-ea-wahl select { flex: 1; min-width: 0; background: transparent; border: 0; color: inherit; font: inherit; appearance: none; -webkit-appearance: none; padding: 0; cursor: pointer; }
/* Hasan Tel 5204: hellgrüne Leiste zum Aufklappen (Steuerposition, „So wird gebucht“) */
.tl-bl .tl-bl-klapp { display: flex; flex-direction: column; gap: 8px; }
.tl-bl .tl-bl-klapp-inhalt { display: flex; flex-direction: column; gap: 8px; }
.tl-bl .tl-bl-leiste { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border: 1px solid #2E8B57; border-radius: 8px; background: #164a30; color: #b6ecd0; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.tl-bl .tl-bl-leiste-wert { flex: 1; min-width: 0; text-align: right; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-bl .tl-bl-leiste svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.tl-bl .tl-bl-leiste[aria-expanded="true"] svg { transform: rotate(180deg); }
:where(html:not(.dark)) .tl-bl .tl-bl-leiste { background: #ddf2e5; border-color: #3b9a66; color: #1d6b40; }

/* ===== Artikel › Entwürfe · Produkt bearbeiten – 1:1 nach Hasans Vorlage docs/design/eingang/2026-12-01-entwurf-produkt-bearbeiten-tel4131.html (Tel 4130–4137) ===== */
.tl-ew { --ew-app: #F2F7F4; --ew-rail: #E7F2EC; --ew-card: #FFFFFF; --ew-elev: #E9F5EE; --ew-row: #F5FAF7; --ew-de: #F3F7F5; --ew-it: #E6F5EC; --ew-input: #F8FCFA;
  --ew-rand: rgba(11, 31, 22, .12); --ew-rand-em: rgba(16, 185, 129, .38); --ew-rand-neu: rgba(5, 150, 105, .55); --ew-text: #0B1A13; --ew-sub: #365245; --ew-dim: #607B6E;
  --ew-e300: #6EE7B7; --ew-e400: #34D399; --ew-e500: #10B981; --ew-dunkel: #020617; --ew-rose: #FDA4AF;
  background: var(--ew-app); color: var(--ew-text); font-size: 12px; font-variant-numeric: tabular-nums; border-radius: 16px; overflow: hidden; }
.dark .tl-ew { --ew-app: #080E0B; --ew-rail: #0B130F; --ew-card: #0F1814; --ew-elev: #15251E; --ew-row: #0B120E; --ew-de: #0A120F; --ew-it: #102019; --ew-input: #09100D;
  --ew-rand: rgba(167, 243, 208, .11); --ew-rand-em: rgba(16, 185, 129, .36); --ew-rand-neu: rgba(16, 185, 129, .55); --ew-text: #ECFDF5; --ew-sub: #AEC5BA; --ew-dim: #6C8579; }
.tl-ew h1, .tl-ew h2 { font-family: 'Archivo', 'Inter', sans-serif; margin: 0; }
.tl-ew-rahmen { display: flex; flex-direction: column; }
.tl-ew-haupt { flex: 1; min-width: 0; padding: 16px; display: flex; flex-direction: column; gap: 20px; max-width: 1260px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.tl-ew-index { background: var(--ew-rail); border-top: 1px solid var(--ew-rand); padding: 16px; flex-shrink: 0; }
.tl-ew-index-innen { display: flex; flex-direction: column; gap: 10px; }
.tl-ew-index nav { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-ew-index a { padding: 6px 12px; border-radius: 12px; background: var(--ew-row); border: 1px solid var(--ew-rand); font-weight: 600; color: var(--ew-sub); text-decoration: none; transition: border-color .15s; }
.tl-ew-index a:hover { border-color: rgba(16, 185, 129, .4); }
.tl-ew-index a.tl-ew-index--an { color: var(--ew-e300); }
.tl-ew-klein { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ew-dim); }
.tl-ew-sub { color: var(--ew-sub); }
.tl-ew-dim { color: var(--ew-dim); }
.tl-ew-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tl-ew-gruen { color: var(--ew-e300); }
.tl-ew-gruen4 { color: var(--ew-e400); }
.tl-ew-rot { color: #EF4444; }
.tl-ew-fett { font-weight: 700; }
/* Kopf */
.tl-ew-kopf { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--ew-rand); padding-bottom: 16px; }
.tl-ew-kopf-text { display: flex; flex-direction: column; gap: 4px; }
.tl-ew-pfad { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11px; color: var(--ew-dim); }
.tl-ew-pfad button { all: unset; cursor: pointer; }
.tl-ew-pfad b { color: var(--ew-e400); font-weight: 600; }
.tl-ew h1 { font-size: 20px; font-weight: 700; letter-spacing: -.025em; line-height: 1.3; }
.tl-ew-kopf p { margin: 0; color: var(--ew-sub); }
.tl-ew-kopf p strong { color: var(--ew-e300); }
/* Knöpfe */
.tl-ew-knopf { all: unset; box-sizing: border-box; cursor: pointer; padding: 8px 16px; border-radius: 12px; font-weight: 700; transition: background .15s, border-color .15s; display: inline-flex; align-items: center; gap: 6px; }
.tl-ew-knopf--haupt { background: var(--ew-e500); color: var(--ew-dunkel); }
.tl-ew-knopf--haupt:hover { background: var(--ew-e400); }
.tl-ew-knopf--elev { background: var(--ew-elev); border: 1px solid var(--ew-rand-em); color: var(--ew-e300); }
.tl-ew-knopf--elev:hover { background: rgba(16, 185, 129, .2); }
.tl-ew-knopf--rot { padding: 8px 14px; background: var(--ew-row); border: 1px solid var(--ew-rand); color: var(--ew-rose); font-weight: 600; }
.tl-ew-knopf--rot:hover { border-color: rgba(244, 63, 94, .4); }
/* Steuerleiste DE / Ziel */
.tl-ew-steuer { background: var(--ew-elev); border: 1px solid var(--ew-rand-em); border-radius: 16px; padding: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tl-ew-steuer-teil { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-ew-steuer-titel { font-weight: 700; color: var(--ew-e300); }
.tl-ew-umschalter { display: inline-flex; border-radius: 12px; background: var(--ew-card); border: 1px solid var(--ew-rand); padding: 2px; }
.tl-ew-umschalter button { all: unset; cursor: pointer; padding: 4px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--ew-sub); }
.tl-ew-umschalter button.tl-ew-an { background: var(--ew-e500); color: var(--ew-dunkel); font-weight: 700; font-size: 11px; }
.tl-ew-steuer-hilfe { font-size: 11px; color: var(--ew-dim); display: none; }
.tl-ew-nur { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; color: var(--ew-e300); }
.tl-ew-nur input { width: 16px; height: 16px; accent-color: var(--ew-e500); }
.tl-ew-pille-zahl { padding: 2px 10px; border-radius: 999px; background: rgba(16, 185, 129, .15); border: 1px solid rgba(16, 185, 129, .35); font-size: 11px; font-weight: 700; color: var(--ew-e300); }
/* Abschnitte */
.tl-ew-karte { background: var(--ew-card); border: 1px solid var(--ew-rand); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 24px; }
.tl-ew-karte--weit { gap: 20px; }
.tl-ew-karte-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--ew-rand); padding-bottom: 12px; }
.tl-ew-karte-kopf h2 { font-size: 14px; font-weight: 700; }
.tl-ew-karte-kopf p { margin: 0; font-size: 11px; color: var(--ew-dim); }
.tl-ew-marke { padding: 4px 10px; border-radius: 8px; font-size: 11px; }
.tl-ew-marke--zeile { background: var(--ew-row); border: 1px solid var(--ew-rand); color: var(--ew-e300); }
.tl-ew-marke--elev { background: var(--ew-elev); border: 1px solid var(--ew-rand-em); color: var(--ew-e300); }
.tl-ew-marke--gruen { background: rgba(16, 185, 129, .15); color: var(--ew-e300); font-weight: 600; }
.tl-ew-marke--blass { padding: 0; color: var(--ew-dim); }
/* Infokacheln */
.tl-ew-kacheln { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tl-ew-kachel { background: var(--ew-row); border: 1px solid var(--ew-rand); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.tl-ew-kachel > small { font-size: 11px; color: var(--ew-dim); }
/* DE ↔ Ziel Paare */
.tl-ew-paar { background: var(--ew-row); border: 1px solid var(--ew-rand); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.tl-ew-paar--neu { border-color: var(--ew-rand-neu); box-shadow: inset 3px 0 0 #10B981; }
.tl-ew-paar-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.tl-ew-paar-kopf > span:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-ew-pille-ki { padding: 2px 8px; border-radius: 4px; background: rgba(16, 185, 129, .2); color: var(--ew-e300); font-weight: 600; font-size: 10px; }
.tl-ew-pille-neu { padding: 2px 8px; border-radius: 4px; background: var(--ew-e500); color: var(--ew-dunkel); font-weight: 700; font-size: 10px; }
.tl-ew-raster { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tl-ew-raster--eng { gap: 10px; }
.tl-ew-de { background: var(--ew-de); border: 1px solid var(--ew-rand); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tl-ew-de p, .tl-ew-it p { margin: 0; line-height: 1.625; white-space: pre-line; overflow-wrap: anywhere; }
.tl-ew-it { background: var(--ew-it); border: 1px solid var(--ew-rand-em); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tl-ew-it-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tl-ew-it-kopf .tl-ew-klein { color: var(--ew-e300); }
.tl-ew-it-kopf .tl-ew-mono { font-size: 10px; color: var(--ew-e400); }
.tl-ew-feld { width: 100%; box-sizing: border-box; padding: 8px 12px; border-radius: 8px; background: var(--ew-input); border: 1px solid var(--ew-rand); color: var(--ew-text); font-size: 12px; font-weight: 500; line-height: 1.625; font-family: inherit; }
.tl-ew-feld:focus { outline: none; border-color: rgba(16, 185, 129, .75); box-shadow: none; }
textarea.tl-ew-feld { resize: vertical; }
select.tl-ew-feld { appearance: none; -webkit-appearance: none; cursor: pointer; }
/* teleint-212 Nachtrag: mehrere Werte aus Amazons Liste – gewählte grün hinterlegt */
select.tl-ew-feld[multiple] { padding: 4px; overflow-y: auto; }
select.tl-ew-feld[multiple] option { padding: 3px 8px; border-radius: 6px; }
select.tl-ew-feld[multiple] option:checked { background: rgba(16, 185, 129, .18) linear-gradient(0deg, rgba(16, 185, 129, .18), rgba(16, 185, 129, .18)); color: var(--ew-text); font-weight: 700; }
.tl-ew-merkmale { display: flex; flex-direction: column; gap: 10px; }
.tl-ew-merkmale-kopf { display: flex; align-items: center; justify-content: space-between; }
.tl-ew-merkmal-nr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; color: var(--ew-e400); }
.tl-ew-leer { background: var(--ew-row); border: 1px solid var(--ew-rand); border-radius: 12px; padding: 16px; text-align: center; color: var(--ew-dim); }
/* Tabelle Varianten */
.tl-ew-tabelle-rahmen { overflow-x: auto; }
.tl-ew-tabelle { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.tl-ew-tabelle th { padding: 10px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ew-dim); font-weight: 700; border-bottom: 1px solid var(--ew-rand); }
.tl-ew-tabelle td { padding: 12px; background: var(--ew-row); border-top: 1px solid var(--ew-rand); }
.tl-ew-tabelle .tl-ew-rechts { text-align: right; }
.tl-ew-tabelle tr.tl-ew-aktuell td { box-shadow: inset 0 0 0 9999px rgba(16, 185, 129, .06); }
.tl-ew-tabelle tr.tl-ew-aktuell td:first-child { box-shadow: inset 3px 0 0 #10B981, inset 0 0 0 9999px rgba(16, 185, 129, .06); }
.tl-ew-versand { padding: 2px 8px; border-radius: 4px; background: rgba(16, 185, 129, .15); color: var(--ew-e300); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; font-size: 11px; }
.tl-ew-preisfeld { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tl-ew-preis-ein { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.tl-ew-preis-ein .tl-ew-feld { max-width: 140px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; }
/* Bilder */
.tl-ew-bilder { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tl-ew-bildkasten { background: var(--ew-row); border: 1px solid var(--ew-rand); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tl-ew-bildkasten-kopf { display: flex; align-items: center; justify-content: space-between; font-weight: 700; }
.tl-ew-hauptbild { min-height: 144px; border-radius: 12px; background: var(--ew-elev); border: 1px dashed var(--ew-rand-em); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; text-align: center; gap: 4px; }
.tl-ew-hauptbild img { max-width: 100%; max-height: 220px; border-radius: 8px; object-fit: contain; background: #fff; }
.tl-ew-variante-bilder { display: flex; flex-direction: column; gap: 6px; }
.tl-ew-variante-bilder + .tl-ew-variante-bilder { padding-top: 8px; border-top: 1px solid var(--ew-rand); }
.tl-ew-variante-bilder > b { font-size: 11px; font-weight: 600; color: var(--ew-e300); }
.tl-ew-bildreihe { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; font-size: 11px; }
.tl-ew-bild { border-radius: 12px; padding: 10px; text-align: center; display: flex; flex-direction: column; gap: 2px; align-items: center; background: var(--ew-de); border: 1px solid var(--ew-rand); }
.tl-ew-bild--swatch { background: var(--ew-it); border-color: var(--ew-rand-em); }
.tl-ew-bild img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 6px; background: #fff; }
.tl-ew-bild b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; color: var(--ew-sub); }
.tl-ew-bild--main b, .tl-ew-bild--swatch b { font-weight: 700; color: var(--ew-e300); }
.tl-ew-bild small { font-size: 10px; color: var(--ew-dim); }
.tl-ew-bild small.tl-ew-rot { color: #EF4444; }
.tl-ew-bild-leer { width: 100%; aspect-ratio: 1; border-radius: 6px; border: 1px dashed var(--ew-rand-em); }
/* Versand + Aktionen */
.tl-ew-aktionen { background: var(--ew-row); border: 1px solid var(--ew-rand); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.tl-ew-aktionen p { margin: 0; color: var(--ew-sub); line-height: 1.625; }
.tl-ew-aktionen p strong { color: var(--ew-e300); }
.tl-ew-aktionen-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex-shrink: 0; }
/* teleint-Info: alle Felder */
.tl-ew-felder { display: grid; grid-template-columns: 1fr; gap: 10px; }
.tl-ew-feldzeile { background: var(--ew-row); border: 1px solid var(--ew-rand); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.tl-ew-feldzeile-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.tl-ew-gruppe { font-weight: 700; margin-top: 4px; }
.tl-ew-pflicht { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.tl-ew-meldung { color: #EF4444; }
@media (min-width: 640px) {
  .tl-ew-haupt { padding: 24px; }
  .tl-ew h1 { font-size: 24px; }
  .tl-ew-karte { padding: 20px; }
  .tl-ew-karte-kopf h2 { font-size: 16px; }
  .tl-ew-steuer-hilfe { display: inline; }
  .tl-ew-bildreihe { grid-template-columns: repeat(4, 1fr); }
  .tl-ew-aktionen { flex-direction: row; align-items: center; }
}
@media (min-width: 768px) {
  .tl-ew-kacheln { grid-template-columns: repeat(2, 1fr); }
  .tl-ew-felder { grid-template-columns: repeat(2, 1fr); }
  .tl-ew-preisfeld { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .tl-ew-kacheln { grid-template-columns: repeat(4, 1fr); }
  .tl-ew-kacheln--drei { grid-template-columns: repeat(3, 1fr); }
  .tl-ew-raster--neben { grid-template-columns: repeat(2, 1fr); }
  .tl-ew-bilder { grid-template-columns: 4fr 8fr; }
}
@media (min-width: 1280px) {
  .tl-ew-rahmen { flex-direction: row; }
  .tl-ew-index { width: 224px; border-top: 0; border-left: 1px solid var(--ew-rand); }
  .tl-ew-index-innen { position: sticky; top: 24px; }
  .tl-ew-index nav { flex-direction: column; }
}

/* ===== teleint-212 (Entwurf d201aacf): Felder nach Amazon-Bereichen, Herkunft, DE-Wert, Warnung, Sprungleiste mit Punkten ===== */
/* Pflichtfeld: roter Stern hinter dem Namen */
.tl-ew-stern { color: #EF4444; font-weight: 700; }
/* Herkunft je Feld (aus pflichtfelder_ansehen): aus DE · im Entwurf · KI · fehlt */
.tl-ew-herkunft { margin-left: auto; padding: 1px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.tl-ew-herkunft--quelle { background: var(--ew-de); border: 1px solid var(--ew-rand); color: var(--ew-sub); }
.tl-ew-herkunft--entwurf { background: rgba(16, 185, 129, .15); border: 1px solid rgba(16, 185, 129, .35); color: var(--ew-e300); }
.tl-ew-herkunft--ki { background: rgba(16, 185, 129, .2); color: var(--ew-e300); }
.tl-ew-herkunft--fehlt { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .4); color: #EF4444; }
.tl-ew-feldzeile-kopf { width: 100%; }
/* DE-Fassung unter jedem Feld, auch wenn gleich */
.tl-ew-de-wert { font-size: 11px; color: var(--ew-dim); overflow-wrap: anywhere; }
.tl-ew-de-wert b { font-weight: 700; color: var(--ew-sub); margin-right: 4px; }
/* Feld fehlt / Feld unplausibel */
.tl-ew-feldzeile--fehlt { border-color: rgba(239, 68, 68, .45); }
.tl-ew-feldzeile--warn { border-color: rgba(234, 179, 8, .65); box-shadow: inset 3px 0 0 #EAB308; }
.tl-ew-feldzeile--warn .tl-ew-feld { border-color: rgba(234, 179, 8, .65); }
/* Zähler im Kartenkopf eines Bereichs */
.tl-ew-zaehler { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-ew-zaehler span { padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--ew-row); border: 1px solid var(--ew-rand); color: var(--ew-sub); }
.tl-ew-zaehler span.tl-ew-zaehler--rot { background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .4); color: #EF4444; }
.tl-ew-zaehler span.tl-ew-zaehler--gelb { background: rgba(234, 179, 8, .14); border-color: rgba(234, 179, 8, .55); color: #A16207; }
.dark .tl-ew-zaehler span.tl-ew-zaehler--gelb { color: #FDE047; }
.tl-ew-gelb { color: #A16207; }
.dark .tl-ew-gelb { color: #FDE047; }
/* Zwischentitel in einem Bereich (z. B. Nährwerte je 100 g) */
.tl-ew-unterkopf { display: flex; align-items: baseline; gap: 8px; font-weight: 700; margin-top: 4px; }
/* Gelber Warnkasten: unplausible Werte */
.tl-ew-warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(234, 179, 8, .12); border: 1px solid rgba(234, 179, 8, .55); color: #854D0E; line-height: 1.5; }
.dark .tl-ew-warn { color: #FDE68A; }
.tl-ew-warn > b:first-child { flex-shrink: 0; width: 20px; height: 20px; border-radius: 999px; background: #EAB308; color: #1C1917; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.tl-ew-warn p { margin: 0; }
/* Legende unter der Steuerleiste */
.tl-ew-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 11px; color: var(--ew-dim); }
.tl-ew-legende > span { display: inline-flex; align-items: center; gap: 6px; }
.tl-ew-legende .tl-ew-herkunft { margin-left: 0; }
/* Sprungleiste: Punkt bei fehlenden Pflichtfeldern (rot) oder Warnung (gelb) */
.tl-ew-index a { display: inline-flex; align-items: center; gap: 6px; }
.tl-ew-index-punkt { width: 7px; height: 7px; border-radius: 999px; background: #EF4444; flex-shrink: 0; }
.tl-ew-index-punkt--gelb { background: #EAB308; }

/* teleint-225, Entwurf Hasan Tel 4343/4344: Gebührenbelege in drei Stufen mit Balken (Maße aus dem Entwurf, Farben teleint). */
.tl-bh-geb { display: flex; flex-direction: column; gap: 1.25rem; padding: 1rem; border: 1px solid var(--bh-border); border-radius: 1rem; background: var(--bh-surface); font-size: .75rem; }
@media (min-width: 640px) { .tl-bh-geb { padding: 1.5rem; } .tl-bh-geb-feld, .tl-bh-geb-lauf, .tl-bh-geb-fertig { padding: 1.25rem; } }
.tl-bh-geb-kopf { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--bh-border); }
.tl-bh-geb-links { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.tl-bh-geb-titelzeile { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; }
.tl-bh-geb-titel { margin: 0; font-family: "Archivo", "Inter", sans-serif; font-size: 1.125rem; font-weight: 700; letter-spacing: -.025em; color: var(--bh-text); }
@media (min-width: 640px) { .tl-bh-geb-titel { font-size: 1.25rem; } }
.tl-bh-geb-meta { font-family: var(--bh-mono); font-size: .75rem; color: var(--bh-muted); }
.tl-bh-geb-pille { padding: .125rem .625rem; border: 1px solid; border-radius: 999px; font-family: var(--bh-mono); font-size: 11px; font-weight: 700; white-space: nowrap; }
.tl-bh-geb-zeile .tl-bh-geb-pille { padding-block: .25rem; }
a.tl-bh-geb-pille { cursor: pointer; text-decoration: none; }
.tl-bh-geb-pille--rose { background: color-mix(in srgb, var(--bh-rose) 15%, transparent); border-color: color-mix(in srgb, var(--bh-rose) 42%, transparent); color: var(--bh-rose-text); }
.tl-bh-geb-pille--amber { background: color-mix(in srgb, var(--bh-amber) 15%, transparent); border-color: color-mix(in srgb, var(--bh-amber) 42%, transparent); color: var(--bh-amber-text); }
.tl-bh-geb-pille--gruen { background: color-mix(in srgb, var(--bh-gruen) 20%, transparent); border-color: color-mix(in srgb, var(--bh-gruen) 38%, transparent); color: var(--bh-gruen); }
.tl-bh-geb-stufen { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-top: .125rem; font-size: 11px; }
.tl-bh-geb-stufe { padding: .125rem .625rem; border: 1px solid var(--bh-border); border-radius: 999px; background: var(--bh-elev); color: var(--bh-muted); font-weight: 600; }
.tl-bh-geb-stufe--rose { background: color-mix(in srgb, var(--bh-rose) 15%, transparent); border-color: color-mix(in srgb, var(--bh-rose) 42%, transparent); color: var(--bh-rose-text); }
.tl-bh-geb-stufe--amber { background: color-mix(in srgb, var(--bh-amber) 15%, transparent); border-color: color-mix(in srgb, var(--bh-amber) 42%, transparent); color: var(--bh-amber-text); }
.tl-bh-geb-stufe--gruen { background: color-mix(in srgb, var(--bh-gruen) 20%, transparent); border-color: color-mix(in srgb, var(--bh-gruen) 38%, transparent); color: var(--bh-gruen); }
.tl-bh-geb-pfeil { color: var(--bh-dim); }
.tl-bh-geb-rechts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.tl-bh-geb-knopf { padding: .375rem .75rem; border: 1px solid var(--bh-border); border-radius: .75rem; background: var(--bh-elev); color: var(--bh-muted); font-size: .75rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: border-color .15s; }
.tl-bh-geb-knopf:hover { border-color: color-mix(in srgb, var(--bh-gruen) 50%, transparent); }
.tl-bh-geb-knopf--gruen { color: var(--bh-gruen); }
.tl-bh-geb-feld { display: flex; flex-direction: column; gap: 1rem; padding: 1rem; border: 1px solid var(--bh-border); border-radius: 1rem; background: var(--bh-card); }
.tl-bh-geb-zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.tl-bh-geb-feldtitel { font-size: .875rem; font-weight: 700; color: var(--bh-text); }
.tl-bh-geb-text { margin: .25rem 0 0; font-size: .75rem; color: var(--bh-muted); }
.tl-bh-geb-text strong { color: var(--bh-text); }
.tl-bh-geb-aktionen { display: grid; grid-template-columns: 1fr; gap: .75rem; padding-top: .25rem; }
@media (min-width: 768px) { .tl-bh-geb-aktionen { grid-template-columns: 1fr 1fr; } }
.tl-bh-geb-gross { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; padding: .875rem 1rem; border: 1px solid var(--bh-border); border-radius: .75rem; background: var(--bh-elev); color: var(--bh-text); font-size: .75rem; font-weight: 700; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
@media (min-width: 640px) { .tl-bh-geb-gross { font-size: .875rem; } }
.tl-bh-geb-gross:hover { border-color: color-mix(in srgb, var(--bh-gruen) 50%, transparent); }
.tl-bh-geb-gross--gruen { border-color: var(--bh-gruen); background: var(--bh-gruen); color: var(--bh-auf-gruen); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.tl-bh-geb-gross--gruen:hover { background: var(--bh-gruen-hover); }
.tl-bh-geb-gross:disabled { opacity: .5; cursor: not-allowed; }
.tl-bh-geb-marke { flex: none; padding: .125rem .5rem; border-radius: .25rem; background: rgba(2,6,23,.15); font-family: var(--bh-mono); font-size: 11px; font-weight: 500; }
.tl-bh-geb-marke--gruen { background: color-mix(in srgb, var(--bh-gruen) 15%, transparent); color: var(--bh-gruen); }
.tl-bh-geb-sperre { margin: 0; font-size: 11px; color: var(--bh-dim); }
.tl-bh-geb-lauf { display: flex; flex-direction: column; gap: 1rem; padding: 1rem; border: 1px solid color-mix(in srgb, var(--bh-amber) 42%, transparent); border-radius: 1rem; background: color-mix(in srgb, var(--bh-amber) 8%, transparent); }
.tl-bh-geb-laufkopf { display: flex; align-items: center; gap: .625rem; }
.tl-bh-geb-punkt { flex: none; width: .625rem; height: .625rem; border-radius: 999px; background: #FBBF24; animation: tl-bh-geb-puls 2s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes tl-bh-geb-puls { 50% { opacity: .5; } }
.tl-bh-geb-lauftitel { font-size: .875rem; font-weight: 700; color: var(--bh-amber-text); }
.tl-bh-geb-zaehler { display: flex; align-items: center; gap: .75rem; font-family: var(--bh-mono); font-size: .75rem; font-weight: 700; color: var(--bh-amber-text); }
.tl-bh-geb-prozent { min-width: 2.5rem; text-align: right; }
.tl-bh-geb-zahl { padding: .25rem .625rem; border: 1px solid color-mix(in srgb, var(--bh-amber) 42%, transparent); border-radius: .5rem; background: color-mix(in srgb, var(--bh-amber) 15%, transparent); }
.tl-bh-geb-spur { width: 100%; height: .75rem; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--bh-gruen) 13%, transparent); }
.tl-bh-geb-spur--duenn { height: .625rem; }
.tl-bh-geb-balken { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #F59E0B 0%, #10B981 100%); transition: width .2s ease-out; }
.tl-bh-geb-balken--voll { width: 100%; background: var(--bh-gruen); }
.tl-bh-geb-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: -.625rem; font-family: var(--bh-mono); font-size: 11px; color: var(--bh-muted); }
.tl-bh-geb-fertig { display: flex; flex-direction: column; gap: .75rem; padding: 1rem; border: 1px solid color-mix(in srgb, var(--bh-gruen) 38%, transparent); border-radius: 1rem; background: color-mix(in srgb, var(--bh-gruen) 7%, var(--bh-card)); }
.tl-bh-geb-fertigtitel { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 700; color: var(--bh-gruen); }
.tl-bh-geb-fehler { display: flex; flex-direction: column; gap: .375rem; padding: .875rem 1rem; border: 1px solid color-mix(in srgb, var(--bh-rose) 42%, transparent); border-radius: .75rem; background: color-mix(in srgb, var(--bh-rose) 6%, transparent); }
.tl-bh-geb-fehlerzeile { display: flex; flex-wrap: wrap; gap: .25rem .75rem; color: var(--bh-rose-text); }
.tl-bh-geb-nr { font-family: var(--bh-mono); font-weight: 600; color: var(--bh-text); }
/* teleint-228 (Hasan Tel 5509): Steuerposition in der Auftragszeile ändern */
.tl-bh-p-pos-aendern { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .5rem; }
.tl-bh-p-pos-aendern .tl-bh-auswahl { width: auto; min-width: 12rem; min-height: 34px; padding: .375rem 2rem .375rem .625rem; }
/* teleint-228 (Hasan Tel 5489/5515): falsche Steuer am Auftrag – Klartext groß an der Bestellzeile */
/* teleint-616 (Hasan Tel 4471): dezent wie der Rest der Seite, Schrift klein – roter Strich links, Rest in Seitenfarben. */
.tl-bh-p-klartext { margin: .375rem 0 .25rem 1.75rem; padding: .5rem .75rem; border-radius: .5rem; border: 1px solid var(--bh-border); border-left: 3px solid var(--bh-rose); background: var(--bh-card); color: var(--bh-muted); font-size: .8125rem; line-height: 1.45; }
.tl-bh-p-klartext b { color: var(--bh-text); }
.tl-bh-p-klartext p { margin: 0 0 .25rem; }
.tl-bh-p-klartext-tun { font-weight: 600; color: var(--bh-rose-text); }
/* teleint-616 (Hasan Tel 4384): Knopf im roten Kasten rechts oben; über ihn geöffnet ist die Auswahl rot umrandet. */
.tl-bh-p-klartext .tl-bh-p-pos-aendern { float: right; margin: 0 0 .375rem .75rem; }
.tl-bh-p-klartext::after { content: ""; display: block; clear: both; }
.tl-bh-auswahl.tl-bh-p-pos-rot { border: 2px solid var(--bh-rose); }
@media (max-width: 640px) { .tl-bh-p-klartext .tl-bh-p-pos-aendern { float: none; margin: 0 0 .5rem; } }
/* #633: Pille „✦ KI“ klickbar, KI-Kasten unten in der aufgeklappten Bestellung. */
.tl-bh-p-kimarke { cursor: pointer; border: 0; font: inherit; }
.tl-bh-p-kimarke:hover { background: color-mix(in srgb, #6366F1 28%, transparent); }
.tl-bh-p-kikasten { margin-top: .75rem; padding: .625rem .75rem; border: 1px solid color-mix(in srgb, #818CF8 35%, transparent); border-radius: .5rem; background: color-mix(in srgb, #6366F1 7%, transparent); }
.tl-bh-p-kikasten .tl-bh-p-kt { color: var(--bh-ki); }
.tl-bh-p-kikasten-text { margin: .25rem 0 .5rem; font-size: 12px; white-space: pre-line; }
.tl-bh-p-ki--alt { color: var(--bh-muted); font-weight: 400; text-decoration: line-through; }
@media (max-width: 640px) { .tl-bh-p-klartext { margin-left: 0; font-size: 13px; } }
/* teleint-614 (Hasan Tel 5548): Reiter „Odoo“ mit der Zeile aus „Alle“; Lieferant/Einkauf unter Versand, Abgleich-Pillen unter Stand. */
.tl-bl .tl-bl-liste2 .tl-bl-lief { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 4px; min-width: 0; max-width: 100%; }
.tl-bl .tl-bl-liste2 .tl-bl-lief .tl-bl-blass { display: block; max-width: 100%; overflow-wrap: anywhere; font-size: 12px; line-height: 1.3; }
.tl-bl .tl-bl-liste2 .tl-bl-mland > .tl-bl-pille { white-space: normal; line-height: 1.2; max-width: 100%; }
.tl-bl .tl-bl-liste2 .tl-bl-stand--odoo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tl-bl .tl-bl-liste2 .tl-bl-abgl { display: flex; flex-wrap: wrap; gap: 4px; }
/* teleint-614 Nacharbeit: Abgleich-Pille einzeilig. */
.tl-bl .tl-bl-liste2 .tl-bl-abgl .tl-bl-pille { white-space: nowrap; }
/* teleint-621 (Hasan Tel 4441/4442/4444): aufgeklappte Bestellung mit klarer Farbtrennung – nur Kastenfarben, Texte bleiben. */
.tl-bh { --bh-of-schale: #E3F2EB; --bh-of-kopf: #CCE7DB; --bh-of-innen: #F4FAF7; --bh-of-karte: #FFFFFF; --bh-of-rand: #059669; --bh-of-linie: rgba(5, 150, 105, .28); }
.dark .tl-bh { --bh-of-schale: #172A24; --bh-of-kopf: #1F3931; --bh-of-innen: #12221D; --bh-of-karte: #192F28; --bh-of-rand: #34D399; --bh-of-linie: rgba(110, 231, 183, .26); }
.tl-bh-p-punkt.tl-bh-p-punkt--offen { padding: 0; overflow: hidden; background: var(--bh-of-schale); border: 1.5px solid var(--bh-of-rand); border-left: 5px solid var(--bh-of-rand); border-radius: 1rem; box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .45); }
.tl-bh-p-punkt--offen > .tl-bh-p-punkt-kopf, .tl-bh-p-punkt--offen > .tl-bh-p-punkt-kopf.tl-bh-p-zeile { margin: 0; padding: .6875rem 1rem; border-radius: 0; background: var(--bh-of-kopf); border-bottom: 1px solid var(--bh-of-linie); }
.tl-bh-p-punkt--offen > .tl-bh-p-punkt-kopf.tl-bh-p-zeile:hover { background: var(--bh-of-kopf); }
.tl-bh-p-punkt--offen > :not(.tl-bh-p-punkt-kopf) { margin-left: 1rem; margin-right: 1rem; }
.tl-bh-p-punkt--offen > .tl-bh-p-karte { margin-top: .75rem; padding-top: 0; border-top: 0; margin-bottom: 0; }
.tl-bh-p-punkt--offen .tl-bh-p-zwei > div { background: var(--bh-of-innen); border: 1px solid var(--bh-of-linie); border-radius: .8125rem; padding: .8125rem .875rem; }
.tl-bh-p-punkt--offen .tl-bh-p-zwei > div .tl-bh-tabelle-scroll { background: transparent; }
.tl-bh-p-punkt--offen .tl-bh-p-buchung, .tl-bh-p-punkt--offen .tl-bh-p-drei > div { background: var(--bh-of-karte); border-color: var(--bh-of-linie); border-radius: .75rem; padding: .8125rem .875rem; }
.tl-bh-p-punkt--offen .tl-bh-p-drei > div > .tl-bh-p-kt { padding-bottom: .4375rem; border-bottom: 1px solid var(--bh-of-linie); }
.tl-bh-p-punkt--offen .tl-bh-p-protokoll { margin: 0 -1rem; padding: .6875rem 1rem; background: var(--bh-of-kopf); border-top: 1px solid var(--bh-of-linie); }


/* teleint-235: Plattform › Texte (Hinweis- und KI-Texte je Sprache) */
.tl-tx-kopf { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.tl-tx-suche { flex: 1 1 18rem; }
.tl-tx-sprachen { display: flex; gap: .25rem; }
.tl-tx-sprache { padding: .45rem .8rem; border: 1px solid var(--tl-line); border-radius: var(--tl-radius); font-size: .8rem; font-weight: 600; background: transparent; cursor: pointer; }
.tl-tx-sprache--an { background: var(--tl-citron); border-color: var(--tl-citron); color: #15130E; }
.tl-tx-fenster { display: flex; flex-direction: column; gap: .5rem; }
.tl-tx-zeile { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.tl-tx-schluessel { font-size: .75rem; opacity: .7; word-break: break-all; }
.tl-tx-pille { font-size: .7rem; font-weight: 600; padding: .1rem .5rem; border-radius: 999px; border: 1px solid var(--tl-line); }
.tl-tx-pille--eigen { background: var(--tl-citron); border-color: var(--tl-citron); color: #15130E; }
.tl-tx-titel { font-size: .8rem; font-weight: 600; margin-top: .25rem; }
.tl-tx-text { font-size: .875rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.tl-tx-text--vorgabe { padding: .6rem .75rem; border-radius: var(--tl-radius); background: var(--tl-paper); border: 1px solid var(--tl-line); }
.tl-tx-feld { width: 100%; font-size: .875rem; padding: .6rem .75rem; border: 1px solid var(--tl-line); border-radius: var(--tl-radius); background: transparent; color: inherit; resize: vertical; }
.tl-tx-fehler { font-size: .8rem; color: #DC2626; }
.tl-tx-knoepfe { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-top: .25rem; }
.tl-tx-leise { opacity: .7; }
.tl-tx-eintrag { padding: .6rem 0; border-top: 1px solid var(--tl-line); display: flex; flex-direction: column; gap: .25rem; }
.tl-tx-eintrag--offen { background: var(--tl-paper); margin: 0 -.75rem; padding: .6rem .75rem; }
.tl-tx-oeffnen { margin-left: auto; font-size: .8rem; font-weight: 600; text-decoration: underline; background: none; border: 0; cursor: pointer; color: inherit; }
.tl-ki-anweisung { white-space: pre-wrap; max-height: 16rem; overflow-y: auto; font-size: .8rem; line-height: 1.15rem; padding: .5rem .6rem; margin-top: .25rem; border: 1px solid var(--tl-line); border-radius: var(--tl-radius); }

/* teleint-223 (#601) / #603 Punkt 18: Fenster „Sag deiner KI“ mittig, Text zum Kopieren. */
.tl-kifr-grund { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgb(17 24 39 / .45); }
.dark .tl-kifr-grund { background: rgb(0 0 0 / .6); }
.tl-kifr { width: 640px; max-width: 100%; max-height: calc(100vh - 32px); display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; background: #fff; border: 1px solid var(--tl-line); border-radius: 14px; box-shadow: 0 16px 40px rgb(0 0 0 / .2); }
.dark .tl-kifr { background: #151c19; border-color: #2a3a33; }
.tl-kifr-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tl-kifr-titel { font-size: .95rem; font-weight: 600; }
.tl-kifr-zu { font-size: 1.25rem; line-height: 1; opacity: .6; }
.tl-kifr-zu:hover { opacity: 1; }
.tl-kifr-text { white-space: pre-wrap; overflow-y: auto; font-size: .8125rem; line-height: 1.25rem; padding: 10px 12px; border: 1px solid var(--tl-line); border-radius: 10px; background: rgb(0 0 0 / .02); }
.dark .tl-kifr-text { background: rgb(255 255 255 / .03); }
.tl-kifr-hinweis { font-size: .8125rem; }
.tl-kifr-hinweis a { color: var(--primary-600); text-decoration: underline; }
.tl-kifr-fuss { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.tl-kifr-kopiert { font-size: .75rem; color: #2fa063; margin-right: auto; }
.tl-kifr-knopf { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; font-size: .8125rem; font-weight: 500; border: 1px solid var(--tl-line); border-radius: 8px; background: transparent; }
.tl-kifr-knopf--haupt { background: #2fa063; border-color: #2fa063; color: #fff; }
/* #632 (Hasan Tel 4558): Bestätigungsfenster statt Browser-confirm() – gleiches Fenster, schmaler, Frage als Text. */
.tl-kifr--frage { width: 460px; }
.tl-kifr-frage { white-space: pre-line; font-size: .875rem; line-height: 1.35rem; }

/* teleint-616 (Hasan Tel 4389): Knöpfe mit 3D-Kante, damit man sieht, dass man klicken kann; gesperrte bleiben flach. */
:is(.tl-bh-knopf, .tl-bl-knopf, .tl-as-knopf, .tl-bh-sd-knopf):not(:disabled, .tl-bh-knopf--gesperrt, .tl-bh-knopf--fertig) { box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 2px 0 rgb(0 0 0 / .18), 0 3px 6px rgb(0 0 0 / .10); transition: transform .05s, box-shadow .05s; }
:is(.tl-bh-knopf--gruen, .tl-bl-knopf--haupt, .tl-as-knopf--haupt):not(:disabled) { box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 2px 0 rgb(2 44 34 / .7), 0 3px 6px rgb(0 0 0 / .18); }
.dark :is(.tl-bh-knopf, .tl-bl-knopf, .tl-as-knopf, .tl-bh-sd-knopf):not(:disabled, .tl-bh-knopf--gesperrt, .tl-bh-knopf--fertig) { box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 3px 0 #000, 0 4px 8px rgb(0 0 0 / .5); }
:is(.tl-bh-knopf, .tl-bl-knopf, .tl-as-knopf, .tl-bh-sd-knopf):not(:disabled, .tl-bh-knopf--gesperrt, .tl-bh-knopf--fertig):active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 0 0 rgb(0 0 0 / .2); }

/* #644 (KI › Anweisungen), 1:1 aus Entwurf dfa2ec7c texte.css (#618 / teleint-235, Betreiber › Plattform › Texte).
   Wurzel: <div class="tl-bl tl-tx">. Präfix tl-tx-. Dunkel ist Grundfassung, hell gilt für html ohne .dark. */
.tl-tx .tl-tx-suche { gap: 8px; width: 340px; }
.tl-tx .tl-tx-suche svg, .tl-tx .tl-tx-stift svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tl-tx .tl-tx-stift { display: inline-flex; }
.tl-tx .tl-tx-stift svg { width: 13px; height: 13px; }
/* Bereiche */
.tl-tx .tl-tx-bereiche { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-tx .tl-tx-bl { font-size: 12px; color: #8fa89b; margin-right: 2px; }
.tl-tx .tl-tx-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid #44594f; background: #18221e; font-size: 12px; font-weight: 600; color: #c8d4ce; white-space: nowrap; }
.tl-tx .tl-tx-chip i { font-style: normal; font-weight: 500; color: #8fa89b; }
.tl-tx .tl-tx-chip.tl-tx-an { background: #164a30; border-color: #2E8B57; color: #fff; }
.tl-tx .tl-tx-chip.tl-tx-an i { color: #b6ecd0; }
.tl-tx .tl-tx-chip.tl-tx-nur::before { content: ""; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid #8fa89b; }
.tl-tx .tl-tx-trenn { width: 1px; height: 20px; background: #3c5148; margin: 0 4px; }
/* Liste */
.tl-tx .tl-tx-liste { overflow: hidden; }
.tl-tx .tl-tx-zeile { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) minmax(0, 1.5fr) 118px 112px; gap: 16px; align-items: start; padding: 14px 16px; border-top: 1px solid #2a3a33; font-size: 13px; line-height: 1.5; color: #e2e9e5; }
.tl-tx .tl-tx-zeile.tl-tx-kopf { border-top: 0; background: #1f2b26; font-size: 12px; font-weight: 600; color: #b4c4bb; padding-top: 10px; padding-bottom: 10px; }
.tl-tx .tl-tx-zeile.tl-tx-geaendert { box-shadow: inset 4px 0 0 #E39225; }
.tl-tx .tl-tx-sch { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tl-tx code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #8cc3ff; overflow-wrap: break-word; }
.tl-tx .tl-tx-ber { align-self: flex-start; font-size: 11px; font-weight: 600; color: #b4c4bb; background: #26332d; border: 1px solid #3c5148; border-radius: 6px; padding: 1px 7px; }
.tl-tx .tl-tx-std { color: #a9bdb2; }
.tl-tx .tl-tx-eigen small { display: block; margin-top: 4px; font-size: 11px; color: #8fa89b; }
.tl-tx .tl-tx-leer { color: #5d7268; }
.tl-tx .tl-tx-stand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tl-tx .tl-tx-en { font-size: 11px; color: #8fa89b; }
.tl-tx .tl-tx-tun { display: flex; justify-content: flex-end; }
.tl-tx .tl-tx-ph { color: #ffd08a; background: rgba(227,146,37,.14); border-radius: 4px; padding: 0 3px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.tl-tx .tl-tx-fuss { padding: 12px 16px; border-top: 1px solid #2a3a33; font-size: 12px; color: #8fa89b; }
/* Fenster */
.tl-tx .tl-tx-fenster { width: 560px; gap: 14px; }
.tl-tx .tl-tx-fenster--gross { width: 100%; max-width: 980px; }
.tl-tx .tl-tx-f-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tl-tx .tl-tx-f-kopf h3 { margin-bottom: 4px; }
.tl-tx .tl-tx-spr { height: 28px; padding: 0 12px; font-size: 12px; flex: none; }
.tl-tx .tl-tx-f-feld { display: flex; flex-direction: column; gap: 6px; }
.tl-tx .tl-tx-f-l { font-size: 12px; font-weight: 600; color: #b4c4bb; }
.tl-tx .tl-tx-f-l small { font-weight: 400; color: #8fa89b; }
.tl-tx .tl-tx-vorgabe { padding: 10px 12px; border-radius: 8px; background: #141c19; border: 1px dashed #3c5148; font-size: 13px; line-height: 1.55; color: #a9bdb2; }
.tl-tx .tl-tx-eingabe { min-height: 92px; padding: 10px 12px; border-radius: 8px; background: #111916; border: 1px solid #2f6fb8; font-size: 13px; line-height: 1.55; color: #e2e9e5; white-space: pre-wrap; }
.tl-tx .tl-tx-eingabe--gross { min-height: 460px; font-size: 13px; }
.tl-tx .tl-tx-eingabe--fehler { border-color: #d0524a; }
.tl-tx .tl-tx-fehler { font-size: 12px; color: #ffb3ad; background: #3a1614; border: 1px solid #d0524a; border-radius: 8px; padding: 8px 10px; }
.tl-tx .tl-tx-ph-box { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 8px; background: #2a2210; border: 1px solid #8a6420; font-size: 12px; color: #f0d6a6; }
.tl-tx .tl-tx-ph-box b { color: #ffd08a; font-size: 12px; }
.tl-tx .tl-tx-ph-box div { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-tx .tl-tx-ph-chip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; padding: 2px 8px; border-radius: 6px; border: 1px solid; }
.tl-tx .tl-tx-ph-chip.tl-tx-da { background: #164a30; border-color: #2E8B57; color: #b6ecd0; }
.tl-tx .tl-tx-ph-chip.tl-tx-da::before { content: "✓ "; }
.tl-tx .tl-tx-ph-chip.tl-tx-fehlt { background: #4a1a18; border-color: #d0524a; color: #ffc0bb; }
.tl-tx .tl-tx-ph-chip.tl-tx-fehlt::before { content: "✕ "; }
.tl-tx .tl-tx-hinweis { font-size: 12px; color: #cfe3fb; background: #173257; border: 1px solid #2f6fb8; border-radius: 8px; padding: 8px 10px; }
.tl-tx .tl-tx-wer { font-size: 12px; color: #8fa89b; }
.tl-tx .tl-tx-f-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 4px; border-top: 1px solid #2a3a33; padding-top: 12px; }
.tl-tx .tl-tx-luecke { flex: 1; }
.tl-tx .tl-tx-zurueck { border-color: #d0524a; color: #ffc0bb; background: transparent; }
@media (max-width: 900px) {
  .tl-tx .tl-tx-suche { width: 100%; margin-left: 0; }
  .tl-tx .tl-tx-zeile.tl-tx-kopf { display: none; }
  .tl-tx .tl-tx-zeile { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tl-tx .tl-tx-std::before, .tl-tx .tl-tx-eigen::before { content: attr(data-k); display: block; font-size: 11px; font-weight: 600; color: #8fa89b; margin-bottom: 2px; }
  .tl-tx .tl-tx-stand { flex-direction: row; align-items: center; gap: 8px; }
  .tl-tx .tl-tx-tun { justify-content: flex-start; }
  .tl-tx .tl-tx-fenster { width: 100%; }
  .tl-tx .tl-tx-eingabe--gross { min-height: 360px; }
  .tl-tx .tl-tx-f-kopf { flex-direction: column-reverse; }
  .tl-tx .tl-tx-trenn { display: none; }
}
:where(html:not(.dark)) .tl-tx .tl-tx-chip { background: #fff; border-color: #c9d6cf; color: #33443c; }
:where(html:not(.dark)) .tl-tx .tl-tx-chip i, :where(html:not(.dark)) .tl-tx .tl-tx-bl { color: #5f7268; }
:where(html:not(.dark)) .tl-tx .tl-tx-chip.tl-tx-an { background: #e3f3ea; border-color: #23874f; color: #10301f; }
:where(html:not(.dark)) .tl-tx .tl-tx-chip.tl-tx-an i { color: #23874f; }
:where(html:not(.dark)) .tl-tx .tl-tx-suche { background: #fff; border-color: #c9d6cf; color: #5f7268; }
:where(html:not(.dark)) .tl-tx .tl-tx-trenn { background: #c9d6cf; }
:where(html:not(.dark)) .tl-tx .tl-tx-zeile { border-color: #e2e8e5; color: #1c2a24; }
:where(html:not(.dark)) .tl-tx .tl-tx-zeile.tl-tx-kopf { background: #f1f5f3; color: #4a5c53; }
:where(html:not(.dark)) .tl-tx code { color: #1f5fa8; }
:where(html:not(.dark)) .tl-tx .tl-tx-ber { background: #eef3f0; border-color: #d5e0da; color: #4a5c53; }
:where(html:not(.dark)) .tl-tx .tl-tx-std, :where(html:not(.dark)) .tl-tx .tl-tx-vorgabe { color: #4a5c53; }
:where(html:not(.dark)) .tl-tx .tl-tx-eigen small, :where(html:not(.dark)) .tl-tx .tl-tx-en, :where(html:not(.dark)) .tl-tx .tl-tx-fuss, :where(html:not(.dark)) .tl-tx .tl-tx-wer, :where(html:not(.dark)) .tl-tx .tl-tx-f-l small { color: #5f7268; }
:where(html:not(.dark)) .tl-tx .tl-tx-leer { color: #a3b3ab; }
:where(html:not(.dark)) .tl-tx .tl-tx-ph { color: #8a4f00; background: #fdf0da; }
:where(html:not(.dark)) .tl-tx .tl-tx-fuss, :where(html:not(.dark)) .tl-tx .tl-tx-f-fuss { border-color: #e2e8e5; }
:where(html:not(.dark)) .tl-tx .tl-tx-f-l { color: #33443c; }
:where(html:not(.dark)) .tl-tx .tl-tx-vorgabe { background: #f4f7f5; border-color: #c9d6cf; }
:where(html:not(.dark)) .tl-tx .tl-tx-eingabe { background: #fff; color: #1c2a24; }
:where(html:not(.dark)) .tl-tx .tl-tx-fehler { background: #fdecea; color: #9b2a22; }
:where(html:not(.dark)) .tl-tx .tl-tx-ph-box { background: #fff7e8; border-color: #e6b866; color: #6b4a0e; }
:where(html:not(.dark)) .tl-tx .tl-tx-ph-box b { color: #7a4a0a; }
:where(html:not(.dark)) .tl-tx .tl-tx-ph-chip.tl-tx-da { background: #e3f3ea; color: #17633a; }
:where(html:not(.dark)) .tl-tx .tl-tx-ph-chip.tl-tx-fehlt { background: #fdecea; color: #9b2a22; }
:where(html:not(.dark)) .tl-tx .tl-tx-hinweis { background: #eaf2fc; color: #1f4f8a; }
:where(html:not(.dark)) .tl-tx .tl-tx-zurueck { color: #b2362d; }
/* #644: im Entwurf ein div – im Bau ein Textfeld, das die volle Breite nimmt. */
.tl-tx textarea.tl-tx-eingabe { width: 100%; font-family: inherit; resize: vertical; }
/* NEU #626 / teleint-239 (Hasan Tel 4506): Wahl vor den fünf Fragen + Einstellungen › Teleint einrichten.
   Ergänzt einrichtung-assistent.css. Wurzel: <div class="tl-bl tl-ea">. Dunkel ist Grundfassung, hell gilt für html ohne .dark. */
.tl-ea .tl-ea-start { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tl-ea .tl-ea-start-kasten { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 18px; border-radius: 14px; border: 2px solid; min-height: 260px; }
.tl-ea .tl-ea-start--ki { border-color: #6b55c8; background: #1d1a2e; color: #d6d0f0; }
.tl-ea .tl-ea-start--hand { border-color: #2E8B57; background: #12261b; color: #c6ead6; }
.tl-ea .tl-ea-start-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.tl-ea .tl-ea-start-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tl-ea .tl-ea-start--ki .tl-ea-start-ic { background: #6b55c8; }
.tl-ea .tl-ea-start--hand .tl-ea-start-ic { background: #2E8B57; }
.tl-ea .tl-ea-start-titel { font-size: 21px; color: #fff; }
.tl-ea .tl-ea-start-satz { font-size: 14px; line-height: 1.5; }
.tl-ea .tl-ea-start-kasten ul { margin: 0; padding-left: 18px; list-style: disc; font-size: 13px; line-height: 1.7; opacity: .9; }
.tl-ea .tl-ea-start-kasten .tl-bl-knopf.tl-ea-start-knopf { margin-top: auto; align-self: stretch; justify-content: center; text-align: center; font-size: 15px; font-weight: 600; padding: 12px 16px; color: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.35); }
.tl-ea .tl-ea-start--ki .tl-ea-start-knopf { background: #6b55c8; border-color: #6b55c8; }
.tl-ea .tl-ea-start--hand .tl-ea-start-knopf { background: #2E8B57; border-color: #2E8B57; }
.tl-ea .tl-ea-start-kasten small { font-size: 12px; opacity: .75; text-align: center; }
/* Einstellungen › Teleint einrichten */
.tl-ea .tl-ea-einst { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 16px; align-items: start; }
.tl-ea .tl-ea-einst-menue { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 10px; border: 1px solid #2a3a32; background: #141c18; font-size: 13px; color: #a9bdb2; }
.tl-ea .tl-ea-einst-menue b { color: #fff; font-size: 14px; padding: 2px 8px 8px; }
.tl-ea .tl-ea-einst-menue span { padding: 7px 8px; border-radius: 7px; }
.tl-ea .tl-ea-einst-menue span.tl-ea-einst-an { background: #1f3a2b; color: #fff; font-weight: 600; }
@media (max-width: 760px) {
  .tl-ea .tl-ea-start { grid-template-columns: 1fr; }
  .tl-ea .tl-ea-start-kasten { min-height: 0; padding: 18px 16px 14px; }
  .tl-ea .tl-ea-start-titel { font-size: 19px; }
  .tl-ea .tl-ea-einst { grid-template-columns: 1fr; }
  .tl-ea .tl-ea-einst-menue { flex-direction: row; flex-wrap: wrap; }
  .tl-ea .tl-ea-einst-menue b { width: 100%; }
}
:where(html:not(.dark)) .tl-ea .tl-ea-start--ki { background: #f3f0fc; border-color: #8f7ad9; color: #3d3366; }
:where(html:not(.dark)) .tl-ea .tl-ea-start--hand { background: #eef8f2; border-color: #23874f; color: #1d4a32; }
:where(html:not(.dark)) .tl-ea .tl-ea-start--ki .tl-ea-start-titel { color: #241c4a; }
:where(html:not(.dark)) .tl-ea .tl-ea-start--hand .tl-ea-start-titel { color: #10301f; }
:where(html:not(.dark)) .tl-ea .tl-ea-start--ki .tl-ea-start-knopf { background: #5b45b8; border-color: #5b45b8; }
:where(html:not(.dark)) .tl-ea .tl-ea-start--hand .tl-ea-start-knopf { background: #23874f; border-color: #23874f; }
:where(html:not(.dark)) .tl-ea .tl-ea-start-knopf { box-shadow: 0 3px 0 rgba(0,0,0,.22); }
:where(html:not(.dark)) .tl-ea .tl-ea-einst-menue { background: #fff; border-color: #d5e0da; color: #4a5c53; }
:where(html:not(.dark)) .tl-ea .tl-ea-einst-menue b { color: #111a16; }
:where(html:not(.dark)) .tl-ea .tl-ea-einst-menue span.tl-ea-einst-an { background: #e3f3ea; color: #10301f; }

/* DATEV Teil 1 (Entwurf c8e4a5a6, tl-dv-*) */
.tl-dv-gruppe { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; border-radius: .75rem; }
.tl-dv-zeile { display: flex; align-items: center; gap: .5rem; }
.tl-dv-haken { width: 1.05rem; height: 1.05rem; flex: none; border-radius: .25rem; border: 1.5px solid var(--bh-border2); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; line-height: 1; }
.tl-dv-haken--an { background: var(--bh-gruen); border-color: var(--bh-gruen); color: #fff; }
.tl-dv-fehler td { white-space: normal; background: color-mix(in srgb, #e5484d 8%, transparent); }
.tl-bh-k-kasten.tl-dv-breit { max-width: 46rem; width: 100%; }
.tl-dv-breit .tl-bh-tabelle { min-width: 0; }
.tl-dv-breit .tl-bh-tabelle :is(th, td):last-child { white-space: nowrap; }
@media (max-width: 640px) { .tl-dv-breit .tl-bh-tabelle td.tl-bh-mono:first-child { overflow-wrap: anywhere; } }
.tl-dv-haken.tl-dv-rund { border-radius: 999px; }
.tl-dv-zeitraum { width: auto; min-width: 11rem; height: 2.75rem; }
.tl-dv-liste { max-width: 20rem; padding: .5rem; gap: 0; }
.tl-dv-gruppenname { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; opacity: .6; padding: .6rem .75rem .3rem; }
.tl-dv-eintrag { display: flex; justify-content: space-between; padding: .5rem .75rem; border-radius: .5rem; font-size: 14px; }
.tl-dv-eintrag--an { background: color-mix(in srgb, var(--bh-gruen) 14%, transparent); color: var(--bh-gruen); font-weight: 600; }
