/* CRM wie die Entwürfe (6.48, Dom 27.10.2026) – Bausteine aus vorlagen.css, hier nur Seitenaufbau */
.cx-seite { display:flex; flex-direction:column; gap:14px; flex:1; min-height:0; }
.cx-kopf { margin:0; } .cx-kopf h1 { margin:0; } .cx-ansicht { margin-left:8px; } 
.cx-kopf .kx-rechts { display:flex; align-items:center; gap:8px; margin-left:auto; }
.cx-suche { display:flex; align-items:center; gap:8px; min-width:240px; height:38px; box-sizing:border-box; border:1px solid #d9d9d9; border-radius:9px; padding:0 12px; background:#fff; color:#8a8a8a; }
.cx-suche input { border:none; outline:none; padding:0; height:auto; box-shadow:none; flex:1; font-size:14px; background:none; min-width:0; }
.cx-wer { height:38px; width:auto; }
.cx-info { right:0; top:52px; }
.cx-summe { display:flex; gap:24px; align-items:baseline; font-size:14px; color:#555; } .cx-summe > b { color:#111; font-size:16px; } .cx-summe span b { color:#111; }
.cx-seite .vl-pipe { flex:1; min-height:0; overflow-x:auto; }
.cx-seite .vl-pspalte { overflow-y:auto; }
.cx-seite .vl-pkarte { cursor:pointer; } .cx-seite .vl-pkarte.zieht { opacity:.4; }
.cx-seite .vl-pspalte.ziel, .cx-seite .vl-zu > .ziel { outline:2px dashed var(--rot); outline-offset:-2px; }
.cx-seite .vl-zu > div { min-height:96px; } .cx-zu-z { cursor:pointer; } .cx-zu-z .vl-zeile { cursor:pointer; }
.cx-zu-leer { color:#aaa; font-size:13px; text-align:center; padding:14px 0; }
.cx-akte { flex:1; min-height:0; } .cx-akte .vl-links { overflow-y:auto; }
.cx-abgesagt { padding:2px 18px 14px; font-size:12.5px; color:#8a8a8a; }
.vl-ent.klick { cursor:pointer; }
/* Anfrage: links Jetzt zu tun, Mitte die Blöcke, rechts schmalerer Chat */
.an4-kopf { margin:0 0 12px; } .an4-kopf .kx-rechts { display:flex; align-items:center; gap:8px; margin-left:auto; }
.an4-kopf .primaer { height:38px; padding:0 16px; white-space:nowrap; }
.an4-reiter { margin:10px 0 14px; } .an4-reiter a { cursor:pointer; } .an4-reiter a.an small { color:#555; }
.an4-raster { grid-template-columns:minmax(0, 1fr) minmax(340px, 360px); }
.an4-links { grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); overflow:hidden; align-content:stretch; padding-bottom:0; }
.an4-links > .an4-spalte { overflow-y:auto; min-height:0; padding-bottom:14px; }
.an4-jetzt .an-jetzt { border:1px solid #e6e6e6; border-radius:12px; padding:16px 18px; }

@media (max-width:1100px) { .an4-links { grid-template-columns:1fr; overflow:visible; } }
.cx-seite .vl-pspalte .kopf b { white-space:nowrap; } .cx-seite .vl-pkarte { flex:none; }
.an4-jetzt .an-jetzt-fuss { flex-wrap:wrap; } .an4-jetzt .an-jetzt-fuss > span { flex-basis:100%; }
/* 6.52 (Dom 27.10.2026): Mitte als aufklappbare Liste, Chat so groß wie der Projekt-Chat, Titel und Umschalter in einer Zeile, Filter schwebt */
.an4-raster { grid-template-columns:minmax(0, 1fr) 450px; }
.an4-links { grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr); }
.an5-liste { gap:8px; }
.an5 { background:#fff; border:1px solid #e6e6e6; border-radius:12px; flex:none; }
.an5 > summary { list-style:none; display:flex; align-items:center; gap:12px; min-height:52px; padding:0 14px 0 18px; cursor:pointer; user-select:none; }
.an5 > summary::-webkit-details-marker { display:none; }
.an5 > summary b { font-size:14.5px; font-weight:600; flex:none; min-width:120px; }
.an5 > summary span { flex:1; min-width:0; color:#6b6b6b; font-size:13.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-align:right; }
.an5 > summary svg { flex:none; color:#9a9a9a; transition:transform .15s; } .an5[open] > summary svg { transform:rotate(90deg); }
.an5 > summary:hover { background:#fafafa; border-radius:12px; } .an5[open] > summary { border-bottom:1px solid #f2f2f2; border-radius:12px 12px 0 0; }
.an5-inhalt .akte-kasten { border:none !important; border-radius:0; padding:0 0 4px; }
.an5-inhalt .akte-kopf { padding:6px 12px 0 18px !important; min-height:0; justify-content:flex-end; } .an5-inhalt .akte-kopf h2 { display:none; }
.an5-inhalt .akte-kopf:not(:has(button)) { display:none; }
/* Chat: Titel links, Alles · Chat · Verlauf rechts; Filter schwebt über dem Verlauf, die Nachrichten laufen dahinter durch */
.an4-chat { position:relative; }
.ch-kopfzeile { display:flex; align-items:center; gap:10px; padding:14px 16px 10px; border-bottom:1px solid #eee; flex:none; }
.ch-kopfzeile .ch-titel { padding:0 !important; margin:0; flex:1; font-size:16px; font-weight:600; }
.ch-kopfzeile .ch-strom { margin:0; } 
.ch-reiter.schwebend { position:absolute; right:14px; top:66px; z-index:4; margin:0; border:none; padding:0 !important; background:none; }
.ch-reiter.schwebend .ch-filter { margin:0; background:rgba(255,255,255,.92); backdrop-filter:blur(6px); box-shadow:0 2px 10px rgba(0,0,0,.08); border-radius:18px; height:34px; padding:0 14px; }
.an4-chat .ch-verlauf { padding:52px 14px 12px; gap:12px; }
.an4-chat .cv-liste { padding:48px 18px 12px; }
.an4-chat .ch-sys { margin:4px 18px; }
/* Jetzt zu tun: Felder wie im CI (große Felder, ruhige Linien) */
.an4-jetzt .an-frage { padding:8px 0; border-bottom:1px solid #f2f2f2; }
.an4-jetzt .an-frage:last-child { border-bottom:none; }
.an4-jetzt .an-fwert select, .an4-jetzt .an-fwert input { height:40px; border:1px solid #e1e1e1; border-radius:10px; padding:0 12px; font-size:14px; background:#fff; width:100%; box-sizing:border-box; }
.an4-jetzt .an-fwert select:focus, .an4-jetzt .an-fwert input:focus { border-color:#111; box-shadow:0 0 0 3px rgba(0,0,0,.06); outline:none; }
.an4-jetzt .an-jetzt-fuss { border-top:none; padding-top:4px; }
.an4-jetzt .an-frage { grid-template-columns:20px 112px minmax(0, 1fr) 24px; gap:8px; }
/* 6.54 Akten wie die Vorlagen (Auto, Schlüssel) – public/akten.js */
.ak-kopf { margin:0; flex:none; } main.ak-seite { gap:14px; } .ak-kopf-text { min-width:0; } .ak-kopf h1 { flex-wrap:wrap; }
.ak-kopf .kx-rechts .primaer { height:38px; padding:0 16px; white-space:nowrap; }
.ak-bild { width:52px; height:52px; object-fit:cover; flex:none; } .ak-bild.dunkel { background:#111; color:#fff; display:inline-flex; align-items:center; justify-content:center; }
.ak-bild.dunkel svg { width:26px; height:26px; }
.ak-reiter { margin:0; flex:none; }
.ak-inhalt { flex:1; min-height:0; overflow:auto; display:flex; flex-direction:column; gap:14px; }
.ak-kacheln { flex:none; margin-bottom:0; } .ak-seite .vl-hinweis { flex:none; }
.ak-akte { flex:1; min-height:320px; margin-top:0; } .ak-akte > .vl-links { overflow-y:auto; padding-bottom:12px; align-content:start; }
.ak-seite main > .vl-akte, main.ak-seite > .vl-akte { margin-top:14px; }
.ak-spalte { display:flex; flex-direction:column; gap:14px; min-width:0; }
.ak-voll { align-self:stretch; } .ak-liste { padding:0 18px 12px; } .ak-liste .klein-text { margin:0; }
.ak-verlauf .vl-ev { cursor:default; } .ak-verlauf .vl-ev[data-fe], .ak-verlauf .vl-ev[data-vb] { cursor:pointer; } .ak-verlauf .vl-ev[hidden] { display:none; }
.ak-verlauf .unterschrift-mini { height:22px; vertical-align:middle; margin-left:4px; }
.vl-zeile.klick { cursor:pointer; } .vl-zeile.klick:hover b { text-decoration:underline; }
.ak-form { padding:0 18px 16px; }
.gelb-text { color:#8a5a00; font-weight:600; }
.ak-akte > .vl-links { align-items:start; }
.ak-akte > .vl-links:has(> .ak-voll) { grid-template-rows:1fr; align-content:stretch; } .ak-akte > .vl-links > .ak-voll { align-self:stretch; height:100%; box-sizing:border-box; } .ak-akte > .vl-links > .ak-spalte { align-self:start; }
/* Schlüssel-Akte (Dom 27.10.2026): Schlüssel/Objekt, Dokumente und Verlauf beginnen auf einer Höhe und sind gleich hoch; jede Spalte scrollt für sich */
.ak-schluessel > .vl-links { overflow:hidden; padding-bottom:0; grid-template-rows:minmax(0, 1fr); align-content:stretch; }
.ak-schluessel > .vl-links > .ak-spalte { align-self:stretch; overflow-y:auto; min-height:0; }
.ak-schluessel > .vl-links > .ak-voll { height:auto; min-height:0; overflow:hidden; } .ak-schluessel .ak-voll > .ak-liste { flex:1; min-height:0; overflow-y:auto; }
/* 6.58 Übergabe-Fenster wie das Einsatz-Fenster (Dom 27.10.2026) */
dialog.ue-dialog { width:580px; max-width:calc(100% - 24px); padding:0; border-radius:16px; }
dialog.ue-dialog #ue { padding:16px 20px 18px; }
.ue-kopf.neu { display:flex; align-items:center; gap:12px; margin:0 0 6px; } .ue-kopf.neu h2 { margin:0; font-size:18px; font-weight:600; }
.ue-kopf.neu .kx-ik { flex:none; }
dialog.ue-dialog .ue-label { font-size:12.5px; color:#8a8a8a; margin:14px 0 6px; }
.ue-wahl { display:grid; grid-template-columns:repeat(auto-fit, minmax(120px, 1fr)); gap:8px; }
.ue-wahl button { display:flex; flex-direction:column; align-items:flex-start; gap:1px; text-align:left; padding:10px 12px; border:1px solid #e1e1e1; border-radius:12px; background:#fff; font-weight:600; font-size:14px; }
.ue-wahl button small { font-weight:400; font-size:12px; color:#8a8a8a; } .ue-wahl button.an { border-color:#111; box-shadow:0 0 0 1px #111 inset; }
dialog.ue-dialog .ue-form { gap:10px; margin-top:10px; }
dialog.ue-dialog .ue-form label { min-height:58px; box-sizing:border-box; border:1px solid #e1e1e1; border-radius:12px; padding:8px 14px; gap:2px; font-size:12px; color:#8a8a8a; background:#fff; }
dialog.ue-dialog .ue-form label input, dialog.ue-dialog .ue-form label select { border:none !important; box-shadow:none !important; padding:0 !important; height:auto; font-size:15px; font-weight:600; color:#111; background:none; }
dialog.ue-dialog .ue-form label .auswahl-knopf { border:none; box-shadow:none; background:none; padding:0; min-height:0; height:auto; font-size:15px; font-weight:600; color:#111; outline:none; } /* eine Box: nur das Feld, nicht noch der Knopf darin (Dom 27.10.2026) */
dialog.ue-dialog .ue-form label:focus-within { border-color:#111; box-shadow:0 0 0 3px rgba(0,0,0,.06); }
dialog.ue-dialog .such-feld input, dialog.ue-dialog .ue-zeile > input { min-height:52px; border:1px solid #e1e1e1; border-radius:12px; padding:0 14px; font-size:15px; }
dialog.ue-dialog .gewaehlt-person { min-height:52px; display:flex; align-items:center; gap:8px; border:1px solid #e1e1e1; border-radius:12px; padding:0 14px; }
dialog.ue-dialog .ue-fuss { border-top:1px solid #eee; margin:8px -20px -18px; padding:12px 20px; justify-content:flex-end; gap:8px; }
dialog.ue-dialog .ue-fuss #uohne { margin:0; }
/* 6.58 Gerät und Kunde wie die Entwürfe */
.ak-alt { padding:0 0 10px; } .ak-alt > .akte-kopf { display:flex; align-items:center; justify-content:space-between; padding:14px 18px 6px; margin:0; } .ak-alt > .akte-kopf h2 { margin:0; font-size:15px; font-weight:600; }
.ak-alt > :not(.akte-kopf) { margin-left:18px; margin-right:18px; } .ak-alt .ap-zeile { padding:8px 0; border-top:1px solid #f2f2f2; }
.ak-leer { margin:0 18px 12px !important; }
.ak-tabelle { padding:0; overflow:hidden; } .ak-tabelle .kx-tab { width:100%; }
.ak-verlauf-platz { display:flex; flex-direction:column; min-height:0; } .ak-verlauf-platz > .vl-verlauf { flex:1; }
.ak-inhalt > .ak-voll, .ak-inhalt > #aufg { flex:1; min-height:0; }
.kx-kachel b.gelb { color:#8a5a00; } .kx-kachel b.rot { color:#b42323; }
.rot-text { color:#b42323; }
.vl-block a:not(.vl-fehlt):not(.vl-mehr):not(.kx-ik) { color:#111; text-decoration:none; } .vl-block a:not(.vl-fehlt):not(.vl-mehr):not(.kx-ik):hover { text-decoration:underline; }
dialog.ue-dialog .ue-form > .link, dialog.ue-dialog #extern, dialog.ue-dialog #intern { color:#666; font-size:13px; }
dialog.ue-dialog input::placeholder { font-weight:400; color:#a8a8a8; }
/* 6.62 beidseitig unterschreiben */
.ue-zwei-u { display:grid; grid-template-columns:1fr 1fr; gap:14px; } .ue-u-name { margin:0 0 6px; font-size:14px; }
.ue-zwei-u .unterschrift-fenster { height:200px; }
@media (max-width:760px) { .ue-zwei-u { grid-template-columns:1fr; } }
/* Personalakte wie der Entwurf */
.ak-pers { gap:14px; } .ak-pers .ak-akte .vl-links { grid-template-columns:repeat(2, minmax(0, 1fr)); }
.ak-akte .akte-kasten { margin:0 !important; border:1px solid #e6e6e6; border-radius:12px; padding:0 0 4px; background:#fff; }
.ak-akte .akte-kasten > .akte-kopf { padding:14px 18px 6px; margin:0; display:flex; align-items:center; justify-content:space-between; } .ak-akte .akte-kasten > .akte-kopf h2 { font-size:15px; font-weight:600; margin:0; }
.ak-akte .akte-werte { display:grid; grid-template-columns:minmax(110px, auto) 1fr; gap:0; padding:0 18px 8px; font-size:14px; }
.ak-akte .akte-werte dt, .ak-akte .akte-werte dd { padding:9px 0; border-bottom:1px solid #f2f2f2; margin:0; } .ak-akte .akte-werte dt { color:#8a8a8a; font-size:13.5px; padding-right:12px; }
.ak-akte .akte-werte dt:nth-last-child(2), .ak-akte .akte-werte dd:last-child { border-bottom:none; }
.ak-akte .akte-kasten form { padding:0 18px 14px; } .ak-akte .akte-kasten > :not(.akte-kopf):not(.akte-werte):not(.an4-leer):not(form) { margin-left:18px; margin-right:18px; }
.ak-akte .akte-werte a { color:#111; }
.kl-verlauf { display:flex; flex-direction:column; min-height:0; } .kl-verlauf > .vl-verlauf { flex:1; } .kl-ausgeben { color:#111; font-weight:600; }

/* ---------- Einstellungen (6.70, Dom 27.10.2026): links und rechts getrennt scrollen, erst lesen, Stift öffnet die Felder ---------- */
@media (min-width:761px) {
  .einst-menue { position:sticky; top:0; align-self:flex-start; height:100vh; overflow-y:auto; overscroll-behavior:contain; }
}
form.einst-lesbar { position:relative; }
form.einst-lesbar .einst-stift { position:absolute; top:14px; right:14px; z-index:1; }
form.einst-lesbar:not(.lesen) .einst-stift, form.einst-lesbar:not(.lesen) .lw { display:none; }
form.einst-lesbar.lesen input:not([type=checkbox]), form.einst-lesbar.lesen select, form.einst-lesbar.lesen textarea, form.einst-lesbar.lesen input[type=checkbox] { display:none; }
form.einst-lesbar.lesen label { font-size:11.5px; letter-spacing:.5px; text-transform:uppercase; color:#666; cursor:default; }
form.einst-lesbar.lesen label .klein-text { display:none; }
form.einst-lesbar.lesen .lw { display:block; margin-top:3px; font-size:15px; letter-spacing:0; text-transform:none; color:var(--schwarz); line-height:1.45; word-break:break-word; }
form.einst-lesbar .lw-leer { color:#bbb; }
form.einst-lesbar.lesen .form-fuss .primaer, form.einst-lesbar.lesen .form-fuss [data-abbr], form.einst-lesbar.lesen .form-fuss.nur-speichern { display:none; }
form.einst-lesbar.lesen > h2.breit { padding-right:40px; }
.dok-einst-kopf .kx-ik.rechts { margin-left:auto; }
.dok-einst-kopf label.kx-ik { cursor:pointer; }
form.einst-lesbar.lesen { padding-right:64px; }
form.einst-lesbar.lesen label, form.einst-lesbar.lesen label:hover, form.einst-lesbar.lesen label:focus-within { border-color:transparent !important; background:none !important; box-shadow:none !important; padding-left:0 !important; min-height:0 !important; }
form.einst-lesbar.lesen label.haken.breit { flex-direction:column !important; align-items:flex-start; font-size:11.5px; color:#666; }

/* ---------- Plantafel (Dom 27.10.2026, zweite Runde): Farben wie vorher, Größe wie plancraft, keine roten Striche, beim Ziehen nichts markieren ---------- */
.pt-reihe, .pt-person, .pt-leer { height:44px; } .pt-gruppe, .pt-bereich-kopf { height:40px; }
.pt-balken { top:7px; bottom:7px; font-size:13.5px; }
.pt-reihe.drueber .pt-r { background-color:transparent; }
.pt-geist { outline:none !important; opacity:.9; box-shadow:0 4px 12px rgba(0,0,0,.14); } .pt-geist.neu { background:#e6e6e6; box-shadow:none; }
.pt-hinter .heute { background:#fdf2f2; }
.pt-tag.heute { background:#fdf2f2; color:var(--rot); } .pt-tag.heute b { background:var(--rot); color:#fff; }
/* Kleines Suchfeld im Fenster (inlineSuche) */
.is-feld { display:flex; align-items:center; gap:8px; height:42px; padding:0 12px; border:1px solid #d9d9d9; border-radius:9px; background:#fff; color:#888; } /* Felder A */
.is-feld:focus-within { border-color:#111; box-shadow:0 0 0 3px rgba(17,17,17,.07); }
.is-feld input { border:none !important; outline:none; box-shadow:none !important; padding:0 !important; height:100%; flex:1; min-width:0; background:none; font-size:14px; color:#111; }
.is-treffer { margin-top:4px; border:1px solid #eee; border-radius:8px; background:#fff; overflow:hidden; }
.is-treffer button { display:flex; flex-direction:column; align-items:flex-start; gap:1px; width:100%; border:none; border-bottom:1px solid #f2f2f2; border-radius:0; background:#fff; padding:7px 10px; text-align:left; font-weight:400; color:#111; }
.is-treffer button:last-child { border-bottom:none; } .is-treffer button:hover { background:#f6f6f6; }
.is-treffer small, .is-wahl small { color:#777; font-size:12px; } .is-treffer p { margin:0; padding:8px 10px; color:#888; font-size:13px; }
.is-wahl { display:flex; align-items:center; gap:8px; min-height:42px; padding:5px 6px 5px 12px; border:1px solid #d9d9d9; border-radius:9px; background:#fff; }
.is-wahl > span { flex:1; min-width:0; display:flex; flex-direction:column; } .is-wahl b { font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.is-weg { width:28px; height:28px; border:none; background:none; padding:0; display:inline-flex; align-items:center; justify-content:center; color:#666; border-radius:6px; } .is-weg:hover { background:#eee; }
.is-titel { font-size:13px; color:var(--grau); margin:2px 0 4px; }
/* Neue Zeit: Datum über die ganze Zeile, Beschreibung als fester Kasten */
#ztf .zt-datum { grid-column:1 / -1; }
#ztf textarea[name=text], .pt-panel textarea[name=notiz], .pt-panel textarea[name=anotiz] { resize:none !important; height:96px !important; min-height:96px !important; max-height:96px; overflow:auto; }
.pt-res .is-box { flex:1 1 100%; } 
/* Einsätze als Liste wie die Projektliste */
.ei-tabelle a, .pt-panel .pp-zeile a { color:#111; text-decoration:none; } .ei-tabelle a:hover, .pt-panel .pp-zeile a:hover { text-decoration:underline; }
.ei-tabelle td.pname b { display:block; font-weight:500; } .ei-tabelle tr.heute td:first-child { box-shadow:inset 3px 0 0 var(--rot); }
.is-box { display:block !important; height:auto !important; padding:0 !important; border:none !important; background:none !important; box-shadow:none !important; }
/* Knöpfe oben rechts so groß wie „Heute“ (‹ › und − + als eigene Knöpfe) */
.pt-knoepfe .segment { border:none; background:none; padding:0; gap:8px; height:auto; display:inline-flex; }
.pt-knoepfe .segment button { width:37px; height:37px; min-width:0; padding:0; border:1px solid #dcdcdc !important; border-radius:8px !important; box-shadow:none; background:#fff; color:#111; display:inline-flex; align-items:center; justify-content:center; font-size:17px; }
.pt-knoepfe .segment button:hover { background:#f5f5f5; }
.pt-knoepfe [data-heute] { height:37px; }
/* Wie plancraft: zwischen den Projekten (und Mitarbeitern) eine durchgehende Linie, auch durch die Namensspalte */
.pt-teil-projekte .pt-zeile, .pt-teil-ma .pt-zeile { border-bottom:1px solid #e3e3e3; }
/* ✕ rechts oben (Dom 27.10.2026): Titel nimmt den Platz, Schließen ganz rechts */
.ue-kopf.neu > div, .kl-kopf > div { flex:1; min-width:0; }
/* Plantafel wie plancraft (Dom 27.10.2026): Feiertage im Kopf rot wie „heute“, kein Grün mehr; Feiertage bei jedem Mitarbeiter als kleines graues Kästchen */
.pt-tag.feiertag i { background:var(--rot); color:#fff; }
.pt-tag.feiertag.we i { background:#e6e6e6; color:#555; }
.pt-raute.fertig { background:#303030; }
.pt-ft { position:absolute; top:7px; bottom:7px; border-radius:6px; background:#ececec; display:flex; align-items:center; justify-content:center; font-size:13px; z-index:1; pointer-events:none; }
.pt-teil-kopf { box-shadow:0 2px 6px rgba(0,0,0,.06); position:relative; z-index:6; }
.pt-hbar { margin-top:auto; } /* Scrollleiste immer unten, auch wenn alles eingeklappt ist */
.pt-bereich-kopf .pt-r { background-image:none; } /* Kopfzeile „Mitarbeiter“ weiß wie plancraft */
/* Personalakte aufgeräumt (Dom 27.10.2026): Blöcke in zwei Spalten ohne Lücken, Lohnverlauf und Arbeitszeit/Lohngruppe über die ganze Breite */
.ak-pers .ak-akte .vl-links { display:block !important; column-count:2; column-gap:14px; }
.ak-pers .ak-akte .vl-links > section { break-inside:avoid; display:block; width:100%; margin:0 0 14px !important; box-sizing:border-box; }
.ak-pers .ak-akte .vl-links > .lohnverlauf, .ak-pers .ak-akte .vl-links > #ma-modell { column-span:all; }
.ak-pers .akte-werte { grid-template-columns:150px minmax(0, 1fr) !important; }
.ak-pers .akte-werte dd .klein-text { display:block; margin-top:2px; }
.ak-pers .an4-leer { margin:8px 18px 12px; }
.ak-pers .lohnverlauf .lohn-tabelle { width:calc(100% - 36px); margin:0 18px 6px; border-collapse:collapse; table-layout:auto; }
.ak-pers .lohn-tabelle th { font-weight:400; color:#8a8a8a; font-size:12.5px; padding:8px; text-align:left; } .ak-pers .lohn-tabelle th.zahl { text-align:right; }
.ak-pers .lohn-tabelle td { padding:10px 8px; vertical-align:middle; } .ak-pers .lohn-tabelle td:first-child, .ak-pers .lohn-tabelle th:first-child { padding-left:0; white-space:nowrap; }
.ak-pers .lohnverlauf { margin-top:0 !important; }
.ak-pers #ma-modell form { padding:0 18px 14px; }
@media (max-width:1100px) { .ak-pers .ak-akte .vl-links { column-count:1; } }
.ak-pers .lohn-tabelle th:nth-child(1), .ak-pers .lohn-tabelle td:nth-child(1) { width:110px; }
.ak-pers .lohn-tabelle th:nth-child(2), .ak-pers .lohn-tabelle td:nth-child(2) { width:100px; }
.ak-pers .lohn-tabelle th:nth-child(3), .ak-pers .lohn-tabelle td:nth-child(3) { width:150px; }
.ak-pers .lohn-tabelle td:nth-child(4) { color:#555; } .ak-pers .lohn-tabelle .menue-zelle { width:40px; text-align:right; }
.ak-pers .akte-werte { grid-template-columns:165px minmax(0, 1fr) !important; }
.ak-pers .lohn-tabelle th.zahl { text-align:right !important; }

/* ---------- Aufgaben → Auswertung (Dom 27.10.2026): eigener Knopf neben Liste · Board · Kalender, Grafiken wie der Entwurf ---------- */
.auf-auswertung { display:inline-flex; align-items:center; gap:6px; height:36px; padding:0 12px; margin-left:8px; border:1px solid #d9d9d9; border-radius:8px; background:#fff; color:#111; font:inherit; font-size:14px; font-weight:500; cursor:pointer; flex:none; }
.auf-auswertung:hover { background:#f5f5f5; } .auf-auswertung.an { background:#111; border-color:#111; color:#fff; }
.aw-inhalt { flex:1; min-height:0; overflow:auto; display:flex; flex-direction:column; gap:14px; padding-bottom:16px; }
.aw-raster { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; } .aw-raster .breit { grid-column:1 / -1; }
.aw-raster .vl-chart { margin:0; } .aw-rot { color:var(--rot); }
.aw-hinweis { margin-left:6px; }
.aw-teil { margin-top:8px; } .aw-teil + .aw-teil { border-top:1px solid #f2f2f2; padding-top:10px; } .aw-teil-titel { display:block; font-size:12.5px; color:#8a8a8a; margin:0 0 2px 48px; }
.aw-m { display:inline-block; width:10px; height:10px; border-radius:2px; background:#303030; vertical-align:-1px; } .aw-m.grau { background:#d4d4d4; } .aw-m.rosa { background:#f2c6c6; }
.aw-zeile { display:flex; align-items:baseline; gap:8px; padding:8px 0 0; margin-top:8px; border-top:1px solid #f2f2f2; font-size:14px; } .aw-zeile span { color:#8a8a8a; flex:1; } .aw-zeile small { color:#8a8a8a; }
.aw-tab { width:100%; border-collapse:collapse; font-size:13.5px; } .aw-tab th { font-weight:400; color:#8a8a8a; font-size:12px; text-align:left; padding:6px 8px; border-bottom:1px solid #eee; }
.aw-tab td { padding:9px 8px; border-bottom:1px solid #f2f2f2; } .aw-tab tr:last-child td { border-bottom:none; } .aw-tab .zahl { text-align:right; white-space:nowrap; } .aw-tab .rot { color:var(--rot); font-weight:600; }
.aw-tab td.aw-spur { width:36%; } .aw-spur .spur { display:flex; height:8px; background:#f1f1f1; border-radius:4px; overflow:hidden; } .aw-spur .spur i { display:block; height:100%; background:#303030; } .aw-spur .spur i.u { background:var(--rot); }
.aw-raster .vl-hbar .w { min-width:40px; text-align:right; }
@media (max-width:900px) { .aw-raster { grid-template-columns:1fr; } }
main.auf-seite > .aw-inhalt { flex:1 1 0; min-height:0; overflow:auto; } /* main.auf-seite > * ist sonst flex:none */

/* ---------- Projektseite kompakter (Dom 27.10.2026, Vergleich mit plancraft: „unten mehr Rechnungen sehen“) ----------
   Eine Stelle für Kunden- und interne Projekte: Kopf enger, Name kleiner, Reiter und Abschnittsköpfe kleiner,
   Zeilen und Blöcke etwa eine Textzeile niedriger. Werte als Tokens, damit alles gleich mitgeht. */
.pa-seite { --pa-name:18px; --pa-reiter:14px; --pa-zeile-y:8px; --pa-zeile-min:50px; --pa-zeile-h:58px; --pa-box-h:128px; --pa-box-y:10px; --pa-box-x:14px; --pa-box-min:96px; }
.pa-seite .pa-kopf { margin:0 0 4px; gap:12px; } .pa-seite .pa-kopf h1 { font-size:var(--pa-name); }
.pa-seite .pa-reiter { padding:8px 0 6px; min-height:50px; } /* Kopfzeilen etwas höher: Knopf rechts mit gleichem Abstand nach oben und rechts (10 px) */
.pa-seite .kd-knopf { font-size:15px; padding:6px 12px; }
.pa-seite .pa-reiter > button, .pa-seite .pa-reiter > a, .pa-seite .pa-reiter-knoepfe > button { font-size:var(--pa-reiter); padding:6px 4px; margin-right:10px; }
.pa-seite .pa-reiter-rechts .primaer, .pa-seite .pa-reiter-rechts button, .pa-seite .pa-reiter-rechts .knopf { padding-top:6px; padding-bottom:6px; font-size:14px; }
.pa-seite .pa-uebersicht { margin-top:4px; gap:6px; }
.pa-seite .pa-box { padding:var(--pa-box-y) var(--pa-box-x); min-height:var(--pa-box-min); font-size:14px; line-height:1.4; }
.pa-seite .pa-box-titel { font-size:11.5px; margin-bottom:6px; } .pa-seite .pa-box-titel svg { width:15px; height:15px; }
.pa-seite .pa-inhalt { padding:2px 0 8px; }
.pa-seite .dok-gruppe { font-size:13.5px; padding:12px 10px 6px; }
.pa-seite .pa-zeile { padding:var(--pa-zeile-y) 10px; min-height:var(--pa-zeile-min); gap:12px; }
.pa-seite .pa-zeile-text { gap:1px; } .pa-seite .pa-zeile-text b, .pa-seite .dok-titel b { font-size:14px; } .pa-seite .pa-zeile-text span { font-size:12.5px; }
.pa-seite .pa-zeile .icon-knopf { width:30px; height:30px; min-width:30px; }
.pa-seite .pa-zeile .icon-knopf, .pa-seite .pa-zeile .dok-st, .pa-seite .pa-zeile .dok-typ, .pa-seite .pa-zeile .pa-betrag, .pa-seite .pa-zeile .pa-ic { flex:none; }
/* Blöcke oben (Dom 27.10.2026): feste, gleiche Höhe, wachsen nicht mit dem Inhalt (z. B. Kunde eingetragen); lange Inhalte enden mit „…“ */
.pa-seite .pa-uebersicht { grid-template-rows:var(--pa-box-h) var(--pa-box-h); grid-auto-rows:var(--pa-box-h); }
.pa-seite .pa-uebersicht > .pa-box { min-height:0; height:100%; box-sizing:border-box; overflow:hidden; }
.pa-seite .pa-uebersicht .pa-link, .pa-seite .pa-uebersicht .pa-kontakt, .pa-seite .pa-uebersicht .pa-adresse, .pa-seite .pa-uebersicht .pa-wert, .pa-seite .pa-uebersicht .pa-unterwert, .pa-seite .pa-uebersicht .klein-text
  { display:block; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pa-seite .pa-uebersicht .pa-stunden-zeile > div:first-child { min-width:0; overflow:hidden; }
.pa-seite .pa-uebersicht .pa-wert, .pa-seite .pa-uebersicht .pa-gross, .pa-seite .pa-uebersicht button.pa-link.pa-gross { font-size:21px; line-height:1.3; } .pa-seite .pa-uebersicht .pa-unterwert { font-size:15.5px; }
/* Höhe 128 px (Dom 27.10.2026, Live 8.32: bei 104 px war der Kreis unten abgeschnitten und „Kalkulation: …“ klebte am Rand) – Kreis passt ganz hinein */
.pa-seite .pa-uebersicht .pa-ring { width:72px; height:72px; } .pa-seite .pa-uebersicht .pa-ring span { width:60px; height:60px; font-size:14px; }
.pa-seite .pa-uebersicht .pa-stunden-zeile .klein-text { margin-top:3px; white-space:normal; font-size:12px; line-height:1.25; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; } /* „Kalkulation: …“ ganz lesbar (2 Zeilen) */
.pa-seite .pa-uebersicht .pa-text { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:8; overflow:hidden; }
/* Feste Zeilenhöhe (Dom 27.10.2026: „die müssen immer gleich hoch sein“): Dokumente, Ablage und alle Listen der Projektseite gleich hoch –
   egal ob Entwurf, festgeschrieben, mit Betrag, zweiter Zeile, Marke, Knöpfen, beim Darüberfahren oder Bearbeiten. Lange Texte enden mit „…“ */
.pa-seite .pa-zeile { height:var(--pa-zeile-h); min-height:var(--pa-zeile-h); max-height:var(--pa-zeile-h); padding-top:0; padding-bottom:0; overflow:hidden; }
.pa-seite .pa-zeile-text { justify-content:center; overflow:hidden; }
.pa-seite .pa-zeile-text > b, .pa-seite .pa-zeile-text > span:not(.dok-titel), .pa-seite .dok-titel b { display:block; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pa-seite .dok-titel { display:flex; flex-wrap:nowrap; min-width:0; overflow:hidden; gap:8px; } .pa-seite .dok-titel .dok-nummer { flex:none; }
.pa-seite .pa-zeile input, .pa-seite .pa-zeile select { max-height:34px; }

/* Projekt-Chat: der schwebende Filter hängt an der Kopfzeile statt an einer festen Höhe (internes Projekt ohne Baustelle|Büro war kürzer → „Alle“ lag auf dem Verlauf);
   darunter Platz, damit der erste Eintrag nicht verdeckt wird – beim Scrollen läuft der Inhalt weiter dahinter */
.pa-chat .ch-reiter.ch-pkopf { position:relative; }
.pa-chat .ch-pkopf .ch-strom:not([hidden]) ~ .ch-filter { top:calc(100% + 8px); right:6px; }
.pa-chat .ch-pkopf:has(> .ch-strom:not([hidden])) ~ .ch-verlauf { padding-top:46px; }
.pt-ohne-link { cursor:help; } .pt-pp-rechts .pt-ohne-link { display:inline-flex; align-items:center; gap:6px; color:#8a8a8a; font-size:13.5px; margin-top:8px; }
body.beta:not(.beta-umgebung) .nav-titel-beta { display:none; } /* Live: kein „Beta“-Titel mehr über den freigegebenen Punkten */
.pa-seite .pa-reiter > .reiter-mehr { font-size:var(--pa-reiter); padding:6px 4px; margin-right:10px; } /* Reiter, die nicht passen → „Mehr ▾“ */
/* E-Mails der Anfrage wie im Projekt (Dom 1.11.2026: „nur so ein kleiner Kasten links“): über die ganze Breite und Höhe des Bereichs */
.an4-links > .an4-mails { grid-column:1 / -1; min-height:0; display:flex; flex-direction:column; } .an4-mails > .pe.pe-im-reiter { flex:1; height:auto; min-height:420px; }

/* Klickbares ohne Unterstrich (Dom 2.11.2026): beim Drüberfahren wird der Block leicht hinterlegt, es kommt nie ein Strich darunter */
a:hover, a:hover *, .vl-zeile.klick:hover b, .ch-datei:hover b, .ks:hover .ks-text b, .fb-rest-zeile:hover span, .zt-projekt:hover span, .kd-plus:hover, .dok-kalk-z:hover,
.gs-mehr:hover, .ang-mat:hover, .ch-umfrage .u-stimmen:hover, .auf-vl-bezugknopf:hover, .vl-block a:not(.vl-fehlt):not(.vl-mehr):not(.kx-ik):hover,
.ei-tabelle a:hover, .pt-panel .pp-zeile a:hover { text-decoration:none !important; }
.pa-link, .pa-bet a, .zt-projekt, .dv-online span { text-decoration:none; }
.pa-link, .pa-adresse, .pa-kontakt a, .adr-maps, .pb-maps, .pa-bet a, .vl-block a:not(.vl-fehlt):not(.vl-mehr):not(.kx-ik), .ka-auf-kopf a, a.an-still, .ang-mat, .ei-tabelle a, .pt-panel .pp-zeile a, .kd-plus {
  display:inline-block; border-radius:6px; padding:1px 6px; margin:-1px -6px; transition:background .12s; }
.pa-link:hover, .pa-adresse:hover, .pa-kontakt a:hover, .adr-maps:hover, .pb-maps:hover, .pa-bet a:hover, .vl-block a:not(.vl-fehlt):not(.vl-mehr):not(.kx-ik):hover, .ka-auf-kopf a:hover,
a.an-still:hover, .ang-mat:hover, .ei-tabelle a:hover, .pt-panel .pp-zeile a:hover, .kd-plus:hover { background:rgba(0,0,0,.06); color:inherit; }
.pa-link:hover { color:#111; }
.ks { transition:background .12s; } .ks:hover { background:rgba(0,0,0,.05); }
.pb-kunde-karte { transition:background .12s; } .pb-kunde-karte:has(.pb-kunde-link:hover) { background:#f1f1f1; }
/* Projekt bearbeiten (Dom 2.11.2026): Empfänger-Karte mit Abstand zur Auswahl; Status nur als Pille hinterlegt, ohne Kasten */
.pb #pb-empf .pb-karte { margin-top:12px; }
.pl-sw:hover, .pl-sw:focus { background:none; box-shadow:none; } .pl-sw:hover .pstatus { filter:brightness(.94); } .pl-sw:focus-visible { outline:none; } .pl-sw:focus-visible .pstatus { outline:2px solid var(--rot); outline-offset:1px; }
/* Kein Zucken beim Scrollen (Dom 2.11.2026): am Ende eines Fensters scrollt die Seite dahinter nicht weiter. Nicht mehr für alle Elemente (Dom 3.11.2026:
   „man kann oft gar nichts scrollen“) – jeder Kasten mit overflow:hidden (gekürzte Texte, Textebene im PDF) hielt sonst das Mausrad fest, statt es an die Liste weiterzugeben */
dialog { overscroll-behavior:contain; }
/* Eingangsbelege (Dom 2.11.2026): die Filterzeile bleibt eine Zeile, damit alle Reiter gleich hoch anfangen; das Suchfeld gibt zuerst Platz ab */
.filterleiste .suchfeld { flex:1 1 230px; max-width:320px; }
/* Festgeschriebene Dokumente (Dom 2.11.2026, wie plancraft): rahmenlose Symbole, ⋮, roter Knopf „PDF herunterladen ˅“; links eine ruhige Info-Spalte */
.dv-aktionen { gap:4px; }
.dv-ik { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; padding:0; border:none; background:none; border-radius:8px; color:var(--schwarz); cursor:pointer; }
.dv-ik:hover { background:rgba(0,0,0,.06); } .dv-ik svg { width:18px; height:18px; }
.dv-split { display:inline-flex; margin-left:6px; } .dv-split > button { height:38px; } .dv-split > button:first-child { border-radius:8px 0 0 8px; padding:0 18px; }
.dv-split .dv-split-pfeil { border-radius:0 8px 8px 0; padding:0 10px; margin-left:1px; min-width:0; }
.dv-rahmen { flex:1; min-height:0; display:flex; gap:0; }
.dv-rahmen > .dok-vorschau { flex:1; }
.dv-info { flex:none; width:250px; overflow:auto; padding:12px 18px 30px 4px; display:flex; flex-direction:column; gap:12px; font-size:13.5px; line-height:1.45; }
.dv-info-block { background:#fff; border:1px solid #e6e6e6; border-radius:10px; padding:10px 12px; }
.dv-info-titel { display:flex; align-items:center; gap:6px; font-weight:600; font-size:13.5px; margin-bottom:3px; color:#131313; }
.dv-info-block.gruen .dv-info-titel { color:#1f6b3a; } .dv-info-block.rot .dv-info-titel { color:#b42318; } .dv-info-block.blau .dv-info-titel { color:#1b5e8c; } .dv-info-block.grau .dv-info-titel { color:#777; }
.dv-info-zeile { display:flex; flex-direction:column; padding:4px 0; } .dv-info-zeile + .dv-info-zeile { border-top:1px solid #f0f0f0; }
.dv-info-link { display:inline-flex; align-items:center; gap:5px; margin-top:6px; padding:4px 8px; margin-left:-8px; border-radius:6px; color:#131313; font-weight:500; }
.dv-info-link:hover { background:rgba(0,0,0,.06); }
.dv-aufrufe { display:none; margin-top:6px; border-top:1px solid #eee; } .dv-info-block.offen .dv-aufrufe { display:block; }
.dv-i { display:inline-flex; align-items:center; justify-content:center; width:17px; height:17px; padding:0; border-radius:50%; border:1.5px solid currentColor; background:none; color:inherit; font:600 11px/1 inherit; font-style:normal; cursor:pointer; }
.dok-versand { flex:none; display:inline-flex; align-items:center; gap:6px; border-radius:999px; padding:5px 12px; font-size:13px; font-weight:500; white-space:nowrap; border:none; }
.dok-versand.gesendet { background:#eef6f1; color:#1f6b3a; } .dok-versand.nicht { background:none; color:#999; } .dok-versand.link { background:#f1f1f1; color:#555; }
.dok-versand.geoeffnet { background:#e7f0ff; color:#1b5e8c; cursor:pointer; } .dok-versand.geoeffnet:hover { filter:brightness(.96); } .dok-versand .dv-i { width:15px; height:15px; font-size:10px; }
.dv-anpassen { display:flex; flex-direction:column; gap:6px; }
.dv-teil { display:flex; align-items:center; gap:10px; width:100%; text-align:left; padding:10px 12px; border:none; border-radius:8px; background:#f6f6f6; color:#999; font-weight:500; cursor:pointer; }
.dv-teil:hover { background:#efefef; } .dv-teil.an { background:#eef6f1; color:#131313; }
.dv-teil-haken { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:6px; border:1.5px solid #ccc; background:#fff; color:transparent; }
.dv-teil.an .dv-teil-haken { background:#1f7a4d; border-color:#1f7a4d; color:#fff; }
.dv-versionen .knopf { flex:none; display:inline-flex; align-items:center; gap:6px; }
@media (max-width:900px) { .dv-info { display:none; } }
.dv-teil .rechts { margin-left:auto; }
/* Versand-Fenster wie ein Mailprogramm (Dom 2.11.2026): Von, An, Weitere, Betreff in Zeilen; weitere Empfänger als Blöcke */
.mf { row-gap:10px; }
.mf-zeile { display:grid; grid-template-columns:92px minmax(0, 1fr); align-items:center; gap:12px; }
.mf-lbl { font-size:14px; color:var(--grau); } .mf-wert { min-width:0; } .mf-wert > input { width:100%; }
.mf-von { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 8px; min-height:38px; align-content:center; padding:0 2px; } .mf-von > span:not(.klein-text) { color:var(--grau); } .mf-von .klein-text { flex-basis:100%; }
.mf-chips { display:flex; flex-wrap:wrap; align-items:center; gap:6px; min-height:38px; }
.mf-chip { display:inline-flex; align-items:center; gap:6px; background:#f1f1f1; border-radius:8px; padding:5px 6px 5px 10px; font-size:13.5px; max-width:100%; }
.mf-chip .klein-text { color:#888; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mf-chip button { display:inline-flex; border:none; background:none; padding:3px; border-radius:6px; cursor:pointer; color:#777; } .mf-chip button:hover { background:rgba(0,0,0,.08); color:#111; }
.mf-plus { display:inline-flex; align-items:center; gap:5px; border:none; background:#f6f6f6; border-radius:8px; padding:7px 11px; font-size:13.5px; font-weight:500; cursor:pointer; color:#131313; }
.mf-plus:hover { background:#ececec; }
.mf-frei { flex:1 1 160px; min-width:140px; border:none !important; background:none !important; box-shadow:none !important; padding:6px 4px !important; font-size:13.5px; }
.mf-text { display:flex; flex-direction:column; gap:6px; } .mf-lbl-ober { font-size:14px; color:var(--grau); }
@media (max-width:600px) { .mf-zeile { grid-template-columns:1fr; gap:4px; } }
/* E-Mail im Seitenfenster (Dom 2.11.2026): breiter, damit die Kommentare rechts neben der Mail stehen wie im Mailprogramm; aus dem Chat dasselbe Fenster */
.pe.pe-im-reiter.pe-breit.pe-offen .pe-mail { width:min(1180px, calc(100vw - 220px)); }
.pe.pe-allein { position:fixed; inset:0 0 0 auto; z-index:60; width:0; height:0; }
/* Eingangsdokumente im Projekt (Dom 2.11.2026): Reiter wie bei den Eingangsbelegen, Suche und Filter klein rechts daneben */
.pe-eingang-kopf { display:flex; align-items:flex-end; gap:12px; flex-wrap:wrap; margin-bottom:10px; } .pe-eingang-kopf .lg-reiter { flex:1; margin:0; }
.pe-eingang-filter { display:flex; gap:6px; align-items:center; padding-bottom:6px; }
.pe-eingang-filter input, .pe-eingang-filter select { height:32px; font-size:13px; padding:4px 10px; border-radius:8px; width:auto; min-width:0; }
.pe-eingang-filter input { width:150px; }
.pe-st { display:inline-flex; border-radius:999px; padding:2px 10px; font-size:12.5px; background:#f1f1f1; color:#555; white-space:nowrap; }
.pe-st.geprueft, .pe-st.bezahlt, .pe-st.angekommen, .pe-st.angenommen { background:#e3f4e8; color:#1f6b3a; } .pe-st.zu_pruefen, .pe-st.teilweise { background:#fff4cc; color:#8a6100; }
.pe-st.offen, .pe-st.bestellt, .pe-st.bestaetigt { background:#e7f0ff; color:#1b5e8c; } .pe-st.fehler, .pe-st.ueberfaellig { background:#fdecec; color:#b42318; }
/* Empfänger im Dokument (Dom 2.11.2026): Klick öffnet den Kunden; Stift und ✕ ohne Rahmen; ohne Empfänger die Kundensuche mit „Neuen Kontakt erstellen“ */
.dok-empf-knoepfe { position:absolute; right:6px; top:6px; display:flex; gap:2px; } .dok-empf-knoepfe .dv-ik { width:32px; height:32px; } .dok-empf-knoepfe .dv-ik svg { width:16px; height:16px; }
.dok-empf-box .dok-empf { padding-right:80px; transition:background .12s; } .dok-empf-box .dok-empf:hover { background:#efefef; }
.dok-kunde-suche input { width:100%; }
.pb-treffer .pb-neu { display:flex; align-items:center; gap:8px; border-top:1px solid #eee; font-weight:500; }
.pb-tr-leer { padding:10px 12px; }
/* Kunde anlegen/bearbeiten (Dom 2.11.2026): höhere Felder, Telefon/E-Mail luftiger und nicht so lang, „+ … hinzufügen“ als richtiger Block wie bei plancraft */
.kd-form input:not([type=radio]):not([type=checkbox]), .kd-form select { min-height:42px; }
.kd-form .kd-kom { gap:10px; } .kd-form .kd-kom-zeile { max-width:480px; gap:10px; }
.kd-plus-block { align-self:flex-start; display:inline-flex; align-items:center; gap:7px; border:none; background:#f3f3f3; border-radius:8px; padding:8px 14px; font-size:14px; font-weight:600; color:#131313; cursor:pointer; }
.kd-plus-block:hover { background:#e9e9e9; }
.kd-form .pb-nummer { display:flex; gap:8px; align-items:center; } .kd-form .pb-nummer input { flex:1; }
/* Vorgänge im Projekt: je Einkauf die Kette, Belege als kleine Blöcke, fehlende Schritte nur grau */
.vg-tab td { vertical-align:top; } .vg-beleg { display:block; width:max-content; margin:0 0 3px; padding:2px 8px; border-radius:6px; background:#f3f3f3; color:#131313; font-size:13px; }
.vg-beleg:hover { background:#e8e8e8; } .vg-fehlt { color:#bbb; }
/* Adressen und Baustellen beim Kunden (Dom 2.11.2026): Blöcke wie bei plancraft, beim Drüberfahren hinterlegt */
.kd-bloecke { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:10px; margin-bottom:8px; }
.kd-block { display:flex; flex-direction:column; gap:2px; text-align:left; background:#f5f5f5; border:none; border-radius:10px; padding:12px 14px; font:inherit; color:#131313; }
button.kd-block { cursor:pointer; transition:background .12s; } button.kd-block:hover { background:#ebebeb; }
.kd-pillen { display:flex; flex-wrap:wrap; gap:5px; margin-top:6px; } .kd-pille { background:#fff; color:#666; border-radius:999px; padding:1px 9px; font-size:12px; }
.kd-pille.haupt { background:#e3f4e8; color:#1f6b3a; } .kd-pille.blau { background:#e7f0ff; color:#1b5e8c; }
.kd-inline { padding:16px 18px; } .kd-inline-kopf { display:flex; align-items:center; gap:10px; margin-bottom:12px; } .kd-inline-kopf h2 { margin:0; font-size:17px; } .kd-inline-kopf .leiste { margin-left:auto !important; }
.ob-leute { display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
.ob-person { display:grid; grid-template-columns:36px minmax(0, 1fr) auto; gap:10px; align-items:center; background:#f5f5f5; border-radius:10px; padding:9px 12px; }
.ob-person > div { display:flex; flex-direction:column; } .ob-av { width:36px; height:36px; border-radius:50%; background:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:600; font-size:13px; }
a.kd-block { text-decoration:none !important; transition:background .12s; } a.kd-block:hover { background:#ebebeb; }
.ob-leute { display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
.ob-person { display:grid; grid-template-columns:36px minmax(0, 1fr) auto; gap:10px; align-items:center; background:#f5f5f5; border-radius:10px; padding:9px 12px; }
.ob-person > div { display:flex; flex-direction:column; } .ob-av { width:36px; height:36px; border-radius:50%; background:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:600; font-size:13px; }
a.kd-block { text-decoration:none !important; transition:background .12s; } a.kd-block:hover { background:#ebebeb; }
/* Neues Projekt: Empfänger und Baustellenadresse als Auswahl mit Suche (Dom 2.11.2026) */
.pb-dd { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; text-align:left; } .pb-dd span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pb-adr-wahl { width:100%; }
.kd-kom-chips { display:flex; flex-wrap:wrap; gap:6px; }
.kd-kom-chip { display:inline-flex; align-items:center; gap:7px; background:#f5f5f5; border-radius:8px; padding:5px 10px; color:#131313 !important; margin:0 !important; }
.kd-kom-chip:hover { background:#ebebeb !important; } .kd-kom-chip small { background:#fff; border-radius:6px; padding:0 6px; color:#777; font-size:11.5px; }
/* Bearbeiten auf der Kundenseite: das Formular nimmt die ganze Breite der linken Seite ein */
.vl-links > #kd-kontakt:has(.kd-inline) { grid-column:1 / -1; }
/* Kundenseite Variante E (Dom 2.11.2026) */
.kd-kopf { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:0 0 6px; } .kd-kopf h1 { margin:0; font-size:22px; } .kd-kopf .kx-rechts { margin-left:auto; display:flex; gap:4px; align-items:center; }
.kdk-zahlen { display:flex; gap:26px; margin-left:20px; } .kdk-zahl { display:flex; flex-direction:column; } .kdk-zahl span { font-size:12px; color:#666; } .kdk-zahl b { font-size:17px; }
.kd-uebersicht { display:grid; grid-template-columns:minmax(0, 1fr) 380px; gap:16px; align-items:stretch; min-height:0; }
.kd-links { display:flex; flex-direction:column; gap:14px; min-width:0; } .kd-rechts { min-width:0; display:flex; flex-direction:column; } .kd-rechts > .vl-verlauf { flex:1; }
.kd-karte { padding:18px 20px; } .kd-karte-kopf { display:flex; align-items:center; gap:8px; margin:0 0 12px; } .kd-karte-kopf h2 { margin:0; font-size:17px; } .kd-karte-kopf .kd-stift { margin-left:auto; border:1px solid #e3e3e3; }
.kd-kontakt-gitter { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px 24px; }
.kd-lbl { color:#666; font-size:13px; margin:0 0 6px; } .kd-wert { padding:6px 0; line-height:1.5; }
.kd-li { display:block; width:fit-content; max-width:100%; padding:6px 10px; margin:0 -10px; border-radius:8px; color:#131313 !important; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.kd-li:hover { background:#f3f3f3; } .kd-li small { color:#777; font-size:12px; margin-left:6px; }
.kd-notiz { margin:14px 0 0; padding-top:12px; border-top:1px solid #f0f0f0; color:#444; }
.kd-seg-zeile { display:flex; align-items:center; gap:10px; margin:0 0 12px; }
.kd-seg { display:inline-flex; flex-wrap:nowrap; align-items:center; background:#e9e9e9; border-radius:9px; padding:3px; gap:2px; } /* Umschalter A */
.kd-seg button { border:none; background:none; border-radius:7px; padding:6px 14px; font:inherit; font-size:14.5px; font-weight:500; line-height:1.45; color:#5e5e5e; cursor:pointer; white-space:nowrap; } .kd-seg button.an { background:#fff; color:#131313; box-shadow:0 1px 2px rgba(0,0,0,.14); }
.kd-seg small { color:#8a8a8a; font-weight:400; }
#kd-teil .akte-kopf h2 { display:none; } #kd-teil .akte-kopf { justify-content:flex-end; margin-bottom:6px; } #kd-teil .akte-kopf > .klein-text { display:none; }
.kd-zeile { display:grid; grid-template-columns:minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1fr) 36px; gap:14px; align-items:center; padding:10px; margin:0 -10px; border-radius:8px; cursor:pointer; }
.kd-zeile:hover { background:#f6f6f6; } .kd-zeile b { display:flex; flex-direction:column; font-weight:600; } .kd-zeile > span { color:#666; font-size:13px; overflow:hidden; text-overflow:ellipsis; }
.kd-zs { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px 24px; margin:0; } .kd-zs dt { color:#666; font-size:13px; } .kd-zs dd { margin:2px 0 0; }
.kd-zs-form { grid-template-columns:repeat(3, minmax(0, 1fr)); }
.ap-kom { display:flex; flex-direction:column; margin-top:4px; }
@media (max-width:1100px) { .kd-uebersicht { grid-template-columns:1fr; } .kd-kontakt-gitter, .kd-zs { grid-template-columns:repeat(2, minmax(0, 1fr)); } .kdk-zahlen { margin-left:0; } }
/* Kontakt-Formular: Telefon links, E-Mail rechts, jede Zeile mit Abstand (Dom 2.11.2026) */
.kd-form .kd-kom { align-self:start; } .kd-form .kd-kom > div { display:flex; flex-direction:column; gap:10px; }
.kd-form .kd-kom-zeile { max-width:none; margin:0; } .kd-form .kd-kom-zeile > select, .kd-form .kd-kom-zeile > .auswahl { width:120px; }
.pb-scroll::after { content:''; display:block; height:300px; } /* Platz, damit Auswahlen unten im Formular nach unten aufklappen */
.kd-uebersicht { min-height:calc(100vh - 150px); } .kd-rechts > .vl-verlauf { overflow:auto; max-height:calc(100vh - 150px); } /* Verlauf wie der Chat bis unten */
/* Umschalter größer und besser zu sehen (Dom 2.11.2026): jetzt Umschalter A oben bei .kd-seg (Runde 4) */
/* Ansprechpartner als Karten wie im CRM: Name, Rolle, Telefon, Mobil, E-Mail untereinander, Geburtstag */
.ap-gitter { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:10px; }
.ap-karte { background:#f6f6f6; border-radius:10px; padding:12px 14px; display:flex; flex-direction:column; gap:4px; }
.ap-karte-kopf { display:flex; align-items:center; gap:10px; } .ap-karte-kopf > div { flex:1; min-width:0; } .ap-karte-kopf .icon-knopf { flex:none; }
.ap-av { width:36px; height:36px; border-radius:50%; background:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:600; font-size:13px; flex:none; }
.ap-haupt { align-self:flex-start; } .ap-gb { margin-top:2px; } .ap-gb.bald { color:#b45309; font-weight:500; } .ap-notiz { white-space:pre-line; }
.formular .kd-typ { padding:4px; } .formular .kd-typ span { padding:10px 18px !important; font-size:15px; } /* Person · Firma · Hausverwaltung größer */
/* ---------- Dokument-Editor: Titel als Block mit Untertiteln, Seitenleiste mit Kalkulation, Gesamtkalkulation (Dom 3.11.2026, wie plancraft) ---------- */
/* Seitenleiste: jeder Titel mit eigenem Pfeil, Einrückung je Ebene; darunter die kleine Kalkulation */
.dok-nav .dok-nav-t { display:flex; align-items:center; padding-left:calc(var(--t, 0) * 12px + 6px); }
.dok-nav .dok-nav-t a.titel { flex:1; min-width:0; padding:6px 14px 6px 2px; }
.dok-nav a.dok-nav-p { padding-left:calc(var(--t, 0) * 12px + 30px); }
.dok-nav-pfeil, .dok-titel-pfeil { border:none; background:none; padding:0; min-height:0; width:22px; height:22px; display:inline-flex; align-items:center; justify-content:center; color:#777; cursor:pointer; flex:none; border-radius:4px; }
.dok-nav-pfeil:hover, .dok-titel-pfeil:hover { background:#efefef; color:#111; }
.dok-nav-pfeil svg, .dok-titel-pfeil svg, .dok-gk-kopf svg { transition:transform .12s; }
.dok-nav-pfeil.zu svg, .dok-pos.titel.zu .dok-titel-pfeil svg, .dok-gk.zu .dok-gk-kopf svg { transform:rotate(-90deg); }
.dok-nav-kalk { margin:12px 0 0; padding:12px 16px 0 18px; border-top:1px solid #eee; font-size:13.5px; display:flex; flex-direction:column; gap:6px; }
.dok-nav-kalk > div { display:flex; justify-content:space-between; gap:10px; white-space:nowrap; } .dok-nav-kalk > div > span:first-child { color:#666; }
.dok-nav-kalk > .dok-nav-kalk-titel { font-size:13px; text-transform:uppercase; letter-spacing:.4px; font-weight:600; color:#111; }
.dok-nav-kalk > .summe { border-top:1px solid #eee; padding-top:6px; } .dok-nav-kalk > .summe > span:first-child { color:#111; font-weight:600; }
/* Zeilen über die ganze Breite des Blatts (Inhalt bleibt, wo er war); ⋮ ohne Rahmen auf Höhe des Betrags */
/* Zeilen über die ganze Blattbreite mit rundem Rahmen; Griff ⠿ ganz links und ⋮ ganz rechts am Rand (Dom 3.11.2026, Bild „1. Pauschaler Abschlag“) – in allen Dokumenten */
.dok-a4 #dok-positionen > .dok-pos { margin-left:-15px; margin-right:-15px; padding-left:12px; padding-right:10px; border:2px solid transparent !important; border-radius:10px; }
.dok-a4 #dok-positionen > .dok-pos:not(.zwischensumme):hover { border-color:#111 !important; background:#fff; }
.dok-a4 #dok-positionen > .dok-pos-edit { margin-left:-15px; margin-right:-15px; border:2px solid #111; border-radius:10px; }
.dok-a4 #dok-positionen > .dok-pos > .icon-knopf { border:none; background:none; box-shadow:none; height:22px; align-self:start; }
.dok-a4 #dok-positionen > .dok-pos > .icon-knopf:hover { background:#efefef; }
@media (max-width:1000px) { .dok-a4 #dok-positionen > .dok-pos, .dok-a4 #dok-positionen > .dok-pos-edit { margin-left:-8px; margin-right:-8px; } }
/* Titelzeile wie im PDF: Nummer vorne (mit Pfeil), Text in der Spalte des Kurztexts, eingeklappt rechts die Titelsumme */
.dok-pos.titel { font-size:14.5px; }
.dok-pos.titel .dok-titel-nr { grid-column:2 / 5; display:flex; align-items:center; gap:2px; margin-left:-24px; white-space:nowrap; font-weight:700; padding-left:0; }
.dok-pos.titel .dok-pos-titel { grid-column:5 / 6; line-height:1.45; overflow-wrap:anywhere; } /* so breit wie der Kurztext der Positionen (Dom 3.11.2026) */
.dok-pos.titel > .dok-gesamt { grid-column:7; } .dok-pos.titel .dok-titel-pfeil { width:22px; height:21px; }
.dok-a4 #dok-positionen > .dok-pos.titel > .dok-griff { position:absolute; left:6px; top:18px; } /* Griff in den Rand, vorne steht der Pfeil */
.dok-pos.titel:hover .dok-titel-nr .dok-titel-pfeil, .dok-pos.titel.zu .dok-titel-pfeil { color:#111; }
.dok-pos.zwischensumme .dok-zs-text { grid-column:5 / 7; line-height:1.45; } .dok-pos.zwischensumme > .dok-gesamt { grid-column:7; } /* Summe in derselben Linie wie „Gesamt“ */
.dok-pos.ziel-titel { outline:2px dashed var(--rot); outline-offset:-2px; background:#fdf2f2; }
.dok-pos.ziel-titel::after { content:attr(data-ziel-text); position:absolute; right:12px; top:4px; font-size:11px; color:var(--rot); font-weight:600; }
/* Titel bearbeiten in der Zeile */
.dok-pos-edit.titel .dok-titel-edit { display:grid; grid-template-columns:52px 76px 84px minmax(0, 1fr) 96px 104px 30px; gap:8px; align-items:center; background:#f4f4f4; border-radius:6px; padding:10px; margin-bottom:8px; } /* wie die Zeile einer offenen Position: Titel steht wie der Kurztext */
.dok-pos-edit.titel .dok-titel-edit .dok-nr { font-weight:700; } .dok-pos-edit.titel .dok-titel-edit input { grid-column:4 / 8; font-weight:700; font-size:14.5px; background:#fff !important; border:1px solid #dcdcdc !important; border-radius:6px; padding:7px 10px; min-height:36px; box-sizing:border-box; width:100%; }
.dok-umbruch-weg { border:none; background:none; padding:0 4px; min-height:0; color:#999; cursor:pointer; font-size:12px; } .dok-umbruch-weg:hover { color:var(--rot); }
/* Gesamtkalkulation unten im Dokument */
.dok-gk { margin:8px 32px 0; padding:16px 0 0; border-top:1px solid #eee; font-size:14px; }
.dok-gk-kopf { display:flex; align-items:center; gap:8px; width:100%; border:none; background:none; padding:4px 0; min-height:0; text-align:left; cursor:pointer; font:inherit; color:#111; }
.dok-gk-kopf .klein-text { margin-left:4px; }
.dok-gk-tab { margin:10px 0 0; background:#f6f6f6; border-radius:8px; padding:6px 14px; }
.dok-gk-z { display:grid; grid-template-columns:minmax(0, 1.6fr) 1fr 14px 1fr 70px 14px 1.1fr; gap:8px; padding:6px 0; align-items:baseline; }
.dok-gk-z > span:not(:first-child) { text-align:right; white-space:nowrap; } .dok-gk-z > span:nth-child(3), .dok-gk-z > span:nth-child(6) { text-align:center; color:#888; }
.dok-gk-z > span:nth-child(5) { color:#666; }
.dok-gk-z.kopf { font-size:12.5px; color:#666; text-transform:uppercase; letter-spacing:.3px; border-bottom:1px solid #e4e4e4; }
.dok-gk-z.leise { color:#666; } .dok-gk-z.summe { border-top:1px solid #ddd; font-weight:700; } .dok-gk-z.zeit { color:#444; }
.dok-stamm-liste { margin:6px 0 10px; padding-left:20px; } .dok-stamm-liste li { margin:3px 0; }
.dok-nav-kalk > .mit-satz { display:grid; grid-template-columns:minmax(0,1fr) auto auto; } .dok-nav-kalk > .mit-satz > span:first-child { overflow:hidden; text-overflow:ellipsis; } .dok-nav-satz { color:#8a8a8a; font-size:12.5px; }

/* Hauptadresse als erste Baustelle (Bausteine Runde 4) */
.kd-haupt-name { display:flex; align-items:center; gap:8px; } button.kd-haupt-wieder { display:block; margin:8px 0 2px; font-size:13px; color:#5e5e5e; }

/* ---------- Dokument-Editor, Paket 2 (Dom 4.11.2026) ---------- */
/* Textblöcke oben und unten (Anrede, Texte, Referenz, Zahlungsbedingungen) 1:1 wie die Positionszeilen: volle Breite (Lage/Breite setzt ausrichten()),
   Rahmen 2 px unsichtbar, Rundung 10 px, beim Drüberfahren und Bearbeiten schwarz */
.dok-a4 .dok-texte .dok-block { border:2px solid transparent; border-radius:10px; padding-left:12px; padding-right:10px; }
.dok-a4 .dok-texte .dok-block:hover, .dok-a4 .dok-texte .dok-block:focus-within, .dok-a4 .dok-texte .dok-block.text-offen, .dok-a4 .dok-texte .dok-block.text-offen:hover { border-color:#111; background:#fff; }
.dok-a4 .dok-texte .dok-block.auto.fest:hover { border-color:#111; }
.dok-a4 .dok-texte .dok-block > .dok-text-feld { margin-left:2px !important; margin-right:2px !important; } /* Text bleibt, wo er war: vom „M“ in Menge bis „Preis“ (Block ist jetzt 12 px breiter je Seite) */
.dok-a4 .dok-texte input.dok-anrede.dok-text-feld { width:calc(100% - 4px); }
/* Titelsummen in derselben Größe wie alle Summen; Titeltext bearbeiten nur so breit wie der Kurztext einer offenen Position */
.dok-pos.zwischensumme, .dok-pos.zwischensumme .dok-zs-text, .dok-pos.zwischensumme > .dok-gesamt, .dok-pos.titel > .dok-gesamt { font-size:14.5px; }
.dok-pos-edit.titel .dok-titel-edit input { grid-column:4 / 5; }
/* Seitenleiste: nur so hoch wie der Inhalt; Kalkulation in Spalten, Summe und Stunden abgetrennt auf Grau */
.dok-nav-spalte .dok-nav { flex:none; padding-bottom:0; overflow:hidden auto; }
.dok-nav-kalk { padding-bottom:10px; }
.dok-nav-kalk > .dok-nav-kz, .dok-nav-fuss > .dok-nav-kz { display:grid; grid-template-columns:minmax(0, 1fr) 62px 96px; gap:8px; align-items:baseline; font-size:13.5px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.dok-nav-kz > :first-child { overflow:hidden; text-overflow:ellipsis; } .dok-nav-kz > :nth-child(2), .dok-nav-kz > :nth-child(3) { text-align:right; }
.dok-nav-kz > b { font-weight:600; color:#111; } .dok-nav-kalk > .dok-nav-kz > span:first-child { color:#666; } .dok-nav-kz .dok-nav-satz { font-size:13.5px; color:#8a8a8a; }
.dok-nav-fuss { display:flex; flex-direction:column; gap:6px; padding:10px 16px 12px 18px; border-top:1px solid #e2e2e2; background:#f4f4f4; }
.dok-seite.nav-zu .dok-nav-fuss { display:none; }
/* Gesamtkalkulation unter den Preisen (wie plancraft) */
.dok-gk.dok-grau-karte { margin:0; padding:16px 14px; border-top:none; font-size:14px; }
.dok-a4 .dok-summen + .dok-gk { margin:4px 16px 0; }
.dok-gk-titel { display:block; font-size:15px; margin:0 0 12px; }
.dok-gk .dok-gk-kopf { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:0; width:auto; padding:0; cursor:default; }
.dok-gk-kopf > div { display:flex; flex-direction:column; gap:4px; padding:0 16px; border-left:1px solid #cfcfcf; min-width:0; } .dok-gk-kopf > div:first-child { border-left:none; padding-left:0; }
.dok-gk-kopf > div > span { color:#666; font-size:13px; } .dok-gk-kopf b { display:flex; align-items:center; gap:6px; font-size:15px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.dok-gk-kopf .dok-gk-plus { color:#1f7a4d; } .dok-gk-kopf .dok-gk-pz { color:#777; font-weight:400; } .dok-gk.zu .dok-gk-kopf svg { transform:none; }
.dok-gk-auf { display:inline-flex; align-items:center; gap:4px; margin:12px 0 0; padding:0; min-height:0; border:none; background:none; font:inherit; font-weight:600; color:#111; cursor:pointer; }
.dok-gk-auf svg { transition:transform .12s; } .dok-gk.zu .dok-gk-auf svg { transform:rotate(-90deg); }
.dok-gk table.dok-gk-tab { width:100%; border-collapse:collapse; margin:10px 0 0; padding:0; background:none; font-variant-numeric:tabular-nums; }
.dok-gk-tab th, .dok-gk-tab td { padding:6px 8px; text-align:right; white-space:nowrap; font-weight:400; } .dok-gk-tab :is(th, td):first-child { text-align:left; padding-left:0; white-space:normal; }
.dok-gk-tab th { text-transform:none; letter-spacing:0; } .dok-gk-tab thead th { color:#666; font-size:13px; } .dok-gk-tab tfoot th { font-size:14px; color:#111; } .dok-gk-tab tfoot th { font-weight:700; border-top:1px solid #c9c9c9; }
.dok-gk-rund { display:flex; justify-content:flex-end; align-items:center; gap:6px; margin:6px 8px 0 0; color:#666; font-size:13px; }
.dok-info { display:inline-flex; align-items:center; justify-content:center; flex:none; width:16px; height:16px; border:1px solid #999; border-radius:50%; color:#777; font-size:10.5px; font-weight:700; font-style:normal; line-height:1; cursor:help; }
/* Umsatzsteuer, Lohnkostenanteil, Zahlungsziel: oben der Satz, feiner Strich, darunter Schalter und Feld */
.dok-satz { margin:0 0 12px; padding:0 0 12px; border-bottom:1px solid #d9d9d9; color:#333; font-size:14px; line-height:1.5; }
.dok-ust-hinweis { margin:12px 0 0; padding:12px 0 0; border-bottom:none; border-top:1px solid #d9d9d9; }
.dok-ust-warn { display:flex; align-items:flex-start; gap:8px; margin:10px 0 0; color:#b3261e; font-size:13.5px; line-height:1.45; } .dok-ust-warn svg { flex:none; margin-top:1px; }
.dok-satz-karte .dok-einst-reihe { gap:12px; } .dok-satz-karte .dok-einst-reihe .dok-toggle { min-width:0; }
.dok-zahl-einheit input:disabled { color:#aaa; }
/* Empfänger: statt ✕ das rote „Trennen“ (kein Stift – geändert wird beim Kunden) */
.dok-empf-knoepfe .dok-trennen { color:var(--rot); } .dok-empf-knoepfe .dok-trennen:hover { background:#fdf0f0; } .dok-empf-box .dok-empf { padding-right:48px; }

/* Vorgänge im Projekt (Entwurf C, Dom 4.11.2026): eine Zeile je Einkauf, Kette als Schritte, aufklappbar – erledigt dunkel, fehlend grau, kein Grün */
.vg-filter { display:inline-flex; gap:4px; } .vg-filter button { border:0; background:none; font:inherit; font-size:13px; color:#6b6966; padding:5px 10px; border-radius:8px; cursor:pointer; }
.vg-filter button.an { background:#f1f0ef; color:#131313; font-weight:600; } .vg-filter small { color:#9a9794; margin-left:2px; }
.vg-liste { display:flex; flex-direction:column; border:1px solid var(--linie, #e6e4e1); border-radius:12px; overflow:hidden; background:#fff; margin-top:12px; }
.vg-z { display:grid; grid-template-columns:minmax(180px, 1fr) auto 110px 20px; gap:16px; align-items:center; padding:13px 16px; border-top:1px solid #f0efee; cursor:pointer; }
.vg-liste > .vg-z:first-child { border-top:0; } .vg-z:hover { background:#fafafa; } .vg-z:focus-visible { outline:2px solid var(--rot); outline-offset:-2px; }
.vg-txt { min-width:0; display:flex; flex-direction:column; } .vg-txt b { font-weight:600; } .vg-txt span { color:#6b6966; font-size:13px; }
.vg-kette { display:flex; align-items:center; gap:6px; flex-wrap:wrap; justify-content:flex-end; } .vg-pf { color:#bbb; }
.vg-schritt { border-radius:8px; padding:4px 9px; font-size:12.5px; white-space:nowrap; background:#f1f0ef; color:#131313; font-weight:500; }
.vg-schritt.fehlt { background:none; border:1px dashed #d4d1ce; color:#8a8784; font-weight:400; }
.vg-betrag { text-align:right; font-variant-numeric:tabular-nums; font-weight:600; } .vg-auf { color:#9a9794; transition:transform .15s; } .vg-z.offen .vg-auf { transform:rotate(180deg); }
.vg-belege { background:#fafafa; border-top:1px solid #f0efee; padding:4px 16px 8px 32px; }
.vg-b { display:grid; grid-template-columns:110px 1fr 110px 120px; gap:12px; padding:8px 0; border-top:1px solid #efeeed; color:inherit; text-decoration:none; font-size:13.5px; }
.vg-b:first-child { border-top:0; } .vg-b:hover span:nth-child(2) { text-decoration:underline; } .vg-b .zahl { text-align:right; font-variant-numeric:tabular-nums; }

/* Baustelle (Entwurf B, Dom 4.11.2026): Adresse oben im Kasten, Angaben als eine Zeile, Kontaktpersonen mit Stift, Kunde als Hinweis unter den Projekten */
.bs-adr { display:flex; flex-direction:column; } .bs-adr b { font-size:15px; } .bs-angaben { margin:8px 0 0; }
.bs-pname { color:inherit; text-decoration:none; } .bs-pname:hover { text-decoration:underline; }
.bs-eintragen { border:0; background:none; padding:0; font:inherit; font-size:13px; color:#8a8784; text-decoration:underline dotted; cursor:pointer; text-align:left; }
.bs-kunde { margin:4px 2px 0; } .bs-kunde a { color:inherit; font-weight:600; }
/* Projekt erstellen = bearbeiten (Entwurf A, Dom 4.11.2026): weißer Block, Beschriftung links, lange Striche nur zwischen den großen Bereichen, kleinere Felder, Haken rot */
.pb-a { max-width:none; } .pb-a .pb-bereich { padding:18px 0 12px; border-top:1px solid #e6e4e1; } .pb-a .pb-bereich:first-child { border-top:0; padding-top:4px; }
.pb-a .pb-bereich > .pakte-titel { margin:0 0 8px; }
.pb-a .pb-feld { grid-template-columns:170px minmax(0, 560px); margin:6px 0; } .pb-a .pb-feld.pb-oben { align-items:start; } .pb-a .pb-feld.pb-oben > span { padding-top:9px; }
.pb-a .pb-feld input:not([type=checkbox]), .pb-a .pb-feld select, .pb-a .feld-knopf { min-height:38px; font-size:14px; }
.pb-a .pb-adresse .pb-feld { grid-template-columns:170px minmax(0, 560px); }
.pb-ma { border:1px solid #e1dfdc; border-radius:9px; overflow:hidden; } .pb-ma-q { border:0 !important; border-bottom:1px solid #eeecea !important; border-radius:0 !important; width:100%; }
.pb-ma-liste { max-height:236px; overflow-y:auto; padding:4px 0; }
.pb-ma-z { display:flex; align-items:center; gap:10px; padding:6px 12px; cursor:pointer; font-size:14px; } .pb-ma-z:hover { background:#f7f6f5; }
.pb-ma-z input { accent-color:var(--rot); width:16px; height:16px; margin:0; }
.pb-ma-av { width:26px; height:26px; border-radius:50%; background:#efedeb; color:#4a4846; font-size:11px; font-weight:600; display:grid; place-items:center; flex:none; } .pb-ma-av.leer { background:none; color:#aaa; }
.pb-ma-liste .pb-neu { margin:4px 12px 6px; } .pb-ma-chips .pma-liste { margin-top:8px; }
.pb-empf-gew { display:flex; align-items:flex-start; gap:10px; margin-bottom:8px; } .pb-empf-gew .pb-karte { flex:1; } .pb-empf-gew > .klein-text { padding-top:14px; }
#pb-empf > .klein-text { display:block; margin-top:6px; }
.pb-vo-auto { opacity:.85; } .pb-vo-neu { margin-top:6px; }

/* Abrechnungen vom Steuerberater verteilen (Dom 4.11.2026) */
.lohn-abr-feld { display:grid; place-items:center; min-height:110px; border:1.5px dashed #d4d1ce; border-radius:12px; color:#6b6966; cursor:pointer; margin-bottom:12px; }
.lohn-abr-feld.ziel { border-color:var(--rot); background:#fdf3f2; }
.la-tab { display:flex; flex-direction:column; border:1px solid #e6e4e1; border-radius:10px; overflow:hidden; max-height:340px; overflow-y:auto; }
.la-z { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:12px; align-items:center; padding:8px 12px; border-top:1px solid #f0efee; font-size:13.5px; } .la-z:first-child { border-top:0; }
.la-z.offen { background:#fdf3f2; } .la-z select { min-height:34px; }
/* Dateien (Firmenablage aus Drive, Dom 4.11.2026): Baum · offener Ordner als Liste oder Kacheln; Pfad-, Auswahlleiste und Ziehen wie in der Projekt-Ablage */
.da { flex:1 1 auto; min-height:0; display:grid; grid-template-columns:250px minmax(0,1fr); border:1px solid var(--linie); border-radius:12px; background:#fff; overflow:hidden; }
.da-baum { border-right:1px solid var(--linie); background:#fbfbfa; padding:12px 8px; overflow-y:auto; display:flex; flex-direction:column; gap:2px; font-size:15.5px; }
.da-baum h3 { font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--grau); margin:16px 10px 6px; font-weight:600; }
.da-knoten { display:flex; align-items:center; gap:8px; min-height:36px; padding-right:10px; border-radius:8px; cursor:pointer; white-space:nowrap; min-width:0; }
.da-knoten span { overflow:hidden; text-overflow:ellipsis; } .da-knoten:hover { background:var(--hell); } .da-knoten.an { background:#ececec; font-weight:600; }
.da-knoten > svg { flex:none; width:21px; height:21px; color:#c62828; fill:#fde8e8; } .da-klapp svg { width:14px; height:14px; } .da-knoten.ziel-an { background:#fbe9e8; outline:1.5px solid var(--rot); }
.da-klapp { border:0; background:none; padding:0; width:22px; height:22px; border-radius:6px; display:grid; place-items:center; color:var(--grau); cursor:pointer; flex:none; }
.da-klapp:hover { background:#e6e6e6; } .da-klapp svg { transition:transform .15s; } .da-klapp.auf svg { transform:rotate(90deg); } .da-klapp.leer { visibility:hidden; }
.da-mitte { display:flex; flex-direction:column; min-width:0; min-height:0; }
.da-kopf { display:flex; align-items:center; gap:8px; padding:8px 14px; border-bottom:1px solid var(--linie); }
.da-pfad { margin:0; padding:8px 14px; position:static; } .da-luecke { flex:1; }
.da-pfad .ab-krumen { min-width:0; overflow:hidden; }
.da-suche { width:min(360px, 40%); }
.da-kopf .segment button { display:grid; place-items:center; }
.da-leiste { margin:8px 14px 0; }
.da-feld { flex:1 1 auto; overflow-y:auto; padding:8px 12px 20px; } .da-feld.drueber { outline:2px dashed var(--rot); outline-offset:-8px; background:#fffafa; }
.da-lade { padding:12px; }
.da-marke { flex:none; white-space:nowrap; font-size:11px; background:var(--hell); border-radius:999px; padding:1px 8px; color:var(--grau); margin-left:8px; }
a.da-nodus { color:var(--schwarz); text-decoration:none; border:1px solid var(--linie); background:#fff; } a.da-nodus:hover { border-color:#bbb; }
.da-kacheln { display:grid; grid-template-columns:repeat(auto-fill, minmax(170px, 1fr)); gap:12px; align-content:start; }
.da-kachel { position:relative; border:1px solid var(--linie); border-radius:10px; padding:8px; display:flex; flex-direction:column; gap:4px; cursor:pointer; background:#fff; min-width:0; }
.da-kachel:hover, .da-kachel.gewaehlt { border-color:#c9c9c9; background:#fcfcfc; } .da-kachel.gewaehlt { box-shadow:0 0 0 2px #d9d9d9; }
.da-kachel .ab-haken { position:absolute; left:12px; top:12px; z-index:1; opacity:0; } .da-kachel:hover .ab-haken, .da-kacheln.mit-wahl .ab-haken, .da-kachel .ab-haken:checked { opacity:1; }
.da-kachel > .icon-knopf { position:absolute; right:8px; top:8px; z-index:1; background:#ffffffd9; opacity:0; } .da-kachel:hover > .icon-knopf { opacity:1; }
.da-bild { aspect-ratio:4/3; max-width:100%; border-radius:7px; background:var(--hell); display:grid; place-items:center; overflow:hidden; color:var(--grau); }
.da-bild img { width:100%; height:100%; object-fit:cover; display:block; } .da-bild svg { width:44px; height:44px; } .da-bild.ordner { background:#f6f6f4; }
.da-kachel b { font-weight:500; font-size:13.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .da-unter { color:var(--grau); font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.da-kachel .da-marke { margin:2px 0 0; align-self:flex-start; }
@media (max-width:1100px) { .da { grid-template-columns:220px minmax(0,1fr); } }
.da-liste .pa-zeile { border-radius:8px; } .da-liste .pa-zeile-text b { display:flex; align-items:center; min-width:0; } .da-liste .ab-zeile.zieht { opacity:.45; }
.da-kachel .ab-haken { display:block; } .da-kachel.zieht { opacity:.45; } .da-kachel.ziel-an { background:#fbe9e8; outline:1.5px solid var(--rot); }
.da-kachel .da-bild.ordner svg { color:#c62828; fill:#fde8e8; }
/* Dateien: eigenes Google Drive verbinden */
.da-verbinden { max-width:520px; margin:60px auto; text-align:center; display:flex; flex-direction:column; align-items:center; gap:8px; padding:28px; }
.da-verbinden h2 { margin:4px 0 0; } .da-verbinden-ic svg { width:44px; height:44px; color:#c62828; fill:#fde8e8; }
/* Vorgang (Feedback #83): vier Spalten, je Beleg ein ✕, Bestellung klein oben, Vergleich darunter */
.kette-leiste.vgk { display:flex; flex-direction:column; gap:10px; padding:12px 14px; border:1px solid var(--linie); border-radius:12px; background:#fff; margin:0 0 12px; }
.vgk-kopf { display:flex; align-items:center; gap:10px; flex-wrap:wrap; } .vgk-kopf > b { font-size:15px; } .vgk-luecke { flex:1; }
.vgk-best { font-size:12.5px; color:var(--grau); border:1px solid var(--linie); border-radius:999px; padding:2px 10px; } .vgk-best .link { font-size:12.5px; }
.vgk-spalten { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:8px; }
.vgk-spalte { background:var(--hell); border-radius:10px; padding:8px; display:flex; flex-direction:column; gap:6px; min-width:0; }
.vgk-spalte h4 { display:flex; align-items:center; justify-content:space-between; gap:6px; margin:0 2px 2px; font-size:11px; letter-spacing:.07em; text-transform:uppercase; color:var(--grau); font-weight:600; }
.vgk-beleg { background:#fff; border:1px solid var(--linie); border-radius:8px; padding:6px 8px; display:flex; align-items:center; gap:8px; cursor:pointer; min-width:0; } .vgk-beleg:hover { border-color:#c9c9c9; }
.vgk-beleg.ich { border-color:var(--rot); box-shadow:inset 3px 0 0 var(--rot); cursor:default; } .vgk-m { flex:1; min-width:0; display:flex; flex-direction:column; } .vgk-m b { font-weight:500; font-size:13.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .vgk-m span { color:var(--grau); font-size:12px; }
.vgk-dieser { font-size:10.5px; color:var(--rot); font-weight:600; text-transform:uppercase; letter-spacing:.05em; }
.vgk-x { border:1px solid var(--linie); background:#fff; border-radius:6px; width:24px; height:24px; color:var(--grau); cursor:pointer; flex:none; font-size:12px; } .vgk-x:hover { color:var(--rot); border-color:var(--rot); }
.vgk-dazu { border:1px dashed #cfcdca; background:none; border-radius:8px; padding:6px 8px; color:var(--grau); font:inherit; font-size:12.5px; cursor:pointer; text-align:left; } .vgk-dazu:hover { border-color:#999; color:#444; }
.vgk-vergleich summary { cursor:pointer; font-size:13px; color:var(--grau); padding:2px 0; } .vgk-vergleich table { font-size:13px; }
/* Prüfseite (#83): zwei getrennte Schritte */
.re-schritte { display:flex; flex-direction:column; gap:6px; margin:0 0 10px; } .re-schritt { display:flex; gap:10px; align-items:flex-start; border:1px solid var(--linie); border-radius:10px; padding:8px 12px; background:#fff; }
.re-schritt b { display:block; font-weight:600; font-size:14px; } .re-pkt { width:22px; height:22px; border-radius:50%; display:grid; place-items:center; font-size:12px; font-weight:700; flex:none; }
.re-schritt.fertig .re-pkt { background:#e6f4ec; color:#1f7a44; } .re-schritt.offen .re-pkt { background:#fbf3d6; color:#8a6d00; }
.kette-leiste.vgk { align-items:stretch; flex-wrap:nowrap; } .kette-leiste.vgk > * { width:100%; min-width:0; } .vgk-kopf { width:100%; }
/* Vorgang (Dom 5.11.2026): „+“ neben der Überschrift statt eigener Leiste, ✕ genau mittig, flach auf der Rechnung (Spalten = Teilung darunter) */
.vgk-plus { width:24px; height:24px; border:1px solid var(--linie); background:#fff; border-radius:6px; color:var(--grau); display:grid; place-items:center; padding:0; cursor:pointer; flex:none; } .vgk-plus:hover { color:var(--schwarz); border-color:#bbb; }
.vgk-x { display:grid; place-items:center; padding:0; line-height:0; align-self:center; }
.vgk-leer { font-size:12px; color:#a3a09c; padding:4px 2px; }
.kette-leiste.vgk.vgk-flach { border:none; background:none; padding:0 0 2px; border-radius:0; }
.vgk-flach .vgk-spalten { grid-template-columns:repeat(auto-fit, minmax(0, 1fr)); gap:14px; }
/* „+“ genau über dem ✕: gleiche Größe, gleicher Abstand nach rechts (Rahmen 1 px + Innenabstand 8 px des Belegs) */
.vgk-spalte h4 { margin-right:9px; } .vgk-x { width:24px; height:24px; }
/* Dom 6.11.2026: „beim Projekt-Bearbeiten ist die Mitarbeiter-Suche sofort offen“ – die Liste klappt erst beim Klick ins Suchfeld auf und liegt über dem Formular */
.pb-ma { position:relative; overflow:visible; } .pb-ma-q { border-bottom:0 !important; border-radius:9px !important; }
.pb-ma-liste { display:none; position:absolute; left:-1px; right:-1px; top:calc(100% + 4px); z-index:30; background:#fff; border:1px solid #e1dfdc; border-radius:9px; box-shadow:0 10px 28px rgba(0,0,0,.10); }
.pb-ma:focus-within .pb-ma-liste { display:block; }
/* Eingangsdokumente im Projekt (Dom 6.11.2026): gleiche Filterleiste wie die Eingangsbelege, Tabelle scrollt in sich, Kopf bleibt stehen, Fuß mit Anzahl und Summe */
.pe-eingang-filter { display:block; padding:0 0 10px; } .pe-eingang-filter .filterleiste { margin:0; }
.pe-eingang-tabelle .tabelle-scroll { max-height:min(520px, 58vh); overflow:auto; }
.pe-eingang-tabelle th { position:sticky; top:0; z-index:1; background:#fff; }
.pe-eingang-tabelle .tabelle-fuss { border-top:1px solid #eeeeee; }
.pe-treffer { margin-top:3px; font-size:12px; color:var(--grau); white-space:normal; line-height:1.35; }
.pe-eingang-filter .suchfeld { flex:1 1 220px; min-width:180px; max-width:360px; } .pe-eingang-filter .suchfeld input { width:100%; }
/* Anfrage-Seite nach Entwurf 7 B (Dom 11.11.2026): Aktionen einmal über dem Verlauf, links eine Karte „Auf einen Blick“ */
.an-aktionen { display:flex; align-items:center; gap:6px; flex-wrap:wrap; padding:2px 16px 12px; border-bottom:1px solid #eee; margin-bottom:4px; flex:none; }
.an-aktionen > button, .an-aktionen > a { display:inline-flex; align-items:center; gap:6px; height:34px; padding:0 12px; border:1px solid #dcdcdc; border-radius:8px; background:#fff; color:#131313 !important; font:inherit; font-size:14px; font-weight:500; text-decoration:none !important; cursor:pointer; box-shadow:none; }
.an-aktionen > button:hover, .an-aktionen > a:hover { background:#f5f5f5; }
.an-aktionen > button svg, .an-aktionen > a svg { color:#444; }
.an-such { position:static !important; margin:0 !important; padding:0 !important; border:none !important; background:none !important; display:flex; gap:6px; align-items:center; }
.an-such .ch-filter { margin:0; height:34px; box-shadow:none !important; border:1px solid #dcdcdc; border-radius:8px; background:#fff; backdrop-filter:none; padding:0 12px; }
.an-blick { background:#fff; border:1px solid #e6e6e6; border-radius:12px; padding:4px 0 2px; }
.an-blick-titel { margin:12px 18px 6px; font-size:15px; font-weight:600; }
.an-blick .an5 { border:none; border-radius:0; border-top:1px solid #f0f0f0; background:none; }
.an-blick .an5 > summary { min-height:46px; }
.an-blick .an5 > summary b { min-width:110px; font-weight:500; color:#6b6b6b; font-size:14px; }
.an-blick .an5 > summary span { text-align:left; color:#131313; font-size:14px; }
.an-blick .an5 > summary:hover, .an-blick .an5[open] > summary { border-radius:0; }
.an-blick-mehr { border-top:1px solid #f0f0f0; }
.an-blick-mehr > summary { list-style:none; display:flex; align-items:center; gap:6px; padding:12px 18px; font-size:13.5px; color:#444; cursor:pointer; user-select:none; }
.an-blick-mehr > summary::-webkit-details-marker { display:none; }
.an-blick-mehr[open] > summary svg { transform:rotate(180deg); }
/* Neue Anfrage (Entwurf 7): ein Feld Kunde mit Vorschlägen, Hinweis bei ähnlichen Kunden */
dialog:has(#na) { width:min(620px, calc(100vw - 32px)); }
.na .na-titel { display:block; font-size:14px; margin-bottom:6px; }
.na .na-abschnitt { margin:4px 0 -4px; }
.na-kunde #na-suche { position:relative; }
.na-kunde #na-suche input { width:100%; }
.na-vorschlag { position:absolute; left:0; right:0; top:calc(100% + 4px); z-index:20; border:1px solid #dcdcdc; border-radius:8px; background:#fff; box-shadow:0 6px 18px rgba(0,0,0,.1); padding:4px; max-height:320px; overflow:auto; }
.na-v { display:flex; gap:10px; align-items:flex-start; width:100%; padding:8px 10px; border:none; border-radius:6px; background:none; text-align:left; font:inherit; color:#131313; cursor:pointer; box-shadow:none; }
.na-v:hover { background:#f3f3f3; }
.na-v svg { color:#6b6b6b; margin-top:2px; flex:none; }
.na-v > span { display:flex; flex-direction:column; gap:1px; font-size:14px; } .na-v small { color:#6b6b6b; font-size:13px; }
.na-v.na-neu { border-top:1px solid #eee; border-radius:0 0 6px 6px; margin-top:2px; }
.na-karte { display:flex; gap:10px; align-items:flex-start; border:1px solid #e3e3e3; background:#f7f7f7; border-radius:8px; padding:10px 12px; }
.na-karte svg { color:#6b6b6b; margin-top:2px; flex:none; } .na-karte > div { flex:1; display:flex; flex-direction:column; gap:1px; font-size:14px; } .na-karte span { color:#6b6b6b; font-size:13px; }
.na-dublette { display:flex; gap:10px; align-items:flex-start; border:1px solid #e3e3e3; background:#f7f7f7; border-radius:8px; padding:10px 12px; margin:0 0 8px; font-size:14px; line-height:1.45; }
.na-dublette svg { flex:none; margin-top:2px; color:#444; } .na-dublette > div { flex:1; }
.na-dublette button { flex:none; height:32px; padding:0 12px; border:1px solid #cfcfcf; border-radius:8px; background:#fff; font:inherit; font-size:13.5px; font-weight:500; }
.na-offen { margin:0 0 4px; }
.ch-kopfzeile:has(+ .an-aktionen) { border-bottom:none; }
.na-v.such-aktiv { background:#ececec; }
.na-offen { display:flex; flex-direction:column; gap:2px; margin:0 0 4px; }
.na-anfrage { display:flex; justify-content:space-between; gap:12px; padding:7px 10px; border-radius:6px; color:#131313 !important; text-decoration:none !important; font-size:14px; }
.na-anfrage:hover { background:#f3f3f3; } .na-anfrage small { color:#6b6b6b; font-size:13px; white-space:nowrap; }

/* ---------- Anfrage-Konzept (Dom 11.11.2026, Canvas 9) ---------- */
/* Suche sieht aus wie der Filterknopf daneben */
.an-such .ch-suche-knopf { height:34px; width:34px; min-width:34px; padding:0; box-shadow:none !important; border:1px solid #dcdcdc; border-radius:8px; background:#fff; display:inline-flex; align-items:center; justify-content:center; }
.an-such .ch-suche-knopf.an, .an-such .ch-filter.an { border-color:#131313; }
/* Telefonat-Fenster: schmal, Ergebnis als vier ruhige Kacheln */
dialog.tf-dialog { width:560px; max-width:calc(100vw - 32px); padding:24px 26px; }
.tf-kopf { display:flex; align-items:flex-start; gap:12px; margin-bottom:18px; } .tf-kopf > div { flex:1; min-width:0; }
.tf-kopf h2 { margin:0 0 2px; font-size:20px; } .tf-unter { color:#6b6b6b; font-size:13.5px; } .tf-unter a { color:inherit; }
.tf-uhr { display:inline-flex; align-items:center; gap:6px; font-size:15px; font-weight:600; font-variant-numeric:tabular-nums; padding:6px 10px; border-radius:8px; background:#f2f2f2; color:#131313; }
.tf-form { display:flex; flex-direction:column; gap:14px; }
.tf-feld { display:block; margin:0; } .tf-feld > span { display:block; font-size:13.5px; color:#555; margin-bottom:6px; }
.tf-feld select, .tf-feld input, .tf-feld textarea { width:100% !important; max-width:none !important; box-sizing:border-box; }
.tf-wahl { display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; }
.tf-wahl button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; height:64px; padding:0 4px; border:1px solid #dcdcdc; border-radius:10px; background:#fff; color:#3a3a3a; font:inherit; font-size:13px; font-weight:500; line-height:1.2; text-align:center; box-shadow:none; cursor:pointer; }
.tf-wahl button:hover { border-color:#b5b5b5; }
.tf-wahl button.an { border-color:#131313; box-shadow:inset 0 0 0 1px #131313; color:#131313; background:#fafafa; }
.tf-wahl button:focus-visible { outline:2px solid #131313; outline-offset:2px; }
.tf-hilfe { border-top:1px solid #eee; border-bottom:1px solid #eee; }
.tf-hilfe summary { list-style:none; display:flex; align-items:center; gap:8px; padding:11px 0; font-size:14px; cursor:pointer; } .tf-hilfe summary::-webkit-details-marker { display:none; }
.tf-hilfe summary span { color:#777; font-size:13px; margin-left:auto; } .tf-hilfe[open] summary svg { transform:rotate(90deg); }
.tf-haken { display:flex; flex-direction:column; gap:8px; padding:0 0 12px; } .tf-h { display:grid; grid-template-columns:200px 1fr; gap:10px; align-items:center; } .tf-h .haken { margin:0; }
.tf-schritt { display:grid; grid-template-columns:1fr 170px; gap:8px; }
.tf-fuss { display:flex; justify-content:flex-end; gap:8px; margin-top:4px; }
@media (max-width: 600px) { .tf-wahl { grid-template-columns:repeat(2, 1fr); } .tf-h { grid-template-columns:1fr; } }
/* Ergebnis im Verlauf */
.cg-erg { margin-left:auto; background:#eee; color:#444; font-size:12px; font-weight:600; padding:1px 8px; border-radius:10px; white-space:nowrap; }
.cg-erg.ok { background:#e8f5ec; color:var(--gruen); } .cg-erg + .cg-dauer { margin-left:6px; background:none; color:#6b6b6b; padding:1px 2px; }
/* Reiter Angebote, Dateien, E-Mails: eine Karte über die ganze Breite */
#an-links .an-tab-karte { grid-column:1 / -1; }
.an-tab-karte .akte-kopf { display:flex; align-items:center; gap:12px; } .an-tab-karte .akte-kopf h2 { flex:1; }
.knopf-rahmen { display:inline-flex; align-items:center; gap:6px; height:34px; padding:0 12px; border:1px solid #dcdcdc; border-radius:8px; background:#fff; color:#131313; font:inherit; font-size:14px; font-weight:500; box-shadow:none; cursor:pointer; }
.knopf-rahmen:hover { background:#f6f6f6; }
.an-tab-link { color:#131313; font-size:13.5px; text-decoration:underline; text-underline-offset:2px; }
.an-tab { width:100%; border-collapse:collapse; font-size:14px; }
.an-tab th { text-align:left; font-weight:500; color:#6b6b6b; font-size:13px; padding:8px; border-bottom:1px solid #eee; }
.an-tab td { padding:10px 8px; border-bottom:1px solid #f2f2f2; } .an-tab .zahl { text-align:right; font-variant-numeric:tabular-nums; }
.an-tab td:last-child { width:34px; text-align:right; } .an-tab tr.ersetzt td { color:#9a9a9a; } .an-tab tr.ersetzt td b { text-decoration:line-through; font-weight:500; }
.cg-vertrieb { font-size:11.5px; font-weight:600; color:#1b4f8c; background:#e8f0fb; padding:1px 7px; border-radius:4px; margin-left:6px; }
.tf-feld .auswahl, .tf-schritt .auswahl { width:100%; max-width:none; display:block; }
#an-chat .ch-kopfzeile > :first-child { white-space:nowrap; }
.cg-karte .ch-zeit a { color:inherit; text-decoration:underline; text-underline-offset:2px; }
/* Dom 12.11.2026: „wir sind eine rote Firma“ – eigene Kommentare/Chat-Blasen rot statt schwarz, der Pfeil bei den Unteraufgaben rot;
   lange Links und Texte brechen um, statt die Blase (und das ganze Fenster) nach rechts aufzuziehen */
.vl-msg.ich .vl-blase, .vl-ev.chat.ich .vl-blase { background:var(--rot); color:#fff; }
.vl-msg.ich .vl-blase a, .vl-ev.chat.ich .vl-blase a { color:#fff; text-decoration:underline; }
.vl-blase { overflow-wrap:anywhere; word-break:break-word; min-width:0; max-width:100%; }
.vl-blase pre, .vl-blase code { white-space:pre-wrap; overflow-wrap:anywhere; }
.vl-msg > div, .auf-k-blase, .auf-k-blase > .vl-blase { min-width:0; max-width:100%; }
.auf-vl-strom { min-width:0; overflow-x:hidden; }
.auf-vl-pfeil { background:var(--rot); } .auf-vl-pfeil:hover { background:var(--rot-dunkel); }
dialog.auf-vl .auf-vl-feld .md-feld, dialog.auf-vl .auf-vl-feld textarea { overflow-wrap:anywhere; word-break:break-word; white-space:pre-wrap; max-width:100%; }
dialog.auf-vl .vl-aufg-links, dialog.auf-vl .auf-vl-scroll, dialog.auf-vl .vl-kommentar { min-width:0; }
/* Dom 13.11.2026: bei vielen Kommentaren drückte die Spalte die Beschreibung zusammen, ihr Text lief über Unteraufgaben und Kommentare – nichts im Scrollbereich darf schrumpfen */
dialog.auf-vl .auf-vl-scroll > * { flex-shrink:0; }

/* Dom 13.11.2026 (wie plancraft): Bilder im Chat breiter und im echten Seitenverhältnis, PDFs mit Vorschau der ersten Seite (Chat, Galerie, Ablage) */
.ch-bild { max-width:min(320px, 100%); max-height:420px; width:auto; height:auto; }
button.ch-datei.ch-pdf { display:flex; flex-direction:column; align-items:stretch; gap:0; width:min(320px, 100%); border:1px solid var(--linie, #e3e3e3); border-radius:8px; overflow:hidden; background:#fff; margin:2px 0 4px; }
.ch-pdf .ch-pdf-seite { display:block; } .ch-pdf .ch-pdf-seite:not(.mit-vorschau) { height:0; } /* nicht display:none – sonst meldet der Beobachter nie „sichtbar“ und die Vorschau entsteht nicht */
.ch-pdf .vorschau-seite { display:block; width:100%; max-height:420px; object-fit:cover; object-position:top; background:#fff; border-bottom:1px solid #eee; cursor:zoom-in; }
.ch-pdf .ch-pdf-name { display:flex; align-items:center; gap:8px; padding:8px 10px; } .ch-pdf .ch-pdf-name b { overflow-wrap:anywhere; white-space:normal; min-width:0; }
.ch-kachel-pdf .ch-pdf-seite { display:contents; } .ch-kachel-pdf .ch-pdf-seite.mit-vorschau > svg { display:none; }
.ch-kachel-pdf:has(.mit-vorschau) { position:relative; padding:0; justify-content:flex-end; }
.ch-kachel-pdf .vorschau-seite { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:top; }
.ch-kachel-pdf:has(.mit-vorschau) > span:last-child { position:relative; width:100%; background:rgba(255,255,255,.92); padding:4px 6px; }
.pdf-symbol { display:flex; align-items:center; justify-content:center; } .pdf-symbol.mit-vorschau > svg { display:none; }
.pdf-symbol .vorschau-seite { width:34px; height:34px; object-fit:cover; object-position:top; border-radius:5px; border:1px solid #e3e3e3; }

/* Chat: Mehrfachauswahl mit Shift + Klick (Dom 13.11.2026) – markierte Nachrichten blau, unten die Leiste statt des Schreibfelds */
.ch-n.gewaehlt { background:rgba(37,99,235,.08); border-radius:10px; } .ch-n.gewaehlt .ch-blase { box-shadow:0 0 0 2px #2563eb; }
.ch-unten.waehlt > :not(.ch-auswahl) { display:none !important; }
.ch-auswahl { padding:10px 12px; container-type:inline-size; } .ch-auswahl[hidden] { display:none; }
.ch-aw-zeile { display:flex; align-items:center; gap:6px; flex-wrap:nowrap; }
.ch-aw-zahl { font-weight:600; margin:0 auto 0 4px; white-space:nowrap; font-size:14px; }
.ch-aw-knopf { display:inline-flex; align-items:center; gap:6px; height:36px; padding:0 12px; border:1px solid var(--linie, #e3e3e3); border-radius:8px; background:#fff; color:#111; font:inherit; font-size:14px; font-weight:500; cursor:pointer; white-space:nowrap; flex:none; }
.ch-aw-knopf:hover { background:#f4f4f4; } .ch-aw-knopf svg { flex:none; } .ch-aw-knopf.ch-aw-zu { padding:0; width:36px; justify-content:center; }
.ch-aw-knopf.rot { color:var(--rot); border-color:color-mix(in srgb, var(--rot) 35%, #fff); } .ch-aw-knopf.rot:hover { background:color-mix(in srgb, var(--rot) 8%, #fff); }
@container (max-width: 620px) { .ch-aw-knopf:not(.ch-aw-zu) { padding:0; width:36px; justify-content:center; } .ch-aw-knopf span { display:none; } }
/* Chat: Datei lädt noch hoch (Dom 13.11.2026) – steht sofort als Blase da, mit Balken */
.ch-laedt .ch-blase { opacity:.85; } .ch-laedt .ch-bild { cursor:default; }
.ch-lade-balken { height:4px; border-radius:2px; background:rgba(0,0,0,.12); overflow:hidden; margin:6px 0 4px; min-width:160px; } .ch-lade-balken i { display:block; height:100%; background:#2563eb; transition:width .2s; }
.ch-lade-text { font-size:12px; color:#666; }

/* Eingangsrechnungen (Dom 13.11.2026): der Zuweisungs-Kreis wurde beim Auslesen zu einem hohen Oval gezogen */
.re-zuw .zuw-kreis { width:15px; height:15px; min-height:0; max-height:15px; padding:0; align-self:center; flex:none; }

/* Plantafel (Dom 13.11.2026): Tage etwas größer lesbar; der Block „Mitarbeiter“ lässt sich als Ganzes greifen (hoch = Projekte zu, runter = wieder auf); Seitenfenster schiebt von rechts herein */
.pt-tag { font-size:13px; } .pt-tag b { font-size:17px; }
.pt:not(.m-zu) .pt-teil-makopf { cursor:row-resize; } .pt:not(.m-zu) .pt-teil-makopf:hover .pt-bereich-kopf { background:#f1f3f6; }
.pt-teil-makopf.zieht { box-shadow:inset 0 0 0 2px #2563eb; } .pt-teil-makopf.zieht .pt-bereich-kopf { background:#eaf0fe; } .pt-teil-makopf.will-zu { box-shadow:inset 0 0 0 2px #1f7a44; } .pt-teil-makopf.will-zu .pt-bereich-kopf { background:#e6f4ec; }
@keyframes pt-rein { from { transform:translateX(48px); opacity:0; } to { transform:none; opacity:1; } }
dialog.pt-panel[open] { animation:pt-rein .2s ease-out; } @media (prefers-reduced-motion: reduce) { dialog.pt-panel[open] { animation:none; } }
.pt-balken.abw .pt-emoji:only-child { margin:0 auto; } .pt-ft .pt-text { text-align:center; width:100%; }
.pt-esum { position:absolute; top:9px; bottom:9px; border-radius:6px; opacity:.6; border:1px dashed rgba(0,0,0,.28); box-sizing:border-box; display:flex; align-items:center; padding:0 8px; font-size:12.5px; color:#111; overflow:hidden; white-space:nowrap; cursor:pointer; z-index:1; } .pt-esum:hover { opacity:.85; }
/* Plantafel, Projekt-Fenster (Dom 13.11.2026): Projektname oben in einer Zeile, Abschnitte mit mehr Luft */
.pt-panel-kopf { gap:12px; } .pt-panel-kopf h2 { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#pp-reihen { display:flex; flex-direction:column; gap:10px; margin-bottom:6px; } .pt-pp-links h3 { margin:0 0 10px; }
/* Projekt-Kopf, Karte Zeitraum (Dom 13.11.2026): nichts mehr abgeschnitten – Termin als eine Zeile */
.pa-termin-zeile { font-size:13px; color:#444; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:4px; } .pa-termin-zeile:empty { display:none; } .pa-termin-zeile b { color:#111; font-weight:600; }

/* Druckoptionen (Dom 13.11.2026, wie plancraft): Karten mit Schalter, darunter „Inhalte anzeigen“ */
dialog.dr-dialog { width:min(920px, calc(100vw - 32px)); max-width:none; }
.dr-form { display:flex; flex-direction:column; gap:14px; margin:4px 0 6px; }
.dr-karte { display:flex; align-items:center; gap:16px; border:1px solid var(--linie, #e3e3e3); border-radius:8px; padding:14px 16px; cursor:pointer; background:#fff; } .dr-karte:hover { background:#f6f6f6; }
.dr-karte-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; } .dr-karte-text b { font-size:14.5px; } .dr-karte-text span { font-size:13.5px; color:#555; }
.dr-schalter { flex:none; position:relative; width:40px; height:22px; } .dr-schalter input { position:absolute; inset:0; opacity:0; margin:0; cursor:pointer; }
.dr-schalter i { position:absolute; inset:0; border-radius:11px; background:#8a8a8a; transition:background .15s; pointer-events:none; } .dr-schalter i::after { content:''; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#fff; transition:transform .15s; }
.dr-schalter input:checked + i { background:#1f7a44; } .dr-schalter input:checked + i::after { transform:translateX(18px); } .dr-schalter input:focus-visible + i { outline:2px solid #2563eb; outline-offset:2px; }
.dr-kasten { border:1px solid var(--linie, #e3e3e3); border-radius:8px; padding:16px; display:flex; flex-direction:column; gap:12px; } .dr-kasten > b { font-size:14.5px; }
.dr-wahlen { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:14px 16px; } .dr-wahlen label { display:flex; flex-direction:column; gap:6px; font-size:13.5px; color:#333; }

/* Dokument-Editor (Dom 13.11.2026): Knöpfe rechts mit Rahmen wie die anderen; Anhänge-Knopf nicht breiter als sein Symbol, solange keine Zahl dasteht */
.dok-rechts-reiter { gap:6px; } .dok-rechts-reiter button { width:36px; height:36px; border:1px solid var(--linie, #e3e3e3); border-radius:8px; background:#fff; display:inline-flex; align-items:center; justify-content:center; } .dok-rechts-reiter button:hover { background:#f4f4f4; } .dok-rechts-reiter button.an { border-color:#c9c9c9; background:#f4f4f4; }
#dok-anh-n:empty { display:none; }
/* Anhänge bearbeiten (wie plancraft) */
dialog.anh-dialog { width:min(820px, calc(100vw - 32px)); }
.anh-inhalt { max-height:68vh; overflow-y:auto; padding-right:4px; } .anh-inhalt h3 { margin:18px 0 10px; font-size:15px; } .anh-inhalt h3:first-child { margin-top:4px; }
.anh-auto { display:flex; gap:28px; flex-wrap:wrap; } .anh-auto label { display:flex; align-items:center; gap:8px; font-size:14.5px; cursor:pointer; } .anh-auto label.aus { color:#999; cursor:default; } .anh-auto input { width:17px; height:17px; }
.anh-hoch { max-height:none; overflow:visible; } .anh-inhalt .dok-anh-gitter { max-height:none; overflow:visible; }
.anh-reiter { display:flex; gap:22px; border-bottom:1px solid var(--linie, #e3e3e3); margin:22px 0 14px; } .anh-reiter button { background:none; border:none; border-bottom:2px solid transparent; padding:8px 0; font:inherit; font-weight:600; color:#888; cursor:pointer; margin-bottom:-1px; border-radius:0; }
.anh-reiter button.an { color:#111; border-bottom-color:#111; } .anh-reiter i { font-style:normal; font-size:12px; background:#111; color:#fff; border-radius:9px; padding:1px 6px; margin-left:4px; }
.anh-leer { grid-column:1 / -1; margin:6px 0; }
.dok-anh .dok-anh-pdf { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; } .dok-anh .dok-anh-pdf .vorschau-seite { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:top; } .dok-anh .dok-anh-pdf.mit-vorschau .dok-anh-ic { display:none; }

/* Bilder-Reiter in Portionen (Lasttest 13.11.2026) */
.bi-teil { display:contents; } .bi-mehr { padding:18px 0 8px; text-align:center; color:#777; font-size:13.5px; cursor:pointer; }

/* Plantafel: der Block „Mitarbeiter“ lässt sich immer ziehen, auch wenn Projekte oder Mitarbeiter zugeklappt sind (Dom 13.11.2026) */
.pt:not(.pt-urlaub) .pt-teil-makopf, .pt:not(.pt-urlaub) .pt-teil-makopf .pt-bereich-kopf { cursor:row-resize; touch-action:none; } .pt-teil-makopf button { cursor:pointer; }

/* Aufgaben-Fenster (Dom 18.11.2026): „#“, Pfeil und Bezug auf einer Linie; Kommentarfeld schmaler */
.auf-vl-bezugknopf { display:inline-flex; align-items:center; gap:6px; } .auf-bz-hash { flex:none; } .auf-bz-pfeil { display:inline-flex; flex:none; color:#888; }
.auf-bz-text { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
dialog.auf-vl .vl-aufg-links > .vl-kommentar { padding:3px 4px 3px 12px; align-items:center; } dialog.auf-vl .vl-aufg-links > .vl-kommentar .ic { padding:0; }
dialog.auf-vl .vl-kommentar button.primaer { height:30px; }

/* Chat: „als ungelesen markiert“ = roter Punkt ohne Zahl (Dom 18.11.2026) */
.cl-zahl.cl-punkt { min-width:10px; width:10px; height:10px; padding:0; border-radius:50%; }

/* Werkstatt-Fall: Eingabe wie im Projektchat (Dom 20.11.2026) */
.ws-strom .ws-eingabe { margin:8px 10px 10px; }
.ws-eingabe .ws-text { width:100%; border:0; outline:0; background:transparent; font:inherit; padding:9px 4px; }

/* Akademie (Dom 20.11.2026, Entwurf A mit Rückmeldung; public/akademie.js) – Kurs → Kapitel → Lektionen */
.akd-kopf .segment a { text-decoration:none; } .akd-kopf .segment a.an { background:#fff; color:#131313; box-shadow:0 1px 2px rgba(0,0,0,.14); }
.akd-abschnitt-kopf { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:22px 0 12px; } .akd-abschnitt-kopf:first-of-type { margin-top:4px; }
.akd-abschnitt-kopf h2 { margin:0; font-size:15px; font-weight:600; }
.akd-chips { display:flex; gap:6px; flex-wrap:wrap; }
.akd-chips button { height:32px; border-radius:16px; border:1px solid #dcdcdc; background:#fff; padding:0 14px; font-size:13.5px; font-weight:500; color:#5e5e5e; }
.akd-chips button.an { border-color:#131313; color:#131313; box-shadow:inset 0 0 0 1px #131313; font-weight:600; }
.akd-ansicht { margin-left:auto; display:flex; gap:2px; } .akd-ansicht .icon-knopf { color:#9a9a9a; } .akd-ansicht .icon-knopf.an { color:#131313; background:#ececec; }
.akd-balken { height:4px; background:#ececec; border-radius:2px; overflow:hidden; } .akd-balken > i { display:block; height:100%; background:#303030; border-radius:2px; }
.akd-balken.fertig > i { background:#1f8a3b; }
.akd-meta { font-size:12.5px; color:#6a6a6a; display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.akd-fertig { color:#1f8a3b; font-weight:600; display:inline-flex; align-items:center; gap:4px; }
.akd-ueber { color:#c62828 !important; font-weight:600; }
.akd-entwurf { margin-left:4px; vertical-align:middle; }
/* Titelbild: Bild oder ruhige Fläche aus der Nodus-Reihe */
.akd-bild { position:relative; aspect-ratio:16 / 9; border-radius:10px; overflow:hidden; display:flex; align-items:flex-end; padding:10px; }
.akd-bild > svg.ic { position:absolute; right:16px; top:50%; transform:translateY(-58%); width:30%; height:auto; opacity:.32; }
.akd-bild.mit-bild { background:#ececec; } .akd-bild > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.akd-bild .akd-dauer { position:relative; background:rgba(255,255,255,.88); color:#131313; font-size:12px; font-weight:500; border-radius:4px; padding:1px 7px; }
.akd-bild .akd-pflicht { position:absolute; left:10px; top:10px; }
.akd-f0 { background:linear-gradient(135deg, #e1e9f7, #c9d6ef); color:#2c4a86; } .akd-f1 { background:linear-gradient(135deg, #dcecf3, #c3dde9); color:#21607a; }
.akd-f2 { background:linear-gradient(135deg, #f7edc4, #eedc98); color:#6e5410; } .akd-f3 { background:linear-gradient(135deg, #f7e0cf, #efc7aa); color:#8c4318; }
.akd-f4 { background:linear-gradient(135deg, #e3eedb, #cadcbc); color:#3d5e26; } .akd-f5 { background:linear-gradient(135deg, #e9e1f1, #d6c8e6); color:#55387a; }
.akd-f6 { background:linear-gradient(135deg, #d8ebe6, #bcdbd2); color:#1f5e54; } .akd-f7 { background:linear-gradient(135deg, #eee3d6, #e0cdb5); color:#6b4a2a; }
/* Kachel */
.akd-kurs { display:flex; flex-direction:column; gap:8px; color:#131313; text-decoration:none !important; min-width:0; }
.akd-kurs b.akd-titel { font-size:14.5px; font-weight:600; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.akd-kurs:hover .akd-bild { box-shadow:0 0 0 2px #131313; }
.akd-fort { display:flex; align-items:center; gap:8px; font-size:12.5px; color:#6a6a6a; } .akd-fort .akd-balken { flex:1; max-width:220px; }
.akd-kurs .akd-fort .akd-balken { max-width:none; }
.akd-raster { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:20px 16px; padding-bottom:24px; }
.akd-reihe { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 3 * 16px) / 4); gap:16px; overflow-x:auto; padding-bottom:6px; scrollbar-width:thin; }
@media (max-width:900px) { .akd-reihe { grid-auto-columns:70%; } }
.akd-fortlinie { position:absolute; left:0; bottom:0; height:4px; background:#303030; z-index:1; }
.akd-reihe .akd-bild::after { content:''; position:absolute; inset:auto 0 0 0; height:4px; background:rgba(255,255,255,.6); }
.akd-play-klein { position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); width:44px; height:44px; border-radius:50%; background:rgba(19,19,19,.78); color:#fff; display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .15s; }
.akd-kurs:hover .akd-play-klein { opacity:1; }
/* Liste */
.akd-liste { background:#fff; border:1px solid #e5e5e5; border-radius:12px; overflow:hidden; margin-bottom:24px; }
.akd-zeile { display:grid; grid-template-columns:150px minmax(0, 1fr) auto; gap:18px; align-items:center; padding:12px 16px; border-top:1px solid #eee; cursor:pointer; }
.akd-zeile:first-child { border-top:none; } .akd-zeile:hover { background:#fafafa; }
.akd-zeile .akd-bild { border-radius:8px; padding:6px; } .akd-zeile .akd-bild > svg.ic { width:40%; right:10px; }
.akd-zeile-mitte { display:flex; flex-direction:column; gap:6px; min-width:0; } .akd-zeile-mitte b { font-size:15px; font-weight:600; }
.akd-zeile .knopf { min-width:120px; justify-content:center; }
/* Kursseite */
.akd-kurs-oben { display:grid; grid-template-columns:minmax(0, 340px) minmax(0, 1fr); gap:22px; align-items:start; margin:16px 0 18px; }
.akd-kurs-info { display:flex; flex-direction:column; gap:12px; max-width:720px; } .akd-beschreibung { margin:0; font-size:14.5px; line-height:1.55; white-space:pre-line; }
.akd-fort.gross { font-size:13.5px; } .akd-fort.gross .akd-balken { max-width:320px; }
.akd-block { background:#fff; border:1px solid #e6e6e6; border-radius:12px; display:flex; flex-direction:column; min-width:0; margin-bottom:14px; }
.akd-kapitel .akd-lliste { padding:4px 8px 8px; }
.akd-lliste { overflow:auto; padding:0 8px 10px; }
.akd-l { display:grid; grid-template-columns:26px minmax(0, 1fr) auto; gap:10px; align-items:center; padding:9px 10px; border-radius:8px; color:#131313; font-size:14px; text-decoration:none !important; }
.akd-l:hover { background:#f4f4f4; }
.akd-l.jetzt { background:#f1f1f1; box-shadow:inset 3px 0 0 #131313; } .akd-l.jetzt .akd-l-titel { font-weight:600; }
.akd-l .akd-l-titel { display:block; line-height:1.3; } .akd-l small { display:flex; gap:5px; align-items:center; color:#8a8a8a; font-size:12.5px; margin-top:2px; }
.akd-haken { width:22px; height:22px; border-radius:50%; border:1.5px solid #cfcfcf; display:flex; align-items:center; justify-content:center; color:#fff; }
.akd-haken.an { background:#1f8a3b; border-color:#1f8a3b; } .akd-haken.jetzt { border-color:#131313; }
.akd-abschnitt { font-size:11.5px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:#6a6a6a; padding:12px 10px 4px; }
.akd-leer-kap { margin:4px 10px 10px; }
.akd-verwalten { margin:0 0 14px; }
.akd-wer { display:grid; grid-template-columns:minmax(0, 1fr) auto 28px; gap:10px; align-items:center; padding:6px 18px; border-top:1px solid #f0f0f0; font-size:14px; }
.akd-pflicht-block { padding-bottom:8px; }
/* Lektionsseite: Player links, Lektionen rechts */
.akd-lektionsseite { display:grid; grid-template-columns:minmax(0, 1fr) 380px; gap:16px; margin-top:14px; align-items:start; }
.akd-lektion-links { display:flex; flex-direction:column; gap:14px; min-width:0; }
.akd-player { background:#131313; border-radius:12px; overflow:hidden; aspect-ratio:16 / 9; max-height:calc(100vh - 230px); display:flex; }
.akd-player video { width:100%; height:100%; display:block; background:#131313; }
.akd-pdf-rahmen { border:1px solid #e3e3e3; border-radius:12px; overflow:hidden; height:calc(100vh - 260px); min-height:420px; background:#ededed; }
.akd-pdf-rahmen iframe { width:100%; height:100%; border:none; display:block; }
.akd-text.hb-text { padding:24px 32px; }
.akd-lektion-kopf { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.akd-lektion-kopf h2 { margin:0 0 2px; font-size:19px; font-weight:600; }
.akd-lektion-kopf .rechts { margin-left:auto; display:flex; gap:8px; align-items:center; }
.akd-ist-erledigt { color:#1f8a3b !important; border-color:#bfe0c9 !important; display:inline-flex; align-items:center; gap:6px; }
.akd-lektionen { position:sticky; top:12px; max-height:calc(100vh - 40px); }
.akd-lektionen .akd-stand { padding:2px 18px 12px; display:flex; flex-direction:column; gap:8px; }
.akd-lektionen .akd-stand b { font-size:22px; font-weight:600; } .akd-lektionen .akd-stand .bezug { font-size:14px; color:#6a6a6a; }
@media (max-width:1000px) { .akd-lektionsseite, .akd-kurs-oben { grid-template-columns:minmax(0, 1fr); } .akd-lektionen { position:static; max-height:none; } }
/* Auswertung */
.akd-zahlen { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); background:#fff; border:1px solid #e8e8e8; border-radius:12px; margin:0 0 16px; }
.akd-zahlen > div { padding:14px 18px; display:flex; flex-direction:column; gap:4px; } .akd-zahlen > div + div { border-left:1px solid #eee; }
.akd-zahlen span { font-size:12.5px; color:#6a6a6a; } .akd-zahlen b { font-size:22px; font-weight:600; white-space:nowrap; }
.akd-auswertung td { vertical-align:top; white-space:normal; }
.akd-st { display:inline-flex; align-items:center; gap:4px; margin:2px 6px 2px 0; padding:2px 8px; border-radius:4px; font-size:12.5px; font-weight:500; background:#ebeae7; color:#4a4844; text-decoration:none !important; }
.akd-st.fertig { background:#e3eedb; color:#1f6b33; } .akd-st.angefangen { background:#dcecf3; color:#21607a; } .akd-st.ueber { background:#f6dcdb; color:#962626; }
/* Dialoge */
.akd-dialog [hidden] { display:none !important; }
.akd-feld { display:flex; flex-direction:column; gap:5px; font-size:13px; color:#5e5e5e; }
.akd-artwahl { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:6px; }
.akd-artwahl button { height:42px; border:1px solid #e1e1e1; border-radius:9px; background:#fff; font-weight:600; color:#131313; display:flex; align-items:center; gap:8px; padding:0 12px; }
.akd-artwahl button.an { border-color:#131313; box-shadow:inset 0 0 0 1px #131313; }
.akd-bildwahl { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.akd-bild-vorschau img { width:120px; aspect-ratio:16 / 9; object-fit:cover; border-radius:8px; display:block; } .akd-bild-vorschau:empty { display:none; }
/* Akademie Kurs-Editor (Dom 20.11.2026, wie Memberspot im Bier-Haus-Look) */
.akd-st-pille { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:500; color:#131313; white-space:nowrap; }
.akd-st-pille i { width:8px; height:8px; border-radius:50%; background:#1f8a3b; flex:none; }
.akd-st-pille.st-bald i, .akd-st-pille.st-entwurf i { background:#d9a514; } .akd-st-pille.st-deaktiviert i { background:#131313; }
.akd-st-knopf { display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 10px; border:1px solid #dcdcdc; border-radius:8px; background:#fff; color:#6a6a6a; }
.akd-st-knopf.breit { width:100%; height:40px; justify-content:center; }
.akd-mini { position:relative; flex:none; width:96px; aspect-ratio:16 / 9; border-radius:7px; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.akd-mini.mit-bild { background:#ececec; } .akd-mini > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.akd-mini-dauer { position:absolute; right:4px; bottom:4px; background:rgba(19,19,19,.82); color:#fff; font-size:11px; font-weight:600; border-radius:4px; padding:0 5px; }
.kx-kopf > .akd-mini { width:72px; }
.akd-bald .akd-bild { filter:saturate(.6); } .akd-bald.akd-kapitel .akd-kap-kopf { opacity:.75; }
.akd-l.zu { color:#9a9a9a; cursor:default; } .akd-l.zu:hover { background:none; } .akd-l.zu .akd-haken { color:#9a9a9a; border-color:#e1e1e1; }
.akd-kap-kopf { display:flex; gap:14px; align-items:center; padding:14px 18px 6px; } .akd-kap-kopf h2 { margin:0 0 2px; font-size:15px; font-weight:600; }
.akd-player iframe { width:100%; height:100%; border:none; display:block; }
.akd-player.leer { align-items:center; justify-content:center; gap:8px; color:#d9d9d9; font-size:14.5px; padding:20px; text-align:center; }
.akd-kurz { margin:0; color:#5e5e5e; font-size:14.5px; }
.akd-zm, .akd-anh-block { padding-bottom:8px; }
.akd-zm-zeile { display:flex; gap:12px; align-items:center; width:100%; border:none; background:none; border-radius:8px; padding:7px 18px; text-align:left; font-size:14px; color:#131313; height:auto; }
.akd-zm-zeile:hover { background:#f4f4f4; } .akd-zm-zeile b { font-variant-numeric:tabular-nums; min-width:44px; }
.akd-anh { display:grid; grid-template-columns:18px minmax(0, 1fr) auto auto; gap:10px; align-items:center; padding:8px 18px; font-size:14px; color:#131313; text-decoration:none !important; border-top:1px solid #f1f1f1; }
.akd-anh:hover { background:#fafafa; } .akd-anh span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .akd-anh small { color:#6a6a6a; }
.akd-le-rechts .akd-anh { padding:7px 0; grid-template-columns:18px minmax(0, 1fr) auto 28px; }
/* Editor: Kapitelkarten mit Lektionen */
.akd-ed { display:flex; flex-direction:column; gap:12px; margin-top:14px; padding-bottom:30px; }
.akd-ed-reiter { margin-top:14px; }
.akd-ed-kap { background:#fff; border:1px solid #e6e6e6; border-radius:12px; padding:4px 0 6px; } .akd-ed-kap.zieht { opacity:.45; } .akd-ed-kap.aus { opacity:.6; }
.akd-ed-kap-kopf { display:flex; align-items:center; gap:12px; padding:10px 14px; }
.akd-ed-kap-name { flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:2px; border:none; background:none; padding:0; height:auto; text-align:left; color:#131313; font-weight:400; }
.akd-ed-kap-name b { font-size:15.5px; font-weight:600; } .akd-ed-kap-name small { color:#6a6a6a; font-size:12.5px; }
.akd-ed-kap.zu .akd-ed-liste, .akd-ed-kap.zu .akd-ed-plus { display:none; } .akd-ed-kap.zu .akd-klapp svg { transform:rotate(-90deg); }
.akd-griff { color:#b5b5b5; cursor:grab; display:flex; flex:none; } .akd-griff:active { cursor:grabbing; }
.akd-ed-liste { margin:0 14px; border:1px solid #eee; border-radius:10px; min-height:44px; }
.akd-ed-kap.ohne .akd-ed-liste { margin-top:2px; }
.akd-ed-l { display:flex; align-items:center; gap:12px; padding:8px 10px; border-top:1px solid #f1f1f1; background:#fff; }
.akd-ed-l:first-child { border-top:none; border-radius:10px 10px 0 0; } .akd-ed-l:last-child { border-radius:0 0 10px 10px; } .akd-ed-l:hover { background:#fafafa; }
.akd-ed-l.zieht { opacity:.4; } .akd-ed-l.aus .akd-ed-titel, .akd-ed-l.aus .akd-mini { opacity:.5; }
.akd-ed-titel { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; color:#131313; text-decoration:none !important; }
.akd-ed-titel b { font-weight:500; font-size:14.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .akd-ed-titel:hover b { text-decoration:underline; }
.akd-ed-titel small { color:#6a6a6a; font-size:12.5px; display:flex; gap:5px; align-items:center; }
.akd-ed-platz { height:40px; margin:4px 10px; border:1.5px dashed #c4c4c4; border-radius:8px; } .akd-ed > .akd-ed-platz { height:64px; margin:0; }
.akd-ed-leer { margin:12px; }
.akd-ed-plus { margin:8px 14px 4px; border:none; background:none; color:#5e5e5e; font-weight:500; padding:4px 0; height:auto; }
.akd-ed-plus:hover { color:#131313; } .akd-ed-plus.gross { margin:0; height:48px; border:1.5px dashed #dcdcdc; border-radius:12px; }
/* Lektions-Editor: links Medium, Allgemein, Inhalt, Kapitel im Video; rechts Status, Vorschaubild, Anhänge, Eigenschaften */
.akd-le { display:grid; grid-template-columns:minmax(0, 1fr) 340px; gap:16px; margin-top:14px; align-items:start; padding-bottom:30px; }
.akd-le-links, .akd-le-rechts { display:flex; flex-direction:column; gap:14px; min-width:0; } .akd-le-links .akd-block, .akd-le-rechts .akd-block { margin:0; }
.akd-le-karte { padding:16px 18px; gap:12px; } .akd-le-karte[hidden] { display:none; }
.akd-le-kopf { display:flex; align-items:baseline; gap:10px; } .akd-le-kopf h2 { margin:0; font-size:15px; font-weight:600; }
.akd-le-felder { display:grid; grid-template-columns:1fr 1fr; gap:12px; } .akd-le-felder .breit { grid-column:1 / -1; }
.akd-le-leiste { display:flex; align-items:center; gap:10px; flex-wrap:wrap; } .akd-le-leiste .rechts { margin-left:auto; display:flex; gap:8px; }
.akd-le-leiste button, .akd-le-bildknoepfe button { display:inline-flex; align-items:center; gap:6px; }
.akd-le-bildknoepfe { margin-top:4px; flex-wrap:wrap; }
.akd-pdf-rahmen.klein { height:420px; min-height:0; }
.akd-ablage { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; min-height:170px; border-radius:10px; background:#f4f4f4; border:1.5px dashed #dcdcdc; color:#5e5e5e; cursor:pointer; text-align:center; font-size:14px; padding:14px; }
.akd-ablage b { color:#131313; } .akd-ablage small { color:#8a8a8a; } .akd-ablage.drauf { border-color:#131313; background:#ececec; } .akd-ablage.klein { min-height:96px; }
.akd-link-plus { display:inline-flex; gap:6px; align-items:center; border:none; background:none; padding:4px 0; height:auto; font-weight:500; align-self:flex-start; }
.akd-rt { border:1px solid #d9d9d9; border-radius:9px; overflow:hidden; }
.akd-rt-leiste { display:flex; gap:2px; padding:5px 6px; border-bottom:1px solid #eee; align-items:center; flex-wrap:wrap; background:#fafafa; }
.akd-rt-leiste button { min-width:30px; height:30px; border:none; background:none; border-radius:6px; padding:0 7px; font-size:13.5px; color:#333; display:inline-flex; align-items:center; justify-content:center; }
.akd-rt-leiste button:hover { background:#ececec; } .akd-rt-leiste i { width:1px; height:18px; background:#e3e3e3; margin:0 4px; }
.akd-rt-text { min-height:180px; max-height:60vh; overflow:auto; padding:14px 18px; outline:none; font-size:15px; line-height:1.55; }
.akd-rt-text:empty::before { content:attr(data-platzhalter); color:#9a9a9a; }
.akd-zm-ed { display:grid; grid-template-columns:80px minmax(0, 1fr) 28px; gap:8px; align-items:center; }
.akd-zm-ed input { height:38px; border:1px solid #d9d9d9; border-radius:8px; padding:0 10px; font-size:14px; }
.akd-schalter { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:14px; color:#131313; cursor:pointer; }
.akd-schalter small { display:block; color:#6a6a6a; font-size:12.5px; margin-top:2px; }
.akd-le-fuss { display:flex; justify-content:space-between; align-items:center; padding:0 4px; }
.akd-typwahl { display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:6px; }
.akd-typwahl button { height:auto; min-height:68px; border:1px solid #e1e1e1; border-radius:9px; background:#fff; font-weight:500; color:#131313; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:8px 4px; font-size:13px; }
.akd-typwahl button svg { width:20px; height:20px; } .akd-typwahl button.an { border-color:#131313; box-shadow:inset 0 0 0 1px #131313; background:#f6f6f6; }
.akd-chips-feld { display:flex; flex-wrap:wrap; gap:6px; align-items:center; min-height:42px; border:1px solid #d9d9d9; border-radius:9px; padding:6px 8px; background:#fff; }
.akd-chip { display:inline-flex; align-items:center; gap:4px; border-radius:999px; padding:3px 4px 3px 10px; font-size:13px; background:#f1f1f1; color:#131313; }
.akd-chip.leer { padding-right:10px; color:#5e5e5e; } .akd-chip button { border:none; background:none; height:20px; width:20px; padding:0; color:#8a8a8a; font-size:11px; }
.akd-chips-feld .an-still { border:none; background:none; height:auto; padding:2px 4px; font-size:13.5px; }
@media (max-width:1100px) { .akd-le { grid-template-columns:minmax(0, 1fr); } }
/* Akademie Runde 3 (Dom 20.11.2026): Status als Nodus-Pillen, ⋮ ohne Rahmen, Seitenfenster, Kursseite mittig */
.akd-st { font-size:12.5px; }
.akd-st-knopf { height:36px; gap:4px; padding:0 8px 0 4px; border:1px solid transparent; background:transparent; color:#6a6a6a; }
.akd-st-knopf:hover, .akd-st-knopf:focus-visible { border-color:#dcdcdc; background:#fff; }
.akd-st-menue { position:fixed; z-index:1000; min-width:280px; background:#fff; border:1px solid #e3e3e3; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.14); padding:6px; display:flex; flex-direction:column; }
.akd-st-menue button { display:flex; align-items:center; justify-content:space-between; gap:12px; height:auto; padding:8px 10px; border:none; border-radius:8px; background:none; text-align:left; font-weight:400; color:#131313; }
.akd-st-menue button:hover, .akd-st-menue button:focus-visible { background:#f4f4f4; outline:none; } .akd-st-menue button.an { background:#f1f1f1; }
.akd-st-menue button > span { display:flex; flex-direction:column; align-items:flex-start; gap:4px; } .akd-st-menue small { color:#6a6a6a; font-size:12.5px; }
/* Kopfleiste: alles 36 px, Icon-Knöpfe ohne Rahmen – der Rahmen kommt erst beim Drüberfahren */
.akd-rechts { display:flex; align-items:center; gap:8px; }
.akd-rechts > button, .akd-rechts > a { display:inline-flex; align-items:center; gap:6px; height:36px; }
.akd-rechts > button svg, .akd-rechts > a svg { width:16px; height:16px; flex:none; }
.akd-rechts .icon-knopf, .akd-ed .icon-knopf, .akd-ohne-rand.icon-knopf, .akd-ks-leiste .kx-zurueck, .akd-le .icon-knopf { border-color:transparent; background:transparent; }
.akd-rechts .icon-knopf:hover, .akd-ed .icon-knopf:hover, .akd-ohne-rand.icon-knopf:hover, .akd-ks-leiste .kx-zurueck:hover, .akd-le .icon-knopf:hover { border-color:#dcdcdc; background:#fff; }
.akd-ed-kap-kopf .icon-knopf, .akd-ed-l .icon-knopf { width:36px; height:36px; }
/* Seitenfenster von rechts */
dialog.akd-panel { animation:akd-rein .22s ease-out; } dialog.akd-panel::backdrop { background:rgba(0,0,0,.18); }
@keyframes akd-rein { from { transform:translateX(40px); opacity:0; } to { transform:none; opacity:1; } }
.akd-panel-form { display:flex; flex-direction:column; height:100%; min-height:0; }
.akd-panel .pt-feld > span { font-size:13px; color:#5e5e5e; }
.akd-panel .pt-feld input, .akd-panel .pt-feld textarea { min-height:42px; border:1px solid #d9d9d9; border-radius:9px; padding:9px 12px; font-size:15px; }
.akd-bildfeld-bild { border-radius:12px; overflow:hidden; aspect-ratio:16 / 9; background:#ececec; }
.akd-bildfeld-bild img { width:100%; height:100%; object-fit:cover; display:block; } .akd-bildfeld-bild .akd-bild { border-radius:0; height:100%; }
.akd-st-feld { display:flex; align-items:center; gap:10px; width:100%; min-height:42px; height:auto; padding:8px 12px; border:1px solid #d9d9d9; border-radius:9px; background:#fff; font-weight:400; text-align:left; }
.akd-st-feld small { color:#6a6a6a; font-size:13px; flex:1; } .akd-st-feld svg { color:#6a6a6a; }
.akd-sf { border:1px solid #e3e3e3; border-radius:10px; overflow:hidden; }
.akd-sf-alle { background:#fafafa; border-bottom:1px solid #eee; }
.akd-sf-gruppe { padding:4px 0 6px; border-top:1px solid #f1f1f1; } .akd-sf-gruppe:first-of-type { border-top:none; }
.akd-sf-titel { font-size:11.5px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:#6a6a6a; padding:10px 14px 4px; }
.akd-sf-zeile { display:grid; grid-template-columns:18px minmax(0, 1fr) auto; gap:10px; align-items:center; padding:7px 14px; font-size:14.5px; color:#131313; cursor:pointer; }
.akd-sf-zeile:hover { background:#f6f6f6; } .akd-sf-zeile[hidden] { display:none; } .akd-sf-zeile small { color:#8a8a8a; font-size:12.5px; }
.akd-sf-zeile input { width:16px; height:16px; margin:0; accent-color:#131313; }
.akd-sf-suche { margin:4px 14px 6px; width:calc(100% - 28px); height:36px; border:1px solid #d9d9d9; border-radius:8px; padding:0 10px; font-size:14px; }
.akd-sf-personen { max-height:240px; overflow:auto; }
/* Kursseite: schmale Mitte, großes Titelbild, ruhige Kapitelkarten */
.akd-ks-leiste { max-width:880px; margin:0 auto; width:100%; } .akd-ks-leiste .kx-unter { margin:0; }
.akd-ks { max-width:880px; margin:0 auto; padding:6px 0 48px; display:flex; flex-direction:column; gap:18px; }
.akd-ks-held .akd-bild { border-radius:18px; box-shadow:0 12px 32px rgba(0,0,0,.08); } .akd-ks-held .akd-bild > svg.ic { width:22%; right:50%; transform:translate(50%, -50%); top:50%; }
.akd-ks-info { display:flex; flex-direction:column; gap:10px; padding:0 4px; }
.akd-ks-info h1 { margin:0; font-size:28px; font-weight:600; letter-spacing:-.01em; line-height:1.2; }
.akd-ks-info .akd-meta { font-size:13.5px; gap:10px; } .akd-ks-info .akd-beschreibung { font-size:15.5px; color:#333; max-width:68ch; }
.akd-ks-start { display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:4px; }
.akd-ks-start .akd-fort { flex:1; min-width:220px; } .akd-ks-start .akd-fort .akd-balken { max-width:none; height:6px; border-radius:3px; }
.akd-ks-start > button.primaer { height:42px; padding:0 22px; font-size:15px; }
.akd-ks-kap { background:#fff; border-radius:16px; padding:6px 8px 10px; box-shadow:0 1px 2px rgba(0,0,0,.04); border:1px solid #ececec; }
.akd-ks-kap .akd-kap-kopf { padding:14px 12px 8px; } .akd-ks-kap .akd-kap-kopf h2 { font-size:17px; } .akd-ks-kap .akd-kap-kopf > .pstatus { margin-left:auto; }
.akd-ks-kap .akd-lliste { padding:0; overflow:visible; }
.akd-l.mit-bild { grid-template-columns:26px 112px minmax(0, 1fr) auto; gap:14px; padding:8px 12px; border-radius:12px; }
.akd-l.mit-bild .akd-mini { width:112px; border-radius:8px; } .akd-l-mitte { min-width:0; } .akd-l.mit-bild .akd-l-titel { font-size:15px; font-weight:500; }
.akd-l.mit-bild small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.akd-l.mit-bild:hover .akd-mini { box-shadow:0 0 0 2px #131313; }
.akd-ks-kap.akd-bald .akd-kap-kopf { opacity:.8; }
@media (max-width:700px) { .akd-l.mit-bild { grid-template-columns:24px 80px minmax(0, 1fr); } .akd-l.mit-bild .akd-mini { width:80px; } .akd-l.mit-bild > .pstatus, .akd-l.mit-bild > span:last-child { display:none; } }
.akd-st-knopf.breit { border-color:#d9d9d9; background:#fff; border-radius:9px; height:42px; justify-content:space-between; padding:0 10px 0 6px; }
/* Akademie Runde 4 (Dom 20.11.2026, Aufbau wie Memberspot): schmal und mittig, Pfadleiste, Kursseite mit Kopfkarte, Lektion mit Kursliste rechts */
.akd-mitte { max-width:1040px; margin:0 auto; width:100%; display:flex; flex-direction:column; gap:16px; padding-bottom:48px; }
.akd-mitte.schmal { max-width:860px; } .akd-mitte.breit { max-width:1240px; }
.akd-mitte > .akd-kopf { margin-bottom:0; }
.akd-pfad { display:flex; align-items:center; gap:8px; min-height:40px; font-size:14px; color:#8a8a8a; position:sticky; top:0; z-index:5; background:var(--flaeche, #f6f6f6); padding:4px 0; }
.akd-pfad a { color:#5e5e5e; text-decoration:none !important; } .akd-pfad a:hover { color:#131313; }
.akd-pfad-haus { display:inline-flex; width:28px; height:28px; align-items:center; justify-content:center; border-radius:7px; } .akd-pfad-haus:hover { background:#ececec; }
.akd-pfad-tr { color:#c4c4c4; } .akd-pfad-jetzt { color:#9a9a9a; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:40ch; }
.akd-pfad-rechts { margin-left:auto; display:flex; align-items:center; gap:8px; } .akd-pfad-rechts > button { display:inline-flex; align-items:center; gap:6px; height:34px; }
.akd-pfad-rechts .icon-knopf { border-color:transparent; background:transparent; } .akd-pfad-rechts .icon-knopf:hover { border-color:#dcdcdc; background:#fff; }
.akd-karte { background:#fff; border:1px solid #ececec; border-radius:14px; box-shadow:0 1px 2px rgba(0,0,0,.03); }
.akd-seitentitel { margin:0; font-size:24px; font-weight:600; }
.akd-zahl { display:inline-block; background:#ececec; color:#333; border-radius:999px; padding:1px 8px; font-size:12px; font-weight:500; }
.akd-kopf .leiste > button { display:inline-flex; align-items:center; gap:6px; }
/* Übersicht */
.akd-weiter-reihe { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:14px; }
.akd-weiter { display:grid; grid-template-columns:140px minmax(0, 1fr); gap:14px; align-items:center; background:#fff; border:1px solid #ececec; border-radius:14px; padding:10px; color:#131313; text-decoration:none !important; }
.akd-weiter .akd-bild { border-radius:9px; padding:0; } .akd-weiter:hover .akd-play-klein { opacity:1; } .akd-weiter:hover { border-color:#d6d6d6; }
.akd-weiter-text { display:flex; flex-direction:column; gap:3px; min-width:0; } .akd-weiter-text b { font-size:15px; font-weight:600; }
.akd-weiter-text small { color:#6a6a6a; font-size:12.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.akd-kliste { display:flex; flex-direction:column; gap:12px; }
.akd-kzeile { display:grid; grid-template-columns:240px minmax(0, 1fr) auto; gap:20px; align-items:center; background:#fff; border:1px solid #ececec; border-radius:14px; overflow:hidden; padding-right:20px; }
.akd-kzeile[data-kurs] { cursor:pointer; } .akd-kzeile[data-kurs]:hover { border-color:#d6d6d6; box-shadow:0 4px 14px rgba(0,0,0,.05); }
.akd-kzeile > .akd-bild { border-radius:0; padding:8px; } .akd-kzeile.bald > .akd-bild { filter:saturate(.55); }
.akd-kzeile-mitte { display:flex; flex-direction:column; gap:6px; align-items:flex-start; min-width:0; padding:14px 0; }
.akd-kzeile-mitte b { font-size:17px; font-weight:600; } .akd-kzeile-mitte small { color:#6a6a6a; font-size:13px; } .akd-kzeile-mitte .akd-balken { width:100%; max-width:280px; }
.akd-kzeile-mitte .akd-kat { color:#9a9a9a; font-size:12px; } .akd-kzeile > button { min-width:130px; height:40px; justify-content:center; }
.akd-kurs[data-kurs] { cursor:pointer; }
/* Kursseite */
.akd-ks-kopf { display:grid; grid-template-columns:minmax(0, 1fr) 220px; gap:24px; align-items:center; padding:24px 28px; }
.akd-ks-text { display:flex; flex-direction:column; gap:8px; align-items:flex-start; } .akd-ks-text h1 { margin:0; font-size:26px; font-weight:600; letter-spacing:-.01em; }
.akd-ks-text .akd-beschreibung { font-size:14.5px; color:#444; margin:2px 0 0; }
.akd-ks-text .akd-ks-start { display:flex; align-items:center; gap:14px; width:100%; margin-top:6px; } .akd-ks-text .akd-ks-start .akd-balken { flex:1; height:6px; border-radius:3px; }
.akd-ks-text .akd-ks-start > button { height:40px; padding:0 20px; }
.akd-ks-bild .akd-bild { border-radius:10px; box-shadow:none; padding:0; } .akd-ks-bild .akd-bild > svg.ic { width:30%; right:50%; transform:translate(50%, -50%); }
.akd-ks-liste { padding:10px 14px 14px; overflow:visible; }
.akd-l.mit-bild { grid-template-columns:132px minmax(0, 1fr) auto; gap:16px; padding:8px; border-radius:12px; }
.akd-l.mit-bild .akd-mini { width:132px; border-radius:8px; }
.akd-l.mit-bild .akd-l-titel { font-size:15px; font-weight:500; } .akd-l.mit-bild small { display:block; margin-top:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.akd-l.mit-bild.zu .akd-mini { filter:grayscale(.6); opacity:.6; }
.akd-kap-trenner { display:flex; align-items:center; gap:12px; padding:16px 8px 8px; }
.akd-kap-name { display:flex; flex-direction:column; gap:1px; } .akd-kap-name b { font-size:15.5px; font-weight:600; white-space:nowrap; } .akd-kap-name small { color:#6a6a6a; font-size:12.5px; }
.akd-kap-trenner > i { flex:1; height:1px; background:#e6e6e6; }
.akd-klapp-rund { width:26px; height:26px; padding:0; border-radius:50%; border:1px solid #d6d6d6; background:#fff; display:inline-flex; align-items:center; justify-content:center; color:#6a6a6a; flex:none; }
.akd-klapp-rund svg { transform:rotate(180deg); transition:transform .15s; } .akd-kap-trenner.zu .akd-klapp-rund svg { transform:none; }
.akd-kap-trenner.zu + .akd-kap-inhalt { display:none; }
/* Lektion */
.akd-lp-raster { display:grid; grid-template-columns:minmax(0, 1fr) 360px; gap:22px; align-items:start; }
.akd-lp.gross .akd-lp-raster { grid-template-columns:minmax(0, 1fr); }
.akd-lp-links { display:flex; flex-direction:column; gap:14px; min-width:0; }
.akd-lp .akd-player { border-radius:14px; max-height:none; }
.akd-lp-titel h1 { margin:0 0 12px; font-size:22px; font-weight:600; }
.akd-lp-knoepfe { display:flex; align-items:center; gap:10px; } .akd-lp-knoepfe .rechts { flex:1; }
.akd-lp-knoepfe > button { height:40px; display:inline-flex; align-items:center; gap:6px; padding:0 18px; }
#akd-merken.an { border-color:#131313; }
.akd-lp .akd-kurz { margin:0; color:#444; font-size:15px; }
.akd-lp .akd-text.hb-text { background:#fff; border:1px solid #ececec; border-radius:14px; padding:20px 26px; }
.akd-lp .akd-karte h3 { margin:0; padding:14px 18px 6px; font-size:15px; }
.akd-lp-kurs { position:sticky; top:52px; max-height:calc(100vh - 80px); display:flex; flex-direction:column; overflow:hidden; }
.akd-lp.gross .akd-lp-kurs { position:static; max-height:none; }
.akd-lp-kurs-kopf { display:flex; align-items:center; gap:10px; padding:14px 14px 10px 18px; } .akd-lp-kurs-kopf b { flex:1; font-size:16px; }
.akd-lp-kurs > .akd-balken { margin:0 18px 8px; }
.akd-auto { padding:8px 18px 10px; border-bottom:1px solid #f0f0f0; font-size:14px; }
.akd-lp-kurs .akd-lliste { flex:1; overflow:auto; padding:4px 8px; }
.akd-lp-kurs .akd-l.mit-bild { grid-template-columns:72px minmax(0, 1fr) auto; gap:10px; padding:6px; }
.akd-lp-kurs .akd-l.mit-bild .akd-mini { width:72px; } .akd-lp-kurs .akd-l.mit-bild .akd-l-titel { font-size:13.5px; } .akd-lp-kurs .akd-mini-dauer { font-size:10px; }
.akd-lp-kurs .akd-kap-trenner { padding:12px 6px 4px; } .akd-lp-kurs .akd-kap-name b { font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:#6a6a6a; }
.akd-lp-kurs .akd-kap-name small { display:none; }
.akd-lp-zurueck { border:none; border-top:1px solid #f0f0f0; border-radius:0; background:#fff; height:46px; display:flex; align-items:center; justify-content:center; gap:6px; color:#5e5e5e; font-weight:500; flex:none; }
.akd-lp-zurueck:hover { color:#131313; background:#fafafa; }
.akd-frage { padding:22px 22px 4px; } .akd-frage h2 { margin:0 0 6px; font-size:19px; }
/* Editor: Status und ⋮ in einer Linie */
.akd-st-knopf { min-width:132px; justify-content:flex-end; padding:0 4px; }
.akd-st-knopf.breit { justify-content:flex-start; padding:0 10px; }
.akd-ed-kap-kopf .akd-klapp { margin-left:-6px; }
@media (max-width:1000px) { .akd-lp-raster, .akd-ks-kopf { grid-template-columns:minmax(0, 1fr); } .akd-lp-kurs { position:static; max-height:none; } .akd-kzeile { grid-template-columns:160px minmax(0, 1fr); } .akd-kzeile > button, .akd-kzeile > .pstatus { display:none; } }
/* Akademie Runde 5 (Dom 20.11.2026): eine feste Breite, Pfadleiste als runde Karte, Haken links, Abschließen wie Memberspot, „Groß“ mit Kursliste rechts unten */
.akd-mitte, .akd-mitte.schmal, .akd-mitte.breit { max-width:1200px; }
.akd-pfad { top:8px; background:#fff; border:1px solid #ececec; border-radius:12px; padding:6px 10px 6px 8px; min-height:48px; box-shadow:0 1px 2px rgba(0,0,0,.03); }
.akd-pfad a, .akd-pfad a:hover, .akd-pfad a:focus, .akd-pfad a:active { background:transparent; box-shadow:none; outline:none; border-radius:7px; padding:3px 6px; }
.akd-pfad a:hover { background:#f4f4f4; } .akd-pfad a:focus-visible { box-shadow:0 0 0 2px #131313; }
.akd-pfad-haus { padding:0 !important; }
/* Lektionszeile: Abhak-Kreis links, beim Drüberfahren nur heller Grund */
.akd-l.mit-bild { grid-template-columns:24px 132px minmax(0, 1fr); }
.akd-l.mit-bild.ohne-haken { grid-template-columns:132px minmax(0, 1fr) auto; cursor:pointer; }
.akd-l.mit-bild:hover { background:#f4f4f4; } .akd-l.mit-bild:hover .akd-mini { box-shadow:none; }
.akd-l.jetzt { box-shadow:none; background:#eef0f3; } .akd-lp-kurs .akd-l.jetzt { box-shadow:inset 3px 0 0 #131313; }
.akd-lp-kurs .akd-l.mit-bild { grid-template-columns:22px 72px minmax(0, 1fr); }
.akd-haken { width:22px; height:22px; } .akd-haken svg { width:13px; height:13px; }
/* Autoplay als Schieberegler */
.akd-regler { display:flex; align-items:center; gap:10px; cursor:pointer; font-size:14px; color:#131313; }
.akd-regler input { position:absolute; opacity:0; width:1px; height:1px; }
.akd-regler i { width:34px; height:20px; border-radius:999px; background:#d9d9d9; position:relative; transition:background .15s; flex:none; }
.akd-regler i::after { content:''; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.25); transition:left .15s; }
.akd-regler input:checked + i { background:#131313; } .akd-regler input:checked + i::after { left:16px; }
.akd-regler input:focus-visible + i { box-shadow:0 0 0 2px #fff, 0 0 0 4px #131313; }
.akd-auto { padding:6px 18px 12px; border-bottom:1px solid #f0f0f0; }
/* Lektion: Bereiche Medium / Text / Kurs; „Groß“: Medium über die ganze Breite, Kurs rechts unten in gleicher Größe */
.akd-lp-raster { grid-template-columns:minmax(0, 1fr) 360px; grid-template-areas:'medium kurs' 'links kurs'; column-gap:22px; row-gap:16px; }
.akd-lp.gross .akd-lp-raster { grid-template-columns:minmax(0, 1fr) 360px; grid-template-areas:'medium medium' 'links kurs'; }
.akd-lp-medium { grid-area:medium; min-width:0; } .akd-lp-links { grid-area:links; } .akd-lp-kurs { grid-area:kurs; align-self:start; }
.akd-lp.gross .akd-lp-kurs { position:sticky; top:68px; max-height:calc(100vh - 90px); }
.akd-lp-kurs { top:68px; }
.akd-lp .akd-pdf-rahmen { height:calc(100vh - 150px); min-height:520px; border-radius:14px; }
.akd-lp-knoepfe > span > button { height:40px; display:inline-flex; align-items:center; gap:6px; padding:0 18px; }
.akd-ist-erledigt { background:#fff; border:1px solid #cfe5d5 !important; color:#1f8a3b !important; }
.akd-weiter-block { display:grid; grid-template-columns:120px minmax(0, 1fr) auto; gap:16px; align-items:center; margin-top:14px; padding:10px; background:#fff; border:1px solid #ececec; border-radius:14px; }
.akd-weiter-block:not(:has(.akd-mini)) { grid-template-columns:minmax(0, 1fr) auto; padding:14px 16px; }
.akd-weiter-block .akd-mini { width:120px; } .akd-weiter-block span { display:flex; flex-direction:column; gap:2px; min-width:0; }
.akd-weiter-block small { color:#6a6a6a; font-size:13px; } .akd-weiter-block b { font-size:15.5px; font-weight:600; }
.akd-weiter-block button { height:40px; display:inline-flex; align-items:center; gap:6px; padding:0 18px; }
/* Zurücksetzen-Frage */
.akd-frage { padding:26px 24px 20px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:14px; }
.akd-frage h2 { margin:0; font-size:18px; max-width:300px; line-height:1.35; }
.akd-frage-ic { width:58px; height:58px; border-radius:50%; background:#e1e9f7; color:#2c4a86; display:flex; align-items:center; justify-content:center; }
.akd-frage-knoepfe { display:flex; flex-direction:column; gap:8px; width:100%; border-top:1px solid #eee; padding-top:16px; } .akd-frage-knoepfe button { height:42px; width:100%; }
button.akd-dunkel { background:#131313; color:#fff; border-color:#131313; } button.akd-dunkel:hover { background:#333; }
/* Akademie Runde 6 (Dom 20.11.2026): Prozent je Kapitel, Zurück-Knopf, gleiche Kopfhöhe, Auswertung mit Statistiken */
.akd-kap-stand { flex:none; font-size:12px; font-weight:500; color:#5e5e5e; background:#f1f1f1; border-radius:999px; padding:2px 9px; display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.akd-kap-stand.fertig { background:#e3eedb; color:#3d5e26; } .akd-kap-stand svg { width:12px; height:12px; }
.akd-prozent { font-size:14px; font-weight:600; min-width:44px; text-align:right; } .akd-prozent.fertig { color:#1f8a3b; }
.akd-zurueck-knopf { display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 16px; line-height:1; }
.akd-zurueck-knopf svg { width:16px; height:16px; flex:none; display:block; }
.akd-mitte > .akd-kopf { min-height:44px; display:flex; align-items:center; margin:0; } .akd-mitte > .akd-kopf h1 { margin:0; }
.akd-mitte > .akd-kopf .leiste { min-height:36px; display:flex; align-items:center; gap:8px; }
.akd-zahlen-5 { grid-template-columns:repeat(5, minmax(0, 1fr)); margin:0; } .akd-zahlen-5 .akd-balken { margin-top:6px; height:5px; }
.akd-stat { padding:6px 0 4px; } .akd-stat h2, .akd-stat-titel { margin:0; padding:14px 18px 2px; font-size:16px; font-weight:600; } .akd-stat-titel { padding:6px 0 0; }
.akd-stat .tabelle { border:none; box-shadow:none; margin:0; } .akd-stat td.zahl, .akd-stat th.zahl { text-align:right; }
.akd-legende { display:flex; gap:16px; padding:6px 18px 4px; font-size:12.5px; color:#6a6a6a; } .akd-legende span { display:inline-flex; align-items:center; gap:6px; }
.akd-legende i, .akd-vert i { display:block; } .akd-legende i { width:10px; height:10px; border-radius:3px; }
.akd-vert { display:flex; height:10px; border-radius:5px; overflow:hidden; background:#ececec; min-width:180px; gap:2px; }
.fertig.akd-vert-dummy, .akd-vert i.fertig, .akd-legende i.fertig { background:#5f9a4a; } .akd-vert i.angefangen, .akd-legende i.angefangen { background:#6d8fd0; } .akd-vert i.offen, .akd-legende i.offen { background:#d6d6d6; }
.akd-vert-zahl { margin-top:4px; } .akd-vert-zelle { min-width:220px; }
.akd-mitte > .akd-kopf { height:52px; min-height:52px; max-height:52px; padding-top:0; padding-bottom:0; box-sizing:border-box; } .akd-mitte > .akd-kopf .leiste > button { height:36px; }
/* Akademie Runde 7 (Dom 20.11.2026): Status wie Projekte, Kopf bleibt stehen, Lektion hinzufügen/hochladen, Regler links, Kursliste wie Memberspot, Popup in der Mitte, Suche, Tags */
.akd-st-knopf, .akd-st-knopf.breit, .akd-st-feld { display:inline-flex; align-items:center; min-width:0; width:auto; height:auto; padding:0; border:none !important; background:none !important; box-shadow:none !important; cursor:pointer; justify-content:flex-start; }
.akd-st-knopf:hover .pstatus, .akd-st-feld:hover .pstatus, .akd-st-knopf:focus-visible .pstatus { filter:brightness(.94); } .akd-st-knopf:focus-visible { outline:none; } .akd-st-knopf:focus-visible .pstatus { outline:2px solid var(--rot); outline-offset:1px; }
.akd-le-st-zeile { display:flex; align-items:center; justify-content:space-between; margin:0; }
.akd-regler { justify-content:flex-start; } .akd-le-eigen .akd-regler + .akd-regler { margin-top:12px; } .akd-regler[hidden] { display:none; }
.akd-panel .akd-regler { padding:4px 0; }
.akd-sf-zeile input { accent-color:var(--rot); }
.akd-ed-aktionen { display:flex; justify-content:center; gap:22px; padding:10px 0 12px; }
.akd-ed-aktionen button { display:inline-flex; align-items:center; gap:7px; height:32px; padding:0 8px; border:none; background:none; color:#5e5e5e; font-weight:500; border-radius:8px; }
.akd-ed-aktionen button:hover { background:#f4f4f4; color:#131313; }
.akd-player { background:transparent; aspect-ratio:auto; display:block; } .akd-player video { height:auto; max-height:calc(100vh - 200px); background:transparent; border-radius:inherit; }
.akd-player:has(iframe), .akd-player.leer { aspect-ratio:16 / 9; background:#131313; display:flex; }
.akd-lp-kurs .akd-lliste { padding:4px 0; } .akd-lp-kurs .akd-l, .akd-lp-kurs .akd-l.mit-bild { border-radius:0; padding-left:14px; padding-right:12px; }
.akd-lp-kurs .akd-l.jetzt { background:#eef3fc; box-shadow:inset 3px 0 0 #2f62c8; }
.akd-lp-kurs .akd-kap-trenner { padding-left:14px; padding-right:12px; }
.akd-haken.jetzt { border-color:#2f62c8; background:#2f62c8; color:#fff; } .akd-haken svg { display:block; }
.akd-lp-kurs > .akd-balken > i { background:#2f62c8; } .akd-lp-kurs > .akd-balken.fertig > i { background:#1f8a3b; }
.akd-bis-ende { display:inline-flex; align-items:center; gap:7px; height:40px; padding:0 14px; border-radius:9px; background:#f1f1f1; color:#5e5e5e; font-size:14px; }
.akd-geschafft { position:fixed; inset:0; z-index:3000; display:flex; align-items:center; justify-content:center; pointer-events:none; animation:akd-rein .18s ease-out; }
.akd-geschafft > div { display:flex; flex-direction:column; align-items:center; gap:12px; padding:28px 40px; background:#fff; border-radius:18px; box-shadow:0 20px 60px rgba(0,0,0,.22); }
.akd-geschafft span { width:58px; height:58px; border-radius:50%; background:#1f8a3b; color:#fff; display:flex; align-items:center; justify-content:center; }
.akd-geschafft b { font-size:18px; font-weight:600; color:#131313; } .akd-geschafft.weg { opacity:0; transition:opacity .35s; }
@keyframes akd-rein { from { opacity:0; transform:scale(.96); } to { opacity:1; transform:none; } }
.akd-suche { display:flex; align-items:center; gap:8px; height:36px; padding:0 12px; border:1px solid #dcdcdc; border-radius:9px; background:#fff; color:#8a8a8a; width:300px; max-width:40vw; }
.akd-suche input { border:none; outline:none; background:none; flex:1; min-width:0; height:34px; padding:0; font-size:14px; color:#131313; box-shadow:none; }
.akd-suche:focus-within { border-color:#131313; }
.akd-tags { display:flex; flex-wrap:wrap; gap:6px; align-items:center; border:1px solid #dcdcdc; border-radius:9px; padding:6px 8px; min-height:42px; background:#fff; }
.akd-tags input { border:none; outline:none; box-shadow:none; flex:1; min-width:110px; height:28px; padding:0 2px; font-size:14px; background:none; }
.akd-tag { display:inline-flex; align-items:center; gap:4px; height:26px; padding:0 4px 0 10px; border-radius:999px; background:#f1f1f1; font-size:13px; color:#131313; }
.akd-tag button { width:20px; height:20px; padding:0; border:none; background:none; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#6a6a6a; } .akd-tag button:hover { background:#e1e1e1; color:#131313; }
.akd-tag-vor { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.akd-tag-vor button { height:26px; padding:0 10px; border:1px dashed #cfcfcf; border-radius:999px; background:#fff; font-size:13px; color:#5e5e5e; font-weight:400; } .akd-tag-vor button:hover { border-color:#131313; color:#131313; }
.akd-hochlade { position:fixed; right:20px; bottom:20px; z-index:2500; width:320px; background:#fff; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.18); padding:14px 16px; display:flex; flex-direction:column; gap:4px; font-size:13.5px; }
.akd-hochlade span { color:#5e5e5e; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .akd-hochlade small { color:#8a8a8a; }
.akd-loeschen p { margin:0; } .akd-l-titel .pstatus { margin-left:6px; vertical-align:1px; }
/* Akademie Runde 8 (Dom 20.11.2026): Rot statt Blau, Haken pastellgrün, Symbole auf Texthöhe, Kapitel-Leiste unter dem Video, Speicher-Stand */
.akd-lp-kurs .akd-l.jetzt { background:#fdf1f0; box-shadow:inset 3px 0 0 var(--rot); }
.akd-haken.jetzt { border-color:var(--rot); background:var(--rot); color:#fff; }
.akd-lp-kurs > .akd-balken > i { background:var(--rot); }
.akd-haken.an { background:#d6eacb; border-color:#d6eacb; color:#3b7a2c; }
.akd-l small svg, .akd-ed-titel small svg, .akd-kzeile small svg { display:inline-block; vertical-align:-2px; margin-right:3px; flex:none; }
.akd-l small { line-height:16px; }
.akd-gespeichert { font-size:13px; color:#8a8a8a; white-space:nowrap; } .akd-gespeichert.fehler { color:var(--rot); }
/* Akademie Runde 9 (Dom 20.11.2026): Play-Knopf größer, Symbol und Text auf einer Linie, Reiter Beschreibung/Kapitel, Nummerierung ohne Kreise, Untertitel */
.akd-haken.jetzt svg { width:16px; height:16px; margin-left:1px; }
.akd-l small > svg, .akd-ed-titel small > svg, .akd-kzeile small > svg { width:14px; height:14px; margin:0 2px 0 0; vertical-align:-3px; flex:none; } /* Mitte des Symbols = Mitte der Großbuchstaben */
.akd-lp-reiter { margin:4px 0 14px; } .akd-lp-reiter a { cursor:pointer; }
.akd-zm { padding:6px 0; } .akd-zm-zeile.an { background:#fdf1f0; } .akd-zm-zeile.an b { color:var(--rot); }
.akd-text ol, .akd-rt-text ol { list-style:decimal; padding-left:22px; margin:0 0 14px; }
.akd-text ol li, .akd-rt-text ol li { padding:0; margin:3px 0; }
.akd-text ol li::before, .akd-rt-text ol li::before { content:none; display:none; }
.akd-ut-datei { display:flex; align-items:center; gap:12px; } .akd-ut-datei .btn { display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
.akd-ut-datei small { color:#8a8a8a; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#akd-ut.an { border-color:var(--rot); color:var(--rot); }
.akd-lp-knoepfe { flex-wrap:wrap; row-gap:8px; }
