/* NeXtMailbox Web – Gleichstand mit dem Windows-Client, Etappe 2 (nm32-gleichstand, Server 32 / Client 24, Nutzer 19.11.
   „Web genau so wie der Client“). Maße aus dem Client gemessen (app.css .ansicht-leiste/.segment/.ansicht-kn/.gruppe-kopf,
   erw-c6fav.css .c6-pfad, gleiche Prüfinstanz, 1366 px). Steht vor optik31.css und dichte.css (Regel: dichte.css zuletzt).
   © 2026 by Sebastian Hirtreiter */

/* ---------------------------------------------------------------- Listenkopf „adresse › Ordner“ (Client c6-pfad) */
.spalte-kopf h2.listentitel { display: flex; align-items: baseline; min-width: 0; }
.spalte-kopf h2.listentitel .g32-pfad { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12px; font-weight: 400; color: var(--muted); padding: 0 2px; }
.spalte-kopf h2.listentitel .g32-pfad { cursor: pointer; border-radius: var(--d-radius, 4px); }
.spalte-kopf h2.listentitel .g32-pfad:hover { color: var(--akzent-text); text-decoration: underline; }
.spalte-kopf h2.listentitel .g32-pfad:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.spalte-kopf h2.listentitel .g32-trenner { white-space: pre; }   /* „ › “ mit Leerzeichen (textContent = voller Pfad) */
.spalte-kopf h2.listentitel .g32-name { flex: 0 0 auto; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- Filterzeile (Client .ansicht-leiste, 45 px) */
@media (min-width: 761px) {
  .wa-oben.f26-eine-zeile { padding: 6px 10px; gap: 6px; }
  .sp-liste:has(.f26-filterzeile) .spalte-kopf .g32-filterkopf { display: none; }   /* Trichter steht jetzt in der Filterzeile */
}
.f26-filterzeile .g32-segment { display: inline-flex; flex: none; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--panel2); }
.f26-filterzeile .g32-segment > .wa-art.f26-chip { height: 26px; min-height: 0; padding: 0 10px; border: 0; border-radius: 3px; background: transparent;
  color: var(--muted); font-size: 13px; font-weight: 500; box-shadow: none; }
.f26-filterzeile .g32-segment > .wa-art.f26-chip.an { background: var(--panel); color: var(--text); box-shadow: var(--schatten-klein, 0 1px 2px rgba(0, 0, 0, .08)); }
.f26-filterzeile > .wa-art.f26-chip.f26-artkn, .f26-filterzeile > .g32-trichter, .f26-filterzeile .wt-sort button {
  display: inline-flex; align-items: center; gap: 5px; height: 32px; min-height: 0; padding: 0 8px; border: 0; border-radius: 8px; background: transparent;
  color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; box-shadow: none; }
.f26-filterzeile > .wa-art.f26-chip.f26-artkn:hover, .f26-filterzeile > .g32-trichter:hover, .f26-filterzeile .wt-sort button:hover { background: var(--hover); color: var(--text); }
.f26-filterzeile > .wa-art.f26-chip.f26-artkn.an, .f26-filterzeile > .g32-trichter.an { background: var(--accent-soft); color: var(--akzent-text); }
.f26-filterzeile > .f26-artkn svg.ic { width: 14px; height: 14px; }
.f26-filterzeile > .g32-trichter { width: 32px; padding: 0; justify-content: center; }
.f26-filterzeile > .g32-trichter svg.ic { width: 16px; height: 16px; }
.f26-filterzeile .wt-sort button { color: var(--text); }
.f26-filterzeile .wt-sort .wt-richtung { width: 24px; padding: 0; justify-content: center; }

/* ---------------------------------------------------------------- Gruppenkopf „∨ Heute 8“ (Client .gruppe-kopf, 29 px) */
.liste-gruppe.g32-gk { gap: 6px; height: 29px; padding: 0 10px; font-size: 12.5px; cursor: pointer; user-select: none; }
.liste-gruppe.g32-gk:hover { color: var(--text); }
.liste-gruppe.g32-gk:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.liste-gruppe.g32-gk svg.ic { width: 14px; height: 14px; flex: none; transition: transform .15s; }
.liste-gruppe.g32-gk.zu svg.ic { transform: rotate(-90deg); }
.liste-gruppe.g32-gk .name { overflow: hidden; text-overflow: ellipsis; }
.liste-gruppe.g32-gk .anz { font-weight: 500; margin-left: 2px; }
/* Server 32 (F5): außerhalb der Arbeitszeit leicht grau wie Client (--opt-frei), Termine liegen darüber */
:root { --g32-frei: rgba(28, 36, 49, .045); }
html[data-theme=dark] { --g32-frei: rgba(0, 0, 0, .28); }
.tagspalte > .g32-frei { position: absolute; left: 0; right: 0; background: var(--g32-frei); pointer-events: none; z-index: 0; }
/* Server 32 (B2): Kopf – „Erweiterte Suche“ mit Wort wie im Client; unter 1100 px nur das Symbol */
@media (min-width: 1101px) {
  header.kopf .nms-erw.g32-erw { width: auto; padding: 0 8px; gap: 6px; display: inline-flex; align-items: center; white-space: nowrap; }
}
header.kopf .nms-erw.g32-erw .g32-erw-wort { font-size: 12px; color: var(--muted); }
@media (max-width: 1100px) { header.kopf .nms-erw.g32-erw .g32-erw-wort { display: none; } }
