/* Compact product layout. 4px spacing grid, 16px inputs, 44px touch targets. */
[hidden] { display:none !important; }
body { overflow-x:visible; }
html { scroll-padding-top:76px; }
#kalkulator,#jak-to-dziala,#korzysci,#ceny,#faq,#kontakt { scroll-margin-top:0; }
input,select,textarea { max-width:100%; min-width:0; font:inherit; font-size:16px; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button:disabled { opacity:.6; cursor:wait; }
.container { padding-inline:20px; }
.reveal { opacity:1; transform:none; }
.section { padding:44px 0; }
.section-head { margin-bottom:24px; }
.section-head__eyebrow { margin-bottom:8px; padding:0; background:none; border-radius:0; font-size:12px; }
.section-head__title { font-size:clamp(24px,4vw,32px); }
.section-head__desc { margin-top:8px; font-size:15px; }
.btn { min-height:44px; padding:12px 20px; border-radius:10px; font-size:15px; line-height:1.35; }
.btn--xl { min-height:48px; padding:12px 20px; font-size:16px; }
.btn--primary { box-shadow:none; }
.btn--primary:hover { box-shadow:none; }
.btn--back { padding:10px 8px; }
.chip { min-height:44px; padding:8px 12px; border-radius:8px; font-size:14px; }
.skip-link { position:fixed; top:8px; left:12px; z-index:200; padding:12px; background:white; border-radius:8px; transform:translateY(-200%); }
.skip-link:focus { transform:none; }
.logo { white-space:nowrap; font-size:16px; }
.logo__icon { width:24px; height:24px; flex:none; }
.header__actions { flex:none; }
.header__nav a { min-height:44px; }
.hero { padding:36px 0; }
.hero__wave { display:none; }
.hero__title { font-size:clamp(32px,6vw,48px); max-width:760px; margin:12px auto; line-height:1.12; }
.hero__subtitle { font-size:16px; line-height:1.6; max-width:580px; }
.hero__badge { font-size:12px; padding:6px 12px; }
.hero__cta { margin-top:20px; gap:16px; flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:center; max-width:none; }
.hero-method { font-size:14px; color:var(--brand-300); text-decoration:underline; text-underline-offset:4px; min-height:44px; display:inline-flex; align-items:center; }
.hero__stats { display:flex; justify-content:center; gap:0; margin-top:24px; max-width:440px; }
.hero__stats li { background:none; border:0; border-radius:0; padding:0 20px; flex:1; }
.hero__stats li+li { border-left:1px solid rgba(255,255,255,.16); }
.hero__stats strong { font-size:18px; }
.hero__stats span { font-size:12px; color:#c6d2e0; }
.calc { padding:36px 0; }
.calculator-form { min-width:0; }
.calculator-layout { display:grid; gap:24px; align-items:start; }
.calc-intro h2 { font-size:30px; line-height:1.2; letter-spacing:-.025em; margin-bottom:12px; color:var(--navy-800); }
.calc-intro>p:not(.section-head__eyebrow) { font-size:15px; color:var(--gray-600); max-width:360px; }
.calc-promises { list-style:none; display:grid; gap:8px; margin:20px 0; font-size:14px; }
.calc-promises li::before { content:'✓'; color:var(--ok-700); font-weight:700; margin-right:10px; }
.data-note { padding:16px; background:var(--brand-50); border:1px solid #dbe6fb; border-radius:10px; font-size:13px; line-height:1.55; color:var(--gray-600); }
.data-note strong { color:var(--navy-800); }
.data-note p { margin:6px 0; }
.data-note a,.report-date a,.calculation-details a { color:var(--brand-700); text-decoration:underline; text-underline-offset:3px; }
.wizard { width:100%; max-width:680px; margin:0; padding:24px; border-radius:16px; overflow:visible; border:1px solid var(--gray-200); box-shadow:var(--shadow-s); min-width:0; }
.wizard-topline { display:flex; justify-content:space-between; gap:8px; color:var(--gray-600); font-size:12px; }
.wizard-topline span:first-child { color:var(--brand-700); font-weight:700; }
.wizard-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; list-style:none; padding:0; margin:16px 0 12px; }
.wizard-steps li { display:flex; align-items:center; gap:6px; color:var(--gray-600); font-size:11px; line-height:1.3; }
.wizard-steps li>span:first-child { width:24px; height:24px; display:grid; place-items:center; background:var(--gray-100); border-radius:50%; flex:none; font-weight:700; }
.wizard-steps li[aria-current] { color:var(--brand-700); font-weight:700; }
.wizard-steps li[aria-current]>span:first-child { background:var(--brand-600); color:white; }
.wizard__progress { height:4px; }
.wizard__stage { min-height:0; }
.wizard__question { margin:20px 0 16px; font-size:22px; line-height:1.3; text-align:left; letter-spacing:-.025em; color:var(--navy-800); }
.wizard__hint { font-size:14px; line-height:1.5; text-align:left; color:var(--gray-600); margin:12px 0 16px; }
.wizard__nav { margin-top:12px; min-height:0; padding-top:12px; border-top:1px solid var(--gray-100); display:flex; justify-content:space-between; align-items:center; gap:12px; }
.wizard__nav p { font-size:12px; color:var(--gray-600); margin-left:auto; text-align:right; }
.field { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; min-width:0; }
.field label { font-size:14px; line-height:1.4; font-weight:600; color:var(--ink); margin:0; }
.field label small { font-weight:400; color:var(--gray-600); }
.field input,.field select,.field textarea { width:100%; min-height:48px; border:1px solid var(--gray-300); background:#f9fbfe; color:var(--ink); border-radius:8px; padding:10px 12px; line-height:1.5; font-size:16px; box-shadow:none; }
.field select { padding-right:32px; }
.field textarea { resize:vertical; }
.field input::placeholder,.field textarea::placeholder { color:#66768d; opacity:1; }
.field input:focus,.field select:focus,.field textarea:focus { outline:2px solid var(--brand-500); outline-offset:2px; border-color:var(--brand-500); box-shadow:none; }
.field input[aria-invalid=true] { border-color:#b42318; }
.field small { font-size:12px; line-height:1.5; color:var(--gray-600); }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; }
.popular-cities { display:flex; gap:8px; flex-wrap:wrap; margin:-4px 0 20px; }
.popular-cities .chip { border:1px solid var(--gray-200); background:white; color:var(--navy-700); }
.city-field { position:relative; }
.city-suggestions { position:absolute; top:78px; left:0; right:0; z-index:30; list-style:none; background:white; border:1px solid var(--gray-300); border-radius:8px; box-shadow:var(--shadow-m); max-height:264px; overflow-y:auto; }
.city-suggestions li { min-height:44px; padding:10px 12px; cursor:pointer; font-size:15px; }
.city-suggestions li:hover,.city-suggestions [aria-selected=true] { background:var(--brand-50); color:var(--brand-700); }
.feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:16px 0; }
.feature-check { display:flex; align-items:center; gap:10px; padding:12px; min-height:52px; border:1px solid var(--gray-200); border-radius:10px; cursor:pointer; }
.feature-check:has(input:checked) { border-color:var(--brand-500); background:var(--brand-50); }
.feature-check>span { display:flex; align-items:center; gap:8px; font-size:14px; line-height:1.4; }
.feature-check .icn { width:20px; height:20px; color:var(--gray-600); }
.feature-check input,.consent-check input,.admin-check input { appearance:auto; width:20px; height:20px; min-height:20px; flex:none; accent-color:var(--brand-600); margin:0; }
.consent-check,.admin-check { display:flex; align-items:flex-start; gap:12px; padding:12px 0; min-height:44px; font-size:14px; line-height:1.55; cursor:pointer; }
.consent-check input { margin-top:2px; }
.consent-check a,.privacy-note a { color:var(--brand-700); text-decoration:underline; }
.consents-group { border:0; padding:12px 0; margin:4px 0 12px; border-top:1px solid var(--gray-200); }
.consents-group legend { font-size:14px; font-weight:600; padding-right:8px; }
.consents-group>p { font-size:13px; color:var(--gray-600); }
.privacy-note { font-size:13px; line-height:1.55; color:var(--gray-600); margin:8px 0 16px; }
.contact-methods { border:0; padding:0; margin:0; min-width:0; }
.contact-methods legend { font-size:14px; font-weight:600; margin-bottom:4px; }
.contact-methods>p,.required-note { font-size:12px; color:var(--gray-600); margin-bottom:12px; }
.required-mark { color:var(--brand-700); }
.consents-group legend span { font-weight:400; color:var(--gray-600); }
.form-success a { text-decoration:underline; }
.blog-list-item { padding:20px 0; border-bottom:1px solid var(--gray-200); }
.form-error { color:#b42318; font-size:14px; line-height:1.5; margin:8px 0 12px; }
.form-error:empty { margin:0; }
.form-success { color:var(--ok-700); font-size:14px; margin:12px 0; }
.honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.property-summary { font-size:14px; margin:0 0 16px; }
.property-summary>div,.calculation-details dl>div { display:grid; grid-template-columns:minmax(88px, .7fr) minmax(0,1fr); gap:12px; padding:10px 0; border-bottom:1px solid var(--gray-100); }
.property-summary dt,.calculation-details dt { color:var(--gray-600); }
.property-summary dd { margin:0; display:flex; justify-content:space-between; align-items:center; gap:8px; overflow-wrap:anywhere; }
.edit-link { background:none; border:0; color:var(--brand-700); min-height:44px; padding:4px 0 4px 8px; font-size:13px; text-decoration:underline; flex:none; }
.property-type { border:0; padding:0; margin:0 0 18px; }
.property-type legend { font-size:15px; font-weight:700; margin-bottom:10px; }
.property-type>div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.property-type-card { min-height:84px; display:flex; align-items:center; justify-content:center; gap:10px; padding:14px; border:1px solid var(--gray-300); border-radius:10px; background:#fff; color:var(--navy-800); cursor:pointer; font:inherit; }
.property-type-card .icn { width:24px; height:24px; color:var(--brand-700); }
.property-type-card.is-selected { border:2px solid var(--brand-600); background:var(--brand-50); }
.property-type-card:focus-visible,.type-context button:focus-visible { outline:2px solid var(--brand-600); outline-offset:2px; }
.type-context { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:0 0 10px; color:var(--gray-600); font-size:13px; }
.type-context strong { color:var(--navy-800); }
.type-context button { border:0; background:none; min-height:44px; padding:4px 0 4px 8px; color:var(--brand-700); text-decoration:underline; cursor:pointer; font:inherit; }
.house-extra { border-top:1px solid var(--gray-200); border-bottom:1px solid var(--gray-200); margin:12px 0 18px; padding:10px 0; }
.house-extra>summary { min-height:44px; display:flex; align-items:center; cursor:pointer; color:var(--navy-800); font-weight:600; }
.house-utilities { border:0; padding:0; margin:8px 0 14px; }
.house-utilities legend { font-size:14px; font-weight:600; }
.review-group { padding:14px 0; border-bottom:1px solid var(--gray-200); }
.review-group-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.review-group-heading h4 { margin:0; color:var(--navy-800); font-size:15px; }
.review-values { margin:0; font-size:13px; }
.review-values>div { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:12px; padding:8px 0; border-bottom:1px solid var(--gray-100); min-width:0; }
.review-values dt { color:var(--gray-600); }
.review-values dd { margin:0; overflow-wrap:anywhere; text-align:right; }
.house-result { line-height:1.6; }
.house-result>h3 { margin:12px 0; color:var(--navy-800); font-size:22px; line-height:1.3; }
.house-result>p { color:var(--gray-600); }
@media(max-width:560px) { .property-type>div { gap:8px; } .property-type-card { min-height:76px; flex-direction:column; gap:4px; } .form-grid { grid-template-columns:1fr; } }
.review-group { padding:8px 12px 12px; border:1px solid var(--gray-200); border-radius:8px; margin-bottom:12px; }
.review-group-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.review-group-heading h4 { font-size:14px; font-weight:600; }
.review-values { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; min-width:0; }
.review-values--wide { grid-template-columns:1fr; }
.review-values dt { font-size:12px; color:var(--gray-600); }
.review-values dd { font-size:14px; margin:2px 0 0; overflow-wrap:anywhere; }
.form-grid--identity { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:760px) { .review-values { grid-template-columns:1fr; } .review-values>div { grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr); } .form-grid--identity { grid-template-columns:1fr; gap:0; } }
.result-tag { font-size:12px; color:var(--brand-700); font-weight:600; margin-top:20px; }
.result-tag+.wizard__question { margin:8px 0; }
.result-location { color:var(--gray-600); font-size:14px; }
.result__price { font-size:clamp(26px,6vw,40px); text-align:left; line-height:1.2; margin:16px 0 4px; color:var(--navy-800); font-variant-numeric:tabular-nums; letter-spacing:-.035em; }
.result-unit { font-size:15px; color:var(--gray-600); }
.result-note { font-size:14px; line-height:1.6; margin:16px 0; padding:12px; background:var(--brand-50); border-radius:8px; }
.calculation-details { margin:12px 0; border-top:1px solid var(--gray-200); font-size:14px; }
.calculation-details summary { min-height:48px; padding:12px 0; cursor:pointer; font-weight:600; }
.calculation-details p { margin:8px 0; color:var(--gray-600); }
.calculation-details dd { margin:0; text-align:right; }
.report-date { font-size:12px; color:var(--gray-600); margin:16px 0; }
.result-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.result-actions>.btn { flex:1 1 auto; }
.consultation-link { display:block; color:var(--brand-700); padding:12px 0; text-decoration:underline; }
.steps { background:white; border-block:1px solid var(--gray-200); }
.steps__grid { gap:24px; }
.steps__item { padding:0; text-align:left; border:0; box-shadow:none; border-radius:0; }
.steps__item:hover { transform:none; box-shadow:none; }
.steps__num { display:block; width:auto; height:auto; margin:0 0 8px; background:none; color:var(--brand-600); font-size:13px; font-weight:700; }
.steps__item h3 { font-size:17px; }
.steps__item p { font-size:14px; }
.prices__table { min-width:0; table-layout:fixed; }
.prices__table thead th:nth-child(1) { width:38%; }
.prices__table thead th:nth-child(2) { width:34%; }
.prices__table th,.prices__table td { padding:8px 12px; font-size:14px; }
.prices__table tbody th { font-weight:500; background:white; position:static; color:var(--ink); text-transform:none; letter-spacing:normal; }
/* Warstwy cenowe nazw miast — progi identyczne jak legenda mapy na /miasta/ */
.prices__table tbody th.price-tier-1 { background:rgba(30,64,175,.16); }
.prices__table tbody th.price-tier-2 { background:rgba(59,130,246,.14); }
.prices__table tbody th.price-tier-3 { background:rgba(96,165,250,.15); }
.prices__table tbody th.price-tier-4 { background:rgba(147,197,253,.18); }
.prices__table tbody th .price-dot { display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:7px; }
.prices__table tbody th.price-tier-1 .price-dot { background:#1E40AF; }
.prices__table tbody th.price-tier-2 .price-dot { background:#3B82F6; }
.prices__table tbody th.price-tier-3 .price-dot { background:#60A5FA; }
.prices__table tbody th.price-tier-4 .price-dot { background:#93C5FD; }
.prices__table td:nth-child(2) { white-space:nowrap; font-variant-numeric:tabular-nums; }
.prices__table td a { display:inline-flex; align-items:center; min-height:44px; color:var(--brand-700); font-size:13px; }
.prices__table td:last-child a::after { content:none; }
.prices__table thead th button { min-height:44px; font-size:12px; }
.prices__table thead button:focus-visible { outline:2px solid white; outline-offset:2px; }
.prices__table-wrap { max-height:none; overflow:visible; border-radius:12px; }
.prices__table thead th { position:static; }
.prices__table thead th:first-child { border-top-left-radius:11px; }
.prices__table thead th:last-child { border-top-right-radius:11px; }
.prices #price-search::placeholder { color:#52677f; opacity:1; }
.prices__note { font-size:13px; margin:8px 0; }
.section-tail { display:flex; gap:16px; justify-content:space-between; flex-wrap:wrap; margin-top:16px; font-size:13px; color:var(--gray-600); }
.section-tail a { color:var(--brand-700); text-decoration:underline; min-height:44px; display:inline-flex; align-items:center; }
.home-city-links { flex-basis:100%; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); list-style:none; gap:8px 16px; padding:12px 0; border-top:1px solid var(--gray-200); }
.home-city-links a { font-size:13px; line-height:1.5; }
.breadcrumbs { margin:0 0 20px; font-size:13px; }
.header__inner>nav:not(.header__nav) { display:flex; gap:20px; font-size:14px; }
.header__inner>nav:not(.header__nav) a { display:flex; align-items:center; min-height:44px; }
.faq__item summary { min-height:52px; font-size:15px; padding:16px; }
.faq__item p { font-size:14px; padding:0 16px 16px; line-height:1.65; }
.contact__card { padding:24px; gap:24px; border-radius:16px; align-items:start; background:white; color:var(--ink); border:1px solid var(--gray-200); box-shadow:var(--shadow-s); }
.contact__info h2 { font-size:26px; line-height:1.25; color:var(--navy-800); }
.contact__info>p { font-size:14px; color:var(--gray-600); }
.contact__info>.section-head__eyebrow { color:var(--brand-700); font-size:12px; }
.business-links { display:grid; justify-items:start; gap:4px; margin:16px 0; }
.business-links a { min-height:44px; display:inline-flex; align-items:center; color:var(--brand-700); font-weight:600; font-size:16px; overflow-wrap:anywhere; }
.contact-company { font-size:13px; }
.contact-unavailable { font-size:14px; }
.contact-unavailable p { margin:12px 0 20px; }
.footer { padding:32px 0 20px; }
.footer-compact { display:grid; gap:24px; font-size:13px; }
.footer-compact p { margin-top:8px; }
.footer-compact nav { display:flex; gap:8px 20px; flex-wrap:wrap; }
.footer-compact nav a { min-height:44px; display:inline-flex; align-items:center; }
.footer-company { overflow-wrap:anywhere; }
.footer__bottom { margin-top:24px; font-size:12px; }
.stickybar { padding:8px 16px calc(8px + env(safe-area-inset-bottom,0px)); box-shadow:none; }
.stickybar__cta { min-height:44px; }
.insights__img { max-height:160px; }
.insights__meta { flex-wrap:wrap; font-size:12px; }
.insights__body { padding:16px; }
.insights__title { font-size:18px; }
.legal-content { padding-block:36px 48px; }
.legal-content h1 { font-size:32px; line-height:1.2; margin-bottom:16px; }
.legal-content h2 { font-size:22px; margin:28px 0 12px; }
.legal-content p,.legal-content li { font-size:16px; line-height:1.7; margin-bottom:12px; }
.legal-content ul,.legal-content ol { padding-left:24px; }
.legal-content a { color:var(--brand-700); text-decoration:underline; }
@media(min-width:640px) {
  .section { padding:48px 0; }
  .hero,.hero--city { padding:40px 0; }
  .calc { padding:40px 0; }
  .contact__card { padding:32px; grid-template-columns:1fr 1.2fr; }
  .footer-compact { grid-template-columns:1fr 1fr; }
  .footer-compact nav { grid-column:1/-1; }
}

.market-spread--indicative{border-color:#e6d5ab;background:#fffaf0}
.market-spread--indicative .market-spread__main strong{color:#65461a}
.market-spread--indicative .market-spread__note{color:#65461a}
.report-refinement{margin:32px 0;padding:28px;border:1px solid #d8e5de;border-radius:14px;background:#f7faf8}
.report-refinement h2{margin:2px 0 10px;color:#18344a;font-size:25px;letter-spacing:-.025em}
.report-refinement>p:not(.section-head__eyebrow){max-width:720px;margin:0 0 20px;color:#526b82;line-height:1.55}
.report-refinement form{display:grid;gap:16px}
.report-refinement label{display:grid;gap:7px;color:#18344a;font-size:14px;font-weight:700}
.report-refinement label small{color:#587080;font-size:12px;font-weight:400}
.report-refinement input,.report-refinement select{width:100%;min-height:46px;padding:10px 12px;border:1px solid #aec4b9;border-radius:8px;background:#fff;color:#18344a;font:inherit}
.report-refinement input:focus-visible,.report-refinement select:focus-visible{outline:2px solid #087443;outline-offset:2px}
.report-refinement__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.report-refinement .btn{justify-self:start}
#report-refinement-status{min-height:20px;margin:0;color:#65461a;font-size:14px}
@media(max-width:640px){.report-refinement{padding:20px 16px}.report-refinement h2{font-size:22px}.report-refinement__grid{grid-template-columns:1fr}.report-refinement .btn{width:100%}}
@media(min-width:960px) {
  .hero { padding:40px 0; }
  .calculator-layout { grid-template-columns: minmax(0, .75fr) minmax(0,1.25fr); gap:48px; }
  .calc-intro { padding-top:16px; }
  .footer-compact { grid-template-columns:1fr 1fr .8fr; }
  .footer-compact nav { grid-column:auto; display:grid; gap:0; }
}
@media(max-width:639px) {
  .header { height:calc(var(--header-h) + env(safe-area-inset-top,0px)); padding-top:env(safe-area-inset-top,0px); }
  .header__nav { top:calc(var(--header-h) + env(safe-area-inset-top,0px)); left:env(safe-area-inset-left,0px); right:env(safe-area-inset-right,0px); }
  html { scroll-padding-top:calc(var(--header-h) + env(safe-area-inset-top,0px) + 8px); }
  .header:not(#top) { height:auto; }
  .header:not(#top) .header__inner { flex-wrap:wrap; padding-block:8px; gap:0 20px; }
  .header:not(#top) .header__inner>nav { flex-basis:100%; }
  .home-city-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .container { padding-inline:16px; }
  .hero { padding:28px 0; }
  .hero__title { font-size:34px; }
  .hero__subtitle { font-size:15px; }
  .hero__stats { margin-top:20px; }
  .hero__stats li { padding:0 12px; }
  .calc { padding:24px 0 32px; }
  .calc-intro h2 { font-size:24px; margin-bottom:8px; }
  .calc-intro h2 br { display:none; }
  .calc-intro>p:not(.section-head__eyebrow),.calc-promises { display:none; }
  .calc-intro .data-note { padding:12px; margin-top:12px; font-size:12px; }
  .calc-intro .data-note p { display:none; }
  .calc-intro .data-note a { display:block; margin-top:4px; }
  .calculator-layout { gap:16px; }
  .wizard { padding:16px; border-radius:12px; }
  .wizard-topline { font-size:11px; }
  .wizard-topline span:last-child { display:none; }
  .wizard-steps { gap:4px; margin-top:12px; }
  .wizard-steps li { flex-direction:column; text-align:center; gap:6px; font-size:12px; }
  .wizard-steps li>span:last-child { min-height:26px; }
  .wizard__question { font-size:21px; margin:16px 0; }
  .form-grid { gap:0 12px; }
  .feature-check { padding:10px; gap:8px; }
  .feature-check .icn { display:none; }
  .feature-check>span { font-size:13px; }
  .popular-cities { gap:6px; margin-bottom:16px; }
  .popular-cities .chip { font-size:12px; padding:8px 10px; }
  .wizard__nav p { font-size:11px; }
  .property-summary>div { grid-template-columns:88px minmax(0,1fr); gap:8px; }
  .property-summary { font-size:13px; }
  .result-actions { flex-direction:column; }
  .contact__card { padding:20px 16px; }
  .contact__card .form-grid { grid-template-columns:1fr; }
  .prices__table th,.prices__table td { padding:6px 8px; font-size:13px; overflow-wrap:anywhere; }
  .prices__table thead th button { font-size:11px; }
  .prices__table td a { font-size:12px; }
  .prices__table tbody th.price-tier-1,.prices__table tbody th.price-tier-2,.prices__table tbody th.price-tier-3,.prices__table tbody th.price-tier-4 { background:transparent; }
  .legal-content h1 { font-size:28px; }
  .logo { font-size:14px; gap:6px; }
  .logo__icon { width:20px; height:20px; }
}
@media(max-width:639px) {
  .prices__table-wrap { overflow:visible; border:0; }
  .prices__table,.prices__table tbody { display:block; width:100%; }
  .prices__table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; }
  .prices__table tbody { display:grid; gap:10px; }
  .prices__table tbody tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 14px; min-width:0; padding:12px 14px; border:1px solid var(--gray-200); border-radius:12px; background:#fff; }
  .prices__table tbody tr>th { grid-column:1/-1; display:flex; align-items:center; width:auto; min-width:0; padding:0 0 8px; border:0; border-bottom:1px solid var(--gray-100); background:transparent; font-size:16px; font-weight:700; overflow-wrap:normal; word-break:normal; }
  .prices__table tbody tr>td { display:grid; align-content:start; gap:2px; min-width:0; padding:2px 0; border:0; white-space:normal; font-size:14px; overflow-wrap:anywhere; }
  .prices__table tbody tr>td::before { content:attr(data-label); color:var(--gray-600); font-size:11px; line-height:1.35; font-weight:600; }
  .prices__table tbody tr>td:last-child { grid-column:1/-1; padding-top:8px; border-top:1px solid var(--gray-100); }
  .prices__table tbody tr>td:last-child a { display:flex; justify-content:center; width:100%; min-height:44px; padding:8px 12px; border-radius:8px; background:var(--brand-50); font-size:14px; font-weight:650; }
  .prices__table tbody tr>td[colspan] { grid-column:1/-1; }
  .stickybar { padding-left:max(14px,env(safe-area-inset-left,0px)); padding-right:max(14px,env(safe-area-inset-right,0px)); }
}
@media(max-width:359px) {
  .container { padding-inline:12px; }
  .hero__title { font-size:30px; }
  .form-grid { grid-template-columns:1fr; }
  .hero__cta { gap:12px; }
  .hero__cta .btn { padding-inline:14px; font-size:14px; }
  .hero__stats span { font-size:11px; }
  .feature-grid { grid-template-columns:1fr; }
}

/* Keep the complete brand mark inside narrow phone headers. */
@media(max-width:700px) {
  .header__inner,.history-page-header>.history-page-shell { min-width:0; gap:8px; }
  .header .logo,.history-page-header .logo { min-width:0; flex:0 1 auto; gap:2px; font-size:clamp(11px,3.55vw,16px); letter-spacing:-.035em; }
  .header .logo__image,.history-page-header .logo__image { width:clamp(34px,10vw,48px); height:clamp(34px,10vw,48px); flex:none; }
  .header .logo__text,.history-page-header .logo__text { white-space:nowrap; }
  .header__actions { min-width:0; gap:6px; }
}
@media(max-width:359px) {
  .header__inner.container,.history-page-shell { padding-inline:12px; }
  .header .logo,.history-page-header .logo { font-size:11px; }
  .header .logo__image,.history-page-header .logo__image { width:32px; height:32px; }
  .header__actions .history-cta { padding-inline:8px; font-size:12px; }
  .header__actions>.btn { padding-inline:9px; font-size:12px; }
}
.footer-reveal { width:100%; margin:0; padding:0; overflow:hidden; background:#14233e; }
.footer-reveal[hidden] { display:none; }
.footer-reveal img { display:block; width:100%; max-height:min(52vh,560px); object-fit:cover; object-position:center; }
.history-pwa-dialog { position:fixed; inset:50% auto auto 50%; transform:translate(-50%,-50%); width:min(420px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; margin:0; padding:32px; border:1px solid #d6e2ea; border-radius:20px; background:#fff; color:#17324b; box-shadow:0 24px 80px #07152855; text-align:center; }
.history-pwa-dialog::backdrop { background:#07152888; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.history-pwa-dialog__close { position:absolute; top:10px; right:12px; display:grid; place-items:center; width:40px; height:40px; border:0; border-radius:50%; background:#f0f4f7; color:#18334a; font-size:26px; line-height:1; cursor:pointer; }
.history-pwa-dialog__icon { display:block; width:80px; height:80px; margin:0 auto 18px; border-radius:19px; object-fit:contain; }
.history-pwa-dialog .history-kicker { margin:0 0 8px; color:#267452; font-size:12px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.history-pwa-dialog h2 { margin:0; color:#142b47; font-size:clamp(24px,6vw,30px); line-height:1.14; letter-spacing:-.035em; }
.history-pwa-dialog>p:not(.history-kicker) { margin:12px 0 0; color:#526b82; font-size:15px; line-height:1.6; }
.history-pwa-dialog .history-pwa-dialog__help { padding:12px; border-radius:9px; background:#eef5f8; color:#23465e; font-weight:600; }
.history-pwa-dialog__actions { display:grid; gap:10px; margin-top:24px; }
.history-pwa-dialog__actions .btn { width:100%; min-height:48px; }
.history-pwa-dialog__dismiss { min-height:44px; border:0; background:transparent; color:#47647b; font:inherit; font-size:14px; font-weight:650; cursor:pointer; }
@media(max-width:420px) { .history-pwa-dialog { padding:28px 22px 22px; border-radius:16px; } }
@media print {
  @page { size:A4; margin:16mm; }
  body { padding:0; background:white; font-size:11pt; }
  .header,.hero,.calc-intro,.steps,.prices,.insights,.faq,.contact,.footer,.stickybar,.skip-link,.wizard-topline,.wizard-steps,.wizard__progress,.wizard__nav,.result-actions,.print-help,.consultation-link { display:none !important; }
  .calc,.container,.calculator-layout,.wizard { display:block; width:100%; max-width:none; padding:0; margin:0; border:0; box-shadow:none; }
  .wizard__question { font-size:20pt; }
  .result__price { font-size:28pt; }
  .calculation-details { break-inside:avoid; }
  .calculation-details summary { list-style:none; }
  .property-summary>div,.calculation-details dl>div { padding:5px 0; }
  a { color:inherit; }
}

.privacy-banner{position:fixed;bottom:16px;left:16px;z-index:1000;width:min(620px,calc(100vw - 32px));max-height:85vh;overflow:auto;background:#fff;border:1px solid #bdcddd;box-shadow:0 8px 40px #132d4933;border-radius:14px;padding:22px;color:#16314b;font-size:14px;line-height:1.55}.privacy-banner[hidden]{display:none}.privacy-banner h2{font-size:20px;line-height:1.25;margin:0 0 10px}.privacy-banner p{margin:10px 0}.privacy-banner form fieldset{border:0;border-top:1px solid #d5e0e9;padding:12px 0 0;margin:14px 0 0}.privacy-banner legend{font-weight:700;padding:0 8px 0 0}.privacy-banner label{display:flex;align-items:flex-start;gap:10px;margin:10px 0;cursor:pointer}.privacy-banner label span{flex:1}.privacy-banner label strong,.privacy-banner .privacy-essential strong{font-size:14px}.privacy-banner input{width:20px;height:20px;flex:none;margin:1px 0 0;accent-color:var(--brand-600)}.privacy-banner .privacy-essential{padding:10px 12px;background:#f3f6f8;border-radius:8px}.privacy-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.privacy-actions button{flex:1 1 150px;font:inherit;min-height:44px;padding:9px 12px;background:#edf3f8;color:#17324b;border:1px solid #b9cbdb;border-radius:7px;cursor:pointer}.privacy-actions button:hover{background:#e0eaf1}.privacy-actions button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}@media(max-width:600px){.privacy-banner{left:10px;right:10px;bottom:10px;width:auto;max-height:88vh;padding:18px}.privacy-actions button{flex-basis:100%}}
.privacy-banner--page{position:static;z-index:auto;width:auto;max-height:none;overflow:visible;margin:20px 0 0;padding:20px 0 0;border:0;border-top:1px solid #d5e0e9;border-radius:0;box-shadow:none;background:transparent}

.hero{background:linear-gradient(90deg,#0f2440eb,#0f2440b8),url('/photos/apartment-interior.webp') center/cover}.hero__photo{display:none}.hero__subtitle{font-size:18px}.field label,.checkbox-field,.faq__item summary{font-size:16px}.faq__item p{font-size:16px;line-height:1.7}.wizard__hint,.result-note,.report-date{font-size:14px}.report-send{margin-top:24px;border:1px solid #cfdeea;border-radius:10px;padding:18px}.report-send summary{font-size:17px;font-weight:650;cursor:pointer;min-height:44px}.report-send p{font-size:14px}.report-send form{display:grid;gap:12px;margin-top:12px}.consent-option{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.6;cursor:pointer}.consent-option input{flex:none;width:22px;height:22px;margin-top:2px;accent-color:#176f65}.report-send input:disabled{opacity:.65}.report-send button:disabled{opacity:.6;cursor:not-allowed}@media print{.report-send,.privacy-banner{display:none}}

:root{--brand-700:#1749bd;--brand-600:#195feb;--brand-500:#347afa;--brand-50:#eaf3ff}.btn--primary{background:#175fe5}.btn--primary:hover{background:#124bb9}.hero__accent{color:#66edba}.city-suggestions small{display:block;color:#526b82;font-size:12px;margin-top:2px}.warsaw-area{margin:12px 0;padding:12px;border:1px solid #bddbcf;border-radius:8px;background:#edf9f3}.warsaw-area summary{font-size:14px;cursor:pointer;min-height:44px;font-weight:650;line-height:1.5}.warsaw-area p{font-size:13px}.area-links{display:flex;flex-wrap:wrap;gap:8px}.report-send form+form{border-top:1px solid #d4e3ee;margin-top:20px;padding-top:20px}.faq__item[open]{background:#f4f9ff;border-color:#c9dcf5}

.report-send button:disabled{background:#dfe7ec;color:#53697a;box-shadow:none;cursor:not-allowed;opacity:1}

.wizard-actions{display:flex;gap:12px;align-items:center;margin-top:18px}.wizard-actions>.btn--block{width:auto;flex:1}.wizard-actions>.btn--back{flex:none}.feature-check .icn{display:inline-block;width:25px;height:25px;flex:none;vertical-align:middle;margin-right:8px;fill:none;stroke:currentColor;stroke-width:1.8}.extra-question{border:0;border-top:1px solid #d5e1eb;padding:20px 0;margin-top:20px}.extra-question>label{display:inline-flex;align-items:center;gap:8px;margin:12px 24px 12px 0;min-height:44px}.extra-question input{width:20px;height:20px}.extra-question textarea{width:100%;padding:12px;border:1px solid #b8cada;border-radius:8px;font:inherit}.extra-report{white-space:pre-wrap;overflow-wrap:anywhere}

.verification-card form{display:grid;gap:14px;margin:20px 0}.verification-card [hidden]{display:none}.verification-card p,.sealed-report p{font-size:15px;line-height:1.7}.verification-actions{display:flex;gap:10px;flex-wrap:wrap}.verified-number{padding:12px 16px;background:#e8f6ec;border:1px solid #b8dac4;border-radius:8px;color:#075b32;font-weight:650}.package-request{border:1px solid #bdd5c8;background:#f2faf5;padding:14px;border-radius:8px}.report-lock{padding:12px;background:#edf3f7;border-radius:8px;font-size:13px}.sealed-report .result__price{font-size:clamp(28px,6vw,40px)}.consultation-context{padding:16px;background:#f3f8f5;border:1px solid #d5e4db;border-radius:8px;margin:18px 0}.consultation-context p{font-size:13px}.verification-card input[type=text],.verification-card input[type=tel],.verification-card input[type=email]{min-height:48px}.verification-card .btn[disabled]{cursor:not-allowed;background:#dfe7ec;color:#53697a}.sealed-report details{margin-top:18px}

.history-cta{border:1px solid #b9cde3;background:#fff;color:#17375a;border-radius:8px;padding:10px 13px;min-height:44px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}.history-cta__mobile{display:none}.history-cta:hover,.history-cta:focus-visible{background:#eaf3ff;border-color:#6c9bd9}.history-dialog{width:min(540px,calc(100% - 24px));max-height:min(85vh,800px);border:1px solid #c8d9e8;border-radius:16px;padding:24px;background:#fff;color:#18344a;box-shadow:0 24px 80px #0f244055}.history-dialog::backdrop{background:#0f2440a8}.history-dialog__head{display:flex;align-items:start;justify-content:space-between;gap:20px}.history-dialog__head h2{font-size:26px;line-height:1.2;margin:0 0 12px}.history-dialog__close{border:0;background:#eaf1f7;color:#18344a;border-radius:8px;min-width:44px;min-height:44px;font-size:28px;cursor:pointer}.history-dialog form{display:grid;gap:12px;margin-top:18px}.history-dialog form[hidden],.history-dialog [hidden]{display:none}.history-dialog input{width:100%;min-height:48px;border:1px solid #a9bfd2;border-radius:8px;padding:10px 12px;font:inherit}.history-dialog label{font-weight:650}.history-list{list-style:none;padding:0;margin:18px 0 0}.history-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-top:1px solid #dce7ee}.history-list li span{display:block;color:#526b82;font-size:13px;margin-top:4px}.history-download{flex:none}.history-dialog #history-status{font-size:14px;margin:14px 0}@media(max-width:620px){.header__actions{gap:4px}.history-cta{padding:8px;font-size:12px}.history-cta__desktop{display:none}.history-cta__mobile{display:inline}.history-dialog{padding:18px}.history-list li{align-items:stretch;flex-direction:column}.history-download{align-self:flex-start}}

/* Osobna przestrzeń konta: historia wycen */
.valuation-history-page{min-height:100vh;padding-bottom:48px;background:#f5f7f8;color:#173044}.history-page-header{height:80px;background:#fff;border-bottom:1px solid #dfe6ea}.history-page-shell{width:min(1120px,calc(100% - 40px));margin:0 auto}.history-page-header .history-page-shell{height:100%;display:flex;align-items:center;justify-content:space-between;gap:18px}.history-new-valuation{min-height:38px;padding:8px 14px;font-size:14px}.history-page-main{padding-top:30px}.history-breadcrumb{display:flex;gap:9px;align-items:center;color:#71808b;font-size:13px}.history-breadcrumb a{color:#345a75;text-decoration:underline;text-underline-offset:3px}.history-page-intro{display:flex;align-items:end;justify-content:space-between;gap:28px;padding:29px 0 36px;border-bottom:1px solid #dfe6ea}.history-kicker{margin-bottom:8px;color:#527896;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.history-page-intro h1{margin:0;color:#102d44;font-size:32px;line-height:1.15;letter-spacing:-.035em}.history-page-intro>div>p:last-child{max-width:590px;margin-top:12px;color:#587081;line-height:1.6}.history-privacy-note{max-width:245px;padding-left:16px;border-left:2px solid #7ea6ba;color:#607888;font-size:13px;line-height:1.55}.history-auth{display:grid;grid-template-columns:50px minmax(0,650px);gap:22px;margin-top:34px;padding:30px;border:1px solid #d7e1e6;border-radius:10px;background:#fff}.history-auth__number,.history-record__index{font-variant-numeric:tabular-nums;color:#386d83;font-family:Georgia,serif;font-size:20px}.history-auth h2,.history-results h2{margin:0;color:#14334a;font-size:22px;letter-spacing:-.025em}.history-auth__content>p:not(.history-kicker),.history-results__summary{margin-top:7px;color:#627a8b;font-size:14px}.history-form{display:grid;gap:9px;margin-top:23px}.history-form[hidden],.history-auth[hidden],.history-results[hidden]{display:none}.history-form label{font-size:14px;font-weight:650;color:#24475c}.history-form__row{display:flex;gap:10px}.history-form input:not([type=checkbox]){width:100%;min-height:46px;padding:10px 12px;border:1px solid #b6c8d3;border-radius:7px;color:#173044;background:#fff;font:inherit}.history-form__row input{flex:1}.history-form .btn{min-height:46px;white-space:nowrap}.history-form .consent-option{display:flex;align-items:flex-start;gap:10px;margin-top:5px;color:#526b7b;font-size:13px;font-weight:400;line-height:1.5}.history-form .consent-option input{width:18px;height:18px;margin-top:1px;accent-color:#2563eb}.history-auth #history-status{margin-top:16px;font-size:14px}.history-results{margin-top:36px}.history-results__head{display:flex;justify-content:space-between;align-items:end;gap:20px;padding-bottom:18px;border-bottom:1px solid #dfe6ea}.history-results__head .history-kicker{margin-bottom:5px}.history-results__head .btn{min-height:38px;padding:8px 13px;font-size:13px}.history-results__summary{margin:13px 0 10px}.history-records{border-top:1px solid #dfe6ea}.history-record{padding:22px 0;border-bottom:1px solid #dfe6ea}.history-record__top{display:flex;justify-content:space-between;gap:28px}.history-record__identity{display:flex;gap:15px;align-items:start}.history-record__identity h3{margin:0;color:#17364c;font-size:18px;line-height:1.35;letter-spacing:-.02em}.history-record__identity h3 span{color:#657d8d;font-weight:500}.history-record time{display:block;margin-top:3px;color:#718792;font-size:13px}.history-record__value{text-align:right}.history-record__value span{display:block;color:#718792;font-size:12px}.history-record__value strong{display:block;margin-top:2px;color:#12374d;font-size:21px;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.history-record__actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:17px 0 0 65px}.history-record details{flex:1}.history-record summary{display:inline-flex;gap:8px;align-items:center;color:#285873;font-size:14px;font-weight:650;cursor:pointer}.history-record summary span{color:#7b909c;font-size:12px;font-weight:500}.history-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:16px 0 0;padding:16px;background:#f5f8f9;border:1px solid #e0e8eb;border-radius:7px}.history-facts>div{padding:7px 12px;border-left:1px solid #dce5e9}.history-facts>div:nth-child(3n+1){border-left:0}.history-facts dt{color:#708692;font-size:12px}.history-facts dd{margin:2px 0 0;color:#24475c;font-size:13px;font-weight:600}.history-facts__note{grid-column:1/-1;border-left:0!important;border-top:1px solid #dce5e9;margin-top:5px;padding-top:13px!important}.history-facts__note dd{font-weight:400;white-space:pre-wrap}.history-open-report{min-height:38px;padding:8px 13px;font-size:13px;white-space:nowrap}.history-empty{padding:34px 0;color:#637b89}.history-empty h3{color:#24475c;font-size:19px}.history-empty p{margin:5px 0 18px}.history-empty .btn{min-height:42px}
@media(max-width:700px){.history-page-shell{width:min(100% - 28px,1120px)}.history-page-main{padding-top:20px}.history-page-intro{display:block;padding:23px 0 29px}.history-page-intro h1{font-size:28px}.history-privacy-note{max-width:none;margin-top:20px}.history-auth{grid-template-columns:1fr;gap:8px;padding:21px 18px;margin-top:24px}.history-auth__number{font-size:16px}.history-form__row{display:grid}.history-form__row .btn{width:100%}.history-results{margin-top:26px}.history-results__head{align-items:start}.history-record{padding:19px 0}.history-record__top{display:block}.history-record__value{display:flex;align-items:baseline;gap:8px;margin:14px 0 0 35px;text-align:left}.history-record__value strong{margin:0;font-size:19px}.history-record__actions{display:block;margin:15px 0 0 35px}.history-open-report{margin-top:14px}.history-facts{grid-template-columns:1fr}.history-facts>div{border-left:0;border-top:1px solid #dce5e9}.history-facts>div:first-child{border-top:0}.otp-inputs{gap:5px}.otp-inputs input{width:39px!important}}

/* Home hero photo pans gently while a desktop pointer is over the image. */
.hero.hero--home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #10294d;
}
.hero--home::before,
.hero--home::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero--home::before {
  z-index: 0;
  inset: -3% -5%;
  background: url('/photos/apartment-interior.webp') center / cover no-repeat;
  transform: scale(1.02);
  transition: background-position 1.1s cubic-bezier(.23,1,.32,1), transform 1.1s cubic-bezier(.23,1,.32,1);
}
.hero--home::after {
  z-index: 0;
  background: linear-gradient(90deg, rgba(15,36,64,.92), rgba(15,36,64,.72));
}
.hero--home .hero__inner { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero--home:hover::before {
    background-position: 100% center;
    transform: scale(1.06);
  }
}

#property-form .field.is-invalid input,#property-form .field.is-invalid select{border-color:#b42318;background:#fff7f6;box-shadow:0 0 0 1px #b42318}
#property-form .field-error{display:block;color:#b42318;font-size:13px;line-height:1.45;margin-top:4px}
#property-form .field-error[hidden]{display:none}
.choice-field{border:0;padding:0;margin:20px 0 0;min-width:0}
.choice-field legend{font-size:15px;font-weight:700;color:var(--ink);padding:0;margin-bottom:10px}
.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.choice-tile{position:relative;display:block;cursor:pointer;min-width:0}
.choice-tile input{position:absolute;width:1px;height:1px;opacity:0}
.choice-tile>span{display:flex;align-items:center;gap:10px;min-height:64px;height:100%;padding:10px 12px;background:#fff;border:1px solid var(--gray-300);border-radius:10px;color:var(--ink);font-size:14px;line-height:1.35;transition:background .15s,border-color .15s}
.choice-tile .icn{width:24px;height:24px;flex:none;color:var(--brand-600);fill:none;stroke:currentColor;stroke-width:1.8}
.choice-tile input:checked+span{border-color:var(--brand-600);background:var(--brand-50);box-shadow:0 0 0 1px var(--brand-600)}
.choice-tile input:focus-visible+span{outline:2px solid var(--brand-600);outline-offset:2px}
.choice-field.is-invalid .choice-tile>span{border-color:#b42318;background:#fff7f6}
@media(max-width:420px){.choice-grid{grid-template-columns:1fr}}
.listing-import{padding:16px;margin:0 0 22px;background:#f3f8f5;border:1px solid #d5e4db;border-radius:10px}.listing-import>label{display:block;font-weight:700;margin-bottom:8px}.listing-import__row{display:flex;gap:8px}.listing-import__row input{flex:1;min-width:0;min-height:48px;padding:10px 12px;border:1px solid var(--gray-300);border-radius:8px;font:inherit}.listing-import__row button{flex:none;white-space:nowrap}.listing-import>small{display:block;color:var(--gray-600);font-size:12px;margin-top:8px}.listing-import__review{padding:12px 14px;background:#f3f8f5;border:1px solid #d5e4db;border-radius:8px;font-size:14px}.listing-import [role=status]:empty{display:none}.listing-import [role=status]{margin:10px 0 0;font-size:13px;color:var(--brand-700)}@media(max-width:580px){.listing-import__row{display:grid}.listing-import__row button{width:100%}}
.listing-import__row button{min-height:48px;padding:10px 14px;border:1px solid var(--brand-700);border-radius:8px;background:#fff;color:var(--brand-700);font-weight:700}.listing-import__row button:hover{background:#eaf3ed}
/* SMS verification and the protected report are separate, focused screens. */
.otp-inputs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;max-width:390px}.otp-inputs input{min-width:0;height:54px;padding:0;border:1px solid #9eb2c5;border-radius:8px;background:#fff;color:var(--ink);font:700 22px/1 inherit;text-align:center;font-variant-numeric:tabular-nums}.otp-inputs input:focus{outline:2px solid var(--brand-600);outline-offset:2px;border-color:var(--brand-600)}.account-notice{margin:2px 0 6px;padding:14px;background:#edf5ff;border:1px solid #bfd4ec;border-radius:8px}.report-page-body{min-height:100vh;background:#eef3f8;color:#17324b}.report-page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1120px;margin:0 auto;padding:20px 24px}.report-page{max-width:920px;margin:0 auto;padding:28px 24px 64px}.report-sheet{padding:clamp(24px,5vw,56px);background:#fff;border-radius:18px;box-shadow:0 12px 36px #0f24401a}.report-sheet__top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.report-sheet__status{margin:0;color:var(--brand-700);font-weight:750}.report-sheet .verified-number{margin:0}.report-sheet h1{margin:36px 0 8px;color:#142b47;font-size:clamp(30px,5vw,48px);line-height:1.04;letter-spacing:-.04em}.report-sheet__location{margin:0;color:#526b82;font-size:17px}.report-sheet__price{margin:30px 0 8px;color:#142b47;font-size:clamp(38px,7vw,64px);font-weight:760;line-height:1;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.report-sheet__note{max-width:690px;margin:0;color:#526b82}.report-actions{display:flex;gap:12px;flex-wrap:wrap;margin:32px 0 20px}.report-actions .btn{min-height:50px}.report-email-form{max-width:590px;padding:18px;background:#f0f5fb;border-radius:10px}.report-email-form[hidden]{display:none}.report-email-form label{display:block;margin-bottom:8px;font-weight:700}.report-email-form>div{display:flex;gap:10px}.report-email-form input{flex:1;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #9eb2c5;border-radius:8px;font:inherit}.report-email-form p{margin:10px 0 0;font-size:14px}.report-sheet__account{margin:30px 0;padding:16px 18px;background:#edf7f2;border-radius:10px;color:#164c37}.report-sheet__account a{color:inherit;font-weight:700}.report-facts{margin-top:28px;background:#f5f8fb;border-radius:12px;overflow:hidden}.report-facts summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:0 20px;cursor:pointer;color:#17324b;font-size:18px;font-weight:750;list-style:none}.report-facts summary::-webkit-details-marker{display:none}.report-facts__toggle{display:grid;place-items:center;width:32px;height:32px;flex:none;background:#dbe9f8;border-radius:50%;color:#245577;transition:background-color .18s ease,transform .18s ease}.report-facts__toggle-icon{width:20px;height:20px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.report-facts summary:hover .report-facts__toggle{background:#c8def2}.report-facts summary:focus-visible{outline:2px solid var(--brand-600);outline-offset:-3px}.report-facts[open] .report-facts__toggle{transform:rotate(180deg)}.report-facts dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;padding:0 20px 20px}.report-facts dl>div{padding:15px 0;border-top:1px solid #dce6f0}.report-facts dt{color:#526b82;font-size:13px}.report-facts dd{margin:4px 0 0;color:#17324b;font-weight:700;overflow-wrap:anywhere}.report-facts .extra-report{margin:0 20px 20px;padding:14px;background:#fff;white-space:pre-wrap}.report-sheet__meta{margin:24px 0 0;color:#667b90;font-size:13px}.report-gate{max-width:620px;margin:8vh auto;padding:clamp(26px,5vw,52px);background:#fff;border-radius:18px;box-shadow:0 12px 36px #0f24401a}.report-gate h1{font-size:clamp(28px,5vw,42px);line-height:1.08;letter-spacing:-.035em}.report-gate p{font-size:17px;line-height:1.6}.report-gate .btn{margin-top:10px}@media(max-width:600px){.otp-inputs{gap:6px}.otp-inputs input{height:48px;font-size:19px}.report-page-header{padding:14px 16px}.report-page{padding:12px 16px 36px}.report-sheet{padding:24px 18px;border-radius:14px}.report-sheet .verified-number{width:100%;font-size:13px}.report-actions{display:grid}.report-actions .btn{width:100%}.report-email-form>div{display:grid}.report-email-form button{width:100%}.report-facts dl{grid-template-columns:1fr}.report-facts summary{padding-inline:16px}.report-facts dl{padding-inline:16px}.report-facts .extra-report{margin-inline:16px}}
.report-sheet__range{max-width:690px;margin:20px 0 0;padding:14px 16px;background:#edf7f2;border-left:4px solid var(--brand-600);border-radius:8px;color:#164c37;line-height:1.55}.report-sheet__range strong{display:block;margin-bottom:2px}.report-sheet__consultation{max-width:690px;margin:14px 0 0;color:#36536a;line-height:1.55}
.market-spread{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;max-width:740px;margin:28px 0 14px;padding:22px;background:#edf7f2;border-radius:12px;color:#164c37}.market-spread>div:not(.market-spread__track){display:grid;gap:5px}.market-spread span{font-size:13px;color:#496b5d}.market-spread strong{font-size:clamp(21px,4vw,30px);font-variant-numeric:tabular-nums}.market-spread__track{grid-column:1/-1;height:8px;background:#badbc9;border-radius:99px}.market-spread__track i{display:block;width:100%;height:100%;background:#087443;border-radius:inherit}.market-spread>p{grid-column:1/-1;margin:2px 0 0;padding-top:12px;border-top:1px solid #cde5d8}.market-transactions{margin:34px 0 12px}.market-transactions__heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.market-transactions__heading h2{margin:4px 0 0;color:#17324b;font-size:24px}.market-transactions__heading>span{color:#526b82;font-size:14px}.market-transactions__scroll{overflow:auto;border:1px solid #dce6f0;border-radius:10px}.market-transactions table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.market-transactions th{padding:12px 14px;background:#f3f7fa;color:#526b82;font-size:12px;font-weight:650;white-space:nowrap}.market-transactions td{padding:12px 14px;border-top:1px solid #e3eaf0;white-space:nowrap}.market-transactions__price{font-weight:750;font-variant-numeric:tabular-nums;color:#17324b}.report-sheet__source{margin:0;padding:0 20px 20px;color:#526b82;font-size:14px;line-height:1.55}.report-sheet__source a{color:#245f50;font-weight:650}
@media(max-width:600px){.market-spread{gap:8px 12px;margin:22px 0 12px;padding:16px}.market-spread strong{font-size:22px}.market-transactions__scroll{margin-inline:-4px}.market-transactions table{font-size:13px}.market-transactions th,.market-transactions td{padding:10px 9px}.market-transactions__heading h2{font-size:21px}.market-transactions__heading>span{font-size:12px}}

/* Link źródłowy jest widoczny tylko przy wycenie utworzonej z ogłoszenia. */
.history-record__links{display:flex;align-items:center;gap:18px}.history-listing-link{color:#285873;font-size:13px;font-weight:650;text-decoration:underline;text-underline-offset:3px}.history-facts__listing{grid-column:1/-1;border-left:0!important;border-top:1px solid #dce5e9;margin-top:5px;padding-top:13px!important}@media(max-width:700px){.history-record__links{display:grid;justify-items:start;gap:0}}
.history-pwa-prompt{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:start;margin:22px 0;padding:18px;background:#eaf3ff;border-radius:10px;color:#173044}.history-pwa-prompt[hidden]{display:none}.history-pwa-prompt__icon{display:grid;place-items:center;width:44px;height:44px;background:#0f2440;border-radius:11px}.history-pwa-prompt__icon svg{width:27px;height:27px;fill:#4a8cff}.history-pwa-prompt h3{margin:0;color:#14334a;font-size:17px;line-height:1.25;letter-spacing:-.02em}.history-pwa-prompt p{margin:5px 0 0;color:#48677d;font-size:13px;line-height:1.5}.history-pwa-prompt__help{font-weight:650}.history-pwa-prompt__actions{display:flex;grid-column:2;align-items:center;gap:14px;margin-top:1px}.history-pwa-prompt__actions .btn{min-height:40px;padding:8px 12px;font-size:13px}.history-pwa-prompt__dismiss{padding:8px 0;border:0;background:transparent;color:#355d78;font:inherit;font-size:13px;font-weight:650;text-decoration:underline;text-underline-offset:3px;cursor:pointer}@media(max-width:700px){.history-pwa-prompt{grid-template-columns:42px minmax(0,1fr);gap:12px;margin:18px 0;padding:16px}.history-pwa-prompt__icon{width:42px;height:42px}.history-pwa-prompt__actions{grid-column:1/-1;margin-top:0}.history-pwa-prompt__actions .btn{flex:1}.history-pwa-prompt__dismiss{padding:10px 2px}}
/* Unified OCN typography, imported-data review, button sizing, and supplied mark. */
body,button,input,select,textarea { font-family:'Geist',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.logo { display:inline-flex; align-items:center; gap:9px; }
.logo__image { width:42px; height:42px; object-fit:cover; border-radius:11px; }
.btn,.history-cta,.listing-import__row button,.wm-chat button { font-size:15px; }
.calc-autofill { border-radius:15px; }
.header,.history-page-header { background:#14233e; border-bottom-color:#d9e5de; }
.header .logo,.history-page-header .logo,.report-page-header .logo { gap:4px; }
.header .logo__image,.history-page-header .logo__image,.report-page-header .logo__image { width:58px; height:58px; object-fit:contain; border-radius:0; }
.header .logo__text,.history-page-header .logo__text { color:#fff; }
.logo__accent,.header .logo__accent,.history-page-header .logo__accent { color:#70d987; }
.logo--light .logo__accent { color:#70d987; }
.header .header__nav { background:#14233e; border-color:#d9e5de; }
.header .header__nav a,.header .header__nav a:hover,.history-page-header a:not(.btn) { color:#fff; }
.header .header__inner>nav:not(.header__nav) a { color:#fff; }
.header .header__nav a:hover,.header .header__nav a:active { background:#263b58; }
.header .header__burger span { background:#fff; }
.header .history-cta { color:#fff; background:transparent; border-color:#7b91a4; }
.header .history-cta { font-size:15px; }
.header .history-cta:hover,.header .history-cta:focus-visible { background:#263b58; border-color:#d1deea; }
.history-page-header .btn--ghost { color:#fff; border-color:#7b91a4; }
.history-page-header .btn--ghost:hover { background:#263b58; }
.listing-import__review { background:#eef8f1; border-color:#a9d3b5; color:#214a30; }
.listing-import__review::before { content:'✓'; display:inline-grid; place-items:center; width:23px; height:23px; margin-right:8px; border-radius:50%; background:#d5efdc; color:#24633c; font-weight:800; }
.history-cta { font-size:15px; }
.history-pwa-prompt__icon { overflow:hidden; background:transparent; border-radius:12px; }
.history-pwa-prompt__icon img { display:block; width:44px; height:44px; object-fit:cover; border-radius:12px; }
.history-app-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:24px; }
.history-app-nav__item { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:56px; padding:12px 16px; border:1px solid #d7e1e6; border-radius:10px; font:inherit; font-size:14px; font-weight:650; line-height:1.35; text-align:left; text-decoration:none; }
.history-app-nav__item--current { border-color:#8eb6a1; background:#eef8f1; color:#174c33; }
.history-app-nav__item--current:focus-visible { outline:3px solid #27754a; outline-offset:2px; }
.history-app-nav__item--pending,.history-app-nav__item--pending:disabled { background:#eef1f3; border-color:#dce2e6; color:#79858d; cursor:not-allowed; opacity:1; }
.history-app-nav__badge { flex:none; padding:4px 7px; border-radius:5px; background:#dfe4e7; color:#68747c; font-size:11px; font-weight:700; white-space:nowrap; }
@media(max-width:700px) { .history-app-nav { grid-template-columns:1fr; gap:8px; margin-top:18px; } .history-app-nav__item { min-height:50px; } }
.wm-chat-fab.is-open::before { position:absolute; inset:0; display:grid; place-items:center; transform:translateY(-1px); font-size:32px; font-weight:400; line-height:1; }
@media(max-width:700px) {
  .legal-content .table-scroll { overflow:visible; border:0; }
  .legal-content .table-scroll table,.legal-content .table-scroll tbody { display:block; width:100%; }
  .legal-content .table-scroll thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; }
  .legal-content .table-scroll tbody tr { display:grid; gap:10px; margin:0 0 12px; padding:12px; border:1px solid var(--gray-200); border-radius:12px; background:#fff; }
  .legal-content .table-scroll tbody td { display:grid; grid-template-columns:92px minmax(0,1fr); gap:10px; min-width:0; padding:0; border:0; overflow-wrap:anywhere; }
  .legal-content .table-scroll tbody td::before { color:var(--gray-600); font-size:12px; font-weight:650; }
  .legal-content .table-scroll tbody td:nth-child(1)::before { content:'Dostawca'; }
  .legal-content .table-scroll tbody td:nth-child(2)::before { content:'Cel'; }
  .legal-content .table-scroll tbody td:nth-child(3)::before { content:'Zakres / uwagi'; }
}
@media(min-width:960px) { .header .header__nav { background:transparent; } }
@media(max-width:700px) {
  #property-form .form-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  #property-form .field input,#property-form .field select,#property-form .listing-import__row input { min-height:50px; font-size:16px; }
  #property-form .field small,#property-form .wizard__hint { line-height:1.55; }
  #property-form .listing-import { margin-bottom:18px; padding:15px; }
  #property-form .listing-import__row { display:grid; grid-template-columns:minmax(0,1fr); }
  #property-form .listing-import__row button { width:100%; min-height:50px; }
  #property-form .wizard-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
  #property-form .wizard-actions .btn { width:100%; min-height:50px; }
  #property-form .property-type-card { min-height:84px; }
}
.agent-card-invite { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:18px 0 24px; padding:22px; border:1px solid #cde4d8; border-radius:14px; background:#eff9f3; }
.agent-card-invite h3 { margin:3px 0 6px; color:#173c32; font-size:20px; }
.agent-card-invite p { margin:4px 0; color:#516b62; }
.agent-card-invite .btn { flex:none; }
@media(max-width:700px){.agent-card-invite{display:grid;align-items:start}.agent-card-invite .btn{width:100%}}
button:not(.history-dialog__close):not(.history-pwa-dismiss),.history-results__head .btn,.history-record .btn,.history-form .btn,a.btn{font-size:15px}
.privacy-banner--page{position:static;z-index:auto;width:100%;max-height:none;overflow:visible;margin:24px 0 36px;box-shadow:none;border-radius:8px}

/* Client report: result-first hierarchy with transaction cards at phone widths. */
.report-page-body{background:#f2f5f3}
.report-page-header{max-width:1160px;padding:18px 28px}
.report-page{max-width:1160px;padding:26px 28px 72px}
.report-sheet{padding:clamp(26px,4.5vw,56px);border:1px solid #e1e9e4;border-radius:18px;box-shadow:0 14px 40px #18344a12}
.report-sheet__top{margin-bottom:30px}
.report-sheet__status{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #d7eadd;border-radius:999px;background:#f0f8f2;color:#17643e;font-size:13px}
.report-sheet__status::before{width:7px;height:7px;border-radius:50%;background:#2f9a62;content:""}
.report-sheet .verified-number{padding:9px 12px;border:1px solid #e1e9e4;border-radius:8px;background:#f8faf9;color:#506777;font-size:13px}
.report-sheet>.section-head__eyebrow{margin-bottom:10px;color:#167348;letter-spacing:.09em}
.report-sheet h1{max-width:780px;margin:0 0 10px;font-size:clamp(34px,4.5vw,52px);line-height:1.04;letter-spacing:-.045em}
.report-sheet__location{font-size:15px;line-height:1.5}
.market-spread{container-type:inline-size;max-width:100%;grid-template-columns:minmax(0,1.85fr) minmax(250px,1fr);gap:12px;margin:26px 0 18px;padding:0;background:transparent;color:#18344a}
.market-spread__main,.market-spread__median{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:22px 24px;border-radius:12px}
.market-spread__main{min-height:145px;border-left:4px solid #087443;background:#edf6f0}
.market-spread__main span,.market-spread__median span{font-size:13px;font-weight:600;line-height:1.4}
.market-spread__main span{color:#4f7060}
.market-spread__main strong{margin-top:10px;color:#087443;font-size:clamp(20px,2.7vw,32px);line-height:1.05;letter-spacing:-.045em;white-space:nowrap}
.market-spread__main strong,.market-spread__median strong{font-size:clamp(22px,3.6cqi,38px)}
.market-spread__median{min-height:145px;background:#18344a;color:#fff}
.market-spread__median span{color:#c8d8df}
.market-spread__median strong{margin-top:8px;font-size:clamp(20px,2.7vw,32px);line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap}
.market-spread__median small{margin-top:8px;color:#c8d8df;font-size:12px;line-height:1.4}
.market-spread__method,.market-spread__note{grid-column:1/-1;margin:0;padding:11px 2px 0;border:0;color:#526b82;font-size:13px;line-height:1.5}
.market-spread__method span{padding:0 5px;color:#9aaca8}
.market-spread__note{padding-top:0;font-size:12px}
.report-actions{gap:10px;margin:26px 0 34px}
.report-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:12px 18px;border-radius:8px}
.report-actions .btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.report-actions .btn--primary{background:#087443;border-color:#087443}
.report-actions .btn--primary:hover{background:#075c36;border-color:#075c36}
.report-actions .btn--ghost{border-color:#cbd7d4;background:#fff;color:#18344a}
.report-actions .btn--ghost:hover{background:#f3f7f5}
.report-email-form{margin:-18px 0 30px;border:1px solid #e1e9e4;background:#f7faf8}
.market-transactions{margin:34px 0 14px}
.market-transactions__heading{align-items:center;margin-bottom:16px}
.market-transactions__heading h2{font-size:23px;letter-spacing:-.025em}
.market-transactions__heading>span{padding:6px 10px;border-radius:999px;background:#f0f4f2;font-size:12px;white-space:nowrap}
.market-transactions__scroll{border-color:#dce6e1;border-radius:10px}
.market-transactions table{font-size:13px}
.market-transactions th{padding:12px 13px;background:#f3f7f5}
.market-transactions td{padding:12px 13px}
.report-facts{margin-top:30px;border:1px solid #e1e9e4;background:#f7f9f8}
.report-facts summary{min-height:58px;font-size:15px}
.report-facts dl{grid-template-columns:repeat(3,minmax(0,1fr))}
.report-facts dl>div{padding:12px 10px 12px 0}
.report-sheet__source{padding-bottom:18px;font-size:13px}
.report-sheet__meta{margin-top:18px;padding-top:14px;border-top:1px solid #e5ece8;font-size:12px}
@media(max-width:700px){
  .report-page-header{gap:10px;padding:12px 16px}
  .report-page-header .logo{gap:6px;min-width:0}
  .report-page-header .logo__image{width:42px;height:42px}
  .report-page-header .logo__text{max-width:190px;font-size:13px;line-height:1.2}
  .report-page-header>.btn{flex:none;min-height:42px;padding:8px 10px;font-size:13px}
  .report-page{padding:10px 12px 38px}
  .report-sheet{padding:22px 16px;border-radius:14px}
  .report-sheet__top{gap:8px;margin-bottom:22px}
  .report-sheet__status{font-size:12px}
  .report-sheet .verified-number{width:auto;font-size:11px}
  .report-sheet h1{margin-top:0;font-size:clamp(31px,9vw,38px);line-height:1.04}
  .report-sheet__location{font-size:13px}
  .market-spread{grid-template-columns:minmax(0,1fr);gap:8px;margin:20px 0 14px}
  .market-spread__main{min-height:112px;padding:18px}
  .market-spread__main strong,.market-spread__median strong{font-size:25px;white-space:nowrap}
  .market-spread__main strong,.market-spread__median strong{font-size:clamp(14px,5.1cqi,24px)}
  .market-spread__median{min-height:0;padding:14px 18px}
  .market-spread__method{padding-top:5px;font-size:12px}
  .market-spread__note{font-size:11px}
  .report-actions{display:grid;grid-template-columns:1fr;margin:20px 0 26px}
  .report-actions .btn{width:100%;min-height:48px}
  .report-email-form{margin:-10px 0 24px}
  .market-transactions{margin-top:28px}
  .market-transactions__heading{align-items:end;gap:8px}
  .market-transactions__heading h2{font-size:19px}
  .market-transactions__heading>span{font-size:11px}
  .market-transactions__scroll{overflow:visible;border:0}
  .market-transactions table,.market-transactions tbody{display:block;width:100%}
  .market-transactions thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
  .market-transactions tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;margin:0 0 10px;padding:14px;border:1px solid #e1e9e4;border-radius:10px;background:#fff}
  .market-transactions tbody td{display:flex;flex-direction:column;gap:4px;min-width:0;padding:0;border:0;white-space:normal;font-size:13px;overflow-wrap:anywhere}
  .market-transactions tbody td::before{color:#6b7f88;font-size:10px;font-weight:600;letter-spacing:.02em;content:attr(data-label)}
  .market-transactions tbody td.market-transactions__price{color:#18344a;font-size:15px}
  .market-transactions tbody td:last-child{grid-column:1/-1;padding-top:8px;border-top:1px solid #edf1ef;color:#526b82;font-size:11px}
  .report-facts dl{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:14px}
  .report-facts summary{min-height:54px;padding-inline:14px;font-size:14px}
  .report-sheet__source{padding-inline:14px;font-size:12px}
}

/* The low-confidence state must override the shared market card. */
.market-spread.market-spread--indicative{border-color:#e6d5ab;background:#fffaf0}
.market-spread.market-spread--indicative .market-spread__main strong{color:#65461a}
.market-spread.market-spread--indicative .market-spread__note{color:#65461a}

/* Cookie choice: clear, equally reachable actions before category details. */
.privacy-banner .privacy-actions{align-items:stretch;gap:8px}
.privacy-banner .privacy-actions button,.privacy-banner .privacy-policy-button{display:inline-flex;flex:1 1 145px;align-items:center;justify-content:center;min-height:46px;padding:10px 12px;border:1px solid #b9cbdb;border-radius:8px;background:#fff;color:#17324b;font:inherit;font-weight:600;line-height:1.35;text-align:center;text-decoration:none;cursor:pointer}
.privacy-banner .privacy-actions [data-accept]{background:#fff;color:#17324b}
.privacy-banner .privacy-actions button:hover,.privacy-banner .privacy-policy-button:hover{background:#edf3f8}
.privacy-banner .privacy-actions button:focus-visible,.privacy-banner .privacy-policy-button:focus-visible,.privacy-banner .privacy-save:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.privacy-banner .privacy-custom-panel[hidden]{display:none}
.privacy-banner .privacy-custom-panel fieldset{margin-top:14px}
.privacy-banner .privacy-save{width:100%;min-height:46px;margin-top:8px;padding:10px 14px;border:1px solid #b9cbdb;border-radius:8px;background:#edf3f8;color:#17324b;font:inherit;font-weight:600;cursor:pointer}
.privacy-banner .privacy-autosave{min-height:1.4em;margin-bottom:0;color:#52677a;font-size:13px}
@media(max-width:600px){.privacy-banner .privacy-actions button,.privacy-banner .privacy-policy-button{flex-basis:100%}}

/* Let the brand contract on phone headers while reserving space for both actions. */
@media(max-width:700px) {
  #top .header__inner { box-sizing:border-box; height:auto; min-height:60px; gap:8px; padding-left:max(14px,env(safe-area-inset-left)); padding-right:max(14px,env(safe-area-inset-right)); }
  #top .header__inner > .logo { flex:1 1 0; min-width:0; gap:5px; }
  #top .logo__image { flex:0 0 36px; width:36px; height:36px; }
  #top .logo__text { min-width:0; max-width:100%; font-size:clamp(11px,3.2vw,14px); white-space:normal; overflow-wrap:anywhere; line-height:1.15; text-wrap:balance; }
  #top .header__actions { flex:0 0 auto; gap:5px; }
  #top .header__actions .history-cta { flex:0 0 auto; min-height:44px; display:flex; align-items:center; }
  #top .header__actions button,.header__actions .menu-toggle { min-width:44px; min-height:44px; }
}

.calculator-entry { display:grid; gap:12px; }
.calculator-entry .wizard__question { margin-top:4px; }
.calculator-entry__choice { display:grid; grid-template-columns:28px minmax(0,1fr) 20px; align-items:center; gap:14px; width:100%; min-height:72px; padding:16px 18px; border:1px solid var(--gray-200); border-radius:12px; background:#fff; color:var(--navy-800); font:inherit; font-size:16px; font-weight:650; text-align:left; cursor:pointer; transition:border-color .16s ease,background-color .16s ease,transform .16s ease; }
.calculator-entry__choice svg { width:24px; height:24px; color:var(--brand-700); }
.calculator-entry__choice:hover { border-color:var(--brand-500); background:var(--brand-50); }
.calculator-entry__choice:focus-visible { outline:3px solid var(--brand-500); outline-offset:3px; }
.calculator-entry__choice:active { transform:translateY(1px); }
.calculator-entry__choice:disabled { opacity:.55; cursor:not-allowed; }
.street-field { position:relative; }
.street-suggestions { position:absolute; top:78px; left:0; right:0; z-index:32; max-height:260px; overflow:auto; list-style:none; padding:4px; border:1px solid var(--gray-300); border-radius:8px; background:#fff; box-shadow:var(--shadow-m); }
.street-suggestions li { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; padding:9px 12px; border-radius:5px; cursor:pointer; }
.street-suggestions li small { flex:0 0 auto; color:var(--gray-600); }
.street-suggestions li:hover,.street-suggestions li[aria-selected=true] { background:var(--brand-50); color:var(--brand-700); }
@media(max-width:700px) { .calculator-entry__choice { min-height:64px; padding:14px; } .street-suggestions { top:80px; } }
.valuation-history-page .history-records{display:grid;gap:14px;border:0}
.valuation-history-page .history-record{padding:22px;background:#fff;border:1px solid #d6e2e8;border-radius:10px;box-shadow:0 2px 8px rgba(19,52,74,.05)}
@media(max-width:700px){.valuation-history-page .history-record{padding:18px}.valuation-history-page .history-record__actions{margin-left:0}.valuation-history-page .history-record__value{margin-left:0}}
