/* ============================================================================
   The estimate page and the thank-you page, rebuilt 27 Sept 2026 in the homepage's
   language (src/p-estimate.mjs): a dark band at the top with the form rising over its
   torn edge, then white and grey sections, one dark "moment" band, and the owners'
   words. Phone first. Tokens only (base.css, and the few below), so light and
   dark are both drawn from the same rules. The form (estimate.css) keeps its own
   styles; this sheet only places it and tidies it for this page.
   Since 27 Oct 2026 the estimate page is in the Story line (its own block, below):
   the whole first screen is the band, and the sections after it arrive as sheets.
   The thank-you page joined it the same day (its own block, at the end), with a
   calm first screen on the page's paper.
   ========================================================================== */

/* ------------------------------------------- borrowed from the homepage ----
   These two pages no longer load home.css (62 KB, for about 20 rules: the forms audit's
   F-48, so the ad landing page draws sooner). What they used from it is copied here as it
   is there: the band colours and focus colour, the section frame, its eyebrow and lede,
   the call link beside a button, the Google badge and the questions grid. A change to
   one of these in web/home/home.css belongs here too. */
:root { --band: #103947; --band-line: rgb(255 255 255 / 0.16); --focus: var(--accent-ink); }
:root[data-theme="dark"] { --band: #071519; --band-line: rgb(255 255 255 / 0.12); }
.hsec { padding-block: var(--s8); }
.hsec h2 { font: 700 clamp(1.7rem, 1.15rem + 2.3vw, 2.65rem)/1.1 var(--font-display); color: var(--heading); letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
.hsec__head { display: grid; gap: var(--s3); margin-bottom: var(--s6); max-width: 46rem; }
.hsec__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 0.8rem/1.2 var(--font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.hsec__eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--gold-line); flex: none; }
.hsec__lede { margin: 0; font-size: var(--fs-lede); line-height: 1.5; color: var(--ink); max-width: 40rem; }
.hsec__lede strong { color: var(--heading); }
.sec-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: var(--s5); }
.sec-cta__call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--heading); text-decoration: none; }
.sec-cta__call:hover { text-decoration: underline; text-underline-offset: 3px; }
.sec-cta__call .ico { width: 18px; height: 18px; color: var(--accent-ink); }
.sec-cta--dark .sec-cta__call { color: #fff; }
.sec-cta--dark .sec-cta__call .ico { color: var(--gold-1); }
.gbadge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: var(--e1); }
.gbadge > strong { font: 700 2.1rem/1 var(--font-display); color: var(--heading); }
.gbadge > span { display: grid; gap: 4px; font-size: 0.85rem; color: var(--ink-soft); }
.gbadge .stars svg { width: 16px; height: 16px; }
.faqsec__grid { display: grid; gap: var(--s4); }
@media (min-width: 960px) { .faqsec__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: start; } }

/* ------------------------------------------------ the dark band at the top ----
   Drawn by the intro itself (its ::before, as wide as the screen), so it always covers
   the headline whatever its length or the text size; the cards after it paint over the
   band and its torn edge, which is the paper they rise from. */
.est-top, .ty-top { --pad: clamp(20px, 4.5vw, 56px); --under: 56px; position: relative; isolation: isolate; overflow-x: clip; padding: var(--pad) 0 var(--s7); }
.est-top__intro, .ty-top__intro { position: relative; color: #fff; }
.est-top__intro::before, .ty-top__intro::before { content: ""; position: absolute; z-index: -1; top: calc(-1 * var(--pad)); bottom: calc(-1 * var(--under)); left: -100vw; right: -100vw; background: var(--band); }
.est-top__intro::after, .ty-top__intro::after { content: ""; position: absolute; z-index: -1; left: -100vw; right: -100vw; bottom: calc(-1 * var(--under) - 1px); height: 14px;
  background: var(--tear-paper) repeat-x 0 100% / 900px 14px; }
/* The Toronto line drawing of the inner-page heroes, in white on the band, clearing toward the text. */
.est-top__lines { position: absolute; z-index: -1; top: calc(-1 * var(--pad)); bottom: calc(-1 * var(--under)); left: 40%; right: -100vw; pointer-events: none; background: rgb(255 255 255 / 0.09);
  -webkit-mask: url(/assets/lines-toronto.svg) 0 45% / auto 170% no-repeat, linear-gradient(90deg, transparent, #000 30%), linear-gradient(180deg, #000 55%, transparent);
  -webkit-mask-composite: source-in, source-in;
  mask: url(/assets/lines-toronto.svg) 0 45% / auto 170% no-repeat, linear-gradient(90deg, transparent, #000 30%), linear-gradient(180deg, #000 55%, transparent);
  mask-composite: intersect, intersect; }
@media (max-width: 699px) { .est-top__lines { display: none; } }
.est-top h1, .ty-top h1 { margin: 12px 0 0; font: 700 clamp(2rem, 1.35rem + 2.9vw, 3.5rem)/1.04 var(--font-display); letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.est-top .hsec__eyebrow, .ty-top .hsec__eyebrow { color: rgb(255 255 255 / 0.82); }
.est-top .crumbs { margin-bottom: 18px; }
.est-top .crumbs ol, .est-top .crumbs a { color: rgb(255 255 255 / 0.78); }
.est-top .crumbs a { text-decoration-color: rgb(246 186 109 / 0.6); }
.est-top .crumbs li + li::before { color: rgb(255 255 255 / 0.4); }
.est-top__intro :focus-visible, .ty-top__intro :focus-visible { outline-color: var(--gold-1); }
.est-top__sub, .ty-top__sub { margin: 16px 0 0; max-width: 34rem; font-size: clamp(1.03rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.5; color: rgb(255 255 255 / 0.9); }
.est-top__sub strong { color: #fff; }
/* Phones: the headline, the price and the first question all on the first screen. */
@media (max-width: 699px) { .est-top .crumbs { display: none; } }

/* The reasons to start here: small gold tiles, like the homepage's promises on its band. */
.est-trust { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; max-width: 34rem; }
.est-trust li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; line-height: 1.3; color: rgb(255 255 255 / 0.92); }
.est-trust li > span:last-child { text-wrap: balance; }
.est-trust .nb { white-space: nowrap; }
.est-trust strong { color: #fff; }
.est-trust__ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgb(246 186 109 / 0.5); background: rgb(246 186 109 / 0.12); color: var(--gold-1); }
.est-trust__ico svg { width: 18px; height: 18px; }
.est-trust--wide { grid-template-columns: minmax(0, 1fr); }
.est-top__call { margin: 14px 0 0; font-size: 0.95rem; color: rgb(255 255 255 / 0.8); }
.est-top__call a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: 4px; color: #fff; font-weight: 600; white-space: nowrap; text-underline-offset: 3px; text-decoration-color: rgb(246 186 109 / 0.7); }
.est-top__call .ico { width: 16px; height: 16px; color: var(--gold-1); }
@media (min-width: 700px) { .est-trust li { font-size: 0.95rem; } .est-trust__ico { width: 38px; height: 38px; border-radius: 11px; } .est-trust__ico svg { width: 20px; height: 20px; } }
/* Phones: the first question of the form stays on the first screen of a small phone (sitetest 12),
   with room to spare. The progress bar already says "Step 1 of 3", so the eyebrow goes. */
@media (max-width: 699px) {
  .est-top .est-top__eyebrow { display: none; }
  .est-top h1 { margin-top: 0; }
  .est-top .est-trust { margin-top: 16px; gap: 8px 12px; }
  .est-top .est-trust li { font-size: 0.86rem; }
  .est-top .est-trust__ico { width: 30px; height: 30px; border-radius: 9px; }
  .est-top .est-trust__ico svg { width: 16px; height: 16px; }
  .est-top .est-top__call { margin-top: 6px; }
}
@media (max-width: 359px) { .est-trust { grid-template-columns: minmax(0, 1fr); } }

/* ----------------------------------------------------------- the form ----
   The form's own card, lifted off the band. Its Google line gives way to the trust row. */
.est-top .estimate { margin-top: var(--s5); }
.est-top .estimate__main.panel { box-shadow: 0 32px 64px -30px rgb(4 22 28 / 0.6), var(--e2); }
.est-top .estimate__proof { display: none; }
/* Here the form is on the first screen, so it's drawn as step 1 from the first paint (the head sets
   .js), not collapsed from the one long form when estimate.js runs: that moved its Next button into
   view (a layout shift of 0.05 on a desktop, 27 Sept 2026). Once js-steps is set, estimate.js
   decides; without JavaScript, all three steps show and the form posts, as before. */
/* If estimate.js never arrives, site.js adds .est-nojs after a few seconds and the whole form shows (F-34),
   without its step counter. */
.est-nojs .est-top .estimate__main .progress { display: none; }
.js:not(.est-nojs) .est-top .estimate__form:not(.js-steps) .step:not([data-step="1"]) { display: none; }
.js:not(.est-nojs) .est-top .estimate__form:not(.js-steps) [data-submit] { display: none; }
.js:not(.est-nojs) .est-top .estimate__form:not(.js-steps) [data-next] { display: inline-flex; }
/* ...so step 1 doesn't slide in again when the script starts (Back to it still does). */
.est-top .js-steps .step[data-step="1"].is-current:not(.from-back) { animation: none; }
@media (min-width: 700px) and (max-width: 959px) { .est-top .estimate { margin-top: var(--s6); } }

/* Wide screens: the headline beside the form, and under the headline the form's summary of the
   property (its photo and the answers so far), like an order summary. .estimate joins this grid
   as a subgrid, so it keeps its box (its scroll-into-view still works) while its two parts sit
   in our columns; the band carries on behind the summary and tears across both cards. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 960px) {
    .est-top { --under: var(--s6); padding-bottom: var(--s8); }
    .est-top__intro::after { display: none; }
    .est-top__grid { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); grid-template-rows: auto auto 1fr; column-gap: clamp(36px, 4.4vw, 72px); }
    .est-top__intro { grid-column: 1; grid-row: 1; }
    .est-top .estimate { grid-column: 1 / -1; grid-row: 1 / -1; grid-template-columns: subgrid; grid-template-rows: subgrid; gap: normal; align-items: start; margin-top: 0; }
    .est-top .estimate__main { grid-column: 2; grid-row: 1 / -1; }
    .est-top .estimate__art { grid-column: 1; grid-row: 2; position: relative; margin-top: var(--s6); }
    .est-top .estimate__art::before { content: ""; position: absolute; z-index: -1; top: calc(-1 * var(--s6) - 2px); bottom: 45%; left: -100vw; right: -100vw; background: var(--band); }
    .est-top .estimate__art::after { content: ""; position: absolute; z-index: -1; left: -100vw; right: -100vw; top: calc(55% - 13px); height: 14px; background: var(--tear-paper) repeat-x 0 100% / 900px 14px; }
    /* The summary, sideways: the photo beside the answers. */
    .est-top .sheetart { flex-direction: row; height: auto; box-shadow: 0 26px 50px -28px rgb(4 22 28 / 0.55), var(--e1); }
    .est-top .sheetart__photo { flex: 0 0 38%; min-height: 0; }
    .est-top .titleblock { flex: 1 1 0; min-width: 0; align-content: start; }
    .est-top .titleblock > div { padding: 11px 14px; border-left: 0; }
    .est-top .titleblock > div:nth-child(3), .est-top .titleblock > div:nth-child(5) { border-left: 1px solid var(--border); }
    .est-top .titleblock [data-art="City"], .est-top .titleblock [data-art="Status"] { white-space: normal; }
    .est-top .sheetart__label { top: 10px; left: 10px; right: 10px; width: fit-content; max-width: calc(100% - 20px); }
  }
}

/* Small print on the property cards (the form's summary and the thank-you card) stays at 0.8rem
   or more on these pages (27 Sept 2026); estimate.css draws it smaller for the form elsewhere. */
.est-top .titleblock dt, .ty-top__art .titleblock dt, .est-top .sheetart__label, .ty-top__art .sheetart__label { font-size: 0.8rem; }

/* --------------------------------------------------------- what you get ---- */
/* Clipped sideways: the tilted sheet behind the example never widens the page (320px, sitetest 11). */
.est-get { overflow-x: clip; }
.est-get__grid { display: grid; gap: var(--s6); }
/* Phones: the example straight after the heading, then what's in it. */
.est-get__text { display: contents; }
.est-get__text .hsec__head { margin-bottom: 0; }
.est-get__list { order: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); }
.est-get__list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start; }
.est-get__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--teal-subtle); color: var(--heading); }
.est-get__ico svg { width: 24px; height: 24px; }
.est-get__list h3 { margin: 2px 0 4px; font: 700 1.15rem/1.3 var(--font-display); color: var(--heading); letter-spacing: -0.01em; }
.est-get__list p { margin: 0; line-height: 1.55; color: var(--ink); }
.est-get__list li.reveal { transition-delay: calc(var(--i) * 90ms); }
@media (min-width: 960px) {
  .est-get__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: var(--s8); align-items: center; }
  .est-get__text { display: block; }
  .est-get__text .hsec__head { margin-bottom: var(--s6); }
}


/* Our record behind the prices, and the way back up to the form. */
.est-rec { display: grid; gap: var(--s5); margin-top: var(--s7); padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e1); }
.est-rec__body { display: grid; gap: var(--s4); }
.est-rec__k { margin: 0; display: flex; align-items: center; gap: 10px; font: 600 0.8rem/1.2 var(--font-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.est-rec__k::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--gold-line); flex: none; }
.est-rec__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.est-rec__list li { display: grid; gap: 3px; align-content: start; }
.est-rec__n { margin: 0; font: 700 clamp(2rem, 1.6rem + 1.2vw, 2.5rem)/1 var(--font-display); color: var(--heading); letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.est-rec__label { margin: 4px 0 0; line-height: 1.4; color: var(--ink); }
.est-rec__basis { margin: 0; font-size: 0.8rem; line-height: 1.35; color: var(--ink-soft); }
.est-rec__cta .btn { width: 100%; }
@media (min-width: 600px) { .est-rec__list { grid-template-columns: 1fr 1fr; } .est-rec__cta .btn { width: auto; } }
@media (min-width: 960px) { .est-rec { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s7); padding: var(--s5) var(--s6); } .est-rec__list { max-width: 44rem; gap: var(--s6); } }

/* ----------------------------------------------------- what happens next ----
   The one dark band after the form: three steps, stations on the gold line (the Story line, below). */
.est-steps { --focus: var(--gold-1); background: var(--band); color: #fff; }
.hsec.est-steps h2 { color: #fff; }
.est-steps .hsec__eyebrow { color: rgb(255 255 255 / 0.8); }
.est-steps .hsec__lede { color: rgb(255 255 255 / 0.88); }
.est-steps a:not(.btn):focus-visible { outline-color: var(--gold-1); }
.est-steps .sec-cta { margin-top: var(--s6); }

/* ---------------------------------------------------------- owners' words ---- */
/* The Google rating on a row of its own, at the end, apart from the owner's words in the heading. */
.est-words__badge { display: flex; justify-content: flex-end; margin: calc(-1 * var(--s3)) 0 var(--s5); }
.est-words__grid { display: grid; gap: var(--s4); }
.est-words__card { margin: 0; display: flex; flex-direction: column; gap: var(--s4); padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e1); }
.est-words__card.reveal { transition-delay: calc(var(--i) * 110ms); }
.est-words__mark { width: 30px; height: 23px; flex: none; color: var(--gold-mid); }
.est-words__card blockquote { flex: 1; margin: 0; }
.est-words__card blockquote p { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.est-words__card figcaption { display: flex; align-items: flex-start; gap: 12px; padding-top: var(--s4); border-top: 1px solid var(--border); font-size: 0.9rem; line-height: 1.35; }
.est-words__card figcaption > span:last-child { display: grid; gap: 2px; }
.est-words__card figcaption strong { font: 700 1rem/1.3 var(--font-display); color: var(--heading); }
.est-words__card figcaption span span { color: var(--ink-soft); }
.est-words__ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-subtle); color: var(--heading); }
.est-words__ico svg { width: 22px; height: 22px; }
.est-words__note { margin: var(--s5) 0 0; font-size: 0.88rem; color: var(--ink-soft); }
.est-words__note a { color: var(--heading); font-weight: 600; }
.est-words__grid:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: var(--r-md); }
/* Phones: one card at a time, sideways, as the homepage's reviews (no fade while swiping). */
@media (max-width: 899px) {
  .est-words__grid { grid-auto-flow: column; grid-auto-columns: min(86%, 380px); overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 14px; scroll-padding-inline: var(--gut); scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .est-words__card { scroll-snap-align: start; }
  .js .est-words__card.reveal { opacity: 1; transform: none; transition: none; }
}
/* Wide screens: three across, their quotes and names lined up (each card is a subgrid of three rows). */
@media (min-width: 900px) {
  .est-words__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: var(--s5); row-gap: var(--s4); }
  .est-words__card { grid-row: span 3; display: grid; grid-template-rows: subgrid; gap: normal; }
}

/* -------------------------------------------------------------- questions ---- */
.est-faq__side { display: grid; gap: var(--s5); align-content: start; }
.est-faq__side .hsec__head { margin-bottom: 0; }
/* Four short answers, open. */
.est-qa { list-style: none; margin: 0; padding: 0; display: grid; }
.est-qa li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-block: var(--s5); border-top: 1px solid var(--border); }
.est-qa li:first-child { padding-top: 0; border-top: 0; }
.est-qa li.reveal { transition-delay: calc(var(--i) * 90ms); }
.est-qa__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-subtle); color: var(--heading); }
.est-qa__ico svg { width: 22px; height: 22px; }
.est-qa h3 { margin: 2px 0 6px; font: 700 1.12rem/1.3 var(--font-display); color: var(--heading); }
.est-qa p { margin: 0; line-height: 1.55; color: var(--ink); max-width: 36rem; }
/* Phones: the answers first, then the call. */
@media (max-width: 959px) {
  .est-faq__side { display: contents; }
  .est-faq .hsec__head { margin-bottom: var(--s3); }
  .est-qa { order: 1; }
  .est-talk { order: 2; margin-top: var(--s4); }
}
/* The call card, with the chat bubble beside its words (the Story line's picture). */
.est-talk { --art-s: 64px; display: grid; grid-template-columns: var(--art-s) minmax(0, 1fr); align-items: center; gap: 16px; padding: var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper-2); }
.est-talk h3 { margin: 2px 0 4px; font: 700 1.15rem/1.3 var(--font-display); color: var(--heading); }
.est-talk p { margin: 0; line-height: 1.55; }
.est-talk__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.est-talk__actions .btn { flex: 1 1 auto; }
@media (max-width: 399px) { .est-talk__actions .btn { white-space: normal; text-align: center; } }

/* ========================================================== the Story line ====
   /rent-estimate/ since 27 Oct 2026 (src/p-estimate.mjs; Aldo's picks, the picker's rent-estimate__* docs): web/home/story.css
   draws the gold line, its stops, the stations, the pictures and the still sheets, and loads before this file. Here: what
   this page needs besides, scoped to .page-est; the thank-you page, which shares this file, has its own block at the end. */

/* ---- the first screen: all of it on the band, and "What you get" arrives over its foot as the first sheet ---- */
.page-est .est-top { background: var(--band); padding-bottom: calc(var(--s7) + var(--sheet-r)); }
@media (min-width: 960px) { .page-est .est-top { padding-bottom: calc(var(--s8) + var(--sheet-r)); } }
.page-est .est-top__intro::before, .page-est .est-top__intro::after, .page-est .est-top .estimate__art::before, .page-est .est-top .estimate__art::after { content: none; }
/* The headline in the Story line's calmer type (its section headings' scale). */
.page-est .est-top h1 { font-size: clamp(1.9rem, 1.05rem + 2.8vw, 3.05rem); line-height: 1.06; letter-spacing: -0.03em; }
/* The house and magnifier beside the headline, its first lines wrapping round it, so the form keeps its place on a phone's
   first screen. */
.page-est .est-top__intro > .st-art { --art-s: 56px; float: right; margin: 0 0 4px 12px; }
/* With an ad's town in the headline ("... for your Richmond Hill property"), phones under 375px give the picture up: beside
   the longer headline it cost a line, and the form's first question would leave a small phone's first screen. */
@media (max-width: 374px) { .page-est .est-top__intro:has(> h1 > [data-city-show]:not([hidden])) > .st-art { display: none; } }
@media (min-width: 700px) { .page-est .est-top__intro > .st-art { --art-s: 72px; margin-left: 16px; } }
@media (min-width: 960px) { .page-est .est-top__intro > .st-art { --art-s: 88px; margin-top: 6px; } }
/* On the dark bands each picture is its dark file, in both themes, as a rounded tile of its own charcoal ground: blended into
   the band's teal (lighten), its ground left a faint square, and the navy chat bubble and door all but vanished. */
.page-est :is(.est-top__intro, .est-steps) .st-art > .st-art__light { display: none; }
.page-est :is(.est-top__intro, .est-steps) .st-art > .st-art__dark { display: block; }
/* (The tile's charcoal is the tile's own since the dark files' ground went to black, 10 Nov 2026: story.css --st-tile.) */
.page-est :is(.est-top__intro, .est-steps) .st-art { border-radius: calc(var(--art-s) / 4); overflow: hidden; outline: 1px solid rgb(255 255 255 / 0.1); outline-offset: -1px; background: var(--st-tile); }

/* ---- the line and the sheets ---- */
/* The line starts at "What you get"'s stop, under the band, and ends at the questions' stop. */
.page-est .est-get > .st-line { top: calc(var(--s8) + var(--st-eb, 0.48rem) - 2px); }
.page-est .est-faq > .st-line { bottom: auto; height: calc(var(--s8) + var(--st-eb, 0.48rem) + 1px); }
/* Each section's ground rings its stops, and the dark sheet keeps the line on a soft white track. */
.page-est :is(.est-get, .est-words) { --st-ring: var(--paper-2); }
.page-est .est-steps { --st-ring: var(--band); --st-track: var(--band-line); }
.page-est .est-faq { --st-ring: var(--paper); }
/* Each section a sheet arrives over keeps room at its foot for the sheet's corners; a grey sheet is grey to its edge, and a
   grey section under a sheet stays grey to where it arrives, so the corners show what they cover; the white sheet takes
   its own paper. */
.page-est .st-sec:has(+ .st-sheet) { padding-bottom: calc(var(--s8) + var(--sheet-r)); }
.page-est .tone-2.st-sheet { --seam-a: var(--paper-2); }
.page-est .tone-2:has(+ .st-sheet) { --seam-b: var(--paper-2); }
.page-est .tone-1.st-sheet { background-color: var(--paper); }
/* Nearing the header, a sheet closes its corners with the distance and its edge fades, as on the other pages in the Story
   line, so nothing shows in its corners as notches. */
@supports (animation-timeline: view()) {
  .page-est .st-sheet { view-timeline: --st-top block; view-timeline-inset: var(--header-h) 0px; }
  @media (max-height: 500px) { .page-est .st-sheet { view-timeline-inset: 0px 0px; } }
  .page-est .st-sheet, .page-est .st-sheet > .st-edge { animation: st-square linear both; animation-timeline: --st-top; animation-range: exit-crossing calc(var(--sheet-r) * -1) exit-crossing 0%; }
  .page-est .st-sheet > .st-edge { animation-name: sheet-flush; }
}

/* ---- what you get: the four points are stations, each a dot on the line level with its icon, lit as the gold reaches it ---- */
/* On phones they follow the heading, right after its stop, and the example card comes after them (Aldo's pick, as the
   picker drew it on a phone). */
.page-est .est-get__list { order: 0; }
.page-est .est-get__list li { position: relative; }
.page-est .est-get__list li::before { content: ""; position: absolute; z-index: 1; left: calc(var(--st-x) - var(--st-in)); top: 23px; width: 18px; height: 18px; translate: -50% -50%;
  border-radius: 50%; background: var(--gold-1); border: 4px solid var(--st-ring); box-shadow: 0 0 0 2px var(--gold-mid); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not(.a11y-still) .page-est .est-get__list li { view-timeline: --est-pt block; view-timeline-inset: 46% 46%; }
    html:not(.a11y-still) .page-est .est-get__list li::before { animation: st-lit linear both; animation-timeline: --est-pt; animation-range: cover 23px cover calc(23px + 4vh); }
  }
}
/* Beside the line a phone's example card is narrower than example.css's own steps expect (each rent under its rental below
   360px): with larger text or the Dyslexia-friendly spacing that comes from 420px down, so a long word never runs into the
   rents. Our record's button may take two lines there, rather than widen the card past its words. */
@media (max-width: 419px) {
  html:is(.a11y-text-2, .a11y-text-3, .a11y-spacing) .page-est .est-get .exm__rows li { grid-template-columns: 26px minmax(0, 1fr); }
  html:is(.a11y-text-2, .a11y-text-3, .a11y-spacing) .page-est .est-get .exm__paid { grid-column: 2; text-align: left; }
  html:is(.a11y-text-2, .a11y-text-3, .a11y-spacing) .page-est .est-get .exm__paid strong { display: inline; margin-left: 4px; }
  html:is(.a11y-text-2, .a11y-text-3, .a11y-spacing) .page-est .est-get .exm__list { flex-wrap: wrap; row-gap: 2px; }
  .page-est .est-rec__cta .btn { white-space: normal; text-align: center; }
}
@media (max-width: 959px) { .page-est .est-rec { grid-template-columns: minmax(0, 1fr); } }

/* ---- what happens next: the homepage's stations, in the band's colours ---- */
.page-est .est-steps .st-when { color: var(--gold-1); }
.page-est .est-steps .st-step h3 { color: #fff; }
.page-est .est-steps .st-step__body > p:last-child { color: rgb(255 255 255 / 0.86); }
/* No pulse on the last one: on the homepage it marks the payout that comes every month. */
.page-est .est-steps .st-step:last-child::after { content: none; }

/* ---- in their words: the Story line's softer cards; on phones they scroll beside the line, never across it ---- */
.page-est .est-words__card { border-radius: 22px; box-shadow: 0 1px 2px hsl(var(--shadow-hsl) / 0.06), 0 14px 26px -16px hsl(var(--shadow-hsl) / 0.3); }
@media (max-width: 899px) { .page-est .est-words__grid { margin-left: -4px; padding: 4px var(--gut) 28px 4px; scroll-padding-left: 4px; } }

/* =============================================================== thank you ====
   A check mark that draws itself, and the photo card thanks.js fills (on the page's paper since the Story line, at the end). */
.ty-top__grid { display: grid; gap: var(--s5); }
.ty-check { display: block; width: 64px; height: 64px; margin-bottom: 14px; overflow: visible; }
.ty-check__ring { fill: none; stroke: rgb(246 186 109 / 0.5); stroke-width: 2; }
.ty-check__disc { fill: var(--gold-1); }
.ty-check__tick { fill: none; stroke: #103947; stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
/* (It rests, drawn, under reduced motion and the Accessibility panel's Stop animations.) */
@media (prefers-reduced-motion: no-preference) {
  html:not(.a11y-still) .ty-check__ring { stroke-dasharray: 208; stroke-dashoffset: 208; animation: ty-draw 900ms var(--ease) 150ms forwards; }
  html:not(.a11y-still) .ty-check__disc { transform-box: fill-box; transform-origin: center; animation: ty-pop 520ms cubic-bezier(0.2, 1.3, 0.4, 1) 420ms both; }
  html:not(.a11y-still) .ty-check__tick { stroke-dasharray: 36; stroke-dashoffset: 36; animation: ty-draw 460ms var(--ease) 820ms forwards; }
}
@keyframes ty-draw { to { stroke-dashoffset: 0; } }
@keyframes ty-pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
.ty-top .est-trust { margin-top: 20px; }
/* "You'll get a confirmation by email": shown before paint (inline script) only when an email was given. */
.ty-top .ty-top__confirm { margin-top: 10px; }
.ty-top__confirm[hidden] { display: none; }
/* thanks.js names the property and the town in this line after load: two lines are kept for it,
   so the longer version never pushes the rest down. */
.ty-top__sub { min-height: 3em; }
/* Phones: the photo beside the answers, so the confirmation and the card fit together. */
.ty-top__art .sheetart { flex-direction: row; height: auto; box-shadow: 0 26px 50px -28px rgb(4 22 28 / 0.55), var(--e2); }
.ty-top__art .sheetart__photo { flex: 0 0 40%; min-height: 150px; }
.ty-top__art .titleblock { flex: 1 1 0; min-width: 0; grid-template-columns: 1fr; align-content: center; }
.ty-top__art .titleblock > div { padding: 10px 14px; border-left: 0; }
.ty-top__art .titleblock > div:last-child { border-bottom: 0; }
/* Under 960px the label is a caption strip along the foot of the photo: the photo is narrow there,
   and a pill would wrap lopsided. */
@media (max-width: 959px) { .ty-top__art .sheetart__label { top: auto; left: 0; right: 0; bottom: 0; padding: 7px 8px; border-radius: 0; text-align: center; text-wrap: balance; box-shadow: none; } }
/* The status, with a dot that says it's in (wrapping rather than cut off on a 320px phone). */
.ty-status dd { display: flex; align-items: center; gap: 8px; white-space: normal; }
.ty-status dd::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in oklab, var(--ok) 22%, transparent); }
@media (min-width: 700px) { .ty-top__art { max-width: 560px; } }
/* Wide screens: the card upright beside the confirmation. */
@media (min-width: 960px) {
  .ty-top { --under: 24px; padding-bottom: var(--s6); }
  .ty-top__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: clamp(40px, 5vw, 80px); align-items: start; }
  .ty-top__art { margin-top: var(--s4); }
  .ty-top__art .sheetart { flex-direction: column; }
  .ty-top__art .sheetart__photo { flex: none; aspect-ratio: 6 / 5; min-height: 0; }
  .ty-top__art .titleblock { grid-template-columns: 1fr 1fr; }
  .ty-top__art .titleblock > div:nth-child(3) { border-left: 1px solid var(--border); }
  .ty-top__art .titleblock > div:nth-child(n+2) { border-bottom: 0; }
}

/* What happens now: the tracker's steps are the Story line's stations (below). */
/* "While we price it" (thanks.js shows it for a condo), last in its section. */
.ty-next .bench-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; column-gap: 14px; max-width: 46rem; margin-top: var(--s6); padding: 20px 22px 20px 25px; background: var(--paper-2); }
.bench-card__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--teal-subtle); color: var(--heading); }
.bench-card__ico svg { width: 24px; height: 24px; }
.ty-next .bench-card h3 { margin: 0; font: 700 1.15rem/1.3 var(--font-display); color: var(--heading); }
.ty-next .bench-card p { grid-column: 1 / -1; margin-top: 10px; color: var(--ink); }
.ty-next .bench-card p + p { margin-top: 8px; }
@media (min-width: 700px) { .ty-next .bench-card p { grid-column: 2; } }

/* What to have ready: four cards, each with the guide it comes from. */
.ty-ready__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.ty-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--e1); }
.ty-card.reveal { transition-delay: calc(var(--i) * 90ms); }
.ty-card__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--teal-subtle); color: var(--heading); }
.ty-card__ico svg { width: 24px; height: 24px; }
.ty-card h3 { margin: 6px 0 0; font: 700 1.15rem/1.3 var(--font-display); color: var(--heading); }
.ty-card p { margin: 0; line-height: 1.55; color: var(--ink); }
.ty-card__link { margin-top: auto; display: block; min-height: 44px; padding-top: 10px; font-weight: 600; line-height: 1.45; color: var(--heading); text-underline-offset: 3px; }
.ty-card__end { white-space: nowrap; }
.ty-card__link .ico { display: inline-block; width: 16px; height: 16px; margin-left: 6px; vertical-align: -3px; color: var(--accent-ink); transition: transform var(--t-fast) var(--ease); }
.ty-card__link:hover .ico { transform: translateX(3px); }
.ty-ready__call { margin: var(--s5) 0 0; color: var(--ink); }
.ty-ready__call a { color: var(--heading); font-weight: 600; white-space: nowrap; }
/* Phones: the icon beside the words, so four cards don't make a long scroll. */
@media (max-width: 759px) {
  .ty-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; }
  .ty-card__ico { grid-row: span 3; }
  .ty-card h3 { margin-top: 2px; }
  .ty-card__link { margin-top: 0; }
}
@media (min-width: 760px) { .ty-ready__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The quiet reads: smaller type, no shadows. */
.ty-reads .hsec__head h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 1.95rem); }
.ty-reads__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ty-read { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 16px; height: 100%; min-height: 88px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color var(--t-fast), transform var(--t-fast) var(--ease); }
.ty-read:hover { border-color: var(--teal); transform: translateY(-2px); }
.ty-read__cover { width: 56px; height: auto; border-radius: 3px; border: 1px solid var(--border); background: #fff; box-shadow: var(--e1); }
.ty-read__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-subtle); color: var(--heading); }
.ty-read__ico svg { width: 24px; height: 24px; }
.ty-read__body { display: grid; gap: 4px; min-width: 0; }
.ty-read__k { font: 600 0.8rem/1.2 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.ty-read strong { font: 700 1rem/1.35 var(--font-display); color: var(--heading); }
.ty-read__meta { font-size: 0.85rem; line-height: 1.45; color: var(--ink-soft); }
@media (min-width: 760px) { .ty-reads__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .ty-reads__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
  .ty-read { grid-template-columns: minmax(0, 1fr); align-content: start; align-items: start; padding: 20px; }
}

/* ============================================================ the Story line, thank you ====
   /rent-estimate/thank-you/ since 27 Oct 2026 (src/p-estimate.mjs; Aldo's picks, the picker's thank-you__* docs): a calm first
   screen on the page's own paper, one gold line from the check mark down to "While you wait", the tracker's steps as stations,
   and a grey and a white sheet after them. web/home/story.css draws the line, the stations, the pictures and the sheets, and
   loads before this file; here, what this page needs besides, scoped to .page-thanks, so page A keeps its band. */

/* ---- the first screen: calm, on the page's paper, with today's words and photos ---- */
.page-thanks .ty-top__intro { color: var(--ink); }
.page-thanks .ty-top__intro::before, .page-thanks .ty-top__intro::after { content: none; }
.page-thanks .ty-top h1 { color: var(--heading); font-size: clamp(1.9rem, 1.05rem + 2.8vw, 3.05rem); line-height: 1.06; letter-spacing: -0.03em; }
.page-thanks .ty-top .hsec__eyebrow { color: var(--ink-soft); }
.page-thanks .ty-top__sub { color: var(--ink); }
.page-thanks .ty-top .est-trust li { color: var(--ink); }
.page-thanks .ty-top .est-trust strong { color: var(--heading); }
.page-thanks .ty-top .est-trust__ico { border-color: color-mix(in oklab, var(--gold-mid) 60%, transparent); background: color-mix(in oklab, var(--gold-1) 16%, var(--paper)); color: var(--accent-ink); }
.page-thanks .ty-top .est-top__call { color: var(--ink-soft); }
.page-thanks .ty-top .est-top__call a { color: var(--heading); text-decoration-color: color-mix(in oklab, var(--accent-ink) 60%, transparent); }
.page-thanks .ty-top .est-top__call .ico { color: var(--accent-ink); }
.page-thanks .ty-top__intro :focus-visible { outline-color: var(--focus); }
/* The check mark is the line's first stop, already lit: its centre on the line, which starts there. */
.page-thanks .ty-check { position: relative; z-index: 1; margin-left: calc(var(--st-x) - var(--st-in) - 32px); }
.page-thanks .ty-top > .st-line { top: calc(var(--pad) + 32px); }
/* Beside the line a small phone's card is narrower: with larger text or the Dyslexia-friendly spacing the photo stands above
   the answers, so a town's name ("Mississauga" at 140%) is never cut short. */
@media (max-width: 374px) {
  html:is(.a11y-text-2, .a11y-text-3, .a11y-spacing) .page-thanks .ty-top__art .sheetart { flex-direction: column; }
  html:is(.a11y-text-2, .a11y-text-3, .a11y-spacing) .page-thanks .ty-top__art .sheetart__photo { flex: none; min-height: 150px; }
}

/* ---- the line and the sheets ---- */
/* It ends at "While you wait"'s stop. The grey sheet rings its stop in its own grey. */
.page-thanks .ty-reads > .st-line { bottom: auto; height: calc(var(--s8) + var(--st-eb, 0.48rem) + 1px); }
.page-thanks .ty-ready { --st-ring: var(--paper-2); }
/* Each section a sheet arrives over keeps room at its foot for the sheet's corners; a grey sheet is grey to its edge, and a
   grey section under a sheet stays grey to where it arrives; the white sheet takes its own paper. */
.page-thanks .st-sec:has(+ .st-sheet) { padding-bottom: calc(var(--s8) + var(--sheet-r)); }
.page-thanks .tone-2.st-sheet { --seam-a: var(--paper-2); }
.page-thanks .tone-2:has(+ .st-sheet) { --seam-b: var(--paper-2); }
.page-thanks .tone-1.st-sheet { background-color: var(--paper); }
/* Nearing the header, a sheet closes its corners with the distance and its edge fades, as on the other pages in the Story line. */
@supports (animation-timeline: view()) {
  .page-thanks .st-sheet { view-timeline: --st-top block; view-timeline-inset: var(--header-h) 0px; }
  @media (max-height: 500px) { .page-thanks .st-sheet { view-timeline-inset: 0px 0px; } }
  .page-thanks .st-sheet, .page-thanks .st-sheet > .st-edge { animation: st-square linear both; animation-timeline: --st-top; animation-range: exit-crossing calc(var(--sheet-r) * -1) exit-crossing 0%; }
  .page-thanks .st-sheet > .st-edge { animation-name: sheet-flush; }
}

/* ---- what happens now: the tracker's four steps as stations; the first is lit because it's done, the others wait ---- */
/* (Their dots say where the request stands, so they don't light as the gold reaches them, and the last keeps no pulse.) */
.page-thanks .ty-next .st-step::before { background: var(--st-ring); box-shadow: 0 0 0 2px var(--border-strong); animation: none; }
.page-thanks .ty-next .st-step.is-done::before { background: var(--gold-1); box-shadow: 0 0 0 2px var(--gold-mid); }
.page-thanks .ty-next .st-step:last-child::after { content: none; }

/* Print: no bands, dark text. */
@media print {
  .est-top__intro::before, .est-top__intro::after, .ty-top__intro::before, .ty-top__intro::after, .est-top__lines, .est-top .estimate__art::before, .est-top .estimate__art::after { display: none; }
  .est-top__intro, .est-top__intro *, .ty-top__intro, .ty-top__intro *, .est-steps, .est-steps * { color: #000 !important; }
  .est-steps, .page-est .est-top { background: none; }
}

/* ========================================== page A, phase 3 part 7 (whole page) ====
   Built from shapes Aldo approved elsewhere: the stroke, brushed drawings for the list icons, paper cards. */
.page-est { --es-paper: 0 1px 1px hsl(var(--shadow-hsl) / 0.1), 0 2px 6px hsl(var(--shadow-hsl) / 0.06), 0 18px 34px -18px hsl(var(--shadow-hsl) / 0.34); }
:root[data-theme="dark"] .page-est { --es-paper: inset 0 1px 0 rgb(255 255 255 / 0.07), 0 20px 36px -14px rgb(0 0 0 / 0.6); }
.u.page-est :is(.est-rec, .est-talk) { border: 0; border-radius: 6px; background: var(--paper); box-shadow: var(--es-paper); }
:root[data-theme="dark"] .u.page-est :is(.est-rec, .est-talk) { background: linear-gradient(180deg, #17353d, #10282f); }
.page-est .est-get__list li > .lf-ob { width: 46px; margin: 0; }
.page-est .est-qa li > .lf-ob { width: 44px; margin: 0; }
/* Page A is an arm of the ads test (docs/AB-TEST.md): its tiles keep their pictures and stand even, three then two, but
   shorter, so step 1's "Next" is on a laptop's first screen again and, on a phone, where each tile lays its picture
   beside its name, the first tile is on a 390x664 first screen. */
.u.page-est .field--tiles .choice--pic > span { min-height: 0; gap: 4px; padding: 8px 6px; }
.u.page-est .field--tiles .choice--pic span.st-art { --art-s: 46px; }
@media (min-width: 560px) { .u.page-est .field--tiles .choice--pic > span { padding: 6px 4px 8px; font-size: 0.86rem; line-height: 1.2; } }
@media (max-width: 559px) {
  .u.page-est .field--tiles .choice--pic > span { flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 58px; padding: 6px 10px; text-align: left; }
  .u.page-est .field--tiles .choice--pic span.st-art { --art-s: 42px; flex: none; }
}

/* ========================================== page A, round 2 (16 Nov 2026, Aldo's prototype picks) ====
   The pictures on the dark bands, beside the headline and in "What happens next": each day picture on a small white disc
   ("White disc"), so none sinks into the teal, in either theme. */
.page-est :is(.est-top__intro, .est-steps) .st-art > .st-art__dark,
:root[data-theme="dark"] .page-est :is(.est-top__intro, .est-steps) .st-art > .st-art__dark { display: none; }
.page-est :is(.est-top__intro, .est-steps) .st-art > .st-art__light,
:root[data-theme="dark"] .page-est :is(.est-top__intro, .est-steps) .st-art > .st-art__light { display: block; }
.page-est :is(.est-top__intro, .est-steps) .st-art { box-sizing: border-box; padding: 5px; overflow: hidden; border-radius: 24%; outline: 0; background: #fff;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.2), 0 14px 26px -10px rgb(0 0 0 / 0.6); }
.page-est :is(.est-top__intro, .est-steps) .st-art img { border-radius: 18%; }
/* The hero's ground is calm (a PPC landing page: nothing behind the form pulls the eye): the line map goes, a soft light
   stays. The map moved into the summary card, where it follows the visitor (web/js/est-map.js). */
.page-est .est-top__lines { display: none; }
.page-est .est-top { background-image: radial-gradient(55% 75% at 78% 28%, rgb(246 186 109 / 0.13), transparent 70%), radial-gradient(45% 60% at 8% 0%, rgb(255 255 255 / 0.07), transparent 72%); }
/* The summary card's map: our towns, the lake, the picked town in gold with a pin and its name; a picked address's
   Street View photo covers it, as the photo did before. */
.page-est .sheetart__photo.has-map > picture.sheetart__pic, .page-est .sheetart__photo.has-map:not(:has(.sheetart__sv)) [data-art-label] { visibility: hidden; }
.page-est .sheetart__photo.has-map { background: #e6eeec; }
:root[data-theme="dark"] .page-est .sheetart__photo.has-map { background: #0e2a32; }
.est-map { position: absolute; inset: 0; z-index: 0; overflow: hidden; transition: opacity 300ms ease; }
.sheetart__photo:has(.sheetart__sv) .est-map { opacity: 0; }
.est-map svg { display: block; width: 100%; height: 100%; }
.est-map .et-map { transform-origin: 0 0; transition: transform 1100ms cubic-bezier(0.77, 0, 0.175, 1); }
.est-map.no-tr .et-map, html.a11y-still .est-map .et-map { transition: none; }
@media (prefers-reduced-motion: reduce) { .est-map .et-map { transition: none; } }
.est-map .et-water { fill: #c3dbe2; }
.est-map :is(.et-town, .et-district) { fill: #f6f8f7; stroke: #c9d6d3; stroke-width: 1px; vector-effect: non-scaling-stroke; transition: fill 400ms ease, stroke 400ms ease; }
.est-map :is(.et-town, .et-district).is-on { fill: #fbe3c0; stroke: #e0a24f; stroke-width: 2px; }
:root[data-theme="dark"] .est-map .et-water { fill: #0a1f25; }
:root[data-theme="dark"] .est-map :is(.et-town, .et-district) { fill: #18393f; stroke: #2c5058; }
:root[data-theme="dark"] .est-map :is(.et-town, .et-district).is-on { fill: #4a4128; stroke: #f6ba6d; }
.est-map__pin { opacity: 0; }
.est-map.is-picked .est-map__pin { opacity: 1; }
.est-map__dot { fill: #f6ba6d; stroke: #10282f; stroke-width: 2.5px; }
.est-map__ring { fill: none; stroke: #f6ba6d; stroke-width: 2px; opacity: 0; }
.est-map.is-drop .est-map__ring { animation: est-ring 1500ms cubic-bezier(0.23, 1, 0.32, 1) 900ms 2; transform-box: fill-box; transform-origin: center; }
@keyframes est-ring { from { opacity: 0.9; transform: scale(0.4); } to { opacity: 0; transform: scale(1.5); } }
.est-map__chip { position: absolute; left: 50%; bottom: 14px; translate: -50% 6px; max-width: calc(100% - 20px); padding: 4px 10px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: #fff; color: #103947; font: 700 0.8rem/1.3 var(--font-display); box-shadow: 0 6px 16px rgb(0 0 0 / 0.25); opacity: 0; transition: opacity 260ms ease, translate 260ms cubic-bezier(0.23, 1, 0.32, 1); }
.est-map.is-picked .est-map__chip { opacity: 1; translate: -50% 0; transition-delay: 800ms; }
html.a11y-still .est-map__ring { animation: none; }
/* The folder of examples beside "What your estimate covers". */
.page-est .est-get .fd { margin-inline: auto; }
/* On phones, once a city is picked: a small map of that town beside "Good news: we manage in ..." (web/js/est-map.js). */
.page-est .est-area { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.page-est .est-area > .area-check { margin: 0; }
.est-mini { flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: 10px; background: #e6eeec; box-shadow: inset 0 0 0 1px rgb(16 57 71 / 0.12); }
.est-mini[hidden] { display: none; }
.est-mini svg { display: block; width: 100%; height: 100%; }
.est-mini .et-water { fill: #c3dbe2; }
.est-mini :is(.et-town, .et-district) { fill: #f6f8f7; stroke: #c9d6d3; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.est-mini :is(.et-town, .et-district).is-on { fill: #fbe3c0; stroke: #e0a24f; stroke-width: 1.5px; }
:root[data-theme="dark"] .est-mini { background: #0e2a32; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); }
:root[data-theme="dark"] .est-mini .et-water { fill: #0a1f25; }
:root[data-theme="dark"] .est-mini :is(.et-town, .et-district) { fill: #18393f; stroke: #2c5058; }
:root[data-theme="dark"] .est-mini :is(.et-town, .et-district).is-on { fill: #4a4128; stroke: #f6ba6d; }
@media (prefers-reduced-motion: no-preference) { html:not(.a11y-still) .est-mini:not([hidden]) { animation: est-mini-in 320ms cubic-bezier(0.23, 1, 0.32, 1); } }
@keyframes est-mini-in { from { opacity: 0; scale: 0.94; } }

/* ===================================== the thank-you page, phase 3 part 8 (whole page) ====
   Built from shapes Aldo approved elsewhere: the stroke under the headline, the steps as a path, paper cards, brushed
   drawings for the icon chips, a button for anything to tap. */
.page-thanks { --ty-paper: 0 1px 1px hsl(var(--shadow-hsl) / 0.1), 0 2px 6px hsl(var(--shadow-hsl) / 0.06), 0 18px 34px -18px hsl(var(--shadow-hsl) / 0.34); }
:root[data-theme="dark"] .page-thanks { --ty-paper: inset 0 1px 0 rgb(255 255 255 / 0.07), 0 20px 36px -14px rgb(0 0 0 / 0.6); }
.u.page-thanks :is(.ty-card, .ty-read, .bench-card) { border: 0; border-radius: 6px; box-shadow: var(--ty-paper); }
:root[data-theme="dark"] .u.page-thanks :is(.ty-card, .ty-read, .bench-card) { background: linear-gradient(180deg, #17353d, #10282f); }
.u.page-thanks .ty-read:hover { transform: translateY(-2px); }
.page-thanks .ty-track { --art-s: 72px; }
@media (min-width: 960px) { .page-thanks .ty-track { --art-s: 112px; } }
.page-thanks :is(.ty-card__ico, .ty-read__ico) { width: 46px; height: 46px; border: 0; border-radius: 0; background: none; }
.page-thanks :is(.ty-card__ico, .ty-read__ico) .lf-ob { width: 46px; height: auto; margin: 0; }
.page-thanks .ty-card__link.btn { align-self: start; justify-self: start; margin-top: auto; min-height: 44px; height: auto; padding-top: 8px; padding-bottom: 8px; white-space: normal; text-align: left; text-decoration: none; }
@media (max-width: 759px) { .page-thanks .ty-card__link.btn { margin-top: 4px; } }
