/* Newsletter-Dashboard – ergänzt /tools/buchung/buchung.css und /tools/assets/werk.css. */
.nl-ausgaben .nl-ausgabe { color: inherit; text-decoration: none; }
.nl-symbol { background: color-mix(in srgb, var(--wz) 30%, #1e1b4b); }
.nl-versendet .nl-symbol { background: rgba(74, 222, 128, .2); color: #86efac; }
.nl-versand .nl-symbol, .nl-ausgabe.nl-versand .nl-symbol { background: rgba(255, 198, 26, .2); color: #ffe08a; }
section.nl-versand { display: grid; gap: .7rem; margin-bottom: 1rem; }
.nl-abo-raster { align-items: start; }
.nl-abos { max-height: 70vh; overflow: auto; }

.nl-editor-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 1.2rem; align-items: start; }
@media (max-width: 1100px) { .nl-editor-raster { grid-template-columns: minmax(0, 1fr); } }
.nl-editor { display: grid; gap: 1rem; }
.nl-editor fieldset { margin: 0; min-width: 0; }
.nl-editor fieldset[disabled] { opacity: .8; }
.nl-bausteine { display: grid; gap: .8rem; }
.nl-baustein { display: grid; gap: .6rem; padding: .9rem 1rem 1rem; border-radius: 16px; background: var(--flaeche); border: 1px solid var(--rand); animation: wz-auf .3s var(--kurve) both; }
.nl-baustein:focus-within { border-color: color-mix(in srgb, var(--wz) 60%, var(--rand)); }
.nl-baustein-kopf { display: flex; align-items: center; gap: .55rem; color: var(--text-2); font-size: .85rem; }
.nl-baustein-kopf > i { color: var(--wz); } .nl-baustein-kopf b { color: #fff; }
.nl-baustein-kopf span { display: flex; gap: .3rem; margin-left: auto; }
.nl-baustein .t-feld { margin: 0; }
.nl-baustein textarea { resize: vertical; min-height: 90px; line-height: 1.55; }
.nl-zeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; align-items: end; }
.nl-zeile:has(.nl-schmal) { grid-template-columns: minmax(0, 1fr) 140px; }
.nl-werkzeug { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.nl-werkzeug button { width: 34px; height: 32px; border: 1px solid var(--rand-2); border-radius: 9px; background: rgba(0, 0, 0, .2); color: var(--text); cursor: pointer; }
.nl-werkzeug button:hover { border-color: var(--wz); color: #fff; }
.nl-werkzeug small { margin-left: .4rem; color: var(--text-3); font-size: .78rem; }
.nl-bild { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: .9rem; align-items: center; }
.nl-bild img, .nl-bild-leer { width: 160px; height: 100px; border-radius: 12px; object-fit: cover; background: rgba(0, 0, 0, .25); }
.nl-bild-leer { display: grid; place-items: center; color: var(--text-3); font-size: 1.6rem; }
.nl-bild > div { display: grid; gap: .4rem; justify-items: start; } .nl-bild-stand { color: var(--text-3); }
.nl-trenner { width: 100%; border: 0; border-top: 2px dashed var(--rand-2); margin: .4rem 0; }
.nl-dazu { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--rand); }
.nl-leer { text-align: center; padding: 1rem; }
.nl-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.nl-leiste .nl-test { display: inline-flex; gap: .4rem; flex: 1 1 260px; }
.nl-leiste .nl-test input { flex: 1; min-width: 0; padding: .55rem .8rem; border-radius: 11px; border: 1px solid var(--rand-2); background: rgba(0, 0, 0, .25); color: var(--text); font: 500 14px 'Exo 2', sans-serif; }
.nl-leiste .nl-senden { margin-left: auto; }
.nl-grenze { margin: -.4rem 0 0; }
.nl-vorschau { position: sticky; top: 84px; display: grid; gap: .5rem; padding: .7rem; border-radius: 20px; background: var(--flaeche); border: 1px solid var(--rand); }
.nl-vorschau-kopf { display: flex; align-items: baseline; gap: .6rem; padding: 0 .3rem; } .nl-vorschau-kopf b { color: #fff; } .nl-vorschau-kopf small { color: var(--text-3); } .nl-vorschau-kopf a { margin-left: auto; }
.nl-vorschau iframe { width: 100%; height: min(78vh, 900px); border: 0; border-radius: 14px; background: #f1f5f9; }
.nl-loeschen { margin-top: 1.2rem; max-width: 520px; }
@media (max-width: 640px) { .nl-zeile, .nl-zeile:has(.nl-schmal) { grid-template-columns: 1fr; } .nl-bild { grid-template-columns: 1fr; } .nl-leiste .nl-senden { margin-left: 0; } }
