/* aura-scss-build:c17eba1dd62ab9cb93e55205ffa70759879a7528 */
@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: var(--aura-font-family-base);
  font-weight: var(--aura-font-weight-regular);
  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: var(--aura-mobile-header-height);
  }
}
@media (max-width: 768px) {
  body {
    padding-top: var(--aura-mobile-header-height);
  }
}

.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: grid;
  grid-template-columns: repeat(3, minmax(150px, 220px));
  justify-content: start;
  align-items: stretch;
  gap: 14px;
  border-bottom: 0;
}
@media (max-width: 768px) {
  .angebote-tabs__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    max-width: 360px;
    margin: 0 auto;
    gap: 10px;
  }
}
@media (max-width: 576px) {
  .angebote-tabs__nav {
    gap: 6px;
  }
}

.angebote-tabs__tab {
  min-width: 0;
  min-height: 92px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 14px;
  border: 1px solid rgba(127, 92, 194, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: #7f5cc2;
  font: inherit;
  font-weight: var(--aura-font-weight-medium);
  text-align: center;
  cursor: pointer;
  overflow-wrap: anywhere;
  box-shadow: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
@media (max-width: 768px) {
  .angebote-tabs__tab {
    width: 100%;
    min-height: 82px;
    gap: 7px;
    padding: 12px 7px;
    box-shadow: none;
    font-size: 0.72rem;
    line-height: 1.15;
  }
}
@media (max-width: 576px) {
  .angebote-tabs__tab {
    min-height: 60px;
    gap: 4px;
    padding: 8px 4px;
    font-size: 0.62rem;
    line-height: 1.1;
  }
}

.angebote-tabs__tab i {
  display: inline-flex;
  font-size: 1.35rem;
  line-height: 1;
}
@media (max-width: 768px) {
  .angebote-tabs__tab i {
    font-size: 1.18rem;
  }
}
@media (max-width: 576px) {
  .angebote-tabs__tab i {
    font-size: 0.95rem;
  }
}

.angebote-tabs__tab span {
  min-width: 0;
}

.angebote-page .check-card > span,
.angebote-tabs__tab span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.angebote-tabs__tab span {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.angebote-page .aura-card__body {
  position: relative;
}

.angebote-tabs__actions {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  justify-content: flex-end;
}
@media (min-width: 768px) {
  .angebote-tabs__actions {
    width: 25%;
    min-width: 220px;
  }
}

.angebote-page #businessProfileGenerateBtn {
  min-height: 42px;
  padding-inline: 14px;
}
@media (min-width: 768px) {
  .angebote-page #businessProfileGenerateBtn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .angebote-tabs__actions {
    position: static;
    justify-content: stretch;
  }
  .angebote-page #businessProfileGenerateBtn {
    width: 100%;
    justify-content: center;
  }
}
.aktionen-page .page-shell__inner {
  max-width: none;
}

.aktionen-page .aura-card__body {
  padding-inline: 16px;
}

.aktionen-page form[name=studioinfos] > .aura-form-section {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.aktionen-page .offer-modules {
  padding: 0;
  border: 0;
  background: transparent;
}

.aktionen-page .aktionen-page__actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.aktionen-page .aktionen-page__actions .aura-btn {
  gap: 8px;
}

.aktionen-page .offer-modules__title-row,
.aktionen-page .offer-modules__list,
.aktionen-page .offer-module-create-panel,
.aktionen-page .offer-modules__empty {
  padding-inline: 0;
}

.aktionen-page .aktionen-saved-card {
  margin-top: 16px;
}

.aktionen-page .aktionen-saved-card .aura-card__body {
  display: grid;
  gap: 12px;
}

.aktionen-page .aktionen-builder {
  display: grid;
  gap: 16px;
}

.aktionen-page .aktionen-builder__step {
  display: grid;
  gap: 10px;
}

.aktionen-page .aktionen-builder__step-title {
  font-weight: var(--aura-font-weight-medium);
  color: #2f2a3a;
}

.aktionen-page .aktionen-builder__type-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.aktionen-page .aktionen-builder__type-card {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-height: 76px;
  padding: 10px 8px;
  border: 1px solid rgba(127, 92, 194, 0.18);
  border-radius: 10px;
  background: #ffffff;
  color: #2f2a3a;
  font: inherit;
  font-weight: var(--aura-font-weight-medium);
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease, color 160ms ease;
}

.aktionen-page .aktionen-builder__type-card i {
  font-size: 1.1rem;
  color: #7f5cc2;
}

.aktionen-page .aktionen-builder__type-card:hover,
.aktionen-page .aktionen-builder__type-card:focus-visible,
.aktionen-page .aktionen-builder__type-card.is-active {
  border-color: #7f5cc2;
  background: rgba(127, 92, 194, 0.08);
  box-shadow: none;
  transform: translateY(-2px);
}

.aktionen-page .aktionen-builder__technical-select {
  display: none;
}

.aktionen-page .aktionen-builder__choice-group {
  display: grid;
  gap: 8px;
  grid-column: 1/-1;
}

.aktionen-page .aktionen-builder__choice-title {
  font-weight: var(--aura-font-weight-medium);
  color: #2f2a3a;
}

.aktionen-page .aktionen-builder__custom-wrap {
  grid-column: 1/-1;
}

.aktionen-page .offer-module-builder__row {
  grid-template-columns: minmax(150px, 1.1fr) minmax(150px, 1.1fr) 92px minmax(130px, 0.9fr) minmax(130px, 0.9fr) minmax(130px, 0.9fr) minmax(110px, 0.8fr) auto;
}

.aktionen-page .aktionen-builder__details {
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(127, 92, 194, 0.16);
  border-radius: 10px;
  background: rgba(127, 92, 194, 0.04);
}

.aktionen-page .aktionen-builder__preview {
  display: grid;
  gap: 4px;
  grid-column: 1/-1;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(127, 92, 194, 0.18);
  border-radius: 8px;
  background: #ffffff;
}

.aktionen-page .aktionen-builder__preview span {
  font-size: 0.75rem;
  color: #6f6780;
}

.aktionen-page .aktionen-builder__preview strong {
  font-size: 0.9rem;
  color: #2f2a3a;
}

.aktionen-page #createModuleBtn {
  grid-column: 1/-1;
  min-height: 42px;
  padding-inline: 14px;
}

@media (max-width: 1200px) {
  .aktionen-page .aktionen-builder__type-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .aktionen-page .offer-module-builder__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .aktionen-page .aktionen-builder__type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aktionen-page .offer-module-card__actions .aura-btn--icon {
    width: 38px;
    min-width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}
@media (max-width: 576px) {
  .aktionen-page .aktionen-builder__type-grid,
  .aktionen-page .offer-module-builder__row {
    grid-template-columns: 1fr;
  }
}
.angebote-tabs__tab:hover,
.angebote-tabs__tab:focus-visible {
  border-color: rgba(127, 92, 194, 0.35);
  color: #6f4fa8;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .angebote-tabs__tab:hover,
  .angebote-tabs__tab:focus-visible {
    transform: none;
  }
}

.angebote-tabs__tab.is-complete {
  border-color: rgba(47, 166, 106, 0.34);
  background: #eaf6f0;
  color: #164f32;
  box-shadow: none;
}

.angebote-tabs__tab.is-complete i {
  color: #2fa66a;
}

.angebote-tabs__tab.is-active {
  border-color: #7f5cc2;
  background: #7f5cc2;
  color: #ffffff;
  box-shadow: none;
  transform: translateY(-4px);
}
@media (max-width: 768px) {
  .angebote-tabs__tab.is-active {
    box-shadow: none;
  }
}

.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, 1fr);
  align-items: start;
  gap: 10px;
}

.firmendaten-page .firmendaten-layout > .aura-card,
.firmendaten-page form[name=studioinfos],
.firmendaten-page form[name=studioinfos] > .aura-form-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.settings-completion-card {
  position: relative;
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.settings-completion-card.is-complete {
  border-color: rgba(47, 166, 106, 0.34);
  background: #eaf6f0;
  box-shadow: none;
}

.settings-completion-card.is-rewarding::after,
.settings-completion.is-rewarding::after,
.angebote-tabs__panel.is-rewarding::after,
.zielgruppe-base-complete-area.is-rewarding::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-conic-gradient(from 18deg at 18% 28%, transparent 0deg 14deg, rgba(47, 166, 106, 0.95) 15deg 18deg, transparent 19deg 32deg), repeating-conic-gradient(from 8deg at 72% 24%, transparent 0deg 12deg, rgba(127, 92, 194, 0.9) 13deg 16deg, transparent 17deg 30deg), repeating-conic-gradient(from 24deg at 44% 66%, transparent 0deg 13deg, rgba(255, 190, 70, 0.95) 14deg 17deg, transparent 18deg 31deg), repeating-conic-gradient(from 2deg at 84% 72%, transparent 0deg 12deg, rgba(47, 166, 106, 0.85) 13deg 16deg, transparent 17deg 30deg), radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px), radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px), radial-gradient(circle at 44% 66%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px), radial-gradient(circle at 84% 72%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px);
  background-size: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  background-repeat: no-repeat;
  animation: weekly-tip-firework 2.5s ease-out both;
}

.settings-completion {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(47, 166, 106, 0.28);
  border-radius: 12px;
  background: #ffffff;
  color: #164f32;
  overflow: hidden;
}
@media (min-width: 768px) {
  .settings-completion {
    grid-template-columns: auto minmax(0, 1fr) minmax(220px, 25%);
  }
}
@media (max-width: 768px) {
  .settings-completion {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

.angebote-tabs__tab.is-active.is-complete {
  border-color: rgba(47, 166, 106, 0.5);
  background: #e2f3ea;
  color: #14472d;
}

.settings-completion[hidden] {
  display: none;
}

.settings-completion__reward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(47, 166, 106, 0.14);
  color: #2fa66a;
}

.settings-completion__content {
  display: grid;
  gap: 3px;
}

.settings-completion__content strong {
  color: #14472d;
}

.settings-completion__content span {
  color: #1b5e3c;
  font-size: 0.92rem;
}

.settings-completion__button {
  gap: 8px;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .settings-completion__button {
    width: 100% !important;
    min-width: 0;
    flex-basis: 100% !important;
    justify-content: center;
    white-space: normal;
  }
}
@media (max-width: 768px) {
  .settings-completion__button {
    width: 100%;
    justify-content: center;
  }
}

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

.firmendaten-page .field__action-row:has(#studioWebsite) {
  grid-template-columns: minmax(0, 3fr) minmax(150px, 1fr);
}
@media (max-width: 768px) {
  .firmendaten-page .field__action-row:has(#studioWebsite) {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

.firmendaten-page .business-branch-lock {
  position: relative;
  display: block;
}

.firmendaten-page .business-branch-input {
  color: #7f5cc2;
}

.firmendaten-page .business-branch-input::placeholder {
  color: rgba(127, 92, 194, 0.68);
}

.firmendaten-page .business-branch-input[readonly] {
  background: #efe7ff;
  color: #7f5cc2;
  border: 2px solid #7f5cc2;
  font-weight: var(--aura-font-weight-strong);
  cursor: default;
  padding-right: 48px;
}

.firmendaten-page .business-branch-input[readonly]:focus {
  background: #efe7ff;
  color: #7f5cc2;
  border-color: #7f5cc2;
}

.firmendaten-page .business-branch-edit {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: #ffffff;
  color: #6f4fa8;
  border-color: #7f5cc2;
  z-index: 1;
}

.firmendaten-page .business-branch-edit:hover,
.firmendaten-page .business-branch-edit:focus {
  background: #ffffff;
  color: #6f4fa8;
  border-color: #6f4fa8;
}

.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: 1200px) {
  .page-shell {
    min-height: calc(100vh - var(--aura-mobile-header-height, 60px));
  }
}
@media (max-width: 768px) {
  .page-shell {
    min-height: calc(100vh - var(--aura-mobile-header-height, 60px));
    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--embedded {
  min-height: 0;
  padding: 1rem;
  overflow-x: hidden;
}

.page-shell__inner {
  --page-main-col: minmax(0, 1.55fr);
  --page-side-col: minmax(280px, 0.75fr);
  width: 100%;
  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;
  width: 100%;
  min-width: 0;
}
@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;
  gap: 12px;
  flex-wrap: wrap;
  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-regular {
  font-weight: var(--aura-font-weight-regular) !important;
}

.aura-u-fw-semibold {
  font-weight: var(--aura-font-weight-medium) !important;
}

.aura-u-fw-bold {
  font-weight: var(--aura-font-weight-strong) !important;
}

.aura-u-font-mono {
  font-family: var(--aura-font-family-mono) !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: var(--aura-font-weight-medium);
  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;
  min-height: 46px;
  padding: 10px 14px;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: var(--aura-font-weight-medium);
  line-height: 1.2;
  text-decoration: none;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
  margin: 0;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  flex: 0 1 auto;
}
@media (max-width: 576px) {
  .aura-btn {
    min-height: 40px;
    padding: 8px 14px;
  }
}
.aura-btn:hover, .aura-btn:focus {
  text-decoration: none;
  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] {
  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: 46px;
  padding: 10px 14px;
  border-radius: 8px;
}
@media (max-width: 576px) {
  .aura-btn--primary {
    min-height: 40px;
    padding: 8px 14px;
  }
}
.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);
}
.aura-btn--primary.is-active, .aura-btn--primary.aura-btn--active, .aura-btn--primary[aria-pressed=true] {
  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: #ffffff;
  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: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  font-size: 1.25rem;
  border-radius: 8px;
  border-width: 2px;
  border-color: #7f5cc2;
}
.aura-btn--icon:hover, .aura-btn--icon:focus {
  border-color: #6f4fa8;
}
@media (max-width: 576px) {
  .aura-btn--icon {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }
}

.aura-btn--icon-mini {
  min-height: 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  font-size: 0.75rem;
  border-radius: 8px;
  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;
}
.aura-btn--sm {
  font-size: 0.78rem;
  padding: 4px 8px;
  min-height: 28px;
  line-height: 1.1;
  border-radius: 8px;
}

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

@media (min-width: 992px) {
  .aura-btn:not(.aura-btn--icon):not(.aura-btn--icon-mini):not(.aura-btn--sm):not(.aura-btn--100):not(.aura-btn-100):not(.aura-btn-50):not(.aura-btn-40) {
    width: 200px;
    max-width: min(300px, 100%);
    flex-basis: 200px;
  }
}
.aura-icon-weight-thin .aura-btn {
  font-weight: var(--aura-font-weight-medium);
}

.aura-icon-weight-thin .aura-btn--primary,
.aura-icon-weight-thin .aura-btn--icon {
  border-width: 1px;
}

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

.aura-btn-group > .aura-btn {
  flex: 0 1 auto;
  width: auto;
  min-height: 46px;
  margin: 0;
  border-radius: 0;
  border-right-width: 0;
  box-shadow: none;
  white-space: normal;
  text-align: center;
  transform: none;
}
@media (max-width: 576px) {
  .aura-btn-group > .aura-btn {
    min-height: 40px;
  }
}

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

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

.aura-icon-weight-thin .aura-btn-group > .aura-btn:last-child {
  border-right-width: 1px;
}

.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-icon-weight-thin .aura-btn-group--grid-4 > .aura-btn {
  border-right-width: 1px;
}

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

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

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

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

#pageNotesWidget {
  display: block !important;
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  pointer-events: none;
  z-index: 2147482999;
  flex: none;
  min-width: 0;
  min-height: 0;
}

#pageNotesWidget::before,
#pageNotesWidget::after {
  display: none !important;
  content: none !important;
}

body:has(.page-shell--embedded) #pageNotesWidget,
body:has(.page-shell--embedded) .aura-notes-toggle-button {
  display: none !important;
}

.aura-notes-toggle-button {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 2147483000;
  pointer-events: auto;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #7f5cc2;
  border: 2px solid #7f5cc2;
  border-radius: 8px;
}

.aura-notes-toggle-button i {
  font-size: 1.25rem;
  line-height: 1;
}

#pageNotesPopup,
#pageNotesPreviewModal {
  pointer-events: auto;
}

#pageNotesPopup {
  position: fixed;
  right: 20px;
  bottom: 70px;
  width: 460px;
  max-width: calc(100vw - 40px);
  max-height: 75vh;
  overflow: auto;
  z-index: 999999;
  background: #ffffff;
  border: 3px solid #7f5cc2;
  border-radius: 16px;
  box-shadow: none;
  padding: 0 16px 16px;
}

.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: var(--aura-font-weight-strong);
  line-height: 1;
  box-sizing: border-box;
}

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

.aura-notes-popup-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -16px 12px;
  padding: 16px 16px 12px;
  border-bottom: 5px solid #7f5cc2;
  background: #ffffff;
}

.aura-notes-title {
  margin: 0;
}

.aura-notes-draft,
.aura-notes-media-actions--spaced,
.aura-notes-text,
.aura-notes-preview,
.aura-notes-separator {
  margin-bottom: 16px;
}

.aura-notes-textarea,
.aura-notes-resolution-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #ddd6ea;
  border-radius: 10px;
  font: inherit;
}

.aura-notes-textarea {
  min-height: 120px;
  margin-bottom: 10px;
}

.aura-notes-resolution-textarea {
  min-height: 74px;
}

.aura-notes-preview {
  border: 1px solid #e9e1f4;
  border-radius: 12px;
  padding: 10px;
  background: #f9f5ff;
}

.aura-notes-preview--white {
  background: #ffffff;
}

.aura-notes-preview-link,
.aura-notes-preview-image,
.aura-notes-file-button,
.aura-notes-resolution-label {
  display: block;
}

.aura-notes-preview-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.aura-notes-file-button {
  cursor: pointer;
}

.aura-notes-separator {
  border: 0;
  border-top: 1px solid #e9e1f4;
}

.aura-notes-empty,
.aura-notes-meta,
.aura-notes-resolution-label {
  color: #6f6780;
}

.aura-notes-item {
  border: 1px solid #e9e1f4;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  background: #f9f5ff;
}

.aura-notes-meta {
  margin-bottom: 8px;
  font-size: 12px;
}

.aura-notes-text {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #ddd6ea;
  border-radius: 10px;
  font: inherit;
  white-space: pre-wrap;
}

.aura-notes-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.aura-notes-status {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #ddd6ea;
  border-radius: 10px;
  font: inherit;
}

.aura-notes-resolution {
  margin-top: 10px;
}

.aura-notes-resolution-label {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: var(--aura-font-weight-strong);
}

.aura-notes-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.aura-notes-media-actions > .aura-btn {
  flex: 1 1 calc(50% - 4px);
  width: auto;
  min-width: 0;
}

.aura-notes-media-actions > .aura-notes-save-button {
  flex-basis: 100%;
}

.aura-notes-delete-button {
  font-size: 0;
}

.aura-notes-delete-button i {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .aura-notes-clipboard-button {
    display: none !important;
  }
  .aura-notes-media-actions > .aura-btn {
    flex-basis: 100%;
  }
}
.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 {
  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--master-only,
.backend-page--master-only .aura-card {
  background: #fef9ee;
  border-color: rgba(245, 185, 67, 0.45);
}

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

.aura-card__body h2,
.aura-card__body > h2,
.aura-card__body > .field__label > h2,
.aura-card__body > .aura-form-header > h2,
.content-card > h2,
.form-card__header h2 {
  margin-top: 0;
  margin-bottom: 5px;
}

.aura-card__body h2 + p,
.aura-card__body > h2 + p,
.aura-card__body > .field__label + p,
.aura-card__body > .aura-form-header > h2 + p,
.content-card > h2 + p,
.form-card__header h2 + p {
  margin-top: 0;
}

.aura-card__body > .field__label,
.form-card__header .field__label {
  margin-bottom: 10px;
}

.aura-card__body > .field__label:has(h2),
.form-card__header .field__label:has(h2) {
  align-items: center;
}

.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-media-card--stream {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.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;
  }
}

.index-media-card--stream .aura-social-card__media {
  box-sizing: border-box;
  height: auto;
  aspect-ratio: 1/1;
  border: 1px solid rgba(127, 92, 194, 0.18);
}
@media (max-width: 576px) {
  .index-media-card--stream .aura-social-card__media {
    height: auto;
  }
}

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

.index-media-card__preview-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.index-media-card__overlay {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
}

.index-media-card__overlay span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #7f5cc2;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.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: var(--aura-font-weight-medium);
}
@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: var(--aura-font-weight-medium);
}

.aktionen-page .offer-module-card__text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.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;
  }
}

@media (max-width: 768px) {
  .aktionen-page .offer-module-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 10px;
  }
  .aktionen-page .offer-module-card__actions {
    width: 100%;
    justify-content: flex-start;
  }
  .aktionen-page .offer-module-card__actions .aura-btn--icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    flex: 0 0 40px;
  }
}
/* ==========================
   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: var(--aura-font-weight-medium);
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
}
@media (max-width: 576px) {
  .check-card {
    align-items: flex-start;
    min-height: 40px;
    padding: 7px 10px;
    border-radius: 12px;
  }
}

.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;
  color: #7f5cc2;
  box-shadow: none;
  line-height: 1.2;
  outline: none;
}
.page-shell .check-card__custom-input::placeholder,
.page-shell .check-card__custom-input:focus::placeholder {
  color: #7f5cc2;
  opacity: 1;
}
@media (max-width: 576px) {
  .page-shell .check-card__custom-input,
  .page-shell .check-card__custom-input:focus {
    min-height: 40px;
    height: 40px;
    padding: 10px 14px;
    border-radius: 12px;
  }
}

.check-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.check-card input[type=checkbox],
.check-card input[type=radio] {
  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 .ci-image-card__media {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  line-height: 0;
}
.ci-image-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.ci-image-card__remove {
  position: absolute !important;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  line-height: 1;
}

.ci-image-card .ci-image-delete-btn {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
}

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

.ci-image-card--logo,
.ci-image-card--logo .ci-image-card__media,
.ci-image-card--logo .detail-image-grid__preview {
  background: #ffffff;
}

/* ==========================
   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__media {
  display: grid;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
}

.spotlight-card__dismiss-link {
  justify-self: center;
  margin-top: -4px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: rgba(47, 42, 58, 0.62);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.spotlight-card__dismiss-link:hover,
.spotlight-card__dismiss-link:focus {
  color: #6f4fa8;
}

.spotlight-card__actions {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 24px 0;
}
@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 {
  width: min(100%, 360px);
  min-height: 52px;
  justify-content: center;
  padding-inline: 24px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
}

@media (max-width: 576px) {
  .spotlight-card__cta {
    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;
}

@media (max-width: 768px) {
  .kanal-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .kanal-grid .aura-form-check {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
.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 > #werbeaktion-buttons {
  margin-top: -6px;
  margin-bottom: 18px;
}

.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: start;
}

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

.help-icon {
  color: #7f5cc2;
}

.help-icon i,
.aura-icon-weight-thin .help-icon i {
  font-weight: 400;
}

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

.prompt-aktion-fieldset .altersgruppe-inline__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  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;
  padding-right: 0;
  text-align: center;
}

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

.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--contact-channels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 576px) {
  .prompt-switch-grid--contact-channels {
    grid-template-columns: 1fr;
  }
}

.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: flex-start;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  min-height: 48px;
  padding: 10px 14px;
}
@media (max-width: 576px) {
  .prompt-check-option .check-card {
    min-height: 40px;
    padding: 7px 10px;
  }
}

.prompt-check-option .check-card > span {
  flex: 1 1 auto;
  min-width: 0;
}

.prompt-check-option .check-card .help-icon {
  flex: 0 0 auto;
  margin-left: auto;
}

.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-startword-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.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:not([type=checkbox]):not([type=radio]),
.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;
  color: #7f5cc2;
  box-shadow: none;
  line-height: 1.2;
  outline: none;
}
.page-shell .check-card__custom-input::placeholder,
.page-shell .check-card__custom-input:focus::placeholder {
  color: #7f5cc2;
  opacity: 1;
}
@media (max-width: 576px) {
  .page-shell .check-card__custom-input,
  .page-shell .check-card__custom-input:focus {
    min-height: 40px;
    height: 40px;
    padding: 10px 14px;
  }
}

.check-card input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #8f6bc7;
}
@media (max-width: 576px) {
  .check-card input[type=checkbox] {
    width: 16px;
    height: 16px;
  }
}

.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;
  }
}
@media (max-width: 576px) {
  .field-grid {
    gap: 8px;
  }
}

.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;
}
@media (max-width: 576px) {
  .field {
    gap: 3px;
  }
}
.field label {
  color: #4d3f63;
  font-size: 0.92rem;
  font-weight: 600;
}
@media (max-width: 576px) {
  .field label {
    line-height: 1.25;
  }
}

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

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

.field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 576px) {
  .field__label-row {
    gap: 6px;
  }
}

.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;
  }
}
@media (max-width: 576px) {
  .field__action-row {
    gap: 7px;
  }
}

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

.check-card__custom-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.check-card__custom-add {
  width: 42px;
  height: 42px;
  min-width: 42px;
}

.target-audience-page-header {
  width: 100%;
  align-items: flex-start;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .target-audience-page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 25%);
  }
}
.target-audience-page-header__title {
  min-width: 0;
}

.target-audience-page-header__actions {
  margin-left: auto;
  justify-content: flex-end;
}

.zielgruppe-page #targetAudienceGenerateOptionsBtn {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .target-audience-page-header__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .target-audience-page-header__actions #targetAudienceGenerateOptionsBtn {
    width: 100% !important;
    min-width: 0;
    flex-basis: auto !important;
  }
}
@media (max-width: 768px) {
  .zielgruppe-page #targetAudienceGenerateOptionsBtn {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.92rem;
    line-height: 1.25;
  }
}
@media (max-width: 768px) {
  .target-audience-page-header__actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
}
.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;
}

.werbeaktion-page .campaign-create-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.werbeaktion-page .campaign-create-actions {
  align-items: stretch;
  justify-content: flex-start;
}

.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;
}

.status-box--warning {
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(245, 158, 11, 0.11);
  color: #8a4b00;
}

.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.is-complete {
  border-color: rgba(47, 166, 106, 0.34);
  background: #eaf6f0;
}

.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;
  min-height: 30px;
  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;
  min-width: 0;
}

.priority-slot__value > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.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: 1200px) {
  .aura-form-shell {
    min-height: calc(100vh - var(--aura-mobile-header-height, 60px));
  }
}
@media (max-width: 768px) {
  .aura-form-shell {
    min-height: calc(100vh - var(--aura-mobile-header-height, 60px));
    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: 10px;
  }
}
@media (max-width: 1200px) {
  .aura-form-grid {
    grid-template-columns: 1fr;
  }
}

.form-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}
@media (max-width: 576px) {
  .form-content {
    gap: 8px;
  }
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
@media (max-width: 576px) {
  .form-row {
    gap: 3px;
    margin-bottom: 7px;
  }
}

.aura-form-header {
  display: grid;
  gap: 10px;
}
@media (max-width: 576px) {
  .aura-form-header {
    gap: 6px;
  }
}
.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;
}
@media (max-width: 576px) {
  .aura-form-section {
    gap: 8px;
  }
}

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

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

.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: var(--aura-font-weight-medium);
}

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

.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;
}
@media (max-width: 576px) {
  .aura-form-field {
    gap: 3px;
  }
}

.aura-form-field label {
  color: #2f2a3a;
  font-size: 0.92rem;
  font-weight: var(--aura-font-weight-medium);
}

.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: var(--aura-font-weight-medium);
  line-height: 1.35;
}
@media (max-width: 576px) {
  .aura-form-label {
    margin-bottom: 2px;
    line-height: 1.25;
  }
}

.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=password],
.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=password],
.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: 8px;
  padding: 12px 14px;
  line-height: 1.35;
  box-sizing: border-box;
  transition: border-color 160ms ease, background 160ms ease;
}
@media (max-width: 576px) {
  .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=password],
  .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=password],
  .aura-form-shell input[type=url],
  .aura-form-shell input[type=tel],
  .aura-form-shell select,
  .aura-form-shell textarea {
    border-radius: 8px;
    padding: 10px 14px;
    line-height: 1.25;
  }
}

.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=password],
.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=password],
.aura-form-shell input[type=url],
.aura-form-shell input[type=tel],
.aura-form-shell select {
  min-height: 46px;
}
@media (max-width: 576px) {
  .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=password],
  .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=password],
  .aura-form-shell input[type=url],
  .aura-form-shell input[type=tel],
  .aura-form-shell select {
    height: 40px;
    min-height: 40px;
  }
}

.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=password]: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=password]: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;
}
@media (max-width: 576px) {
  .aura-form-select,
  .page-shell select,
  .aura-form-shell select {
    padding-right: 40px;
  }
}

.aura-form-select[multiple],
.page-shell select[multiple],
.aura-form-shell select[multiple] {
  height: auto;
  padding-right: 14px;
  background-image: none;
  white-space: normal;
}
@media (max-width: 576px) {
  .aura-form-select[multiple],
  .page-shell select[multiple],
  .aura-form-shell select[multiple] {
    padding-right: 14px;
  }
}

.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: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #ddd6ea;
  border-radius: 16px;
  background: #ffffff;
  color: #2d243d;
  font: inherit;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
@media (max-width: 576px) {
  .aura-select__button {
    height: 40px;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 12px;
    line-height: 1.25;
  }
}

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

.aura-select__button-icon {
  justify-self: end;
  color: #7f5cc2;
  font-size: 0.95rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .aura-select__button-icon {
    transform: translateX(-5px);
  }
}
@media (max-width: 576px) {
  .aura-select__button {
    padding-right: 14px;
  }
}
.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: var(--aura-font-weight-medium);
}

.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;
}
@media (max-width: 576px) {
  .aura-form-check-input {
    width: 16px;
    height: 16px;
  }
}

.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: var(--aura-font-weight-strong);
  line-height: 1.35;
  cursor: pointer;
}
@media (max-width: 576px) {
  .aura-form-check-label {
    line-height: 1.25;
  }
}

.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: var(--aura-font-weight-strong);
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
}
@media (max-width: 576px) {
  .aura-form-check-card {
    min-height: 40px;
    padding: 7px 10px;
    border-radius: 12px;
  }
}

.aura-form-check-card input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #7f5cc2;
}
@media (max-width: 576px) {
  .aura-form-check-card input[type=checkbox] {
    width: 16px;
    height: 16px;
  }
}

@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::-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: var(--aura-font-weight-medium);
  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: var(--aura-font-weight-medium);
    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: var(--aura-font-weight-medium);
  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: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .planned-post-actions {
    gap: 8px;
  }
}

.planned-post-delete-form {
  order: 2;
}

.auto-task-schedule-mobile {
  display: none;
}

@media (max-width: 768px) {
  .calendar-page .auto-task-schedule-mobile {
    display: block;
  }
  .calendar-page .auto-task-schedule-desktop {
    display: none;
  }
  .planned-posts-page .aura-td[data-label=Status] {
    display: none;
  }
  .planned-posts-page .aura-tr {
    position: relative;
    padding-top: 34px;
  }
  .planned-posts-page .aura-td[data-label=Aktionen] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: auto;
    padding: 0;
    border: 0;
  }
  .planned-posts-page .aura-td[data-label=Aktionen]::before {
    display: none;
  }
  .planned-posts-page .planned-post-actions {
    display: block;
  }
  .planned-posts-page .planned-post-actions .aura-btn--icon {
    width: 28px;
    height: 28px;
    min-height: 28px;
  }
}
.auto-tasks-actions-cell {
  padding-bottom: 20px;
}

.auto-tasks-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-bottom: 8px;
}

.auto-tasks-actions-wrap .aura-btn {
  flex: 0 0 auto;
  margin: 0;
}

.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: var(--aura-font-weight-strong);
  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;
  margin-bottom: 12px;
  text-align: center;
}

.planned-post-tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 12px;
  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: var(--aura-font-weight-strong);
}

.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;
}

.shared-account-field > .aura-form-input {
  display: grid;
  gap: 4px;
  height: auto;
  min-height: 44px;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.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;
}

.facebook-ads-werbeaktionen {
  display: grid;
  gap: 10px;
}

.facebook-ads-werbeaktionen__toggle {
  justify-content: space-between;
  width: 100%;
}

.facebook-ads-werbeaktionen__toggle-icon {
  transition: transform 160ms ease;
}

.facebook-ads-werbeaktionen.is-open .facebook-ads-werbeaktionen__toggle-icon {
  transform: rotate(180deg);
}

.facebook-ads-werbeaktionen__body[hidden] {
  display: none;
}

.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-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, background 160ms ease;
}

.ad-media-action:hover,
.ad-media-action:focus {
  border-color: #a985e7;
  background: #ffffff;
  color: #2d243d;
  box-shadow: none;
}

.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 0;
    min-width: 0;
  }
}

@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: 3px;
  bottom: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.calendar-post-delete:hover, .calendar-post-delete:focus {
  color: #c23d4b;
}
@media (max-width: 768px) {
  .calendar-post-delete {
    bottom: 7px;
  }
}

.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;
  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-view-card {
  position: relative;
}

.calendar-floating-nav {
  position: absolute;
  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: 0;
}
.calendar-floating-nav.next {
  right: 0;
}
@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;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.calendar-header h1 .aura-btn--icon-mini {
  flex: 0 0 auto;
  line-height: 1;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .calendar-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .calendar-header h1 {
    font-size: 20px;
    justify-content: center;
  }
  .calendar-header .aura-btn:not(.aura-btn--icon-mini) {
    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: #2f2a3a;
  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: #6f6780;
}
@media (max-width: 576px) {
  .dashboard-create-modal__hero p {
    display: none;
  }
}

.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;
}

#dashboardCreateModal .dashboard-create-actions > .aura-btn {
  width: 100%;
  max-width: none;
  flex-basis: auto;
  min-width: 0;
  white-space: normal;
  text-align: center;
  justify-self: stretch;
}

.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: 500;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.notes-admin-table {
  table-layout: fixed;
}

.notes-admin-table--active .aura-th:nth-child(1),
.notes-admin-table--active .aura-td[data-label=Notiz] {
  width: 22%;
}

.notes-admin-table--active .aura-th:nth-child(2),
.notes-admin-table--active .aura-td[data-label=Status] {
  width: 260px;
}

.notes-admin-table--active .aura-th:nth-child(3),
.notes-admin-table--active .aura-td[data-label=Seite] {
  width: 28%;
}

.notes-admin-table--active .aura-th:nth-child(4),
.notes-admin-table--active .aura-td[data-label=Erstellt],
.notes-admin-table--completed .aura-th:nth-child(3),
.notes-admin-table--completed .aura-td[data-label=Erstellt] {
  width: 124px;
}

.notes-admin-table--active .aura-th:nth-child(5),
.notes-admin-table--active .aura-td[data-label=Screenshot],
.notes-admin-table--completed .aura-th:nth-child(4),
.notes-admin-table--completed .aura-td[data-label=Screenshot] {
  width: 132px;
}

.notes-admin-table--active .aura-th:nth-child(6),
.notes-admin-table--active .aura-td[data-label=Aktion],
.notes-admin-table--completed .aura-th:nth-child(5),
.notes-admin-table--completed .aura-td[data-label=Aktion] {
  width: 112px;
}

.notes-admin-table--completed .notes-admin-resolution-cell {
  width: 100%;
}

.notes-admin-work-note-cell[hidden] {
  display: none !important;
}

.notes-admin-work-note-form {
  width: 100%;
}

@media (min-width: 769px) {
  .notes-admin-table--active {
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0 10px;
  }
  .notes-admin-table--active .aura-thead,
  .notes-admin-table--active .aura-tbody {
    display: block;
    width: 100%;
  }
  .notes-admin-table--active .aura-tr {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(140px, 1fr) 124px 132px 112px;
    grid-template-rows: auto auto auto;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e9e1f4;
    border-radius: 8px;
  }
  .notes-admin-table--active .aura-th,
  .notes-admin-table--active .aura-td {
    display: flex;
    align-items: center;
    width: auto;
    border-bottom: 0;
  }
  .notes-admin-table--active .aura-th:first-child,
  .notes-admin-table--active .aura-td[data-label=Notiz] {
    display: block;
    grid-column: 1/4;
    width: auto;
  }
  .notes-admin-table--active .aura-th:first-child {
    display: none;
  }
  .notes-admin-table--active .aura-th:nth-child(2),
  .notes-admin-table--active .aura-td[data-label=Status] {
    grid-column: 1;
    grid-row: 2;
  }
  .notes-admin-table--active .aura-th:nth-child(3),
  .notes-admin-table--active .aura-td[data-label=Seite] {
    grid-column: 2;
    grid-row: 2;
  }
  .notes-admin-table--active .aura-th:nth-child(4),
  .notes-admin-table--active .aura-td[data-label=Erstellt] {
    grid-column: 3;
    grid-row: 2;
  }
  .notes-admin-table--active .aura-th:nth-child(5),
  .notes-admin-table--active .aura-td[data-label=Screenshot] {
    grid-column: 4;
    grid-row: 1/4;
  }
  .notes-admin-table--active .aura-th:nth-child(6),
  .notes-admin-table--active .aura-td[data-label=Aktion] {
    grid-column: 5;
    grid-row: 1/4;
  }
  .notes-admin-table--active .notes-admin-work-note-cell {
    grid-column: 1/4;
    grid-row: 3;
    padding: 0 18px 14px;
  }
}
@media (min-width: 769px) {
  .notes-admin-table--completed {
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0 10px;
  }
  .notes-admin-table--completed .aura-thead,
  .notes-admin-table--completed .aura-tbody {
    display: block;
    width: 100%;
  }
  .notes-admin-table--completed .aura-tr {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(140px, 1fr) 124px 132px 112px;
    grid-template-rows: auto auto auto;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e9e1f4;
    border-radius: 8px;
  }
  .notes-admin-table--completed .aura-th,
  .notes-admin-table--completed .aura-td {
    display: flex;
    align-items: center;
    width: auto;
    border-bottom: 0;
  }
  .notes-admin-table--completed .aura-th:nth-child(1),
  .notes-admin-table--completed .aura-td[data-label=Notiz] {
    grid-column: 1/4;
    grid-row: 1;
  }
  .notes-admin-table--completed .aura-th:nth-child(1) {
    display: none;
  }
  .notes-admin-table--completed .aura-th:nth-child(2),
  .notes-admin-table--completed .aura-td[data-label=Status] {
    grid-column: 1;
    grid-row: 2;
  }
  .notes-admin-table--completed .aura-th:nth-child(3),
  .notes-admin-table--completed .aura-td[data-label=Seite] {
    grid-column: 2;
    grid-row: 2;
  }
  .notes-admin-table--completed .aura-th:nth-child(4),
  .notes-admin-table--completed .aura-td[data-label=Erstellt] {
    grid-column: 3;
    grid-row: 2;
  }
  .notes-admin-table--completed .aura-th:nth-child(5),
  .notes-admin-table--completed .aura-td[data-label=Screenshot] {
    grid-column: 4;
    grid-row: 1/4;
  }
  .notes-admin-table--completed .aura-th:nth-child(6),
  .notes-admin-table--completed .aura-td[data-label=Aktion] {
    grid-column: 5;
    grid-row: 1/4;
  }
  .notes-admin-table--completed .notes-admin-resolution-cell {
    grid-column: 1/4;
    grid-row: 3;
    padding: 0 18px 14px;
  }
}
.notes-admin-status-form {
  display: flex;
  align-items: center;
  width: 100%;
}

.notes-admin-status-fields {
  display: grid;
  width: 100%;
  gap: 8px;
}

.notes-admin-status-select {
  width: 100%;
  min-width: 190px;
}

.notes-admin-resolution-field {
  display: grid;
  gap: 4px;
}

.notes-admin-resolution-field[hidden] {
  display: none;
}

.notes-admin-resolution-field span,
.notes-admin-resolution-text strong {
  color: var(--aura-text-muted, #666);
  font-size: 12px;
  font-weight: 600;
}

.notes-admin-resolution-input {
  min-height: 58px;
  resize: vertical;
}

.notes-admin-work-note-input {
  width: 100%;
}

.aura-notes-item {
  box-shadow: none;
}

.aura-notes-target-note {
  box-shadow: none;
}

.aura-notes-return-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: #7f5cc2;
  font-weight: 600;
  text-decoration: none;
}

.aura-notes-return-link:hover,
.aura-notes-return-link:focus {
  text-decoration: underline;
}

.notes-admin-resolution-text {
  margin-top: 8px;
  color: var(--aura-text, #222);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

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

.notes-admin-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.backend-clear-page,
.backend-clear-page .backend-clear-table,
.backend-clear-page .aura-tr,
.backend-clear-page .aura-td {
  box-sizing: border-box;
  min-width: 0;
}

.backend-clear-stat-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.backend-clear-gallery-card form {
  display: flex;
  flex: 0 0 auto;
  margin: 0;
}

.backend-clear-demo-form {
  flex: 1 0 100%;
}

.backend-clear-demo-form .field {
  flex: 0 1 360px;
}

.backend-clear-demo-form .aura-btn--100 {
  width: auto;
}

.backend-customers-page .page-stack {
  gap: 18px;
}

.backend-customers-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 18px;
  align-items: end;
}

.backend-customers-search {
  display: grid;
  gap: 6px;
}

.backend-customers-search span {
  color: var(--aura-text-muted, #666);
  font-size: 12px;
  font-weight: 500;
}

.backend-customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 304px));
  gap: 16px;
  align-items: start;
  justify-content: start;
}

.backend-customer-card[hidden],
.backend-usage-card[hidden] {
  display: none;
}

.backend-customer-card__form {
  display: grid;
  gap: 14px;
}

.backend-customer-card__save-state {
  min-height: 18px;
  color: var(--aura-text-muted, #666);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

.backend-customer-card__save-state.is-saved {
  color: #1b785c;
}

.backend-customer-card__save-state.is-error {
  color: #b42318;
}

.backend-customer-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.backend-customer-card__title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.backend-customer-card__title strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backend-customer-card__title span,
.backend-customer-card__meta,
.backend-customer-card__usage span,
.backend-customer-card__usage small {
  color: var(--aura-text-muted, #666);
  font-size: 12px;
}

.backend-customer-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  max-width: 150px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(101, 107, 118, 0.14);
  color: #656b76;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backend-customer-active-badge {
  cursor: pointer;
}

.backend-customer-active-badge.is-active {
  background: rgba(27, 120, 92, 0.12);
  color: #1b785c;
}

.backend-customer-active-badge input {
  width: 28px;
  height: 16px;
  margin: 0;
  accent-color: #1b785c;
  cursor: pointer;
}

.backend-customer-card__meta {
  display: grid;
  gap: 3px;
  min-height: 56px;
}

.backend-customer-card__meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backend-customer-card__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.backend-customer-card__fields .field {
  margin: 0;
}

.backend-customer-card__field--full {
  grid-column: 1/-1;
}

.backend-customer-date-control {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  align-items: center;
}

.backend-customer-date-button {
  width: 46px;
  min-width: 46px;
  height: 46px;
}

.backend-customer-date-native {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46px;
  height: 46px;
  opacity: 0;
  pointer-events: none;
}

.backend-customer-card__usage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--aura-border, rgba(0, 0, 0, 0.08));
  border-radius: 8px;
}

.backend-customer-card__usage small {
  grid-column: 1/-1;
}

.backend-customer-card__actions,
.backend-customer-card__extend {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.backend-customer-card__extend {
  margin-top: 10px;
}

.backend-customer-card__extend .aura-form-input {
  max-width: 92px;
}

.backend-usage-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.backend-email-performance-card > .aura-card__body {
  padding: 0;
}

.backend-email-performance-card__head {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 24px 14px;
}

.backend-email-performance-card__head h2 {
  margin: 0;
  color: #2f2a3a;
  font-size: 1.65rem;
  line-height: 1.15;
  font-weight: var(--aura-font-weight-strong);
}

.backend-email-performance-card__head span {
  color: #6f6780;
  font-size: 0.95rem;
  font-weight: var(--aura-font-weight-medium);
}

.backend-email-performance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border-top: 1px solid rgba(47, 166, 106, 0.18);
  border-radius: 0 0 8px 8px;
}

.backend-email-performance-metric {
  display: grid;
  min-width: 0;
  min-height: 148px;
  padding: 20px 28px 22px;
  align-content: start;
  gap: 12px;
  border-left: 1px solid rgba(47, 166, 106, 0.18);
  background: linear-gradient(180deg, rgba(47, 166, 106, 0.055), rgba(255, 255, 255, 0.98));
}

.backend-email-performance-metric:first-child {
  border-left: 0;
}

.backend-email-performance-metric__label,
.backend-email-performance-metric__rate-label {
  display: block;
  color: #2f2a3a;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: var(--aura-font-weight-medium);
}

.backend-email-performance-metric__rate-label {
  color: #6f6780;
}

.backend-email-performance-metric strong {
  display: block;
  margin-top: 8px;
  color: #1f6e46;
  font-size: 2.15rem;
  line-height: 1;
  font-weight: var(--aura-font-weight-strong);
}

.backend-email-performance-metric strong.backend-email-performance-metric__rate {
  font-size: 1.55rem;
}

.backend-email-performance-metric.is-danger {
  background: linear-gradient(180deg, rgba(217, 83, 79, 0.055), rgba(255, 255, 255, 0.98));
}

.backend-email-performance-metric.is-danger strong {
  color: #c9302c;
}

.backend-email-statistics-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.backend-email-statistics-actions .aura-btn--icon {
  width: 38px;
  height: 38px;
  min-height: 38px;
  flex: 0 0 38px;
}

.backend-email-statistics-toggle.is-active,
.backend-email-statistics-toggle.is-loading {
  border-color: rgba(47, 166, 106, 0.34);
  background: rgba(47, 166, 106, 0.12);
  color: #21764c;
}

.backend-email-statistics-toggle.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.backend-email-newsletter-detail-row > .aura-td {
  padding: 0;
  background: rgba(47, 166, 106, 0.035);
}

.backend-email-performance-inline {
  margin: 0;
  border-top: 1px solid rgba(47, 166, 106, 0.16);
  border-bottom: 1px solid rgba(47, 166, 106, 0.16);
  background: #ffffff;
}

.backend-email-performance-inline .backend-email-performance-card__head {
  padding: 14px 18px 10px;
}

.backend-email-performance-inline .backend-email-performance-card__head h3 {
  margin: 0;
  color: #2f2a3a;
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: var(--aura-font-weight-strong);
}

.backend-email-performance-grid--inline .backend-email-performance-metric {
  min-height: 118px;
  padding: 16px 18px;
}

.backend-email-performance-grid--inline .backend-email-performance-metric__label,
.backend-email-performance-grid--inline .backend-email-performance-metric__rate-label {
  font-size: 0.95rem;
}

.backend-email-performance-grid--inline .backend-email-performance-metric strong {
  font-size: 1.7rem;
}

.backend-email-performance-grid--inline .backend-email-performance-metric strong.backend-email-performance-metric__rate {
  font-size: 1.2rem;
}

.backend-email-clicks-panel {
  display: grid;
  gap: 14px;
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(47, 166, 106, 0.16);
}

.backend-email-clicks-panel__head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.backend-email-clicks-panel__head h4 {
  margin: 0;
  color: #2f2a3a;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: var(--aura-font-weight-strong);
}

.backend-email-clicks-panel__head p {
  margin: 3px 0 0;
  color: #6f6780;
  font-size: 0.9rem;
}

.backend-email-clicks-table__url {
  max-width: 420px;
  overflow-wrap: anywhere;
}

.backend-newsletter-recipient-source {
  margin: 0 0 10px;
}

.backend-db-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.backend-mailgun-contact-count {
  display: grid;
  gap: 3px;
  min-width: 180px;
  padding: 9px 10px;
  border: 1px solid rgba(27, 120, 92, 0.2);
  border-radius: 8px;
  background: rgba(27, 120, 92, 0.08);
}

.backend-mailgun-contact-count span,
.backend-mailgun-contact-count small,
.backend-mailgun-import-hint {
  color: var(--aura-text-muted, #666);
  font-size: 12px;
  font-weight: 500;
}

.backend-mailgun-contact-count strong {
  color: #1b785c;
  font-size: 28px;
  line-height: 1;
}

.backend-mailgun-import-form {
  display: grid;
  gap: 14px;
}

.backend-mailgun-contact-search {
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

.backend-mailgun-contact-search span {
  grid-column: 1/-1;
}

.backend-mailgun-contacts-table {
  table-layout: fixed;
}

.backend-mailgun-contacts-table th,
.backend-mailgun-contacts-table td {
  padding: 9px 12px;
  font-size: 0.88rem;
  line-height: 1.25;
}

.backend-mailgun-contacts-table td strong {
  font-weight: 600;
}

.backend-mailgun-contacts-table th:nth-child(1),
.backend-mailgun-contacts-table td:nth-child(1) {
  width: 22%;
}

.backend-mailgun-contacts-table th:nth-child(2),
.backend-mailgun-contacts-table td:nth-child(2) {
  width: 28%;
}

.backend-mailgun-contacts-table th:nth-child(3),
.backend-mailgun-contacts-table td:nth-child(3) {
  width: 16%;
}

.backend-mailgun-contacts-table th:nth-child(4),
.backend-mailgun-contacts-table td:nth-child(4) {
  width: 22%;
}

.backend-mailgun-contacts-table th:nth-child(5),
.backend-mailgun-contacts-table td:nth-child(5) {
  width: 130px;
  white-space: nowrap;
}

.backend-mailgun-contacts-table td[data-label=Name],
.backend-mailgun-contacts-table td[data-label=E-Mail],
.backend-mailgun-contacts-table td[data-label=Quelle],
.backend-mailgun-contacts-table td[data-label=Kundengruppe] {
  overflow-wrap: anywhere;
}

.backend-mailgun-contacts-table td[data-label=Kundengruppe] {
  vertical-align: middle;
}

.backend-mailgun-contact-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid rgba(127, 92, 194, 0.22);
  border-radius: 999px;
  background: #efe7ff;
  color: #6f4fa8;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.15;
}

.backend-mailgun-contact-group--empty {
  width: 42px;
  min-width: 42px;
}

.backend-mailgun-contact-empty {
  color: #6f6780;
}

.backend-mailgun-contact-group-editor {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
}

.backend-mailgun-contact-group-display {
  display: inline-flex;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: text;
  text-align: left;
}

.backend-mailgun-contact-group-input {
  min-width: 0;
  width: 100%;
  height: 34px;
  padding: 6px 9px;
  font-size: 0.84rem;
}

.backend-mailgun-contact-group-status {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-height: 13px;
  color: #6f6780;
  font-size: 0.72rem;
  line-height: 1;
}

#backendMailgunContactRows {
  transition: opacity 160ms ease;
}

#backendMailgunContactRows.is-loading {
  opacity: 0.55;
}

.backend-mailgun-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 14px;
}

.backend-mailgun-pagination__meta {
  color: var(--aura-text-muted, #666);
  font-size: 0.82rem;
  font-weight: 500;
}

.backend-mailgun-pagination__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-end;
}

.backend-mailgun-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  margin-left: -1px;
  padding: 6px 10px;
  border: 1px solid rgba(127, 92, 194, 0.28);
  background: #ffffff;
  color: #7f5cc2;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.backend-mailgun-pagination__link:first-child {
  margin-left: 0;
  border-radius: 7px 0 0 7px;
}

.backend-mailgun-pagination__link:last-child {
  border-radius: 0 7px 7px 0;
}

.backend-mailgun-pagination__link:hover,
.backend-mailgun-pagination__link:focus-visible {
  position: relative;
  z-index: 1;
  background: rgba(127, 92, 194, 0.08);
  border-color: rgba(127, 92, 194, 0.55);
  color: #6f4fa8;
}

.backend-mailgun-pagination__link.is-active {
  position: relative;
  z-index: 2;
  background: #efe7ff;
  border-color: #7f5cc2;
  color: #6f4fa8;
}

.backend-mailgun-pagination__link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 768px) {
  .backend-mailgun-contact-search,
  .backend-mailgun-pagination {
    width: 100%;
  }
  .backend-mailgun-contact-search {
    grid-template-columns: 1fr;
  }
  .backend-mailgun-pagination,
  .backend-mailgun-pagination__nav {
    justify-content: center;
  }
  .backend-mailgun-contacts-table td[data-label=Kundengruppe] {
    text-align: left;
  }
}
.backend-newsletter-preview hr {
  margin: 18px 0;
  border: 0;
  border-top: 1px solid #e9e1f4;
}

.backend-newsletter-preview p:last-child {
  color: #6f6780;
  font-size: 0.86rem;
}

.backend-newsletter-preview a:not([data-newsletter-button]):not([data-newsletter-link-color]) {
  color: #777;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.backend-mail-template-preview.backend-newsletter-preview a:not([data-newsletter-button]):not([data-newsletter-link-color]),
.backend-mail-template-preview.backend-newsletter-preview a:not([data-newsletter-button]):not([data-newsletter-link-color]) span {
  color: #777 !important;
}

.backend-newsletter-inbox-preview {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #ffffff;
}

.backend-newsletter-inbox-preview div {
  display: grid;
  gap: 4px;
}

.backend-newsletter-inbox-preview strong,
.backend-newsletter-inbox-preview span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backend-newsletter-inbox-preview span {
  color: #6f6780;
}

.backend-newsletters-table {
  table-layout: fixed;
}

.backend-newsletters-table th:nth-child(1),
.backend-newsletters-table td:nth-child(1) {
  width: 36%;
}

.backend-newsletters-table th:nth-child(2),
.backend-newsletters-table td:nth-child(2) {
  width: 110px;
  white-space: nowrap;
}

.backend-newsletters-table th:nth-child(3),
.backend-newsletters-table td:nth-child(3),
.backend-newsletters-table th:nth-child(4),
.backend-newsletters-table td:nth-child(4) {
  width: 170px;
  white-space: nowrap;
}

.backend-newsletters-table th:nth-child(5),
.backend-newsletters-table td:nth-child(5) {
  width: 120px;
  white-space: nowrap;
}

.backend-newsletter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.backend-newsletter-recipient-select-wrap {
  position: relative;
}

.backend-newsletter-recipient-select-value {
  position: absolute;
  z-index: 1;
  right: 32px;
  bottom: 1px;
  left: 1px;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  overflow: hidden;
  background: #ffffff;
  color: #2f2a3a;
  font: inherit;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.backend-newsletter-recipient-summary {
  display: block;
  margin-top: 8px;
  color: #2f2a3a;
  font-size: 1.02rem;
  font-weight: 600;
}

.backend-usage-card__item {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(27, 120, 92, 0.2);
  border-radius: 8px;
  background: rgba(27, 120, 92, 0.08);
}

.backend-usage-status.is-active {
  background: rgba(27, 120, 92, 0.12);
  color: #1b785c;
}

.social-accounts-grid {
  align-items: stretch;
}

.social-account-card,
.social-account-card > .aura-card__body {
  height: 100%;
}

.social-account-card > .aura-card__body {
  display: flex;
  flex-direction: column;
}

.social-account-card__badge.is-active {
  background: rgba(27, 120, 92, 0.12);
  color: #1b785c;
}

.social-account-card__actions {
  margin-top: auto;
}

.backend-usage-status.is-blocked {
  background: rgba(180, 35, 24, 0.12);
  color: #b42318;
}

.backend-usage-card__item.is-warning {
  background: rgba(245, 158, 11, 0.11);
  border-color: rgba(245, 158, 11, 0.28);
}

.backend-usage-card__item.is-danger {
  background: rgba(180, 35, 24, 0.09);
  border-color: rgba(180, 35, 24, 0.24);
}

.backend-usage-card__item span {
  color: #1b785c;
  font-size: 12px;
}

.backend-usage-card__item .backend-usage-card__meta {
  font-size: 12px;
  font-weight: 500;
}

.backend-db-status-meta {
  display: block;
  margin-top: 4px;
  color: var(--aura-text-muted, #666);
  font-size: 12px;
  line-height: 1.35;
}

.backend-env-key,
.backend-env-file {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 2px 4px 2px 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.backend-env-file.is-ok {
  background: rgba(27, 120, 92, 0.12);
  color: #1b785c;
}

.backend-env-file.is-missing {
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

.backend-env-key.is-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #9a5b00;
}

.backend-env-file.is-legacy {
  background: rgba(245, 158, 11, 0.12);
  color: #9a5b00;
}

.backend-usage-card__item strong {
  color: #1b785c;
  overflow-wrap: anywhere;
}

.backend-usage-card__item.is-warning span,
.backend-usage-card__item.is-warning strong {
  color: #9a5b00;
}

.backend-usage-card__item.is-danger span,
.backend-usage-card__item.is-danger strong {
  color: #b42318;
}

.backend-limits-save-state,
.backend-limits-hint {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: var(--aura-text-muted, #666);
  font-size: 12px;
  font-weight: 500;
}

.backend-limits-save-state.is-saved {
  color: #1b785c;
}

.backend-limits-save-state.is-error {
  color: #b42318;
}

.backend-limits-hint {
  text-align: right;
}

.backend-limits-active-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 38px;
  margin: 0;
  gap: 8px;
  padding: 7px 10px;
}

.backend-limits-active-toggle input {
  flex: 0 0 auto;
}

.backend-system-controls-table {
  table-layout: fixed;
}

.backend-system-controls-table th:nth-child(1),
.backend-system-controls-table td:nth-child(1) {
  width: 24%;
}

.backend-system-controls-table th:nth-child(2),
.backend-system-controls-table td:nth-child(2) {
  width: 120px;
}

.backend-system-controls-table th:nth-child(3),
.backend-system-controls-table td:nth-child(3) {
  width: 34%;
}

.backend-system-controls-table__limit {
  width: 120px;
}

.backend-system-controls-table__limit .aura-form-input {
  max-width: 96px;
}

.backend-system-controls-table__reason {
  width: 72px;
  text-align: center;
}

.backend-system-active-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 38px;
  margin: 0;
  gap: 8px;
  padding: 7px 10px;
}

.backend-system-active-toggle input {
  flex: 0 0 auto;
}

.backend-system-progress {
  display: grid;
  gap: 7px;
  min-width: 190px;
}

.backend-system-progress__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--aura-text, #222);
  font-size: 12px;
  font-weight: 600;
}

.backend-system-progress__top span {
  color: var(--aura-text-muted, #666);
  white-space: nowrap;
}

.backend-system-progress__bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ece9;
}

.backend-system-progress__bar span {
  display: block;
  width: 0;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: #2fb174;
}

.backend-system-progress.is-warning .backend-system-progress__bar span {
  background: #d99a19;
}

.backend-system-progress.is-danger .backend-system-progress__bar span {
  background: #d64545;
}

.backend-system-progress.is-warning .backend-system-progress__top strong,
.backend-system-progress.is-warning .backend-system-progress__top span {
  color: #9a5b00;
}

.backend-system-progress.is-danger .backend-system-progress__top strong,
.backend-system-progress.is-danger .backend-system-progress__top span {
  color: #b42318;
}

.backend-system-reason {
  position: relative;
  display: inline-block;
}

.backend-system-reason__icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--aura-border, #d8dedb);
  border-radius: 8px;
  background: #fff;
  color: var(--aura-primary, #1b785c);
  cursor: pointer;
  list-style: none;
}

.backend-system-reason__icon::-webkit-details-marker {
  display: none;
}

.backend-system-reason__panel {
  position: absolute;
  right: 0;
  z-index: 20;
  display: grid;
  width: min(360px, 100vw - 40px);
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--aura-border, #d8dedb);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  text-align: left;
}

.backend-system-reason__panel label {
  display: grid;
  gap: 6px;
}

.backend-system-reason__panel label > span {
  color: var(--aura-text-muted, #666);
  font-size: 12px;
  font-weight: 600;
}

.backend-page .aura-table pre {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.backend-emails-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.backend-mail-template-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 18px;
  align-items: start;
}

.backend-mail-template-layout__editor,
.backend-mail-template-layout__preview {
  display: grid;
  gap: 14px;
}

.backend-mail-template-title h2,
.backend-mail-template-card h3 {
  margin: 0 0 6px;
}

.backend-mail-template-title p {
  margin: 0;
  color: #6f6780;
}

.backend-newsletter-ai {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(127, 92, 194, 0.18);
  border-radius: 14px;
  background: #fbf9ff;
}

.backend-newsletter-ai__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.backend-newsletter-ai__head h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.backend-newsletter-ai__head p {
  margin: 0;
  color: #6f6780;
}
@media (max-width: 768px) {
  .backend-newsletter-ai__head {
    flex-direction: column;
  }
}

.backend-newsletter-ai__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.55fr) minmax(180px, 0.75fr);
  gap: 12px;
}
@media (max-width: 992px) {
  .backend-newsletter-ai__grid {
    grid-template-columns: 1fr;
  }
}

.backend-newsletter-ai .aura-help-text.is-error {
  color: #d9534f;
}

.backend-mail-editor {
  display: grid;
  gap: 10px;
}

.backend-mail-editor__toolbar,
.backend-mail-editor__placeholders {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.backend-mail-editor__toolbar .aura-btn.is-active {
  background: #7f5cc2;
  color: #ffffff;
}

.backend-mail-editor__format-button {
  font-size: 12px;
  font-weight: 800;
}

.backend-mail-editor-tool-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #ffffff;
}

.backend-mail-editor-tool-panel[hidden] {
  display: none;
}

.backend-mail-editor-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.backend-mail-editor-color-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.backend-mail-editor-color-swatch {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #ddd6ea;
  border-radius: 8px;
  background: #2fa66a;
  cursor: pointer;
}

.backend-mail-editor-color-swatch:nth-child(2) {
  background: #7f5cc2;
}

.backend-mail-editor-color-swatch:nth-child(3) {
  background: #d9534f;
}

.backend-mail-editor-color-swatch:hover,
.backend-mail-editor-color-swatch:focus-visible {
  border-color: #7f5cc2;
  outline: 2px solid rgba(127, 92, 194, 0.18);
  outline-offset: 2px;
}

.backend-mail-editor-color-input {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #403557;
  font-size: 0.86rem;
  font-weight: 600;
}

.backend-mail-editor-color-input input {
  width: 42px;
  height: 34px;
  padding: 2px;
  border: 1px solid #ddd6ea;
  border-radius: 8px;
  background: #ffffff;
}

.backend-mail-editor-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
  grid-column: 1/-1;
}

.backend-mail-editor-gallery[hidden] {
  display: none;
}

.backend-mail-editor-gallery__item {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.backend-mail-editor-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.backend-mail-editor-image {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
}

.backend-mail-editor-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.backend-mail-editor-image__delete {
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #e9e1f4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #d9534f;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(20, 20, 43, 0.16);
}

.backend-mail-editor-image__delete:hover,
.backend-mail-editor-image__delete:focus-visible {
  background: #d9534f;
  color: #ffffff;
}

.backend-mail-editor__surface {
  min-height: 260px;
  padding: 14px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #ffffff;
  color: #2f2a3a;
}

.backend-mail-editor__surface .tiptap {
  min-height: 230px;
  outline: none;
}

.backend-mail-editor__surface p,
.backend-mail-template-preview p {
  margin: 0 0 12px;
}

.newsletter-check-color {
  font-weight: 800;
}

.backend-mail-editor__surface h1,
.backend-mail-template-preview h1 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 800;
  text-align: left;
}

.backend-mail-editor__surface h2,
.backend-mail-template-preview h2 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;
  text-align: left;
}

.backend-mail-editor__surface h3,
.backend-mail-template-preview h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  text-align: left;
}

.backend-mail-editor__surface h4,
.backend-mail-template-preview h4 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  text-align: left;
}

.backend-mail-editor__surface ul,
.backend-mail-editor__surface ol,
.backend-mail-template-preview ul,
.backend-mail-template-preview ol {
  margin: 0 0 12px 18px;
  padding: 0;
}

.backend-mail-editor__surface img,
.backend-mail-template-preview img {
  max-width: 100%;
  height: auto;
}

.backend-mail-editor__source {
  display: none;
}

.backend-mail-template-card {
  padding: 14px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #f9f5ff;
}

.backend-mail-template-preview {
  padding: 14px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #ffffff;
}

.backend-mail-template-preview__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 2px solid #7f5cc2;
  border-radius: 2px;
  background: #efe7ff;
  color: #7f5cc2;
  font-weight: 700;
  text-decoration: none;
}

.backend-mail-placeholder-list {
  display: grid;
  gap: 6px;
  margin: 0;
}

.backend-mail-placeholder-list dt,
.backend-mail-placeholder-list dd {
  margin: 0;
}

.backend-mail-placeholder-list dd {
  color: #6f6780;
}

.backend-db-status-table th:nth-child(1),
.backend-db-status-table td:nth-child(1),
.backend-db-status-table th:nth-child(4),
.backend-db-status-table td:nth-child(4),
.backend-db-status-table th:nth-child(5),
.backend-db-status-table td:nth-child(5),
.backend-db-status-table th:nth-child(6),
.backend-db-status-table td:nth-child(6),
.backend-db-migrations-table th:nth-child(1),
.backend-db-migrations-table td:nth-child(1),
.backend-db-migrations-table th:nth-child(4),
.backend-db-migrations-table td:nth-child(4),
.backend-env-matrix-table th:nth-child(2),
.backend-env-matrix-table td:nth-child(2),
.backend-env-matrix-table th:nth-child(3),
.backend-env-matrix-table td:nth-child(3),
.backend-env-matrix-table th:nth-child(4),
.backend-env-matrix-table td:nth-child(4),
.backend-env-matrix-table th:nth-child(5),
.backend-env-matrix-table td:nth-child(5) {
  width: 1%;
  white-space: nowrap;
}

.backend-env-status-table td[data-label="Fehlende Pflicht-Keys"],
.backend-env-status-table td[data-label="Bekannte Tippfehler"],
.backend-env-status-table td[data-label="Optionale Hinweise"],
.backend-env-matrix-table td[data-label=Key] {
  overflow-wrap: anywhere;
}

.whitelabel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.whitelabel-editor,
.whitelabel-preview {
  min-width: 0;
}

.whitelabel-logo-grid,
.whitelabel-color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.whitelabel-logo-grid .aura-form-input[type=file] {
  min-height: 44px;
  padding: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.whitelabel-logo-grid .aura-form-input[type=file]::file-selector-button {
  margin: 0 10px 0 0;
  padding: 6px 12px;
  border: 1px solid #7f5cc2;
  border-radius: 999px;
  background: #efe7ff;
  color: #6f4fa8;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
}

.whitelabel-color-field {
  display: grid;
  grid-template-columns: minmax(0, 170px) 44px minmax(96px, 120px);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.whitelabel-color-field span {
  color: #6f4fa8;
  font-weight: 500;
}

.whitelabel-color-field input[type=color] {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #7f5cc2;
  border-radius: 8px;
  background: #ffffff;
}

.whitelabel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.whitelabel-preview {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 280px;
  border: 1px solid var(--preview-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--preview-bg);
}

.whitelabel-preview__sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  background: var(--preview-sidebar);
  border-right: 1px solid var(--preview-border);
}

.whitelabel-preview__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.whitelabel-preview__brand img:first-child {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.whitelabel-preview__brand img:last-child {
  max-width: 58px;
  max-height: 28px;
  object-fit: contain;
}

.whitelabel-preview__sidebar span,
.whitelabel-preview__sidebar strong {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: var(--preview-primary-light);
}

.whitelabel-preview__sidebar strong {
  height: 24px;
  background: var(--preview-primary);
}

.whitelabel-preview__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px;
  color: var(--preview-text);
}

.whitelabel-preview__content h3 {
  margin: 0 0 8px;
  color: var(--preview-primary-dark);
}

.whitelabel-preview__content p {
  margin: 0 0 18px;
}

@media (max-width: 768px) {
  .backend-customers-header,
  .backend-customer-card__head,
  .backend-customer-card__fields,
  .backend-usage-card__grid {
    grid-template-columns: 1fr;
  }
  .backend-email-performance-card__head {
    display: grid;
    gap: 6px;
    padding: 16px 18px 12px;
  }
  .backend-email-performance-grid {
    grid-template-columns: 1fr;
  }
  .backend-email-performance-metric {
    min-height: 132px;
    padding: 18px;
    border-top: 1px solid rgba(47, 166, 106, 0.18);
    border-left: 0;
  }
  .backend-email-performance-metric:first-child {
    border-top: 0;
  }
  .backend-mailgun-contact-count {
    min-width: 0;
  }
  .backend-customers-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .backend-customer-card__actions,
  .backend-customer-card__extend {
    justify-content: stretch;
  }
  .backend-customer-card__actions .aura-btn,
  .backend-customer-card__extend .aura-btn {
    flex: 1 1 auto;
  }
  .backend-system-controls-table {
    table-layout: auto;
  }
  .backend-system-controls-table .aura-thead {
    display: none;
  }
  .backend-system-controls-table,
  .backend-system-controls-table .aura-tbody,
  .backend-system-controls-table .aura-tr,
  .backend-system-controls-table .aura-td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .backend-system-controls-table .aura-tr {
    padding: 12px;
    border: 1px solid var(--aura-border, rgba(0, 0, 0, 0.08));
    border-radius: 8px;
    background: #ffffff;
  }
  .backend-system-controls-table .aura-tr + .aura-tr {
    margin-top: 12px;
  }
  .backend-system-controls-table .aura-td {
    padding: 8px 0;
    border: 0;
    text-align: left;
  }
  .backend-system-controls-table .aura-td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--aura-text-muted, #666);
    font-size: 12px;
    font-weight: 600;
  }
  .backend-system-controls-table .aura-td[data-label=Funktion]::before {
    display: none;
  }
  .backend-system-controls-table .backend-system-active-toggle,
  .backend-system-controls-table__limit .aura-form-input,
  .backend-system-controls-table__reason .backend-system-reason {
    width: 100%;
  }
  .backend-system-controls-table .backend-system-reason__icon {
    width: 100%;
  }
  .backend-system-controls-table__limit,
  .backend-system-controls-table__reason {
    width: auto;
  }
  .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-table {
    table-layout: auto;
  }
  .notes-admin-table--active .aura-th,
  .notes-admin-table--active .aura-td,
  .notes-admin-table--completed .aura-th,
  .notes-admin-table--completed .aura-td {
    width: 100%;
  }
  .notes-admin-page .notes-admin-table--active .aura-td[data-label],
  .notes-admin-page .notes-admin-table--completed .aura-td[data-label] {
    width: 100%;
  }
  .notes-admin-status-select {
    min-width: 0;
  }
  .notes-admin-page .aura-td {
    overflow-wrap: anywhere;
    text-align: left;
  }
  .notes-admin-page .aura-tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 8px;
    align-items: center;
  }
  .notes-admin-page .aura-td[data-label] {
    grid-column: 1/-1;
  }
  .notes-admin-page .aura-td[data-label=Seite] a {
    font-size: 12px;
    line-height: 1.25;
  }
  .notes-admin-page .notes-admin-table--active .aura-td[data-label=Status] {
    grid-column: 1/-1;
    grid-row: auto;
    width: 100%;
    min-width: 0;
  }
  .notes-admin-page .notes-admin-table--active .aura-td[data-label=Screenshot] {
    grid-column: 2;
    grid-row: 5;
    width: 100%;
    padding: 0;
    border: 0;
    align-self: center;
    justify-self: stretch;
  }
  .notes-admin-page .notes-admin-table--active .aura-td[data-label=Aktion] {
    grid-column: 1;
    grid-row: 5;
    width: auto;
    padding: 0;
    border: 0;
    align-self: center;
    justify-self: start;
  }
  .notes-admin-page .notes-admin-table--active .aura-td[data-label=Aktion] .notes-admin-delete-form,
  .notes-admin-page .notes-admin-table--active .aura-td[data-label=Aktion] .aura-btn {
    width: auto;
  }
  .notes-admin-page .notes-admin-table--active .aura-td[data-label=Aktion] .aura-btn--icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
  .notes-admin-page .notes-admin-table--active .notes-admin-work-note-cell {
    grid-column: 1/-1;
    grid-row: auto;
    width: 100%;
  }
  .notes-admin-page .notes-admin-table--completed .aura-td[data-label=Aktion] {
    border: 0;
  }
  .notes-admin-page .aura-td::before {
    display: none;
    content: none;
  }
  .notes-admin-page .aura-table-image {
    width: 100%;
    max-width: 120px;
  }
  .notes-admin-page .notes-admin-table--active .aura-td[data-label=Screenshot] .notes-admin-media {
    justify-content: center;
    width: 100%;
  }
  .backend-clear-summary,
  .backend-clear-stat-card,
  .backend-clear-summary form,
  .backend-clear-summary .field,
  .backend-clear-summary .aura-btn {
    width: 100%;
  }
  .backend-clear-stat-card {
    min-width: 0 !important;
  }
  .backend-clear-summary form {
    margin-left: 0 !important;
  }
  .backend-clear-summary .backend-clear-gallery-card form {
    width: auto;
  }
  .backend-clear-summary .backend-clear-gallery-card .aura-btn--icon-mini {
    width: 20px;
    height: 20px;
    min-height: 20px;
    flex: 0 0 20px;
  }
  .backend-clear-summary .field {
    min-width: 0 !important;
  }
  .backend-clear-page .aura-table-wrap,
  .backend-clear-page .backend-clear-table {
    overflow-x: hidden;
  }
  .backend-clear-page .backend-clear-table .aura-tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 8px;
    align-items: center;
  }
  .backend-clear-page .backend-clear-table .aura-td[data-label=Tabelle],
  .backend-clear-page .backend-clear-table .aura-td[data-label=Beschreibung] {
    grid-column: 1/-1;
  }
  .backend-clear-page .backend-clear-table .aura-td[data-label=Aktion] {
    grid-column: 1;
    grid-row: 3;
    width: auto;
    padding: 0;
    border: 0;
    justify-self: start;
  }
  .backend-clear-page .backend-clear-table .aura-td[data-label=Zeilen] {
    grid-column: 2;
    grid-row: 3;
    width: auto;
    min-width: 0;
    text-align: right;
    justify-self: end;
  }
  .backend-clear-page .backend-clear-table .aura-td[data-label=Zeilen]::after {
    content: " Zeilen";
  }
  .backend-clear-page .backend-clear-table .aura-td[data-label=Aktion]::before,
  .backend-clear-page .backend-clear-table .aura-td[data-label=Zeilen]::before {
    display: none;
    content: none;
  }
  .backend-clear-page .backend-clear-table .aura-td[data-label=Aktion] form,
  .backend-clear-page .backend-clear-table .aura-td[data-label=Aktion] .aura-btn {
    width: auto;
  }
  .backend-clear-page .backend-clear-table .aura-td[data-label=Aktion] .aura-btn--icon {
    width: 40px;
    height: 40px;
    min-height: 40px;
    flex: 0 0 40px;
    padding: 0;
  }
}
@media (max-width: 1200px) {
  .backend-mail-template-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .whitelabel-grid,
  .whitelabel-logo-grid,
  .whitelabel-color-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .whitelabel-grid {
    gap: 16px;
  }
  .whitelabel-color-field {
    grid-template-columns: minmax(0, 150px) 44px minmax(92px, 1fr);
  }
  .whitelabel-color-field span {
    font-size: 1rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .whitelabel-logo-grid .aura-form-input[type=file] {
    width: 100%;
    min-width: 0;
    font-size: 0.9rem;
  }
  .whitelabel-actions,
  .whitelabel-actions .aura-btn {
    width: 100%;
  }
  .whitelabel-actions .aura-btn {
    justify-content: center;
  }
  .whitelabel-preview {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .whitelabel-preview__sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--preview-border);
  }
  .whitelabel-preview__content {
    padding: 18px;
  }
}
.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;
}
@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-actions-cell {
    white-space: normal;
  }
}

.landingpages-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 100%;
}
@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-actions-wrap {
    flex-wrap: wrap;
    min-height: 40px;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-list-table-wrap {
    overflow: visible;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-list-table {
    display: block;
    width: 100%;
    border-collapse: separate;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-list-table .aura-thead {
    display: none;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-list-table .aura-tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-list-table .aura-tr {
    display: block;
    width: 100%;
    margin-bottom: 0;
    padding: 4px;
    background: #ffffff;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-list-table .aura-td {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 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;
    overflow-wrap: anywhere;
  }
}

.landingpages-list-table__slug {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 768px) {
  .landingpages-list-table__slug {
    font-size: 0.86rem;
    line-height: 1.25;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-list-table .aura-td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #6f6780;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-transform: uppercase;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-list-table .aura-td:first-child {
    padding-top: 4px;
    border-top: 1px solid rgba(221, 214, 234, 0.55);
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-list-table .aura-td:last-child {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(221, 214, 234, 0.55);
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-list-table .aura-td--full {
    grid-column: 1/-1;
  }
}

.landingpages-page .aura-status-switch {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 0;
}
@media (min-width: 733px) and (max-width: 1199px) {
  .landingpages-page .aura-status-switch {
    min-height: 40px;
    justify-content: center;
  }
}
@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-action-grid,
.landingpages-page .landingpage-action-fields {
  grid-template-columns: minmax(0, 1fr);
}

.landingpages-page .landingpage-campaign-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  min-width: 0;
}

.landingpages-page .landingpage-campaign-buttons .aura-btn {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  font-size: 0.88rem;
  text-align: center;
}

.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: normal;
  word-break: normal;
  hyphens: none;
  font-size: 0.88rem;
  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;
}

.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;
}

@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;
}

.websites-company-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 0.5rem;
  padding: 0 0.6rem;
  border: 1px solid rgba(47, 166, 106, 0.36);
  border-radius: 8px;
  background: rgba(47, 166, 106, 0.1);
  color: #2fa66a;
  font-size: 0.8rem;
  font-weight: 700;
}

@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;
  min-width: 0;
}

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

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

.spotlight-admin-link-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e0d4f2;
  border-radius: 16px;
  background: #fbf8ff;
  color: #7a6b90;
  font-size: 0.9rem;
}
@media (max-width: 576px) {
  .spotlight-admin-link-preview {
    align-items: stretch;
    flex-direction: column;
  }
}

.spotlight-admin-form,
.spotlight-admin-grid,
.spotlight-admin-field input,
.spotlight-admin-field select,
.spotlight-admin-field textarea {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.spotlight-admin-link-preview strong {
  color: #2f2345;
  overflow-wrap: anywhere;
}

.spotlight-admin-page-picker {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e0d4f2;
  border-radius: 18px;
  background: #fbf8ff;
}

.spotlight-admin-page-picker summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #2f2345;
  cursor: pointer;
  list-style: none;
}

.spotlight-admin-page-picker summary::-webkit-details-marker {
  display: none;
}

.spotlight-admin-page-picker summary > span {
  display: grid;
  gap: 2px;
}

.spotlight-admin-page-picker summary strong {
  font-size: 0.98rem;
}

.spotlight-admin-page-picker summary small,
.spotlight-admin-page-picker summary em {
  color: #7a6b90;
  font-size: 0.84rem;
  font-style: normal;
}

.spotlight-admin-page-picker summary em {
  white-space: nowrap;
}

.spotlight-admin-page-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  padding-top: 2px;
}

.spotlight-admin-page-option {
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 12px;
  background: #ffffff;
  font-size: 0.82rem;
}

.spotlight-admin-page-option input[type=checkbox] {
  width: 15px;
  height: 15px;
}

.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;
  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__header p {
  margin: 6px 0 0;
}

.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-toggle,
.gallery-page .gallery-toolbar__icon {
  display: none;
}

.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 .avatar-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.gallery-page .avatar-actions .gallery-toolbar {
  justify-content: flex-end;
}

.gallery-page .avatar-actions .gallery-toolbar .aura-btn {
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  min-width: max-content;
}

@media (max-width: 768px) {
  .gallery-page .avatar-actions {
    grid-template-columns: 1fr;
  }
  .gallery-page .avatar-actions .gallery-toolbar {
    justify-content: flex-start;
  }
  .gallery-page .avatar-actions .gallery-toolbar .aura-btn {
    width: 100%;
  }
}
.gallery-page .gallery-toolbar__camera-action {
  display: none;
}

@media (max-width: 900px) {
  .gallery-page .gallery-toolbar__camera-action {
    display: inline-flex;
  }
}
@media (max-width: 768px) {
  .gallery-page .gallery-actions__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    margin-bottom: 0;
  }
  .gallery-page .gallery-toolbar-toggle {
    display: inline-flex;
    margin-top: 2px;
  }
  .gallery-page .gallery-toolbar {
    display: none;
    width: 100%;
    align-items: center;
    gap: 8px;
  }
  .gallery-page .gallery-toolbar.is-open {
    display: flex;
  }
  .gallery-page .gallery-toolbar__action.aura-btn--icon-mini {
    flex: 0 0 20px;
    width: 20px;
  }
  .gallery-page .gallery-toolbar__action.aura-btn--icon-mini .gallery-toolbar__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .gallery-page .gallery-toolbar__action.aura-btn--icon-mini .gallery-toolbar__icon {
    display: inline-flex;
  }
  .gallery-page .gallery-toolbar__action {
    flex: 1 1 calc(50% - 4px);
    width: auto;
    min-width: 0;
  }
}
.gallery-image-mode-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  background: rgba(0, 0, 0, 0.55);
}

.gallery-image-mode-modal.is-visible {
  display: block;
}

.gallery-image-mode-modal__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 18px;
}

.gallery-image-mode-modal__dialog {
  width: min(92vw, 460px);
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  color: #1e1e1e;
  box-shadow: none;
}

.gallery-image-mode-modal__dialog h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #1e1e1e;
}

.gallery-image-mode-modal__dialog p {
  margin: 0 0 14px;
  color: #555;
}

.gallery-image-mode-modal__choices {
  display: grid;
  gap: 10px;
}

.gallery-image-mode-modal__footer {
  margin-top: 12px;
  text-align: right;
}

.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: 500;
  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;
}

.gallery-page .gallery-item[data-avatar-scene="1"].is-editing {
  width: 80%;
  justify-self: start;
}

@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) .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-item .aura-btn--icon {
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  max-width: none;
  height: 40px;
  min-height: 40px;
  padding: 0;
  margin-top: 0;
}

.gallery-page .gallery-media-frame > .gallery-delete-btn {
  position: absolute;
  top: 10px;
  left: 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;
}

#avatarGenerateActions.avatar-generate-actions {
  margin-top: 10px;
}

.avatar-duration-toggle {
  margin-top: 10px;
}

#avatarGenerateActions.avatar-generate-actions > .aura-btn {
  flex: 1 1 0;
}

.avatar-script-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.avatar-script-tool-btn {
  min-width: 0;
  white-space: normal;
  text-align: center;
}

.avatar-script-tool-btn.is-active {
  box-shadow: none;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .avatar-script-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 576px) {
  .avatar-script-tools {
    grid-template-columns: minmax(0, 1fr);
  }
}
#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: 600;
  line-height: 1.05;
  pointer-events: none;
  text-align: right;
  text-shadow: none;
}

.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: 17px !important;
    height: 17px !important;
    font-size: 0.55rem !important;
  }
  .gallery-page .gallery .gallery-audio-icon {
    right: 32px !important;
    bottom: 8px !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 0.58rem !important;
  }
  .gallery-page .gallery .gallery-subtitle-icon {
    right: 56px !important;
    bottom: 8px !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 0.58rem !important;
  }
  .gallery-page .gallery .gallery-orientation-icon i {
    font-size: 0.55rem !important;
  }
  .gallery-page .gallery .gallery-audio-icon i,
  .gallery-page .gallery .gallery-subtitle-icon i {
    font-size: 0.58rem !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;
}

.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: #fff !important;
  border: 1px solid rgba(111, 84, 154, 0.14) !important;
  box-shadow: none;
}

.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 .create-avatar-card {
  display: none;
}

.gallery-page .create-avatar-form {
  display: grid;
  gap: 14px;
}

.gallery-page .create-avatar-form .adtext-field {
  margin-bottom: 0;
}

.gallery-page .create-avatar-form .aura-form-input,
.gallery-page .create-avatar-form .aura-form-textarea,
.gallery-page .create-avatar-form select,
.gallery-page .create-avatar-form textarea,
.gallery-page .create-avatar-form input {
  background: #fff;
  border-radius: 8px;
}

.gallery-page .create-avatar-form #createAvatarName::placeholder,
.gallery-page .create-avatar-form #createAvatarAppearance::placeholder {
  color: rgba(127, 92, 194, 0.68);
  opacity: 1;
}

.gallery-page .create-avatar-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery-page .create-avatar-actions {
  justify-content: flex-start;
  margin-top: 0;
}

.gallery-page .create-avatar-actions > .aura-btn {
  flex: 0 0 25%;
  width: 25%;
}

@media (max-width: 768px) {
  .gallery-page .create-avatar-select-grid {
    grid-template-columns: 1fr;
  }
  .gallery-page .create-avatar-actions > .aura-btn {
    flex-basis: calc(50% - 5px);
  }
}
.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;
  align-items: start;
}
@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;
}

.avatar-scene-share-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  opacity: 1;
}
.avatar-scene-share-toggle.aura-btn--primary:hover, .avatar-scene-share-toggle.aura-btn--primary:focus, .avatar-scene-share-toggle.aura-btn--primary:active {
  background: #efe7ff;
  color: #7f5cc2;
  border-color: #7f5cc2;
}
.avatar-scene-share-toggle.is-active {
  opacity: 1;
}

.avatar-voice-add-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  line-height: 1.2;
}

.avatar-group-delete-form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  margin: 0;
}

.avatar-group-template-form {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  margin: 0;
}

.avatar-group-template-btn.aura-btn {
  width: 38px;
  height: 38px;
  min-height: 38px;
  border-color: #d6c9f1;
  background: #efe7ff;
  color: #7f5cc2;
  box-shadow: 0 10px 22px rgba(79, 53, 125, 0.2);
}

.avatar-group-template-btn.aura-btn.is-active,
.avatar-group-template-btn.aura-btn:hover,
.avatar-group-template-btn.aura-btn:focus {
  border-color: #acd8ba;
  background: #e6f7ea;
  color: #1e7a3e;
}

.avatar-group-delete-btn.aura-btn {
  width: 38px;
  height: 38px;
  min-height: 38px;
  border-color: #ead98a;
  background: #fff6c8;
  color: #7a5b00;
  box-shadow: 0 10px 22px rgba(122, 91, 0, 0.2);
}

.avatar-group-delete-btn.aura-btn:hover,
.avatar-group-delete-btn.aura-btn:focus {
  border-color: #dcc45b;
  background: #ffe98a;
  color: #5f4600;
}

.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 {
  background: #fff;
  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__wordmark {
  width: 88px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 8px;
  display: block;
  object-fit: contain;
}
.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;
  text-align: center;
  line-height: 1.35;
}

@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;
  background: #fff;
  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;
}

.prompt-carousel-gallery-done {
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;
  gap: 8px;
  order: 20;
}

.prompt-carousel-gallery-done[hidden] {
  display: none !important;
}

.prompt-media-modal--carousel-select .gallery-picker-item,
.prompt-media-modal--carousel-select .website-gallery-item {
  position: relative;
  border: 2px solid transparent;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.prompt-media-modal--carousel-select .gallery-picker-item.is-carousel-selected,
.prompt-media-modal--carousel-select .website-gallery-item.is-carousel-selected {
  border-color: #7f5cc2;
  box-shadow: 0 0 0 4px rgba(127, 92, 194, 0.16);
}

.prompt-media-modal--carousel-select .gallery-picker-item.is-carousel-selected::after,
.prompt-media-modal--carousel-select .website-gallery-item.is-carousel-selected::after {
  content: "\f00c";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #7f5cc2;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
  z-index: 2;
}

#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 #7f5cc2;
  padding: 15px;
  border-radius: 12px;
  background: #fff;
}

.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: 30;
}
.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;
  border: 1px solid rgba(127, 92, 194, 0.32);
}

.prompt-result--phone {
  width: min(100%, 390px);
  height: min(844px, (100vw - 40px) * 2.164);
  min-height: 680px;
  margin: 0 auto 150px;
  padding: 14px 6px 8px;
  border: 1px solid rgba(127, 92, 194, 0.9);
  border-radius: 38px;
  background: #7f5cc2 !important;
  box-shadow: none;
  box-sizing: border-box;
  overflow: visible;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .prompt-result--phone {
    width: min(100%, 350px);
    height: min(758px, (100vw - 40px) * 2.164);
    min-height: 610px;
  }
}

.prompt-result--phone::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 7px solid rgba(127, 92, 194, 0.95);
  border-radius: 38px;
  pointer-events: none;
  z-index: 40;
}

.prompt-result--phone::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 46px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle at calc(50% + 18px) 50%, rgba(255, 255, 255, 0.22) 0 2px, transparent 3px), rgba(20, 10, 36, 0.72);
  z-index: 41;
}

.prompt-result--phone .prompt-result__top,
.prompt-result--phone .prompt-result__media,
.prompt-result--phone .prompt-result__content {
  background: #ffffff;
}

.prompt-result--phone .prompt-result__top {
  flex: 0 0 auto;
  margin-top: 8px;
  padding: 18px 16px 0;
  border-radius: 30px 30px 0 0;
}

.prompt-result--phone .prompt-result__media {
  flex: 0 0 auto;
  padding: 0 16px 12px;
}

.prompt-result--phone.prompt-result--text-expanded .prompt-result__media {
  display: none;
}

.prompt-result--phone.prompt-result--text-expanded .prompt-result__content {
  border-radius: 30px;
  overflow: visible;
  padding-top: 0;
}

.prompt-result--phone .prompt-result__content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
  padding: 0 10px 16px;
  border-radius: 0 0 30px 30px;
  display: flex;
  flex-direction: column;
}

.prompt-result:hover {
  box-shadow: none;
}

.prompt-result__top {
  padding: 14px 18px 0;
  border-bottom: 0;
  display: flex;
  justify-content: flex-start;
}

.prompt-result-platform-badge {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 42;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 23px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #7f5cc2;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
}
@media (max-width: 576px) {
  .prompt-result-platform-badge {
    top: 2px;
    gap: 4px;
    min-height: 17px;
    padding: 3px 5px;
    font-size: 0.6rem;
  }
}

.prompt-result-platform-badge i {
  font-size: 0.84rem;
  line-height: 1;
}
@media (max-width: 576px) {
  .prompt-result-platform-badge i {
    font-size: 0.68rem;
  }
}

.prompt-result__media {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Preview Viewports & Containers */
.prompt-result-preview {
  position: relative;
  width: 100%;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  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--facebook .prompt-result-preview__viewport,
.prompt-result-preview--instagram .prompt-result-preview__viewport,
.prompt-result-preview--story .prompt-result-preview__viewport {
  border-radius: 0;
  overflow: hidden;
  background: #ffffff;
}

.prompt-result-preview--empty .prompt-result-preview__viewport {
  background: url("../config/logo/logopic.svg") center/82% auto no-repeat, #ffffff;
}

.prompt-result-preview__image,
.prompt-result-preview__link video {
  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-carousel-strip {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(127, 92, 194, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.prompt-carousel-strip__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  color: #403557;
  font-size: 0.86rem;
  line-height: 1.25;
}

.prompt-carousel-strip__title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
}

.prompt-carousel-strip__header strong {
  font-weight: var(--aura-font-weight-medium);
}

.prompt-carousel-strip__title [data-carousel-count] {
  color: #6f6780;
}

.prompt-carousel-strip__title [data-carousel-count].is-complete {
  color: #7f5cc2;
}

.prompt-carousel-strip__title [data-carousel-count].is-low,
.prompt-carousel-strip__title [data-carousel-count].is-high {
  color: #403557;
}

.prompt-carousel-strip__title [data-carousel-count-hint] {
  flex-basis: 100%;
  color: #6f6780;
  font-size: 0.76rem;
  line-height: 1.25;
}

.prompt-carousel-strip__actions {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.prompt-carousel-cover-btn,
.prompt-carousel-content-btn,
.prompt-carousel-cta-btn {
  width: auto;
  min-width: 168px;
  max-width: 100%;
  flex: 0 0 auto;
  justify-content: center;
}

.prompt-carousel-strip__items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.prompt-carousel-strip__item {
  position: relative;
  cursor: grab;
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 1px solid rgba(127, 92, 194, 0.18);
  border-radius: 8px;
  background: #ffffff;
}

.prompt-carousel-strip__item:active {
  cursor: grabbing;
}

.prompt-carousel-strip__item.is-dragging {
  opacity: 0.58;
  outline: 2px solid #7f5cc2;
  outline-offset: 2px;
}

.prompt-carousel-strip__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prompt-carousel-strip__item span {
  position: absolute;
  top: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #6f4fa8;
  font-size: 0.72rem;
  font-weight: var(--aura-font-weight-medium);
}

.prompt-carousel-strip__badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 44px);
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(127, 92, 194, 0.9);
  color: #ffffff;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: var(--aura-font-weight-medium);
  line-height: 1.1;
}

.prompt-carousel-strip__item .aura-btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
}

@media (max-width: 768px) {
  .prompt-carousel-strip__header {
    align-items: start;
    grid-template-columns: 1fr;
  }
  .prompt-carousel-strip__actions {
    justify-items: stretch;
    width: 100%;
  }
  .prompt-carousel-cover-btn,
  .prompt-carousel-content-btn,
  .prompt-carousel-cta-btn {
    width: 100%;
  }
  .prompt-carousel-strip__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.prompt-result-preview__link {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.prompt-result--carousel .prompt-result-preview__link {
  cursor: default;
}

.prompt-carousel-preview-nav {
  position: absolute;
  top: 50%;
  z-index: 36;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(127, 92, 194, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #7f5cc2;
  box-shadow: 0 10px 24px rgba(111, 79, 168, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.prompt-carousel-preview-nav:hover,
.prompt-carousel-preview-nav:focus-visible {
  background: #7f5cc2;
  color: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

.prompt-carousel-preview-nav--prev {
  left: 10px;
}

.prompt-carousel-preview-nav--next {
  right: 10px;
}

.prompt-carousel-preview-nav[hidden] {
  display: none !important;
}

.prompt-result--phone .prompt-carousel-preview-nav {
  width: 28px;
  height: 28px;
  font-size: 0.78rem;
}

.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;
}

.prompt-result--phone .prompt-result-preview__empty {
  gap: 10px;
  padding: 18px;
}

.prompt-result--phone .prompt-result-preview__empty > div {
  display: none !important;
}

.prompt-result-edit-toggle {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 35;
  width: 40px;
  height: 40px;
  min-height: 40px;
  max-width: none;
  padding: 0;
  border-radius: 999px;
  box-shadow: none;
}

.prompt-result-edit-toggle i {
  pointer-events: none;
}

/* 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;
}

.aura-media-picker-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.aura-media-picker-actions .aura-btn {
  width: 100%;
  justify-content: center;
}

.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;
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
  min-width: 0;
}

.prompt-result-text {
  width: 100%;
  min-height: 118px;
  padding: 10px 12px;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
  font-size: calc(1em - 2px);
  line-height: 1.28;
  transition: max-height 160ms ease;
  appearance: none;
}
@media (max-width: 768px) {
  .prompt-result-text {
    min-height: 108px;
    padding: 10px;
  }
}

.prompt-result-text--collapsed {
  max-height: 136px;
  overflow: hidden;
  resize: none;
}

.prompt-result-text--expanded {
  max-height: none;
  overflow: auto;
}

.prompt-result-text-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.prompt-result-copy-btn {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  border: 1px solid rgba(127, 92, 194, 0.16);
  border-radius: 10px;
  color: #6b4eb0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: background 0.18s ease;
}
@media (max-width: 768px) {
  .prompt-result-copy-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }
}

.prompt-result-copy-btn:hover,
.prompt-result-copy-btn:focus {
  box-shadow: none;
}

.prompt-result-text-more {
  min-height: 30px;
  padding: 5px 12px;
}

.prompt-result-actions {
  display: grid;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(127, 92, 194, 0.12);
}

.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 {
  margin-top: 0;
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prompt-result--text-expanded .prompt-result__content {
  margin-top: 10px;
}

.prompt-result--phone .prompt-result__top {
  display: none;
}

.prompt-result--phone .prompt-result__media {
  position: relative;
  flex: 0 0 auto;
  padding: 0 !important;
  gap: 0;
  margin-top: 4px;
  background: #ffffff;
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
  overflow: hidden;
}

.prompt-result--phone .prompt-result-preview {
  border-bottom: 0;
}

.prompt-result--phone .prompt-result__content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 10px 14px !important;
  gap: 12px;
  background: #ffffff;
  border-radius: 0 0 32px 32px;
}

.prompt-result--phone .ad-content,
.prompt-result--phone .prompt-result-text-wrap {
  margin: 0;
  padding: 0;
}

.prompt-result--phone .ad-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.prompt-result--phone .prompt-result-text-wrap {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.prompt-result--phone .prompt-result-text {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  padding: 0 0 44px;
  font-size: 0.85rem;
  line-height: 1.22;
}

.prompt-result--phone .prompt-result-text--collapsed {
  max-height: none;
}

.prompt-result--phone .prompt-result-text-tools {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  z-index: 8;
  padding: 0;
}

.prompt-result--phone-story {
  margin-bottom: 170px;
}

.prompt-result--phone-story .prompt-result__media {
  flex: 0 0 72%;
  min-height: 0;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
}

.prompt-result--phone-story .prompt-result-preview,
.prompt-result--phone-story .prompt-result-preview__viewport {
  width: 100%;
  height: 100%;
}

.prompt-result--phone-story .prompt-result-preview__viewport {
  padding-bottom: 0;
}

.prompt-result--phone-story .prompt-result__content {
  position: static;
  z-index: 3;
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 10px 14px !important;
  background: #ffffff !important;
  border-radius: 0 0 30px 30px;
}

.prompt-result--phone-story .prompt-story-editor {
  position: relative;
  z-index: 34;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  min-height: 0;
  height: 100%;
}

.prompt-result--phone-story .storyTextArea {
  width: 100%;
  min-height: 0;
  max-height: none;
  padding: 0 0 40px;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
  resize: none;
  flex: 1 1 auto;
  appearance: none;
  overflow: auto;
  font-size: 0.85rem;
  line-height: 1.22;
}

.prompt-result--phone-story .story-text-overlay {
  font-size: 0.86em;
  line-height: 1.16;
  padding: 10px;
}

.prompt-story-music-toggle {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 36;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  box-shadow: none;
}

.prompt-story-music-toggle[hidden] {
  display: none !important;
}

.prompt-story-music-toggle.is-muted {
  background: rgba(255, 255, 255, 0.92);
  color: #7f5cc2;
}

.prompt-result--phone-story .storyTextArea.prompt-result-text--collapsed {
  height: 100%;
  max-height: none;
  overflow: hidden;
}

.prompt-result--phone-story .storyTextArea.prompt-result-text--expanded {
  height: 100%;
  max-height: none;
  overflow: auto;
}

.prompt-result--phone-story .prompt-story-editor__controls {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

.prompt-result--phone-story .prompt-story-editor__controls .prompt-result-text-more {
  margin-left: auto;
  pointer-events: auto;
}

.prompt-story-font-toggle {
  pointer-events: auto;
}

.prompt-story-font-controls {
  pointer-events: auto;
  width: min(220px, 100% - 40px);
  padding: 8px 10px;
  border: 1px solid rgba(127, 92, 194, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
}

.prompt-story-font-controls label {
  margin: 0 0 4px;
  font-size: 0.8rem;
}

.prompt-story-font-controls[hidden] {
  display: none !important;
}

.prompt-result--phone-story .prompt-result-actions .schedule-story-container {
  position: static;
  width: 100%;
  transform: none;
}

.prompt-result-post-toggle {
  display: none;
}

.prompt-result-post-menu {
  display: contents;
}

.prompt-result-post-toggle::-webkit-details-marker {
  display: none;
}

.prompt-result-post-toggle::marker {
  content: "";
}

.prompt-result--phone .prompt-result-post-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.prompt-result--phone .prompt-result-actions {
  width: 100%;
  padding-top: 0;
  border-top: 0;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.prompt-result--phone .prompt-result-post-menu[open] .prompt-result-actions {
  display: grid;
}

.prompt-result--phone .prompt-result-post-menu[open] .prompt-result-post-toggle {
  display: none;
}

.prompt-result--post-locked .prompt-result-post-menu {
  display: none;
}

.prompt-result--post-locked .prompt-result-post-toggle,
.prompt-result--post-locked .prompt-result-actions,
.prompt-result--post-locked .prompt-result-actions__duo,
.prompt-result--post-locked .prompt-result-actions > .aura-btn,
.prompt-result--post-locked .prompt-result-actions__duo > .aura-btn,
.prompt-result--post-locked .schedule-container,
.prompt-result--post-locked .schedule-story-container {
  display: none !important;
}

.prompt-result--phone .prompt-result-post-toggle {
  display: inline-flex;
  width: auto;
  min-width: 118px;
  min-height: 42px;
  padding: 9px 20px;
  justify-content: center;
  font-size: 0.95rem;
  list-style: none;
  cursor: pointer;
}

.prompt-result--phone .prompt-result-post-toggle.is-disabled {
  opacity: 0.48;
  cursor: not-allowed;
  filter: grayscale(0.25);
  box-shadow: none;
}

.prompt-result--phone .prompt-result-post-toggle.is-disabled:hover {
  transform: none;
}

.prompt-result--carousel-invalid .igCarouselBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.prompt-result--phone .prompt-result-actions > .aura-btn,
.prompt-result--phone .prompt-result-actions__duo > .aura-btn,
.prompt-result--phone .prompt-result-actions .postStoryBtn,
.prompt-result--phone .prompt-result-actions .scheduleStoryBtn {
  width: 100%;
  max-width: none;
  flex-basis: auto;
  min-height: 36px;
  padding: 7px 12px;
  font-size: 0.84rem;
}

@media (min-width: 992px) {
  .prompt-result--phone .prompt-result-actions > .aura-btn:not(.aura-btn--icon):not(.aura-btn--icon-mini):not(.aura-btn--sm):not(.aura-btn-100):not(.aura-btn-50):not(.aura-btn-40),
  .prompt-result--phone .prompt-result-actions__duo > .aura-btn:not(.aura-btn--icon):not(.aura-btn--icon-mini):not(.aura-btn--sm):not(.aura-btn-100):not(.aura-btn-50):not(.aura-btn-40) {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }
}
.prompt-result--phone .prompt-result-actions .postBtn,
.prompt-result--phone .prompt-result-actions .igOnlyBtn,
.prompt-result--phone .prompt-result-actions .scheduleBtn,
.prompt-result--phone .prompt-result-actions .postStoryBtn,
.prompt-result--phone .prompt-result-actions .scheduleStoryBtn {
  font-size: 0;
}

.prompt-result--phone .prompt-result-actions .postBtn::after,
.prompt-result--phone .prompt-result-actions .igOnlyBtn::after,
.prompt-result--phone .prompt-result-actions .scheduleBtn::after,
.prompt-result--phone .prompt-result-actions .postStoryBtn::after,
.prompt-result--phone .prompt-result-actions .scheduleStoryBtn::after {
  font-size: 0.84rem;
}

.prompt-result--phone .prompt-result-actions .postBtn::after,
.prompt-result--phone .prompt-result-actions .igOnlyBtn::after,
.prompt-result--phone .prompt-result-actions .postStoryBtn::after {
  content: "Sofort";
}

.prompt-result--phone .prompt-result-actions .scheduleBtn::after,
.prompt-result--phone .prompt-result-actions .scheduleStoryBtn::after {
  content: "Später";
}

.prompt-result--phone .prompt-result-actions__duo {
  display: contents;
}

.prompt-result--phone .prompt-result-schedule,
.prompt-result--phone .prompt-result-link {
  grid-column: 1/-1;
}

.prompt-result-schedule__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
}

.prompt-result-schedule__row .scheduleDate,
.prompt-result-schedule__row .scheduleStoryDate,
.prompt-result-schedule__row .scheduleSaveBtn,
.prompt-result-schedule__row .scheduleStorySaveBtn {
  width: 100%;
}

.prompt-result-post-choice {
  grid-column: 1/-1;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.prompt-result-post-choice.is-visible {
  display: grid;
}

.prompt-result--phone .prompt-result-actions:has(.prompt-result-post-choice.is-visible) > .postBtn,
.prompt-result--phone .prompt-result-actions:has(.prompt-result-post-choice.is-visible) > .igOnlyBtn,
.prompt-result--phone .prompt-result-actions:has(.prompt-result-post-choice.is-visible) > .scheduleBtn,
.prompt-result--phone .prompt-result-actions:has(.prompt-result-post-choice.is-visible) > .postStoryBtn,
.prompt-result--phone .prompt-result-actions:has(.prompt-result-post-choice.is-visible) > .scheduleStoryBtn,
.prompt-result--phone .prompt-result-actions:has(.prompt-result-post-choice.is-visible) > .prompt-result-actions__duo {
  display: none;
}

.prompt-result--phone.prompt-result--single-schedule-open .prompt-result-actions > .postBtn,
.prompt-result--phone.prompt-result--single-schedule-open .prompt-result-actions > .igOnlyBtn,
.prompt-result--phone.prompt-result--single-schedule-open .prompt-result-actions > .postStoryBtn,
.prompt-result--phone.prompt-result--single-schedule-open .prompt-result-actions > .prompt-result-actions__duo {
  display: none;
}

.prompt-result--phone.prompt-result--global-schedule-open .prompt-result-actions > .postBtn,
.prompt-result--phone.prompt-result--global-schedule-open .prompt-result-actions > .igOnlyBtn,
.prompt-result--phone.prompt-result--global-schedule-open .prompt-result-actions > .scheduleBtn,
.prompt-result--phone.prompt-result--global-schedule-open .prompt-result-actions > .postStoryBtn,
.prompt-result--phone.prompt-result--global-schedule-open .prompt-result-actions > .scheduleStoryBtn,
.prompt-result--phone.prompt-result--global-schedule-open .prompt-result-actions > .prompt-result-actions__duo {
  display: none;
}

.prompt-result-post-choice .aura-btn {
  width: 100%;
  min-height: 36px;
  padding: 7px 12px;
  justify-content: center;
  font-size: 0.84rem;
}

.prompt-result--phone .ad-image-selection.prompt-result-inline-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 40;
  width: min(210px, 72%);
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%, -50%);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.prompt-result--phone .ad-image-selection.prompt-result-inline-actions[style*="display:none"],
.prompt-result--phone .ad-image-selection.prompt-result-inline-actions[style*="display: none"] {
  display: none !important;
}

.prompt-result-media-subaction[hidden] {
  display: none !important;
}

.prompt-result-media-group-btn.is-active {
  background: rgba(127, 92, 194, 0.14);
}

.prompt-result-camera-action {
  display: none;
}
@media (max-width: 768px) {
  .prompt-result-camera-action {
    display: inline-flex;
  }
}

.prompt-result--phone .prompt-result-edit-actions {
  border: 0;
  box-shadow: none;
}

.prompt-media-scope-choice {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 60;
  width: min(230px, 76%);
  transform: translate(-50%, -50%);
  display: grid;
  gap: 8px;
  justify-items: stretch;
  pointer-events: auto;
}

.prompt-result__media:has(.prompt-media-scope-choice) .prompt-result-preview__empty {
  display: none !important;
}

.prompt-media-scope-choice__label {
  color: #6f4fa8;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.prompt-media-scope-choice .aura-btn {
  width: 100%;
  justify-content: center;
  pointer-events: auto;
}

/* 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-tabs {
  display: none;
}

.prompt-results-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  row-gap: 20px;
  column-gap: 0;
  align-items: flex-start;
  justify-content: space-evenly;
  width: 100%;
}
@media (min-width: 1400px) {
  .prompt-results-grid {
    row-gap: 24px;
  }
}
@media (max-width: 768px) {
  .prompt-results-grid {
    row-gap: 16px;
  }
}

.prompt-results-grid > .prompt-result--phone {
  flex: 0 0 min(100%, 390px);
  margin-left: 0;
  margin-right: 0;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .prompt-results-grid > .prompt-result--phone {
    flex-basis: min(100%, 350px);
  }
}

.prompt-results-grid > .prompt-carousel-copy-editor-card {
  flex: 0 0 100%;
}

.prompt-carousel-copy-editor__actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 18px;
}

.prompt-results-shell {
  gap: 16px;
}

.prompt-results-intro .aura-form-header {
  justify-items: center;
  gap: 6px;
  margin-top: 0;
  text-align: center;
}

.prompt-results-intro .aura-form-header h2,
.prompt-results-intro .aura-form-header p {
  margin-top: 0;
  margin-bottom: 0;
}

.prompt-results-intro .aura-form-header p {
  max-width: 980px;
  text-align: center;
}

@media (max-width: 992px) {
  .prompt-results-shell {
    gap: 5px;
  }
  .prompt-results-shell > .prompt-results-intro {
    display: none !important;
  }
  .prompt-results-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    gap: 10px;
  }
  .prompt-results-tab {
    width: 100%;
    min-width: 0;
  }
  .prompt-results-grid > .prompt-result[data-prompt-result-panel] {
    display: none;
  }
  .prompt-results-grid {
    row-gap: 26px;
  }
  .prompt-results-grid > .prompt-result[data-prompt-result-panel].is-active {
    display: flex;
  }
  .prompt-result--phone .prompt-result-text,
  .prompt-result--phone-story .storyTextArea {
    font-size: calc(0.85rem - 3px);
    line-height: 1.18;
  }
  .prompt-results-shell .prompt-result-platform-badge {
    display: none !important;
  }
}
@media (max-width: 576px) {
  .prompt-results-shell {
    gap: 13px;
  }
  .prompt-results-tabs {
    gap: 6px;
    margin-top: -8px;
  }
  .prompt-results-grid {
    justify-content: center;
  }
  .prompt-results-grid > .prompt-result--phone {
    flex: 0 0 min(80%, 390px) !important;
    width: min(80%, 390px) !important;
    height: var(--prompt-mobile-phone-height, clamp(320px, 100vh - 255px, 560px)) !important;
    min-height: 0 !important;
    padding-top: 9px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  @supports (height: 100svh) {
    .prompt-results-grid > .prompt-result--phone {
      height: var(--prompt-mobile-phone-height, clamp(320px, 100svh - 255px, 560px)) !important;
    }
  }
  .prompt-results-grid > .prompt-result--phone.prompt-result--text-expanded {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: none !important;
  }
  .prompt-result--phone .prompt-result__media {
    margin-top: 3px;
  }
  .prompt-result--phone::after {
    top: 1px;
  }
  .prompt-result--phone .prompt-result__content,
  .prompt-result--phone-story .prompt-result__content {
    padding-bottom: 6px !important;
  }
  .prompt-result--phone .prompt-result-text,
  .prompt-result--phone-story .storyTextArea {
    padding-bottom: 34px;
  }
  .prompt-result--phone-story .storyTextArea {
    font-size: calc(0.85rem - 4px);
    line-height: 1.12;
  }
  .prompt-result--phone-story .story-text-overlay {
    font-size: 0.74em;
    line-height: 1.1;
    padding: 7px;
  }
  .prompt-result--phone .prompt-result-text-tools {
    bottom: 0;
  }
  .prompt-result--phone-story .prompt-story-editor__controls {
    bottom: 0;
  }
  .prompt-result-schedule > label,
  .schedule-story-container > label {
    display: none;
  }
  .prompt-result-schedule__row,
  .prompt-result-actions > .global-schedule-container.prompt-result-schedule {
    grid-template-columns: 1fr;
  }
  .prompt-result-schedule__row .scheduleDate,
  .prompt-result-schedule__row .scheduleStoryDate,
  .prompt-result-actions > .global-schedule-container.prompt-result-schedule .globalScheduleDate {
    width: 100%;
    min-width: 0;
  }
}
.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__hint {
  width: 100%;
  margin: 0;
}

.prompt-results-footer {
  display: grid;
  gap: 12px;
}

.prompt-results-footer--hidden {
  display: none;
}

.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;
}

.prompt-result-actions > .global-schedule-container.prompt-result-schedule {
  grid-column: 1/-1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
  align-items: center;
  justify-items: stretch;
}

.prompt-result-actions > .global-schedule-container.prompt-result-schedule label {
  display: none;
}

.prompt-result-actions > .global-schedule-container.prompt-result-schedule .globalScheduleDate,
.prompt-result-actions > .global-schedule-container.prompt-result-schedule .globalScheduleSaveBtn {
  width: 100%;
}

.global-schedule-container.prompt-result-schedule .globalScheduleDate {
  width: min(320px, 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 {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

#form-content + .form-submit-area {
  margin-top: 12px;
}

.form-submit-area > .aura-btn {
  flex: 1 1 0;
  width: auto;
  justify-content: center;
}

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

.form-submit-area > .aura-btn[style*="display: none"] {
  display: none !important;
}

@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;
}
@media (max-width: 576px) {
  .prompt-results-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.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));
}
@media (max-width: 576px) {
  .prompt-results-gallery-grid.website-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.global-image-galleries.prompt-results-galleries {
  display: grid;
  gap: 16px;
}

.global-gallery,
.global-website-gallery {
  overflow: hidden;
}

.gallery-page .aura-image-prompt,
.gallery-page .aura-image-prompt fieldset,
.gallery-page .formular-website-bildeinstellungen,
.gallery-page .aura-form-grid-field {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.gallery-page .aura-image-prompt fieldset {
  margin: 0 0 24px !important;
  padding: 0;
  border: 0;
}

.gallery-page .formular-website-bildeinstellungen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.gallery-page .aura-form-grid-field--wide {
  grid-column: 1/-1;
}

.gallery-page .aura-form-grid-field label {
  margin: 0;
  color: #2f2a3a;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .gallery-page .formular-website-bildeinstellungen {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .gallery-page .aura-image-prompt fieldset {
    margin-bottom: 18px !important;
  }
  .gallery-page .aura-form-grid-field label {
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
}
.prompt-gallery-tabs h3,
.prompt-results-panel__header h3 {
  margin: 0;
  color: #2d243d;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
}

.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;
  }
}

body > h1.white {
  display: none;
}

#prompt-page-config {
  display: none !important;
  position: fixed !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

@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:not(.prompt-result--phone),
  .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;
}

.page-shell--embedded.auto-task-edit-page {
  padding: 0;
  background: transparent;
  overflow: hidden;
}
.page-shell--embedded.auto-task-edit-page .page-shell__inner,
.page-shell--embedded.auto-task-edit-page .page-grid,
.page-shell--embedded.auto-task-edit-page .page-stack,
.page-shell--embedded.auto-task-edit-page .auto-task-shell-card,
.page-shell--embedded.auto-task-edit-page .formular-autotaks,
.page-shell--embedded.auto-task-edit-page .formular-autotaks-zeitsteuerung,
.page-shell--embedded.auto-task-edit-page .auto-task-shell-card > .aura-card__body {
  width: 100%;
  max-width: none;
  margin: 0;
}
.page-shell--embedded.auto-task-edit-page .auto-task-shell-card {
  padding: 0;
  border: 0;
  background: transparent;
}
.page-shell--embedded.auto-task-edit-page .auto-task-shell-card > .aura-card__body {
  padding: 0;
}

.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;
  }
}

.auto-task-schedule-fieldset {
  display: grid;
  gap: 22px;
  width: 100%;
  margin: 0;
  padding: 24px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #ffffff;
}

.page-shell--embedded.auto-task-edit-page .auto-task-schedule-fieldset {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: none;
  min-inline-size: 0;
  margin: 0;
  padding: 18px 20px;
}

.auto-task-schedule-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.auto-task-schedule-head legend {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .auto-task-schedule-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.auto-task-active-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #6f6780;
  font-size: 0.92rem;
}

.auto-task-schedule-grid {
  display: grid;
  gap: 20px;
}

.auto-task-schedule-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.auto-task-schedule-field--wide {
  width: 100%;
}

.auto-task-schedule-label {
  color: #2f2a3a;
  font-weight: 600;
}

.auto-task-weekday-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 992px) {
  .auto-task-weekday-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .auto-task-weekday-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.auto-task-weekday-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #ffffff;
}

.auto-task-weekday-option .aura-form-check-input {
  flex: 0 0 auto;
  margin: 0;
}

.auto-task-schedule-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 768px) {
  .auto-task-schedule-meta {
    grid-template-columns: 1fr;
  }
}

.auto-task-schedule-field--end-date {
  max-width: 420px;
}

.auto-task-actions.formular-autotaks-absenden {
  justify-content: flex-end;
}

.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: var(--aura-font-weight-medium);
  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: 992px) {
  .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-bottom-clearance: 96px;
  --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;
  --aura-mobile-header-height: 60px;
  --aura-upgrade-bar-height: 58px;
}

body.aura-sidebar-collapsed {
  padding-left: var(--aura-sidebar-collapsed-width);
}
@media (max-width: 992px) {
  body.aura-sidebar-collapsed {
    padding-left: 0;
  }
}

.aura-mobile-header {
  display: none;
}
@media (max-width: 992px) {
  .aura-mobile-header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--aura-mobile-header-height);
    background: var(--aura-sidebar-surface);
    border-bottom: 4px solid var(--aura-sidebar-border);
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 1100;
    box-shadow: none;
  }
}
@media (max-width: 768px) {
  .aura-mobile-header {
    height: var(--aura-mobile-header-height);
    padding: 0 10px;
    border-bottom-width: 4px;
    gap: 8px;
  }
}

.aura-upgrade-bar {
  position: relative;
  z-index: 900;
  margin-left: 0;
  padding: 12px 32px 6px;
  background: transparent;
  color: #2d243d;
}
@media (max-width: 992px) {
  .aura-upgrade-bar {
    margin-left: 0;
    margin-top: 0;
    padding: 4px 12px 8px;
  }
}

body.aura-sidebar-collapsed .aura-upgrade-bar {
  margin-left: 0;
}
@media (max-width: 992px) {
  body.aura-sidebar-collapsed .aura-upgrade-bar {
    margin-left: 0;
  }
}

.aura-upgrade-bar__inner {
  max-width: none;
  margin: 0;
  min-height: 52px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
@media (max-width: 768px) {
  .aura-upgrade-bar__inner {
    padding: 0;
    display: grid;
    justify-items: center;
    gap: 7px;
  }
}

.aura-upgrade-bar__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--aura-sidebar-accent-soft);
  color: var(--aura-sidebar-accent);
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .aura-upgrade-bar__icon {
    display: none;
  }
}

.aura-upgrade-bar__text {
  min-width: 0;
  flex: 0 1 auto;
  display: grid;
  gap: 2px;
  font-size: 0.9rem;
  line-height: 1.25;
}
.aura-upgrade-bar__text strong {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff4cf;
  font-weight: var(--aura-font-weight-strong);
  color: #62470f;
  font-size: 0.76rem;
  line-height: 1;
}
.aura-upgrade-bar.is-expired .aura-upgrade-bar__text strong {
  background: #ffe2e2;
  color: #b42323;
}
.aura-upgrade-bar__text span {
  color: #6f6780;
}
@media (max-width: 768px) {
  .aura-upgrade-bar__text {
    justify-items: center;
    text-align: center;
    font-size: 0.8rem;
  }
}

.aura-upgrade-bar__button {
  margin-left: 4px;
}
@media (max-width: 768px) {
  .aura-upgrade-bar__button {
    width: 100%;
    max-width: 180px;
    min-height: 34px;
    margin-left: 0;
    padding: 0 10px;
    font-size: 0.78rem;
    justify-content: center;
  }
}

.aura-sidebar__panel {
  display: contents;
}
@media (max-width: 992px) {
  .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: 992px) {
  .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-text {
  font-size: 1.2rem;
  font-weight: var(--aura-font-weight-medium);
  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: 992px) {
  .aura-sidebar__toggle {
    position: static;
    z-index: auto;
  }
}

.aura-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: calc(var(--aura-sidebar-bottom-clearance) + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 992px) {
  .aura-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0 calc(var(--aura-sidebar-bottom-clearance) + env(safe-area-inset-bottom, 0px));
    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 calc(var(--aura-sidebar-bottom-clearance) + 18px + env(safe-area-inset-bottom, 0px));
  }
  .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: 992px) {
  .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--master {
  background: #fef9ee;
  border-color: rgba(245, 185, 67, 0.45);
}
@media (max-width: 992px) {
  .aura-sidebar__group--master {
    background: #fef9ee;
    border-color: rgba(245, 185, 67, 0.45);
  }
}

.aura-sidebar__customer-switcher {
  display: grid;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.aura-sidebar__customer-switcher-field {
  display: grid;
  gap: 6px;
  margin: 0;
}

.aura-sidebar__customer-switcher-field span {
  color: #6f4fa8;
  font-size: 0.82rem;
  font-weight: var(--aura-font-weight-medium);
}

.aura-sidebar__customer-switcher-field select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(111, 84, 154, 0.18);
  border-radius: 12px;
  background: #ffffff;
  color: #2d243d;
  font-size: 0.9rem;
  font-weight: var(--aura-font-weight-medium);
}

.aura-sidebar__customer-switcher-current {
  min-width: 0;
  overflow: hidden;
  color: #6b5a87;
  font-size: 0.76rem;
  font-weight: var(--aura-font-weight-medium);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aura-sidebar__trial {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(27, 120, 92, 0.18);
  border-radius: 16px;
  background: rgba(27, 120, 92, 0.08);
  color: #1b785c;
  text-align: center;
}
@media (max-width: 992px) {
  .aura-sidebar__trial {
    margin: 0 16px;
  }
}
@media (max-width: 768px) {
  .aura-sidebar__trial {
    margin: 0 12px;
  }
}

.aura-sidebar__trial.is-expired {
  border-color: rgba(210, 42, 42, 0.2);
  background: rgba(210, 42, 42, 0.08);
  color: #b42323;
}

.aura-sidebar__trial span {
  font-size: 0.78rem;
  font-weight: var(--aura-font-weight-strong);
}

.aura-sidebar__trial strong {
  font-size: 0.9rem;
}

.aura-sidebar__trial-button {
  width: min(100%, 220px);
  min-height: 32px;
  margin: 0 auto;
  justify-content: center;
  font-size: 0.78rem;
}

.aura-customer-switcher-menu .aura-select__option {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-wrap: normal;
}

.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: rgba(127, 92, 194, 0.22);
  color: #6f4fa8;
  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: 992px) {
  .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: 992px) {
  .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;
}

.aura-sidebar__link.active .aura-sidebar__link-icon {
  background: #f6f1ff;
  color: #7f5cc2;
}

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,
body.aura-sidebar-collapsed .aura-sidebar__group-toggle > span:last-child {
  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__customer-switcher {
  padding: 0;
}

body.aura-sidebar-collapsed .aura-sidebar__customer-switcher-field span,
body.aura-sidebar-collapsed .aura-sidebar__customer-switcher-current,
body.aura-sidebar-collapsed .aura-sidebar__trial {
  display: none;
}

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: 992px) {
  .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: 992px) {
  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: 992px) {
  .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;
  }
}

.aura-mobile-header .aura-sidebar__brand {
  gap: 8px;
}
@media (max-width: 768px) {
  .aura-mobile-header .aura-sidebar__brand {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .aura-mobile-header .aura-sidebar__brand-text {
    font-size: 1rem;
  }
}

.aura-mobile-header .aura-sidebar__brand-wordmark {
  height: 20px;
}
@media (max-width: 768px) {
  .aura-mobile-header .aura-sidebar__brand-wordmark {
    height: 20px;
  }
}

@media (max-width: 768px) {
  .aura-sidebar__brand-mark,
  .aura-sidebar__brand-logo,
  .aura-sidebar__toggle {
    height: 34px;
  }
}

.aura-mobile-header .aura-sidebar__brand-logo {
  height: 22px;
}
@media (max-width: 768px) {
  .aura-sidebar__brand-logo {
    height: 22px;
  }
}

@media (max-width: 768px) {
  .aura-sidebar__brand-mark,
  .aura-sidebar__toggle {
    width: 34px;
    border-radius: 10px;
  }
}

@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 {
  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: none;
  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: #fff;
  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-start;
  gap: 10px;
  margin-top: 18px;
}
.confirm-modal__actions > .aura-btn {
  flex: 0 1 calc(50% - 5px);
  width: auto;
}
@media (min-width: 992px) {
  .confirm-modal__actions > .aura-btn:not(.aura-btn--icon):not(.aura-btn--icon-mini),
  .confirm-modal__actions > .aura-btn:not(.aura-btn--icon):not(.aura-btn--icon-mini):not(.aura-btn--sm):not(.aura-btn-100):not(.aura-btn-50):not(.aura-btn-40) {
    flex: 0 1 calc(50% - 5px);
    width: calc(50% - 5px);
    max-width: none;
  }
}
@media (max-width: 768px) {
  .confirm-modal__actions {
    flex-direction: row;
    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;
}

.auth-body {
  padding-left: 0;
  padding-top: 0;
  background: #efe7ff;
}

.auth-page {
  min-height: 100vh;
  padding: 24px;
  align-items: center;
  justify-content: center;
  background: #efe7ff;
}

.auth-page__inner {
  width: min(100%, 448px);
  margin: 0 auto;
}

.auth-dialog {
  width: 100%;
  border-radius: 14px;
  border-color: rgba(221, 214, 234, 0.75);
  background: #ffffff;
}

.auth-dialog > .aura-card__body {
  padding: 26px 24px;
}

.auth-brand {
  position: fixed;
  top: 28px;
  left: 34px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  text-align: left;
}

.auth-brand__kicker {
  display: none;
}

.auth-brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
}

.auth-brand__icon {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
}

.auth-brand__wordmark {
  width: 104px;
  max-width: 42vw;
  display: block;
}

.auth-dialog__content {
  display: grid;
  gap: 14px;
}

.auth-dialog__content h1 {
  margin: 0;
  color: #2d243d;
  font-size: 1.18rem;
  line-height: 1.25;
  text-align: left;
}

.auth-dialog__content p {
  margin: 0;
  color: #6f6780;
  line-height: 1.55;
  text-align: center;
}

.auth-dialog__content .auth-login-subtitle {
  margin-top: -8px;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: left;
}

.auth-dialog__content .auth-form-hint {
  margin-top: -4px;
  text-align: center;
}

.auth-dialog__content .aura-form-section {
  gap: 18px;
}

.auth-dialog__content .aura-form-label {
  display: grid;
  gap: 7px;
  width: 100%;
}

.auth-dialog__content .aura-form-label > span:not(.auth-sr-only) {
  color: #2d243d;
  font-size: 0.86rem;
  font-weight: var(--aura-font-weight-medium);
  line-height: 1.25;
}

.auth-dialog__content .auth-password-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-dialog__content .auth-password-label a {
  color: #6f6780;
  font-size: 0.82rem;
  font-weight: var(--aura-font-weight-normal);
  text-decoration: none;
}

.auth-dialog__content .auth-password-label a:hover {
  color: #7f5cc2;
  text-decoration: underline;
}

.auth-dialog__content .auth-field {
  margin-bottom: 0;
}

.auth-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-dialog__content .aura-form-input {
  min-height: 38px;
  border-radius: 8px;
  border-color: rgba(127, 92, 194, 0.18);
  background: #ffffff;
  box-shadow: none;
}

.auth-dialog__content .aura-form-input:focus {
  border-color: rgba(127, 92, 194, 0.18);
  background: #ffffff;
  box-shadow: none;
}

.auth-password-control {
  position: relative;
  display: block;
}

.auth-password-control .aura-form-input {
  padding-right: 48px;
}

.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #7f5cc2;
  font: inherit;
  font-size: 0.82rem;
  font-weight: var(--aura-font-weight-medium);
  cursor: pointer;
}

.auth-password-toggle i {
  pointer-events: none;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus {
  color: #6f4fa8;
  background: #efe7ff;
  outline: none;
}

.auth-remember {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 9px;
  color: #2d243d;
  font-size: 0.9rem;
  line-height: 1.25;
}

.auth-remember input {
  width: 16px;
  height: 16px;
  accent-color: #7f5cc2;
}

.auth-login-submit {
  min-height: 40px;
  border-radius: 8px;
  background: #7f5cc2;
  color: #ffffff;
  border-color: #7f5cc2;
}

.auth-login-submit:hover,
.auth-login-submit:focus {
  background: #6f4fa8;
  color: #ffffff;
  border-color: #6f4fa8;
}

.auth-dialog__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.auth-register-note {
  align-items: center;
  color: #6f6780;
  font-size: 0.88rem;
}

.auth-register-note a {
  color: #7f5cc2;
  font-weight: var(--aura-font-weight-medium);
  text-decoration: none;
}

.auth-register-note a:hover {
  color: #6f4fa8;
  text-decoration: underline;
}

.auth-success-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(47, 166, 106, 0.28);
  border-radius: 10px;
  background: #e9f8f0;
  color: #1b5e3c;
}

.auth-success-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 999px;
  background: rgba(47, 166, 106, 0.14);
  color: #2fa66a;
  font-size: 0.82rem;
}

.auth-success-card__content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.auth-success-card__content strong {
  color: #164f32;
  font-size: 0.94rem;
  line-height: 1.28;
}

.auth-dialog__content .auth-success-card__content p,
.auth-success-card__content small {
  margin: 0;
  color: #1b5e3c;
  font-size: 0.84rem;
  line-height: 1.4;
  text-align: left;
}

.auth-success-card__content small {
  color: #6f6780;
}

.auth-dialog__content .auth-success-hint {
  margin: -4px 0 0;
  color: #6f6780;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: left;
}

.auth-hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.backend-auth-security-form {
  display: grid;
  grid-template-columns: 140px minmax(180px, 1fr) minmax(220px, 1.2fr) auto;
  align-items: end;
  gap: 14px;
}

.backend-auth-security-form .aura-form-label {
  margin: 0;
}

.backend-auth-security-form .aura-btn {
  min-height: 44px;
  align-self: end;
}

.customer-invoices-page h2,
.customer-invoices-page h3 {
  margin: 0 0 10px;
}

.customer-invoices-muted {
  margin: 8px 0 0;
  color: #6f6780;
  font-size: 0.9rem;
  line-height: 1.45;
}

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

.customer-invoices-form {
  gap: 14px;
}

.customer-invoices-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2d243d;
  font-size: 0.93rem;
  line-height: 1.4;
}

.customer-invoices-check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: #7f5cc2;
}

.customer-invoices-actions,
.customer-invoices-row-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-invoices-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.customer-invoices-table {
  min-width: 780px;
}

.customer-invoices-table th:last-child,
.customer-invoices-table td:last-child {
  width: 190px;
}

.aura-upgrade-page__intro {
  display: grid;
  gap: 10px;
}
.aura-upgrade-page__intro h2,
.aura-upgrade-page__intro p {
  margin: 0;
}
.aura-upgrade-page__intro p {
  color: #6f6780;
  line-height: 1.5;
}

.aura-upgrade-success .aura-card__body {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(47, 166, 106, 0.22);
  border-radius: 8px;
  background: #e2f6eb;
  color: #2fa66a;
}
.aura-upgrade-success .aura-card__body strong {
  color: #2fa66a;
}
.aura-upgrade-success .aura-card__body span {
  color: #2f2a3a;
  line-height: 1.45;
}

.aura-upgrade-billing {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: flex-start;
  gap: 6px;
  padding: 6px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #ffffff;
}
.aura-upgrade-billing input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.aura-upgrade-billing label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 7px;
  color: #6f6780;
  font-weight: var(--aura-font-weight-strong);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.aura-upgrade-billing label span {
  color: #2fa66a;
  font-size: 0.78rem;
}
.aura-upgrade-billing #auraBillingMonthly:checked + label {
  background: #f8f5ff;
  color: #7f5cc2;
}
.aura-upgrade-billing #auraBillingAnnual:checked + label {
  background: #d0f0df;
  color: #2fa66a;
}

.aura-upgrade-page__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.aura-upgrade-plan {
  --aura-upgrade-accent: #7f5cc2;
  --aura-upgrade-accent-soft: #efe7ff;
}

.aura-upgrade-page:has(#auraBillingAnnual:checked) .aura-upgrade-plan {
  --aura-upgrade-accent: #2fa66a;
  --aura-upgrade-accent-soft: #49c784;
}

.aura-upgrade-plan__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.aura-upgrade-plan__head h3 {
  margin: 0;
}
.aura-upgrade-plan__head span {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--aura-upgrade-accent-soft) 22%, #fff);
  color: var(--aura-upgrade-accent);
  font-size: 0.76rem;
  font-weight: var(--aura-font-weight-strong);
}

.aura-upgrade-plan__description {
  min-height: 62px;
  margin: 0 0 16px;
  color: #6f6780;
  line-height: 1.45;
}

.aura-upgrade-plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  color: var(--aura-upgrade-accent);
}
.aura-upgrade-plan__price em {
  flex-basis: 100%;
  color: var(--aura-upgrade-accent);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: var(--aura-font-weight-strong);
}
.aura-upgrade-plan__price strong {
  font-size: 2rem;
  font-weight: var(--aura-font-weight-strong);
  line-height: 1;
}
.aura-upgrade-plan__price span {
  color: #6f6780;
  font-size: 0.85rem;
  font-weight: var(--aura-font-weight-regular);
}
.aura-upgrade-plan__price del {
  color: #6f6780;
  font-size: 0.95rem;
}
.aura-upgrade-plan__price small {
  flex-basis: 100%;
  color: #6f6780;
  font-size: 0.78rem;
}

.aura-upgrade-plan__price--annual {
  display: none;
}

.aura-upgrade-page:has(#auraBillingAnnual:checked) .aura-upgrade-plan__price--monthly {
  display: none;
}
.aura-upgrade-page:has(#auraBillingAnnual:checked) .aura-upgrade-plan__price--annual {
  display: flex;
}

.aura-upgrade-plan__feature-groups {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.aura-upgrade-plan__feature-group {
  display: grid;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}
.aura-upgrade-plan__feature-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 12px;
  color: var(--aura-upgrade-accent);
  font-size: 0.92rem;
  font-weight: var(--aura-font-weight-strong);
  cursor: pointer;
  list-style: none;
}
.aura-upgrade-plan__feature-group summary::-webkit-details-marker {
  display: none;
}
.aura-upgrade-plan__feature-group summary i {
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}
.aura-upgrade-plan__feature-group[open] {
  border-color: color-mix(in srgb, var(--aura-upgrade-accent) 34%, #fff);
  background: color-mix(in srgb, var(--aura-upgrade-accent-soft) 14%, #fff);
}
.aura-upgrade-plan__feature-group[open] summary i {
  transform: rotate(180deg);
}

.aura-upgrade-plan__features {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0 12px 12px;
  list-style: none;
}
.aura-upgrade-plan__features li {
  position: relative;
  padding-left: 20px;
  color: #2f2a3a;
  line-height: 1.35;
}
.aura-upgrade-plan__features li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aura-upgrade-accent);
}

.aura-upgrade-plan__button {
  width: 100%;
  min-width: 100%;
  justify-content: center;
  border-color: color-mix(in srgb, var(--aura-upgrade-accent) 28%, #fff);
  background: color-mix(in srgb, var(--aura-upgrade-accent-soft) 36%, #fff);
  color: var(--aura-upgrade-accent);
}
.aura-upgrade-plan__button:hover, .aura-upgrade-plan__button:focus, .aura-upgrade-plan__button:active {
  border-color: color-mix(in srgb, var(--aura-upgrade-accent) 42%, #fff);
  background: color-mix(in srgb, var(--aura-upgrade-accent-soft) 52%, #fff);
  color: var(--aura-upgrade-accent);
}

.aura-upgrade-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.aura-upgrade-modal.is-open {
  display: flex;
}

.aura-upgrade-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 36, 61, 0.42);
}

.aura-upgrade-modal__card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #ffffff;
}
.aura-upgrade-modal__card h2 {
  margin: 0;
  padding-right: 36px;
  color: #2d243d;
  font-size: 1.35rem;
}

.aura-upgrade-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #ffffff;
  color: #7f5cc2;
  cursor: pointer;
}

.aura-upgrade-modal__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #fbf8ff;
}
.aura-upgrade-modal__summary strong,
.aura-upgrade-modal__summary b {
  color: #7f5cc2;
}
.aura-upgrade-modal__summary span {
  text-align: right;
}
.aura-upgrade-modal__summary small {
  color: #6f6780;
  font-weight: var(--aura-font-weight-regular);
}

.aura-upgrade-modal__legal {
  display: grid;
  gap: 10px;
}
.aura-upgrade-modal__legal p {
  margin: 0;
  color: #6f6780;
  line-height: 1.45;
}
.aura-upgrade-modal__legal label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  background: #ffffff;
  color: #2f2a3a;
  line-height: 1.4;
}
.aura-upgrade-modal__legal input {
  margin-top: 3px;
}
.aura-upgrade-modal__legal a {
  color: #7f5cc2;
  font-weight: var(--aura-font-weight-strong);
}

.aura-upgrade-modal__status {
  min-height: 22px;
  color: #6f6780;
  line-height: 1.4;
}
.aura-upgrade-modal__status.is-error {
  color: #d9534f;
}
.aura-upgrade-modal__status.is-success {
  color: #2fa66a;
}

.aura-upgrade-modal__buttons {
  min-height: 48px;
}
.aura-upgrade-modal__buttons.is-hidden {
  display: none;
}

.aura-upgrade-modal__loading {
  padding: 12px;
  border: 1px solid #e9e1f4;
  border-radius: 8px;
  color: #6f6780;
  text-align: center;
}

@media (max-width: 576px) {
  .auth-page {
    padding: 80px 12px 18px;
  }
  .auth-brand {
    top: 22px;
    left: 18px;
  }
  .auth-brand__icon {
    width: 30px;
    height: 30px;
  }
  .auth-brand__wordmark {
    width: 94px;
  }
  .auth-dialog__content h1 {
    font-size: 1.3rem;
  }
  .backend-auth-security-form {
    grid-template-columns: 1fr;
  }
  .customer-invoices-grid {
    grid-template-columns: 1fr;
  }
  .customer-invoices-row-actions .aura-btn {
    width: 100%;
    justify-content: center;
  }
  .aura-upgrade-page__plans {
    grid-template-columns: 1fr;
  }
  .aura-upgrade-billing {
    width: 100%;
  }
  .aura-upgrade-billing label {
    padding-inline: 8px;
  }
  .aura-upgrade-plan__description {
    min-height: 0;
  }
  .aura-upgrade-modal {
    align-items: flex-end;
    padding: 10px;
  }
  .aura-upgrade-modal__card {
    max-height: calc(100vh - 20px);
    padding: 18px;
  }
  .aura-upgrade-modal__summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .aura-upgrade-modal__summary span {
    text-align: left;
  }
}
.ci-panel {
  display: grid;
  gap: 10px;
}

.ci-panel > .status-box {
  margin-bottom: 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: 420px;
  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 #dadde1;
  border-radius: 8px;
  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 6px;
  align-items: flex-start;
}
@media (max-width: 576px) {
  .fb-ad-header {
    padding: 10px 10px 8px;
  }
}

.fb-ad-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #d94f97;
  flex: 0 0 38px;
}

.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 8px;
  background: #fff;
}

.fb-ad-text {
  font-size: 13px;
  color: #1c1e21;
  line-height: 1.32;
  white-space: pre-wrap;
}

#fbPrimaryText {
  display: block;
  line-height: 1.32;
  overflow: hidden;
  max-height: none;
}

#fbPrimaryText.fb-clamp {
  display: -webkit-box;
  max-height: 5.25em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

#fbMoreToggle {
  color: #65676b;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  margin-top: 2px;
  white-space: nowrap;
  display: none;
}

#fbMoreToggle:hover {
  text-decoration: underline;
}

.fb-ad-media {
  position: relative;
  min-height: 220px;
  width: 100%;
  background: #f0f2f5;
}

.fb-ad-media img,
.fb-ad-media video {
  width: 100%;
  display: block;
  aspect-ratio: 1/1; /* z.B. 1.91 / 1 fÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¼r Link-Ad */
  object-fit: cover;
  background: #f0f2f5;
}

.fb-ad-media video {
  display: none;
}

.fb-ad-media-edit-item {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fb-ad-media-edit-item .fb-ad-media {
  width: 100%;
}

.fb-ad-media-edit-item .fb-ad-media img,
.fb-ad-media-edit-item .fb-ad-media video {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.fb-ad-media-edit-toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 6;
  width: 34px;
  height: 34px;
}

.fb-ad-media-edit-actions {
  display: none;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid #dadde1;
}

.fb-ad-media-edit-item.is-editing .fb-ad-media-edit-actions {
  display: flex;
  flex-direction: column;
}

.fb-ad-media-edit-item.is-editing .fb-ad-media-edit-toggle {
  display: none;
}

.fb-ad-media-edit-actions .aura-btn {
  width: 100%;
  justify-content: center;
}

.fb-ad-media-edit-actions .editPromptContainer,
.fb-ad-media-edit-actions .video-confirm-inline-container,
.fb-ad-media-edit-actions .voice-inline-container {
  display: none;
}

.fb-ad-media-edit-item:not(.is-image-media) .fb-ad-image-action,
.fb-ad-media-edit-item:not(.is-video-media) .fb-ad-video-action {
  display: none !important;
}

.fb-ad-media-picker,
.fb-ad-media .ad-image-selection--ads-preview {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
  background: rgba(240, 242, 245, 0.86);
}

.fb-ad-media-picker.has-media {
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.fb-ad-media-picker.is-choosing {
  display: none;
}

.fb-ad-media:hover .fb-ad-media-picker.has-media,
.fb-ad-media:focus-within .fb-ad-media-picker.has-media {
  opacity: 1;
  pointer-events: auto;
}

.fb-ad-media-picker__empty {
  color: #65676b;
  font-size: 13px;
  font-weight: 600;
}

.fb-ad-media .ad-image-selection--ads-preview {
  width: min(210px, 72%);
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.fb-ad-media .ad-image-selection--ads-preview[style*="display:none"],
.fb-ad-media .ad-image-selection--ads-preview[style*="display: none"] {
  display: none !important;
}

.fb-ad-media .ad-image-selection--ads-preview .aura-btn[hidden],
.fb-ad-media .ad-image-selection--ads-preview .prompt-result-media-subaction[hidden],
.fb-ad-media .ad-image-selection--ads-preview .prompt-result-media-group-btn[hidden] {
  display: none !important;
}

.fb-ad-linkblock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #dadde1;
  padding: 10px 12px;
  background: #f0f2f5;
}
@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: 10px;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fb-ad-headline {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 600;
  color: #1c1e21;
  line-height: 1.2;
}

.fb-ad-desc {
  margin-top: 3px;
  font-size: 12px;
  color: #6b6b6b;
  line-height: 1.2;
}

.fb-ad-cta-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
}
@media (max-width: 576px) {
  .fb-ad-cta-row {
    margin-top: 0;
    justify-content: flex-start;
  }
}

.fb-ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 104px;
  min-height: 36px;
  background: #e4e6eb;
  border: 0;
  padding: 0 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #050505;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: none;
}

.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: 8px 0;
  border-top: 1px solid #dadde1;
  background: #fff;
}
@media (max-width: 576px) {
  .fb-ad-actions {
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: center;
    padding: 10px;
  }
}

.fb-ad-action {
  font-size: 12px;
  color: #65676b;
  font-weight: 600;
}

@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: 10px;
  }
}

.index-page .page-shell__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  width: 100%;
  gap: 26px;
  align-items: start;
}
@media (max-width: 768px) {
  .index-page .page-shell__inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .index-page .page-shell__inner {
    gap: 16px;
  }
}

.index-page .page-shell__inner > * {
  min-width: 0;
  order: 10;
}

.index-page .page-shell__inner > section:not(.aura-card-grid) {
  padding: 22px;
  border: 1px solid rgba(127, 92, 194, 0.14);
  border-radius: 18px;
  background: #ffffff;
}
@media (max-width: 576px) {
  .index-page .page-shell__inner > section:not(.aura-card-grid) {
    padding: 10px;
  }
}

.index-page .page-shell__inner > section:not(.aura-card-grid) .aura-card-grid {
  grid-template-columns: 1fr !important;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .index-latest-media-section {
    grid-column: 1/-1;
  }
}

.index-page .aura-card-grid > .aura-card,
.index-page .aura-card-grid > a.aura-card {
  min-width: 0;
}

.index-page .aura-card {
  border: 1px solid rgba(127, 92, 194, 0.14);
}

.index-workflow-overview {
  grid-column: 1/-1;
  order: 0;
  position: relative;
}

.index-starter-series-card {
  grid-column: 1/-1;
  order: 1;
}

.index-starter-series-card .index-starter-series {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.index-weekly-marketing-tip {
  grid-column: 1/-1;
  order: 2;
  position: relative;
  overflow: hidden;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.index-weekly-marketing-tip > .aura-card__body {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.index-weekly-marketing-tip.is-completed {
  border-color: rgba(31, 158, 96, 0.35);
  background: rgba(232, 250, 241, 0.96);
  box-shadow: none;
}

.index-weekly-marketing-tip.is-rewarding::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-conic-gradient(from 18deg at 18% 28%, transparent 0deg 14deg, rgba(31, 158, 96, 0.95) 15deg 18deg, transparent 19deg 32deg), repeating-conic-gradient(from 8deg at 72% 24%, transparent 0deg 12deg, rgba(127, 92, 194, 0.9) 13deg 16deg, transparent 17deg 30deg), repeating-conic-gradient(from 24deg at 44% 66%, transparent 0deg 13deg, rgba(255, 190, 70, 0.95) 14deg 17deg, transparent 18deg 31deg), repeating-conic-gradient(from 2deg at 84% 72%, transparent 0deg 12deg, rgba(31, 158, 96, 0.85) 13deg 16deg, transparent 17deg 30deg), radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px), radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px), radial-gradient(circle at 44% 66%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px), radial-gradient(circle at 84% 72%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px);
  background-size: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  background-repeat: no-repeat;
  animation: weekly-tip-firework 2.5s ease-out both;
}

.index-weekly-marketing-tip__head,
.index-weekly-marketing-tip__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.index-weekly-marketing-tip__week {
  color: #6f6780;
  font-size: 0.82rem;
  font-weight: var(--aura-font-weight-strong);
}

.index-weekly-marketing-tip__reward {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(31, 158, 96, 0.28);
  border-radius: 999px;
  background: rgba(232, 250, 241, 0.92);
  color: #177348;
  font-size: 0.9rem;
  font-weight: var(--aura-font-weight-medium);
}

.index-weekly-marketing-tip__reward[hidden] {
  display: none;
}

.index-weekly-marketing-tip__reward i {
  color: #1f9e60;
}

.index-weekly-marketing-tip__content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 768px) {
  .index-weekly-marketing-tip__content {
    grid-template-columns: 1fr;
  }
}

.index-weekly-marketing-tip__main {
  display: grid;
  gap: 10px;
}

.index-weekly-marketing-tip__main h2 {
  margin: 0;
  color: #2d243d;
  font-size: 1.35rem;
  font-weight: var(--aura-font-weight-medium);
  line-height: 1.25;
}

.index-weekly-marketing-tip__main p {
  margin: 0;
  color: #403557;
  line-height: 1.5;
}

.index-weekly-marketing-tip__main-cta {
  display: grid;
  gap: 5px;
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(127, 92, 194, 0.14);
  border-radius: 14px;
  background: #f9f5ff;
}

.index-weekly-marketing-tip__main-cta strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2d243d;
  font-size: 0.88rem;
  font-weight: var(--aura-font-weight-medium);
}

.index-weekly-marketing-tip__main-cta strong i {
  color: #7f5cc2;
}

.index-weekly-marketing-tip__main-cta span {
  color: #403557;
  font-size: 0.92rem;
  line-height: 1.4;
}

.index-weekly-marketing-tip__ideas {
  display: grid;
  gap: 10px;
}

.index-weekly-marketing-tip__ideas section {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(127, 92, 194, 0.14);
  border-radius: 14px;
  background: #f9f5ff;
}

.index-weekly-marketing-tip__ideas strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2d243d;
  font-size: 0.88rem;
  font-weight: var(--aura-font-weight-medium);
}

.index-weekly-marketing-tip__ideas strong i {
  color: #7f5cc2;
}

.index-weekly-marketing-tip__ideas span {
  color: #403557;
  font-size: 0.92rem;
  line-height: 1.4;
}

.index-weekly-marketing-tip__series p {
  margin: 0;
  color: #403557;
  font-size: 0.9rem;
  line-height: 1.35;
}

.index-weekly-marketing-tip__idea-action {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.index-weekly-marketing-tip [data-weekly-tip-action].is-weekly-tip-action-completed {
  border-color: rgba(47, 166, 106, 0.28) !important;
  background: rgba(47, 166, 106, 0.14) !important;
  color: #2fa66a !important;
  box-shadow: none;
}

.index-weekly-marketing-tip [data-weekly-tip-action].is-weekly-tip-action-completed:hover,
.index-weekly-marketing-tip [data-weekly-tip-action].is-weekly-tip-action-completed:focus-visible {
  border-color: rgba(47, 166, 106, 0.36) !important;
  background: rgba(47, 166, 106, 0.2) !important;
  color: #258554 !important;
}

.index-weekly-marketing-tip__inline-form {
  display: contents;
}

.index-weekly-marketing-tip__reload {
  display: flex;
  justify-content: flex-start;
  margin-top: 2px;
}

.index-weekly-marketing-tip__reload .aura-btn {
  gap: 7px;
}

@keyframes weekly-tip-firework {
  0% {
    opacity: 0;
    background-size: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 240% 100%;
    background-position: 18% 28%, 72% 24%, 44% 66%, 84% 72%, 18% 28%, 72% 24%, 44% 66%, 84% 72%, 140% 0;
  }
  12% {
    opacity: 1;
    background-size: 140px 140px, 120px 120px, 150px 150px, 115px 115px, 12px 12px, 12px 12px, 12px 12px, 12px 12px, 240% 100%;
  }
  42% {
    opacity: 1;
    background-size: 210px 210px, 185px 185px, 220px 220px, 175px 175px, 8px 8px, 8px 8px, 8px 8px, 8px 8px, 240% 100%;
    background-position: 18% 28%, 72% 24%, 44% 66%, 84% 72%, 18% 28%, 72% 24%, 44% 66%, 84% 72%, 20% 0;
  }
  100% {
    opacity: 0;
    background-size: 260px 260px, 230px 230px, 270px 270px, 215px 215px, 0 0, 0 0, 0 0, 0 0, 240% 100%;
    background-position: 18% 28%, 72% 24%, 44% 66%, 84% 72%, 18% 28%, 72% 24%, 44% 66%, 84% 72%, -90% 0;
  }
}
.index-social-notice,
.index-social-warnings {
  grid-column: 1/-1;
}

.index-workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
@media (max-width: 1200px) {
  .index-workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .index-workflow-steps {
    grid-template-columns: 1fr;
  }
}

.index-workflow-step {
  position: relative;
  padding: 15px;
  padding-right: 48px;
  border-radius: 16px;
  border: 1px solid rgba(217, 83, 79, 0.22);
  background: rgba(217, 83, 79, 0.07);
  align-self: start;
}

.index-workflow-step.is-complete {
  border-color: rgba(47, 166, 106, 0.24);
  background: rgba(47, 166, 106, 0.08);
}

.index-workflow-step.is-selected {
  border-color: rgba(217, 83, 79, 0.42);
  box-shadow: none;
}

.index-workflow-step__select {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

button.index-workflow-step__select {
  cursor: pointer;
}

button.index-workflow-step__select:focus-visible {
  outline: 2px solid rgba(217, 83, 79, 0.42);
  outline-offset: 5px;
}

.index-workflow-step__summary {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(217, 83, 79, 0.18);
  border-radius: 999px;
  background: rgba(217, 83, 79, 0.08);
  color: #d9534f;
  cursor: pointer;
  list-style: none;
  z-index: 2;
}

.index-workflow-step.is-complete .index-workflow-step__summary {
  border-color: rgba(47, 166, 106, 0.22);
  background: rgba(47, 166, 106, 0.1);
  color: #268656;
}

.index-workflow-step__help[open] .index-workflow-step__summary {
  background: rgba(217, 83, 79, 0.14);
}

.index-workflow-step.is-complete .index-workflow-step__help[open] .index-workflow-step__summary {
  background: rgba(47, 166, 106, 0.16);
}

.index-workflow-step__summary::-webkit-details-marker {
  display: none;
}

.index-workflow-step__main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.index-workflow-step__heading {
  display: block;
  margin: 0;
  color: #2d243d;
  font-size: 1rem;
  font-weight: var(--aura-font-weight-medium);
  line-height: 1.25;
}

.index-workflow-progress {
  display: grid;
  grid-template-columns: auto minmax(46px, 1fr) auto;
  align-items: center;
  gap: 7px;
  color: #403557;
  font-size: 0.74rem;
  font-weight: var(--aura-font-weight-medium);
  line-height: 1;
}

.index-workflow-progress__bar {
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(127, 92, 194, 0.12);
  overflow: hidden;
  appearance: none;
}

.index-workflow-progress__bar::-webkit-progress-bar {
  border-radius: inherit;
  background: rgba(127, 92, 194, 0.12);
}

.index-workflow-progress__bar::-webkit-progress-value {
  border-radius: inherit;
  background: #268656;
}

.index-workflow-progress__bar::-moz-progress-bar {
  border-radius: inherit;
  background: #268656;
}

.index-workflow-step.is-complete .index-workflow-progress__bar,
.index-workflow-step.is-complete .index-workflow-progress__bar::-webkit-progress-bar {
  background: rgba(47, 166, 106, 0.18);
}

.index-workflow-step.is-complete .index-workflow-progress__label,
.index-workflow-step.is-complete .index-workflow-progress__percent {
  color: #1f6e46;
}

.index-workflow-step__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  line-height: 1;
}

.index-workflow-step__toggle i {
  color: inherit;
  font-size: 0.82rem;
}

.index-workflow-step__help p {
  margin: 10px 0 0;
  color: #403557;
  font-size: 0.9rem;
  line-height: 1.45;
}

.index-starter-series {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(127, 92, 194, 0.12);
}

.index-starter-series__head {
  display: grid;
  gap: 6px;
}

.index-starter-series__head h3 {
  margin: 0;
  color: #2d243d;
  font-size: 1.05rem;
  font-weight: var(--aura-font-weight-medium);
  line-height: 1.25;
}

.index-starter-series__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1200px) {
  .index-starter-series__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .index-starter-series__grid {
    grid-template-columns: 1fr;
  }
}

.index-starter-campaign__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1200px) {
  .index-starter-campaign__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .index-starter-campaign__grid {
    grid-template-columns: 1fr;
  }
}

.index-starter-series__card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto minmax(8px, 1fr) auto;
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(127, 92, 194, 0.16);
  border-radius: 16px;
  background: rgba(239, 231, 255, 0.2);
  overflow: hidden;
  transition: border-color 0.24s ease, background 0.24s ease;
}

.index-starter-series__card.is-completed {
  border-color: rgba(31, 158, 96, 0.35);
  background: rgba(232, 250, 241, 0.96);
}

.index-starter-series__dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(47, 166, 106, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #2fa66a;
  cursor: pointer;
}

.index-starter-series__card.is-completed .index-starter-series__dismiss {
  display: inline-flex;
}

.index-starter-series__dismiss i {
  font-size: 0.9rem;
}

.index-starter-series__card.is-rewarding::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-conic-gradient(from 18deg at 18% 28%, transparent 0deg 14deg, rgba(31, 158, 96, 0.95) 15deg 18deg, transparent 19deg 32deg), repeating-conic-gradient(from 8deg at 72% 24%, transparent 0deg 12deg, rgba(127, 92, 194, 0.9) 13deg 16deg, transparent 17deg 30deg), repeating-conic-gradient(from 24deg at 44% 66%, transparent 0deg 13deg, rgba(255, 190, 70, 0.95) 14deg 17deg, transparent 18deg 31deg), repeating-conic-gradient(from 2deg at 84% 72%, transparent 0deg 12deg, rgba(31, 158, 96, 0.85) 13deg 16deg, transparent 17deg 30deg), radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px), radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px), radial-gradient(circle at 44% 66%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px), radial-gradient(circle at 84% 72%, rgba(255, 255, 255, 0.95) 0 5px, transparent 6px);
  background-size: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  background-repeat: no-repeat;
  animation: weekly-tip-firework 2.5s ease-out both;
}

.index-starter-series__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(127, 92, 194, 0.12);
  color: #7f5cc2;
}

.index-starter-series__content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.index-starter-series__label {
  color: #7f5cc2;
  font-size: 0.78rem;
  font-weight: var(--aura-font-weight-medium);
  line-height: 1.2;
}

.index-starter-series__content strong {
  color: #2d243d;
  font-size: 0.95rem;
  font-weight: var(--aura-font-weight-medium);
  line-height: 1.3;
}

.index-starter-series__success {
  grid-column: 1/-1;
  grid-row: 4;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  background: rgba(47, 166, 106, 0.1);
  color: #2fa66a;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
}

.index-starter-campaign .index-starter-series__success {
  grid-row: 5;
}

.index-starter-campaign__post-link {
  grid-row: 4;
}

.index-starter-series__success[hidden] {
  display: none;
}

.index-starter-series__card .aura-btn {
  position: relative;
  z-index: 1;
  grid-column: 1/-1;
  grid-row: 4;
  justify-self: center;
  align-self: end;
  width: min(100%, 220px);
}

.index-starter-series__card.is-completed .aura-btn[data-series-starter-section] {
  display: none;
}

.index-starter-series__card.is-completed .aura-btn[data-campaign-starter-section] {
  display: none;
}

.index-starter-series.serienplanung-page .series-results-stack {
  grid-template-columns: 1fr;
  justify-items: start;
  margin-top: 8px;
  width: 100%;
}

.index-starter-series.serienplanung-page .series-result-card {
  width: min(100%, 620px);
}
@media (max-width: 768px) {
  .index-starter-series.serienplanung-page .series-result-card {
    width: 100%;
  }
}

.index-starter-series.serienplanung-page .series-result-card .aura-card__body {
  padding: 16px;
}

.index-workflow-dismiss__button {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
}

.index-calendar-preview {
  box-sizing: border-box;
  min-width: 0;
  order: 4;
}

.index-settings-panel {
  order: 1;
}

.index-planning-panel {
  order: 2;
}

.index-create-panel {
  order: 3;
}

.index-publish-panel {
  order: 4;
}

.index-page[data-index-workflow-active] .index-workflow-panel {
  order: 20;
}

.index-page[data-index-workflow-active] .index-workflow-overview {
  order: 0;
}

.index-page[data-index-workflow-active] .index-weekly-marketing-tip {
  order: 30;
}

.index-page[data-index-workflow-active] .index-workflow-panel.is-workflow-priority {
  grid-column: 1/-1;
  order: 1;
}

.index-workflow-panel.is-workflow-highlighted {
  border-color: rgba(127, 92, 194, 0.34);
  box-shadow: none;
}

.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: var(--aura-font-weight-medium);
}

.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: var(--aura-font-weight-medium);
  text-transform: uppercase;
}

.index-calendar-day__head strong {
  font-size: 0.86rem;
  font-weight: var(--aura-font-weight-medium);
  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: var(--aura-font-weight-medium);
  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: var(--aura-font-weight-medium);
  line-height: 1.1;
}

.index-calendar-post__title {
  color: #2d243d;
  font-size: 0.88rem;
  font-weight: var(--aura-font-weight-medium);
  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: transparent;
  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: var(--aura-font-weight-medium);
  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 {
  overflow: hidden;
  border-radius: 18px;
  background: #f9f5ff;
  border: 1px solid transparent;
}

.index-panel-list li.is-complete {
  background: rgba(47, 166, 106, 0.08);
  border-color: rgba(47, 166, 106, 0.18);
}

.index-panel-list li.is-open {
  background: rgba(217, 83, 79, 0.08);
  border-color: rgba(217, 83, 79, 0.22);
}

.index-panel-list a,
.index-panel-list__static {
  display: flex;
  align-items: flex-start;
  padding: 14px 16px;
  color: #403557;
  text-decoration: none;
}
@media (max-width: 576px) {
  .index-panel-list a,
  .index-panel-list__static {
    padding: 14px;
  }
}

.index-panel-list li.is-complete a {
  padding-block: 12px;
}

.index-panel-list li.is-complete .index-panel-list__static {
  padding-block: 12px;
}

.index-panel-list__content {
  min-width: 0;
  display: grid;
  gap: 6px;
  flex: 1;
}

.index-panel-list__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 576px) {
  .index-panel-list__head {
    flex-direction: column;
    gap: 8px;
  }
}

.index-panel-list__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2d243d;
  font-weight: var(--aura-font-weight-medium);
}

.index-panel-list__title i {
  color: #7f5cc2;
}

.index-panel-list__badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(217, 83, 79, 0.12);
  color: #d9534f;
  font-size: 0.75rem;
  font-weight: var(--aura-font-weight-medium);
}

.index-panel-list li.is-complete .index-panel-list__badge {
  background: rgba(47, 166, 106, 0.14);
  color: #2fa66a;
}

.index-panel-list__text,
.index-panel-list__meta {
  color: #403557;
  font-size: 0.92rem;
  line-height: 1.4;
}

.index-panel-list__meta {
  font-weight: var(--aura-font-weight-medium);
}

.index-panel-list__missing {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.index-panel-list__missing span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(217, 83, 79, 0.1);
  color: #d9534f;
  font-size: 0.78rem;
  font-weight: var(--aura-font-weight-medium);
  line-height: 1.2;
}

.index-progress {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  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: var(--aura-font-weight-medium);
}

.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;
  background: #2fa66a;
}

.index-activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

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

.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: var(--aura-font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.index-activity-list span {
  color: #403557;
  line-height: 1.45;
  font-weight: var(--aura-font-weight-regular);
}

.index-activity-list small {
  color: #6f6780;
  font-size: 0.82rem;
}

.index-section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
  text-align: center;
}
@media (max-width: 768px) {
  .index-section-head {
    align-items: center;
    flex-direction: column;
  }
}

.index-section-head > div {
  width: 100%;
}

.index-section-head h2 {
  margin: 0;
  color: #2d243d;
  font-size: 1.35rem;
  font-weight: var(--aura-font-weight-medium);
}

.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: var(--aura-font-weight-medium);
}

.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: var(--aura-font-weight-strong);
}
@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: var(--aura-font-weight-strong);
}
@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: var(--aura-font-weight-strong);
}

.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) and (max-width: 1199px) {
  .index-social-panel {
    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: var(--aura-font-weight-strong);
  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: var(--aura-font-weight-strong);
}

.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: var(--aura-font-weight-strong);
  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-media-list--stream {
  --facebook-feed-card-width: clamp(141px, 11.25vw, 162px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--facebook-feed-card-width);
  grid-template-rows: repeat(2, var(--facebook-feed-card-width));
  align-items: start;
}
@media (min-width: 992px) {
  .index-media-list--stream {
    --facebook-feed-card-width: clamp(138px, 10.5vw, 156px);
  }
}
@media (max-width: 576px) {
  .index-media-list--stream {
    --facebook-feed-card-width: min(51vw, 179px);
  }
}

.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 {
  box-shadow: none;
}
.index-social-feed__nav:disabled {
  opacity: 0.55;
  cursor: default;
  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: var(--aura-font-weight-strong);
}
@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__meta {
  width: 100%;
  padding: 10px 14px 12px;
  background: #ffffff;
  color: #7f5cc2;
  font-size: 0.84rem;
  font-weight: var(--aura-font-weight-medium);
  text-align: center;
}

.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: var(--aura-font-weight-strong);
}

.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: var(--aura-font-weight-strong);
  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: var(--aura-font-weight-strong);
  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: var(--aura-font-weight-strong);
}

.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: var(--aura-font-weight-strong);
  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;
}
.dashboard-create-actions > .aura-btn {
  width: 100%;
  flex-basis: auto;
  min-width: 0;
}
@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;
}

:root {
  --aura-font-family-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --aura-font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --aura-font-weight-regular: 400;
  --aura-font-weight-medium: 500;
  --aura-font-weight-strong: 500;
}

h1,
h2,
h3,
h4 {
  font-family: var(--aura-font-family-base);
  font-weight: var(--aura-font-weight-medium);
  font-style: normal;
}

h1 {
  margin-bottom: 20px;
  text-align: center;
}

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

.white {
  color: white !important;
}

.fa-duotone.fa-question.fa-thin {
  --fa-style: 400;
}

a:not(.aura-btn) {
  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;
}

#studioPlaceAutocomplete .aura-place-autocomplete,
#studioPlaceAutocomplete #studioPlaceElement {
  min-height: 44px;
  border: 1px solid rgba(127, 92, 194, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: #2f2a3a;
  color-scheme: light;
  box-shadow: none;
  font: inherit;
  overflow: hidden;
}

#studioPlaceAutocomplete .aura-place-autocomplete:focus-within,
#studioPlaceAutocomplete #studioPlaceElement:focus-within {
  border-color: rgba(127, 92, 194, 0.5);
  box-shadow: none;
}

#studioPlaceAutocomplete .aura-place-autocomplete::part(input),
#studioPlaceAutocomplete #studioPlaceElement::part(input),
#studioPlaceAutocomplete gmp-place-autocomplete::part(input) {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: #ffffff;
  color: #2f2a3a;
  color-scheme: light;
  font: inherit;
}

#studioPlaceAutocomplete .aura-place-autocomplete::part(input)::placeholder,
#studioPlaceAutocomplete #studioPlaceElement::part(input)::placeholder,
#studioPlaceAutocomplete gmp-place-autocomplete::part(input)::placeholder {
  color: rgba(47, 42, 58, 0.55);
}

@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: 34px;
    padding: 5px 8px;
    gap: 6px;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.12;
  }
}

@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] .priority-slot__value {
  justify-content: flex-start;
  text-align: left;
}

form[name=studioinfos] .priority-slot__value > span {
  text-align: left;
}

form[name=studioinfos] .altersgruppe-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

form[name=studioinfos] .altersgruppe-inline__item {
  display: grid;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

form[name=studioinfos] .altersgruppe-inline input {
  width: 100%;
  max-width: none;
  min-width: 0;
}

form[name=studioinfos] .field,
form[name=studioinfos] .altersgruppe-inline__item {
  position: relative;
}

form[name=studioinfos] .field-save-check {
  position: absolute;
  right: 1px;
  bottom: 1px;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  width: clamp(42px, 10%, 56px);
  height: 44px;
  border-left: 1px solid rgba(47, 166, 106, 0.22);
  border-radius: 0 7px 7px 0;
  background: rgba(47, 166, 106, 0.1);
  color: #268656;
  font-size: 0.82rem;
  pointer-events: none;
  box-shadow: none;
}
@media (max-width: 576px) {
  form[name=studioinfos] .field-save-check {
    height: 38px;
  }
}

form[name=studioinfos] .field.is-field-saved > .aura-form-input,
form[name=studioinfos] .altersgruppe-inline__item.is-field-saved > .aura-form-input {
  padding-right: clamp(58px, 10% + 18px, 72px);
}

form[name=studioinfos] .field.is-field-saved > select.aura-form-input {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: none !important;
  padding-right: clamp(92px, 10% + 52px, 106px);
}

form[name=studioinfos] .field.is-field-saved > .aura-select .aura-select__button {
  position: relative;
  padding-right: clamp(92px, 10% + 52px, 106px);
}

form[name=studioinfos] .field.is-field-saved > .aura-select .aura-select__button-icon {
  position: absolute;
  top: 50%;
  right: calc(clamp(42px, 10%, 56px) + 12px);
  z-index: 3;
  transform: translateY(-50%) !important;
}

form[name=studioinfos] .angebote-tabs__panel {
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

form[name=studioinfos] .zielgruppe-base-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

form[name=studioinfos] .zielgruppe-base-complete-area {
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

form[name=studioinfos] .zielgruppe-base-fields {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(220px, 1fr) minmax(280px, 1.75fr);
  gap: 12px;
  align-items: end;
  min-width: 0;
}
@media (max-width: 768px) {
  form[name=studioinfos] .zielgruppe-base-fields {
    grid-template-columns: 1fr;
  }
}

form[name=studioinfos] .zielgruppe-base-fields > .field-span-2 {
  grid-column: auto;
}

form[name=studioinfos] .zielgruppe-base-complete-area.is-complete {
  border-color: rgba(47, 166, 106, 0.34);
  background: #eaf6f0;
  box-shadow: none;
}

form[name=studioinfos] .settings-completion--target-base {
  grid-column: 1/-1;
  justify-self: stretch;
  width: 100%;
  margin-top: 0;
}

form[name=studioinfos] .field.is-field-saved .field-save-check,
form[name=studioinfos] .altersgruppe-inline__item.is-field-saved .field-save-check {
  display: inline-flex;
}

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 .music-selection-grid {
  margin-top: 0.4rem;
}

.serienplanung-page .music-selection-card {
  position: relative;
  min-height: 100%;
}

.serienplanung-page .music-selection-card.is-selected {
  border-color: rgba(127, 92, 194, 0.72);
  box-shadow: none;
}

.serienplanung-page .music-selection-card .aura-card__body {
  padding-right: 3rem;
}

.serienplanung-page .music-selection-card__check {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  cursor: pointer;
}

.serienplanung-page .music-selection-card__check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: #7f5cc2;
}

.serienplanung-page .music-selection-card audio {
  display: block;
  width: 100%;
}

.serienplanung-page .series-create-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: min(420px, 100%);
  margin: 1rem 0 1rem;
  border: 1px solid rgba(221, 214, 234, 0.85);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.serienplanung-page .series-create-mode__button {
  width: 100%;
  border-radius: 0;
  border: 0;
  margin: 0;
  min-height: 42px;
}

.serienplanung-page .series-create-mode__button + .series-create-mode__button {
  border-left: 1px solid rgba(221, 214, 234, 0.85);
}

.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-grid .field-span-2,
.serienplanung-page .series-create-actions {
  grid-column: 1/-1;
}

.serienplanung-page .series-context-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 768px) {
  .serienplanung-page .series-context-grid {
    grid-template-columns: 1fr;
  }
}

.serienplanung-page .check-card input[type=radio] {
  appearance: none;
  border: 1px solid #ddd6ea;
  border-radius: 4px;
  background: #ffffff;
  flex: 0 0 auto;
}
.serienplanung-page .check-card input[type=radio]:checked {
  background: #7f5cc2;
  border-color: #7f5cc2;
  box-shadow: none;
}

.serienplanung-page .series-create-actions {
  display: flex !important;
  justify-content: stretch;
  width: 100%;
  min-width: 0;
  align-items: stretch !important;
  gap: 0.65rem;
}
@media (max-width: 768px) {
  .serienplanung-page .series-create-actions {
    flex-direction: column;
  }
}

.serienplanung-page .series-create-actions[hidden] {
  display: none !important;
}

.serienplanung-page .series-create-actions .aura-btn {
  display: flex !important;
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  white-space: normal;
  text-align: center;
}
@media (max-width: 768px) {
  .serienplanung-page .series-create-actions .aura-btn {
    width: 100% !important;
  }
}

.serienplanung-page .series-results-stack {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
@media (max-width: 768px) {
  .serienplanung-page .series-results-stack {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

.serienplanung-page .series-result-card {
  min-width: 0;
}

.serienplanung-page .series-results-stack > .series-result-card:only-child {
  grid-column: 1/-1;
  width: 100%;
}

.serienplanung-page .series-result-card.is-saved {
  border-color: rgba(47, 166, 106, 0.35);
  background: #e9f8f0;
}

.serienplanung-page .series-result-card .aura-card__body {
  display: grid;
  gap: 0.85rem;
}

.serienplanung-page .series-result-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.65rem;
}
@media (max-width: 768px) {
  .serienplanung-page .series-result-card__head {
    grid-template-columns: 1fr;
  }
}

.serienplanung-page .series-result-card__head h3 {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.28;
}

.serienplanung-page .series-result-card__head p {
  margin: 0.2rem 0 0;
  color: #6f6780;
}

.serienplanung-page .series-result-card__schedule {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  justify-self: end;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: rgba(127, 92, 194, 0.08);
  color: #7f5cc2;
  font-size: 0.88rem;
  line-height: 1.25;
}
@media (max-width: 768px) {
  .serienplanung-page .series-result-card__schedule {
    justify-self: center;
  }
}

.serienplanung-page .series-result-card__datetime {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}
@media (max-width: 768px) {
  .serienplanung-page .series-result-card__datetime {
    display: grid;
    gap: 0.85rem;
    justify-items: center;
  }
}

.serienplanung-page .series-result-card__controls,
.serienplanung-page .series-result-card__weekday-controls,
.serienplanung-page .series-result-card__time-controls {
  display: grid;
  grid-template-columns: 38px 116px 38px;
  justify-content: start;
  align-items: center;
  gap: 0.45rem;
}

.serienplanung-page .series-result-card__datetime .series-result-card__weekday-controls,
.serienplanung-page .series-result-card__datetime .series-result-card__time-controls {
  flex: 0 1 auto;
  gap: 0.35rem;
}

.serienplanung-page .series-result-card__weekday-controls {
  grid-template-columns: 38px 116px 38px;
}

.serienplanung-page .series-result-card__controls .aura-btn,
.serienplanung-page .series-result-card__weekday-controls .aura-btn,
.serienplanung-page .series-result-card__time-controls .aura-btn {
  min-width: 38px;
  width: 38px;
  height: 36px;
  padding: 0;
}

.serienplanung-page .series-result-card__controls span,
.serienplanung-page .series-result-card__weekday-controls span,
.serienplanung-page .series-result-card__time-controls span {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  align-items: center;
  justify-content: center;
  width: 116px;
  min-width: 116px;
  min-height: 42px;
  border: 1px solid rgba(221, 214, 234, 0.85);
  border-radius: 6px;
  background: #ffffff;
  color: #6f6780;
  font-size: 0.78rem;
  font-weight: 600;
}

.serienplanung-page .series-result-card__controls strong,
.serienplanung-page .series-result-card__weekday-controls strong,
.serienplanung-page .series-result-card__time-controls strong {
  color: #403557;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 0.95;
}

.serienplanung-page .series-result-card__controls em,
.serienplanung-page .series-result-card__weekday-controls em,
.serienplanung-page .series-result-card__time-controls em {
  font-style: normal;
  font-size: 0.68rem;
  line-height: 1;
}

.serienplanung-page .series-result-card__datetime .series-result-card__weekday-controls,
.serienplanung-page .series-result-card__datetime .series-result-card__time-controls {
  grid-template-columns: 32px 116px 32px;
}

.serienplanung-page .series-result-card__datetime .aura-btn {
  min-width: 32px;
  width: 32px;
}

.serienplanung-page .series-result-card__channel-toggle {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
@media (max-width: 768px) {
  .serienplanung-page .series-result-card__channel-toggle {
    grid-template-columns: repeat(2, minmax(0, auto));
    justify-content: center;
    justify-items: center;
    gap: 0.65rem 1.25rem;
  }
}

.serienplanung-page .series-result-card__channel-toggle .aura-form-check {
  width: 100%;
  padding: 0.45rem 0.65rem;
}
@media (max-width: 768px) {
  .serienplanung-page .series-result-card__channel-toggle .aura-form-check {
    width: auto;
    min-width: 78px;
    max-width: none;
    justify-content: center;
    padding: 0.45rem 0.6rem;
  }
}

@media (max-width: 768px) {
  .serienplanung-page .series-result-card__datetime {
    width: 100%;
  }
  .serienplanung-page .series-result-card__datetime .series-result-card__weekday-controls,
  .serienplanung-page .series-result-card__datetime .series-result-card__time-controls {
    grid-template-columns: 38px 116px 38px;
    justify-content: center;
    width: 100%;
  }
  .serienplanung-page .series-result-card__datetime .aura-btn {
    min-width: 38px;
    width: 38px;
  }
  .serienplanung-page .series-result-card__head > div {
    display: grid;
    justify-items: center;
  }
  .serienplanung-page .series-result-card__controls,
  .serienplanung-page .series-result-card__weekday-controls,
  .serienplanung-page .series-result-card__time-controls {
    justify-content: center;
  }
  .serienplanung-page .series-result-card__channel-toggle .aura-form-check:nth-child(3) {
    grid-column: 1/-1;
    min-width: 118px;
  }
}
.channel-logo-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.channel-logo-label__icon {
  font-size: 1rem;
  line-height: 1;
}

.channel-logo-label__icon--facebook {
  color: #1877f2;
}

.channel-logo-label__icon--instagram {
  color: #d62976;
}

.serienplanung-page .series-result-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.serienplanung-page .series-result-card__actions .aura-btn {
  width: 100%;
}

.serienplanung-page .series-result-card__status {
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  background: rgba(47, 166, 106, 0.1);
  color: #2fa66a;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
}

.serienplanung-page #saved-aktion-detail.is-saved,
.serienplanung-page .series-detail-row.is-saved,
.serienplanung-page .series-table.is-saved {
  border-color: rgba(47, 166, 106, 0.35);
  background: #e9f8f0;
}

.serienplanung-page .series-save-status {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  background: rgba(47, 166, 106, 0.1);
  color: #2fa66a;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.aura-inline-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
}

.aura-inline-loading__logo {
  display: inline-block;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  background: url("../config/logo/logopic.svg") center/contain no-repeat;
  animation: aura-processing-spin 1.2s linear infinite;
}

.serienplanung-page .series-result-card__detail {
  min-width: 0;
}

.serienplanung-page .series-topic-delete-cell {
  text-align: center;
  width: 76px;
}

.serienplanung-page .series-topic-delete-btn {
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  color: #6f4fa8;
}

.serienplanung-page .series-inline-plan-row .aura-td {
  padding: 0;
  background: #f9f6ff;
}

.serienplanung-page .series-inline-plan {
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(127, 92, 194, 0.22);
  border-top: 0;
  border-radius: 0;
  background: #fbf9ff;
}

.serienplanung-page .series-inline-plan-source {
  position: relative;
  background: #fbf8ff;
  box-shadow: inset 4px 0 0 #7f5cc2;
}

.serienplanung-page .series-inline-plan__header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(127, 92, 194, 0.18);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fcfbff;
  color: #6f4fa8;
  font-size: 0.9rem;
  line-height: 1.3;
}

.serienplanung-page .series-inline-plan__header span {
  color: #6f6780;
}

.serienplanung-page .series-inline-plan__header strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.serienplanung-page .series-inline-plan-frame {
  display: block;
  width: 100%;
  height: 300px;
  min-height: 0;
  border: 0;
  background: transparent;
}

@media (max-width: 768px) {
  .serienplanung-page .series-inline-plan-row .aura-td {
    padding: 0 0 10px;
  }
  .serienplanung-page .series-inline-plan {
    border: 1px solid rgba(127, 92, 194, 0.22);
    border-top: 0;
    border-radius: 0 0 10px 10px;
  }
  .serienplanung-page .series-inline-plan-source {
    border-color: rgba(127, 92, 194, 0.3);
    box-shadow: inset 4px 0 0 #7f5cc2;
  }
  .serienplanung-page .series-inline-plan__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 0.85rem;
  }
  .serienplanung-page .series-inline-plan__header strong {
    white-space: normal;
  }
  .serienplanung-page .series-inline-plan-frame {
    height: 680px;
    overflow: hidden;
  }
}
@media (max-width: 768px) {
  .serienplanung-page #saved-aktion-detail .series-table .aura-tbody > .aura-tr:not(:last-child) {
    margin-bottom: 5px;
  }
}

@media (max-width: 768px) {
  .serienplanung-page #saved-aktion-detail .series-table .aura-tbody > .aura-tr {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 54px 12px 12px;
  }
}

@media (max-width: 768px) {
  .serienplanung-page #saved-aktion-detail .series-table .aura-td[data-label="Post-Nr."] {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    width: auto;
    padding: 0;
    border: 0;
    text-align: left;
    color: #403557;
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  .serienplanung-page #saved-aktion-detail .series-table .aura-td[data-label="Post-Nr."]::before {
    display: inline !important;
    margin: 0;
    content: "Post-Nr.";
    color: #6f6780;
    font-weight: 600;
  }
}

@media (max-width: 768px) {
  .serienplanung-page #saved-aktion-detail .series-table .topic-value {
    padding: 0;
    border: 0;
  }
}

@media (max-width: 768px) {
  .serienplanung-page #saved-aktion-detail .series-table .series-topic-delete-cell {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0;
    border: 0;
  }
}

@media (max-width: 768px) {
  .serienplanung-page #saved-aktion-detail .series-table .series-topic-delete-cell::before {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .serienplanung-page #saved-aktion-detail .series-table .series-topic-delete-btn {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }
}

.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;
}

.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;
  }
}

@media (max-width: 768px) {
  .serienplanung-page .aura-tr {
    position: relative;
    padding-top: 44px;
  }
}

@media (max-width: 768px) {
  .serienplanung-page .series-overview-table > .aura-tbody > .aura-tr {
    border: 1px solid rgba(221, 214, 234, 0.64);
    border-radius: 12px;
    overflow: hidden;
    background-clip: padding-box;
  }
}

@media (max-width: 768px) {
  .serienplanung-page .series-overview-table > .aura-tbody > .aura-tr > .aura-td {
    border: 0;
  }
}

@media (max-width: 768px) {
  .serienplanung-page .series-overview-table > .aura-tbody > .aura-tr > .serienplanung-actions-cell {
    border-bottom: 0;
  }
}

@media (max-width: 768px) {
  .serienplanung-page .serienplanung-actions-cell[data-label=Löschen],
  .serienplanung-page .serienplanung-actions-cell[data-label="L&ouml;schen"] {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 3px;
    border: 0;
    border-radius: 8px;
    background: rgba(127, 92, 194, 0.08);
  }
}

@media (max-width: 768px) {
  .serienplanung-page .serienplanung-actions-cell[data-label=Löschen]::before,
  .serienplanung-page .serienplanung-actions-cell[data-label="L&ouml;schen"]::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .serienplanung-page .serienplanung-actions-cell[data-label=Löschen] .aura-btn,
  .serienplanung-page .serienplanung-actions-cell[data-label="L&ouml;schen"] .aura-btn {
    width: 30px;
    height: 30px;
    min-height: 30px;
  }
}

.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: 500;
  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 {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    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);
    grid-template-rows: auto auto 1fr;
    align-self: stretch;
    height: 100%;
    gap: 5px;
  }
}

.campaign-preview-slot__time {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .campaign-preview-slot__time {
    align-self: center;
  }
}

.campaign-preview-slot__content {
  color: #1c2637;
  font-weight: 500;
  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;
    align-self: end;
    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 {
    position: absolute;
    top: 10px;
    right: 10px;
  }
}

.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;
}

.reel-avatar-card:hover {
  border-color: #7f5cc2;
  box-shadow: none;
}

.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 .campaign-create-mode {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 4px 0 12px;
  padding: 4px;
  border: 1px solid rgba(221, 214, 234, 0.75);
  border-radius: 8px;
  background: rgba(239, 231, 255, 0.45);
}

.werbeaktion-page .campaign-create-mode__button {
  min-width: 132px;
}

.werbeaktion-page .campaign-create-mode__button + .campaign-create-mode__button {
  margin-left: 4px;
}

.werbeaktion-page .campaign-create-actions[data-campaign-auto-panel] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
@media (max-width: 768px) {
  .werbeaktion-page .campaign-create-actions[data-campaign-auto-panel] {
    grid-template-columns: 1fr;
  }
}

.werbeaktion-page .campaign-create-actions[data-campaign-auto-panel] .aura-btn {
  justify-content: center;
  min-height: 44px;
  padding-inline: 18px;
  width: 100%;
}

.werbeaktion-page .campaign-auto-focus {
  display: grid;
  gap: 12px;
  grid-column: 1/-1;
  margin-top: 12px;
  width: 100%;
}

.werbeaktion-page .campaign-auto-focus[hidden] {
  display: none;
}

.werbeaktion-page .campaign-auto-focus__options {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
@media (max-width: 768px) {
  .werbeaktion-page .campaign-auto-focus__options {
    grid-template-columns: 1fr;
  }
}

.werbeaktion-page .campaign-auto-focus__button {
  display: flex;
  flex-basis: auto;
  justify-content: center;
  max-width: none;
  min-height: 44px;
  min-width: 0;
  width: 100% !important;
}

.werbeaktion-page .campaign-auto-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
@media (max-width: 768px) {
  .werbeaktion-page .campaign-auto-results {
    grid-template-columns: 1fr;
  }
}

.werbeaktion-page .campaign-auto-detail {
  margin-top: 18px;
}

.werbeaktion-page .campaign-starter-card {
  height: 100%;
}

.werbeaktion-page .campaign-starter-card .aura-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 170px;
}

.werbeaktion-page .campaign-starter-card__head {
  display: grid;
  gap: 4px;
}

.werbeaktion-page .campaign-starter-card__head span {
  color: #7f5cc2;
  font-size: 0.82rem;
  font-weight: var(--aura-font-weight-medium);
  line-height: 1.2;
}

.werbeaktion-page .campaign-starter-card__head h3,
.werbeaktion-page .campaign-starter-card__head p {
  margin: 0;
}

.werbeaktion-page .campaign-starter-card__head p {
  color: #6f6780;
  font-size: 0.92rem;
  line-height: 1.35;
}

.werbeaktion-page .campaign-starter-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
@media (max-width: 768px) {
  .werbeaktion-page .campaign-starter-card__actions {
    grid-template-columns: 1fr;
  }
}

.werbeaktion-page .campaign-starter-card__actions .aura-btn {
  width: 100%;
}

.werbeaktion-page .campaign-starter-card__status {
  color: #d9534f;
  font-weight: 700;
}

.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;
}

.werbeaktion-page .campaign-overlay-preview {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(221, 214, 234, 0.75);
  border-radius: 8px;
  background: rgba(239, 231, 255, 0.28);
}

.werbeaktion-page .campaign-overlay-preview[hidden] {
  display: none;
}

.werbeaktion-page .campaign-overlay-preview__link {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(221, 214, 234, 0.55);
  border-radius: 8px;
  background: #ffffff;
}

.werbeaktion-page .campaign-overlay-preview__link img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #ffffff;
}

.werbeaktion-page .campaign-overlay-preview__meta {
  color: #6f6780;
  font-size: 0.88rem;
}

.werbeaktion-page .campaign-overlay-preview--error {
  border-color: rgba(217, 83, 79, 0.35);
  background: rgba(217, 83, 79, 0.08);
  color: #d9534f;
}

@media (max-width: 768px) {
  .werbeaktion-page .aktion-detail-grid {
    gap: 5px;
  }
  .werbeaktion-page .aktion-detail-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 4px;
    border: 0;
    border-radius: 0;
    background: #ffffff;
  }
  .werbeaktion-page .aktion-detail-row:nth-child(even) {
    background: #f9f5ff;
  }
  .werbeaktion-page .aktion-detail-label {
    border: 0;
    padding: 4px 4px 0;
    background: transparent;
    text-align: left;
    font-size: 0.76rem;
    line-height: 1.2;
    color: #6f6780;
    text-transform: uppercase;
  }
  .werbeaktion-page .aktion-detail-value {
    padding: 0 4px 4px;
    background: transparent;
    line-height: 1.55;
    text-align: left;
  }
  .werbeaktion-page .aktion-detail-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 5px;
  }
  .werbeaktion-page .aktion-detail-actions > .aura-btn {
    width: 100%;
    justify-content: center;
  }
  .werbeaktion-page .aura-card__body > h3 {
    text-align: left;
  }
}
.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;
  }
}

.werbeaktion-page .campaign-new-badge {
  display: inline-flex;
  align-items: center;
  margin-right: 0.45rem;
  padding: 0.08rem 0.34rem;
  border-radius: 999px;
  background: rgba(47, 166, 106, 0.12);
  color: #268656;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1.2;
  vertical-align: text-top;
}

.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;
}

.messenger-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.messenger-page .messenger-status-box {
  display: block;
  margin-bottom: 12px;
}

.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;
}

@media (min-width: 733px) and (max-width: 1199px) {
  .whatsapp-connections-table-wrap {
    overflow: visible;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .whatsapp-connections-table {
    display: block;
    width: 100%;
    border-collapse: separate;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .whatsapp-connections-table .aura-thead {
    display: none;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .whatsapp-connections-table .aura-tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .whatsapp-connections-table .aura-tr {
    display: block;
    width: 100%;
    margin-bottom: 0;
    padding: 4px;
    background: #ffffff;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .whatsapp-connections-table .aura-td {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 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;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .whatsapp-connections-table .aura-td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #6f6780;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-transform: uppercase;
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .whatsapp-connections-table .aura-td:first-child {
    padding-top: 4px;
    border-top: 1px solid rgba(221, 214, 234, 0.55);
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .whatsapp-connections-table .aura-td:last-child {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(221, 214, 234, 0.55);
  }
}

@media (min-width: 733px) and (max-width: 1199px) {
  .whatsapp-connections-table .aura-td--full {
    grid-column: 1/-1;
  }
}

.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-field-spacing {
  margin-bottom: 8px;
}

.messenger-page .messenger-reply-field {
  margin-top: 10px;
}

.messenger-page .messenger-active-card {
  width: auto;
  min-height: 44px;
  margin: 0;
}

.messenger-page .messenger-inline-form,
.messenger-page .messenger-inline-field {
  margin: 0;
}

.messenger-page .messenger-rule-active-cell {
  min-width: 88px;
  text-align: center;
}

.messenger-page .messenger-rule-action-cell {
  min-width: 120px;
}

.messenger-page .messenger-switch-label {
  margin: 0;
}

.messenger-page .messenger-rule-active-cell .aura-form-switch {
  justify-content: center;
}

.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%;
  }
}

.email-address-inline {
  grid-template-columns: max-content auto;
  justify-content: start;
  align-items: center;
}

.email-address-inline__address {
  flex-wrap: nowrap;
}

.email-address-inline__address .aura-form-input {
  width: 220px;
  max-width: 100%;
}

.email-address-inline__domain {
  white-space: nowrap;
}

.mailbox-page-header,
.mailbox-filter-bar,
.mailbox-list-header,
.mailbox-detail__header,
.mailbox-meta-grid,
.mailbox-message,
.mailbox-sender-row,
.mailbox-actions,
.mailbox-attachments {
  display: grid;
  gap: 12px;
}

.mailbox-page-header {
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: start;
}

.mailbox-filter-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(180px, auto) auto;
  align-items: end;
}

.mailbox-filter-bar__checkbox {
  align-self: center;
  margin-bottom: 8px;
}

.mailbox-filter-bar__actions {
  display: flex;
  grid-column: -2/-1;
  align-items: end;
}

.mailbox-automation-selector {
  display: grid;
  grid-template-columns: minmax(220px, 360px);
  margin-bottom: 16px;
}

.mailbox-list {
  display: grid;
  gap: 8px;
}

.mailbox-list-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin-bottom: 14px;
}

.mailbox-heading-count {
  color: #403557;
  font-size: 0.72em;
  font-weight: 600;
}

.mailbox-heading-count::before {
  content: "(";
}

.mailbox-heading-count::after {
  content: ")";
}

.mailbox-view-switch,
.mailbox-backline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.mailbox-backline {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.mailbox-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(127, 92, 194, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: #7f5cc2;
}

.mailbox-message:hover,
.mailbox-message:focus-within {
  border-color: rgba(127, 92, 194, 0.32);
  background: white;
}

.mailbox-message.is-unread {
  border-color: rgba(127, 92, 194, 0.34);
  background: white;
}

.mailbox-message__state {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c9bfd9;
}

.mailbox-message.is-unread .mailbox-message__state {
  background: #d83a3a;
}

.mailbox-message.is-read .mailbox-message__state {
  background: #f1c94a;
}

.mailbox-message.is-processed .mailbox-message__state {
  background: #36a96b;
}

.mailbox-message__open {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) minmax(140px, auto) auto;
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.mailbox-message__main,
.mailbox-message__meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.mailbox-message__sender,
.mailbox-message__subject {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mailbox-message__sender {
  font-weight: 700;
}

.mailbox-message__subject {
  font-weight: 600;
}

.mailbox-message__snippet,
.mailbox-message__meta {
  color: #403557;
  font-size: 0.86rem;
}

.mailbox-message__meta {
  justify-items: end;
  text-align: right;
}

.mailbox-message__attachment {
  color: #7f5cc2;
}

.mailbox-message__delete {
  margin: 0;
}

.mailbox-empty {
  padding: 18px;
  border: 1px dashed rgba(127, 92, 194, 0.24);
  border-radius: 8px;
  color: #403557;
}

.mailbox-sender-list {
  display: grid;
  gap: 8px;
}

.mailbox-sender-row {
  grid-template-columns: minmax(0, 1fr) auto minmax(130px, auto) minmax(150px, auto) auto auto;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(127, 92, 194, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.mailbox-sender-row.is-hidden-sender {
  background: white;
}

.mailbox-sender-row.is-loading {
  opacity: 0.68;
  pointer-events: none;
}

.mailbox-sender-row__main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.mailbox-sender-row__main strong,
.mailbox-sender-row__main span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mailbox-sender-row__main span,
.mailbox-sender-row__date {
  color: #403557;
  font-size: 0.86rem;
}

.mailbox-sender-row__date {
  text-align: right;
}

.mailbox-sender-row__remember,
.mailbox-sender-row__delete {
  margin: 0;
}

.mailbox-detail {
  gap: 18px;
}

.mailbox-detail__header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.mailbox-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: white;
  color: #7f5cc2;
  font-size: 0.84rem;
  font-weight: 600;
}

.mailbox-meta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mailbox-meta-grid > div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 8px;
  background: white;
}

.mailbox-meta-grid span {
  color: #403557;
  font-size: 0.8rem;
}

.mailbox-html-frame {
  width: 100%;
  min-height: 420px;
  border: 1px solid rgba(127, 92, 194, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.mailbox-text-body {
  max-height: 520px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 14px;
  border: 1px solid rgba(127, 92, 194, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: #7f5cc2;
  font-family: inherit;
}

.mailbox-attachments {
  grid-template-columns: 1fr;
}

.mailbox-attachment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7f5cc2;
  font-weight: 600;
}

.mailbox-reply-panel,
.mailbox-reply-form,
.mailbox-reply-history {
  display: grid;
  gap: 12px;
}

.mailbox-reply-panel {
  padding: 14px;
  border: 1px solid rgba(127, 92, 194, 0.14);
  border-radius: 8px;
  background: white;
}

.mailbox-reply-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mailbox-reply-form__wide,
.mailbox-reply-form__actions {
  grid-column: 1/-1;
}

.mailbox-reply-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mailbox-reply-history {
  padding-top: 8px;
  border-top: 1px solid rgba(127, 92, 194, 0.14);
}

.mailbox-reply-history__item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: #403557;
  font-size: 0.86rem;
}

.mailbox-reply-history__item strong {
  color: #7f5cc2;
  text-transform: capitalize;
}

.mailbox-reply-history__item small {
  grid-column: 1/-1;
  color: #b42318;
}

.mailbox-schedule-fields,
.mailbox-queue-list,
.mailbox-queue-item,
.mailbox-queue-item__meta,
.mailbox-queue-item__form,
.mailbox-weekday-grid {
  display: grid;
  gap: 10px;
}

.mailbox-schedule-fields {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.mailbox-queue-list {
  gap: 12px;
}

.mailbox-queue-item {
  grid-template-columns: minmax(0, 1fr);
  padding: 14px;
  border: 1px solid rgba(127, 92, 194, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.mailbox-queue-item__meta {
  color: #403557;
  font-size: 0.9rem;
}

.mailbox-queue-item__meta strong {
  color: #7f5cc2;
}

.mailbox-queue-item__meta small {
  color: #b42318;
}

.mailbox-queue-item__form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}

.mailbox-weekday-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 0;
  padding: 0;
}

.mailbox-weekday-grid legend {
  margin-bottom: 8px;
  color: #403557;
  font-size: 0.86rem;
}

.mailbox-actions {
  grid-template-columns: minmax(220px, 360px) auto;
  align-items: end;
  justify-content: start;
}

.mailbox-actions form {
  margin: 0;
}

@media (max-width: 576px) {
  .email-address-inline {
    grid-template-columns: 1fr;
  }
  .email-address-inline__address {
    flex-wrap: wrap;
  }
  .email-address-inline__address .aura-form-input {
    width: 100%;
  }
  .mailbox-page-header,
  .mailbox-filter-bar,
  .mailbox-automation-selector,
  .mailbox-list-header,
  .mailbox-detail__header,
  .mailbox-meta-grid,
  .mailbox-reply-form,
  .mailbox-reply-history__item,
  .mailbox-schedule-fields,
  .mailbox-queue-item__form,
  .mailbox-weekday-grid,
  .mailbox-message,
  .mailbox-message__open,
  .mailbox-sender-row {
    grid-template-columns: 1fr;
  }
  .mailbox-message {
    align-items: start;
  }
  .mailbox-message__meta {
    justify-items: start;
    text-align: left;
  }
  .mailbox-view-switch {
    justify-content: flex-start;
  }
  .mailbox-sender-row__date {
    text-align: left;
  }
  .mailbox-message__state {
    display: none;
  }
  .mailbox-message__delete {
    justify-self: start;
  }
  .mailbox-actions {
    grid-template-columns: 1fr;
  }
}