/* Sign-up and the launch pad: /start (resume, review, launch, every day) and /apply.
   Same world as styles.css: pine carries the big fields, sun gold is the only
   highlight. The launch (web/launch.ts) is the one authored, game-like
   sequence on the site; everything around it stays quiet so it can be loud. */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 1 resume: what it's reading ---------- */
.read-lines { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 10px; width: fit-content; text-align: left; }
.read-lines li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--slate); animation: ob-up .35s var(--ease-out) backwards; }
.read-lines li.done { color: var(--ink); }
.read-lines .t { position: relative; width: 20px; height: 20px; flex: none; }
.read-lines .t i { position: absolute; inset: 0; border: 2px solid var(--line-2); border-top-color: var(--pine); border-radius: 50%; animation: spin .8s linear infinite; }
.read-lines li.done .t i { display: none; }
.read-lines .t svg { position: absolute; inset: 0; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--pine); color: #fff; opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .3s var(--ease-out); }
.read-lines li.done .t svg { opacity: 1; transform: none; }
@keyframes ob-up { from { opacity: 0; transform: translateY(8px); } }

/* ---------- 2 review: profile and preferences ---------- */
.review .rv-head h1 { max-width: 16em; }
.rv-flags { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15.5px; color: var(--ink-2); }
.rv-flags .lead { margin-right: 4px; }
.rv-flag { display: inline-flex; align-items: center; gap: 7px; font: 550 14px/1 var(--font); color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px 7px 10px; cursor: pointer; transition: border-color .12s ease, background-color .12s ease; }
.rv-flag:hover { border-color: var(--ink-2); background: var(--mist); }
.rv-flag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); flex: none; }
.rv-flag.missing::before { background: var(--err); }
.rv-flag.ask::before { background: var(--pine); }
.rv-flag-row { display: contents; }
.rv-all { margin-left: 4px; }
@media (max-width: 640px) {
  .rv-flags .lead { flex-basis: 100%; }
  .rv-flag-row { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; flex-basis: calc(100% + var(--gutter) * 2); }
  .rv-flag-row::-webkit-scrollbar { display: none; }
  .rv-flag { flex: none; }
  .rv-all { margin-left: 0; }
}
.rv-flags .ok { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; }
.rv-flags .ok svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ok); color: #fff; }

/* the ask bar: tell it what to change */
.ask { margin-top: 22px; display: flex; align-items: center; gap: 8px; max-width: 760px; padding: 6px 6px 6px 14px; border: 1.5px solid var(--line-2); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow-card); transition: border-color .15s ease, box-shadow .15s ease; }
.ask:focus-within { border-color: var(--pine); box-shadow: 0 0 0 3px rgba(14, 74, 59, .14), var(--shadow-card); }
.ask-spark { width: 20px; height: 20px; color: var(--sun); flex: none; filter: drop-shadow(0 0 .5px #b58a00); }
.ask input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; padding: 10px 4px; font-size: 16px; background: transparent; }
.ask .btn { min-height: 42px; padding: 8px 16px; flex: none; }
.ask.busy .btn { opacity: .7; cursor: progress; }
.ask-mic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: none; color: var(--slate); cursor: pointer; flex: none; }
.ask-mic:hover { background: var(--mist); color: var(--ink); }
.ask-mic.live { color: var(--err); background: var(--err-soft); }
.ask-try { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; max-width: 760px; }
@media (max-width: 640px) {
  .ask { gap: 4px; padding-left: 12px; }
  .ask .btn { padding: 8px 13px; }
  .ask-mic { width: 34px; }
  .ask-try { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .ask-try::-webkit-scrollbar { display: none; }
  .ask-try button { flex: none; }
}
.ask-try button { font: 500 13.5px/1 var(--font); color: var(--ink-2); background: var(--mist); border: 1px solid transparent; border-radius: 999px; padding: 7px 11px; cursor: pointer; }
.ask-try button:hover { border-color: var(--line-2); color: var(--ink); }
.ask-out { margin-top: 10px; max-width: 760px; font-size: 15px; }
.ask-out:empty { display: none; }
.ask-out .said { color: var(--slate); }
.ask-out ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ask-out li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; background: var(--mint); color: var(--ink); border-radius: 999px; padding: 6px 11px 6px 8px; animation: ob-up .3s var(--ease-out) backwards; }
.ask-out li svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--pine); color: #fff; flex: none; }
.ask-out .bad { color: var(--err); }

.rv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 26px; align-items: start; }
@media (max-width: 980px) { .rv-grid { grid-template-columns: minmax(0, 1fr); } }
.rv-card { border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); padding: 6px 22px 10px; box-shadow: var(--shadow-card); }
.rv-card-head { display: flex; align-items: center; gap: 14px; padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.rv-card-head h2 { font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1.15; }
.rv-card-head p { margin: 2px 0 0; font-size: 14.5px; color: var(--slate); }
.rv-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; background: hsl(var(--h, 160) 46% 91%); color: hsl(var(--h, 160) 60% 24%); font-weight: 750; font-size: 17px; letter-spacing: -0.02em; }
.rv-av-prefs { background: var(--mint); color: var(--pine); }
.rv-av-prefs svg { width: 22px; height: 22px; }
.rv-group { padding: 6px 0; border-bottom: 1px solid var(--line); }
.rv-group:last-child { border-bottom: 0; }
.rv-card .row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 10px 22px; margin: 0 -22px; transition: background-color .4s ease; }
.rv-card .row > label, .rv-card .row > .name { padding-top: 10px; font-size: 14.5px; font-weight: 550; color: var(--ink-2); line-height: 1.3; }
.rv-card .row > .ctl { min-width: 0; }
.rv-card .ctl.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.rv-card .ctl.stack { display: grid; gap: 8px; }
.rv-card .chips { padding-top: 4px; }
.rv-card .chip { font-size: 14.5px; padding: 8px 13px; }
.rv-card .seg.chips { display: inline-flex; flex-wrap: nowrap; gap: 2px; padding: 3px; margin-top: 2px; max-width: 100%; }
.rv-card .seg .chip { padding: 8px 14px; }
@media (max-width: 400px) { .rv-card .seg .chip { padding: 8px 10px; font-size: 14px; } }
.rv-card input[type=month] { max-width: 220px; }
.rv-card select { max-width: 320px; }
.rv-card .mix { max-width: 440px; }
.rv-card .mix input[type=range] { margin-top: 12px; }
.rv-card .mix-labels output { font-weight: 650; color: var(--ink); }
@media (max-width: 560px) {
  .rv-card { padding: 4px 16px 8px; }
  .rv-card .row { grid-template-columns: minmax(0, 1fr); padding: 10px 16px; margin: 0 -16px; }
  .rv-card .row > label, .rv-card .row > .name { padding-top: 2px; }
  .rv-card .ctl.two { grid-template-columns: minmax(0, 1fr); }
}
/* what was guessed, what's missing, what only they can answer */
.rv-pill { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 999px; vertical-align: 1px; white-space: nowrap; }
.row.is-guessed .rv-pill { background: var(--sun-soft); color: #7a5600; }
.row.is-missing .rv-pill { background: var(--err-soft); color: var(--err); }
.row.is-ask .rv-pill { background: var(--pine); color: #fff; }
.rv-card .row.is-guessed { background: linear-gradient(90deg, #fffaeb, rgba(255, 250, 235, 0) 85%); box-shadow: inset 3px 0 0 var(--sun); }
.rv-card .row.is-missing { background: linear-gradient(90deg, #fdf1ef, rgba(253, 241, 239, 0) 85%); box-shadow: inset 3px 0 0 var(--err); }
.rv-card .row.is-ask { background: linear-gradient(90deg, var(--mint), rgba(227, 239, 232, 0) 85%); box-shadow: inset 3px 0 0 var(--pine); }
.rv-note { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--slate); }
.rv-card input[readonly] { background: var(--mist); color: var(--ink-2); cursor: default; }
.rv-card input[readonly]:hover { border-color: var(--line-2); }
.rv-why { grid-column: 2; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--slate); }
.rv-why .linkish { font-size: 13.5px; margin-left: 6px; color: var(--ink); font-weight: 600; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
@media (max-width: 560px) { .rv-why { grid-column: 1; } }
.rv-card .row.changed { animation: ob-changed 1.8s ease; }
@keyframes ob-changed { 0%, 30% { background-color: var(--sun-soft); } 100% { background-color: transparent; } }
.rv-card .row.attn { animation: ob-attn .9s ease 2; }
@keyframes ob-attn { 50% { box-shadow: inset 3px 0 0 var(--pine), 0 0 0 3px rgba(14, 74, 59, .18); } }
.xp { list-style: none; margin: 0; padding: 6px 0 0; display: grid; gap: 8px; font-size: 15px; }
.xp li { display: grid; gap: 1px; }
.xp b { font-weight: 600; }
.xp span { color: var(--slate); font-size: 13.5px; }
.xp .none { color: var(--slate); }
.notes { margin: 6px 0 0; padding-left: 18px; font-size: 15px; }
.notes .linkish { font-size: 13px; margin-left: 6px; color: var(--slate); }

/* the bar that takes them on */
.go-bar { position: sticky; bottom: 0; z-index: 7; margin: 26px calc(var(--gutter) * -1) 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(17, 35, 28, .4); }
.go-bar-in { display: flex; align-items: center; gap: 14px; }
.go-bar .back { flex: none; }
.go-note { flex: 1; min-width: 0; font-size: 14.5px; color: var(--slate); text-align: right; }
.go-note b { color: var(--ink); }
.go-bar .go { flex: none; }
.go-bar .go svg { width: 18px; height: 18px; color: var(--sun); }
@media (max-width: 560px) {
  .go-bar-in { flex-wrap: wrap; gap: 8px 12px; }
  .go-note { order: -1; flex-basis: 100%; text-align: left; }
  .go-bar .go { flex: 1; }
}
.review .err { margin-top: 18px; }

/* ---------- 3 the launch (web/launch.ts) ---------- */
body.onboarding .launch-step { padding-top: 18px; }
.lp {
  position: relative; overflow: clip; isolation: isolate;
  margin-top: 6px; padding: clamp(22px, 3.2vw, 40px);
  border-radius: 28px; color: var(--on-pine);
  min-height: 420px;
  /* Deep pine with two soft light sources, no pattern (2026-11-22). */
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(245, 197, 66, .16), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(70, 190, 150, .18), transparent 60%),
    linear-gradient(160deg, #0f4f3f 0%, #0a3a2e 55%, #072a21 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px -30px rgba(4, 22, 17, .55);
}
.lp :focus-visible { outline-color: var(--sun); }
.lp a { color: #fff; }
.lp-banner { position: relative; z-index: 2; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; background: var(--sun); color: var(--ink); font-weight: 600; font-size: 15.5px; }
.lp-banner a { color: var(--ink); }
.lp-head { position: relative; max-width: 760px; }
.lp-title { color: #fff; font-size: clamp(2.2rem, 1.4rem + 2.9vw, 3.9rem); font-weight: 750; line-height: .98; letter-spacing: -0.05em; outline: none; }
.lp-sub { margin: 16px 0 0; max-width: 40em; color: var(--on-pine-2); font-size: 15.5px; }

/* act 1: the funnel, counted out loud */
.lp-scan { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.lp-scan li { display: grid; grid-template-columns: 22px auto minmax(0, 1fr); align-items: baseline; gap: 12px; font-size: 17px; color: var(--on-pine-2); animation: ob-up .35s var(--ease-out) backwards; }
.lp-scan li b { color: #fff; font-size: 1.35rem; font-weight: 750; letter-spacing: -0.03em; min-width: 2ch; }
.lp-scan li:not(:has(b)) { grid-template-columns: 22px minmax(0, 1fr); }
.lp-tick { position: relative; width: 20px; height: 20px; align-self: center; }
.lp-tick i { position: absolute; inset: 0; border: 2px solid rgba(180, 211, 198, .35); border-top-color: var(--sun); border-radius: 50%; animation: spin .7s linear infinite; }
.lp-tick svg { position: absolute; inset: 0; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--sun); color: var(--pine); opacity: 0; transform: scale(.4); transition: opacity .15s ease, transform .35s cubic-bezier(.2, 1.5, .4, 1); }
.lp-scan li.done .lp-tick i { display: none; }
.lp-scan li.done .lp-tick svg { opacity: 1; transform: none; }
.lp-scan li.done { color: var(--on-pine); }
/* once the cards are dealt, the funnel shrinks to one line of proof */
.lp:not([data-phase="scan"]):not([data-phase="empty"]) .lp-scan { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.lp:not([data-phase="scan"]):not([data-phase="empty"]) .lp-scan li { font-size: 13.5px; gap: 6px; grid-template-columns: auto auto minmax(0, 1fr); animation: none; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); color: var(--on-pine-2); }
.lp:not([data-phase="scan"]):not([data-phase="empty"]) .lp-scan li b { font-size: 13.5px; font-weight: 750; color: var(--sun); min-width: 0; }
.lp:not([data-phase="scan"]):not([data-phase="empty"]) .lp-scan li:last-child { display: none; }
.lp:not([data-phase="scan"]):not([data-phase="empty"]) .lp-tick { display: none; }

/* act 2: the cards */
.lp-pick { position: relative; margin-top: 8px; }
.lp-cards { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lp-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.lp-card { position: relative; min-width: 0; }
.lp.dealt .lp-card { animation: lp-deal .55s var(--ease-out) backwards; animation-delay: calc(var(--i) * 55ms); }
@keyframes lp-deal { from { opacity: 0; transform: translateY(26px) rotate(-1.5deg) scale(.96); } }
.lp-card-in {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%; height: 100%;
  display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "av co" "av ti" "av meta";
  column-gap: 12px; align-content: start;
  padding: 16px 48px 30px 16px; border-radius: 18px; background: linear-gradient(180deg, #fff, #f7faf8); color: var(--ink);
  box-shadow: 0 1px 2px rgba(6, 26, 20, .25), 0 18px 34px -20px rgba(0, 0, 0, .75);
  transition: transform .18s var(--ease-out), background-color .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.lp-card-in:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(6, 26, 20, .25), 0 26px 44px -20px rgba(0, 0, 0, .85); }
.lp-card-in:active { transform: scale(.985); }
.lp-card-in:focus-visible { outline: 2.5px solid var(--sun); outline-offset: 3px; }
.lp-card.off .lp-card-in { background: rgba(255, 255, 255, .07); color: var(--on-pine); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.lp-card.off .lp-ti, .lp-card.off .lp-meta { color: var(--on-pine-2); }
.lp-card.off .lp-av { filter: grayscale(1); opacity: .55; }
.lp-card-in .lp-av { grid-area: av; }
.lp-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; flex: none; background: linear-gradient(145deg, hsl(var(--h, 160) 55% 42%), hsl(var(--h, 160) 60% 26%)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); font-weight: 750; font-size: 18px; line-height: 1; }
.lp-av.sm { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
.lp-co { grid-area: co; font-weight: 750; font-size: 16.5px; letter-spacing: -0.02em; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-tier { display: inline-block; margin-left: 7px; font-size: 11.5px; font-weight: 700; color: #7a5600; background: var(--sun-soft); border-radius: 999px; padding: 3px 7px; vertical-align: 2px; }
.lp-tier.lp-mine { color: var(--pine); background: var(--mint); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; }
/* The 'picks' intro (web/launch.ts quick) has one line: keep it once the cards are up. */
.lp[data-intro="picks"]:not([data-phase="scan"]):not([data-phase="empty"]) .lp-scan li:last-child { display: grid; }
.lp-ti { grid-area: ti; margin-top: 2px; font-size: 15px; line-height: 1.3; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-meta { grid-area: meta; margin-top: 6px; font-size: 13px; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-meta em { font-style: normal; font-weight: 650; color: var(--pine); }
.lp-tick-c { position: absolute; top: 13px; right: 13px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); transition: background-color .15s ease, transform .3s cubic-bezier(.2, 1.6, .4, 1); }
.lp-tick-c svg { width: 14px; height: 14px; }
.lp-card.off .lp-tick-c { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3); transform: scale(.9); }
.lp-card.off .lp-tick-c svg { opacity: 0; }
/* "View posting" reads as a button (Stash, 2026-11-19) */
.lp-card-in { padding-bottom: 42px; }
.lp-peek { position: absolute; right: 14px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 8px; color: var(--slate) !important; font-size: 12.5px; font-weight: 650; text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.lp-card.off .lp-peek { color: var(--on-pine-2) !important; }
.lp-peek svg { width: 12px; height: 12px; }
.lp-peek:hover { background: var(--mint); color: var(--pine) !important; text-decoration: none; }

/* the one button */
.lp-bar { position: sticky; bottom: 14px; z-index: 5; margin-top: 20px; }
.lp-bar-in { display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 22px; border-radius: 20px; background: rgba(7, 38, 30, .78); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 50px -18px rgba(0, 0, 0, .7); }
.lp-bar-l { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.lp-bar-l b { color: #fff; font-size: 17px; font-weight: 700; }
.lp-bar-l span { color: var(--on-pine-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-skip { flex: none; padding: 10px 6px; border: 0; background: none; color: var(--on-pine-2); font: inherit; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lp-skip:hover { color: #fff; }
.lp-go { min-width: 220px; gap: 10px; padding: 13px 24px; font-size: 18px; font-weight: 750; flex: none; border-radius: 14px; background: linear-gradient(180deg, #ffd666, #f2b92c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 24px -10px rgba(245, 197, 66, .8); }
.lp-go svg { width: 20px; height: 20px; }
.lp-go:not([disabled]):not(.busy) { animation: lp-ready 2.6s ease-in-out infinite; }
@keyframes lp-ready { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(245, 197, 66, .55); } 35% { box-shadow: 0 0 0 9px rgba(245, 197, 66, 0); } }
.lp-go.busy { cursor: progress; }
.lp-go.busy svg { animation: spin .8s linear infinite; }
@media (max-width: 640px) {
  .lp[data-phase="pick"] { padding-bottom: 104px; }
  .lp-bar { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; }
  .lp-bar-in { border-radius: 18px 18px 0 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 16px; gap: 12px; }
  .lp-go { min-width: 0; padding: 12px 16px; font-size: 17px; }
  .lp-bar-l b { font-size: 16px; }
  .lp-bar-l span { font-size: 13px; }
}

/* act 3: the run */
.lp-run { display: grid; grid-template-columns: 250px minmax(0, 1fr) 180px; grid-template-areas: "hud hud hud" "queue stage outbox"; gap: 20px 24px; margin-top: 22px; align-items: start; }
.lp-hud { grid-area: hud; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px 34px; }
.lp-stat { position: relative; display: grid; }
.lp-stat b { color: #fff; font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem); font-weight: 750; letter-spacing: -0.045em; line-height: 1; }
.lp-stat span { color: var(--on-pine-2); font-size: 14.5px; margin-top: 4px; }
.lp-stat b.bump { animation: lp-bump .45s var(--ease-out); }
@keyframes lp-bump { 0% { transform: scale(1); } 35% { transform: scale(1.14); color: var(--sun); } 100% { transform: scale(1); } }
.lp-float { position: absolute; left: 100%; top: -2px; margin-left: 8px; white-space: nowrap; color: var(--sun); font-weight: 750; font-size: 15px; pointer-events: none; animation: lp-float .95s var(--ease-out) forwards; }
@keyframes lp-float { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-30px); } }
.lp-queue { grid-area: queue; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 540px; overflow: auto; scrollbar-width: none; }
.lp-queue::-webkit-scrollbar { display: none; }
.lp-q { display: grid; grid-template-columns: 30px minmax(0, 1fr) 20px; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--on-pine-2); transition: background-color .25s ease, box-shadow .25s ease, opacity .25s ease; }
.lp-q span:not(.lp-q-st):not(.lp-av) { min-width: 0; display: grid; line-height: 1.25; }
.lp-q b { color: var(--on-pine); font-size: 14px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-q i { font-style: normal; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-q .lp-av { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
.lp-q-st { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); color: var(--pine); opacity: 0; transform: scale(.4); transition: opacity .15s ease, transform .35s cubic-bezier(.2, 1.6, .4, 1); }
.lp-q-st svg { width: 12px; height: 12px; }
.lp-q.now { background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1.5px rgba(245, 197, 66, .7); }
.lp-q.now b { color: #fff; }
.lp-q.done .lp-q-st { opacity: 1; transform: none; }
.lp-q.done b { color: #fff; }
.lp-stage { grid-area: stage; min-height: 470px; min-width: 0; }
.lp-form { position: relative; overflow: hidden; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(6, 26, 20, .25), 0 30px 60px -26px rgba(0, 0, 0, .7); transform-origin: center; }
.lp-form header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.lp-form header .lp-av { width: 40px; height: 40px; font-size: 16px; }
.lp-form header div { min-width: 0; flex: 1; display: grid; line-height: 1.25; }
.lp-form header b { font-size: 16.5px; font-weight: 700; }
.lp-form header span { font-size: 14px; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-plat { flex: none; font-size: 12.5px; font-weight: 600; color: var(--slate) !important; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 9px; }
.lp-prog { height: 4px; background: var(--mint); }
.lp-prog i { display: block; height: 100%; width: var(--p, 0%); background: var(--sun); border-radius: 0 4px 4px 0; transition: width .3s var(--ease-out); }
.lp-fields { list-style: none; margin: 0; padding: 4px 18px 10px; max-height: 390px; overflow: auto; scrollbar-width: thin; }
.lp-fields .f { display: grid; grid-template-columns: minmax(0, 1fr) 24px; grid-template-areas: "q st" "a st"; column-gap: 12px; padding: 9px 0; border-bottom: 1px solid #edf2ef; animation: ob-up .25s var(--ease-out) backwards; }
.lp-fields .f:last-child { border-bottom: 0; }
.lp-fields .q { grid-area: q; font-size: 13px; color: var(--slate); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-fields .a { grid-area: a; margin-top: 2px; font-size: 15.5px; font-weight: 600; color: var(--ink); min-height: 1.35em; overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; }
.lp-fields .a:empty::after { content: ""; width: 2px; height: 1.1em; background: var(--pine); animation: pulse .9s steps(1) infinite; }
.lp-fields .f.later .a, .lp-fields .f.blank .a, .lp-fields .f.declined .a { color: var(--slate); font-weight: 500; }
.lp-fields .st { grid-area: st; align-self: center; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mist); color: transparent; transition: background-color .2s ease, color .2s ease, transform .3s cubic-bezier(.2, 1.6, .4, 1); transform: scale(.7); }
.lp-fields .st svg { width: 14px; height: 14px; }
.lp-fields .f.in .st { transform: none; background: var(--mint); color: var(--ok); }
.lp-fields .f.in.written .st, .lp-fields .f.in.later .st { background: var(--sun-soft); color: #8a6400; }
.lp-fields .f.in.blank .st, .lp-fields .f.in.declined .st { background: var(--mist); color: var(--slate); }
.lp-fields .up { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: var(--mint); overflow: hidden; flex: none; }
.lp-fields .up i { display: block; height: 100%; width: 100%; background: var(--pine); transform-origin: left; animation: lp-up .5s var(--ease-out) backwards; }
@keyframes lp-up { from { transform: scaleX(0); } }
.lp-more { margin: 0; padding: 0 18px 14px; font-size: 13.5px; color: var(--slate); }
.lp-stamp { position: absolute; right: 22px; top: 70px; padding: 4px 14px 6px; border: 3px solid var(--ok); border-radius: 12px; color: var(--ok); background: rgba(255, 255, 255, .94); font-size: 26px; font-weight: 800; letter-spacing: -0.01em; transform: rotate(-11deg) scale(2.4); opacity: 0; pointer-events: none; }
.lp-form.stamped .lp-stamp { animation: lp-stamp .4s cubic-bezier(.2, 1.35, .4, 1) forwards; }
@keyframes lp-stamp { to { opacity: 1; transform: rotate(-11deg) scale(1); } }
.lp-outbox { grid-area: outbox; position: sticky; top: 90px; display: grid; justify-items: center; gap: 12px; padding-top: 150px; }
.lp-pile { position: relative; width: 150px; height: 150px; }
.lp-sheet { position: absolute; left: 0; right: 0; bottom: calc(var(--k, 0) * 5px); height: 118px; padding: 12px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); transform: rotate(var(--r, 0deg)); display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-content: start; }
.lp-sheet b { align-self: center; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-sheet i { grid-column: 1 / -1; height: 7px; border-radius: 4px; background: var(--mint); }
.lp-sheet i + i { width: 70%; }
.lp-outbox-l { font-size: 14px; color: var(--on-pine-2); }
@media (max-width: 960px) {
  .lp-run { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hud" "queue" "stage"; gap: 16px; }
  .lp-outbox { display: none; }
  .lp-queue { display: flex; gap: 6px; overflow-x: auto; max-height: none; padding: 2px; }
  .lp-q { grid-template-columns: 30px; padding: 4px; background: none; flex: none; }
  .lp-q span:not(.lp-av) { display: none !important; }
  .lp-q.now { background: none; box-shadow: none; }
  .lp-q.now .lp-av { box-shadow: 0 0 0 2px var(--pine), 0 0 0 4px #fff; }
  .lp-q.done .lp-av { box-shadow: 0 0 0 2px var(--pine), 0 0 0 4px var(--sun); }
  .lp-stage { min-height: 430px; }
  .lp-fields { max-height: 330px; }
  .lp-stamp { top: 64px; font-size: 22px; }
}

@media (max-width: 640px) {
  .lp-title { font-size: 1.95rem; }
  .lp:not([data-phase="scan"]):not([data-phase="empty"]) .lp-scan li:not(:nth-child(4)) { display: none; }
  .lp-hud { flex-wrap: nowrap; gap: 22px; }
  .lp-stat b { font-size: 1.9rem; }
  .lp-stat span { font-size: 13.5px; }
  .lp-run { margin-top: 14px; gap: 14px; }
  .lp-form header { padding: 12px 14px; }
  .lp-fields { padding: 2px 14px 8px; max-height: 300px; }
}

/* act 4: done */
.lp-done { grid-area: stage; display: grid; align-content: start; gap: 4px; padding-top: 6px; }
.lp-done .lp-next { margin: 0; color: var(--on-pine); font-size: 17px; max-width: 34em; }
.lp-done .lp-next b { color: #fff; }
.lp-done .lp-small { margin: 6px 0 0; color: var(--on-pine-2); font-size: 15px; max-width: 36em; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lp-actions .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.lp-actions .btn.ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.lp[data-phase="done"] .lp-stage { display: none; }
.lp-confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 20; pointer-events: none; }

/* nothing to launch */
.lp-empty { position: relative; margin-top: 18px; max-width: 40em; }
.lp-empty p { color: var(--on-pine); font-size: 17px; }
.lp-empty .btn { margin-top: 6px; }
.lp .err { color: #ffc2b8; }

/* ---------- 4 every day ---------- */
.dy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; } /* minmax: the phone pack scroller must not widen the page */
.dy-hero { position: relative; overflow: clip; padding: clamp(24px, 3.4vw, 44px); border-radius: 28px; background: var(--pine); color: var(--on-pine); }
.dy-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 13em; }
.dy-hero .lede { margin: 14px 0 0; color: var(--on-pine-2); max-width: 34em; }
.dy-gems { display: flex; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.dy-gem { position: relative; width: 52px; height: 52px; border-radius: 15px; background: radial-gradient(120% 120% at 30% 20%, #ffe58f 0%, var(--sun) 45%, #d9a514 100%); box-shadow: inset 0 -3px 0 rgba(120, 80, 0, .28), inset 0 2px 0 rgba(255, 255, 255, .55), 0 10px 20px -10px rgba(0, 0, 0, .6); transform: rotate(45deg) scale(.82); animation: dy-pop .55s cubic-bezier(.2, 1.5, .4, 1) backwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
.dy-gem::after { content: ""; position: absolute; inset: 9px; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .45); }
.dy-gem.used { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18); }
.dy-gem.used::after { display: none; }
@keyframes dy-pop { from { opacity: 0; transform: rotate(45deg) scale(.2); } }
.dy-gem.spent { animation: dy-spend .6s var(--ease-out) backwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes dy-spend { 0% { opacity: 1; transform: rotate(45deg) scale(.82); background: var(--sun); box-shadow: 0 0 0 0 rgba(245, 197, 66, .7); } 45% { transform: rotate(45deg) scale(1.08); box-shadow: 0 0 0 12px rgba(245, 197, 66, 0); } }
.dy-today { margin: 18px 0 0; font-size: 16px; color: var(--on-pine-2); }
.dy-today b { color: #fff; }
.dy-hero .dy-cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.dy-hero .dy-cta .btn svg { width: 20px; height: 20px; }
.dy-hero .dy-cta .muted { color: var(--on-pine-2); font-size: 15px; }
.dy-hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.dy-hero .btn.ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.dy-launch:empty { display: none; }
.dy-launch .lp { margin-top: 0; }

.dy-shop h2 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); max-width: 16em; }
.dy-shop > .lede { margin-top: 10px; }
.dy-race { margin: 24px 0 0; max-width: 720px; display: grid; gap: 12px; }
.dy-race p { margin: 0; font-size: 15px; color: var(--slate); }
.dy-lane { display: grid; grid-template-columns: 150px minmax(0, 1fr) 90px; align-items: center; gap: 14px; font-size: 15px; }
.dy-lane b { font-weight: 600; color: var(--ink-2); }
.dy-lane em { font-style: normal; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.dy-track { height: 14px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.dy-track i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--line-2); transform-origin: left; animation: dy-grow 1.3s var(--ease-out) backwards; animation-delay: .2s; }
.dy-lane.fast .dy-track i { background: var(--sun); animation-duration: .5s; }
.dy-lane.fast em { color: var(--pine); }

/* the after screen's 'calm' version: packs folded away behind one line */
.dy-shop-calm details { border-radius: 18px; border: 1px solid var(--line); padding: 4px 18px; }
.dy-shop-calm summary { cursor: pointer; padding: 14px 0; font-size: 16px; color: var(--ink-2); list-style-position: inside; }
.dy-shop-calm summary b { color: var(--pine); }
.dy-shop-calm details[open] { padding-bottom: 18px; }
@keyframes dy-grow { from { transform: scaleX(0); } }
@media (max-width: 560px) { .dy-lane { grid-template-columns: minmax(0, 1fr) 80px; } .dy-lane .dy-track { grid-column: 1 / -1; grid-row: 2; } }

.dy-packs { list-style: none; margin: 30px 0 0; padding: 14px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1060px) { .dy-packs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; } }
@media (max-width: 640px) {
  .dy-packs { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(196px, 64%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px var(--gutter) 14px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); scrollbar-width: none; }
  .dy-packs::-webkit-scrollbar { display: none; }
  .dy-pack { scroll-snap-align: center; }
}
.dy-pack { position: relative; min-width: 0; }
.dy-pack form { height: 100%; margin: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform .2s var(--ease-out), box-shadow .2s ease; }
.dy-pack form:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.dy-pack.rec form { background: var(--pine); border-color: var(--pine); color: var(--on-pine); box-shadow: var(--shadow-float); }
.dy-pack .tag { position: absolute; top: -12px; left: 14px; z-index: 1; background: var(--sun); color: var(--ink); font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.dy-stack { position: relative; width: 74px; height: 60px; margin: 2px 0 12px; }
.dy-stack i { position: absolute; left: 0; bottom: calc(var(--k) * 4px); width: 52px; height: 40px; border-radius: 7px; border: 1px solid var(--line-2); background: linear-gradient(var(--pine), var(--pine)) 0 0 / 100% 7px no-repeat, repeating-linear-gradient(transparent 0 9px, #dbe5e0 9px 11px) 6px 13px / calc(100% - 12px) 24px no-repeat, #fff; transform: translateX(calc(var(--k) * 4px)) rotate(calc(var(--k) * 2.5deg - 3deg)); transition: transform .3s var(--ease-out); }
.dy-pack form:hover .dy-stack i { transform: translateX(calc(var(--k) * 6px)) rotate(calc(var(--k) * 5deg - 7deg)); }
.dy-pack.rec .dy-stack i { border-color: rgba(255, 255, 255, .3); background: linear-gradient(var(--sun), var(--sun)) 0 0 / 100% 7px no-repeat, repeating-linear-gradient(transparent 0 9px, #dbe5e0 9px 11px) 6px 13px / calc(100% - 12px) 24px no-repeat, #fff; }
.dy-pack .n { font-size: clamp(2.2rem, 1.7rem + 1.4vw, 3rem); font-weight: 750; letter-spacing: -0.045em; line-height: 1; color: var(--ink); }
.dy-pack .u { font-size: 14px; color: var(--slate); }
.dy-pack .bonus { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ok); background: #e6f4ec; border-radius: 999px; padding: 3px 9px; }
.dy-pack .saves { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.dy-pack .saves b { font-weight: 700; }
.dy-pack .price { margin-top: 2px; font-size: 1.25rem; font-weight: 750; letter-spacing: -0.02em; color: var(--ink); }
.dy-pack .each { font-size: 13.5px; color: var(--slate); margin-bottom: 14px; }
.dy-pack .btn { width: 100%; margin-top: auto; }
.dy-pack.rec .n, .dy-pack.rec .price, .dy-pack.rec .saves { color: #fff; }
.dy-pack.rec .u, .dy-pack.rec .each { color: var(--on-pine-2); }
.dy-pack.rec .bonus { background: rgba(245, 197, 66, .18); color: var(--sun); }
.dy-pack .btn.busy { cursor: progress; opacity: .8; }
.dy-fine { margin-top: 22px; max-width: 760px; display: grid; gap: 6px; }
.dy-fine p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.dy-fine a { color: inherit; }
.dy-cant { max-width: 40em; }
.dy-cant p { color: var(--ink-2); }
.dy-cant .done { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ok); }

.dy-end { display: grid; gap: 14px; padding-top: 8px; border-top: 1px solid var(--line); }
.dy-mail { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--mist); max-width: 760px; }
.dy-mail svg { width: 26px; height: 26px; color: var(--pine); flex: none; }
.dy-mail div { flex: 1; min-width: 0; display: grid; }
.dy-mail b { font-weight: 650; }
.dy-mail span { font-size: 14.5px; color: var(--slate); }
.dy-gmail { max-width: none; background: var(--paper, #fff); box-shadow: 0 1px 0 var(--line); }
.dy-mail .dy-warn { margin-top: 6px; font-size: 13.5px; }
.dy-mail .dy-warn b { font-weight: 650; color: var(--ink); }
.dy-mail-go { display: grid; justify-items: center; gap: 8px; flex: none; }
.dy-mail.done svg { color: var(--ok); }
@media (max-width: 560px) { .dy-mail { flex-wrap: wrap; } .dy-mail .btn, .dy-mail-go { width: 100%; } }
.dy-finish { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.dy-code { font-size: 14.5px; color: var(--ok); font-weight: 600; }

/* ---------- /apply ---------- */
.apply-main { padding: 6px 0 56px; }
.apply-main .lp { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .lp-go:not([disabled]):not(.busy) { animation: none; }
  .lp.dealt .lp-card, .dy-gem, .dy-track i { animation: none; }
}

/* act 3 side by side: the fill A/B test's parallel arm (web/launch.ts runParallel) */
.lp[data-fill="parallel"] .lp-run { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hud" "grid" "stage"; }
.lp[data-fill="parallel"] .lp-queue, .lp[data-fill="parallel"] .lp-stage, .lp[data-fill="parallel"] .lp-outbox { display: none; }
.lp-grid { grid-area: grid; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.lp-tile { display: grid; grid-template-columns: 40px minmax(0, 1fr) 26px; grid-template-areas: "av t st" "prog prog prog" "f f f"; gap: 10px 12px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(6, 26, 20, .25), 0 14px 30px -18px rgba(6, 26, 20, .7); animation: lp-deal .45s var(--ease-out) backwards; animation-delay: calc(var(--i) * 40ms); }
.lp-tile .lp-av { grid-area: av; width: 40px; height: 40px; font-size: 16px; }
.lp-tile-t { grid-area: t; min-width: 0; display: grid; line-height: 1.25; }
.lp-tile-t b { font-size: 15.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-tile-t span { font-size: 13.5px; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-tile-st { grid-area: st; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.lp-tile-st svg { display: none; width: 14px; height: 14px; }
.lp-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--mint); border-top-color: var(--pine); opacity: .35; animation: lp-spin .8s linear infinite; }
.lp-tile.busy .lp-spin { opacity: 1; }
.lp-tile.ready .lp-spin { display: none; }
.lp-tile.ready .lp-tile-st { background: var(--sun); color: var(--ink); animation: lp-pop .35s cubic-bezier(.2, 1.6, .4, 1); }
.lp-tile.ready .lp-tile-st svg { display: block; }
.lp-tile .lp-prog { grid-area: prog; border-radius: 4px; overflow: hidden; }
.lp-tile .lp-prog i { border-radius: 4px; transition: width .2s linear; }
.lp-tile-f { grid-area: f; margin: 0; min-height: 1.35em; font-size: 12.5px; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-tile.ready .lp-tile-f { color: var(--ok); font-weight: 650; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-pop { from { transform: scale(.4); } }
@media (prefers-reduced-motion: reduce) { .lp-spin { animation: none; } .lp-tile { animation: none; } }

/* act 3 as one quick wave: the A/B test's newest arm (web/launch.ts runWave) */
.lp[data-fill="wave"] .lp-run { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hud" "wave" "stage"; }
.lp[data-fill="wave"] .lp-queue, .lp[data-fill="wave"] .lp-stage, .lp[data-fill="wave"] .lp-outbox { display: none; }
.lp-wave { grid-area: wave; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 8px 12px; }
.lp-w { position: relative; overflow: hidden; display: grid; grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); animation: ob-up .3s var(--ease-out) backwards; animation-delay: calc(var(--i) * 25ms); transition: background-color .25s ease, color .25s ease; }
.lp-w .lp-av { width: 34px; height: 34px; font-size: 14px; position: relative; z-index: 1; }
.lp-w-t { min-width: 0; display: grid; line-height: 1.25; position: relative; z-index: 1; }
.lp-w-t b { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-w-f { font-size: 12.5px; color: var(--on-pine-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-w-st { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.lp-w-st svg { width: 13px; height: 13px; opacity: 0; }
.lp-w-bar { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, rgba(245, 197, 66, .08), rgba(245, 197, 66, .28)); }
.lp-w.busy .lp-w-bar { animation: lp-w-sweep var(--ms, 1s) cubic-bezier(.3, .6, .4, 1) forwards; }
.lp-w.ready { background: #fff; color: var(--ink); }
.lp-w.ready .lp-w-bar { opacity: 0; transition: opacity .2s ease; transform: scaleX(1); }
.lp-w.ready .lp-w-f { color: var(--ok); font-weight: 650; }
.lp-w.ready .lp-w-st { background: var(--sun); color: var(--ink); box-shadow: none; animation: lp-pop .35s cubic-bezier(.2, 1.6, .4, 1); }
.lp-w.ready .lp-w-st svg { opacity: 1; }
@keyframes lp-w-sweep { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .lp-w { animation: none; } .lp-w.busy .lp-w-bar { animation: none; transform: scaleX(1); } }
.lp-in { color: var(--on-pine-2); font-weight: 500; white-space: nowrap; }
.lp-in .num { color: #fff; }

/* the free ones: a bucket of 5 that refills, with a live countdown (web/launch.ts bucket) */
.bk-now { margin: 16px 0 0; font-size: 16px; color: var(--on-pine-2); }
.bk-now b { color: #fff; font-variant-numeric: tabular-nums; }
.bk-now > b:first-child { font-size: 1.4em; letter-spacing: -0.02em; }
.bk-dot { margin: 0 8px; opacity: .6; }
.bk-extra { margin: 6px 0 0; font-size: 14.5px; color: var(--on-pine-2); }
.bk-extra b { color: var(--sun); }
.bk-fine { margin: 4px 0 0; font-size: 13px; color: var(--on-pine-2); opacity: .85; }
.lp-bucket { margin-top: 4px; }
.lp-bucket .dy-gems { margin-top: 12px; gap: 8px; }
.lp-bucket .dy-gem { width: 32px; height: 32px; border-radius: 9px; }
.lp-bucket .dy-gem::after { inset: 6px; border-radius: 5px; }
.lp-empty .bk { margin-bottom: 14px; }

/* /apply: what they already launched (web/apply.ts) */
.uw { margin: 8px 0 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.uw-head h2 { margin: 0; font-size: 1.2rem; }
.uw-head p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.uw-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.uw-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.uw-what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.uw-what b { color: var(--ink); }
.uw-st { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--mist); color: var(--ink-2); }
.uw-st svg { width: 12px; height: 12px; }
.uw-st.w-queued { background: var(--sun-soft); color: #5c4400; }
.uw-st.w-sending { background: var(--mint); color: var(--pine); }
.uw-st.w-sent { background: var(--pine); color: #fff; }
.uw-st.w-blocked, .uw-st.w-stalled { background: #fbe9e7; color: #8a2a1a; }
.uw-more { margin: 10px 0 0; font-size: 14.5px; }

/* the (i) on company tiers (Stash, 2026-11-19) */
.info-i { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 4px; padding: 0; border: 1.5px solid var(--line-2); border-radius: 50%; background: var(--paper); color: var(--ink-2); font: 700 11px/1 var(--font); font-style: italic; cursor: pointer; vertical-align: 1px; }
.info-i:hover, .info-i[aria-expanded="true"] { border-color: var(--pine); background: var(--pine); color: #fff; }
.info-box { margin-top: 10px; padding: 12px 14px; border-radius: var(--r-ctl); background: var(--mist); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.info-box p { margin: 0; }
.info-box p + p { margin-top: 8px; }
.info-box b { color: var(--ink); }
.info-n { color: var(--slate); }

/* salary: refused on the spot */
.field-err { margin: 6px 0 0; font-size: 13.5px; color: var(--err); }
.salary input[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px var(--err-soft); }

/* never apply to: a company picker (web/start.ts) */
.cbx { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 44px; padding: 5px 8px; border: 1px solid var(--line-2); border-radius: var(--r-ctl); background: var(--paper); cursor: text; }
.cbx:focus-within { border-color: var(--pine); box-shadow: 0 0 0 3px rgba(14, 74, 59, .12); }
.cbx-chips { display: contents; list-style: none; }
.cbx-chips li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border-radius: 999px; background: var(--mint); color: var(--pine); font-size: 14px; font-weight: 600; }
.cbx-chips button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--pine); cursor: pointer; }
.cbx-chips button:hover { background: rgba(14, 74, 59, .12); }
.cbx-chips svg { width: 12px; height: 12px; }
.cbx input[type=text] { flex: 1; width: auto; min-width: 160px; border: 0; padding: 6px 4px; box-shadow: none; background: transparent; }
.cbx input[type=text]:focus { outline: none; box-shadow: none; }
.cbx-list { position: absolute; z-index: 30; left: -1px; right: -1px; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; border: 1px solid var(--line-2); border-radius: var(--r-ctl); background: var(--paper); box-shadow: 0 14px 30px -12px rgba(6, 26, 20, .35); max-height: 280px; overflow: auto; }
.cbx-list li { padding: 8px 10px; border-radius: 8px; font-size: 14.5px; cursor: pointer; }
.cbx-list li b { font-weight: 700; }
.cbx-list li[aria-selected="true"], .cbx-list li:hover { background: var(--mist); }

/* subscription plans on sign-up's last screen (2026-11-20) */
.dy-packs:has(.dy-plan) { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
@media (max-width: 640px) { .dy-packs:has(.dy-plan) { grid-template-columns: none; } }
.dy-plan .u { font-weight: 700; font-size: 15px; color: var(--ink); }
.dy-plan.rec .u { color: #fff; }
.dy-plan .price { font-size: 1.6rem; margin-top: 6px; }
.dy-plan .each { margin-bottom: 4px; }
.dy-plan .saves { margin: 0 0 14px; }
.dy-feat { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: var(--ink-2); }
.dy-feat li { display: inline-flex; align-items: center; gap: 6px; }
.dy-feat svg { width: 16px; height: 16px; color: var(--ok); }
.dy-plan .price .was { font-size: 0.5em; font-weight: 550; letter-spacing: 0; opacity: 0.7; vertical-align: 0.3em; }

/* Two tiers at sign-up's checkout, value first (2026-11-22). */
.dy-shop .dy-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
@media (max-width: 640px) { .dy-shop .dy-packs { grid-auto-columns: minmax(240px, 82%); } }
.dy-pack .dy-value { margin: 6px 0 14px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.dy-pack .u { font-size: 1.35rem; font-weight: 750; letter-spacing: -.02em; color: var(--ink); }
.dy-pack.rec .u { color: #fff; }
.dy-pack.rec .dy-value { color: var(--on-pine-2); }
.dy-pack.plus form { background: #0b2a22; border-color: rgba(245, 197, 66, .5); color: #fff; box-shadow: var(--shadow-float); }
.dy-pack.plus .u { color: var(--sun); }
.dy-pack.plus .dy-value, .dy-pack.plus .each { color: var(--on-pine-2); }
.dy-pack.plus .price { color: #fff; }
.dy-pack.plus .btn { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.dy-more { margin: 14px 0 0; font-size: 14px; }
.dy-more a { color: var(--slate); }
