/* Typografie-Schicht (13.10.2026, Thomas: „extreme Vielfalt an Groß-, Klein-, Fett-, Grau-, Unterstreichungen“)
   Wird auf jeder Seite ZULETZT geladen. Ein System statt vieler Einzelstile:
   · eine Schrift (system-ui), Stärken 400 / 500 / 600
   · Größen 12,5 · 13,5 · 15 · 17 · 22 · 30 px
   · zwei Textfarben: Tinte (--ink) und ein Grau (--ink-2); kein drittes Grau
   · Beschriftungen in normaler Schreibweise, halbfett, klein, grau – keine gesperrten Versalien
   · Links ohne Dauer-Unterstreichung, unterstrichen erst beim Überfahren (Fließtext ausgenommen)
   Neue Versalien-Regeln an anderer Stelle hebt diese Liste nicht automatisch auf: test/integration/mac-app.test.js prüft das. */
:root { --ink: #1E2A25; --ink-2: #646B66; --fs-xs: 12.5px; --fs-sm: 13.5px; --fs-md: 15px; --fs-lg: 17px; --fs-xl: 22px; --fs-2xl: 30px; }
body { color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga", "calt"; }
h1, h2, h3, h4 { letter-spacing: -0.01em; }

/* Beschriftungen (früher VERSALIEN, gesperrt) */
.ap-lage h3,
.ap-tl-now span,
.ap-prop h2,
.tk-h,
.nb-card h3,
.ap-orig > details > summary,
.ap-lage .ap-band > h3,
.ap-lage .ap-band .ap-bh,
.ap-day,
.day-sec h3,
.kal-month th,
.kal-sub,
.kal-sec-h,
.vzm-eyebrow,
.hs-arch .sr-sec-h,
.eyebrow,
th,
.kpil,
.mn-head,
.vz-lane-h,
.vz-h,
.vz-group-h,
.vz-sec-h h3,
.vz-drawer h3,
.cost-kpis span,
.as-h,
.as-sub,
.as-h-head,
.more-group h2,
.mcmd-label,
.cs-sug-top,
.cs-or,
.sr-gh,
.sr-side-sec .h4,
.sr-archive .h4,
.ct-h,
.ct-tag,
.as-reveal .as-rv-eyebrow,
.mn-new,
.hp-live-l,
.agid-code-row input,
.userdrop-admin .acct-h,
.adm-kv dt,
.userdrop.um .userdrop-accts .acct-h,
.ad-memo h4,
.brf-kicker,
.brf-over,
.atts.da .atts-h,
.vzn-f-h,
.vg-k,
html.ui-new .vzn-sec-h,
html.ui-new .vzf-block h3,
html.ui-new .vzf-block-h h3,
html.ui-new .vzf-hrow dt {
  text-transform: none !important; letter-spacing: 0 !important; font-size: var(--fs-sm) !important; font-weight: 600 !important;
}

/* ---------- Arbeitsplatz ---------- */
.ap-app { color: var(--ink); }
.ap-app .ap-title { font: 600 var(--fs-xl)/1.2 var(--sans); letter-spacing: -0.02em; }
/* Links: Zeilen sind klickbar, Unterstreichung nur beim Überfahren */
.ap-app a { text-decoration: none; }
.ap-app :is(.ap-lead, .tk-text, .vzf-draft-body, .mailbody) a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.ap-app :is(.ap-list, .ap-cols, .ap-read-list, .tk-src, .tk-mem) a:hover { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }

/* Briefing */
.ap-app .ap-brief .ap-eyebrow { font-size: var(--fs-sm); color: var(--ink-2); }
.ap-app .ap-brief h1 { font: 600 var(--fs-2xl)/1.2 var(--sans); letter-spacing: -0.025em; margin: 6px 0 14px; }
.ap-app .ap-lead { font-size: var(--fs-lg); line-height: 1.65; max-width: 66ch; color: var(--ink); margin: 0 0 28px; }
.ap-app .ap-cols { gap: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.ap-app .ap-cols h3 { font: 600 var(--fs-sm)/1.3 var(--sans); color: var(--ink-2); margin: 0 0 8px; letter-spacing: 0; }
.ap-app .ap-cols h3:not(:first-child) { margin-top: 22px; }
.ap-app .ap-cols .ap-empty { color: var(--ink-2); font-size: var(--fs-sm); padding: 0; margin: 0; }
.ap-app .ap-cols p.small { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }
.ap-list { list-style: none; margin: 0; padding: 0; }
.ap-list li > a, .ap-list li > .ap-it { display: flex; align-items: flex-start; gap: 12px; margin: 0 -10px; padding: 8px 10px; border-radius: 10px; color: inherit; }
.ap-list li > a:hover { background: #F4F2EC; }
.ap-list li + li { border-top: 1px solid #F0EDE6; }
.ap-it { display: grid; gap: 2px; min-width: 0; flex: 1; }
.ap-it-m { font-size: var(--fs-md); line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ap-it-s { font-size: var(--fs-xs); color: var(--ink-2); }
.ap-it-a { flex: none; font-size: var(--fs-xs); color: var(--ink-2); font-variant-numeric: tabular-nums; padding-top: 3px; white-space: nowrap; }
.ap-list .ap-chip { flex: none; margin-top: 2px; }

/* Vorschlag + Gespräch */
.ap-app .ap-prop { border-radius: 14px; padding: 18px 22px; }
.ap-app .ap-prop h2 { font: 600 var(--fs-sm)/1.3 var(--sans); color: var(--ap-green, #17362c); margin: 0 0 6px; }
.ap-app .ap-prop p { font-size: var(--fs-md); line-height: 1.55; }
.ap-app .tk-h { font: 600 var(--fs-sm)/1.3 var(--sans); color: var(--ink-2); }
.ap-app .tk-bub { font-size: var(--fs-md); line-height: 1.55; }

/* Lage: ruhiger, gleiche Maße */
.ap-app .ap-day { color: var(--ink-2); font-size: var(--fs-sm); }
.ap-app .ap-lage .ap-bh .ap-bh-l { font-size: var(--fs-sm); }
.ap-app .ap-band li > a > b { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.ap-app .ap-band .ap-chip { font-size: 12px; }
.ap-app .ap-acct { font-size: 12px; color: var(--ink-2); }
.ap-app .ap-tl-list li { font-size: var(--fs-sm); }
.ap-app .ap-tl-list time { color: var(--ink-2); }
.ap-app .ap-lage .ap-fold > summary::after { transition: transform .25s cubic-bezier(.2,.75,.25,1); }

/* Vorgang (Mitte): Beschriftungen ruhig, Text in Tinte */
.ap-app .vzf-block h3, .ap-app .vzn-sec-h { color: var(--ink-2); }
.ap-app .ap-pos { font-size: var(--fs-sm); color: var(--ink-2); }
.ap-app .ap-tl-list li > a, .ap-app .ap-tl-list li > span { align-items: flex-start; }
.ap-app .ap-tl-i { display: inline-grid; place-items: center; width: 16px; padding-top: 2px; color: var(--band, var(--ink-2)); }

/* Vorgang: eine Fettstufe (600) statt 700/800, Empfängerliste der Originalmail ruhig */
.ap-app :is(h1, h2, h3, h4, b, strong, th) { font-weight: 600; }
.ap-app .ap-main :is(.vz-orig, .ap-orig) :is(.mv-to, .mail-to, .vzf-to, p:first-of-type) b { font-weight: 400; color: var(--ink); }
.ap-app .mailbody :is(b, strong) { font-weight: 700; } /* Mailinhalt bleibt, wie er geschrieben wurde */

/* ---------- Einzelvorgang (13.10.2026): eine Hierarchie statt vieler Stile ----------
   Kopf: Herkunft klein/grau · Titel 24/600 · Meta 13,5 grau · Kernaussage 16
   Karten: Beschriftung klein/halbfett/grau · Aussage 17/600 · Erklärung 14 grau
   Auswahlfelder (Zeit, Konto) als ruhige Pillen statt orangefarbener Unterstreichung */
html body .ap-app .vzm-eyebrow { font-size: var(--fs-sm); font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
html body .ap-app .vzm-eyebrow .vzm-due { font-weight: 500; color: #A4492A; }
html body .ap-app .vzm-title { font: 600 24px/1.25 var(--sans); letter-spacing: -0.02em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html body .ap-app .vzm-meta { font-size: var(--fs-sm); color: var(--ink-2); margin-top: 10px; }
html body .ap-app .vzm-meta a, html body .ap-app .vzm-meta .vzf-amt { color: var(--ink); font-weight: 500; }
html body .ap-app .vzm-summary { font-size: 16px; line-height: 1.6; color: var(--ink); margin-top: 14px; }
html body .ap-app .pc { font-size: 12px; font-weight: 500; letter-spacing: 0; }
/* Empfehlung */
html body .ap-app .vzm-k { font: 600 var(--fs-sm)/1.4 var(--sans); color: var(--ink-2); }
html body .ap-app .vzm-reco { font: 600 var(--fs-lg)/1.45 var(--sans); color: var(--ink); }
html body .ap-app .vzm-reco-sub, html body .ap-app .vzm-reco + p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
html body .ap-app :is(.ap-why-link, .hp-why, .vzm-link) { color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); }
html body .ap-app :is(.ap-why-link, .hp-why, .vzm-link):hover { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
html body .ap-app .vzm-note { font-size: var(--fs-xs); color: var(--ink-2); }
/* Aufgaben-Vorschlag: Zeit + Titel + Konto */
html body .ap-app .vzm-heading, html body .ap-app .vzm-heading.is-sub { font: 600 var(--fs-lg)/1.45 var(--sans); letter-spacing: -0.005em; color: var(--ink); }
html body .ap-app .vzm-when { display: block; margin: 0 0 8px; }
html body .ap-app .vzm-when br { display: none; }
html body .ap-app .vzm-inline { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 12px; border: 0; border-radius: 999px; background: #F7E8E0; color: #A4492A; font: 500 14px/1.4 var(--sans); letter-spacing: 0; text-decoration: none; transition: background .15s; }
html body .ap-app .vzm-inline:hover { background: #F1DACE; }
html body .ap-app .vzm-inline::after { content: ''; width: 6px; height: 6px; margin: 0 2px 2px 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
html body .ap-app .vzm-inline:disabled { background: #F1EFE9; color: var(--ink-2); }
html body .ap-app .vzm-firmline { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 400 var(--fs-sm)/1.4 var(--sans); color: var(--ink-2); }
html body .ap-app .vzm-firmline .vzm-inline { background: #EEF1EF; color: var(--ink); font-size: var(--fs-sm); }
html body .ap-app .vzm-firmline .vzm-inline:hover { background: #E3E8E5; }
html body .ap-app .vzm-intro { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin-top: 12px; }
html body .ap-app .vzm-prepared h2, html body .ap-app .vzm-facets h2, html body .ap-app .vzm-sheet h2 { font: 600 var(--fs-md)/1.4 var(--sans); letter-spacing: 0; color: var(--ink); }
html body .ap-app .vzm-prepared p, html body .ap-app .vzm-facets p { font-size: var(--fs-sm); color: var(--ink-2); }
html body .ap-app .vzm-prepared .vzm-eyebrow { font-weight: 600; }
/* Originalmail: Empfänger ruhig, lange Verteiler eingeklappt; Anhänge-Überschrift als Beschriftung */
html body .ap-app .mv-rcpt { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }
html body .ap-app .mv-rcpt b { font-weight: 400; color: var(--ink); }
.mv-rcpt-long > summary { cursor: pointer; list-style: none; }
.mv-rcpt-long > summary::-webkit-details-marker { display: none; }
.mv-rcpt-long > summary::before { content: none !important; }
.mv-rcpt-long > summary::after { content: ' ▾'; color: var(--ink-2); }
.mv-rcpt-long[open] > summary { display: none; }
.mv-rcpt-long > p { margin: 0; }
html body .ap-app .atts-h, html body .ap-app .atts .atts-h { font: 600 var(--fs-sm)/1.3 var(--sans); color: var(--ink-2); letter-spacing: 0; text-transform: none; margin: 18px 0 10px; }

html body .ap-app .vzm-link { min-height: 0; }
html body .ap-app :is(.ap-next, [data-ap-next], .ap-akte-add, .vf-akte-add) { text-decoration: none; }
html body .ap-app a:is([data-ap-next], .ap-next-link) { text-decoration: none; color: var(--ink-2); }
html body .ap-app a:is([data-ap-next], .ap-next-link):hover { color: var(--ink); }
html body .ap-app .ap-nextlink { font-size: var(--fs-sm); color: var(--ink-2); text-decoration: none; }
html body .ap-app .ap-nextlink:hover { color: var(--ink); }
html body .ap-app summary.btn.text { text-decoration: none; font-weight: 500; color: var(--ink-2); }
html body .ap-app summary.btn.text:hover { color: var(--ink); }
html body .ap-app .vzm-story { padding-top: 6px; }
html body .ap-app .vzm-work > .vzm-task-slot:not(:empty) { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- Alle Seiten im Büro (13.10.2026): Mail-Ansicht, Kalender, Aufgaben, Akten, Notizbücher ---------- */
/* Seitentitel und Überschriften: eine Stufe je Ebene */
.office-ui main.office-main h1, .office-ui main h1 { font: 600 28px/1.2 var(--sans); letter-spacing: -0.02em; }
.office-ui main h2, .office-ui main .h4, .office-ui .ap-drawer h2 { font-weight: 600; letter-spacing: -0.01em; }
.office-ui main h2:not(.kal-range) { font-size: 19px; }
.office-ui main h3 { font-size: var(--fs-md); font-weight: 600; }
/* eine Fettstufe */
.office-ui main :is(b, strong):not(:where(.mailbody *, .mail-frame *, .vzf-draft-body *)) { font-weight: 600; }
/* Links: Breadcrumb, Textknöpfe, Zurück-Links, Fußzeile ohne Dauer-Unterstreichung; Links im Fließtext dezent */
.office-ui :is(main, footer) :is(a, summary, button) { text-decoration: none; }
.office-ui :is(main, footer) :is(a, summary, button.btn.text):hover { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
.office-ui main p:not(:where(.ap-list *, .ap-band *, nav *)) > a:not(.btn) { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: 3px; }
.office-ui main :where(.mailbody, .mail-frame) a { text-decoration: underline; }
/* Mail-Ansicht: Betreff als Titel, Absender in Tinte */
.office-ui main .mv-from b, .office-ui main .im-from b { color: var(--ink); }
/* Ein „Neuer Auftrag“-Knopf: auf breiten Bildschirmen der in der Spalte, sonst der schwebende */
@media (min-width: 1000px) { body:has(.ap-lage-top .ap-plus) .ap-fab-g { display: none; } }
.office-ui :is(main, footer) :is(.btn.text, a.btn, .kal-chip) { text-decoration: none; }
.office-ui :is(main, footer) :is(.btn.text, a.btn):hover { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
/* Lage-Spalte gleich auf allen Seiten (nicht nur im Arbeitsplatz) */
.office-ui .ap-lage a, .office-ui .ap-lage a:hover { text-decoration: none !important; }
.office-ui .ap-lage .ap-band li > a > b { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.office-ui .ap-lage .ap-chip { font-size: 12px; font-weight: 400; }
.office-ui .ap-lage .ap-acct { font-size: 12px; color: var(--ink-2); }
.office-ui .ap-lage .ap-day { color: var(--ink-2); font-size: var(--fs-sm); }
/* Mail-Ansicht: Absender ohne Unterstreichung, Empfänger ruhig, Anhänge als Beschriftung */
.office-ui main .ct-namelink, .office-ui main p > a.ct-namelink { text-decoration: none; font-weight: 600; color: var(--ink); }
.office-ui main .ct-namelink:hover { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
.office-ui main .mv-rcpt { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }
.office-ui main .mv-rcpt b { font-weight: 400; color: var(--ink); }
.office-ui main .atts-h { font: 600 var(--fs-sm)/1.3 var(--sans); color: var(--ink-2); letter-spacing: 0; margin: 22px 0 10px; }
.office-ui main .att-card .att-name { font-weight: 500; }

/* Akten-Übersicht: ruhige Karten. Akten-Farbe nur als feine Linie oben links, kein Farbflächen-Mix; „prüfen“ als dezenter Hinweis */
.office-ui .ak-card { border-left: 1px solid var(--line); box-shadow: inset 3px 0 0 color-mix(in srgb, var(--ak-c, #CFC7B8) 70%, white); padding: 16px 18px; gap: 6px; }
.office-ui .ak-card.has-warn { background: #fff; }
.office-ui .ak-card-h b { font-size: var(--fs-md); font-weight: 600; }
.office-ui .ak-card :is(p, span, small):not(.ak-pill) { font-weight: 400; }
.office-ui .ak-card-meta { font-size: var(--fs-xs); color: var(--ink-2); }
.office-ui .ak-warn { font-weight: 500 !important; color: #8A6516; }
.office-ui .ak-pill { font-weight: 500; }

/* ======================================================================================================
   Einheitliche Bauteile auf allen Seiten (13.10.2026, Nachtschicht: „Designsprache vereinheitlichen“)
   ====================================================================================================== */
/* 1) EIN Umschalter (Filter innerhalb einer Liste): grauer Track, weiße aktive Pille, 13,5/500 */
.office-ui :is(.readseg, .ot-filters, .seg, .ct-ktabs, .rp-tabs, .ms-seg) { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 3px; margin-bottom: 16px; background: #EEF0EC; border: 0; border-radius: 999px; }
.office-ui :is(.readseg, .ot-filters, .seg, .ct-ktabs, .rp-tabs, .ms-seg) > :is(a, button) { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 var(--fs-sm)/1.2 var(--sans); text-decoration: none; box-shadow: none; }
.office-ui :is(.readseg, .ot-filters, .seg, .ct-ktabs, .rp-tabs, .ms-seg) > :is(a, button):hover { color: var(--ink); text-decoration: none; }
.office-ui :is(.readseg, .ot-filters, .seg, .ct-ktabs, .rp-tabs, .ms-seg) > :is(a, button):is(.on, .is-on, .active, [aria-current], [aria-selected="true"], [aria-pressed="true"]) { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(20, 30, 25, .12); }
.office-ui :is(.readseg, .ot-filters, .seg, .ct-ktabs, .rp-tabs) .ap-n, .office-ui .ct-ktabs a span { font-size: 12px; color: var(--ink-2); font-weight: 500; }
/* 2) Reiter (Bereichswechsel oben): Unterstrich statt grüner Pillen */
.office-ui .sk-tabs a { font-weight: 500; font-size: var(--fs-md); color: var(--ink-2); }
.office-ui .sk-tabs a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
/* 3) Knöpfe: primär = Tinte, sekundär = weiß mit Linie (statt grauer Füllung), keine Schatten */
.office-ui .btn:not(.primary):not(.ghost):not(.text):not(.danger):not(.link) { background: #fff; color: var(--ink); border: 1px solid #D5D9D4; box-shadow: none; }
.office-ui .btn:not(.primary):not(.ghost):not(.text):not(.danger):not(.link):hover { background: #F6F7F4; }
.office-ui .btn.ghost { background: #fff; color: var(--ink); border-color: #D5D9D4; }
.office-ui .btn.ghost:hover { background: #F6F7F4; color: var(--ink); }
.office-ui .btn { font-weight: 600; border-radius: 10px; }
/* 4) Hinweis-Karten ohne farbigen Linksrand (Farben gehören der Spalte); Warnungen behalten ihren Ton */
.office-ui main .banner:not(.warn):not(.err):not(.bad):not(.ok) { border-left-width: 1px; border-left-color: var(--line); background: #fff; }
/* 5) Handy: leere Leiste weg, schwebendes ＋ verdeckt nichts, Kopf-Navigation gleich groß */
@media (max-width: 999px) {
  .ap-mstrip:empty { display: none !important; }
  .ap-shell-main { padding-bottom: 92px; }
  .ap-fab-g { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .office-ui .office-top :is(nav a, nav button, .office-tabs a) { font-size: 15px; }
}
/* 6) Fußzeile, Brotkrumen: ruhig */
.office-ui body > footer .footer-in a { color: var(--ink-2); }
/* Linien-Icons (src/views/icons.js) und Wärme-Punkt bei Kontakten */
svg.ic { display: inline-block; vertical-align: -3px; flex: none; }
.ct-wdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 4px; vertical-align: 1px; }
.nw-badge svg.ic { width: 18px; height: 18px; }

/* Einstellungen-Übersicht: ganze Zeile klickbar, kein Unterstrich, Geltungsbereich nicht in jeder Zeile */
.office-ui main .eo-link, .office-ui main .eo-link * { text-decoration: none !important; }
.office-ui main .eo-link:hover { background: #F6F7F4; }
.office-ui main .eo-scope { display: none; }
.office-ui main .eo-link b { font-weight: 600; color: var(--ink); }
.office-ui main .eo-desc { color: var(--ink-2); font-size: var(--fs-sm); }
/* Verbindungen: nur „Freigeben“ ist primär; „Vormerken“ sekundär; Aktionen unten bündig; „Bald“ grau */
.office-ui .cn-tile { display: flex; flex-direction: column; }
.office-ui .cn-tile .cn-act { margin-top: auto; }
.office-ui .cn-act button.btn.primary { background: #fff; color: var(--ink); border: 1px solid #D5D9D4; box-shadow: none; }
.office-ui .cn-act button.btn.primary:hover { background: #F6F7F4; }
.office-ui .cn-st { background: #EEF0EC !important; color: var(--ink-2) !important; font-weight: 500 !important; }
/* Kategorien: „Anheften“ als ruhiger Textknopf */
.office-ui .cat-pin { border: 0 !important; background: none !important; color: var(--ink-2) !important; font-weight: 500 !important; box-shadow: none !important; }
.office-ui .cat-pin:hover { color: var(--ink) !important; }
/* Postfach: Auswahlhinweis weg, Zähler im Titel nur einmal (steht schon am Reiter) */
.office-ui .im-selhint:empty, .office-ui .im-selhint { display: none; }
.office-ui .headline-row h1 .muted, .office-ui .headline-row h1 small { display: none; }
/* Netzwerk: zwei Hauptaktionen, Rest im ⋯-Menü */
.nw-more { position: relative; display: inline-block; }
.nw-more > summary { list-style: none; cursor: pointer; font-size: 18px; line-height: 1; padding: 6px 10px; }
.nw-more > summary::-webkit-details-marker { display: none; }
.nw-more-m { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 220px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(20,30,25,.12); display: grid; }
.nw-more-m > :is(a, button) { display: block; text-align: left; padding: 8px 10px; border: 0; background: none; border-radius: 8px; color: var(--ink); font: 400 var(--fs-sm)/1.3 var(--sans); text-decoration: none; cursor: pointer; }
.nw-more-m > :is(a, button):hover { background: #F4F2EC; }
.sr-more-f { margin-top: 6px; }
.sr-more-f > summary { cursor: pointer; color: var(--ink-2); font-size: var(--fs-sm); font-weight: 500; list-style: none; padding: 4px 0; }
.sr-more-f > summary::-webkit-details-marker { display: none; }
.sr-more-f > summary::after { content: ' ▾'; }
.sr-more-f[open] > summary::after { content: ' ▴'; }
/* Suche: das Feld oben in der Kopfzeile ist die Eingabe; kein zweites Feld auf der Seite */
.office-ui .sr-page .sr-pageform { display: none; }
/* Netzwerk: Symbol als Kreis, Entwurfsvorschau neutral, Titel ohne Dauer-Unterstrich, Art-Plaketten grau */
.office-ui .nw-badge { width: 40px !important; height: 40px !important; flex: none; justify-self: start; align-self: start; background: #F1EFE9 !important; color: var(--ink-2); }
.office-ui .nw-draft { border: 1px solid var(--line) !important; border-left-width: 1px !important; background: #FBFAF7 !important; color: var(--ink); }
.office-ui .nw-b h3 a, .office-ui .nw-b h3 { text-decoration: none; font-family: var(--sans); font-size: var(--fs-md); }
.office-ui .nw-kind, .office-ui .nw-b .nw-k { background: #EEF0EC !important; color: var(--ink-2) !important; font-weight: 500 !important; }
.office-ui .nw-step .nw-chip { background: #EEF0EC !important; color: var(--ink-2) !important; font-weight: 500 !important; border: 0 !important; }

/* Leerzustände, Hinweise, Kopfzeilen: eine ruhige Form (keine gestrichelten/cremefarbenen Kästen, keine Terrakotta-Ränder) */
.office-ui main :is(.ot-empty, .kal .banner, .or-card.or-new, .set-scope) { border-style: solid !important; border-width: 1px !important; border-color: var(--line) !important; background: #fff !important; box-shadow: none !important; }
.office-ui main .ot-empty { border-radius: 12px; padding: 18px 20px; color: var(--ink); }
html.office-ui body main .set-scope.set-scope { border: 0 !important; padding: 0 !important; margin: 4px 0 16px; color: var(--ink-2); font-size: var(--fs-xs); }
.office-ui main .kal .banner { border-radius: 12px; padding: 16px 18px; }
.office-ui main .kal:has(> .banner) .kal-foot { display: none; } /* nur wenn der Hinweis „Kalender verbinden“ schon da ist */
.office-ui main .brf-kicker { color: var(--ink-2) !important; font-weight: 500; }
.office-ui main .or-status { background: #EEF0EC !important; color: var(--ink-2) !important; }

/* ---------- nacht-a (Nachtschicht 13.10.2026) ---------- */
/* Nacht A (13.10.2026): /pro, /einladen, /feedback im einheitlichen Gestaltungssystem.
   Eine Schrift, Gewichte 400/500/600, Größen 12.5/13.5/15/17/22/28, Tinte var(--ink) + Grau var(--ink-2). */

/* ---------- gemeinsam ---------- */
:is(.na-pro, .na-ref, .na-fb) { font-family: var(--sans); color: var(--ink); }
:is(.na-pro, .na-ref, .na-fb) h1 { font: 600 28px/1.2 var(--sans); letter-spacing: -0.02em; margin: 0 0 8px; }
:is(.na-pro, .na-ref, .na-fb) :is(h2, .h4) { font: 600 17px/1.3 var(--sans); letter-spacing: -0.01em; text-transform: none; }
:is(.na-pro, .na-ref, .na-fb) .lead { font-size: 15px; line-height: 1.5; color: var(--ink-2); font-weight: 400; margin: 0 0 18px; }
:is(.na-pro, .na-ref, .na-fb) :is(.muted.small, .small.muted) { font-size: 12.5px; color: var(--ink-2); }
:is(.na-pro, .na-ref, .na-fb) .na-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-transform: none; letter-spacing: 0; margin: 0 0 8px; padding: 0; }
:is(.na-pro, .na-ref, .na-fb) a:not(.btn) { text-decoration: none; }
:is(.na-pro, .na-ref, .na-fb) :is(p, li) > a:not(.btn) { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: 3px; }
:is(.na-pro, .na-ref, .na-fb) .btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
:is(.na-pro, .na-ref, .na-fb) .btn.ghost:hover { background: #F6F7F4; }
:is(.na-pro, .na-ref, .na-fb) .btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- /pro ---------- */
.na-pro .plans { gap: 14px; align-items: stretch; }
.na-pro .plan { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; }
.na-pro .plan.featured { border: 1.5px solid var(--ink); }
.na-pro .na-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.na-pro .na-plan-head h2 { margin: 0; }
.na-pro .na-pill { flex: none; font-size: 12.5px; font-weight: 500; line-height: 1; color: var(--ink-2); background: #F1F2EF; border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.na-pro .na-plan-usage { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); }
.na-pro .na-price { font: 600 22px/1.2 var(--sans); color: var(--ink); margin: 10px 0 2px; white-space: nowrap; }
.na-pro .na-vat { font-size: 12.5px; line-height: 1.4; color: var(--ink-2); margin: 0 0 12px; }
.na-pro .plan ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; }
.na-pro .plan ul li { margin: 4px 0; }
.na-pro .na-buy { gap: 10px; margin: 18px 0 8px; }
.na-pro .na-buy .consent-row { font-size: 13.5px; margin: 0; border-radius: 12px; }
.na-pro .na-buy .consent-row:has(input:checked) { border-color: var(--ink); background: #fff; }
.na-pro .na-buy .consent-row input { accent-color: var(--ink); }
.na-pro .na-legal { margin: 0; font-size: 12.5px; color: var(--ink-2); }
.na-pro .na-legal a { color: var(--ink-2); }
.na-pro .na-buy .btn.primary { justify-self: start; align-self: flex-start; }

/* ---------- /einladen ---------- */
.na-ref .na-lead { max-width: 60ch; }
.na-ref .na-ref-quota { font-size: 13.5px; color: var(--ink-2); margin: -8px 0 12px; }
.na-ref .sharebox { margin: 4px 0 16px; }
.na-ref .sharebox > .share-url { height: 40px; font-size: 13.5px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; }
.na-ref .sharebox > .btn,
.na-ref .na-ref-main .btn,
.na-ref .ref-claim-row :is(input, .btn) { height: 40px; min-height: 40px; box-sizing: border-box; margin: 0; padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.na-ref .sharebox > .btn { padding-left: 18px; padding-right: 18px; }
.na-ref .sharebox .share-alt .btn { height: 34px; font-size: 13.5px; font-weight: 500; }
.na-ref .ref-claim-row input { font-weight: 400; justify-content: flex-start; padding: 0 12px; }
.na-ref .na-ref-main { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.na-ref .na-ref-why { font-size: 12.5px; color: var(--ink-2); margin: 0 0 16px; }
.na-ref .ref-code .na-label { display: inline; margin: 0 6px 0 0; }
.na-ref .ref-code code { font-size: 15px; letter-spacing: 0; background: #F1F2EF; }
.na-ref .beta-friends li { font-size: 13.5px; }
.na-ref .circle-member .eyebrow { text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

/* ---------- /feedback ---------- */
.na-fb .fb-kinds legend.na-label { float: none; width: 100%; }
.na-fb .fb-kind { position: relative; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 14px 16px; transition: border-color .12s ease, background-color .12s ease; }
.na-fb .fb-kind:hover { border-color: #C4C9C4; background: #FAFBF9; }
.na-fb .fb-kind.on, .na-fb .fb-kind:has(input:checked) { border: 1px solid var(--ink); box-shadow: 0 0 0 1px var(--ink); background: #fff; }
.na-fb .fb-kind-ico { width: 32px; height: 32px; border-radius: 8px; background: #F1F2EF; color: var(--ink); font-size: 0; }
.na-fb .fb-kind-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.na-fb .fb-kind-txt b { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.na-fb .fb-kind-txt .muted.small { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.na-fb .na-fb-chev { flex: none; color: var(--ink-2); transition: transform .12s ease; }
.na-fb .fb-kind:hover .na-fb-chev { transform: translateX(2px); color: var(--ink); }
.na-fb .fb-kind.on .na-fb-chev, .na-fb .fb-kind:has(input:checked) .na-fb-chev { transform: rotate(90deg); color: var(--ink); }
.na-fb .fb-body { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: grid; gap: 10px; }
.na-fb .fb-body[data-fb-wait] { display: none; }
.na-fb .fb-body > label[for="fb-text"] { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin: 0; }
.na-fb .fb-body textarea { font: 400 15px/1.5 var(--sans); border: 1px solid var(--line); border-radius: 8px; }
.na-fb .fb-body .btn.primary { justify-self: start; }
.na-fb .fb-row-t b { font-size: 15px; font-weight: 600; }
.na-fb .fb-row-t .muted.small, .na-fb .fb-row-no { font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 640px) {
  .na-fb .na-fb-chev { transform: none; }
  .na-fb .fb-kind.on .na-fb-chev, .na-fb .fb-kind:has(input:checked) .na-fb-chev { transform: rotate(90deg); }
}

/* ---------- nacht-c (Nachtschicht 13.10.2026) ---------- */
/* Nachtschicht C (13.10.2026): Interessen, Kategorien, Verbindungen im einheitlichen Typografie-System
   Eine Schrift · 400/500/600 · 12,5/13,5/15/17/22 px · Tinte + ein Grau · Beschriftungen halbfett, klein, grau. */

/* ---------- Interessen-Editor (/interests und Onboarding) ---------- */
.int-editor .chip,
.int-editor .ichip,
.int-editor .ichip-b { font-family: inherit; }
.int-editor .chip.sm { font: inherit; font-size: var(--fs-sm, 13.5px); font-weight: 500; line-height: 1.4; padding: 4px 12px; }
.int-editor .chip.add { color: var(--ink-2); }
.int-editor .chip.add:hover { color: var(--ink); }
.int-editor .ichip { font-size: var(--fs-sm, 13.5px); font-weight: 500; }
.int-editor .ichip.star { font-weight: 600; }
.int-editor .ichip-new { font-size: var(--fs-xs, 12.5px); font-weight: 500; text-transform: none; letter-spacing: 0; }
.int-editor .ichip-b { font-size: var(--fs-sm, 13.5px); }
.int-editor .int-legend { font-size: var(--fs-xs, 12.5px); color: var(--ink-2); margin: 0 0 14px; gap: 14px; }
.int-editor .int-hint { margin: 0 0 6px; font-size: var(--fs-xs, 12.5px); color: var(--ink-2); }
.int-editor .int-opt { font-size: var(--fs-xs, 12.5px); font-weight: 400; color: var(--ink-2); }
.int-editor .int-step h2 { font-size: var(--fs-lg, 17px); font-weight: 600; }
.int-editor .int-neg-block h3,
.int-editor .int-suggest h3,
.int-editor .int-preview h3,
.int-editor .int-add > label { font-size: var(--fs-sm, 13.5px); font-weight: 600; color: var(--ink-2); letter-spacing: 0; text-transform: none; margin: 0 0 8px; display: block; }
.int-editor .int-reanalyze-row { margin: 10px 0 0; }
.int-editor .int-reanalyze { padding: 4px 0; margin: 0; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.int-editor .int-reanalyze:hover { color: var(--ink); text-decoration: underline; }

/* Feldbeschriftungen auf „Meine Interessen“: 13,5/600 grau (im Onboarding bleiben die großen Fragen) */
.int-page .int-label { font-family: inherit; font-size: var(--fs-sm, 13.5px); font-weight: 600; line-height: 1.4; color: var(--ink-2); margin: 18px 0 4px; letter-spacing: 0; }
.int-page .int-step[data-step="1"] > .int-label:first-child { margin-top: 4px; }
.int-page h1 { font-size: var(--fs-xl, 22px); font-weight: 600; }
.int-page > p.muted { font-size: var(--fs-md, 15px); color: var(--ink-2); }
.int-page .int-actions { gap: 12px; }
.int-page .int-status { font-size: var(--fs-sm, 13.5px); color: var(--ink-2); }

/* ---------- Kategorien (/kategorien): feste Spalten je Zeile ---------- */
.kt-card .kt-h1 { display: flex; align-items: baseline; gap: 8px; }
.kt-card .kt-h-count { font-size: var(--fs-sm, 13.5px); font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
/* Spalte 1 = Auswahlkästchen der Mehrfachauswahl (listsel.js setzt es vor die Zeile), danach feste Spalten */
.kt-list .kt-row { display: grid; grid-template-columns: auto minmax(0, 1fr) 9.5rem 6.5rem 2rem; align-items: center; column-gap: 8px; padding: 4px 0; }
.kt-list .kt-row > .ms-box { grid-column: 1; }
.kt-list .kt-row > .kt-main { grid-column: 2; }
.kt-list .kt-row > .kt-done { grid-column: 3; }
.kt-list .kt-row > .cat-pin { grid-column: 4; }
.kt-list .kt-row > .mn-catmenu { grid-column: 5; }
.kt-list .kt-row > .ms-chip { grid-column: 2 / -1; justify-self: start; margin: 0 0 4px; }
.kt-list .kt-main { display: grid; grid-template-columns: 12px minmax(0, 1fr) 17rem 6.5rem; align-items: center; column-gap: 10px; min-width: 0; text-decoration: none; color: var(--ink); }
.kt-list .kt-main,
.kt-list .kt-main:hover,
.kt-list .kt-main * { text-decoration: none; }
.kt-list .kt-name { font-size: var(--fs-md, 15px); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kt-list .kt-meta { margin: 0; font-size: var(--fs-sm, 13.5px); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.kt-list .kt-unread { font-size: var(--fs-sm, 13.5px); font-weight: 600; color: var(--ink); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kt-list .kt-done { font-size: var(--fs-sm, 13.5px); font-weight: 400; color: var(--ink-2); text-decoration: none; white-space: nowrap; justify-self: start; }
.kt-list .kt-done:hover { color: var(--ink); text-decoration: underline; }
.kt-list .cat-pin { justify-self: start; margin: 0; padding: 4px 0; border: 0; background: none; box-shadow: none; color: var(--ink-2); font-size: var(--fs-sm, 13.5px); font-weight: 500; white-space: nowrap; }
.kt-list .cat-pin:hover { background: none; color: var(--ink); text-decoration: underline; }
.kt-list .cat-pin.on { color: var(--ink); font-weight: 600; }
.kt-list .kt-row .mn-catmenu { justify-self: end; }
@media (max-width: 760px) {
  .kt-list .kt-row { grid-template-columns: auto minmax(0, 1fr) 6.5rem 2rem; }
  .kt-list .kt-row > .cat-pin { grid-column: 3; }
  .kt-list .kt-row > .mn-catmenu { grid-column: 4; }
  .kt-list .kt-main { grid-template-columns: 12px minmax(0, 1fr) auto; }
  .kt-list .kt-meta,
  .kt-list .kt-done { display: none; }
}

/* ---------- Verbindungen (/verbindungen) ---------- */
.cn-page .cn-grid { align-items: stretch; }
.cn-page .cn-tile { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cn-page .cn-tile .cn-act { margin-top: auto; padding-top: 6px; }
.cn-page .cn-mono { background: #EEF0EC; color: var(--ink-2); font-weight: 600; font-size: var(--fs-md, 15px); }
.cn-page .cn-h h3 { font-size: var(--fs-md, 15px); font-weight: 600; }
.cn-page .cn-st { font-size: var(--fs-xs, 12.5px); font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.cn-page .cn-st.is-on, .cn-page .cn-st.is-ready { color: #1F6B43; }
.cn-page .cn-st.is-error { color: #A12A1C; }
.cn-page .cn-pkg { font-size: var(--fs-sm, 13.5px); font-weight: 500; }
.cn-page .cn-soon { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.cn-page .cn-soon[hidden] { display: none; }
.cn-page .cn-sec-h { font-size: var(--fs-lg, 17px); font-weight: 600; margin: 0 0 4px; letter-spacing: 0; text-transform: none; }
.cn-page .cn-soon > p { margin: 0 0 14px; color: var(--ink-2); }
.cn-page .cn-act [data-cn-mark] { background: #fff; color: var(--ink); border: 1px solid #D5D9D4; box-shadow: none; }
.cn-page .cn-act [data-cn-mark]:hover { background: #F6F7F4; color: var(--ink); }
.cn-page .cn-act [data-cn-mark][aria-pressed="true"] { color: var(--ink-2); border-color: var(--line); }

/* Hilfe, Mehr, Konto (Nacht 13.10.) */
/* nacht-b (13.10.2026): /hilfe, /mehr, /prefs nach dem Typografie-System.
   Eine Schrift · Stärken 400/500/600 · Größen 12,5/13,5/15/17/22/28 · Tinte + ein Grau · Karten weiß, 1px Linie, Radius 12.
   Alle Regeln auf die jeweilige Seite begrenzt (.ntb-hp, .ntb-more, .ntb-pf). */

/* ---------- /hilfe ---------- */
html body .hp-index.ntb-hp { max-width: 760px; margin-left: auto; margin-right: auto; }
html body .ntb-hp h1 { font-size: 28px; font-weight: 600; line-height: 1.2; margin: 0 0 6px; color: var(--ink); }
html body .ntb-hp .ntb-hp-lead { font-size: 15px; color: var(--ink-2); margin: 0 0 16px; line-height: 1.5; }
html body .ntb-hp .hp-search { margin: 0 0 8px; }
html body .ntb-hp .hp-search > input { height: 44px; border-radius: 10px; font-size: 15px; }
html body .ntb-hp .hp-search > .btn { height: 44px; border-radius: 10px; }
html body .ntb-hp .ntb-hp-neu { margin: 0 0 22px; font-size: 13.5px; }
html body .ntb-hp .ntb-hp-neu a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
html body .ntb-hp .ntb-hp-neu a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
html body .ntb-hp .hp-hits { margin: 0 0 24px; }

.ntb-hp-entries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 28px; }
@media (max-width: 680px) { .ntb-hp-entries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html body a.ntb-hp-entry { display: flex; flex-direction: column; gap: 3px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
html body a.ntb-hp-entry:hover { border-color: var(--ink-2); text-decoration: none; }
html body a.ntb-hp-entry:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ntb-hp-entry-ic { color: var(--ink-2); display: inline-flex; margin-bottom: 4px; }
.ntb-hp-entry-l { font-size: 15px; font-weight: 600; line-height: 1.3; }
.ntb-hp-entry-sub { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }

/* Kapitel: eine Spalte, kompakte Listen statt drei ungleich hoher Spalten */
html body .hp-chapters.ntb-hp-chapters { display: block; margin: 0; }
.ntb-hp-ch { margin: 0 0 26px; }
html body .ntb-hp-ch-h { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 6px; letter-spacing: -0.01em; text-transform: none; }
.ntb-hp-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
html body .ntb-hp-list > li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
html body .ntb-hp .ntb-hp-list > li > a, html body .ntb-hp-list > li > a { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
html body .ntb-hp .ntb-hp-list > li > a:hover, html body .ntb-hp-list > li > a:hover { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
.ntb-hp-desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- /mehr ---------- */
html body .ntb-more .ntb-more-h1 { font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--ink); margin: 6px 4px 10px; }
html body .ntb-more .more-group h2 { color: var(--ink-2); margin: 0 0 6px 4px; }
html body .ntb-more .more-card { border-radius: 12px; border: 1px solid var(--line); }
html body .ntb-more .more-row { min-height: 52px; box-sizing: border-box; padding: 11px 14px; border-bottom-color: var(--line); }
html body .ntb-more .more-row:last-child { border-bottom: 0; }
html body .ntb-more .more-row:hover { background: #F7F7F4; }
html body .ntb-more .more-l { font-size: 15px; font-weight: 500; color: var(--ink); }
html body .ntb-more .more-sub { font-size: 12.5px; color: var(--ink-2); }
html body .ntb-more .more-ico { color: var(--ink-2); background: #F1F3F0; }
html body .ntb-more .more-allfx { text-align: center; margin: -6px 0 18px; }
html body .ntb-more .more-logout { margin: 18px 0 8px; }

/* ---------- /prefs (Konto) ---------- */
html body .ntb-pf .set-sec { border-radius: 12px; border: 1px solid var(--line); }
html body .ntb-pf .set-sec > summary { font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink); min-height: 52px; box-sizing: border-box; }
html body .ntb-pf .ntb-pf-sub { font-size: 15px; font-weight: 600; color: var(--ink); margin: 22px 0 6px; letter-spacing: -0.01em; }
html body .ntb-pf .set-sec > .ntb-pf-sub:first-of-type { margin-top: 4px; }
html body .ntb-pf .ntb-pf-sub2 { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin: 16px 0 6px; }
html body .ntb-pf label[for], html body .ntb-pf .at-agents label, html body .ntb-pf .ar-mode legend { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
html body .ntb-pf :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]), select) { height: 40px; border-radius: 10px; box-sizing: border-box; font-size: 15px; }
html body .ntb-pf .consent-row b { font-weight: 600; font-size: 15px; }
html body .ntb-pf .ntb-pf-acts { display: flex; flex-wrap: wrap; gap: 8px; }
html body .ntb-pf .ntb-pf-acts .btn { margin: 0; }

/* Gefahrenzone: eigener Bereich ganz am Ende, kein Akkordeon */
.ntb-pf-danger { margin: 28px 0 0; }
html body .ntb-pf .ntb-pf-danger-h { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 8px 2px; }
.ntb-pf-danger-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
html body .ntb-pf .ntb-pf-danger-card .ntb-pf-sub { margin-top: 0; }
html body .ntb-pf a.btn.text.ntb-pf-del { color: var(--bad, #B3261E); font-weight: 600; text-decoration: none; padding-left: 0; padding-right: 0; }
html body .ntb-pf a.btn.text.ntb-pf-del:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Startseite: Preise (13.10.) */
.hp-price .hp-price-lead { max-width: 640px; margin: 8px auto 28px; }
.hp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; }
.hp-plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.hp-plan.is-free { border: 2px solid var(--ink); }
.hp-plan h3 { margin: 0; font-size: 19px; font-weight: 600; }
.hp-plan .hp-p { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.hp-plan .hp-p small { display: block; margin-top: 2px; line-height: 1.4; font-size: 13.5px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.hp-plan ul { margin: 6px 0 8px; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 15px; line-height: 1.45; }
.hp-plan .btn { align-self: flex-start; margin-top: auto; }
.hp-price .hp-price-note { max-width: 640px; margin: 20px auto 0; }
@media (max-width: 720px) { .hp-plans { grid-template-columns: 1fr; padding: 0 4px; } .hp-plan { padding: 22px 20px; } }

/* Vorgang bekommt den Fokus nur für Screenreader: kein Rahmen um den ganzen Vorgang */
.vz-panel[tabindex="-1"]:focus { outline: none; }

/* Handy: Später · Delegieren · Erledigt umbrechen statt rechts hinauszuragen (13.10.) */
@media (max-width: 600px) { .ap-bar-l { flex-wrap: wrap; row-gap: 8px; } }

/* Anbieter: Webhook eingeklappt, solange keiner eingetragen ist (13.10.) */
.door-wh-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.door-wh-fold > summary::-webkit-details-marker { display: none; }
.door-wh-fold > summary h2 { margin: 0; }
.door-wh-fold > summary::after { content: '▾'; color: var(--ink-2); font-size: 14px; }
.door-wh-fold[open] > summary::after { content: '▴'; }
.door-wh-fold[open] > summary { margin-bottom: 10px; }

/* Einstellungen: Unterleiste für zusammengelegte Reiter (13.10.) */
.set-subnav { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 16px; background: #EFEDE6; border-radius: 999px; }
.set-subnav a { padding: 6px 14px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); text-decoration: none; }
.set-subnav a.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.set-subnav a:hover { color: var(--ink); }

/* Glocke im Kopfbereich (13.10.) */
.bell { position: relative; display: inline-flex; align-items: center; margin-right: 8px; }
.bell-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; padding: 0; }
.bell-btn:hover, .bell-btn[aria-expanded="true"] { background: #F3F1EA; }
.bell-n { position: absolute; top: -5px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #B8402F; color: #fff; font-size: 11.5px; font-weight: 700; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #fff; font-variant-numeric: tabular-nums; }
.bell-pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 90; width: min(400px, calc(100vw - 24px)); max-height: min(70vh, 560px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(20, 30, 25, .16); padding: 6px 0; text-align: left; }
.bell-h { display: flex; align-items: center; gap: 8px; padding: 10px 16px 8px; font-size: var(--fs-md); border-bottom: 1px solid var(--line); }
.bell-hn { font-size: 12px; color: var(--ink-2); background: #EFEDE6; border-radius: 999px; padding: 1px 8px; }
.bell-list { list-style: none; margin: 0; padding: 0; }
.bell-list a { display: flex; gap: 10px; padding: 10px 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid #F1EFE9; }
.bell-list a:hover, .bell-list a:focus-visible { background: #F7F5EF; outline: none; text-decoration: none; }
.bell-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; background: var(--c-today, #A2741A); }
.bell-dot.is-decide { background: var(--c-now, #B5532E); }
.bell-dot.is-talk { background: #75608A; }
.bell-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.bell-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.bell-top b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bell-top time { flex: none; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bell-sum { font-size: 13.5px; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bell-meta { font-size: 12px; color: var(--ink-2); }
.bell-meta em { font-style: normal; color: #B5532E; font-weight: 600; }
.bell-list a.is-new { background: #FBF7EF; }
/* Ausblenden (18.10.2026): × rechts an Antworten und Erinnerungen */
.bell-list li.has-x { position: relative; } .bell-list li.has-x > a { padding-right: 40px; }
.bell-x { all: unset; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; font-size: 17px; color: #6B726E; cursor: pointer; }
.bell-x:hover, .bell-x:focus-visible { background: #EEEAE0; color: var(--ink); }
.bell-dot.is-remind { background: #C96F4A; }
.bell-empty { margin: 0; padding: 18px 16px; color: var(--ink-2); font-size: 14px; }
.bell-all { display: block; padding: 10px 16px 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.bell-all:hover { text-decoration: underline; }
@media (max-width: 600px) { .bell-pop { position: fixed; top: 64px; left: 12px; right: 12px; width: auto; } .bell { margin-right: 4px; } .bell-btn { width: 36px; height: 36px; } }

/* Handy: ＋ schwebt kleiner und am Rand, der Inhalt endet mit Luft darunter, damit nichts dauerhaft verdeckt ist (13.10.) */
@media (max-width: 760px) {
  .ap-plus:not(.ap-plus-s), .ap-fab-g { width: 46px !important; height: 46px !important; right: 12px !important; font-size: 26px; }
  .ap-shell-main, .ap-app .ap-main { padding-bottom: 88px; }
  body:has(:is(textarea, input[type="text"], input[type="search"]):focus) :is(.ap-fab-g, .ap-plus:not(.ap-plus-s)) { display: none !important; }
}


/* Arbeitsplatz: eine Handlungszeile im Vorgang (13.10.) – Hauptaktion, darunter Später · Delegieren · Erledigt · Mehr */
.ap-app footer.vz-p-actions { flex-wrap: wrap; row-gap: 14px; }
.ap-app .ap-bar.is-docked { flex: 0 0 100%; display: flex; align-items: center; gap: 8px; margin: 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); background: none; }
.ap-app .ap-bar.is-docked .ap-bar-l { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ap-app .ap-bar.is-docked .btn, .ap-app .ap-bar.is-docked summary.vzm-alt { min-height: 38px; padding: 0 14px; font-size: var(--fs-sm); font-weight: 600; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); display: inline-flex; align-items: center; }
.ap-app .ap-bar.is-docked details.vzm-moremenu { position: relative; margin: 0; }
.ap-app .ap-bar.is-docked details.vzm-moremenu > summary { list-style: none; cursor: pointer; }
.ap-app .ap-bar.is-docked details.vzm-moremenu > summary::-webkit-details-marker { display: none; }
/* Menü liegt über dem Gespräch darunter (verdecktes Menü, 13.10.) */
.ap-app .ap-bar.is-docked .vz-pop, .ap-app .ap-bar.is-docked [role=menu] { z-index: 90; left: 0; right: auto; }
.ap-app .ap-sheet [data-ap-talk], .ap-app .ap-sheet [data-ap-orig] { position: relative; z-index: 1; }
/* ruhige Zeile: Verlauf links, Nächster Vorgang rechts, gleiche Schrift */
.ap-app .ap-meta-row { position: relative; }
.ap-app .ap-meta-row > .ap-nextlink { position: absolute; top: 0; right: 0; height: 52px; display: inline-flex; align-items: center; padding: 0 0 0 16px; font-size: var(--fs-md); font-weight: 400; color: var(--ink-2); background: none; border: 0; cursor: pointer; }
.ap-app .ap-meta-row > .ap-nextlink:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ap-app .ap-meta-row > details.vg-hist > summary { min-height: 52px; display: flex; align-items: center; font-size: var(--fs-md); padding-right: 180px; }
@media (max-width: 600px) { .ap-app .ap-meta-row > details.vg-hist > summary { padding-right: 150px; } }
.ap-app .ap-bar.is-docked summary.vzm-alt::before, .ap-app .ap-bar.is-docked summary.vzm-alt::after, .ap-app .ap-bar.is-docked summary.vzm-alt > svg { display: none !important; content: none !important; }
.ap-app .ap-bar.is-docked summary.vzm-alt, .ap-app .ap-bar.is-docked summary.vzm-alt:hover { text-decoration: none !important; }
.ap-app .vzm-details:has(> .ap-meta-row) { display: block; width: 100%; }
.ap-app .ap-meta-row { width: 100%; flex: 1 1 100%; }
@media (max-width: 760px) { .ap-app .ap-bar.is-docked details.vzm-moremenu, .ap-app .ap-bar.is-docked summary.vzm-alt { width: auto !important; flex: 0 0 auto !important; justify-content: center; } }

/* Meldungen und Rückgängig (13.10., Thomas: „brauchen einen anderen Platz, wo sie weniger stören“): am Rechner unten links
   über der Lage statt mitten über dem Vorgang; kompakt, gleiche Form für alle Meldungen. Am Handy bleiben sie unten mittig. */
@media (min-width: 1000px) {
  html.office-ui .vz-undo { left: 24px; right: auto; bottom: 24px; transform: translateY(140%); max-width: 360px; padding: 8px 8px 8px 16px; border-radius: 12px; font-size: 13.5px; box-shadow: 0 10px 28px rgba(14,42,35,.22); }
  html.office-ui .vz-undo.on { transform: translateY(0); }
  html.office-ui .vz-undo .btn { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: 999px; }
  html.office-ui .toast { left: 24px; right: auto; bottom: 24px; transform: none; max-width: 360px; padding: 10px 14px 10px 16px; border-radius: 12px; font-size: 13.5px; box-shadow: 0 10px 28px rgba(14,42,35,.22); border-left: 0; }
  html.office-ui .toast.bye { transform: translateY(8px); }
  html.office-ui .toast-undo { border-radius: 999px; }
  /* liegen beide zugleich an, stapeln sie sich statt sich zu überdecken */
  html.office-ui body:has(.vz-undo.on) .toast { bottom: 84px; }
}

/* Vorbereitete Antwort: hineinklicken zum Ändern, Anhänge als Teil der Karte (13.10.) */
html.office-ui .vzf-draft[data-vzf-draft] { cursor: text; transition: border-color .15s ease, box-shadow .15s ease; }
html.office-ui .vzf-draft[data-vzf-draft]:hover, html.office-ui .vzf-draft[data-vzf-draft]:focus-visible { border-color: #C9C6BB; box-shadow: 0 0 0 3px rgba(32,60,52,.06); outline: none; }
html.office-ui .vzf-draft[data-vzf-draft] .vzf-hrow[data-vzf-f="from"] { cursor: pointer; }
html.office-ui .vzf-draft[data-vzf-draft] .vzf-hrow:hover dd, html.office-ui .vzf-draft[data-vzf-draft] .vzf-draft-body:hover { background: rgba(32,60,52,.035); border-radius: 6px; }
html.office-ui .vzf-draft-acts [data-vzf-edit] { display: none; } /* Klick in die Vorschau ersetzt den Knopf; „Fertig“ im Editor bleibt */
/* Anhänge: unterer Teil derselben Karte, ruhige Ablagefläche */
html.office-ui .vzf-draft:has(+ .atts.da) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom-style: dashed; }
html.office-ui .vzf-draft + .atts.da, html.office-ui .vzf-edit + .atts.da { margin-top: -1px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; background: #fff; padding: 10px 16px 12px; }
html.office-ui .atts.da .atts-h { margin: 2px 0 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
html.office-ui .atts.da .da-drop { display: flex; align-items: center; gap: 10px; padding: 6px 0 0; border: 0; background: none; }
html.office-ui .atts.da .da-add { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px 0 6px; border: 0; background: none; color: var(--ink); font-weight: 600; font-size: 13.5px; cursor: pointer; border-radius: 8px; box-shadow: none; }
html.office-ui .atts.da .da-add:hover { background: #F3F1EA; }
html.office-ui .atts.da .da-drop > .muted { font-size: 13px; color: var(--ink-2); }
html.office-ui .atts.da.is-over, html.office-ui .atts.da .da-drop.is-over { background: #F6FAF7; border-color: #9DB8A8; }
/* Zusammenfassung nutzt die Breite des Vorgangs (kein frühes Umbrechen) */
html.office-ui .vz-panel .vzm-summary { max-width: none; }
html.office-ui .vzf-reply:has(.atts.da.is-over) .vzf-draft { border-color: #9DB8A8; }
html.office-ui .vzf-draft + .atts.da, html.office-ui .vzf-edit + .atts.da { margin-left: 0 !important; margin-right: 0 !important; }

/* Verlauf + Nächster Vorgang rechts in der Knopfzeile (13.10.), keine eigene Zeile, keine zusätzlichen Linien */
.ap-app .ap-bar.is-docked { justify-content: space-between; flex-wrap: wrap; row-gap: 10px; }
.ap-app .ap-bar.is-docked .ap-bar-r { display: inline-flex; align-items: center; gap: 0; margin-left: auto; }
.ap-app .ap-bar-r .ap-histbtn, .ap-app .ap-bar-r .ap-nextlink { min-height: 38px; padding: 0 12px; border: 0; background: none; font: inherit; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); cursor: pointer; border-radius: 8px; position: static; height: auto; }
.ap-app .ap-bar-r .ap-histbtn:hover, .ap-app .ap-bar-r .ap-nextlink:hover { color: var(--ink); background: #F3F1EA; text-decoration: none; }
.ap-app .ap-bar-r .ap-histbtn[aria-expanded="true"] { color: var(--ink); }
.ap-app .ap-bar-r .ap-histbtn + .ap-nextlink { border-left: 1px solid var(--line); border-radius: 0 8px 8px 0; }
.ap-app details.vg-hist[data-ap-hist-docked] > summary { display: none; }
.ap-app details.vg-hist[data-ap-hist-docked] { border: 0; margin: 0; padding: 0; }
.ap-app details.vg-hist[data-ap-hist-docked][open] { margin: 14px 0 4px; }
.ap-app .vzm-details:has(> details.vg-hist[data-ap-hist-docked]) { border-top: 0; border-bottom: 0; padding-top: 0; padding-bottom: 0; }
/* weniger Linien unter dem Vorgang: Abstand statt Trennstrich vor Gespräch und Originalmail (13.10.) */
.ap-app .ap-sheet section.tk { border-top: 0; padding-top: 6px; margin-top: 22px; }
.ap-app .ap-sheet .ap-orig { border-top: 0; margin-top: 18px; padding-top: 0; }

/* Knopf arbeitet (13.10.): kleiner Spinner vor der Beschriftung, Text bleibt lesbar, Knopf gesperrt */
button.is-working, a.btn.is-working, [role=button].is-working { position: relative; pointer-events: none; cursor: progress; opacity: .92; }
button.is-working::before, a.btn.is-working::before, [role=button].is-working::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: cp-spin .7s linear infinite; flex: none; }
@keyframes cp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { button.is-working::before, a.btn.is-working::before { animation-duration: 1.8s; } }
/* reine Symbol-Knöpfe: Spinner statt Symbol, Größe bleibt */
:is(.tool, .tk-send, .ap-arr, .att-rm, .tool-done, .tool-later).is-working { color: transparent !important; }
:is(.tool, .tk-send, .ap-arr, .att-rm, .tool-done, .tool-later).is-working > * { visibility: hidden; }
:is(.tool, .tk-send, .ap-arr, .att-rm, .tool-done, .tool-later).is-working::before { position: absolute; left: 50%; top: 50%; margin: -7px 0 0 -7px; border-color: var(--ink-2, #646B66); border-right-color: transparent; }
.tk-send.is-working::before { border-color: #fff; border-right-color: transparent; }

/* Arbeitsplatz-Kopf im Raster der Spalten (13.10.): Titel + ＋ über der Lage, Blättern rechts auf Titelhöhe; Box bündig mit der Lage */
.ap-app .ap-top { display: grid; grid-template-columns: 330px minmax(0, 1fr); column-gap: 28px; align-items: center; margin: 4px 0 14px; }
.ap-app .ap-top-l { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ap-app .ap-top .ap-pos { margin: 0; min-height: 40px; }
.ap-app .ap-plus-head { width: 36px; height: 36px; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; position: static; box-shadow: 0 3px 10px rgba(23, 54, 44, .22); }
.ap-app .ap-plus-fab { display: none; }
@media (max-width: 960px) {
  .ap-app .ap-top { grid-template-columns: 1fr; row-gap: 10px; }
  .ap-app .ap-plus-head { display: none !important; }
  .ap-app .ap-plus-fab { display: inline-flex; align-items: center; justify-content: center; }
}
/* Projektvorschlag angesprungen (Direktlink aus der Lage) */
.nb-sc:target { outline: 2px solid var(--c-sug, #75608A); outline-offset: 3px; scroll-margin-top: 90px; }

/* Fokus ruhig und passend (13.10., Thomas: „orangene Rahmen passen nicht zu den Feldern“): grüner Schein statt oranger Linie */
html.office-ui :is(input, select, textarea):focus { outline: none; border-color: #7E9A8C; box-shadow: 0 0 0 3px rgba(32, 60, 52, .10); }
html.office-ui :is(input[type=checkbox], input[type=radio]):focus { box-shadow: none; }
html.office-ui :is(input[type=checkbox], input[type=radio]):focus-visible { outline: 2px solid #3E6B5A; outline-offset: 2px; }
html.office-ui .office-top .hs input[type=search]:focus, html.office-ui .hs input:focus { border: 0; box-shadow: none; outline: 0; }
html.office-ui :focus-visible { outline-color: #3E6B5A; }
html.office-ui .tool:focus-visible, html.office-ui .selbox input:focus-visible + span { outline-color: #3E6B5A; }
html.office-ui .tk-form:focus-within { border-color: #7E9A8C; box-shadow: 0 0 0 3px rgba(32, 60, 52, .10); }
html.office-ui .tk-form textarea:focus { border: 0; box-shadow: none; }

/* Alle Aufklappmenüs wie „Mehr“ (13.10., Thomas: Später, Delegieren, Weitere Aktionen sahen anders aus) */
.ap-app .ap-menu, html.office-ui .ot-more-menu {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(14, 42, 35, .14);
  padding: 6px; min-width: 240px; display: flex; flex-direction: column; gap: 0; z-index: 90;
}
.ap-app .ap-menu > button, .ap-app .ap-menu > a, html.office-ui .ot-more-menu > :is(button, a) {
  display: flex; align-items: center; width: 100%; text-align: left; padding: 9px 12px; margin: 0; border: 0; border-radius: 8px;
  background: none; box-shadow: none; font: inherit; font-size: 14px; font-weight: 400; line-height: 1.35; color: var(--ink); text-decoration: none; cursor: pointer; min-height: 0;
}
.ap-app .ap-menu > button:hover, .ap-app .ap-menu > button:focus-visible, html.office-ui .ot-more-menu > :is(button, a):hover, html.office-ui .ot-more-menu > :is(button, a):focus-visible { background: #F5F3EE; outline: none; text-decoration: none; }
.ap-app .ap-menu > .is-suggest { font-weight: 600; }
.ap-app .ap-menu > hr, html.office-ui .ot-more-menu > hr { border: 0; border-top: 1px solid var(--line); margin: 5px 6px; }
html.office-ui .ot-more-menu > .is-danger, html.office-ui .ot-more-menu > [class*="danger"], .ap-app .ap-menu > .is-danger { color: #B3261E; }
.ap-app .ap-menu .ap-custom { display: flex; gap: 8px; padding: 6px; }
/* Menü-Knöpfe überall wie „Mehr“: gleiche Höhe, Rahmen, Pfeil */
.ap-app .ap-bar .btn, html.office-ui details.ot-more > summary {
  min-height: 38px; padding: 0 14px; font-size: var(--fs-sm); font-weight: 600; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); display: inline-flex; align-items: center; box-shadow: none;
}
html.office-ui details.ot-more > summary { list-style: none; cursor: pointer; }
html.office-ui details.ot-more > summary::-webkit-details-marker { display: none; }
html.office-ui details.ot-more > summary::before { content: none !important; display: none !important; }
html.office-ui details.ot-more > summary::after { content: ' ▾'; font-size: 11px; margin-left: 4px; }
html.office-ui details.ot-more > summary:hover { background: #F7F5EF; text-decoration: none; }
@media (min-width: 961px) { .ap-app .ap-top .ap-plus-fab { display: none !important; } }
.ap-app .ap-menu { width: max-content; max-width: min(380px, calc(100vw - 32px)); }
.ap-app .ap-menu > button { white-space: nowrap; }
.ap-app .ap-menu > .is-suggest { font-weight: 500; }
.ap-app .ap-menu > .is-suggest::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c-planned, #4C7861); margin-left: 8px; }

/* Alle Aufklappmenüs exakt wie „Andere Aktion“ (13.10., Thomas): Symbol + Text, gleiche Box, gleiche Knöpfe */
html.office-ui :is(.ap-menu, .ot-more-menu).mi-menu {
  background: #fff; border: 1px solid #E3E1D9; border-radius: 10px; box-shadow: 0 10px 30px rgba(14, 42, 35, .14);
  padding: 6px; min-width: 236px; gap: 0;
}
html.office-ui :is(.ap-menu, .ot-more-menu).mi-menu > .mi {
  display: flex; align-items: center; gap: 11px; width: 100%; min-height: 38px; margin: 0; padding: 8px 10px; border: 0; border-radius: 8px;
  background: none; box-shadow: none; font: inherit; font-size: 14.5px; font-weight: 400; line-height: 1.35; color: var(--ink); text-align: left; text-decoration: none; white-space: nowrap;
}
html.office-ui :is(.ap-menu, .ot-more-menu).mi-menu > .mi:hover, html.office-ui :is(.ap-menu, .ot-more-menu).mi-menu > .mi:focus-visible { background: #F5EFE6; outline: none; text-decoration: none; }
html.office-ui :is(.ap-menu, .ot-more-menu).mi-menu > .mi > span { flex: 1; min-width: 0; }
html.office-ui :is(.ap-menu, .ot-more-menu).mi-menu > .mi.is-danger, html.office-ui :is(.ap-menu, .ot-more-menu).mi-menu > .mi.is-danger .ico { color: var(--bad, #B3261E); }
html.office-ui :is(.ap-menu, .ot-more-menu).mi-menu > .mi.is-suggest { font-weight: 500; }
html.office-ui :is(.ap-menu, .ot-more-menu).mi-menu > .mi.is-custom { border-top: 0; margin-top: 0; }
html.office-ui :is(.ap-menu, .ot-more-menu).mi-menu > .mi.is-custom::before { content: none; }
html.office-ui .ap-menu.mi-menu > .mi.is-custom { position: relative; margin-top: 11px; }
html.office-ui .ap-menu.mi-menu > .mi.is-custom::after { content: ''; position: absolute; left: 4px; right: 4px; top: -6px; border-top: 1px solid var(--line); }
/* Auslöser: Später, Delegieren, Weitere Aktionen wie der Knopf „Andere Aktion“ */
.ap-app .ap-bar .btn, html.office-ui details.ot-more > summary, html.office-ui .ot-acts [data-ot-act="later"] {
  min-height: 40px; padding: 6px 14px; font-size: 14px; font-weight: 600; border-radius: 10px; background: #fff; border: 1px solid #D5D9D4; color: var(--ink); text-decoration: none;
}
.ap-app .ap-bar .btn[aria-expanded="true"], html.office-ui details.ot-more[open] > summary, html.office-ui .ot-acts [data-ot-act="later"][aria-expanded="true"],
.ap-app .ap-bar .btn:hover, html.office-ui details.ot-more > summary:hover, html.office-ui .ot-acts [data-ot-act="later"]:hover { background: #F6F7F4; text-decoration: none; }
html.office-ui .tk-mic { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
html.office-ui .tk-mic:hover { background: #F6F7F4; color: var(--ink); }
html.office-ui .tk-clip { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
html.office-ui .tk-clip:hover { background: #F6F7F4; color: var(--ink); }
html.office-ui .tk-mic.is-on { background: #F8E5E1; color: #B3261E; animation: tk-mic-pulse 1.4s ease-in-out infinite; }
@keyframes tk-mic-pulse { 50% { box-shadow: 0 0 0 4px rgba(179, 38, 30, .12); } }
@media (prefers-reduced-motion: reduce) { html.office-ui .tk-mic.is-on { animation: none; } }
html.office-ui details.ot-more > summary { gap: 0; }
html.office-ui details.ot-more > summary::after { content: '\00a0▾'; font-size: inherit; margin-left: 0; }

/* Briefing „Seit gestern“: Zahlen anklickbar + Liste dahinter (13.10.) */
.brf-since a.brf-since-a { color: inherit; text-decoration: underline; text-decoration-color: rgba(30, 42, 37, .3); text-underline-offset: 3px; }
.brf-since a.brf-since-a:hover { text-decoration-color: currentColor; }
.brf-sx .rp-tabs { flex-wrap: wrap; }
.brf-sx-n { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 6px; border-radius: 10px; background: #EEF1EC; font-size: 12px; font-weight: 600; text-align: center; }
.brf-sx-list { gap: 0; margin-top: 10px; }
.brf-sx-list li { border-top: 1px solid var(--line); }
.brf-sx-list li:first-child { border-top: 0; }
.brf-sx-list li > a, .brf-sx-list li > .brf-sx-row { display: flex; gap: 14px; padding: 10px 6px; border-radius: 8px; }
.brf-sx-list li > a:hover { background: #F6F7F4; }
.brf-sx-t { flex: none; width: 92px; color: var(--muted); font-size: 13px; padding-top: 1px; }
.brf-sx-m { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.brf-sx-foot { margin-top: 16px; }
@media (max-width: 600px) { .brf-sx-list li > a, .brf-sx-list li > .brf-sx-row { flex-direction: column; gap: 2px; } .brf-sx-t { width: auto; } }

/* Arbeitsplatz erst zeigen, wenn das Skript alles platziert hat (kein Zucken beim Laden); ohne Skript nach 1,2 s trotzdem sichtbar */
.ap-app { transition: opacity .12s ease; }
.ap-app.ap-boot { opacity: 0; animation: ap-boot-reveal 0s linear 1.2s forwards; }
@keyframes ap-boot-reveal { to { opacity: 1; } }

/* Kopfzeile bündig mit dem Arbeitsplatz (13.10.2026, Thomas): Logo ganz links über der Lage, Konto-Menü ganz rechts über dem Vorgang */
@media (min-width: 901px) {
  html.office-ui body:has(.ap-app, .ap-shell) .office-top .topbar-in { max-width: calc(1480px + 48px); padding-left: 52px; padding-right: 52px; }
  /* Nachschlagen-Seiten mit Lage-Spalte: gleicher Rahmen wie der Arbeitsplatz */
  html.office-ui .ap-shell { max-width: calc(1424px + 64px); margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  html.office-ui body:has(.ap-app, .ap-shell) .office-top .topbar-in { padding-left: 52px; padding-right: 52px; }
}

/* Offenes Menü im Vorgang liegt immer über Gespräch und Originalmail (13.10.: Einblend-Animation machte den Vorgang zu einer eigenen Ebene unter dem Gespräch) */
.ap-app .vz-panel:has(details[open] > .vz-pop), .ap-app .vz-panel:has(.ap-menu) { position: relative; z-index: 30; }

/* Kategorie-Etikett im Vorgangskopf (13.10.) */
html.office-ui .vzm-meta .vzm-cat { height: auto; margin: 0; box-shadow: none; display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 1px 10px; border: 1px solid; border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.3; cursor: pointer; vertical-align: middle; }
.vzm-meta .vzm-cat > span { font-size: 10px; opacity: .7; }
.vzm-meta .vzm-cat:hover { filter: brightness(.97); }
.vzm-meta .vzm-cat:focus-visible { outline: 2px solid #3E6B5A; outline-offset: 2px; }

/* Termineinladung im Vorgang (14.10.) */
.vzm-invite { margin: 12px 0 14px; padding: 12px 14px; border: 1px solid #D9E2DA; border-radius: 12px; background: #F4F8F3; }
.vzm-inv-h { margin: 0 0 4px; }
.vzm-inv-st { margin: 0 0 10px; color: #3E6B5A; }
.vzm-inv-st.is-declined { color: #A3402F; }
.vzm-inv-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.vzm-inv-acts .is-current { box-shadow: inset 0 0 0 2px #3E6B5A; }

/* Gespräch: Kopieren je Nachricht und für den ganzen Verlauf (14.10.) */
.tk-bub { position: relative; }
.tk-copy { display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #6B726E; cursor: pointer; }
.tk-copy:hover, .tk-copy:focus-visible { background: rgba(30, 42, 37, .08); color: #1E2A25; outline: none; }
.tk-copy.is-done { color: #2E5A47; }
.tk-msg .tk-bub > .tk-copy { position: absolute; top: 4px; right: 4px; opacity: 0; transition: opacity .15s; }
.tk-msg:hover .tk-bub > .tk-copy, .tk-msg .tk-bub > .tk-copy:focus-visible, .tk-msg .tk-bub > .tk-copy.is-done { opacity: 1; }
.tk-msg.me .tk-bub > .tk-copy { color: rgba(255, 255, 255, .75); }
.tk-msg.me .tk-bub > .tk-copy:hover { background: rgba(255, 255, 255, .15); color: #fff; }
@media (hover: none) { .tk-msg .tk-bub > .tk-copy { opacity: .7; } }
h4.tk-h { display: flex; align-items: center; gap: 6px; }
.tk-copy-all { margin-left: 2px; }
.tk-msg .tk-bub { padding-right: 34px; }
/* Einarbeitung (15.10.2026): neben .office-ui .btn:not(…) sichtbar – gewählte Antwort dunkel, Verbinden in Consent+-Orange */
.office-ui .ein-mappe .btn.primary.is-accent, .ein-mappe .btn.primary.is-accent { background: var(--accent, #C96F4A); border-color: var(--accent, #C96F4A); color: #fff; }
.office-ui .ein-mappe .btn.primary.is-accent:hover, .ein-mappe .btn.primary.is-accent:hover { background: #B45E3B; border-color: #B45E3B; color: #fff; }
.office-ui .ein-mappe .ein-q .btn.primary.is-on, .ein-mappe .ein-q .btn.primary.is-on { background: var(--deep, #12302A); border-color: var(--deep, #12302A); color: #fff; }
/* Verbinden-Knöpfe überall in Consent+-Orange (15.10.2026, Thomas: „wie das + von Consent+“) */
.office-ui .btn.primary.is-accent, .btn.primary.is-accent { background: var(--accent, #C96F4A); border-color: var(--accent, #C96F4A); color: #fff; }
.office-ui .btn.primary.is-accent:hover, .btn.primary.is-accent:hover { background: #B45E3B; border-color: #B45E3B; color: #fff; }

/* Eine Flucht für Kopfzeile und Inhalt (17.10.2026, Thomas: „ein für alle Mal“): Vorgänge, Vorgangsblatt und Seiten mit Lage-Spalte
   nutzen die volle Breite; Logo und Konto-Menü stehen exakt über der linken bzw. rechten Kante des Inhalts – Desktop, iPad, iPhone.
   Beide Ebenen teilen dieselben zwei Größen: --page-max (Breite) und --page-pad (Rand). Innere Rahmen haben keinen eigenen Rand. */
html.office-ui body:has(.vg-shell, .ap-app, .ap-shell) { --page-max: 1720px; --page-pad: 24px; }
@media (max-width: 900px) { html.office-ui body:has(.vg-shell, .ap-app, .ap-shell) { --page-pad: 12px; } }
html.office-ui body:has(.vg-shell, .ap-app, .ap-shell) .office-top .topbar-in,
html.office-ui body:has(.vg-shell, .ap-app, .ap-shell) main.office-main {
  max-width: var(--page-max); margin-left: auto; margin-right: auto; padding-left: var(--page-pad); padding-right: var(--page-pad); box-sizing: border-box;
}
html.office-ui body:has(.vg-shell, .ap-app, .ap-shell) main.office-main .vg-shell,
html.office-ui body:has(.vg-shell, .ap-app, .ap-shell) main.office-main .ap-app,
html.office-ui body:has(.vg-shell, .ap-app, .ap-shell) main.office-main .ap-shell { max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }

/* ── Einheitlicher Ladezustand (25.10.2026, Thomas: „Überlagerungen und inkonsistente Positionierungen“) ──────────────────────
   Drei frühere Varianten (Kreisel hinter dem Text .cp-busy, Kreisel davor .is-working, Lichtstreifen .btn.is-loading) sind jetzt
   EINE: der Kreisel ersetzt die Beschriftung, genau mittig, der Knopf behält Breite und Höhe. Farbe = Schriftfarbe des Knopfs
   (--cp-spin, setzt app.js), sonst dunkelgrün bzw. weiß auf dunklen Knöpfen. */
:root { --cp-spin-d: #17362c; }
:is(.cp-busy, .btn.is-loading, button.is-working, a.btn.is-working, [role=button].is-working, .vd-pastmore.is-loading):not(#cp-x) {
  position: relative !important; color: transparent !important; text-shadow: none !important; pointer-events: none; cursor: progress; opacity: 1 !important; }
:is(.cp-busy, .btn.is-loading, button.is-working, a.btn.is-working, [role=button].is-working, .vd-pastmore.is-loading):not(#cp-x) > * { visibility: hidden !important; }
:is(.cp-busy, .btn.is-loading, button.is-working, a.btn.is-working, [role=button].is-working, .vd-pastmore.is-loading):not(#cp-x)::before { opacity: 0 !important; animation: none !important; }
:is(.cp-busy, .btn.is-loading, button.is-working, a.btn.is-working, [role=button].is-working, .vd-pastmore.is-loading):not(#cp-x)::after {
  content: "" !important; display: block !important; position: absolute !important; left: 50% !important; top: 50% !important; right: auto !important; bottom: auto !important;
  width: 16px !important; height: 16px !important; margin: -8px 0 0 -8px !important; padding: 0 !important; box-sizing: border-box !important;
  border-radius: 50% !important; border: 2px solid var(--cp-spin, var(--cp-spin-d)) !important; border-right-color: transparent !important;
  background: none !important; box-shadow: none !important; opacity: 1 !important; transform: none; transition: none !important;
  animation: cp-u-spin .7s linear infinite !important; visibility: visible !important; }
:is(.btn.primary, .btn.is-accent, .tk-send, .vgv-start, .btn.danger):is(.is-loading, .is-working):not([style*="--cp-spin"]) { --cp-spin: #fff; }
@keyframes cp-u-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { :is(.cp-busy, .btn.is-loading, button.is-working, a.btn.is-working, [role=button].is-working, .vd-pastmore.is-loading):not(#cp-x)::after { animation-duration: 1.8s !important; } }
/* der frühere Kreisel von .is-working saß als ::before vor dem Text und nahm Platz ein: weg, damit der Knopf seine Breite behält */
:is(button.is-working, a.btn.is-working, [role=button].is-working):not(#cp-x)::before { content: none !important; display: none !important; }
/* dunkle oder farbige Knöpfe: Kreisel immer weiß, egal was als Schriftfarbe gemessen wurde */
:is(.btn.primary, .btn.is-accent, .vgv-start, .tk-send, .btn.danger, .vg-plus):is(.cp-busy, .is-loading, .is-working):not(#cp-x) { --cp-spin: #fff !important; }
/* „Alle gelesen“ rechts oben in den Mitteilungen (04.11.2026) */
.bell-read { margin-left: auto; background: none; border: 0; padding: 4px 6px; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 600; color: var(--cp-green, #1f3c33); cursor: pointer; }
.bell-read:hover { background: rgba(31,60,51,.08); } .bell-read:disabled { color: #8a948f; cursor: default; background: none; }
.bell-list a.is-read { opacity: .75; }
