/* Harbor › Website › Tests (public/site-tests.js). Same Voyage look as the studio (site-studio.css): white cards,
   sticker chips, Anton numbers. Phone first; versions sit side by side from 760px. */

.st { display: grid; gap: 16px; }
.st-top { display: grid; gap: 12px; }
.st-intro { margin: 0; max-width: 640px; color: var(--ink-2, rgb(22 19 10 / 72%)); font-size: 15px; line-height: 1.5; }
.st-top-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.st-cards { gap: 14px; }
.st-card { display: grid; gap: 10px; }
.st-card.is-draft { border: 2px dashed var(--ss-line); box-shadow: none; }
.st-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.st-card-top h2 { margin: 0; font-size: 20px; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
.st-head .st-card-top h2 { font-size: clamp(26px, 6vw, 34px); line-height: 1.05; }
.st-status { flex: none; }
.st-headline { margin: 0; font-weight: 800; font-size: 16px; line-height: 1.35; }

.st-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.st-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; font-size: 14px; }
.st-bar-words { min-width: 0; overflow-wrap: anywhere; }
.st-bar-words b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ss-sun-soft); font-size: 12px; margin-right: 4px; }
.st-bars li.is-lead .st-bar-words b, .st-bars li.is-winner .st-bar-words b { background: var(--ss-ink); color: var(--ss-cream); }
.st-bar-num { font-weight: 800; text-align: right; white-space: nowrap; }
.st-bar-num small { font-weight: 600; color: var(--ink-3, rgb(22 19 10 / 60%)); }
.st-bar-track { grid-column: 1 / -1; display: block; height: 8px; border-radius: 999px; background: #f1eee2; overflow: hidden; }
.st-bar-track > span { display: block; height: 100%; border-radius: inherit; background: var(--ss-ink); min-width: 2px; }
.st-bars li:not(.is-lead):not(.is-winner) .st-bar-track > span { background: rgb(22 19 10 / 35%); }

.st-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ss-ink); text-decoration: none; min-height: 44px; }
.st-head { display: grid; gap: 8px; }
.st-range { display: grid; gap: 10px; }
.st-range .pm-range { flex-wrap: wrap; justify-self: start; border-radius: 22px; }
.st-pick { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.st-pick label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.st-pick input { min-height: 44px; padding: 8px 10px; border-radius: 12px; border: 0; box-shadow: inset 0 0 0 1px var(--ss-line); font: inherit; background: #fff; }

.st-verdict { background: var(--ss-card); border-radius: 24px; padding: 18px 20px; display: grid; gap: 8px; box-shadow: var(--shadow-card, 0 12px 28px -18px rgb(22 19 10 / 35%)); }
.st-verdict.is-winner, .st-verdict.is-chosen { background: var(--ss-green-soft); }
.st-verdict.is-leaning { background: var(--ss-sun-soft); }
.st-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3, rgb(22 19 10 / 60%)); }
.st-verdict-text { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 700; }
.st-need { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.st-progress { height: 10px; border-radius: 999px; background: rgb(22 19 10 / 8%); overflow: hidden; }
.st-progress > span { display: block; height: 100%; background: var(--ss-ink); border-radius: inherit; min-width: 4px; }

.st-variants { display: grid; gap: 12px; }
@media (min-width: 760px) { .st-variants { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.st-variant { background: var(--ss-card); border-radius: 24px; padding: 18px; display: grid; gap: 10px; align-content: start;
  box-shadow: var(--shadow-card, 0 12px 28px -18px rgb(22 19 10 / 35%)); }
.st-variant.is-lead { box-shadow: inset 0 0 0 2px var(--ss-sun), var(--shadow-card, 0 12px 28px -18px rgb(22 19 10 / 35%)); }
.st-variant.is-winner { box-shadow: inset 0 0 0 2px var(--ss-green), var(--shadow-card, 0 12px 28px -18px rgb(22 19 10 / 35%)); }
.st-variant-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.st-variant-name { margin: 0; font-weight: 800; font-size: 14px; }
.st-variant-name small { font-weight: 600; color: var(--ink-3, rgb(22 19 10 / 60%)); }
.st-words { margin: 0; font-family: var(--font-display, Anton, Impact, sans-serif); font-size: clamp(24px, 6vw, 30px); line-height: 1.1; overflow-wrap: anywhere; }
.st-rate { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: baseline; }
.st-rate strong { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 34px; line-height: 1; }
.st-rate > span:not(.st-bar-track) { font-size: 13px; font-weight: 700; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.st-variant:not(.is-lead):not(.is-winner) .st-rate .st-bar-track > span { background: rgb(22 19 10 / 35%); }
.st-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 420px) { .st-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 760px) { .st-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .st-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.st-stats .pm-stat strong { font-size: clamp(20px, 4.6vw, 26px); overflow-wrap: anywhere; }
/* A lead test (judged on requests sent) has two numbers, no orders or sales. */
.st-stats.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* A lead test's funnel per version: Visited → Tapped consult or call → Sent a request. */
.st-funnel { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--ss-line, rgb(22 19 10 / 14%)); }
.st-funnel-title { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3, rgb(22 19 10 / 60%)); }
.st-funnel-title small { font-weight: 600; letter-spacing: 0; text-transform: none; }
.st-funnel-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.st-funnel-steps li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: baseline; font-size: 14px; }
.st-funnel-label { min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.st-funnel-num { white-space: nowrap; text-align: right; }
.st-funnel-num strong { font-weight: 800; }
.st-funnel-num small, .st-funnel-detail { font-weight: 600; color: var(--ink-3, rgb(22 19 10 / 60%)); }
.st-funnel-detail { grid-column: 1 / -1; font-size: 12.5px; }
.st-funnel .st-bar-track { height: 6px; }
.st-funnel .st-bar-track > span { background: rgb(22 19 10 / 35%); }
.st-funnel li:last-child .st-bar-track > span { background: var(--ss-ink); }
.st-pick-winner { justify-self: start; }

.st-actions { margin-top: 4px; }
.st-how, .st-history { background: var(--ss-card); border-radius: 18px; padding: 14px 16px; }
.st-how summary, .st-history summary { cursor: pointer; font-weight: 800; min-height: 28px; }
.st-how p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.st-history ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }

.st-sheet .st-form-row { display: grid; grid-template-columns: minmax(0, 1fr) 88px auto; gap: 8px; align-items: end; margin-bottom: 8px; }
.st-sheet .st-form-row .field { margin: 0; }
.st-sheet input[type="number"] { min-height: 44px; padding: 10px 12px; border-radius: 14px; border: 0; box-shadow: inset 0 0 0 2px #16130a; font: inherit; width: 100%; background: #fff; }
.st-sheet .st-form-remove { min-height: 44px; font-size: 22px; line-height: 1; }
.st-sheet .st-form-add { justify-self: start; margin-top: 8px; }
.st-sheet fieldset small { display: block; margin-top: 4px; }
.st-sheet .st-split-row { display: grid; gap: 6px; }
.st-sheet .st-form-goal small { display: block; margin-top: 6px; }
@media (max-width: 420px) { .st-sheet .st-form-row { grid-template-columns: minmax(0, 1fr) 72px auto; } }
