/* The estimate funnel and its drawing. Phone first. */
.estimate { display: grid; gap: var(--s5); align-items: start; }
.estimate__main { position: relative; }
/* The trust line: the stars, "5 stars on Google" and "managing rentals since 2018". The dot between the two parts (Aldo,
   26 Oct 2026: "Fix it") is drawn in the gap before the second part, where it was typed before, 6px after "Google". Where
   the parts share a line it sits between them; where the line wraps, the second part starts its own line at the left edge,
   its dot falls outside the line, and the line clips it, so no line starts with it, at any width or text size. The gap
   between the parts holds the dot and a space (0.56em); the stars keep their 6px from the words beside them. The dot is
   decorative: its alternative text is empty, so screen readers skip it. */
.estimate__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px calc(6px + 0.56em); margin-bottom: 14px; overflow-x: clip; }
.estimate__proof .stars { margin-right: -0.56em; }
.estimate__proof strong { color: var(--ink); }
.estimate__since { position: relative; }
.estimate__since::before { content: "·"; content: "·" / ""; position: absolute; top: 0; right: 100%; width: 0.56em; }
.progress { margin-bottom: 18px; }
.progress__meta { display: flex; justify-content: space-between; gap: 12px; font: 600 12px/1 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.progress__meta [data-step-name] { display: none; }   /* the step's heading already names it (F-68) */
/* Three segments, one per step. */
.progress__track { margin-top: 10px; height: 6px; border-radius: 4px; background: var(--paper-3); overflow: hidden;
  -webkit-mask: linear-gradient(90deg, #000 calc(33.333% - 3px), transparent 0 calc(33.333% + 3px), #000 0 calc(66.666% - 3px), transparent 0 calc(66.666% + 3px), #000 0);
          mask: linear-gradient(90deg, #000 calc(33.333% - 3px), transparent 0 calc(33.333% + 3px), #000 0 calc(66.666% - 3px), transparent 0 calc(66.666% + 3px), #000 0); }
.progress__fill { height: 100%; width: 100%; background: var(--gold-line); background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); transform-origin: 0 50%; transform: scaleX(0.3333); transition: transform 320ms var(--ease); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step + .step { margin-top: 28px; }
.step__title { font: 700 1.3rem/1.2 var(--font-display); color: var(--heading); letter-spacing: -0.02em; padding: 0; margin-bottom: 16px; }
/* A question hidden for this type doesn't leave its gap behind: the first one shown sits right under the heading (F-66). */
.step > .field { margin-top: 0; }
.step > .field:not([hidden]) ~ .field:not([hidden]) { margin-top: 16px; }
.js-steps .step { display: none; }
.js-steps .step.is-current { display: block; animation: step-in 240ms var(--ease) both; }
.js-steps .step.is-current.from-back { animation-name: step-in-back; }
@media (prefers-reduced-motion: reduce) { .js-steps .step.is-current { animation: none; } }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
/* Back beside "Next: Where to send it" needs about 380px, more than a phone's form has: the row
   wraps and Next takes the full width under Back, instead of the page scrolling sideways (27 Sept 2026). */
.estimate__nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); }
.estimate__nav [data-back] { margin-right: auto; }
/* Next says where it goes, fills the width on a phone, and its arrow leans forward on hover. */
.est-next { flex: 1 1 auto; justify-content: space-between; gap: 14px; min-height: 56px; padding-inline: 24px; font-size: 1.05rem; border-radius: 16px; }
/* At 320px (a small phone, or 400% zoom) even a line of its own is too short: the label takes two. */
.est-next span { white-space: normal; text-align: left; }
.est-next .ico { width: 20px; height: 20px; transition: transform var(--t-fast) var(--ease); }
.est-next:hover .ico, .est-next:focus-visible .ico { transform: translateX(4px); }
.est-back { gap: 6px; min-height: 56px; padding-inline: 8px; color: var(--ink-soft); font-weight: 600; }
.est-back .ico { width: 18px; height: 18px; transform: rotate(180deg); }
@media (max-width: 559px) { .est-back { min-height: 44px; } }
@media (min-width: 560px) { .est-next { flex: 0 0 auto; min-width: 280px; } }
.estimate__nav [data-next] { display: none; }
.js-steps .estimate__nav [data-next] { display: inline-flex; }
.js-steps .estimate__nav [data-submit] { display: none; }
.js-steps.on-last .estimate__nav [data-next] { display: none; }
.js-steps.on-last .estimate__nav [data-submit] { display: inline-flex; }
.estimate__reassure { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
/* One short line on steps 1 and 2, the full promise at the button that sends (F-52). */
.estimate__reassure[data-short] { display: none; }
.js-steps:not(.on-last) .estimate__reassure[data-short] { display: flex; }
.js-steps:not(.on-last) .estimate__reassure[data-full] { display: none; }
/* The owner's words sit under the button that sends, not between the last field and it (F-21). */
.js-steps:not(.on-last) .est-quote { display: none; }
/* A returning owner: their answers were kept, and Start over clears them (F-30). */
.est-restored { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--border); color: var(--ink); }
.est-restored__btn { padding: 8px 2px; min-height: 36px; border: 0; background: none; color: var(--heading); font: 600 inherit; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent-note { margin-top: 14px; }
/* The notice for unfinished estimates, read before any contact detail is typed (Aldo's wording, BACKLOG 9g). */
.partial-note { display: none; margin: -6px 0 14px; color: var(--ink-soft); }
.js-steps .partial-note { display: block; }   /* only where something is saved: never without the script */
/* A count of units needs a short box, not the form's full width. */
.field--short input { max-width: 12rem; }
/* Under the bedrooms: the area's condo rent for reference, or how we price a home (27 Sept 2026). */
.bench { margin: 2px 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--ink-soft); }
.bench:empty { display: none; }
.bench.is-data { padding: 10px 14px; border-radius: var(--r-sm); background: var(--paper-2); border: 1px solid var(--border); color: var(--ink); }
.bench strong { color: var(--heading); }
/* Step 3: one owner's words, for the type they picked. */
.est-quote { position: relative; margin: 18px 0 0; padding: 14px 16px 14px 19px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--border); overflow: hidden; }
.est-quote::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--gold-line); }
.est-quote blockquote { margin: 0; }
.est-quote p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink); }
.est-quote figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--ink-soft); }
.est-quote figcaption strong { color: var(--heading); font-weight: 600; }
/* The thank-you page: what a condo like theirs rents for, and what reaches the owner. */
.bench-card { position: relative; max-width: 34rem; margin-top: var(--s5); padding: 18px 20px 18px 23px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--border); overflow: hidden; }
.bench-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--gold-line); }
.bench-card h2 { font: 700 1.05rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.bench-card p { margin: 8px 0 0; color: var(--ink-soft); line-height: 1.55; }
.bench-card strong { color: var(--ink); }

/* The drawing */
.estimate__art { display: none; }
/* The photo panel is exactly as tall as the form beside it: the photo takes the space the summary leaves. */
.sheetart { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; box-shadow: var(--e2); }
.sheetart__photo { position: relative; flex: 1 1 auto; min-height: 360px; width: 100%; background: var(--paper-3); overflow: hidden; }
.sheetart__pic { position: absolute; inset: 0; opacity: 0; transition: opacity 420ms var(--ease); }
.sheetart__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sheetart[data-type="none"] [data-for="none"], .sheetart[data-type="condo"] [data-for="condo"], .sheetart[data-type="house"] [data-for="house"],
.sheetart[data-type="plex"] [data-for="plex"], .sheetart[data-type="multi"] [data-for="multi"] { opacity: 1; }
.sheetart__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgb(10 20 24 / 0.35)); pointer-events: none; }
.sheetart__label { position: absolute; top: 14px; left: 14px; z-index: 1; margin: 0; padding: 7px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.94); color: #103947;
  font: 600 0.8rem/1.2 var(--font-text); box-shadow: 0 6px 16px -8px rgb(0 0 0 / 0.5); }
.titleblock { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.titleblock > div { padding: 12px 16px; border-bottom: 1px solid var(--border); min-width: 0; }
.titleblock > div:nth-child(even) { border-left: 1px solid var(--border); }
.titleblock .tb-wide { grid-column: 1 / -1; border-left: 0; }
.titleblock dt { font: 600 0.8rem/1 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.titleblock dd { margin: 6px 0 0; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 200ms; }
.titleblock dd.is-empty { color: var(--ink-soft); font-weight: 500; white-space: normal; }
.titleblock dd.flash { animation: tb-flash 600ms var(--ease); }
@keyframes tb-flash { from { background: color-mix(in oklab, var(--gold-1) 45%, transparent); } to { background: transparent; } }
.tb-fee { border-bottom: 0 !important; background: var(--paper-2); }
.tb-fee dd { font: 700 1.15rem/1.2 var(--font-display); color: var(--heading); }
/* The type and a building's total ("36 units × $89 = $3,204 a month + HST") take two lines
   rather than lose their ends where the card is narrow (960 to 1100px wide, and phones). */
.titleblock [data-art="Type"], .titleblock [data-sent="Type"], .tb-fee dd { white-space: normal; text-wrap: balance; }
/* The address shows whole on two lines (a unit number is the part a single line cut off). */
.titleblock [data-art="Address"] { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
@media (prefers-reduced-motion: reduce) {
  .sheetart__pic { transition: none; }
  .titleblock dd.flash { animation: none; }
}
.mini-sheet svg { width: 42px; height: 30px; flex: none; }
.mini-sheet strong { color: var(--ink); }
/* The phone's summary of the answers so far, as a small card (the forms audit, F-27). */
@media (max-width: 959px) {
  .mini-sheet { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--paper-2); font-size: 0.9rem; line-height: 1.4; color: var(--ink-soft); }
  .mini-sheet svg { width: 30px; height: 22px; color: var(--heading); }
  .mini-sheet strong { color: var(--ink); font-weight: 600; }
}

@media (min-width: 960px) {
  .estimate { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: var(--s7); align-items: stretch; }
  .estimate__art { display: block; }
  /* The card beside the form shows the same answers; the summary stays for screen readers (F-35). */
  .mini-sheet { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}

.area-check { margin-top: 2px; min-height: 1.2em; }
.area-check.is-in { color: var(--ok); font-weight: 600; }
.area-check.is-in::before { content: ""; display: inline-block; width: 6px; height: 11px; margin: 0 8px 1px 2px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(40deg); }
.area-check.is-out { color: var(--ink-soft); }

/* Address suggestions under the address field (Google Places, Ontario only). */


/* Phones: the form starts on the first screen. */
@media (max-width: 699px) { .hero--tight .crumbs { display: none; } }

/* "saved" beside the address label when it arrived from a starter box (27 Sept 2026). */
.carried { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; font-size: 0.85rem; font-weight: 600; color: var(--ok); }
.carried::before { content: ""; display: inline-block; width: 5px; height: 10px; margin-bottom: 2px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(40deg); }

/* The home's own Street View photo (estimate.js), over the sample once it has loaded. */
.sheetart__sv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Its label: "Your property", then the credit Google asks for, on lines of their own. */
.sheetart.has-sv .sheetart__label { border-radius: 12px; }
.sheetart__credit { display: block; margin-top: 2px; font: 400 0.8rem/1.25 Roboto, Arial, sans-serif; color: #282f32; }

/* The first question as tiles (Aldo, 29 Sept 2026, wave 5, the light version): homes, then buildings
   (each group whole on its own lines), two even columns, the long home type across both, bigger targets,
   the same radios underneath. */
.field--tiles .choices { display: grid; gap: 8px; }
.field--tiles .choices__group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field--tiles .choices__group .choice:nth-child(3) { grid-column: 1 / -1; }
.field--tiles .choice span { width: 100%; justify-content: center; text-align: center; min-height: 54px; border-radius: 14px; padding: 8px 12px; }
@media (min-width: 560px) { .field--tiles .choices__group:first-child { grid-template-columns: 1fr 1fr 2fr; } .field--tiles .choices__group:first-child .choice:nth-child(3) { grid-column: auto; } }

/* The home's photo in the summary card, where the photo card isn't shown (F-60). */
.mini-sheet.has-sv > svg { display: none; }
.mini-sheet__photo { order: -1; flex: none; display: grid; gap: 2px; }
.mini-sheet__photo img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.mini-sheet__credit { font: 400 0.7rem/1.2 Roboto, Arial, sans-serif; color: var(--ink-soft); }


