/* Postfächer auf der Seite Werkzeuge (postfach.js): PostfachKonten .pf-konten, Blatt eines Kontos .pf-blatt, Blatt
   „Weiteres Postfach verbinden“ .pf-verbinden (Bausteine aus werkzeuge.css, einstellungen.css, assistent.css).
   Farben nur aus tokens.css. */
.pf-konto { cursor: pointer; }
.pf-konto b { display: flex; align-items: baseline; gap: 8px; }
.pf-konto .pf-n { min-width: 0; overflow-wrap: anywhere; }
.pf-konto:hover, .pf-wahl-zeile:hover:not(:disabled) { background: var(--flaeche2); }
.pf-konto:focus-visible, .pf-wahl-zeile:focus-visible { outline: 2px solid var(--akzent-text); outline-offset: -2px; }
.pf-wahl-zeile .wz-mono { grid-row: auto; flex: none; }
.pf-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pf-kopf { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pf-kopf .pille { font-size: 12px; }
.pf-haupt { font-size: 12px; color: var(--text3); font-weight: 520; white-space: nowrap; }
.pf-adr { font-size: 13px; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-satz, .pf-konto .pf-satz { font-size: 12.5px; color: var(--signal); }
.pf-pfeil { flex: none; display: grid; place-items: center; color: var(--text3); }
.pf-pfeil svg { width: 14px; height: 14px; }
.wz-stand.pf-achtung { color: var(--signal); }
.wz-stand.pf-prueft::before { animation: pf-puls 1.2s ease-in-out infinite; }
@keyframes pf-puls { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .wz-stand.pf-prueft::before { animation: none; } }
.wz-abt-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.wz-abt-kopf > div { flex: 1 1 320px; min-width: 0; }
.wz-abt-kopf p { margin: 0 0 12px; color: var(--text3); font-size: 13.5px; }
.wz-abt-kopf .pf-weiteres { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 14px; width: auto; flex: none; margin: 0 0 12px; }
.pf-weiteres svg { width: 15px; height: 15px; }

/* Blatt eines Kontos: Aufbau wie ein Abschnitt der Einstellungen */
.pf-blatt h2 { font-size: 24px; font-weight: 420; letter-spacing: -.7px; margin: 4px 0 4px; }
.pf-blatt .zeile { margin-bottom: 18px; }
.pf-blatt .es-feld.pf-name { max-width: 220px; }
.pf-problem { display: flex; align-items: center; gap: 14px; padding: 12px 16px; margin: 0 0 16px; border-radius: var(--r-karte);
  background: var(--flaeche2); color: var(--text2); font-size: 14px; }
.pf-problem span { flex: 1; }
.pf-fuss { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin: 6px 0 4px; }

/* Blatt „Weiteres Postfach verbinden“: Zeichen des Anbieters, Titel, ein Satz, Pfeil */
.pf-wahl { overflow: hidden; margin: 0 0 8px; }
.pf-wahl-zeile { display: flex; align-items: center; gap: 12px; padding: 13px 14px; width: 100%; text-align: left; background: none; border: 0; color: inherit; }
.pf-wahl-zeile b { font-size: 15px; font-weight: 600; }
.pf-wahl-zeile:disabled { opacity: .5; cursor: default; }
.pf-felder { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.pf-felder .ob-zeile { margin-top: 4px; }
.pf-server { display: flex; flex-direction: column; gap: 10px; }
.pf-server[hidden] { display: none; }
.pf-reihe { display: flex; gap: 10px; }
.pf-reihe .ob-feld { flex: 1; min-width: 0; }
.pf-reihe .ob-feld.pf-port { flex: 0 0 96px; }
.pf-ueber { display: flex; align-items: center; gap: 12px; color: var(--text3); font-size: 13.5px; }
.pf-ueber select { flex: 1; }
.pf-art:empty { display: none; }

@media (max-width: 899px) {
  .pf-adr { white-space: normal; overflow-wrap: anywhere; }
  .pf-blatt .es-reihe:has(.pf-name) { flex-wrap: wrap; }
  .pf-blatt .es-reihe:has(.pf-name) .es-t { flex-basis: 100%; }
  .pf-blatt .es-feld.pf-name { max-width: none; width: 100%; }
}
