/* Parcel — Launch your store (#/launch). Owned by the today-launch builder; everything is scoped under
   .view-today .launch-… (the route's tab is today). The page previews open Your store's page sheet (store.css .store-sheet).
   Layout follows the width of the flow (container "launch"), not the viewport: the sidebar takes room on desktop.
   Model: iOS Setup Assistant. A centred step indicator, a centred title, the step's content, and one primary button in a
   sticky footer that rests on the bottom edge (the tab bar steps aside on this route). */

.view-today .launch {
  container: launch / inline-size;
  display: flex; flex-direction: column;
  /* Fill the screen so the footer rests on the bottom edge even when a step is short. The footer's negative bottom
     margin cancels the page's bottom padding, so this adds up to exactly one screen. */
  min-height: calc(100dvh - var(--navbar-h) - var(--safe-top) - var(--sp-2));
}
.view-today .launch-stage-slot { flex: 1 0 auto; display: flex; flex-direction: column; }
.view-today .launch-stage { flex: 1 0 auto; }

/* ---------------------------------------------------------------- step indicator */
.view-today .launch-top { width: 100%; max-width: 420px; margin: 6px auto 0; }
.view-today .launch-top .flow-steps-caption { text-align: center; }

/* ---------------------------------------------------------------- stage heading */
.view-today .launch-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 640px; margin: 28px auto 0;
}
.view-today .launch-title {
  font-size: var(--fs-title1); line-height: var(--lh-title1); letter-spacing: var(--ls-title1);
  font-weight: var(--w-bold);
  text-wrap: balance;
  border-radius: 8px;
}
.view-today .launch-title:focus { outline: none; }
.view-today .launch-title:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.view-today .launch-sub {
  margin-top: 8px; max-width: 560px;
  font-size: var(--fs-callout); line-height: var(--lh-callout);
  color: var(--label-2);
  text-wrap: pretty;
}
.view-today .launch-eyebrow { margin-bottom: 6px; font-size: var(--fs-footnote); line-height: var(--lh-footnote); font-weight: var(--w-semibold); color: var(--label-2); }
@container launch (min-width: 640px) {
  .view-today .launch-head { margin-top: 36px; }
  .view-today .launch-title { font-size: var(--fs-large); line-height: var(--lh-large); letter-spacing: var(--ls-large); }
  .view-today .launch-sub { font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); }
}
.view-today .launch-body { margin-top: 28px; }
@container launch (min-width: 640px) { .view-today .launch-body { margin-top: 36px; } }

/* A glyph in a soft gradient squircle (the visual at the top of a stage). */
.view-today .launch-glyph {
  --g: var(--indigo);
  position: relative; flex: none;
  display: grid; place-items: center;
  width: 84px; height: 84px; margin-bottom: 18px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(155deg, color-mix(in oklab, var(--g) 62%, #fff), var(--g) 58%, color-mix(in oklab, var(--g) 82%, #000));
  box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--g) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.view-today .launch-glyph.is-blue { --g: var(--blue); }
.view-today .launch-glyph.is-purple { --g: var(--purple); }
.view-today .launch-glyph.is-hero { width: 96px; height: 96px; border-radius: 27px; }
.view-today .launch-glyph.is-hero svg { width: 46px; height: 46px; }
.view-today .launch-glyph-badge {
  position: absolute; right: -8px; bottom: -8px;
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: #fff;
  background: linear-gradient(150deg, var(--orange), color-mix(in oklab, var(--pink) 70%, var(--orange)));
  box-shadow: 0 0 0 3px var(--bg);
}

/* ---------------------------------------------------------------- "autopilot is working" */
.view-today .launch-working { display: flex; flex-direction: column; align-items: center; }
.view-today .launch-working-visual { position: relative; display: grid; place-items: center; }
.view-today .launch-working-visual .launch-glyph { margin: 0; }
.view-today .launch-working-visual.is-head { margin-bottom: 20px; }
.view-today .launch-working-ring {
  position: absolute; inset: -6px;
  border-radius: 30px;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 34%, transparent);
  opacity: 0;
  animation: launch-ring 2.2s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes launch-ring { 0% { opacity: .9; transform: scale(.94); } 70%, 100% { opacity: 0; transform: scale(1.18); } }
.view-today .launch-working-steps {
  width: 100%; max-width: 420px; margin-top: 28px;
  padding: 6px 16px;
  border-radius: var(--r-card);
  background: var(--bg-2);
  box-shadow: var(--shadow-card);
}
.view-today .launch-working-steps.is-build { margin: 0 auto; }
.view-today .launch-wait { display: grid; place-items: center; min-height: 240px; }
.view-today .launch-fail {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  max-width: 420px; margin: 24px auto 0; padding: 28px 20px;
  border-radius: var(--r-card); background: var(--bg-2);
}
.view-today .launch-fail-icon { color: var(--orange); }
.view-today .launch-fail-text { font-size: var(--fs-subhead); line-height: var(--lh-subhead); color: var(--label-2); text-wrap: pretty; }

/* The brand's mark on its own background (Build). */
.view-today .launch-mark {
  display: grid; place-items: center;
  width: 96px; height: 96px; border-radius: 27px;
  background: var(--bg-2);
  box-shadow: var(--shadow-card), inset 0 0 0 var(--hairline) var(--sep);
}
.view-today .launch-mark .brand-logo { width: 64px; height: 64px; }

/* ---------------------------------------------------------------- sticky footer (the one primary button) */
.view-today .launch-footer {
  position: sticky; bottom: 0; z-index: 5;
  margin: var(--sp-7) calc(-1 * var(--gutter)) calc(-1 * (var(--tabbar-space) + var(--sp-8)));
  padding: 22px var(--gutter) calc(12px + var(--tabbar-space));
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent), var(--bg) 22px);
}
.view-today .launch-footer[hidden] { display: none; }
@media (min-width: 1024px) {
  .view-today .launch-footer {
    margin-bottom: calc(-1 * (var(--tabbar-space) + var(--sp-10)));
    padding-bottom: calc(24px + var(--tabbar-space));
  }
}
.view-today .launch-footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  max-width: 400px; margin: 0 auto;
}
.view-today .launch-footer.has-secondary .launch-footer-inner { gap: 2px; }
.view-today .launch-primary { width: 100%; }
.view-today .launch-secondary { margin-top: 2px; }
.view-today .launch-footer-note {
  margin-top: 8px;
  font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2);
  text-align: center; text-wrap: pretty;
}

/* ---------------------------------------------------------------- shared bits */
.view-today .launch-section-title {
  margin: 0 4px 12px;
  font-size: var(--fs-title3); line-height: var(--lh-title3); letter-spacing: var(--ls-title3); font-weight: var(--w-bold);
  text-wrap: balance;
}
.view-today .launch-section-title.is-quiet { font-size: var(--fs-subhead); line-height: var(--lh-subhead); font-weight: var(--w-semibold); color: var(--label-2); letter-spacing: 0; margin-bottom: 6px; }
.view-today .launch-mini-title {
  margin: 0 0 8px;
  font-size: 13px; line-height: 18px; font-weight: var(--w-semibold);
  color: var(--label-2);
  text-transform: uppercase; letter-spacing: .02em;
}
.view-today .launch-card { padding: 6px 18px 16px; border-radius: var(--r-card); background: var(--bg-2); box-shadow: var(--shadow-card); }
.view-today .launch-foot, .view-today .launch-note, .view-today .launch-caption {
  font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); text-wrap: pretty;
}
.view-today .launch-foot { margin: 10px 4px 0; }
.view-today .launch-note { margin: 20px 4px 0; }
.view-today .launch-caption { margin-top: 12px; text-align: center; }
.view-today .launch-ok { color: var(--green); flex: none; --knockout: var(--bg-2); }
.view-today .launch-warn { color: var(--orange); flex: none; --knockout: var(--bg-2); }
.view-today .launch-art {
  display: block; overflow: hidden;
  border-radius: 14px;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 var(--hairline) var(--sep);
}
.view-today .launch-art svg { display: block; width: 100%; height: 100%; }
.view-today .launch-skipped-name { font-weight: var(--w-semibold); color: var(--label); }
.view-today .launch-detail { margin-top: 36px; min-width: 0; }

/* ---------------------------------------------------------------- 1. Welcome */
.view-today .launch-welcome { max-width: 560px; margin: 0 auto; width: 100%; }
.view-today .launch-asks {
  display: flex; align-items: flex-start; justify-content: center; gap: 7px;
  max-width: 460px; margin: 18px auto 0; padding: 10px 14px;
  border-radius: 14px;
  background: var(--accent-tint);
  font-size: var(--fs-footnote); line-height: var(--lh-footnote); font-weight: var(--w-medium);
  color: var(--accent-text);
  text-wrap: pretty;
}
.view-today .launch-asks svg { flex: none; margin-top: 1.5px; }
.view-today .launch-features { display: flex; flex-direction: column; gap: 22px; margin: 32px 0 0; padding: 0 4px; }
.view-today .launch-feature { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.view-today .launch-feature-icon { display: grid; place-items: center; width: 40px; height: 40px; color: var(--tone); }
.view-today .launch-feature-title {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  font-size: var(--fs-headline); line-height: var(--lh-headline); font-weight: var(--w-semibold); letter-spacing: var(--ls-headline);
}
.view-today .launch-you {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 8px;
  border-radius: var(--r-full);
  background: var(--accent-tint); color: var(--accent-text);
  font-size: 12px; line-height: 1; font-weight: var(--w-semibold); letter-spacing: 0;
  white-space: nowrap;
}
.view-today .launch-feature-text {
  margin-top: 3px;
  font-size: var(--fs-subhead); line-height: var(--lh-subhead); color: var(--label-2);
  text-wrap: pretty;
}
.view-today .launch-later {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px;
  margin-top: 32px; padding: 14px 16px;
  border-radius: 16px; background: var(--bg-2); box-shadow: var(--shadow-card);
}
.view-today .launch-later-icon {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  color: var(--indigo-text); background: color-mix(in srgb, var(--indigo) 15%, transparent);
}
.view-today .launch-later-title { font-size: var(--fs-subhead); line-height: var(--lh-subhead); font-weight: var(--w-semibold); }
.view-today .launch-later-text { margin-top: 2px; font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); text-wrap: pretty; }

/* ---------------------------------------------------------------- 2. Niche */
.view-today .launch-niche .launch-body { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
.view-today .launch-nc-art { display: flex; gap: 8px; }
.view-today .launch-nc-name {
  margin-top: 14px;
  font-size: var(--fs-headline); line-height: var(--lh-headline); font-weight: var(--w-semibold); letter-spacing: var(--ls-headline);
}
.view-today .launch-nc-why { margin-top: 3px; font-size: var(--fs-subhead); line-height: var(--lh-subhead); color: var(--label-2); text-wrap: pretty; }
.view-today .launch-nc-score { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 10px; padding-top: 12px; box-shadow: inset 0 var(--hairline) 0 var(--sep); }
.view-today .launch-nc-num {
  font-family: var(--font-rounded); font-size: 34px; line-height: 38px; font-weight: var(--w-bold); letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.view-today .launch-nc-of { font-size: var(--fs-footnote); line-height: var(--lh-footnote); font-weight: var(--w-medium); color: var(--label-2); }
.view-today .launch-nc-ok { flex: none; color: var(--green); --knockout: var(--bg-2); }
.view-today .launch-nc-foot {
  display: flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2);
}
/* Phones (G009): one thin bar made of the score's 5 parts; the part-by-part bars (and their reasons and sources) are in
   "How … scored" under the cards. From 640px of flow width the cards carry the part bars so 3 niches compare side by side. */
.view-today .launch-nc-seg { display: flex; gap: 3px; height: 6px; margin: 2px 0 2px; }
.view-today .launch-nc-seg-part { position: relative; flex: 1 1 0; min-width: 0; border-radius: 3px; background: var(--fill-3); overflow: hidden; }
.view-today .launch-nc-seg-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--green); }
.view-today .launch-nc-seg-part.is-meh .launch-nc-seg-fill { background: var(--orange); }
.view-today .launch-nc-parts { display: none; }
@container launch (min-width: 640px) {
  .view-today .launch-nc-seg { display: none; }
  .view-today .launch-nc-parts { display: flex; }
}
.view-today .launch-nc-thumb { width: 56px; height: 56px; }
@container launch (max-width: 639.98px) {
  .view-today .launch-nc-thumb { width: 48px; height: 48px; border-radius: 12px; }
  .view-today .launch-nc-name { margin-top: 10px; }
  .view-today .launch-nc-score { margin: 10px 0 8px; padding-top: 10px; }
  .view-today .launch-nc-num { font-size: 30px; line-height: 34px; }
  .view-today .launch-nc-foot { margin-top: 10px; }
}
/* Three across: the cards without the "Recommended" badge start their content level with the one that has it. */
@container (min-width: 720px) {
  .view-today .launch-niches .choice:not(:has(.choice-badge)) .choice-body { padding-top: 32px; }
}
.view-today .launch-skipped { margin-top: 28px; padding: 0 4px; }
.view-today .launch-skipped-list { display: flex; flex-direction: column; gap: 6px; }
.view-today .launch-skipped-list li { font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); text-wrap: pretty; }
@container launch (min-width: 880px) {
  .view-today .launch-niche .launch-body { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 40px; }
  .view-today .launch-niche .launch-choices { grid-column: 1 / -1; }
  .view-today .launch-niche .launch-detail { grid-row: span 2; }
  .view-today .launch-niche .launch-skipped { margin-top: 36px; padding-top: 34px; }
  .view-today .launch-niche .launch-note { grid-column: 2; margin-top: 12px; }
}

/* ---------------------------------------------------------------- 3. Brand */
/* Three across only where each card gets ~280px (G021); below that one card per row, laid out in two columns (the logo
   and tagline beside the colours, type and checks) so the rows line up and nothing wraps unevenly. */
@container (min-width: 720px) { .view-today .launch-brands .choice-group { grid-template-columns: minmax(0, 1fr); } }
@container (min-width: 900px) { .view-today .launch-brands .choice-group { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.view-today .launch-bc { display: flex; flex-direction: column; gap: 14px; }
@container (min-width: 520px) and (max-width: 899.98px) {
  .view-today .launch-brands .launch-bc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; align-items: start; }
}
.view-today .launch-bc-logo { display: flex; align-items: center; min-height: 40px; }
.view-today .launch-bc-logo .brand-logo { height: 36px; width: auto; max-width: 100%; }
.view-today .launch-bc-tagline { margin-top: 10px; font-size: var(--fs-subhead); line-height: var(--lh-subhead); color: var(--label-2); text-wrap: pretty; }
.view-today .launch-bc-facts { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.view-today .launch-bc-look { display: flex; align-items: center; min-height: 24px; }
.view-today .launch-bc-look .brand-swatches { flex-wrap: nowrap; }
.view-today .launch-font { display: inline-flex; align-items: baseline; gap: 6px; font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); white-space: nowrap; }
.view-today .launch-font-aa { font-size: 22px; line-height: 1; color: var(--label); }
.view-today .launch-bc-checks {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 12px;
  box-shadow: inset 0 var(--hairline) 0 var(--sep);
}
.view-today .launch-bc-checks li { display: flex; align-items: flex-start; gap: 7px; font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); min-width: 0; }
.view-today .launch-bc-checks li > svg { margin-top: 1.5px; }
.view-today .launch-bc-domain { font-weight: var(--w-semibold); color: var(--label); overflow-wrap: anywhere; }

/* Earlier rounds of names (G011): a disclosure under the new ones, with the same selectable cards. */
.view-today .launch-earlier { margin-top: 16px; }
.view-today .launch-earlier-h { font: inherit; }
.view-today .launch-earlier-toggle {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  width: 100%; min-height: var(--hit); padding: 10px 16px;
  border-radius: var(--r-card);
  background: var(--bg-2); box-shadow: var(--shadow-card);
  color: var(--label); text-align: left;
  font-size: var(--fs-subhead); line-height: var(--lh-subhead);
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-press) linear;
}
.view-today .launch-earlier-toggle:active { background: var(--row-pressed); }
@media (hover: hover) and (pointer: fine) { .view-today .launch-earlier-toggle:hover { background: color-mix(in srgb, var(--bg-2) 96%, var(--label)); } }
.view-today .launch-earlier-label { font-weight: var(--w-semibold); }
.view-today .launch-earlier-pick { color: var(--accent-text); font-weight: var(--w-medium); }
.view-today .launch-earlier-chev { margin-left: auto; color: var(--label-3); transition: transform var(--dur-fast) var(--ease); }
.view-today .launch-earlier.is-open .launch-earlier-chev { transform: rotate(180deg); }
.view-today .launch-earlier-panel { margin-top: 12px; }
.view-today .launch-earlier-panel[hidden] { display: none; }
.view-today .launch-exhausted {
  display: flex; align-items: flex-start; gap: 6px;
  margin: 14px 4px 0;
  font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2);
}
.view-today .launch-exhausted svg { flex: none; margin-top: 1px; }

/* The picked brand, up close: its logo on its own colours (like ad creatives, it doesn't follow the app theme). */
.view-today .launch-bp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@container launch (min-width: 760px) { .view-today .launch-bp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } }
.view-today .launch-bp-board {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow-card), inset 0 0 0 var(--hairline) rgba(0, 0, 0, .06);
  color-scheme: light;
}
.view-today .launch-bp-hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 44px 24px 36px;
  background: var(--bp-surface);
  background-image: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--bp-secondary) 55%, transparent), transparent 70%);
}
.view-today .launch-bp-logo .brand-logo { height: 76px; width: auto; max-width: 100%; }
@container launch (min-width: 760px) { .view-today .launch-bp-logo .brand-logo { height: 92px; } }
.view-today .launch-bp-tagline { margin-top: 14px; font-size: 16px; line-height: 22px; color: var(--bp-muted); text-wrap: balance; }
.view-today .launch-bp-band {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--bp-primary); color: var(--bp-on-primary);
}
.view-today .launch-bp-mark { display: grid; flex: none; }
.view-today .launch-bp-mark .brand-logo { width: 28px; height: 28px; }
.view-today .launch-bp-domain { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 20px; font-weight: var(--w-semibold); overflow-wrap: anywhere; }
.view-today .launch-bp-font { flex: none; font-size: 22px; line-height: 1; }
.view-today .launch-bp-checks { padding: 4px 18px 16px; border-radius: var(--r-card); background: var(--bg-2); box-shadow: var(--shadow-card); }
.view-today .launch-bp-list { display: flex; flex-direction: column; }
.view-today .launch-bp-check { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; padding: 12px 0; }
.view-today .launch-bp-check > svg { margin-top: 2px; }
.view-today .launch-bp-check + .launch-bp-check { box-shadow: inset 0 var(--hairline) 0 var(--sep); }
.view-today .launch-bp-check-title { font-size: var(--fs-subhead); line-height: var(--lh-subhead); font-weight: var(--w-semibold); overflow-wrap: anywhere; }
.view-today .launch-bp-check-text { margin-top: 2px; font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); text-wrap: pretty; }
.view-today .launch-bp-sample {
  display: flex; align-items: flex-start; gap: 6px;
  margin-top: 6px; padding-top: 12px;
  box-shadow: inset 0 var(--hairline) 0 var(--sep);
  font-size: var(--fs-footnote); line-height: var(--lh-footnote); font-weight: var(--w-semibold); color: var(--label-2);
}
.view-today .launch-bp-sample svg { flex: none; margin-top: 2px; }
.view-today .launch-bp-checks .launch-foot { margin: 6px 0 0; }
.view-today .launch-bp-rejected { margin-top: 12px; }
.view-today .launch-bp-rejected-title { font-size: var(--fs-footnote); line-height: var(--lh-footnote); font-weight: var(--w-semibold); color: var(--label-2); }
.view-today .launch-bp-rejected ul { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.view-today .launch-bp-rejected li { font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); text-wrap: pretty; }

/* ---------------------------------------------------------------- 4. Your store */
.view-today .launch-store-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.view-today .launch-store-preview { min-width: 0; }
@container launch (min-width: 780px) {
  .view-today .launch-store-grid { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; }
  .view-today .launch-store-preview { position: sticky; top: calc(var(--navbar-h) + var(--safe-top) + 16px); }
}
@container launch (min-width: 1000px) { .view-today .launch-store-grid { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; } }
.view-today .launch-store-preview .bs-device { --bs-max: 360px; }
.view-today .launch-store-preview .launch-caption { margin-top: 12px; }
.view-today .launch-store-side { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
/* The look (3 design directions) comes first on a phone, above the homepage it changes; wider up it sits beside the preview. */
.view-today .launch-store-grid.has-look { grid-template-areas: "look" "preview" "side"; }
.view-today .launch-store-grid.has-look > .launch-look { grid-area: look; }
.view-today .launch-store-grid.has-look > .launch-store-preview { grid-area: preview; }
.view-today .launch-store-grid.has-look > .launch-store-side { grid-area: side; }
@container launch (min-width: 780px) {
  .view-today .launch-store-grid.has-look { grid-template-areas: "preview look" "preview side"; }
}
.view-today .launch-look { min-width: 0; --dz-bleed: var(--gutter); }
.view-today .launch-look .launch-section-title { margin-bottom: 4px; }
.view-today .launch-look-sub { margin: 0 4px 14px; font-size: var(--fs-subhead); line-height: var(--lh-subhead); color: var(--label-2); text-wrap: pretty; }
.view-today .launch-look-why { margin: 12px 4px 0; font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); text-wrap: pretty; }
.view-today .launch-look-why:empty { display: none; }
.view-today .launch-deliv {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; align-items: start;
  padding: 14px 16px;
  border-radius: 16px; background: var(--bg-2); box-shadow: var(--shadow-card);
}
.view-today .launch-deliv-icon {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  color: var(--teal-text); background: color-mix(in srgb, var(--teal) 16%, transparent);
}
.view-today .launch-deliv-title { font-size: var(--fs-footnote); line-height: var(--lh-footnote); font-weight: var(--w-semibold); color: var(--label-2); }
.view-today .launch-deliv-text { margin-top: 2px; font-size: var(--fs-subhead); line-height: var(--lh-subhead); font-weight: var(--w-medium); text-wrap: pretty; }
.view-today .launch-deliv-note { margin-top: 4px; font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); text-wrap: pretty; }
.view-today .launch-pages .list-row-subtitle,
.view-today .launch-lineup .list-row-subtitle { white-space: normal; overflow-wrap: anywhere; text-wrap: pretty; }
.view-today .launch-pages .list-row-inner { padding-top: 10px; padding-bottom: 10px; }
.view-today .launch-row-art.is-list { width: 40px; height: 40px; border-radius: 10px; }

/* ---------------------------------------------------------------- 5. First product */
/* Phones (G010): the art beside the name, so the numbers and the test plan are above the fold. From 760px of flow
   width: the big art in its own column, beside everything else. */
.view-today .launch-pp { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.view-today .launch-pp-media { display: contents; }
.view-today .launch-pp-art { grid-column: 1; grid-row: 1; width: 104px; height: 104px; border-radius: 22px; box-shadow: var(--shadow-card), inset 0 0 0 var(--hairline) var(--sep); }
.view-today .launch-pp-rank { display: none; }
.view-today .launch-pp-info { display: contents; }
.view-today .launch-pp-id { grid-column: 2; grid-row: 1; align-self: center; min-width: 0; }
.view-today .launch-pp-info > :not(.launch-pp-id) { grid-column: 1 / -1; }
.view-today .launch-pp .launch-stats { margin-top: 18px; }
@container launch (max-width: 359.98px) {
  .view-today .launch-pp { grid-template-columns: 84px minmax(0, 1fr); column-gap: 12px; }
  .view-today .launch-pp-art { width: 84px; height: 84px; border-radius: 18px; }
}
@container launch (min-width: 760px) {
  .view-today .launch-pp { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 44px; }
  .view-today .launch-pp-media { display: flex; flex-direction: column; align-items: center; min-width: 0; grid-column: 1; grid-row: 1 / span 20; position: sticky; top: calc(var(--navbar-h) + var(--safe-top) + 16px); }
  .view-today .launch-pp-art { width: 100%; max-width: 420px; height: auto; aspect-ratio: 1; border-radius: 32px; }
  .view-today .launch-pp-rank { display: block; }
  .view-today .launch-pp-info { display: block; grid-column: 2; min-width: 0; }
  .view-today .launch-pp .launch-stats { margin-top: 20px; }
}
.view-today .launch-pp-info { min-width: 0; }
.view-today .launch-pp-name { font-size: var(--fs-title2); line-height: var(--lh-title2); letter-spacing: var(--ls-title2); font-weight: var(--w-bold); text-wrap: balance; }
.view-today .launch-pp-desc { margin-top: 2px; font-size: var(--fs-subhead); line-height: var(--lh-subhead); color: var(--label-2); }
.view-today .launch-pp-pills { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 10px; }
.view-today .launch-plan-head {
  display: flex; align-items: flex-start; gap: 7px;
  margin-top: 12px; padding: 10px 14px;
  border-radius: 14px;
  background: var(--accent-tint); color: var(--accent-text);
  font-size: var(--fs-subhead); line-height: var(--lh-subhead); font-weight: var(--w-semibold);
  text-wrap: pretty;
}
.view-today .launch-plan-head svg { flex: none; margin-top: 2px; }
.view-today .launch-with { margin-top: 26px; }
.view-today .launch-with-text { padding: 0 2px; font-size: var(--fs-subhead); line-height: var(--lh-subhead); color: var(--label-2); text-wrap: pretty; }
.view-today .launch-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.view-today .launch-stat { min-width: 0; padding: 12px 14px 13px; border-radius: 16px; background: var(--bg-2); box-shadow: var(--shadow-card); }
.view-today .launch-stat-label { font-size: var(--fs-footnote); line-height: var(--lh-footnote); font-weight: var(--w-semibold); color: var(--label-2); }
.view-today .launch-stat-value {
  margin-top: 2px;
  font-family: var(--font-rounded); font-size: 24px; line-height: 30px; font-weight: var(--w-bold); letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.view-today .launch-stat-sub { font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); text-wrap: pretty; }
.view-today .launch-why, .view-today .launch-plan, .view-today .launch-gate { margin-top: 26px; }
@container launch (max-width: 759.98px) { .view-today .launch-pp-name { font-size: var(--fs-title3); line-height: var(--lh-title3); letter-spacing: var(--ls-title3); } }
.view-today .launch-why ul { display: flex; flex-direction: column; gap: 8px; padding: 0 2px; }
.view-today .launch-why li { display: flex; align-items: flex-start; gap: 9px; font-size: var(--fs-subhead); line-height: var(--lh-subhead); text-wrap: pretty; }
.view-today .launch-why li > svg { margin-top: 2.5px; }
.view-today .launch-plan-list { padding: 2px 16px; border-radius: var(--r-card); background: var(--bg-2); box-shadow: var(--shadow-card); }
.view-today .launch-plan-row { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 12px 0; }
.view-today .launch-plan-row + .launch-plan-row { box-shadow: inset 0 var(--hairline) 0 var(--sep); }
.view-today .launch-plan-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--accent-text); background: var(--accent-tint); }
.view-today .launch-plan-title { font-size: var(--fs-subhead); line-height: var(--lh-subhead); font-weight: var(--w-semibold); text-wrap: pretty; }
.view-today .launch-plan-sub { margin-top: 1px; font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); }
.view-today .launch-gate ul { display: flex; flex-direction: column; gap: 7px; padding: 0 2px; }
.view-today .launch-gate li { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); }
.view-today .launch-gate li > svg { margin-top: 1px; }
.view-today .launch-gate-label { color: var(--label); font-weight: var(--w-medium); }

/* ---------------------------------------------------------------- Done */
.view-today .launch-done { max-width: 640px; margin: 0 auto; width: 100%; }
.view-today .launch-done-visual { position: relative; margin-bottom: 26px; }
.view-today .launch-done-logo {
  display: flex; align-items: center; justify-content: center;
  min-width: 200px; padding: 26px 34px;
  border-radius: 26px;
  background: var(--bg-2);
  box-shadow: var(--shadow-card), 0 16px 36px -18px rgba(0, 0, 0, .28), inset 0 0 0 var(--hairline) var(--sep);
  animation: launch-rise 560ms var(--ease) both;
}
.view-today .launch-done-logo .brand-logo { height: 44px; width: auto; max-width: min(60vw, 280px); }
.view-today .launch-done-check {
  position: absolute; right: -12px; bottom: -12px;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: #fff; background: var(--green);
  box-shadow: 0 0 0 4px var(--bg);
  animation: launch-pop 520ms 260ms var(--ease-out) both;
}
@keyframes launch-rise { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes launch-pop { 0% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(1.12); } 100% { transform: none; } }
.view-today .launch-built .list-row-subtitle { white-space: normal; text-wrap: pretty; }
.view-today .launch-row-mark { display: grid; place-items: center; width: 32px; height: 32px; }
.view-today .launch-row-mark .brand-logo { width: 32px; height: 32px; }
.view-today .launch-row-art { width: 32px; height: 32px; border-radius: 8px; }
.view-today .launch-setup { margin-top: 36px; }
.view-today .launch-setup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 4px 10px; }
.view-today .launch-setup-head .launch-section-title { margin: 0; }
.view-today .launch-setup-count { font-size: var(--fs-subhead); line-height: var(--lh-subhead); color: var(--label-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.view-today .launch-setup-count.is-done { color: var(--green-text); font-weight: var(--w-semibold); }
.view-today .launch-setup-meter { margin: 0 4px; }
.view-today .launch-setup-meter .meter-head { display: none; }   /* the heading row already says "3 of 27 done" */
.view-today .launch-setup-intro { margin: 12px 4px 0; font-size: var(--fs-subhead); line-height: var(--lh-subhead); color: var(--label-2); text-wrap: pretty; }
.view-today .launch-setup-intro.is-done { color: var(--green-text); font-weight: var(--w-medium); }
.view-today .launch-done .golive-card { margin-bottom: 28px; }
.view-today .launch-live {
  margin: 0 0 24px; padding: 14px 16px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--green) 14%, var(--bg-2)); color: var(--green-text);
  font-size: var(--fs-subhead); line-height: var(--lh-subhead); font-weight: var(--w-semibold);
}
.view-today .launch-live[hidden] { display: none; }
.view-today .launch-live:focus { outline: none; }
.view-today .launch-live:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.view-today .launch-grps { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.view-today .launch-grp { border-radius: var(--r-list); background: var(--bg-2); overflow: hidden; box-shadow: var(--shadow-card); }
.view-today .launch-grp-h { font: inherit; }
.view-today .launch-grp-head {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 60px; padding: 10px 16px;
  text-align: left; color: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-press) linear;
}
.view-today .launch-grp-head:active { background: var(--row-pressed); }
.view-today .launch-grp-head:focus-visible { outline-offset: -3px; border-radius: var(--r-list); }
@media (hover: hover) and (pointer: fine) { .view-today .launch-grp-head:hover { background: var(--fill-4); } }
.view-today .launch-grp-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.view-today .launch-grp-title { font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); font-weight: var(--w-semibold); }
.view-today .launch-grp-when { font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--label-2); }
.view-today .launch-grp-count { flex: none; font-size: var(--fs-subhead); line-height: var(--lh-subhead); color: var(--label-2); font-variant-numeric: tabular-nums; }
.view-today .launch-grp-count.is-done { color: var(--green-text); font-weight: var(--w-semibold); }
.view-today .launch-grp-chev { transition: transform var(--dur-fast) var(--ease); }
.view-today .launch-grp.is-open .launch-grp-chev { transform: rotate(90deg); }
.view-today .launch-grp-panel { box-shadow: inset 0 var(--hairline) 0 var(--sep); }
.view-today .launch-grp-panel[hidden] { display: none; }
.view-today .launch-grp-list .list { background: transparent; border-radius: 0; }

/* ---------------------------------------------------------------- a store already exists */
.view-today .launch-exists { justify-content: center; }
.view-today .launch-exists-alt { margin-top: -40px; padding-bottom: 56px; text-align: center; font-size: var(--fs-subhead); line-height: var(--lh-subhead); }
.view-today .launch-link { color: var(--accent-text); }
.view-today .launch-link:active { opacity: .45; }

/* ---------------------------------------------------------------- motion + contrast */
@media (prefers-reduced-motion: reduce) {
  .view-today .launch-working-ring { animation: none; opacity: 0; }
  .view-today .launch-done-logo, .view-today .launch-done-check { animation: none; }
  .view-today .launch-grp-chev, .view-today .launch-earlier-chev { transition: none; }
}
@media (forced-colors: active) {
  .view-today .launch-glyph, .view-today .launch-mark, .view-today .launch-done-logo { border: 1px solid CanvasText; }
  .view-today .launch-you, .view-today .launch-asks { border: 1px solid CanvasText; }
  .view-today .launch-bp-board, .view-today .launch-card, .view-today .launch-grp, .view-today .launch-stat, .view-today .launch-plan-list { border: 1px solid CanvasText; }
  .view-today .launch-earlier-toggle, .view-today .launch-plan-head, .view-today .launch-live { border: 1px solid CanvasText; }
  .view-today .launch-nc-seg-part { forced-color-adjust: none; background: Canvas; box-shadow: inset 0 0 0 1px CanvasText; }
  .view-today .launch-nc-seg-fill { forced-color-adjust: none; background: Highlight; }
}
