/* Paws & Clover product screens: the check, the result, the plan app. Tokens come from brand/brand.css.
   material/design: mobile-app (shell), components (tiles, sheet), motion (swaps), industries/pets (ruler). */
.app { max-width: 720px; margin: 0 auto; padding: 24px var(--gut) 96px; }
.ic { width: 22px; height: 22px; flex: none; }
.muted { color: var(--ink-2); font-size: 16px; }
.err { color: var(--bad); font-weight: 600; margin: 8px 0; }
.err:empty { display: none; }
.big { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--kale); font-variant-numeric: tabular-nums; }
.lede { font-size: 20px; line-height: 1.45; color: var(--ink); }
.sec-title { margin: 44px 0 14px; }
.stack > * + * { margin-top: 14px; }

/* App shell: a top bar with back and the logo, a progress bar, one primary action pinned at the bottom. */
.qbar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 96px 1fr 96px; align-items: center;
  height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 6px 0; background: var(--oat); view-transition-name: qbar; }
.qbar .logo { justify-self: center; min-height: 44px; }
.qbar .logo img { height: 28px; }
.qbar-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 22px; background: none; color: var(--kale); cursor: pointer; text-decoration: none; }
.qbar-btn .ic { width: 24px; height: 24px; }
.qbar-btn:active { background: var(--oat-2); }
@media (hover: hover) { .qbar-btn:hover { background: var(--oat-2); } }
.qbar-btn[hidden] { display: grid; visibility: hidden; }
.qbar-step { justify-self: end; padding-right: 10px; font-size: 16px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.qprog { height: 4px; background: var(--line); view-transition-name: qprog; }
.qprog i { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 300ms var(--ease-out); border-radius: 0 2px 2px 0; }
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 14px var(--gut) calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, color-mix(in srgb, var(--oat) 0%, transparent), var(--oat) 30%); view-transition-name: actionbar; }
.actionbar .btn { width: 100%; max-width: 680px; margin: 0 auto; display: flex; }
.actionbar .note { text-align: center; margin: 10px auto 0; font-size: 16px; color: var(--ink-2); }
body.flow { min-height: 100dvh; }
body.flow .foot { display: none; }

/* The check */
.qhero { position: relative; overflow: hidden; color: var(--surface); background: #233226; min-height: clamp(330px, 50svh, 520px); display: flex; align-items: flex-end; }
.qhero img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.qhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(5 22 13 / .86) 0%, rgb(5 22 13 / .5) 38%, transparent 68%); }
.qhero-in { position: relative; z-index: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 24px var(--gut) 26px; }
.qhero h1 { color: var(--surface); margin: 0 0 10px; font-size: clamp(36px, 3vw + 26px, 54px); letter-spacing: -0.03em; }
.qhero p { color: var(--surface); margin: 0; font-size: 18px; max-width: 36ch; }
body.atop .qbar { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
body.atop .qbar .logo img { filter: brightness(0) invert(1); }
.qhero[hidden] { display: none; }
.qscreen { max-width: 720px; margin: 0 auto; padding: 22px var(--gut) 140px; view-transition-name: qcard; }
.qscreen h1, .qscreen .q-h { font-size: clamp(30px, 1.5vw + 24px, 40px); line-height: 1.1; letter-spacing: -0.025em; margin: 6px 0 8px; }
.q-sub { color: var(--ink-2); margin: 0 0 20px; }
.q-trust { margin: 18px 0 0; font-size: 16px; color: var(--ink-2); }
.tiles { display: grid; gap: 12px; margin-top: 18px; border: 0; padding: 0; min-width: 0; }
.tiles legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tile { position: relative; display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 14px 54px 14px 18px; margin: 0;
  background: var(--surface); border-radius: var(--r-card); cursor: pointer; font-weight: 400;
  box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-1);
  transition: box-shadow 200ms var(--ease-out), background-color 200ms var(--ease-out), transform 120ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tile .ic { width: 26px; height: 26px; color: var(--green); }
.t-main { display: grid; gap: 2px; min-width: 0; }
.t-title { font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--ink); }
.t-sub { font-size: 16px; line-height: 1.35; color: var(--ink-2); }
.tile::after { content: ""; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 24px; height: 24px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ring); background: var(--surface) center / 14px no-repeat; transition: background-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out); }
@media (hover: hover) { .tile:hover { background: var(--oat-2); box-shadow: inset 0 0 0 1.5px var(--ring), var(--shadow-1); } }
.tile:active { transform: scale(.98); }
.tile:has(:checked) { background: var(--green-soft); box-shadow: inset 0 0 0 2px var(--green); }
.tile:has(:checked)::after { box-shadow: none; background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.tile:has(:focus-visible) { outline: 3px solid color-mix(in srgb, var(--green) 55%, transparent); outline-offset: 2px; }
.tiles.row3 { grid-template-columns: repeat(3, 1fr); }
.tiles.row3 .tile { justify-content: center; padding: 14px 10px; min-height: 64px; text-align: center; }
.tiles.row3 .tile::after { display: none; }
.madlib { margin: 6px 0 0; font-size: clamp(30px, 1.5vw + 24px, 40px); line-height: 1.25; font-weight: 800; color: var(--kale); letter-spacing: -0.025em; }
.madlib label { font: inherit; color: inherit; margin: 0 0 6px; }
.madlib input[type=text] { display: block; width: 100%; min-height: 64px; padding: 0 2px; font: 800 clamp(30px, 1.5vw + 24px, 40px)/1.2 var(--font); letter-spacing: -0.02em; color: var(--green);
  background: transparent; border-radius: 0; box-shadow: inset 0 -3px 0 var(--ring); }
.madlib input[type=text]:focus { box-shadow: inset 0 -3px 0 var(--green); }
.madlib input::placeholder { color: color-mix(in srgb, var(--ink) 28%, transparent); }
.teach { margin-top: 18px; }
.working { display: grid; justify-items: start; gap: 16px; padding-top: 30px; }
.working .spin { width: 32px; height: 32px; border-width: 3px; color: var(--green); }
.gate-list { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 12px; }
.gate-list li { display: flex; gap: 12px; align-items: flex-start; }
.gate-list .ic { color: var(--green); margin-top: 2px; }
.field { margin: 0 0 6px; }
.privacy { font-size: 16px; color: var(--ink-2); margin: 12px 0 0; }

/* The distance ruler */
.ruler { margin: 0; padding: 20px 20px 18px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-2); position: relative; }
.r-label { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: var(--ink-2); }
.r-ends { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--kale); margin-bottom: 40px; }
.r-ends span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.r-ends .ic { color: var(--green); }
.r-track { position: relative; height: 64px; border-radius: 16px; background: var(--oat-2); overflow: visible; }
.r-track > i { position: absolute; top: 0; bottom: 0; display: block; font-style: normal; }
.r-close span { position: absolute; left: 14px; top: 50%; translate: 0 -50%; font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.r-close { left: 0; background: var(--coral-soft); border-radius: 16px 0 0 16px; }
.r-calm { right: 0; background: var(--green-soft); border-radius: 0 16px 16px 0; }
.r-calm span { position: absolute; left: 14px; right: 10px; top: 50%; translate: 0 -50%; font-size: 16px; line-height: 1.25; color: var(--kale); }
.r-calm b { display: block; }
.r-tick { width: 3px; margin-left: -1.5px; background: var(--coral); top: -12px !important; border-radius: 2px; }
.r-was { width: 0; border-left: 2px dashed color-mix(in srgb, var(--kale) 40%, transparent); top: -4px !important; bottom: -4px !important; }
.r-flag { position: absolute; bottom: calc(100% + 12px); translate: -50% 0; white-space: nowrap; font-size: 16px; line-height: 1.2; color: var(--ink); }
.r-flag b { color: var(--ink); font-weight: 800; }
.r-flag::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; background: var(--coral); }
.r-scale { position: relative; height: 26px; margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.r-scale span { position: absolute; top: 4px; translate: -100% 0; white-space: nowrap; }
.r-scale span::before { content: ""; position: absolute; right: 0; top: -12px; height: 8px; border-left: 1.5px solid var(--ring); }
.r-cap { margin: 10px 0 0; font-size: 16px; color: var(--ink-2); }
.r-cap b { color: var(--kale); }

/* Drill cards */
.drill { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-2); padding: 22px; }
.drill + .drill { margin-top: 14px; }
.drill h3 { margin: 0 0 6px; }
.d-day { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--green); }
.d-meta { display: flex; align-items: center; gap: 6px; margin: 0 0 16px; font-size: 16px; color: var(--ink-2); }
.d-meta .ic { width: 18px; height: 18px; color: var(--green); }
.d-gap { width: 10px; }
.d-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.d-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.d-steps .n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--kale); font-weight: 800; font-size: 16px; }
.d-more { margin-top: 14px; }
.d-more summary { list-style: none; display: flex; align-items: center; min-height: 52px; padding: 0; margin: 0; border-top: 1px solid var(--hair); color: var(--green); font-weight: 600; cursor: pointer; }
.d-more summary::-webkit-details-marker { display: none; }
.d-more summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border: solid var(--kale); border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -3px; transition: rotate 200ms var(--ease-out); }
.d-more[open] summary::after { rotate: 225deg; translate: 0 2px; }
.d-more[open] summary { margin-bottom: 16px; }
.d-why { margin: 16px 0 0; font-size: 16px; color: var(--ink-2); }
.d-why b { color: var(--kale); }
.day-row { display: flex; align-items: center; gap: 14px; }

/* Result */
.res-hero { padding-top: 8px; }
.res-hero h1 { margin-bottom: 18px; }
.safety { padding: 20px 22px; border-radius: var(--r-card); background: var(--oat-2); margin: 0 0 18px; }
.safety h2, .safety h3 { font-size: 20px; margin: 0 0 6px; color: var(--ink); }
.safety p { margin: 0; }
.safety.stop { background: var(--coral-soft); }
.weeks12 { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-2); padding: 22px; }
.wk-bar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 6px 0 8px; }
.wk-bar i { height: 40px; border-radius: 8px; background: var(--green); opacity: var(--o, 1); }
.wk-bar i.home { background: var(--oat-2); opacity: 1; }
.wk-labels { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; font-size: 16px; color: var(--ink-2); }
.wk-labels span { white-space: nowrap; }
.wk-labels b { display: block; color: var(--kale); font-variant-numeric: tabular-nums; }
.wk-list { list-style: none; margin: 0; padding: 0; }
.wk-list li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--hair); }
.wk-list li b { min-width: 72px; color: var(--kale); }
.wk-list .ft { margin-left: auto; white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.faq { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-2); padding: 4px 22px; }
.faq .acc:first-child { border-top: 0; }
.faq .acc:last-child { border-bottom: 0; }
.buy { margin-top: 44px; scroll-margin-top: 72px; }
.buy-for { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-weight: 600; color: var(--kale); }
.buy-for .ic { color: var(--green); }
.price-card { background: var(--surface); border-radius: var(--r-card); padding: 24px 22px; box-shadow: inset 0 0 0 2px var(--green), var(--shadow-2); }
.price-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 4px; }
.price-top .amt { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--kale); font-variant-numeric: tabular-nums; }
.price-top .per { font-weight: 600; color: var(--kale); }
.price-sub { margin: 0 0 18px; color: var(--ink-2); }
.incl { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.incl li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.incl li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--green) center / 13px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.vs { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r-field); background: var(--oat); font-size: 16px; }
.refund { display: flex; gap: 12px; margin: 0 0 18px; }
.refund .ic { color: var(--green); margin-top: 2px; }
.fine { font-size: 16px; color: var(--ink-2); margin: 12px 0 0; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -1px 0 var(--hair), var(--shadow-sheet); color: var(--ink); text-decoration: none;
  transition: transform 250ms var(--ease-out); }
.buybar[hidden] { display: flex; transform: translateY(110%); pointer-events: none; visibility: hidden; }
.buybar .bb-price { display: grid; line-height: 1.2; }
.buybar .bb-price b { font-size: 20px; color: var(--kale); }
.buybar .bb-price span { font-size: 16px; color: var(--ink-2); }
.buybar .btn { min-height: 48px; padding: 0 22px; }
@media (min-width: 760px) { .buybar { display: none !important; } }
.keep { margin-top: 18px; }

/* Thanks */
.paid-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--surface); margin: 8px 0 18px; }
.paid-mark .ic { width: 32px; height: 32px; stroke-width: 2.6; }

/* The plan app: today */
.today-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 14px; }
.today-head h1 { font-size: clamp(30px, 1.5vw + 24px, 40px); margin: 0; }
.streak { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--r-btn); background: var(--surface); box-shadow: var(--shadow-1); font-weight: 800; color: var(--kale); font-variant-numeric: tabular-nums; white-space: nowrap; }
.streak .ic { width: 20px; height: 20px; color: var(--marigold-2); }
.today-card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-2); padding: 22px; view-transition-name: today; }
.today-card.done { background: var(--green-soft); box-shadow: inset 0 0 0 2px var(--green); }
.tc-day { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--green); }
.today-card h2 { font-size: 26px; margin: 0 0 6px; }
.today-card .d-meta { margin-bottom: 18px; }
.tc-done { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 800; color: var(--kale); }
.tc-done .ic { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--green); color: var(--surface); stroke-width: 3; }
.dist-card { margin-top: 14px; }
.dist-card .ruler { padding: 0; box-shadow: none; background: none; border-radius: 0; }
.dist-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.dist-head .big { font-size: 56px; }
.dist-card .k, .ph-dist .k, .dist-head .k { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--ink-2); }
.delta { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: var(--r-btn); background: var(--green-soft); color: var(--kale); font-weight: 800; font-size: 16px; white-space: nowrap; }
.delta .ic { width: 16px; height: 16px; stroke-width: 3; }
.delta.flat { background: var(--oat-2); color: var(--ink-2); font-weight: 600; }
.adj { margin: 14px 0 0; font-size: 16px; color: var(--ink); }
.week { margin-top: 14px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-2); padding: 18px 18px 20px; }
.week-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 4px; }
.week-head h2 { font-size: 20px; margin: 0; }
.week-nav { display: flex; gap: 4px; }
.week-nav button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 22px; background: var(--oat); color: var(--kale); cursor: pointer; }
.week-nav button:disabled { opacity: .35; cursor: default; }
.week-nav button:not(:disabled):active { transform: scale(.94); }
.week-nav .ic { width: 20px; height: 20px; }
.week-nav .fwd .ic { rotate: 180deg; }
.week-theme { margin: 0 0 14px; font-size: 16px; color: var(--ink-2); }
.dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dot { display: grid; justify-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--ink-2); border-radius: 14px; min-height: 64px; }
.dot i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); font-style: normal; font-size: 16px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dot.done i { background: var(--green-soft); box-shadow: none; color: var(--green); }
.dot.today i { background: var(--kale); box-shadow: none; color: var(--surface); }
.dot.today.done i { background: var(--green); color: var(--surface); }
.dot.sel:not(.today):not(.done) i { box-shadow: inset 0 0 0 2px var(--green); color: var(--kale); }
.dot.missed i { box-shadow: inset 0 0 0 2px var(--line); background: transparent; }
.dot.rest i { box-shadow: inset 0 0 0 2px var(--line); border-radius: 12px; }
.dot span { font-size: 16px; }
@media (hover: hover) { .dot:hover { background: var(--oat); } }
.log-btn { margin-top: 14px; }
.more { margin-top: 30px; }
.walks { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-2); }
.walks li { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 18px; }
.walks li + li { border-top: 1px solid var(--hair); }
.walks .w-day { min-width: 64px; font-weight: 600; color: var(--kale); }
.walks .w-ft { margin-left: auto; font-weight: 800; color: var(--kale); font-variant-numeric: tabular-nums; }
.walks .w-rx { color: var(--ink-2); font-size: 16px; }
.walks .empty { color: var(--ink-2); }
.help { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 28px; }
.help a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
@media (hover: hover) { .help a:hover { color: var(--green); text-decoration: underline; } }
.lost { max-width: 520px; }

/* The walk log: a bottom sheet (a centred card from 640px) */
.bsheet { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: 640px; max-height: 92dvh; padding: 0; border: 0;
  border-radius: var(--r-sheet) var(--r-sheet) 0 0; overflow: auto; overscroll-behavior: contain; background: var(--oat); color: var(--ink); box-shadow: var(--shadow-sheet);
  translate: 0 100%; transition: translate .45s var(--ease-sheet), overlay .45s allow-discrete, display .45s allow-discrete; }
.bsheet[open] { translate: 0 0; }
@starting-style { .bsheet[open] { translate: 0 100%; } }
.bsheet::backdrop { background: rgb(14 25 19 / 0); transition: background-color .45s var(--ease-sheet), overlay .45s allow-discrete, display .45s allow-discrete; }
.bsheet[open]::backdrop { background: rgb(14 25 19 / .42); }
@starting-style { .bsheet[open]::backdrop { background: rgb(14 25 19 / 0); } }
.bsheet-body { padding: 8px var(--gut) calc(20px + env(safe-area-inset-bottom)); }
.grab { width: 40px; height: 5px; border-radius: 3px; margin: 4px auto 14px; background: var(--ring); }
.bsheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.bsheet-top h2 { font-size: 26px; margin: 0; }
.bsheet h3 { font-size: 18px; margin: 20px 0 10px; color: var(--kale); }
.stepper { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); }
.stepper button { width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--oat-2); color: var(--kale); cursor: pointer; transition: transform 120ms var(--ease-out); }
.stepper button:active { transform: scale(.94); }
.stepper .ic { width: 24px; height: 24px; stroke-width: 2.6; }
.st-mid { display: grid; justify-items: center; gap: 0; }
.st-val { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.stepper input[type=number] { width: 3.2ch; min-height: 0; padding: 0; text-align: right; font: 800 44px/1.05 var(--font); letter-spacing: -0.03em; color: var(--kale); background: transparent; box-shadow: none; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input[type=number]::-webkit-inner-spin-button, .stepper input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input[type=number]:focus { box-shadow: inset 0 -3px 0 var(--green); }
.st-unit { font-size: 20px; font-weight: 800; color: var(--kale); }
.st-houses { font-size: 16px; color: var(--ink-2); }
.bsheet .btn--block { margin-top: 22px; }
@media (min-width: 640px) {
  .bsheet { inset: 0; margin: auto; width: min(520px, calc(100% - 48px)); height: fit-content; border-radius: var(--r-sheet); translate: none; opacity: 0; scale: .96;
    transition: opacity .2s var(--ease-out), scale .2s var(--ease-out), overlay .2s allow-discrete, display .2s allow-discrete; }
  .bsheet[open] { opacity: 1; scale: 1; }
  @starting-style { .bsheet[open] { opacity: 0; scale: .96; } }
  .grab { display: none; }
}
html:has(dialog[open]) { overflow: hidden; }

/* The drill player: one step per screen */
.player { max-width: 720px; margin: 0 auto; padding: 8px var(--gut) 160px; }
.pl-step { margin: 18px 0 0; font-size: 16px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.pl-title { margin: 4px 0 22px; font-size: 20px; color: var(--ink-2); font-weight: 600; }
.pl-text { font-size: clamp(26px, 1vw + 22px, 32px); line-height: 1.3; font-weight: 800; letter-spacing: -0.015em; color: var(--kale); margin: 0; max-width: 28ch; }
.pl-dist { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 10px 16px; border-radius: var(--r-btn); background: var(--green-soft); font-weight: 600; color: var(--kale); }
.pl-dist .ic { color: var(--green); }
.pl-done h1 { margin-top: 18px; }

/* Guides, method and sample pages */
.guide { max-width: 720px; }
.guide h2 { margin-top: 1.6em; }
.photo { width: 100%; height: auto; border-radius: var(--r-card); margin: 12px 0 6px; }
ol.steps { padding-left: 1.3em; margin: .4em 0; }
ol.steps li { margin: .35em 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }

/* Screen swaps: forward slides left, back slides right (material/design/motion.md) */
::view-transition { pointer-events: none; } /* taps reach the new screen while it glides in */
::view-transition-group(*) { animation-duration: 240ms; animation-timing-function: var(--ease-out); }
@keyframes vt-out-l { to { opacity: 0; transform: translateX(-28px); } }
@keyframes vt-in-r { from { opacity: 0; transform: translateX(28px); } }
@keyframes vt-out-r { to { opacity: 0; transform: translateX(28px); } }
@keyframes vt-in-l { from { opacity: 0; transform: translateX(-28px); } }
html[data-dir="forward"]::view-transition-old(qcard) { animation: 150ms cubic-bezier(.3,0,.8,.15) both vt-out-l; }
html[data-dir="forward"]::view-transition-new(qcard) { animation: 240ms var(--ease-out) both vt-in-r; }
html[data-dir="back"]::view-transition-old(qcard) { animation: 150ms cubic-bezier(.3,0,.8,.15) both vt-out-r; }
html[data-dir="back"]::view-transition-new(qcard) { animation: 240ms var(--ease-out) both vt-in-l; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
.buy .btn, .buy input, .keep input, .keep .btn { scroll-margin: 90px 0 120px; } /* never under the sticky bars */
.pl-bar { display: flex; gap: 6px; margin-top: 10px; }
.pl-bar i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.pl-bar i.on { background: var(--green); }

/* The sample week: one paper sheet, drills as plain rows inside it */
.guide .sheet { position: static; margin: 24px 0; padding: 26px 22px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-2); translate: none; }
.sheet .tag { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: var(--r-chip); background: var(--green-soft); color: var(--kale); font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.sheet-meta { font-size: 16px; color: var(--ink-2); }
.sheet .sday { margin: 28px 0 8px; font-size: 16px; color: var(--green); }
.sheet .drill { background: none; box-shadow: none; border-radius: 0; padding: 12px 0; border-top: 1px solid var(--hair); }
.sheet .drill + .drill { margin-top: 0; }
.sheet .drill h4 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.01em; color: var(--kale); }
.d-meta-s { display: block; font-size: 16px; font-weight: 400; color: var(--ink-2); margin-top: 2px; }
.guide h1 { margin-bottom: 18px; }
.guide table { font-size: 16px; }

/* Round 2 (crit 2026-10-21): the result as a colour-field moment, the email step's locked preview, the player's photo */
.res-card { background: var(--kale); color: var(--surface); border-radius: 24px; padding: 24px 22px 22px; box-shadow: var(--shadow-2); }
.res-card .res-k { margin: 0; font-size: 16px; font-weight: 600; color: #cfe6d8; }
.res-num { margin: 2px 0 4px; font-size: 96px; line-height: 1; font-weight: 800; letter-spacing: -0.045em; color: var(--surface); }
.res-num span { font-size: 34px; letter-spacing: -0.02em; margin-left: 6px; color: #cfe6d8; }
.res-card h1 { color: var(--surface); font-size: clamp(26px, 1.2vw + 21px, 34px); margin: 0 0 8px; }
.res-sub { margin: 0 0 18px; color: #e6f0ea; }
.res-card--sm { margin: 16px 0; }
.res-card--sm .res-num { font-size: 72px; }
.res-card--sm .res-sub { margin: 0; }
.res-card .ruler { background: rgb(255 255 255 / .06); box-shadow: none; padding: 16px 14px 14px; border-radius: 16px; }
.res-card .r-ends, .res-card .r-ends .ic { color: var(--surface); }
.res-card .r-flag, .res-card .r-flag b { color: var(--surface); }
.res-card .r-track { background: rgb(255 255 255 / .16); }
.res-card .r-scale, .res-card .r-cap { color: #cfe6d8; }
.res-card .r-cap b { color: var(--surface); }
.res-card .r-scale span::before { border-color: rgb(255 255 255 / .35); }
.res-cta { margin: 18px 0 0; }
.locked { margin: 0 0 22px; padding: 18px 20px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-2); }
.locked-h { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 600; color: var(--kale); }
.locked-h .ic { color: var(--green); }
.locked ul { list-style: none; margin: 0; padding: 0; }
.locked li { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); }
.lk-day { min-width: 52px; font-size: 16px; font-weight: 600; color: var(--green); }
.lk-name { flex: 1; }
.lk-min { font-size: 16px; color: var(--ink-2); white-space: nowrap; }
.em-known { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 10px 6px 10px 14px; border-radius: var(--r-field); background: var(--oat); }
.em-known .ic { color: var(--green); }
.em-known span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pl-pic { display: block; margin: 16px 0 0; }
.pl-pic img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; border-radius: var(--r-card); }
.pl-step { margin-top: 18px; }
input:not([type=checkbox], [type=radio], [type=file], [type=range], [type=hidden]) { min-height: 56px; }
@media (max-width: 560px) {
  main .btn:not(.btn--ghost):not(.btn--sm), .hero .btn, .sec .btn, .bhero .btn { display: flex; width: 100%; }
}
/* Tablet (900 to 1023px): the check's first screen with the photo in its own rounded frame above the question.
   1024px and up is the desktop layer at the end of this file. */
@media (min-width: 900px) {
  body.atop .qbar { position: sticky; background: var(--oat); }
  body.atop .qbar .logo img { filter: none; }
  .qhero { display: block; background: none; color: var(--ink); min-height: 0; max-width: 720px; margin: 28px auto 0; padding: 0 var(--gut); }
  .qhero::after { display: none; }
  .qhero picture { position: relative; display: block; }
  .qhero img { position: relative; inset: auto; height: auto; aspect-ratio: 2 / 1; border-radius: 24px; box-shadow: var(--shadow-2); }
  .qhero-in { padding: 24px 0 0; margin: 0; max-width: none; }
  .qhero h1 { color: var(--kale); max-width: 18ch; }
  .qhero p { color: var(--ink); max-width: 52ch; }
  body.atop .qscreen { padding-top: 8px; }
}
.dots { gap: 2px; }
.dot i { width: 34px; height: 34px; }
body:has(.actionbar:not([hidden])) .kit-toast { bottom: calc(92px + env(safe-area-inset-bottom)); }

/* Round 3 */
.em-known[hidden], .field[hidden] { display: none; }
.keep { padding-top: 0; }
.result #app { padding-bottom: 40px; }
.price-card { box-shadow: var(--shadow-2); }
.price-top { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--hair); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 16px; color: var(--ink-2); }
.secure .ic { width: 18px; height: 18px; color: var(--green); }
.res-card--sm { padding: 18px 20px; }
.res-card--sm .res-num { font-size: 56px; }
.res-card .r-track { background: var(--oat-2); }
.r-buf { position: absolute; top: 50%; translate: -50% -50%; font-size: 16px; color: var(--ink-2); white-space: nowrap; font-style: normal; }
.stepper input[type=number]:focus { box-shadow: none; }
.r-flag { background: var(--surface); padding: 0 6px; border-radius: 6px; }
.res-card .r-flag { background: var(--kale); }
.dist-card .r-flag { background: var(--surface); }
.keep { padding-bottom: 8px; } .result .foot { margin-top: 40px; }

/* Round 4 */
.drill.has-pic { padding-top: 0; overflow: hidden; }
.d-pic { display: block; margin: 0 -22px 18px; }
.d-pic img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.vs-big { margin: 0 0 18px; font-size: 20px; line-height: 1.35; font-weight: 800; color: var(--kale); letter-spacing: -0.01em; }
.vs-src { margin: 0 0 18px; font-size: 16px; color: var(--ink-2); }
.shot { margin: 0 0 20px; text-align: center; }
.shot img { width: min(320px, 78%); height: auto; margin: 0 auto; border-radius: 24px; box-shadow: 0 0 0 1px var(--hair), var(--shadow-2); }
.shot figcaption { margin-top: 10px; font-size: 16px; color: var(--ink-2); }

/* Round 5 */
.shot img { width: min(360px, 100%); border-radius: 0; box-shadow: none; }
.shot figcaption { text-align: left; }
.landing-q .q-h { font-size: 24px; }
body.atop .qscreen .q-h { font-size: 24px; letter-spacing: -0.015em; }
.pl-count { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.pl-count .btn { min-width: 140px; }
.pl-count b { font-size: 34px; font-weight: 800; color: var(--kale); font-variant-numeric: tabular-nums; }
.pl-count span { color: var(--ink-2); font-size: 16px; }

/* Round 6 */
.res-card .ruler { background: none; padding: 4px 0 0; border-radius: 0; }
.res-card .r-flag { background: var(--kale); }
.pl-n { margin: 0; font-size: 20px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-n b { font-size: 34px; color: var(--kale); }
.field + .err:empty + .btn, #gf .btn, .price-card #pay { margin-top: 14px; }
.ex-card { position: relative; max-width: 420px; margin: 0 auto; }
.ex-tag { position: absolute; top: 18px; right: 18px; margin: 0; padding: 2px 10px; border-radius: var(--r-chip); background: var(--oat-2); font-size: 16px; font-weight: 600; color: var(--ink-2); }
.ex-card h3 { font-size: 20px; margin: 0 0 6px; }
.ex-dist { display: flex; align-items: baseline; gap: 4px; margin: 0 0 18px; }
.ex-dist .big { font-size: 38px; }
.ex-dist .delta { margin-left: auto; align-self: center; }
.ex-btn { text-decoration: none; }

/* Round 7 */
.act-two { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; max-width: 680px; margin: 0 auto; }
.act-two .btn { width: 100%; }
.pl-n { margin-top: 22px; }
.qbar-btn[hidden] { visibility: hidden; display: grid; }
.days-more { margin-top: 14px; }
.days-more summary { justify-content: flex-start; gap: 12px; }
.dm-day { min-width: 52px; font-size: 16px; color: var(--green); }
.dm-min { margin-left: auto; font-size: 16px; font-weight: 400; color: var(--ink-2); white-space: nowrap; }
.tile::after { box-shadow: inset 0 0 0 2px #9fb3a6; }
.ex-card { margin: 0; }
#gf + .locked { margin-top: 22px; }

/* Round 8 */
.btn--tall { min-height: 64px; font-size: 20px; }
.actionbar .act-link { display: flex; width: 100%; margin-top: 6px; min-height: 44px; }
.pl-tally { margin-top: 22px; }
.pl-segs { display: flex; gap: 6px; margin-top: 10px; }
.pl-segs i { flex: 1; height: 12px; border-radius: 6px; background: var(--line); transition: background-color 150ms var(--ease-out); }
.pl-segs i.on { background: var(--green); }
.pl-n b { font-size: 56px; letter-spacing: -0.03em; }
.big-mark { width: 88px; height: 88px; }
.big-mark .ic { width: 44px; height: 44px; }
.more-h { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hair); }
.result .faq { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.result .faq .acc:first-child { border-top: 1px solid var(--hair); }
.result .faq .acc:last-child { border-bottom: 1px solid var(--hair); }
.player { padding-bottom: 200px; }

/* Round 9 */
.gets-plain { list-style: none; margin: 0 0 16px; padding: 0; }
.gets-plain li { padding: 12px 0; border-top: 1px solid var(--hair); }
.gets-plain li:first-child { border-top: 0; padding-top: 0; }
.gets-plain b { color: var(--kale); }
.vs-p { margin: 0 0 18px; }
.price-card .refund { margin: 14px 0 0; }
.res-card .r-close { background: rgb(212 91 61 / .32); }
.res-card .r-close span, .res-card .r-calm span, .res-card .r-buf { color: var(--surface); }
.res-card .r-calm { background: rgb(96 187 131 / .3); }
.res-card .r-track { background: rgb(255 255 255 / .1); }
.res-card .r-tick { background: #f08a6c; }
.ex-card { max-width: none; }
.res-card .r-close { background: #a84a35; }
.res-card .r-calm { background: #367a53; }
.res-card .r-tick { background: #ffb59e; }

/* Round 10 */
.sub-title { margin: 32px 0 12px; font-size: 22px; }
.price-vs { flex-basis: 100%; font-size: 16px; color: var(--ink-2); margin-top: 6px; font-weight: 400; }
.ex-card { background: var(--surface); box-shadow: 0 0 0 10px var(--oat-2), 0 0 0 11px var(--hair); margin: 11px; }
.ex-card .ex-btn { background: var(--green-soft); color: var(--kale); box-shadow: none; }
.res-card .r-close { background: #7d4a3d; }
.res-card .r-calm { background: #2f6f4d; }
.r-buf { color: var(--ink); }

/* Earned price (2026-10-22): struck list, their price, the saving, their real end. Painted from api/price. */
.ptop { display: contents; }
.price-top .was { font-size: 24px; font-weight: 600; color: var(--ink-2); text-decoration-thickness: 2px; font-variant-numeric: tabular-nums; }
.price-top .save { background: var(--green); color: var(--surface); font-weight: 700; font-size: 16px; border-radius: 6px; padding: 3px 9px; align-self: center; }
.price-end { flex-basis: 100%; margin-top: 10px; font-size: 17px; color: var(--ink); line-height: 1.45; }
.price-end b { color: var(--kale); }
.clock { display: inline-block; background: #fdeccb; color: #5e420e; font-weight: 700; border-radius: 6px; padding: 1px 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-why { flex-basis: 100%; font-size: 16px; color: var(--ink-2); font-weight: 400; margin-bottom: 6px; }
.buybar .bb-price s { font-weight: 600; font-size: 16px; color: var(--ink-2); margin-right: 2px; }

.prize { margin: 0; padding: 9px 16px; text-align: center; font-size: 16px; background: var(--green); color: var(--surface); }
.prize s { opacity: .75; }
.gift { display: grid; justify-items: center; gap: 2px; margin: 0 0 18px; padding: 16px; border-radius: 14px; background: var(--green); color: var(--surface); text-align: center; }
.gift b { font-size: 44px; line-height: 1; letter-spacing: .01em; }
.gift em { font-style: normal; font-weight: 800; }

/* Desktop (1024px and up; material/design/layout.md "App and funnel screens on desktop"). Below 1024px nothing here
   applies: the phone layout above stays exactly as it is. Each task screen gets a second column with real content:
   the check (question left, progress, photo, what they get and the price they earn right), the result (main + the
   sticky price card), the plan app (rail + today + distance and walks), thanks and the lost-link screen (two columns). */
.task-side, .prail, .desk-only { display: none; }
.ts-h { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--kale); }
.side-card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-2); padding: 22px; }
.side-card .incl { margin: 0; }
.side-card .fine { margin-top: 16px; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li + li { border-top: 1px solid var(--hair); }
.side-links a { display: block; padding: 12px 0; font-weight: 600; color: var(--green); text-decoration: none; }
@media (hover: hover) { .side-links a:hover { text-decoration: underline; } }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: ns; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 14px 0; border-top: 1px solid var(--hair); }
.next-steps li::before { content: counter(ns); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--kale); font-weight: 800; }
.next-steps b { color: var(--kale); }
.next-steps span { color: var(--ink-2); }
.order { margin: 0 0 18px; }
.order > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--hair); }
.order dt { color: var(--ink-2); }
.order dd { margin: 0; font-weight: 600; color: var(--kale); text-align: right; overflow-wrap: anywhere; }
.side-shot { display: block; width: min(280px, 100%); height: auto; margin: 0 auto 20px; border-radius: 18px; box-shadow: 0 0 0 1px var(--hair); }

@media (min-width: 1024px) {
  .desk-only { display: revert; }

  /* The check: question left (600px), the side column right, both under one 1120px frame */
  .qbar, body.atop .qbar { padding-inline: max(6px, calc((100% - 1120px) / 2)); }
  .prize { display: none; }                       /* the side column holds the reward */
  .task { display: grid; grid-template-columns: minmax(0, 600px) 380px; justify-content: space-between; gap: 0 64px;
    max-width: 1120px; margin: 0 auto; padding: 40px var(--gut) 72px; align-items: start; }
  .task-main { min-width: 0; }
  .qhero { margin: 0; padding: 0; max-width: none; }
  .qhero picture { display: none; }               /* the photo moves to the side column */
  .qhero-in { padding: 0 0 12px; }
  .qhero h1 { font-size: 54px; }
  .qscreen, body.atop .qscreen { max-width: none; margin: 0; padding: 12px 0 0; }
  .qscreen .q-h { margin-top: 0; }
  .task .actionbar { position: sticky; bottom: 0; left: auto; right: auto; padding: 24px 0 calc(24px + env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, color-mix(in srgb, var(--oat) 0%, transparent), var(--oat) 40%); }
  .task .actionbar .btn { width: 100%; max-width: none; }
  body:has(.actionbar:not([hidden])) .kit-toast { bottom: 24px; }
  .task-side { display: block; position: sticky; top: 84px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-2); overflow: hidden; }
  .ts-pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 48% 45%; }
  .ts-in { padding: 20px 22px 22px; }
  .ts-step { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; }
  .ts-step b { font-size: 20px; color: var(--kale); font-variant-numeric: tabular-nums; }
  .ts-step span { font-size: 16px; color: var(--ink-2); }
  .ts-prog { height: 8px; border-radius: 4px; background: var(--oat-2); overflow: hidden; margin: 0 0 22px; }
  .ts-prog i { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 300ms var(--ease-out); }
  .ts-gets { margin: 0 0 18px; gap: 10px; }
  .ts-reward { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-field); background: var(--green-soft); color: var(--kale); line-height: 1.4; }
  .ts-reward b { font-size: 20px; }
  .ts-trust { display: flex; gap: 10px; margin: 0; font-size: 16px; color: var(--ink-2); }
  .ts-trust .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--green); }

  /* The result: the result and plan in a 640px main column, the price card in a sticky 380px column */
  .result #app { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 640px) 380px; justify-content: space-between;
    column-gap: 64px; align-items: start; padding-top: 40px; }
  .result #app > * { grid-column: 1; min-width: 0; }
  .result #app > .res-side { grid-column: 2; grid-row: 1 / span 40; position: sticky; top: 96px; margin-top: 0; }
  .result .res-cta { display: none; }             /* the side column holds the action */
  .result .buy-for { margin-bottom: 12px; }
  .result .price-card { display: flex; flex-direction: column; padding: 22px; }
  .result .price-card > * { margin-top: 0; }
  .result .price-top .amt { font-size: 48px; }
  .result .price-card .gets-plain { order: 1; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--hair); }
  .result .price-card .fine { order: 2; }
  .result .price-card .refund { margin-top: 14px; }
  .result .keep { max-width: 1120px; }
  .result .keep > .faq { max-width: calc(100% - 444px); }

  /* The plan app: a nav rail (the phone has none), today in the middle, distance and walks on the right */
  .plan #app { max-width: 1240px; padding-top: 32px; }
  .plan .qbar { padding-inline: max(6px, calc((100% - 1240px) / 2)); }
  .pgrid { display: grid; grid-template-columns: 200px minmax(0, 580px) 360px; justify-content: space-between; gap: 0 40px; align-items: start; }
  .prail { display: grid; gap: 4px; position: sticky; top: 84px; }
  .pr-a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border: 0; border-radius: 14px; background: none;
    font: 600 16px/1.2 var(--font); color: var(--ink-2); text-decoration: none; text-align: left; cursor: pointer; }
  .pr-a .ic { width: 20px; height: 20px; color: var(--green); }
  .pr-a.on { background: var(--green-soft); color: var(--kale); }
  @media (hover: hover) { .pr-a:not(.on):hover { background: var(--oat-2); color: var(--kale); } }
  .pside > .dist-card { margin-top: 0; }
  .pside .more { margin-top: 24px; }
  .pside .help { margin-top: 16px; }
  .plan #app > .player { max-width: none; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 480px); justify-content: space-between;
    gap: 0 56px; align-items: start; padding: 8px 0 160px; }
  .player > .pl-bar { grid-column: 1 / -1; }
  .player > .pl-pic { grid-column: 2; grid-row: 2; position: sticky; top: 84px; margin-top: 24px; }
  .player > .pl-txt { grid-column: 1; grid-row: 2; padding-top: 6px; }
  .plan #app > .pl-done { grid-template-columns: minmax(0, 520px) minmax(0, 480px); }
  .pl-done > .pl-head { grid-column: 1; }
  .pl-done > .pl-next { grid-column: 2; padding-top: 18px; }
  .plan .actionbar { padding-inline: max(var(--gut), calc((100% - 1240px) / 2 + var(--gut))); }
  .plan .actionbar > * { max-width: 560px; margin-left: 0; }
  .plan #app.lost { max-width: 1120px; }

  /* Thanks and the lost-link screen: the task left, what it comes with right */
  .thanks #app { max-width: 1120px; padding-top: 48px; }
  .duo { display: grid; grid-template-columns: minmax(0, 600px) 380px; justify-content: space-between; gap: 0 64px; align-items: start; }
  .duo-main { min-width: 0; }
  .duo-side { position: sticky; top: 96px; }
  .duo-side.side-card { display: block; }
  .ty-side { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-2); padding: 22px; margin-top: 8px; }
  .ty-side .today-card { margin: 0 0 18px !important; box-shadow: none; background: var(--oat); }
  .thanks .duo-main .sub-title { margin-top: 36px; }
}

/* Result price block, 2026-10-23: the earned $20 off said loudly at the buy button (owner: "Get $X", louder;
   material/funnels/urgency.md, finding 2026-10-23-paywall-unlocked-discount-patterns). Every number is the server's. */
.price-top .unlock { flex-basis: 100%; display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: var(--green); color: var(--surface); font-size: 17px; font-weight: 600; line-height: 1.3; }
.price-top .unlock b { font-size: 20px; font-weight: 800; white-space: nowrap; }
.price-top .amt { font-size: 64px; }
.price-top .save { font-size: 18px; padding: 4px 10px; }
.price-end .clock { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--marigold-soft, #fdf0c8); color: var(--kale); font-weight: 700; }
.res-cta .was-s { font-weight: 600; opacity: .7; margin: 0 2px 0 6px; }
