/* Controlling HUB - Design angelehnt an "Horizon UI" (Admin-Template, Christian 13.10.2026: "ungefaehr so wie hier").
   Liegt ueber app.css: helle Flaeche #F4F7FE, weisse Karten mit grossem Radius und weichem Schatten, weisse Seitenleiste mit Symbolen,
   Primaerfarbe Violett #4318FF, Schrift DM Sans. Aufbau der Seiten bleibt; Ampelfarben (gruen/orange/rot) bleiben.
   Zurueck zum alten Design: <link> auf theme-horizon.css in index.html entfernen. */
:root {
  --navy: #1B2559;            /* Text, dunkle Flaechen */
  --blue: #4318FF;            /* Primaerfarbe (Buttons, aktive Elemente) */
  --teal: #868CFF;            /* zweite Akzentfarbe */
  --cyan: #7551FF;            /* Hover */
  --surface: #F4F7FE;
  --white: #FFFFFF;
  --hair: #E9EDF7;
  --hair-strong: #E0E5F2;
  --text: #1B2559;
  --muted: #8F9BBA;
  --font: 'DM Sans', 'Segoe UI Variable Text', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;   /* DM Sans nur, wenn lokal installiert (CSP + DSGVO: kein Google-CDN) */
  --radius: 20px;
  --sidebar: 286px;
  --schatten: 14px 17px 40px 4px rgba(112, 144, 176, .08);
  --verlauf: linear-gradient(135deg, #868CFF 0%, #4318FF 100%);
  --amp-gruen: #01A26A; --amp-gruen-bg: #E6F8F1; --amp-orange: #E08A00; --amp-orange-bg: #FFF4E0; --amp-rot: #E5463A; --amp-rot-bg: #FDECEA;
}
body { background: var(--surface); color: var(--text); font-size: 14px; }
a { color: var(--blue); }
a:hover, a:focus-visible { color: var(--cyan); }
:focus-visible { outline-color: var(--cyan); }
h1 { font-size: 30px; font-weight: 700; letter-spacing: -.5px; color: var(--navy); }
h2 { font-size: 18px; font-weight: 700; color: var(--navy); }
h3 { color: var(--navy); }

/* ---------- Seitenleiste */
.sidebar { background: var(--white); color: var(--navy); box-shadow: var(--schatten); z-index: 6; }
.brand { padding: 26px 20px 20px; border-bottom: 1px solid var(--hair); text-align: center; }
.brand img { height: 14px; margin: 0 auto; opacity: 1; }
.brand .product { margin-top: 10px; font-size: 19px; letter-spacing: 1px; white-space: nowrap; color: var(--navy); font-weight: 400; }
.brand .product b { font-weight: 800; }
.nav { padding: 10px 0 14px 16px; }
.nav .group { margin: 16px 14px 6px; font-size: 11px; letter-spacing: 1.2px; color: var(--muted); font-weight: 700; }
.nav a { position: relative; gap: 14px; padding: 9px 14px; margin: 1px 0; border-radius: 0; color: var(--muted); font-weight: 500; font-size: 14px; white-space: nowrap; }
.nav a .ico { width: 20px; height: 20px; flex: none; color: var(--muted); }
.nav a.sub { padding-left: 48px; font-size: 13.5px; color: var(--muted); }
.nav a:hover { background: transparent; color: var(--navy); }
.nav a:hover .ico { color: var(--navy); }
.nav a.active { background: transparent; color: var(--navy); font-weight: 700; box-shadow: none; }
.nav a.active .ico { color: var(--blue); }
.nav a.active::after { content: ''; position: absolute; right: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--blue); }
.nav .count { background: var(--blue); color: #fff; font-weight: 700; padding: 1px 8px; margin-right: 14px; }
.sidebar .foot { color: var(--muted); border-top: 1px solid var(--hair); padding: 16px 28px; }

/* ---------- Kopfzeile: rechts eine weisse Pille mit Suche, Modus und Benutzer */
.topbar { background: transparent; border-bottom: 0; padding: 18px 28px 0; position: sticky; top: 0; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: rgba(244, 247, 254, .75); padding-bottom: 10px; }
.topbar .pille { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 30px; padding: 8px 10px 8px 10px; box-shadow: var(--schatten); min-width: 0; }
.topbar .search { flex: 0 1 300px; width: 300px; background: var(--surface); border: 0; border-radius: 30px; padding: 9px 16px 9px 38px; font-size: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231B2559' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 14px center; }
.topbar .search:focus { box-shadow: 0 0 0 2px rgba(67, 24, 255, .18); }
.topbar .search::placeholder { color: var(--muted); }
.mode-chip { border: 0; background: var(--surface); color: var(--muted); font-size: 11.5px; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.avatar { width: 38px; height: 38px; background: var(--verlauf); font-size: 13px; }
.user-btn { padding: 0; border-radius: 30px; }
.user-btn:hover { background: transparent; }
.user-btn .uname { font-weight: 600; color: var(--navy); }
.role.admin { background: var(--navy); border-color: var(--navy); }
.user-menu .menu { top: 46px; border: 0; border-radius: 16px; box-shadow: 0 18px 40px rgba(112, 144, 176, .25); overflow: hidden; }

/* ---------- Inhalt */
.content { padding: 14px 28px 48px; }
.page-head { margin-bottom: 22px; align-items: flex-end; }
.page-head .crumbs, .crumbs { font-size: 14px; color: #707EAE; letter-spacing: 0; margin-bottom: 2px; font-weight: 500; }
.page-head .muted.small { color: var(--muted); }

/* Karten */
.card, .kpi, .project-head, .tl-card, .bcard, .step { border: 0; border-radius: var(--radius); box-shadow: var(--schatten); }
.card { padding: 20px 22px; }
.card + .card { margin-top: 20px; }
.card-head h2 { font-size: 18px; }
.cta-box { background: var(--verlauf); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(67, 24, 255, .25); }
.cta-box .btn.primary { color: var(--blue); }
.readonly-note { background: var(--white); border: 0; border-radius: var(--radius); box-shadow: var(--schatten); padding: 14px 18px; border-left: 4px solid var(--teal); }
.info-box { border-left-color: var(--teal); border-radius: 0 14px 14px 0; }
.empty { color: var(--muted); }

/* Kennzahlenleiste: einzelne Karten wie die Mini-Statistiken */
.summen { background: transparent; border: 0; border-radius: 0; gap: 20px; overflow: visible; margin-bottom: 22px; }
.summen > div { background: var(--white); border: 0 !important; border-radius: var(--radius); box-shadow: var(--schatten); padding: 16px 20px; min-width: 0; }
.summen .l { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 500; }
.summen .v { font-size: 24px; color: var(--navy); margin-top: 2px; }
.summen .s { color: var(--muted); }
.summen .cta { background: var(--verlauf); box-shadow: 0 14px 30px rgba(67, 24, 255, .22); }
.summen .cta .v { color: #fff; }
.summen .cta .l, .summen .cta .s { color: rgba(255, 255, 255, .85); }

/* Tabellen */
th { font-size: 12px; letter-spacing: .3px; color: #A3AED0; font-weight: 600; border-bottom: 1px solid var(--hair); padding: 10px 12px; }
td { border-bottom: 1px solid var(--hair); padding: 11px 12px; }
tbody tr:nth-child(even) td { background: transparent; }
tr.click:hover td { background: var(--surface); }
.card[style*="padding:0"] { overflow: hidden; }
table.kontrolle thead tr.gruppen th { font-size: 11px; letter-spacing: .8px; padding: 9px 12px; font-weight: 700; }
table.kontrolle .g-vorgang { background: var(--navy); }
table.kontrolle .g-prov { background: var(--blue); }
table.kontrolle .g-hw { background: var(--teal); }
table.kontrolle .g-erg { background: var(--navy); }
table.kontrolle thead tr.gruppen th:last-child { background: var(--navy); }
table.kontrolle .grp { border-left: 1px solid var(--hair); }
table.kontrolle tbody tr.row:nth-child(4n+3) td { background: #FAFBFF; }
table.kontrolle tbody tr.row:hover td { background: #F4F2FF; }
table.kontrolle tbody tr.row.offen td, tr.detail > td { background: #F4F2FF; }
table.kontrolle tfoot td { border-top: 2px solid var(--hair-strong); }
table.vp-tab tr.vp-row:hover td { background: #F4F2FF; }
table.vp-tab tr.vp-row.offen td { background: #F4F2FF; }
table.vp-tab tr.vp-vorgang td { background: #FAFBFF; }
table.in-tab .balken { background: var(--surface); height: 8px; border-radius: 8px; }
table.in-tab .balken span { background: var(--verlauf); border-radius: 8px; }
table.in-monate tr.in-monat.aktiv td { background: #F4F2FF; }
table.in-monate tr.in-monat.aktiv td:first-child { box-shadow: inset 4px 0 0 var(--blue); }
table.in-monate tr.in-monat:hover td { background: #F4F2FF; }
table.mini td { border-bottom-color: var(--hair); }

/* Formulare, Buttons */
label { color: var(--navy); font-weight: 600; font-size: 13px; }
input, select, textarea { border: 1px solid var(--hair-strong); border-radius: 14px; padding: 9px 14px; color: var(--navy); background-color: var(--white); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(67, 24, 255, .12); }
.btn { border-radius: 14px; padding: 9px 18px; font-weight: 600; border: 1px solid var(--hair-strong); color: var(--navy); background: var(--white); }
.btn:hover { border-color: var(--blue); color: var(--blue); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(67, 24, 255, .22); }
.btn.primary:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.btn.small { padding: 4px 12px; border-radius: 10px; }
.btn.ghost:hover { background: var(--surface); }
.icon-btn { border-radius: 10px; }
.segmented { border: 0; background: var(--white); border-radius: 14px; padding: 4px; box-shadow: var(--schatten); gap: 2px; }
.segmented a { border: 0 !important; border-radius: 10px; padding: 7px 14px; color: var(--muted); font-weight: 600; }
.segmented a:hover { color: var(--navy); }
.segmented a.active { background: var(--blue); color: #fff; }
.tabs { border-bottom-color: var(--hair); }
.tabs a.active { color: var(--blue); border-bottom-color: var(--blue); }

/* Kennzeichen */
.badge { border-radius: 20px; border-color: var(--hair-strong); padding: 2px 10px; font-weight: 500; }
.badge.st-treffer, .badge.kl-erledigt, .badge.t-erledigt, .badge.m-erreicht, .badge.s-abgeschlossen { background: var(--navy); border-color: var(--navy); }
.badge.st-differenz, .badge.c-freigabe_offen { background: var(--blue); border-color: var(--blue); }
.badge.st-storno, .badge.kl-in_bearbeitung, .badge.t-in_bearbeitung, .badge.s-in_umsetzung { background: var(--teal); border-color: var(--teal); }
.role { border-radius: 20px; }
.tag { border-radius: 8px; }

/* Ablauf der Durchlaeufe */
.ablauf li { border-bottom-color: var(--hair); }
.ablauf li.ok .n { background: var(--blue); border-color: var(--blue); }
.ablauf li.warn .n { background: var(--amp-orange); border-color: var(--amp-orange); }
.ablauf li.laeuft .n { border-color: var(--blue); color: var(--blue); }

/* Dialoge, Meldungen */
.modal { border-radius: var(--radius); }
.modal-back { background: rgba(27, 37, 89, .35); }
.toast { background: var(--navy); border-radius: 14px; }
.popover { border: 0; border-radius: 16px; box-shadow: 0 18px 40px rgba(112, 144, 176, .25); }

/* Anmeldung über die ganze Seite (Christian 27.10.2026: "auf der ganzen Seite", "größer", "modern", "nicht violett – im Design der Anwendung"):
   links die helle Arbeitsfläche der Anwendung (--surface) mit Marke und den Bausteinen als weiße Karten (Radius + weicher Schatten wie .card,
   Symbol blau im hellen Kreis wie die Kennzahlen), rechts ein weißes Anmeldefeld wie die Seitenleiste. Größen wachsen mit der Bildschirmbreite (clamp). */
.login-page { display: block; min-height: 100vh; padding: 0; background: var(--surface); }
.login-karte { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(440px, 1fr); }
.login-hero { background: var(--surface); color: var(--navy); padding: clamp(40px, 5vw, 96px) clamp(32px, 5.5vw, 112px);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 2.4vw, 40px); }
.login-hero > * { width: 100%; max-width: 1080px; }
.login-hero .lh-marke img { height: clamp(18px, 1.5vw, 26px); display: block; }
.login-hero .product { font-size: clamp(40px, 4.4vw, 80px); line-height: 1.05; letter-spacing: -.5px; margin-top: clamp(14px, 1.4vw, 24px); font-weight: 400; color: var(--navy); }
.login-hero .product b { font-weight: 800; }
.login-hero p.lh-claim { margin: 0; max-width: 820px; color: #707EAE; font-size: clamp(16px, 1.25vw, 22px); line-height: 1.55; }
.lh-bausteine { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.3vw, 24px); }
.lh-baustein { display: grid; grid-template-columns: auto 1fr; gap: clamp(14px, 1.1vw, 20px); align-items: center; padding: clamp(18px, 1.5vw, 28px);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--schatten); transition: transform .2s, box-shadow .2s; }
.lh-baustein:hover { transform: translateY(-2px); box-shadow: 14px 17px 40px 4px rgba(112, 144, 176, .16); }
.lh-baustein svg { width: clamp(50px, 3.6vw, 64px); height: clamp(50px, 3.6vw, 64px); padding: clamp(12px, .9vw, 17px); border-radius: 50%; background: var(--surface);
  stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lh-baustein b { display: block; font-size: clamp(16px, 1.15vw, 20px); color: var(--navy); margin-bottom: 4px; }
.lh-baustein span { font-size: clamp(13.5px, .95vw, 16px); line-height: 1.5; color: var(--muted); }
.login-form { background: var(--white); box-shadow: var(--schatten); padding: clamp(40px, 4vw, 80px) clamp(32px, 4.5vw, 96px); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.login-form > * { width: 100%; max-width: clamp(400px, 26vw, 520px); }
.login-form h1 { font-size: clamp(36px, 2.8vw, 52px); letter-spacing: -.5px; margin-bottom: 10px; }
.login-form p.muted.small { font-size: clamp(14px, .95vw, 16px) !important; line-height: 1.5; margin-bottom: clamp(20px, 1.8vw, 32px) !important; }
.login-form .field { margin-bottom: clamp(14px, 1.2vw, 20px); }
.login-form label { font-size: clamp(14px, .95vw, 16px); font-weight: 700; color: var(--navy); margin-bottom: 8px; display: block; }
.login-form input { height: clamp(48px, 3.4vw, 58px); font-size: clamp(15px, 1vw, 17px); border-radius: 16px; padding: 0 18px; }
.login-form .btn.primary { border-radius: 16px; min-height: clamp(50px, 3.5vw, 60px); font-size: clamp(15px, 1.05vw, 18px); font-weight: 700; }
.login-form .ms-login { gap: 12px; }
.login-form .ms-login svg { width: 20px; height: 20px; }
.login-form p.small.muted { font-size: clamp(13px, .9vw, 15px); }
.login-hilfe { margin-top: clamp(22px, 2vw, 34px); padding: clamp(16px, 1.2vw, 22px) clamp(18px, 1.4vw, 24px); border-radius: 18px; background: var(--surface);
  border-left: 4px solid var(--blue); font-size: clamp(13.5px, .95vw, 16px); line-height: 1.6; color: #47548C; }
.login-hilfe b { color: var(--navy); }
@media (max-width: 1000px) {
  .login-karte { grid-template-columns: 1fr; }
  .login-hero { padding: 36px 24px; }
  .lh-bausteine { grid-template-columns: 1fr; }
  .login-form { padding: 32px 22px; box-shadow: none; }
}

/* Schmale Bildschirme */
@media (max-width: 1100px) { .topbar .search { width: 200px; flex-basis: 200px; } .mode-chip { display: none; } }
@media (max-width: 760px) {
  .topbar { padding: 12px 16px 8px; }
  .topbar .search { width: auto; flex: 1 1 auto; }
  .topbar .pille { flex: 1; }
  .content { padding: 12px 16px 40px; }
  h1 { font-size: 24px; }
}

/* Einstellungen › Datenimport, Läufe, System (09.11.2026, views/betrieb.js) */
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 16px; }
.kachel { display: flex; flex-direction: column; gap: 6px; min-height: 230px; }
.kachel h2 { margin: 0; }
.kachel-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.kachel-kopf .ab-chip { font-size: 13px; padding: 3px 10px; }
.kachel-zahl { font-size: 15px; margin-top: 8px; }
.kachel-liste { margin: 2px 0 0 18px; padding: 0; font-size: 13px; }
.kachel-liste li { margin: 2px 0; }
.kachel-tabellen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.kachel-tabellen > div { display: flex; flex-direction: column; background: var(--surface); border-radius: 12px; padding: 8px 10px; font-size: 12px; }
.kachel-tabellen b { font-size: 18px; color: var(--navy); }
.kachel-fuss { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--hair); }
.unterkopf { margin: 18px 0 8px; font-size: 15px; }
.kopfzeile { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.kopfzeile h2 { margin: 0; }
.zeitplan { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; }
.zeitplan .l { text-transform: uppercase; letter-spacing: .5px; font-size: 11px; }
details.aufklapp > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; }
details.aufklapp > summary::-webkit-details-marker { display: none; }
details.aufklapp > summary h2 { margin: 0; }
details.aufklapp > summary::after { content: '▸'; margin-left: auto; color: var(--muted); }
details.aufklapp[open] > summary::after { content: '▾'; }
.ampel-kopf { padding: 12px 16px; border-radius: 14px; font-weight: 700; }
.ampel-kopf .small { font-weight: 400; color: var(--muted); margin-left: 8px; }
.lauf-aktiv { background: var(--amp-orange-bg); color: var(--amp-orange); border-radius: 12px; padding: 8px 12px; margin-bottom: 12px; font-size: 13px; }
.laeufe-tab td { vertical-align: top; }
.laeufe-tab td .small.muted { max-width: 340px; }
.laeufe-tab td.ergebnis { max-width: 360px; }
.laeufe-tab td.aktionen { text-align: right; }
.laeufe-tab td.aktionen .btn { margin-left: 4px; }
.ordner-chip { display: inline-flex; gap: 6px; align-items: center; padding: 4px 8px; border: 1px solid var(--hair-strong); border-radius: 10px; background: var(--white); }
.facts.verbindungen { border: 0; padding: 0; margin: 0; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (max-width: 900px) { .kachel-tabellen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Einstellungen › Provisionsabgleich in zwei Spalten (09.11.2026) */
.einst-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; margin-top: 8px; }
.einst-gruppe h3 { margin: 6px 0 12px; font-size: 15px; padding-bottom: 6px; border-bottom: 1px solid var(--hair); }
.einst-gruppe .field { margin-bottom: 14px; }
.einst-gruppe .field .hinweis { font-size: 12px; color: var(--muted); margin-top: 4px; }
@media (max-width: 900px) { .einst-spalten { grid-template-columns: 1fr; } }
/* Auswertungen: Jahresübersicht Ist je Monat (09.11.2026, views/auswertungen.js) */
.aw-kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.aw-kachel { padding: 18px 20px; }
.aw-kachel .l { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.aw-kachel .v { font-size: 26px; font-weight: 700; color: var(--navy); margin: 6px 0 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.aw-kachel .s { font-size: 12px; color: var(--muted); }
.aw-kachel.haupt { background: var(--verlauf); color: #fff; }
.aw-kachel.haupt .l, .aw-kachel.haupt .s { color: rgba(255,255,255,.85); }
.aw-kachel.haupt .v { color: #fff; }
.aw-kachel .punkt { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.aw-raster { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.aw-anteil { display: inline-block; width: 60px; height: 6px; background: var(--surface); border-radius: 3px; margin-right: 8px; vertical-align: middle; overflow: hidden; }
.aw-anteil span { display: block; height: 100%; background: var(--blue); border-radius: 3px; }
.aw-monate tr.muted td { color: var(--muted); }
.aw-monate tr.aw-summe td { border-top: 2px solid var(--hair-strong); }
@media (max-width: 1100px) { .aw-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } .aw-raster { grid-template-columns: 1fr; } }
/* Prüfliste: Stand je Fall und aufklappbare Fallakte (09.11.2026) */
.kl-stand { margin-top: 6px; }
.kl-stand .ab-chip { font-size: 11px; }
.kl-auf { border: 0; background: var(--surface); color: var(--navy); width: 22px; height: 22px; border-radius: 6px; cursor: pointer; margin-right: 6px; font-size: 12px; line-height: 22px; padding: 0; }
.kl-auf:hover { background: var(--hair-strong); }
tr.offen > td { background: var(--surface); }
tr.kl-detail > td { background: var(--surface); padding: 4px 12px 16px; }
.kl-akte { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 12px; }
.kl-akte-teil { background: var(--white); border-radius: 14px; padding: 12px 14px; border: 1px solid var(--hair); }
.kl-akte-teil h4 { margin: 0 0 8px; font-size: 14px; display: flex; gap: 10px; align-items: baseline; }
.kl-akte-teil h5 { margin: 12px 0 6px; font-size: 13px; }
.facts.kl-facts { border: 0; padding: 0; margin: 0; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 14px; }
.facts.kl-facts .v { font-size: 13px; }
.kl-airtime { display: flex; flex-wrap: wrap; gap: 8px; }
.kl-airtime > div { background: var(--surface); border-radius: 10px; padding: 6px 10px; font-size: 12px; }
.kl-airtime .l { color: var(--muted); }
.kl-akte-teil.breit { grid-column: 1 / -1; }
/* Monatsabschluss (09.11.2026, views/abschluss.js) */
.ab-regeln { display: grid; gap: 6px; }
.ab-regel { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: 13px; }
.ab-regel b { color: var(--navy); }
table.ab-tabelle td { vertical-align: top; }
table.ab-tabelle .ab-kopf { min-width: 190px; }
.ab-zelle { min-width: 190px; }
.ab-zelle.st-festgeschrieben { background: var(--amp-gruen-bg); }
.ab-zelle.st-vorgelegt { background: var(--amp-orange-bg); }
.ab-status { white-space: nowrap; }
.ab-sym { display: inline-block; width: 18px; }
.ab-knoepfe { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ab-frist-ueber { color: var(--amp-rot); font-weight: 600; }
.aufklapp-knopf { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 14px; padding: 0 4px; }
tr.ab-details > td { background: var(--surface); }
.ab-detail-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ab-detail-raster h3 { font-size: 14px; margin: 0 0 6px; }
.ab-liste { margin: 0; padding-left: 18px; }
.ab-crm { margin-top: 12px; }
.ab-crm-inhalt { margin-top: 8px; }
ul.ab-check { list-style: none; padding: 0; margin: 0 0 10px; }
ul.ab-check li { padding: 3px 0; }
ul.ab-check li.hart { color: var(--amp-rot); font-weight: 600; }
ul.ab-check li.weich { color: var(--amp-orange); }
.ab-hinweis { background: var(--white); border-left: 4px solid var(--teal); border-radius: 0 14px 14px 0; box-shadow: var(--schatten); padding: 10px 16px; margin: 0 0 14px; font-size: 13px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.ab-hinweis.festgeschrieben { border-left-color: var(--amp-gruen); }
.ab-hinweis.vorgelegt { border-left-color: var(--amp-orange); }
/* gut sichtbar (10.11.2026): festgeschrieben grün, vorgelegt orange - Leiste mit Titel und Abzeichen an der Überschrift */
.ab-hinweis.gross { padding: 14px 18px; margin: 0 0 18px; border-left-width: 6px; justify-content: flex-start; gap: 14px; font-size: 13.5px; }
.ab-hinweis.gross.festgeschrieben { background: var(--amp-gruen-bg); }
.ab-hinweis.gross.vorgelegt { background: var(--amp-orange-bg); }
.ab-hinweis.gross .ab-h-icon { font-size: 26px; line-height: 1; flex: none; }
.ab-hinweis.gross .ab-h-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.ab-hinweis.gross .ab-h-text b { font-size: 16px; color: var(--navy); }
.ab-hinweis.gross.festgeschrieben .ab-h-text b { color: var(--amp-gruen); }
.ab-hinweis.gross.vorgelegt .ab-h-text b { color: var(--amp-orange); }
.ab-hinweis.gross .btn { flex: none; white-space: nowrap; }
.ab-badge { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.ab-badge.festgeschrieben { background: var(--amp-gruen); color: #fff; }
.ab-badge.vorgelegt { background: var(--amp-orange); color: #fff; }
@media (max-width: 700px) { .ab-hinweis.gross { flex-wrap: wrap; } }
@media (max-width: 900px) { .ab-detail-raster { grid-template-columns: 1fr; } .ab-regel { grid-template-columns: 1fr; gap: 2px; } }
.ab-auf { border: 0; background: none; cursor: pointer; padding: 0; font: inherit; color: var(--navy); text-align: left; }
.ab-auf .small { color: var(--blue); margin-left: 4px; }
.ab-auf:hover .small { text-decoration: underline; }
.ab-bereiche { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ab-bereich { background: var(--white); border-radius: 14px; padding: 10px 12px; }
.ab-bereich code { font-size: 11px; }

/* Monatsabschluss-PDF je Version (10.11.2026) */
.ab-pdfs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* Update-Hinweis oben links unter dem Logo (10.11.2026, public/js/update.js) */
.update-hinweis { margin: 0 14px 10px; padding: 10px 12px; border-radius: 12px; display: flex; gap: 10px; align-items: center; font-size: 12px; line-height: 1.35; background: var(--amp-orange-bg); color: var(--navy); border-left: 4px solid var(--amp-orange); }
.update-hinweis b { display: block; font-size: 12.5px; }
.update-hinweis span:not(.u-dreh) { display: block; color: var(--muted, #6C929B); }
.update-hinweis.u-fertig { background: var(--amp-gruen-bg); border-left-color: var(--amp-gruen); flex-wrap: wrap; }
.update-hinweis .btn { margin-left: auto; }
.update-hinweis .u-dreh { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid var(--amp-orange); border-top-color: transparent; animation: u-dreh 0.9s linear infinite; }
@keyframes u-dreh { to { transform: rotate(360deg); } }
