/* NeXtMail Web – Lücken zum Windows-Client (nm-web-rest): Dateien, Unterhaltung mit Gesendeten, OpenPGP, Schnellantwort,
   „Alle von diesem Absender“. Maße aus dichte.css (--d-*), Farben aus web.css. © 2026 by Sebastian Hirtreiter */

/* Dateien: Liste wie die Mail-Liste, links die Art als Kachel */
.wr2-da-ic { width: var(--d-bild, 32px); height: var(--d-bild, 32px); border-radius: var(--d-radius, 4px); display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; letter-spacing: .02em; color: #fff; background: #6b7689; align-self: start; margin-top: 2px; flex: none; overflow: hidden; }
.wr2-da-ic svg.ic { width: 18px; height: 18px; }
.wr2-da-ic.art-bild { background: #2b8a3e; }
.wr2-da-ic.art-pdf { background: #c92a2a; }
.wr2-da-ic.art-dokument { background: #1c5fbf; }
.wr2-da-ic.art-tabelle { background: #1e7a45; }
.wr2-da-ic.art-praesentation { background: #c4501b; }
.wr2-da-ic.art-archiv { background: #7a5c1e; }
.wr2-da-ic.art-audio, .wr2-da-ic.art-video { background: #6741d9; }
.nachricht .wr2-groesse { font-size: 12px; }
.wr2-da-such { padding: var(--d-pad-v, 8px) 10px; border-bottom: 1px solid var(--line); display: flex; gap: 6px; align-items: center; flex: none; }
.wr2-da-such .wr2-da-art { width: auto; flex: none; max-width: 40%; height: var(--d-feld, 32px); }
.wr2-da-info { padding: 4px 12px; font-size: var(--d-schrift-klein, 12px); border-bottom: 1px solid var(--line); flex: none; }
.wr2-da-info:empty { display: none; }
.wr2-da-kopf .an-zeile { grid-column: 2 / -1; }
.wr2-da-vorschau { margin-top: 12px; }
.wr2-da-vorschau img { max-width: 100%; height: auto; border-radius: var(--d-radius, 4px); border: 1px solid var(--line); background: var(--panel2); }
.wr2-da-vorschau iframe { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: var(--d-radius, 4px); background: #fff; }
.wr2-da-vorschau pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 70vh; overflow: auto; }

/* Unterhaltung: Mails aus anderen Ordnern etwas zurückgenommen */
.nachricht.wr2-fremd .von, .nachricht.wr2-fremd .betreff { color: var(--muted); }
.nachricht.wr2-fremd .ordnername { font-style: italic; }

/* OpenPGP */
.lese-inhalt h1 .wr2-pgp-chip { margin-left: 8px; vertical-align: middle; font-weight: 400; height: 22px; }
.wr2-pgp-chip svg.ic { width: 14px; height: 14px; }

/* Schnellantwort unter der Mail */
.wr2-schnell { margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; }
.wr2-schnell .wr2-schnell-feld { min-height: var(--d-feld, 32px); height: var(--d-feld, 32px); resize: none; padding: 6px 11px; line-height: 1.4; overflow: hidden; }
.wr2-schnell.offen .wr2-schnell-feld { height: auto; min-height: 96px; resize: vertical; overflow: auto; }
.wr2-schnell-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wr2-schnell-knoepfe[hidden] { display: none; }
.wr2-schnell-alle { cursor: pointer; color: var(--text); }
.wr2-schnell-alle.an { background: var(--sel); color: var(--akzent-text); border-color: transparent; font-weight: 600; }
.wr2-schnell-alle svg.ic { width: 14px; height: 14px; }
.wr2-schnell.laeuft { opacity: .7; }
.wr2-schnell + .w7-schnell { margin-top: 8px; }

/* Alle von diesem Absender */
.wr2-abs-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
