/* Seite Werkzeuge (werkzeuge.js): WerkzeugeSeite .wz-*, WerkzeugKachel .wz-kachel, Hinweis im Chat .wz-band.
   Farben nur aus tokens.css. */
.wz-inhalt { padding: 16px 16px 40px; min-width: 0; }
@media (min-width: 900px) { .wz-inhalt { max-width: 1060px; margin: 0 auto; padding: 24px 40px 56px; width: 100%; box-sizing: border-box; } }
.wz-werkzeug { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 26px; }
.wz-suche { flex: 0 1 260px; }
.wz-filter { flex: 1 1 auto; }
.wz-abteilung { margin-bottom: 32px; }
.wz-abteilung h3 { font-size: 17px; font-weight: 600; margin: 0 0 2px; letter-spacing: -0.2px; }
.wz-abteilung > p { margin: 0 0 12px; color: var(--text3); font-size: 13.5px; }
.wz-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.wz-kachel { display: grid; grid-template-columns: 40px 1fr auto; gap: 4px 12px; align-items: center; padding: 14px; border-radius: 12px; border: 1px solid var(--linie); background: var(--flaeche); }
.wz-mono { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 16px; background: var(--text); color: var(--grund); grid-row: span 2; }
/* Nichts abschneiden (Max 16.11.2026): Name und Zeile brechen um, lange Adressen an beliebiger Stelle */
.wz-kachel b { font-weight: 600; font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.wz-text { grid-column: 2 / 4; font-size: 13px; color: var(--text2); overflow-wrap: anywhere; }
.wz-kachel .wz-text.pf-adr { white-space: normal; overflow: visible; }
.wz-kachel span.wz-knopf { cursor: pointer; }
.wz-kachel.pf-konto:hover span.wz-knopf { background: var(--flaeche2); }
.ew-kacheln { margin: 0 0 12px; }
.wz-verwalten .pf-fuss:empty { display: none; }
.wz-vorab { color: var(--text2); font-size: 14px; margin: 4px 0 0; }
.wz-kachel.anfrage { background: none; border-style: dashed; }
.wz-kachel.anfrage .wz-mono { background: var(--flaeche2); color: var(--text2); }
.wz-knopf { border-radius: 8px; padding: 5px 12px; font-size: 13px; font-weight: 600; border: 1px solid var(--linie); background: var(--grund); white-space: nowrap; }
.wz-knopf.v { background: var(--akzent); color: var(--auf-akzent); border-color: transparent; }
.wz-knopf:disabled { opacity: .5; }
.wz-stand { white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--gut); display: inline-flex; gap: 6px; align-items: center; }
.wz-stand::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.wz-stand.leise { color: var(--text3); }
/* Dienst zum Einschalten (Cloud-Abschrift): Zeile „Eingeschaltet seit …“ in gut, Zustimmungstext im Blatt */
.wz-text.wz-an { color: var(--gut); font-weight: 600; }
.wz-zustimmung { margin: 6px 0 14px; }
.wz-zustimmung p { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: var(--text2); }
.blatt-inhalt .wz-abbrechen { margin-top: 8px; }
.wz-fehlt { border-top: 1px solid var(--linie); padding-top: 22px; display: flex; gap: 14px; align-items: center; color: var(--text2); flex-wrap: wrap; }
.wz-fehlt .knopf { flex: none; padding: 8px 16px; font-size: 14px; }

/* Leiser Hinweis im Chat der Chefin (WerkzeugBand am Mac) */
.wz-band-ort:empty, .anmeldung-ort:empty, .limit-ort:empty { display: none; }
.wz-band { display: flex; gap: 12px; align-items: center; padding: 9px 10px 9px 16px; border-radius: var(--r-karte); background: var(--flaeche2);
  font-size: 13.5px; color: var(--text2); max-width: 760px; margin: 12px auto 0; }
.wz-band svg { width: 15px; height: 15px; color: var(--text3); flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wz-band span { flex: 1; min-width: 0; }
.wz-band .wz-knopf { margin-left: auto; }
.wz-band .wz-knopf + .wz-knopf { margin-left: 0; }
/* LimitBand: zwei Knöpfe; die Vorwarnung leiser (text3) und ohne Knöpfe */
.wz-band.leise { color: var(--text3); }
@media (max-width: 899px) { .wz-band { margin: 8px 12px 0; }
  .wz-band.limit { flex-wrap: wrap; row-gap: 8px; } .wz-band.limit span { flex: 1 1 calc(100% - 27px); } .wz-band.limit .wz-knopf:first-of-type { margin-left: 27px; } .wz-kacheln { grid-template-columns: 1fr; } .wz-suche { flex: 1 1 100%; } }

/* Werkzeug als Blatt: der klebende Schließen-Knopf bekommt Grund, damit er beim Blättern nicht über den Anleitungsbildern steht */
.blatt-inhalt:has(.wz-blatt) > .zu { position: sticky; z-index: 1; background: var(--grund); border-radius: 0 0 0 10px; }

/* Eigene Werkzeuge (werkzeuge.js ew*, Paket D2): Abschnitt am Ende der Seite mit Zeilen wie die Postfächer (.pf-konto),
   Blatt „Eigenes Werkzeug anbinden“ (.ob-*, .pf-felder) und Blatt eines Werkzeugs (.pf-blatt, .es-karte).
   Gegenstück am Mac: EigeneWerkzeuge.swift. */
.ew-liste { margin: 0 0 4px; }
.ew-nicht { margin: 4px 0 0; color: var(--text2); font-size: 14px; }
.pf-felder .ew-rechte { align-self: flex-start; margin: 2px 0 0; }
.ew-blatt .ew-rechte-satz { margin: -2px 0 2px; }
.ew-blatt .es-reihe .es-feld { max-width: 260px; }
.ew-meldung.gut { color: var(--gut); }
.ew-meldung[hidden] { display: none; }
@media (max-width: 899px) {
  .ew-blatt .es-reihe { flex-wrap: wrap; }
  .ew-blatt .es-reihe .es-t { flex-basis: 100%; }
  .ew-blatt .es-reihe .es-feld { max-width: none; }
}
