/* aura-scss-build:99b9ed844ec51a969c4ae652f2c42f31176066b0 */
@charset "UTF-8";
/* Grundlayout */
/* ==========================
   AURA COLOR SYSTEM
   Logisch aufgebaut
   ========================== */
/* Ã°Å¸â€Â¥ Hauptfarbe (Brand / Leitfarbe) */
/* Ã¢Å“Â¨ Kontrastfarbe (fÃƒÂ¼r Highlights / CTA) */
/* Ã¢Å“â€¦ Erfolgsfarbe */
/* Ã¢ÂÅ’ Fehlerfarbe */
/* Ã°Å¸Å’â€˜ Dunkle Farbe (Text / Dark UI) */
/* Ã°Å¸Å’â€¢ Helle FlÃƒÂ¤chen */
/* Ã°Å¸Â§Â¾ Texte */
/* Ã°Å¸Â§Â± Borders */
/* Ã°Å¸Å’Â«Ã¯Â¸Â Hover / States */
/* Schatten */
.icon-color {
  color: #7f5cc2;
  border-color: #7f5cc2;
  background: none;
}

.fa-facebook {
  color: #1877f2 !important;
}

.fa-instagram {
  color: #e4405f !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #2f2a3a;
  margin: 0;
  padding-left: var(--aura-sidebar-width);
  transition: padding-left 180ms ease;
}
@media (max-width: 992px) {
  body {
    padding-left: 0;
    padding-top: 88px;
  }
}
@media (max-width: 768px) {
  body {
    padding-top: 76px;
  }
}

.firmendaten-page .page-shell__inner {
  width: 100%;
  max-width: none;
}

.zielgruppe-page .page-shell__inner,
.angebote-page .page-shell__inner {
  width: 100%;
  max-width: none;
}

.angebote-tabs {
  gap: 14px;
}

.angebote-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid rgba(221, 214, 234, 0.95);
}
@media (max-width: 768px) {
  .angebote-tabs__nav {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 0;
  }
}

.angebote-tabs__tab {
  min-width: 0;
  min-height: 38px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: #6f6780;
  font: inherit;
  font-weight: 650;
  text-align: center;
  cursor: pointer;
  overflow-wrap: anywhere;
  margin-bottom: -1px;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
@media (max-width: 768px) {
  .angebote-tabs__tab {
    width: 100%;
    border-color: rgba(221, 214, 234, 0.75);
    border-radius: 10px;
    margin-bottom: 0;
  }
}

.angebote-tabs__tab:hover,
.angebote-tabs__tab:focus-visible {
  border-color: rgba(221, 214, 234, 0.75);
  border-bottom-color: transparent;
  color: #6f4fa8;
}
@media (max-width: 768px) {
  .angebote-tabs__tab:hover,
  .angebote-tabs__tab:focus-visible {
    border-bottom-color: rgba(221, 214, 234, 0.75);
  }
}

.angebote-tabs__tab.is-active {
  border-color: rgba(221, 214, 234, 0.95);
  border-bottom-color: #ffffff;
  background: #ffffff;
  color: #6f4fa8;
}
@media (max-width: 768px) {
  .angebote-tabs__tab.is-active {
    border-color: rgba(127, 92, 194, 0.55);
    background: rgba(127, 92, 194, 0.08);
  }
}

.angebote-tabs__panels,
.angebote-tabs__panel {
  min-width: 0;
}

.angebote-tabs__panel[hidden] {
  display: none !important;
}

.firmendaten-page .firmendaten-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  align-items: start;
  gap: 10px;
}
@media (max-width: 992px) {
  .firmendaten-page .firmendaten-layout {
    display: flex;
    flex-direction: column;
  }
}

.firmendaten-page #studioWebsite {
  width: 100%;
}

.firmendaten-page .field__action-row:has(#studioWebsite) {
  grid-template-columns: minmax(0, 1fr);
}

.firmendaten-page .aura-form-section,
.firmendaten-page .field-grid {
  gap: 10px;
}

.firmendaten-page .aura-form-subsection {
  margin-top: 10px;
  padding-top: 10px;
}

.firmendaten-page #websiteCiPanel .ci-panel__header {
  display: flex;
}

.firmendaten-page #websiteCiPanel .ci-panel {
  gap: 10px;
}

.firmendaten-page #websiteCiPanel .ci-block {
  gap: 10px;
}

/* Base */
.page-shell {
  min-height: calc(100vh - 88px);
  padding: 2rem 2rem 5rem 2rem;
  background: #ffffff;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .page-shell {
    min-height: calc(100vh - 76px);
    padding: 16px 14px 32px;
  }
}
@media (max-width: 576px) {
  .page-shell {
    padding: 14px 12px 24px;
  }
}

.page-shell--with-sidebar {
  position: relative;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
  flex: 1;
}

.page-shell__inner {
  --page-main-col: minmax(0, 1.55fr);
  --page-side-col: minmax(280px, 0.75fr);
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
@media (max-width: 768px) {
  .page-shell__inner {
    gap: 16px;
  }
}

.page-hero {
  display: grid;
  grid-template-columns: var(--page-main-col) var(--page-side-col);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 1200px) {
  .page-hero {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .page-hero {
    gap: 16px;
  }
}

.page-hero__spacer {
  min-height: 1px;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #efe7ff;
  color: #6f4fa8;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-title {
  margin: 18px 0 12px;
  color: #2d243d;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-align: left;
}
@media (max-width: 768px) {
  .page-title {
    font-size: clamp(1.8rem, 9vw, 2.55rem);
    line-height: 1;
  }
}

.page-lead {
  max-width: none;
  margin: 0;
  color: #6f6780;
  font-size: 1.02rem;
  line-height: 1.6;
  text-align: left;
}
@media (max-width: 768px) {
  .page-lead {
    font-size: 0.96rem;
  }
}

.page-stack {
  display: grid;
  gap: 24px;
}
@media (max-width: 768px) {
  .page-stack {
    gap: 16px;
  }
}

.page-grid {
  display: grid;
  grid-template-columns: var(--page-main-col) var(--page-side-col);
  gap: 24px;
  align-items: start;
}
@media (max-width: 1200px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .page-grid {
    gap: 16px;
  }
}

.page-actions {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .page-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

[hidden] {
  display: none !important;
}

.aura-u-hidden {
  display: none !important;
}

.is-initially-hidden {
  display: none;
}

.aura-u-block {
  display: block !important;
}

.aura-u-flex {
  display: flex !important;
}

.aura-u-inline-flex {
  display: inline-flex !important;
}

.aura-u-flex-column {
  flex-direction: column !important;
}

.aura-u-flex-wrap {
  flex-wrap: wrap !important;
}

.aura-u-flex-nowrap {
  flex-wrap: nowrap !important;
}

.aura-u-items-start {
  align-items: flex-start !important;
}

.aura-u-items-center {
  align-items: center !important;
}

.aura-u-items-stretch {
  align-items: stretch !important;
}

.aura-u-justify-center {
  justify-content: center !important;
}

.aura-u-justify-between {
  justify-content: space-between !important;
}

.aura-u-shrink-0 {
  flex-shrink: 0 !important;
}

.aura-u-gap-1 {
  gap: 0.25rem !important;
}

.aura-u-gap-2 {
  gap: 0.5rem !important;
}

.aura-u-gap-3 {
  gap: 1rem !important;
}

.aura-u-gap-4 {
  gap: 1.5rem !important;
}

.aura-u-m-0 {
  margin: 0 !important;
}

.aura-u-mt-1 {
  margin-top: 0.25rem !important;
}

.aura-u-mt-2 {
  margin-top: 0.5rem !important;
}

.aura-u-mt-3 {
  margin-top: 1rem !important;
}

.aura-u-mt-4 {
  margin-top: 1.5rem !important;
}

.aura-u-mb-0 {
  margin-bottom: 0 !important;
}

.aura-u-mb-1 {
  margin-bottom: 0.25rem !important;
}

.aura-u-mb-2 {
  margin-bottom: 0.5rem !important;
}

.aura-u-mb-3 {
  margin-bottom: 1rem !important;
}

.aura-u-mb-4 {
  margin-bottom: 1.5rem !important;
}

.aura-u-ms-1 {
  margin-left: 0.25rem !important;
}

.aura-u-ms-2 {
  margin-left: 0.5rem !important;
}

.aura-u-me-2 {
  margin-right: 0.5rem !important;
}

.aura-u-p-3 {
  padding: 1rem !important;
}

.aura-u-py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.aura-u-text-muted {
  color: #6f6780 !important;
}

.aura-u-text-center {
  text-align: center !important;
}

.aura-u-text-start {
  text-align: left !important;
}

.aura-u-text-end {
  text-align: right !important;
}

.aura-u-text-uppercase {
  text-transform: uppercase !important;
}

.aura-u-text-danger {
  color: #c12e2a !important;
}

.aura-u-fw-semibold {
  font-weight: 600 !important;
}

.aura-u-fw-bold {
  font-weight: 600 !important;
}

.aura-u-font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

.aura-u-small {
  font-size: 0.875em !important;
}

.aura-u-w-100 {
  width: 100% !important;
}

.aura-u-h-100 {
  height: 100% !important;
}

.aura-u-border {
  border: 1px solid #ddd6ea !important;
}

.aura-u-rounded {
  border-radius: 20px !important;
}

.aura-u-rounded-sm {
  border-radius: 10px !important;
}

.aura-u-bg-light {
  background: #f9f5ff !important;
}

.aura-u-img-fluid {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
}

.aura-u-object-cover {
  object-fit: cover !important;
}

.aura-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0.36rem 0.68rem;
  border: 1px solid #e9e1f4;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.aura-badge--primary {
  background: #6f4fa8;
  color: #ffffff;
  border-color: #efe3ff;
}

.aura-badge--secondary {
  background: #efe7ff;
  color: #6f4fa8;
  border-color: #7f5cc2;
}

.aura-badge--danger {
  background: #d9534f;
  color: #ffffff;
  border-color: #d2322d;
}

.aura-badge--warning {
  background: #ffe8a3;
  color: #2d243d;
  border-color: #f0c95a;
}

.aura-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--aura-grid-gap, 1rem);
  min-width: 0;
}

.aura-grid--gap-1 {
  --aura-grid-gap: 0.25rem;
}

.aura-grid--gap-2 {
  --aura-grid-gap: 0.5rem;
}

.aura-grid--gap-3 {
  --aura-grid-gap: 1rem;
}

.aura-grid--gap-4 {
  --aura-grid-gap: 1.5rem;
}

.aura-grid--cols-1 > .aura-col {
  grid-column: span 12;
}

.aura-grid__col,
.aura-col {
  min-width: 0;
  grid-column: span 12;
}

.aura-col--12 {
  grid-column: span 12;
}

@media (min-width: 576px) {
  .aura-col--sm-6 {
    grid-column: span 6;
  }
}

@media (min-width: 768px) {
  .aura-col--md-2 {
    grid-column: span 2;
  }
}

@media (min-width: 768px) {
  .aura-col--md-3 {
    grid-column: span 3;
  }
}

@media (min-width: 768px) {
  .aura-col--md-4 {
    grid-column: span 4;
  }
}

@media (min-width: 768px) {
  .aura-col--md-6 {
    grid-column: span 6;
  }
}

@media (min-width: 768px) {
  .aura-col--md-8 {
    grid-column: span 8;
  }
}

@media (min-width: 768px) {
  .aura-col--md-9 {
    grid-column: span 9;
  }
}

@media (min-width: 768px) {
  .aura-col--md-12 {
    grid-column: span 12;
  }
}

@media (min-width: 992px) {
  .aura-grid--cols-lg-2 > .aura-col {
    grid-column: span 6;
  }
}

@media (min-width: 992px) {
  .aura-grid--cols-lg-3 > .aura-col {
    grid-column: span 4;
  }
}

@media (min-width: 992px) {
  .aura-col--lg-3 {
    grid-column: span 3;
  }
}

@media (min-width: 992px) {
  .aura-col--lg-5 {
    grid-column: span 5;
  }
}

@media (min-width: 992px) {
  .aura-col--lg-6 {
    grid-column: span 6;
  }
}

@media (min-width: 992px) {
  .aura-col--lg-7 {
    grid-column: span 7;
  }
}

@media (min-width: 992px) {
  .aura-col--lg-9 {
    grid-column: span 9;
  }
}

@media (min-width: 1200px) {
  .aura-col--xl-3 {
    grid-column: span 3;
  }
}

.aura-alert {
  position: relative;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  margin-bottom: 1rem;
  color: #2d243d;
  background: #f9f5ff;
}

.aura-alert--danger {
  border-color: rgba(217, 83, 79, 0.28);
  background: #faeaea;
  color: #a82824;
}

.aura-alert--success {
  border-color: rgba(47, 166, 106, 0.3);
  background: #e6f4ed;
  color: #185737;
}

.aura-alert--info {
  border-color: rgba(127, 92, 194, 0.25);
  background: #fbf8ff;
  color: #6f4fa8;
}

.aura-alert--warning {
  border-color: rgba(194, 122, 26, 0.34);
  background: #f5eada;
  color: #56360c;
}

.aura-popover {
  position: absolute;
  z-index: 1080;
  width: min(320px, 100vw - 24px);
  padding: 14px 16px;
  border: 1px solid rgba(221, 214, 234, 0.9);
  border-radius: 12px;
  background: #ffffff;
  color: #2d243d;
  box-shadow: none;
  font-size: 0.9rem;
  line-height: 1.45;
}

.aura-popover strong {
  color: #2d243d;
}

.aura-modal {
  position: fixed;
  inset: 0;
  z-index: 1070;
  display: none;
  overflow: auto;
  padding: 24px;
  background: rgba(25, 20, 35, 0.54);
}

.aura-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.aura-modal__dialog {
  width: min(100%, 760px);
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.aura-modal__content {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: none;
}

/* Auto-task edit */
.auto-task-fieldset {
  margin-bottom: 30px;
}

.auto-task-fieldset-top {
  margin-top: 30px;
}

.auto-task-active-label {
  margin-top: 10px;
}

.auto-task-choice {
  margin-bottom: 15px;
}

.auto-task-form {
  display: none;
}

.auto-task-hidden {
  display: none;
}

.auto-task-loading {
  padding: 10px;
  text-align: center;
}

.auto-task-website-gallery {
  display: none;
  margin-top: 10px;
}

.auto-task-website-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auto-task-preview-img {
  max-width: 100%;
  border-radius: 8px;
}

.auto-task-preview-img--empty {
  display: none;
}

.auto-task-ai-box {
  display: none;
  margin-top: 10px;
}

.auto-task-actions {
  margin-top: 20px;
}

/* Komponenten */
/* ==========================
   AURA BUTTON SYSTEM
    .aura-btn
    + Farben
    .aura-btn--primary (hell)
    .aura-btn--secondary (dunkel)
    .aura-btn--success (grÃƒÂ¼n)
    .aura-btn--danger (rot)
    + grÃƒÂ¶ÃƒÅ¸e
    .aura-btn--icon
    .aura-btn--icon-mini
    .aura-btn--sm
   ========================== */
/* Mixins */
/* ==========================
   PRIMARY (NEU!)
   ========================== */
/* ==========================
   ANDERE VARIANTEN
   ========================== */
/* ==========================
   BASIS
   ========================== */
.aura-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-width: 1px;
  border-style: solid;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  margin: 0;
  box-sizing: border-box;
}
.aura-btn:hover, .aura-btn:focus {
  text-decoration: none;
  transform: translateY(-1px);
  outline: none;
}
.aura-btn:disabled, .aura-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}
.aura-btn.is-active, .aura-btn.aura-btn--active, .aura-btn[aria-pressed=true] {
  background: #6f4fa8;
  color: #ffffff !important;
  border-color: #efe3ff;
  box-shadow: none;
}
.aura-btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.82;
}

/* Varianten */
.aura-btn--primary {
  background: #efe7ff;
  color: #7f5cc2;
  border: 2px solid #7f5cc2;
  box-shadow: none;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 999px;
}
.aura-btn--primary:hover, .aura-btn--primary:focus {
  background: #6f4fa8;
  color: #ffffff;
  border-color: rgba(111, 84, 154, 0.28);
}
.aura-btn--primary:active {
  background: #6f4fa8;
  color: #ffffff !important;
  border-color: rgba(111, 84, 154, 0.28);
  transform: translateY(0);
}
.aura-btn--primary.is-active, .aura-btn--primary.aura-btn--active, .aura-btn--primary[aria-pressed=true] {
  background: #6f4fa8;
  color: #ffffff;
  border-color: #efe3ff;
  box-shadow: none;
  transform: translateY(0);
}
.aura-btn--primary.is-active:hover, .aura-btn--primary.is-active:focus, .aura-btn--primary.aura-btn--active:hover, .aura-btn--primary.aura-btn--active:focus, .aura-btn--primary[aria-pressed=true]:hover, .aura-btn--primary[aria-pressed=true]:focus {
  background: #efe3ff;
  color: #2d243d;
  border-color: #e9e1f4;
  box-shadow: none;
}

.aura-btn--secondary {
  background: #6f4fa8;
  color: #ffffff;
  border-color: #efe3ff;
  box-shadow: none;
}
.aura-btn--secondary:hover, .aura-btn--secondary:focus {
  background: #efe3ff;
  color: #2d243d;
  border-color: #e9e1f4;
  box-shadow: none;
}

.aura-btn--success {
  background: #c6edd8;
  color: #2fa66a;
  border-color: rgba(47, 166, 106, 0.18);
  box-shadow: none;
}
.aura-btn--success:hover, .aura-btn--success:focus {
  background: #b6e9ce;
  color: #2a9660;
  border-color: rgba(47, 166, 106, 0.3);
  box-shadow: none;
}

.aura-btn--danger {
  background: #fdf1f0;
  color: #d9534f;
  border-color: rgba(217, 83, 79, 0.18);
  box-shadow: none;
}
.aura-btn--danger:hover, .aura-btn--danger:focus {
  background: #fbdfde;
  color: #d5433e;
  border-color: rgba(217, 83, 79, 0.3);
  box-shadow: none;
}

.aura-btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 1.25rem;
  border-radius: 50%;
  border-width: 2px;
  border-color: #7f5cc2;
}
.aura-btn--icon:hover, .aura-btn--icon:focus {
  border-color: #6f4fa8;
  transform: translateY(-1px);
}
.aura-btn--icon:active {
  transform: translateY(0);
}

.aura-btn--icon-mini {
  min-height: 20px;
  width: 20px;
  height: 20px;
  padding: 0;
  font-size: 0.75rem;
  border-radius: 50%;
  border-width: 1px;
  border-color: #ddd6ea;
  background: #efe7ff;
  color: #6f4fa8;
}
.aura-btn--icon-mini:hover, .aura-btn--icon-mini:focus {
  background: #a985e7;
  border-color: #a985e7;
  color: #ffffff;
  transform: translateY(-1px);
}
.aura-btn--icon-mini:active {
  transform: translateY(0);
}

.aura-btn--sm {
  font-size: 0.78rem;
  padding: 4px 8px;
  min-height: 28px;
  line-height: 1.1;
}

.aura-btn--100 {
  width: 100%;
}

.aura-btn-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  align-items: stretch;
}

.aura-btn-group > .aura-btn {
  flex: 0 1 auto;
  min-height: 38px;
  margin: 0;
  border-radius: 0;
  border-right-width: 0;
  box-shadow: none;
  white-space: normal;
  text-align: center;
  transform: none;
}

.aura-btn-group > .aura-btn:hover,
.aura-btn-group > .aura-btn:focus,
.aura-btn-group > .aura-btn:active {
  transform: none;
}

.aura-btn-group > .aura-btn:first-child {
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

.aura-btn-group > .aura-btn:last-child {
  border-right-width: 2px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

.aura-btn-group--equal > .aura-btn {
  flex: 1 1 0;
  min-width: 0;
}

.aura-btn-group--grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aura-btn-group--grid-4 > .aura-btn {
  min-width: 0;
  border-right-width: 2px;
  border-radius: 0;
}

.aura-btn-group--grid-4 > .aura-btn:first-child {
  border-top-left-radius: 999px;
  border-bottom-left-radius: 0;
}

.aura-btn-group--grid-4 > .aura-btn:nth-child(4) {
  border-top-right-radius: 999px;
}

.aura-btn-group--grid-4 > .aura-btn:nth-child(5) {
  border-bottom-left-radius: 999px;
}

.aura-btn-group--grid-4 > .aura-btn:last-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 999px;
}

.aura-notes-toggle-button {
  position: fixed;
  right: 20px;
  bottom: 10px;
  z-index: 2147483000;
}

.aura-notes-toggle-button__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #d9534f;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}

.aura-notes-toggle-button__badge[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .aura-notes-clipboard-button {
    display: none !important;
  }
}
.aura-btn.is-active,
.aura-btn.aura-btn--active,
.aura-btn[aria-pressed=true],
.aura-btn.is-active:hover,
.aura-btn.is-active:focus,
.aura-btn.is-active:active,
.aura-btn.aura-btn--active:hover,
.aura-btn.aura-btn--active:focus,
.aura-btn.aura-btn--active:active,
.aura-btn[aria-pressed=true]:hover,
.aura-btn[aria-pressed=true]:focus,
.aura-btn[aria-pressed=true]:active {
  background: #6f4fa8;
  color: #ffffff !important;
  border-color: #efe3ff;
  transform: translateY(0);
  box-shadow: none;
}

.aura-btn-group > .aura-btn.is-active,
.aura-btn-group > .aura-btn.aura-btn--active,
.aura-btn-group > .aura-btn[aria-pressed=true],
.aura-btn-group > .aura-btn.is-active:hover,
.aura-btn-group > .aura-btn.is-active:focus,
.aura-btn-group > .aura-btn.is-active:active,
.aura-btn-group > .aura-btn.aura-btn--active:hover,
.aura-btn-group > .aura-btn.aura-btn--active:focus,
.aura-btn-group > .aura-btn.aura-btn--active:active,
.aura-btn-group > .aura-btn[aria-pressed=true]:hover,
.aura-btn-group > .aura-btn[aria-pressed=true]:focus,
.aura-btn-group > .aura-btn[aria-pressed=true]:active {
  border-color: #7f5cc2;
}

@media (max-width: 768px) {
  .aura-btn-100 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .aura-btn-50 {
    width: 47.5%;
  }
}

@media (max-width: 768px) {
  .aura-btn-40 {
    width: 40%;
  }
}

.aura-card {
  display: block;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(221, 214, 234, 0.85);
  border-radius: 16px;
}

.aura-card--bordered {
  border-color: rgba(127, 92, 194, 0.36);
}

.aura-card__body {
  padding: 1rem;
}
@media (max-width: 576px) {
  .aura-card__body {
    padding: 0.75rem 0.5rem;
  }
}

.aura-card--spacious > .aura-card__body {
  padding: 24px;
}
@media (max-width: 768px) {
  .aura-card--spacious > .aura-card__body {
    padding: 20px;
  }
}
@media (max-width: 576px) {
  .aura-card--spacious > .aura-card__body {
    padding: 16px;
  }
}

.aura-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  align-items: stretch;
  min-width: 0;
}
@media (max-width: 576px) {
  .aura-card-grid {
    gap: 14px;
  }
}

.aura-card-grid--compact {
  gap: 18px;
}
@media (max-width: 576px) {
  .aura-card-grid--compact {
    gap: 14px;
  }
}

.aura-social-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 16px;
  background: #f9f5ff;
  border: 1px solid rgba(127, 92, 194, 0.1);
}
@media (max-width: 768px) {
  .aura-social-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .aura-social-card {
    padding: 16px;
  }
}

.aura-social-card--stream {
  flex: 0 0 var(--facebook-feed-card-width);
  width: var(--facebook-feed-card-width);
  grid-template-columns: 1fr;
  align-content: start;
  align-self: flex-start;
  min-height: 0;
  scroll-snap-align: start;
}

.index-social-list--instagram-stream:not(.index-social-list--facebook-stream) .aura-social-card--instagram-stream {
  width: auto;
  flex: none;
}

.aura-social-card.is-muted {
  opacity: 0.82;
}

.aura-social-card__media {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .aura-social-card__media {
    width: 100%;
    height: 180px;
  }
}
@media (max-width: 576px) {
  .aura-social-card__media {
    height: 148px;
  }
}

.aura-social-card--stream .aura-social-card__media {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 12px;
}
@media (max-width: 576px) {
  .aura-social-card--stream .aura-social-card__media {
    height: 168px;
  }
}

.aura-social-card__media img,
.aura-social-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aura-social-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1877f2;
  font-size: 1.8rem;
}

.aura-social-card__placeholder--instagram {
  color: #e4405f;
}

.aura-social-card__body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.aura-social-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.aura-social-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(127, 92, 194, 0.1);
  color: #6f4fa8;
  font-size: 0.7rem;
  font-weight: 600;
}
@media (max-width: 576px) {
  .aura-social-card__meta span {
    width: 100%;
    justify-content: flex-start;
  }
}

.aura-social-card__text {
  color: #2d243d;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
  display: -webkit-box;
  min-height: 4.6em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.aura-social-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.aura-social-card__actions > * {
  width: 100%;
}
.aura-social-card__actions .aura-btn {
  width: 100%;
  min-height: 34px;
  padding-block: 5px;
  font-size: 0.8rem;
}
@media (max-width: 576px) {
  .aura-social-card__actions {
    gap: 8px;
  }
  .aura-social-card__actions > * {
    width: 100%;
  }
}

.aura-social-card__actions form {
  display: contents !important;
  width: 100% !important;
  margin: 0 !important;
  margin-block: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
}

.aura-social-card__actions form > .aura-btn {
  margin: 0 !important;
  width: 100% !important;
}

/* ==========================
   TYPO / SMALL UI
   ========================== */
.tag-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: #efe7ff;
  color: #6f4fa8;
  font-size: 0.84rem;
  font-weight: 600;
}
@media (max-width: 576px) {
  .tag-pill {
    font-size: 0.78rem;
  }
}

/* ==========================
   OFFER MODULE CARD
   ========================== */
.offer-module-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e9e1f4;
}

.offer-module-card__text {
  color: #2d243d;
  font-weight: 600;
}

.offer-module-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .offer-module-card__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* ==========================
   CHECK CARD
   ========================== */
.check-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #e9e1f4;
  border-radius: 16px;
  color: #403557;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
}
@media (max-width: 576px) {
  .check-card {
    align-items: flex-start;
  }
}

.check-card__custom-wrap {
  display: block;
  margin-top: 8px;
}

.page-shell .check-card__custom-input,
.page-shell .check-card__custom-input:focus {
  width: 100%;
  min-height: 42px;
  height: 42px;
  padding: 10px 14px;
  border: 1px solid #e9e1f4;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
  line-height: 1.2;
  outline: none;
}

.check-card input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #7f5cc2;
}

/* ==========================
   CI / IMAGE CARDS
   ========================== */
.ci-image-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #efe7ff;
  border: 1px solid rgba(221, 214, 234, 0.9);
}
.ci-image-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.ci-image-card--logo img {
  object-fit: contain;
  background: #ffffff;
  padding: 10px;
}

/* ==========================
   DETAIL / CI PANELS
   ========================== */
.ci-panel {
  display: grid;
  gap: 1px;
}

.ci-panel__header {
  display: grid;
  gap: 8px;
}

.spotlight-card {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: space-between;
  padding: 7px;
  border-radius: 24px;
  background: #efe7ff;
  color: #ffffff;
  box-shadow: none;
}
.spotlight-card h2 {
  margin: 0;
  font-size: 1.35rem;
}
.spotlight-card p {
  margin: 0;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}
@media (max-width: 768px) {
  .spotlight-card {
    border-radius: 22px;
  }
}
@media (max-width: 576px) {
  .spotlight-card {
    gap: 10px;
    padding: 4px;
    border-radius: 20px;
  }
}

.spotlight-card__title {
  margin: 9px 0 0;
  padding: 0.5rem 34px 0 0;
  color: #2f2a3a;
  font-size: 1.35rem;
  line-height: 1.1;
  text-align: center;
}
@media (max-width: 768px) {
  .spotlight-card__title {
    padding-right: 28px;
    font-size: 1.12rem;
  }
}
@media (max-width: 576px) {
  .spotlight-card__title {
    padding-right: 24px;
    font-size: 1rem;
  }
}

.spotlight-card__panel {
  display: grid;
  gap: 1px;
  padding: 7px;
  border: 1px solid rgba(221, 214, 234, 0.88);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}
@media (max-width: 576px) {
  .spotlight-card__panel {
    padding: 4px;
    border-radius: 16px;
  }
}

.spotlight-card > .spotlight-card__close {
  position: absolute;
  top: 12px !important;
  right: 12px !important;
  z-index: 4;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(45, 36, 61, 0.88) !important;
  color: #ffffff !important;
  box-shadow: none;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-indent: 0;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.spotlight-card > .spotlight-card__close:hover,
.spotlight-card > .spotlight-card__close:focus {
  background: rgba(45, 36, 61, 0.96) !important;
}

.spotlight-card__content {
  display: grid;
  gap: 12px;
}

.spotlight-card__richtext {
  display: grid;
  gap: 1px;
  padding-left: 4px;
}

.spotlight-card__richtext p,
.spotlight-card__richtext ul,
.spotlight-card__richtext ol {
  margin: 0;
  color: #2f2a3a;
  line-height: 1.5;
}

.spotlight-card__richtext ul,
.spotlight-card__richtext ol {
  padding-left: 20px;
}

.spotlight-card__richtext strong {
  color: #2d243d;
}

.spotlight-card__media img,
.spotlight-card__media video {
  display: block;
  width: 100%;
  border-radius: 0 0 18px 18px;
  background: #efe7ff;
}
@media (max-width: 576px) {
  .spotlight-card__media img,
  .spotlight-card__media video {
    border-radius: 0 0 16px 16px;
  }
}

.spotlight-card__actions {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  padding: 0 16px;
}
@media (max-width: 768px) {
  .spotlight-card__actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 12px;
  }
}
@media (max-width: 576px) {
  .spotlight-card__actions {
    padding: 0 8px;
  }
}

.spotlight-card__cta {
  text-decoration: none;
}

.spotlight-card__footer {
  display: flex;
  justify-content: center;
  margin-top: -7;
}
@media (max-width: 576px) {
  .spotlight-card__footer {
    padding: 0 8px 8px;
  }
}

@media (max-width: 576px) {
  .spotlight-card__cta,
  .spotlight-card__footer .aura-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

/* Fehlermeldungen */
.error {
  color: #ff6b6b;
  margin-bottom: 12px;
}

/* Helferklassen */
.auswahl {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
@media (max-width: 576px) {
  .auswahl {
    flex-direction: column;
  }
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

#slider-qualitaet, #slider-max {
  width: 48%;
}

.story-preview-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.story-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  pointer-events: none;
  width: 90%;
  word-wrap: break-word;
  white-space: pre-wrap;
  display: none;
  box-shadow: none;
  line-height: 1.2;
  padding: 15px;
}

.active-click {
  cursor: pointer;
  background-color: #6f4fa8;
  color: #ffffff;
}

.auto-task-actions {
  display: flex;
  justify-content: space-between;
}

.formular-grid {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 12px 20px;
  align-items: center;
  width: 100%;
}
@media (max-width: 768px) {
  .formular-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.formular-grid > label {
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .formular-grid > label {
    white-space: normal;
  }
}

.formular-grid > input,
.formular-grid > select,
.formular-grid > textarea,
.formular-grid > .aura-form-input,
.formular-grid > .aura-form-select,
.formular-grid > .aura-form-check,
.formular-grid > div,
.formular-grid > .formular-grid-field {
  width: 100%;
  min-width: 0;
}

.kanal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 5px;
  width: 100%;
}

.kanal-grid .aura-form-check {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 40px;
  border-radius: 8px;
}

.kanal-grid .aura-form-check-input {
  width: 4rem;
  height: 1.6rem;
  cursor: pointer;
}

.kanal-grid .aura-form-check-input:checked {
  background-color: #d94f97;
  border-color: #d94f97;
}

.prompt-aktion-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.prompt-aktion-legend {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4d3f72;
}

.prompt-aktion-fieldset input[name=ziel],
.prompt-aktion-fieldset input[name=rabatt_betrag] {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.prompt-aktion-fieldset .aura-form-grid-fields--zielgruppe {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.prompt-aktion-fieldset .aura-form-grid-fields--zielgruppe > .aura-form-select {
  align-self: end;
}

.prompt-aktion-fieldset .altersgruppe-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.prompt-aktion-fieldset .altersgruppe-inline__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  align-items: start;
  min-width: 0;
  margin-bottom: 0;
}

.prompt-aktion-fieldset .altersgruppe-inline input {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding-left: 0.5rem;
  text-align: center;
}

.prompt-aktion-fieldset .altersgruppe-inline span {
  white-space: nowrap;
  font-size: 0.72rem;
  line-height: 1;
  color: #403557;
  font-weight: 600;
}

.prompt-switch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-left: 0;
}
@media (max-width: 576px) {
  .prompt-switch-grid {
    grid-template-columns: 1fr;
    margin-bottom: 10px;
  }
}

.prompt-switch-grid--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: initial;
}
.prompt-switch-grid--three .prompt-check-option {
  width: 100%;
  margin-left: 0;
}
@media (max-width: 576px) {
  .prompt-switch-grid--three {
    grid-template-columns: 1fr;
  }
}

.prompt-check-option .check-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  min-height: 48px;
  padding: 10px 14px;
}

.prompt-check-option {
  width: 100%;
  min-width: 0;
  margin-left: 0;
}
@media (max-width: 576px) {
  .prompt-check-option {
    width: 100%;
  }
}

.prompt-check-option-website,
.prompt-check-option-startword,
.prompt-check-option-whatsapp-number {
  display: none;
  margin-top: 8px;
}

.prompt-check-option-website.is-visible,
.prompt-check-option-startword.is-visible,
.prompt-check-option-whatsapp-number.is-visible {
  display: block;
}

.prompt-check-option .check-card,
.prompt-check-option-website,
.prompt-check-option-startword,
.prompt-check-option-whatsapp-number,
.prompt-check-option-website .aura-select,
.prompt-check-option-website .aura-select__button,
.prompt-check-option-startword > div {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.prompt-check-option-website select,
.prompt-check-option-startword input,
.prompt-check-option-whatsapp-number input {
  width: 100%;
}

@media (max-width: 768px) {
  #werbeaktion-buttons {
    width: 100%;
  }
}

.is-hidden {
  display: none !important;
}

.spotlight-admin-field input,
.spotlight-admin-field select,
.spotlight-admin-field textarea {
  width: 100%;
  border: 1px solid #d9cceb;
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  color: #2f2345;
}

.page-shell .check-card__custom-input,
.page-shell .check-card__custom-input:focus {
  width: 100%;
  min-height: 42px;
  height: 42px;
  padding: 10px 14px;
  border: 1px solid #d9caef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
  line-height: 1.2;
  outline: none;
}

.check-card input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #8f6bc7;
}

.spotlight-admin-field textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.spotlight-admin-form {
  display: grid;
  gap: 18px;
}

.spotlight-admin-table-actions form {
  margin: 0;
}

.spotlight-admin-status-form {
  margin: 0;
}

.keyword-editable__form {
  display: grid;
  gap: 10px;
  min-width: 220px;
}
@media (max-width: 768px) {
  .keyword-editable__form {
    min-width: 0;
  }
}

.offer-module-builder .aura-form-input.is-hidden {
  display: none;
}

.field-grid > .aura-form-subsection:first-child,
.field-grid--triple > .aura-form-subsection:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 768px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 12px;
}
@media (max-width: 768px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

.ci-editable__form {
  display: grid;
  gap: 10px;
}

.ci-editable__form input[type=text],
.ci-editable__form .ci-editable__input:not(textarea),
.ci-editable__form .ci-color-editor__text {
  height: 44px;
  min-height: 44px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 44px;
}

.ci-editable__form textarea {
  padding-top: 12px;
  padding-bottom: 12px;
  line-height: 1.45;
}

.keyword-editable__input {
  min-width: 180px;
}
@media (max-width: 768px) {
  .keyword-editable__input {
    min-width: 0;
  }
}

.offer-module-builder__duration-input {
  max-width: 120px;
}

.ci-upload-input {
  display: none;
}

.field-grid--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 768px) {
  .field-grid--triple {
    grid-template-columns: 1fr;
  }
}

.field-span-2 {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .field-span-2 {
    grid-column: auto;
  }
}

.field {
  display: grid;
  gap: 8px;
}
.field label {
  color: #4d3f63;
  font-size: 0.92rem;
  font-weight: 600;
}

.field__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.field__label--section {
  display: flex;
  width: 100%;
}

.field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.field__action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
@media (max-width: 768px) {
  .field__action-row {
    grid-template-columns: 1fr;
  }
}

.field__label-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .field__label-actions {
    flex-wrap: wrap;
  }
}

.field-grid--analysis {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}
@media (max-width: 768px) {
  .field-grid--analysis {
    grid-template-columns: 1fr;
  }
}

.field--action-end {
  display: flex;
  align-items: flex-end;
}

.status-box {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #d8c8f0;
  background: #f7f2fd;
  color: #493868;
  margin-bottom: 0.5rem;
}

.status-box--success {
  border-color: #b8dfc5;
  background: #eef9f1;
  color: #24543a;
}

.status-box--error {
  border-color: #f0c6cf;
  background: #fff1f4;
  color: #7a2438;
}

.offer-module-builder__row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}
@media (max-width: 1200px) {
  .offer-module-builder__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .offer-module-builder__row {
    grid-template-columns: 1fr;
  }
}

.offer-modules {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-radius: 18px;
  background: #f8f4fe;
  border: 1px solid rgba(208, 192, 235, 0.9);
  margin-top: 1rem;
}

.offer-modules__title {
  color: #3a295a;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
}

.offer-modules__title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.offer-modules__create-toggle.is-active i {
  transform: rotate(45deg);
}

.offer-modules__create-toggle i {
  transition: transform 0.18s ease;
}

.offer-module-create-panel {
  padding: 0 12px 12px;
}

.offer-module-create-panel[hidden] {
  display: none;
}

.offer-modules__empty {
  color: #7b6f8f;
  padding: 0 12px;
}

.offer-modules__list {
  display: grid;
  gap: 10px;
  padding: 0 12px;
}

.offer-module-item {
  display: grid;
  gap: 8px;
}

.offer-module-inline-editor {
  padding: 12px;
  border: 1px solid rgba(127, 92, 194, 0.22);
  border-radius: 14px;
  background: #ffffff;
}

.priority-builder {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #e1d5f3;
  border-radius: 18px;
  background: #fcf9ff;
}

.priority-builder__title {
  color: #3d2b60;
  font-size: 0.92rem;
  font-weight: 600;
}

.priority-builder__hint {
  color: #7b6f8f;
  font-size: 0.82rem;
}

.priority-builder__pool {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.priority-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #d9caef;
  border-radius: 999px;
  background: #f6f0fe;
  color: #5c438e;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.priority-pill--touch-ghost {
  box-shadow: none;
  opacity: 0.94;
}

.priority-builder__slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 768px) {
  .priority-builder__slots {
    grid-template-columns: 1fr;
  }
}

.priority-slot {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.priority-slot__index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  min-width: 3rem;
  border-radius: 16px 0 0 16px;
  background: #7f5cc2;
  color: #ffffff;
  font-size: 1.56rem;
  font-weight: 600;
  text-transform: uppercase;
}

.priority-slot__drop {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px dashed #ccb9ea;
  border-left: 0;
  border-radius: 0 16px 16px 0;
  background: #ffffff;
  text-align: center;
}

.priority-slot__drop.is-dragover {
  border-color: #8f6bc7;
  background: #f5eefe;
}

.priority-slot__placeholder {
  color: #9a8bb3;
  font-size: 0.84rem;
}

.priority-slot__value {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #3d2b60;
  font-size: 0.84rem;
  font-weight: 600;
}

.priority-slot__remove {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #eadffd;
  color: #6f52a7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.aura-form-shell {
  min-height: calc(100vh - 88px);
  padding: 2rem 2rem 5rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .aura-form-shell {
    padding: 18px;
  }
}

.aura-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 576px) {
  .aura-form-grid {
    gap: 18px;
  }
}
@media (max-width: 1200px) {
  .aura-form-grid {
    grid-template-columns: 1fr;
  }
}

.form-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.aura-form-header {
  display: grid;
  gap: 10px;
}
.aura-form-header h2,
.aura-form-header h3 {
  margin: 0;
  color: #2d243d;
}
.aura-form-header p {
  margin: 0;
  color: #6f6780;
  line-height: 1.6;
}

.aura-form-section {
  display: grid;
  gap: 18px;
}

.aura-form-section + .aura-form-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(221, 214, 234, 0.75);
}

.aura-form-subsection {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(221, 214, 234, 0.75);
}

.aura-form-grid-fields > .aura-form-subsection:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.aura-form-section-title {
  margin: 0;
  color: #2d243d;
  font-size: 1.05rem;
}

.aura-form-section-subtitle {
  color: #403557;
  font-size: 0.98rem;
  font-weight: 600;
}

.aura-form-grid-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.aura-form-field-span-2 {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .aura-form-field-span-2 {
    grid-column: auto;
  }
}

.aura-form-field {
  display: grid;
  gap: 8px;
}

.aura-form-field label {
  color: #2f2a3a;
  font-size: 0.92rem;
  font-weight: 600;
}

.aura-form-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 6px;
  color: #2f2a3a;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.aura-form-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.aura-form-input,
.aura-form-textarea,
.aura-form-select,
.page-shell input[type=text],
.page-shell input[type=number],
.page-shell input[type=datetime-local],
.page-shell input[type=email],
.page-shell input[type=url],
.page-shell input[type=tel],
.page-shell select,
.page-shell textarea,
.aura-form-shell input[type=text],
.aura-form-shell input[type=number],
.aura-form-shell input[type=datetime-local],
.aura-form-shell input[type=email],
.aura-form-shell input[type=url],
.aura-form-shell input[type=tel],
.aura-form-shell select,
.aura-form-shell textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #ffffff;
  color: #2d243d;
  border: 1px solid #ddd6ea;
  border-radius: 16px;
  padding: 12px 14px;
  line-height: 1.35;
  box-sizing: border-box;
  transition: border-color 160ms ease, background 160ms ease;
}

.aura-form-input[readonly],
.aura-form-input:disabled,
.aura-form-textarea:disabled,
.aura-form-select:disabled,
.page-shell input:disabled,
.page-shell select:disabled,
.page-shell textarea:disabled {
  background: #f9f5ff;
  color: #6f6780;
  cursor: not-allowed;
  opacity: 1;
}

.aura-form-textarea,
.page-shell textarea,
.aura-form-shell textarea {
  min-height: 120px;
  resize: vertical;
}

.aura-form-textarea--long {
  min-height: 260px;
  max-height: 420px;
  overflow-y: auto;
}

.aura-form-input,
.aura-form-select,
.page-shell input[type=text],
.page-shell input[type=number],
.page-shell input[type=datetime-local],
.page-shell input[type=email],
.page-shell input[type=url],
.page-shell input[type=tel],
.page-shell select,
.aura-form-shell input[type=text],
.aura-form-shell input[type=number],
.aura-form-shell input[type=datetime-local],
.aura-form-shell input[type=email],
.aura-form-shell input[type=url],
.aura-form-shell input[type=tel],
.aura-form-shell select {
  min-height: 46px;
}

.aura-form-input::placeholder,
.aura-form-textarea::placeholder,
.aura-form-shell input::placeholder,
.aura-form-shell textarea::placeholder {
  color: #6f6780;
}

.aura-form-input:focus,
.aura-form-textarea:focus,
.aura-form-select:focus,
.page-shell input[type=text]:focus,
.page-shell input[type=number]:focus,
.page-shell input[type=datetime-local]:focus,
.page-shell input[type=email]:focus,
.page-shell input[type=url]:focus,
.page-shell input[type=tel]:focus,
.page-shell select:focus,
.page-shell textarea:focus,
.aura-form-shell input[type=text]:focus,
.aura-form-shell input[type=number]:focus,
.aura-form-shell input[type=datetime-local]:focus,
.aura-form-shell input[type=email]:focus,
.aura-form-shell input[type=url]:focus,
.aura-form-shell input[type=tel]:focus,
.aura-form-shell select:focus,
.aura-form-shell textarea:focus {
  outline: none;
  border-color: #7f5cc2;
  background: #ffffff;
  box-shadow: none;
}

.aura-form-select,
.page-shell select,
.aura-form-shell select {
  display: block;
  appearance: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 42px;
}

.aura-form-select[multiple],
.page-shell select[multiple],
.aura-form-shell select[multiple] {
  height: auto;
  padding-right: 14px;
  background-image: none;
  white-space: normal;
}

.aura-form-select option,
.page-shell select option,
.aura-form-shell select option {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: anywhere;
}

.aura-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.aura-select.is-open {
  z-index: 10020;
}

.aura-select__native,
.aura-form-select.aura-select__native {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.aura-select__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  min-width: 0;
  padding: 12px 42px 12px 14px;
  border: 1px solid #ddd6ea;
  border-radius: 16px;
  background: #ffffff;
  color: #2d243d;
  font: inherit;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.aura-select__button-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aura-select__button-icon {
  flex: 0 0 auto;
  color: #7f5cc2;
  font-size: 0.95rem;
  line-height: 1;
}

@media (max-width: 576px) {
  .aura-select__button {
    padding-right: 10px;
  }
}
.aura-select__button:focus-visible {
  outline: none;
  border-color: #7f5cc2;
  background-color: #ffffff;
  box-shadow: none;
}

.aura-select.is-disabled .aura-select__button {
  background-color: #f9f5ff;
  color: #6f6780;
  cursor: not-allowed;
}

.aura-select.has-error .aura-select__button {
  border-color: #d9534f;
}

.aura-select__menu {
  position: absolute;
  z-index: 10021;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px;
  border: 1px solid #ddd6ea;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
}

.aura-select__menu.is-portal {
  position: fixed;
  right: auto;
  z-index: 100200;
}

.aura-select__option {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #2d243d;
  font: inherit;
  line-height: 1.3;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.aura-select__option:hover,
.aura-select__option:focus {
  background: #f9f5ff;
}

.aura-select__option.is-selected {
  background: rgba(127, 92, 194, 0.12);
  color: #6f4fa8;
  font-weight: 600;
}

.aura-form-hint {
  display: block;
  margin-top: 6px;
  color: #6f6780;
  font-size: 0.84rem;
  line-height: 1.45;
}

textarea.aura-form-input {
  min-height: 120px;
  resize: vertical;
}

select.aura-form-input {
  appearance: none;
  padding-right: 42px;
}

.aura-form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

.aura-form-check-input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid #ddd6ea;
  border-radius: 6px;
  background-color: #ffffff;
  accent-color: #7f5cc2;
  cursor: pointer;
}

.aura-form-check-input:focus {
  outline: none;
  border-color: #7f5cc2;
  box-shadow: none;
}

.aura-form-check-input:checked {
  background-color: #7f5cc2;
  border-color: #7f5cc2;
}

.aura-choice-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.aura-choice-input:focus-visible + .aura-btn {
  outline: 2px solid #b08bed;
  outline-offset: 2px;
}

.aura-choice-input:checked + .aura-btn {
  border-color: #7f5cc2;
  color: #ffffff;
}

.aura-form-check-label {
  margin: 0;
  color: #403557;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}

.aura-form-switch {
  align-items: center;
}

.aura-form-switch .aura-form-check-input {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background-color: #e9e1f4;
  background-image: radial-gradient(circle, #ffffff 0 44%, transparent 48%);
  background-position: 3px center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  appearance: none;
  transition: background-color 160ms ease, background-position 160ms ease, border-color 160ms ease;
}

.aura-form-switch .aura-form-check-input:checked {
  background-color: #7f5cc2;
  background-position: calc(100% - 3px) center;
}

.form-submit-area {
  width: 100%;
}

.form-submit-area > .aura-btn {
  width: 100%;
  justify-content: center;
}

.form-submit-area > .aura-btn + .aura-btn {
  margin-top: 12px;
}

.aura-form-check-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #ddd6ea;
  border-radius: 16px;
  color: #403557;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
}

.aura-form-check-card input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #7f5cc2;
}

@media (max-width: 768px) {
  .aura-form-grid-fields,
  .aura-form-grid-fields--zielgruppe,
  .aura-form-action-row {
    grid-template-columns: 1fr;
  }
}

.storyFontSizeRange {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  background: #7f5cc2;
}
.storyFontSizeRange::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 4px;
  background: #7f5cc2;
}
.storyFontSizeRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d94f97;
  border: 2px solid #fff;
  box-shadow: none;
  margin-top: -6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.storyFontSizeRange::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}
.storyFontSizeRange::-moz-range-track {
  height: 6px;
  border-radius: 4px;
  background: #e0e0e0;
}
.storyFontSizeRange::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #7f5cc2;
  border: 2px solid #fff;
  box-shadow: none;
  cursor: pointer;
}

@media (max-width: 576px) {
  .zeigen {
    display: none;
  }
}

/* ==========================
AURA TABLE SYSTEM
Desktop = normale Tabelle
Mobile = ruhige Cards
========================== */
.aura-table-wrap {
  width: 100%;
  overflow-x: auto;
}
@media (max-width: 768px) {
  .aura-table-wrap {
    overflow: visible;
  }
}

.aura-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background: none;
  padding: 0;
}
@media (max-width: 768px) {
  .aura-table {
    display: block;
    width: 100%;
    border-collapse: separate;
  }
}

.aura-thead,
.aura-table > thead {
  background: #f9f5ff;
}
@media (max-width: 768px) {
  .aura-thead,
  .aura-table > thead {
    display: none;
  }
}

.aura-tbody,
.aura-table > tbody {
  background: none;
}
.aura-tbody .aura-tr:nth-child(odd),
.aura-tbody > tr:nth-child(odd),
.aura-table > tbody .aura-tr:nth-child(odd),
.aura-table > tbody > tr:nth-child(odd) {
  background: #ffffff;
}
.aura-tbody .aura-tr:nth-child(even),
.aura-tbody > tr:nth-child(even),
.aura-table > tbody .aura-tr:nth-child(even),
.aura-table > tbody > tr:nth-child(even) {
  background: #f9f5ff;
}
.aura-tbody .aura-tr:hover,
.aura-tbody > tr:hover,
.aura-table > tbody .aura-tr:hover,
.aura-table > tbody > tr:hover {
  background: rgba(127, 92, 194, 0.04);
}
@media (max-width: 768px) {
  .aura-tbody,
  .aura-table > tbody {
    display: block;
    width: 100%;
  }
  .aura-tbody .aura-tr:hover,
  .aura-tbody > tr:hover,
  .aura-table > tbody .aura-tr:hover,
  .aura-table > tbody > tr:hover {
    background: #ffffff;
    box-shadow: none;
  }
}

.aura-tr,
.aura-table > thead > tr,
.aura-table > tbody > tr {
  transition: background 0.18s ease, border-color 0.18s ease;
}
@media (max-width: 768px) {
  .aura-tr,
  .aura-table > thead > tr,
  .aura-table > tbody > tr {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    padding: 4px;
    background: #ffffff;
  }
}

.aura-th,
.aura-table th,
.aura-td,
.aura-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #e9e1f4;
}

.aura-th,
.aura-table th {
  font-weight: 600;
  color: #2d243d;
  background: #f9f5ff;
  white-space: nowrap;
}

.aura-td,
.aura-table td {
  color: #2f2a3a;
  background: none;
}
@media (max-width: 768px) {
  .aura-td.aktion-value,
  .aura-table td.aktion-value {
    grid-column: 1/-1;
    min-width: 0;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }
}
@media (max-width: 768px) {
  .aura-td:first-child,
  .aura-table td:first-child {
    padding-top: 4px;
    border-top: 1px solid rgba(221, 214, 234, 0.55);
  }
}
@media (max-width: 768px) {
  .aura-td:last-child,
  .aura-table td:last-child {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(221, 214, 234, 0.55);
  }
}
@media (max-width: 768px) {
  .aura-td::before,
  .aura-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #6f6780;
  }
}
@media (max-width: 768px) {
  .aura-td,
  .aura-table td {
    display: block;
    width: 100%;
    padding: 4px 4px;
    border-top: 0;
    border-bottom: 0;
    border-right: 1px solid rgba(221, 214, 234, 0.55);
    border-left: 1px solid rgba(221, 214, 234, 0.55);
    text-align: center;
  }
}

.aura-table--sm th,
.aura-table--sm td {
  padding: 8px 10px;
  font-size: 0.92rem;
}

.aura-td--full {
  text-align: center;
  color: #6f6780;
}
@media (max-width: 768px) {
  .aura-td--full::before {
    display: none;
    content: none;
  }
}
@media (max-width: 768px) {
  .aura-td--full {
    text-align: left;
  }
}

.aura-table-image {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: none;
}
@media (max-width: 768px) {
  .aura-table-image {
    width: 64px;
    height: 64px;
  }
}

.planned-post-preview-media {
  display: inline-grid;
  justify-items: center;
  gap: 4px;
}

.planned-post-preview-label {
  color: #6f6780;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.1;
}

.planned-post-text {
  line-height: 1.45;
  color: #2f2a3a;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-width: 340px;
  white-space: normal;
  line-height: 1.35;
}
@media (max-width: 768px) {
  .planned-post-text {
    font-size: 0.95rem;
    line-height: 1.45;
  }
}
@media (max-width: 576px) {
  .planned-post-text {
    max-width: 100%;
  }
}

.planned-post-actions {
  display: block;
  align-items: center;
}
@media (max-width: 768px) {
  .planned-post-actions {
    justify-content: flex-end;
    gap: 8px;
  }
}

.planned-post-text-toggle {
  margin-top: 8px;
  margin-top: 6px;
  min-height: 28px;
  padding: 3px 9px;
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  .planned-post-text-toggle {
    margin-top: 10px;
  }
}

/* ==========================
ADMIN / TOOLS
========================== */
.spotlight-admin-actions,
.spotlight-admin-table-actions-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}
@media (max-width: 768px) {
  .spotlight-admin-actions,
  .spotlight-admin-table-actions-wrap {
    flex-direction: column;
    align-items: stretch;
  }
}

.spotlight-admin-table-actions-wrap {
  justify-content: center;
  flex-wrap: nowrap;
}
@media (max-width: 768px) {
  .spotlight-admin-table-actions-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

.spotlight-admin-table-actions-wrap form {
  display: flex;
  margin: 0;
}

.spotlight-admin-table-actions-wrap form > button:not(.spotlight-admin-delete-btn) {
  display: none;
}

.spotlight-admin-table-actions-wrap .aura-btn {
  margin: 0;
}

.spotlight-admin-table-actions-wrap .aura-btn--danger.aura-btn--sm {
  display: none;
}

.spotlight-admin-delete-btn {
  background: #f6d8df !important;
  color: #7b2036 !important;
  border-color: rgba(123, 32, 54, 0.18) !important;
}

.spotlight-admin-delete-btn:hover,
.spotlight-admin-delete-btn:focus {
  background: #f1c7d1 !important;
  color: #7b2036 !important;
  border-color: rgba(123, 32, 54, 0.26) !important;
}

.tag-row--editable {
  gap: 12px;
}

.keyword-editable {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ci-editable {
  display: grid;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
}

.ci-editable__head {
  display: inline-flex;
  align-items: center;
  width: auto;
}

.ci-editable__label-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.ci-editable__label {
  color: #6f6087;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ci-editable__view {
  color: #2e2145;
  line-height: 1.5;
}

.ci-editable__view.is-empty {
  color: #7b6f8f;
}

.ci-editable__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .ci-editable__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.campaign-detail-row .aura-td,
.series-detail-row .aura-td,
.campaign-detail-row td,
.series-detail-row td {
  padding: 14px 0 0;
  background: transparent;
  border-bottom: 0;
}
@media (max-width: 768px) {
  .campaign-detail-row .aura-td,
  .series-detail-row .aura-td,
  .campaign-detail-row td,
  .series-detail-row td {
    padding-top: 10px;
    border: 0;
  }
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.planned-post-more-wrap {
  margin-top: 12px;
  text-align: center;
}

.planned-post-tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.planned-post-tab-btn {
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(111, 84, 154, 0.14);
  background: #efe7ff;
  color: #3f3060;
  font-weight: 600;
}

.planned-post-tab-btn.is-active {
  background: #6f4fa8;
  color: #ffffff;
  border-color: #efe3ff;
  box-shadow: none;
}

.planned-post-card h3 {
  margin: 0 0 14px;
}

.planned-post-more-btn {
  min-height: 30px;
  padding: 4px 10px;
  font-size: 0.85rem;
}

.planned-post-text.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* Spezielle Module */
.ads-page .page-shell__inner {
  max-width: none;
  width: 100%;
}

.ads-page .page-stack,
.ads-page article.page-stack,
.ads-page .wizard-shell {
  max-width: none;
  width: 100%;
}

.wizard-shell {
  background: transparent;
  border-radius: 0;
  padding: 28px 0;
  box-shadow: none;
  backdrop-filter: none;
  min-width: 0;
}
@media (max-width: 576px) {
  .wizard-shell {
    padding: 0;
  }
}
@media (max-width: 576px) {
  .wizard-shell {
    padding: 0;
  }
}

.ads-panel {
  border: 0 !important;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  overflow: hidden;
  min-width: 0;
}
@media (max-width: 576px) {
  .ads-panel {
    border-radius: 20px;
  }
}

.ads-panel > .aura-card__body {
  padding: 28px;
  min-width: 0;
}
@media (max-width: 576px) {
  .ads-panel > .aura-card__body {
    padding: 18px;
  }
}
@media (max-width: 576px) {
  .ads-panel > .aura-card__body {
    padding: 14px;
  }
}

.ads-panel .aura-tab-panels,
.ads-panel .aura-tab-panel,
.ads-panel .aura-grid,
.ads-panel .aura-col {
  min-width: 0;
}

.aura-tabs {
  border-bottom-color: rgba(205, 191, 232, 0.9);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
  padding: 0;
  border-bottom: 1px solid rgba(221, 214, 234, 0.85);
  list-style: none;
}

.aura-tab {
  border: 0;
  border-radius: 10px 10px 0 0;
  color: #6f6780;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(221, 214, 234, 0.9);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: rgba(255, 255, 255, 0.72);
  color: #403557;
  font-weight: 600;
  cursor: pointer;
}

.aura-tab.is-active,
.aura-tab[aria-selected=true] {
  background: #6f4fa8;
  color: #ffffff;
  color: #ffffff;
  background: #6f4fa8;
  border-color: #efe3ff;
}

.shared-account-field {
  display: grid;
  gap: 10px;
  height: 100%;
  padding: 18px 20px;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}
@media (max-width: 576px) {
  .shared-account-field {
    padding: 12px 0;
  }
}
@media (max-width: 576px) {
  .shared-account-field {
    padding: 10px 12px;
  }
}

.ads-account-panel {
  background: transparent;
  border: 1px solid rgba(205, 191, 232, 0.9) !important;
  border-radius: 20px;
  box-shadow: none;
  overflow: hidden;
}

.ads-account-panel > .aura-card__body {
  padding: 0;
}

.ads-account-form {
  margin: 0;
}

.ads-account-col {
  padding: 0;
}

.shared-account-field .aura-form-label {
  margin-bottom: 0;
}

.shared-account-field .aura-form-hint {
  margin-top: 0;
  min-height: 0;
}

.ads-step {
  display: none;
}

.ads-step.is-active {
  display: block;
}

.aura-tabs__item {
  margin: 0;
}

.aura-tab:hover,
.aura-tab:focus {
  color: #6f4fa8;
  background: #efe7ff;
  outline: none;
}

.aura-tab-panel {
  display: none;
}

.aura-tab-panel.is-active {
  display: block;
}

.goal-help {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(143, 107, 199, 0.3);
  background: #efe3ff;
  color: #6f4fa8;
  font-weight: 600;
  line-height: 1;
  padding: 0;
}

.goal-help:hover,
.goal-help:focus {
  background: #a985e7;
  border-color: #a985e7;
  color: #ffffff;
}

.ads-panel form .aura-u-flex.aura-u-items-center.aura-u-gap-2,
.ads-panel form .aura-u-flex.aura-u-items-stretch.aura-u-gap-2.aura-u-flex-nowrap {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

.ads-panel form .aura-u-flex.aura-u-items-center.aura-u-gap-2 > .goal-help,
.ads-panel form .aura-u-flex.aura-u-items-stretch.aura-u-gap-2.aura-u-flex-nowrap > .goal-help {
  margin-left: 0 !important;
}

.ads-panel form .aura-u-flex.aura-u-items-center.aura-u-gap-2 > .aura-form-input,
.ads-panel form .aura-u-flex.aura-u-items-center.aura-u-gap-2 > .aura-form-select,
.ads-panel form .aura-u-flex.aura-u-items-center.aura-u-gap-2 > input:not(.aura-choice-input),
.ads-panel form .aura-u-flex.aura-u-items-stretch.aura-u-gap-2.aura-u-flex-nowrap > label.aura-btn {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.aura-u-text-muted,
.aura-form-hint {
  color: #6f6780 !important;
}

.aura-u-border.aura-u-rounded {
  border: 1px solid #ddd6ea !important;
  border-radius: 20px !important;
  background: #f9f5ff;
}

.ad-media-selection-label {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #7f5cc2;
  border-radius: 16px;
  color: #403557 !important;
  font-weight: 600;
}

.ad-image-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.ad-media-action {
  padding: 10px 14px;
  border: 1px solid #7f5cc2;
  border-radius: 16px;
  color: #403557;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.ad-media-action:hover,
.ad-media-action:focus {
  border-color: #a985e7;
  background: #ffffff;
  color: #2d243d;
  box-shadow: none;
  transform: translateY(-1px);
}

.ad-media-input {
  display: none;
}

.ad-media-gallery,
.ad-ai-box {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #7f5cc2;
  border-radius: 18px;
  background: #f6f0ff;
  max-height: 380px;
  overflow-y: auto;
}

.gallery-loading,
.website-gallery-loading {
  color: #6f6780;
}

.ad-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}

.ads-report-current-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
@media (max-width: 576px) {
  .ads-report-current-header {
    flex-direction: column;
    align-items: stretch;
  }
}

.ads-report-preview-row {
  margin-top: 0 !important;
}

.ads-report-preview-card {
  padding-top: 0.75rem !important;
}

.ads-report-ad-card {
  margin-bottom: 1rem;
  border-radius: 28px;
  box-shadow: none;
  overflow: hidden;
}

.ads-report-section > .h5 {
  text-align: center;
}

.ads-report-ad-card:last-child {
  margin-bottom: 0;
}

.ads-report-current-header__title {
  min-width: 0;
  line-height: 1.15;
}

.ads-report-current-header__title h3 {
  margin-bottom: 0.2rem !important;
  line-height: 1.15;
}

.ads-report-current-header__title .aura-u-text-muted {
  margin-bottom: 0;
  line-height: 1.2;
}

.ads-report-current-header__actions {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 576px) {
  .ads-report-current-header__actions {
    justify-content: flex-start;
  }
}

.ads-report-inline-form {
  margin: 0;
}

.ads-panel--nested {
  background: #f9f5ff;
}

.aura-accordion-item {
  border: 1px solid #ddd6ea;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
}

.aura-accordion-item + .aura-accordion-item {
  margin-top: 12px;
}

.aura-accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  color: #2d243d;
  font-weight: 600;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
}

.aura-accordion-button:not(.is-collapsed),
.aura-accordion-button[aria-expanded=true] {
  background: transparent;
  color: #2d243d;
  box-shadow: none;
}

.aura-accordion-button:focus {
  box-shadow: none;
}

.aura-accordion-collapse {
  display: none;
}

.aura-accordion-collapse.is-open {
  display: block;
}

.aura-accordion-body {
  background: #ffffff;
  padding: 20px;
}

.list-group-item {
  border: 1px solid #ddd6ea;
  border-radius: 18px;
  margin-bottom: 12px;
  background: #f9f5ff;
}

.aura-table-wrap.aura-u-border.aura-u-rounded {
  background: #f9f5ff;
}

.ads-report-metrics .aura-col {
  display: flex;
}

.ads-report-metric-card {
  width: 100%;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2px;
  line-height: 1.15;
}

.ads-report-metrics .ads-report-metric-card {
  padding: 0.85rem !important;
}

.ads-report-metrics .ads-report-metric-card--compact {
  min-height: 68px;
}

.ads-report-metric-card .aura-u-text-muted {
  margin-bottom: 0;
  line-height: 1.1;
}

.ads-report-metric-card .aura-u-fw-semibold {
  line-height: 1.1;
}

.ads-report-metric-card .aura-u-fw-semibold small.aura-u-block {
  margin-top: 1px;
  line-height: 1.2;
}

@media (max-width: 576px) {
  .ads-panel .aura-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 0;
  }
}

@media (max-width: 576px) {
  .ads-panel .aura-tabs__item {
    flex: 1 1 120px;
  }
}

@media (max-width: 576px) {
  .ads-panel .aura-tab,
  .ads-panel .aura-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

@media (max-width: 576px) {
  .ads-panel form .aura-u-flex.aura-u-items-center.aura-u-gap-2,
  .ads-panel form .aura-u-flex.aura-u-items-stretch.aura-u-gap-2,
  .ads-panel form .aura-u-flex.aura-u-items-stretch.aura-u-gap-2.aura-u-flex-nowrap {
    flex-wrap: nowrap !important;
    min-width: 0;
  }
}

@media (max-width: 576px) {
  .ads-panel form .aura-u-flex.aura-u-items-center.aura-u-gap-2 > .aura-form-input,
  .ads-panel form .aura-u-flex.aura-u-items-center.aura-u-gap-2 > .aura-form-select,
  .ads-panel form .aura-u-flex.aura-u-items-center.aura-u-gap-2 > input,
  .ads-panel form .aura-u-flex.aura-u-items-stretch.aura-u-gap-2 > .aura-btn,
  .ads-panel form .aura-u-flex.aura-u-items-stretch.aura-u-gap-2 > label.aura-btn {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 576px) {
  .ads-panel form .aura-u-flex.aura-u-items-center.aura-u-gap-2 > .goal-help,
  .ads-panel form .aura-u-flex.aura-u-items-stretch.aura-u-gap-2 > .goal-help {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .fb-ad-header,
  .fb-ad-headlines,
  .fb-ad-page,
  .fb-ad-sub,
  .fb-ad-linkblock,
  .fb-ad-linkblock-zeile {
    min-width: 0;
  }
}

@media (max-width: 576px) {
  .fb-ad-menu {
    margin-left: auto;
  }
}

/* Ad-Container */
.ausgabe-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ad-container {
  display: flex;
  flex-direction: column;
  background: #1a1a24;
  overflow: hidden;
  width: 100%;
  box-shadow: none;
}

.ad-image img {
  width: 100%;
  display: block;
}

.ad-content h2 {
  margin-top: 0;
  color: #b08bed;
  font-size: 16px;
}

.ad-container.auto-task-layout {
  padding: 12px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  background: transparent;
  box-shadow: none;
}

.ad-container.auto-task-layout .auto-task-actions-col,
.ad-container.auto-task-layout .auto-task-preview-col {
  flex: 0 0 50%;
  max-width: 50%;
  min-width: 0;
}

.calendar-cell.drag-over {
  outline: 2px dashed #198754;
  outline-offset: -4px;
}

.calendar-create-trigger {
  position: absolute;
  right: 5px;
  top: 2px;
}
@media (max-width: 576px) {
  .calendar-create-trigger {
    right: -9px;
    top: -7px;
  }
}

.calendar-post {
  position: relative;
  color: #000;
  border-radius: 8px;
  padding: 8px;
  padding-bottom: 34px;
  font-size: 12px;
  line-height: 1.4;
  background: #fff;
  border-left: 4px solid #888;
}
.calendar-post.is-draggable {
  cursor: grab;
}
.calendar-post.is-draggable:active {
  cursor: grabbing;
}
.calendar-post.is-hidden {
  display: none;
}
.calendar-post.is-posted {
  border-left-color: #1f8f5f;
  box-shadow: none;
}
@media (max-width: 768px) {
  .calendar-post {
    font-size: 11px;
    padding: 6px;
    padding-bottom: 34px;
  }
}

.calendar-post-status-badge {
  position: absolute;
  right: 8px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  font-size: 0.95rem;
  line-height: 1;
}
.calendar-post-status-badge--posted {
  color: #176946;
}

.calendar-post-delete {
  position: absolute;
  right: -6px;
  bottom: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.calendar-post-delete:hover, .calendar-post-delete:focus {
  color: #c23d4b;
}
@media (max-width: 768px) {
  .calendar-post-delete {
    bottom: -6px;
  }
}

.calendar-more-toggle {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #6f4fa8;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: color 0.16s ease;
}
.calendar-more-toggle:hover, .calendar-more-toggle:focus, .calendar-more-toggle:active {
  color: #4f3682;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  outline: 0;
}

.calendar-more-toggle__layers {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.calendar-more-toggle__glyph {
  width: 28px;
  height: 28px;
  display: block;
  overflow: visible;
}
.calendar-more-toggle__glyph[hidden] {
  display: none !important;
}

.calendar-more-toggle__glyph--expanded {
  display: none;
}

.calendar-more-toggle.is-expanded .calendar-more-toggle__glyph--collapsed {
  display: none !important;
}

.calendar-more-toggle.is-expanded .calendar-more-toggle__glyph--expanded {
  display: block !important;
}

.calendar-more-toggle__counter {
  position: absolute;
  top: -3px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin: 0;
  border-radius: 999px;
  background: #e85656;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
}
.calendar-more-toggle__counter[hidden] {
  display: none !important;
}

.calendar-more-toggle.is-expanded .calendar-more-toggle__counter {
  display: none !important;
}

.calendar-post-meta-icons {
  position: absolute;
  left: 8px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 1.05rem;
  line-height: 1;
  max-width: calc(100% - 44px);
}
@media (max-width: 768px) {
  .calendar-post-meta-icons {
    left: 8px;
    right: 40px;
    bottom: 7px;
    max-width: none;
  }
}

.calendar-post-format-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  line-height: 1;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  font-weight: 600;
}
.calendar-post-format-label--reel {
  color: #b44f00;
  background: #ffe6cf;
}
.calendar-post-format-label--story {
  color: #933766;
  background: #f8d7e8;
}

.calendar-floating-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #efe7ff;
  color: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: none;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-size: 4rem;
}
.calendar-floating-nav:hover, .calendar-floating-nav:focus {
  color: #fff;
}
.calendar-floating-nav.prev {
  left: -8px;
}
.calendar-floating-nav.next {
  right: -8px;
}
@media (max-width: 576px) {
  .calendar-floating-nav {
    font-size: 3rem;
  }
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px 0;
  gap: 15px;
}
.calendar-header h1 {
  margin: 0;
  font-size: 28px;
}
@media (max-width: 768px) {
  .calendar-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .calendar-header h1 {
    font-size: 20px;
  }
  .calendar-header .aura-btn {
    width: 100%;
  }
}

.calendar-cell.today {
  border: 3px solid #ece2fb;
  background: #6f4fa8;
}
.calendar-cell.today .calendar-day {
  color: #fff;
  font-weight: 600;
}
.calendar-cell.today .calendar-create-trigger {
  background: #fff;
  color: #6f4fa8;
  border-color: #fff;
}
.calendar-cell.today .calendar-create-trigger:hover, .calendar-cell.today .calendar-create-trigger:focus {
  background: #efe7ff;
  color: #5f4492;
  border-color: #fff;
}
.calendar-cell.today .calendar-more-toggle {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
}
.calendar-cell.today .calendar-more-toggle:hover, .calendar-cell.today .calendar-more-toggle:focus {
  background: rgba(255, 255, 255, 0.32) !important;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9) !important;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
@media (min-width: 768px) and (max-width: 992px) {
  .calendar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.weekdays {
  margin-bottom: 10px;
}

.calendar-weekday {
  font-weight: 600;
  text-align: center;
  padding: 10px;
  background: #6f4fa8;
  border-radius: 8px;
  color: #fff;
}

.calendar-cell {
  min-height: 140px;
  background: #d8c8f0;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.calendar-cell.empty {
  background: transparent;
}
@media (min-width: 768px) and (max-width: 992px) {
  .calendar-cell {
    min-height: 120px;
  }
}
@media (max-width: 768px) {
  .calendar-cell {
    min-height: 100px;
    padding: 8px;
  }
}

.calendar-day {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 18px;
}
@media (max-width: 768px) {
  .calendar-day {
    font-size: 14px;
  }
}

.calendar-posts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (min-width: 576px) {
  .calendar-grid.calendar-days-grid .calendar-cell.is-empty-calendar-row {
    height: 2rem;
    min-height: 2rem;
    max-height: 2rem;
    padding: 2px 8px !important;
    overflow: visible;
    justify-content: center;
  }
}

@media (min-width: 576px) {
  .calendar-grid.calendar-days-grid .calendar-cell.is-empty-calendar-row .calendar-day {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1;
  }
}

@media (min-width: 576px) {
  .calendar-grid.calendar-days-grid .calendar-cell.is-empty-calendar-row .calendar-create-trigger {
    position: static;
    width: 24px;
    height: 24px;
    min-height: 24px;
    padding: 0;
  }
}

@media (min-width: 576px) {
  .calendar-grid.calendar-days-grid .calendar-cell.is-empty-calendar-row .calendar-posts {
    display: none;
  }
}

.post-title {
  font-weight: 600;
  font-size: 0.9em;
  margin-bottom: 3px;
}
.post-title-serie {
  font-weight: 600;
  font-size: 0.9em;
  margin-bottom: 3px;
}
@media (max-width: 576px) {
  .post-title {
    margin-bottom: 0;
  }
}

.calendar-list-wrap {
  width: 100%;
  overflow-x: auto;
}
.calendar-list-wrap table {
  width: 100%;
}

.calendar-page-shell__inner {
  max-width: none;
}

.calendar-page .page-shell__inner {
  max-width: none;
  width: 100%;
}
.calendar-page article.page-stack {
  width: 100%;
  max-width: none;
}

#dashboardCreateModal .aura-modal__dialog {
  max-width: 420px;
}

.dashboard-create-modal.is-open {
  background: rgba(16, 10, 28, 0.68);
  backdrop-filter: blur(8px);
}
.dashboard-create-modal .aura-modal__content {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: none;
  background: #fff;
}

.dashboard-create-modal__hero {
  padding: 22px 24px;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.dashboard-create-modal__hero h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 600;
}
.dashboard-create-modal__hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.dashboard-create-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  flex-shrink: 0;
}

.dashboard-create-modal__body {
  padding: 24px;
  background: #fff;
}

.dashboard-create-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.dashboard-create-modal__main {
  display: grid;
  gap: 20px;
}

.dashboard-create-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.calendar-media-zeile {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex-direction: column;
}
@media (max-width: 576px) {
  .calendar-media-zeile {
    margin-top: 4px;
  }
}
@media (max-width: 768px) {
  .calendar-media-zeile {
    width: 100%;
    align-items: flex-start;
    margin-top: 4px;
  }
}

.calendar-media-zeile--with-preview {
  flex-direction: row;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .calendar-media-zeile--with-preview {
    justify-content: flex-start;
    margin-bottom: 4px;
  }
}

@media (max-width: 768px) {
  .dashboard-create-modal__hero,
  .dashboard-create-modal__body {
    padding: 18px;
  }
}

.calendar-mobile-more-wrap {
  display: none;
}
@media (max-width: 576px) {
  .calendar-mobile-more-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 8px 0 4px;
  }
}

@media (max-width: 576px) {
  .calendar-grid.weekdays {
    display: none;
  }
}

@media (max-width: 576px) {
  .calendar-grid.calendar-days-grid {
    display: block;
    gap: 0;
  }
}

@media (max-width: 576px) {
  .calendar-grid.calendar-days-grid .calendar-cell.empty {
    display: none;
  }
}

@media (max-width: 576px) {
  .calendar-grid.calendar-days-grid .calendar-cell {
    width: 100%;
    min-height: 0;
    margin: 0 0 12px 0;
  }
}

@media (max-width: 576px) {
  .calendar-grid.calendar-days-grid .calendar-cell.is-mobile-hidden-day {
    display: none;
  }
}

.calendar-reel-scene-preview {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
  border: 1px solid rgba(221, 214, 234, 0.85);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

@media (max-width: 576px) {
  .calendar-header-text {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .calendar-page .dashboard-main-actions .aura-btn {
    width: 100%;
  }
}

#calendarReelGalleryModal .reel-avatar__img {
  width: 250px;
  max-width: 100%;
  height: 250px;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

#calendarReelGalleryModal .calendar-reel-avatar-scene.is-selected {
  border: 3px solid #7f5cc2;
  box-shadow: none;
}

#calendarReelVideoPanel .calendar-reel-video-folder-tabs {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

#calendarReelVideoPanel .calendar-reel-video-folder-tabs .aura-btn {
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 6px 12px;
  white-space: nowrap;
}

.backend-page .page-shell__inner {
  --page-main-col: minmax(0, 1.18fr);
  --page-side-col: minmax(320px, 0.72fr);
  max-width: none;
  width: 100%;
}

.backend-page .page-grid > article.page-stack {
  max-width: 980px;
}

.backend-page .page-grid > aside.page-stack {
  align-self: start;
  position: sticky;
  top: 24px;
}

.backend-page .page-stack,
.backend-page article.page-stack,
.backend-page .page-stack > .aura-card {
  max-width: none;
  width: 100%;
}

.notes-admin-page,
.notes-admin-page .page-shell__inner,
.notes-admin-page .page-stack,
.notes-admin-page .aura-table-wrap,
.notes-admin-page .aura-table,
.notes-admin-page .aura-tbody,
.notes-admin-page .aura-tr,
.notes-admin-page .aura-td {
  box-sizing: border-box;
  min-width: 0;
}

.notes-admin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.notes-admin-stat-card {
  min-width: 180px;
  padding: 16px;
}

.notes-admin-stat-card strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.notes-admin-stat-card span,
.notes-admin-meta,
.notes-admin-url {
  color: #666;
  font-size: 12px;
}

.notes-admin-empty {
  padding: 0;
}

.notes-admin-excerpt {
  display: block;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}

.notes-admin-status {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.notes-admin-url {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.notes-admin-page .aura-table-image {
  max-width: 120px;
  max-height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.notes-admin-delete-form {
  display: inline;
}

@media (max-width: 768px) {
  .notes-admin-stats,
  .notes-admin-stat-card,
  .notes-admin-delete-form,
  .notes-admin-delete-form .aura-btn {
    width: 100%;
  }
  .notes-admin-stat-card {
    min-width: 0;
  }
  .notes-admin-page .aura-table-wrap,
  .notes-admin-page .aura-table {
    overflow-x: hidden;
  }
  .notes-admin-page .aura-td {
    overflow-wrap: anywhere;
    text-align: left;
  }
  .notes-admin-page .aura-table-image {
    width: 100%;
    max-width: 120px;
  }
}
.landingpages-page .page-shell__inner {
  max-width: none;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.landingpages-page .page-grid {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  box-sizing: border-box;
}

.landingpages-page .page-stack,
.landingpages-page article.page-stack {
  max-width: none;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.landingpages-actions-cell {
  vertical-align: middle !important;
  text-align: center;
  white-space: nowrap;
}

.landingpages-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 100%;
}

.landingpages-page .aura-status-switch {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .landingpages-page .aura-status-switch {
    min-height: 0;
    gap: 8px;
  }
}

.landingpages-page .aura-status-switch .status-switch {
  width: 68px;
  height: 34px;
  margin: 0;
  cursor: pointer;
  background-color: #efe7ff;
  border: 2px solid #7f5cc2;
  box-shadow: none;
  background-size: 26px 26px;
  background-position: left 3px center;
  transition: background-color 0.18s ease, border-color 0.18s ease, background-position 0.18s ease;
}

.landingpages-page .aura-status-switch .status-switch:focus {
  border-color: #6f4fa8;
  box-shadow: none;
}

.landingpages-page .aura-status-switch .status-switch:checked {
  background-color: #6f4fa8;
  border-color: #6f4fa8;
  background-position: right 3px center;
}

.landingpages-page .aura-status-switch .aura-form-check-label {
  margin-left: 0.55rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .landingpages-page .aura-status-switch .aura-form-check-label {
    margin-left: 0;
  }
}

.landingpages-page .aura-status-switch .status-badge {
  min-height: 30px;
  padding: 0.4rem 0.72rem;
  font-size: 0.82rem;
}
@media (max-width: 768px) {
  .landingpages-page .aura-status-switch .status-badge {
    display: none;
  }
}

.landingpages-page .landingpages-status-text {
  display: none;
  color: #2f2a3a;
  font-size: 0.92rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .landingpages-page .landingpages-status-text {
    display: inline;
  }
}

.landingpages-page .landingpage-suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  min-width: 0;
}
@media (max-width: 768px) {
  .landingpages-page .landingpage-suggestion-chips {
    width: 100%;
  }
}

.landingpages-page .landingpage-suggestion-chip {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.landingpages-page .landingpage-suggestion-chip.aura-btn--primary:focus,
.landingpages-page .landingpage-suggestion-chip.aura-btn--primary:focus-visible {
  background: #efe7ff;
  color: #7f5cc2;
  border-color: #7f5cc2;
  box-shadow: none;
  outline: none;
  transform: none;
}

.landingpages-page .landingpage-suggestion-chip.aura-btn--secondary:focus,
.landingpages-page .landingpage-suggestion-chip.aura-btn--secondary:focus-visible {
  background: #6f4fa8;
  color: #ffffff;
  border-color: #efe3ff;
  box-shadow: none;
  outline: none;
  transform: none;
}

@media (max-width: 768px) {
  .landingpages-page.aura-form-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-inline: 12px;
  }
}

@media (max-width: 768px) {
  .landingpages-page .aura-form-section,
  .landingpages-page .field-grid,
  .landingpages-page .aura-form-grid-fields,
  .landingpages-page .field,
  .landingpages-page .aura-form-field {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .landingpages-page .landingpage-suggestion-chip,
  .landingpages-page .page-actions .aura-btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .landingpages-page .aura-td[data-label=Status] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .landingpages-page .aura-td[data-label=Status]::before {
    display: inline;
    margin-bottom: 0;
    content: attr(data-label) ":";
  }
}

.websites-page .page-shell__inner {
  max-width: none;
  width: 100%;
}

.websites-page .page-grid {
  grid-template-columns: minmax(0, 1fr);
}

.websites-page .page-stack,
.websites-page article.page-stack {
  max-width: none;
  width: 100%;
}

.websites-page .page-stack {
  gap: 0.85rem;
}

.websites-actions-cell {
  vertical-align: middle !important;
  text-align: center;
  white-space: nowrap;
  width: 56px;
}

.websites-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .websites-page .aura-tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .websites-page .aura-tr > .aura-td:first-child {
    grid-column: 1/-1;
  }
}

@media (max-width: 768px) {
  .websites-page .websites-actions-cell {
    width: auto;
    min-width: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(221, 214, 234, 0.55);
  }
}

@media (max-width: 768px) {
  .websites-page .websites-actions-cell::before {
    margin-bottom: 2px;
  }
}

@media (max-width: 768px) {
  .websites-page .websites-actions-cell + .websites-actions-cell {
    border-left: 0;
  }
}

@media (max-width: 768px) {
  .websites-page .websites-actions-wrap {
    height: 100%;
    min-height: 40px;
    align-items: flex-start;
  }
}

.lp-preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  position: sticky;
  top: 0;
  z-index: 1000;
}

[contenteditable=true] {
  outline: 2px dashed #007bff;
  outline-offset: 4px;
  min-height: 1em;
}

[contenteditable=true]:hover {
  background: rgba(0, 123, 255, 0.05);
}

.landingpage-kunde__media-modal[hidden] {
  display: none !important;
}

.landingpage-kunde__media-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.landingpage-kunde__media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 35, 0.62);
}

.landingpage-kunde__media-modal-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(760px, 100vh - 28px);
  overflow: auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: none;
}

.landingpage-kunde__media-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: #6f4fa8;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.1rem;
  z-index: 2;
}

.landingpage-kunde__media-modal-tabs,
.landingpage-kunde__media-modal .gallery-picker-folder-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.landingpage-kunde__media-modal-tab,
.landingpage-kunde__media-modal .gallery-picker-folder-tabs .aura-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.landingpage-kunde__media-modal-tab i,
.landingpage-kunde__media-modal .gallery-picker-folder-tabs .aura-btn i {
  font-size: 0.95rem;
  line-height: 1;
}

.landingpage-kunde__media-modal-tab.is-active,
.landingpage-kunde__media-modal .gallery-picker-folder-tabs .is-active,
.landingpage-kunde__media-modal .gallery-picker-folder-toggle.is-active {
  background: #6f4fa8 !important;
  color: #ffffff !important;
  border-color: #6f4fa8 !important;
}

.landingpage-kunde__media-modal .gallery-picker-folder-toggle {
  margin: 2px 0 10px !important;
}

.landingpage-kunde__media-modal .gallery-picker-folder-tabs[hidden] {
  display: none !important;
}

.landingpage-kunde__media-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.landingpage-kunde__media-modal-grid .gallery-picker-item__media {
  border-radius: 10px;
}

.landingpage-kunde__media-modal-loading {
  margin: 10px 0;
  color: #6b617a;
}

.spotlight-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 992px) {
  .spotlight-admin-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.spotlight-admin-field {
  display: grid;
  gap: 8px;
}

.spotlight-admin-field > span {
  color: #2f2345;
  font-weight: 600;
}

.spotlight-admin-field small {
  color: #7a6b90;
  line-height: 1.5;
}

.spotlight-admin-paragraphs {
  display: grid;
  gap: 12px;
}

.spotlight-admin-paragraph {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e0d4f2;
  border-radius: 18px;
  background: #fbf8ff;
}

.spotlight-admin-paragraph__media {
  display: grid;
  gap: 10px;
}

.spotlight-admin-paragraph__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .spotlight-admin-paragraph__actions {
    flex-wrap: wrap;
  }
}

.spotlight-admin-paragraph__remove,
.spotlight-admin-paragraph__add {
  justify-self: flex-start;
}

.spotlight-admin-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2f2345;
  font-weight: 600;
}

.spotlight-admin-table-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.spotlight-admin-table-media__list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
}

.spotlight-admin-table-media__thumb {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #ddd0ef;
  background: #f5effd;
  box-shadow: none;
}

.spotlight-admin-table-media__thumb img,
.spotlight-admin-table-media__thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-popup[hidden] {
  display: none !important;
}

.spotlight-popup {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
@media (max-width: 576px) {
  .spotlight-popup {
    padding: 8px;
  }
}
@media (max-width: 768px) {
  .spotlight-popup {
    padding: 12px;
  }
}

.spotlight-popup.is-visible {
  display: flex;
}

.spotlight-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 16, 28, 0.68);
  backdrop-filter: blur(8px);
}

.spotlight-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  display: grid;
  gap: 18px;
  border-radius: 30px;
  box-shadow: none;
}
@media (max-width: 576px) {
  .spotlight-popup__dialog {
    width: 100%;
    max-height: calc(100vh - 16px);
    gap: 12px;
    border-radius: 18px;
  }
}
@media (max-width: 768px) {
  .spotlight-popup__dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 24px;
  }
}

.spotlight-popup__cards {
  display: grid;
  gap: 18px;
}
@media (max-width: 576px) {
  .spotlight-popup__cards {
    gap: 12px;
  }
}

.spotlight-popup__cards .spotlight-card {
  width: 100%;
  margin: 0;
}

body.spotlight-popup-open {
  overflow: hidden;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.gallery-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1px;
  text-align: center;
  width: 240px;
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
}

.filename {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
  word-wrap: break-word;
}

.gallery-preview-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  padding: 20px;
}
@media (max-width: 768px) {
  .gallery-preview-overlay {
    padding: 12px;
  }
}

.gallery-preview-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: none;
}

.gallery-preview-overlay.is-video-preview > img {
  display: none !important;
}

.adtext-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  background: rgba(20, 15, 34, 0.74) !important;
  backdrop-filter: blur(8px);
}
@media (max-width: 576px) {
  .adtext-modal-overlay {
    padding: 6px;
  }
}
@media (max-width: 576px) {
  .adtext-modal-overlay {
    align-items: flex-start;
    padding: 10px;
    overflow-y: auto;
  }
}

.adtext-modal {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 16px;
  box-shadow: none;
  overflow: hidden;
  background: #fff !important;
  color: #2f2443 !important;
  border: 1px solid rgba(111, 84, 154, 0.14) !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  max-height: calc(100vh - 32px);
  overflow: auto;
}
@media (max-width: 576px) {
  .adtext-modal {
    width: 100%;
    max-height: none;
    margin: 0;
    border-radius: 18px !important;
  }
}

.adtext-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #eee;
  padding: 0 !important;
  border-bottom: 0 !important;
}

.adtext-modal-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}
@media (max-width: 576px) {
  .adtext-modal-title {
    font-size: 20px;
  }
}

.adtext-modal-body {
  padding: 22px;
  padding: 28px !important;
  background: #f6f1ff;
}
@media (max-width: 576px) {
  .adtext-modal-body {
    padding: 10px !important;
  }
}
@media (max-width: 576px) {
  .adtext-modal-body {
    padding: 14px !important;
  }
}

.adtext-preview {
  text-align: center;
  margin-bottom: 18px;
  margin-bottom: 20px;
}
@media (max-width: 576px) {
  .adtext-preview {
    margin-bottom: 14px;
  }
}

.adtext-preview img {
  max-width: 100%;
  max-height: 250px;
  border-radius: 12px;
  border-radius: 18px;
  border: 1px solid rgba(111, 84, 154, 0.14);
  box-shadow: none;
}
@media (max-width: 576px) {
  .adtext-preview img {
    max-height: 120px;
  }
}
@media (max-width: 576px) {
  .adtext-preview img {
    max-height: 150px;
    border-radius: 14px;
  }
}

.adtext-field {
  margin-bottom: 14px;
}
@media (max-width: 576px) {
  .adtext-field {
    margin-bottom: 10px;
  }
}

.adtext-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.adtext-field input,
.adtext-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  box-sizing: border-box;
  background: #fbf9ff;
  color: #2f2443;
  border: 1px solid rgba(111, 84, 154, 0.18);
  border-radius: 12px;
}
@media (max-width: 576px) {
  .adtext-field input,
  .adtext-field textarea {
    padding: 10px 12px;
    font-size: 16px;
  }
}

.adtext-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 576px) {
  .adtext-actions {
    flex-direction: column-reverse;
    gap: 8px;
    margin-top: 12px;
  }
}

.adtext-status {
  margin-top: 14px;
  font-size: 14px;
  color: #555;
  margin-top: 16px;
  color: #5a477f;
  font-weight: 600;
}

/* VoiceToVideo Modal Styles */
#voiceToVideoModal,
#createAvatarModal,
.gallery-preview-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  padding: 24px;
  align-items: center;
  justify-content: center;
  background: rgba(20, 15, 34, 0.74);
  backdrop-filter: blur(8px);
}

.voice-modal-content,
.gallery-preview-dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: min(88vh, 920px);
  padding: 24px;
  overflow: auto;
  background: #fff;
  color: #2f2443;
  border: 1px solid rgba(111, 84, 154, 0.14);
  border-radius: 24px;
  box-shadow: none;
}

.voice-modal-content h3 {
  margin: 0 0 8px;
}

.voice-modal-content p {
  margin: 0 0 16px;
  color: #5c4d7e;
}

.voice-modal-content textarea,
.voice-modal-content input {
  width: 100%;
  background: #fbf9ff;
  color: #2f2443;
  border: 1px solid rgba(111, 84, 154, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 16px;
  box-sizing: border-box;
  resize: vertical;
}

.voice-modal-btns {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-preview-dialog {
  width: min(100%, 1100px);
  max-height: calc(100vh - 48px);
  padding: 56px 24px 24px;
  cursor: default;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
@media (max-width: 768px) {
  .gallery-preview-dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 14px;
    border-radius: 18px;
  }
}

.gallery-preview-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #4f357d;
  border-radius: 999px;
  background: #fff;
  color: #4f357d;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.gallery-preview-close i {
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
}

.gallery-preview-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.gallery-preview-media-wrap {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 100%;
}

.gallery-preview-media {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 96px);
  margin: 0 auto;
  border-radius: 18px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}
@media (max-width: 768px) {
  .gallery-preview-media {
    max-height: calc(100vh - 80px);
    border-radius: 14px;
  }
}

.gallery-preview-overlay.is-video-preview .gallery-preview-media {
  position: relative;
  z-index: 1;
}

.gallery-preview-overlay.is-video-preview.is-preview-vertical .gallery-preview-media {
  width: auto;
  max-width: min(92vw, (100vh - 96px) * 9 / 16);
  max-height: calc(100vh - 96px);
  aspect-ratio: 9/16;
}
@media (max-width: 768px) {
  .gallery-preview-overlay.is-video-preview.is-preview-vertical .gallery-preview-media {
    max-width: min(92vw, (100vh - 80px) * 9 / 16);
    max-height: calc(100vh - 80px);
  }
}

.gallery-preview-overlay.is-video-preview.is-preview-square .gallery-preview-media {
  aspect-ratio: 1/1;
}

/* Neue Styles */
.gallery-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.gallery-ai-box {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin-bottom: 25px;
  display: none;
}

.gallery-ai-box h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.ai-generate-submit-btn {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.editPromptContainer {
  display: none;
  margin: 4px 0 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: 0;
}

.adtext-inline-container,
.video-confirm-inline-container,
.voice-inline-container {
  display: none;
  margin: 4px 0 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: 0;
}

.gallery-page .gallery-item.is-inline-open {
  z-index: 12;
  overflow: visible;
}

.gallery-page .voice-inline-container {
  position: relative;
  z-index: 6;
  margin-top: 8px;
  padding: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(111, 84, 154, 0.18);
  border-radius: 14px;
  background: #fbf9ff;
  box-shadow: none;
}

.adtext-inline-container .adtext-field {
  margin-bottom: 6px;
}

.adtext-inline-container .adtext-field input,
.adtext-inline-container .adtext-field textarea,
.voice-inline-container .voice-inline-text {
  width: 100%;
  padding: 7px 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  box-sizing: border-box;
  resize: vertical;
}

.gallery-page .voice-inline-container .voice-inline-text {
  min-height: 88px;
  max-height: none;
  line-height: 1.35;
}

.adtext-inline-container .adtext-actions,
.video-confirm-inline-container .video-confirm-actions,
.voice-inline-container .voice-inline-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.gallery-page .voice-inline-container .voice-inline-actions {
  flex-wrap: wrap;
}

.adtext-inline-container .adtext-actions button,
.video-confirm-inline-container .video-confirm-actions button,
.voice-inline-container .voice-inline-actions button {
  flex: 1 1 0;
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 6px !important;
}

.gallery-page .voice-inline-container .voice-inline-actions button {
  min-width: 0;
  height: auto !important;
  min-height: 38px !important;
  white-space: normal;
}

.adtext-inline-container .adtext-status,
.video-confirm-inline-container .video-confirm-status,
.voice-inline-container .voice-inline-status {
  margin-top: 6px;
  font-size: 14px;
}

.voice-inline-container .voice-inline-label {
  display: block;
  margin: 0 0 5px;
  color: #4d4266;
  font-size: 13px;
  font-weight: 600;
}

.voice-inline-container .voice-inline-status.is-error {
  color: #b42318;
}

.voice-inline-container .voice-inline-status.is-success {
  color: #1f7a3a;
}

.editImagePrompt {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  margin-bottom: 8px;
  resize: vertical;
}

.galleryEditImageBtn {
  width: 100%;
  padding: 8px;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.gallery-page .page-shell__inner {
  max-width: none;
  width: 100%;
}

.gallery-page .page-grid {
  grid-template-columns: minmax(0, 1fr);
}

.gallery-page .page-stack {
  max-width: none;
  width: 100%;
}

.gallery-page .gallery-actions {
  margin: 0 0 18px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(111, 84, 154, 0.12);
  box-shadow: none;
}
@media (max-width: 992px) {
  .gallery-page .gallery-actions {
    padding: 16px;
  }
}

.gallery-page .gallery-actions__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 -10px 0;
}
@media (max-width: 768px) {
  .gallery-page .gallery-actions__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.gallery-page .gallery-actions__title {
  margin: 0;
  color: #2d2440;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.1;
}

.gallery-page .gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
@media (max-width: 768px) {
  .gallery-page .gallery-toolbar {
    width: 100%;
    gap: 8px;
  }
}

.gallery-page .gallery-toolbar__camera-action {
  display: none;
}

@media (max-width: 900px) {
  .gallery-page .gallery-toolbar__camera-action {
    display: inline-flex;
  }
}
.gallery-page .delete-btn,
.gallery-page .gallery-delete-btn,
.gallery-page .save-btn,
.gallery-page .aura-btn.aura-btn--success,
.gallery-page .aura-btn.aura-btn--danger,
.gallery-page .galleryEditImageBtn,
.gallery-page .adtext-btn,
.gallery-page .imageToVideoBtn,
.gallery-page .toggleReelPostBtn,
.gallery-page .voiceToVideoBtn,
.gallery-page .videoSubtitleBtn,
.gallery-page .galleryStartEditPromptBtn,
.gallery-page .ai-generate-submit-btn {
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
}

#avatarVideoModal,
#avatarSceneModal,
#avatarVoiceAssignModal {
  display: none;
  position: static;
  width: 100%;
  margin: 10px 0 0;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

#avatarVideoModal .voice-modal-content,
#avatarSceneModal .voice-modal-content,
#avatarVoiceAssignModal .voice-modal-content {
  width: 100%;
  max-width: 100% !important;
  max-height: none;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#avatarVideoModal .reel-modal-headcard,
#avatarSceneModal .reel-modal-headcard {
  display: none;
}

#avatarSceneModal .avatar-scene-suggestions {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
}

#avatarSceneModal .avatar-scene-suggestions__group {
  display: grid;
  gap: 8px;
}

#avatarSceneModal .avatar-scene-suggestions__title {
  color: #6f6780;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

#avatarSceneModal .avatar-scene-choice-group {
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
}

#avatarSceneModal .avatar-scene-choice-group > .aura-btn {
  flex: 1 0 auto;
  min-height: 34px;
}

@media (max-width: 380px) {
  #avatarSceneModal .avatar-scene-choice-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
  }
  #avatarSceneModal .avatar-scene-choice-group > .aura-btn {
    min-width: 0;
    border-right-width: 2px;
    border-radius: 0;
    overflow-wrap: anywhere;
  }
  #avatarSceneModal .avatar-scene-choice-group > .aura-btn:first-child {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 0;
  }
  #avatarSceneModal .avatar-scene-choice-group > .aura-btn:nth-child(3) {
    border-top-right-radius: 999px;
  }
  #avatarSceneModal .avatar-scene-choice-group > .aura-btn:nth-last-child(3) {
    border-bottom-left-radius: 999px;
  }
  #avatarSceneModal .avatar-scene-choice-group > .aura-btn:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 999px;
  }
}
#avatarSceneModal .avatar-scene-custom-input {
  width: 100%;
  margin-top: 2px;
}

#avatarSceneModal .avatar-scene-custom-input[hidden] {
  display: none !important;
}

.gallery-page .voiceToVideoBtn:disabled,
.gallery-page .voiceToVideoBtn.is-disabled {
  cursor: not-allowed !important;
  opacity: 0.85;
  pointer-events: none;
}

.gallery-page .videoSubtitleBtn:disabled,
.gallery-page .videoSubtitleBtn.is-disabled {
  cursor: not-allowed !important;
  opacity: 0.85;
  pointer-events: none;
}

.gallery-page .gallery-folder-panel {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-page .gallery-folder-create-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.gallery-page .gallery-folder-create-form[hidden],
.gallery-page .gallery-folder-edit-row[hidden],
.gallery-page .gallery-folder-tab[hidden],
.gallery-page .gallery-folder-edit-toggle[hidden] {
  display: none !important;
}

.gallery-page .gallery-folder-create-form input,
.gallery-page .gallery-folder-rename-form input,
.gallery-page .gallery-folder-move select {
  min-height: 38px;
  border: 1px solid rgba(111, 84, 154, 0.18);
  border-radius: 12px;
  background: #fbf9ff;
  color: #2f2443;
  box-sizing: border-box;
}

.gallery-page .gallery-folder-create-form input {
  flex: 0 1 300px;
  width: min(100%, 300px);
  padding: 0 12px;
}

.gallery-page .gallery-folder-create-form .aura-btn--icon {
  flex: 0 0 40px;
}

@media (max-width: 768px) {
  .gallery-page .gallery-folder-create-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 8px;
    width: 100%;
  }
  .gallery-page .gallery-folder-create-form input {
    width: 100%;
    min-width: 0;
    flex: initial;
  }
}
.gallery-page .gallery-folder-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.gallery-page .gallery-folder-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}
@media (max-width: 768px) {
  .gallery-page .gallery-folder-chip {
    flex-basis: 47.5%;
    width: 47.5%;
  }
}

.gallery-page .gallery-folder-tab {
  gap: 8px;
  min-height: 38px;
  justify-content: center;
}

.gallery-page .gallery-folder-chip > .gallery-folder-tab {
  width: 100%;
}
@media (max-width: 768px) {
  .gallery-page .gallery-folder-chip > .gallery-folder-tab {
    width: 100%;
  }
}

.gallery-page .gallery-folder-tab .gallery-folder-edit-toggle {
  width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 -6px 0 0 !important;
  padding: 0 !important;
  pointer-events: auto;
}

.gallery-page .gallery-folder-tab .gallery-folder-edit-toggle i {
  font-size: 13px;
  line-height: 1;
}

.gallery-page .gallery-folder-tab.is-active {
  background: #6f4fa8;
  color: #ffffff;
  border-color: #efe3ff;
}

.gallery-page .gallery-folder-rename-form,
.gallery-page .gallery-folder-delete-form {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.gallery-page .gallery-folder-edit-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(111, 84, 154, 0.14);
  border-radius: 12px;
  background: #efe7ff;
}

.gallery-page .gallery-folder-rename-form input {
  width: min(100%, 150px);
  min-height: 40px;
  padding: 0 8px;
  font-size: 12px;
}

.gallery-folder-edit-modal__form {
  display: grid;
  gap: 16px;
}

.gallery-folder-edit-modal__field {
  display: grid;
  gap: 7px;
  color: #2d243d;
  font-weight: 600;
}

.gallery-folder-edit-modal__field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ddd6ea;
  border-radius: 16px;
  background: #ffffff;
  color: #2d243d;
  padding: 12px 14px;
  box-sizing: border-box;
}

.gallery-folder-edit-modal__field input:focus {
  outline: none;
  border-color: #7f5cc2;
  background: #ffffff;
  box-shadow: none;
}

.gallery-page .gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  grid-auto-flow: row !important;
  align-items: start !important;
  gap: 10px !important;
  width: 100%;
}
@media (max-width: 992px) {
  .gallery-page .gallery {
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)) !important;
    gap: 8px !important;
  }
}
@media (max-width: 768px) {
  .gallery-page .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 5px !important;
  }
}

.gallery-page .gallery[hidden],
.gallery-page .gallery-more-wrap[hidden] {
  display: none !important;
}

.gallery-page h2 {
  margin: 0 0 14px;
  padding: 0 2px;
  color: #2f2443;
}

.gallery-page .gallery-saved-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}

.gallery-page .gallery-saved-heading h2 {
  margin: 0;
}

.gallery-page #galleryFolderPanelToggle {
  flex: 0 0 auto;
}

.gallery-page h2 + .gallery,
.gallery-page h2 + p + .gallery,
.gallery-page #aiImageBox {
  margin-bottom: 14px;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(111, 84, 154, 0.12);
  border-radius: 24px;
  box-shadow: none;
}

.gallery-page h2 + p {
  margin: -4px 0 12px;
}

.gallery-page .gallery-item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(111, 84, 154, 0.14);
  border-radius: 18px;
  box-shadow: none;
}
@media (max-width: 768px) {
  .gallery-page .gallery-item {
    border-radius: 16px;
  }
}

.gallery-page .gallery-favorite-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.gallery-page .gallery-favorite-toggle:disabled {
  opacity: 0.65;
  cursor: wait;
}

.gallery-page .gallery-favorite-toggle i {
  pointer-events: none;
}

.gallery-page .gallery-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .gallery-page .gallery-media-frame {
    border-radius: 12px;
  }
}

.gallery-page .gallery-item[data-media-kind=videos] .gallery-media-frame {
  aspect-ratio: 9/16;
}

.gallery-page .gallery-item[data-avatar-scene="1"][data-orientation=vertical] .gallery-media-frame {
  aspect-ratio: 9/16;
}

.gallery-page .gallery-item[data-avatar-scene="1"][data-orientation=horizontal] .gallery-media-frame {
  aspect-ratio: 16/9;
}

.gallery-page .gallery-item[data-media-kind=videos] .gallery-media-frame::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 42%;
  pointer-events: none;
}

.gallery-page .gallery-item.is-editing {
  z-index: 10;
  grid-column: auto/span 2 !important;
  border: 5px solid #7f5cc2;
}

@media (max-width: 900px) {
  .gallery-page .gallery-item[data-media-kind=videos][data-orientation=horizontal] .gallery-media-frame {
    aspect-ratio: 16/9;
  }
  .gallery-page .gallery-item[data-media-kind=videos][data-orientation=square] .gallery-media-frame {
    aspect-ratio: 1/1;
  }
  .gallery-page .gallery-preview-img--video {
    object-fit: cover;
    background: #2d2440;
  }
}
@media (max-width: 768px) {
  .gallery-page .gallery-item[data-media-kind=videos] .gallery-media-frame,
  .gallery-page .gallery-item[data-media-kind=videos][data-orientation=horizontal] .gallery-media-frame,
  .gallery-page .gallery-item[data-media-kind=videos][data-orientation=square] .gallery-media-frame {
    aspect-ratio: 9/16;
    background: #21182f;
  }
  .gallery-page .gallery-item[data-media-kind=videos] .gallery-media-frame.has-video-poster-bg::before {
    content: "";
    position: absolute;
    pointer-events: none;
  }
  .gallery-page .gallery-item[data-media-kind=videos] .gallery-media-frame.has-video-poster-bg::before {
    inset: -18px;
    z-index: 0;
    background-image: var(--gallery-video-poster);
    background-position: center;
    background-size: cover;
    filter: blur(14px);
    opacity: 0.45;
    transform: scale(1.08);
  }
  .gallery-page .gallery-item[data-media-kind=videos] .gallery-media-frame > a,
  .gallery-page .gallery-item[data-media-kind=videos] .gallery-preview-img--video {
    position: relative;
    z-index: 1;
  }
  .gallery-page .gallery-item[data-media-kind=videos] .gallery-preview-img--video {
    object-fit: cover !important;
    background: transparent;
  }
  .gallery-page .gallery-item[data-media-kind=videos] .gallery-preview-play {
    z-index: 4;
  }
  .gallery-page .gallery-item[data-media-kind=videos] .gallery-preview-play i {
    width: 42px;
    height: 42px;
    background: rgba(45, 36, 64, 0.5);
  }
}
.gallery-page .gallery-item:not(.is-editing) .save-btn,
.gallery-page .gallery-item:not(.is-editing) .aura-btn--success,
.gallery-page .gallery-item:not(.is-editing) .gallery-delete-btn,
.gallery-page .gallery-item:not(.is-editing) .galleryStartEditPromptBtn,
.gallery-page .gallery-item:not(.is-editing) .adtext-btn,
.gallery-page .gallery-item:not(.is-editing) .imageToVideoBtn,
.gallery-page .gallery-item:not(.is-editing) .toggleReelPostBtn,
.gallery-page .gallery-item:not(.is-editing) .voiceToVideoBtn,
.gallery-page .gallery-item:not(.is-editing) .videoSubtitleBtn,
.gallery-page .gallery-item:not(.is-editing) .avatarVideoCreateToggleBtn,
.gallery-page .gallery-item:not(.is-editing) .avatarSceneCreateToggleBtn,
.gallery-page .gallery-item:not(.is-editing) .avatarTrainBtn,
.gallery-page .gallery-item:not(.is-editing) .avatar-train-status,
.gallery-page .gallery-item:not(.is-editing) .editPromptContainer,
.gallery-page .gallery-item:not(.is-editing) .adtext-inline-container,
.gallery-page .gallery-item:not(.is-editing) .video-confirm-inline-container,
.gallery-page .gallery-item:not(.is-editing) .voice-inline-container,
.gallery-page .gallery-item:not(.is-editing) .gallery-folder-move,
.gallery-page .gallery-item:not(.is-editing) .gallery-folder-move-panel {
  display: none !important;
}

.gallery-page .gallery-item.is-editing .gallery-card-edit-toggle {
  display: none !important;
}

.gallery-page .gallery-card-edit-toggle {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
}

.gallery-page .gallery-media-frame > .gallery-delete-btn {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
  width: 40px;
  max-width: none;
  height: 40px;
  margin-top: 0;
}

.gallery-page .gallery-card-edit-toggle i,
.gallery-page .gallery-media-frame > .gallery-delete-btn i {
  pointer-events: none;
}

#avatarVideoText {
  font-size: 1rem;
  line-height: 1.45;
}

#avatarVideoModal .avatar-toggle-btn span {
  overflow-wrap: anywhere;
}

#avatarVideoModal [data-avatar-video-text-card] .voice-modal-btns {
  justify-content: space-between;
  margin-top: 1rem !important;
}

#avatarVideoModal [data-avatar-video-text-card] .voice-modal-btns > .aura-btn {
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  #avatarVideoModal [data-avatar-video-text-card] .voice-modal-btns {
    justify-content: stretch;
  }
  #avatarVideoModal [data-avatar-video-text-card] .voice-modal-btns > .aura-btn {
    flex: 1 1 100%;
  }
}
.gallery-page .gallery-item.is-editing .avatarVideoCreateToggleBtn,
.gallery-page .gallery-item.is-editing .avatarSceneCreateToggleBtn,
.gallery-page .gallery-item.is-editing .avatarTrainBtn,
.gallery-page .gallery-item.is-editing .avatarSceneDeleteBtn {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .gallery-page .gallery-item.is-editing {
    grid-column: 1/-1;
  }
  .gallery-page .gallery-folder-move {
    left: 8px;
    bottom: 8px;
  }
  .gallery-page .gallery-favorite-toggle {
    top: 8px;
    right: 8px;
  }
  .gallery-page .gallery-orientation-icon {
    right: 8px;
    bottom: 8px;
    z-index: 4;
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }
  .gallery-page [data-avatar-scene-date] {
    right: 22px;
    bottom: 10px;
    min-height: 24px;
    font-size: 0.58rem;
  }
  .gallery-page [data-avatar-voice-badge] {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    overflow-wrap: anywhere;
    text-align: center;
  }
  .gallery-page .gallery-audio-icon {
    right: 32px;
    bottom: 8px;
    z-index: 4;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
  }
  .gallery-page .gallery-subtitle-icon {
    right: 56px;
    bottom: 8px;
    z-index: 4;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
  }
  .gallery-page .gallery-orientation-icon i {
    font-size: 1rem;
  }
  .gallery-page .gallery-audio-icon i,
  .gallery-page .gallery-subtitle-icon i {
    font-size: 0.75rem;
  }
}
.gallery-page .gallery-media-frame > a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-page .gallery-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-page .gallery-preview-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  pointer-events: none;
  text-shadow: none;
}

.gallery-page .gallery-preview-play i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(45, 36, 64, 0.42);
  backdrop-filter: blur(2px);
}

.gallery-page .gallery-orientation-icon,
.gallery-page .gallery-audio-icon,
.gallery-page .gallery-subtitle-icon {
  position: absolute;
  bottom: 11px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  font-size: 1.28rem;
  line-height: 1;
  pointer-events: none;
  text-shadow: none;
}

.gallery-page .gallery-orientation-icon {
  right: 11px;
}

.gallery-page [data-avatar-scene-date] {
  position: absolute;
  right: 43px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-height: 28px;
  color: #ffffff;
  font-size: calc(0.68rem + 2px);
  font-weight: 700;
  line-height: 1.05;
  pointer-events: none;
  text-align: right;
  text-shadow: 0 1px 3px rgba(20, 15, 34, 0.55);
}

.gallery-page .gallery-audio-icon {
  right: 43px;
}

.gallery-page .gallery-subtitle-icon {
  right: 75px;
}

@media (max-width: 768px) {
  .gallery-page [data-avatar-scene-date] {
    right: 22px;
    bottom: 10px;
    min-height: 24px;
    font-size: 0.58rem;
  }
}
.gallery-page .gallery-orientation-icon--horizontal i {
  transform: rotate(90deg);
}

.gallery-picker-item .gallery-orientation-icon,
.gallery-picker-item .gallery-audio-icon,
.gallery-picker-item .gallery-subtitle-icon,
[data-calendar-video-card] .gallery-orientation-icon {
  position: absolute;
  bottom: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  pointer-events: none;
  text-shadow: none;
}

.gallery-picker-item .gallery-orientation-icon,
[data-calendar-video-card] .gallery-orientation-icon {
  right: 8px;
}

.gallery-picker-item .gallery-audio-icon {
  right: 36px;
}

.gallery-picker-item .gallery-subtitle-icon {
  right: 64px;
}

.gallery-picker-item .gallery-orientation-icon--horizontal i,
[data-calendar-video-card] .gallery-orientation-icon--horizontal i {
  transform: rotate(90deg);
}

.gallery-picker-folder-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.gallery-picker-folder-toggle {
  margin: 8px 0 10px !important;
}

.gallery-picker-folder-tabs[hidden] {
  display: none !important;
}

.gallery-picker-folder-tabs .is-active {
  background: #6f4fa8 !important;
  color: #ffffff !important;
}

.gallery-picker-item {
  position: relative;
  cursor: pointer;
}

.gallery-picker-item__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 10px;
  background: #f4efff;
}

.gallery-picker-item[data-media-type=video] .gallery-picker-item__media {
  aspect-ratio: 9/16;
}

.gallery-picker-item__media img,
.gallery-picker-item__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-picker-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  text-shadow: none;
  pointer-events: none;
}

.gallery-page .filename {
  margin-bottom: 6px;
  color: #5d5571;
  font-size: 13px;
  font-weight: 600;
}

.gallery-page .gallery-folder-move {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
  width: 42px;
  height: 42px;
}

.gallery-page .gallery-folder-move-panel {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  margin: 0 0 8px;
  overflow: visible;
}

.gallery-page .gallery-folder-move select,
.gallery-page .gallery-folder-move-panel select {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gallery-page .gallery-folder-move > .aura-select,
.gallery-page .gallery-folder-move-panel > .aura-select {
  display: none !important;
}

.gallery-page .gallery-folder-move select.is-saving,
.gallery-page .gallery-folder-move-panel select.is-saving {
  opacity: 0;
  cursor: wait;
}

.gallery-page .gallery-folder-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  display: grid;
  gap: 5px;
  width: max-content;
  min-width: 152px;
  max-width: min(240px, 100vw - 32px);
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border: 1px solid #ddd6ea;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
}

.gallery-page .gallery-folder-move-panel .gallery-folder-menu {
  position: static;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: 220px;
}

.gallery-page .gallery-folder-menu[hidden] {
  display: none !important;
}

.gallery-page .gallery-folder-menu button {
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #ddd6ea;
  border-radius: 12px;
  background: #ffffff;
  color: #2d243d;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.gallery-page .gallery-folder-menu button:hover,
.gallery-page .gallery-folder-menu button:focus,
.gallery-page .gallery-folder-menu button.is-selected {
  outline: none;
  background: #efe7ff;
  border-color: #7f5cc2;
  color: #6f4fa8;
}

.gallery-page .gallery-folder-move small {
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  width: max-content;
  max-width: 160px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #5c4d7e;
  font-size: 11px;
  font-weight: 600;
  box-shadow: none;
  pointer-events: none;
}

.gallery-page .gallery-folder-move-panel small {
  position: static;
  width: 100%;
  max-width: 100%;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-page .gallery-folder-move small:empty {
  display: none;
}

.gallery-page .gallery-folder-move small.is-error {
  color: #b42318;
}

@media (max-width: 768px) {
  .gallery-page .gallery .gallery-folder-move {
    left: 8px !important;
    bottom: 8px !important;
  }
  .gallery-page .gallery .gallery-orientation-icon {
    right: 8px !important;
    bottom: 8px !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 1rem !important;
  }
  .gallery-page .gallery .gallery-audio-icon {
    right: 32px !important;
    bottom: 8px !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 0.75rem !important;
  }
  .gallery-page .gallery .gallery-subtitle-icon {
    right: 56px !important;
    bottom: 8px !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 0.75rem !important;
  }
  .gallery-page .gallery .gallery-orientation-icon i {
    font-size: 1rem !important;
  }
  .gallery-page .gallery .gallery-audio-icon i,
  .gallery-page .gallery .gallery-subtitle-icon i {
    font-size: 0.75rem !important;
  }
}
.gallery-page .gallery + h2,
.gallery-page .gallery-ai-box,
.gallery-page .gallery,
.gallery-page p a[href*="source=avatars"] {
  position: relative;
}

.gallery-page .gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-tabs {
  margin-top: -1rem;
}

.gallery-page .gallery-tab-btn {
  margin: 0;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(111, 84, 154, 0.14);
  background: #efe7ff;
  color: #3f3060;
  font-weight: 600;
  box-shadow: none;
}

.gallery-page .gallery-tab-btn.is-active {
  background: #6f4fa8;
  color: #ffffff;
  border-color: #efe3ff;
  box-shadow: none;
}

.gallery-page .gallery-tab-btn.is-attention {
  animation: gallery-tab-green-blink 1s infinite;
}

@keyframes gallery-tab-green-blink {
  0%, 100% {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
    box-shadow: none;
  }
  50% {
    background: #dff8e7;
    border-color: #28a745;
    color: #17662c;
    box-shadow: none;
  }
}
.gallery-page .gallery-more-wrap {
  margin: 12px 0 20px;
  text-align: center;
}

.gallery-page .gallery-more-btn {
  min-height: 30px;
  padding: 4px 12px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .gallery-page .page-shell__inner,
  .gallery-page .page-stack {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .gallery-page .gallery-tabs,
  .gallery-page .gallery-folder-tabs {
    flex-wrap: wrap;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 768px) {
  .gallery-page .gallery-tab-btn,
  .gallery-page .gallery-folder-tab,
  .gallery-page .gallery-folder-chip,
  .gallery-page #galleryFolderCreateToggle {
    flex: 0 0 auto;
  }
}

.gallery-page .adtext-modal-overlay,
.gallery-page #voiceToVideoModal,
.gallery-page #createAvatarModal,
.gallery-page .gallery-preview-overlay {
  background: rgba(20, 15, 34, 0.74) !important;
  backdrop-filter: blur(8px);
}

.gallery-page .adtext-modal,
.gallery-page .voice-modal-content,
.gallery-page .gallery-preview-dialog {
  background: #fff !important;
  color: #2f2443 !important;
  border: 1px solid rgba(111, 84, 154, 0.14) !important;
  border-radius: 24px !important;
  box-shadow: none !important;
}

.gallery-page .reel-inline-container {
  display: none;
  margin: 8px 0 12px;
}

.gallery-page .reel-inline-container[hidden] {
  display: none !important;
}

.gallery-page .reel-inline-content {
  width: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

.gallery-page .reel-inline-content .reel-modal-headcard {
  margin: 0 !important;
  padding: 16px;
}

.gallery-page .reel-inline-content .reel-modal-title {
  font-size: 18px;
}

.gallery-page .reel-inline-content .reel-modal-subtitle {
  font-size: 13px;
}

.gallery-page .reel-inline-content .reel-modal-stack {
  padding: 0;
  background: transparent;
}

.gallery-page .reel-inline-content .reel-modal-card {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
}

.gallery-page .reel-inline-content textarea {
  width: 100%;
  background: #ffffff;
  margin-bottom: 10px;
  min-height: 78px;
}

.gallery-page .reel-inline-content .reelCaptionInput {
  min-height: 160px;
}

.gallery-page .adtext-modal-header {
  border-bottom: 1px solid rgba(111, 84, 154, 0.12);
  padding: 0 !important;
  border-bottom: 0 !important;
}

.gallery-page .gallery-preview-dialog {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.gallery-page .adtext-field input,
.gallery-page .adtext-field textarea,
.gallery-page .voice-modal-content textarea,
.gallery-page .voice-modal-content input {
  background: #fbf9ff;
  color: #2f2443;
  border: 1px solid rgba(111, 84, 154, 0.18);
  border-radius: 12px;
}

.gallery-page .adtext-modal-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.gallery-page .adtext-modal-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.gallery-page .adtext-modal-body {
  padding: 28px !important;
  background: #f6f1ff;
}

.gallery-page .adtext-preview {
  margin-bottom: 20px;
}

.gallery-page .adtext-preview img {
  border-radius: 18px;
  border: 1px solid rgba(111, 84, 154, 0.14);
  box-shadow: none;
}

.gallery-page .adtext-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.adtext-inline-form {
  padding: 0;
}

.gallery-page .adtext-status {
  margin-top: 16px;
  color: #5a477f;
  font-weight: 600;
}

.adtext-modal-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
@media (max-width: 576px) {
  .adtext-modal-subtitle {
    display: none;
  }
}
@media (max-width: 576px) {
  .adtext-modal-subtitle {
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (max-width: 576px) {
  .adtext-actions button {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .adtext-field textarea {
    min-height: 92px;
  }
}

.video-confirm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100001;
  padding: 24px;
  align-items: center;
  justify-content: center;
  background: rgba(20, 15, 34, 0.74);
  backdrop-filter: blur(8px);
}
@media (max-width: 576px) {
  .video-confirm-overlay {
    padding: 6px;
  }
}
@media (max-width: 576px) {
  .video-confirm-overlay {
    align-items: flex-start;
    padding: 10px;
    overflow-y: auto;
  }
}

.video-confirm-dialog {
  width: min(100%, 560px);
  max-height: calc(100vh - 32px);
  background: #fff;
  color: #2f2443;
  border: 1px solid rgba(111, 84, 154, 0.14);
  border-radius: 24px;
  box-shadow: none;
  overflow: auto;
}
@media (max-width: 576px) {
  .video-confirm-dialog {
    width: 100%;
    max-height: none;
    border-radius: 18px;
  }
}

.video-confirm-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}
@media (max-width: 576px) {
  .video-confirm-title {
    font-size: 20px;
  }
}

.video-confirm-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
@media (max-width: 576px) {
  .video-confirm-subtitle {
    display: none;
  }
}
@media (max-width: 576px) {
  .video-confirm-subtitle {
    font-size: 13px;
    line-height: 1.4;
  }
}

.video-confirm-body {
  padding: 24px 26px 26px;
  background: #f6f1ff;
}
@media (max-width: 576px) {
  .video-confirm-body {
    padding: 10px;
  }
}
@media (max-width: 576px) {
  .video-confirm-body {
    padding: 14px;
  }
}

.video-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 576px) {
  .video-confirm-actions {
    flex-direction: column-reverse;
    gap: 8px;
    margin-top: 12px;
  }
}

.video-confirm-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #5a477f;
}

.video-confirm-status.is-error {
  color: #b42318;
}

.video-confirm-status.is-success {
  color: #1f7a45;
}

.video-confirm-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}
@media (max-width: 576px) {
  .video-confirm-actions button {
    width: 100%;
    min-height: 44px;
  }
}

.reel-modal-headcard {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: -24px -24px 22px;
  padding: 24px 26px;
  color: #fff;
}

.reel-modal-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.reel-modal-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.reel-modal-card {
  background: #fff;
  border: 1px solid rgba(111, 84, 154, 0.14);
  border-radius: 20px;
  padding: 20px;
  box-shadow: none;
}

.reel-modal-label {
  display: block;
  margin: 0 0 8px;
  font-weight: 600;
  color: #403058;
}

.reel-modal-stack {
  display: grid;
  gap: 16px;
}

.reel-modal-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #5a477f;
}

.reel-modal-status.is-error {
  color: #b42318;
}

.reel-modal-status.is-success {
  color: #1f7a45;
}

.voice-modal-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.voice-modal-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.voice-modal-label {
  display: block;
  margin: 0 0 8px;
  font-weight: 600;
  color: #403058;
}

.voice-modal-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #5a477f;
}

.voice-modal-status.is-error {
  color: #b42318;
}

.voice-modal-status.is-success {
  color: #1f7a45;
}

.image-gallery {
  display: none;
  margin-top: 0.5rem;
  background: #000;
  padding: 10px;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
}
.image-gallery .gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.image-gallery .gallery-item {
  width: 110px;
  height: 110px;
  border-radius: 6px;
  cursor: pointer;
  object-fit: cover;
}
.image-gallery .gallery-item.selected {
  outline: 3px solid #7f5cc2;
}

.detail-image-grid__preview {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.ci-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 768px) {
  .ci-image-grid {
    grid-template-columns: 1fr;
  }
}

.spotlight-admin-upload {
  width: fit-content;
}

.spotlight-admin-media-preview {
  display: grid;
  gap: 10px;
}

.spotlight-admin-media-preview img,
.spotlight-admin-media-preview video {
  width: min(240px, 100%);
  border-radius: 18px;
  background: #f2ebfd;
  border: 1px solid #dfd2f3;
}

.preview-modal:not(.prompt-media-modal) .preview-modal__dialog img {
  display: block;
  width: 100%;
  max-height: calc(88vh - 36px);
  object-fit: contain;
  border-radius: 18px;
  background: #f5f0fd;
}

.avatar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.avatar-group-item {
  width: 240px;
}
@media (max-width: 576px) {
  .avatar-group-item {
    width: 100%;
    min-width: 0;
  }
}
.avatar-group {
  height: auto;
  width: 240px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border-radius: 18px;
  border: 1px solid #7f5cc2;
  user-select: none;
  overflow: hidden;
  position: relative;
}
@media (max-width: 576px) {
  .avatar-group {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1/1;
  }
}
@media (max-width: 576px) {
  .avatar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
}

.heygen-voice-id-input {
  max-width: 420px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

/* Lade-Overlay */
.aura-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(116, 84, 176, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  backdrop-filter: blur(8px);
}
.aura-loading-overlay__dialog {
  padding: 30px;
  border-radius: 24px;
  text-align: center;
  box-shadow: none;
  border: 1px solid rgba(127, 92, 194, 0.14);
  max-width: 90%;
  width: 300px;
}
.aura-loading-overlay__logo, .aura-loading-overlay__spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  display: block;
  object-fit: contain;
  animation: aura-loading-logo-spin 1.2s linear infinite;
}
.aura-loading-overlay__spinner {
  background: url("../config/logo/logopic.svg") center/contain no-repeat;
  border: 0;
  border-radius: 0;
}
.aura-loading-overlay__eyebrow {
  color: #7f5cc2;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 8px;
}
.aura-loading-overlay__message {
  color: #33214f;
  font-size: 16px;
}

@keyframes aura-loading-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Modal / Galerie */
.preview-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px;
  box-sizing: border-box !important;
}
.preview-modal[hidden] {
  display: none !important;
}
.preview-modal__backdrop {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(74, 52, 118, 0.22);
  cursor: pointer;
  z-index: 0;
  backdrop-filter: blur(8px);
}
.preview-modal__dialog {
  position: relative !important;
  z-index: 1 !important;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(127, 92, 194, 0.14);
  box-shadow: none;
  margin: auto !important;
}
.preview-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(127, 92, 194, 0.1);
  color: #5d468e;
  border: 1px solid rgba(127, 92, 194, 0.12);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.preview-modal__close:hover {
  background: rgba(127, 92, 194, 0.16);
}

body.modal-open {
  overflow: hidden;
}

.preview-modal.prompt-media-modal.image-gallery,
.preview-modal.prompt-media-modal.website-image-gallery,
.preview-modal.prompt-media-modal.global-gallery,
.preview-modal.prompt-media-modal.global-website-gallery {
  margin-top: 0;
  background: transparent;
  max-height: none;
  overflow: visible;
  border-radius: 0;
}

.preview-modal.prompt-media-modal .gallery-grid,
.preview-modal.prompt-media-modal .website-gallery-grid {
  display: grid !important;
  justify-content: stretch;
  flex: 1 1 auto;
}

#voiceToVideoModal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
#voiceToVideoModal[style*="display: none"] {
  display: none !important;
}

.voice-modal-content {
  background-color: #222;
  color: #fff;
  margin: auto !important;
  padding: 20px;
  border: 1px solid #444;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  text-align: center;
}

.voice-modal-content h3 {
  margin-top: 0;
}

.voice-modal-content textarea {
  width: 100%;
  background: #333;
  color: #fff;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 10px;
  margin: 15px 0;
  resize: none;
}

.voice-modal-btns {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.story-mode {
  display: grid !important;
  grid-template-columns: 1fr !important;
  max-width: 500px;
  margin: 0 auto;
}

.story-mode[style*="display: none"] {
  display: none !important;
}

.story-mode .ad-container {
  width: 100% !important;
  margin-bottom: 30px;
  border: 1px solid #444;
  padding: 15px;
  border-radius: 12px;
  background: #222;
}

.story-mode .ad-image img {
  max-width: 100% !important;
  height: auto !important;
}

.story-preview-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.story-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  pointer-events: none;
  width: 90%;
  word-wrap: break-word;
  white-space: pre-wrap;
  display: none;
  box-shadow: none;
  line-height: 1.2;
  padding: 15px;
  z-index: 12;
}
.story-text-overlay[data-drag-ready="1"] {
  cursor: move;
  pointer-events: auto !important;
  user-select: none !important;
  touch-action: none;
  transition: none !important;
}
.story-text-overlay[data-drag-ready="1"].is-dragging {
  opacity: 0.8;
  z-index: 100;
}
@media (max-width: 576px) {
  .story-text-overlay {
    font-size: 1rem;
    padding: 12px;
  }
}

.story-text-overlay.top {
  top: 20%;
  transform: translate(-50%, 0);
}

.story-text-overlay.middle {
  top: 50%;
  transform: translate(-50%, -50%);
}

.story-text-overlay.bottom {
  top: auto;
  bottom: 20%;
  transform: translate(-50%, 0);
}

/* Prompt Results Card */
.prompt-result {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease;
  position: relative;
}

.prompt-result:hover {
  box-shadow: none;
}

.prompt-result__top {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(127, 92, 194, 0.08);
}

.prompt-result__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7f5cc2;
  margin-bottom: 4px;
}

.prompt-result__top h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #24153f;
}

.prompt-result__media {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Preview Viewports & Containers */
.prompt-result-preview {
  position: relative;
  width: 100%;
  background: #f8f6fb;
  border-radius: 16px;
  overflow: hidden;
  border: 1px dashed rgba(127, 92, 194, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prompt-result-preview__viewport {
  position: relative;
  width: 100%;
  height: 0;
  /* Default Aspect Ratio 1:1 */
  padding-bottom: 100%;
}

.prompt-result-preview--facebook .prompt-result-preview__viewport {
  padding-bottom: 100%; /* 1:1 */
}

.prompt-result-preview--instagram .prompt-result-preview__viewport {
  padding-bottom: 125%; /* 4:5 */
}

.prompt-result-preview--story .prompt-result-preview__viewport {
  padding-bottom: 177.77%; /* 9:16 */
}

.prompt-result-preview__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--fb-pos-x, 50%) var(--fb-pos-y, 50%);
  transition: object-position 0.2s ease;
}

.no-select {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

/* Drag & Drop fÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼r Bild-Vorschauen */
.prompt-result-preview--adjustable {
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.prompt-result-preview--adjustable .prompt-result-preview__image {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transform: none;
  transition: none;
}
.prompt-result-preview--adjustable.is-dragging {
  cursor: grabbing;
}

/* Drag & Drop fÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼r Story Text Overlays */
.prompt-result-preview__link {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.prompt-result-preview__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  gap: 12px;
  color: #7b6f8f;
  font-size: 0.9rem;
}

/* Inline Actions & Edit Box */
.prompt-result-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.prompt-result-inline-actions--collapsed {
  padding: 12px;
  background: rgba(127, 92, 194, 0.04);
  border-radius: 14px;
}

.prompt-result-edit-box {
  background: #fcfaff;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(127, 92, 194, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prompt-result-edit-box textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(127, 92, 194, 0.15);
  font-size: 0.9rem;
  resize: vertical;
  background: #ffffff;
}

.prompt-result-text-wrap {
  position: relative;
  margin-bottom: 14px;
}

.prompt-result-text {
  width: 100%;
  padding-right: 62px;
  padding-bottom: 62px;
}
@media (max-width: 768px) {
  .prompt-result-text {
    padding-right: 52px;
    padding-bottom: 56px;
  }
}

.prompt-result-copy-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  border: 1px solid rgba(127, 92, 194, 0.16);
  border-radius: 12px;
  color: #6b4eb0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: background 0.18s ease, transform 0.18s ease;
}
@media (max-width: 768px) {
  .prompt-result-copy-btn {
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
}

.prompt-result-copy-btn:hover,
.prompt-result-copy-btn:focus {
  box-shadow: none;
  transform: translateY(-1px);
}

.prompt-result-actions {
  display: grid;
  gap: 12px;
}

.prompt-result-actions__duo {
  display: grid;
  gap: 12px;
}

.prompt-result-actions > .aura-btn,
.prompt-result-actions__duo > .aura-btn,
.postStoryBtn,
.scheduleStoryBtn {
  width: 100%;
  min-height: 46px;
  padding-inline: 18px;
  justify-content: center;
  font-size: 0.95rem;
}

/* Results Content Area */
.prompt-result__content {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* AI Image Modal specific */
.prompt-ai-modal__dialog {
  max-width: 600px;
}

.ai-image-form-content {
  margin: 20px 0;
}

/* Gallery specific */
.gallery-loading, .website-gallery-loading {
  font-size: 0.9rem;
  color: #7b6f8f;
  font-style: italic;
}

/* Prompt Results Grid & Layout */
.prompt-results-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}
@media (min-width: 1400px) {
  .prompt-results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
  .prompt-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .prompt-results-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.prompt-results-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(127, 92, 194, 0.04);
  border-radius: 18px;
  border: 1px solid rgba(127, 92, 194, 0.1);
}

.prompt-results-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: rgba(127, 92, 194, 0.04);
  border-radius: 18px;
  border: 1px solid rgba(127, 92, 194, 0.1);
  justify-content: flex-start;
}

.prompt-results-footer {
  display: grid;
  gap: 12px;
}

.global-schedule-container.prompt-result-schedule {
  display: grid;
  gap: 12px;
  width: 100%;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid rgba(127, 92, 194, 0.12);
  justify-items: start;
}

.global-schedule-container.prompt-result-schedule .globalScheduleDate {
  width: min(320px, 100%);
}

.prompt-page-shell__inner {
  max-width: none;
  width: 100%;
}

.ad-image-selection.prompt-result-inline-actions {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding: 16px;
  background: rgba(127, 92, 194, 0.04);
  border-radius: 18px;
  border: 1px solid rgba(127, 92, 194, 0.1);
  justify-content: flex-start;
}

/* Specific Container Overrides if needed */
.prompt-choice-row,
#werbeaktion-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-submit-area {
  width: 100%;
}

.form-submit-area > .aura-btn {
  width: 100%;
  justify-content: center;
}

.form-submit-area > .aura-btn + .aura-btn {
  margin-top: 12px;
}

@media (max-width: 992px) {
  .prompt-choice-row {
    flex-direction: column;
  }
}
@media (max-width: 992px) {
  .prompt-choice-row {
    width: 100%;
  }
}
@media (max-width: 992px) {
  .prompt-choice-row {
    grid-template-columns: 1fr;
  }
}

/* Modals & Panels */
.prompt-results-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid rgba(127, 92, 194, 0.1);
}

.prompt-results-panel__header h3 {
  margin: 0;
  color: #24153f;
  font-size: 1.25rem;
}

.prompt-results-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  padding: 0 12px 12px;
}

.prompt-gallery-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(127, 92, 194, 0.1);
}
.prompt-gallery-tabs h1 {
  margin: 0;
  color: #24153f;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.1;
}
@media (max-width: 768px) {
  .prompt-gallery-tabs {
    align-items: flex-start;
  }
}

.prompt-gallery-tabs__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.prompt-gallery-tabs .gallery-loading {
  margin-left: auto;
}
@media (max-width: 768px) {
  .prompt-gallery-tabs .gallery-loading {
    width: 100%;
    margin-left: 0;
  }
}

.prompt-gallery-empty {
  color: #7f6b9d;
  padding: 12px;
}

.prompt-results-gallery-grid .gallery-item,
.prompt-results-gallery-grid .website-gallery-item {
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 138px;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
  padding: 0;
  text-align: initial;
  border-radius: 8px;
  border: 0.5px solid rgba(127, 92, 194, 0.08);
  background: #ffffff;
  box-shadow: none;
}

.prompt-results-gallery-grid .gallery-picker-item {
  height: auto;
  min-height: 0;
}

.prompt-results-gallery-grid .gallery-picker-item[data-media-type=video] {
  aspect-ratio: 9/16 !important;
  height: auto !important;
}

.prompt-results-gallery-grid .gallery-picker-item[data-media-type=video] .gallery-picker-item__media {
  aspect-ratio: 9/16 !important;
  height: auto !important;
}

.prompt-results-gallery-grid .gallery-picker-item__media {
  height: auto !important;
}

.prompt-results-gallery-grid.website-gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.global-image-galleries.prompt-results-galleries {
  display: grid;
  gap: 16px;
}

.global-gallery,
.global-website-gallery,
.global-ai-image-box {
  overflow: hidden;
}

.prompt-gallery-tabs h3,
.prompt-results-panel__header h3 {
  margin: 0;
  color: #2d243d;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
}

.global-ai-image-box .globalAiImageForm {
  display: grid;
  gap: 18px;
  padding: 0 24px 24px;
}

.global-ai-image-box .global-ai-image-form-content,
.global-ai-image-box .aura-image-prompt,
.global-ai-image-box .formular-website-bildeinstellungen {
  min-width: 0;
}

.global-ai-image-box .aura-image-prompt fieldset {
  margin: 0 !important;
  padding: 0;
  border: 0;
  min-width: 0;
}

.global-ai-image-box .formular-website-bildeinstellungen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.global-ai-image-box .aura-form-grid-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.global-ai-image-box .aura-form-grid-field:first-of-type,
.global-ai-image-box .aura-image-text-options {
  grid-column: 1/-1;
}

.global-ai-image-box .aura-form-grid-field label {
  margin: 0;
  color: #2f2a3a;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.global-ai-image-box textarea.aura-form-input {
  min-height: 118px;
}

.global-ai-image-box .aura-image-text-options:not([style]),
.global-ai-image-box .aura-image-text-options[style*=block] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid #e9e1f4;
}

.global-ai-image-box .globalAiImageForm > .aura-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .global-ai-image-box .globalAiImageForm {
    padding: 0 16px 16px;
  }
  .global-ai-image-box .formular-website-bildeinstellungen,
  .global-ai-image-box .aura-image-text-options:not([style]),
  .global-ai-image-box .aura-image-text-options[style*=block] {
    grid-template-columns: 1fr;
  }
}
.preview-modal.prompt-media-modal .prompt-media-modal__dialog {
  width: calc(100vw - 40px) !important;
  max-width: calc(100vw - 40px) !important;
  max-height: calc(100vh - 40px) !important;
  overflow-y: auto !important;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 768px) {
  .preview-modal.prompt-media-modal .prompt-media-modal__dialog {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }
}

.prompt-page-shell #form-content,
.prompt-page-shell .formular-gesamt {
  display: grid;
  gap: 16px;
}

body > h1.white {
  display: none;
}

@media (max-width: 768px) {
  .prompt-result__top,
  .prompt-result__media,
  .prompt-result__content,
  .prompt-results-panel__header,
  .prompt-gallery-tabs,
  .prompt-results-toolbar,
  .prompt-results-footer__actions,
  .ad-image-selection.prompt-result-inline-actions {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 768px) {
  .prompt-result__top,
  .prompt-result__media,
  .prompt-result__content {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .prompt-results-toolbar,
  .prompt-results-footer__actions,
  .prompt-result-inline-actions,
  .voice-modal-btns,
  .form-submit-area,
  #werbeaktion-buttons,
  .prompt-choice-row {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .prompt-results-toolbar,
  .prompt-results-footer__actions,
  .voice-modal-btns {
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .prompt-result-inline-actions .aura-btn,
  .prompt-result-actions > .aura-btn,
  .prompt-result-actions__duo > .aura-btn,
  .prompt-results-toolbar > *,
  .prompt-results-footer__actions > *,
  .form-submit-area > *,
  #werbeaktion-buttons > *,
  .prompt-choice-row > * {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 576px) {
  .prompt-result,
  .prompt-result-edit-box,
  .prompt-results-toolbar,
  .prompt-results-footer__actions,
  .ad-image-selection.prompt-result-inline-actions {
    border-radius: 18px;
  }
}

@media (max-width: 576px) {
  .prompt-result__top h3,
  .prompt-results-panel__header h3 {
    font-size: 1.05rem;
  }
}

@media (max-width: 576px) {
  .prompt-gallery-tabs h1 {
    font-size: 1.45rem;
  }
}

@media (max-width: 576px) {
  .prompt-choice-row > .aura-btn,
  #werbeaktion-buttons > .aura-btn,
  .form-submit-area > .aura-btn,
  .prompt-result-inline-actions .aura-btn,
  .prompt-result-actions > .aura-btn,
  .prompt-result-actions__duo > .aura-btn,
  .prompt-results-toolbar > *,
  .prompt-results-footer__actions > * {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

.auto-task-edit-page .page-shell__inner {
  width: 100%;
  max-width: none;
}
.auto-task-edit-page .page-grid {
  grid-template-columns: minmax(0, 1fr);
}
.auto-task-edit-page .page-grid > article.page-stack {
  width: 100%;
  max-width: none;
}

.auto-task-page {
  display: grid;
  gap: 20px;
}
.auto-task-page .error {
  margin: 0;
  color: #d9534f;
}

.auto-task-intro {
  display: grid;
  gap: 10px;
}
.auto-task-intro h2,
.auto-task-intro h3,
.auto-task-intro p {
  margin: 0;
}

.auto-task-shell-card {
  padding: 24px;
}
@media (max-width: 768px) {
  .auto-task-shell-card {
    padding: 8px 4px;
  }
}

.story-mode-active .auto-task-form,
.story-mode-active .auto-task-choice {
  display: none !important;
}
.story-mode-active .auto-task-layout {
  grid-template-columns: 1fr !important;
  max-width: 500px;
  margin: 0 auto;
}

.story-preview-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.story-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 12;
  display: none;
  width: 90%;
  padding: 10px;
  border-radius: 12px;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.2;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  background: rgba(45, 36, 61, 0.72);
  box-shadow: none;
  pointer-events: none;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.storyTextArea--dark {
  width: 100%;
  padding: 8px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #222;
  color: #fff;
}

.formular-autotaks .aura-form-check-input {
  border-color: #ddd6ea;
  box-shadow: none;
}
.formular-autotaks .aura-form-check-input:focus {
  border-color: #a985e7;
  box-shadow: none;
}
.formular-autotaks .aura-form-switch .aura-form-check-input:checked {
  background-color: #7f5cc2;
  border-color: #7f5cc2;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e");
}
.formular-autotaks .aura-form-switch .aura-form-check-input:not(:checked) {
  background-color: #efe3ff;
}

.auto-task-actions .actions {
  margin-top: 20px;
}

/* UI / Systeme */
.aura-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--aura-sidebar-width);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 16px;
  background: var(--aura-sidebar-surface);
  border-right: 1px solid var(--aura-sidebar-border);
  box-shadow: none;
  z-index: 1000;
  transition: width 180ms ease, transform 180ms ease;
  overflow-x: hidden;
  overflow-y: auto;
}
.aura-sidebar__top {
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd6ea;
}
.aura-sidebar__brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #6f4fa8;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.aura-sidebar__brand-logo {
  width: auto;
  height: 32px;
  display: block;
  transition: transform 700ms ease;
}
.aura-sidebar__brand-wordmark {
  width: auto;
  height: 26px;
  display: block;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .aura-sidebar {
    width: var(--aura-sidebar-width);
  }
}
@media (min-width: 1200px) {
  .aura-sidebar {
    box-shadow: none;
  }
}
@media (max-width: 1200px) {
  .aura-sidebar {
    position: fixed;
    inset: 0;
    width: 100%;
    padding: 0;
    background: transparent;
    border-right: none;
    box-shadow: none;
    pointer-events: none;
    overflow: visible;
    z-index: 1000;
  }
}

:root {
  --aura-sidebar-width: 280px;
  --aura-sidebar-collapsed-width: 88px;
  --aura-sidebar-surface: #fbf8ff;
  --aura-sidebar-border: #d8c8f0;
  --aura-sidebar-shadow: none;
  --aura-sidebar-text: #35264d;
  --aura-sidebar-muted: #7d6a9e;
  --aura-sidebar-accent: #8f6bc7;
  --aura-sidebar-accent-soft: #ece2fb;
}

body.aura-sidebar-collapsed {
  padding-left: var(--aura-sidebar-collapsed-width);
}
@media (max-width: 1200px) {
  body.aura-sidebar-collapsed {
    padding-left: 0;
  }
}

.aura-mobile-header {
  display: none;
}
@media (max-width: 1200px) {
  .aura-mobile-header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 88px;
    background: var(--aura-sidebar-surface);
    border-bottom: 10px solid var(--aura-sidebar-border);
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1100;
    box-shadow: none;
  }
}
@media (max-width: 768px) {
  .aura-mobile-header {
    height: 76px;
    padding: 0 12px;
    border-bottom-width: 6px;
    gap: 10px;
  }
}

.aura-sidebar__panel {
  display: contents;
}
@media (max-width: 1200px) {
  .aura-sidebar__panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: min(84vw, 320px);
    background: var(--aura-sidebar-surface);
    transform: translateX(-100%);
    transition: transform 180ms ease;
    pointer-events: auto;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: none;
    border-right: 1px solid var(--aura-sidebar-border);
  }
}
@media (max-width: 768px) {
  .aura-sidebar__panel {
    width: min(100vw - 18px, 320px);
    height: 100dvh;
  }
}

body.aura-sidebar-collapsed .aura-sidebar {
  width: var(--aura-sidebar-collapsed-width);
}

.aura-sidebar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 1200px) {
  .aura-sidebar__top {
    display: flex;
    padding: 22px 16px;
    background: var(--aura-sidebar-surface);
    border-bottom: 1px solid var(--aura-sidebar-border);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
    flex: 0 0 auto;
  }
}
@media (max-width: 768px) {
  .aura-sidebar__top {
    padding: 18px 14px;
  }
}

.aura-sidebar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
  color: #2d243d;
  text-decoration: none;
}

.aura-sidebar__brand:hover .aura-sidebar__brand-logo {
  transform: rotate(360deg);
}

.aura-sidebar__brand-text {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.aura-sidebar__toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: #efe7ff;
  color: #2d243d;
  cursor: pointer;
  font-size: 1.25rem;
}
@media (max-width: 1200px) {
  .aura-sidebar__toggle {
    position: static;
    z-index: auto;
  }
}

.aura-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 1200px) {
  .aura-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0 4rem;
    flex: 1 1 auto;
    overflow: visible;
  }
  .aura-sidebar__nav .aura-sidebar__group {
    margin: 10px 16px;
  }
}
@media (max-width: 768px) {
  .aura-sidebar__nav {
    padding: 12px 0 5rem;
  }
  .aura-sidebar__nav .aura-sidebar__group {
    margin: 8px 12px;
  }
}

.aura-sidebar__group {
  border: 1px solid rgba(216, 200, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  overflow: hidden;
}
@media (max-width: 1200px) {
  .aura-sidebar__group {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(216, 200, 240, 0.9);
  }
}
@media (max-width: 768px) {
  .aura-sidebar__group {
    border-radius: 16px;
  }
}

.aura-sidebar__group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: #2d243d;
  cursor: pointer;
  transition: background 180ms ease;
}

.aura-sidebar__group.is-open .aura-sidebar__group-toggle .aura-sidebar__chevron {
  border-color: #ffffff;
}

.aura-sidebar__group.is-open .aura-sidebar__group-icon {
  background: #403557;
  color: #ffffff;
  transform: scale(1.2);
}

.aura-sidebar__group-heading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.aura-sidebar__group-icon,
.aura-sidebar__link-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #efe7ff;
  color: #6f4fa8;
  flex: 0 0 auto;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.aura-sidebar__group-icon i,
.aura-sidebar__link-icon i {
  font-size: 0.95rem;
  color: inherit !important;
}

.aura-sidebar__group-label,
.aura-sidebar__link-label,
.aura-sidebar__brand-text,
.aura-sidebar__brand-wordmark,
.aura-sidebar__chevron {
  transition: opacity 140ms ease, transform 140ms ease;
}

.aura-sidebar__group-label,
.aura-sidebar__link-label {
  font-size: 1rem;
}
@media (max-width: 768px) {
  .aura-sidebar__group-label,
  .aura-sidebar__link-label {
    font-size: 1rem;
  }
}

.aura-sidebar__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--aura-sidebar-muted);
  border-bottom: 2px solid var(--aura-sidebar-muted);
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin-right: 4px;
}

.aura-sidebar__group.is-open .aura-sidebar__chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}

.aura-sidebar__submenu {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
}
@media (max-width: 1200px) {
  .aura-sidebar__submenu {
    display: grid !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding: 0 10px 10px !important;
  }
}

.aura-sidebar__group:not(.is-open) .aura-sidebar__submenu {
  display: none;
}
@media (max-width: 1200px) {
  .aura-sidebar__group:not(.is-open) .aura-sidebar__submenu {
    display: none !important;
  }
}

.aura-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  color: #2d243d;
  text-decoration: none;
}

.aura-sidebar__link--white {
  background: #ffffff;
}
@media (max-width: 768px) {
  .aura-sidebar__link--white {
    min-height: 64px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin: 8px 12px;
    border-radius: 16px;
    box-sizing: border-box;
  }
}

.aura-sidebar__link:hover,
.aura-sidebar__link.active {
  background: #efe3ff;
  color: #2d243d;
}

body.aura-sidebar-collapsed .aura-sidebar__brand-text,
body.aura-sidebar-collapsed .aura-sidebar__brand-wordmark,
body.aura-sidebar-collapsed .aura-sidebar__group-label,
body.aura-sidebar-collapsed .aura-sidebar__link-label,
body.aura-sidebar-collapsed .aura-sidebar__chevron {
  display: none !important;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
}

body.aura-sidebar-collapsed .aura-sidebar__top {
  flex-direction: column;
}

body.aura-sidebar-collapsed .aura-sidebar__brand {
  justify-content: center;
}

body.aura-sidebar-collapsed .aura-sidebar__group {
  background: transparent;
  border-color: transparent;
}

body.aura-sidebar-collapsed .aura-sidebar__group-toggle {
  padding: 6px;
  justify-content: center;
}

body.aura-sidebar-collapsed .aura-sidebar__submenu {
  display: none;
  padding: 0 6px 10px;
}

body.aura-sidebar-collapsed .aura-sidebar__group.is-open .aura-sidebar__submenu {
  display: grid;
  border-bottom: 1px solid #e9e1f4;
  margin-bottom: 10px;
}

body.aura-sidebar-collapsed .aura-sidebar__link,
body.aura-sidebar-collapsed .aura-sidebar__group-icon {
  justify-content: center;
}

body.aura-sidebar-collapsed .aura-sidebar__link {
  padding: 8px 6px;
}

.blink-gallery .aura-sidebar__link-icon,
.aura-sidebar__link.blink-gallery .aura-sidebar__link-icon {
  animation: blink-green 1s infinite;
}

.aura-sidebar__group.blink-group .aura-sidebar__group-icon {
  animation: blink-green 1s infinite;
}

.aura-sidebar__link.is-worker-running .aura-sidebar__link-icon i {
  display: none;
}

.aura-sidebar__link.is-worker-running .aura-sidebar__link-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background: url("../config/logo/logopic.svg") center/contain no-repeat;
  animation: aura-processing-spin 1.2s linear infinite;
}

.aura-processing-logo {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  animation: aura-processing-spin 1.2s linear infinite;
}

@keyframes blink-green {
  0% {
    background-color: #efe7ff;
    color: #6f4fa8;
  }
  50% {
    background-color: #2fa66a;
    color: #ffffff;
  }
  100% {
    background-color: #efe7ff;
    color: #6f4fa8;
  }
}
@keyframes aura-processing-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1200px) {
  .aura-sidebar__overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 36, 61, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
    pointer-events: auto;
    z-index: 999;
  }
}

@media (max-width: 1200px) {
  body.aura-sidebar-mobile-open {
    overflow: hidden;
  }
  body.aura-sidebar-mobile-open .aura-sidebar__overlay {
    opacity: 1;
    visibility: visible;
  }
  body.aura-sidebar-mobile-open .aura-sidebar__panel {
    transform: translateX(0);
    box-shadow: none;
  }
}

@media (max-width: 1200px) {
  .aura-sidebar__brand-text,
  .aura-sidebar__brand-wordmark,
  .aura-sidebar__group-label,
  .aura-sidebar__link-label,
  .aura-sidebar__chevron {
    display: inline-flex !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }
}

@media (max-width: 768px) {
  .aura-mobile-header .aura-sidebar__brand {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .aura-mobile-header .aura-sidebar__brand-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .aura-mobile-header .aura-sidebar__brand-wordmark {
    height: 22px;
  }
}

@media (max-width: 768px) {
  .aura-sidebar__brand-mark,
  .aura-sidebar__brand-logo,
  .aura-sidebar__toggle {
    height: 38px;
  }
}

@media (max-width: 768px) {
  .aura-sidebar__brand-logo {
    height: 24px;
  }
}

@media (max-width: 768px) {
  .aura-sidebar__brand-mark,
  .aura-sidebar__toggle {
    width: 38px;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  .aura-sidebar__group-toggle,
  .aura-sidebar__link {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Landing footer */
.landing-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f9f5ff;
  color: #333;
  border-top: 1px solid #ddd;
  padding: 10px 16px;
  z-index: 1000;
  text-align: center;
}
.landing-footer-content {
  max-width: 980px;
  margin: 0 auto 0;
  font-size: 14px;
}
.landing-footer-links {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}
.landing-footer-links a {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.85;
  transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}
.landing-footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}
.landing-footer-links a:not(:last-child)::after {
  content: "|";
  margin: 0 12px;
  opacity: 0.5;
}
@media (max-width: 768px) {
  .landing-footer {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  .landing-footer-links {
    gap: 8px 12px;
  }
  .landing-footer-links a:not(:last-child)::after {
    margin: 0 8px;
  }
}

.aura-cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  display: none;
  animation: auraCookieSlideUp 0.35s ease;
}
@media (max-width: 576px) {
  .aura-cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

.aura-cookie-banner.is-visible {
  display: block;
}

.aura-cookie-banner__inner {
  max-width: 980px;
  margin: 0 auto;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: none;
  backdrop-filter: blur(14px);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
@media (max-width: 576px) {
  .aura-cookie-banner__inner {
    padding: 18px;
    border-radius: 18px;
  }
}
@media (max-width: 992px) {
  .aura-cookie-banner__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.aura-cookie-banner__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: none;
  flex-shrink: 0;
}

.aura-cookie-banner__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.aura-cookie-banner__text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.aura-cookie-banner__text a {
  color: #ff7ab8;
  text-decoration: none;
  font-weight: 600;
}

.aura-cookie-banner__text a:hover {
  text-decoration: underline;
}

.aura-cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 576px) {
  .aura-cookie-banner__actions {
    width: 100%;
  }
}
@media (max-width: 992px) {
  .aura-cookie-banner__actions {
    justify-content: flex-start;
  }
}

.aura-cookie-banner__btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}
@media (max-width: 576px) {
  .aura-cookie-banner__btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

.aura-cookie-banner__btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.aura-cookie-banner__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.aura-cookie-banner__btn--primary {
  color: #fff;
  box-shadow: none;
}

.aura-cookie-banner__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

@keyframes auraCookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.aura-pwa-install-hint {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 100000;
  animation: auraCookieSlideUp 0.28s ease;
}

.aura-pwa-install-hint__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 18px;
  background: #17131f;
  color: #fff;
  box-shadow: 0 18px 48px rgba(20, 16, 28, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.aura-pwa-install-hint__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  display: block;
}

.aura-pwa-install-hint__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.aura-pwa-install-hint__text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.4;
}

.aura-pwa-install-hint__actions {
  grid-column: 1/-1;
  display: flex;
  gap: 8px;
}

.aura-pwa-install-hint__btn {
  flex: 1 1 0;
  min-height: 40px;
  border-radius: 999px;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.aura-pwa-install-hint__btn--primary {
  background: #6f4fa8;
  color: #fff;
}

.aura-pwa-install-hint__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.facebook-select-page-modal .aura-modal__dialog {
  max-width: 520px;
}
.facebook-select-page-modal .aura-modal__content {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: none;
  background: #fff;
}
.facebook-select-page-modal.is-open {
  background: rgba(16, 10, 28, 0.68);
  backdrop-filter: blur(8px);
}
.facebook-select-page-modal__hero {
  padding: 20px 22px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.facebook-select-page-modal__hero h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 600;
}
.facebook-select-page-modal__hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}
.facebook-select-page-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  flex-shrink: 0;
}
.facebook-select-page-modal__body {
  padding: 0;
  background: #fff;
  min-height: 34vh;
}
.facebook-select-page-modal__frame {
  display: block;
  width: 100%;
  height: 34vh;
  border: 0;
  background: #fff;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
@media (max-width: 768px) {
  .confirm-modal {
    padding: 14px;
  }
}

.confirm-modal[hidden] {
  display: none;
}

.confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 16, 41, 0.42);
  backdrop-filter: blur(6px);
}

.confirm-modal__dialog {
  position: relative;
  width: min(420px, 100vw - 32px);
  margin: 0;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(205, 191, 232, 0.9);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: none;
  z-index: 1;
}
.confirm-modal__dialog h3 {
  margin: 0 0 8px;
  color: #26183d;
}
.confirm-modal__dialog p {
  margin: 0;
  color: #645676;
  line-height: 1.55;
}

.confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}
@media (max-width: 768px) {
  .confirm-modal__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
@media (max-width: 768px) {
  .preview-modal {
    padding: 14px;
  }
}

.preview-modal[hidden] {
  display: none;
}

.preview-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 14, 39, 0.68);
  backdrop-filter: blur(8px);
}

.preview-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(88vw, 960px);
  max-height: 88vh;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}
@media (max-width: 768px) {
  .preview-modal__dialog {
    width: min(100%, 960px);
    padding: 14px;
    border-radius: 20px;
  }
}

.preview-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(45, 24, 79, 0.88);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.ci-empty {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  background: #f6f1fd;
}
.ci-empty i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e9defb;
  color: #6f52a7;
}
.ci-empty strong,
.ci-empty span {
  display: block;
}
.ci-empty span {
  margin-top: 6px;
  color: #6e6181;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .ci-empty {
    grid-template-columns: 1fr;
  }
}

.ci-block {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #f8f4fe;
  border: 1px solid rgba(208, 192, 235, 0.9);
}

.ci-block__title {
  color: #3a295a;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ci-color-editor {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
@media (max-width: 768px) {
  .ci-color-editor {
    grid-template-columns: 1fr;
  }
}

.ci-color-editor__picker {
  width: 54px;
  height: 44px;
  padding: 4px;
  border: 1px solid #d9caef;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
}

.ci-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ci-swatch {
  display: grid;
  gap: 8px;
}
.ci-swatch small {
  color: #695c7d;
  font-size: 0.78rem;
}

.ci-swatch__color {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(110, 82, 167, 0.18);
  box-shadow: none;
}

.ci-list {
  display: grid;
  gap: 10px;
}

.ci-list__item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: #493868;
  line-height: 1.5;
}

.ci-muted {
  color: #7b6f8f;
  font-size: 0.9rem;
}

/* ===========================
Facebook Ad Preview Styles
=========================== */
.fb-ad-preview {
  max-width: 430px;
  width: 100%;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  display: flex;
  flex: 1;
  min-height: 0;
}
@media (max-width: 576px) {
  .fb-ad-preview {
    max-width: none;
  }
}

.fb-ad-card {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-height: 0;
}

.fb-ad-header {
  display: flex;
  gap: 10px;
  padding: 12px 12px 8px 12px;
  align-items: flex-start;
}
@media (max-width: 576px) {
  .fb-ad-header {
    padding: 10px 10px 8px;
  }
}

.fb-ad-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d94f97;
  flex: 0 0 40px;
}

.fb-ad-headlines {
  flex: 1;
  min-width: 0;
}

.fb-ad-page {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.fb-ad-page > span {
  min-width: 0;
}

.fb-ad-dot {
  color: #999;
  font-weight: 400;
}

.fb-ad-meta {
  font-weight: 500;
  color: #6b6b6b;
  font-size: 12px;
}

.fb-ad-sub {
  margin-top: 2px;
  font-size: 12px;
  color: #6b6b6b;
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.fb-ad-sub > span {
  min-width: 0;
}

.fb-ad-menu {
  color: #6b6b6b;
  font-weight: 600;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 8px;
}

.fb-ad-menu:hover {
  background: #f2f2f2;
  cursor: pointer;
}

.fb-ad-text-wrap {
  padding: 0 12px 10px 12px;
  background: #fff;
}

.fb-ad-text {
  font-size: 14px;
  color: #1c1e21;
  line-height: 1.35;
  white-space: pre-wrap;
}

#fbPrimaryText {
  display: block;
  line-height: 1.4;
  overflow: hidden;
  max-height: none;
}

#fbMoreToggle {
  color: #65676b;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  margin-left: 6px;
  white-space: nowrap;
  display: inline-block !important;
}

#fbMoreToggle:hover {
  text-decoration: underline;
}

.fb-ad-media {
  width: 100%;
  background: #f5f6f7;
}

.fb-ad-media img {
  width: 100%;
  display: block;
  aspect-ratio: 1/1; /* z.B. 1.91 / 1 fÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼r Link-Ad */
  object-fit: cover;
  background: #f5f6f7;
}

.fb-ad-linkblock {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eee;
  padding: 10px 12px 12px 12px;
  background: #fff;
}
@media (max-width: 576px) {
  .fb-ad-linkblock {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
  }
}

.fb-ad-linkblock-zeile {
  flex: 1;
  min-width: 0;
}

.fb-ad-url {
  font-size: 11px;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fb-ad-headline {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #1c1e21;
  line-height: 1.25;
}

.fb-ad-desc {
  margin-top: 4px;
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.25;
}

.fb-ad-cta-row {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 576px) {
  .fb-ad-cta-row {
    margin-top: 0;
    justify-content: flex-start;
  }
}

.fb-ad-cta {
  background: #e4e6eb;
  border: 1px solid #d8dadf;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  color: #050505;
}

.fb-ad-cta:hover {
  background: #d8dadf;
  cursor: pointer;
}

/* Footer actions: bleibt unten in der Card */
.fb-ad-actions {
  display: flex;
  justify-content: space-evenly;
  margin-top: auto; /* klebt unten in der Card */
  padding: 10px 0;
  border-top: 1px solid #eee;
}
@media (max-width: 576px) {
  .fb-ad-actions {
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: center;
    padding: 10px;
  }
}

.fb-ad-action {
  font-size: 13px;
  color: #65676b;
}

@media (max-width: 576px) {
  .fb-ad-page,
  .fb-ad-sub {
    flex-wrap: nowrap;
  }
}

@media (max-width: 576px) {
  .fb-ad-page > span:first-child,
  .fb-ad-sub > span:last-child,
  .fb-ad-url,
  .fb-ad-headline,
  .fb-ad-desc {
    overflow-wrap: anywhere;
  }
}

/* Sonstiges */
.login-overlay-shell {
  position: relative;
  min-height: 100vh;
}

.login-overlay-shell.is-locked {
  overflow: hidden;
}

.login-overlay-shell.is-locked .login-overlay-shell__content {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.index-page {
  padding-top: 34px;
  padding-bottom: 52px;
}
@media (max-width: 768px) {
  .index-page {
    padding-top: 22px;
    padding-bottom: 40px;
  }
}
@media (max-width: 576px) {
  .index-page {
    padding: 16px 10px 28px;
  }
}

.index-page .page-shell__inner {
  gap: 26px;
}
@media (max-width: 576px) {
  .index-page .page-shell__inner {
    gap: 16px;
  }
}

.index-page .page-shell__inner > * {
  min-width: 0;
}

.index-calendar-preview {
  box-sizing: border-box;
  min-width: 0;
}

.index-calendar-preview__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
@media (max-width: 576px) {
  .index-calendar-preview__head {
    align-items: stretch;
    flex-direction: column;
  }
}

.index-calendar-preview__title {
  margin: 12px 0 0;
  color: #2d243d;
  font-size: 1.48rem;
  line-height: 1.2;
  font-weight: 600;
}

.index-calendar-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 768px) {
  .index-calendar-preview__grid {
    grid-template-columns: 1fr;
  }
}

.index-calendar-day {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 250px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(221, 214, 234, 0.76);
  background: rgba(255, 255, 255, 0.92);
}

.index-calendar-day.is-today {
  border-color: rgba(127, 92, 194, 0.42);
}

.index-calendar-day__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 13px;
  border-bottom: 1px solid rgba(221, 214, 234, 0.7);
  color: #2d243d;
}

.index-calendar-day__head span {
  color: #6f4fa8;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.index-calendar-day__head strong {
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.index-calendar-day__posts {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
}

.index-calendar-empty {
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  border-radius: 14px;
  background: #fbf8ff;
  color: #6f6780;
  font-weight: 650;
  line-height: 1.4;
}

.index-calendar-post {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(127, 92, 194, 0.16);
}

.index-calendar-post__top,
.index-calendar-post__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.index-calendar-post__top span,
.index-calendar-post__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.1;
}

.index-calendar-post__title {
  color: #2d243d;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.index-calendar-post__meta span {
  background: rgba(127, 92, 194, 0.12);
  color: #6f6780;
  font-size: 0.72rem;
}

.index-calendar-post__meta .index-calendar-post__icon-badge {
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: #6f4fa8;
  color: #ffffff;
  font-size: 0.82rem;
}

.index-calendar-post__meta .index-calendar-post__icon-badge--plain {
  background: transparent;
  color: inherit;
}

.index-calendar-post__meta .index-calendar-post__format-badge {
  background: #efe7ff;
  color: #6f4fa8;
}

.index-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(127, 92, 194, 0.1);
  color: #6f4fa8;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.index-panel-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.index-panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f9f5ff;
  color: #403557;
}
@media (max-width: 576px) {
  .index-panel-list li {
    padding: 14px;
  }
}

.index-panel-list i {
  color: #7f5cc2;
  margin-top: 2px;
}

.index-progress {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #fbf8ff;
}

.index-progress__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 768px) {
  .index-progress__top {
    align-items: flex-start;
    flex-direction: column;
  }
}

.index-progress__value {
  color: #2d243d;
  font-size: 1.1rem;
  font-weight: 600;
}

.index-progress__bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(127, 92, 194, 0.12);
  overflow: hidden;
}

.index-progress__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.index-activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.index-activity-list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f9f5ff;
}
@media (max-width: 576px) {
  .index-activity-list li {
    padding: 14px;
  }
}

.index-activity-list strong {
  color: #2d243d;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.index-activity-list span {
  color: #403557;
  line-height: 1.45;
  font-weight: 600;
}

.index-activity-list small {
  color: #6f6780;
  font-size: 0.82rem;
}

.index-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 768px) {
  .index-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.index-section-head h2 {
  margin: 0;
  color: #2d243d;
  font-size: 1.35rem;
  font-weight: 600;
}

.index-section-head p {
  margin: 0;
  color: #6f6780;
}

.index-page .aura-card__body > h3 {
  margin: 0 0 8px;
  color: #2d243d;
  font-size: 1.12rem;
  font-weight: 600;
}

.index-page .aura-card__body > p {
  margin: 0 0 16px;
  color: #6f6780;
  line-height: 1.6;
}

.index-todo-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.index-todo-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f9f5ff;
  color: #403557;
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 576px) {
  .index-todo-list a {
    padding: 14px;
  }
}

.index-todo-list i {
  color: #7f5cc2;
}

.index-next-post {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #fbf8ff;
}
@media (max-width: 576px) {
  .index-next-post {
    padding: 14px;
  }
}

.index-next-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.index-next-post__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(127, 92, 194, 0.12);
  color: #6f4fa8;
  font-size: 0.88rem;
  font-weight: 600;
}
@media (max-width: 576px) {
  .index-next-post__pill {
    width: 100%;
    justify-content: flex-start;
  }
}

.index-next-post__text {
  color: #2d243d;
  line-height: 1.6;
}

.index-social-notice,
.index-social-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  margin-top: 16px;
  font-weight: 600;
}

.index-social-notice.is-success {
  background: #def5e9;
  color: #2fa66a;
}

.index-social-notice.is-error,
.index-social-warning {
  background: #fdebea;
  color: #d9534f;
}

.index-social-warnings {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.index-social-panel > .aura-card__body {
  display: grid;
  gap: 16px;
}

@media (min-width: 992px) {
  .index-social-panel--facebook {
    grid-column: 1/-1;
  }
}

.index-social-panel--instagram {
  grid-column: 1/-1;
}

.index-social-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 768px) {
  .index-social-panel__head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.index-social-panel__head > span {
  color: #6f6780;
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.index-social-panel__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.index-social-panel__title i {
  font-size: 1.2rem;
  color: #7f5cc2;
}

.index-social-panel__title h3 {
  margin: 0;
  color: #2d243d;
  font-size: 1.1rem;
  font-weight: 600;
}

.index-social-list {
  display: grid;
  gap: 14px;
}

.index-social-feed {
  display: grid;
  gap: 14px;
  position: relative;
  min-width: 0;
}

.index-social-feed__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 0;
  color: #6f6780;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}
.index-social-feed__hint span {
  overflow-wrap: anywhere;
}
@media (max-width: 768px) {
  .index-social-feed__hint {
    width: 100%;
  }
}

.index-social-feed__viewport {
  position: relative;
  overflow: visible;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.index-social-feed__scroller {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-inline: 58px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}
@media (max-width: 768px) {
  .index-social-feed__scroller {
    scroll-behavior: auto;
    padding-inline: 0;
  }
}

.index-social-feed__scroller::-webkit-scrollbar {
  display: none;
}

.index-social-feed__viewport::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 92px;
  height: calc(100% - 10px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}
@media (max-width: 768px) {
  .index-social-feed__viewport::before {
    display: none;
  }
}

.index-social-list--facebook-stream {
  --facebook-feed-card-width: clamp(188px, 15vw, 216px);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: none;
  min-width: 0;
  width: max-content;
  overflow: visible;
  padding: 2px 4px 10px;
  cursor: grab;
}
@media (min-width: 992px) {
  .index-social-list--facebook-stream {
    --facebook-feed-card-width: clamp(184px, 14vw, 208px);
  }
}
@media (max-width: 576px) {
  .index-social-list--facebook-stream {
    --facebook-feed-card-width: min(68vw, 238px);
    padding-inline: 2px;
    padding-bottom: 12px;
  }
}

.index-social-list--facebook-stream:active {
  cursor: grabbing;
}

.index-social-list--instagram-stream:not(.index-social-list--facebook-stream) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(184px, 1fr));
  gap: 10px;
}

.index-social-feed.is-touch-dragging .index-social-list--facebook-stream {
  cursor: grabbing;
}

.index-social-feed__status {
  min-height: 1.25rem;
  color: #6f6780;
  font-size: 0.82rem;
  line-height: 1.4;
}
.index-social-feed__status.is-loading {
  color: #6f4fa8;
}
.index-social-feed__status.is-error {
  color: #d9534f;
}

.index-social-feed__nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 44px !important;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0;
  flex: 0 0 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: none;
  transform: translateY(-50%);
  transition: transform 0.18s ease, opacity 0.18s ease;
  cursor: pointer;
  font-size: 44px;
  visibility: visible !important;
}
.index-social-feed__nav:hover {
  transform: translateY(-50%);
  box-shadow: none;
}
.index-social-feed__nav:focus {
  transform: translateY(-50%);
}
.index-social-feed__nav:active {
  transform: translateY(-50%);
}
.index-social-feed__nav:disabled {
  opacity: 0.55;
  cursor: default;
  transform: translateY(-50%);
  box-shadow: none;
}
@media (max-width: 768px) {
  .index-social-feed__nav {
    display: none !important;
  }
}

.index-social-feed__nav--prev {
  left: 8px;
}

.index-social-feed__nav--next {
  right: 8px;
  opacity: 1;
  pointer-events: auto;
}

.index-social-feed__edge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  width: 92px;
  height: calc(100% - 16px);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.18s ease;
}
@media (max-width: 768px) {
  .index-social-feed__edge {
    display: none;
  }
}

.index-social-feed:not(.is-at-start) .index-social-feed__viewport::before {
  opacity: 1;
}

.index-social-feed.is-at-end .index-social-feed__edge {
  opacity: 0;
}

.index-social-feed.is-at-start .index-social-feed__nav--prev,
.index-social-feed.is-at-end .index-social-feed__nav--next:disabled {
  opacity: 0.55;
}

.index-social-feed.is-at-start .index-social-feed__nav--prev {
  opacity: 0;
  visibility: hidden !important;
  pointer-events: none;
}

.index-social-list--inactive {
  margin-top: 4px;
}

.index-social-limitation {
  color: #6f6780;
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.index-social-empty {
  padding: 16px 18px;
  border-radius: 18px;
  background: #fbf8ff;
  color: #403557;
  line-height: 1.55;
  font-weight: 600;
}
@media (max-width: 576px) {
  .index-social-empty {
    padding: 14px;
  }
}

.index-social-empty--small {
  font-size: 0.92rem;
}

.index-media-preview-modal[hidden] {
  display: none;
}

.index-media-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.index-media-preview-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 36, 61, 0.72);
  backdrop-filter: blur(10px);
}

.index-media-preview-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 900px);
  display: grid;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
}

.index-media-preview-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.index-media-preview-modal__body {
  display: grid;
  place-items: center;
  min-height: 220px;
  background: #2d243d;
}

.index-media-preview-modal__body img,
.index-media-preview-modal__body video {
  display: block;
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: #2d243d;
}

.index-status-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.index-status-card__label {
  color: #6f6780;
  font-size: 0.92rem;
  font-weight: 600;
}

.index-status-card__state {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d9534f;
  box-shadow: none;
}

.aura-card.is-ready .index-status-card__state {
  background: #2fa66a;
  box-shadow: none;
}

.index-status-card__value {
  color: #2d243d;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
}

.index-status-card__hint {
  color: #6f6780;
  line-height: 1.55;
}

.aura-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(45, 36, 61, 0.62);
  backdrop-filter: blur(10px);
}
@media (max-width: 576px) {
  .aura-login-overlay {
    padding: 14px;
  }
}

.aura-login-overlay__card {
  width: min(560px, 100%);
  padding: 32px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(127, 92, 194, 0.14);
  box-shadow: none;
  text-align: center;
}
@media (max-width: 576px) {
  .aura-login-overlay__card {
    padding: 22px 18px;
  }
}

.aura-login-overlay__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(127, 92, 194, 0.1);
  color: #6f4fa8;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aura-login-overlay__card h1 {
  margin: 18px 0 14px;
  color: #2d243d;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.05;
  font-weight: 600;
}

.aura-login-overlay__card p {
  margin: 0 auto;
  max-width: 420px;
  color: #6f6780;
  line-height: 1.65;
  font-size: 1rem;
}

.aura-login-overlay__actions {
  margin-top: 26px;
}

.aura-login-overlay__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 260px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: none;
}
@media (max-width: 576px) {
  .aura-login-overlay__btn {
    width: 100%;
    min-width: 0;
  }
}

.aura-login-overlay__hint {
  margin-top: 16px;
  color: #6f6780;
  font-size: 0.94rem;
}

#dashboardCreateModal .aura-modal__dialog {
  max-width: 1100px;
  max-height: 85vh;
}

#dashboardCreateModal .aura-modal__content {
  max-height: 85vh;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: none;
}

.dashboard-create-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
@media (max-width: 576px) {
  .dashboard-create-actions {
    grid-template-columns: 1fr;
  }
}

.dashboard-toolbar {
  display: grid;
  gap: 18px;
}

.dashboard-main-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 576px) {
  .dashboard-main-actions {
    flex-direction: column;
  }
}

.dashboard-panel__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
@media (max-width: 576px) {
  .dashboard-panel__header {
    padding: 10px 0 0 10px;
  }
}

.dashboard-panel__header h3,
.dashboard-panel__header h2 {
  margin: 0;
}

.dashboard-panel__header p {
  margin: 8px 0 0;
}

.dashboard-main-actions .aura-btn,
.calendar-header .aura-btn {
  width: auto;
}
@media (max-width: 768px) {
  .dashboard-main-actions .aura-btn,
  .calendar-header .aura-btn {
    width: 100%;
  }
}

h1 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-style: normal;
  margin-bottom: 20px;
  text-align: center;
}

h2 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-style: normal;
}

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

.white {
  color: white !important;
}

a {
  color: #7f5cc2 !important;
  text-decoration: none;
}

#studioPlaceAutocomplete {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#studioPlaceAutocomplete gmp-place-autocomplete,
#studioPlaceAutocomplete #studioPlaceElement {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 1200px) {
  #studioPlaceAutocomplete,
  #studioPlaceAutocomplete gmp-place-autocomplete,
  #studioPlaceAutocomplete #studioPlaceElement {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 576px) {
  form[name=studioinfos] .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 576px) {
  form[name=studioinfos] .checkbox-grid .check-card {
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    gap: 8px;
    border-radius: 12px;
    font-size: calc(0.84rem + 5px);
    line-height: 1.1;
  }
}

@media (max-width: 576px) {
  form[name=studioinfos] .checkbox-grid .check-card span {
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

form[name=studioinfos] .studio-collapse {
  gap: 0;
}

form[name=studioinfos] .studio-collapse__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

form[name=studioinfos] .studio-collapse__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(127, 92, 194, 0.22);
  border-radius: 14px;
  background: #ffffff;
  color: #2d243d;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

form[name=studioinfos] .studio-collapse__static-title {
  display: flex;
  align-items: center;
  min-height: 42px;
  color: #2d243d;
  font-weight: 700;
}

form[name=studioinfos] .studio-collapse__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #6f6780;
  border-bottom: 2px solid #6f6780;
  transform: rotate(45deg);
  transition: transform 140ms ease;
  flex: 0 0 auto;
}

form[name=studioinfos] .studio-collapse.is-open .studio-collapse__chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}

form[name=studioinfos] .studio-collapse__body {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

form[name=studioinfos] .studio-collapse__body[hidden] {
  display: none;
}

form[name=studioinfos] .studio-collapse__body > .field > label:first-child,
form[name=studioinfos] #studio-collapse-tone > label:first-child {
  display: none;
}

.serienplanung-page .page-shell__inner {
  max-width: none;
  width: 100%;
}

.serienplanung-page .page-grid {
  grid-template-columns: minmax(0, 1fr);
}

.serienplanung-page .page-stack,
.serienplanung-page article.page-stack {
  max-width: none;
  width: 100%;
}

.serienplanung-page .page-stack {
  gap: 0.85rem;
}

.serienplanung-page .series-create-grid {
  grid-template-columns: 150px minmax(0, 1.65fr) auto;
  align-items: end;
}
@media (max-width: 768px) {
  .serienplanung-page .series-create-grid {
    grid-template-columns: 1fr;
  }
}

.serienplanung-page .series-create-actions {
  display: flex !important;
  justify-content: stretch;
  width: 100%;
  min-width: 0;
  align-items: stretch !important;
}

.serienplanung-page .series-create-actions .aura-btn {
  display: flex !important;
  flex: 1 1 auto;
  min-width: 0;
  width: 100% !important;
}

.serienplanung-page .series-results-stack {
  display: grid;
  gap: 0.85rem;
}

.serienplanung-page .series-table .aura-td--full,
.serienplanung-page #saved-aktion-detail .aura-td--full {
  text-align: left;
}
@media (max-width: 768px) {
  .serienplanung-page .series-table .aura-td--full,
  .serienplanung-page #saved-aktion-detail .aura-td--full {
    display: grid;
    gap: 8px;
  }
}

.serienplanung-page .series-table .aura-td--full .aura-btn,
.serienplanung-page #saved-aktion-detail .aura-td--full .aura-btn {
  width: auto;
  min-height: 38px;
  padding: 6px 12px;
  margin-right: 8px;
  border-radius: 999px;
  border-width: 1px;
  white-space: normal;
}
@media (max-width: 768px) {
  .serienplanung-page .series-table .aura-td--full .aura-btn,
  .serienplanung-page #saved-aktion-detail .aura-td--full .aura-btn {
    width: 100%;
    margin-right: 0;
  }
}

.serienplanung-page .series-table .aura-td--full .aura-btn:last-child,
.serienplanung-page #saved-aktion-detail .aura-td--full .aura-btn:last-child {
  margin-right: 0;
}

.serienplanung-page .series-table .edit-aktion-btn,
.serienplanung-page .series-table .save-series-btn,
.serienplanung-page .series-table .save-aktion-btn,
.serienplanung-page #saved-aktion-detail .edit-aktion-btn,
.serienplanung-page #saved-aktion-detail .save-series-btn,
.serienplanung-page #saved-aktion-detail .save-aktion-btn {
  background: #6f4fa8 !important;
  color: #ffffff !important;
  border-color: rgba(111, 79, 168, 0.28) !important;
  box-shadow: none !important;
}

.serienplanung-page .series-table .edit-aktion-btn:hover,
.serienplanung-page .series-table .edit-aktion-btn:focus,
.serienplanung-page .series-table .save-series-btn:hover,
.serienplanung-page .series-table .save-series-btn:focus,
.serienplanung-page .series-table .save-aktion-btn:hover,
.serienplanung-page .series-table .save-aktion-btn:focus,
.serienplanung-page #saved-aktion-detail .edit-aktion-btn:hover,
.serienplanung-page #saved-aktion-detail .edit-aktion-btn:focus,
.serienplanung-page #saved-aktion-detail .save-series-btn:hover,
.serienplanung-page #saved-aktion-detail .save-series-btn:focus,
.serienplanung-page #saved-aktion-detail .save-aktion-btn:hover,
.serienplanung-page #saved-aktion-detail .save-aktion-btn:focus {
  background: #efe7ff !important;
  color: #6f4fa8 !important;
  border-color: rgba(111, 79, 168, 0.18) !important;
}

.serienplanung-actions-cell {
  vertical-align: middle !important;
  text-align: center;
  white-space: nowrap;
  width: 56px;
}

@media (max-width: 768px) {
  .serienplanung-page .aura-tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .serienplanung-page .aura-tr > .aura-td:first-child {
    grid-column: 1/-1;
  }
}

@media (max-width: 768px) {
  .serienplanung-page .serienplanung-actions-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: auto;
    min-width: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(221, 214, 234, 0.55);
  }
}

@media (max-width: 768px) {
  .serienplanung-page .serienplanung-actions-cell::before {
    margin-bottom: 2px;
  }
}

@media (max-width: 768px) {
  .serienplanung-page .serienplanung-actions-cell + .serienplanung-actions-cell {
    border-left: 0;
  }
}

@media (max-width: 768px) {
  .serienplanung-page .serienplanung-actions-cell > .aura-btn {
    height: auto;
    min-height: 40px;
    align-self: center;
    flex: 0 0 auto;
    margin: 0;
  }
}

.campaign-preview-modal[hidden] {
  display: none !important;
}

.campaign-preview-modal {
  display: block;
  width: 100%;
  margin-top: 16px;
  min-width: 0;
}
@media (max-width: 768px) {
  .campaign-preview-modal {
    margin-top: 12px;
  }
}

.campaign-preview-modal__backdrop {
  display: none;
}

.campaign-preview-modal__dialog {
  position: relative;
  width: 100%;
  min-width: 0;
  max-height: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eceff4;
  box-shadow: none;
}
@media (max-width: 768px) {
  .campaign-preview-modal__dialog {
    border-radius: 12px;
  }
}

.campaign-preview-modal__header,
.campaign-preview-modal__footer {
  padding: 14px 18px;
  border-bottom: 1px solid #eceff4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
@media (max-width: 768px) {
  .campaign-preview-modal__header,
  .campaign-preview-modal__footer {
    padding: 12px;
  }
}

.campaign-preview-modal__header h3 {
  margin: 0;
  min-width: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.campaign-preview-modal__footer {
  border-top: 1px solid #eceff4;
  border-bottom: 0;
  flex-wrap: wrap;
}

.campaign-preview-modal__meta {
  padding: 10px 18px;
  display: flex;
  gap: 20px;
  color: #344054;
  border-bottom: 1px solid #eceff4;
}
@media (max-width: 768px) {
  .campaign-preview-modal__meta {
    gap: 6px;
    padding: 10px 12px;
  }
}

.campaign-preview-modal__table-wrap {
  padding: 0 18px 12px;
  overflow: auto;
  max-height: min(68vh, 720px);
  min-width: 0;
  scroll-padding-bottom: 16px;
}
@media (max-width: 768px) {
  .campaign-preview-modal__table-wrap {
    max-height: none;
    overflow: visible;
    padding: 0;
  }
}

.campaign-preview-days {
  display: grid;
  gap: 10px;
  padding-top: 12px;
}
@media (max-width: 768px) {
  .campaign-preview-days {
    padding-top: 0;
  }
}

.campaign-preview-day {
  border: 1px solid #eceff4;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.campaign-preview-day__toggle {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 0;
  background: #f8fafc;
  color: #1c2637;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
@media (max-width: 768px) {
  .campaign-preview-day__toggle {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 11px 12px;
  }
}

.campaign-preview-day__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .campaign-preview-day__title {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.campaign-preview-day__date {
  color: #667085;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .campaign-preview-day__date {
    grid-column: 1/-1;
  }
}

.campaign-preview-day__icon {
  color: #667085;
  transition: transform 0.16s ease;
}

.campaign-preview-day__toggle[aria-expanded=true] .campaign-preview-day__icon {
  transform: rotate(180deg);
}

.campaign-preview-day__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 0;
}

.campaign-preview-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  height: 100%;
  padding: 12px 14px;
  border-top: 1px solid #eceff4;
}
@media (max-width: 768px) {
  .campaign-preview-slot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    padding: 11px 12px;
  }
}

.campaign-preview-slot:nth-child(odd) {
  border-right: 1px solid #eceff4;
}

.campaign-preview-slot--placeholder {
  pointer-events: none;
}

.campaign-preview-slot__main {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
@media (max-width: 768px) {
  .campaign-preview-slot__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
}

.campaign-preview-slot__time {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .campaign-preview-slot__time {
    align-self: center;
  }
}

.campaign-preview-slot__content {
  color: #1c2637;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .campaign-preview-slot__content {
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.campaign-preview-slot__meta {
  color: #667085;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 7px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .campaign-preview-slot__meta {
    margin-top: 0;
    flex-wrap: wrap;
    white-space: normal;
  }
}

.campaign-preview-slot__channels {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.campaign-preview-slot__channel-icon {
  font-size: 1rem;
  line-height: 1;
}

.campaign-preview-slot__channel-icon--facebook {
  color: #1877f2;
}

.campaign-preview-slot__channel-icon--instagram {
  color: #e4405f;
}

.campaign-preview-slot__format {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  white-space: nowrap;
}

.campaign-preview-slot__format::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 7px;
  border-radius: 999px;
  background: #c7ced8;
}

.campaign-preview-modal__actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
@media (max-width: 768px) {
  .campaign-preview-modal__actions {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
  }
}

.campaign-preview-slot .aura-btn {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .campaign-preview-slot .aura-btn {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: end;
  }
}

.form-submit-area.has-inline-preview > .aura-btn {
  display: none !important;
}

@media (max-width: 768px) {
  .campaign-preview-modal__header,
  .campaign-preview-modal__footer,
  .campaign-preview-modal__meta {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .campaign-preview-modal__actions .aura-btn {
    width: 100%;
  }
}

.reel-source-modal[hidden] {
  display: none !important;
}

.reel-source-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.reel-source-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.62);
}

.reel-source-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  box-shadow: none;
}

.reel-source-modal__header,
.reel-source-modal__footer {
  padding: 14px 18px;
  border-bottom: 1px solid #eceff4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reel-source-modal__footer {
  border-top: 1px solid #eceff4;
  border-bottom: 0;
}

.reel-source-modal__header h3 {
  order: 1;
}

.reel-source-modal__close-icon {
  order: 2;
  flex: 0 0 auto;
}

.reel-source-modal__body {
  padding: 14px 18px;
  overflow: auto;
}

.reel-source-panel[hidden] {
  display: none !important;
}

.reel-source-panel__row {
  margin-bottom: 12px;
}

.reel-source-panel__row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.reel-source-panel__row select {
  width: 100%;
  min-height: 40px;
}

.reel-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}
@media (max-width: 768px) {
  .reel-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.reel-avatar-card {
  position: relative;
  border: 5px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.14s ease, transform 0.14s ease;
}

.reel-avatar-card:hover {
  border-color: #7f5cc2;
  box-shadow: none;
  transform: translateY(-1px);
}

.reel-avatar-card.is-selected {
  border-color: #7f5cc2;
  box-shadow: none;
}

.reel-avatar__img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #f4f6fb;
}

.reel-avatar__meta {
  position: absolute;
  inset: auto 0 0;
  padding: 8px;
  background: rgba(239, 231, 255, 0.92);
  backdrop-filter: blur(4px);
}

.reel-avatar__title {
  font-size: 13px;
  font-weight: 600;
  color: #2d243d;
  line-height: 1.25;
  word-break: break-word;
}

.reel-avatar__hint {
  margin-top: 4px;
  font-size: 12px;
  color: #6f6780;
}

.reel-avatar-card__empty {
  padding: 14px;
  border: 1px dashed #d8dee8;
  border-radius: 10px;
  color: #67758a;
  font-size: 13px;
}

.reel-avatar-panel-headline {
  margin: 8px 0;
  font-size: 13px;
  color: #344054;
  font-weight: 600;
}

.reel-scene-auto-btn {
  width: 100%;
  justify-content: center;
}

.reel-scene-auto-btn.is-active {
  outline: 0;
  background: #6f4fa8;
  color: #ffffff;
  border-color: #efe3ff;
}

.werbeaktion-page .page-shell__inner {
  max-width: none;
  width: 100%;
  min-width: 0;
}

.werbeaktion-page .page-grid {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.werbeaktion-page .page-stack,
.werbeaktion-page article.page-stack {
  max-width: none;
  width: 100%;
  min-width: 0;
}

.werbeaktion-page .aura-table-wrap,
.werbeaktion-page .aura-table,
.werbeaktion-page .aktion-detail-grid {
  max-width: 100%;
  min-width: 0;
}

.werbeaktion-page .aura-td,
.werbeaktion-page .aktion-detail-label,
.werbeaktion-page .aktion-detail-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.werbeaktion-page .aktion-table .aura-td[data-label=Feld],
.werbeaktion-page .aktion-detail-label {
  font-weight: 700;
  color: #2d243d;
}
@media (max-width: 768px) {
  .werbeaktion-page .aktion-table .aura-td[data-label=Feld],
  .werbeaktion-page .aktion-detail-label {
    text-align: left;
  }
}

.werbeaktion-page .aktion-detail-grid {
  display: grid;
  gap: 10px;
}

.werbeaktion-page .aktion-detail-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(221, 214, 234, 0.75);
  border-radius: 14px;
  background: #ffffff;
}

.werbeaktion-page .aktion-detail-label,
.werbeaktion-page .aktion-detail-value {
  padding: 12px 14px;
}

.werbeaktion-page .aktion-detail-label {
  background: rgba(239, 231, 255, 0.55);
  border-right: 1px solid rgba(221, 214, 234, 0.75);
}

.werbeaktion-page .aktion-detail-value {
  background: rgba(255, 255, 255, 0.94);
}

.werbeaktion-page .aktion-detail-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 10px;
}

@media (max-width: 768px) {
  .werbeaktion-page .aktion-detail-grid {
    gap: 0;
  }
  .werbeaktion-page .aktion-detail-row {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 0;
  }
  .werbeaktion-page .aktion-detail-label {
    border-right: 0;
    border-bottom: 1px solid rgba(221, 214, 234, 0.75);
    padding: 0 0 8px;
    text-align: center;
  }
  .werbeaktion-page .aktion-detail-value {
    padding: 0 0 12px;
    line-height: 1.55;
  }
  .werbeaktion-page .aktion-detail-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 0;
  }
  .werbeaktion-page .aktion-detail-actions > .aura-btn {
    width: 100%;
    justify-content: center;
  }
  .werbeaktion-page .aura-card__body > h3 {
    text-align: center;
  }
}
.werbeaktion-actions-cell {
  vertical-align: middle !important;
  text-align: center;
  white-space: nowrap;
  width: 56px;
}

@media (max-width: 768px) {
  .werbeaktion-page .aura-tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .werbeaktion-page .aura-tr > .aura-td:first-child {
    grid-column: 1/-1;
  }
}

@media (max-width: 768px) {
  .werbeaktion-page .werbeaktion-actions-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: auto;
    min-width: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(221, 214, 234, 0.55);
  }
}

@media (max-width: 768px) {
  .werbeaktion-page .werbeaktion-actions-cell::before {
    margin-bottom: 2px;
  }
}

@media (max-width: 768px) {
  .werbeaktion-page .werbeaktion-actions-cell + .werbeaktion-actions-cell {
    border-left: 0;
  }
}

@media (max-width: 768px) {
  .werbeaktion-page .werbeaktion-actions-cell > .aura-btn {
    height: auto;
    min-height: 40px;
    align-self: center;
    flex: 0 0 auto;
    margin: 0;
  }
}

.messenger-page .page-shell__inner,
.whatsapp-page .page-shell__inner {
  max-width: none;
  width: 100%;
}

.messenger-page .page-stack,
.messenger-page article.page-stack,
.whatsapp-page .page-stack,
.whatsapp-page article.page-stack {
  max-width: none;
  width: 100%;
}

.messenger-page .page-stack,
.whatsapp-page .page-stack {
  gap: 0.85rem;
}

.messenger-page__header,
.whatsapp-page__header {
  display: grid;
  gap: 0.85rem;
}

.whatsapp-page .aura-card__body > h3,
.messenger-page .aura-card__body > h2,
.messenger-page .aura-card__body > h3 {
  margin: 0 0 10px;
}

.whatsapp-page .whatsapp-status-box {
  display: block;
  margin-bottom: 12px;
}

.whatsapp-page .whatsapp-status-box--hidden {
  display: none;
}

.whatsapp-page .whatsapp-status-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.whatsapp-page .whatsapp-config-message {
  color: #475569;
}

.whatsapp-page .whatsapp-config-message--error {
  color: #b01f3a;
}

.whatsapp-page .whatsapp-note-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.whatsapp-page .whatsapp-note-actions {
  display: flex;
  justify-content: flex-end;
}

.whatsapp-page .whatsapp-table-action {
  margin: 0;
}

.messenger-page .messenger-default-actions {
  display: grid;
  gap: 10px;
}

.messenger-page .messenger-rule-grid {
  grid-template-columns: 1.1fr 160px 120px auto;
  align-items: end;
}

.messenger-page .messenger-rule-update-grid {
  grid-template-columns: 90px 160px 1fr 2fr auto;
  align-items: end;
  gap: 8px;
}
@media (max-width: 992px) {
  .messenger-page .messenger-rule-update-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.messenger-page .messenger-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .messenger-page .messenger-form-actions {
    justify-content: stretch;
  }
}

.messenger-page .messenger-form-actions--compact {
  margin-top: 8px;
}

.messenger-page .aura-table-wrap,
.messenger-page .aura-table,
.messenger-page .aura-td form,
.messenger-page .aura-td .field-grid,
.whatsapp-page .aura-table-wrap,
.whatsapp-page .aura-table,
.whatsapp-page .aura-td form,
.whatsapp-page .aura-td .field-grid {
  width: 100%;
}

.messenger-page .aura-td,
.whatsapp-page .aura-td {
  min-width: 0;
}

.messenger-page .aura-td[data-label=Nachricht] {
  overflow-wrap: anywhere;
}

.messenger-page .aura-td .check-card,
.messenger-page .aura-td .aura-form-check-card {
  width: 100%;
}

@media (max-width: 768px) {
  .messenger-page .messenger-rule-grid,
  .messenger-page .messenger-rule-update-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .messenger-page .messenger-form-actions > .aura-btn,
  .whatsapp-page .whatsapp-status-actions > .aura-btn,
  .whatsapp-page .whatsapp-note-actions > .aura-btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .messenger-page .aura-table td[data-label=Regel] {
    grid-column: 1/-1;
  }
}

@media (max-width: 768px) {
  .messenger-page .aura-table td[data-label=Aktiv],
  .messenger-page .aura-table td[data-label=Aktion],
  .whatsapp-page .aura-table td[data-label=Aktiv],
  .whatsapp-page .aura-table td[data-label=Aktion] {
    min-width: 0 !important;
  }
}

@media (max-width: 768px) {
  .messenger-page .aura-table td[data-label=Aktion] .aura-btn,
  .messenger-page .aura-table td[data-label=Aktiv] .aura-btn,
  .whatsapp-page .aura-table td[data-label=Aktion] .aura-btn,
  .whatsapp-page .aura-table td[data-label=Aktiv] .aura-btn {
    width: 100%;
  }
}