:root {
  color-scheme: light;
  --bg: #eef4ef;
  --panel: #ffffff;
  --ink: #0b1220;
  --muted: #647085;
  --line: #dfe8e3;
  --brand: #89ff3f;
  --brand-dark: #15351d;
  --dark: #07111f;
  --warn: #f6b73c;
  --ok: #29c266;
}

.commerce-date-value {
  font-size: 24px !important;
}

.commerce-source-panel,
.commerce-capture-panel {
  display: grid;
  gap: 18px;
}

.commerce-source-search {
  display: grid;
  max-width: 520px;
  gap: 7px;
}

.commerce-source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.commerce-source-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.commerce-source-card.is-active {
  border-color: #8fd6aa;
  background: #f5fbf7;
}

.commerce-source-card-copy {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.commerce-source-card-copy > strong {
  color: #101828;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.commerce-source-card-copy > small {
  color: #667085;
  font-weight: 750;
}

.commerce-source-card form,
.commerce-source-card button {
  width: 100%;
}

.commerce-source-onboarding {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 20px;
  border: 1px dashed #9bb7a5;
  border-radius: 8px;
  background: #f7fbf8;
}

.commerce-source-onboarding p {
  max-width: 720px;
  margin: 0;
}

.commerce-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.commerce-journey a {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  color: #526174;
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.commerce-journey a:last-child {
  border-right: 0;
}

.commerce-journey a:hover {
  background: #f4f7f5;
}

.commerce-journey a.active {
  color: #fff;
  background: #101828;
}

.commerce-journey a.done {
  color: #175f32;
  background: #edf8f1;
}

.commerce-journey a > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  color: #526174;
  background: #edf1ef;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 950;
}

.commerce-journey a.active > span {
  color: #07111f;
  background: var(--brand);
}

.commerce-journey a.done > span {
  color: #fff;
  background: #29a95d;
}

.commerce-journey a > strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.commerce-wizard-panel {
  display: grid;
  gap: 4px;
  padding: 22px 26px;
}

.commerce-step-kicker {
  display: block;
  margin-bottom: 5px;
  color: #198f4d;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.commerce-destination-switcher {
  display: flex;
  max-width: 520px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.commerce-destination-switcher a {
  padding: 8px 10px;
  color: #435167;
  background: #f4f7f5;
  border: 1px solid #dce5df;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.commerce-destination-switcher a.active {
  color: #fff;
  background: #101828;
  border-color: #101828;
}

.commerce-wizard-form,
.commerce-source-journey {
  gap: 0;
}

.commerce-wizard-section {
  display: grid;
  grid-template-columns: minmax(190px, .38fr) minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.commerce-wizard-section-copy {
  align-self: start;
}

.commerce-wizard-section-copy > strong {
  display: block;
  margin-bottom: 5px;
  color: #182336;
  font-size: 16px;
}

.commerce-wizard-section-copy > span {
  display: block;
  color: #6b788a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.commerce-selected-destination {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px 14px;
  background: #f5f8f6;
  border-left: 4px solid #29c266;
}

.commerce-selected-destination small {
  color: #6b788a;
  font-weight: 800;
}

.commerce-category-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
}

.commerce-category-choice-grid label,
.commerce-presentation-options label {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 8px;
  cursor: pointer;
}

.commerce-category-choice-grid label:has(input:checked),
.commerce-presentation-options label:has(input:checked) {
  background: #edf8f1;
  border-color: #79ca94;
}

.commerce-category-choice-grid input,
.commerce-presentation-options input,
.commerce-platform-picks input,
.commerce-source-card.selectable > input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 2px 0 0;
}

.commerce-category-choice-grid span,
.commerce-presentation-options span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.commerce-category-choice-grid small,
.commerce-presentation-options small {
  color: #718095;
  font-size: 12px;
  font-weight: 750;
}

.commerce-presentation-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.commerce-wizard-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.commerce-wizard-actions > span {
  margin-right: auto;
  color: #6b788a;
  font-size: 13px;
  font-weight: 750;
}

.commerce-source-mode {
  display: grid;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.commerce-source-mode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.commerce-source-mode-head .switch-row {
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.commerce-source-mode-head .switch-row span {
  display: grid;
  gap: 3px;
}

.commerce-source-mode-head .switch-row strong {
  font-size: 18px;
}

.commerce-source-mode-head .switch-row small {
  color: #6b788a;
  font-weight: 750;
}

.commerce-source-mode-body {
  display: grid;
  gap: 14px;
  padding-left: 34px;
}

.commerce-source-mode .card-head.compact {
  margin: 0;
  padding: 0;
}

.commerce-source-mode .card-head.compact p {
  margin: 4px 0 0;
}

.commerce-source-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.commerce-source-card.selectable {
  grid-template-columns: 18px minmax(0, 1fr) auto;
  min-height: 82px;
  cursor: pointer;
}

.commerce-source-card.selectable:hover {
  border-color: #9db7a6;
}

.commerce-source-card[hidden] {
  display: none;
}

.commerce-source-grid.is-disabled {
  opacity: .55;
}

.commerce-connection-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 11px 12px;
  color: #6b788a;
  background: #f4f6f5;
  border-left: 4px solid #d3ddd7;
  font-size: 12px;
  font-weight: 850;
}

.commerce-connection-strip span::before {
  content: "●";
  margin-right: 5px;
  color: #d28a20;
}

.commerce-connection-strip span.ready::before {
  color: #29a95d;
}

.commerce-connection-strip a {
  margin-left: auto;
  color: #166534;
  font-weight: 950;
}

.commerce-hunter-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.commerce-hunter-category {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 15px;
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 8px;
}

.commerce-hunter-category-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.commerce-hunter-category-head .switch-row {
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.commerce-hunter-category-head .switch-row span {
  display: grid;
  gap: 3px;
}

.commerce-hunter-category-head .switch-row small {
  color: #718095;
  font-size: 12px;
  font-weight: 750;
}

.commerce-hunter-category details {
  padding-top: 10px;
  border-top: 1px solid #e4eae6;
}

.commerce-hunter-category summary {
  color: #23683c;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.commerce-hunter-category details > div {
  margin-top: 13px;
}

.commerce-platform-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.commerce-platform-picks label {
  display: inline-flex;
  width: auto;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 10px;
  color: #334155;
  background: #f4f7f5;
  border: 1px solid #dce5df;
  border-radius: 8px;
  font-size: 12px;
}

.commerce-platform-picks label.is-unavailable {
  color: #98a2b3;
  background: #eef1ef;
  border-color: #e1e6e3;
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: .72;
}

.commerce-platform-picks label.is-unavailable input {
  cursor: not-allowed;
}

.commerce-platform-picks label.is-unavailable .config-info {
  opacity: .55;
}

.commerce-platform-name {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.commerce-platform-name small {
  color: #98a2b3;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.commerce-hunter-result-notice {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  color: #6b4e16;
  background: #fff8e8;
  border-left: 4px solid #e7a72f;
  border-radius: 6px;
  font-size: 12px;
}

.commerce-hunter-result-notice strong {
  color: #47340f;
}

.commerce-hunter-result-notice span {
  font-weight: 750;
  line-height: 1.45;
}

.commerce-journey-complete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 20px;
  color: #fff;
  background: #101828;
  border-left: 5px solid var(--brand);
  border-radius: 8px;
}

.commerce-journey-complete > div {
  display: grid;
  gap: 5px;
}

.commerce-journey-complete > div > small {
  color: #c9d4df;
  font-weight: 750;
}

.danger-text {
  color: #b42318;
  font-weight: 850;
}

.commerce-capture-list {
  display: grid;
  gap: 10px;
}

.commerce-capture-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(138px, auto);
  align-items: start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.commerce-capture-card:last-child {
  border-bottom: 0;
}

.commerce-capture-card > img,
.commerce-capture-mark {
  width: 88px;
  aspect-ratio: 1;
  border-radius: 8px;
}

.commerce-capture-card > img {
  object-fit: cover;
  border: 1px solid var(--line);
}

.commerce-capture-mark {
  display: grid;
  place-items: center;
  padding: 8px;
  color: #17462b;
  background: #e7f7ed;
  border: 1px solid #b9e5c9;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.commerce-capture-copy {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.commerce-capture-copy > strong {
  color: #101828;
  font-size: 17px;
}

.commerce-capture-copy > b {
  color: #15803d;
  font-size: 19px;
}

.commerce-message-context {
  display: -webkit-box;
  max-width: 760px;
  margin: 0;
  overflow: hidden;
  color: #526174;
  white-space: pre-line;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.commerce-capture-actions {
  display: grid;
  gap: 7px;
}

.commerce-capture-actions .button,
.commerce-capture-actions button {
  width: 100%;
  text-align: center;
}

@media (max-width: 760px) {
  .commerce-journey {
    grid-template-columns: repeat(4, minmax(112px, 1fr));
    overflow-x: auto;
  }

  .commerce-journey a {
    min-height: 52px;
    justify-content: flex-start;
    padding: 9px 11px;
  }

  .commerce-wizard-panel {
    padding: 18px;
  }

  .commerce-wizard-section {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 20px 0;
  }

  .commerce-destination-switcher {
    max-width: none;
    justify-content: flex-start;
  }

  .commerce-category-choice-grid,
  .commerce-presentation-options,
  .commerce-hunter-category-grid {
    grid-template-columns: 1fr;
  }

  .commerce-selected-destination {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .commerce-selected-destination small {
    grid-column: 2;
  }

  .commerce-source-mode-head,
  .commerce-wizard-actions,
  .commerce-journey-complete {
    align-items: stretch;
    flex-direction: column;
  }

  .commerce-source-mode-body {
    padding-left: 0;
  }

  .commerce-wizard-actions > span,
  .commerce-connection-strip a {
    margin-right: 0;
    margin-left: 0;
  }

  .commerce-wizard-actions .button,
  .commerce-wizard-actions button,
  .commerce-journey-complete .button {
    width: 100%;
    text-align: center;
  }

  .commerce-source-grid {
    grid-template-columns: 1fr;
  }

  .commerce-source-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .commerce-source-card.selectable {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .commerce-source-card.selectable .status-pill {
    grid-column: 2;
    justify-self: start;
  }

  .commerce-capture-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .commerce-capture-card > img,
  .commerce-capture-mark {
    width: 64px;
  }

  .commerce-capture-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: radial-gradient(circle at top left, #dff6d9, transparent 35%), var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.no-sidebar {
  display: block;
  grid-template-columns: none;
}

body.no-sidebar .main {
  min-height: 100vh;
}

.sidebar {
  min-height: 100vh;
  background: var(--dark);
  color: #fff;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}

.brand-logo {
  width: 218px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(137, 255, 63, .12);
}

.brand-icon, .logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand), #48d96f);
  color: #06110d;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: #93a1b7;
}

nav {
  display: grid;
  gap: 8px;
}

nav a, .logout button {
  width: 100%;
  border: 0;
  color: #cbd5e1;
  background: transparent;
  text-align: left;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 15px;
}

nav a.nav-with-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

nav a.nav-with-badge strong {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  color: #06110d;
  background: var(--brand);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.nav-label-with-icon {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.sidebar-alert-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: url('/static/icons/live/bell.svg') center / contain no-repeat;
  mask: url('/static/icons/live/bell.svg') center / contain no-repeat;
}

nav a.active, nav a:hover, .logout button:hover {
  color: #fff;
  background: rgba(137, 255, 63, 0.16);
}

.sidebar nav .nav-locked {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  color: #697586;
  border-radius: 8px;
  cursor: not-allowed;
}

.sidebar nav .nav-locked b {
  font-size: 15px;
  font-weight: 800;
}

.sidebar nav .nav-locked small {
  padding: 3px 6px;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 5px;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.sidebar nav a.nav-upgrade {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(137, 255, 63, .18);
  color: #dce7d7;
}

.sidebar nav a.nav-upgrade small {
  padding: 3px 6px;
  color: #a9ff72;
  border: 1px solid rgba(137, 255, 63, .34);
  border-radius: 5px;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.sidebar nav a.nav-upgrade:hover,
.sidebar nav a.nav-upgrade.active {
  border-color: rgba(137, 255, 63, .5);
}

.sidebar nav a.nav-with-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sidebar nav a.nav-with-status small {
  color: #a9ff72;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.logout { margin-top: auto; }

.main {
  padding: 34px;
}

.mobile-menu-toggle,
.mobile-menu-backdrop {
  display: none;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.eyebrow {
  color: #3d7250;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1, h2, p { margin-top: 0; }
h1 { font-size: 38px; margin-bottom: 0; }
h2 { font-size: 20px; }
p { color: var(--muted); line-height: 1.55; }

.hero-panel, .panel, .metric-card, .session-card {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.hero-panel {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px;
  margin-bottom: 22px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.metric-grid.monitor-retention-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
  margin-bottom: 18px;
}

.metric-card {
  padding: 22px;
}

.metric-card small, label, .detail-row span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.metric-card strong {
  display: block;
  font-size: 34px;
  margin: 6px 0;
}

.metric-card span {
  color: var(--muted);
}

.period-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.period-tabs a {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 13px;
  font-weight: 900;
  text-decoration: none;
}

.period-tabs a.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.group-filter-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.group-filter-pills button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.group-filter-pills button.active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.monitor-filter-panel {
  display: grid;
  gap: 14px;
}

.admin-client-context {
  border-left: 4px solid #3d7250;
  background: #f8fbf9;
}

.admin-context-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-context-head > div {
  min-width: 0;
}

.admin-context-head strong,
.admin-context-head small {
  display: block;
}

.admin-context-head strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 20px;
}

.admin-context-head small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.admin-config-context {
  display: grid;
  gap: 16px;
}

.admin-client-empty {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.admin-client-empty strong {
  font-size: 18px;
}

.admin-client-empty p {
  margin: 0;
}

.monitor-custom-form {
  grid-template-columns: minmax(160px, 220px) minmax(160px, 220px) auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.alert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.monitor-alert {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid #2563eb;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.monitor-alert strong {
  font-size: 15px;
}

.monitor-alert span {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.monitor-alert.warn { border-left-color: #f59e0b; }
.monitor-alert.danger { border-left-color: #ef4444; }

.alert-list {
  display: grid;
  gap: 12px;
}

.pulse-alert-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid #2563eb;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.pulse-alert-card.warning { border-left-color: #f59e0b; }
.pulse-alert-card.danger { border-left-color: #ef4444; }

.pulse-alert-card h2 {
  margin: 10px 0 6px;
  font-size: 20px;
}

.pulse-alert-card p {
  margin-bottom: 8px;
}

.pulse-alert-card small {
  color: var(--muted);
  font-weight: 800;
}

.pulse-alert-card form {
  flex: 0 0 auto;
}

.offer-reaction-summary {
  margin-bottom: 12px;
}

.offer-reaction-summary strong {
  color: #111827;
}

.offer-reaction-context {
  width: min(760px, 100%);
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  background: #f7f9fb;
}

.offer-reaction-context span {
  display: block;
  margin-bottom: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pulse-alert-card .offer-reaction-context p {
  margin: 0;
  color: #1f2937;
  font-weight: 700;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.offer-reaction-missing {
  color: #7c2d12;
  font-weight: 750;
}

.operation-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 4%, rgba(137,255,63,.22), transparent 24%),
    linear-gradient(118deg, #07111f 0%, #07111f 58%, #123d2a 100%);
  border: 1px solid rgba(137,255,63,.24);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .15);
}

.operation-hero.warn {
  background:
    radial-gradient(circle at 88% 4%, rgba(246,183,60,.18), transparent 24%),
    linear-gradient(118deg, #07111f 0%, #07111f 58%, #38270e 100%);
}

.operation-hero.danger {
  background:
    radial-gradient(circle at 88% 4%, rgba(239,68,68,.18), transparent 24%),
    linear-gradient(118deg, #07111f 0%, #07111f 58%, #381414 100%);
}

.operation-hero strong {
  display: block;
  margin: 4px 0 8px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .96;
  text-transform: uppercase;
}

.operation-hero p {
  max-width: 700px;
  margin-bottom: 0;
  color: #dbe6f2;
  font-weight: 800;
}

.operation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.operation-split {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: start;
}

.compact-list, .routine-list {
  display: grid;
  gap: 10px;
}

.compact-row, .routine-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-left: 5px solid #2563eb;
  border-radius: 8px;
}

.compact-row.warning { border-left-color: #f59e0b; }
.compact-row.danger { border-left-color: #ef4444; }

.compact-row strong, .routine-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.compact-row span, .routine-row span {
  display: block;
  color: var(--muted);
  font-weight: 780;
  line-height: 1.35;
}

.compact-row small, .routine-row small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 850;
}

.routine-row > small {
  margin-top: 0;
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf4ef;
}

.ok-text { color: #168548 !important; }
.danger-text { color: #b91c1c !important; }

.monitor-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(137,255,63,.18), transparent 42%),
    var(--dark);
  border: 1px solid rgba(137,255,63,.22);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 18px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .16);
}

.executive-hero {
  min-height: 218px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 4%, rgba(137,255,63,.22), transparent 19%),
    linear-gradient(115deg, #07111f 0%, #07111f 54%, #123d2a 100%);
  border-color: rgba(137,255,63,.26);
}

.executive-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -48px;
  top: -70px;
  border-radius: 50%;
  background: rgba(137, 255, 63, .08);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 13px;
  color: #dbeafe;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.monitor-hero p {
  max-width: 680px;
  color: #cbd5e1;
  margin-bottom: 0;
}

.monitor-hero .eyebrow {
  color: var(--brand);
}

.monitor-hero strong {
  display: block;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .95;
  margin: 8px 0 12px;
}

.executive-hero > div {
  position: relative;
  z-index: 1;
}

.executive-hero > div:first-child strong {
  font-size: clamp(70px, 8vw, 112px);
  letter-spacing: 0;
}

.hero-side-metrics {
  width: min(100%, 270px);
  display: grid;
  gap: 12px;
}

.hero-side-metrics div {
  padding: 15px 17px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.report-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 96% 0%, rgba(137,255,63,.2), transparent 22%),
    linear-gradient(125deg, #07111f, #112b1e);
  border: 1px solid rgba(137,255,63,.24);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .16);
}

.report-hero h2 {
  margin: 10px 0 8px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  color: #fff;
}

.report-hero p {
  color: #cbd5e1;
  margin: 0;
  max-width: 760px;
}

.report-hero .primary-link {
  background: var(--brand);
  color: var(--dark);
  white-space: nowrap;
}

.hero-side-metrics span {
  display: block;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-side-metrics strong {
  color: #fff;
  font-size: 25px;
  margin: 5px 0 0;
}

.executive-kpis {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.executive-kpis .metric-card {
  min-height: 126px;
  padding: 18px;
}

.executive-kpis .metric-card strong {
  font-size: 29px;
}

.departure-quality-panel {
  margin-bottom: 22px;
}

.departure-real-leads {
  flex: 0 0 auto;
  color: #15803d;
  font-size: 18px;
}

.departure-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.departure-summary-grid > div {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.departure-summary-grid span,
.departure-summary-grid strong,
.departure-summary-grid small {
  display: block;
}

.departure-summary-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.departure-summary-grid strong {
  margin: 6px 0 4px;
  color: var(--ink);
  font-size: 28px;
}

.departure-summary-grid small {
  color: var(--muted);
  line-height: 1.35;
}

.departure-age-list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.departure-age-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 110px minmax(120px, 1fr) 110px;
  align-items: center;
  gap: 12px;
}

.departure-age-row > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.departure-age-row > i {
  height: 9px;
  overflow: hidden;
  border-radius: 4px;
  background: #e7ece8;
}

.departure-age-row > i > b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #f0a930;
}

.departure-age-row > strong {
  color: var(--ink);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.recent-departure-list {
  border-top: 1px solid var(--line);
}

.recent-departure-head,
.recent-departure-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 100px;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.recent-departure-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.recent-departure-head span {
  grid-column: 3;
  text-align: right;
}

.recent-departure-row > div {
  min-width: 0;
}

.recent-departure-row > div strong,
.recent-departure-row > div span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-departure-row > div span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.recent-departure-row > strong {
  color: var(--ink);
  font-size: 15px;
  text-align: right;
}

.departure-origin {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.departure-origin.new {
  color: #b45309;
}

.departure-origin.old {
  color: #15803d;
}

.monitor-badge {
  min-width: 190px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 20px;
  border: 1px solid rgba(137,255,63,.28);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}

.monitor-badge span,
.monitor-badge small {
  color: #cbd5e1;
  font-weight: 900;
}

.monitor-badge strong {
  font-size: 38px;
  color: var(--brand);
  margin: 8px 0 4px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-head h2,
.section-head p {
  margin-bottom: 0;
}

.legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}

.dot.join { background: #35c96f; }
.dot.leave { background: #ef6357; }

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 12px;
}

.chart-day {
  min-height: 150px;
  display: grid;
  align-content: end;
  justify-items: center;
  gap: 8px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
}

.bar-pair {
  width: 56px;
  height: 82px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.bar {
  width: 22px;
  min-height: 0;
  border-radius: 8px 8px 4px 4px;
}

.bar.join { background: linear-gradient(180deg, #92ff69, #35c96f); }
.bar.leave { background: linear-gradient(180deg, #ffb15e, #ef6357); }

.chart-day strong {
  color: var(--muted);
  font-size: 13px;
}

.chart-day small {
  color: var(--ink);
  font-weight: 900;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.niche-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.niche-label {
  width: max-content;
  display: inline-flex;
  padding: 6px 10px;
  color: #166534;
  background: #edfff2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.niche-card p,
.niche-card footer,
.niche-card span,
.niche-card small {
  display: block;
}

.niche-card p,
.niche-card small {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.niche-card b {
  font-size: 32px;
  line-height: 1;
}

.niche-card footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2px;
}

.niche-card footer span,
.niche-card footer strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 760px) {
  .departure-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .departure-age-row {
    grid-template-columns: 82px minmax(70px, 1fr) 82px;
    gap: 8px;
  }

  .recent-departure-head {
    display: none;
  }

  .recent-departure-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .recent-departure-row > .departure-origin {
    grid-column: 1;
  }

  .recent-departure-row > strong {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.meta-review-sidebar-label {
  display: grid;
  gap: 3px;
  margin: 8px 0 22px;
  padding: 12px 14px;
  border: 1px solid rgba(82, 230, 102, .25);
  background: rgba(82, 230, 102, .07);
}

.meta-review-sidebar-label span,
.meta-review-nav-note {
  color: var(--muted);
  font-size: .72rem;
}

.meta-review-sidebar-label strong {
  color: var(--green);
}

.meta-review-nav-note {
  padding: 0 12px;
  line-height: 1.5;
}

.meta-review-head {
  align-items: flex-start;
}

.meta-review-purpose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 18px 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.meta-review-purpose > div {
  padding: 20px;
}

.meta-review-purpose > div + div {
  border-left: 1px solid var(--line);
}

.meta-review-purpose span,
.meta-review-steps span,
.meta-review-complete-step span {
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
}

.meta-review-purpose strong {
  display: block;
  margin: 6px 0;
  font-size: 1rem;
}

.meta-review-purpose p,
.meta-review-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.meta-review-token-note {
  background: rgba(63, 172, 255, .05);
}

.meta-review-connect-panel,
.meta-review-action-panel {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
}

.meta-review-step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 900;
}

.meta-review-list {
  margin: 18px 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.meta-review-primary {
  display: inline-flex;
  margin-top: 4px;
}

.meta-review-action-help {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.meta-review-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.meta-review-steps article {
  min-width: 0;
  padding: 18px;
}

.meta-review-steps article + article {
  border-left: 1px solid var(--line);
}

.meta-review-steps strong {
  display: block;
  margin: 6px 0;
}

.meta-review-complete-step {
  box-shadow: inset 3px 0 var(--green);
  background: rgba(82, 230, 102, .05);
}

.meta-review-metrics,
.meta-review-result-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.meta-review-action-content {
  min-width: 0;
}

.meta-review-action-content .inline-form {
  margin-top: 18px;
}

.meta-review-results {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.meta-review-results h2 {
  margin: 4px 0;
}

.meta-review-table {
  margin-top: 16px;
}

.meta-review-empty {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .meta-review-purpose,
  .meta-review-steps {
    grid-template-columns: 1fr;
  }

  .meta-review-purpose > div + div,
  .meta-review-steps article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .meta-review-metrics,
  .meta-review-result-cards {
    grid-template-columns: 1fr;
  }
}

.sidebar-subscription-card {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  color: #f8fafc;
  text-decoration: none;
  background: #1e293b;
  border: 1px solid #3a4b61;
  border-left: 4px solid #89ff3f;
  border-radius: 8px;
}

.sidebar-subscription-card:hover,
.sidebar-subscription-card.active {
  background: #27364a;
  border-color: #89ff3f;
}

.sidebar-subscription-card.urgent,
.sidebar-subscription-card.status-grace,
.sidebar-subscription-card.status-expired {
  background: #3a2712;
  border-color: #f6b73c;
}

.sidebar-subscription-card.status-active {
  background: #152e22;
  border-color: #4ed37b;
}

.sidebar-subscription-card > span {
  color: #b8c5d6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.sidebar-subscription-card > strong {
  font-size: 16px;
  line-height: 1.15;
}

.sidebar-subscription-card > small {
  color: #d3dbe6;
  font-size: 12px;
  font-weight: 750;
}

.sidebar-subscription-card > b {
  margin-top: 5px;
  color: #89ff3f;
  font-size: 13px;
}

.sidebar-subscription-card > .sidebar-subscription-cta {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: #08120a;
  background: #89ff3f;
  border-radius: 7px;
  line-height: 1.1;
}

.sidebar-subscription-card.urgent > b,
.sidebar-subscription-card.status-grace > b,
.sidebar-subscription-card.status-expired > b {
  color: #241704;
  background: #ffd477;
}

.sidebar-community-button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: -4px;
  padding: 9px 11px;
  color: #f8fafc;
  text-decoration: none;
  border: 1px solid #34485d;
  border-radius: 8px;
  background: #142231;
}

.sidebar-community-button:hover {
  border-color: #4ed37b;
  background: #1a2d3f;
}

.sidebar-community-button img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.sidebar-community-button > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.sidebar-community-button strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.sidebar-community-button small {
  color: #aebdca;
  font-size: 10px;
  font-weight: 720;
  line-height: 1.25;
}

@media (max-width: 900px) and (hover: none) and (pointer: coarse) {
  body.mobile-menu-open .sidebar .brand {
    padding-left: 58px;
  }
}

.subscription-page-head {
  margin-bottom: 20px;
}

.dashboard-subscription-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid #acd998;
  border-left: 6px solid #42b95f;
  border-radius: 8px;
  background: #f2fbef;
}

.dashboard-subscription-strip.urgent {
  border-color: #e7b647;
  background: #fff8e7;
}

.dashboard-subscription-strip h2 {
  margin: 5px 0;
}

.dashboard-subscription-strip p {
  margin: 0;
}

.dashboard-subscription-strip .primary-link {
  flex: 0 0 auto;
}

.subscription-message {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #e7b647;
  border-left-width: 5px;
  border-radius: 8px;
  background: #fff8e7;
  color: #684a0c;
  font-weight: 800;
}

.subscription-message.danger {
  border-color: #e27b7b;
  background: #fff0f0;
  color: #8a2424;
}

.subscription-message.upgrade-success {
  border-color: #53b977;
  background: #edf9f1;
  color: #185c31;
}

.subscription-message.upgrade-success a {
  display: inline-block;
  margin-left: 8px;
  color: #124d29;
  font-weight: 900;
}

.upgrade-sales-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 12px;
}

.upgrade-sales-topbar > span {
  padding: 6px 9px;
  color: #315343;
  background: #e8f4ec;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.upgrade-sales-hero {
  position: relative;
  min-height: 430px;
  margin-bottom: 0;
  padding: 58px 56px;
  overflow: hidden;
  color: #fff;
  background: #101828;
  border-top: 6px solid #7ee83f;
}

.upgrade-sales-kicker {
  display: block;
  margin-bottom: 18px;
  color: #9af55f;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.upgrade-sales-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-size: 56px;
  line-height: 1;
}

.upgrade-sales-hero h2 {
  max-width: 880px;
  margin: 20px 0 12px;
  color: #fff;
  font-size: 30px;
  line-height: 1.18;
}

.upgrade-sales-hero p {
  max-width: 720px;
  margin: 0;
  color: #d9e2ec;
  font-size: 18px;
  line-height: 1.55;
}

.upgrade-sales-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.upgrade-sales-actions .primary-link {
  min-width: 210px;
  text-align: center;
}

.upgrade-text-link {
  min-height: 46px;
  padding: 13px 8px;
  color: #fff;
  font-weight: 900;
}

.upgrade-sales-showcase,
.upgrade-sales-examples,
.upgrade-sales-steps,
.upgrade-sales-checkout {
  margin: 0;
  padding: 52px 56px;
}

.upgrade-sales-showcase,
.upgrade-sales-steps {
  background: #fff;
}

.upgrade-sales-examples {
  background: #edf3ee;
}

.upgrade-section-copy {
  max-width: 720px;
  margin-bottom: 28px;
}

.upgrade-section-copy h2 {
  margin: 7px 0 9px;
  color: #101828;
  font-size: 30px;
  line-height: 1.2;
}

.upgrade-section-copy p {
  margin: 0;
  color: #5e6d7f;
  font-size: 16px;
}

.upgrade-demo {
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  color: #f4f8f4;
  background: #0b120e;
  border: 1px solid #283a2e;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 30, 21, .16);
}

.upgrade-demo-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 0 22px;
  border-bottom: 1px solid #283a2e;
}

.upgrade-demo-bar span {
  color: #d9e4dc;
  font-weight: 800;
}

.upgrade-demo-bar span b {
  color: #9af55f;
}

.upgrade-demo-bar strong {
  color: #fff;
}

.upgrade-demo-bar small {
  justify-self: end;
  color: #8fa298;
  font-weight: 800;
}

.upgrade-finance-heading {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  padding: 30px 30px 20px;
}

.upgrade-finance-heading small,
.upgrade-finance-heading strong,
.upgrade-finance-heading span {
  display: block;
}

.upgrade-finance-heading small {
  color: #8fa298;
  font-size: 11px;
  font-weight: 900;
}

.upgrade-finance-heading > div > strong {
  margin: 7px 0 4px;
  color: #fff;
  font-size: 46px;
  line-height: 1;
}

.upgrade-finance-heading span {
  color: #99aaa0;
  font-weight: 750;
}

.upgrade-finance-forecast {
  padding: 17px 20px;
  border-left: 5px solid #69e75b;
  background: #142019;
}

.upgrade-finance-heading .upgrade-finance-forecast strong {
  color: #72ef63;
  font-size: 28px;
}

.upgrade-finance-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(40px, 1fr));
  align-items: end;
  gap: 12px;
  height: 190px;
  margin: 0 30px;
  padding: 28px 16px 0;
  border-top: 1px solid #26372c;
  border-bottom: 1px solid #26372c;
}

.upgrade-finance-chart > div {
  display: grid;
  grid-template-rows: 24px 1fr 24px;
  align-items: end;
  justify-items: center;
  height: 100%;
}

.upgrade-finance-chart span {
  color: #b8c6bd;
  font-size: 10px;
  font-weight: 800;
}

.upgrade-finance-chart i {
  display: block;
  width: min(54px, 70%);
  min-height: 12px;
  background: #61e653;
  border-radius: 4px 4px 0 0;
}

.upgrade-finance-chart small {
  align-self: center;
  color: #819187;
  font-weight: 800;
}

.upgrade-finance-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 30px 28px;
}

.upgrade-finance-channels > div {
  padding: 20px 22px 0;
  border-left: 1px solid #26372c;
}

.upgrade-finance-channels > div:first-child {
  border-left: 0;
}

.upgrade-finance-channels span,
.upgrade-finance-channels strong,
.upgrade-finance-channels small {
  display: block;
}

.upgrade-finance-channels span {
  color: #9eaea4;
  font-size: 12px;
  font-weight: 850;
}

.upgrade-finance-channels strong {
  margin: 5px 0 2px;
  color: #fff;
  font-size: 22px;
}

.upgrade-finance-channels small {
  color: #72ef63;
}

.upgrade-finance-rounds {
  display: grid;
  margin: 0 30px 28px;
  border-top: 1px solid #26372c;
}

.upgrade-finance-rounds > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 12px 4px;
  border-bottom: 1px solid #26372c;
}

.upgrade-finance-rounds b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #0b120e;
  background: #72ef63;
  border-radius: 5px;
  font-size: 11px;
}

.upgrade-finance-rounds p,
.upgrade-finance-rounds strong,
.upgrade-finance-rounds span {
  display: block;
  margin: 0;
}

.upgrade-finance-rounds strong {
  color: #eef5f0;
  font-size: 13px;
}

.upgrade-finance-rounds span {
  margin-top: 3px;
  color: #89998f;
  font-size: 11px;
}

.upgrade-finance-rounds small {
  color: #72ef63;
  font-weight: 900;
  white-space: nowrap;
}

.upgrade-live-screens {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
  gap: 18px;
  align-items: start;
}

.upgrade-live-screens figure {
  margin: 0;
  overflow: hidden;
  background: #0b120e;
  border: 1px solid #283a2e;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 30, 21, .16);
}

.upgrade-live-screens img {
  display: block;
  width: 100%;
  height: auto;
  background: #070907;
}

.upgrade-live-screen-desktop img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.upgrade-live-screen-mobile img {
  aspect-ratio: 390 / 844;
  object-fit: cover;
}

.upgrade-live-screens figcaption {
  min-height: 76px;
  padding: 14px 16px;
}

.upgrade-live-screens figcaption strong,
.upgrade-live-screens figcaption span {
  display: block;
}

.upgrade-live-screens figcaption strong {
  color: #72ef63;
  font-size: 13px;
}

.upgrade-live-screens figcaption span {
  margin-top: 5px;
  color: #b8c6bd;
  font-size: 12px;
  line-height: 1.4;
}

.upgrade-reaction-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1.35fr) minmax(240px, .65fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
}

.upgrade-reaction-alert {
  padding: 24px;
  color: #101828;
  background: #fff;
  border-left: 6px solid #f2ae30;
  border-radius: 6px;
}

.upgrade-reaction-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.upgrade-reaction-status span {
  padding: 5px 8px;
  color: #7a4a00;
  background: #fff0c5;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.upgrade-reaction-status small {
  color: #8490a0;
  font-weight: 800;
}

.upgrade-reaction-alert h3 {
  margin: 18px 0 8px;
  font-size: 25px;
}

.upgrade-reaction-group {
  margin: 0 0 16px;
  color: #58677a;
  font-weight: 800;
}

.upgrade-reaction-context {
  padding: 16px;
  background: #edf3ee;
  border-radius: 6px;
}

.upgrade-reaction-context small,
.upgrade-reaction-context strong,
.upgrade-reaction-context span {
  display: block;
}

.upgrade-reaction-context small {
  color: #68786d;
  font-size: 10px;
  font-weight: 950;
}

.upgrade-reaction-context strong {
  margin: 7px 0 4px;
}

.upgrade-reaction-context span {
  color: #5f6d63;
  font-size: 13px;
}

.upgrade-demo-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-top: 16px;
  padding: 10px 14px;
  color: #fff;
  background: #101828;
  border-radius: 6px;
  font-weight: 900;
}

.upgrade-reaction-summary {
  display: grid;
  gap: 13px;
}

.upgrade-reaction-summary > span {
  color: #72ef63;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.upgrade-reaction-summary > strong {
  position: relative;
  padding-left: 24px;
  color: #fff;
  font-size: 17px;
}

.upgrade-reaction-summary > strong::before {
  position: absolute;
  left: 0;
  color: #72ef63;
  content: "✓";
}

.upgrade-reaction-summary > small {
  margin-top: 8px;
  color: #91a197;
  font-weight: 750;
}

.upgrade-generic-result {
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: 44px;
}

.upgrade-generic-result span {
  color: #72ef63;
  font-size: 12px;
  font-weight: 950;
}

.upgrade-generic-result strong {
  margin: 10px 0;
  color: #fff;
  font-size: 34px;
}

.upgrade-generic-result p {
  max-width: 620px;
  margin: 0;
  color: #b9c6be;
}

.upgrade-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.upgrade-example-item {
  min-height: 190px;
  padding: 24px;
  background: #fff;
  border-top: 4px solid #75df55;
  border-radius: 6px;
}

.upgrade-example-item > span {
  color: #198f4d;
  font-size: 12px;
  font-weight: 950;
}

.upgrade-example-item h3 {
  margin: 24px 0 8px;
  color: #101828;
  font-size: 20px;
}

.upgrade-example-item p {
  margin: 0;
  color: #607086;
  line-height: 1.5;
}

.upgrade-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #d9e2dc;
  border-bottom: 1px solid #d9e2dc;
}

.upgrade-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 26px 22px;
  border-left: 1px solid #d9e2dc;
}

.upgrade-step:first-child {
  border-left: 0;
}

.upgrade-step > b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #0a2917;
  background: #72ef63;
  border-radius: 50%;
}

.upgrade-step h3 {
  margin: 2px 0 7px;
  color: #101828;
  font-size: 18px;
}

.upgrade-step p {
  margin: 0;
  color: #607086;
  line-height: 1.45;
}

.upgrade-sales-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: 44px;
  align-items: center;
  color: #fff;
  background: #172435;
  border-bottom: 6px solid #72ef63;
}

.upgrade-checkout-copy h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 32px;
}

.upgrade-checkout-copy > p {
  max-width: 680px;
  margin: 0;
  color: #d4dce7;
}

.upgrade-checkout-copy .subscription-benefits li {
  color: #e4eaf2;
}

.upgrade-boundary {
  margin-top: 22px !important;
  padding: 14px 16px;
  color: #cbd5df !important;
  background: #223247;
  border-left: 4px solid #f4bc4b;
  border-radius: 4px;
  font-size: 13px;
}

.upgrade-offer {
  padding: 24px;
  color: #101828;
  background: #fff;
  border-radius: 8px;
}

.upgrade-offer > span,
.upgrade-offer > strong,
.upgrade-offer > small {
  display: block;
}

.upgrade-offer > span {
  color: #607086;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.upgrade-offer > strong {
  margin-top: 8px;
  font-size: 40px;
  line-height: 1;
}

.upgrade-offer > small {
  margin: 6px 0 20px;
  color: #607086;
  font-weight: 800;
}

.upgrade-offer form,
.upgrade-offer button {
  width: 100%;
}

.upgrade-offer p {
  margin: 12px 0 0;
  color: #607086;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.upgrade-preview-action {
  display: block;
  width: 100%;
  margin-top: 16px;
  text-align: center;
}

.upgrade-next-step,
.upgrade-unavailable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.upgrade-next-step h2 {
  margin: 6px 0 8px;
  font-size: 24px;
}

.upgrade-next-step p {
  margin: 0;
}

.upgrade-unavailable {
  min-height: 280px;
  color: #fff;
  background: #172435;
  border-color: #334761;
}

.upgrade-unavailable h1 {
  max-width: 760px;
  margin: 8px 0 10px;
  color: inherit;
  font-size: 32px;
}

.upgrade-unavailable p {
  max-width: 720px;
  margin: 0;
  color: #d4dce7;
}

.upgrade-unavailable .primary-link {
  flex: 0 0 auto;
}

.module-catalog-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 290px;
}

.module-catalog-form label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.module-catalog-form input {
  width: 16px;
  height: 16px;
}

.table-subline {
  display: block;
  margin-top: 3px;
  color: #7a889b;
  font-size: 11px;
}

.small-action {
  min-height: 32px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  color: #102018;
  background: #dff7e6;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-upgrade-requests {
  margin-top: 18px;
}

.table-card-head {
  padding: 20px 22px 8px;
}

.table-card-head h2 {
  margin: 5px 0 0;
}

.subscription-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
  padding: 30px;
  color: #fff;
  background: #101828;
  border: 1px solid #2a394e;
  border-left: 6px solid #89ff3f;
  border-radius: 8px;
}

.subscription-hero.urgent {
  background: #30240f;
  border-color: #f6b73c;
}

.subscription-hero.active {
  background: #12301f;
  border-color: #4ed37b;
}

.subscription-hero.setup {
  align-items: flex-start;
  background: #172435;
  border-color: #7ba9d8;
}

.subscription-hero h2 {
  margin: 7px 0 9px;
  color: #fff;
  font-size: 30px;
}

.subscription-hero p {
  max-width: 720px;
  margin: 0;
  color: #d4dce7;
}

.subscription-kicker {
  color: #89ff3f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.subscription-hero.urgent .subscription-kicker {
  color: #ffd477;
}

.subscription-price {
  flex: 0 0 auto;
  min-width: 190px;
  text-align: right;
}

.subscription-price strong,
.subscription-price span {
  display: block;
}

.subscription-price strong {
  font-size: 36px;
  line-height: 1;
}

.subscription-price span {
  margin-top: 7px;
  color: #c6d0dd;
  font-weight: 800;
}

.subscription-proof,
.subscription-checkout,
.subscription-setup-note,
.subscription-pix,
.subscription-timeline {
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.subscription-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border-top: 1px solid var(--line);
}

.subscription-proof-grid article {
  min-width: 0;
  padding: 20px 18px 6px 0;
}

.subscription-proof-grid strong,
.subscription-proof-grid span {
  display: block;
}

.subscription-proof-grid strong {
  color: #101828;
  font-size: 34px;
  line-height: 1;
}

.subscription-proof-grid span {
  margin-top: 8px;
  color: #607086;
  font-weight: 750;
}

.subscription-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 34px;
  align-items: start;
}

.subscription-checkout h2,
.subscription-setup-note h2,
.subscription-pix h2 {
  margin: 6px 0 9px;
  font-size: 25px;
}

.subscription-benefits {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.subscription-benefits li {
  position: relative;
  padding-left: 24px;
  color: #344054;
  font-weight: 750;
}

.subscription-benefits li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: #198f4d;
  font-weight: 950;
}

.subscription-actions {
  display: grid;
  gap: 10px;
}

.subscription-activation-upgrades {
  display: grid;
  gap: 7px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.subscription-activation-upgrades > strong {
  color: #101828;
  font-size: 19px;
}

.subscription-activation-upgrades > p {
  margin: 0;
  color: #607086;
  font-size: 13px;
}

.subscription-activation-options {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.subscription-activation-options label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}

.subscription-activation-options input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #1ed760;
}

.subscription-activation-options span,
.subscription-activation-options b,
.subscription-activation-options small {
  display: block;
  min-width: 0;
}

.subscription-activation-options small {
  margin-top: 3px;
  color: #607086;
  font-size: 12px;
  font-weight: 650;
}

.subscription-activation-options label > strong {
  color: #255e3a;
  font-size: 13px;
  white-space: nowrap;
}

.subscription-activation-total {
  display: grid;
  gap: 4px;
  margin-bottom: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.subscription-activation-total span,
.subscription-activation-total small {
  color: #607086;
  font-size: 12px;
  font-weight: 750;
}

.subscription-activation-total strong {
  color: #101828;
  font-size: 30px;
  line-height: 1.1;
}

.subscription-actions form,
.subscription-actions button {
  width: 100%;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 13px 16px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.primary-action {
  color: #04120a;
  background: #1ed760;
}

.secondary-action {
  color: #101828;
  background: #e8efe9;
}

.text-action {
  padding: 8px;
  color: #255e3a;
  font-weight: 850;
  text-align: center;
}

.subscription-setup-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.subscription-setup-note p {
  margin-bottom: 0;
}

.subscription-pix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: center;
}

.subscription-pix textarea {
  width: 100%;
  min-height: 96px;
  margin: 8px 0 10px;
  resize: vertical;
  overflow-wrap: anywhere;
}

.subscription-pix img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.subscription-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.subscription-timeline > div {
  padding: 4px 22px;
  border-left: 1px solid var(--line);
}

.subscription-timeline > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.subscription-timeline small,
.subscription-timeline strong,
.subscription-timeline span {
  display: block;
}

.subscription-timeline small {
  color: #607086;
  font-weight: 800;
}

.subscription-timeline strong {
  margin: 6px 0;
  font-size: 25px;
}

.subscription-timeline span {
  color: #607086;
  font-size: 13px;
  font-weight: 700;
}

.subscription-catalog {
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.subscription-catalog .section-head h2 {
  margin: 5px 0 7px;
}

.subscription-catalog .section-head p {
  margin: 0;
}

.subscription-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.subscription-catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
}

.subscription-catalog-card h3 {
  margin: 16px 0 7px;
  font-size: 23px;
}

.subscription-catalog-card > p {
  min-height: 44px;
  margin: 0 0 16px;
}

.subscription-catalog-card > strong {
  color: #101828;
  font-size: 30px;
}

.subscription-catalog-card > strong small {
  color: #607086;
  font-size: 13px;
}

.subscription-quote {
  display: grid;
  gap: 4px;
  margin: 18px 0;
  padding: 14px;
  border-left: 4px solid #1ed760;
  background: #edf9f1;
}

.subscription-quote span,
.subscription-quote small {
  color: #4b5c51;
  font-size: 12px;
  font-weight: 750;
}

.subscription-quote b {
  color: #102018;
  font-size: 24px;
}

.subscription-card-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.subscription-card-actions form,
.subscription-card-actions button {
  width: 100%;
}

.subscription-addon-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.subscription-addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px;
  color: #101828;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
}

.subscription-addon-row span,
.subscription-addon-row strong,
.subscription-addon-row small {
  display: block;
}

.subscription-addon-row small {
  margin-top: 4px;
  color: #607086;
}

.subscription-addon-row b {
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .subscription-hero,
  .subscription-setup-note,
  .dashboard-subscription-strip,
  .upgrade-next-step,
  .upgrade-unavailable {
    align-items: stretch;
    flex-direction: column;
  }

  .upgrade-sales-hero {
    min-height: 0;
    padding: 38px 22px 42px;
  }

  .upgrade-sales-hero h1 {
    font-size: 42px;
  }

  .upgrade-sales-hero h2,
  .upgrade-unavailable h1 {
    font-size: 27px;
  }

  .upgrade-sales-hero p {
    font-size: 16px;
  }

  .upgrade-sales-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .upgrade-sales-actions .primary-link,
  .upgrade-text-link {
    width: 100%;
    text-align: center;
  }

  .upgrade-sales-showcase,
  .upgrade-sales-examples,
  .upgrade-sales-steps,
  .upgrade-sales-checkout {
    padding: 36px 20px;
  }

  .upgrade-section-copy h2 {
    font-size: 25px;
  }

  .upgrade-demo {
    min-height: 0;
  }

  .upgrade-demo-bar {
    grid-template-columns: 1fr auto;
    padding: 0 15px;
  }

  .upgrade-demo-bar > small {
    display: none;
  }

  .upgrade-finance-heading {
    grid-template-columns: 1fr;
    padding: 24px 16px 16px;
  }

  .upgrade-finance-heading > div > strong {
    font-size: 36px;
  }

  .upgrade-finance-chart {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
    height: 170px;
    margin: 0 16px;
    padding-inline: 0;
  }

  .upgrade-finance-chart span {
    font-size: 8px;
  }

  .upgrade-finance-chart i {
    width: 72%;
  }

  .upgrade-finance-chart small {
    font-size: 9px;
  }

  .upgrade-finance-channels {
    grid-template-columns: 1fr;
    padding: 0 16px 18px;
  }

  .upgrade-finance-channels > div {
    padding: 16px 10px 0;
    border-top: 1px solid #26372c;
    border-left: 0;
  }

  .upgrade-finance-channels > div:first-child {
    border-top: 0;
  }

  .upgrade-finance-channels strong {
    font-size: 17px;
  }

  .upgrade-finance-rounds {
    margin: 0 16px 20px;
  }

  .upgrade-finance-rounds > div {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .upgrade-finance-rounds > div > small {
    grid-column: 2;
    white-space: normal;
  }

  .upgrade-reaction-layout {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .upgrade-live-screens {
    grid-template-columns: 1fr;
  }

  .upgrade-live-screen-mobile {
    width: min(100%, 340px);
    justify-self: center;
  }

  .upgrade-reaction-alert {
    padding: 19px 17px;
  }

  .upgrade-reaction-alert h3 {
    font-size: 22px;
  }

  .upgrade-example-grid,
  .upgrade-step-list,
  .upgrade-sales-checkout {
    grid-template-columns: 1fr;
  }

  .upgrade-example-item {
    min-height: 0;
  }

  .upgrade-step-list {
    border-bottom: 0;
  }

  .upgrade-step {
    border-bottom: 1px solid #d9e2dc;
    border-left: 0;
  }

  .subscription-price {
    min-width: 0;
    text-align: left;
  }

  .subscription-checkout,
  .subscription-pix,
  .subscription-timeline {
    grid-template-columns: 1fr;
  }

  .subscription-pix img {
    width: min(220px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .subscription-timeline > div {
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .subscription-timeline > div:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .subscription-catalog {
    padding: 20px 16px;
  }

  .subscription-addon-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .subscription-activation-options label {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .subscription-activation-options label > strong {
    grid-column: 2;
    white-space: normal;
  }
}

.pos { color: #16a34a !important; }
.neg { color: #dc2626 !important; }

.group-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.group-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.group-card-top strong {
  display: block;
  font-size: 18px;
}

.group-card-top span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.group-card-top b {
  font-size: 34px;
  line-height: 1;
}

.group-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.group-stats span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
}

.group-stats small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.group-stats strong {
  font-size: 18px;
}

.group-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.monitor-config-split {
  grid-template-columns: minmax(320px, .8fr) minmax(420px, 1.2fr);
}

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

.form-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-hint {
  align-self: center;
  color: var(--muted);
  font-weight: 800;
}

.switch-row {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
}

.switch-row.compact-switch {
  margin-top: 24px;
}

.switch-row input {
  width: auto;
}

.group-config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 14px;
}

.group-config-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

.group-config-card .stack-form {
  gap: 12px;
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.row-actions form {
  margin: 0;
}

.row-actions button,
.compact-actions a {
  padding: 9px 11px;
}

.danger {
  color: #991b1b;
  background: #fee2e2;
}

.flat-table {
  box-shadow: none;
}

.panel {
  padding: 22px;
  margin-bottom: 18px;
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 14px;
}

.inline-form.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inline-form.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inline-form.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.inline-form.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.inline-form.no-margin { margin: 0; }
.span-all { grid-column: 1 / -1; }

.stack-form {
  display: grid;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #ced8d2;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  font-weight: 700;
  background: #fff;
}

textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.45;
}

select {
  width: 100%;
  border: 1px solid #ced8d2;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  font-weight: 800;
  background: #fff;
}

label {
  display: block;
  margin-bottom: 6px;
}

.field-hint {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.compact-textarea {
  min-height: 92px;
}

button, .primary-link, .secondary-link {
  border: 0;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  padding: 13px 16px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.primary-link {
  background: #1ed760;
  color: #04120a;
}

.secondary-link, .ghost {
  background: #e8efe9;
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-tile {
  display: block;
  min-height: 128px;
  padding: 20px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.admin-tile strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.admin-tile span {
  color: var(--muted);
  line-height: 1.45;
}

.session-card {
  color: inherit;
  text-decoration: none;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.session-card strong, .session-card span {
  display: block;
}

.session-card div span {
  color: var(--muted);
  margin-top: 4px;
}

.admin-tenant-card {
  display: grid;
  align-content: start;
  padding: 0;
  overflow: hidden;
}

.admin-tenant-card.is-disabled {
  border-color: #fecaca;
  background: #fffafa;
}

.admin-tenants-list {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.admin-tenant-main {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.admin-tenant-main > div {
  min-width: 0;
}

.admin-tenant-main > div span {
  overflow-wrap: anywhere;
}

.admin-tenant-identity {
  display: grid;
  gap: 5px;
}

.admin-tenant-identity strong {
  font-size: 17px;
}

.admin-tenant-code {
  color: #3f5d4b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-tenant-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 18px 16px;
}

.admin-tenant-metrics > div {
  min-width: 0;
  padding: 12px 14px 4px 0;
}

.admin-tenant-metrics > div + div {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.admin-tenant-metrics span,
.admin-tenant-metrics small {
  display: block;
  color: var(--muted);
}

.admin-tenant-metrics span {
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-tenant-metrics strong {
  font-size: 24px;
  line-height: 1.1;
}

.admin-tenant-metrics small {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
}

.admin-tenant-plan,
.admin-tenant-marketplaces {
  display: grid;
  gap: 10px;
  margin: 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.admin-tenant-plan > span,
.admin-tenant-marketplaces-head > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-tenant-plan > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.admin-tenant-plan strong {
  font-size: 15px;
}

.admin-tenant-plan small,
.admin-tenant-marketplaces-head small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
}

.admin-tenant-marketplaces-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.admin-marketplace-state {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.admin-marketplace-state strong {
  font-size: 13px;
}

.admin-marketplace-state small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.admin-marketplace-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, .16);
}

.admin-marketplace-dot.is-ready {
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .14);
}

.admin-marketplace-dot.is-attention {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .16);
}

.admin-tenant-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: rgba(248, 250, 252, .82);
}

.admin-tenant-actions form {
  margin: 0;
}

.admin-tenant-actions .secondary-link,
.admin-tenant-actions button {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  background: #edf2f0;
  color: #536172;
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

.status-pill.ok {
  background: #dcfce7;
  color: #166534;
}

.status-pill.warn {
  background: #fef3c7;
  color: #92400e;
}

.status-pill.danger {
  background: #fee2e2;
  color: #991b1b;
}

.split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 18px;
}

.number-connect-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 18px;
}

.number-status-panel {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.number-status-panel h2 {
  max-width: 720px;
  margin: 18px 0 10px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .98;
}

.number-status-panel p {
  max-width: 680px;
  font-size: 18px;
  font-weight: 760;
}

.qr-steps {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.qr-steps strong {
  color: var(--ink);
}

.number-flash {
  margin-bottom: 18px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.actions form { margin: 0; }

.copy-box {
  margin: 12px 0 18px;
  padding: 14px 16px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px dashed #b8c6bd;
  border-radius: 8px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.copy-box.compact {
  margin: 8px 0 0;
  padding: 11px 13px;
}

.copy-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.readiness-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #fff;
}

.readiness-item.ok {
  border-color: #b7ebc8;
  background: #f3fff6;
}

.readiness-item.warn {
  border-color: #f3d48b;
  background: #fff9e8;
}

.readiness-item strong {
  display: block;
  color: var(--ink);
}

.readiness-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.danger-button {
  background: #fee2e2;
  color: #991b1b;
}

.auto-reconnect-box,
.hint-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
}

.auto-reconnect-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.auto-reconnect-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.auto-reconnect-box p,
.hint-box {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.session-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.qr-panel {
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.qr-panel img {
  max-width: 300px;
  width: 100%;
  image-rendering: pixelated;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .10);
}

.qr-hint {
  max-width: 320px;
  margin: 14px auto 0;
  font-weight: 800;
}

.technical-details {
  margin-top: 24px;
  color: var(--muted);
}

.technical-details summary {
  cursor: pointer;
  font-weight: 900;
}

.technical-details .detail-row strong {
  max-width: 70%;
  overflow-wrap: anywhere;
}

.alert, .empty, .success-box {
  border-radius: 8px;
  padding: 14px;
  font-weight: 800;
}

.alert {
  background: #fee2e2;
  color: #991b1b;
}

.alert.soft {
  background: #fff7d6;
  color: #92400e;
}

.empty {
  background: #f1f5f9;
  color: #64748b;
}

.success-box {
  background: #dcfce7;
  color: #166534;
}

.error-box {
  border-radius: 8px;
  padding: 14px;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 800;
}

.page-subtitle {
  max-width: 760px;
  margin: 8px 0 0;
  font-weight: 800;
}

.monitor-simple-head {
  align-items: flex-end;
}

.monitor-simple-head .actions {
  align-items: center;
  margin-top: 0;
}

.monitor-simple-head form,
.compact-group-form,
.compact-group-remove {
  margin: 0;
}

.compact-feedback {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 14px;
}

.sync-toast {
  width: fit-content;
  max-width: 100%;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #ecfdf3;
  color: #166534;
  font-size: 13px;
  font-weight: 900;
}

.sync-toast.warn {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.sync-toast.danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.group-picker-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .68);
}

.group-picker-summary strong {
  font-size: 16px;
}

.group-picker-summary span {
  color: var(--muted);
  font-weight: 800;
}

.compact-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.compact-group-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}

.compact-group-card[hidden],
.compact-group-card.is-hidden,
.group-search-empty[hidden] {
  display: none !important;
}

.compact-group-card.included {
  border-color: rgba(22, 163, 74, .35);
  background: linear-gradient(180deg, rgba(237, 255, 242, .9), rgba(255,255,255,.94));
}

.compact-group-card.has-input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

.compact-group-main {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 10px;
  align-items: start;
}

.compact-group-main strong {
  min-height: 40px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.28;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compact-group-main b {
  font-size: 28px;
  line-height: 1;
}

.compact-group-main span {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.compact-group-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.compact-group-current small {
  color: var(--muted);
  font-weight: 900;
  text-align: right;
}

.compact-group-form {
  display: grid;
  gap: 8px;
}

.compact-group-form select,
.compact-group-form input,
.compact-group-form button {
  padding: 10px 11px;
  font-size: 13px;
}

.compact-group-form button {
  width: 100%;
}

.compact-group-card.has-input-error .compact-group-form select,
.compact-group-card.has-input-error .compact-group-form input {
  border-color: #ef4444;
}

.compact-group-error {
  margin: 0;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.compact-group-error[hidden] {
  display: none;
}

.compact-group-remove button {
  width: 100%;
  padding: 9px 11px;
  font-size: 12px;
}

.table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.table-head h2 { margin: 0; }

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

td a {
  color: #136f35;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin: 0;
  cursor: pointer;
}

.check-row input {
  width: auto;
  margin-top: 4px;
}

.check-row small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.35;
}

.module-picks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.module-picks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 13px;
  margin: 0;
}

.module-picks input { width: auto; }

.config-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.acquisition-status-panel .section-head {
  align-items: flex-start;
}

.acquisition-funnel,
.event-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.acquisition-funnel div,
.event-chip-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #f8fbf9;
}

.acquisition-funnel small,
.event-chip-grid small {
  display: block;
  color: var(--muted);
  font-weight: 900;
  margin-bottom: 6px;
}

.acquisition-funnel strong,
.event-chip-grid strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.acquisition-split {
  align-items: start;
}

.acquisition-action-form {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}

.admin-secret-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f8fbf9;
}

.admin-secret-details summary {
  cursor: pointer;
  font-weight: 950;
}

.admin-secret-details[open] summary {
  margin-bottom: 14px;
}

.onboarding-hero strong {
  color: var(--brand);
}

.onboarding-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.onboarding-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .07);
}

.onboarding-step.done {
  border-color: rgba(41, 194, 102, .35);
}

.onboarding-step.todo {
  border-color: rgba(246, 183, 60, .38);
}

.step-index {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #07111f;
  color: var(--brand);
  font-size: 22px;
  font-weight: 950;
}

.onboarding-step h2 {
  margin: 10px 0 6px;
}

.onboarding-step p {
  margin-bottom: 8px;
}

.onboarding-step strong {
  display: block;
  margin-bottom: 12px;
}

.onboarding-step a {
  color: #136f35;
  font-weight: 950;
  text-decoration: none;
}

.process-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.process-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbf9;
  font-weight: 900;
  color: #203047;
}

.number-setup-hero {
  align-items: center;
}

.number-card span span {
  color: var(--muted);
}

.dashboard-actions-panel {
  margin-top: 18px;
}

.code-block {
  display: block;
  background: #07111f;
  color: #d9ffcc;
  border-radius: 8px;
  padding: 14px;
  overflow-wrap: anywhere;
  margin-top: 12px;
}

.full {
  width: 100%;
  display: block;
  text-align: center;
  margin-bottom: 10px;
}

.pix-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}

.pix-qr {
  width: 220px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.login-shell {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
}

.login-card {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .16);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
}

.login-brand img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: #07111f;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .16);
}

.login-brand strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
}

.login-brand span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  margin-top: 5px;
  text-transform: uppercase;
}

.login-card h1 {
  font-size: 34px;
  margin: 0 0 8px;
}

.login-card form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.plan-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));
  gap: 14px;
}

.plan-admin-card {
  margin-bottom: 0;
}

.plan-admin-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.feedback-layout {
  align-items: stretch;
}

.feedback-aside {
  background:
    radial-gradient(circle at 92% 8%, rgba(137,255,63,.18), transparent 30%),
    linear-gradient(180deg, #ffffff, #f7fbf8);
}

.feedback-aside ul {
  margin: 18px 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.7;
}

.plan-admin-head small,
.muted {
  color: var(--muted);
  font-weight: 850;
}

.plan-admin-head strong {
  display: block;
  font-size: 24px;
  margin-top: 3px;
}

body.public-body {
  display: block;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0%, rgba(137,255,63,.28), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(30,215,96,.16), transparent 24%),
    #eef4ef;
}

.public-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.public-hero {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 24px;
  align-items: stretch;
  color: #fff;
  background:
    radial-gradient(circle at 86% 8%, rgba(137,255,63,.26), transparent 24%),
    linear-gradient(135deg, #07111f 0%, #07111f 58%, #123d2a 100%);
  border: 1px solid rgba(137,255,63,.24);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .18);
}

.public-logo {
  display: block;
  width: min(100%, 390px);
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 18px;
  box-shadow: 0 18px 50px rgba(137, 255, 63, .12);
}

.public-logo.small {
  width: min(100%, 280px);
  margin-bottom: 14px;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.public-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.public-brand strong {
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.public-brand.compact {
  margin-bottom: 14px;
}

.public-brand.compact img {
  width: 48px;
  height: 48px;
}

.public-brand.compact strong {
  font-size: 26px;
}

.public-hero.compact {
  margin-bottom: 18px;
}

.public-hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
  margin: 18px 0 18px;
}

.public-hero p {
  max-width: 720px;
  color: #d4dde8;
  font-size: 19px;
  font-weight: 750;
}

.public-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.public-proof {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}

.public-proof strong {
  color: var(--brand);
  font-size: 42px;
  line-height: 1;
}

.public-proof span {
  color: #dbe7f3;
  font-weight: 850;
  margin-bottom: 10px;
}

.public-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.public-steps article {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .07);
}

.public-steps strong {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #07111f;
  color: var(--brand);
}

.public-steps span {
  font-weight: 950;
}

.public-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.public-plan-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .12);
}

.public-plan-card h2 {
  font-size: 30px;
  margin: 0;
}

.public-plan-card > strong {
  font-size: 42px;
  line-height: 1;
}

.plan-ribbon {
  width: max-content;
  padding: 7px 10px;
  color: #06110d;
  background: var(--brand);
  border-radius: 999px;
  font-weight: 950;
}

.public-modules {
  min-height: 48px;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.45;
}

.plan-composition {
  color: #42536a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.public-contract-split {
  grid-template-columns: 1fr 390px;
}

.public-footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: var(--muted);
  font-weight: 850;
}

.public-footer a,
.login-legal a {
  color: #245f38;
}

.start-landing-body {
  background: #f5f8f4;
}

.start-landing-body main {
  width: 100%;
  overflow-x: hidden;
}

.start-campaign-hero {
  position: relative;
  min-height: 86dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .74fr);
  gap: min(5vw, 58px);
  align-items: center;
  padding: 58px min(6vw, 86px) 54px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(7, 17, 31, .98) 0%, rgba(10, 31, 35, .92) 52%, rgba(16, 24, 40, .42) 100%),
    url("/static/brand/pulse-start-hero.png") center / cover no-repeat,
    #07111f;
}

.start-hero-content {
  width: min(760px, 100%);
  display: grid;
  gap: 16px;
  align-items: start;
}

.start-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .92;
}

.start-hero p {
  max-width: 700px;
  margin: 0;
  color: #e1ebf4;
  font-size: 21px;
  font-weight: 720;
}

.start-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.start-hero-points span {
  padding: 10px 12px;
  color: #eff6ff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  font-size: 14px;
  font-weight: 850;
}

.start-offer-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 10px;
  width: min(520px, 100%);
  margin-top: 4px;
}

.start-offer-panel div,
.start-hero-board {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.start-offer-panel div {
  padding: 15px;
}

.start-offer-panel small,
.start-price-card small,
.start-board-head span,
.start-board-metrics small,
.start-board-list span {
  display: block;
  color: #aebdcb;
  font-size: 12px;
  font-weight: 880;
}

.start-offer-panel strong {
  display: block;
  margin-top: 4px;
  color: #89ff3f;
  font-size: 27px;
  line-height: 1;
}

.start-note {
  max-width: 620px;
  display: block;
  color: #bcc9d6;
  font-weight: 750;
  line-height: 1.45;
}

.start-hero-board {
  align-self: center;
  display: grid;
  gap: 14px;
  padding: 20px;
  color: #fff;
  backdrop-filter: blur(10px);
}

.start-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.start-board-head strong {
  color: #89ff3f;
  font-size: 18px;
}

.start-board-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.start-board-metrics div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
}

.start-board-metrics strong {
  color: #fff;
  font-size: 31px;
  line-height: 1;
}

.start-board-list {
  display: grid;
  gap: 10px;
}

.start-board-list div {
  display: grid;
  gap: 4px;
  padding: 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
}

.start-board-list strong {
  font-size: 16px;
}

.start-band {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  gap: 20px;
  margin: 34px auto 0;
}

.start-intro {
  grid-template-columns: .9fr 1.1fr;
  align-items: end;
  padding: 38px 0 8px;
}

.start-band h2,
.start-campaign-band h2,
.start-offer-section h2,
.start-faq h2,
.start-close h2 {
  margin: 10px 0 0;
  color: #101828;
  font-size: 42px;
  line-height: 1.04;
}

.start-band p,
.start-campaign-band p,
.start-offer-section p,
.start-close p {
  margin: 0;
  color: #607086;
  font-size: 19px;
  font-weight: 720;
}

.start-live-example {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 24px;
  align-items: center;
  margin: 30px auto 0;
  padding: 32px;
  border-radius: 8px;
  background: #101828;
  box-shadow: 0 18px 54px rgba(16, 24, 40, .12);
}

.start-live-copy h2 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: 40px;
  line-height: 1.04;
}

.start-live-copy p {
  margin: 0;
  color: #d8e3ef;
  font-size: 18px;
  font-weight: 710;
}

.start-live-shell {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  background: #f7faf8;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.start-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.start-live-head span,
.start-live-head small,
.start-live-kpis small,
.start-live-kpis span,
.start-live-card-head span,
.start-live-ranking small {
  color: #66758a;
  font-size: 12px;
  font-weight: 820;
}

.start-live-head strong {
  display: block;
  margin-top: 3px;
  color: #101828;
  font-size: 24px;
  line-height: 1;
}

.start-live-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.start-live-kpis div,
.start-live-card {
  border: 1px solid #dfe8e3;
  border-radius: 8px;
  background: #fff;
}

.start-live-kpis div {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 13px;
}

.start-live-kpis strong {
  color: #101828;
  font-size: 29px;
  line-height: 1;
}

.start-live-kpis span {
  line-height: 1.25;
}

.start-live-main {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 10px;
}

.start-live-card {
  padding: 15px;
}

.start-live-card-head {
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
}

.start-live-card-head strong {
  color: #101828;
  font-size: 19px;
}

.start-live-ranking {
  display: grid;
  gap: 9px;
}

.start-live-ranking div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  padding: 12px;
  border-radius: 8px;
  background: #f4f8f5;
}

.start-live-ranking span {
  color: #101828;
  font-weight: 880;
}

.start-live-ranking strong {
  color: #17462b;
  font-size: 14px;
}

.start-live-ranking small {
  grid-column: 1 / -1;
}

.start-live-ranking .needs-attention {
  background: #fff7ed;
}

.start-live-ranking .needs-attention strong {
  color: #b45309;
}

.start-live-action {
  display: grid;
  align-content: start;
  gap: 12px;
}

.start-live-action p {
  margin: 0;
  color: #405166;
  font-size: 15px;
  font-weight: 730;
  line-height: 1.48;
}

.start-live-action .primary-link {
  text-align: center;
}

.start-benefit-grid {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px auto 0;
}

.start-benefit-grid article,
.start-faq article {
  display: grid;
  gap: 10px;
  min-height: 184px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(16, 24, 40, .07);
}

.start-benefit-grid strong,
.start-faq strong {
  color: #101828;
  font-size: 22px;
  line-height: 1.1;
}

.start-benefit-grid span,
.start-faq span {
  color: #607086;
  font-weight: 720;
  line-height: 1.45;
}

.start-community-benefit {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin: 34px auto 0;
  padding: 30px 34px;
  color: #fff;
  border-radius: 8px;
  background: #183a2b;
  box-shadow: 0 18px 54px rgba(16, 24, 40, .12);
}

.start-community-benefit > img {
  width: 128px;
  height: 128px;
  object-fit: contain;
}

.start-community-copy h2 {
  margin: 13px 0 8px;
  color: #fff;
  font-size: 31px;
  line-height: 1.12;
}

.start-community-copy p {
  max-width: 740px;
  margin: 0;
  color: #dce9e0;
  line-height: 1.5;
}

.start-community-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.start-community-points span {
  padding: 7px 9px;
  color: #e8f6ec;
  border: 1px solid rgba(126, 232, 63, .28);
  border-radius: 6px;
  background: rgba(126, 232, 63, .08);
  font-size: 12px;
  font-weight: 820;
}

.start-community-copy > small {
  display: block;
  margin-top: 12px;
  color: #b9cbbf;
  font-size: 11px;
  font-weight: 750;
}

.start-community-benefit > .primary-link {
  min-width: 178px;
  text-align: center;
}

.start-campaign-band,
.start-offer-section {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr minmax(310px, 430px);
  gap: 28px;
  align-items: center;
  margin: 34px auto 0;
  padding: 34px;
  border-radius: 8px;
  background: #101828;
  box-shadow: 0 18px 54px rgba(16, 24, 40, .12);
}

.start-campaign-band h2,
.start-campaign-band p,
.start-offer-section h2,
.start-offer-section p {
  color: #fff;
}

.start-campaign-band p,
.start-offer-section p {
  color: #d8e3ef;
  margin-top: 10px;
}

.start-campaign-list {
  display: grid;
  gap: 10px;
}

.start-campaign-list div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.start-campaign-list strong {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #07111f;
  background: #89ff3f;
  font-size: 18px;
}

.start-campaign-list span {
  color: #eff6ff;
  font-weight: 820;
}

.start-proof-strip {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px auto 0;
}

.start-proof-strip div {
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  border: 1px solid #dfe8e3;
  border-radius: 8px;
  background: #fff;
}

.start-proof-strip strong {
  color: #17462b;
  font-size: 21px;
}

.start-proof-strip span {
  color: #607086;
  font-weight: 730;
  line-height: 1.42;
}

.start-offer-section {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  background:
    linear-gradient(135deg, #101828 0%, #102b35 100%);
}

.start-price-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  color: #101828;
  border-radius: 8px;
  background: #fff;
}

.start-price-card > strong {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  color: #101828;
  font-size: 43px;
  line-height: 1;
}

.start-price-card > strong span {
  padding-bottom: 5px;
  color: #607086;
  font-size: 17px;
}

.start-price-card p {
  color: #607086;
  font-size: 16px;
}

.start-price-card .primary-link {
  text-align: center;
}

.start-faq {
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 0;
}

.start-faq > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.start-faq article {
  min-height: 150px;
}

.start-close {
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 34px auto 0;
  padding: 34px;
  color: #fff;
  border-radius: 8px;
  background: #101828;
}

.start-close h2 {
  max-width: 760px;
  color: #fff;
}

.start-close p {
  max-width: 720px;
  margin-top: 10px;
  color: #d9e4ee;
}

.inline-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: #f6fbf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.inline-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #1ed760;
}

.inline-check span {
  font-weight: 800;
}

.inline-check a {
  color: #145c2c;
  font-weight: 950;
}

.legal-page .public-hero h1 {
  font-size: clamp(38px, 6vw, 62px);
}

.legal-content {
  display: grid;
  gap: 10px;
}

.legal-content h2 {
  margin: 18px 0 0;
  font-size: 24px;
}

.legal-content p {
  max-width: 920px;
  font-weight: 720;
}

.readiness-hero h2 {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 8px;
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.readiness-card {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 22px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.readiness-card span {
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 12px;
  text-transform: uppercase;
}

.readiness-card.ok span {
  color: #063b1e;
  background: #d9fbe5;
}

.readiness-card.warn span {
  color: #6a3b00;
  background: #fff0c2;
}

.readiness-card strong {
  font-size: 22px;
}

.readiness-card p {
  margin: 0;
  font-weight: 780;
}

.notice {
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 900;
}

.notice.ok {
  color: #064b25;
  background: #dcfce7;
  border-color: #b7f2c9;
}

.button,
.button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--dark);
  font-weight: 950;
  text-decoration: none;
}

.button.light,
button.secondary {
  color: var(--ink);
  background: #e8efe9;
}

.ml-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 26px;
  color: #fff;
  background: linear-gradient(135deg, #07111f, #14351c);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .1);
}

.ml-hero small,
.ml-hero span {
  display: block;
  color: #c8d7cb;
  font-weight: 850;
}

.ml-hero strong {
  display: block;
  margin: 4px 0 6px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
}

.ml-status {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 8px;
  min-width: 260px;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 950;
}

.pill.ok {
  color: #063b1e;
  background: #d9fbe5;
}

.pill.warn {
  color: #6a3b00;
  background: #fff0c2;
}

.ml-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 18px;
  margin-bottom: 18px;
}

.ml-card {
  display: grid;
  gap: 16px;
}

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

.card-head h2,
.ml-card h2 {
  margin-bottom: 4px;
}

.ml-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 800;
}

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

.button-row form,
.mini-actions {
  margin: 0;
}

.token-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #b7f2c9;
  border-radius: 8px;
  background: #efffec;
}

.token-box code {
  overflow-wrap: anywhere;
  color: #06110d;
  font-weight: 950;
}

.detail-list.compact {
  display: grid;
  gap: 8px;
}

.detail-list.compact div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.detail-list.compact span,
.muted-line,
.rule-card span,
.offer-card small {
  color: var(--muted);
  font-weight: 800;
}

.rules-grid,
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.rule-card,
.offer-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.rule-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.rule-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rule-card strong,
.offer-title {
  font-size: 18px;
  font-weight: 950;
}

.rule-card details,
.ml-extra-config {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.rule-card summary,
.ml-extra-config summary {
  cursor: pointer;
  color: #1f6c39;
  font-weight: 950;
}

.slim-form,
.compact-form {
  margin-top: 12px;
}

.ml-dispatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.ml-dispatch-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ml-dispatch-card strong,
.ml-dispatch-card span {
  display: block;
}

.ml-dispatch-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.ml-dispatch-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin: 0;
}

.offer-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

.offer-card img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.offer-card > div {
  display: grid;
  gap: 7px;
}

.mini-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-actions button {
  padding: 8px 10px;
}

.danger-lite {
  color: #991b1b;
  background: #fee2e2;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 18px;
  color: var(--muted);
  font-weight: 900;
}

.commerce-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(137,255,63,.16), transparent 44%),
    #07111f;
  border: 1px solid rgba(137,255,63,.22);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .14);
}

.commerce-hero small,
.commerce-hero span {
  display: block;
  color: #cbd5e1;
  font-weight: 900;
}

.commerce-hero strong {
  display: block;
  margin: 4px 0 8px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.commerce-safe-stack {
  min-width: 210px;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 9px;
}

.commerce-module-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.commerce-module-tabs a {
  width: auto;
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  color: #334155;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 900;
}

.commerce-module-tabs a.active {
  color: #fff;
  background: #101828;
}

.ml-connection-gate {
  min-height: 260px;
  display: grid;
  align-content: center;
}

.ml-connection-gate > div {
  max-width: 420px;
}

.commerce-kpis {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 18px;
}

.commerce-guide-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.commerce-readiness-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.commerce-step-card {
  align-content: start;
}

.commerce-step-card code {
  overflow-wrap: anywhere;
  color: #166534;
  font-size: 12px;
  font-weight: 950;
}

.commerce-api-guide {
  margin-top: 14px;
}

.commerce-api-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.commerce-api-code {
  white-space: pre-wrap;
  font-size: 13px;
}

.commerce-filter-form {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 16px;
}

.commerce-filter-primary {
  grid-template-columns: minmax(240px, 1fr) minmax(170px, .45fr) auto auto;
  align-items: end;
}

.commerce-extra-filters {
  grid-column: 1 / -1;
  padding-top: 4px;
}

.commerce-extra-filters summary {
  width: max-content;
  cursor: pointer;
  color: #166534;
  font-size: 13px;
  font-weight: 950;
}

.commerce-extra-filters .form-grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.commerce-offers-head .actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.commerce-category-chips,
.commerce-origin-row,
.commerce-price-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.commerce-category-chips {
  margin: 0 0 14px;
}

.commerce-batch-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.commerce-batch-bar select {
  min-width: 240px;
  flex: 1 1 240px;
}

.commerce-split {
  grid-template-columns: minmax(320px, .82fr) minmax(420px, 1.18fr);
  align-items: start;
}

.commerce-log-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.commerce-offer-grid {
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.commerce-offer-card {
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
}

.commerce-offer-card a {
  color: #166534;
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

/* Commerce: cards and agenda follow the operational WPP experience. */
.commerce-offer-grid {
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 14px;
}

.commerce-offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 13px;
  min-width: 0;
}

.commerce-offer-card > img,
.commerce-offer-card > .commerce-image-empty {
  width: 100%;
  height: 190px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
}

.commerce-offer-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.commerce-offer-card .offer-title {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.commerce-offer-card .commerce-card-select {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  width: auto;
  padding: 6px 9px;
  color: #101828;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #cad4df;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .12);
}

.commerce-offer-card .commerce-card-actions {
  margin-top: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.commerce-offer-card .commerce-card-actions form[action$="/agenda"] {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}

.commerce-offer-card .commerce-card-actions form[action$="/agenda"] select {
  width: 100%;
  min-width: 0;
}

.commerce-offer-card .commerce-card-actions form[action$="/agenda"] button {
  width: auto;
}

.commerce-offer-card .commerce-card-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #166534;
  font-size: 13px;
  text-decoration: none;
}

.commerce-offer-editor {
  max-width: 1180px;
  margin-inline: auto;
}

.commerce-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 24px;
  align-items: start;
}

.commerce-editor-preview {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.commerce-editor-preview > img,
.commerce-editor-preview > .commerce-image-empty {
  width: 100%;
  height: 240px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.commerce-editor-preview .preview-box {
  resize: vertical;
  background: #fff;
}

.commerce-destinations-panel {
  display: grid;
  gap: 16px;
}

.commerce-plan-gate,
.commerce-destination-add,
.commerce-limit-note {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid #d7e0db;
  border-radius: 8px;
  background: #f7faf8;
}

.commerce-plan-gate {
  align-items: center;
}

.commerce-plan-gate h3 {
  margin: 10px 0 4px;
  font-size: 20px;
}

.commerce-plan-gate p,
.commerce-limit-note span {
  margin: 0;
  color: #607086;
}

.commerce-destination-add > div {
  flex: 1;
  min-width: 0;
}

.commerce-limit-note {
  align-items: center;
  background: #fff8e8;
  border-color: #f2d89a;
}

.commerce-destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 12px;
}

.commerce-destination-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 15px;
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .05);
}

.commerce-destination-card.is-active {
  border-color: #77cf93;
  box-shadow: 0 0 0 2px rgba(30, 215, 96, .10), 0 10px 28px rgba(16, 24, 40, .05);
}

.commerce-destination-card.is-paused {
  opacity: .78;
}

.commerce-destination-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.commerce-destination-head h3 {
  margin: 9px 0 4px;
  font-size: 18px;
  line-height: 1.22;
}

.commerce-destination-head small {
  color: #6b788a;
  font-weight: 780;
}

.commerce-destination-queue {
  display: grid;
  min-width: 62px;
  justify-items: end;
  font-size: 30px;
  line-height: 1;
}

.commerce-destination-queue small {
  margin-top: 4px;
  color: #738095;
  font-size: 11px;
  text-transform: uppercase;
}

.commerce-destination-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.commerce-destination-rules > div {
  min-width: 0;
  padding: 10px;
  background: #f5f7f6;
  border: 1px solid #e4eae6;
  border-radius: 8px;
}

.commerce-destination-rules span,
.commerce-destination-categories span,
.commerce-destination-next span {
  display: block;
  color: #718095;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.commerce-destination-rules strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.commerce-destination-categories,
.commerce-destination-next {
  display: grid;
  gap: 4px;
  padding-top: 11px;
  border-top: 1px solid #e7ece9;
}

.commerce-destination-categories strong,
.commerce-destination-next strong {
  color: #253248;
  font-size: 14px;
}

.commerce-destination-editor {
  padding-top: 10px;
  border-top: 1px solid #e7ece9;
}

.commerce-destination-editor summary {
  cursor: pointer;
  color: #23683c;
  font-weight: 900;
}

.commerce-destination-editor form {
  margin-top: 14px;
}

.commerce-destination-switches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.commerce-category-picks {
  margin: 0;
  padding: 13px;
  border: 1px solid #dce5df;
  border-radius: 8px;
}

.commerce-category-picks legend {
  padding: 0 6px;
  color: #253248;
  font-weight: 900;
}

.commerce-category-picks p {
  margin: 0 0 10px;
  font-size: 13px;
}

.commerce-category-picks > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.commerce-category-picks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  padding: 7px 9px;
  color: #334155;
  background: #f4f7f5;
  border: 1px solid #dce5df;
  border-radius: 999px;
  font-size: 12px;
}

.commerce-category-picks input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.commerce-queue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(286px, 1fr));
  gap: 12px;
}

.commerce-queue-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}

.commerce-queue-tabs a {
  display: inline-flex;
  width: auto;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  color: #4b596e;
  background: #f4f7f5;
  border: 1px solid #dce5df;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.commerce-queue-tabs a.active {
  color: #fff;
  background: #101828;
  border-color: #101828;
}

.commerce-queue-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 11px;
  min-height: 164px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .05);
}

.commerce-queue-card.status-error {
  border-color: #efb6b6;
}

.commerce-queue-rank {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 9px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #fff;
  background: #101828;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.commerce-queue-card > img,
.commerce-queue-image-empty {
  width: 76px;
  height: 98px;
  object-fit: contain;
  align-self: start;
  background: #f6f8f7;
  border: 1px solid #e2e8e4;
  border-radius: 8px;
}

.commerce-queue-image-empty {
  display: grid;
  place-items: center;
  color: #7b8797;
  font-size: 11px;
  font-weight: 900;
}

.commerce-queue-copy {
  min-width: 0;
}

.commerce-queue-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.commerce-queue-top > strong {
  color: #101828;
  font-size: 13px;
}

.commerce-queue-copy h3 {
  display: -webkit-box;
  margin: 9px 0 5px;
  overflow: hidden;
  color: #101828;
  font-size: 15px;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.commerce-queue-copy p {
  margin: 0 0 8px;
  color: #6b788a;
  font-size: 13px;
}

.commerce-queue-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 7px;
  padding-top: 9px;
  border-top: 1px solid #e7ece9;
}

.commerce-queue-actions form {
  margin: 0;
}

@media (max-width: 700px) {
  .commerce-plan-gate,
  .commerce-destination-add,
  .commerce-limit-note {
    align-items: stretch;
    flex-direction: column;
  }

  .commerce-destination-grid,
  .commerce-queue-grid,
  .commerce-offer-grid {
    grid-template-columns: 1fr;
  }

  .commerce-filter-primary,
  .commerce-extra-filters .form-grid-three,
  .commerce-editor-layout {
    grid-template-columns: 1fr;
  }

  .commerce-filter-primary > button,
  .commerce-filter-primary > .button {
    width: 100%;
  }

  .commerce-category-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 7px;
    scrollbar-width: thin;
  }

  .commerce-category-chips .pill {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .commerce-destination-switches {
    grid-template-columns: 1fr;
  }
}

.commerce-card-select {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.commerce-card-select input {
  width: auto;
}

.commerce-image-empty {
  display: grid;
  width: 96px;
  aspect-ratio: 1;
  place-items: center;
  color: var(--muted);
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.commerce-price-line {
  margin: 6px 0;
}

.commerce-price-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-decoration: line-through;
}

.commerce-card-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.commerce-card-actions form,
.commerce-card-actions details {
  min-width: 0;
}

.commerce-card-actions form {
  display: grid;
  gap: 6px;
}

.commerce-card-actions select {
  min-width: 0;
  padding: 8px 9px;
  font-size: 12px;
}

.commerce-card-actions button,
.commerce-card-actions .button,
.commerce-card-actions summary {
  width: 100%;
  min-height: 38px;
  text-align: center;
}

.commerce-support-details {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.commerce-support-details summary {
  cursor: pointer;
  color: #166534;
  font-weight: 950;
}

.button.disabled {
  pointer-events: none;
  opacity: .55;
}

.commerce-edit-details {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.commerce-edit-details summary {
  cursor: pointer;
  color: #166534;
  font-weight: 950;
}

.commerce-edit-form textarea {
  min-height: 120px;
}

.preview-box {
  min-height: 126px;
  color: #182337;
  background: #f8fafc;
  font-size: 13px;
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.affiliate-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.affiliate-card textarea {
  min-height: 92px;
  font-size: 13px;
}

.affiliate-card-head,
.inline-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.inline-check {
  justify-content: flex-start;
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.inline-check input {
  width: auto;
}

.mini-actions input,
.mini-actions select {
  min-width: 160px;
  flex: 1 1 160px;
  padding: 8px 10px;
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
}

@media (max-width: 900px) {
  body.public-body { display: block; }
  .main { padding: 20px; }
  .metric-grid, .metric-grid.monitor-retention-grid, .operation-grid, .operation-split, .inline-form, .inline-form.three, .inline-form.four, .inline-form.five, .split, .form-grid-two, .ml-layout, .commerce-kpis, .commerce-split { grid-template-columns: 1fr; }
  .ml-hero, .card-head { flex-direction: column; }
  .commerce-hero { flex-direction: column; }
  .commerce-safe-stack { justify-items: start; min-width: 0; }
  .ml-status { justify-items: start; min-width: 0; }
  .monitor-hero, .section-head { flex-direction: column; }
  .operation-hero { align-items: flex-start; flex-direction: column; }
  .monitor-custom-form { grid-template-columns: 1fr; }
  .monitor-badge { width: 100%; }
  .hero-side-metrics { width: 100%; }
  .executive-hero > div:first-child strong { font-size: clamp(56px, 17vw, 88px); }
  .table-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .pix-grid { grid-template-columns: 1fr; }
  .public-hero, .public-contract-split, .public-steps, .number-connect-layout { grid-template-columns: 1fr; }
  .monitor-simple-head { align-items: stretch; }
  .monitor-simple-head .actions, .group-picker-summary { align-items: stretch; flex-direction: column; }
  .monitor-simple-head .actions form, .monitor-simple-head .actions button, .monitor-simple-head .actions a { width: 100%; }
  .admin-context-head { align-items: stretch; flex-direction: column; }
  .admin-context-head .primary-link { width: 100%; text-align: center; }
  .public-hero { padding: 24px; }
  .public-page { width: min(100% - 22px, 1180px); padding-top: 16px; }
  .number-status-panel h2 { font-size: clamp(34px, 12vw, 54px); }
  .qr-steps { padding-left: 20px; }
  .auto-reconnect-box { grid-template-columns: 1fr; }
  .qr-panel { min-height: 360px; }
  .pulse-alert-card {
    flex-direction: column;
    gap: 14px;
  }
  .pulse-alert-card > div,
  .pulse-alert-card form,
  .pulse-alert-card form button {
    width: 100%;
  }
}

/* User-facing comfort layer */
body {
  background: #f4f7f4;
  color: #101828;
}

.sidebar {
  background: #101828;
  position: sticky;
  top: 0;
  height: 100vh;
  gap: 12px;
  padding: 18px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #3b4b60 transparent;
}

.brand {
  min-height: 48px;
  justify-content: flex-start;
  padding: 0 8px;
  gap: 10px;
}

.brand-logo {
  width: 190px;
  box-shadow: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand strong {
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.sidebar-tenant-context {
  min-width: 0;
  display: grid;
  gap: 2px;
  margin: -5px 8px 2px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.sidebar-tenant-context span {
  color: #8092a7;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.sidebar-tenant-context strong {
  overflow: hidden;
  color: #e6edf5;
  font-size: 13px;
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-nav {
  display: grid;
  gap: 0;
}

.sidebar-nav .nav-group {
  display: grid;
  gap: 2px;
  padding: 4px 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.sidebar-nav .nav-group:last-child {
  border-bottom: 0;
}

.nav-section {
  display: block;
  margin: 8px 11px 4px;
  color: #8ea2b8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

nav a,
.logout button {
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 8px;
  color: #d7dee8;
  font-size: 13.5px;
  font-weight: 780;
}

nav a.active,
nav a:hover,
.logout button:hover {
  background: #223040;
  color: #fff;
}

nav a.nav-with-badge strong {
  color: #101828;
  background: #9df36a;
}

.sidebar-nav .nav-setup-pending {
  color: #fff;
  background: rgba(137, 255, 63, .1);
  border: 1px solid rgba(137, 255, 63, .2);
}

.sidebar-nav .nav-group-upgrades {
  padding-bottom: 12px;
}

.sidebar-nav .nav-group-upgrades .nav-section {
  color: #a9ff72;
}

.sidebar-nav .nav-group-upgrades a.nav-with-status small {
  color: #b8ff8a;
}

.sidebar-nav .nav-all-resources {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px 4px 1px;
  color: #09150d;
  background: #89ff3f;
  border: 1px solid #89ff3f;
  text-align: center;
}

.sidebar-nav .nav-all-resources:hover,
.sidebar-nav .nav-all-resources.active {
  color: #07110a;
  background: #a4ff6c;
}

.sidebar-nav .nav-group-admin {
  margin-top: 3px;
  border-top: 1px solid rgba(137, 255, 63, .18);
}

.main {
  padding: 32px;
}

.page-head {
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.eyebrow,
th,
.hero-chip,
.group-stats small,
.niche-label,
.hero-side-metrics span {
  letter-spacing: 0;
}

.eyebrow {
  color: #36714b;
  text-transform: none;
  font-size: 13px;
}

h1 {
  font-size: 34px;
  line-height: 1.08;
}

h2 {
  font-size: 21px;
  line-height: 1.18;
}

p,
.page-subtitle {
  color: #607086;
  font-weight: 650;
}

.hero-panel,
.panel,
.metric-card,
.session-card,
.table-card,
.group-card,
.niche-card,
.rule-card,
.offer-card,
.compact-group-card,
.pulse-alert-card {
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.hero-panel {
  align-items: center;
}

.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.metric-card {
  min-height: 132px;
}

.metric-card strong {
  font-size: 31px;
  line-height: 1.08;
}

.metric-card small,
label,
.detail-row span {
  color: #66758a;
  font-weight: 760;
}

button,
.primary-link,
.secondary-link,
.button,
.button:visited {
  min-height: 42px;
  font-weight: 850;
}

.primary-link {
  background: #1ed760;
}

.secondary-link,
.ghost,
.button.light,
button.secondary {
  background: #eef2f0;
}

.period-tabs a,
.group-filter-pills button {
  border-radius: 8px;
  font-weight: 800;
}

.period-tabs a.active,
.group-filter-pills button.active {
  background: #101828;
}

.operation-hero,
.monitor-hero,
.report-hero,
.ml-hero,
.commerce-hero {
  background: #101828;
  border-color: #23364a;
  box-shadow: 0 14px 40px rgba(16, 24, 40, .12);
}

.operation-hero.warn,
.operation-hero.danger {
  background: #101828;
}

.operation-hero strong {
  font-size: 48px;
  line-height: 1;
  text-transform: none;
}

.monitor-hero strong,
.executive-hero > div:first-child strong,
.commerce-hero strong,
.ml-hero strong,
.report-hero h2 {
  font-size: 50px;
  line-height: 1;
}

.hero-chip,
.pill,
.status-pill,
.sync-toast,
.niche-label {
  border-radius: 8px;
  text-transform: none;
}

a.pill,
.commerce-category-chips a {
  color: #17462b;
  text-decoration: none;
}

.commerce-category-chips a.pill:not(.ok) {
  background: #f3f6f4;
}

.commerce-category-chips a.pill:hover {
  background: #dff5e7;
}

.connection-page-head {
  align-items: end;
}

.connection-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 24px 26px;
  color: #fff;
  background: #101828;
  border: 1px solid #23364a;
  border-radius: 8px;
}

.connection-summary > div:first-child {
  display: grid;
  gap: 4px;
}

.connection-summary small,
.connection-summary span {
  color: #c9d4df;
  font-weight: 800;
}

.connection-summary strong {
  font-size: 28px;
  line-height: 1.15;
}

.connection-summary-states {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.connection-summary-states span {
  padding: 9px 12px;
  color: #dce4ec;
  background: #253348;
  border-radius: 8px;
}

.connection-summary-states span.ok {
  color: #0b3b1f;
  background: #bdf5cd;
}

.marketplace-extension-strip {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #cad8ce;
  border-left: 5px solid #36b75f;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.marketplace-extension-strip > img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.marketplace-extension-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.marketplace-extension-copy small {
  color: #248247;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.marketplace-extension-copy strong {
  color: #101828;
  font-size: 18px;
  line-height: 1.2;
}

.marketplace-extension-copy span {
  color: #5d697b;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.4;
}

.marketplace-extension-action {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.marketplace-extension-action > span {
  color: #39734d;
  font-size: 11px;
  font-weight: 900;
}

.marketplace-extension-action .button {
  min-width: 170px;
  text-align: center;
}

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

.connector-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.amazon-connector {
  grid-column: 1 / -1;
}

.amazon-connection-pane {
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.amazon-connection-pane:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.amazon-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.amazon-pane-head > div {
  display: grid;
  gap: 2px;
}

.amazon-pane-head small {
  color: #9a5a00;
  font-weight: 900;
  text-transform: uppercase;
}

.amazon-pane-head strong {
  color: #101828;
  font-size: 18px;
}

.amazon-connection-pane .connector-form {
  width: min(100%, 760px);
}

.amazon-finance-pane {
  margin-top: 4px;
}

.connector-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.connector-head h2,
.connector-head p {
  margin: 0;
}

.connector-head p {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 750;
}

.connector-brand {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 950;
}

.ml-brand {
  color: #3b3200;
  background: #ffe600;
}

.shopee-brand {
  color: #fff;
  background: #ee4d2d;
}

.amazon-brand {
  color: #111820;
  background: #ffb11b;
  font-family: Georgia, serif;
  font-size: 27px;
  font-style: italic;
}

.amazon-connect-intro {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  color: #172033;
  background: #fff7e6;
  border-left: 4px solid #ff9900;
}

.amazon-connect-intro p,
.amazon-session-note {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.connector-success {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  color: #14532d;
  background: #ecfdf3;
  border-left: 4px solid #22c55e;
}

.connector-success span {
  color: #4b6958;
  font-weight: 750;
}

.ml-store-callout {
  display: grid;
  gap: 7px;
  padding: 18px;
  color: #fff;
  background: #101828;
  border-left: 5px solid #ffe600;
}

.ml-store-callout > span {
  color: #ffe600;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.ml-store-callout > strong {
  font-size: 20px;
  line-height: 1.2;
}

.ml-store-callout > p,
.ml-store-callout > small {
  margin: 0;
  color: #d0d9e5;
  font-weight: 720;
  line-height: 1.45;
}

.ml-store-callout .ml-store-button {
  width: 100%;
  min-height: 48px;
  margin-top: 5px;
  color: #101828;
  background: #ffe600;
  text-align: center;
}

.ml-store-callout .ml-store-button:hover {
  color: #101828;
  background: #ffed47;
}

.connector-store-link {
  color: #176b2b;
  font-size: 13px;
  font-weight: 850;
}

.ml-connection-actions > * {
  flex: 1 1 210px;
}

.ml-connection-actions .button,
.ml-connection-actions button {
  width: 100%;
  min-height: 46px;
  text-align: center;
}

.connector-steps {
  display: grid;
  gap: 10px;
}

.connector-steps > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 38px;
}

.connector-steps b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #344054;
  background: #edf1f0;
  border-radius: 8px;
}

.connector-steps span {
  color: #475467;
  font-weight: 800;
}

.pairing-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  padding: 18px;
  color: #fff;
  background: #101828;
  border-radius: 8px;
}

.pairing-box[hidden] {
  display: none;
}

.pairing-box small,
.pairing-box span {
  color: #c9d4df;
  font-weight: 800;
}

.pairing-box strong {
  grid-column: 1;
  font-size: 32px;
  letter-spacing: 0;
}

.pairing-box button {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
}

.pairing-box .pairing-next {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding-top: 12px;
  color: #dbe5ee;
  border-top: 1px solid #314157;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.5;
}

.pairing-box .pairing-next b {
  color: #fff;
}

.connector-error {
  padding: 12px 14px;
  color: #8a1c1c;
  background: #fff1f1;
  border-left: 4px solid #ef4444;
  font-weight: 800;
}

.connector-error[hidden] {
  display: none;
}

.connector-form label span {
  color: var(--muted);
  font-weight: 700;
}

.shopee-setup-guide {
  display: grid;
  border-top: 1px solid var(--line);
}

.shopee-guide-title {
  display: grid;
  gap: 2px;
  padding: 16px 0 12px;
}

.shopee-guide-title small {
  color: #c2410c;
  font-weight: 900;
  text-transform: uppercase;
}

.shopee-guide-title strong {
  color: #101828;
  font-size: 18px;
}

.shopee-guide-option {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.shopee-guide-option > b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 8px;
}

.shopee-guide-option > div {
  min-width: 0;
}

.shopee-guide-option strong,
.shopee-guide-option p {
  margin: 0;
}

.shopee-guide-option p {
  margin-top: 4px;
  color: #667085;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
}

.shopee-guide-option .button {
  white-space: nowrap;
}

.shopee-guide-finish {
  padding: 15px 16px;
  color: #344054;
  background: #f8faf9;
  border-left: 4px solid #ee4d2d;
}

.shopee-guide-finish ol {
  display: grid;
  gap: 5px;
  margin: 8px 0;
  padding-left: 20px;
  font-weight: 750;
}

.shopee-guide-finish p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.connector-test-form {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.connector-inline,
.generated-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.connector-inline button,
.generated-link .button {
  white-space: nowrap;
}

.connector-help,
.connector-danger {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.connector-help summary,
.connector-danger summary {
  cursor: pointer;
  color: #475467;
  font-weight: 850;
}

.connector-help ol {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
  padding-left: 22px;
  color: #667085;
  font-weight: 750;
}

.connector-danger form {
  margin-top: 12px;
}

.connector-doc-link {
  color: #344054;
  font-weight: 850;
}

.connector-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.ml-guide-jump {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #b9dec5;
  border-radius: 6px;
  color: #17462b;
  background: #effaf2;
  font-weight: 900;
  text-decoration: none;
}

.ml-guide-jump:hover,
.ml-guide-jump:focus-visible {
  border-color: #34a853;
  color: #0e6a2d;
  outline: none;
}

.ml-visual-guide {
  margin-top: 34px;
  scroll-margin-top: 24px;
}

.ml-visual-guide-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  align-items: end;
  gap: 28px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.ml-visual-guide-head h2,
.ml-visual-guide-head p {
  margin: 0;
}

.ml-visual-guide-head h2 {
  margin-top: 4px;
  font-size: 32px;
  line-height: 1.12;
}

.ml-visual-guide-head p {
  max-width: 720px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.ml-guide-device-note {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border-left: 4px solid #89ff3f;
  color: #fff;
  background: #101828;
}

.ml-guide-device-note span {
  color: #c9d4df;
  font-weight: 750;
}

.ml-guide-list {
  display: grid;
}

.ml-guide-step {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(340px, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.ml-guide-action {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 22px;
  color: #101828;
  background: #f4f7f5;
  border-left: 5px solid #ffe600;
}

.ml-guide-action > span {
  color: #667085;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.ml-guide-action > strong {
  font-size: 19px;
  line-height: 1.25;
}

.ml-guide-action > small {
  color: #5d6b7e;
  font-weight: 720;
  line-height: 1.45;
}

.ml-guide-action .button {
  width: fit-content;
  min-height: 44px;
  margin-top: 4px;
}

.ml-guide-action.success {
  border-left-color: #22c55e;
  background: #effaf2;
}

.ml-guide-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 7px;
}

.ml-guide-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 8px;
  color: #fff;
  background: #101828;
  font-size: 17px;
}

.ml-guide-copy small {
  color: #16853d;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ml-guide-copy h3,
.ml-guide-copy p {
  margin: 0;
}

.ml-guide-copy h3 {
  color: #182230;
  font-size: 23px;
  line-height: 1.15;
}

.ml-guide-copy p {
  color: #5d6b7e;
  font-weight: 720;
  line-height: 1.55;
}

.ml-guide-copy code {
  overflow-wrap: anywhere;
  color: #24364c;
  font-size: .9em;
}

.ml-guide-copy .ml-guide-check {
  margin-top: 5px;
  padding-left: 12px;
  border-left: 3px solid #58c878;
  color: #315b3d;
  font-weight: 850;
}

.ml-folder-choice {
  width: 100%;
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

.ml-folder-choice > div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 6px;
}

.ml-folder-choice > div.zip {
  border: 1px solid #efc6c6;
  background: #fff4f4;
}

.ml-folder-choice > div.folder {
  border: 2px solid #55bb72;
  background: #effaf2;
}

.ml-folder-choice span {
  color: #8b2d2d;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.ml-folder-choice .folder span {
  color: #16743a;
}

.ml-folder-choice strong,
.ml-folder-choice small {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.ml-folder-choice strong {
  color: #263344;
  font-size: 13px;
}

.ml-folder-choice small {
  color: #6e7988;
  font-size: 12px;
  font-weight: 750;
  text-transform: none;
}

.ml-folder-choice > i {
  justify-self: center;
  padding: 3px 8px;
  border-radius: 6px;
  color: #5f6d7e;
  background: #edf1f0;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.ml-guide-step figure {
  min-width: 0;
  display: grid;
  justify-items: start;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #dce5e0;
  border-radius: 8px;
  background: #f4f7f5;
}

.ml-guide-step figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid #dce4df;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .09);
}

.ml-guide-step figure.wide img {
  width: 100%;
}

.ml-guide-step figure.compact {
  justify-items: center;
}

.ml-addon-screens {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.ml-guide-step figcaption {
  width: 100%;
  margin-top: 9px;
  color: #526176;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.4;
}

.ml-guide-step figcaption strong {
  color: #16853d;
}

.ml-guide-alert {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid #f4b740;
  background: #fff8e8;
}

.ml-guide-alert > b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #6f4600;
  background: #ffd77b;
  font-size: 20px;
}

.ml-guide-alert strong,
.ml-guide-alert p {
  display: block;
  margin: 0;
}

.ml-guide-alert p {
  margin-top: 3px;
  color: #715923;
  font-weight: 750;
}

@media (max-width: 980px) {
  .connector-grid {
    grid-template-columns: 1fr;
  }

  .ml-guide-step {
    grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 640px) {
  .connection-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .connection-summary-states {
    justify-content: flex-start;
  }

  .marketplace-extension-strip {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    padding: 15px;
  }

  .marketplace-extension-strip > img {
    width: 42px;
    height: 42px;
  }

  .marketplace-extension-action {
    grid-column: 1 / -1;
    width: 100%;
    justify-items: stretch;
  }

  .marketplace-extension-action > span {
    text-align: center;
  }

  .marketplace-extension-action .button {
    width: 100%;
  }

  .connector-head {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .connector-head .status-pill {
    grid-column: 1 / -1;
  }

  .amazon-pane-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pairing-box,
  .connector-inline,
  .generated-link {
    grid-template-columns: 1fr;
  }

  .pairing-box button {
    grid-column: 1;
    grid-row: auto;
  }

  .shopee-guide-option {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .shopee-guide-option .button {
    grid-column: 2;
    justify-self: start;
  }

  .ml-visual-guide {
    margin-top: 28px;
    scroll-margin-top: 72px;
  }

  .ml-visual-guide-head,
  .ml-guide-step {
    grid-template-columns: 1fr;
  }

  .ml-visual-guide-head {
    align-items: stretch;
    gap: 18px;
  }

  .ml-visual-guide-head h2 {
    font-size: 27px;
  }

  .ml-guide-step {
    gap: 18px;
    padding: 26px 0;
  }

  .ml-guide-copy h3 {
    font-size: 21px;
  }

  .ml-guide-step figure {
    width: 100%;
    justify-items: center;
    padding: 8px;
  }

  .ml-guide-action {
    padding: 18px;
  }

  .ml-guide-action .button {
    width: 100%;
    text-align: center;
  }

  .ml-guide-alert {
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: start;
    padding: 16px;
  }

  .ml-guide-alert > b {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }
}

table {
  min-width: 680px;
}

th {
  color: #6d7c91;
  text-transform: none;
  font-size: 13px;
}

td {
  color: #243245;
}

.table-head p,
.card-head p,
.section-head p {
  max-width: 760px;
}

.customer-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.customer-focus-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.customer-focus-card strong {
  font-size: 19px;
}

.customer-focus-card span {
  color: #607086;
  font-weight: 720;
  line-height: 1.4;
}

.admin-advanced {
  border-style: dashed;
  background: #fbfcfd;
}

.admin-advanced > summary,
.user-details > summary {
  cursor: pointer;
  color: #255e3a;
  font-weight: 900;
}

.soft-divider {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.commerce-safe-stack.is-admin-only,
.technical-only {
  font-size: 13px;
}

.friendly-empty {
  display: grid;
  gap: 8px;
  justify-items: start;
}

@media (max-width: 900px) and (hover: none) and (pointer: coarse) {
  body {
    display: block;
    width: 100%;
    overflow-x: hidden;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open .mobile-menu-toggle {
    right: 14px;
    left: auto;
    border-color: rgba(255, 255, 255, .18);
  }

  .mobile-menu-toggle {
    position: fixed;
    top: max(14px, env(safe-area-inset-top, 0px));
    left: 14px;
    z-index: 1200;
    width: 46px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    color: #fff;
    background: #07111f;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .22);
    font-size: 21px;
    line-height: 1;
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    display: block;
    pointer-events: none;
    opacity: 0;
    background: rgba(15, 23, 42, .42);
    transition: opacity .22s ease;
  }

  body.mobile-menu-open .mobile-menu-backdrop {
    pointer-events: auto;
    opacity: 1;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    width: min(82vw, 286px);
    height: 100dvh;
    min-height: 100dvh;
    gap: 14px;
    padding: 18px 14px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 16px 0 44px rgba(15, 23, 42, .18);
    transform: translateX(-105%);
    transition: transform .24s ease;
  }

  body.mobile-menu-open .sidebar {
    transform: translateX(0);
  }

  nav {
    display: grid;
    gap: 4px;
    max-width: none;
    min-width: 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav-section {
    display: block;
  }

  nav a,
  .logout button {
    width: 100%;
    white-space: normal;
  }

  .logout {
    margin-top: 0;
  }

  .logout button {
    min-height: 38px;
    padding: 9px 12px;
  }

  .brand {
    min-height: 52px;
    padding: 0 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: calc(68px + env(safe-area-inset-top, 0px)) 18px 24px;
  }

  .start-campaign-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: end;
    padding: 56px 16px 26px;
    background:
      linear-gradient(180deg, rgba(7, 17, 31, .72) 0%, rgba(7, 17, 31, .95) 48%, rgba(7, 17, 31, 1) 100%),
      url("/static/brand/pulse-start-hero.png") center / cover no-repeat,
      #07111f;
  }

  .start-hero-content {
    gap: 12px;
  }

  .start-hero h1 {
    font-size: 43px;
    line-height: .94;
  }

  .start-hero p {
    font-size: 16px;
  }

  .start-hero .public-brand {
    margin-bottom: 4px;
  }

  .start-hero .public-brand img {
    width: 42px;
    height: 42px;
  }

  .start-hero .public-brand strong {
    font-size: 24px;
  }

  .start-hero-points {
    gap: 7px;
  }

  .start-hero-points span {
    padding: 8px 10px;
    font-size: 13px;
  }

  .start-offer-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .start-offer-panel div {
    min-width: 0;
    padding: 10px;
  }

  .start-offer-panel strong {
    font-size: 20px;
  }

  .start-hero-board {
    padding: 14px;
  }

  .start-board-metrics {
    grid-template-columns: 1fr;
  }

  .start-board-metrics div {
    min-height: 76px;
  }

  .start-hero .public-actions {
    margin-top: 6px;
  }

  .start-intro {
    grid-template-columns: 1fr;
    padding: 26px 0 8px;
  }

  .start-band h2,
  .start-live-copy h2,
  .start-campaign-band h2,
  .start-offer-section h2,
  .start-faq h2,
  .start-close h2 {
    font-size: 31px;
  }

  .start-band p,
  .start-live-copy p,
  .start-campaign-band p,
  .start-offer-section p,
  .start-close p {
    font-size: 16px;
  }

  .start-live-example {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .start-live-shell {
    padding: 12px;
  }

  .start-live-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .start-live-kpis,
  .start-live-main {
    grid-template-columns: 1fr;
  }

  .start-live-kpis div {
    min-height: 84px;
  }

  .start-live-ranking div {
    grid-template-columns: 1fr;
  }

  .start-benefit-grid,
  .start-proof-strip,
  .start-faq > div {
    grid-template-columns: 1fr;
  }

  .start-benefit-grid article,
  .start-faq article {
    min-height: 0;
  }

  .start-community-benefit {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }

  .start-community-benefit > img {
    width: 72px;
    height: 72px;
  }

  .start-community-copy h2 {
    font-size: 27px;
  }

  .start-community-benefit > .primary-link {
    width: 100%;
  }

  .start-campaign-band,
  .start-offer-section {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .start-campaign-list div {
    align-items: start;
  }

  .start-price-card > strong {
    font-size: 34px;
  }

  .start-close {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .start-close .primary-link {
    width: 100%;
  }

  .metric-grid,
  .commerce-kpis,
  .customer-focus-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 30px;
  }

  .operation-hero strong,
  .monitor-hero strong,
  .executive-hero > div:first-child strong,
  .commerce-hero strong,
  .ml-hero strong,
  .report-hero h2 {
    font-size: 40px;
  }

  .hero-panel,
  .report-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .metric-card {
    min-height: 0;
  }
}

/* Financeiro */
.finance-page-head {
  align-items: end;
}

.main,
.finance-chart-panel,
.finance-chart-scroll,
.finance-two-column,
.finance-two-column > *,
.finance-sales-panel,
.finance-sales-panel .table-wrap {
  min-width: 0;
  max-width: 100%;
}

.finance-tenant-picker {
  grid-template-columns: minmax(230px, 320px);
  gap: 6px;
}

.finance-filter-panel {
  display: grid;
  gap: 18px;
}

.finance-filter-panel .period-tabs a {
  width: auto;
}

.finance-filter-top,
.finance-filter-actions,
.finance-source-row,
.finance-mobile-sale-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.finance-period-label {
  color: #475467;
  font-weight: 850;
  white-space: nowrap;
}

.finance-status-filter {
  display: flex;
  align-items: center;
  gap: 14px;
}

.finance-status-filter .period-tabs {
  display: inline-flex;
}

.finance-status-filter > span {
  color: #475467;
  font-size: 13px;
  font-weight: 850;
}

.finance-custom-filter {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(150px, 1fr) minmax(150px, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.finance-filter-actions {
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.finance-filter-actions form {
  margin: 0;
}

.finance-sync-notice[hidden] {
  display: none;
}

.finance-connect-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #f1f8f2;
  border-color: #b9ddc0;
}

.finance-connect-notice > div {
  display: grid;
  gap: 4px;
}

.finance-connect-notice span {
  color: #53635a;
  font-weight: 750;
  line-height: 1.45;
}

.finance-connect-notice .button {
  flex: 0 0 auto;
}

.finance-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(440px, 1fr);
  gap: 26px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 28px;
  color: #fff;
  background: #101828;
  border: 1px solid #24374d;
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(16, 24, 40, .12);
}

@media (max-width: 720px) {
  .finance-connect-notice {
    align-items: stretch;
    flex-direction: column;
  }
}

.finance-hero-primary {
  display: grid;
  align-content: center;
  min-width: 0;
}

.finance-hero-primary small {
  color: #9df36a;
  font-weight: 900;
  text-transform: uppercase;
}

.finance-hero-primary > strong {
  margin: 8px 0;
  font-size: 52px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.finance-hero-primary > span {
  color: #c9d4df;
  font-weight: 800;
}

.finance-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #304157;
  border-radius: 8px;
}

.finance-hero-metrics div {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 18px;
  border-left: 1px solid #304157;
}

.finance-hero-metrics div:first-child {
  border-left: 0;
}

.finance-hero-metrics span {
  color: #aebdca;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.finance-hero-metrics strong {
  margin-top: 7px;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.finance-kpis {
  margin-bottom: 18px;
}

.finance-date-kpi {
  font-size: 20px !important;
  line-height: 1.25 !important;
}

.finance-chart-panel {
  overflow: hidden;
}

.finance-chart-scroll {
  width: 100%;
  padding: 10px 0 2px;
  overflow-x: auto;
}

.finance-chart {
  display: grid;
  grid-template-columns: repeat(var(--finance-days), minmax(58px, 1fr));
  gap: 8px;
  min-width: max(100%, calc(var(--finance-days) * 66px));
  height: 286px;
  padding: 0 4px;
}

.finance-chart-day {
  display: grid;
  grid-template-rows: 34px 1fr 24px;
  gap: 6px;
  min-width: 0;
  text-align: center;
}

.finance-chart-day > span {
  align-self: end;
  color: #344054;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.finance-chart-day > small {
  color: #667085;
  font-size: 11px;
  font-weight: 850;
}

.finance-bar-track {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  border-bottom: 1px solid #d8e1dc;
  background: #fafcfb;
}

.finance-bar-track i {
  display: block;
  width: min(32px, 68%);
  min-height: 0;
  background: #55dc4f;
  border-radius: 4px 4px 0 0;
}

.finance-empty {
  display: grid;
  gap: 5px;
  justify-items: start;
  padding: 28px 0 10px;
}

.finance-empty strong {
  font-size: 18px;
}

.finance-empty span {
  color: var(--muted);
  font-weight: 750;
}

.finance-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.finance-channel-list,
.finance-product-list,
.finance-source-list {
  display: grid;
}

.finance-channel-row,
.finance-product-row,
.finance-source-row {
  border-top: 1px solid var(--line);
}

.finance-channel-row:first-child,
.finance-product-row:first-child,
.finance-source-row:first-child {
  border-top: 0;
}

.finance-channel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  padding: 14px 0;
}

.finance-channel-row > div:first-child,
.finance-channel-value {
  display: grid;
  gap: 3px;
}

.finance-channel-row span {
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.finance-channel-value {
  justify-items: end;
}

.finance-channel-track {
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
  background: #e8eeea;
  border-radius: 4px;
}

.finance-channel-track i {
  display: block;
  height: 100%;
  background: #3fcf55;
  border-radius: inherit;
}

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

.finance-product-row img,
.finance-table-product img,
.finance-product-placeholder {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: #f4f7f4;
}

.finance-product-placeholder {
  display: grid;
  place-items: center;
  color: #435267;
  font-size: 12px;
  font-weight: 950;
}

.finance-product-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.finance-product-row a,
.finance-table-product a {
  color: #172033;
  font-weight: 850;
  text-decoration: none;
}

.finance-product-row a,
.finance-product-row > div > strong {
  overflow-wrap: anywhere;
}

.finance-product-row span {
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.finance-product-row > strong {
  white-space: nowrap;
}

.finance-source-row {
  padding: 16px 0;
}

.finance-source-row > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.finance-source-row > div:first-child span {
  color: #667085;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.finance-source-row > div:last-child {
  display: grid;
  gap: 6px;
  justify-items: end;
  flex: 0 0 auto;
}

.finance-source-row small {
  color: #667085;
  font-weight: 750;
}

.finance-sales-table {
  min-width: 1120px;
}

.finance-sales-table th:nth-last-child(-n+3),
.finance-sales-table td:nth-last-child(-n+3) {
  text-align: right;
}

.finance-table-product {
  display: grid;
  grid-template-columns: auto minmax(190px, 1fr);
  gap: 10px;
  align-items: center;
  max-width: 360px;
}

.finance-table-product img {
  width: 38px;
  height: 38px;
}

.finance-table-product strong,
.finance-table-product a {
  display: block;
  overflow-wrap: anywhere;
}

.finance-order-id {
  display: block;
  max-width: 180px;
  color: #475467;
  font-size: 12px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.finance-mobile-sales {
  display: none;
}

.finance-disclaimer {
  margin: 2px 0 0;
  color: #667085;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.finance-connection-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 15, 22, 0.68);
  backdrop-filter: blur(3px);
}

.finance-connection-overlay[hidden] {
  display: none;
}

.finance-connection-dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid #dce4df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 15, 22, 0.3);
}

.finance-connection-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef3f0;
  color: #142018;
  font-size: 24px;
  line-height: 1;
}

.finance-connection-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: #ddfbd8;
  color: #186d27;
  font-size: 24px;
  font-weight: 800;
}

.finance-connection-dialog small {
  color: #23852f;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.finance-connection-dialog h2 {
  margin: 5px 42px 8px 0;
  font-size: 24px;
}

.finance-connection-dialog p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.finance-connection-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.finance-connection-actions .button,
.finance-connection-actions button {
  justify-content: center;
  min-height: 42px;
}

@media (max-width: 1100px) {
  .finance-hero {
    grid-template-columns: 1fr;
  }

  .finance-two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .finance-connection-dialog {
    padding: 24px 20px 20px;
  }

  .finance-connection-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .finance-filter-top,
  .finance-filter-actions,
  .finance-source-row {
    align-items: stretch;
    flex-direction: column;
  }

  .finance-period-label {
    white-space: normal;
  }

  .finance-status-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .finance-custom-filter {
    grid-template-columns: 1fr;
  }

  .finance-filter-actions form,
  .finance-filter-actions button,
  .finance-filter-actions .button {
    width: 100%;
    text-align: center;
  }

  .finance-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .finance-hero-primary > strong {
    font-size: 40px;
  }

  .finance-hero-metrics {
    grid-template-columns: 1fr;
  }

  .finance-hero-metrics div {
    border-top: 1px solid #304157;
    border-left: 0;
  }

  .finance-hero-metrics div:first-child {
    border-top: 0;
  }

  .finance-chart {
    grid-template-columns: repeat(var(--finance-days), 58px);
    min-width: calc(var(--finance-days) * 66px);
  }

  .finance-channel-row {
    grid-template-columns: 1fr auto;
  }

  .finance-product-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .finance-product-row > strong {
    grid-column: 2;
  }

  .finance-source-row > div:last-child {
    justify-items: start;
  }

  .finance-desktop-sales {
    display: none;
  }

  .finance-mobile-sales {
    display: grid;
    gap: 10px;
  }

  .finance-mobile-sale {
    display: grid;
    gap: 7px;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .finance-mobile-sale > span,
  .finance-mobile-sale > small,
  .finance-mobile-sale-head > span:first-child {
    color: #667085;
    font-weight: 750;
  }

  .finance-mobile-sale > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .finance-mobile-sale > div:last-child span,
  .finance-mobile-sale > div:last-child strong {
    display: block;
  }

  .finance-mobile-sale > div:last-child span {
    color: #667085;
    font-size: 11px;
    font-weight: 800;
  }

  .finance-mobile-sale > div:last-child strong {
    margin-top: 3px;
    color: #101828;
    font-size: 15px;
  }
}

.commerce-setup-progress {
  margin-bottom: 14px;
}

.commerce-setup-prerequisites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.commerce-setup-prerequisites article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #e0a12c;
  border-radius: 8px;
}

.commerce-setup-prerequisites article.ready {
  border-left-color: var(--ok);
}

.commerce-setup-prerequisites article > div,
.commerce-hunter-group-summary,
.commerce-setup-offer-samples article > div,
.commerce-monitor-captures article > div {
  display: grid;
  gap: 4px;
}

.commerce-setup-prerequisites small,
.commerce-hunter-group-summary small,
.commerce-setup-offer-samples small,
.commerce-monitor-captures small {
  color: var(--muted);
  font-weight: 750;
}

.commerce-setup-prerequisites a {
  color: #176b37;
  font-size: 13px;
  font-weight: 900;
}

.commerce-step-locked {
  color: #8a641d;
  font-size: 13px;
  font-weight: 850;
}

.commerce-setup-complete,
.commerce-setup-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 20px 22px;
  color: #fff;
  background: #101828;
  border-left: 5px solid var(--brand);
  border-radius: 8px;
}

.commerce-setup-complete > div:first-child,
.commerce-setup-next > div:first-child {
  display: grid;
  gap: 5px;
}

.commerce-setup-complete small,
.commerce-setup-next small {
  color: #cbd5e1;
  font-weight: 750;
}

.commerce-hunter-group-config {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #f7faf8;
  border: 1px solid #dce5df;
  border-radius: 8px;
}

.commerce-hunter-mode-fields[hidden],
.commerce-platform-picks[hidden] {
  display: none;
}

.commerce-hunter-mode-fields {
  padding: 14px;
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 6px;
}

.commerce-hunter-group-summary strong {
  color: #172333;
  font-size: 17px;
}

.commerce-hunter-group-config details {
  padding-top: 12px;
  border-top: 1px solid #dfe7e2;
}

.commerce-hunter-group-config summary {
  color: #176b37;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.commerce-hunter-group-config details > div {
  margin-top: 14px;
}

.commerce-setup-review-metrics {
  margin: 16px 0;
}

.commerce-setup-offer-samples,
.commerce-monitor-captures {
  display: grid;
}

.commerce-setup-offer-samples > article,
.commerce-monitor-captures > article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.commerce-setup-offer-samples > article:last-child,
.commerce-monitor-captures > article:last-child {
  border-bottom: 0;
}

.commerce-setup-offer-samples img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.commerce-activation-summary,
.commerce-monitor-source-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0 22px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.commerce-activation-summary > div,
.commerce-monitor-source-summary > div {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 104px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.commerce-activation-summary span,
.commerce-monitor-source-summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.commerce-activation-summary small,
.commerce-monitor-source-summary small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .commerce-setup-prerequisites,
  .commerce-activation-summary,
  .commerce-monitor-source-summary {
    grid-template-columns: 1fr;
  }

  .commerce-setup-prerequisites article {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .commerce-setup-complete,
  .commerce-setup-next {
    align-items: stretch;
    flex-direction: column;
  }

  .commerce-setup-complete .button-row,
  .commerce-setup-complete .button,
  .commerce-setup-next .button {
    width: 100%;
  }

  .commerce-setup-offer-samples > article,
  .commerce-monitor-captures > article {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .commerce-setup-offer-samples img {
    grid-row: 1 / 3;
  }
}

/* Commerce setup: contextual help, on-demand group search and mobile-safe review. */
.config-info {
  position: relative;
  z-index: 5;
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-left: 3px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #667085;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: help;
  vertical-align: -3px;
}

.config-info img {
  display: block;
  width: 17px;
  height: 17px;
  opacity: .82;
}

.config-info:hover,
.config-info:focus-visible {
  color: #176b37;
  outline: none;
}

.config-info:hover img,
.config-info:focus-visible img {
  opacity: 1;
}

button.config-info > .config-info-tooltip {
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 9px);
  left: 50%;
  display: none;
  width: min(280px, 72vw);
  padding: 10px 12px;
  color: #fff;
  background: #101828;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .24);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
  transform: translateX(-50%);
  pointer-events: none;
}

button.config-info > .config-info-tooltip::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #101828;
  content: "";
  transform: translateX(-50%);
}

button.config-info:hover > .config-info-tooltip,
button.config-info:focus-visible > .config-info-tooltip {
  display: block;
}

.commerce-field-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  color: #744b0d;
  background: #fff8e8;
  border-left: 4px solid #e0a12c;
  font-size: 13px;
  font-weight: 800;
}

.commerce-field-help a {
  flex: 0 0 auto;
  color: #166534;
  font-weight: 950;
}

.commerce-source-hunter {
  order: 1;
}

.commerce-source-monitor {
  order: 2;
}

.commerce-source-journey > .commerce-wizard-actions {
  order: 3;
}

.commerce-monitoring-tip {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  color: #344054;
  background: #f5f8f6;
  border-left: 4px solid #29a95d;
}

.commerce-monitoring-tip strong {
  color: #172333;
  font-size: 13px;
}

.commerce-monitoring-tip span,
.commerce-source-search-status {
  color: #667085;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.commerce-selected-sources {
  display: grid;
  gap: 8px;
}

.commerce-selected-sources > span {
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}

.commerce-source-search > span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.commerce-review-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.commerce-review-summary > div {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 4px;
  padding: 14px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.commerce-review-summary span {
  color: #667085;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.commerce-review-summary strong {
  overflow-wrap: anywhere;
  color: #172333;
  font-size: 14px;
}

.commerce-review-summary small {
  color: #667085;
  font-size: 11px;
}

.commerce-review-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 13px 15px;
  color: #526174;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-top: 0;
  font-size: 12px;
  font-weight: 800;
}

.commerce-review-counts strong {
  margin-right: 3px;
  color: #172333;
  font-size: 16px;
}

.commerce-review-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.commerce-review-list-head > div {
  display: grid;
  gap: 3px;
}

.commerce-review-list-head small {
  color: #667085;
  font-weight: 750;
}

.commerce-review-list-head a {
  color: #176b37;
  font-size: 12px;
  font-weight: 950;
}

.commerce-setup-offer-samples > article {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  min-width: 0;
  gap: 13px;
}

.commerce-setup-offer-samples img,
.commerce-review-image-empty {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.commerce-review-image-empty {
  display: grid;
  place-items: center;
  color: #8792a2;
  font-size: 10px;
  font-weight: 850;
}

.commerce-review-offer-copy {
  min-width: 0;
}

.commerce-review-offer-copy > span {
  overflow: hidden;
  color: #176b37;
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.commerce-review-offer-copy > strong {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: #172333;
  font-size: 14px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.commerce-review-price {
  color: #172333;
  font-size: 14px;
  white-space: nowrap;
}

.commerce-card-actions .commerce-send-now-form {
  display: block;
  grid-column: 1 / -1;
}

.commerce-card-actions .commerce-send-now-form button {
  width: 100%;
  color: #07111f;
  background: var(--brand);
  border-color: #66d72f;
}

.commerce-card-actions .commerce-send-now-form button:hover {
  background: #75eb39;
}

@media (max-width: 760px) {
  .commerce-field-help,
  .commerce-review-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .commerce-review-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .commerce-review-counts {
    gap: 10px 16px;
  }

  .commerce-setup-offer-samples > article {
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
  }

  .commerce-setup-offer-samples img,
  .commerce-review-image-empty {
    width: 58px;
    height: 58px;
    grid-row: auto;
  }

  .commerce-review-price {
    grid-column: 2;
    justify-self: start;
  }
}

@media (hover: none) {
  .config-info-tooltip {
    display: none !important;
  }
}

/* Public module catalog and Pulse Start add-ons */
.public-module-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  min-height: 62px;
}

.public-module-topbar > :first-child {
  justify-self: start;
}

.upgrade-public-brand,
.public-modules-nav .public-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #101828;
  text-decoration: none;
}

.upgrade-public-brand img,
.public-modules-nav .public-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.upgrade-public-login {
  align-self: center;
  justify-self: end;
  color: #26364a;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.upgrade-start-required {
  display: block;
  margin-top: 20px;
  color: #b8c6d5;
  font-size: 13px;
  font-weight: 800;
}

.upgrade-public-activate {
  display: grid;
  gap: 14px;
}

body.public-modules-body {
  color: #101828;
  background: #f3f7f4;
}

.public-modules-body > main {
  min-height: 100vh;
}

.public-modules-nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.public-modules-nav nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.public-modules-nav nav a {
  color: #334155;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.public-modules-nav .public-brand strong {
  color: #101828;
}

.public-modules-hero {
  min-height: 465px;
  display: grid;
  align-content: center;
  padding: 66px max(32px, calc((100% - 1120px) / 2));
  color: #fff;
  background: #101828;
  border-top: 6px solid #7ee83f;
}

.public-modules-hero h1 {
  max-width: 920px;
  margin: 20px 0 16px;
  color: #fff;
  font-size: 54px;
  line-height: 1.02;
}

.public-modules-hero > p {
  max-width: 780px;
  margin: 0;
  color: #d8e3ef;
  font-size: 19px;
  line-height: 1.55;
}

.public-modules-rule {
  max-width: 780px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 30px;
  padding: 16px 18px;
  border: 1px solid rgba(126, 232, 63, .42);
  border-radius: 8px;
  background: rgba(126, 232, 63, .09);
}

.public-modules-rule strong {
  color: #9af55f;
  font-size: 14px;
  white-space: nowrap;
}

.public-modules-rule span {
  color: #eef4f8;
  font-size: 14px;
  line-height: 1.4;
}

.public-module-grid {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 40px auto;
}

.public-module-section {
  width: min(1180px, calc(100% - 40px));
  margin: 48px auto;
}

.public-module-section-copy {
  max-width: 760px;
}

.public-module-section-copy .hero-chip {
  color: #26763a;
  background: #e4f3e8;
  border-color: #bfdcc8;
}

.public-module-section-copy h2 {
  margin: 14px 0 9px;
  color: #101828;
  font-size: 36px;
  line-height: 1.1;
}

.public-module-section-copy p {
  margin: 0;
  color: #536479;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.public-module-section-copy .secondary-link {
  display: inline-block;
  margin-top: 18px;
}

.public-module-section > .public-module-grid {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 0;
}

.public-module-expansions {
  width: 100%;
  margin: 0;
  padding: 52px max(32px, calc((100% - 1180px) / 2));
  background: #e9f1eb;
  border-top: 1px solid #d2dfd6;
  border-bottom: 1px solid #d2dfd6;
}

.public-module-expansions > .public-module-grid {
  max-width: 1180px;
}

.public-module-expansions .public-module-card {
  border-top-color: #1f7b42;
}

.public-module-dependency {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto auto minmax(120px, 1fr) auto auto minmax(120px, 1fr);
  gap: 10px;
  align-items: center;
  padding: 24px max(32px, calc((100% - 1120px) / 2));
  color: #fff;
  background: #183a2b;
}

.public-module-dependency strong {
  color: #9af55f;
  font-size: 16px;
}

.public-module-dependency span {
  color: #dbe8df;
  font-size: 13px;
  font-weight: 750;
}

.public-module-dependency i {
  color: #9af55f;
  font-size: 20px;
  font-style: normal;
  font-weight: 950;
}

.public-module-card {
  display: grid;
  align-content: start;
  gap: 15px;
  min-width: 0;
  padding: 30px;
  border: 1px solid #dce5df;
  border-top: 5px solid #52c832;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(16, 24, 40, .07);
}

.public-module-card-head,
.start-addon-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.public-module-card-head > span,
.start-addon-card-head > span {
  color: #26763a;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-module-card-head > strong,
.start-addon-card-head > strong {
  color: #101828;
  font-size: 26px;
  white-space: nowrap;
}

.public-module-card-head small,
.start-addon-card-head small,
.public-modules-start-price small {
  margin-left: 3px;
  color: #68778a;
  font-size: 12px;
}

.public-module-card h2 {
  margin: 4px 0 0;
  color: #101828;
  font-size: 31px;
  line-height: 1.08;
}

.public-module-card h3 {
  margin: 0;
  color: #26364a;
  font-size: 20px;
  line-height: 1.25;
}

.public-module-card p {
  margin: 0;
  color: #607086;
  line-height: 1.55;
}

.public-module-card ul,
.start-addon-card ul {
  display: grid;
  gap: 9px;
  margin: 2px 0 4px;
  padding: 0;
  list-style: none;
}

.public-module-card li,
.start-addon-card li {
  position: relative;
  padding-left: 22px;
  color: #405166;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
}

.public-module-card li::before,
.start-addon-card li::before {
  position: absolute;
  top: 2px;
  left: 0;
  color: #259b42;
  content: "✓";
  font-weight: 950;
}

.public-module-card .primary-link {
  align-self: end;
  margin-top: 8px;
  text-align: center;
}

.public-module-requirement,
.start-addon-card > small {
  color: #68778a;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.public-modules-start {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 0 auto 34px;
  padding: 34px;
  color: #fff;
  background: #183a2b;
  border-radius: 8px;
}

.public-modules-start h2 {
  margin: 13px 0 8px;
  color: #fff;
  font-size: 34px;
}

.public-modules-start p {
  max-width: 700px;
  margin: 0;
  color: #dbe8df;
  line-height: 1.5;
}

.public-modules-start-price {
  display: grid;
  gap: 12px;
  min-width: 230px;
}

.public-modules-start-price > strong {
  color: #fff;
  font-size: 31px;
  text-align: center;
}

.public-modules-start-price small {
  color: #dbe8df;
}

.start-addons-section {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 30px;
  align-items: start;
  margin: 34px auto 0;
  padding: 34px;
  border: 1px solid #dce5df;
  border-radius: 8px;
  background: #f4f8f5;
}

.start-addons-copy {
  position: sticky;
  top: 24px;
}

.start-addons-copy h2 {
  margin: 14px 0 10px;
  color: #101828;
  font-size: 34px;
  line-height: 1.1;
}

.start-addons-copy p {
  margin: 0 0 20px;
  color: #536479;
  font-weight: 700;
  line-height: 1.55;
}

.start-addons-copy .hero-chip {
  color: #26763a;
  background: #e4f3e8;
  border-color: #bfdcc8;
}

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

.start-addon-card {
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  padding: 22px;
  border: 1px solid #d9e4dc;
  border-top: 4px solid #52c832;
  border-radius: 8px;
  background: #fff;
}

.start-addon-card h3 {
  margin: 2px 0 0;
  color: #101828;
  font-size: 24px;
  line-height: 1.1;
}

.start-addon-card p {
  margin: 0;
  color: #536479;
  font-weight: 720;
  line-height: 1.42;
}

.start-addon-card .primary-link {
  align-self: end;
  margin-top: 4px;
  text-align: center;
}

.subscription-addon-dependency {
  display: block;
  width: fit-content;
  margin-top: 6px;
  padding: 4px 6px;
  color: #176b37;
  background: #e7f5eb;
  border: 1px solid #c0dfc8;
  border-radius: 4px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .public-module-grid,
  .public-module-section > .public-module-grid,
  .start-addon-grid {
    grid-template-columns: 1fr;
  }

  .start-addons-section {
    grid-template-columns: 1fr;
  }

  .start-addons-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .public-module-topbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: 58px;
  }

  .public-module-topbar .secondary-link {
    display: none;
  }

  .upgrade-public-brand {
    justify-self: start;
  }

  .upgrade-sales-hero h1 {
    overflow-wrap: anywhere;
  }

  .public-modules-nav {
    width: calc(100% - 28px);
    min-height: 66px;
  }

  .public-modules-nav nav {
    gap: 14px;
  }

  .public-modules-nav nav a:first-child {
    display: none;
  }

  .public-modules-hero {
    min-height: 0;
    padding: 44px 20px;
  }

  .public-modules-hero h1 {
    font-size: 38px;
  }

  .public-modules-hero > p {
    font-size: 16px;
  }

  .public-modules-rule {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .public-modules-rule strong {
    white-space: normal;
  }

  .public-module-grid,
  .public-modules-start {
    width: calc(100% - 28px);
  }

  .public-module-grid {
    margin: 24px auto;
  }

  .public-module-section {
    width: calc(100% - 28px);
    margin: 32px auto;
  }

  .public-module-section-copy h2 {
    font-size: 29px;
  }

  .public-module-section > .public-module-grid {
    width: 100%;
    margin: 20px 0 0;
  }

  .public-module-expansions {
    width: 100%;
    margin: 0;
    padding: 38px 14px;
  }

  .public-module-dependency {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 5px 10px;
    padding: 22px 20px;
  }

  .public-module-dependency i {
    display: none;
  }

  .public-module-card {
    padding: 22px;
  }

  .public-module-card h2 {
    font-size: 27px;
  }

  .public-module-card h3 {
    font-size: 18px;
  }

  .public-modules-start {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .public-modules-start h2 {
    font-size: 29px;
  }

  .public-modules-start-price {
    min-width: 0;
  }

  .start-addons-section {
    padding: 22px;
  }

  .start-addons-copy h2 {
    font-size: 29px;
  }

  .start-addon-card {
    padding: 19px;
  }
}

/* Commerce capacities, agenda groups and configurable message formats. */
.commerce-capacity-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #d7e0db;
  border-radius: 8px;
  background: #d7e0db;
}

.commerce-capacity-strip > div,
.commerce-capacity-strip > a {
  min-width: 0;
  min-height: 66px;
  padding: 12px 14px;
  background: #f7faf8;
}

.commerce-capacity-strip > div {
  display: grid;
  gap: 3px;
}

.commerce-capacity-strip span {
  color: #667085;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.commerce-capacity-strip strong {
  color: #172333;
  font-size: 20px;
}

.commerce-capacity-strip > a {
  display: grid;
  place-items: center;
  color: #176b37;
  font-weight: 950;
  text-decoration: none;
}

.commerce-destination-add {
  align-items: stretch;
}

.commerce-destination-add > div,
.commerce-linked-group-add {
  display: grid;
  gap: 8px;
}

.commerce-group-search-results,
.commerce-source-grid[data-destination-search-results] {
  display: grid;
  gap: 6px;
}

.commerce-group-search-result {
  display: grid;
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  color: #172333;
  background: #fff;
  border: 1px solid #cfdad3;
  border-radius: 6px;
  text-align: left;
}

.commerce-group-search-result:hover,
.commerce-group-search-result:focus-visible {
  background: #f0faf3;
  border-color: #4dbf70;
}

.commerce-group-search-result small {
  margin-top: 3px;
  color: #667085;
}

.commerce-agenda-groups {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dce5df;
  border-radius: 8px;
  background: #f8faf9;
}

.commerce-agenda-groups-head,
.commerce-agenda-group-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.commerce-agenda-groups-head > div,
.commerce-agenda-group-row > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.commerce-agenda-groups-head span,
.commerce-agenda-groups-head small,
.commerce-agenda-group-row small,
.commerce-linked-group-add small {
  color: #667085;
  font-size: 11px;
  font-weight: 750;
}

.commerce-agenda-group-row {
  padding: 9px 0;
  border-top: 1px solid #e2e9e4;
}

.commerce-agenda-group-row strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
}

.commerce-linked-group-add {
  padding-top: 10px;
  border-top: 1px solid #e2e9e4;
}

.commerce-linked-upgrade {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e9e4;
  font-size: 12px;
  font-weight: 800;
}

.commerce-linked-upgrade a {
  color: #176b37;
  font-weight: 950;
}

.commerce-template-editor {
  min-width: 0;
}

.commerce-client-brand {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f7faf8;
  border: 1px solid #d7e4da;
  border-radius: 7px;
}

.commerce-wizard-section > .commerce-client-brand {
  grid-column: 2;
}

.commerce-client-brand > small {
  color: #667085;
  font-size: 11px;
  line-height: 1.4;
}

.commerce-client-brand-fields {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) minmax(220px, 1fr);
  gap: 10px;
  align-items: end;
}

.commerce-client-brand-fields > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.commerce-client-brand-fields img {
  box-sizing: border-box;
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 5px;
  background: #fff;
  border: 1px solid #d7e4da;
  border-radius: 6px;
}

.commerce-client-brand-fields input {
  box-sizing: border-box;
  width: 100%;
}

.commerce-client-brand-fields input[type="file"] {
  min-height: 42px;
  padding: 7px;
  font-size: 11px;
}

.commerce-brand-remove {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #667085;
  font-size: 11px;
  font-weight: 750;
}

.commerce-brand-remove input {
  width: auto;
}

.commerce-wizard-section.commerce-template-editor > .commerce-template-toolbar,
.commerce-wizard-section.commerce-template-editor > .commerce-template-presets,
.commerce-wizard-section.commerce-template-editor > .commerce-template-grid {
  grid-column: 2;
  min-width: 0;
}

.commerce-template-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.commerce-template-preset {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 92px;
  padding: 11px;
  color: #26362d;
  text-align: left;
  background: #fff;
  border: 1px solid #d7e4da;
  border-radius: 7px;
}

.commerce-template-preset:hover,
.commerce-template-preset.active {
  color: #143821;
  background: #eff9f1;
  border-color: #5bb877;
}

.commerce-template-preset.active {
  box-shadow: inset 0 0 0 1px #5bb877;
}

.commerce-template-preset > span {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.commerce-template-preset strong {
  font-size: 12px;
  line-height: 1.25;
}

.commerce-template-preset em {
  padding: 3px 5px;
  color: #176b37;
  background: #dff4e5;
  border-radius: 4px;
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.commerce-template-preset small {
  color: #667085;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.commerce-template-toolbar {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d7e4da;
  border-radius: 8px;
  background: #f7faf8;
}

.commerce-template-toolbar > div:first-child {
  display: grid;
  gap: 3px;
}

.commerce-template-toolbar > div:first-child span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.commerce-placeholder-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.commerce-placeholder-list button {
  min-height: 30px;
  padding: 5px 8px;
  color: #245336;
  background: #edf8f0;
  border: 1px solid #bcdcc5;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
}

.commerce-placeholder-list .commerce-variation-button {
  color: #fff;
  background: #23693b;
  border-color: #23693b;
}

.commerce-template-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.08fr) minmax(280px, .92fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.commerce-template-input,
.commerce-template-preview {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.commerce-template-input small {
  color: #667085;
  line-height: 1.4;
}

.commerce-template-grid textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 220px;
  resize: vertical;
  font: 650 14px/1.5 system-ui, sans-serif;
}

.commerce-template-preview {
  padding: 12px;
  background: #eef3f0;
  border: 1px solid #d4dfd8;
  border-radius: 8px;
}

.commerce-template-preview > span {
  color: #667085;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.commerce-template-preview pre {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 220px;
  margin: 0;
  padding: 13px;
  overflow-x: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #f8fafc;
  background: #17201b;
  border-radius: 7px;
  font: 700 13px/1.55 system-ui, sans-serif;
  white-space: pre-wrap;
}

.number-card {
  flex-wrap: wrap;
}

.number-card > div:first-child {
  flex: 1 1 260px;
  min-width: 0;
}

.number-card > div:first-child a {
  color: #172333;
  text-decoration: none;
}

.number-usage-form {
  display: grid;
  flex: 1 0 100%;
  grid-template-columns: auto minmax(220px, 1fr);
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.number-usage-form label {
  margin: 0;
}

@media (max-width: 760px) {
  .commerce-capacity-strip,
  .commerce-template-grid,
  .commerce-template-presets {
    grid-template-columns: 1fr;
  }

  .commerce-capacity-strip > div,
  .commerce-capacity-strip > a {
    min-height: 54px;
  }

  .commerce-destination-add,
  .commerce-agenda-groups-head,
  .commerce-agenda-group-row,
  .commerce-linked-upgrade {
    align-items: stretch;
    flex-direction: column;
  }

  .commerce-destination-add > button,
  .commerce-linked-group-add > button,
  .commerce-linked-upgrade a {
    width: 100%;
    text-align: center;
  }

  .commerce-template-grid textarea {
    min-height: 200px;
  }

  .commerce-client-brand-fields {
    grid-template-columns: 1fr;
  }

  .commerce-wizard-section > .commerce-client-brand {
    grid-column: 1;
  }

  .commerce-client-brand-fields img {
    width: 72px;
    height: 72px;
  }

  .commerce-wizard-section.commerce-template-editor > .commerce-template-toolbar,
  .commerce-wizard-section.commerce-template-editor > .commerce-template-presets,
  .commerce-wizard-section.commerce-template-editor > .commerce-template-grid {
    grid-column: 1;
  }

  .commerce-template-preview pre {
    min-height: 180px;
  }

  .number-usage-form {
    grid-template-columns: 1fr;
  }
}

.upgrade-offers-demo,
.upgrade-capacity-demo {
  display: grid;
  gap: 0;
}

.upgrade-offers-columns,
.upgrade-capacity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.upgrade-offer-source,
.upgrade-capacity-grid article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #d7e0db;
  border-radius: 8px;
  background: #fff;
}

.upgrade-offer-source.is-highlighted {
  color: #f8fafc;
  background: #111b16;
  border-color: #283a30;
}

.upgrade-offer-source small,
.upgrade-capacity-grid article > span {
  color: #6b788a;
  font-size: 10px;
  font-weight: 950;
}

.upgrade-offer-source.is-highlighted small {
  color: #8af15c;
}

.upgrade-offer-source strong {
  font-size: 24px;
}

.upgrade-offer-list,
.upgrade-linked-list {
  display: grid;
  padding: 0 18px 18px;
}

.upgrade-offer-list article,
.upgrade-linked-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e0e7e2;
}

.upgrade-offer-list article > div,
.upgrade-linked-list article > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.upgrade-offer-list article span,
.upgrade-linked-list article span,
.upgrade-capacity-grid p,
.upgrade-demo-footnote {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.upgrade-offer-list article > small,
.upgrade-linked-list article > small {
  color: #176b37;
  font-weight: 900;
}

.upgrade-capacity-grid h3 {
  margin: 2px 0;
  color: #172333;
  font-size: 21px;
}

.upgrade-capacity-grid p {
  margin: 0;
}

.upgrade-capacity-grid article > small {
  margin-top: 10px;
  color: #176b37;
  font-weight: 900;
}

.upgrade-demo-footnote {
  margin: 0;
  padding: 0 18px 18px;
}

@media (max-width: 760px) {
  .upgrade-offers-columns,
  .upgrade-capacity-grid {
    grid-template-columns: 1fr;
  }

  .upgrade-offer-list article,
  .upgrade-linked-list article {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .upgrade-offer-list article > b {
    grid-column: 1 / -1;
  }
}

/* Mercado Livre coupons */
.ml-coupon-page-head {
  align-items: flex-end;
}

.ml-coupon-update {
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding-left: 20px;
  border-left: 3px solid #ffe600;
}

.ml-coupon-update span,
.ml-coupon-card-foot small {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.ml-coupon-update strong {
  color: #172333;
  font-size: 16px;
}

.ml-coupon-stale {
  display: flex;
  align-items: center;
  gap: 10px;
  border-color: #f3d36a;
  background: #fff9df;
  color: #5f4a00;
}

.ml-coupon-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 20px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #dce4df;
}

.ml-coupon-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.ml-coupon-count strong {
  color: #172333;
  font-size: 34px;
  line-height: 1;
}

.ml-coupon-count span {
  color: #667085;
  font-weight: 800;
}

.ml-coupon-search {
  width: min(520px, 100%);
}

.ml-coupon-search label {
  display: block;
  margin-bottom: 6px;
  color: #475467;
  font-size: 12px;
  font-weight: 850;
}

.ml-coupon-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.ml-coupon-search input {
  min-width: 0;
  margin: 0;
}

.ml-coupon-search button {
  min-width: 92px;
}

.ml-coupon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.ml-coupon-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 230px;
  padding: 20px;
  border: 1px solid #d9e2dc;
  border-top: 4px solid #2f8f4e;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(23, 35, 51, .07);
  overflow: hidden;
}

.ml-coupon-card.expires-soon {
  border-top-color: #e0aa00;
}

.ml-coupon-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.ml-coupon-card-head > div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.ml-coupon-status {
  color: #277442;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.expires-soon .ml-coupon-status {
  color: #8b6500;
}

.ml-coupon-card-head strong {
  overflow-wrap: anywhere;
  color: #172333;
  font-size: 25px;
  line-height: 1.1;
}

.ml-coupon-copy {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #aebcb3;
  background: #f5f8f6;
  color: #172333;
  box-sizing: border-box;
  max-width: 100%;
}

.ml-coupon-copy.copied {
  border-color: #2f8f4e;
  background: #e8f6ed;
  color: #176b37;
}

.ml-coupon-card > p {
  margin: 20px 0;
  color: #3e4b5a;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ml-coupon-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid #e4e9e6;
  min-width: 0;
}

.ml-coupon-card-foot > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ml-coupon-card-foot b {
  color: #273445;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.ml-coupon-card-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 6px;
  background: #172333;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-sizing: border-box;
  max-width: 100%;
}

.ml-coupon-empty {
  min-height: 260px;
}

.ml-coupon-empty .button {
  margin-top: 14px;
}

.ml-coupon-disclaimer {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid #ffe600;
  background: #f5f7f6;
}

.ml-coupon-disclaimer strong {
  color: #172333;
}

.ml-coupon-disclaimer p {
  margin: 5px 0 0;
  color: #5b6675;
  font-size: 13px;
  line-height: 1.5;
}

.ml-coupon-copy-feedback {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  min-height: 0;
  padding: 0;
}

.ml-coupon-copy-feedback:not(:empty) {
  padding: 10px 14px;
  border-radius: 6px;
  background: #172333;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(23, 35, 51, .22);
}

.upgrade-coupon-demo {
  overflow: hidden;
}

.upgrade-coupon-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background: #fff9d3;
}

.upgrade-coupon-summary > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.upgrade-coupon-summary strong {
  color: #172333;
  font-size: 36px;
  line-height: 1;
}

.upgrade-coupon-summary span,
.upgrade-coupon-summary p {
  color: #566273;
  font-size: 13px;
  font-weight: 800;
}

.upgrade-coupon-summary p {
  margin: 0;
  text-align: right;
}

.upgrade-coupon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.upgrade-coupon-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dce4df;
  border-top: 4px solid #2f8f4e;
  border-radius: 8px;
  background: #fff;
}

.upgrade-coupon-list article > div,
.upgrade-coupon-list article > p {
  grid-column: 1 / -1;
}

.upgrade-coupon-list article > div {
  display: grid;
  gap: 4px;
}

.upgrade-coupon-list small {
  color: #277442;
  font-size: 10px;
  font-weight: 900;
}

.upgrade-coupon-list strong {
  color: #172333;
  font-size: 22px;
}

.upgrade-coupon-list p {
  min-height: 42px;
  margin: 0;
  color: #566273;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.upgrade-coupon-list span {
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.upgrade-coupon-list article > b {
  color: #176b37;
  font-size: 12px;
  text-align: right;
}

@media (max-width: 760px) {
  .ml-coupon-page-head,
  .ml-coupon-toolbar,
  .ml-coupon-stale,
  .upgrade-coupon-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .ml-coupon-update {
    width: 100%;
    padding: 12px 0 0;
    border-top: 3px solid #ffe600;
    border-left: 0;
  }

  .ml-coupon-grid,
  .upgrade-coupon-list {
    grid-template-columns: 1fr;
  }

  .ml-coupon-card {
    min-height: 0;
    padding: 16px;
  }

  .ml-coupon-card-head,
  .ml-coupon-card-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .ml-coupon-copy,
  .ml-coupon-card-foot a {
    width: 100%;
  }

  .ml-coupon-search {
    width: 100%;
  }

  .upgrade-coupon-summary p {
    text-align: left;
  }
}
