/* SocialSpeaker -- das Backend im Erscheinungsbild der Website.
   Liegt nach style.bundle.css und setzt nur Marke, Flächen und Ruhe:
   Marine #13294b, Signalorange #ff5a1f, Inter, 6-8 px Ecken, feine Linien,
   die orange Signalkante am aktiven Menüpunkt -- wie auf Website und in Mails. */

:root,
[data-bs-theme="light"] {
  --ss-marine: #13294b;
  --ss-marine-tief: #0e1f3a;
  --ss-signal: #ff5a1f;
  --ss-signal-dunkel: #e8490f;
  --ss-signal-hell: #fff1ea;
  --ss-text: #2b3a52;
  --ss-grau: #6b778c;
  --ss-linie: #e3e7ee;
  --ss-flaeche: #f5f7fa;

  --bs-primary: #ff5a1f;
  --bs-primary-rgb: 255, 90, 31;
  --bs-primary-active: #e8490f;
  --bs-primary-light: #fff1ea;
  --bs-primary-inverse: #ffffff;
  --bs-primary-clarity: rgba(255, 90, 31, 0.2);
  --bs-primary-bg-subtle: #ffe3d6;
  --bs-primary-border-subtle: #ffc2a8;
  --bs-primary-text-emphasis: #8a2a06;
  --bs-link-color: #e8490f;
  --bs-link-color-rgb: 232, 73, 15;
  --bs-link-hover-color: #13294b;
  --bs-link-hover-color-rgb: 19, 41, 75;

  --bs-body-color: #2b3a52;
  --bs-gray-900: #13294b;
  --bs-gray-800: #1f3557;
  --bs-text-gray-900: #13294b;
  --bs-border-color: #e3e7ee;
  --bs-app-bg-color: #f5f7fa;
  --bs-app-blank-bg-color: #f5f7fa;
  --bs-body-bg-rgb: 245, 247, 250;
  --bs-card-box-shadow: none;
  --bs-border-radius: 6px;
  --bs-border-radius-lg: 8px;
  --bs-app-header-base-bg-color: #ffffff;
  --bs-app-header-minimize-bg-color: #ffffff;
}

[data-bs-theme="dark"] {
  --ss-marine: #0b1729;
  --ss-marine-tief: #08111f;
  --ss-signal: #ff6a33;
  --ss-signal-dunkel: #ff5a1f;
  --ss-signal-hell: rgba(255, 106, 51, 0.12);
  --ss-linie: #22324a;
  --ss-flaeche: #0f1a2c;

  --bs-primary: #ff6a33;
  --bs-primary-rgb: 255, 106, 51;
  --bs-primary-active: #ff5a1f;
  --bs-primary-light: rgba(255, 106, 51, 0.12);
  --bs-primary-inverse: #ffffff;
  --bs-primary-clarity: rgba(255, 106, 51, 0.25);
  --bs-primary-bg-subtle: #3a1a0d;
  --bs-primary-border-subtle: #7a3417;
  --bs-primary-text-emphasis: #ffb08f;
  --bs-link-color: #ff8a5c;
  --bs-link-color-rgb: 255, 138, 92;
  --bs-app-bg-color: #0f1a2c;
  --bs-app-blank-bg-color: #0f1a2c;
  --bs-app-header-base-bg-color: #12203a;
  --bs-app-header-minimize-bg-color: #12203a;
  --bs-border-color: #22324a;
}

/* ------------------------------------------------------------ Grundton */
body.app-default, body.app-blank { font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3, .h1, .h2, .h3, .page-heading, .card-title { letter-spacing: -0.01em; }
.text-gray-900, .text-gray-800 { color: var(--bs-gray-900) !important; }

/* ------------------------------------------------------------ Kopf */
.app-header { border-bottom: 1px solid var(--ss-linie); box-shadow: none !important; }

/* ------------------------------------------------------------ Seitenleiste */
[data-kt-app-layout=dark-sidebar] .app-sidebar { background-color: var(--ss-marine); }
[data-kt-app-layout=dark-sidebar] .app-sidebar .app-sidebar-logo { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-heading { color: #7f8fa8 !important; letter-spacing: 0.04em; }
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link,
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-title { color: #c3cddd; }
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-icon i { color: #8a9ab3; }
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-bullet .bullet { background-color: #5d6f8c; }
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link { border-radius: 6px; border-left: 3px solid transparent; }
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link:hover:not(.disabled):not(.active),
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item.here > .menu-link,
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item.show > .menu-link { background-color: rgba(255, 255, 255, 0.05); }
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-title,
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-icon i { color: #ffffff; }
/* Aktiv: Signalkante links, heller Grund, weiße Schrift. */
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link.active {
  background-color: rgba(255, 255, 255, 0.09);
  border-left-color: var(--ss-signal);
}
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link.active .menu-title { color: #ffffff; font-weight: 600; }
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link.active .menu-icon i { color: var(--ss-signal); }
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link.active .menu-bullet .bullet { background-color: var(--ss-signal); }
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item.here > .menu-link .menu-icon i,
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item.here > .menu-link .menu-title { color: #ffffff; }
.app-sidebar-toggle { border: 1px solid var(--ss-linie) !important; }

/* ------------------------------------------------------------ Werkzeugleiste */
.app-toolbar { border-bottom: 1px solid var(--ss-linie); background: var(--bs-app-header-base-bg-color); margin-bottom: 24px; }
.app-toolbar .page-heading { font-size: 1.35rem !important; font-weight: 700 !important; }
.app-toolbar .breadcrumb .breadcrumb-item a:hover { color: var(--ss-signal) !important; }

/* ------------------------------------------------------------ Karten */
.card { border: 1px solid var(--ss-linie); border-radius: 8px; box-shadow: none; }
.card .card-header { border-bottom: 1px solid var(--ss-linie); min-height: 60px; }
.card .card-header .card-title, .card .card-header .card-title h2, .card .card-header .card-title h3 { font-size: 1.1rem; font-weight: 700; color: var(--bs-gray-900); }
.card .card-footer { border-top: 1px solid var(--ss-linie); }

/* ------------------------------------------------------------ Knöpfe */
.btn { border-radius: 6px; font-weight: 600; }
.btn.btn-primary { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.btn.btn-primary:hover:not(.btn-active), .btn.btn-primary:focus:not(.btn-active), .btn.btn-primary:active:not(.btn-active) { background-color: var(--bs-primary-active) !important; }
.btn.btn-light-primary { color: var(--ss-signal-dunkel); background-color: var(--bs-primary-light); }
.btn.btn-light-primary:hover:not(.btn-active) { color: #ffffff; background-color: var(--bs-primary) !important; }
.btn.btn-secondary, .btn.btn-light { border: 1px solid var(--ss-linie); }

/* ------------------------------------------------------------ Formulare */
.form-control, .form-select { border-radius: 6px; border-color: var(--ss-linie); }
.form-control:focus, .form-select:focus { border-color: var(--ss-signal); box-shadow: 0 0 0 3px var(--bs-primary-clarity); }
.form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.form-label { font-weight: 600; color: var(--bs-gray-900); }

/* ------------------------------------------------------------ Tabellen */
.table > thead th, .table thead tr { color: var(--ss-grau); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.table.table-row-dashed tr { border-bottom-style: solid !important; border-bottom-color: var(--ss-linie) !important; }

/* ------------------------------------------------------------ Kennzeichen */
.badge { border-radius: 4px; font-weight: 600; }
.nav-line-tabs .nav-item .nav-link.active { border-bottom-color: var(--ss-signal); color: var(--bs-gray-900); }
.page-item.active .page-link { background-color: var(--bs-primary); }

/* ------------------------------------------------------------ Fuß */
.app-footer { border-top: 1px solid var(--ss-linie); }

/* ------------------------------------------------------------ Seiten ohne Anmeldung */
body.app-blank:not(.landing) { background: var(--ss-flaeche); }
.app-blank .ss-anmeldung-karte { border: 1px solid var(--ss-linie); border-top: 4px solid var(--ss-signal); border-radius: 8px; box-shadow: 0 1px 2px rgba(19, 41, 75, 0.06), 0 12px 32px -12px rgba(19, 41, 75, 0.18); }
.app-blank .ss-anmeldung-fuss a { color: var(--ss-grau); text-decoration: none; margin: 0 8px; }
.app-blank .ss-anmeldung-fuss a:hover { color: var(--ss-signal-dunkel); }

/* ------------------------------------------------------------ Import-Assistent */
.import-schritte li { display: flex; align-items: center; gap: 8px; color: var(--ss-grau); }
.import-schritte li span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--ss-linie); font-size: 0.8rem; }
.import-schritte li[aria-current="step"] { color: var(--bs-gray-900); }
.import-schritte li[aria-current="step"] span { background: var(--ss-signal); border-color: var(--ss-signal); color: #fff; }
.import-schritte li.erledigt span { background: var(--ss-marine); border-color: var(--ss-marine); color: #fff; }
.import-kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.import-kachel { border: 1px solid var(--ss-linie); border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; }
.import-kachel strong { font-size: 1.35rem; color: var(--bs-gray-900); line-height: 1.2; }
.import-kachel span { font-size: 0.8rem; color: var(--ss-grau); }
.import-kachel-neu { border-left: 4px solid var(--ss-signal); }
.import-kachel-warnung strong { color: #b26a00; }
.import-kachel-fehler { border-left: 4px solid var(--bs-danger); }
.import-kachel-fehler strong { color: var(--bs-danger); }
#importBericht { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--ss-linie); }

/* ------------------------------------------------------------ Passwort anzeigen */
.passwort-auge-knopf { color: var(--ss-grau); }
.passwort-auge-knopf:hover, .passwort-auge-knopf[aria-pressed="true"] { color: var(--ss-signal); }

/* ------------------------------------------------------------ Bibliothek: Post-Karten */
.post-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.post-karte { display: flex; flex-direction: column; background: var(--bs-body-bg, #fff); border: 1px solid var(--ss-linie); border-radius: 8px; overflow: hidden; }
.post-karte > div:first-child { padding: 16px 16px 0; background: var(--ss-flaeche); }
.post-meta { padding: 16px; border-top: 1px solid var(--ss-linie); margin-top: auto; }
.post-titel { font-size: 1rem; font-weight: 700; color: var(--bs-gray-900); margin: 0 0 8px; }
.post-vorschau { background: #fff; border: 1px solid var(--ss-linie); border-radius: 8px 8px 0 0; border-bottom: 0; padding: 14px 16px 0; color: #1d2226; font-size: 0.92rem; }
#vorschau .post-vorschau { border-radius: 8px; border-bottom: 1px solid var(--ss-linie); }
.post-kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ss-marine); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; flex: none; }
.post-wer { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.post-wer strong { font-size: 0.9rem; color: #1d2226; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-wer small { color: #666; font-size: 0.75rem; }
.post-netz { margin-left: auto; }
.post-text { white-space: pre-wrap; word-break: break-word; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
#vorschau .post-text { -webkit-line-clamp: unset; display: block; }
.post-tag { color: #0a66c2; font-weight: 600; }
.post-bild { display: block; width: calc(100% + 32px); margin: 0 -16px 10px; max-height: 260px; object-fit: cover; }
.post-geteilt { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ss-linie); border-left: 4px solid var(--ss-signal); border-radius: 4px; padding: 8px 10px; margin-bottom: 10px; color: var(--bs-gray-900); font-size: 0.82rem; font-weight: 600; }
.post-dokumente { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.post-dokument { display: inline-flex; align-items: center; gap: 4px; background: var(--ss-flaeche); border: 1px solid var(--ss-linie); border-radius: 4px; padding: 3px 8px; font-size: 0.78rem; }
.post-warnung { color: var(--bs-danger); font-size: 0.78rem; font-weight: 600; margin-bottom: 8px; }
.post-fuss { display: flex; justify-content: space-around; border-top: 1px solid #eee; padding: 8px 0; color: #666; font-size: 0.8rem; font-weight: 600; }
.post-leer { grid-column: 1 / -1; text-align: center; padding: 56px 16px; color: var(--ss-grau); border: 1px dashed var(--ss-linie); border-radius: 8px; }

/* Gewählte Umschalter (Kanäle, Suchbereich) deutlich zeigen. */
.btn-check:checked + .btn.btn-light { background-color: var(--bs-primary-light); border-color: var(--ss-signal); color: var(--ss-signal-dunkel); }
.btn-check:focus-visible + .btn { outline: 3px solid var(--bs-primary-clarity); }

/* Auswertung: Balken */
.stat-zeile { display: grid; grid-template-columns: 170px 1fr 48px; gap: 12px; align-items: center; margin-bottom: 8px; font-size: 0.9rem; }
.stat-balken { height: 10px; background: var(--ss-flaeche); border-radius: 2px; overflow: hidden; }
.stat-balken span { display: block; height: 100%; background: var(--ss-signal); border-radius: 2px; }
.stat-zeile strong { text-align: right; color: var(--bs-gray-900); }

/* ---------------------------------------------------------------- Hilfe (? oben rechts, Hilfe-Center) */
.hilfe-kopf { border-top: 4px solid #ff5a1f; }
.hilfe-rubrik { font-size: 0.75rem; font-weight: 600; color: #e8490f; text-transform: none; }
.hilfe-rumpf { overflow-y: auto; }
#hilfe .hilfe-rumpf { max-height: calc(100vh - 150px); }
.hilfe-kurz { font-size: 1rem; color: var(--bs-gray-800); margin-bottom: 0.75rem; }
.hilfe-zugriff { display: flex; gap: 6px; align-items: flex-start; font-size: 0.85rem; color: var(--bs-gray-700); background: var(--bs-gray-100); border-radius: 6px; padding: 8px 10px; }
.hilfe-zugriff i { color: #ff5a1f; margin-top: 2px; }
.hilfe-abschnitt { margin-top: 1.5rem; }
.hilfe-titel { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 700; color: var(--bs-gray-900); margin-bottom: 0.75rem; }
.hilfe-titel i { color: #ff5a1f; }
.hilfe-schritte { counter-reset: schritt; list-style: none; padding: 0; margin: 0; }
.hilfe-schritte li { counter-increment: schritt; position: relative; padding: 0 0 10px 34px; color: var(--bs-gray-800); }
.hilfe-schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #13294b; color: #fff; font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; }
[data-bs-theme="dark"] .hilfe-schritte li::before { background: #ff5a1f; }
.hilfe-einstellungen { margin: 0; display: grid; gap: 8px; }
.hilfe-einstellungen div { border: 1px solid var(--bs-gray-200); border-left: 3px solid #ff5a1f; border-radius: 4px; padding: 8px 12px; }
.hilfe-einstellungen dt { font-weight: 600; color: var(--bs-gray-900); font-size: 0.9rem; }
.hilfe-einstellungen dd { margin: 2px 0 0; font-size: 0.85rem; color: var(--bs-gray-700); }
.hilfe-tipps { list-style: none; padding: 0; margin: 0; }
.hilfe-tipps li { position: relative; padding: 0 0 8px 24px; color: var(--bs-gray-800); }
.hilfe-tipps li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; border-radius: 2px; background: #ff5a1f; transform: rotate(45deg); }
.hilfe-fragen details { border-bottom: 1px dashed var(--bs-gray-300); padding: 8px 0; }
.hilfe-fragen summary { cursor: pointer; font-weight: 600; color: var(--bs-gray-900); }
.hilfe-fragen p { margin: 6px 0 0; color: var(--bs-gray-700); font-size: 0.9rem; }
.hilfe-verweise { list-style: none; padding: 0; margin: 0; }
.hilfe-verweise a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--bs-gray-200); color: var(--bs-gray-800); font-weight: 500; }
.hilfe-verweise a:hover { color: #e8490f; }
.hilfe-verweise li:last-child a { border-bottom: 0; }
.hilfe-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hilfe-taste { margin-left: auto; font-size: 0.8rem; color: var(--bs-gray-600); }
.hilfe-thema > summary { list-style: none; display: flex; justify-content: space-between; min-height: 60px; }
.hilfe-thema > summary::-webkit-details-marker { display: none; }
.hilfe-thema[open] .hilfe-pfeil { transform: rotate(180deg); }
.hilfe-thema[open] > summary { border-bottom: 1px solid var(--bs-gray-200); }
.hilfe-seitenkarte { border-left: 4px solid #ff5a1f !important; }

/* Zeilenaktionen in Tabellen: kompakte Symbol-Knöpfe, "…"-Menü (tabelle.js). */
.zeilen-aktionen .btn.btn-icon.zeilen-aktion {
  width: 32px;
  height: 32px;
  color: var(--ss-marine) !important;
  box-shadow: inset 0 0 0 1px var(--ss-linie) !important;
  background: #ffffff !important;
}
.zeilen-aktionen .btn.zeilen-aktion i { color: inherit !important; }
.zeilen-aktionen .btn.zeilen-aktion:hover,
.zeilen-aktionen .btn.zeilen-aktion:focus-visible,
.zeilen-aktionen .btn.zeilen-aktion[aria-expanded="true"] {
  color: var(--ss-signal-dunkel) !important;
  box-shadow: inset 0 0 0 1px var(--ss-signal) !important;
  background: var(--ss-signal-hell) !important;
}
.zeilen-aktionen .btn.zeilen-aktion:focus-visible { outline: 2px solid var(--ss-signal); outline-offset: 1px; }
.zeilen-aktionen .btn.zeilen-aktion.btn-light-danger { color: #c4314b !important; }
.zeilen-aktionen .btn.zeilen-aktion.btn-light-danger:hover,
.zeilen-aktionen .btn.zeilen-aktion.btn-light-danger:focus-visible {
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px #c4314b !important;
  background: #c4314b !important;
}
.zeilen-menue {
  min-width: 220px;
  padding: 6px;
  border: 1px solid var(--ss-linie);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(19, 41, 75, 0.12);
  z-index: 1080;
}
.zeilen-menue .dropdown-item {
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--ss-text);
  font-weight: 500;
}
.zeilen-menue .dropdown-item i { color: var(--ss-grau); }
.zeilen-menue .dropdown-item:hover,
.zeilen-menue .dropdown-item:focus {
  background: var(--ss-signal-hell);
  color: var(--ss-marine);
}
.zeilen-menue .dropdown-item:hover i,
.zeilen-menue .dropdown-item:focus i { color: var(--ss-signal-dunkel); }
.zeilen-menue .zeilen-menue-gefahr,
.zeilen-menue .zeilen-menue-gefahr i { color: #c4314b; }
.zeilen-menue .zeilen-menue-gefahr:hover,
.zeilen-menue .zeilen-menue-gefahr:focus { background: rgba(196, 49, 75, 0.1); color: #c4314b; }
.zeilen-menue .dropdown-item:disabled { opacity: 0.5; }

[data-bs-theme="dark"] .zeilen-aktionen .btn.zeilen-aktion {
  color: #d5deea !important;
  background: #16243b !important;
  box-shadow: inset 0 0 0 1px #2a3c58 !important;
}
[data-bs-theme="dark"] .zeilen-aktionen .btn.zeilen-aktion:hover,
[data-bs-theme="dark"] .zeilen-aktionen .btn.zeilen-aktion:focus-visible,
[data-bs-theme="dark"] .zeilen-aktionen .btn.zeilen-aktion[aria-expanded="true"] {
  color: #ffb08f !important;
  box-shadow: inset 0 0 0 1px var(--ss-signal) !important;
  background: rgba(255, 106, 51, 0.14) !important;
}
[data-bs-theme="dark"] .zeilen-aktionen .btn.zeilen-aktion.btn-light-danger { color: #ff8a9b !important; }
[data-bs-theme="dark"] .zeilen-aktionen .btn.zeilen-aktion.btn-light-danger:hover,
[data-bs-theme="dark"] .zeilen-aktionen .btn.zeilen-aktion.btn-light-danger:focus-visible { color: #ffffff !important; background: #c4314b !important; box-shadow: inset 0 0 0 1px #c4314b !important; }
[data-bs-theme="dark"] .zeilen-menue {
  background: #16243b;
  border-color: #2a3c58;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
[data-bs-theme="dark"] .zeilen-menue .dropdown-item { color: #d5deea; }
[data-bs-theme="dark"] .zeilen-menue .dropdown-item i { color: #93a3ba; }
[data-bs-theme="dark"] .zeilen-menue .dropdown-item:hover,
[data-bs-theme="dark"] .zeilen-menue .dropdown-item:focus { background: rgba(255, 106, 51, 0.14); color: #ffffff; }
[data-bs-theme="dark"] .zeilen-menue .dropdown-item:hover i,
[data-bs-theme="dark"] .zeilen-menue .dropdown-item:focus i { color: #ffb08f; }
[data-bs-theme="dark"] .zeilen-menue .zeilen-menue-gefahr,
[data-bs-theme="dark"] .zeilen-menue .zeilen-menue-gefahr i { color: #ff8a9b; }
[data-bs-theme="dark"] .zeilen-menue .zeilen-menue-gefahr:hover,
[data-bs-theme="dark"] .zeilen-menue .zeilen-menue-gefahr:focus { background: rgba(255, 138, 155, 0.12); color: #ff8a9b; }
[data-bs-theme="dark"] .zeilen-menue .dropdown-divider { border-color: #2a3c58; }

/* ---------------------------------------------------------------- Designer: mitlaufende Vorschau, Logo-Ablage */
@media (min-width: 1200px) {
  /* Bleibt beim Scrollen im Blick -- unter der festen Kopfzeile. */
  .design-vorschau-mit { position: sticky; top: calc(var(--bs-app-header-height, 70px) + 20px); }
  .design-mail-vorschau { max-height: calc(100vh - var(--bs-app-header-height, 70px) - 80px); overflow-y: auto; }
}
.design-mail-vorschau { overflow-x: hidden; }
.design-logo-text { flex: 1 1 280px; max-width: 520px; }
.design-ablage { display: flex; align-items: center; gap: 16px; min-width: 300px; padding: 14px 18px; border: 2px dashed var(--bs-gray-300); border-radius: 10px; background: var(--bs-gray-100); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; margin: 0; }
.design-ablage:hover, .design-ablage:focus-visible { border-color: #ff5a1f; background: rgba(255, 90, 31, 0.04); outline: none; }
.design-ablage.ziehen { border-color: #ff5a1f; border-style: solid; background: rgba(255, 90, 31, 0.08); box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.15); }
.design-ablage.laedt { opacity: .6; pointer-events: none; }
.design-ablage-bild { flex: none; width: 120px; height: 56px; display: grid; place-items: center; border-radius: 6px; background: repeating-conic-gradient(var(--bs-gray-200) 0% 25%, #fff 0% 50%) 50% / 12px 12px; overflow: hidden; }
.design-ablage-bild img { max-width: 112px; max-height: 48px; object-fit: contain; }
.design-ablage-bild i { color: var(--bs-gray-500); }
.design-ablage-text { display: flex; flex-direction: column; line-height: 1.35; }
.design-ablage-text strong { color: var(--bs-gray-900); font-weight: 600; }
.design-ablage-text span { color: var(--bs-gray-600); font-size: .85rem; }

/* ---------------------------------------------------------------- Social-Vorschau (Link-Karte wie in LinkedIn) */
.social-karte { border: 1px solid var(--bs-gray-300); border-radius: 8px; overflow: hidden; background: var(--bs-body-bg); max-width: 520px; }
.social-karte-bild { aspect-ratio: 1200 / 627; background: var(--bs-gray-100); display: grid; place-items: center; text-align: center; padding: 0; }
.social-karte-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social-karte-bild span { padding: 0 24px; }
.social-karte-text { padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; background: var(--bs-gray-100); }
.social-karte-text strong { color: var(--bs-gray-900); font-size: .95rem; line-height: 1.3; }
.social-karte-text span { color: var(--bs-gray-600); font-size: .8rem; }
