/*
 * CrowdFlow Control Center
 *
 * The presentation deliberately mirrors the public CrowdFlow site: warm
 * paper surfaces, near-black event panels and orange interaction accents.
 * Everything is scoped to the shortcode root so product plugins keep full
 * ownership of their legacy screens.
 */
.crowdflow-control-center-page {
  background: #f3f0ea;
}

.crowdflow-control-center-page .entry-header,
.crowdflow-control-center-page .page-header,
.crowdflow-control-center-page .entry-title {
  display: none !important;
}

.crowdflow-control-center-page .site-content,
.crowdflow-control-center-page .content-area,
.crowdflow-control-center-page .site-main,
.crowdflow-control-center-page .site-content .ast-container,
.crowdflow-control-center-page .entry-content,
.crowdflow-control-center-page article.page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.crowdflow-control-center-page .entry-content > .crowdflow-control-center {
  margin-top: 0 !important;
}

.crowdflow-control-center {
  --cfcc-ink: #11100e;
  --cfcc-ink-soft: #37332f;
  --cfcc-dark: #171513;
  --cfcc-dark-soft: #211f1c;
  --cfcc-paper: #f3f0ea;
  --cfcc-paper-deep: #e8e3db;
  --cfcc-surface: #fffdf9;
  --cfcc-muted: #6f6962;
  --cfcc-muted-light: rgba(255, 255, 255, 0.62);
  --cfcc-orange: #ff6a24;
  --cfcc-orange-light: #ff8a3d;
  --cfcc-orange-wash: rgba(255, 106, 36, 0.1);
  --cfcc-lime: #d9ff66;
  --cfcc-line: rgba(17, 16, 14, 0.13);
  --cfcc-line-light: rgba(255, 255, 255, 0.12);
  --cfcc-success: #467313;
  --cfcc-danger: #b42318;
  --cfcc-warning: #98600b;
  --cfcc-radius-sm: 12px;
  --cfcc-radius-md: 18px;
  --cfcc-radius-lg: 28px;
  --cfcc-shell: min(1440px, calc(100vw - 64px));
  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: none;
  min-height: 520px;
  margin: 0 0 0 calc(50% - 50vw);
  padding: clamp(48px, 7vw, 92px) max(32px, calc((100vw - 1440px) / 2)) clamp(72px, 9vw, 126px);
  overflow: clip;
  color: var(--cfcc-ink);
  background:
    radial-gradient(circle at 94% 6%, rgba(255, 106, 36, 0.1), transparent 25rem),
    radial-gradient(circle at 0 78%, rgba(255, 138, 61, 0.06), transparent 28rem),
    var(--cfcc-paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.crowdflow-control-center *,
.crowdflow-control-center *::before,
.crowdflow-control-center *::after {
  box-sizing: border-box;
}

.crowdflow-control-center :where(h1, h2, h3, h4, p) {
  margin-top: 0;
}

.crowdflow-control-center :where(a, button, input, select, textarea) {
  font: inherit;
}

.crowdflow-control-center :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(255, 106, 36, 0.42);
  outline-offset: 3px;
}

/* Dashboard and settings hero. */
.crowdflow-control-center__header {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: clamp(300px, 34vw, 430px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0 auto clamp(34px, 5vw, 64px);
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 81% 35%, rgba(255, 106, 36, 0.2), transparent 22%),
    linear-gradient(115deg, rgba(11, 10, 9, 0.99) 0%, rgba(23, 21, 19, 0.96) 57%, rgba(42, 31, 24, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--cfcc-radius-lg);
  box-shadow: 0 38px 90px rgba(17, 16, 14, 0.17);
}

.crowdflow-control-center__header::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -34%;
  right: -7%;
  width: clamp(300px, 42vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(255, 255, 255, 0.018),
    0 0 0 104px rgba(255, 255, 255, 0.014);
}

.crowdflow-control-center__header::after {
  content: "";
  position: absolute;
  top: 11%;
  right: clamp(28px, 5vw, 72px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cfcc-lime);
  box-shadow:
    0 0 0 7px rgba(217, 255, 102, 0.09),
    0 0 24px rgba(217, 255, 102, 0.3);
}

.crowdflow-control-center__header h1 {
  max-width: 920px;
  margin: 0;
  color: #fff !important;
  font-family: inherit;
  font-size: clamp(2.65rem, 6vw, 5.2rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.crowdflow-control-center__header > .crowdflow-control-center__lead {
  max-width: 670px;
  margin: 22px 0 0;
  color: var(--cfcc-muted-light) !important;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.6;
}

.crowdflow-control-center__header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.crowdflow-control-center__header-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: var(--cfcc-ink) !important;
  background: var(--cfcc-orange);
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1;
  transition: background 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.crowdflow-control-center__header-action:hover,
.crowdflow-control-center__header-action:focus-visible {
  color: var(--cfcc-ink) !important;
  background: var(--cfcc-orange-light);
  box-shadow: 0 14px 34px rgba(255, 106, 36, 0.24);
  transform: translateY(-2px);
}

.crowdflow-control-center__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  margin: 0 0 24px !important;
  color: #fff !important;
  font-size: 0.7rem !important;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.crowdflow-control-center__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cfcc-orange);
  box-shadow: 0 0 0 6px rgba(255, 106, 36, 0.13);
}

/* Product overview cards. */
.crowdflow-control-center__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 2vw, 24px);
  margin: 0 auto;
}

.crowdflow-control-center__card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3.2vw, 40px);
  overflow: hidden;
  color: var(--cfcc-ink);
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid var(--cfcc-line);
  border-radius: var(--cfcc-radius-md);
  box-shadow: 0 22px 60px rgba(17, 16, 14, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.crowdflow-control-center__card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cfcc-orange), var(--cfcc-orange-light) 45%, transparent 88%);
}

.crowdflow-control-center__card::after {
  content: "";
  position: absolute;
  top: -105px;
  right: -105px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 36, 0.09), transparent 67%);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .crowdflow-control-center__card:hover {
    z-index: 1;
    border-color: rgba(255, 106, 36, 0.22);
    box-shadow: 0 30px 72px rgba(17, 16, 14, 0.12);
    transform: translateY(-4px);
  }
}

.crowdflow-control-center__card-header,
.crowdflow-control-center__panel-header {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
}

.crowdflow-control-center__card-header {
  min-height: 72px;
  padding: 1px 48px 22px 68px;
  border-bottom: 1px solid var(--cfcc-line);
}

.crowdflow-control-center__card-header::before {
  content: "•";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--cfcc-orange);
  background: var(--cfcc-orange-wash);
  border: 1px solid rgba(255, 106, 36, 0.18);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
}

.crowdflow-control-center__card[data-crowdflow-provider="musikwunsch"] .crowdflow-control-center__card-header::before {
  content: "♫";
  font-size: 1.28rem;
}

.crowdflow-control-center__card[data-crowdflow-provider="chatwall"] .crowdflow-control-center__card-header::before {
  content: "•••";
  font-size: 0.72rem;
  letter-spacing: 1px;
}

.crowdflow-control-center__card-header::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #77a72b;
  box-shadow: 0 0 0 5px rgba(119, 167, 43, 0.1);
}

.crowdflow-control-center__card-header h2,
.crowdflow-control-center__panel-header h2 {
  margin: 0;
  color: var(--cfcc-ink) !important;
  font-family: inherit;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.crowdflow-control-center__card-header p,
.crowdflow-control-center__panel-header p {
  max-width: 650px;
  margin: 9px 0 0;
  color: var(--cfcc-muted) !important;
  font-size: 0.88rem;
  line-height: 1.55;
}

.crowdflow-control-center__provider-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.crowdflow-provider,
.crowdflow-provider-actions {
  min-width: 0;
}

.crowdflow-provider-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.crowdflow-provider-stat {
  min-width: 0;
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  padding: 15px;
  color: var(--cfcc-muted);
  background: #f7f4ef;
  border: 1px solid rgba(17, 16, 14, 0.08);
  border-radius: var(--cfcc-radius-sm);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.055em;
  line-height: 1.28;
  text-transform: uppercase;
}

.crowdflow-provider-stat strong {
  display: block;
  overflow: hidden;
  color: var(--cfcc-ink) !important;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crowdflow-provider-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.crowdflow-provider-action {
  position: relative;
  min-width: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 42px 13px 15px;
  overflow: hidden;
  color: var(--cfcc-ink) !important;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid var(--cfcc-line);
  border-radius: var(--cfcc-radius-sm);
  text-decoration: none !important;
  font-size: 0.87rem;
  font-weight: 720;
  line-height: 1.25;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.crowdflow-provider-action::after {
  content: "→";
  position: absolute;
  right: 15px;
  color: #989088;
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 180ms ease, transform 180ms ease;
}

.crowdflow-provider-action:first-child {
  grid-column: 1 / -1;
}

.crowdflow-provider-action--primary,
.crowdflow-provider-action:first-child {
  color: #fff !important;
  background: var(--cfcc-ink);
  border-color: var(--cfcc-ink);
}

.crowdflow-provider-action--primary::after,
.crowdflow-provider-action:first-child::after {
  color: var(--cfcc-orange-light);
}

.crowdflow-provider-action__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--cfcc-orange);
  background: var(--cfcc-orange-wash);
  border-radius: 9px;
  font-size: 1rem;
}

.crowdflow-provider-action:first-child .crowdflow-provider-action__icon {
  color: var(--cfcc-orange-light);
  background: rgba(255, 106, 36, 0.13);
}

.crowdflow-provider-action__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.crowdflow-provider-action__copy strong {
  overflow: hidden;
  color: inherit !important;
  font-size: 0.87rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crowdflow-provider-action__copy small {
  overflow: hidden;
  color: var(--cfcc-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crowdflow-provider-action:first-child .crowdflow-provider-action__copy small {
  color: rgba(255, 255, 255, 0.53);
}

@media (hover: hover) and (pointer: fine) {
  a.crowdflow-provider-action:hover {
    color: var(--cfcc-ink) !important;
    background: #fff;
    border-color: rgba(255, 106, 36, 0.42);
    transform: translateY(-2px);
  }

  a.crowdflow-provider-action:hover::after {
    color: var(--cfcc-orange);
    transform: translateX(3px);
  }

  a.crowdflow-provider-action:first-child:hover,
  a.crowdflow-provider-action--primary:hover {
    color: var(--cfcc-ink) !important;
    background: var(--cfcc-orange);
    border-color: var(--cfcc-orange);
  }

  a.crowdflow-provider-action:first-child:hover .crowdflow-provider-action__copy small {
    color: rgba(17, 16, 14, 0.64);
  }
}

.crowdflow-provider-action.is-disabled {
  cursor: not-allowed;
  filter: grayscale(0.4);
  opacity: 0.46;
}

.crowdflow-provider-action.is-disabled::after {
  content: "–";
}

/* Settings navigation and active provider shell. */
.crowdflow-control-center__tabs {
  position: sticky;
  z-index: 20;
  top: 18px;
  width: fit-content;
  max-width: 100%;
  display: flex;
  gap: 5px;
  margin: 0 0 18px;
  padding: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  color: #fff;
  background: rgba(23, 21, 19, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 17px 45px rgba(17, 16, 14, 0.16);
  backdrop-filter: blur(18px);
  -webkit-overflow-scrolling: touch;
}

.admin-bar .crowdflow-control-center__tabs {
  top: 50px;
}

.crowdflow-control-center__tab {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 19px;
  color: rgba(255, 255, 255, 0.64) !important;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 0.77rem;
  font-weight: 760;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: color 170ms ease, background 170ms ease, border-color 170ms ease;
}

.crowdflow-control-center__tab:hover,
.crowdflow-control-center__tab:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.crowdflow-control-center__tab.is-active {
  color: var(--cfcc-ink) !important;
  background: var(--cfcc-orange);
  border-color: rgba(255, 255, 255, 0.08);
}

.crowdflow-control-center__settings-panel {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 4vw, 52px);
  color: var(--cfcc-ink);
  background: rgba(255, 253, 249, 0.93);
  border: 1px solid var(--cfcc-line);
  border-radius: var(--cfcc-radius-lg);
  box-shadow: 0 26px 78px rgba(17, 16, 14, 0.09);
}

.crowdflow-control-center__settings-panel:focus {
  outline: none;
}

.crowdflow-control-center__settings-panel:focus-visible {
  outline: 3px solid rgba(255, 106, 36, 0.32);
  outline-offset: 4px;
}

.crowdflow-control-center__panel-header {
  margin-bottom: clamp(26px, 4vw, 44px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--cfcc-line);
}

.crowdflow-control-center__panel-header .crowdflow-control-center__eyebrow {
  margin-bottom: 12px !important;
  color: var(--cfcc-orange) !important;
}

.crowdflow-control-center__panel-header .crowdflow-control-center__eyebrow::before {
  box-shadow: 0 0 0 5px rgba(255, 106, 36, 0.1);
}

.crowdflow-control-center__settings-providers {
  min-width: 0;
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.crowdflow-control-center__settings-provider {
  min-width: 0;
}

.crowdflow-control-center__settings-provider + .crowdflow-control-center__settings-provider {
  padding-top: clamp(24px, 4vw, 44px);
  border-top: 1px solid var(--cfcc-line);
}

.crowdflow-control-center__provider-header {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(280px, 0.54fr);
  align-items: end;
  gap: 24px;
  margin: 0 0 clamp(22px, 3vw, 32px);
}

.crowdflow-control-center__provider-header h3 {
  margin: 0;
  color: var(--cfcc-ink) !important;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 660;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.crowdflow-control-center__provider-header p {
  max-width: 580px;
  margin: 0;
  color: var(--cfcc-muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

/* Phase-4 grouped settings layout (owned by the central plugin). */
.crowdflow-control-center__settings-layout,
.cfcc-settings-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.25fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 3.3vw, 48px);
}

.crowdflow-control-center__settings-nav,
.cfcc-settings-nav {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 5px;
  padding: 7px;
  background: #f1ede7;
  border: 1px solid rgba(17, 16, 14, 0.09);
  border-radius: var(--cfcc-radius-md);
}

.admin-bar :is(.crowdflow-control-center__settings-nav, .cfcc-settings-nav) {
  top: 120px;
}

.crowdflow-control-center__settings-nav a,
.cfcc-settings-nav a,
.cfcc-settings-nav button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  color: var(--cfcc-muted) !important;
  background: transparent;
  border: 0;
  border-radius: 11px;
  text-align: left;
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.25;
  cursor: pointer;
}

.crowdflow-control-center__settings-nav :is(a, button):hover,
.crowdflow-control-center__settings-nav :is(a, button).is-active,
.cfcc-settings-nav :is(a, button):hover,
.cfcc-settings-nav :is(a, button).is-active {
  color: #fff !important;
  background: var(--cfcc-ink);
}

.cfcc-settings-stack {
  min-width: 0;
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.cfcc-settings-form {
  min-width: 0;
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  margin: 0;
}

.djtk-control-center-settings,
.chatwall-control-center-settings {
  min-width: 0;
}

.cfcc-kicker {
  display: block;
  margin: 0 0 8px;
  color: var(--cfcc-orange);
  font-size: 0.63rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.cfcc-settings-card {
  position: relative;
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  background: var(--cfcc-surface);
  border: 1px solid var(--cfcc-line);
  border-radius: var(--cfcc-radius-md);
  box-shadow: 0 12px 38px rgba(17, 16, 14, 0.055);
}

.cfcc-settings-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 24px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(17, 16, 14, 0.09);
}

.cfcc-settings-card__head h2,
.cfcc-settings-card__head h3 {
  margin: 0;
  color: var(--cfcc-ink) !important;
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cfcc-settings-card__head p {
  max-width: 620px;
  margin: 7px 0 0;
  color: var(--cfcc-muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.cfcc-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.cfcc-field-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.cfcc-field-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cfcc-field {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0;
  color: var(--cfcc-ink);
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.35;
}

.cfcc-field--full {
  grid-column: 1 / -1;
}

.cfcc-field--wide {
  grid-column: 1 / -1;
}

.cfcc-field :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
:where(input, select, textarea).cfcc-field {
  width: 100%;
  max-width: none;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  color: var(--cfcc-ink);
  background: #faf8f4;
  border: 1px solid #d7d0c6;
  border-radius: 10px;
  box-shadow: none;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.cfcc-field textarea,
textarea.cfcc-field {
  min-height: 120px;
  resize: vertical;
}

.cfcc-field input[type="color"] {
  min-height: 48px;
  padding: 5px;
  cursor: pointer;
}

.cfcc-field input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.cfcc-field input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 7px;
}

.cfcc-field > img,
.cfcc-qr-preview {
  width: min(100%, 280px);
  height: auto;
  display: grid;
  place-items: center;
  justify-self: start;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--cfcc-line);
  border-radius: 15px;
  box-shadow: 0 12px 34px rgba(17, 16, 14, 0.08);
}

.cfcc-qr-preview :is(svg, img),
.cfcc-field > img {
  width: 100%;
  max-width: 252px;
  height: auto;
  display: block;
}

.cfcc-field-grid--qr {
  grid-template-columns: minmax(200px, 0.32fr) minmax(0, 0.68fr);
  align-items: center;
}

.cfcc-field :where(input, select, textarea)::placeholder,
:where(input, textarea).cfcc-field::placeholder {
  color: #938c84;
  opacity: 1;
}

.cfcc-field :where(input, select, textarea):hover,
:where(input, select, textarea).cfcc-field:hover {
  border-color: #bcb2a6;
}

.cfcc-field :where(input, select, textarea):focus,
:where(input, select, textarea).cfcc-field:focus {
  background: #fff;
  border-color: var(--cfcc-orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 36, 0.1);
  outline: none;
}

.cfcc-field :where(input, select, textarea):disabled,
:where(input, select, textarea).cfcc-field:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.cfcc-help {
  display: block;
  margin: 0;
  color: var(--cfcc-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.5;
}

.cfcc-help a,
.cfcc-field > a {
  color: #9d3d11 !important;
  text-decoration: underline;
  text-decoration-color: rgba(157, 61, 17, 0.3);
  text-underline-offset: 3px;
}

.cfcc-help a:hover,
.cfcc-field > a:hover {
  color: #702a0a !important;
  text-decoration-color: currentColor;
}

.cfcc-settings-card > .cfcc-help:last-child {
  margin-top: 18px;
}

.cfcc-account-overview {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
}

.cfcc-plan-summary {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 106, 36, 0.28), transparent 9rem),
    var(--cfcc-dark);
  border-radius: 15px;
}

.cfcc-plan-summary > span,
.cfcc-capability-summary__title {
  font-size: 0.65rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.cfcc-plan-summary > span {
  color: var(--cfcc-lime);
}

.cfcc-plan-summary > strong {
  color: #fff;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.cfcc-plan-summary > small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 550;
  line-height: 1.45;
}

.cfcc-capability-summary {
  min-width: 0;
  padding: 20px;
  background: #faf8f4;
  border: 1px solid var(--cfcc-line);
  border-radius: 15px;
}

.cfcc-capability-summary__title {
  display: block;
  margin-bottom: 13px;
  color: var(--cfcc-muted);
}

.cfcc-capability-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cfcc-capability {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid rgba(17, 16, 14, 0.08);
  border-radius: 10px;
}

.cfcc-capability > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #263807;
  background: var(--cfcc-lime);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
}

.cfcc-capability > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.cfcc-capability strong {
  color: var(--cfcc-ink);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.cfcc-capability small {
  color: var(--cfcc-muted);
  font-size: 0.69rem;
  font-weight: 500;
  line-height: 1.4;
}

.cfcc-toggle + .cfcc-field-grid,
.cfcc-toggle + .cfcc-choice-grid,
.cfcc-toggle-grid + [data-cfcc-reveal-fields] {
  margin-top: 20px;
}

.cfcc-toggle-grid {
  align-items: start;
  column-gap: 28px;
  row-gap: 20px;
}

.cfcc-toggle-grid > .cfcc-toggle {
  width: fit-content;
  max-width: 100%;
}

.cfcc-dependent-fields {
  min-width: 0;
  display: grid;
  gap: 20px;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  opacity: 1;
  transition: opacity 160ms ease, filter 160ms ease;
}

.cfcc-dependent-fields.is-disabled,
.cfcc-dependent-fields:disabled {
  opacity: 0.38;
  filter: grayscale(0.35);
}

.cfcc-dependent-fields:disabled :where(input, textarea, select, label) {
  cursor: not-allowed;
}

.cfcc-toggle {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0;
  color: var(--cfcc-ink);
  cursor: pointer;
}

.cfcc-toggle input[type="checkbox"] {
  width: 42px;
  height: 24px;
  display: inline-grid;
  place-content: center;
  flex: 0 0 auto;
  margin: 1px 0 0;
  padding: 0;
  appearance: none;
  background: #c9c2b8;
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(17, 16, 14, 0.08);
  transition: background 160ms ease;
}

.cfcc-toggle input[type="checkbox"]::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(17, 16, 14, 0.18);
  transform: translateX(-9px);
  transition: transform 160ms ease;
}

.cfcc-toggle input[type="checkbox"]:checked {
  background: var(--cfcc-orange);
}

.cfcc-toggle input[type="checkbox"]:checked::before {
  transform: translateX(9px);
}

.cfcc-toggle strong,
.cfcc-toggle span {
  display: block;
}

.cfcc-toggle strong {
  color: var(--cfcc-ink) !important;
  font-size: 0.84rem;
  font-weight: 720;
}

.cfcc-toggle span {
  margin-top: 3px;
  color: var(--cfcc-muted);
  font-size: 0.73rem;
  line-height: 1.45;
}

.cfcc-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 10px;
}

.cfcc-choice {
  position: relative;
  min-width: 0;
  min-height: 78px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px;
  color: var(--cfcc-ink);
  background: #faf8f4;
  border: 1px solid var(--cfcc-line);
  border-radius: var(--cfcc-radius-sm);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.cfcc-choice:hover,
.cfcc-choice:has(input:checked) {
  background: rgba(255, 106, 36, 0.07);
  border-color: rgba(255, 106, 36, 0.42);
}

.cfcc-choice input {
  flex: 0 0 auto;
  margin: 3px 0 0;
  accent-color: var(--cfcc-orange);
}

.cfcc-choice strong,
.cfcc-choice span {
  display: block;
}

.cfcc-choice strong {
  color: var(--cfcc-ink) !important;
  font-size: 0.82rem;
  font-weight: 720;
}

.cfcc-choice span {
  margin-top: 4px;
  color: var(--cfcc-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.cfcc-choice small {
  display: block;
  color: var(--cfcc-muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.cfcc-choice--theme {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 68px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 3px;
}

.cfcc-choice--theme > input {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
}

.cfcc-choice--theme > .cfcc-choice__preview {
  grid-column: 2;
  grid-row: 1 / 3;
}

.cfcc-choice--theme > strong {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
}

.cfcc-choice--theme > small {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
}

.cfcc-choice__preview {
  position: relative;
  width: 68px;
  height: 50px;
  display: block !important;
  margin: 0 !important;
  overflow: hidden;
  background: #18191f;
  border: 1px solid rgba(17, 16, 14, 0.14);
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(17, 16, 14, 0.1);
}

.cfcc-choice__preview :is(i, b, em) {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.cfcc-choice__preview i {
  top: 9px;
  left: 9px;
  width: 31px;
  height: 4px;
  background: rgba(255, 255, 255, 0.78);
}

.cfcc-choice__preview b {
  top: 20px;
  right: 9px;
  left: 9px;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.cfcc-choice__preview em {
  right: 9px;
  bottom: 8px;
  left: 9px;
  height: 7px;
  background: var(--cfcc-orange);
}

.cfcc-choice--clear .cfcc-choice__preview {
  background: #f8fafc;
}

.cfcc-choice--clear .cfcc-choice__preview i {
  background: #1e293b;
}

.cfcc-choice--clear .cfcc-choice__preview b {
  background: #e2e8f0;
}

.cfcc-choice--champagne .cfcc-choice__preview {
  background: #f5ede0;
}

.cfcc-choice--champagne .cfcc-choice__preview i {
  background: #54473e;
}

.cfcc-choice--champagne .cfcc-choice__preview b {
  background: rgba(84, 71, 62, 0.12);
}

.cfcc-choice--champagne .cfcc-choice__preview em {
  background: #b98756;
}

.cfcc-savebar {
  position: sticky;
  z-index: 12;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 13px 15px;
  color: #fff;
  background: rgba(23, 21, 19, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(17, 16, 14, 0.2);
  backdrop-filter: blur(18px);
}

.cfcc-savebar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.73rem;
}

.cfcc-savebar--inline {
  position: static;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.cfcc-button,
.crowdflow-control-center__login {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  color: var(--cfcc-ink) !important;
  background: var(--cfcc-orange);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1;
  cursor: pointer;
  transition: color 170ms ease, background 170ms ease, border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.cfcc-button:hover,
.cfcc-button:focus-visible,
.crowdflow-control-center__login:hover,
.crowdflow-control-center__login:focus-visible {
  color: var(--cfcc-ink) !important;
  background: var(--cfcc-orange-light);
  box-shadow: 0 14px 34px rgba(255, 106, 36, 0.24);
  transform: translateY(-2px);
}

.cfcc-button--dark {
  color: #fff !important;
  background: var(--cfcc-ink);
}

.cfcc-button--dark:hover,
.cfcc-button--dark:focus-visible {
  color: #fff !important;
  background: #292623;
  box-shadow: 0 14px 34px rgba(17, 16, 14, 0.18);
}

.cfcc-button--secondary,
.cfcc-button--outline {
  color: var(--cfcc-ink) !important;
  background: transparent;
  border-color: rgba(17, 16, 14, 0.38);
}

.cfcc-button--secondary:hover,
.cfcc-button--secondary:focus-visible,
.cfcc-button--outline:hover,
.cfcc-button--outline:focus-visible {
  color: #fff !important;
  background: var(--cfcc-ink);
  border-color: var(--cfcc-ink);
}

.cfcc-button--danger {
  color: #fff !important;
  background: var(--cfcc-danger);
}

.cfcc-button--danger:hover,
.cfcc-button--danger:focus-visible {
  color: #fff !important;
  background: #8f1c13;
  box-shadow: 0 14px 34px rgba(180, 35, 24, 0.18);
}

.cfcc-button[disabled],
.cfcc-button[aria-disabled="true"] {
  cursor: not-allowed;
  filter: grayscale(0.4);
  opacity: 0.5;
  transform: none;
}

/* Copyable account links and live, client-side countdown labels. */
.cfcc-link-list {
  display: grid;
  gap: 12px;
}

.cfcc-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.cfcc-link-row .cfcc-field {
  min-width: 0;
}

.cfcc-link-row input[readonly] {
  width: 100%;
  overflow: hidden;
  color: var(--cfcc-ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cfcc-link-row .cfcc-button {
  min-width: 126px;
}

/* Chatwall policy records and the native Phase-6 display studio. */
[data-crowdflow-provider="chatwall"] .crowdflow-control-center__provider-content > * + *,
[data-crowdflow-provider="chatwall-display"] .crowdflow-control-center__provider-content > * + * {
  margin-top: clamp(16px, 2vw, 24px);
}

.cfcc-blocked-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cfcc-blocked-list[hidden],
.cfcc-blocked-empty[hidden] {
  display: none !important;
}

.cfcc-blocked-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  padding: 17px;
  background: #faf8f4;
  border: 1px solid var(--cfcc-line);
  border-radius: 14px;
}

.cfcc-blocked-card__body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.cfcc-blocked-card__body > :where(strong, p) {
  margin: 0;
}

.cfcc-blocked-card__body > strong {
  color: var(--cfcc-ink);
  font-size: 0.86rem;
}

.cfcc-blocked-card__body > p {
  overflow-wrap: anywhere;
  color: var(--cfcc-ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.cfcc-blocked-form,
.cfcc-overlay-delete-form {
  margin: 0;
}

.cfcc-blocked-card .cfcc-button,
.cfcc-overlay-card .cfcc-button {
  min-height: 40px;
  padding-right: 15px;
  padding-left: 15px;
}

.cfcc-blocked-empty,
.cfcc-overlay-empty {
  margin: 0;
  color: var(--cfcc-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.cfcc-display-preview {
  overflow: hidden;
}

.cfcc-preview-stage {
  position: relative;
  isolation: isolate;
  min-height: clamp(280px, 42vw, 520px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(17, 16, 14, 0.2);
  transition: color 160ms ease, background-color 160ms ease, padding 160ms ease;
}

.cfcc-preview-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.cfcc-preview-stage > p {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 0 0.34em;
  overflow-wrap: anywhere;
  line-height: 1.1;
}

.cfcc-preview-stage > p:last-of-type {
  margin-bottom: 0;
}

.cfcc-preview-banner {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  overflow: hidden;
  padding: 8px 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.cfcc-preview-banner--top {
  top: 0;
}

.cfcc-preview-banner--bottom {
  bottom: 0;
}

.cfcc-overlay-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cfcc-overlay-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: 12px;
  background: #faf8f4;
  border: 1px solid var(--cfcc-line);
  border-radius: 14px;
}

.cfcc-overlay-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  background: #e8e2d9;
  border-radius: 9px;
}

.cfcc-overlay-card__body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 4px;
}

.cfcc-overlay-card__body > strong {
  overflow: hidden;
  color: var(--cfcc-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
}

.cfcc-overlay-card .cfcc-overlay-delete-form,
.cfcc-overlay-card .cfcc-button {
  width: 100%;
}

.cfcc-countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  color: var(--cfcc-muted);
  font-size: 0.8rem;
}

.cfcc-countdown strong {
  color: var(--cfcc-ink);
  font-variant-numeric: tabular-nums;
}

/* Aggregate feedback periods and immutable history records. */
[data-djtk-settings="feedback"] .crowdflow-provider-stat strong {
  overflow: visible;
  font-size: clamp(0.92rem, 2.2vw, 1.45rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

[data-djtk-settings="feedback"] .cfcc-capability-summary {
  display: grid;
  gap: 16px;
}

[data-djtk-settings="feedback"] .cfcc-capability-summary > :where(h3, p),
[data-djtk-settings="feedback"] .cfcc-capability-summary .crowdflow-provider-stats {
  margin: 0;
}

[data-djtk-settings="feedback"] .cfcc-capability-summary > h3 {
  color: var(--cfcc-ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

[data-djtk-settings="feedback"] .cfcc-capability-summary .crowdflow-provider-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

[data-djtk-settings="feedback"] .cfcc-settings-form + .cfcc-settings-form {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--cfcc-line);
}

/* Empty, error and login states. */
.crowdflow-control-center__notice,
.crowdflow-provider-notice,
.cfcc-notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  padding: 16px 18px;
  color: var(--cfcc-ink);
  background: #fff9e9;
  border: 1px solid rgba(152, 96, 11, 0.25);
  border-left: 4px solid #c98114;
  border-radius: var(--cfcc-radius-sm);
  font-size: 0.82rem;
  line-height: 1.5;
}

.crowdflow-control-center__notice::before,
.crowdflow-provider-notice::before,
.cfcc-notice::before {
  content: "i";
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--cfcc-warning);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.crowdflow-control-center__notice--error,
.crowdflow-provider-notice--error,
.cfcc-notice--error {
  background: #fff1ef;
  border-color: rgba(180, 35, 24, 0.24);
  border-left-color: var(--cfcc-danger);
}

.crowdflow-control-center__notice--error::before,
.crowdflow-provider-notice--error::before,
.cfcc-notice--error::before {
  content: "!";
  background: var(--cfcc-danger);
}

.crowdflow-control-center__notice--success {
  background: #f3f9e9;
  border-color: rgba(70, 115, 19, 0.24);
  border-left-color: var(--cfcc-success);
}

.crowdflow-control-center__notice--success::before {
  content: "✓";
  background: var(--cfcc-success);
}

.cfcc-notice--success {
  background: #f3f9e9;
  border-color: rgba(70, 115, 19, 0.24);
  border-left-color: var(--cfcc-success);
}

.cfcc-notice--success::before {
  content: "✓";
  background: var(--cfcc-success);
}

.cfcc-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 13px 15px;
  color: var(--cfcc-ink);
  background: #f3f9e9;
  border: 1px solid rgba(70, 115, 19, 0.22);
  border-radius: var(--cfcc-radius-sm);
  font-size: 0.79rem;
  font-weight: 650;
  line-height: 1.4;
}

.cfcc-status::before {
  content: "✓";
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--cfcc-success);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
}

.crowdflow-control-center--login {
  min-height: min(720px, calc(100vh - 100px));
  display: grid;
  place-content: center;
  justify-items: start;
  color: #fff;
  background:
    radial-gradient(circle at 67% 36%, rgba(255, 106, 36, 0.2), transparent 21rem),
    var(--cfcc-dark);
}

.crowdflow-control-center--login > p,
.crowdflow-control-center--login > a {
  width: min(560px, 100%);
}

.crowdflow-control-center--login > p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
}

.crowdflow-control-center--login .crowdflow-control-center__login {
  width: fit-content;
}

/* Compact adaptations before the one-column mobile layout. */
@media (max-width: 1080px) {
  .crowdflow-control-center__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .crowdflow-control-center__card {
    padding: clamp(24px, 5vw, 42px);
  }

  .crowdflow-provider-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .crowdflow-control-center {
    --cfcc-shell: min(100% - 32px, 1440px);
    padding-right: 16px;
    padding-left: 16px;
  }

  .crowdflow-control-center__header {
    min-height: 330px;
    border-radius: 22px;
  }

  .crowdflow-control-center__header::before {
    right: -38%;
  }

  .crowdflow-control-center__tabs,
  .admin-bar .crowdflow-control-center__tabs {
    position: relative;
    top: auto;
  }

  .crowdflow-control-center__settings-layout,
  .cfcc-settings-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .crowdflow-control-center__provider-header {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 7px;
  }

  .crowdflow-control-center__settings-nav,
  .cfcc-settings-nav,
  .admin-bar :is(.crowdflow-control-center__settings-nav, .cfcc-settings-nav) {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .cfcc-field-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cfcc-overlay-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cfcc-field-grid--qr {
    grid-template-columns: minmax(0, 1fr);
  }

  .cfcc-account-overview {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .crowdflow-control-center {
    min-height: 420px;
    padding-top: 20px;
    padding-bottom: 64px;
    font-size: 15px;
  }

  .crowdflow-control-center__header {
    min-height: 360px;
    justify-content: flex-end;
    margin-bottom: 22px;
    padding: 28px 24px;
  }

  .crowdflow-control-center__header h1 {
    font-size: clamp(2.35rem, 13vw, 3.55rem);
    line-height: 0.98;
  }

  .crowdflow-control-center__header > .crowdflow-control-center__lead {
    margin-top: 17px;
    font-size: 0.95rem;
  }

  .crowdflow-control-center__header-action {
    width: 100%;
  }

  .crowdflow-control-center__eyebrow {
    margin-bottom: 18px !important;
    font-size: 0.62rem !important;
  }

  .crowdflow-control-center__card,
  .crowdflow-control-center__settings-panel {
    padding: 21px;
    border-radius: 17px;
  }

  .crowdflow-control-center__card-header {
    min-height: 61px;
    margin-bottom: 20px;
    padding: 0 30px 18px 54px;
  }

  .crowdflow-control-center__card-header::before {
    width: 40px;
    height: 40px;
  }

  .crowdflow-control-center__card-header::after {
    top: 14px;
  }

  .crowdflow-provider-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crowdflow-provider-stat {
    min-height: 82px;
    padding: 11px 9px;
    font-size: 0.58rem;
    letter-spacing: 0.03em;
  }

  .crowdflow-provider-stat strong {
    font-size: 1.45rem;
  }

  .crowdflow-provider-actions,
  .cfcc-field-grid,
  .cfcc-field-grid--three,
  .cfcc-choice-grid,
  .cfcc-blocked-list,
  .cfcc-overlay-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .cfcc-blocked-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .cfcc-blocked-card .cfcc-button {
    width: 100%;
  }

  .cfcc-preview-stage {
    min-height: 280px;
  }

  .crowdflow-provider-action:first-child {
    grid-column: auto;
  }

  .crowdflow-provider-action {
    min-height: 66px;
  }

  .crowdflow-control-center__tabs {
    width: 100%;
    border-radius: 15px;
  }

  .crowdflow-control-center__tab {
    min-height: 40px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .cfcc-settings-card {
    padding: 19px;
  }

  .cfcc-settings-card__head,
  .cfcc-savebar {
    align-items: stretch;
    flex-direction: column;
  }

  .cfcc-savebar {
    bottom: 8px;
  }

  .cfcc-savebar .cfcc-button {
    width: 100%;
  }

  .cfcc-savebar--inline .cfcc-button {
    width: 100%;
  }

  .cfcc-link-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .cfcc-link-row .cfcc-button {
    width: 100%;
  }

  [data-djtk-settings="feedback"] .crowdflow-provider-stats,
  [data-djtk-settings="feedback"] .cfcc-capability-summary .crowdflow-provider-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 390px) {
  .crowdflow-provider-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .crowdflow-provider-stat {
    min-height: 68px;
  }
}

/*
 * Phase 7 dashboard presentation.
 *
 * This layer deliberately lives below the shared Control Center rules and is
 * scoped to the dashboard root. The settings screen keeps the Phase 6 shell,
 * while the dashboard adopts the public site's editorial event atmosphere.
 */
.crowdflow-control-center.crowdflow-control-center--dashboard {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
  overflow: clip;
  color: var(--cfcc-ink);
  background: var(--cfcc-paper);
  line-height: 1.6;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-skip {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  color: #fff !important;
  background: var(--cfcc-ink);
  border: 2px solid var(--cfcc-orange);
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.32);
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 780;
  transform: translateY(calc(-100% - 24px));
  transition: transform 170ms ease;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-skip:focus,
.crowdflow-control-center--dashboard .cfcc-dashboard-skip:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
  transform: translateY(0);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(570px, 70vh, 720px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 32%, rgba(255, 138, 61, 0.2), transparent 24%),
    radial-gradient(circle at 84% 74%, rgba(217, 255, 102, 0.055), transparent 20%),
    linear-gradient(112deg, #0b0a09 0%, #171513 55%, #2a211b 100%);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -34%;
  right: -10%;
  width: clamp(420px, 58vw, 860px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 72px rgba(255, 255, 255, 0.014),
    0 0 0 144px rgba(255, 255, 255, 0.01),
    0 0 0 216px rgba(255, 106, 36, 0.012);
  transform: rotate(-8deg);
  pointer-events: none;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 44px;
  background: var(--cfcc-paper);
  clip-path: polygon(0 66%, 67% 66%, 72% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero__shell {
  position: relative;
  z-index: 2;
  width: var(--cfcc-shell);
  min-width: 0;
  min-height: inherit;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 112px) 0 clamp(92px, 10vw, 136px);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero__layout {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(350px, 0.72fr);
  align-items: end;
  gap: clamp(44px, 7vw, 104px);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero__layout--single {
  grid-template-columns: minmax(0, 820px);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero__copy {
  min-width: 0;
  align-self: center;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero__eyebrow,
.crowdflow-control-center--dashboard .cfcc-dashboard-section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  margin: 0 0 22px;
  color: var(--cfcc-orange-light) !important;
  font-size: 0.69rem;
  font-weight: 820;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero__eyebrow::before,
.crowdflow-control-center--dashboard .cfcc-dashboard-section-head__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cfcc-orange);
  box-shadow: 0 0 0 5px rgba(255, 106, 36, 0.14);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #fff !important;
  font-family: inherit;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero h1 :is(em, span) {
  color: var(--cfcc-orange);
  font-style: normal;
  font-weight: inherit;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.67) !important;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.62;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 30px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  color: #fff !important;
  background: var(--cfcc-ink);
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 0.8rem;
  font-weight: 780;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-button--primary {
  color: var(--cfcc-ink) !important;
  background: var(--cfcc-orange);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-button--ghost {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

@media (hover: hover) and (pointer: fine) {
  .crowdflow-control-center--dashboard a.cfcc-dashboard-button:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    transform: translateY(-2px);
  }

  .crowdflow-control-center--dashboard a.cfcc-dashboard-button--primary:hover {
    color: var(--cfcc-ink) !important;
    background: var(--cfcc-orange-light);
    border-color: var(--cfcc-orange-light);
    box-shadow: 0 14px 36px rgba(255, 106, 36, 0.25);
  }
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview {
  position: relative;
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, rgba(26, 24, 21, 0.82), rgba(18, 17, 15, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview::before {
  content: "";
  position: absolute;
  top: 14%;
  bottom: 14%;
  left: -1px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 106, 36, 0.2) 18%, rgba(255, 106, 36, 0.9) 50%, rgba(255, 106, 36, 0.2) 82%, transparent);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(255, 106, 36, 0.24);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
  padding: 1px 2px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__head :where(h2, h3, p) {
  margin: 0;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__head :where(h2, h3) {
  color: #fff !important;
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -0.015em;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__head p {
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 0.68rem;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__item {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 12px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--cfcc-orange-light);
  background: rgba(255, 106, 36, 0.12);
  border: 1px solid rgba(255, 106, 36, 0.16);
  border-radius: 10px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__icon :is(svg, img) {
  width: 19px;
  height: 19px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__copy :where(strong, span) {
  display: block;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__copy strong {
  overflow-wrap: break-word;
  color: #fff !important;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.25;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__detail {
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 0.64rem;
  line-height: 1.35;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  color: var(--cfcc-lime) !important;
  background: rgba(217, 255, 102, 0.08);
  border: 1px solid rgba(217, 255, 102, 0.15);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__state::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(217, 255, 102, 0.08);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__item[data-tone="attention"] .cfcc-dashboard-overview__state,
.crowdflow-control-center--dashboard .cfcc-dashboard-product[data-tone="attention"] .cfcc-dashboard-product__status {
  color: var(--cfcc-orange-light) !important;
  background: rgba(255, 106, 36, 0.09);
  border-color: rgba(255, 106, 36, 0.2);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__item[data-tone="danger"] .cfcc-dashboard-overview__state,
.crowdflow-control-center--dashboard .cfcc-dashboard-product[data-tone="danger"] .cfcc-dashboard-product__status {
  color: #ff9a91 !important;
  background: rgba(255, 122, 110, 0.09);
  border-color: rgba(255, 122, 110, 0.22);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-overview__item[data-tone="neutral"] .cfcc-dashboard-overview__state,
.crowdflow-control-center--dashboard .cfcc-dashboard-product[data-tone="neutral"] .cfcc-dashboard-product__status {
  color: rgba(255, 255, 255, 0.66) !important;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-signals {
  width: var(--cfcc-shell);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  padding: 33px 0 39px;
  border-bottom: 1px solid var(--cfcc-line);
  list-style: none;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-signal {
  min-width: 0;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 0 12px;
  padding: 7px clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--cfcc-line);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-signal:first-child {
  padding-left: 0;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-signal:last-child {
  padding-right: 0;
  border-right: 0;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-signal__index {
  grid-row: 1 / span 2;
  color: #b33d0c;
  font-size: 0.64rem;
  font-weight: 820;
  line-height: 1.4;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-signal__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-signal__copy strong {
  overflow-wrap: break-word;
  color: var(--cfcc-ink) !important;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-signal__copy span {
  overflow-wrap: break-word;
  color: var(--cfcc-muted) !important;
  font-size: 0.7rem;
  line-height: 1.45;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-products {
  position: relative;
  isolation: isolate;
  padding: clamp(92px, 9vw, 128px) max(32px, calc((100vw - 1440px) / 2)) clamp(96px, 10vw, 142px);
  overflow: hidden;
  color: #fff;
  background: var(--cfcc-dark);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-products::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -230px;
  right: -150px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 36, 0.115), transparent 68%);
  pointer-events: none;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-products__shell,
.crowdflow-control-center--dashboard .cfcc-dashboard-products__section-head,
.crowdflow-control-center--dashboard .cfcc-dashboard-products__grid {
  min-width: 0;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-products__shell {
  width: 100%;
  margin: 0 auto;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-section-head {
  max-width: 790px;
  margin: 0 0 clamp(42px, 5vw, 64px);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-section-head h2 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(2.15rem, 3.7vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.032em;
  line-height: 1.08;
  text-wrap: balance;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-section-head > p:last-child {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.56) !important;
  font-size: 0.96rem;
  line-height: 1.62;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product {
  position: relative;
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 40px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.025), transparent 43%),
    var(--cfcc-dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 14px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product:only-child {
  grid-column: 1 / -1;
  width: min(100%, 780px);
  justify-self: center;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product::before {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -170px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 36, 0.12), transparent 67%);
  pointer-events: none;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product[data-crowdflow-provider="chatwall"]::before {
  top: -155px;
  right: auto;
  bottom: auto;
  left: -150px;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.105), transparent 67%);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__head,
.crowdflow-control-center--dashboard .cfcc-dashboard-metrics,
.crowdflow-control-center--dashboard .cfcc-dashboard-facts,
.crowdflow-control-center--dashboard .cfcc-dashboard-actions,
.crowdflow-control-center--dashboard .cfcc-dashboard-legacy {
  position: relative;
  z-index: 1;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__head {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin-bottom: 26px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__identity {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--cfcc-orange-light);
  background: rgba(255, 106, 36, 0.105);
  border: 1px solid rgba(255, 106, 36, 0.17);
  border-radius: 12px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__icon :is(svg, img) {
  width: 21px;
  height: 21px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__title {
  min-width: 0;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__title :where(h2, h3, p) {
  margin: 0;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__title :where(h2, h3) {
  overflow-wrap: normal;
  color: #fff !important;
  font-size: clamp(1.45rem, 2.25vw, 1.9rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__description {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 4px 0 0;
  overflow-wrap: normal;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.82rem;
  line-height: 1.55;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  color: var(--cfcc-lime) !important;
  background: rgba(217, 255, 102, 0.075);
  border: 1px solid rgba(217, 255, 102, 0.14);
  border-radius: 999px;
  font-size: 0.59rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 8px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(217, 255, 102, 0.08);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metric {
  min-width: 0;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.052);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metric__value {
  display: block;
  overflow: hidden;
  color: #fff !important;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metric__label {
  display: block;
  overflow-wrap: normal;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 0.61rem;
  font-weight: 760;
  letter-spacing: 0.05em;
  line-height: 1.28;
  text-transform: uppercase;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metric[data-tone="attention"] {
  background: rgba(255, 106, 36, 0.075);
  border-color: rgba(255, 106, 36, 0.2);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metric[data-tone="attention"] .cfcc-dashboard-metric__value {
  color: var(--cfcc-orange-light) !important;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metric[data-tone="danger"] {
  background: rgba(255, 122, 110, 0.07);
  border-color: rgba(255, 122, 110, 0.21);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metric[data-tone="danger"] .cfcc-dashboard-metric__value {
  color: #ff9a91 !important;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-fact {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 10px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-fact--link {
  color: inherit;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-fact--link:hover,
.crowdflow-control-center--dashboard .cfcc-dashboard-fact--link:focus-visible {
  background: rgba(255, 106, 36, 0.08);
  border-color: rgba(255, 106, 36, 0.42);
  outline: none;
  transform: translateY(-1px);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-fact--link:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 106, 36, 0.2);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-fact:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-fact__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 0.6rem;
  font-weight: 740;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-transform: uppercase;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-fact__value {
  margin: 0;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.35;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: auto;
  padding-top: 4px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action {
  position: relative;
  min-width: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  padding: 13px;
  overflow: hidden;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.052);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 12px;
  text-decoration: none !important;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action--primary {
  grid-column: 1 / -1;
  color: var(--cfcc-ink) !important;
  background: var(--cfcc-orange);
  border-color: var(--cfcc-orange);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--cfcc-orange-light);
  background: rgba(255, 106, 36, 0.11);
  border-radius: 9px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action--primary .cfcc-dashboard-action__icon {
  color: var(--cfcc-ink);
  background: rgba(17, 16, 14, 0.1);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action__icon :is(svg, img) {
  width: 18px;
  height: 18px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action__label {
  overflow-wrap: normal;
  color: inherit !important;
  font-size: 0.79rem;
  font-weight: 750;
  line-height: 1.28;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action__description {
  overflow-wrap: normal;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.65rem;
  line-height: 1.35;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action--primary .cfcc-dashboard-action__description {
  color: rgba(17, 16, 14, 0.82) !important;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action__arrow {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.46);
  font-size: 1.02rem;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action__arrow svg {
  width: 16px;
  height: 16px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action--primary .cfcc-dashboard-action__arrow {
  color: var(--cfcc-ink);
}

@media (hover: hover) and (pointer: fine) {
  .crowdflow-control-center--dashboard a.cfcc-dashboard-action:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 106, 36, 0.34);
    transform: translateY(-2px);
  }

  .crowdflow-control-center--dashboard a.cfcc-dashboard-action--primary:hover {
    color: var(--cfcc-ink) !important;
    background: var(--cfcc-orange-light);
    border-color: var(--cfcc-orange-light);
  }

  .crowdflow-control-center--dashboard a.cfcc-dashboard-action:hover .cfcc-dashboard-action__arrow {
    color: var(--cfcc-orange-light);
    transform: translateX(3px);
  }

  .crowdflow-control-center--dashboard a.cfcc-dashboard-action--primary:hover .cfcc-dashboard-action__arrow {
    color: var(--cfcc-ink);
  }
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action--disabled,
.crowdflow-control-center--dashboard .cfcc-dashboard-action[aria-disabled="true"] {
  cursor: not-allowed;
  filter: grayscale(0.25);
  opacity: 0.45;
}

.crowdflow-control-center--dashboard a.cfcc-dashboard-action[aria-disabled="true"] {
  pointer-events: none;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-legacy {
  margin-top: auto;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-legacy .crowdflow-provider-stats {
  margin-bottom: 16px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-legacy .crowdflow-provider-stat {
  color: rgba(255, 255, 255, 0.43);
  background: rgba(255, 255, 255, 0.052);
  border-color: rgba(255, 255, 255, 0.07);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-legacy .crowdflow-provider-stat strong {
  color: #fff !important;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-legacy .crowdflow-provider-action {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.052);
  border-color: rgba(255, 255, 255, 0.085);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-legacy .crowdflow-provider-action:first-child,
.crowdflow-control-center--dashboard .cfcc-dashboard-legacy .crowdflow-provider-action--primary {
  color: var(--cfcc-ink) !important;
  background: var(--cfcc-orange);
  border-color: var(--cfcc-orange);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-legacy .crowdflow-provider-action__copy small {
  color: rgba(255, 255, 255, 0.66);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-legacy .crowdflow-provider-action:first-child .crowdflow-provider-action__copy small,
.crowdflow-control-center--dashboard .cfcc-dashboard-legacy .crowdflow-provider-action--primary .crowdflow-provider-action__copy small {
  color: rgba(17, 16, 14, 0.82);
}

/* Motion remains an enhancement: content is visible until JS opts in. */
.crowdflow-control-center--dashboard.cfcc-motion-ready [data-cfcc-reveal] {
  --cfcc-reveal-delay: 0ms;
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 24px, 0) scale(0.987);
  transition:
    opacity 680ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--cfcc-reveal-delay),
    filter 680ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--cfcc-reveal-delay),
    transform 780ms cubic-bezier(0.16, 1, 0.3, 1) var(--cfcc-reveal-delay);
  will-change: opacity, filter, transform;
}

.crowdflow-control-center--dashboard.cfcc-motion-ready [data-cfcc-reveal="left"] {
  transform: translate3d(-24px, 12px, 0) scale(0.987);
}

.crowdflow-control-center--dashboard.cfcc-motion-ready [data-cfcc-reveal="right"] {
  transform: translate3d(24px, 12px, 0) scale(0.987);
}

.crowdflow-control-center--dashboard.cfcc-motion-ready [data-cfcc-reveal].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

.crowdflow-control-center--dashboard.cfcc-motion-ready [data-cfcc-reveal]:focus-within {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0ms;
  will-change: auto;
}

@media (max-width: 1024px) {
  .crowdflow-control-center--dashboard .cfcc-dashboard-hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.8fr);
    gap: 34px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-product {
    padding: clamp(28px, 5vw, 42px);
  }
}

@media (max-width: 768px) {
  .crowdflow-control-center--dashboard {
    --cfcc-shell: min(100% - 32px, 680px);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-hero {
    min-height: 0;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-hero::before {
    top: -9%;
    right: -55%;
    width: 760px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-hero::after {
    height: 30px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-hero__shell {
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-hero__layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 34px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-overview {
    width: min(100%, 560px);
    justify-self: end;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-signals {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 25px;
    padding-bottom: 30px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-signal,
  .crowdflow-control-center--dashboard .cfcc-dashboard-signal:first-child,
  .crowdflow-control-center--dashboard .cfcc-dashboard-signal:last-child {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--cfcc-line);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-signal:last-child {
    border-bottom: 0;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-products {
    padding: 82px 16px 94px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-section-head {
    margin-bottom: 42px;
  }
}

@media (max-width: 390px) {
  .crowdflow-control-center--dashboard {
    --cfcc-shell: calc(100% - 28px);
    font-size: 15px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-skip {
    right: 12px;
    max-width: calc(100vw - 24px);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-hero__shell {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 2.85rem);
    line-height: 1.02;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-hero__lead {
    margin-top: 19px;
    font-size: 0.92rem;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-hero__actions {
    margin-top: 24px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-overview {
    padding: 18px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-overview__item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-overview__icon {
    width: 38px;
    height: 38px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-overview__state {
    grid-column: 2;
    width: fit-content;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-products {
    padding: 72px 14px 82px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-section-head h2 {
    font-size: 2rem;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-product {
    padding: 22px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-product__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-product__identity {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 12px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-product__icon {
    width: 43px;
    height: 43px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-product__status {
    width: fit-content;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-metric {
    min-height: 88px;
    padding: 12px 9px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-metric:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-metric__value {
    font-size: 1.55rem;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-metric__label {
    font-size: 0.55rem;
    letter-spacing: 0.025em;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-action--primary {
    grid-column: auto;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-action {
    min-height: 72px;
  }
}

@media (max-width: 320px) {
  .crowdflow-control-center--dashboard {
    --cfcc-shell: calc(100% - 20px);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-button {
    width: 100%;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-overview {
    padding: 15px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-overview__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-products {
    padding-right: 10px;
    padding-left: 10px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-product {
    padding: 18px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-metrics,
  .crowdflow-control-center--dashboard .cfcc-dashboard-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-metric:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-fact:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-metric {
    min-height: 72px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-action {
    grid-template-columns: 36px minmax(0, 1fr) 14px;
    gap: 9px;
    padding: 11px;
  }
}

/*
 * Compact dark Control Center.
 *
 * The public site shell stays visible, while both shortcode pages use its
 * near-black background. The Dashboard deliberately contains no promotional
 * intro: the two product areas are the complete visible interface.
 */
body.crowdflow-control-center-page,
body.crowdflow-control-center-page .site-content,
body.crowdflow-control-center-page .content-area,
body.crowdflow-control-center-page .site-main,
body.crowdflow-control-center-page .site-content .ast-container,
body.crowdflow-control-center-page .entry-content,
body.crowdflow-control-center-page article.page {
  background: #11100e !important;
}

.cfcc-visually-hidden {
  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;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Dashboard: operational information and destinations only. */
.crowdflow-control-center.crowdflow-control-center--dashboard {
  --cfcc-shell: min(1440px, calc(100vw - 48px));
  min-height: 0;
  color-scheme: dark;
  background: #11100e;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-products {
  min-height: 0;
  padding: clamp(22px, 3.2vw, 42px) 0 clamp(30px, 4vw, 56px);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 106, 36, 0.075), transparent 24rem),
    #11100e;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-products::before {
  display: none;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-products__shell {
  width: var(--cfcc-shell);
  margin: 0 auto;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-welcome {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: clamp(18px, 2vw, 23px) clamp(18px, 2.4vw, 28px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0, rgba(255, 138, 61, 0.14), transparent 18rem),
    linear-gradient(118deg, #24201c 0%, #1c1a17 62%, #201b17 100%);
  border: 1px solid rgba(255, 138, 61, 0.2);
  border-radius: 17px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-welcome::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cfcc-orange-light), var(--cfcc-orange));
}

.crowdflow-control-center--dashboard .cfcc-dashboard-welcome::after {
  content: "";
  position: absolute;
  top: -95px;
  right: 110px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 36, 0.1), transparent 68%);
  pointer-events: none;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-welcome__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-welcome__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--cfcc-orange-light);
  background: rgba(255, 106, 36, 0.11);
  border: 1px solid rgba(255, 138, 61, 0.2);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-welcome__mark svg {
  width: 21px;
  height: 21px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-welcome__text {
  min-width: 0;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-welcome__location {
  display: block;
  margin: 0 0 3px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.57rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-welcome h1 {
  display: block;
  margin: 0;
  overflow-wrap: normal;
  color: #fff !important;
  font-family: inherit;
  font-size: clamp(1.28rem, 2vw, 1.68rem);
  font-weight: 620;
  letter-spacing: -0.028em;
  line-height: 1.18;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-welcome h1::before {
  display: none;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-welcome__name {
  color: var(--cfcc-orange-light) !important;
  font-weight: 760;
  overflow-wrap: break-word;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-settings-link {
  position: relative;
  z-index: 1;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 0 14px;
  color: #11100e !important;
  background: var(--cfcc-orange);
  border: 1px solid var(--cfcc-orange);
  border-radius: 10px;
  text-decoration: none !important;
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1;
  transition: background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-settings-link__icon {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-settings-link__icon svg {
  width: 17px;
  height: 17px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin: 0 0 16px;
  padding: 14px 15px;
  color: #fff;
  background: linear-gradient(120deg, rgba(255, 106, 36, 0.13), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 138, 61, 0.28);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--cfcc-orange-light);
  background: rgba(255, 106, 36, 0.12);
  border: 1px solid rgba(255, 138, 61, 0.2);
  border-radius: 11px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice__icon svg {
  width: 19px;
  height: 19px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice__copy {
  min-width: 0;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice__copy h2,
.crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice__copy p {
  margin: 0;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice__copy h2 {
  color: #fff !important;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: -0.012em;
  line-height: 1.28;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice__copy p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 0.68rem;
  line-height: 1.45;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice__action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #17110d !important;
  background: var(--cfcc-orange);
  border: 1px solid var(--cfcc-orange);
  border-radius: 9px;
  text-decoration: none !important;
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice__action:hover,
.crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice__action:focus-visible {
  color: #17110d !important;
  background: var(--cfcc-orange-light);
  border-color: var(--cfcc-orange-light);
}

@media (hover: hover) and (pointer: fine) {
  .crowdflow-control-center--dashboard .cfcc-dashboard-settings-link:hover {
    color: #11100e !important;
    background: var(--cfcc-orange-light);
    border-color: var(--cfcc-orange-light);
    transform: translateY(-1px);
  }
}

.crowdflow-control-center--dashboard .cfcc-dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product,
.crowdflow-control-center--dashboard .cfcc-dashboard-product:only-child {
  width: 100%;
  min-height: 0;
  padding: clamp(16px, 2vw, 22px);
  background:
    linear-gradient(145deg, rgba(255, 138, 61, 0.03), transparent 44%),
    #1d1b18;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product:only-child {
  grid-column: 1 / -1;
  max-width: 760px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product::before {
  width: 280px;
  height: 280px;
  opacity: 0.72;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__head {
  gap: 0;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__identity {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 11px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__icon :is(svg, img) {
  width: 18px;
  height: 18px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__title :where(h2, h3) {
  font-size: clamp(1.12rem, 1.7vw, 1.38rem);
  line-height: 1.08;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product__status {
  margin-top: 5px;
  padding: 5px 8px;
  font-size: 0.54rem;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metrics {
  gap: 6px;
  margin-bottom: 8px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metric {
  min-height: 67px;
  justify-content: center;
  gap: 5px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.085);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metric__value {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metric__label {
  font-size: 0.55rem;
  letter-spacing: 0.035em;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-facts {
  gap: 6px;
  margin-bottom: 8px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-fact {
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.032);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-fact__label {
  font-size: 0.54rem;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-fact__value {
  text-align: right;
  font-size: 0.68rem;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-actions {
  gap: 6px;
  padding-top: 0;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action {
  min-height: 51px;
  grid-template-columns: 29px minmax(0, 1fr) 13px;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action__icon {
  width: 29px;
  height: 29px;
  border-radius: 8px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action__icon :is(svg, img) {
  width: 15px;
  height: 15px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action__copy {
  gap: 0;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action__label {
  font-size: 0.7rem;
  line-height: 1.22;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action--disabled {
  min-height: 58px;
  filter: none;
  opacity: 0.64;
  border-color: rgba(255, 138, 61, 0.16);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action--disabled .cfcc-dashboard-action__copy {
  gap: 2px;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action--disabled .cfcc-dashboard-action__description {
  font-size: 0.58rem;
  line-height: 1.25;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-action__arrow,
.crowdflow-control-center--dashboard .cfcc-dashboard-action__arrow svg {
  width: 13px;
  height: 13px;
}

.crowdflow-control-center--dashboard .crowdflow-control-center__notice {
  color: #f7f3ed;
  background: #1b1917;
  border-color: rgba(255, 255, 255, 0.1);
}

/*
 * Keep interface copy readable on narrow screens. UI labels wrap only at
 * natural word boundaries; account-provided values may break only when one
 * unspaced token would otherwise leave its card.
 */
.crowdflow-control-center--dashboard :is(
  .cfcc-dashboard-welcome h1,
  .cfcc-dashboard-product__title h2,
  .cfcc-dashboard-product__title h3,
  .cfcc-dashboard-product__description,
  .cfcc-dashboard-metric__label,
  .cfcc-dashboard-fact__label,
  .cfcc-dashboard-action__label,
  .cfcc-dashboard-action__description
) {
  overflow-wrap: normal;
  word-break: normal;
  -webkit-hyphens: none;
  hyphens: none;
}

.crowdflow-control-center--dashboard :is(
  .cfcc-dashboard-welcome__name,
  .cfcc-dashboard-metric__value,
  .cfcc-dashboard-fact__value
) {
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: none;
  hyphens: none;
}

.crowdflow-control-center--dashboard .cfcc-dashboard-metric__value {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

/* Once-per-update Dashboard changelog. */
body.cfcc-updates-open {
  overflow: hidden;
}

body.cfcc-organizer-open {
  overflow: hidden;
}

body.cfcc-updates-open .crowdflow-control-center--dashboard,
body.cfcc-organizer-open .crowdflow-control-center--dashboard {
  z-index: 1000000;
}

.cfcc-updates-modal[hidden] {
  display: none !important;
}

.cfcc-updates-modal,
.cfcc-updates-modal * {
  box-sizing: border-box;
}

.cfcc-updates-modal {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.cfcc-updates-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cfcc-updates-modal__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: rgba(10, 10, 12, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cfcc-updates-modal__dialog {
  position: relative;
  width: min(680px, calc(100vw - 44px));
  max-height: min(760px, calc(100dvh - 44px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #f7f3ed;
  background: #222120;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.46), 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: translateY(10px) scale(.985);
  transition: transform 180ms ease;
}

.cfcc-updates-modal.is-open .cfcc-updates-modal__dialog {
  transform: translateY(0) scale(1);
}

.cfcc-updates-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 28px 24px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255,255,255,.025);
}

.cfcc-updates-modal__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cfcc-orange-light);
  font-size: 0.64rem;
  font-weight: 790;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cfcc-updates-modal__header h2,
.cfcc-updates-modal__release h3,
.cfcc-updates-modal__header p,
.cfcc-updates-modal__footer p {
  margin: 0;
}

.cfcc-updates-modal__header h2 {
  color: #fff !important;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.cfcc-updates-modal__header p {
  margin-top: 10px;
  color: #c6c3bf;
  font-size: 0.875rem;
  line-height: 1.55;
}

.cfcc-updates-modal__close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  color: #e8e4df;
  background: rgba(255, 255, 255, 0.065);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.cfcc-updates-modal__close:hover {
  color: #fff;
  background: #383633;
  border-color: #625e58;
}

.cfcc-updates-modal__releases {
  display: grid;
  gap: 12px;
  min-height: 0;
  padding: 20px 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #77736e transparent;
}

.cfcc-updates-modal__releases::-webkit-scrollbar {
  width: 8px;
}

.cfcc-updates-modal__releases::-webkit-scrollbar-track {
  background: transparent;
}

.cfcc-updates-modal__releases::-webkit-scrollbar-thumb {
  background: #77736e;
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

.cfcc-updates-modal__release {
  padding: 20px;
  background: #2b2927;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 17px;
}

.cfcc-updates-modal__release.is-latest {
  background: #302b27;
  border-color: rgba(230, 129, 66, 0.27);
  box-shadow: inset 3px 0 0 #eaa271;
}

.cfcc-updates-modal__release-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cfcc-updates-modal__version {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.4;
}

.cfcc-updates-modal__version > span {
  padding: 2px 7px;
  color: #f5c9aa;
  background: rgba(230, 129, 66, 0.1);
  border: 1px solid rgba(230, 129, 66, 0.24);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 500;
}

.cfcc-updates-modal__release time {
  color: #aaa59f;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.cfcc-updates-modal__release h3 {
  color: #fff !important;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.45;
}

.cfcc-updates-modal__release ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.cfcc-updates-modal__release li {
  position: relative;
  margin: 0;
  padding-left: 14px;
  color: #d0ccc6;
  font-size: 0.875rem;
  line-height: 1.55;
}

.cfcc-updates-modal__release li::before {
  content: "";
  position: absolute;
  top: 0.57em;
  left: 1px;
  width: 5px;
  height: 5px;
  background: #9a958d;
  border-radius: 50%;
}

.cfcc-updates-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 18px 26px;
  flex-shrink: 0;
  background: rgba(12, 11, 10, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.cfcc-updates-modal__footer p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  line-height: 1.4;
}

.cfcc-updates-modal__confirm {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 20px;
  color: #242322;
  background: #e5e2dd;
  border: 1px solid #e5e2dd;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.cfcc-updates-modal__confirm:hover {
  background: #f4f1ec;
  border-color: #f4f1ec;
}

.cfcc-organizer-modal__dialog {
  width: min(590px, calc(100vw - 44px));
}

.cfcc-organizer-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #e2bda4;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.4;
}

.cfcc-organizer-modal__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e68142;
}

.cfcc-organizer-modal__body {
  padding: 24px 28px;
  overflow-y: auto;
  min-height: 0;
}

.cfcc-organizer-modal__body p {
  margin: 0;
  padding: 17px 19px;
  color: #d0ccc6;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.65;
}

.cfcc-organizer-modal__footer {
  justify-content: flex-end;
}

.cfcc-organizer-modal__later,
.cfcc-organizer-modal__action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
}

.cfcc-organizer-modal__later {
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.cfcc-organizer-modal__later:hover,
.cfcc-organizer-modal__later:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.cfcc-organizer-modal__action {
  color: #211a14 !important;
  background: #f1ac7b;
  border-color: #f1ac7b;
}

.cfcc-organizer-modal__action:hover {
  background: #ffc498;
  border-color: #ffc498;
}

.cfcc-updates-modal :is(button, a):focus-visible {
  outline: 2px solid #e9e3da;
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .cfcc-updates-modal {
    align-items: end;
    padding: 10px;
  }

  .cfcc-updates-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 22px;
  }

  .cfcc-updates-modal__header {
    padding: 22px 18px 18px;
  }

  .cfcc-updates-modal__releases {
    padding: 14px;
    gap: 10px;
  }

  .cfcc-updates-modal__release {
    padding: 15px;
  }

  .cfcc-updates-modal__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }

  .cfcc-updates-modal__footer p {
    max-width: none;
    text-align: center;
  }

  .cfcc-updates-modal__confirm {
    width: 100%;
  }

  .cfcc-organizer-modal__body {
    padding: 16px 17px;
  }

  .cfcc-organizer-modal__later,
  .cfcc-organizer-modal__action {
    width: 100%;
  }
}

.cfcc-updates-modal__header > div { flex: 1; min-width: 0; }
.cfcc-updates-modal__header::before { content: ""; width: 28px; height: 28px; flex: 0 0 28px; margin-top: 2px; background: #efb28d; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M5%203h14v18H5zM9%207h6M9%2011h6M9%2015h3%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M5%203h14v18H5zM9%207h6M9%2011h6M9%2015h3%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.cfcc-organizer-modal .cfcc-updates-modal__header::before { margin-top: 28px; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
@media (max-width: 620px) {
  .cfcc-updates-modal__header { gap: 12px; }
  .cfcc-updates-modal__header h2 { font-size: 1.25rem; }
  .cfcc-updates-modal__header::before { width: 24px; height: 24px; flex-basis: 24px; }
  .cfcc-organizer-modal__footer { flex-direction: column-reverse; }
}

@media (prefers-reduced-motion: reduce) {
  .cfcc-updates-modal,
  .cfcc-updates-modal__dialog {
    transition: none;
  }
}

/* Complete customer-facing changelog. */
body.crowdflow-control-center-changelog-page,
body.crowdflow-control-center-changelog-page .site-content,
body.crowdflow-control-center-changelog-page .content-area,
body.crowdflow-control-center-changelog-page .site-main,
body.crowdflow-control-center-changelog-page .site-content .ast-container,
body.crowdflow-control-center-changelog-page .entry-content,
body.crowdflow-control-center-changelog-page article.page {
  background: #11100e !important;
}

body.crowdflow-control-center-changelog-page .site-content,
body.crowdflow-control-center-changelog-page .content-area,
body.crowdflow-control-center-changelog-page .site-main,
body.crowdflow-control-center-changelog-page .site-content .ast-container,
body.crowdflow-control-center-changelog-page .entry-content,
body.crowdflow-control-center-changelog-page article.page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.crowdflow-control-center-changelog-page .entry-content > .crowdflow-control-center {
  margin-top: 0 !important;
}

.crowdflow-control-center--changelog {
  --cfcc-changelog-orange: #ff6a24;
  --cfcc-changelog-orange-light: #ff8a3d;
  min-height: 60vh;
  padding: clamp(32px, 5vw, 72px) max(20px, calc((100vw - 1040px) / 2)) clamp(54px, 7vw, 96px);
  color: #f7f3ed;
  color-scheme: dark;
  background:
    radial-gradient(circle at 12% 5%, rgba(255, 106, 36, 0.12), transparent 25rem),
    #11100e;
}

.cfcc-changelog {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.cfcc-changelog__hero {
  margin-bottom: clamp(24px, 4vw, 40px);
  padding: clamp(22px, 4vw, 38px);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 138, 61, 0.18), transparent 20rem),
    #1b1917;
  border: 1px solid rgba(255, 138, 61, 0.22);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.cfcc-changelog__hero :where(h1, p),
.cfcc-changelog__release :where(h2, ul) {
  margin: 0;
}

.cfcc-changelog__location {
  display: inline-flex;
  margin-bottom: 7px;
  color: var(--cfcc-changelog-orange-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cfcc-changelog__hero h1 {
  color: #fff !important;
  font-family: inherit;
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.cfcc-changelog__hero p {
  max-width: 650px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(0.9rem, 2vw, 1.02rem);
  line-height: 1.55;
}

.cfcc-changelog__list {
  display: grid;
  gap: 13px;
}

.cfcc-changelog__release {
  padding: clamp(18px, 3vw, 26px);
  background: rgba(27, 25, 23, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.cfcc-changelog__release.is-latest {
  background: linear-gradient(120deg, rgba(255, 106, 36, 0.11), rgba(27, 25, 23, 0.96));
  border-color: rgba(255, 138, 61, 0.27);
}

.cfcc-changelog__release-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.cfcc-changelog__version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 790;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cfcc-changelog__version > span {
  padding: 3px 7px;
  color: #17110d;
  background: var(--cfcc-changelog-orange-light);
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 850;
}

.cfcc-changelog__release time {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.cfcc-changelog__release h2 {
  color: #fff !important;
  font-family: inherit;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 720;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.cfcc-changelog__release ul {
  display: grid;
  gap: 6px;
  margin-top: 11px;
  padding: 0;
  list-style: none;
}

.cfcc-changelog__release li {
  position: relative;
  margin: 0;
  padding-left: 17px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.5;
}

.cfcc-changelog__release li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 1px;
  width: 6px;
  height: 6px;
  background: var(--cfcc-changelog-orange-light);
  border-radius: 50%;
}

@media (max-width: 620px) {
  .crowdflow-control-center--changelog {
    padding-right: 14px;
    padding-left: 14px;
  }

  .cfcc-changelog__hero,
  .cfcc-changelog__release {
    border-radius: 14px;
  }

  .cfcc-changelog__release-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

/* Settings: dark shell, dark content cards and dark form controls. */
.crowdflow-control-center.crowdflow-control-center--settings {
  --cfcc-ink: #f7f3ed;
  --cfcc-ink-soft: #c9c1b8;
  --cfcc-paper: #11100e;
  --cfcc-paper-deep: #171513;
  --cfcc-surface: #1d1b18;
  --cfcc-muted: #aaa198;
  --cfcc-line: rgba(255, 255, 255, 0.1);
  --cfcc-success: #9acb57;
  --cfcc-danger: #df5a4e;
  --cfcc-warning: #d9952f;
  box-sizing: border-box;
  min-height: 0;
  padding: clamp(24px, 3vw, 44px) max(24px, calc((100vw - 1440px) / 2)) clamp(44px, 5vw, 72px);
  color: var(--cfcc-ink);
  color-scheme: dark;
  background:
    radial-gradient(circle at 95% 3%, rgba(255, 106, 36, 0.08), transparent 28rem),
    #11100e;
}

.crowdflow-control-center--settings .crowdflow-control-center__header {
  min-height: 0;
  margin-bottom: 12px;
  padding: clamp(12px, 1.5vw, 17px);
  background:
    radial-gradient(circle at 92% 20%, rgba(255, 106, 36, 0.13), transparent 14rem),
    #1b1917;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  box-shadow: none;
}

.crowdflow-control-center--settings .crowdflow-control-center__header::before {
  top: -145%;
  right: -4%;
  width: 360px;
  opacity: 0.55;
}

.crowdflow-control-center--settings .crowdflow-control-center__header::after {
  content: none;
  display: none;
}

.crowdflow-control-center--settings .crowdflow-control-center__header h1 {
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  line-height: 1.04;
}

.crowdflow-control-center--settings .crowdflow-control-center__header > .crowdflow-control-center__lead {
  margin-top: 5px;
  font-size: 0.75rem;
  line-height: 1.35;
}

.crowdflow-control-center--settings .crowdflow-control-center__tabs {
  margin-bottom: 12px;
  background: #1b1917;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.crowdflow-control-center--settings .cfcc-savebar:not(.cfcc-savebar--inline) {
  background: #171513;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.crowdflow-control-center--settings .crowdflow-control-center__tab.is-active {
  color: #11100e !important;
}

.crowdflow-control-center--settings .crowdflow-control-center__settings-panel {
  padding: clamp(20px, 3vw, 36px);
  color: var(--cfcc-ink);
  background: #171513;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: none;
}

.crowdflow-control-center--settings .crowdflow-control-center__panel-header {
  margin-bottom: clamp(14px, 2vw, 20px);
  padding-bottom: 12px;
  border-color: rgba(255, 255, 255, 0.1);
}

.crowdflow-control-center--settings .crowdflow-control-center__provider-header h3,
.crowdflow-control-center--settings .crowdflow-control-center__panel-header h2,
.crowdflow-control-center--settings .cfcc-settings-card__head :is(h2, h3),
.crowdflow-control-center--settings .cfcc-field,
.crowdflow-control-center--settings .cfcc-toggle,
.crowdflow-control-center--settings .cfcc-toggle strong,
.crowdflow-control-center--settings .cfcc-choice strong,
.crowdflow-control-center--settings .cfcc-capability strong,
.crowdflow-control-center--settings .cfcc-blocked-card__body > strong,
.crowdflow-control-center--settings .cfcc-overlay-card__body > strong,
.crowdflow-control-center--settings .cfcc-countdown strong,
.crowdflow-control-center--settings [data-djtk-settings="feedback"] .cfcc-capability-summary > h3 {
  color: var(--cfcc-ink) !important;
}

.crowdflow-control-center--settings .crowdflow-control-center__provider-header p,
.crowdflow-control-center--settings .cfcc-settings-card__head p,
.crowdflow-control-center--settings .cfcc-help,
.crowdflow-control-center--settings .cfcc-toggle span,
.crowdflow-control-center--settings .cfcc-choice :is(span, small),
.crowdflow-control-center--settings .cfcc-capability small,
.crowdflow-control-center--settings .cfcc-blocked-card__body > p,
.crowdflow-control-center--settings .cfcc-blocked-empty,
.crowdflow-control-center--settings .cfcc-overlay-empty,
.crowdflow-control-center--settings .cfcc-countdown {
  color: var(--cfcc-muted) !important;
}

.crowdflow-control-center--settings :is(.crowdflow-control-center__settings-nav, .cfcc-settings-nav) {
  background: #1d1b18;
  border-color: rgba(255, 255, 255, 0.09);
}

.crowdflow-control-center--settings :is(.crowdflow-control-center__settings-nav, .cfcc-settings-nav) :is(a, button) {
  color: var(--cfcc-muted) !important;
}

.crowdflow-control-center--settings :is(.crowdflow-control-center__settings-nav, .cfcc-settings-nav) :is(a, button):hover,
.crowdflow-control-center--settings :is(.crowdflow-control-center__settings-nav, .cfcc-settings-nav) :is(a, button).is-active {
  color: #fff !important;
  background: #2b2824;
}

.crowdflow-control-center--settings .cfcc-settings-card {
  background: #1d1b18;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.crowdflow-control-center--settings #crowdflow-chatwall-qr-target {
  scroll-margin-top: 96px;
}

.crowdflow-control-center--settings .is-cfcc-scroll-target {
  scroll-margin-top: 96px;
}

.crowdflow-control-center--settings #crowdflow-chatwall-qr-target:target,
.crowdflow-control-center--settings #crowdflow-chatwall-qr-target.is-cfcc-scroll-target {
  border-color: rgba(255, 106, 36, 0.34);
}

.crowdflow-control-center--settings .cfcc-settings-card__head {
  border-color: rgba(255, 255, 255, 0.09);
}

.crowdflow-control-center--settings .cfcc-field :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
.crowdflow-control-center--settings :where(input, select, textarea).cfcc-field {
  color: #f7f3ed;
  background: #12110f;
  border-color: rgba(255, 255, 255, 0.14);
}

.crowdflow-control-center--settings .cfcc-field :where(input, select, textarea)::placeholder,
.crowdflow-control-center--settings :where(input, textarea).cfcc-field::placeholder {
  color: #817a73;
}

.crowdflow-control-center--settings .cfcc-field :where(input, select, textarea):hover,
.crowdflow-control-center--settings :where(input, select, textarea).cfcc-field:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.crowdflow-control-center--settings .cfcc-field :where(input, select, textarea):focus,
.crowdflow-control-center--settings :where(input, select, textarea).cfcc-field:focus {
  color: #fff;
  background: #161412;
  border-color: var(--cfcc-orange);
}

.crowdflow-control-center--settings :where(input, select, textarea) option {
  color: #f7f3ed;
  background: #171513;
}

.crowdflow-control-center--settings .cfcc-field > img,
.crowdflow-control-center--settings .cfcc-qr-preview {
  color-scheme: light;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.crowdflow-control-center--settings .cfcc-help a,
.crowdflow-control-center--settings .cfcc-field > a {
  color: var(--cfcc-orange-light) !important;
  text-decoration-color: rgba(255, 138, 61, 0.35);
}

.crowdflow-control-center--settings .cfcc-capability-summary,
.crowdflow-control-center--settings .cfcc-capability,
.crowdflow-control-center--settings .cfcc-choice,
.crowdflow-control-center--settings .cfcc-blocked-card,
.crowdflow-control-center--settings .cfcc-overlay-card,
.crowdflow-control-center--settings .crowdflow-provider-stat {
  background: #24211e;
  border-color: rgba(255, 255, 255, 0.09);
}

.crowdflow-control-center--settings .cfcc-choice:hover,
.crowdflow-control-center--settings .cfcc-choice:has(input:checked) {
  background: rgba(255, 106, 36, 0.1);
  border-color: rgba(255, 106, 36, 0.48);
}

.crowdflow-control-center--settings .cfcc-toggle input[type="checkbox"] {
  background: #5a554f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.crowdflow-control-center--settings .cfcc-toggle input[type="checkbox"]:checked {
  background: var(--cfcc-orange);
}

.crowdflow-control-center--settings .cfcc-button {
  color: #11100e !important;
}

.crowdflow-control-center--settings :is(.cfcc-button--dark, .cfcc-button--secondary, .cfcc-button--outline) {
  color: #fff !important;
  background: #2b2824;
  border-color: rgba(255, 255, 255, 0.22);
}

.crowdflow-control-center--settings :is(.cfcc-button--dark, .cfcc-button--secondary, .cfcc-button--outline):hover,
.crowdflow-control-center--settings :is(.cfcc-button--dark, .cfcc-button--secondary, .cfcc-button--outline):focus-visible {
  color: #11100e !important;
  background: var(--cfcc-orange-light);
  border-color: var(--cfcc-orange-light);
}

.crowdflow-control-center--settings .cfcc-button--danger {
  color: #fff !important;
  background: #a92d24;
}

.crowdflow-control-center--settings .crowdflow-provider-action {
  color: #f7f3ed !important;
  background: #24211e;
  border-color: rgba(255, 255, 255, 0.1);
}

.crowdflow-control-center--settings :is(.crowdflow-provider-action:first-child, .crowdflow-provider-action--primary) {
  color: #11100e !important;
  background: var(--cfcc-orange);
  border-color: var(--cfcc-orange);
}

.crowdflow-control-center--settings .crowdflow-provider-action__copy small {
  color: var(--cfcc-muted);
}

.crowdflow-control-center--settings :is(.crowdflow-control-center__notice, .crowdflow-provider-notice, .cfcc-notice) {
  color: #eee8df;
  background: #292217;
  border-color: rgba(217, 149, 47, 0.34);
}

.crowdflow-control-center--settings :is(.crowdflow-control-center__notice--error, .crowdflow-provider-notice--error, .cfcc-notice--error) {
  background: #2b1917;
  border-color: rgba(223, 90, 78, 0.38);
}

.crowdflow-control-center--settings :is(.crowdflow-control-center__notice--success, .cfcc-notice--success, .cfcc-status) {
  color: #eaf6d9;
  background: #1d2816;
  border-color: rgba(154, 203, 87, 0.3);
}

.crowdflow-control-center--settings .cfcc-overlay-card__image {
  background: #12110f;
}

/* Locked product areas remain visible without invoking product callbacks. */
.crowdflow-control-center--dashboard .cfcc-dashboard-product--locked {
  background:
    linear-gradient(145deg, rgba(255, 106, 36, 0.035), transparent 52%),
    #181613;
  border-color: rgba(255, 138, 61, 0.2);
}

.crowdflow-control-center--dashboard .cfcc-dashboard-product[data-tone="locked"] .cfcc-dashboard-product__status {
  color: var(--cfcc-orange-light) !important;
  background: rgba(255, 106, 36, 0.09);
  border-color: rgba(255, 106, 36, 0.22);
}

.cfcc-upgrade-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  color: #f7f3ed;
  background: rgba(255, 106, 36, 0.06);
  border: 1px solid rgba(255, 138, 61, 0.2);
  border-radius: 13px;
}

.cfcc-upgrade-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--cfcc-orange-light);
  background: rgba(255, 106, 36, 0.12);
  border-radius: 11px;
}

.cfcc-upgrade-card__icon svg {
  width: 19px;
  height: 19px;
}

.cfcc-upgrade-card__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.cfcc-upgrade-card__copy strong {
  color: #fff !important;
  font-size: 0.86rem;
  line-height: 1.25;
}

.cfcc-upgrade-card__copy p,
.cfcc-upgrade-card__copy span {
  margin: 0;
  color: #aaa198 !important;
  font-size: 0.7rem;
  line-height: 1.42;
}

.cfcc-upgrade-card__copy span {
  color: var(--cfcc-orange-light) !important;
  font-weight: 720;
}

.cfcc-upgrade-card .cfcc-button {
  min-height: 40px;
  padding-right: 16px;
  padding-left: 16px;
}

.crowdflow-control-center--settings .crowdflow-control-center__tab {
  gap: 7px;
}

.crowdflow-control-center--settings .crowdflow-control-center__tab-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  color: var(--cfcc-orange-light);
  background: rgba(255, 106, 36, 0.11);
  border: 1px solid rgba(255, 138, 61, 0.2);
  border-radius: 999px;
  font-size: 0.49rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.crowdflow-control-center--settings .crowdflow-control-center__tab.is-active .crowdflow-control-center__tab-badge {
  color: #11100e;
  background: rgba(17, 16, 14, 0.11);
  border-color: rgba(17, 16, 14, 0.18);
}

.crowdflow-control-center--settings .crowdflow-control-center__tab.is-locked:not(.is-active) {
  color: rgba(255, 255, 255, 0.76) !important;
}

/* Defend form labels against dark-on-dark theme overrides. */
.crowdflow-control-center--settings label.cfcc-field,
.crowdflow-control-center--settings .cfcc-field > :is(label, span, strong, legend),
.crowdflow-control-center--settings .cfcc-feedback-history :is(label, strong) {
  color: var(--cfcc-ink) !important;
}

.crowdflow-control-center--settings .cfcc-field progress {
  width: 100%;
  height: 13px;
  overflow: hidden;
  color: var(--cfcc-orange);
  accent-color: var(--cfcc-orange);
  background: #12110f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.crowdflow-control-center--settings .cfcc-field progress::-webkit-progress-bar {
  background: #12110f;
}

.crowdflow-control-center--settings .cfcc-field progress::-webkit-progress-value,
.crowdflow-control-center--settings .cfcc-field progress::-moz-progress-bar {
  background: var(--cfcc-orange);
  border-radius: 999px;
}

/* Plan overview: active and unavailable product areas share one clear list. */
.crowdflow-control-center--settings .cfcc-capability--locked {
  background: rgba(255, 106, 36, 0.035);
  border-color: rgba(255, 138, 61, 0.17);
}

.crowdflow-control-center--settings .cfcc-capability--locked > span {
  color: var(--cfcc-orange-light);
  background: rgba(255, 106, 36, 0.13);
}

.crowdflow-control-center--settings .cfcc-capability--locked small {
  color: var(--cfcc-orange-light) !important;
}

.cfcc-capability-upgrade {
  width: fit-content;
  display: inline-flex;
  margin-top: 12px;
  color: var(--cfcc-orange-light) !important;
  text-decoration: none !important;
  font-size: 0.72rem;
  font-weight: 760;
}

.cfcc-capability-upgrade::after {
  content: "\2192";
  margin-left: 6px;
}

/* Compact, row-based feedback history for cross-event comparison. */
.crowdflow-control-center--settings .cfcc-feedback-history {
  padding: 18px;
}

.crowdflow-control-center--settings .cfcc-feedback-history .cfcc-settings-card__head {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.cfcc-feedback-history__table {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.cfcc-feedback-history__head,
.cfcc-feedback-history__row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(135px, 1.1fr) 72px 110px minmax(245px, 1.5fr) 82px;
  align-items: center;
  gap: 10px;
}

.cfcc-feedback-history__head {
  padding: 0 10px 3px;
  color: var(--cfcc-muted);
  font-size: 0.58rem;
  font-weight: 780;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.cfcc-feedback-history__row {
  padding: 9px 10px;
  background: #24211e;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
}

.cfcc-feedback-history__date,
.cfcc-feedback-history__metric {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.cfcc-feedback-history__date strong,
.cfcc-feedback-history__metric strong {
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.cfcc-feedback-history__date small,
.cfcc-feedback-history__metric small {
  color: var(--cfcc-muted);
  font-size: 0.58rem;
  line-height: 1.2;
}

.cfcc-feedback-history__rename {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(132px, 1fr) auto;
  gap: 6px;
}

.crowdflow-control-center--settings .cfcc-feedback-history__rename input[type="date"] {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  margin: 0;
  padding: 5px 8px;
  color: #f7f3ed;
  color-scheme: dark;
  background: #12110f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  font-size: 0.72rem;
}

.cfcc-feedback-history__row .cfcc-button {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 0.66rem;
}

.cfcc-feedback-history__delete {
  display: flex;
  justify-content: flex-end;
}

/* Preview and live typography controls form one compact display studio. */
.crowdflow-control-center--settings .cfcc-display-preview,
.crowdflow-control-center--settings .cfcc-display-typography {
  padding: 17px;
}

.crowdflow-control-center--settings .cfcc-display-preview .cfcc-settings-card__head,
.crowdflow-control-center--settings .cfcc-display-typography .cfcc-settings-card__head {
  margin-bottom: 11px;
  padding-bottom: 10px;
}

.crowdflow-control-center--settings .cfcc-display-preview .cfcc-preview-stage {
  min-height: clamp(215px, 23vw, 280px);
  border-radius: 12px;
}

.crowdflow-control-center--settings [data-crowdflow-provider="chatwall-display"] .crowdflow-control-center__provider-content > .cfcc-settings-stack--chatwall-display {
  margin-top: 14px;
}

.crowdflow-control-center--settings .cfcc-settings-stack--chatwall-display {
  gap: 14px;
}

.crowdflow-control-center--settings .cfcc-display-live-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.crowdflow-control-center--settings .cfcc-display-live-grid .cfcc-display-field--font {
  grid-column: span 2;
}

.crowdflow-control-center--settings .cfcc-display-live-grid .cfcc-range-field {
  grid-column: span 2;
}

.crowdflow-control-center--settings .cfcc-range-field__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.crowdflow-control-center--settings .cfcc-range-field__label output {
  color: var(--cfcc-orange-light);
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
  white-space: nowrap;
}

.crowdflow-control-center--settings .cfcc-field input[type="range"] {
  width: 100%;
  min-height: 24px;
  padding: 0;
  accent-color: var(--cfcc-orange);
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}

.crowdflow-control-center--settings .cfcc-display-live-grid .cfcc-field {
  gap: 5px;
  font-size: 0.65rem;
}

.crowdflow-control-center--settings .cfcc-display-live-grid .cfcc-field :where(input, select) {
  min-height: 38px;
  padding: 7px 9px;
  font-size: 0.76rem;
}

.crowdflow-control-center--settings .cfcc-display-live-grid .cfcc-field input[type="range"] {
  min-height: 24px;
  padding: 0;
}

.crowdflow-control-center--settings .cfcc-display-live-grid .cfcc-field input[type="color"] {
  padding: 4px;
}

@media (max-width: 1050px) {
  .crowdflow-control-center--settings .cfcc-display-live-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cfcc-feedback-history__head,
  .cfcc-feedback-history__row {
    grid-template-columns: minmax(125px, 1fr) 64px 95px minmax(215px, 1.35fr) 74px;
    gap: 7px;
  }
}

@media (max-width: 760px) {
  .crowdflow-control-center--settings .cfcc-display-live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cfcc-feedback-history__head {
    display: none;
  }

  .cfcc-feedback-history__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 12px;
  }

  .cfcc-feedback-history__date,
  .cfcc-feedback-history__rename {
    grid-column: 1 / -1;
  }

  .cfcc-feedback-history__delete {
    justify-content: stretch;
  }

  .cfcc-feedback-history__delete .cfcc-button {
    width: 100%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .crowdflow-control-center--settings a.crowdflow-provider-action:hover {
    color: #fff !important;
    background: #2b2824;
    border-color: rgba(255, 106, 36, 0.42);
  }

  .crowdflow-control-center--settings a:is(.crowdflow-provider-action:first-child, .crowdflow-provider-action--primary):hover {
    color: #11100e !important;
    background: var(--cfcc-orange-light);
    border-color: var(--cfcc-orange-light);
  }
}

@media (max-width: 900px) {
  .crowdflow-control-center--dashboard .cfcc-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-product,
  .crowdflow-control-center--dashboard .cfcc-dashboard-product:only-child {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .crowdflow-control-center.crowdflow-control-center--settings {
    min-height: 0;
    padding: 16px 14px 46px;
  }

  .crowdflow-control-center--settings .crowdflow-control-center__header {
    min-height: 0;
    margin-bottom: 12px;
    padding: 14px 15px;
  }

  .crowdflow-control-center--settings .crowdflow-control-center__header h1 {
    font-size: 1.55rem;
  }

  .crowdflow-control-center--settings .crowdflow-control-center__header > .crowdflow-control-center__lead {
    margin-top: 4px;
    font-size: 0.72rem;
  }

  .crowdflow-control-center--settings .crowdflow-control-center__settings-panel {
    padding: 18px 15px;
  }

  .crowdflow-control-center--dashboard {
    --cfcc-shell: calc(100% - 24px);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-products {
    padding-top: 14px;
    padding-bottom: 32px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-welcome {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-settings-link {
    width: 100%;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 13px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice__icon {
    width: 38px;
    height: 38px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-organizer-notice__action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-product {
    padding: 15px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Long labels such as "Anzeigeintervall" need the full card width. */
  .crowdflow-control-center--dashboard .cfcc-dashboard-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-action--primary {
    grid-column: auto;
  }

  .cfcc-upgrade-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 13px;
  }

  .cfcc-upgrade-card__icon {
    width: 38px;
    height: 38px;
  }

  .cfcc-upgrade-card .cfcc-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .crowdflow-control-center--settings .cfcc-display-live-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .crowdflow-control-center--settings .cfcc-display-live-grid .cfcc-display-field--font {
    grid-column: auto;
  }

  .crowdflow-control-center--settings .cfcc-display-live-grid .cfcc-range-field {
    grid-column: auto;
  }

  .crowdflow-control-center--settings .cfcc-display-preview .cfcc-preview-stage {
    min-height: 230px;
  }

  .cfcc-feedback-history__rename {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .crowdflow-control-center--dashboard .cfcc-dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-fact {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 3px;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-fact__value {
    text-align: left;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-metric:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-fact:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media (max-width: 340px) {
  .crowdflow-control-center--dashboard .cfcc-dashboard-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-metric:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

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

  .crowdflow-control-center--dashboard.cfcc-motion-ready [data-cfcc-reveal] {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (prefers-contrast: more) {
  .crowdflow-control-center {
    --cfcc-line: rgba(17, 16, 14, 0.34);
  }

  .crowdflow-control-center__tab {
    color: #fff !important;
  }

  .crowdflow-provider-action__copy small,
  .cfcc-help {
    color: #4e4944;
  }
}

@media (forced-colors: active) {
  .crowdflow-control-center,
  .crowdflow-control-center__header,
  .crowdflow-control-center__card,
  .crowdflow-control-center__settings-panel,
  .cfcc-settings-card,
  .cfcc-savebar,
  .cfcc-dashboard-hero,
  .cfcc-dashboard-overview,
  .cfcc-dashboard-products,
  .cfcc-dashboard-product,
  .cfcc-dashboard-metric,
  .cfcc-dashboard-fact,
  .cfcc-dashboard-action {
    background: Canvas;
    border: 1px solid CanvasText;
    color: CanvasText;
  }

  .crowdflow-control-center__header :where(h1, p),
  .crowdflow-control-center__eyebrow,
  .crowdflow-control-center__tab,
  .cfcc-savebar p {
    color: CanvasText !important;
  }

  .crowdflow-control-center__tab.is-active,
  .crowdflow-control-center__header-action,
  .cfcc-button,
  .crowdflow-provider-action:first-child {
    color: HighlightText !important;
    background: Highlight;
  }

  .cfcc-toggle input[type="checkbox"] {
    width: auto;
    height: auto;
    appearance: auto;
  }

  .crowdflow-control-center--dashboard :where(
    .cfcc-dashboard-hero h1,
    .cfcc-dashboard-hero__lead,
    .cfcc-dashboard-overview__copy strong,
    .cfcc-dashboard-overview__detail,
    .cfcc-dashboard-section-head h2,
    .cfcc-dashboard-section-head p,
    .cfcc-dashboard-product__title h2,
    .cfcc-dashboard-product__title h3,
    .cfcc-dashboard-product__description,
    .cfcc-dashboard-metric__value,
    .cfcc-dashboard-metric__label,
    .cfcc-dashboard-fact__label,
    .cfcc-dashboard-fact__value,
    .cfcc-dashboard-action__label,
    .cfcc-dashboard-action__description
  ) {
    color: CanvasText !important;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-button--primary,
  .crowdflow-control-center--dashboard .cfcc-dashboard-action--primary,
  .crowdflow-control-center--dashboard .cfcc-dashboard-skip {
    color: HighlightText !important;
    background: Highlight;
    border-color: Highlight;
  }
}

@media print {
  .crowdflow-control-center {
    width: 100%;
    margin: 0;
    padding: 20px;
    color: #000;
    background: #fff;
  }

  .crowdflow-control-center__header {
    min-height: 0;
    color: #000;
    background: #fff;
    border-color: #bbb;
    box-shadow: none;
  }

  .crowdflow-control-center__header :where(h1, p),
  .crowdflow-control-center__eyebrow {
    color: #000 !important;
  }

  .crowdflow-control-center__tabs,
  .crowdflow-control-center__header-actions,
  .cfcc-savebar {
    display: none;
  }

  .crowdflow-control-center__card,
  .crowdflow-control-center__settings-panel,
  .cfcc-settings-card {
    break-inside: avoid;
    box-shadow: none;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-skip,
  .crowdflow-control-center--dashboard .cfcc-dashboard-hero::before,
  .crowdflow-control-center--dashboard .cfcc-dashboard-hero::after,
  .crowdflow-control-center--dashboard .cfcc-dashboard-products::before,
  .crowdflow-control-center--dashboard .cfcc-dashboard-product::before {
    display: none;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-hero,
  .crowdflow-control-center--dashboard .cfcc-dashboard-products,
  .crowdflow-control-center--dashboard .cfcc-dashboard-product,
  .crowdflow-control-center--dashboard .cfcc-dashboard-overview {
    min-height: 0;
    color: #000;
    background: #fff;
    border-color: #bbb;
    box-shadow: none;
  }

  .crowdflow-control-center--dashboard :where(
    .cfcc-dashboard-hero h1,
    .cfcc-dashboard-hero__lead,
    .cfcc-dashboard-overview__copy strong,
    .cfcc-dashboard-overview__detail,
    .cfcc-dashboard-section-head h2,
    .cfcc-dashboard-section-head p,
    .cfcc-dashboard-product__title h2,
    .cfcc-dashboard-product__title h3,
    .cfcc-dashboard-product__description,
    .cfcc-dashboard-metric__value,
    .cfcc-dashboard-metric__label,
    .cfcc-dashboard-fact__label,
    .cfcc-dashboard-fact__value,
    .cfcc-dashboard-action__label,
    .cfcc-dashboard-action__description
  ) {
    color: #000 !important;
  }

  .crowdflow-control-center--dashboard .cfcc-dashboard-product,
  .crowdflow-control-center--dashboard .cfcc-dashboard-overview,
  .crowdflow-control-center--dashboard .cfcc-dashboard-metric,
  .crowdflow-control-center--dashboard .cfcc-dashboard-fact,
  .crowdflow-control-center--dashboard .cfcc-dashboard-action {
    break-inside: avoid;
  }
}

.cfcc-updates-modal__release .cfcc-update-category,
.cfcc-changelog__release .cfcc-update-category {
  margin: 22px 0 9px; padding: 0; font-size: 15px; line-height: 1.4; font-weight: 600; color: inherit;
}
