/* hoverOS – Theme: monochrom, SF Pro, Rot als Akzent, Farbchips für Status. Lädt nach app.css. */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --coral: #e5533f;
  --coral-soft: rgba(229, 83, 63, 0.09);
  --navy: #111111;
  --navy-deep: #000000;
  --ink: #111111;
  --muted: #6b6b6b;
  --faint: #9a9a9a;
  --gray: #d4d4d4;
  --gray-soft: #efefef;
  --bg: #f4f4f4;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.12);
  --line-soft: rgba(0, 0, 0, 0.07);
  --shadow-card: none;
  --shadow-pop: 0 16px 40px rgba(0, 0, 0, 0.16);
  --r-card: 6px;
  --r-ctrl: 4px;
}
body { font-size: 14.5px; letter-spacing: 0; }
.page-head h1, .drawer__head h2, .modal h2, .kpi__value, .drawer__amount, .calc__sum strong, .pd-kpis strong, .summary strong, .card__head h2, .brand, .hero-empty strong { letter-spacing: -0.02em; }
.page-head h1 { font-weight: 600; }
.kpi__value { font-weight: 600; }
.card { border: 1px solid var(--line-soft); }

/* Header: schwarz */
.topnav { background: #000; }
.topnav__links button { border-radius: var(--r-ctrl); font-weight: 500; color: rgba(255,255,255,0.6); }
.topnav__links button[aria-current="page"] { background: #fff; color: #000; }
.topnav__links button:hover { background: rgba(255,255,255,0.1); }
.company { border-radius: var(--r-ctrl); border-color: rgba(255,255,255,0.18); background: transparent; font-weight: 500; }
.company__badge { border-radius: 3px; background: var(--co-color, #fff); color: #000; box-shadow: none; }
.search { border-radius: var(--r-ctrl); }
.topnav .icon-btn { border-radius: var(--r-ctrl); background: transparent; border: 1px solid rgba(255,255,255,0.18); }
.topnav .icon-btn .dot { border-radius: 3px; box-shadow: 0 0 0 2px #000; }
.avatar { border-radius: var(--r-ctrl); }
.strip { border-bottom: 1px solid var(--line); }
.strip .meter > i { background: #000; }
.brand__mark { border-radius: 6px; }

/* Buttons: eckig, ohne Icons-Gewicht */
.btn, .btn--sm { border-radius: var(--r-ctrl); border: 1px solid transparent; font-weight: 500; letter-spacing: 0; height: 40px; padding: 0 20px; }
.btn--sm { height: 32px; padding: 0 14px; }
.btn { background: #000; color: #fff; }
.btn:hover { filter: none; background: #222; }
.btn--navy { background: #000; }
.btn--quiet { background: #fff; color: #000; border-color: var(--line); }
.btn--quiet:hover { background: var(--gray-soft); }
.btn--ghost { background: transparent; color: #000; }
.btn--ghost:hover { background: var(--gray-soft); }
.btn--red, .topnav .topnav__plus, .drawer__foot .btn:not(.btn--quiet):not(.btn--navy), .action-row .btn:not(.btn--quiet), .modal__foot .btn:not(.btn--quiet):not(.btn--navy) { background: var(--coral); color: #fff; }
.btn--red:hover, .topnav .topnav__plus:hover { background: #d4472f; }
.hero-empty .btn--quiet { background: #fff; color: #000; }
.icon-btn { border-radius: var(--r-ctrl); }
.row-act { border-radius: 3px; }

/* Controls */
.seg { border-radius: var(--r-ctrl); padding: 2px; }
.seg button { border-radius: 3px; font-weight: 500; }
.seg button[aria-pressed="true"] { background: #000; color: #fff; box-shadow: none; }
.filter { border-radius: var(--r-ctrl); }
.filter select { font-weight: 600; }
.tabs button { font-weight: 500; }
.tabs button[aria-current="page"] { box-shadow: inset 0 -1px 0 #000, 0 1px 0 #000; }
.tabs button .cnt { border-radius: 3px; }
.tabs button[aria-current="page"] .cnt { background: #000; color: #fff; }
.field input, .field select, .field textarea { border-radius: var(--r-ctrl); }
.field input:focus { border-color: #000; }
.switch { border-radius: 3px; }
.switch::after { border-radius: 2px; }
.switch[aria-checked="true"] { background: #000; }
.search kbd { border-radius: 3px; }
.swatch-row button { border-radius: 3px; }

/* Chips: nur Inhalt trägt Farbe */
.chip { border-radius: 3px; font-weight: 500; }
.chip::before { display: none; }
.chip--sent { background: var(--gray-soft); color: #000; }
.chip--paid { background: #000; color: #fff; }
.chip--late { background: var(--coral); color: #fff; }
.chip--ask { background: #fff; color: var(--coral); box-shadow: inset 0 0 0 1px var(--coral); }
.chip--oral { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); border: 0; font-style: italic; }
.chip--plan { background: #fff; color: #000; box-shadow: inset 0 0 0 1px var(--line); }
.chip--laufend { background: #000; color: #fff; }
.chip--angebot { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); font-style: italic; }
.chip--abgeschlossen { background: var(--gray-soft); color: var(--muted); }
.chip-select { border-radius: 3px; font-weight: 500; }
.chip-select[data-v="angezahlt"] { background-color: var(--gray-soft); color: #000; }
.chip-select[data-v="abgeschlossen"], .chip-select[data-v="bezahlt"], .chip-select[data-v="zurueck"] { background-color: #000; color: #fff; }
.tick { border-radius: 3px; }
.tick[aria-checked="true"] { background: #000; border-color: #000; }

/* KPI */
.kpi__icon { border-radius: var(--r-ctrl); background: var(--gray-soft); color: #000; }
.kpi--navy { background: #000; }
.kpi--navy .kpi__icon { background: rgba(255,255,255,0.12); }
.trend { border-radius: 3px; }
.trend--up { background: var(--gray-soft); color: #000; }
.kpi:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

/* Chart */
.chart .bar--in { fill: #000; }
.chart .bar--out { fill: #d4d4d4; }
.chart .bar { rx: 0; }
.chart__tip { border-radius: var(--r-ctrl); }

/* Listen, Marks, Avatare */
.mark { border-radius: var(--r-ctrl); }
.mark--ok { background: #000; }
.mark--ask { background: var(--gray-soft); color: #000; }
.who i { border-radius: 3px; background: var(--gray-soft); color: #000; }
.avatars i { background: #000; }
.avatars i.ext { color: #000; box-shadow: 0 0 0 2px #fff, inset 0 0 0 1.5px #000; }
.kunde__head i { border-radius: var(--r-ctrl); background: #000; }
.meter { border-radius: 2px; } .meter > i { background: #000; border-radius: 2px; }
.meter--coral > i { background: var(--coral); }
.calc__sum { border-radius: var(--r-ctrl); background: #000; }
.calc__sum.is-neg { background: var(--coral); }
.summary div, .pd-kpis div, .kunde__stats div { border-radius: var(--r-ctrl); }
.share > i { background: #000; }
.part, .add-part { border-radius: 3px; }
.timeline div.is-done::before { background: #000; }
.empty-state .empty-state__icon { border-radius: var(--r-ctrl); }
.hero-empty { border-radius: var(--r-card); background: #000; align-items: stretch; gap: 22px; padding: 0 22px 0 0; overflow: hidden; }
.hero-empty .brand__mark { display: grid; place-items: center; align-self: stretch; width: 76px; height: auto; border-radius: 0; }
.hero-empty .brand__mark img { width: 30px; height: 16px; }
.hero-empty > div { align-self: center; padding: 18px 0; }

/* Liquidität */
.lcell { border-radius: 3px; }
.lcell--bezahlt { background: #000; }
.lcell--gestellt { background: #e6e6e6; }
.lcell--muendlich { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); border: 0; color: var(--muted); font-style: italic; }
.lcell--muendlich strong { color: var(--muted); }
.lcell--fix { background: var(--gray-soft); }
.lcell:hover { box-shadow: inset 0 0 0 1.5px #000, 0 4px 10px rgba(0,0,0,0.08); }
.liq tr.tot--in td { color: #000; }
.liq tr.tot--bal td, .liq tr.tot--bal th { background: transparent; color: inherit; }
.liq td.is-now { background: rgba(0,0,0,0.025); }
.liq thead th.is-now { color: var(--faint); }
.lc { border-radius: 2px; }
.lc--paid { background: #000; } .lc--sent { background: #e6e6e6; }
.lc--oral { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.plan-dots i { border-radius: 1px; } .plan-dots i.bezahlt { background: #000; } .plan-dots i.gestellt { background: #cfcfcf; }

/* Flyouts, Drawer, Modal, Toast */
.flyout { border-radius: var(--r-card); border: 1px solid var(--line-soft); }
.flyout button, .flyout a { border-radius: 3px; }
.flyout svg.lucide, .co-item .check svg.lucide { color: #000; }
.co-item .check svg.lucide { color: var(--coral); }
.drawer, .modal { border-radius: var(--r-card); }
.drawer { top: 0; right: 0; bottom: 0; border-radius: 0; border-left: 1px solid var(--line); }
.scrim { background: rgba(0,0,0,0.3); backdrop-filter: none; }
.toast { border-radius: var(--r-ctrl); background: #000; }
.leist { border-radius: var(--r-ctrl); }
.ausg-note { border-radius: var(--r-ctrl); } .ausg-note svg.lucide { color: #000; }
.side__card, .pd-kpis div { border-radius: var(--r-ctrl); }


/* Variante C, Runde 2: Weight 300, randlose Headbar, Farbchips, Punkte statt Initialen, Liquidität */

body { font-weight: 300; }
strong, b, .kpi__value, .drawer__amount, .calc__sum strong, .pd-kpis strong, .summary strong, .table td.amount, .list__item em, .calc__row em, .lcell strong, .marge, .liq tr.tot td, .liq tr.tot th, .liq tr.tot--bal td { font-weight: 500; }
.page-head h1, .drawer__head h2, .modal h2 { font-weight: 400; }
.kpi__value { font-weight: 300; font-size: 32px; }
.drawer__amount { font-weight: 300; }
.card__head h2, .leist__head, .list__item .txt strong, .action-row strong, .flyout strong, .hero-empty strong, .side__card strong, .kunde__head strong { font-weight: 500; }
.table th, .liq thead th, .pd-h, .side__label, .flyout__title, .summary span, .pd-kpis span, .kunde__stats span, .group-row td { font-weight: 400; }
.table td, .list__item .txt span, .calc__row, .lcell span, .liq th.row-head small, .table .sub, .cell-note, .ausg-note, .page-head p, .card__head p, .kpi__sub, .kpi__label, .strip, .dl dd, .dl dt { font-weight: 300; }
.who, .list__item .txt strong, .liq th.row-head { font-weight: 400; }
.btn, .seg button, .tabs button, .topnav__links button, .filter, .filter select, .chip, .chip-select, .trend, .company { font-weight: 400; }
.tabs button[aria-current="page"], .seg button[aria-pressed="true"], .topnav__links button[aria-current="page"] { font-weight: 500; }
.table .late, .trend { font-weight: 500; }

/* ---------- Headbar: randlos ---------- */
.topnav__bar { height: 56px; padding: 0; gap: 0; }
.brand { height: 56px; gap: 0; padding: 0; font-weight: 500; align-items: stretch; }
.brand__mark { width: 56px; height: 56px; border-radius: 0; }
.brand__mark img { width: 30px; height: 16px; }
.brand__name { display: flex; align-items: center; align-self: stretch; }
.brand[aria-current="page"] .brand__name { background: #fff; color: #000; }
@keyframes hoverboard {
  0% { transform: translate(0, 0); }
  16% { transform: translate(1px, -4px); }
  34% { transform: translate(-1px, -1px); }
  52% { transform: translate(1px, -5px); }
  70% { transform: translate(-1.5px, 0); }
  86% { transform: translate(0.5px, -2px); }
  100% { transform: translate(0, 0); }
}
.brand__mark.is-float img { animation: hoverboard 2.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .brand__mark.is-float img { animation: none; }
}
.brand__name { padding: 0 18px; }
.company { height: 56px; max-width: 240px; border-radius: 0; border: 0; border-left: 1px solid rgba(255,255,255,0.14); border-right: 1px solid rgba(255,255,255,0.14); padding: 0 16px; gap: 10px; }
.company:hover { background: rgba(255,255,255,0.08); }
.company__badge { width: 12px; height: 12px; border-radius: 0; box-shadow: none; }
.topnav__links { gap: 0; height: 56px; }
.topnav__links button { height: 56px; border-radius: 0; padding: 0 16px; color: rgba(255,255,255,0.65); }
.topnav__links button:not([aria-current="page"]):hover { background: rgba(255,255,255,0.1); color: #fff; }
.topnav__links button[aria-current="page"] { background: #fff; color: #000; }
.topnav__links button[aria-current="page"]:hover { background: #fff; color: #000; }
.topnav__sep { display: none; }
.topnav__end { gap: 0; height: 56px; }
.drop { position: relative; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px; border-left: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.65); font-weight: 400; font-size: 13.5px; cursor: pointer; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop svg.lucide { width: 16px; height: 16px; }
.drop:hover, .drop.is-hot { background: rgba(255,255,255,.1); color: #fff; }
.drop-file { display: flex; align-items: center; gap: 8px; margin: -8px 0 16px; color: var(--muted); font-weight: 400; }
.drop-file svg.lucide { width: 16px; height: 16px; flex: none; }
.pick { display: grid; gap: 6px; }
.pick button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-ctrl); background: #fff; text-align: left; color: inherit; }
.pick button svg.lucide { width: 16px; height: 16px; flex: none; }
.pick strong { display: block; font-weight: 500; }
.pick small { display: block; margin-top: 1px; color: var(--muted); font-size: 12px; font-weight: 400; }
.pick button[aria-pressed="true"] { border-color: #000; }
.modal__foot .btn:disabled { opacity: .4; }
#drop-more, #drop-order { display: grid; gap: 12px; }
#drop-more { margin-top: 16px; }
@media (max-width: 1180px) { .drop span { display: none; } .drop { width: 56px; padding: 0; justify-content: center; } }
.topnav .search { height: 56px; width: 56px; border-radius: 0; border: 0; border-left: 1px solid rgba(255,255,255,0.14); background: transparent; padding: 0; justify-content: center; cursor: pointer; }
.topnav .search.is-open { width: 240px; padding: 0 16px; justify-content: flex-start; background: rgba(255,255,255,0.08); }
.topnav .search input, .topnav .search kbd { display: none; }
.topnav .search.is-open input { display: block; }
.topnav .icon-btn { width: 56px; height: 56px; border-radius: 0; border: 0; border-left: 1px solid rgba(255,255,255,0.14); background: transparent; }
.topnav .icon-btn:hover { background: rgba(255,255,255,0.1); }
.topnav .icon-btn .dot { position: absolute; top: 12px; right: 12px; width: auto; height: 16px; border-radius: 0; background: var(--coral); color: #fff; box-shadow: none; display: block; }
.topnav .topnav__plus { width: 56px; height: 56px; padding: 0; border: 0; border-radius: 0; }
.avatar { width: 56px; height: 56px; border-radius: 0; background: transparent; border-left: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; }
.avatar:hover { background: rgba(255,255,255,0.1); }
.flyout--left { left: 0; }
@media (max-width: 1180px) { .brand__name, .company__name { display: none; } .topnav__links button { padding: 0 12px; } }
.nav-menu { display: none; }
.nav-toggle { display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 16px; border: 0; border-left: 1px solid rgba(255,255,255,.14); background: transparent; color: rgba(255,255,255,.85); font: inherit; font-size: 13.5px; font-weight: 400; cursor: pointer; }
.nav-toggle svg.lucide { width: 14px; height: 14px; }
.nav-toggle[aria-expanded="true"] svg.lucide { transform: rotate(180deg); }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: rgba(255,255,255,.1); color: #fff; }
#nav button { align-items: center; font-weight: 400; }
#nav button[aria-current="page"] { background: var(--gray-soft); }
@media (max-width: 1100px) {
  .topnav__links { display: none; }
  .nav-menu { display: block; }
  #nav { position: fixed; top: 66px; left: 12px; right: auto; width: min(280px, calc(100vw - 24px)); min-width: 0; }
}
@media (max-width: 860px) {
  .topnav__bar { height: 56px; flex-wrap: nowrap; gap: 0; padding: 0; }
  .topnav__links { display: none; }
}
.strip { padding-left: 24px; padding-right: 24px; }
.view, .topbar { padding-left: 24px; padding-right: 24px; }

/* ---------- Punkte statt Initialen ---------- */
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c, #000); flex: none; }
.dot--lg { width: 14px; height: 14px; }
.dot--ext { background: #fff; box-shadow: inset 0 0 0 2px var(--c, #000); }
.who { gap: 10px; }
.who i:not(.dot) { display: none; }
.avatars { gap: 4px; }
.avatars .dot { width: 12px; height: 12px; margin: 0; box-shadow: none; }
.avatars .dot--ext { box-shadow: inset 0 0 0 2px var(--c, #000); }
.leist__p .avatars .dot { width: 10px; height: 10px; }
.co-item .company__badge { width: 12px; height: 12px; }

/* ---------- Chips: klassisches Farbschema, zurückhaltend ---------- */
:root {
  --c-green-bg: #e6f4ea; --c-green: #1e7b3a;
  --c-blue-bg: #e7f0fb; --c-blue: #1f5fae;
  --c-amber-bg: #fff3d6; --c-amber: #8a5a00;
  --c-red-bg: #fde8e5; --c-red: #b3331f;
  --c-purple-bg: #efe6f8; --c-purple: #6a3fa0;
  --c-gray-bg: #efefef; --c-gray: #555;
}
.chip, .chip-select { font-weight: 400; border-radius: 3px; }
.chip--paid, .chip-select[data-v="bezahlt"], .chip-select[data-v="zurueck"], .chip-select[data-v="abgeschlossen"] { background: var(--c-green-bg); color: var(--c-green); background-color: var(--c-green-bg); }
.chip--sent, .chip-select[data-v="geplant"] { background: var(--c-blue-bg); color: var(--c-blue); background-color: var(--c-blue-bg); }
.chip--ask, .chip-select[data-v="offen"], .chip-select[data-v="angezahlt"], .chip-select[data-v="ausstehend"] { background: var(--c-amber-bg); color: var(--c-amber); background-color: var(--c-amber-bg); box-shadow: none; }
.chip--late { background: var(--c-red-bg); color: var(--c-red); }
.chip--oral { background: var(--c-purple-bg); color: var(--c-purple); box-shadow: none; font-style: normal; }
.chip--plan { background: var(--c-gray-bg); color: var(--c-gray); box-shadow: none; }
.chip--laufend { background: var(--c-green-bg); color: var(--c-green); }
.chip--angebot { background: var(--c-amber-bg); color: var(--c-amber); box-shadow: none; font-style: normal; }
.chip--abgeschlossen { background: var(--c-gray-bg); color: var(--c-gray); }
.chip-select[data-v="ausstehend"] { background-color: var(--c-red-bg); color: var(--c-red); }
.tick[aria-checked="true"] { background: var(--c-green); border-color: var(--c-green); }
.table .late { color: var(--c-red); }
.trend--up { background: var(--c-green-bg); color: var(--c-green); }
.trend--down { background: var(--c-red-bg); color: var(--c-red); }
.kpi--coral .trend { background: rgba(255,255,255,0.2); color: #fff; }
.mark--late { background: var(--c-red-bg); color: var(--c-red); }
.mark--ask { background: var(--c-amber-bg); color: var(--c-amber); }
.mark--ok { background: var(--c-green-bg); color: var(--c-green); }
.mark--plan { background: var(--c-blue-bg); color: var(--c-blue); }
.timeline div.is-done::before { background: var(--c-green); }
.timeline div.is-hot::before { background: var(--c-red); box-shadow: 0 0 0 4px var(--c-red-bg); }
.plan-dots i.bezahlt { background: var(--c-green); } .plan-dots i.gestellt { background: var(--c-blue); } .plan-dots i.ueberfaellig { background: var(--c-red); }
.meter--warn > i { background: #e0a100; } .meter--over > i { background: var(--c-red); }
.summary strong.neg, .calc__row em.neg { color: var(--c-red); }
.chart .bar--in { fill: #000; } .chart .bar--plan { fill: var(--c-blue); opacity: 0.35; }

/* Liquidität: Zellen in Chip-Farben, Rahmen schwarz, Übersicht separat */
.lcell { border-radius: 3px; box-shadow: inset 0 0 0 1px var(--line); }
.lcell--bezahlt { background: var(--c-green-bg); color: var(--c-green); box-shadow: none; } .lcell--bezahlt span { color: var(--c-green); opacity: .8; }
.lcell--gestellt { background: var(--c-blue-bg); color: var(--c-blue); box-shadow: none; } .lcell--gestellt span { color: var(--c-blue); opacity: .8; }
.lcell--geplant { background: #fff; color: #000; box-shadow: inset 0 0 0 1px var(--line); }
.lcell--frage { background: var(--c-amber-bg); color: var(--c-amber); box-shadow: none; } .lcell--frage span { color: var(--c-amber); }
.lcell--muendlich { background: var(--c-purple-bg); color: var(--c-purple); box-shadow: none; font-style: normal; } .lcell--muendlich strong, .lcell--muendlich span { color: var(--c-purple); }
.lcell--ueberfaellig { background: var(--c-red-bg); color: var(--c-red); box-shadow: none; } .lcell--ueberfaellig span { color: var(--c-red); opacity: .8; }
.lcell--maybe { background: #fff; color: var(--ink); box-shadow: none; border: 1px dashed var(--line); }
.lcell--maybe span, .lcell--maybe strong { color: var(--muted); }
.lcell:hover { box-shadow: inset 0 0 0 1px #000; transform: none; }
.lcell--fix { background: var(--gray-soft); box-shadow: none; }
.lc--paid { background: var(--c-green-bg); box-shadow: inset 0 0 0 1px var(--c-green); } .lc--sent { background: var(--c-blue-bg); box-shadow: inset 0 0 0 1px var(--c-blue); }
.lc--plan { background: #fff; box-shadow: inset 0 0 0 1px var(--line); } .lc--ask { background: var(--c-amber-bg); box-shadow: inset 0 0 0 1px var(--c-amber); }
.lc--oral { background: var(--c-purple-bg); box-shadow: inset 0 0 0 1px var(--c-purple); } .lc--late { background: var(--c-red-bg); box-shadow: inset 0 0 0 1px var(--c-red); }
.liq-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 8px; border-bottom: 0; }
[data-view="einnahmen"] .card--table > .toolbar { padding: 0 0 8px; }
.liq-nav { display: flex; align-items: center; gap: 4px; }
.liq-nav .btn--sm { height: 30px; padding: 0 10px; }
.liq-range { margin-left: 10px; font-weight: 400; color: var(--muted); font-size: 13px; }
.seg--sm button { height: 26px; padding: 0 10px; font-size: 12px; }
.liq--top thead th:first-child small { display: block; }
.liq tr.tot td, .liq tr.tot th { background: #fff; }
.liq tr.tot--in td { color: var(--c-green); }
.liq tr.tot--out td { color: var(--c-red); }
.liq tr.tot--diff td.neg { color: var(--c-red); } .liq tr.tot--diff td.pos { color: var(--c-green); }
.liq tr.tot--bal td, .liq tr.tot--bal th { background: transparent; color: inherit; border-top: 1px solid var(--line); }
.liq tr.tot--bal td.neg { color: var(--c-red); }
.tabs--liq { margin-top: 4px; }
[data-view="liquiditaet"] > .card + .card { margin-top: 16px; }
.legend--liq { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.legend--liq .lg { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 3px; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: inherit; }
.legend--liq .lg--paid { background: var(--c-green-bg); color: var(--c-green); }
.legend--liq .lg--sent { background: var(--c-blue-bg); color: var(--c-blue); }
.legend--liq .lg--plan { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.legend--liq .lg--ask { background: var(--c-amber-bg); color: var(--c-amber); }
.legend--liq .lg--oral { background: var(--c-purple-bg); color: var(--c-purple); }
.legend--liq .lg--late { background: var(--c-red-bg); color: var(--c-red); }
.legend--liq .lg--maybe { background: #fff; color: var(--muted); border: 1px dashed var(--line); }
.liq thead th { padding: 16px 12px 8px; }
.group-row td,
.liq tr.sec th,
.liq tr.sec td {
  padding: 16px 12px 8px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.group-row td span,
.liq tr.sec th span,
.liq tr.sec td span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 8px;
}
.liq th.row-head { width: 220px; font-weight: 400; }
.liq th.row-head .who { font-weight: 400; }
.liq th.row-head small { font-weight: 300; }

/* Fixes Runde 2b */
.who .dot, .table .who .dot, .liq .who .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, #000); display: inline-block; font-size: 0; }
.tip { position: fixed; z-index: 70; padding: 4px 8px; background: #000; color: #fff; font-size: 12px; font-weight: 400; line-height: 1.2; border-radius: 3px; pointer-events: none; white-space: nowrap; }
.brand__name { padding: 0 14px; }
.company { max-width: 210px; padding: 0 14px; }
.topnav__links button { padding: 0 13px; font-size: 13.5px; }
.legend .lg-plan { background: var(--c-blue) !important; opacity: .45; }
.avatars .dot, .leist__p .avatars .dot { background: var(--c, #000); }
.avatars .dot--ext, .leist__p .avatars .dot--ext { background: #fff; box-shadow: inset 0 0 0 2px var(--c, #000); }

/* Navi bleibt im Gewicht, aktiver Segmentpunkt ist weiß, Firmen ohne Farbe */
.topnav__links button,
.topnav__links button:hover,
.topnav__links button[aria-current="page"],
.topnav__links button[aria-current="page"]:hover { font-weight: 400; }
.seg button[aria-pressed="true"] { background: #fff; color: #000; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.company__mark { width: 16px; height: 16px; display: grid; place-items: center; color: #fff; flex: none; }
.company__mark svg.lucide { width: 16px; height: 16px; }
.co-item .company__mark { color: #111; }
.avatar svg.lucide { width: 18px; height: 18px; color: #fff; }
.flyout__who { margin: 10px 12px 6px; }
.flyout__who strong { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.flyout__who span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
button.who { border: 0; background: transparent; padding: 0; font: inherit; color: inherit; text-align: left; }
.parts { display: flex; flex-wrap: wrap; gap: 6px; max-width: 260px; }
.parts .part { margin: 0; cursor: pointer; border: 0; }
.part--more { color: var(--muted); }
.form__row--3 { grid-template-columns: 1.3fr .8fr .9fr; }
.rate-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rate-table th, .rate-table td { padding: 8px 0; border-bottom: 1px solid var(--line-soft); text-align: left; font-weight: 400; }
.rate-table td.r, .rate-table th.r { text-align: right; font-variant-numeric: tabular-nums; }

/* Kapazität und Kalender */
.legend--liq .lg--booked { background: var(--c-blue-bg); color: var(--c-blue); }
.liq--kap td { vertical-align: top; padding: 8px; }
.liq--kap td .cap-stack { display: flex; flex-direction: column; gap: 3px; }
.cap {
  display: flex; align-items: center; gap: 6px; width: 100%;
  padding: 3px 6px; border: 0; border-radius: 3px;
  background: var(--c-blue-bg); color: var(--c-blue);
  font: inherit; font-size: 12px; font-weight: 400; line-height: 1.3;
  text-align: left; cursor: pointer;
}
.cap span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cap small { margin-left: auto; font-variant-numeric: tabular-nums; opacity: .8; }
.cap--plan { background: #fff; color: var(--ink); border: 1px dashed var(--line); }
.cap--plan span, .cap--plan small { color: var(--muted); }
.cap .dot { width: 8px; height: 8px; flex: none; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal__dow { padding: 8px 8px 6px; font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.cal__day { min-height: 104px; padding: 6px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal__day.is-out { background: var(--gray-soft); }
.cal__day.is-out .cal__n { color: var(--faint); }
.cal__n { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cal-ev {
  display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 2px 5px; border: 0; border-radius: 3px;
  font: inherit; font-size: 11px; font-weight: 400; line-height: 1.3; text-align: left; cursor: pointer;
}
.cal-ev--bezahlt { background: var(--c-green-bg); color: var(--c-green); }
.cal-ev--gestellt { background: var(--c-blue-bg); color: var(--c-blue); }
.cal-ev--geplant { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.cal-ev--frage { background: var(--c-amber-bg); color: var(--c-amber); }
.cal-ev--muendlich { background: var(--c-purple-bg); color: var(--c-purple); }
.cal-ev--ueberfaellig { background: var(--c-red-bg); color: var(--c-red); }
.cal-ev--offen { background: var(--c-amber-bg); color: var(--c-amber); }
.cal-ev--approx { background: #fff; color: var(--muted); border: 1px dashed var(--line); box-shadow: none; }
