/* ══ Promo Strategy Configurator — scoped under #promo-app ══ */
#promo-app {
  --orange: var(--gold);
  --orange-press: #d96a12;
  --warm-white: #faefe6;
  --orange-line: #f6cfae;

  --midnight: var(--ink);
  --midnight-2: #2c3376;
  --vivid-blue: var(--pine);
  --bright-blue: var(--pine-light);
  --pale-blue: #bdd9fe;
  --cool-white: var(--paper);

  --ink: #21265e;
  --ink-2: #525b70;
  --ink-3: #8b93a6;
  --line: #dce3ec;
  --line-strong: #c4cbd9;

  --brand-gradient: linear-gradient(135deg, var(--gold) 0%, #bdd9fe 100%);

  --r-card: 14px;
  --r-field: 8px;
  --r-pill: 999px;

  --sans: Arial, Helvetica, sans-serif;
}
#promo-app,
#promo-app * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
#promo-app [hidden] {
  display: none !important;
}
#promo-app {
  -webkit-text-size-adjust: 100%;
}
#promo-app {
  background: var(--cool-white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;

  background-image: radial-gradient(
    rgba(33, 38, 94, 0.07) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
}
#promo-app ::selection {
  background: var(--pale-blue);
  color: var(--midnight);
}
#promo-app :focus-visible {
  outline: 2px solid var(--vivid-blue);
  outline-offset: 2px;
}
#promo-app .header {
  background: var(--midnight);
  color: #fff;
  padding: 0 28px;
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  position: relative;
  overflow: hidden;
}
#promo-app .header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 1L54.5 16.5v31L28 63 1.5 47.5v-31L28 1z' fill='none' stroke='%23ffffff' stroke-opacity='0.055' stroke-width='1.2'/%3E%3C/svg%3E");
}
#promo-app .header > * {
  position: relative;
  z-index: 1;
}
#promo-app .header-title {
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
}
#promo-app .steptrack {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
#promo-app .stepbtn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  padding: 6px 10px;
  background: none;
  border: none;
  font-family: var(--sans);
  cursor: default;
  border-radius: var(--r-pill);
  transition: color 0.18s;
}
#promo-app .stepbtn[data-nav="1"] {
  cursor: pointer;
}
#promo-app .stepbtn[data-nav="1"]:hover {
  color: #fff;
}
#promo-app .stephex {
  width: 22px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
#promo-app .stepbtn.active {
  color: #fff;
}
#promo-app .stepbtn.active .stephex {
  background: var(--orange);
  color: #fff;
}
#promo-app .stepbtn.done {
  color: rgba(255, 255, 255, 0.62);
}
#promo-app .stepbtn.done .stephex {
  background: var(--pale-blue);
  color: var(--midnight);
}
#promo-app .stepsep {
  color: rgba(255, 255, 255, 0.22);
  font-size: 11px;
}
#promo-app .shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}
#promo-app .progress {
  height: 4px;
  background: var(--line);
  border-radius: var(--r-pill);
  margin-bottom: 40px;
  overflow: hidden;
}
#promo-app .progress-fill {
  height: 100%;
  background: var(--brand-gradient);
  border-radius: var(--r-pill);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
#promo-app .flow {
  display: none;
}
#promo-app .flow.active {
  display: block;
  animation: rise 0.35s ease;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#promo-app .intro {
  margin-bottom: 30px;
  max-width: 620px;
}
#promo-app .intro-step {
  font-size: 13px;
  font-weight: 600;
  color: var(--vivid-blue);
  margin-bottom: 8px;
}
#promo-app .intro h2 {
  font-size: 29px;
  font-weight: 700;
  color: var(--midnight);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}
#promo-app .intro .rule {
  width: 56px;
  height: 3px;
  background: var(--brand-gradient);
  border-radius: 2px;
  margin-bottom: 14px;
}
#promo-app .intro p {
  font-size: 15px;
  color: var(--ink-2);
}
#promo-app .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px 26px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
#promo-app .card-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}
#promo-app .card-hex {
  width: 20px;
  height: 22px;
  flex-shrink: 0;
  background: var(--pale-blue);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
#promo-app .card-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--midnight);
  letter-spacing: -0.01em;
}
#promo-app .card-head .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}
#promo-app .grid {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
}
#promo-app .grid.c1 {
  grid-template-columns: 1fr;
}
#promo-app .grid.c2 {
  grid-template-columns: 1fr 1fr;
}
#promo-app .grid.c3 {
  grid-template-columns: repeat(3, 1fr);
}
#promo-app .grid:last-child {
  margin-bottom: 0;
}
#promo-app .p-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
#promo-app label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
#promo-app label .hint {
  font-weight: 400;
  color: var(--ink-3);
  margin-left: 4px;
}
#promo-app input[type="text"],
#promo-app input[type="number"],
#promo-app select,
#promo-app textarea {
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-field);
  font-size: 14.5px;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
#promo-app input::placeholder {
  color: var(--ink-3);
}
#promo-app input:focus,
#promo-app select:focus,
#promo-app textarea:focus {
  outline: none;
  border-color: var(--vivid-blue);
  box-shadow: 0 0 0 3px rgba(17, 100, 235, 0.14);
}
#promo-app select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23525b70' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  cursor: pointer;
}
#promo-app .toggles {
  display: flex;
  flex-direction: column;
}
#promo-app .toggle-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
#promo-app .toggle-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
#promo-app .toggle-row:first-child {
  padding-top: 4px;
}
#promo-app .toggle-text {
  flex: 1;
}
#promo-app .toggle-text b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
#promo-app .toggle-text span {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 1px;
}
#promo-app .switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
#promo-app .switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
#promo-app .switch-track {
  position: absolute;
  inset: 0;
  background: var(--line-strong);
  border-radius: var(--r-pill);
  transition: background 0.2s;
  pointer-events: none;
}
#promo-app .switch input:checked + .switch-track {
  background: var(--vivid-blue);
}
#promo-app .switch input:focus-visible + .switch-track {
  box-shadow: 0 0 0 3px rgba(17, 100, 235, 0.24);
}
#promo-app .switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  pointer-events: none;
}
#promo-app .switch input:checked ~ .switch-knob {
  transform: translateX(18px);
}
#promo-app .p-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#promo-app .p-pill {
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-2);
  background: #fff;
  transition: all 0.15s;
  user-select: none;
  font-family: var(--sans);
}
#promo-app .p-pill:hover {
  border-color: var(--vivid-blue);
  color: var(--vivid-blue);
}
#promo-app .p-pill[aria-pressed="true"] {
  background: var(--vivid-blue);
  border-color: var(--vivid-blue);
  color: #fff;
}
#promo-app .p-pill[aria-pressed="true"]:hover {
  background: #0d55c9;
  border-color: #0d55c9;
  color: #fff;
}
#promo-app .note {
  font-size: 13.5px;
  color: var(--midnight);
  background: var(--cool-white);
  border-left: 3px solid var(--pale-blue);
  padding: 11px 14px;
  border-radius: 0 var(--r-field) var(--r-field) 0;
  margin-bottom: 18px;
}
#promo-app .slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
#promo-app .slot {
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-card);
  padding: 16px;
  min-height: 104px;
  transition: all 0.2s;
}
#promo-app .slot.filled {
  border-style: solid;
  border-color: var(--pale-blue);
}
#promo-app .slot.primary.filled {
  border-color: var(--orange);
  background: var(--warm-white);
}
#promo-app .slot-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
}
#promo-app .slot-hex {
  width: 20px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  background: var(--line);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
#promo-app .slot.filled .slot-hex {
  background: var(--vivid-blue);
  color: #fff;
}
#promo-app .slot.primary.filled .slot-hex {
  background: var(--orange);
  color: #fff;
}
#promo-app .slot-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
#promo-app .slot-empty {
  font-size: 13.5px;
  color: var(--ink-3);
}
#promo-app .chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#promo-app .chip-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--midnight);
  line-height: 1.3;
}
#promo-app .chip-x {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-3);
  font-size: 18px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 5px;
  font-family: var(--sans);
  flex-shrink: 0;
}
#promo-app .chip-x:hover {
  color: var(--midnight);
  background: rgba(33, 38, 94, 0.07);
}
#promo-app .subhead {
  font-size: 15px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 14px;
}
#promo-app .goals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
#promo-app .goal {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  padding: 14px 16px;
  cursor: pointer;
  background: #fff;
  transition: all 0.15s;
  text-align: left;
  width: 100%;
  font-family: var(--sans);
}
#promo-app .goal:hover {
  border-color: var(--vivid-blue);
  background: var(--cool-white);
}
#promo-app .goal[disabled] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
#promo-app .goal b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--midnight);
}
#promo-app .goal span {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 3px;
  line-height: 1.45;
}
#promo-app .actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
#promo-app .btn {
  padding: 12px 26px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--sans);
  transition: all 0.15s;
}
#promo-app .btn-primary {
  background: var(--orange);
  color: #fff;
}
#promo-app .btn-primary:hover {
  background: var(--orange-press);
}
#promo-app .btn-primary:disabled {
  background: var(--line-strong);
  color: #fff;
  cursor: not-allowed;
}
#promo-app .btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink-2);
}
#promo-app .btn-ghost:hover {
  border-color: var(--midnight);
  color: var(--midnight);
}
#promo-app .actions-hint {
  font-size: 13px;
  color: var(--ink-3);
  margin-left: auto;
}
#promo-app .loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 20px;
  gap: 20px;
  color: var(--ink-2);
  font-size: 14.5px;
}
#promo-app .hexspin {
  width: 38px;
  height: 42px;
  background: var(--brand-gradient);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: pulse 1.15s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
#promo-app .errbox {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--vivid-blue);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  padding: 18px 20px;
  font-size: 14.5px;
  color: var(--ink);
}
#promo-app .errbox b {
  display: block;
  color: var(--midnight);
  margin-bottom: 4px;
}
#promo-app .restart {
  background: none;
  border: none;
  color: var(--ink-3);
  font-size: 13.5px;
  cursor: pointer;
  font-family: var(--sans);
  margin-top: 28px;
  padding: 4px 0;
  font-weight: 600;
}
#promo-app .restart:hover {
  color: var(--midnight);
  text-decoration: underline;
}
#promo-app .o-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 26px 0 10px;
}
#promo-app .o-label:first-child {
  margin-top: 0;
}
#promo-app .o-hero {
  background: var(--midnight);
  border-radius: var(--r-card);
  padding: 28px 30px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#promo-app .o-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='83' viewBox='0 0 72 83'%3E%3Cpath d='M36 1L70.8 21v41L36 82 1.2 62V21L36 1z' fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1.4'/%3E%3C/svg%3E");
}
#promo-app .o-hero > * {
  position: relative;
  z-index: 1;
}
#promo-app .o-eyebrow {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
#promo-app .o-headline {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-top: 2px;
}
#promo-app .o-tag {
  font-size: 14.5px;
  color: var(--orange);
  font-weight: 600;
  margin-top: 6px;
}
#promo-app .o-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#promo-app .o-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--r-pill);
  padding: 4px 13px 4px 5px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}
#promo-app .o-badge-hex {
  width: 17px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  background: var(--vivid-blue);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
#promo-app .o-badge:first-child .o-badge-hex {
  background: var(--orange);
}
#promo-app .o-chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  padding-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: 2px;
  padding-top: 14px;
}
#promo-app .o-chip {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-field);
  padding: 6px 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}
#promo-app .o-chip b {
  color: #fff;
  font-weight: 700;
}
#promo-app .o-offer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
#promo-app .o-cell {
  padding: 17px 19px;
  border-right: 1px solid var(--line);
}
#promo-app .o-cell:last-child {
  border-right: none;
}
#promo-app .o-cell-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
#promo-app .o-cell-v {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--midnight);
  line-height: 1.4;
}
#promo-app .o-cell.hook {
  background: var(--warm-white);
}
#promo-app .o-cell.hook .o-cell-v {
  color: var(--orange);
  font-style: italic;
}
#promo-app .o-channels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
#promo-app .o-ch {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#promo-app .o-ch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#promo-app .o-ch-icon {
  font-size: 21px;
  line-height: 1;
}
#promo-app .o-prio {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}
#promo-app .o-ch-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--midnight);
}
#promo-app .o-ch-do {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
#promo-app .o-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 12px;
}
#promo-app .o-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
#promo-app .o-empty {
  padding: 16px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}
#promo-app .o-seg {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
#promo-app .o-seg:last-child {
  border-bottom: none;
}
#promo-app .o-seg-icon {
  font-size: 17px;
  line-height: 1.3;
}
#promo-app .o-seg-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--midnight);
}
#promo-app .o-seg-msg {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 2px;
  line-height: 1.45;
}
#promo-app .o-seg-when {
  font-size: 11.5px;
  color: var(--vivid-blue);
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
  padding-top: 1px;
}
#promo-app .o-cad {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#promo-app .o-cad-step {
  display: flex;
  gap: 12px;
}
#promo-app .o-cad-hex {
  width: 16px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 15px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
#promo-app .o-cad-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  padding: 12px 14px;
}
#promo-app .o-cad-day {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
#promo-app .o-cad-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--midnight);
  margin: 3px 0 2px;
}
#promo-app .o-cad-do {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
#promo-app .o-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
#promo-app .o-metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 20px 18px;
  text-align: center;
}
#promo-app .o-metric-icon {
  font-size: 22px;
  margin-bottom: 8px;
}
#promo-app .o-metric-v {
  font-size: 20px;
  font-weight: 700;
  color: var(--midnight);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
#promo-app .o-metric:first-child {
  border-color: var(--orange-line);
  background: var(--warm-white);
}
#promo-app .o-metric:first-child .o-metric-v {
  color: var(--orange);
}
#promo-app .o-metric-k {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 5px;
}
#promo-app .o-warns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
#promo-app .o-warn {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--vivid-blue);
  border-radius: 0 var(--r-field) var(--r-field) 0;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
#promo-app .o-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
#promo-app .o-main {
  flex: 1;
  min-width: 0;
}
#promo-app .o-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 176px;
  background: var(--cool-white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 14px;
  box-shadow: 0 6px 18px rgba(33, 38, 94, 0.08);
  /* Sticky in its own column so "Download PDF" stays reachable while
     scrolling a long brief, clear of the site nav's own sticky bar. */
  position: sticky;
  top: 76px;
}
#promo-app .o-foot .btn {
  width: 100%;
  text-align: center;
}
@media (max-width: 820px) {
  #promo-app .o-layout {
    flex-direction: column;
  }
  #promo-app .o-foot {
    flex-direction: row;
    flex-wrap: wrap;
    flex-basis: auto;
    width: 100%;
    position: static;
    order: -1;
  }
  #promo-app .o-foot .btn {
    width: auto;
  }
}
#promo-app .btn[disabled] {
  opacity: 0.55;
  cursor: progress;
}
#promo-app .export-status {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-top: 12px;
  min-height: 20px;
}
#promo-app .export-status.ok {
  color: var(--vivid-blue);
  font-weight: 600;
}
#promo-app .export-status.err {
  color: var(--midnight);
  font-weight: 600;
}
#promo-app .copy-fallback {
  margin-top: 14px;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
#promo-app .copy-fallback textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  background: #fff;
  resize: vertical;
}
#promo-app .sharesheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 20px 22px;
  margin-top: 16px;
  max-width: 520px;
}
#promo-app .sharesheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
#promo-app .sharesheet-head b {
  font-size: 16px;
  color: var(--midnight);
}
#promo-app .sharesheet-note {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 16px;
}
#promo-app .sharesheet-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#promo-app .sharesheet-actions .btn {
  text-decoration: none;
  display: inline-block;
}
#promo-app .pdf-stage {
  position: absolute;
  left: -20000px;
  top: 0;
  width: 794px;
}
#promo-app .pdf-sheet {
  width: 794px;
  background: #fff;
  padding: 34px 40px 40px;
  font-family: var(--sans);
}
#promo-app .pdf-sheet .o-label {
  margin-top: 22px;
}
#promo-app .pdf-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--orange);
  margin-bottom: 22px;
}
#promo-app .pdf-head-mark {
  font-size: 22px;
  font-weight: 700;
  color: var(--midnight);
  letter-spacing: -0.015em;
  line-height: 1;
}
#promo-app .pdf-head-mark em {
  color: var(--orange);
  font-style: italic;
  font-weight: 600;
}
#promo-app .pdf-head-kicker {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 5px;
}
#promo-app .pdf-head-meta {
  font-size: 12px;
  color: var(--ink-3);
  text-align: right;
  line-height: 1.5;
}
#promo-app .pdf-foot {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11.5px;
  color: var(--ink-3);
}
#promo-app .pdf-foot b {
  color: var(--orange);
}
#promo-app .pdf-sheet .o-hero,
#promo-app .pdf-sheet .o-ch,
#promo-app .pdf-sheet .o-metric,
#promo-app .pdf-sheet .o-warn,
#promo-app .pdf-sheet .o-list,
#promo-app .pdf-sheet .o-cad-card,
#promo-app .pdf-sheet .o-offer {
  break-inside: avoid;
  page-break-inside: avoid;
}
#promo-app .pdf-sheet .stephex,
#promo-app .pdf-sheet .card-hex,
#promo-app .pdf-sheet .slot-hex,
#promo-app .pdf-sheet .o-badge-hex,
#promo-app .pdf-sheet .o-cad-hex {
  clip-path: none;
  border-radius: 50%;
}
#promo-app .footer {
  background: var(--midnight);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 22px;
  font-size: 12.5px;
  margin-top: 56px;
}
#promo-app .footer a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}
#promo-app .footer a:hover {
  text-decoration: underline;
}
@media (max-width: 820px) {
  #promo-app .steptrack {
    display: none;
  }
  #promo-app .o-offer {
    grid-template-columns: 1fr 1fr;
  }
  #promo-app .o-cell:nth-child(2) {
    border-right: none;
  }
  #promo-app .o-cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 680px) {
  #promo-app .shell {
    padding: 28px 18px 72px;
  }
  #promo-app .intro h2 {
    font-size: 24px;
  }
  #promo-app .grid.c2,
  #promo-app .grid.c3 {
    grid-template-columns: 1fr;
  }
  #promo-app .slots {
    grid-template-columns: 1fr;
  }
  #promo-app .goals {
    grid-template-columns: 1fr;
  }
  #promo-app .o-offer {
    grid-template-columns: 1fr;
  }
  #promo-app .o-cell {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  #promo-app .o-cell:last-child {
    border-bottom: none;
  }
  #promo-app .o-two {
    grid-template-columns: 1fr;
  }
  #promo-app .o-metrics {
    grid-template-columns: 1fr;
  }
  #promo-app .o-warns {
    grid-template-columns: 1fr;
  }
  #promo-app .o-channels {
    grid-template-columns: 1fr;
  }
  #promo-app .actions-hint {
    margin-left: 0;
    width: 100%;
  }
}
@page {
  size: A4 portrait;
  margin: 12mm;
}
@media print {
  #promo-app .header,
  #promo-app .footer,
  #promo-app .progress,
  #promo-app .actions,
  #promo-app .o-foot,
  #promo-app .restart,
  #promo-app .export-status,
  #promo-app .sharesheet,
  #promo-app .pdf-stage,
  #promo-app .copy-fallback {
    display: none !important;
  }
  #promo-app {
    background: #fff;
    background-image: none;
    font-size: 11pt;
  }
  #promo-app .shell {
    max-width: none;
    padding: 0;
  }
  #promo-app,
  #promo-app * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  #promo-app .o-hero,
  #promo-app .o-ch,
  #promo-app .o-metric,
  #promo-app .o-warn,
  #promo-app .o-list,
  #promo-app .o-cad-card,
  #promo-app .o-offer {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  #promo-app .o-two {
    gap: 14px;
  }
}
#promo-app .pdf-sheet .o-offer {
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
}
#promo-app .pdf-sheet .o-cell {
  border-right: 1px solid var(--line);
  border-bottom: none;
}
#promo-app .pdf-sheet .o-cell:last-child {
  border-right: none;
}
#promo-app .pdf-sheet .o-channels {
  grid-template-columns: repeat(2, 1fr);
}
#promo-app .pdf-sheet .o-two {
  grid-template-columns: 1fr 1fr;
}
#promo-app .pdf-sheet .o-metrics {
  grid-template-columns: repeat(3, 1fr);
}
#promo-app .pdf-sheet .o-warns {
  grid-template-columns: repeat(3, 1fr);
}
