/*
  workspace-bento-brett-tabelle.css — Schwarzes Brett als Listen-Tabelle mit Modul-Menü (Beta-Ring; Logik: js/workspace-bento-brett-tabelle.js).
  Kurzbeschreibung (für Laien): Tabelle und Vorschau kommen 1:1 aus den Bausteinen Listen-Tabelle (css/a4h-listentabelle.css) und Tabelle mit
  Vorschau (css/workspace-bento-tabelle-vorschau.css), das Menü rechts aus BentoSpalte. Hier steht nur: Rand der Fläche (wie der Projekt-Steckbrief),
  Farben der Typ- und Stand-Symbole, die ruhige Leer-Zeile, schmale Breite ohne Querscrollen und das Aushang-Formular einspaltig in der Vorschau.
  Abstände nur aus --marke-sp-1..5, Farben nur aus marke.css bzw. den Bento-Variablen; hell und dunkel.
*/
/* marke-ausnahme: Bento-Ansicht wie im AIOS (Bento-Variablen) */
:root.wb-menue-modus #bsBereich[data-bereich="brett"] .bbt-wss { padding: 0; }
:root.wb-menue-modus #bsBereich[data-bereich="brett"] .bbt-wss > .wss-detail { overflow: hidden; padding-top: 0; box-sizing: border-box; display: flex; flex-direction: column; min-height: 0; }
:root.wbm-links #bsBereich[data-bereich="brett"] .bbt-wss { --wbm-luft: 0px; column-gap: 0; }

/* Typ-Symbol: Aushang blau, wichtig (angeheftet) in Warnfarbe, Entwurf leise */
.bbt-wss .lt-typ-sym { --lt-f: var(--marke-nav-blau); color: var(--marke-nav-blau); }
.bbt-wss .lt-typ-sym.bbt-typ-nadel { color: var(--marke-warn); }
.bbt-wss .lt-typ-sym.bbt-typ-entwurf { color: var(--wb-leise, var(--marke-text-2)); }
.bbt-wss tr.bbt-wichtig .lt-text { font-weight: 600; }
.bbt-wss .lt-stand-sym svg { width: 16px; height: 16px; }
.bbt-wss .lt-stand-sym.bbt-ab { color: var(--wb-leise, var(--marke-text-2)); }
.bbt-wss tr.bbt-abgelaufen .lt-text { text-decoration: none; }

/* Leer: eine ruhige Zeile in der Tabelle, nicht anklickbar */
.bbt-wss .a4h-listentabelle tbody tr.bbt-leer { cursor: default; }
.bbt-wss .a4h-listentabelle tr.bbt-leer td { white-space: normal; color: var(--wb-leise, var(--marke-text-2)); padding-top: var(--marke-sp-4); padding-bottom: var(--marke-sp-4); }

/* Schmal (480): Nebenspalten treten zurück, nie quer scrollen */
.bbt-wss .tvs-liste { container: bbt-liste / inline-size; }
@container bbt-liste (max-width: 620px) { .bbt-wss .a4h-listentabelle :is(.bbt-s-abt, .bbt-s-bis) { display: none; } }
@container bbt-liste (max-width: 440px) { .bbt-wss .a4h-listentabelle .bbt-s-von { display: none; } }
.bbt-wss .tvs.lesen:not(.unten):not(.schmal) .bbt-s-abt { display: none; }
.bbt-wss .tvs-inhalt { padding-bottom: var(--marke-sp-4); }

/* Vorschau: Aushang und Formular einspaltig, so breit wie die Vorschau */
#bsBereich[data-bereich="brett"] .bbt-wss .tvs-inhalt .bb-detail { max-width: none; }
#bsBereich[data-bereich="brett"] .bbt-wss .tvs-inhalt .bb-form { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: var(--marke-sp-3); }
#bsBereich[data-bereich="brett"] .bbt-wss .tvs-inhalt .bb-form > :is(.bb-form-kopf, .bb-k, .bb-k-breit) { grid-column: 1 / -1; grid-row: auto; padding: var(--marke-sp-4); }
#bsBereich[data-bereich="brett"] .bbt-wss .tvs-inhalt .bb-form .bb-hinweis { margin-top: 0; }
