/* Granny Flat Planner, look A1 "Eucalypt and sun" */
:root {
  --eucalypt: #0F2E25; --roof: #1C4A3C; --leaf: #2F6B57; --gum: #8FC9B3; --paddock: #EEF5E0; --sun: #E4F25C;
  --ink: #0F2E25; --muted: #4D6359; --line: #D3DED7; --soft: #F6F8F5; --white: #FFFFFF; --warn-bg: #FFF1D9; --warn: #6A4300; --err: #9B2C1C;
  --display: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 12px; --r-lg: 20px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--soft); color: var(--ink); font: 17px/1.55 var(--body); }
img { max-width: 100%; }
a { color: var(--leaf); }
a:hover { color: var(--eucalypt); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.section { padding-block: 48px; display: flex; flex-direction: column; gap: 24px; }
.muted { color: var(--muted); }
.small, small { font-size: .875rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.sun { color: var(--sun); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r); font: inherit; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #D8E84A; color: var(--ink); }
.btn-dark { background: var(--eucalypt); color: var(--white); }
.btn-dark:hover { background: var(--roof); color: var(--white); }
.btn-ghost { background: transparent; border-color: #C8D6CE; color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* header and footer */
.top { background: var(--eucalypt); color: var(--white); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 16px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 24px; flex: 1 1 280px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 500; }
.nav a[aria-current="page"], .nav a:hover { color: var(--sun); }
.wm { display: inline-flex; flex-direction: column; line-height: 1; gap: 3px; text-decoration: none; color: var(--white); padding-top: 9px; }
.wm:hover { color: var(--white); }
.wm-main { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.04em; }
.wm-flat { position: relative; display: inline-block; }
.wm-flat svg { position: absolute; left: 0; top: -10px; width: 100%; height: 11px; overflow: visible; fill: none; stroke: var(--sun); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.wm-sub { font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: .32em; color: var(--sun); }
.top .btn { margin-left: auto; }
@media (max-width: 640px) {
  .top-row { gap: 10px 16px; padding-block: 12px; }
  .nav { order: 3; flex-basis: 100%; gap: 4px 20px; font-size: .95rem; }
  .top .btn { min-height: 40px; padding: 0 14px; }
}
.foot { background: var(--eucalypt); color: #C9DCD2; font-size: .9rem; margin-top: 48px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-block: 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: #C9DCD2; }

/* hero */
.hero { background: var(--eucalypt); color: var(--white); overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -80px; width: 560px; height: 520px; background: var(--roof); clip-path: polygon(50% 0, 100% 34%, 100% 100%, 0 100%, 0 34%); }
.hero-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-block: 56px 80px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.lede { font-size: 1.2rem; color: #D3E3DA; max-width: 34em; }
.search { display: flex; flex-wrap: wrap; gap: 8px; background: var(--white); border-radius: 16px; padding: 8px; max-width: 600px; }
.search select { flex: 1 1 240px; min-height: 46px; border: 0; font: inherit; color: var(--ink); background: transparent; padding: 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-dark { color: var(--white); text-decoration: none; padding: 7px 14px; border-radius: 10px; background: var(--roof); font-size: .95rem; }
.chip-dark:hover { color: var(--sun); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: #D3E3DA; font-size: .95rem; }
.ticks li::before { content: "✓ "; color: var(--sun); font-weight: 700; }
.hero-cards { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hcard { background: var(--white); color: var(--ink); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.25); max-width: 380px; }
.hcard:nth-child(2) { margin-left: 40px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf); }
.hcard-name { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; }
.hcard-price { font-family: var(--display); font-weight: 800; font-size: 1.8rem; letter-spacing: -0.02em; }
.hcard-price small, .price small { font-family: var(--body); font-size: .9rem; font-weight: 600; color: var(--muted); }

/* layout pieces */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; }
.section-head p { max-width: 42em; }
.grid { display: grid; gap: 18px; }
.tiles { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.three { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.two { grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); align-items: start; }
.tile { display: flex; flex-direction: column; gap: 8px; min-height: 200px; padding: 26px; border-radius: var(--r-lg); background: var(--paddock); color: var(--ink); text-decoration: none; }
.tile:hover { color: var(--ink); outline: 2px solid var(--leaf); }
.tile-label { font-weight: 700; }
.tile-num { font-family: var(--display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.tile-note { color: #3A5048; font-size: .95rem; }
.tile-go { margin-top: auto; font-weight: 700; }
.tile-dark { background: var(--eucalypt); color: var(--white); }
.tile-dark:hover { color: var(--white); }
.tile-dark .tile-num { color: var(--sun); }
.tile-dark .tile-note { color: #D3E3DA; }
.card { background: var(--white); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card-dark { background: var(--eucalypt); color: var(--white); }
.card-dark p, .card-dark small { color: #D3E3DA; }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px; }
.band { background: #E9F0E6; }
.how { display: flex; flex-wrap: wrap; flex-direction: row; gap: 32px; align-items: start; }
.how > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; align-items: start; }
.steps { flex: 2 1 520px; margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--white); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 2.2rem; font-weight: 800; color: var(--leaf); line-height: 1; }
.steps span { color: #3A5048; font-size: .95rem; }
.cta { background: var(--sun); border-radius: 24px; padding: 44px 40px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }

/* designs search */
.search-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: start; }
.filters { flex: 1 1 260px; max-width: 320px; background: var(--white); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 720px) { .filters { max-width: none; } }
.f-block { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.f-block legend { padding: 0; margin-bottom: 8px; }
.f-val { font-family: var(--display); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.f-val small { font-family: var(--body); font-weight: 500; color: var(--muted); }
.f-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
input[type=range] { width: 100%; accent-color: var(--leaf); }
select, input[type=text], input[type=tel], input[type=email], input:not([type]) { font: inherit; color: var(--ink); min-height: 48px; border: 1.5px solid #C8D6CE; border-radius: var(--r); padding: 0 12px; background: var(--white); width: 100%; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font: inherit; font-size: .95rem; font-weight: 600; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid #C8D6CE; background: var(--white); color: var(--ink); cursor: pointer; }
.pill[aria-pressed="true"] { background: var(--eucalypt); border-color: var(--eucalypt); color: var(--white); }
.note { background: var(--paddock); border-radius: var(--r); padding: 12px 14px; font-size: .9rem; color: #23413A; }
.results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.sort select { width: auto; min-height: 40px; }
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 16px; }
.dcard { background: var(--white); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.dcard-ph { height: 132px; display: flex; align-items: end; padding: 12px 16px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.dcard-name { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.01em; margin-top: 6px; }
.dcard-tags { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag, .chip { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: #EEF3EF; color: #23413A; text-decoration: none; }
.tag-warn { background: var(--warn-bg); color: var(--warn); }
.empty { background: var(--white); border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }

/* profiles */
.crumbs { font-size: .9rem; color: var(--muted); }
.profile-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: start; }
.profile-main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.profile-side { flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 720px) { .profile-side { max-width: none; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.facts div { background: var(--soft); border-radius: 14px; padding: 14px; }
.facts dt { font-size: .8rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.ok { color: var(--leaf); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 600px; }
th { text-align: left; font-size: .85rem; color: var(--muted); font-weight: 600; padding: 8px 10px; }
td { padding: 12px 10px; border-top: 1px solid #E1E9E4; vertical-align: top; }
.num { text-align: right; white-space: nowrap; }
.cols { columns: 2 220px; margin: 0; padding-left: 18px; }
.ph-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ph-row div { height: 110px; border-radius: 14px; background: #DDEFE7; }
.plain { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
.sources { font-size: .85rem; color: var(--muted); }
.blist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.blist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 0; border-top: 1px solid #E1E9E4; }

/* quote form */
.q-intro { display: flex; flex-direction: column; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line, #D3DED7); }
.q-intro[hidden] { display: none; }
.q-intro-h { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1.15; margin: 0; }
.q-promise { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.q-promise li { padding-left: 24px; position: relative; }
.q-promise li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 700; }
.quote { background: var(--white); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 520px) { .quote { padding: 22px 18px; border-radius: 18px; } }
.q-progress { height: 6px; background: #E1E9E4; border-radius: 6px; overflow: hidden; }
.q-progress span { display: block; height: 100%; width: 33%; background: var(--leaf); transition: width .2s; }
.q-step { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.q-step legend { padding: 0; margin-bottom: 4px; }
.q-field { display: flex; flex-direction: column; gap: 8px; }
.q-label { font-weight: 700; }
.q-two { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opts.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opt { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px; border-radius: var(--r); border: 1.5px solid #C8D6CE; cursor: pointer; font-size: .97rem; }
.opt:has(input:checked) { border-color: var(--eucalypt); background: var(--paddock); font-weight: 700; }
.opt input { accent-color: var(--eucalypt); }
.opt-wide { grid-column: 1 / -1; }
@media (max-width: 420px) { .opts { grid-template-columns: 1fr; } .opts.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.consent { display: flex; gap: 12px; align-items: start; padding: 14px; border-radius: var(--r); background: #F2F6F1; font-size: .95rem; }
.consent input { margin-top: 3px; width: 20px; height: 20px; flex: none; accent-color: var(--eucalypt); }
.consent-light { background: none; padding: 0 14px; color: #3A5048; font-size: .9rem; }
.code { font-size: 1.6rem; letter-spacing: .4em; text-align: center; max-width: 260px; }
.q-actions { display: flex; justify-content: space-between; gap: 10px; }
.q-actions .btn-sun { margin-left: auto; min-width: 160px; }
.error { color: var(--err); background: #FBE9E5; border-radius: var(--r); padding: 10px 14px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.q-done { display: flex; flex-direction: column; gap: 14px; align-items: start; }

/* prose */
.prose { gap: 16px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose h2 { margin-top: 12px; }
.lede-dark { font-size: 1.1rem; color: #3A5048; }

/* SEO pages: answer block, stats, FAQs, fact table, footer guides */
.answer { background: var(--white); border-left: 6px solid var(--sun); border-radius: var(--r); padding: 18px 20px; font-size: 1.08rem; }
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.stat { background: var(--eucalypt); color: #D3E3DA; border-radius: var(--r-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; font-size: .95rem; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.03em; line-height: 1; color: var(--sun); }
.faqs { display: flex; flex-direction: column; gap: 10px; }
.faq { background: var(--white); border-radius: var(--r); padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style-position: outside; }
.faq > div { padding: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.facts-table th { color: var(--ink); font-weight: 600; width: 38%; border-top: 1px solid #E1E9E4; padding: 12px 10px; }
.facts-table td { background: var(--white); }
.foot nav[aria-label="Guides"] { display: flex; flex-wrap: wrap; gap: 6px 16px; width: 100%; }
.tag-quiet { background: #EEF3EF; color: var(--muted); }
.facts-tight { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.facts-tight div { display: flex; flex-direction: column; }
.facts-tight dt { font-size: .82rem; color: var(--muted); }
.facts-tight dd { margin: 0; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--leaf); padding: 8px 0; }
.facts-tight div { background: none; padding: 0; border: 0; }
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.bcard { gap: 8px; }
.bcard h3 a { color: var(--ink); text-decoration: none; }
.bcard h3 a:hover { text-decoration: underline; }
.bcard .price { font-size: 1.35rem; margin-top: 2px; }
.dcard-img { position: relative; height: auto; aspect-ratio: 4 / 3; padding: 0; background: #E1E9E4; }
.dcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dcard-type { position: absolute; left: 12px; bottom: 12px; background: rgba(15,46,37,.82); color: #fff; padding: 4px 8px; border-radius: 6px; font-size: .72rem; }
.dcard-credit { position: absolute; right: 8px; top: 8px; background: rgba(255,255,255,.88); color: #23413A; padding: 2px 6px; border-radius: 6px; font-size: .68rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.pstrip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 10px; }
.pstrip figure { margin: 0; }
.pstrip img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.pstrip figcaption { font-size: .8rem; color: var(--muted); padding-top: 4px; }

/* floor plans and line drawings: show the whole image, not a crop */
.dcard-plan { background: #fff; }
.dcard-img.dcard-plan img { object-fit: contain; padding: 6px; }
.pstrip img.plan { object-fit: contain; background: #fff; }

/* home example cards with a design image */
a.hcard { text-decoration: none; transition: transform .15s ease; }
a.hcard:hover { transform: translateY(-2px); }
.hcard.has-img { padding: 14px 16px; max-width: 420px; }
.hcard-row { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.hcard-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hcard-img { flex: 0 0 120px; }
.hcard-img img { display: block; width: 120px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.hcard.has-img .hcard-name { font-size: 1.25rem; line-height: 1.15; }
.hcard.has-img .hcard-price { font-size: 1.5rem; line-height: 1.2; }
.hcard-price small { white-space: nowrap; }
.hcard-credit { font-size: .66rem; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 520px) { .hcard-img { flex-basis: 96px; } .hcard-img img { width: 96px; } }

/* ---------- place search (suburb, postcode, council or location) ---------- */
.pp { position: relative; display: flex; flex-direction: column; gap: 2px; }
.pp-field { position: relative; display: flex; align-items: center; }
.pp-ico { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.pp .pp-input { width: 100%; min-height: 52px; border: 0; background: transparent; color: var(--ink); font: 500 17px/1.2 var(--body); padding: 0 44px 0 42px; border-radius: 12px; }
.pp-input::placeholder { color: #6B7E75; font-weight: 400; }
.pp-input:focus { outline: none; }
.pp-field:focus-within { box-shadow: 0 0 0 3px var(--gum); border-radius: 12px; }
.pp-clear { position: absolute; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.pp-list { position: absolute; top: 56px; left: 0; right: 0; z-index: 40; margin: 0; padding: 6px; list-style: none; background: var(--white); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15,46,37,.25), 0 0 0 1px var(--line); max-height: min(60vh, 420px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.pp-item { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 8px 12px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.pp-item:hover, .pp-item.is-active { background: var(--paddock); }
.pp-name { font-weight: 650; }
.pp-sub { font-size: .85rem; color: var(--muted); }
.pp-empty { padding: 12px; color: var(--muted); font-size: .95rem; }
.pp-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 0 4px; }
.pp-geo { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 6px; border: 0; background: transparent; color: var(--leaf); font: 650 .95rem var(--body); cursor: pointer; border-radius: 8px; }
.pp-geo:hover { color: var(--eucalypt); background: var(--soft); }
.pp-geo:disabled { opacity: .6; cursor: progress; }
.pp-msg { font-size: .875rem; color: var(--muted); }
.pp-chosen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 2px; padding: 12px; border-radius: 12px; background: var(--paddock); color: var(--ink); font-size: .95rem; }
.pp-chosen > span { flex: 1 1 100%; }
.pp-opt { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--leaf); border-radius: 999px; background: var(--white); color: var(--eucalypt); font: 650 .95rem var(--body); cursor: pointer; }
.pp-opt:hover { background: var(--leaf); color: var(--white); }
.pp-help { flex: 1 1 100%; font-size: .85rem; }

/* home: the search sits in the white hero box */
.search.search-place { align-items: flex-start; max-width: 640px; }
.search-place .pp-mount { flex: 1 1 300px; min-width: 0; }
.search-place .search-go { flex: 0 0 auto; min-height: 52px; }
@media (max-width: 560px) { .search-place .search-go { flex: 1 1 100%; } }
.search-place .search-alt { border-color: var(--eucalypt); color: var(--eucalypt); }
.search-place .search-alt:hover { background: #EEF3EF; }

/* designs filter: bordered field */
.f-block .pp-field { border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); }
.f-block .pp .pp-input { min-height: 48px; font-size: 16px; padding-right: 40px; }
.f-block .pp-list { top: 52px; }
.foot-src { flex: 1 1 100%; opacity: .75; font-size: .78rem; }

/* ---------- Granny Flat Cost Calculator ---------- */
.cc { gap: 20px; }
.cc-head { display: flex; flex-direction: column; gap: 10px; max-width: 46em; }
.cc-head .tag { align-self: flex-start; }
.cc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 960px) { .cc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } .cc-out { position: sticky; top: 16px; } }
.cc-form { gap: 22px; }
.cc-form .pp .pp-input { min-height: 48px; font-size: 16px; background: var(--soft); }
.cc-money { display: flex; align-items: center; gap: 6px; border: 1.5px solid #C8D6CE; border-radius: 10px; padding: 0 12px; background: var(--white); max-width: 260px; }
.cc-money input, .cc-m2 input { border: 0; font: inherit; min-height: 44px; width: 100%; background: transparent; color: var(--ink); }
.cc-money:focus-within, .cc-m2 input:focus { box-shadow: 0 0 0 3px var(--gum); outline: none; }
.cc-m2 { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.cc-m2 input { border: 1.5px solid #C8D6CE; border-radius: 10px; padding: 0 12px; max-width: 140px; }
.cc-more { border-top: 1px solid var(--line); padding-top: 16px; }
.cc-more summary { font-family: var(--display); font-weight: 800; font-size: 1.2rem; cursor: pointer; }
.cc-site { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }
.cc-empty { background: var(--white); border: 2px dashed #C8D6CE; border-radius: var(--r-lg); padding: 40px 24px; display: flex; flex-direction: column; gap: 6px; text-align: center; color: var(--muted); }
.cc-empty b { color: var(--ink); font-family: var(--display); font-size: 1.2rem; }
#cc-result { display: flex; flex-direction: column; gap: 16px; }
.cc-card { background: var(--eucalypt); color: #D3E3DA; border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.cc-kicker { font-size: .9rem; font-weight: 600; letter-spacing: .02em; }
.cc-total { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.1rem); letter-spacing: -0.035em; line-height: 1; color: var(--sun); }
.cc-plus { font-size: .95rem; }
.cc-conf { display: flex; align-items: center; gap: 10px; color: var(--white); }
.cc-bars { display: flex; gap: 4px; }
.cc-bars span { width: 26px; height: 8px; border-radius: 4px; background: #2E5246; }
.cc-bars span.on { background: var(--gum); }
.cc-why { margin: 0; padding-left: 18px; font-size: .9rem; display: flex; flex-direction: column; gap: 4px; }
.cc-switch { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; cursor: pointer; padding-top: 4px; }
.cc-switch input { width: 20px; height: 20px; accent-color: var(--sun); }
.cc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.cc-two div { background: var(--roof); border-radius: var(--r); padding: 10px 12px; }
.cc-two dt { font-size: .8rem; }
.cc-two dd { margin: 0; color: var(--white); font-weight: 700; font-size: 1.05rem; }
.cc-missing { background: var(--warn-bg); color: var(--warn); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.cc-missing ul { margin: 0; padding-left: 18px; }
.cc-break { background: var(--white); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.cc-break h4 { margin: 10px 0 0; font-family: var(--display); font-size: 1rem; color: var(--leaf); }
.cc-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cc-line { border-top: 1px solid var(--line); padding: 10px 0; display: flex; flex-direction: column; gap: 4px; }
.cc-line-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cc-line-top b { white-space: nowrap; text-align: right; }
.cc-items { margin: 0; padding-left: 18px; font-size: .85rem; color: var(--muted); }
.cc-src { font-size: .8rem; color: var(--muted); }
.cc-disclaimer { font-size: .8rem; color: var(--muted); }
@media (max-width: 520px) { .cc-line-top { flex-direction: column; gap: 2px; } .cc-line-top b { white-space: normal; text-align: left; } .cc-two { grid-template-columns: 1fr; } }
.cc-refine { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--gum); text-decoration: underline; cursor: pointer; }
.cc-refine:hover { color: var(--sun); }

/* Cost Calculator, step by step (sheet) */
html.ccf-lock, html.ccf-lock body { overflow: hidden; }
.ccf { padding: 0; border: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: var(--white); color: var(--ink);
  display: none; flex-direction: column; }
.ccf[open] { display: flex; }
.ccf::backdrop { background: rgba(15, 46, 37, .55); }
@media (min-width: 720px) {
  .ccf { width: 600px; height: min(860px, calc(100% - 48px)); margin: auto; border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(15, 46, 37, .35); }
}
@media (prefers-reduced-motion: no-preference) {
  .ccf[open] { animation: ccf-in .22s ease-out; }
  @keyframes ccf-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}
.ccf-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 8px 8px 0; background: var(--eucalypt); color: var(--white); flex: none; }
.ccf-top button { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; border-radius: 10px; }
.ccf-top button:hover { background: var(--roof); }
.ccf-name { text-align: center; font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: -.01em; }
.ccf-progress { grid-column: 1 / -1; height: 4px; margin: 8px -8px 0; background: var(--roof); }
.ccf-progress span { display: block; height: 100%; background: var(--sun); transition: width .25s ease; }
.ccf-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ccf-q { padding: 24px 20px 28px; display: flex; flex-direction: column; gap: 14px; }
.ccf-q h2 { font-size: clamp(1.55rem, 5vw, 1.9rem); outline: none; }
.ccf-lede { color: var(--muted); }
.ccf-fine { font-size: .85rem; color: var(--muted); }
.ccf-fine.is-warn { color: var(--warn); }
.ccf-foot { flex: none; display: flex; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.ccf-foot .btn { flex: 1; }
.ccf-foot:has(.btn-block + .btn-block) { flex-direction: column; }

/* address */
.ccf-addr { position: relative; }
.ccf-addr-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--leaf); }
.ccf-addr input { width: 100%; min-height: 56px; padding: 0 14px 0 44px; font: inherit; font-size: 17px; border: 2px solid var(--eucalypt); border-radius: var(--r); background: var(--white); color: var(--ink); }
.ccf-addr input:focus { outline: none; box-shadow: 0 0 0 4px var(--gum); }
.ccf-sugg { list-style: none; margin: -6px 0 0; padding: 0; border-radius: var(--r); overflow: hidden; }
.ccf-sugg:not(:empty) { border: 1.5px solid var(--line); }
.ccf-sugg li { padding: 13px 14px; cursor: pointer; border-top: 1px solid var(--line); }
.ccf-sugg li:first-child { border-top: 0; }
.ccf-sugg li[aria-selected="true"], .ccf-sugg li:hover { background: var(--paddock); }
.ccf-say { font-size: .9rem; color: var(--muted); min-height: 1.2em; }
.ccf-link { align-self: flex-start; border: 0; background: none; padding: 4px 0; font: inherit; font-weight: 600; color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* the block */
.ccf-photo { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--paddock); aspect-ratio: 8 / 5; }
.ccf-photo img, .ccf-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ccf-photo img { object-fit: cover; }
.ccf-photo polygon { fill: rgba(228, 242, 92, .14); stroke: var(--sun); stroke-width: 3.5; stroke-linejoin: round; filter: drop-shadow(0 0 2px rgba(15, 46, 37, .8)); }
.ccf-photo figcaption { position: absolute; left: 8px; bottom: 6px; font-size: .7rem; color: var(--white); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.ccf-photo.is-small { aspect-ratio: 16 / 9; }
.ccf-photo-wait, .ccf-facts-wait li { background: linear-gradient(90deg, var(--paddock), #F6FAEE, var(--paddock)); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .ccf-photo-wait, .ccf-facts-wait li { animation: ccf-wait 1.2s linear infinite; } @keyframes ccf-wait { to { background-position: -200% 0; } } }
.ccf-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ccf-facts-wait li { height: 44px; border-radius: 8px; margin-top: 8px; }
.ccf-fact { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ccf-fl { color: var(--muted); font-size: .9rem; padding-top: 1px; }
.ccf-fv { font-weight: 600; display: flex; flex-direction: column; }
.ccf-fv small { font-weight: 400; color: var(--muted); }
.ccf-fact.is-warn .ccf-fv { color: var(--warn); }
.ccf-route { border-radius: var(--r); padding: 14px 16px; background: var(--paddock); display: flex; flex-direction: column; gap: 6px; }
.ccf-route b { font-family: var(--display); font-size: 1.1rem; }
.ccf-route p, .ccf-route ul { font-size: .92rem; }
.ccf-route ul { margin: 0; padding-left: 18px; }
.ccf-route.is-da, .ccf-route.is-unknown { background: var(--warn-bg); }
.ccf-fix { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.ccf-fixq { display: flex; flex-direction: column; gap: 8px; }

/* answers */
.ccf-choices { display: flex; flex-direction: column; gap: 10px; }
.ccf-choices.is-row { flex-direction: row; flex-wrap: wrap; }
.ccf-choices.is-row .ccf-choice { flex: 1 1 auto; min-height: 52px; }
.ccf-choice { font: inherit; text-align: left; display: flex; flex-direction: column; gap: 2px; justify-content: center; min-height: 60px; padding: 12px 16px;
  border: 1.5px solid #C8D6CE; border-radius: var(--r); background: var(--white); color: var(--ink); cursor: pointer; }
.ccf-choice b { font-weight: 700; }
.ccf-choice span { font-size: .9rem; color: var(--muted); }
.ccf-choice:hover { border-color: var(--leaf); }
.ccf-choice[aria-pressed="true"] { background: var(--eucalypt); border-color: var(--eucalypt); color: var(--white); }
.ccf-choice[aria-pressed="true"] span { color: var(--gum); }
.ccf-choices.is-multi { display: grid; grid-template-columns: 1fr 1fr; }
.ccf-choices.is-multi .ccf-choice { min-height: 56px; }
.ccf-choices.is-multi .ccf-choice:first-child { grid-column: 1 / -1; }

/* result */
.ccf-card { margin: -4px 0 0; }
.ccf-email { display: flex; flex-direction: column; gap: 8px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px; }
.ccf-email-row { display: flex; gap: 8px; }
.ccf-email-row input { flex: 1; min-width: 0; min-height: 48px; padding: 0 12px; font: inherit; font-size: 16px; border: 1.5px solid #C8D6CE; border-radius: 10px; }
.ccf-email-row input:focus { outline: none; box-shadow: 0 0 0 3px var(--gum); }
.ccf-tick { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.ccf-tick input { margin-top: 3px; accent-color: var(--eucalypt); }

/* "your block" on the full Cost Calculator */
.cc-block { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
@media (min-width: 760px) { .cc-block { grid-template-columns: 300px minmax(0, 1fr); align-items: start; } }
.cc-block .ccf-facts { border-top: 0; }
.cc-block-head { display: flex; flex-direction: column; gap: 4px; }
.cc-start { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: var(--eucalypt); color: #D3E3DA; border-radius: var(--r-lg); padding: 20px; }
.cc-start b { color: var(--white); font-family: var(--display); font-size: 1.25rem; display: block; }
.cc-start > div { flex: 1 1 260px; }
.ccf-pending { color: var(--muted); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .ccf-pending { animation: ccf-blink 1.2s ease-in-out infinite; } @keyframes ccf-blink { 50% { opacity: .45; } } }
.price.price-none { font-size: 1rem; color: var(--muted); }

/* Whole-tile links (David, 22 Oct 2026): a card with one destination is clickable anywhere, not just on its link text.
   Add "clicky" to the card and "clicky-link" to its one link; the link's ::after stretches over the card. */
.clicky { position: relative; cursor: pointer; transition: box-shadow .15s ease, transform .15s ease; }
.clicky:hover { box-shadow: 0 10px 28px rgba(15,46,37,.14); transform: translateY(-2px); }
.clicky .clicky-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.clicky .clicky-link:focus-visible { outline: none; }
.clicky:focus-within { outline: 2px solid var(--leaf); outline-offset: 2px; }
.clicky:hover .clicky-link { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .clicky, .clicky:hover { transition: none; transform: none; } }

/* Lead page (/lead/) and admin (/admin/), 22 Oct 2026 */
.lead-hero { background: var(--eucalypt); color: var(--white); }
.lead-hero-in { padding-block: 44px 40px; display: flex; flex-direction: column; gap: 14px; }
.lead-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.eyebrow-sun { color: var(--sun); }
.lead-sub { font-size: 1.1rem; color: #D3E3DA; max-width: 38em; }
.lead-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lpill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 8px; background: rgba(255,255,255,.1); color: #E7F0EA; font-size: .9rem; font-weight: 600; }
.lpill-ok { background: rgba(143,201,179,.22); color: #DFF3EA; }
.lpill-sun { background: var(--sun); color: var(--ink); }
.lead { gap: 18px; }
.lead-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(130px, 100%), 1fr)); gap: 10px; }
.lead-facts div { background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.lead-facts dt { font-size: .8rem; color: var(--muted); }
.lead-facts dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.blur { filter: blur(6px); user-select: none; color: var(--muted); }
.lead-owner .tag { background: var(--paddock); }
.lead-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lead-terms { background: var(--paddock); border-radius: var(--r); padding: 14px 16px; }
.lead-termlist { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.lead-termlist li { padding-left: 22px; position: relative; }
.lead-termlist li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 800; }
.lead input:not([type=checkbox]):not([type=radio]), .admin input:not([type=checkbox]):not([type=radio]) { font: inherit; min-height: 46px; padding: 0 12px; border-radius: var(--r); border: 1.5px solid #C8D6CE; background: var(--white); width: 100%; }
.lead .q-two { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .lead .q-two, .admin .q-two { grid-template-columns: 1fr; } .lead-actions .btn { flex: 1 1 100%; } }
.admin-cols { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 18px; align-items: start; }
@media (max-width: 900px) { .admin-cols { grid-template-columns: 1fr; } }
.admin-detail { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.admin-reqs { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.admin-req { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.admin-req:hover, .admin-req.on { background: var(--paddock); }
.admin-cand { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.admin-pick { display: flex; gap: 10px; align-items: center; }
.admin-pick input { width: 20px; height: 20px; accent-color: var(--eucalypt); }
.admin-mail { grid-template-columns: 1fr 1fr; }

/* ---- UX polish, 24 Oct 2026 ---- */
.nowrap { white-space: nowrap; }
.r-more { margin-top: 18px; }
.f-toggle { display: none; }
.l-jump { align-self: flex-start; }
.lead-sub a { color: var(--sun); }
.mbar { display: none; }
@media (max-width: 720px) {
  /* design search: results first, filters behind a button */
  .f-toggle { display: block; width: 100%; }
  .search-layout > .filters { display: none; }
  .search-layout > .filters.f-open { display: flex; }
  /* profile price table as stacked rows, so the price is never cut off */
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable { min-width: 0 !important; }
  .ptable tr { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
  .ptable td { border: 0 !important; padding: 0 !important; text-align: left !important; }
  .ptable td[data-l="Design"] { grid-column: 1 / -1; }
  .ptable td[data-l="Beds"]::before { content: "Beds "; color: var(--muted); }
  .ptable td[data-l="Size"]::before { content: "Size "; color: var(--muted); }
  .ptable td[data-l="≈ inc GST"]::before { content: "≈ inc GST "; color: var(--muted); }
  .ptable td[data-l="Price covers"] { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }
  /* profile photos two across */
  .pstrip { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; display: grid; gap: 10px; }
  .pstrip figure { margin: 0; }
  /* quote bar stays on screen on profiles */
  .mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px 14px; background: linear-gradient(to top, var(--soft) 72%, rgba(246,248,245,0)); }
  body:has(.mbar) .foot { padding-bottom: 84px; }
}

/* Cost Calculator: photos on type choices, designs that fit (24 Oct 2026) */
.ccf-choices.has-pics .ccf-choice:has(img) { position: relative; padding-left: 124px; min-height: 92px; }
.ccf-choices.has-pics .ccf-choice img { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 100px; height: 72px; object-fit: cover; border-radius: 8px; }
.ccf-fit { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.ccf-fit h3 { font-size: 1.05rem; margin: 0; }
.ccf-fit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ccf-fit-card { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding-bottom: 10px; font-size: .88rem; }
.ccf-fit-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 6px; }
.ccf-fit-card b, .ccf-fit-card span { padding: 0 10px; }
.ccf-fit-card span { color: var(--muted); }
.ccf-fit-card .ccf-fit-p { color: var(--ink); font-weight: 600; }
.ccf-fit-card:hover { border-color: var(--leaf); }
.ccf-fit-all { font-weight: 600; }
@media (max-width: 520px) { .ccf-fit-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ccf-fit-row .ccf-fit-card:nth-child(3) { display: none; } }

/* builders list cards (24 Oct 2026) */
.bfilters { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: end; background: var(--white); border-radius: var(--r-lg); padding: 18px 20px; margin-bottom: 14px; }
.bf-place { flex: 1 1 260px; max-width: 360px; display: flex; flex-direction: column; gap: 6px; }
.bfilters .pills { flex: 2 1 320px; }
.bcount { font-weight: 700; margin: 6px 0 12px; }
.bcard { background: var(--white); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.bcard[hidden] { display: none; }
.bcard-ph img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bcard-none { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--roof); }
.bcard-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.bcard-name { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.bcard-price { font-weight: 700; font-size: 1.05rem; }
.bcard-price small { font-weight: 500; color: var(--muted); }

/* quote form, one question per screen (24 Oct 2026) */
.opts.opts-list { grid-template-columns: 1fr; }
.opt-2 { min-height: 64px; padding: 10px 14px; }
.opt-2 span { display: flex; flex-direction: column; gap: 2px; }
.opt-2 small { color: var(--muted); font-size: .88rem; }
.q-likes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.q-like { position: relative; cursor: pointer; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--white); display: flex; flex-direction: column; font-size: .82rem; }
.q-like img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.q-like span { padding: 6px 8px; color: var(--muted); }
.q-like input { position: absolute; top: 8px; left: 8px; width: 22px; height: 22px; accent-color: var(--eucalypt); }
.q-like:has(input:checked) { border-color: var(--eucalypt); box-shadow: 0 0 0 3px var(--sun); }
@media (max-width: 520px) { .q-likes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.l-liked-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.l-liked-row figure { margin: 0; font-size: .82rem; color: var(--muted); }
.l-liked-row img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.tag-test { background: var(--sun); color: var(--ink); font-weight: 700; }

/* quote form motion and stability (24 Oct 2026: transitions felt jumpy) */
.q-trust { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9rem; color: var(--muted); }
.q-trust li::before { content: "✓ "; color: var(--leaf); font-weight: 700; }
#q-bar { transition: width .35s ease; }
#quote { min-height: calc(100vh - 94px); min-height: calc(100dvh - 94px); }
#quote .q-actions { margin-top: auto; position: sticky; bottom: 0; background: var(--white); padding: 14px 0 16px; z-index: 5; }
.opt { transition: border-color .15s ease, background-color .15s ease; }
.opt:has(input:checked) { border-color: var(--eucalypt); background: var(--paddock); }
@media (prefers-reduced-motion: no-preference) {
  .q-in { animation: q-in .22s ease-out both; }
  .q-in-back { animation: q-in-back .22s ease-out both; }
  @keyframes q-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
  @keyframes q-in-back { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 720px) {
  #quote { min-height: calc(100dvh - 120px); }
  #quote .q-actions { box-shadow: 0 -10px 14px -12px rgba(15,46,37,.25); }
}
.q-step legend h1 { font-size: clamp(1.45rem, 3.2vw, 1.95rem); line-height: 1.18; }
#quote .q-actions[hidden] { display: none; }
@media (max-width: 720px) {
  #quote.q-compact .q-intro { padding-bottom: 10px; gap: 0; }
  #quote.q-compact .q-intro .eyebrow, #quote.q-compact .q-intro-h { display: none; }
  #quote.q-compact .q-trust { font-size: .8rem; gap: 2px 10px; }
  #quote.q-compact .q-trust li:nth-child(2) { display: none; }
}

/* builder feedback loop (28 Oct 2026) */
.fb-row { border-top: 1px solid var(--line, #D3DED7); padding: 14px 0 6px; }
.fb-row:first-of-type { border-top: 0; }
.fb-row p { margin: 0 0 8px; }
.lead-fb { background: var(--soft); }
fieldset.q-field { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
fieldset.q-field legend { padding: 0; margin-bottom: 8px; }
.quote form > .q-field { margin-bottom: 20px; }
.quote textarea { font: inherit; color: var(--ink); border: 1.5px solid #C8D6CE; border-radius: var(--r); padding: 10px 12px; background: var(--white); width: 100%; resize: vertical; }

/* Google rating on builder profiles (29 Oct 2026) */
.g-rating { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.g-rating .g-stars { color: #E2A400; font-size: 1.1em; }
