/* Gerüst: Seitenleiste links (Desktop), Kopfzeile oben und Tab-Leiste unten (Handy) */
.rahmen { display: flex; flex: 1; }
.leiste {
  width: 15rem;
  flex: none;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  padding: 0.75rem;
  background: var(--flaeche-leise);
  border-right: 1px solid var(--rand);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.marke { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: var(--schrift-l); color: var(--text); text-decoration: none; }
.kopf { padding: 0.75rem var(--abstand); background: var(--flaeche); border-bottom: 1px solid var(--rand); }
main { flex: 1; min-width: 0; padding: 1.5rem 2rem; max-width: 80rem; width: 100%; }
body.solo main { margin: 0 auto; max-width: 28rem; }
.fuss { padding: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; font-size: var(--schrift-s); color: var(--text-leise); border-top: 1px solid var(--rand); }
.fuss a { color: var(--text-leise); }

.firmenkopf { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0.4rem; color: var(--text); text-decoration: none; font-weight: 600; border-radius: var(--radius); min-width: 0; }
.firmenlogo { width: 1.6rem; height: 1.6rem; flex: none; border-radius: 0.4rem; background: var(--akzent); color: var(--akzent-text); display: grid; place-items: center; font-size: var(--schrift-s); font-weight: 700; }
.firmenname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sym { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.leiste nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.125rem; }
.leiste nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
}
.leiste nav a:hover { background: var(--akzent-leise); }
.leiste nav a[aria-current="page"] { background: var(--akzent-leise); font-weight: 600; }
.nav-aktionen { margin-bottom: 0.25rem; }
.abschnitt { margin: 0.9rem 0.6rem 0.25rem; font-size: var(--schrift-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-leise); font-weight: 600; }
.zaehler {
  margin-left: auto;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  min-width: 1.4rem;
  padding: 0 0.4rem;
  text-align: center;
  font-size: var(--schrift-s);
  font-weight: 700;
}

.konto-menue { margin-top: auto; position: relative; }
/* PB-4390: Sonne und Mond neben dem Konto (Kunde: unten in der Leiste, am Handy oben rechts; Betrieb: Kopfzeile rechts). Der gewählte Knopf
   trägt Fläche und Ring (nie die Farbe allein), Vorlese-Programme hören aria-pressed. */
.konto-zeile { margin-top: auto; display: flex; align-items: center; gap: 0.25rem; min-width: 0; }
.konto-zeile .konto-menue { flex: 1; min-width: 0; margin-top: 0; }
.hell-dunkel { display: inline-flex; flex: none; align-items: center; gap: 0.125rem; margin: 0; padding: 0.125rem; border: 1px solid var(--rand); border-radius: 999px; background: var(--flaeche); }
.hd-knopf { display: inline-grid; place-items: center; width: 2rem; height: 2rem; min-height: 2rem; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--text-leise); cursor: pointer; }
.hd-knopf:hover { background: var(--flaeche-leise); color: var(--text); }
.hd-knopf[aria-pressed="true"] { background: var(--akzent-leise); color: var(--text); box-shadow: inset 0 0 0 1px var(--akzent); }
@media (max-width: 47.99rem) { .hd-knopf { width: 2.5rem; height: 2.5rem; min-height: 2.5rem; } }
.konto-knopf { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.5rem; border-radius: var(--radius); min-width: 0; }
.konto-knopf::-webkit-details-marker { display: none; }
.konto-knopf:hover, .konto-menue[open] > .konto-knopf { background: var(--akzent-leise); }
.konto-person { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; text-align: left; }
.konto-rolle { font-size: .75rem; color: var(--text-leise); }
.konto-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 1.6rem; height: 1.6rem; flex: none; border-radius: 50%; background: var(--akzent-leise); color: var(--text); display: grid; place-items: center; font-size: var(--schrift-xs); font-weight: 700; border: 1px solid var(--rand); }
.menue {
  position: absolute;
  bottom: calc(100% + 0.4rem);
  left: 0;
  width: 17rem;
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: 0.75rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  padding: 0.5rem;
  z-index: 20;
}
.menue-kopf { display: flex; gap: 0.6rem; align-items: center; padding: 0.4rem 0.4rem 0.6rem; border-bottom: 1px solid var(--rand); margin: 0 0 0.4rem; }
.menue-person { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.menue ul { list-style: none; margin: 0; padding: 0; }
.menue a, .menue-knopf {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.menue a:hover, .menue-knopf:hover, .menue a[aria-current="page"] { background: var(--flaeche-leise); }
.nur-mobil, .tableiste { display: none; }


/* Mehr-Seite am Handy (PB-1113): große Tippflächen, eine Spalte */
.mehr-liste { list-style: none; margin: 0 0 1rem; padding: 0; }
.mehr-liste a { display: flex; align-items: center; gap: 0.75rem; min-height: 3rem; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--rand); color: var(--text); text-decoration: none; }
.mehr-liste a:hover, .mehr-liste a:focus-visible { background: var(--flaeche-leise); }

/* Rahmen des Betriebs (PB-3945a): Kopfzeile über die ganze Breite, darunter links die Leiste in Gruppen, rechts der Inhalt.
   Eigene Klassen (bk- Kopfzeile, bl- Leiste), damit der Kundenbereich unberührt bleibt. Farben nur aus den Variablen in basis.css.
   Die Höhe der Kopfzeile (3.25rem) steht an drei Stellen: .bk, .bl top und .bl height. */
.bk { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 0.75rem; height: 3.25rem; padding: 0 1rem; background: var(--flaeche); border-bottom: 1px solid var(--rand); }
.bk-marke { flex: none; font-size: var(--schrift-l); border-radius: var(--radius); }
.bk-bereich { margin-left: 0.1rem; padding: 0.05rem 0.5rem; border: 1px solid var(--rand); border-radius: 999px; font-size: var(--schrift-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-leise); }
.bk-platz { flex: 1; min-width: 0; }
/* Suchfeld über alles (PB-3944b): ein GET-Formular, ohne Skript. Am schmalen Handy bleibt nur der Knopf (anpassung.css). */
.bk-suche { display: flex; align-items: center; gap: 0.4rem; max-width: 30rem; }
.bk-suche input { flex: 1; min-width: 0; padding: 0.35rem 0.6rem; }
.bk-suche button { flex: none; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.7rem; }
.bk-konto { flex: none; margin-top: 0; }
.bk-konto .konto-knopf { max-width: 20rem; }
.bk-stellung { flex: none; padding-left: 0.6rem; border-left: 1px solid var(--rand); font-size: var(--schrift-s); }
.bk-konto .menue { bottom: auto; top: calc(100% + 0.4rem); left: auto; right: 0; max-width: calc(100vw - 1.5rem); }
.betrieb-rahmen { flex: 1; display: flex; align-items: flex-start; min-width: 0; }
body.betrieb main { max-width: 100rem; }
body.betrieb main > p:not([class]) { max-width: 75ch; }
.bl { flex: none; width: 14.5rem; position: sticky; top: 3.25rem; z-index: 4; height: calc(100vh - 3.25rem); overflow-y: auto; padding: var(--raum-2); background: var(--flaeche-leise); border-right: 1px solid var(--rand); }
.bl-knopf { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0.4rem 0.6rem; border-radius: var(--radius); font-weight: 600; }
.bl-knopf::-webkit-details-marker { display: none; }
.bl-knopf::before { content: ""; flex: none; width: 1.1rem; height: 0.8rem; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.bl-knopf:hover, .bl-klappe[open] > .bl-knopf { background: var(--akzent-leise); }
.bl-knopf-ort { margin-left: auto; min-width: 0; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Gruppen der Leiste (PB-4330): jede Gruppe ist ein <details>, ohne Skript zu öffnen und zu schließen. Offen stehen Start, Arbeit und
   die Gruppe der aktiven Seite (Betrieb\Navigation::rahmen, nur aus der Seite abgeleitet, nichts wird gespeichert). Jede Zeile ist
   mindestens 2 rem (32 px) hoch. Der Fokusring sitzt innen (outline-offset negativ), damit ihn der rollende Kasten nie abschneidet. */
.bl-nav ul { list-style: none; margin: 0; padding: 0 0 var(--raum-1); }
.bl-gruppe + .bl-gruppe { margin-top: var(--raum-1); }
.bl-nav .abschnitt { display: flex; align-items: center; gap: var(--raum-2); min-height: 2rem; margin: 0; padding: 0 var(--raum-2); border-radius: var(--radius); font-size: var(--schrift-xs); line-height: var(--zeile-dicht); cursor: pointer; list-style: none; }
.bl-nav .abschnitt::-webkit-details-marker { display: none; }
.bl-nav .abschnitt::after { content: ""; flex: none; width: 0.4rem; height: 0.4rem; margin-left: auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.bl-gruppe[open] > .abschnitt::after { transform: rotate(45deg); }
.bl-nav .abschnitt:hover { background: var(--akzent-leise); color: var(--text); }
.bl-gruppe-aktiv > .abschnitt { color: var(--text); }
/* PB-4349: Symbol und Punkt am Symbol erscheinen nur in der schmalen Schiene (unten); sonst steht der Text wie bisher. */
.bl-nav .bl-sym, .bl-nav .bl-punkt { display: none; }
.bl-nav a { display: flex; align-items: center; gap: var(--raum-2); min-height: 2rem; padding: var(--raum-1) var(--raum-2) var(--raum-1) var(--raum-3); border-radius: var(--radius); color: var(--text); text-decoration: none; font-size: var(--schrift-s); line-height: var(--zeile-dicht); overflow-wrap: anywhere; }
.bl-nav a:hover { background: var(--akzent-leise); }
.bl-nav a[aria-current="page"] { background: var(--akzent-leise); font-weight: 600; box-shadow: inset 3px 0 0 var(--akzent); }
.bl-nav a:focus-visible, .bl-nav .abschnitt:focus-visible, .bl-knopf:focus-visible { outline-offset: -3px; }
.bl-nav .zaehler { flex: none; min-width: 1.3rem; font-size: var(--schrift-xs); line-height: var(--zeile-dicht); }
/* Breiter Bildschirm: Die Leiste steht immer offen, der Knopf "Menü" entfällt. Die Klappe bleibt ein <details> (am Handy klappt sie
   ohne Skript); offen gehalten wird sie hier über ihren Inhalts-Kasten. Ein Browser, der das nicht kennt, zeigt weiter den Knopf. */
@media (min-width: 48rem) {
  @supports selector(::details-content) {
    .bl-knopf { display: none; }
    .bl-klappe::details-content { content-visibility: visible; }
    /* Schiene (PB-4330, Klasse br-schiene am Rahmen; Betrieb\Navigation::SCHIENE nennt die Seiten, heute nur die Zentrale): Die
       Leiste ist 3.5 rem schmal und zeigt je Gruppe ihr Linien-Symbol (PB-4349; Name als title und als Text für Vorlese-Programme). Mit der Maus darüber oder mit dem Fokus darin legt
       sie sich in voller Breite über den Inhalt, ohne ihn zu verschieben. Ohne Skript, ohne Bewegung. Eine Gruppe mit Zähler
       trägt in der Schiene einen Punkt am Symbol (mit Text für Vorlese-Programme); die Zahl selbst steht in der offenen Leiste. */
    .br-schiene > .bl { width: 3.5rem; padding: 0; overflow: visible; background: none; border-right: 0; }
    .br-schiene .bl-nav { position: absolute; top: 0; bottom: 0; left: 0; width: 3.5rem; overflow-x: hidden; overflow-y: auto; padding: var(--raum-2); background: var(--flaeche-leise); border-right: 1px solid var(--rand); }
    .br-schiene > .bl:not(:hover):not(:focus-within) ul { display: none; }
    .br-schiene > .bl:not(:hover):not(:focus-within) .abschnitt { position: relative; justify-content: center; padding: 0; }
    .br-schiene > .bl:not(:hover):not(:focus-within) .bl-sym { display: block; width: 1.4rem; height: 1.4rem; }
    .br-schiene > .bl:not(:hover):not(:focus-within) .bl-titel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .br-schiene > .bl:not(:hover):not(:focus-within) .bl-punkt { display: block; position: absolute; top: 0.3rem; right: 0.3rem; }
    .br-schiene > .bl:not(:hover):not(:focus-within) .bl-punkt-zeichen { display: block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 2px var(--flaeche-leise); }
    .br-schiene > .bl:not(:hover):not(:focus-within) .abschnitt::after { display: none; }
    .br-schiene > .bl:not(:hover):not(:focus-within) .bl-gruppe-aktiv > .abschnitt { background: var(--akzent-leise); box-shadow: inset 3px 0 0 var(--akzent); font-weight: 700; }
    .br-schiene > .bl:hover .bl-nav, .br-schiene > .bl:focus-within .bl-nav { width: 14.5rem; box-shadow: 8px 0 28px rgba(0, 0, 0, 0.18); }
  }
}
/* PB-5129: Speicherbalken im Konto-Menü */
.sp-balken { padding: 0.2rem 0.4rem 0.6rem; border-bottom: 1px solid var(--rand); margin: 0 0 0.4rem; font-size: 0.85rem; }
.sp-balken progress { display: block; width: 100%; height: 0.4rem; border: 0; border-radius: 999px; background: var(--rand); color: var(--akzent); appearance: none; -webkit-appearance: none; overflow: hidden; }
.sp-balken progress::-webkit-progress-bar { background: var(--rand); border-radius: 999px; }
.sp-balken progress::-webkit-progress-value { background: var(--akzent); border-radius: 999px; }
.sp-balken progress::-moz-progress-bar { background: var(--akzent); }
.sp-hinweis progress { color: var(--warn-rand); }
.sp-hinweis progress::-webkit-progress-value { background: var(--warn-rand); }
.sp-hinweis progress::-moz-progress-bar { background: var(--warn-rand); }
.sp-voll progress { color: var(--fehler); }
.sp-voll progress::-webkit-progress-value { background: var(--fehler); }
.sp-voll progress::-moz-progress-bar { background: var(--fehler); }

/* PB-5193 (ENT-31): im Kundenbereich keine linke Spalte. Die Leiste ist der Kopfbalken oben; Einstellungen klappen am Profil rechts oben auf (ohne Skript). */
.rahmen-oben { flex-direction: column; }
.rahmen-oben > .leiste { position: sticky; top: 0; z-index: 20; width: 100%; height: auto; overflow: visible; flex-direction: row; align-items: center; gap: var(--raum-4, 1rem); padding: 0.5rem var(--raum-5, 1.25rem); border-right: 0; border-bottom: 1px solid var(--rand); background: var(--flaeche); }
.rahmen-oben > .leiste .firmenkopf { flex: none; max-width: 16rem; }
.kopf-suche { flex: 1 1 auto; max-width: 32rem; margin: 0 auto; }
.kopf-suche input { width: 100%; box-sizing: border-box; min-height: 2.5rem; border-radius: 999px; padding: 0 var(--raum-4, 1rem); }
.rahmen-oben > .leiste .konto-zeile { margin-top: 0; flex: none; }
.rahmen-oben > .leiste .konto-zeile .konto-menue { flex: none; }
.rahmen-oben .menue { bottom: auto; top: calc(100% + 0.4rem); left: auto; right: 0; }
.rahmen-oben .menue .abschnitt { margin: 0.6rem 0.6rem 0.25rem; }
@media (max-width: 47.99rem) {
  .rahmen-oben > .leiste { position: static; padding: 0.5rem 0.75rem; gap: 0.5rem; flex-wrap: wrap; }
  .rahmen-oben > .leiste .firmenname { display: none; }
  .kopf-suche { order: 5; flex-basis: 100%; max-width: none; }
}
/* PB-8101 (E48, ENDSTAND 2): gemeinsamer Kopf, ca. 40 px hoch. Marke links (einziger Rückweg), Ort daneben, Suche schmal (höchstens 240 px).
   Am Handy fällt die Wortmarke weg, das Zeichen bleibt. */
.rahmen-oben > .leiste { min-height: 2.5rem; padding-block: 0.25rem; }
.rk-marke { display: inline-flex; align-items: center; gap: 0.45rem; flex: none; color: var(--text); text-decoration: none; font-weight: 700; }
.rk-marke .logo-klein { width: 1.5rem; height: 1.5rem; }
.rk-ort { display: inline-flex; align-items: center; gap: 0.35rem; flex: none; margin: 0; max-width: 18rem; overflow: hidden; white-space: nowrap; font-weight: 700; color: var(--text); }
/* PB-8901 Bildvergleich (Soll 2-fastmail): „PlattbaseOS / Fastmail“ mit Schrägstrich, Symbol mittig zur Zeile, Firmen-Chip mit Rand, Suche kürzt mit … */
.rk-ort::before { content: "/"; font-weight: 400; color: var(--text-leise); margin-right: 0.15rem; }
.rk-ort > svg { flex: none; width: 1rem; height: 1rem; }
.rk-ort .zp { font-weight: 400; font-size: var(--schrift-xs); color: var(--text-leise); }
.rahmen-oben > .leiste .firmenkopf { border: 1px solid var(--rand); border-radius: var(--radius); padding: 0.2rem 0.6rem 0.2rem 0.3rem; }
.kopf-suche input { text-overflow: ellipsis; }
.kopf-suche input::placeholder { text-overflow: ellipsis; }
.rahmen-oben .kopf-suche { flex: 0 1 15rem; max-width: 15rem; margin: 0 0 0 auto; }
.rahmen-oben .kopf-suche input, .rahmen-oben .kopf-glocke { min-height: 2rem; }
@media (min-width: 48rem) {
  .rahmen-oben > .leiste .konto-knopf { padding-block: 0; }
  .rahmen-oben > .leiste .konto-person { line-height: 1.15; }
  .rahmen-oben > .leiste .hell-dunkel { padding: 0; }
  .rahmen-oben > .leiste .hd-knopf { width: 1.75rem; height: 1.75rem; min-height: 1.75rem; }
}
@media (max-width: 47.99rem) {
  .rk-wortmarke, .rk-ort { display: none; }
  .rahmen-oben .kopf-suche { flex-basis: 100%; max-width: none; margin: 0; }
}
/* PB-8102 (ENDSTAND 2): Konto-Menü als Overlay in zwei Spalten, blättert nie (keine Höhengrenze, kein Rollbalken). Öffnet per Klick
   (details) und beim Darüberfahren oder Fokus über ::details-content (wo der Browser es kennt; sonst bleibt der Klick). */
.rahmen-oben .konto-menue > .menue { width: min(36rem, calc(100vw - 2rem)); overflow: visible; }
.km-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--raum-4, 1rem); }
.km-gruppe ul { list-style: none; margin: 0; padding: 0; }
.km-bald { display: block; padding: 0.35rem 0.6rem; color: var(--text-leise); }
.km-bald-zeichen { font-size: var(--schrift-xs); border: 1px solid var(--rand); border-radius: 999px; padding: 0 0.4rem; }
.km-unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: var(--raum-2, 0.5rem); border-top: 1px solid var(--rand); }
@media (hover: hover) and (min-width: 48rem) {
  .rahmen-oben .konto-menue:not([open]):not(.rahmen-zu):hover::details-content, .rahmen-oben .konto-menue:not([open]):not(.rahmen-zu):focus-within::details-content { content-visibility: visible; display: contents; }
}
@media (max-width: 47.99rem) { .km-spalten { grid-template-columns: 1fr; } }
/* PB-5194: Posteingang als Glocke im Kopfbalken, kleine Weiter-Links unter den Dashboard-Karten */
.kopf-glocke { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.5rem; padding: 0 0.6rem; border-radius: var(--radius); color: var(--text); text-decoration: none; flex: none; }
.kopf-glocke:hover, .kopf-glocke[aria-current="page"] { background: var(--akzent-leise); }
.db-weiter { margin: var(--raum-2, 0.5rem) 0 0; font-size: var(--schrift-s); }
/* PB-5130: Firmen-Umschalter oben links, ohne Skript (details/summary); Pfeil ist Schmuck */
.firmen-umschalter { position: relative; min-width: 0; }
.firmen-umschalter > summary { cursor: pointer; list-style: none; }
.firmen-umschalter > summary::-webkit-details-marker { display: none; }
.firmen-pfeil { flex: none; width: 0.45rem; height: 0.45rem; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.firmen-umschalter[open] .firmen-pfeil { transform: rotate(-135deg); }
.firmen-liste { position: absolute; left: 0; z-index: 3; min-width: 15rem; max-width: 22rem; margin-top: var(--raum-2); padding: var(--raum-2); background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); }
.firmen-liste ul { list-style: none; margin: 0; padding: 0; }
.firmen-liste p { margin: var(--raum-1) 0; }
.firmen-wahl { display: flex; align-items: center; gap: 0.6rem; width: 100%; text-align: left; }
/* PB-5909: Hinweis "Sie arbeiten für …" bleibt beim Blättern oben sichtbar */
.agentur-hinweis { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: var(--raum-2); margin-bottom: var(--raum-2); }
/* PB-8109: Glocke im Kopf, Overlay ohne Skript (details/summary); höchstens fünf Meldungen, blättert nie */
.glocke-menue { position: relative; flex: none; }
.glocke-menue > summary { cursor: pointer; list-style: none; }
.glocke-menue > summary::-webkit-details-marker { display: none; }
.glocke-menue[open] > .kopf-glocke { background: var(--akzent-leise); }
.glocke-overlay { width: min(24rem, calc(100vw - 1.5rem)); }
.glocke-overlay li { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.35rem 0; }
/* PB-8109d: blättert nie, auch bei fünf Texten mit 300 Zeichen: je Meldung höchstens zwei Zeilen, der ganze Text steht unter "Alle anzeigen" */
.glocke-overlay li .leise { display: -webkit-box; overflow: hidden; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
/* PB-8482: Kopf nach der Skizze (1-dashboard). Suche grau ohne Rand mit Funkeln vorn, "Strg K" nur, wenn rahmen.js die Taste setzt
   (Klasse rahmen-taste an html); Glocke mit blauer Zahl als Abzeichen; Firmen-Chip mit Doppelpfeil; Avatar farbig (eine Farbe für alle). */
:root { --avatar-grund: #fbe3e6; --avatar-text: #9f1d3a; --suche-grund: #eeeff3; }
:root[data-theme="dunkel"] { --avatar-grund: #4a2530; --avatar-text: #ffc9d4; --suche-grund: #262830; }
@media (prefers-color-scheme: dark) { :root[data-theme="system"] { --avatar-grund: #4a2530; --avatar-text: #ffc9d4; --suche-grund: #262830; } }
.kopf-suche { position: relative; display: flex; align-items: center; }
.kopf-suche > svg { position: absolute; left: 0.7rem; width: 1rem; height: 1rem; color: var(--akzent); pointer-events: none; }
.kopf-suche input { background: var(--suche-grund); border: 1px solid transparent; border-radius: var(--radius); padding-left: 2.1rem; }
.kopf-suche input:focus { border-color: var(--akzent); background: var(--flaeche); }
.kopf-taste { display: none; position: absolute; right: 0.4rem; padding: 0 0.35rem; border: 1px solid var(--rand); border-radius: 0.3rem; background: var(--flaeche); font: inherit; font-size: var(--schrift-xs); color: var(--text-leise); pointer-events: none; }
.rahmen-taste .kopf-taste { display: inline-block; }
.rahmen-taste .kopf-suche input { padding-right: 3.6rem; }
.kopf-glocke { position: relative; }
.kopf-glocke .zaehler { position: absolute; top: -0.15rem; right: 0.05rem; min-width: 1.05rem; padding: 0 0.25rem; border-radius: 999px; background: var(--akzent); color: var(--akzent-text); font-size: 0.7rem; line-height: 1.05rem; text-align: center; }
.firmen-pfeil { position: relative; width: 0.5rem; height: 0.8rem; border: 0; transform: none; }
.firmen-pfeil::before, .firmen-pfeil::after { content: ""; position: absolute; left: 0.1rem; width: 0.3rem; height: 0.3rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.firmen-pfeil::before { top: 0.1rem; transform: rotate(-135deg); }
.firmen-pfeil::after { bottom: 0.1rem; transform: rotate(45deg); }
.firmen-umschalter[open] .firmen-pfeil { transform: none; }
.konto-knopf .avatar, .menue-kopf .avatar { background: var(--avatar-grund); color: var(--avatar-text); font-weight: 700; }
