/* PROJEKTCOCKPIT · VERZEICHNISSE – design/verzeichnis.css (ADR-088, Reihenfolge im <head>: design/README.md) */

/* 12 VERZEICHNISSE (ADR-052): Liste oder Tabelle nach Inhalt – Regeln design/komponenten.md §3, Muster im Styleguide „Verzeichnisse“ */
.tw.liste table { font-size: var(--fs-ui); }
.tw.liste th { padding: 0 var(--sp-4); }
.tw.liste td { height: 56px; padding: 0 var(--sp-4); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.tw.liste.kompakt td { height: var(--feld-h-gross); }
.tw.liste td.n b, .tw.liste td.n strong { font-weight: var(--fw-medium); }
.tw.liste th:first-child, .tw.liste td:first-child { padding-left: var(--sp-5); } .tw.liste th:last-child, .tw.liste td:last-child { padding-right: var(--sp-5); }
.tw.liste tbody tr:hover td, .tw.liste tbody tr:focus-within td { background: var(--surface-2); }
@media (hover: hover) { .tw.liste tbody tr.click:hover td:first-child { box-shadow: inset 3px 0 0 var(--accent); } }   /* Touch: kein hängendes :hover (iPhone) */
.tw.liste tbody tr.click:focus-visible td:first-child, .tw.liste tbody tr.click:has(:focus-visible) td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.tw.liste tr.grp td { font: var(--fw-medium) var(--fs-sm)/1.2 var(--fb); color: var(--ink-2); background: var(--surface-2); height: var(--feld-h); padding-top: 0; padding-bottom: 0; }
.tw.liste tr.grp td small { color: var(--muted); font-weight: var(--fw-regular); margin-left: var(--sp-2); }
.tw.liste tr.grp:hover td { background: var(--surface-2); box-shadow: none; }
.tw.liste .tz-p .z2 { display: grid; gap: 1px; }
.tw.liste .z2 > b, td.z2 > b { font-weight: var(--fw-semibold); color: var(--ink); line-height: 1.3; }
.tw.liste .z2 > small, td.z2 > small { font-size: var(--fs-xs); line-height: 1.3; color: var(--muted); font-weight: var(--fw-regular); }
.tw.liste .z2 > small.crit, td.z2 > small.crit { color: var(--crit-ink); } .tw.liste .z2 > small.warn, td.z2 > small.warn { color: var(--warn-ink); }
.tw.liste td.w { white-space: normal; }
.tw.liste td .avat { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-2); color: var(--accent-ink); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.tw.liste .tz-p { gap: var(--sp-3); }
.tw.liste .avatar.zu, .avatar.zu.klein { width: 24px; height: 24px; }   /* Tabellen, klein: #1797, #2604; leerer Kreis gleich groß (#3356) */
.tw.liste .avatar.zu:not(.ohne), .avatar.zu.klein:not(.ohne) { background: var(--surface-3); color: var(--ink-2); }
.tw.liste td.z2 { white-space: nowrap; } .tw.liste td.z2 > small { display: block; }
.tz-p { display: flex; align-items: center; gap: var(--sp-2); line-height: 1.3; } .tz-p .avat { flex: none; }   /* ui.person */
.tw.liste .tag { background: none; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); margin-right: var(--sp-1); vertical-align: middle;
  border-radius: var(--r-pill); padding: 3px 10px; }
.tw.liste button.tag { border: 0; cursor: pointer; } .tw.liste button.tag:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent-ink); }   /* Klick filtert */
.tw.liste td .leer-weg { color: var(--muted); }
.tw.liste tr.click td:last-child::after { content: none; } .tw.liste tr.click td:last-child { padding-right: var(--sp-5); }
/* Aktionen der Zeile (ui.table rows[]._aktionen): in der letzten Zelle, sichtbar beim Überfahren oder mit Fokus; höchstens ein Knopf in Akzent = nächster Schritt */
.tw.liste td:last-child { position: relative; }
.tak { position: absolute; inset: 0 var(--sp-5) 0 auto; min-width: calc(100% - var(--sp-5) - var(--sp-2)); padding-left: var(--sp-3); display: flex; align-items: center;
  justify-content: flex-end; gap: var(--sp-2); background: var(--surface-2); opacity: 0; pointer-events: none; transition: opacity var(--dur-1); }
/* deckt die letzte Zelle; breiter als die Spalte → wächst nach links über die Nachbarzellen (eigener Grund); feste Listen geben die Zelle bei Hover/Fokus frei */
.tw.liste.fest tr:hover td:last-child, .tw.liste.fest tr:focus-within td:last-child { overflow: visible; }
.tw.liste tr:hover .tak, .tw.liste tr:focus-within .tak { opacity: 1; pointer-events: auto; }
.tak .btn.icon-only { width: 28px; height: 28px; padding: 0; } .tak .btn.icon-only svg { width: 16px; height: 16px; }
@media (hover: none) { .tak { position: static; opacity: 1; pointer-events: auto; background: none; padding: 0; justify-content: flex-end; } }
.tfuss { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); flex-wrap: wrap; padding: 14px var(--sp-6); border-top: 1px solid var(--line); font-size: var(--fs-ui); color: var(--muted); }
.tfuss b { color: var(--ink); font-weight: var(--fw-semibold); }
/* Sortierkopf und Spaltenbreite (shared/tabelle.js): Knopf im th mit aria-sort (07 Tabellen), Ziehgriff am rechten Rand – Linie nur beim Überfahren */
.tw.liste th[data-k] { position: relative; } .tw.liste th button { color: inherit; } .tw.liste th button:hover, .tw.liste th[aria-sort] button { color: var(--ink); }
.tw.liste th[aria-sort] button { font-weight: var(--fw-semibold); }
.tw.liste th button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-xs); }
.tres { position: absolute; top: 0; right: 0; bottom: 0; width: var(--sp-2); cursor: col-resize; touch-action: none; }
.tres::after { content: ""; position: absolute; top: 30%; bottom: 30%; right: var(--sp-1); width: 1px; background: transparent; }
.tw.liste th:hover .tres::after, .tw.liste.zieht .tres::after { background: var(--line-2); }
.tw.liste.fest table { table-layout: fixed; width: 100%; }   /* feste Spalten: Breite = größere von Karte und Summe der Spalten (CSS 2.1 fixed layout) – Inhalt dehnt nicht */ .tw.liste.fest td { overflow: hidden; text-overflow: ellipsis; }
.tw.liste.zieht { cursor: col-resize; user-select: none; }
@media (max-width: 640px) { .tw.liste.fest table { width: 100%; } .tres { display: none; } .tw.liste th:first-child, .tw.liste td:first-child { padding-left: var(--sp-4); } }
/* Handy-Zeile (Julius 15.11.2026): ui.table col.mobil → tr.mz, td.m-t|m-r|m-2|m-aus; ⋯/Wischen → tr.tak-offen (shared/tabelle-wisch.js) */
.tmehr { display: none; }
@media (max-width: 640px) {
  .tw.liste .stapel tr.mz { display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 2px var(--sp-2); position: relative; min-height: 60px;
    box-sizing: border-box; padding: 10px 52px 10px var(--sp-4); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
  .tw.liste .stapel tr.mz:has(.m-t .avat) { padding-left: 60px; }
  .tw.liste .stapel tr.mz::after { content: ""; order: 3; flex-basis: 100%; }
  .tw.liste table.stapel tr.mz > td { display: block; width: auto; height: auto; min-width: 0; padding: 0; border: 0; background: none;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: static; }
  .tw.liste table.stapel tr.mz > td::before { content: none; }
  .tw.liste .stapel .mz > .m-aus { display: none; }
  .tw.liste .stapel .mz > .m-t { order: 1; flex: 1 1 0; font: var(--fw-semibold) var(--fs-md)/1.3 var(--fb); }
  .tw.liste .m-t .avat { position: absolute; left: var(--sp-4); top: 50%; translate: 0 -50%; background: var(--surface-3); color: var(--ink-2); }
  .tw.liste .m-t :is(.z2 > small, .psub) { display: none; }
  .tw.liste .m-t .z2 > b { display: block; overflow: hidden; text-overflow: ellipsis; }
  .tw.liste .stapel .mz > .m-r { order: 2; flex: 0 1 auto; max-width: 45%; font-size: var(--fs-sm); color: var(--ink-2); }
  .tw.liste .stapel .mz > .m-2 { order: 4; flex: 1 1 0; max-width: max-content; font-size: var(--fs-sm); color: var(--muted); }   /* bricht nie um, kürzt mit … */
  .tw.liste .stapel .mz > .m-2 ~ .m-2::before { content: "·"; margin-right: var(--sp-2); font: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
  .tw.liste .mz > :is(.m-2, .m-r) :is(small, .psub, br, .phs-seg):not(.tak *) { display: none; }
  .tw.liste .mz > :is(.m-2, .m-r) :is(.tag, .chip:not(.crit), .z2, .fknopf, .phs):not(.tak *) { all: unset; font: inherit; color: inherit; pointer-events: none; }   /* Text; Tipp öffnet die Zeile */
  .tw.liste .mz > :is(.m-2, .m-r).z2 > b { font-weight: inherit; color: inherit; }
  .tw.liste table.stapel tr.mz > td.m-huelle { display: block; order: 5; flex: none; width: 0; height: 0; overflow: hidden; }   /* schlägt .fest-Freigabe bei Hover/Fokus */
  .mz .tmehr.btn { display: inline-flex; min-width: 44px; min-height: 44px; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 44px; height: 44px; color: var(--muted); }
  .mz .tak { display: none; }
  .mz.tak-offen .tak { display: flex; position: absolute; inset: 0 44px 0 auto; min-width: 0; max-width: calc(100% - 52px); padding: 0 var(--sp-1) 0 var(--sp-3); gap: var(--sp-1);
    justify-content: flex-end; opacity: 1; pointer-events: auto; background: var(--surface-2); box-shadow: -8px 0 12px -8px rgb(0 0 0 / .25); }
  .mz .tak > * { min-width: 0; }
  .mz .tak .btn { min-width: 44px; height: 44px; flex: 0 1 auto; }
  .mz .tak .btn.icon-only { width: 44px; flex: none; }
  .mz .tak .btn:not(.icon-only) { display: block; overflow: hidden; text-overflow: ellipsis; line-height: 44px; }
  .mz .tak [data-kurz] { font-size: 0; } .mz .tak [data-kurz]::after { content: attr(data-kurz); font-size: var(--fs-sm); }   /* kurzes Label */
  .tw.liste .tfuss { padding: 12px var(--sp-4); }
  :is(.kopfzone, .lkopf) .segleiste { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  :is(.kopfzone, .lkopf) .segleiste::-webkit-scrollbar { display: none; }
  .lkopf .suche { flex-basis: 100%; }
  .lkopf .lanzahl, .kopfzone .lkopf.filterbar .lanzahl { order: 9; flex-basis: 100%; width: auto; margin-left: 0; text-align: left; }
}

/* Strukturierte Liste (ADR-052): ui.liste / ui.listenkopf, Bedienung shared/liste.js – Muster im Styleguide */
.lkarte { border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--e-1); background: var(--surface); overflow: hidden; }
.lst { list-style: none; margin: 0; padding: 0; }
.lst-e { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: var(--sp-1) var(--sp-4); padding: 14px var(--sp-6); border-top: 1px solid var(--line); min-width: 0; }
.lst > :first-child { border-top: 0; }
.lst-e:not(:has(> .avat, > .lst-ik, > .lst-wahl)) { grid-template-columns: minmax(0, 1fr) auto auto auto; }
/* Symbolkachel statt Kürzel (ui.liste({ eintraege: [{ icon }] })): Regel gemeinsam mit .kz-ik in vorgang-kopf.css */
.lst-r > * + * { margin-left: var(--sp-4); }   /* mehrere Teile rechts (Zustand · Link) */
.lst-e.klick { cursor: pointer; transition: background var(--dur-1); }
.lst-e.klick:hover { background: var(--surface-2); }
.lst-e.klick:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.lst-m { min-width: 0; }
.lst-1 { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; min-width: 0; }
.lst-1 > b { font: var(--fw-semibold) var(--fs-lg)/1.3 var(--fb); color: var(--ink); letter-spacing: -.005em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.lst-1 > small { font-size: var(--fs-sm); color: var(--muted); white-space: nowrap; }
.lst-2 { margin-top: 3px; font-size: var(--fs-sm); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lst-2 i { font-style: normal; margin: 0 6px; opacity: .6; }
.lst-r { text-align: right; min-width: 0; font-size: var(--fs-md); }
.lst-r > b { display: block; font-weight: var(--fw-medium); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 280px; }
.lst-r > small { display: block; margin-top: 3px; font-size: var(--fs-sm); color: var(--muted); }
.lst-r > small.crit { color: var(--crit-ink); } .lst-r > small.warn { color: var(--warn-ink); }
.lst-a { display: flex; gap: var(--sp-2); }
.lst-e .chevw { width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-top: 1.5px solid var(--muted); transform: rotate(45deg); }
.lst-g { padding: var(--sp-2) var(--sp-6); background: var(--surface-2); border-top: 1px solid var(--line); font: var(--fw-semibold) var(--fs-sm)/1.2 var(--fb); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.lst-g small { font-size: inherit; opacity: .7; margin-left: var(--sp-1); }
.lst-leer { padding: var(--sp-6); margin: 0; }
.lst-mehr { display: flex; justify-content: center; padding: var(--sp-3); border-top: 1px solid var(--line); }
.lst-mehr small { color: var(--muted); font-weight: var(--fw-regular); margin-left: var(--sp-1); }
/* Kontext-Spalte (mitte): Name links, Rolle/Bezug in fester Breite – über alle Zeilen ausgerichtet */
/* feste Spuren außer Name und Kontext, damit die Spalten in jeder Zeile gleich stehen (jede Zeile ist ein eigenes Raster) */
.lst-e.mit-k { grid-template-columns: 36px minmax(160px, 1fr) minmax(0, 1.3fr) 240px auto 7px; }
.lst-e.mit-k:not(:has(> .avat)) { grid-template-columns: minmax(160px, 1fr) minmax(0, 1.3fr) 240px auto 7px; }
.lst-e.mit-k:not(.klick) { grid-template-columns: 36px minmax(160px, 1fr) minmax(0, 1.3fr) 240px auto; }
.lst-e.mit-k > .lst-r > b { max-width: none; }
.lst-k { min-width: 0; font-size: var(--fs-md); color: var(--ink); }
.lst-k1 { display: flex; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lst-k1 i, .lst-k2 i { font-style: normal; margin: 0 6px; opacity: .6; }
.lst-k1 small { margin-left: var(--sp-1); color: var(--muted); font-size: var(--fs-sm); }
.lst-k2 { margin-top: 3px; font-size: var(--fs-sm); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Rolle als Pille wie „Art“/„Stand“ (ui.chip, #365) – Abstand zum Bezug dahinter über das Trennzeichen */
.lst-k1 .chip { flex: none; }
/* Abstand Listenkopf → Inhalt zentral (#365), damit nicht jedes Modul ihn selbst setzt */
.lkopf + * { margin-top: var(--sp-4); }
.lkopf .lanzahl { margin-left: auto; font-size: var(--fs-sm); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }   /* „x von y“ (#935) */
.lsort { display: flex; gap: var(--sp-1); }
.lsort .btn { height: var(--feld-h-gross); width: var(--feld-h-gross); border-radius: var(--r-lg); }
/* ui.liste({ dicht }), ui.pruefpunkt (ADR-120) */
.lst.dicht, .lst-e.pp { --pp-ik: calc(var(--sp-4) + var(--sp-1)); }
.lst.dicht .lst-e, .lst-e.pp { min-height: var(--feld-h); padding: 0 var(--sp-4); gap: var(--sp-3); align-items: center; font-size: var(--fs-ui); }
.lst.dicht .lst-e > .avat { width: var(--pp-ik); height: var(--pp-ik); border-radius: var(--r-pill); background: var(--surface-3); color: var(--ink-2); font-size: var(--fs-xs); }
.lst.dicht :is(.lst-m, .lst-k, .lst-r) { display: flex; align-items: baseline; gap: var(--sp-2); font-size: var(--fs-ui); } .lst.dicht .lst-r { justify-content: flex-end; }
.lst.dicht .lst-1 > b { font: var(--fw-medium) var(--fs-ui)/1.3 var(--fb); } .lst.dicht :is(.lst-2, .lst-k2, .lst-r > *) { margin: 0; }
.lst.dicht .lst-e.mit-k { grid-template-columns: var(--pp-ik) minmax(140px, 1fr) minmax(0, 1.3fr) 200px auto 7px; } .lst.dicht .lst-g { padding: var(--sp-1) var(--sp-4); }
.lst-e.pp { grid-template-columns: var(--pp-ik) minmax(0, 1fr) 96px minmax(0, 1.6fr) minmax(0, 1fr) auto; background: color-mix(in srgb, var(--accent-2) 50%, var(--surface)); }
.lst-e.pp:not(:has(> .pp-o)) { grid-template-columns: var(--pp-ik) 96px minmax(0, 1fr) auto auto; } .lst-e.pp:is(:hover, :focus-visible) { background: var(--accent-2); }
.pp > svg { width: 14px; height: 14px; color: var(--accent); } .pp.crit > svg { color: var(--crit); }
.pp > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-o, .pp-w ins { font-weight: var(--fw-medium); color: var(--ink); text-decoration: none; } .pp-f, .pp-q, .pp-w del { color: var(--muted); }
.pp .lst-a .btn { height: var(--feld-h-klein); width: var(--feld-h-klein); }

@media (max-width: 640px) {
  .lst-e { grid-template-columns: auto minmax(0, 1fr) auto; padding: var(--sp-3) var(--sp-4); }
  .lst-e:not(:has(> .avat, > .lst-ik, > .lst-wahl)) { grid-template-columns: minmax(0, 1fr) auto; }   /* Symbolkachel wie Kürzel (#3740: Titel nie über dem Symbol) */
  .lst-e > .lst-r, .lst-e > .lst-a { grid-column: 1 / -1; text-align: left; }
  .lst-e:has(> .avat, > .lst-ik, > .lst-wahl) > .lst-r, .lst-e:has(> .avat, > .lst-ik, > .lst-wahl) > .lst-a { grid-column: 2 / -1; }
  .lst-e > .chevw { grid-row: 1; grid-column: -2; }
  .lst-e.mit-k { grid-template-columns: auto minmax(0, 1fr) auto; } .lst-e.mit-k:not(:has(> .avat, > .lst-ik, > .lst-wahl)) { grid-template-columns: minmax(0, 1fr) auto; }
  .lst-e > .lst-r:empty, .lst-e > .lst-a:empty { display: none; }
  .lst-e > .lst-k { grid-column: 1 / -1; } .lst-e:has(> .avat, > .lst-ik, > .lst-wahl) > .lst-k { grid-column: 2 / -1; }
  .lst-g { padding: var(--sp-2) var(--sp-4); }
}

/* Phasen-Fortschritt: Name + „· 2/4“, darunter je Phase ein Segment (ersetzt .mini .bar) */
.phs { display: grid; gap: 7px; width: 150px; max-width: 100%; }
.phs > span { font: var(--fw-semibold) var(--fs-ui)/1.2 var(--fb); color: var(--accent-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phs > span i { font-style: normal; font-weight: var(--fw-medium); color: var(--muted); }
.phs.zu > span { color: var(--good-ink); } .phs.weg > span { color: var(--muted); }   /* gewonnen · verloren */
.phs-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; min-width: 60px; }
.phs-seg i { display: block; height: 5px; border-radius: var(--r-pill); background: var(--surface-3); }
.phs-seg i.an { background: var(--accent); } .phs.zu .phs-seg i.an { background: var(--good); } .phs.weg .phs-seg i.an { background: var(--line-2); }
.phs-seg i.halb { background: linear-gradient(90deg, var(--accent) 50%, var(--surface-3) 50%); }
/* Phasen zum Anklicken (ui.phasen mit schritte): Name unter dem Segment, aktuelle Phase betont, nächste schraffiert, gewählte umrandet */
.phs.wahl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--sp-1); width: auto; }
.phs.wahl button { all: unset; display: grid; gap: var(--sp-1); min-width: 0; cursor: pointer; font-size: var(--fs-sm); color: var(--muted); }
.phs.wahl button i { display: block; height: var(--sp-2); border-radius: var(--r-pill); background: var(--surface-3); }
.phs.wahl button small { font-size: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phs.wahl .an i { background: var(--accent); } .phs.wahl .akt { color: var(--accent-ink); font-weight: var(--fw-semibold); cursor: default; }
.phs.wahl .nae { color: var(--ink); } .phs.wahl .nae i { background: repeating-linear-gradient(90deg, var(--accent) 0 var(--sp-1), var(--surface-3) var(--sp-1) var(--sp-2)); }
.phs.wahl .gew i { outline: 2px solid var(--accent); outline-offset: 2px; } .phs.wahl button:not(.akt):hover i { filter: brightness(.92); }
.phs.wahl button:focus-visible i { box-shadow: var(--focus); }
.phs.wahl.zu .an i { background: var(--good); } .phs.wahl.weg .an i { background: var(--line-2); }

/* Zuständig: Kreis mit Kürzel; ohne Zuständigen gestrichelt */
.avatar.zu { width: 30px; height: 30px; font-size: var(--fs-sm); cursor: default; flex: none; }
button.avatar.zu { cursor: pointer; padding: 0; border: 0; font: inherit; }   /* Kürzel als Knopf (ui.zustaendig attrs, Vertrieb #3194) */
.avatar.zu.ohne { background: transparent; color: var(--muted); border: 1.5px dashed var(--line-2); font-weight: var(--fw-regular); }
/* Zuständig mit weiterer Mitarbeit (Julius 13.11.2026): Kachel + „+n“ in einem Klickziel */
.zu-g { display: inline-flex; align-items: center; gap: var(--sp-1); padding: 0; border: 0; background: none; font: inherit; cursor: inherit; }
button.zu-g { cursor: pointer; } .zu-g small { font-size: var(--fs-xs); color: var(--muted); }

/* Segmentleiste (wenige feste Werte: Ansicht Liste/Pipeline, Objektart) */
.segleiste { display: inline-flex; gap: var(--sp-1); padding: var(--sp-1); background: var(--surface-3); border-radius: var(--r-lg); flex: none; }
.segleiste button { display: inline-flex; align-items: center; gap: 6px; height: var(--feld-h); padding: 0 var(--sp-3); border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-2); font: var(--fw-medium) var(--fs-md) var(--fb); cursor: pointer; white-space: nowrap; }
.segleiste button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.segleiste button:hover { color: var(--ink); }
.segleiste button[aria-pressed="true"], .segleiste button[aria-current="page"] { background: var(--surface); color: var(--ink); font-weight: var(--fw-semibold); box-shadow: var(--e-1); }
.segleiste button small { font-size: var(--fs-sm); color: var(--muted); font-weight: var(--fw-medium); }
.segleiste.kompakt { width: max-content; padding: 2px; border-radius: var(--r-sm); }   /* Inspektor und Rechner (Julius 17.10.2026): 30 px hoch */
.segleiste.schwebend { background: var(--surface); box-shadow: var(--e-1); }   /* über einer Arbeitsfläche (Modell, Karte) – BIM-Anfrage 20.10.2026 */
.segleiste.senkrecht { flex-direction: column; align-items: stretch; }
.segleiste.senkrecht button { justify-content: center; }
.segleiste.kompakt button { height: 26px; padding: 0 var(--sp-2); font-size: var(--fs-sm); border-radius: var(--r-xs); }

/* Schnellfilter neben der Suche (≤ 5 Werte), 44 px wie Suche und Filter */
.schnell { display: inline-flex; gap: var(--sp-1); height: var(--feld-h-gross); padding: var(--sp-1); border-radius: var(--r-lg); background: var(--surface-3); overflow-x: auto; scrollbar-width: none; }   /* feste Ansichten als Segment (Runde 5, Julius 18.10.2026) – kein Schwarz */
.schnell button { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 var(--sp-4); border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-2); font: var(--fw-medium) var(--fs-md) var(--fb); cursor: pointer; white-space: nowrap; transition: background var(--dur-1), color var(--dur-1); }
.schnell button:hover { color: var(--ink); }
.schnell button .chip { padding: 0; gap: 0; }
.schnell button small { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--muted); }
.schnell button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: var(--fw-semibold); box-shadow: var(--e-1); }
.schnell button:focus-visible, .segleiste button:focus-visible { outline: none; box-shadow: var(--focus); }
