@font-face {
  font-family: Manrope;
  src: url("/assets/Manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/SpaceGrotesk-variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #08192b;
  --surface: #10253a;
  --text: #f4f7fa;
  --muted: #a6b5c5;
  --line: #2b4054;
  --green: #10b981;
  --mint: #a7f3d0;
  font:
    400 16px/1.5 Manrope,
    system-ui,
    sans-serif;
  background: var(--bg);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-height: 100dvh;
}
a {
  color: var(--mint);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button.primary {
  background: var(--text);
  color: var(--bg);
  border: 0;
  font-weight: 600;
}
:is(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.app-header {
  position: relative;
  z-index: 12;
  min-height: 112px;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.screen-light {
  position: relative;
  overflow: hidden;
  height: 2px;
  width: calc(100% - 80px);
  max-width: 1200px;
  margin: 0 auto 18px;
  background: linear-gradient(
    90deg,
    transparent,
    #38bdf877,
    #a7f3d0aa,
    #10b98177,
    transparent
  );
  box-shadow: 0 0 15px #34d39944;
  pointer-events: none;
}
.screen-light:after {
  content: "";
  position: absolute;
  inset: 0 auto;
  width: 32%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a7f3d0, transparent);
  filter: blur(1px);
  opacity: 0;
  animation: screen-light-pass 5s ease-in-out infinite;
}
@keyframes screen-light-pass {
  0%,
  10% {
    transform: translateX(-110%);
    opacity: 0;
  }
  25%,
  75% {
    opacity: 0.85;
  }
  90%,
  100% {
    transform: translateX(420%);
    opacity: 0;
  }
}
body[data-view="pacing"]:has(#verify-dashboard.has-data) > .screen-light,
body[data-view="monetize"]:has(#pr-monetize.has-data) > .screen-light,
body[data-view="compete"]:has([data-section="compete"] .has-data)
  > .screen-light,
body[data-view="brand"]:has([data-section="brand"] .has-data) > .screen-light {
  display: none;
}
body[data-view="pacing"] > .screen-light:after,
body[data-view="monetize"] > .screen-light:after,
body[data-view="compete"] > .screen-light:after,
body[data-view="brand"] > .screen-light:after {
  animation: none;
}
body.page-hidden .screen-light:after {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .screen-light:after {
    animation: none;
  }
}
@media (max-width: 700px) {
  .screen-light {
    width: calc(100% - 40px);
  }
}
#mode {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.wordmark {
  width: 224px;
  height: 44px;
  display: block;
  background: url("/assets/wordmark-a0343a8aae36.webp") center/128% auto
    no-repeat;
  flex-shrink: 0;
}
.menu-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 8px;
  border: 0;
  background: transparent;
  border-radius: 8px;
}
.menu-toggle:hover {
  background: #ffffff0a;
}
.menu-bars {
  display: grid;
  gap: 7px;
  width: 26px;
}
.menu-bars i {
  display: block;
  height: 2px;
  width: 26px;
  border-radius: 2px;
  background: var(--text);
}
.menu-cross {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
}
.menu-cross:before,
.menu-cross:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 15px;
  width: 27px;
  height: 2px;
  background: var(--text);
  transform: rotate(45deg);
}
.menu-cross:after {
  transform: rotate(-45deg);
}
.menu-open .menu-cross {
  display: block;
}
.menu-open .menu-bars {
  display: none;
}
#navigation {
  position: fixed;
  z-index: 11;
  inset: 0 auto 0 0;
  width: 280px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 136px 24px 40px;
  overflow-y: auto;
}
#navigation :is(a, button) {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 14px 12px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: var(--text);
  border: 0;
  background: transparent;
  text-align: left;
  border-radius: 8px;
}
#navigation :is(a, button):hover {
  background: #ffffff0a;
}
#navigation a[aria-current] {
  color: var(--mint);
}
#navigation #logout,
#navigation #fixture {
  font-size: 16px;
  min-height: 48px;
  color: var(--muted);
}
#menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: #020b1638;
}
.menu-open {
  overflow: hidden;
}
.home {
  max-width: 760px;
  margin: 0 auto;
  padding: 65px 32px 104px;
  text-align: center;
  min-height: calc(100dvh - 112px);
}
body[data-session="signed-out"] .app-header {
  justify-content: flex-end;
}
.welcome {
  max-width: 920px;
  margin: 0 auto;
  padding: 44px 32px 64px;
  text-align: center;
}
.welcome h1 {
  font-size: clamp(36px, 5vw, 50px);
  line-height: 1.1;
  letter-spacing: -2px;
  font-weight: 500;
  margin: 0;
}
.welcome h1 span {
  color: var(--mint);
}
.welcome .ambient-light {
  margin: 24px auto 20px;
}
.welcome-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.welcome-actions button,
.welcome-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
}
.welcome-signin {
  color: var(--text);
  border: 1px solid var(--line);
  text-decoration: none;
}
.welcome-signin:hover {
  color: var(--mint);
  border-color: var(--mint);
}
.development-entry {
  margin-top: 24px;
  color: var(--muted);
}
.welcome-sections {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding-top: 28px;
  text-align: left;
}
.welcome-sections h2 {
  font-size: 17px;
  color: var(--mint);
}
.welcome-sections p {
  font-size: 12px;
  margin: 8px 0 0;
}
#waitlist-dialog {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 32px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
}
#waitlist-dialog::backdrop {
  background: #020b16bd;
}
#waitlist-close {
  float: right;
  margin: -16px -16px 0 0;
  font-size: 24px;
  border: 0;
  background: transparent;
}
#waitlist-dialog h2 {
  margin: 12px 0 24px;
}
#waitlist-form label {
  display: block;
  margin-bottom: 18px;
}
#waitlist-form input {
  display: block;
  width: 100%;
  margin-top: 8px;
}
#waitlist-form .optional {
  color: var(--muted);
  font-size: 14px;
}
#waitlist-form button {
  width: 100%;
}
#waitlist-form .waitlist-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#waitlist-status {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .welcome {
    padding: 40px 24px 48px;
  }
  .welcome-sections {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
  }
  .welcome-actions {
    flex-direction: column;
    max-width: 280px;
    margin: auto;
  }
}
.home h1 {
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 500;
  margin: 0;
}
.ambient-light {
  height: 64px;
  max-width: 300px;
  margin: 28px auto 31px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 25%,
    #000 75%,
    transparent
  );
}
.ambient-light:before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  height: 1px;
  top: 31px;
  background: linear-gradient(
    90deg,
    transparent,
    #38bdf832,
    #10b98132,
    transparent
  );
}
.ambient-light:after {
  content: "";
  position: absolute;
  left: -20%;
  top: 28px;
  width: 48px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 17px 3px currentColor;
  color: #38bdf8;
  filter: blur(3px);
  animation: light-pass 10s ease-in-out infinite;
}
@keyframes light-pass {
  0% {
    left: -20%;
    color: #38bdf8;
    opacity: 0;
  }
  20% {
    opacity: 0.2;
    color: #38bdf8;
  }
  45%,
  55% {
    color: #2dd4bf;
    opacity: 0.8;
  }
  80% {
    color: #10b981;
    opacity: 0.2;
  }
  100% {
    left: 110%;
    color: #10b981;
    opacity: 0;
  }
}
.page-hidden .ambient-light:after {
  animation-play-state: paused;
}
.profit-label {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 0;
}
.profit-value {
  font:
    500 88px/1.05 "Space Grotesk",
    Manrope,
    sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -4px;
  margin: 20px 0 0;
  color: var(--text);
}
#optimize {
  display: block;
  margin: 48px auto 0;
  width: min(280px, 100%);
  min-height: 56px;
  border-radius: 14px;
  transition: background 180ms;
}
#optimize:hover {
  background: #dff7ed;
}
#app,
#coming-soon {
  max-width: 1120px;
  margin: 24px auto;
  padding: 0 32px 64px;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0 0 16px;
  font-weight: 500;
}
h2 {
  font-size: 22px;
  margin: 0;
  font-weight: 500;
}
h3 {
  font-size: 17px;
  margin: 0 0 12px;
  font-weight: 600;
}
p {
  line-height: 1.6;
  color: var(--muted);
}
body:not([data-view="aim"]) [data-section="aim"],
body:not([data-view="pacing"]) [data-section="pacing"],
body:not([data-view="monetize"]) [data-section="monetize"],
body:not([data-view="compete"]) [data-section="compete"],
body:not([data-view="brand"]) [data-section="brand"],
body:not([data-view="grow"]) [data-section="grow"] {
  display: none;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 20px 0;
  padding: 24px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.row.end {
  justify-content: space-between;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 18px;
}
.muted {
  font-size: 14px;
  color: var(--muted);
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  background: var(--bg);
  color: var(--text);
  min-height: 44px;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: var(--green);
  flex-shrink: 0;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
label input,
label select,
label textarea {
  margin-top: 7px;
}
.products {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.product {
  display: grid;
  grid-template-columns: 28px 1fr 170px;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.product label {
  font-weight: 400;
}
.product strong {
  display: block;
  font-size: 14px;
}
.product span {
  font-size: 13px;
  color: var(--muted);
}
.banner {
  background: #0b443c;
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--mint);
  margin: 20px 0;
  font-size: 14px;
}
.notice {
  min-height: 24px;
  color: var(--mint);
  font-size: 14px;
}
.notice:empty {
  display: none;
}
.notice.error {
  color: #fda4af;
}
.actions {
  position: sticky;
  bottom: 0;
  background: #08192bf2;
  backdrop-filter: blur(8px);
  padding: 16px 0;
}
.details {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 16px;
}
details summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  min-height: 44px;
  align-content: center;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  max-height: 400px;
  overflow: auto;
}
.empty {
  padding: 36px;
  text-align: center;
}
.off {
  opacity: 0.75;
}
.reference-row {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
@media (prefers-reduced-motion: reduce) {
  .ambient-light:after {
    animation: none;
    left: 46%;
    color: var(--green);
    opacity: 0.75;
  }
  #optimize {
    transition: none;
  }
}
@media (max-width: 650px) {
  .app-header {
    min-height: 96px;
    padding: 24px 20px;
    gap: 8px;
  }
  .wordmark {
    width: 177px;
    height: 38px;
  }
  .header-left {
    gap: 8px;
  }
  #navigation {
    width: 100%;
    padding: 136px 24px 40px;
    border: 0;
    background: var(--bg);
  }
  #navigation :is(a, button) {
    min-height: 80px;
    padding: 18px 8px;
    border-bottom: 1px solid #ffffff16;
    border-radius: 0;
    font-size: 28px;
  }
  .menu-open .app-header {
    background: var(--bg);
  }
  .home {
    padding: 66px 20px 80px;
    min-height: calc(100dvh - 96px);
  }
  .home h1 {
    font-size: 32px;
    letter-spacing: -1.2px;
    max-width: 300px;
    margin: auto;
  }
  .ambient-light {
    max-width: 240px;
    margin: 21px auto 28px;
  }
  .profit-label {
    font-size: 18px;
    line-height: 1.4;
    max-width: 280px;
    margin: auto;
  }
  .profit-value {
    font-size: clamp(45px, 14vw, 56px);
    letter-spacing: -2.5px;
    margin-top: 19px;
  }
  #optimize {
    margin-top: 40px;
  }
  #app {
    padding: 0 20px 40px;
    margin-top: 20px;
  }
  h1 {
    font-size: 28px;
  }
  .card {
    padding: 18px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .product {
    grid-template-columns: 24px minmax(0, 1fr) 100px;
    gap: 8px;
  }
  .product input[type="number"] {
    padding: 8px;
  }
  .product strong,
  .product span {
    overflow-wrap: anywhere;
  }
  .row button {
    flex: 1;
  }
  .actions button {
    width: 100%;
  }
}
/* Aim: compact catalog and one focused configuration at a time. */
.aim-overview {
  overflow-x: auto;
  padding-bottom: 8px;
}
.aim-table {
  width: 100%;
  min-width: 740px;
  table-layout: fixed;
  border-collapse: collapse;
}
.aim-table .aim-marketing-column {
  width: 10%;
}
.aim-table .aim-listing-column {
  width: 25%;
}
.aim-table .aim-goal-column {
  width: 26%;
}
.aim-table th,
.aim-table td {
  padding: 24px 10px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.aim-table thead th {
  padding-top: 18px;
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.aim-table th:first-child,
.aim-table td:first-child {
  padding-left: 0;
}
.aim-table .aim-open {
  gap: 12px;
}
.aim-table .aim-photo {
  width: 48px;
  height: 56px;
  border-radius: 8px;
}
.aim-table .aim-open .aim-photo {
  width: 48px;
  height: 56px;
}
.aim-table .aim-open strong {
  font-size: 14px;
  line-height: 1.45;
}
.aim-table .aim-switch {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 0;
  min-width: 0;
  padding: 0;
}
.aim-table .aim-track {
  width: 30px;
  height: 18px;
}
.aim-table .aim-track > span {
  width: 12px;
  height: 12px;
  left: 2px;
  top: 2px;
}
.aim-table .aim-switch.pending .aim-track > span {
  left: 8px;
}
.aim-table .aim-switch.on .aim-track > span {
  left: 14px;
}
.aim-table .aim-switch small {
  font-size: 10px;
  margin: 0;
}
.aim-decision {
  width: 100%;
  min-height: 64px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
}
.aim-cell-label,
.aim-mobile-completion {
  display: none;
}
.aim-decision:hover,
.aim-decision:focus-visible {
  border-color: var(--line);
  background: var(--surface);
}
.aim-decision-value {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.aim-decision-value i {
  display: block;
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald, #10b981);
  align-self: center;
}
.aim-decision.is-missing .aim-decision-value {
  color: #fca5a5;
}
.aim-decision.is-missing i {
  background: #fb7185;
}
.aim-decision small {
  display: block;
  color: var(--muted);
  margin: 3px 0 0 13px;
  font-size: 10px;
  font-weight: 400;
}
.aim-table thead th:nth-child(5),
.aim-table thead th:nth-child(6) {
  text-align: center;
}
.aim-decision.is-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
}
.aim-completion {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid #10b98180;
  border-radius: 50%;
  background: #10b98112;
  color: var(--mint);
  font-size: 13px;
  font-weight: 600;
}
.is-missing .aim-completion {
  border-color: #fb718580;
  background: #fb718512;
  color: #fda4af;
}
.aim-listing {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.aim-open {
  display: flex;
  align-items: center;
  gap: 28px;
  text-align: left;
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 0;
}
.aim-open strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
}
.aim-open small {
  display: block;
  color: var(--muted);
  margin-top: 7px;
}
.aim-photo {
  width: 104px;
  height: 104px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--surface);
  flex-shrink: 0;
}
.aim-photo.small {
  width: 58px;
  height: 58px;
}
.aim-back {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  margin-bottom: 24px;
}
.aim-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.aim-hero > div {
  flex: 1;
  min-width: 0;
}
.aim-hero h2 {
  font-size: 25px;
  letter-spacing: -0.6px;
}
.aim-setup,
.aim-save {
  background: var(--mint);
  color: #082b25;
  border: 0;
  font-weight: 500;
}
.aim-setup {
  flex-shrink: 0;
}
.aim-status {
  color: #fca5a5;
  font-size: 14px;
  margin: 24px 0;
}
.aim-status.good {
  color: var(--mint);
}
#listings details {
  border-bottom: 1px solid var(--line);
}
#listings summary {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding: 20px 0;
  color: var(--text);
  font-size: 16px;
}
#listings summary::after {
  content: "+";
  color: var(--muted);
  font-size: 22px;
}
#listings details[open] > summary::after {
  content: "−";
}
.aim-state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 12px;
  color: #fca5a5;
  text-align: right;
}
.aim-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.aim-state.good {
  color: var(--mint);
}
#listings fieldset {
  border: 0;
  padding: 4px 0 26px;
  margin: 0;
  min-width: 0;
}
.aim-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.aim-choice {
  background: none;
  color: var(--muted);
  border: 1px solid #405267;
  min-height: 54px;
}
.aim-choice[aria-pressed="true"] {
  background: #164b3e;
  color: #d1fae5;
  border-color: #6ee7b7;
}
.aim-choice:hover {
  border-color: #718397;
}
.aim-choice:has(.aim-choice-recommended) {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.aim-choice-recommended {
  color: #a7f3d0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.is-recommended,
.aim-choice:has(.aim-choice-recommended) {
  border-color: #6ee7b7;
  box-shadow: 0 0 16px #6ee7b71a;
}
.is-recommended:not([aria-pressed="true"]),
.aim-choice:has(.aim-choice-recommended):not([aria-pressed="true"]) {
  background: #102e2d;
  color: #d1fae5;
}
.aim-recommendation {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid #2f6b5a;
  border-radius: 12px;
  background: #0f2d2a;
}
.aim-recommendation-label {
  margin: 0;
  color: var(--mint);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.aim-recommendation strong {
  font-size: 20px;
}
.aim-recommendation small,
.aim-hint,
.aim-recommendation-hint {
  color: var(--muted);
  font-size: 14px;
}
.aim-recommendation-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.aim-recommendation-actions .aim-save {
  margin: 0;
}
.aim-link {
  background: none;
  border: 0;
  padding: 0;
  min-height: 0;
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.aim-payback-label small {
  margin-left: 10px;
  color: var(--muted);
  font-size: 13px;
}
.aim-save {
  display: block;
  margin-top: 20px;
  margin-left: auto;
}
.aim-money-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text);
}
.aim-money-line > span,
.aim-cost {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--surface);
}
.aim-money-line input {
  width: 130px;
}
.aim-money-line input,
.aim-cost input {
  border: 0;
  background: none;
  margin: 0;
  padding: 0;
}
.aim-payback-label {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.aim-recommended {
  font-size: 12px;
  color: var(--mint);
  background: #163c36;
  padding: 3px 9px;
  border-radius: 20px;
}
input.aim-range {
  accent-color: var(--green);
  padding: 0;
  cursor: ew-resize;
}
.aim-range.suggested {
  opacity: 0.45;
}
.aim-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.aim-product {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.aim-product > div:first-of-type {
  flex: 1;
  min-width: 0;
}
.aim-product strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
  overflow-wrap: anywhere;
}
.aim-product small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.aim-cost {
  width: 116px;
  flex-shrink: 0;
}
.aim-cost input {
  min-width: 0;
  width: 100%;
  text-align: right;
}
.aim-eligibility {
  display: flex;
  gap: 6px;
}
.aim-eligibility .aim-choice {
  font-size: 12px;
  min-height: 40px;
  padding: 8px;
}
.aim-product-switch {
  display: none;
}
.aim-cost-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.aim-warning {
  color: #fecaca;
  background: #351e2b;
  border: 1px solid #9f424b;
  padding: 14px 18px;
  border-radius: 9px;
  font-size: 14px;
}
.aim-file {
  position: relative;
  display: table;
  background: #164b3e;
  color: var(--mint);
  padding: 12px 16px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.aim-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.aim-file:focus-within {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
.aim-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  flex-shrink: 0;
  font-size: 12px;
  color: #fca5a5;
  min-width: 110px;
}
.aim-track {
  display: block;
  width: 66px;
  height: 36px;
  border-radius: 22px;
  position: relative;
  background: #a53b47;
  border: 1px solid #f87171;
}
.aim-track > span {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff1f2;
}
@media (max-width: 650px) {
  .aim-hero {
    gap: 16px;
    flex-wrap: wrap;
  }
  .aim-hero .aim-photo {
    width: 80px;
    height: 80px;
  }
  .aim-hero > div {
    flex-basis: calc(100% - 100px);
  }
  .aim-hero h2 {
    font-size: 21px;
  }
  .aim-setup {
    margin-left: 96px;
  }
  .aim-listing {
    gap: 10px;
  }
  .aim-open {
    gap: 14px;
  }
  .aim-open .aim-photo {
    width: 68px;
    height: 68px;
  }
  .aim-open strong {
    font-size: 15px;
  }
  .aim-open small {
    font-size: 12px;
  }
  .aim-switch {
    min-width: 84px;
    padding: 4px;
  }
  .aim-product {
    gap: 10px;
  }
  .aim-photo.small {
    width: 44px;
    height: 44px;
  }
  .aim-eligibility {
    flex-direction: column;
  }
  .aim-cost {
    width: 90px;
    padding: 8px;
  }
  .aim-choices {
    grid-template-columns: 1fr;
  }
  .aim-state {
    max-width: 50%;
    font-size: 11px;
  }
  .aim-cost-heading {
    align-items: flex-start;
  }
}
.aim-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
/* WP-06: real listing states, prepared plans and adapter labels. */
.aim-switch.pending {
  color: var(--mint);
}
.aim-switch.pending .aim-track {
  background: #1f4a3e;
  border-color: var(--mint);
}
.aim-switch.pending .aim-track > span {
  left: 18px;
  background: var(--mint);
}
.aim-switch.on {
  color: var(--green);
}
.aim-switch.on .aim-track {
  background: #0f6b4f;
  border-color: var(--green);
  box-shadow: 0 0 14px #10b98166;
  animation: aim-live-glow 2.6s ease-in-out infinite;
}
.aim-switch.on .aim-track > span {
  left: 35px;
}
@keyframes aim-live-glow {
  0%,
  100% {
    box-shadow: 0 0 10px #10b98144;
  }
  50% {
    box-shadow: 0 0 18px #10b98199;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aim-switch.on .aim-track {
    animation: none;
  }
}
.aim-setup.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}
/* The listing editor uses one card and the same four decisions as the overview. */
.aim-editor-card {
  max-width: 900px;
  margin: 12px auto 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #101e30;
  overflow: hidden;
}
.aim-editor-back {
  padding: 16px 28px 0;
}
.aim-editor-back .aim-back {
  margin: 0;
  min-height: 44px;
}
.aim-editor-card .aim-hero {
  padding: 12px 28px 0;
  border: 0;
  gap: 16px;
}
.aim-editor-card .aim-editor-product {
  display: flex;
  align-items: center;
  gap: 16px;
}
.aim-editor-product .aim-photo {
  width: 60px;
  height: 72px;
  border-radius: 10px;
}
.aim-editor-product h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}
.aim-editor-card .aim-setup {
  font-size: 12px;
  padding: 10px 12px;
}
.aim-editor-card .aim-header-action {
  flex: 0 0 auto;
}
.aim-pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 24px;
  background: #17364a;
  color: #b7e3ff;
  font-size: 13px;
}
.aim-pending-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ad8ff;
  animation: aim-pending-pulse 2.6s ease-in-out infinite;
}
@keyframes aim-pending-pulse {
  50% {
    opacity: 0.65;
    box-shadow:
      0 0 0 4px #84d0fa12,
      0 0 14px #84d0fa70;
  }
}
.aim-status[hidden] + .aim-editor-tabs {
  margin-top: 24px;
}
@media (prefers-reduced-motion: reduce) {
  .aim-pending-badge i {
    animation: none;
  }
}
.aim-editor-card .aim-status {
  margin: 16px 28px 20px;
  font-size: 12px;
}
.aim-editor-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  gap: 8px;
}
.aim-editor-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 14px 6px;
  min-height: 48px;
  background: none;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  color: var(--muted);
}
.aim-editor-tabs button[aria-selected="true"] {
  color: var(--mint);
  border-bottom-color: var(--mint);
}
.aim-tab-state {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #fb7185;
}
.aim-tab-state.good {
  background: var(--green);
}
.aim-editor-panel {
  padding: 28px;
  min-height: 260px;
}
#listings .aim-editor-panel fieldset {
  padding: 0;
}
.aim-editor-panel form + form {
  margin-top: 28px;
}
.aim-editor-panel .aim-range {
  width: 100%;
}
.aim-editor-panel .aim-upload {
  position: relative;
}
@media (max-width: 800px) {
  .aim-overview {
    overflow: visible;
    padding-bottom: 0;
  }
  .aim-table {
    display: block;
    min-width: 0;
  }
  .aim-table colgroup {
    display: none;
  }
  .aim-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .aim-table tbody {
    display: grid;
    gap: 16px;
  }
  .aim-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #101e30;
  }
  .aim-table tbody th,
  .aim-table tbody td {
    display: block;
    padding: 0;
    border: 0;
    min-width: 0;
  }
  .aim-table tbody th {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-right: 76px;
    padding-bottom: 18px;
  }
  .aim-table tbody .aim-marketing-cell {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    padding-top: 7px;
    z-index: 1;
  }
  .aim-table tbody td:nth-child(3),
  .aim-table tbody td:nth-child(4) {
    grid-row: 2;
  }
  .aim-table tbody td:nth-child(5),
  .aim-table tbody td:nth-child(6) {
    grid-row: 3;
  }
  .aim-table tbody td:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .aim-table .aim-open {
    width: 100%;
    gap: 10px;
  }
  .aim-table .aim-open .aim-photo {
    width: 40px;
    height: 50px;
  }
  .aim-table .aim-open strong {
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .aim-table .aim-switch {
    min-width: 60px;
    min-height: 44px;
  }
  .aim-table .aim-switch small {
    font-size: 11px;
  }
  .aim-table .aim-decision {
    display: block;
    border-radius: 0;
    padding: 14px 0;
    min-height: 84px;
    overflow-wrap: anywhere;
  }
  .aim-cell-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 7px;
  }
  .aim-cell-label i {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: var(--green);
  }
  .is-missing .aim-cell-label i {
    background: #fb7185;
  }
  .aim-decision-value i,
  .aim-table .aim-completion {
    display: none;
  }
  .aim-mobile-completion {
    display: block;
  }
  .aim-decision small {
    margin-left: 0;
    font-size: 11px;
  }
}
@media (max-width: 640px) {
  .aim-editor-card .aim-editor-back {
    padding: 0;
  }
  .aim-editor-back .responsive-back {
    position: absolute;
    top: 12px;
    right: 8px;
  }
  .aim-editor-card .aim-hero {
    padding: 20px 60px 0 16px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px 12px;
  }
  .aim-editor-card .aim-editor-product {
    display: contents;
  }
  .aim-editor-product .aim-photo {
    width: 46px;
    height: 56px;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .aim-editor-product h2 {
    font-size: 17px;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }
  .aim-editor-card .aim-setup {
    margin-left: 0;
  }
  .aim-editor-card .aim-header-action {
    margin-left: 0;
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }
  .aim-editor-card .aim-pending-badge {
    font-size: 11px;
    padding: 5px 9px;
    gap: 7px;
  }
  .aim-editor-card .aim-status {
    margin: 12px 16px 18px;
  }
  .aim-editor-tabs {
    padding: 0 8px;
    gap: 0;
    flex-wrap: wrap;
  }
  .aim-editor-tabs button {
    flex: 1 1 40%;
    font-size: 12px;
  }
  .aim-editor-panel {
    padding: 24px 16px;
  }
  .aim-editor-panel form[data-form="payback"] .aim-save,
  .aim-editor-panel form[data-form="profit"] .aim-save,
  .aim-editor-panel form[data-form="ceiling"] .aim-save,
  .aim-editor-panel form[data-form="costs"] .aim-save {
    width: 100%;
  }
  .aim-editor-panel [data-action="upload"] {
    display: none;
  }
  .aim-ad-product .aim-eligibility,
  .aim-ad-product .aim-asin {
    display: none;
  }
  .aim-product-switch {
    display: inline-flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    border: 0;
    background: transparent;
  }
  .aim-product-switch > span {
    display: block;
    position: relative;
    width: 44px;
    height: 26px;
    border: 1px solid #526176;
    border-radius: 20px;
    background: #28384c;
  }
  .aim-product-switch > span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c4cdd9;
    transition: transform 160ms ease;
  }
  .aim-product-switch[aria-checked="true"] > span {
    border-color: #77d5b5;
    background: #1d5d4c;
  }
  .aim-product-switch[aria-checked="true"] > span::after {
    transform: translateX(18px);
    background: #bbf9e1;
  }
  .aim-product-switch[data-unset] > span {
    border-style: dashed;
  }
  @media (prefers-reduced-motion: reduce) {
    .aim-product-switch > span::after {
      transition: none;
    }
  }
}
.aim-status[data-state="needs-attention"] {
  color: #fca5a5;
}
.aim-status[data-state="preparing"],
.aim-status[data-state="ready-for-owner"] {
  color: var(--mint);
}
.aim-status[data-state="pending"] {
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
input.aim-range.unset::-webkit-slider-thumb {
  opacity: 0.25;
}
input.aim-range.unset::-moz-range-thumb {
  opacity: 0.25;
}
.activity-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
#activity-value.caught-up {
  text-shadow: 0 0 18px #a7f3d055;
}
#pr-grow .basis,
#verify-dashboard .pr-basis {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 12px;
}
#pr-grow .comparison.unavailable {
  opacity: 0.75;
}
#pr-grow .comparison-delta.muted {
  color: var(--muted);
}
#pr-grow .comparison-projected {
  display: block;
  margin: -14px 0 16px;
  color: var(--muted);
  font-size: 12px;
}
#pr-grow .expand {
  margin-top: 8px;
  min-height: 36px;
  padding: 6px 12px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
}
#pr-grow .prepared-goals {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}
#pr-grow .target small,
#pr-grow .reading small {
  color: var(--muted);
  font-size: 11px;
}
.pr-sqp .sq-note {
  margin: -8px 0 16px;
  color: var(--muted);
  font-size: 12px;
}

/* Notifications bell (WP-08) */
.header-right {
  position: relative;
  display: flex;
  align-items: center;
}
.bell {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff1f;
  border-radius: 50%;
  background: #ffffff0a;
  color: inherit;
  cursor: pointer;
}
/* Unread notifications use a moving light, without an expanding ring. */
.bell[data-unread="true"] {
  isolation: isolate;
  background: #143631;
  border-color: #86e8ca80;
  color: #d8fff1;
  box-shadow: 0 0 12px #7edbb626;
}
.bell[data-unread="true"]::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(transparent 60%, #a7f3d0 85%, transparent);
  filter: blur(3px);
  animation: notification-moving-light 4s linear infinite;
}
@keyframes notification-moving-light {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bell[data-unread="true"]::before {
    animation: none;
  }
}
.bell-icon {
  display: block;
  width: 16px;
  height: 18px;
  margin: 0 auto;
  border: 2px solid currentColor;
  border-bottom-width: 3px;
  border-radius: 8px 8px 2px 2px;
  box-sizing: border-box;
}
.bell-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #34d399;
  color: #052e22;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.notifications-panel {
  position: absolute;
  top: 54px;
  right: 0;
  z-index: 14;
  width: min(420px, calc(100vw - 32px));
  max-height: 70vh;
  overflow: auto;
  padding: 12px;
  border: 1px solid #ffffff1f;
  border-radius: 14px;
  background: var(--bg, #0b1512);
  box-shadow: 0 16px 40px #00000066;
}
.notifications-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.notification {
  padding: 12px;
  border-bottom: 1px solid #ffffff12;
}
.notification:last-child {
  border-bottom: 0;
}
.notification.unread {
  border-left: 3px solid #34d399;
}
.notification strong {
  display: block;
  font-size: 14px;
}
.notification p {
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.4;
}
.notification time,
.notifications-empty {
  font-size: 12px;
  opacity: 0.7;
}
.notification-line {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.4;
}
.notification-line:empty {
  display: none;
}
.notifications-more {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #ffffff1f;
  border-radius: 10px;
  background: #ffffff0a;
  color: inherit;
  cursor: pointer;
}

.aim-listing-status {
  color: var(--muted);
  font-size: 13px;
}
.aim-value-recommendation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 20px;
}
.aim-value-recommendation > span {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.aim-value-recommendation strong {
  font-size: 18px;
  font-weight: 500;
}
.aim-ad-product.is-recommended {
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  padding: 14px 12px;
  margin: 10px 0;
}
.aim-ad-recommended {
  display: inline-block;
  margin-top: 6px;
}

.aim-sort-label {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 12px;
}
.aim-listing-recommended {
  display: inline-block;
  margin-top: 6px;
}
/* Catalog changes (WP-08 C) */
.aim-catalog-changes {
  margin-top: 28px;
}
.aim-catalog-changes h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.aim-catalog-changes ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aim-catalog-changes li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 2px 12px;
  padding: 8px 0;
  border-bottom: 1px solid #ffffff12;
  font-size: 14px;
}
.aim-catalog-changes li small {
  grid-column: 2;
  opacity: 0.7;
}
.aim-variation-state {
  display: block;
  opacity: 0.75;
}

/* Exit (WP-08 D2) */
.exit-card .row {
  flex-wrap: wrap;
}
.exit-steps {
  margin: 6px 0 10px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.exit-receipt strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
}
a.button {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #ffffff2a;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}
#exit-delete {
  margin-top: 12px;
}
#exit-delete input {
  display: block;
  margin: 8px 0;
  max-width: 240px;
}
/* Approved Aim goal choices and compact, status-accented mobile panels. */
.aim-choices {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.aim-choices:has(.aim-choice[aria-pressed="true"])
  .aim-choice[aria-pressed="false"] {
  background: none;
  border-color: #405267;
  box-shadow: none;
  color: var(--muted);
}
.aim-choices-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.aim-choice-note {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.aim-choice[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}
.aim-presets {
  display: grid;
  gap: 8px;
  margin: 16px 0 6px;
}
.aim-preset {
  justify-self: start;
  padding: 7px 12px;
  border: 1px solid #405267;
  border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.aim-preset[aria-pressed="true"] {
  border-color: var(--accent, #7cc4a6);
  color: var(--accent, #7cc4a6);
}
.aim-preset-profit {
  margin: 0;
}
.aim-fraction-lines {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
}
.aim-fraction-lines li + li {
  margin-top: 4px;
}
.aim-payback-label strong {
  font-size: 14px;
  font-weight: 500;
}
.aim-roas-field + .aim-roas-field {
  margin-top: 26px;
}
.aim-roas-field > label {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.aim-roas-summary {
  display: grid;
  gap: 5px;
}
.aim-roas-summary > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.aim-roas-summary small {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.aim-roas-summary b {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .aim-table tbody tr {
    row-gap: 12px;
  }
  .aim-table tbody td:nth-child(n + 3) {
    border-top: 0;
    padding: 0;
    display: flex;
  }
  .aim-table .aim-decision {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 96px;
    padding: 13px;
    border-radius: 12px;
    border: 1px solid #a8c3d316;
    border-top: 2px solid #91dfbd;
    background: #13283a;
  }
  .aim-table .aim-decision.is-missing {
    border-top-color: #dfbd83;
  }
  .aim-table .aim-cell-label i,
  .aim-table .aim-decision-value i {
    display: none;
  }
  .aim-table .aim-cell-label {
    margin: 0 0 9px;
  }
}
@media (max-width: 650px) {
  .aim-choices {
    grid-template-columns: 1fr;
  }
}

/* Variation choices: unset plus, green On, red Off. */
.aim-ad-product .aim-eligibility {
  display: none;
}
.aim-ad-product .aim-product-switch {
  display: inline-flex;
  flex: 0 0 58px;
  width: 58px;
  min-height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
}
.aim-ad-product .aim-product-switch > span {
  position: relative;
  display: block;
  width: 58px;
  height: 32px;
  border-radius: 24px;
  border: 1px solid #da8793;
  background: #652b36;
}
.aim-ad-product .aim-product-switch > span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f0aeb8;
  transition: transform 160ms ease;
}
.aim-ad-product .aim-product-switch[data-state="on"] > span {
  border-color: #8bdfb6;
  background: #11644b;
}
.aim-ad-product .aim-product-switch[data-state="on"] > span::after {
  transform: translateX(26px);
  background: #b9f5d8;
}
.aim-ad-product .aim-product-switch[data-state="unset"] > span {
  width: 42px;
  height: 42px;
  border-color: #668194;
  background: transparent;
  color: #bdd3de;
  font-size: 27px;
  line-height: 38px;
  border-radius: 50%;
}
.aim-ad-product .aim-product-switch[data-state="unset"] > span::after {
  content: none;
}
.aim-ad-product .aim-ad-recommended {
  display: block;
  width: max-content;
  max-width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  margin-top: 7px;
  font-size: 11px;
  font-weight: 400;
  color: var(--mint);
}
@media (prefers-reduced-motion: reduce) {
  .aim-ad-product .aim-product-switch > span::after {
    transition: none;
  }
}
/* Discovery PR-10: the four seller-facing states, the onboarding progress
   line, the settling timer and the apply-to-all cost shortcut (Aim); CPA by
   placement and the on-demand discovery report (Grow). */
.aim-progress {
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid #2b4054;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
}
.aim-table .aim-switch small[data-seller-state="ready"],
.aim-table .aim-switch small[data-seller-state="collecting"] {
  color: var(--mint);
}
.aim-table .aim-switch small[data-seller-state="live"] {
  color: var(--green);
}
.aim-table .aim-switch small[data-seller-state="needs-attention"] {
  color: #fca5a5;
}
.aim-table .aim-switch small[data-seller-state="off"],
.aim-table .aim-switch small[data-seller-state="dormant"] {
  color: var(--muted);
}
.aim-switch small {
  white-space: nowrap;
}
.aim-state-line {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}
.aim-state-line[data-seller-state="needs-attention"] {
  color: #fca5a5;
}
.aim-state-line[data-seller-state="live"] {
  color: var(--mint);
}
.aim-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 24px;
  background: #17364a;
  color: #b7e3ff;
  font-size: 13px;
  white-space: nowrap;
}
.aim-state-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ad8ff;
}
.aim-state-badge[data-seller-state="collecting"] i {
  animation: aim-pending-pulse 2.6s ease-in-out infinite;
}
.aim-state-badge[data-seller-state="ready"] {
  background: #a7f3d014;
  color: var(--mint);
}
.aim-state-badge[data-seller-state="ready"] i {
  background: var(--mint);
}
.aim-state-badge[data-seller-state="live"] {
  background: #10b9811f;
  color: var(--green);
}
.aim-state-badge[data-seller-state="live"] i {
  background: var(--green);
  box-shadow: 0 0 10px #10b98199;
}
.aim-state-badge[data-seller-state="needs-attention"] {
  background: #f8717114;
  color: #fca5a5;
}
.aim-state-badge[data-seller-state="needs-attention"] i {
  background: #f87171;
}
.aim-state-badge[data-seller-state="off"],
.aim-state-badge[data-seller-state="dormant"] {
  background: transparent;
  color: var(--muted);
  padding-left: 0;
  padding-right: 0;
}
.aim-state-badge[data-seller-state="off"] i,
.aim-state-badge[data-seller-state="dormant"] i {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .aim-state-badge[data-seller-state="collecting"] i {
    animation: none;
  }
}
@media (max-width: 650px) {
  .aim-editor-card .aim-state-badge {
    font-size: 11px;
    padding: 5px 9px;
    gap: 7px;
  }
}
.aim-status[data-state="collecting"],
.aim-status[data-state="ready"],
.aim-status[data-state="live"] {
  color: var(--mint);
}
.aim-status[data-state="off"],
.aim-status[data-state="dormant"] {
  color: var(--muted);
}
.aim-cost-all {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 4px 0 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.aim-cost-all .aim-money-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.aim-cost-all button {
  min-height: 44px;
}
#pr-grow .placement-section,
#pr-grow .discovery-report {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 26px;
}
#pr-grow .placement-listing h3 {
  margin: 18px 0 6px;
}
#pr-grow .placement-campaign {
  padding: 10px 0 14px;
}
#pr-grow .placement-campaign + .placement-campaign {
  border-top: 1px solid #2b405480;
}
#pr-grow .placement-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 6px;
  font-weight: 500;
}
#pr-grow .placement-head small {
  color: var(--muted);
  font-weight: 400;
}
#pr-grow .placement-row {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.6fr)
    minmax(0, 1.4fr);
  gap: 4px 14px;
  padding: 8px 0;
  font-size: 13px;
  align-items: baseline;
}
#pr-grow .placement-row strong {
  font-weight: 500;
}
#pr-grow .placement-row span {
  color: var(--muted);
  overflow-wrap: anywhere;
}
#pr-grow .placement-row .placement-cpa {
  color: var(--mint);
}
#pr-grow .placement-row .placement-cpa.over {
  color: var(--red);
}
#pr-grow .discovery-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}
#pr-grow .discovery-listings button {
  min-height: 44px;
  padding: 0 14px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
}
#pr-grow .discovery-listings button[aria-pressed="true"] {
  color: var(--mint);
  border-color: var(--mint);
  background: #a7f3d009;
}
#pr-grow .discovery-note {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #17364a;
  color: #b7e3ff;
  font-size: 13px;
}
#pr-grow .discovery-attention {
  color: var(--red);
  font-size: 13px;
}
#pr-grow .discovery-numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 18px;
}
#pr-grow .discovery-number span,
#pr-grow .discovery-number small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
#pr-grow .discovery-number strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin: 2px 0;
}
#pr-grow .discovery-list {
  list-style: none;
  margin: 6px 0 16px;
  padding: 0;
}
#pr-grow .discovery-list li {
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid #2b405480;
  font-size: 13px;
}
#pr-grow .discovery-list small {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
@media (max-width: 650px) {
  #pr-grow .placement-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  #pr-grow .placement-row .placement-rate,
  #pr-grow .placement-row .placement-adjustment {
    grid-column: 1 / -1;
  }
  #pr-grow .discovery-numbers {
    grid-template-columns: minmax(0, 1fr);
  }
}
