:root {
  --dp-navy: #14213d;
  --dp-navy-2: #1f3158;
  --dp-rose: #7a1f4d;
  --dp-rose-dark: #6b1745;
  --dp-teal: #0f766e;
  --dp-teal-dark: #115e59;
  --dp-bg: #f8fafc;
  --dp-surface: #ffffff;
  --dp-border: #d7dee8;
  --dp-text: #14213d;
  --dp-muted: #5b6474;
  --dp-danger: #9f1239;
  --dp-warning: #7c4a03;
  --dp-success: #166534;
  --dp-focus: #f59e0b;
  --dp-radius: 1rem;
  --dp-shadow: 0 18px 50px rgba(20,33,61,.08);
}

html { scroll-behavior: smooth; }
body {
  background: var(--dp-bg);
  color: var(--dp-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: var(--dp-teal-dark); text-underline-offset: .18em; }
a:hover { color: var(--dp-rose-dark); }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
  z-index: 99999;
  background: #fff;
  color: var(--dp-navy);
  padding: .75rem 1rem;
  border: 2px solid var(--dp-focus);
  border-radius: .5rem;
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 3px solid var(--dp-focus) !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

.btn, .form-control, .form-select, .nav-link, .page-link {
  min-height: 44px;
}

.btn-primary {
  --bs-btn-bg: var(--dp-rose);
  --bs-btn-border-color: var(--dp-rose);
  --bs-btn-hover-bg: var(--dp-rose-dark);
  --bs-btn-hover-border-color: var(--dp-rose-dark);
  --bs-btn-active-bg: var(--dp-rose-dark);
  --bs-btn-active-border-color: var(--dp-rose-dark);
}
.btn-outline-primary {
  --bs-btn-color: var(--dp-rose);
  --bs-btn-border-color: var(--dp-rose);
  --bs-btn-hover-bg: var(--dp-rose);
  --bs-btn-hover-border-color: var(--dp-rose);
}

.dp-navbar {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--dp-border);
  backdrop-filter: blur(10px);
}
.dp-brand {
  color: var(--dp-navy);
  font-weight: 800;
  letter-spacing: -.03em;
}
.dp-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-right: .5rem;
  border-radius: .8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--dp-rose), var(--dp-teal-dark));
}

.dp-topnav-link {
  min-height: 44px;
  padding: .55rem .75rem;
  border-radius: .65rem;
  color: var(--dp-rose);
  font-weight: 650;
  line-height: 1.35;
  transition: background-color .15s ease, color .15s ease;
}
.dp-topnav-link:hover,
.dp-topnav-link:focus-visible {
  color: var(--dp-rose-dark);
  background: rgba(122,31,77,.08);
}

.dp-hero {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(122,31,77,.16), transparent 35%),
    radial-gradient(circle at 88% 30%, rgba(15,118,110,.14), transparent 38%),
    linear-gradient(180deg, #fff, var(--dp-bg));
}
.dp-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  background: #eef8f7;
  color: var(--dp-teal-dark);
  font-weight: 700;
}
.dp-title {
  max-width: 14ch;
  margin-top: 1rem;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.055em;
}
.dp-lead { max-width: 62ch; font-size: 1.12rem; color: #465267; }

.dp-card {
  background: var(--dp-surface);
  border: 1px solid var(--dp-border);
  border-radius: var(--dp-radius);
  box-shadow: var(--dp-shadow);
}
.dp-stat {
  padding: 1.25rem;
  border: 1px solid var(--dp-border);
  border-radius: .9rem;
  background: #fff;
}
.dp-stat-value { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }
.dp-stat-label { color: var(--dp-muted); }

.dp-admin-shell { min-height: 100vh; }
.dp-sidebar {
  background: var(--dp-navy);
  color: #fff;
  min-height: 100vh;
}
.dp-sidebar a {
  color: #f8fafc;
  text-decoration: none;
  border-radius: .65rem;
  padding: .7rem .8rem;
}
.dp-sidebar a:hover, .dp-sidebar a:focus-visible {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.dp-sidebar .dp-section-label {
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 750;
  margin: 1rem .8rem .35rem;
}
.dp-admin-main { padding: 1.5rem; }

.table { --bs-table-color: var(--dp-text); }
.table > :not(caption) > * > * { padding: .9rem .75rem; vertical-align: middle; }

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .62rem;
  border-radius: 999px;
  font-weight: 700;
}
.status-pending { background: #fff7ed; color: #7c2d12; }
.status-approved { background: #ecfdf5; color: #166534; }
.status-rejected { background: #fff1f2; color: #9f1239; }

.alert { border-width: 1px; }
.form-text, .text-muted { color: var(--dp-muted) !important; }

.dp-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: .85rem;
  border: 1px solid var(--dp-border);
}

.dp-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(circle at 0 0, rgba(122,31,77,.17), transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(15,118,110,.15), transparent 38%),
    var(--dp-bg);
}
.dp-login-card { width: min(100%, 31rem); padding: clamp(1.4rem, 5vw, 2.4rem); }

.dp-editor-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.dp-editor-preview { width: 100%; min-height: 420px; border: 1px solid var(--dp-border); border-radius: .75rem; background: #fff; }
@media (min-width: 1100px) { .dp-editor-grid { grid-template-columns: 1fr 1fr; } }

@media (max-width: 991.98px) {
  .dp-sidebar { min-height: auto; }
  .dp-admin-main { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Consent-Management */
.dp-cookie-settings-link {
  color: var(--dp-teal-dark);
  min-height: auto;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.dp-consent-layer {
  position: fixed;
  z-index: 10050;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  pointer-events: none;
}
.dp-consent-panel {
  position: relative;
  width: min(100%, 58rem);
  margin: 0 auto;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--dp-text);
  background: #fff;
  border: 1px solid #b9c4d3;
  border-radius: 1rem;
  box-shadow: 0 24px 70px rgba(20,33,61,.22);
  pointer-events: auto;
}
.dp-consent-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--dp-teal-dark);
  font-weight: 800;
  font-size: .88rem;
}
.dp-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.dp-consent-actions .btn { min-width: 10.5rem; }
.dp-consent-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--dp-border);
}
.dp-consent-category:last-of-type { border-bottom: 0; }
.dp-consent-category .form-switch { padding-left: 3rem; }
.dp-consent-category .form-check-input { width: 2.7rem; height: 1.45rem; }
.dp-consent-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--dp-border);
  border-radius: 999px;
  background: #fff;
  color: var(--dp-navy);
}
.dp-consent-message { min-height: 1.4em; }

/* Wartungsseite */
.dp-maintenance-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(122,31,77,.14), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(15,118,110,.13), transparent 34%),
    var(--dp-bg);
}
.dp-maintenance-wrap { width: min(100%, 54rem); margin: 7vh auto 0; }
.dp-maintenance-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: #eef8f7;
  color: var(--dp-teal-dark);
  font-size: 1.6rem;
}
.dp-maintenance-content h1:first-child,
.dp-maintenance-content h2:first-child { margin-top: 0; }

@media (max-width: 575.98px) {
  .dp-consent-layer { left: .5rem; right: .5rem; bottom: .5rem; }
  .dp-consent-actions { display: grid; }
  .dp-consent-actions .btn { width: 100%; min-width: 0; }
  .dp-consent-category { align-items: start; }
}

/* In-App Modals: keine Browser-Confirm-Popups */
dialog.dp-modal {
  width: min(calc(100% - 2rem), 58rem);
  max-width: none;
  max-height: min(90vh, 58rem);
  padding: 0;
  border: 0;
  border-radius: 1.1rem;
  color: var(--dp-text);
  background: transparent;
  overflow: visible;
}
dialog.dp-modal::backdrop {
  background: rgba(10, 20, 40, .68);
  backdrop-filter: blur(3px);
}
.dp-modal-card {
  display: flex;
  flex-direction: column;
  max-height: min(90vh, 58rem);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dp-border);
  border-radius: 1.1rem;
  box-shadow: 0 28px 90px rgba(10,20,40,.28);
}
.dp-modal-card-sm { width: min(100%, 34rem); margin-inline: auto; }
.dp-modal-card-xl { width: min(100%, 74rem); margin-inline: auto; }
dialog.dp-modal:has(.dp-modal-card-xl) { width: min(calc(100% - 2rem), 76rem); }
.dp-modal-header,
.dp-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
}
.dp-modal-header { border-bottom: 1px solid var(--dp-border); }
.dp-modal-footer { justify-content: flex-end; border-top: 1px solid var(--dp-border); }
.dp-modal-body { padding: 1.25rem; overflow: auto; }
.dp-modal-kicker {
  color: var(--dp-teal-dark);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .2rem;
}
.dp-modal-close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--dp-border);
  border-radius: 999px;
  background: #fff;
  color: var(--dp-navy);
}
.dp-modal-close:hover { background: #f1f5f9; }
.dp-history-status {
  padding: .75rem 0;
  color: var(--dp-muted);
}

@media (max-width: 575.98px) {
  dialog.dp-modal { width: calc(100% - 1rem); max-height: 94vh; }
  .dp-modal-card { max-height: 94vh; }
  .dp-modal-header, .dp-modal-body, .dp-modal-footer { padding: 1rem; }
  .dp-modal-footer { flex-wrap: wrap; }
  .dp-modal-footer .btn { flex: 1 1 10rem; }
}

/* Treffpunktkarten – MapLibre/OpenFreeMap, barrierearme Oberfläche */
.dp-map-component {
  position: relative;
  border: 1px solid var(--dp-border);
  border-radius: 1.15rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(15, 23, 42, .08);
}
.dp-map-frame {
  position: relative;
  min-height: 24rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(15,118,110,.12), transparent 34%),
    linear-gradient(145deg, #eef6f7, #f8fafc 58%, #f6edf2);
}
.dp-map-canvas {
  width: 100%;
  min-height: inherit;
  height: 100%;
}
.dp-map-home .dp-map-frame { min-height: 30rem; }
.dp-map-profile .dp-map-frame { min-height: 27rem; }
.dp-map-large .dp-map-frame { min-height: clamp(32rem, 67vh, 48rem); }
.dp-map-admin .dp-map-frame { min-height: 36rem; }
.dp-map-loading,
.dp-map-permission {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(248,250,252,.94);
  backdrop-filter: blur(4px);
}
.dp-map-loading[hidden],
.dp-map-permission[hidden],
.dp-map-canvas[hidden] { display: none !important; }
.dp-map-permission-card {
  width: min(100%, 34rem);
  padding: 1.4rem;
  border: 1px solid var(--dp-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 16px 45px rgba(15,23,42,.12);
  text-align: center;
}
.dp-map-permission-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto .8rem;
  border-radius: 999px;
  background: #e7f5f2;
  color: var(--dp-teal-dark);
  font-size: 1.35rem;
}
.dp-map-spinner {
  width: 2.4rem;
  height: 2.4rem;
  border: .25rem solid #cbd5e1;
  border-top-color: var(--dp-teal-dark);
  border-radius: 50%;
  animation: dp-map-spin .8s linear infinite;
}
@keyframes dp-map-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dp-map-spinner { animation: none; } }
.dp-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1rem;
  border-top: 1px solid var(--dp-border);
  background: #fff;
}
.dp-map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.dp-map-filters .btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.45rem;
}
.dp-map-filter-dot,
.dp-place-symbol {
  display: inline-block;
  width: .75rem;
  height: .75rem;
  border-radius: 999px;
  background: var(--dp-marker-color, #475569);
  box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 0 3px rgba(15,23,42,.13);
}
.dp-place-symbol {
  width: 2.15rem;
  height: 2.15rem;
  color: #fff;
  display: inline-grid;
  place-items: center;
  box-shadow: none;
  font-size: .9rem;
}
.dp-map-status {
  margin-left: auto;
  color: var(--dp-muted);
  font-size: .875rem;
}
.dp-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.dp-map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .65rem;
  border: 1px solid var(--dp-border);
  border-radius: 999px;
  background: #fff;
  color: var(--dp-text);
  font-size: .875rem;
}
.dp-map-popup { min-width: 13rem; color: #14213d; }
.dp-map-popup-category {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: #475569;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.maplibregl-popup-content {
  padding: 1rem 1.05rem !important;
  border-radius: .9rem !important;
  box-shadow: 0 16px 45px rgba(15,23,42,.18) !important;
}
.maplibregl-popup-close-button {
  width: 2rem;
  height: 2rem;
  font-size: 1.25rem;
  color: #334155;
}
.maplibregl-ctrl-group {
  border-radius: .7rem !important;
  overflow: hidden;
}
.dp-admin-form-sticky {
  position: sticky;
  top: 1rem;
}
.dp-coordinate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.dp-coordinate-status {
  min-height: 1.4rem;
  margin-top: .55rem;
  color: var(--dp-teal-dark);
  font-size: .86rem;
  font-weight: 600;
}
.dp-meeting-table-name {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.dp-map-attribution-note {
  padding: .55rem 1rem;
  border-top: 1px solid var(--dp-border);
  background: #f8fafc;
  color: #64748b;
  font-size: .78rem;
}
.dp-map-list-card {
  height: 100%;
  border: 1px solid var(--dp-border);
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
}
.dp-map-list-card .dp-place-symbol { flex: 0 0 auto; }

@media (max-width: 991.98px) {
  .dp-admin-form-sticky { position: static; }
  .dp-map-admin .dp-map-frame { min-height: 30rem; }
}
@media (max-width: 575.98px) {
  .dp-map-home .dp-map-frame,
  .dp-map-profile .dp-map-frame,
  .dp-map-large .dp-map-frame,
  .dp-map-admin .dp-map-frame { min-height: 27rem; }
  .dp-map-toolbar { align-items: stretch; }
  .dp-map-status { width: 100%; margin-left: 0; }
  .dp-coordinate-grid { grid-template-columns: 1fr; }
  .dp-map-filters { width: 100%; }
}

/* Höhenklassen liegen direkt auf dem Karten-Canvas. */
.dp-map-canvas.dp-map-home { min-height: 30rem; }
.dp-map-canvas.dp-map-profile { min-height: 27rem; }
.dp-map-canvas.dp-map-large { min-height: clamp(32rem, 67vh, 48rem); }
.dp-map-canvas.dp-map-admin { min-height: 36rem; }
.dp-map-table-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: .75rem;
  color: #fff;
  background: var(--dp-marker-color, #475569);
  box-shadow: 0 8px 18px rgba(15,23,42,.12);
}
@media (max-width: 991.98px) {
  .dp-map-canvas.dp-map-admin { min-height: 30rem; }
}
@media (max-width: 575.98px) {
  .dp-map-canvas.dp-map-home,
  .dp-map-canvas.dp-map-profile,
  .dp-map-canvas.dp-map-large,
  .dp-map-canvas.dp-map-admin { min-height: 27rem; }
}
.dp-map-component > .dp-map-filters {
  margin-bottom: 0 !important;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--dp-border);
  background: #fff;
}
.dp-map-component > .dp-map-status {
  margin: 0;
  padding: .65rem 1rem .2rem;
  background: #fff;
}
.dp-map-component > .dp-map-status + .small {
  margin: 0 !important;
  padding: .35rem 1rem .75rem;
  background: #fff;
}

/* Eigene Fehlerseiten */
.dp-error-wrap {
  min-height: min(72vh, 46rem);
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem) 1rem;
}
.dp-error-card {
  width: min(100%, 48rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--dp-border);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 100% 0, rgba(15,118,110,.08), transparent 34%),
    #fff;
  box-shadow: var(--dp-shadow);
  text-align: center;
}
.dp-error-card-warning {
  background:
    radial-gradient(circle at 100% 0, rgba(245,158,11,.13), transparent 34%),
    #fff;
}
.dp-error-card-danger {
  background:
    radial-gradient(circle at 100% 0, rgba(159,18,57,.10), transparent 34%),
    #fff;
}
.dp-error-icon {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, var(--dp-rose), var(--dp-teal-dark));
  font-size: 1.45rem;
  box-shadow: 0 14px 30px rgba(20,33,61,.14);
}
.dp-error-code {
  color: var(--dp-teal-dark);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.dp-error-title {
  margin: .45rem auto .8rem;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 820;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.dp-error-text {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--dp-muted);
  font-size: 1.02rem;
}
.dp-error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* Einstellungen 1.0.12 */
.dp-settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding: .65rem;
  border: 1px solid var(--dp-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 35px rgba(15,23,42,.06);
}
.dp-settings-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .65rem .85rem;
  border-radius: .7rem;
  color: var(--dp-navy);
  text-decoration: none;
  font-weight: 700;
}
.dp-settings-tabs a:hover,
.dp-settings-tabs a:focus-visible { background: #f1f5f9; }
.dp-settings-tabs a.active { color: #fff; background: var(--dp-rose); }

.dp-email-editor {
  overflow: hidden;
  border: 1px solid var(--dp-border);
  border-radius: .8rem;
  background: #fff;
}
.dp-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  padding: .65rem;
  border-bottom: 1px solid var(--dp-border);
  background: #f8fafc;
}
.dp-email-visual {
  min-height: 25rem;
  padding: 1.1rem;
  outline: 0;
  overflow: auto;
}
.dp-email-editor textarea {
  min-height: 25rem;
  border: 0;
  border-radius: 0;
}

.dp-code-input {
  max-width: 15rem;
  font-size: 1.6rem;
  letter-spacing: .35em;
  font-weight: 800;
  text-align: center;
}

/* Alterskennzeichnung von Profilfotos */
.dp-age-badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .3rem .55rem;
  border-radius: 999px;
  color: #fff;
  font-size: .78rem;
  font-weight: 850;
  box-shadow: 0 4px 16px rgba(15,23,42,.18);
}
.dp-age-16 { background: #166534; }
.dp-age-18 { background: #991b1b; }
.dp-public-photo-wrap { position: relative; overflow: hidden; background: #e2e8f0; }
.dp-home-photo { display: block; aspect-ratio: 4 / 5; border: 0; border-radius: 0; }
.dp-photo-protected-label {
  position: absolute;
  inset: auto .65rem .65rem .65rem;
  padding: .45rem .6rem;
  border-radius: .55rem;
  color: #fff;
  background: rgba(15,23,42,.82);
  font-size: .78rem;
  font-weight: 750;
  text-align: center;
}

@media (max-width: 575.98px) {
  .dp-settings-tabs { display: grid; }
  .dp-settings-tabs a { width: 100%; }
  .dp-email-visual, .dp-email-editor textarea { min-height: 18rem; }
}

/* Benutzerbereich v1.0.15 */
.dp-user-menu {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  padding: .75rem;
  border: 1px solid var(--dp-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20,33,61,.05);
}
.dp-user-menu .btn { flex: 0 0 auto; }
.dp-dashboard-welcome {
  background:
    radial-gradient(circle at 95% 10%, rgba(15,118,110,.12), transparent 35%),
    radial-gradient(circle at 8% 90%, rgba(122,31,77,.10), transparent 35%),
    #fff;
}
.dp-credit-value { font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1; font-weight: 850; letter-spacing: -.055em; }
.dp-credit-icon,
.dp-section-icon,
.dp-package-icon {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 3.2rem;
  border-radius: 1rem;
  background: #eef8f7;
  color: var(--dp-teal-dark);
  font-size: 1.35rem;
}
.dp-credit-icon { background: #fff7ed; color: #9a5b05; }
.dp-package-icon { background: #fdf2f8; color: var(--dp-rose); }

/* Passwortstärke */
.dp-password-strength .progress { height: .55rem; background: #e5e7eb; }
.dp-password-strength .progress-bar { transition: width .2s ease, background-color .2s ease; }
.dp-strength-weak { background-color: #b42318 !important; }
.dp-strength-medium { background-color: #b76e00 !important; }
.dp-strength-strong { background-color: #18794e !important; }

/* Moderner Foto-Upload / 4:5-Crop */
.dp-crop-stage {
  position: relative;
  width: min(100%, 30rem);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 1rem;
  background: #111827;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 18px 50px rgba(20,33,61,.15);
  touch-action: none;
}
.dp-crop-stage canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  cursor: grab;
  user-select: none;
}
.dp-crop-stage canvas.is-dragging { cursor: grabbing; }
.dp-crop-guide {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 1rem;
  box-shadow: inset 0 0 0 999px rgba(15,23,42,.04);
}
.dp-crop-guide::before,
.dp-crop-guide::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.38);
}
.dp-crop-guide::before { left: 33.333%; right: 33.333%; top: 0; bottom: 0; border-left: 1px solid rgba(255,255,255,.38); border-right: 1px solid rgba(255,255,255,.38); background: transparent; }
.dp-crop-guide::after { top: 33.333%; bottom: 33.333%; left: 0; right: 0; border-top: 1px solid rgba(255,255,255,.38); border-bottom: 1px solid rgba(255,255,255,.38); background: transparent; }
.dp-crop-empty {
  min-height: 28rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .35rem;
  text-align: center;
  color: var(--dp-muted);
  border: 2px dashed #c7d0dc;
  border-radius: 1rem;
  background: #f8fafc;
}
.dp-age-choice { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
.dp-age-option {
  position: relative;
  display: grid;
  gap: .45rem;
  padding: .9rem;
  border: 1px solid var(--dp-border);
  border-radius: .85rem;
  cursor: pointer;
  background: #fff;
}
.dp-age-option:has(input:checked) { border-color: var(--dp-rose); box-shadow: 0 0 0 2px rgba(122,31,77,.12); }
.dp-age-option input { position: absolute; top: .7rem; right: .7rem; }
.dp-age-option small { color: var(--dp-muted); padding-right: 1rem; }
.dp-age-icon { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; padding: .35rem .6rem; border-radius: 999px; color: #fff; font-weight: 800; }
.dp-photo-member-badge {
  position: absolute;
  left: .6rem;
  right: .6rem;
  bottom: .6rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: calc(100% - 1.2rem);
  padding: .35rem .55rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(15,23,42,.86);
  font-size: .78rem;
  font-weight: 750;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 575.98px) {
  .dp-user-menu { display: grid; grid-template-columns: 1fr 1fr; }
  .dp-user-menu .btn:first-child { grid-column: 1 / -1; }
  .dp-age-choice { grid-template-columns: 1fr; }
  .dp-crop-empty { min-height: 20rem; }
}


/* Treffpunkte, Matching & Nachrichten v1.0.16 */
.dp-region-filter {
  border: 1px solid var(--dp-border);
  border-radius: 1rem;
  background: #f8fafc;
}
.dp-filter-switch {
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: .75rem .85rem;
  border: 1px solid var(--dp-border);
  border-radius: .8rem;
  background: #fff;
}
.dp-meeting-result {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dp-meeting-result:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1 !important;
  box-shadow: 0 12px 32px rgba(20,33,61,.08);
}
.dp-map-participants {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .28rem .5rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: .78rem;
  font-weight: 750;
}
.dp-map-participants.is-active {
  background: #ecfdf5;
  color: #166534;
}

.dp-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .65rem;
}
.dp-choice-chip {
  position: relative;
  display: grid;
  gap: .2rem;
  min-height: 100%;
  padding: .8rem .9rem .8rem 2.35rem;
  border: 1px solid var(--dp-border);
  border-radius: .85rem;
  background: #fff;
  cursor: pointer;
}
.dp-choice-chip:hover { border-color: #94a3b8; }
.dp-choice-chip:has(input:checked) {
  border-color: var(--dp-teal-dark);
  box-shadow: 0 0 0 2px rgba(15,118,110,.11);
  background: #f0fdfa;
}
.dp-choice-chip input {
  position: absolute;
  top: .9rem;
  left: .85rem;
}
.dp-choice-chip small { color: var(--dp-muted); }
.dp-choice-nogo:has(input:checked) {
  border-color: #b42318;
  box-shadow: 0 0 0 2px rgba(180,35,24,.10);
  background: #fff7f6;
}
.dp-preference-badge,
.dp-nogo-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: .3rem .55rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 750;
}
.dp-preference-badge { background: #ecfdf5; color: #166534; }
.dp-nogo-badge { background: #fff1f2; color: #9f1239; }

.dp-member-match {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--dp-border);
  border-radius: 1rem;
  background: #fff;
}
.dp-member-match-photo {
  position: relative;
  flex: 0 0 7.5rem;
  width: 7.5rem;
  min-height: 9.4rem;
  background: #e2e8f0;
}
.dp-member-match-photo img {
  width: 100%;
  height: 100%;
  min-height: 9.4rem;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.dp-member-match-photo .dp-member-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 9.4rem;
  color: #64748b;
  font-size: 2rem;
}

.dp-message-quota {
  display: grid;
  grid-template-columns: repeat(4, minmax(8rem,1fr));
  gap: .6rem;
}
.dp-message-quota-sm { grid-template-columns: repeat(2, minmax(7rem,1fr)); }
.dp-message-quota > div {
  padding: .85rem;
  border: 1px solid var(--dp-border);
  border-radius: .85rem;
  background: #f8fafc;
}
.dp-message-quota strong {
  display: block;
  font-size: 1.35rem;
  color: var(--dp-navy);
}
.dp-conversation-list {
  display: grid;
  gap: .7rem;
}
.dp-conversation-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem;
  border: 1px solid var(--dp-border);
  border-radius: .9rem;
  color: inherit;
  background: #fff;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.dp-conversation-row:hover,
.dp-conversation-row:focus-visible {
  border-color: #94a3b8;
  box-shadow: 0 8px 24px rgba(20,33,61,.07);
}
.dp-conversation-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 2.8rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: #eef8f7;
  color: var(--dp-teal-dark);
  font-weight: 850;
}
.dp-chat-shell {
  overflow: hidden;
  border: 1px solid var(--dp-border);
  border-radius: 1rem;
  background: #fff;
}
.dp-chat-history {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  max-height: min(58vh, 42rem);
  overflow-y: auto;
  padding: 1rem;
  background: #f8fafc;
}
.dp-chat-message {
  display: flex;
  justify-content: flex-start;
}
.dp-chat-message.is-own,
.dp-chat-message.is-mine { justify-content: flex-end; }
.dp-chat-bubble {
  max-width: min(80%, 44rem);
  padding: .72rem .85rem;
  border: 1px solid var(--dp-border);
  border-radius: 1rem 1rem 1rem .25rem;
  background: #fff;
  overflow-wrap: anywhere;
}
.dp-chat-message.is-own .dp-chat-bubble,
.dp-chat-message.is-mine .dp-chat-bubble {
  border-color: rgba(15,118,110,.22);
  border-radius: 1rem 1rem .25rem 1rem;
  background: #ecfdf5;
}
.dp-chat-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.dp-chat-meta {
  margin-top: .35rem;
  color: var(--dp-muted);
  font-size: .72rem;
}
.dp-chat-compose {
  padding: 1rem;
  border-top: 1px solid var(--dp-border);
  background: #fff;
}
.dp-emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.dp-emoji-picker button {
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--dp-border);
  border-radius: .65rem;
  background: #fff;
  font-size: 1.15rem;
}
.dp-emoji-picker button:hover,
.dp-emoji-picker button:focus-visible { background: #f1f5f9; }

.dp-admin-choice-list {
  display: grid;
  gap: .55rem;
}
.dp-admin-choice-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem;
  border: 1px solid var(--dp-border);
  border-radius: .8rem;
  background: #fff;
}
.dp-admin-message-cell { min-width: 20rem; max-width: 42rem; }
.dp-admin-message-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 12rem;
  overflow-y: auto;
  padding: .6rem .7rem;
  border-radius: .6rem;
  background: #f8fafc;
}

@media (max-width: 767.98px) {
  .dp-choice-grid { grid-template-columns: 1fr; }
  .dp-message-quota { grid-template-columns: 1fr; }
  .dp-member-match { display: block !important; }
  .dp-member-match-photo { width: 100%; min-height: 0; }
  .dp-member-match-photo img,
  .dp-member-match-photo .dp-member-placeholder { min-height: 0; aspect-ratio: 4 / 5; }
  .dp-chat-bubble { max-width: 92%; }
}

/* Mitgliederbilder v1.0.18 */
.dp-member-profile-opener {
  position: relative;
  padding: 0;
  border: 0;
  text-align: inherit;
  cursor: pointer;
}
.dp-member-profile-opener:focus-visible,
.dp-member-name-link:focus-visible {
  outline: 3px solid rgba(15,118,110,.3);
  outline-offset: 3px;
}
.dp-member-photo-hint {
  position: absolute;
  left: .45rem;
  right: .45rem;
  bottom: .45rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: .25rem .45rem;
  border-radius: .55rem;
  color: #fff;
  background: rgba(15,23,42,.82);
  font-size: .72rem;
  font-weight: 800;
  pointer-events: none;
}
.dp-member-name-link {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .18em;
  cursor: pointer;
}
.dp-member-name-link:hover { color: var(--dp-teal-dark); text-decoration-color: currentColor; }

.dp-member-profile-status {
  padding: 1.5rem 0;
  color: var(--dp-muted);
  text-align: center;
}
.dp-member-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}
.dp-member-profile-text,
.dp-member-profile-choice-card {
  padding: 1rem;
  border: 1px solid var(--dp-border);
  border-radius: .9rem;
  background: #f8fafc;
}
.dp-member-profile-text + .dp-member-profile-text { margin-top: .75rem; }
.dp-member-profile-choice-card { margin-top: .9rem; }
.dp-member-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.dp-member-gallery-item,
.dp-member-gallery-frame {
  min-width: 0;
}
.dp-member-gallery-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--dp-border);
  border-radius: .95rem;
  background: #e2e8f0;
  box-shadow: 0 10px 26px rgba(15,23,42,.08);
}
.dp-member-gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dp-member-gallery-18-lock {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .65rem;
  padding: 1rem;
  color: #fff;
  background:
    radial-gradient(circle at 20% 15%, rgba(153,27,27,.34), transparent 35%),
    linear-gradient(145deg, #111827, #312e3b);
  text-align: center;
}
.dp-member-gallery-18-lock > i { font-size: 2rem; }
.dp-member-gallery-18-lock > span { max-width: 16rem; color: #e2e8f0; font-size: .82rem; }
.dp-member-gallery-18-lock .btn { position: relative; z-index: 3; pointer-events: auto; touch-action: manipulation; }
.dp-member-gallery-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: .4rem;
  min-height: 14rem;
  padding: 2rem;
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  color: var(--dp-muted);
  background: #f8fafc;
  text-align: center;
}
.dp-member-gallery-empty i { font-size: 2rem; }

@media (max-width: 991.98px) {
  .dp-member-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .dp-member-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .dp-member-gallery { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .dp-member-gallery-18-lock { padding: .65rem; gap: .4rem; }
  .dp-member-gallery-18-lock > span { font-size: .74rem; }
  .dp-member-gallery-18-lock .btn { padding: .3rem .5rem; font-size: .75rem; }
}

/* Kompakte Treffpunkt-Auswahl v1.0.22 */
.dp-choice-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: .5rem;
}
.dp-choice-compact {
  position: relative;
  display: flex;
  align-items: stretch;
  min-width: 0;
  min-height: 2.6rem;
  overflow: hidden;
  border: 1px solid var(--dp-border);
  border-radius: .75rem;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.dp-choice-compact:hover { border-color: #94a3b8; }
.dp-choice-compact:focus-within {
  border-color: var(--dp-teal-dark);
  box-shadow: 0 0 0 3px rgba(15,118,110,.12);
}
.dp-choice-compact-input {
  position: absolute;
  left: .62rem;
  top: 50%;
  z-index: 2;
  width: 1rem;
  height: 1rem;
  margin: 0;
  transform: translateY(-50%);
  cursor: pointer;
}
.dp-choice-compact-label {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: .52rem .35rem .52rem 2rem;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.15;
}
.dp-choice-compact-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
.dp-choice-compact-info {
  display: inline-grid;
  place-items: center;
  flex: 0 0 2.15rem;
  width: 2.15rem;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(148,163,184,.26);
  background: transparent;
  color: #64748b;
  cursor: pointer;
}
.dp-choice-compact-info:hover,
.dp-choice-compact-info:focus-visible {
  background: rgba(15,118,110,.08);
  color: var(--dp-teal-dark);
  outline: 0;
}
.dp-choice-compact:has(.dp-choice-compact-input:checked) {
  border-color: var(--dp-teal-dark);
  box-shadow: 0 0 0 2px rgba(15,118,110,.10);
  background: #f0fdfa;
}
.dp-choice-compact-nogo:has(.dp-choice-compact-input:checked) {
  border-color: #b42318;
  box-shadow: 0 0 0 2px rgba(180,35,24,.09);
  background: #fff7f6;
}
.dp-choice-compact-nogo:has(.dp-choice-compact-input:checked) .dp-choice-compact-info {
  color: #b42318;
}
.dp-choice-info-card { width: min(100%, 31rem); }
.dp-choice-info-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 575.98px) {
  .dp-choice-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-choice-compact-label { font-size: .83rem; }
}

/* DPortal26 v1.0.23 – Profil, Nachrichten und Karten-Feinschliff */
.dp-gender-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.dp-gender-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.2rem;
  padding: .7rem .85rem;
  border: 1px solid var(--dp-border);
  border-radius: .9rem;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.dp-gender-option:hover { border-color: #94a3b8; }
.dp-gender-option:has(input:checked) {
  border-color: var(--dp-teal-dark);
  background: #f0fdfa;
  box-shadow: 0 0 0 2px rgba(15,118,110,.11);
}
.dp-gender-option input { position: absolute; opacity: 0; pointer-events: none; }
.dp-gender-option:has(input:focus-visible) { outline: 3px solid rgba(15,118,110,.28); outline-offset: 2px; }
.dp-gender-icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #eef8f7;
  color: var(--dp-teal-dark);
}
.dp-sensitive-consent-box,
.dp-sensitive-consent-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: .9rem;
  background: #f8fafc;
}
.dp-sensitive-consent-box.is-required { border-color: #b76e00; background: #fffaf0; }
.dp-sensitive-consent-box .form-check { margin: 0; }

.dp-message-nav-button { position: relative; }
.dp-unread-badge {
  position: absolute;
  top: -.55rem;
  right: -.45rem;
  display: inline-grid;
  place-items: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 .35rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #c81e1e;
  color: #fff;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(15,23,42,.18);
}
.dp-conversation-avatar { overflow: hidden; }
.dp-conversation-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  border-radius: inherit;
}
.dp-read-receipt-wrap { display: inline-flex; margin-left: .35rem; vertical-align: middle; }
.dp-read-receipt {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: .78rem;
  line-height: 1;
}
button.dp-read-receipt:not(:disabled) { cursor: help; }
.dp-read-receipt:disabled { opacity: 1; }
.dp-read-receipt.is-read { color: #15803d; }
.dp-read-receipt.is-read:focus-visible { outline: 2px solid rgba(21,128,61,.35); outline-offset: 2px; border-radius: .25rem; }
.dp-read-tooltip {
  position: fixed;
  z-index: 12000;
  max-width: min(18rem, calc(100vw - 1rem));
  padding: .45rem .65rem;
  border-radius: .55rem;
  background: #14213d;
  color: #fff;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(15,23,42,.22);
  pointer-events: none;
}
.dp-read-tooltip[hidden] { display: none !important; }

.dp-region-filter { padding: 1rem; }
.dp-region-filter .row > [class*="col-"] { display: flex; flex-direction: column; }
.dp-filter-switch {
  justify-content: space-between;
  gap: .75rem;
  min-height: 2.4rem;
  margin-top: auto;
  padding: .42rem .72rem;
}
.dp-filter-switch-label { margin: 0; font-weight: 600; line-height: 1.25; cursor: pointer; }
.dp-filter-switch .form-check { flex: 0 0 auto; padding-left: 2.6rem; }
.dp-filter-switch .form-check-input { width: 2.35rem; height: 1.25rem; margin-left: -2.6rem; margin-top: .08rem; cursor: pointer; }

.dp-map-component .maplibregl-popup { max-width: min(22rem, calc(100% - 1.5rem)) !important; }
.dp-map-component .maplibregl-popup-content {
  max-height: min(22rem, calc(100vh - 7rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: .8rem;
}

@media (max-width: 575.98px) {
  .dp-gender-choice { grid-template-columns: 1fr; }
  .dp-sensitive-consent-status { flex-direction: column; }
  .dp-sensitive-consent-status form,
  .dp-sensitive-consent-status .btn { width: 100%; }
  .dp-region-filter { padding: .85rem; }
}

/* DPortal26 v1.0.24 – einwilligungsbasierte Reichweitenstatistik */
.dp-stat-ranking { display: grid; gap: .55rem; }
.dp-stat-ranking-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .75rem; align-items: center; padding: .55rem .7rem; border-radius: .75rem; background: rgba(15,23,42,.035); }
.dp-stat-ranking-row strong { min-width: 2.25rem; text-align: right; font-variant-numeric: tabular-nums; }
.dp-statistics-visits td { vertical-align: middle; }
.dp-statistics-visits code { white-space: nowrap; }
@media (max-width: 991.98px) {
  .dp-statistics-visits { min-width: 980px; }
}

/* DPortal26 v1.0.25 – kompakte Treffpunktvorschau und Statistik-Tabs */
.dp-meeting-preview-list {
  display: grid;
  background: #fff;
}
.dp-meeting-preview-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--dp-border);
}
.dp-meeting-preview-item:last-child { border-bottom: 0; }
.dp-meeting-preview-item .flex-grow-1 { min-width: 0; }
.dp-meeting-preview-item h3,
.dp-meeting-preview-item h4 { overflow-wrap: anywhere; }
.dp-meeting-preview-item:hover { background: rgba(15,118,110,.035); }

.dp-statistics-tabs {
  overflow-x: auto;
  scrollbar-width: thin;
}
.dp-statistics-tabs .nav-tabs {
  flex-wrap: nowrap;
  min-width: max-content;
  border-bottom-color: var(--dp-border);
}
.dp-statistics-tabs .nav-link {
  color: #475569;
  font-weight: 750;
  white-space: nowrap;
}
.dp-statistics-tabs .nav-link:hover,
.dp-statistics-tabs .nav-link:focus-visible {
  color: #7a1f4d;
  border-color: transparent transparent #7a1f4d;
}
.dp-statistics-tabs .nav-link.active {
  color: #7a1f4d;
  border-color: var(--dp-border) var(--dp-border) #fff;
}

@media (max-width: 575.98px) {
  .dp-meeting-preview-item {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .75rem;
    padding: .85rem;
  }
  .dp-meeting-preview-item > .btn {
    width: 100%;
  }
}


/* DPortal26 v1.0.28 – kompakte Admin-Bildverwaltung */
.dp-admin-user-avatar {
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 1px solid var(--dp-border);
  object-fit: cover;
  background: #f8fafc;
  color: var(--dp-muted);
  overflow: hidden;
}
.dp-admin-user-avatar-empty { font-size: 1rem; }
.dp-admin-user-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: .85rem;
}
.dp-admin-user-photo-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--dp-border);
  border-radius: .85rem;
  background: #fff;
}
.dp-admin-user-photo-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #f1f5f9;
}
.dp-admin-photo-status-badge { padding: .28rem .48rem; font-size: .72rem; }
.dp-admin-photo-reason {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--dp-muted);
}
@media (max-width: 575.98px) {
  .dp-admin-user-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* DPortal26 v1.0.30 – Zwei-Faktor-Authentifizierung */
.dp-mfa-page { padding: 2rem 1rem; }
.dp-mfa-card {
  width: min(100%, 58rem);
  padding: clamp(1.4rem, 4vw, 2.6rem);
}
.dp-mfa-qr {
  display: grid;
  place-items: center;
  width: min(100%, 20rem);
  min-height: 16rem;
  margin-inline: auto;
  padding: 1rem;
  border: 1px solid var(--dp-border);
  border-radius: 1rem;
  background: #fff;
  color: var(--dp-muted);
  text-align: center;
}
.dp-mfa-qr svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 18rem;
}
.dp-mfa-qr-error { background: #fff7ed; color: var(--dp-warning); }
.dp-mfa-secret {
  padding: .85rem 1rem;
  border: 1px dashed #94a3b8;
  border-radius: .8rem;
  background: #f8fafc;
}
.dp-mfa-secret code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--dp-navy);
  font-size: .96rem;
  letter-spacing: .06em;
}
.dp-mfa-steps { padding-left: 1.25rem; }
.dp-mfa-steps li + li { margin-top: .6rem; }
.dp-recovery-codes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.dp-recovery-codes code {
  display: block;
  padding: .75rem .9rem;
  border: 1px solid var(--dp-border);
  border-radius: .75rem;
  background: #f8fafc;
  color: var(--dp-navy);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: .055em;
  text-align: center;
}
.dp-mfa-session-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.dp-mfa-session-info > div {
  padding: .9rem 1rem;
  border: 1px solid var(--dp-border);
  border-radius: .8rem;
  background: #f8fafc;
}
.dp-mfa-benefits { display: grid; gap: .75rem; }
.dp-mfa-benefits > div {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: .75rem;
  align-items: start;
  padding: .85rem;
  border-radius: .8rem;
  background: #f8fafc;
}
.dp-mfa-benefits i { color: var(--dp-teal-dark); margin-top: .18rem; }
@media (max-width: 575.98px) {
  .dp-recovery-codes,
  .dp-mfa-session-info { grid-template-columns: 1fr; }
  .dp-mfa-card { padding: 1.15rem; }
}

/* Messenger- und Moderationsdarstellung v1.0.33 */
.dp-chat-new-message-bar {
  display: flex;
  justify-content: center;
  padding: .45rem .75rem;
  border-top: 1px solid var(--dp-border);
  background: #f8fafc;
}
.dp-chat-inline-notice {
  min-height: 0;
  padding: .55rem .75rem;
  font-size: .9rem;
}
.dp-chat-message.is-moderation {
  justify-content: center;
}
.dp-chat-moderation-bubble {
  width: min(100%, 48rem);
  max-width: 100%;
  border: 1px solid #dc3545;
  border-left-width: .35rem;
  border-radius: .85rem;
  background: #fff5f5;
  color: #842029;
  box-shadow: 0 8px 24px rgba(132,32,41,.08);
}
.dp-chat-moderation-title {
  margin-bottom: .35rem;
  color: #b02a37;
  font-weight: 800;
  letter-spacing: .01em;
}
.dp-admin-moderation-warning {
  border-color: #dc3545 !important;
  background: #fff5f5;
}
.dp-admin-sanction-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
  gap: 1rem;
}
@media (max-width: 991.98px) {
  .dp-admin-sanction-grid { grid-template-columns: 1fr; }
}

/* Verschlüsselte Chat-Bilder v1.0.34 */
.dp-chat-image-compose {
  padding: .85rem 1rem 1rem;
  border-top: 1px solid var(--dp-border);
  background: #f8fafc;
}
.dp-chat-image-bubble { padding: .45rem; overflow: hidden; }
.dp-chat-image-link { display: block; border-radius: .75rem; overflow: hidden; background: #e2e8f0; }
.dp-chat-image {
  display: block;
  width: min(22rem, 100%);
  height: auto;
  max-height: 32rem;
  object-fit: contain;
}
.dp-chat-image-bubble .dp-chat-meta { padding: 0 .35rem .15rem; }
.dp-admin-chat-image-preview,
.dp-admin-case-chat-image {
  display: block;
  max-width: min(100%, 52rem);
  max-height: 72vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: .75rem;
  border: 1px solid var(--dp-border);
  background: #0f172a;
  object-fit: contain;
}
.dp-admin-case-chat-image { max-height: 34rem; margin: 0; }

/* Chat-Bild-Moderation v1.0.35 */
.dp-chat-image-removed {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 7rem;
  padding: 1rem;
  border: 1px dashed #dc3545;
  border-radius: .75rem;
  background: #fff5f5;
  color: #842029;
  font-weight: 600;
}
.dp-chat-image-removed .fa-shield-halved { font-size: 1.25rem; }
.dp-chat-image-filters { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.dp-admin-chat-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1rem;
}
.dp-admin-chat-image-card { overflow: hidden; min-width: 0; }
.dp-admin-chat-image-card.is-deleted { opacity: .86; }
.dp-admin-chat-image-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0f172a;
  overflow: hidden;
}
.dp-admin-chat-image-thumb-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.dp-admin-chat-image-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f172a;
}
.dp-admin-chat-image-thumb-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}
.dp-admin-chat-image-status {
  position: absolute;
  top: .65rem;
  left: .65rem;
  right: .65rem;
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  pointer-events: none;
}
.dp-admin-chat-image-deleted {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  height: 100%;
  padding: 1rem;
  text-align: center;
  color: #fff;
  background: #334155;
}
.dp-admin-chat-image-deleted .fa-shield-halved { font-size: 2rem; }
@media (max-width: 575.98px) {
  .dp-admin-chat-image-grid { grid-template-columns: 1fr; }
}
