/* Public UI rhythm. The homepage hero and its registered mask layers stay in experience.css. */
:root { --public-gap: 24px; }
main :is(.wrap,.ps-container,.studio-layout,.detail-grid,.sell-grid,.map-grid)>* { min-width: 0; }
main :is(.page-enter h1,.page-enter h2,.page-enter h3,.ps-catalogue h1) { overflow-wrap: anywhere; }
main :is(.page-enter h1,.page-enter h2,.page-enter h3) { text-wrap: pretty; }
.btn,.ps-button { line-height: 1.5; white-space: normal; text-align: center; }
.btn svg,.ps-button svg,.mini-label svg,.eyebrow svg { flex-shrink: 0; vertical-align: middle; }
.btn:disabled { cursor: not-allowed; }
:where(button,a,input,select,textarea):focus-visible { outline: 2px solid #94701d; outline-offset: 4px; }
/* The root scroll padding already reserves the fixed header. */
main [id] { scroll-margin-top: 4px; }

/* Readable forms, aligned control baselines, and room for optional help text. */
.field { min-width: 0; gap: 9px; }
.field>label { font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1.55; color: #414141; }
.field :is(input,select,textarea) { min-width: 0; max-width: 100%; width: 100%; font-size: 16px; font-weight: 400; line-height: 1.55; padding: 13px 14px; border: 1px solid #d7d7d7; box-shadow: none; }
.field :is(input,select) { min-height: 52px; }
.field textarea { min-height: 116px; resize: vertical; }
.field input::placeholder,.field textarea::placeholder { color: #747474; opacity: 1; }
.field select,.map-area-select select,.ps-filter-rail select,.ps-results-top select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23575757' stroke-width='1.7'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.req-grid { gap: 22px 20px; }
.req-grid>.field>:is(input,select,textarea) { margin-top: auto; }
.req-opt { font-size: 14px; color: #656565; }
.req-note { color: #626262; }
.req-send { margin-top: 26px; min-height: 52px; }
.ac-auth form { gap: 22px!important; }
.ac-auth-tabs { gap: 4px; padding: 5px; margin-bottom: 26px; }
.ac-auth-tabs button { min-height: 48px; line-height: 1.45; }
.ac-tabs button,.ac-signout { min-height: 44px; }
.ac-item-head>div,.ac-item-name,.ac-bank,.ac-lead-msg { min-width: 0; overflow-wrap: anywhere; }
.ac-photo button { min-width: 32px; min-height: 32px; }
.ac-photo-add { min-height: 48px; }
.ac-tier { padding: 14px; line-height: 1.55; }
.ac-lead-head { flex-wrap: wrap; gap: 6px 16px; }

/* Collection cards stay aligned without compressing their actions. */
.ps-property h3 { line-height: 1.55; min-height: 56px; }
.ps-property-location { align-items: flex-start; }
.ps-property-location svg { margin-top: 2px; }
.ps-property-price { overflow-wrap: anywhere; }
.ps-property-price>span { display: inline-block; }
.ps-property-foot { flex-wrap: wrap; gap: 10px; }
.ps-property-foot>a,.ps-verified,.ps-compare { min-height: 44px; }
.ps-compare { padding: 9px 12px; }
.ps-property-thumbs button { min-height: 44px; }
.ps-property-specs>span { white-space: normal; }
.ps-filter-rail { max-height: calc(100dvh - var(--nav-h) - 50px); overflow-y: auto; }
.ps-filter-rail select { font-size: 16px; }
.ps-filter-title { align-items: flex-start; }
.ps-reset,.ps-active-filters>button { min-height: 44px; }
.ps-active-filters>button { max-width: 100%; text-align: left; overflow-wrap: anywhere; }
.ps-results-top { flex-wrap: wrap; gap: 12px 20px; }
.ps-results-top select { font-size: 15px; min-height: 46px; }
.ps-section-intro p,.ps-section-heading p,.ps-ai-intro { text-wrap: pretty; }
.ps-gallery-label { line-height: 1.5; }
.ps-place-caption { align-items: flex-start; }
.ps-place-caption>span { margin-top: 4px; }
.ps-category>span { line-height: 1.45; }

/* The map retains its geometry; a full-size selector makes every area readable. */
.page-enter[data-screen-label="Neighbourhoods"] { padding-top: calc(var(--nav-h) + 52px); }
.page-enter[data-screen-label="Neighbourhoods"]>.wrap:first-child { padding-top: 0!important; padding-bottom: 36px!important; }
.map-pills { flex-wrap: wrap!important; gap: 8px; overflow: visible; }
.map-area-select { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; font-size: 15px; font-weight: 500; }
.map-area-select select { width: min(100%,360px); min-height: 50px; border: 1px solid #d7d7d7; border-radius: 10px; background-color: #fff; color: #333; padding: 12px 38px 12px 14px; font-size: 16px; }
.section-teal .map-nav-arrow { width: 44px; height: 44px; color: #333; background: #fff; border: 1px solid #ddd; opacity: 1; }
.map-panel-head { flex-wrap: wrap; row-gap: 14px; }
.map-panel-head>div+div { margin-left: auto; }
.map-panel-clear { width: 44px; height: 44px; }
.map-panel-vibe { margin: 4px 0 22px; }
.maplist { scrollbar-gutter: stable; padding-bottom: 8px; }
.maprow { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 12px; padding: 14px; flex-shrink: 0; }
.maprow-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.5; }
.maprow-tags { flex-wrap: wrap; }
.maprow-tags span { white-space: normal; }
.maprow-price { white-space: nowrap; font-size: 15px; }
.map-dots { gap: 0; }
.section-teal .map-dot,.section-teal .map-dot.on { width: 32px; height: 36px; border-radius: 0; background: transparent; display: grid; place-items: center; }
.map-dot::after { content: ''; width: 7px; height: 7px; border-radius: 8px; background: #bababa; }
.map-dot.on::after { width: 20px; background: #333; }

/* Property details, cost summaries, and contact panel. */
.detail-heading { gap: 18px; }
.detail-heading>div { min-width: 0; }
.detail-location { align-items: flex-start!important; line-height: 1.6; }
.detail-location svg { flex-shrink: 0; margin-top: 4px; }
.cost-row,.cost-total { display: grid!important; grid-template-columns: minmax(0,1fr) auto; align-items: start!important; column-gap: 20px!important; line-height: 1.6; }
.cost-row>span:first-child>span { display: block; color: #6a6a6a!important; }
.cost-row>span:last-child,.cost-total>span:last-child { text-align: right; }
#inquire { scroll-margin-top: 4px; }
#inquire .btn { min-height: 52px; }
.gallery-zoom { display: grid; place-items: center; }
.lb-close,.lb-arrow { min-width: 44px; min-height: 44px; }
.lb-label { line-height: 1.5; overflow-wrap: anywhere; }
.hiw-row { align-items: start!important; }
.hiw-row>div:nth-child(2)>p,.trust-grid p,.sell-vs-col p { font-size: 16px!important; line-height: 1.75!important; }
.trust-band .serif-it,.trust-grid>div>span { color: #ddd!important; }
.sell-platforms { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.sell-platform { min-width: 0; padding: 18px; }
.sell-platform:last-child { grid-column: 1/-1; }
.sell-platform>div { overflow-wrap: anywhere; }
.sell-stat { padding: 22px; }
.sell-stat .display { margin-bottom: 10px; }
.sell-grid .card { min-width: 0; }
.privacy-doc :is(p,li) { line-height: 1.85; overflow-wrap: anywhere; }
.privacy-doc h2 { line-height: 1.4; margin-bottom: 14px; }
.privacy-doc li+li { margin-top: 10px; }

/* AI, finder and shared overlays. */
.studio-layout>div,.studio-output,.studio-pick-list { min-width: 0; }
.studio-tabs button { min-width: 0; line-height: 1.5; }
.studio-suggestions button { min-height: 44px; text-align: left; }
.studio-pick-list { scrollbar-gutter: stable; padding-right: 8px; }
.studio-pick-list label { align-items: flex-start; gap: 12px; }
.studio-pick-list input { margin-top: 3px; }
.studio-pick-list label span { min-width: 0; overflow-wrap: anywhere; }
.studio-welcome>div { display: flex; align-items: baseline; gap: 18px; }
.studio-welcome>div>span { flex: none; margin: 0; color: #686868; }
.finder-opt { gap: 14px; padding: 18px 20px; min-height: 64px; }
.finder-opt-check { flex-shrink: 0; }
.finder-opt-sub,.finder-q-note { font-size: 15px; line-height: 1.65; }
.finder-q-title { line-height: 1.3; }
.finder-back { width: 44px; height: 44px; flex-shrink: 0; }
.finder-result-top { align-items: flex-start; min-height: 112px; }
.finder-result-top>svg { flex-shrink: 0; }
.finder-reason { line-height: 1.65; }
.drawer-head { flex-shrink: 0; align-items: center; }
.fav-btn-nav { width: 44px; height: 44px; min-width: 44px; }
.drawer-body { overscroll-behavior: contain; }
.saved-property { text-align: left; width: 100%; font: inherit; color: inherit; }
.ps-compare-scroll { overscroll-behavior-x: contain; scrollbar-gutter: stable; padding-bottom: 12px; }
.cmp-table th:first-child,.cmp-table td:first-child { position: sticky; left: 0; z-index: 1; background: #f9f9f9; text-transform: none!important; letter-spacing: 0!important; }
.cmp-bar { gap: 12px; }
.cmp-bar .btn { min-height: 44px; }
body:has(.cmp-bar) .pearl-fab,body:has(.is-menu-open) .pearl-fab,body:has(.drawer) .pearl-fab,body:has(.lightbox) .pearl-fab,body:has(.studio-page) .pearl-fab,.pearl-fab.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.pearl-x { min-width: 44px; min-height: 44px; }
.pearl-chip { min-height: 44px; }
.pearl-input { align-items: flex-end; }
.ps-footer-grid>div { min-width: 0; }
.ps-footer-grid>div>a { font-size: 15px; min-height: 36px; margin-bottom: 8px; }
.ps-footer h3 { margin-bottom: 20px; }
.ps-footer-bottom { flex-wrap: wrap; align-items: center; }
.ps-footer-currency select { font-size: 16px; min-height: 44px; }
.ps-footer-bottom>a { min-height: 44px; display: inline-flex; align-items: center; }

@media(max-width:1100px) and (min-width:721px) {
  .detail-grid { grid-template-columns: minmax(0,1.3fr) minmax(300px,1fr)!important; gap: 28px!important; }
  .detail-grid .calc-grid { grid-template-columns: 1fr!important; }
  .sell-grid { gap: 32px!important; }
  .map-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr)!important; gap: 24px!important; }
  .maprow { grid-template-columns: 56px minmax(0,1fr); }
  .maprow>div:last-child { grid-column: 2; text-align: left!important; display: flex; gap: 8px; align-items: baseline; }
  .maprow-ph { width: 56px; }
}
@media(max-width:900px) {
  .detail-grid,.sell-grid { grid-template-columns: minmax(0,1fr)!important; }
  #inquire,[data-comment-anchor="sell-form"] { position: static!important; }
  .ps-filter-rail { max-height: none; overflow: visible; }
}
@media(max-width:720px) {
  :root { --public-gap: 20px; }
  .page-enter[data-screen-label="Neighbourhoods"] { padding-top: calc(var(--nav-h) + 30px)!important; }
  .page-enter[data-screen-label="Neighbourhoods"]>.wrap:first-child { padding-bottom: 30px!important; }
  .section-teal[data-screen-label="Neighbourhood map"] { padding: 40px 0!important; }
  .map-pills { flex-wrap: wrap!important; padding: 0; margin-bottom: 20px; }
  .section-teal .map-pill { flex: 1 0 calc(33.33% - 8px); padding: 10px 8px; font-size: 14px; }
  .map-area-select { flex-direction: column; align-items: stretch; gap: 9px; }
  .map-area-select select { width: 100%; }
  .map-panel { padding: 22px 20px; }
  .maprow { grid-template-columns: 56px minmax(0,1fr); gap: 9px 12px; }
  .maprow-ph { width: 56px; height: 58px; }
  .maprow>div:last-child { grid-column: 2; display: flex; align-items: baseline; gap: 8px; text-align: left!important; }
  .maprow-name { -webkit-line-clamp: 3; }
  .maplist { max-height: 420px; }
  .map-panel-head>div+div { margin-left: 0; }
  .map-grid { gap: 22px!important; }
  .req-card,.ac-auth,.studio-form,.studio-welcome,.ai-result { padding: 24px 20px; }
  .req-grid { gap: 20px; }
  .req-head h1 { line-height: 1.25!important; }
  .req-note { text-align: left; }
  .ac-auth-tabs button { font-size: 15px; }
  .ps-property h3 { min-height: 0; }
  .ps-property-specs { margin-top: 6px; }
  .ps-property-foot { gap: 8px; }
  .ps-property-content,.ps-results .ps-property-content { padding: 22px 20px 0; }
  .ps-catalogue-body { padding-top: 26px; }
  .ps-scout { gap: 24px; padding: 28px 22px; }
  .ps-filter-rail { padding: 24px 20px; }
  .ps-filter-help { margin-top: 22px; }
  .ps-results-top { margin-bottom: 20px; }
  .ps-place-caption h3 { font-size: 23px; }
  .detail-heading .badge { white-space: normal; line-height: 1.5; }
  .detail-grid .card,#inquire,.property-ai,[data-comment-anchor="sell-form"] { padding: 24px 20px!important; }
  .detail-grid { gap: 28px!important; }
  .det-specs { gap: 12px!important; }
  .det-specs>span { flex: 1 1 135px; padding: 13px!important; }
  .cost-row,.cost-total { column-gap: 12px!important; }
  .m-actionbar { gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .m-ab-price { min-width: 0; flex: 1; }
  .m-ab-cta { min-height: 46px; max-width: 146px; padding: 10px 13px!important; flex-shrink: 0; }
  .m-ab-wa { min-width: 44px; min-height: 44px; flex-shrink: 0; }
  .hiw-row { grid-template-columns: 42px minmax(0,1fr)!important; gap: 18px!important; padding: 28px 0!important; }
  .hiw-row>div.ph { margin-top: 4px; }
  .trust-band { padding: 30px 24px!important; margin-bottom: 56px!important; }
  .trust-grid { gap: 28px!important; }
  .trust-grid>div { gap: 12px!important; }
  .sell-platform { padding: 16px; }
  .sell-stat { padding: 20px 18px; }
  .sell-stat .display { font-size: 30px!important; }
  .sell-step { grid-template-columns: 42px minmax(0,1fr)!important; gap: 18px!important; }
  .finder-banner { padding: 32px 24px!important; }
  .finder-banner .eyebrow { color: #ccc!important; }
  .finder-banner .serif-it { color: #ddd!important; }
  .finder-q-wrap { padding-top: 20px!important; }
  .finder-result-top { min-height: 0; }
  .studio-suggestions { gap: 10px; }
  .studio-tabs button { padding: 12px 8px; }
  .drawer-head,.drawer-body { padding: 20px!important; }
  .saved-property { flex-direction: column; align-items: stretch!important; padding: 14px!important; }
  .saved-property .ph { width: 100%!important; height: 150px!important; }
  .cmp-bar { padding: 12px; gap: 8px; }
  .cmp-bar .btn { padding: 10px 12px; }
  .cmp-bar>span { flex: 1; }
  .ps-footer-grid { gap: 32px 20px; }
  .ps-footer-grid>div>a { min-height: 44px; margin-bottom: 3px; line-height: 1.6; }
  .ps-footer h3 { margin-bottom: 12px; }
  .ps-footer-bottom { margin-top: 32px; }
  .ps-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  body.has-actionbar .ps-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
}
@media(max-width:380px) {
  .ps-results-top { align-items: stretch; flex-direction: column; }
  .ps-results-top>label { display: flex; justify-content: space-between; font-size: 14px; }
  .ps-results-top select { max-width: none; flex: 1; }
  .ps-property-foot { align-items: stretch; }
  .ps-property-foot>a,.ps-verified { flex: 1; }
  .ps-compare { padding: 8px; }
  .studio-tabs { flex-direction: column; gap: 4px; }
  .studio-tabs button { width: 100%; text-align: left; padding-left: 16px; }
  .cost-row { grid-template-columns: 1fr!important; row-gap: 4px; }
  .cost-row>span:last-child { text-align: left; }
  .cost-total { grid-template-columns: 1fr!important; row-gap: 6px; }
  .cost-total>span:last-child { text-align: left; }
  .m-actionbar { display: grid; grid-template-columns: minmax(0,1fr) 44px; }
  .m-ab-cta { grid-column: 1/-1; width: 100%; max-width: none; }
  body.has-actionbar .pearl-fab { bottom: calc(144px + env(safe-area-inset-bottom)); }
  body.has-actionbar .ps-footer { padding-bottom: calc(156px + env(safe-area-inset-bottom)); }
  .ps-footer-grid { grid-template-columns: 1fr; }
  .sell-platforms { grid-template-columns: minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) {
  .maprow,.map-panel,.finder-q { animation: none; }
}

/* Keep help clear of active editing and expanded filter controls. */
@media(max-width:720px) {
  body:has(form :focus) .pearl-fab,body:has(.ps-filter-rail.is-open) .pearl-fab { opacity: 0; visibility: hidden; pointer-events: none; }
}

.similar-sec { padding-bottom: 64px; }
.finder-banner .eyebrow { color: #ccc!important; }
.finder-banner .serif-it { color: #ddd!important; }
@media(max-width:720px) { .similar-sec { padding-bottom: 40px; } }
/* The chat header sits on a white surface in the current design. */
.pearl-head { gap: 10px; border-bottom: 1px solid #ededed; }
.pearl-head-id,.pearl-head-id>div:last-child { min-width: 0; }
.pearl-head-name { color: #222!important; font-weight: 600; }
.pearl-head-sub { color: #626262!important; line-height: 1.5; }
.pearl-head-ava { color: #333!important; background: #f5f5f5!important; border: 1px solid #ddd!important; box-shadow: none; }
.pearl-x { flex-shrink: 0; color: #333!important; background: #f5f5f5; border: 1px solid #ddd; }
.pearl-x:hover { background: #e9e9e9; }
.pearl-scroll { min-height: 0; overscroll-behavior: contain; }
.pearl-input { flex-shrink: 0; }
.pearl-input input { min-width: 0; min-height: 48px; }
.pearl-send { min-width: 44px; min-height: 44px; }
@media(max-width:720px) {
  .pearl-panel { left: 12px; right: 12px!important; bottom: calc(12px + env(safe-area-inset-bottom))!important; width: calc(100vw - 24px)!important; max-width: none; height: min(760px,calc(100dvh - 24px - env(safe-area-inset-bottom))); max-height: calc(100dvh - 24px - env(safe-area-inset-bottom)); }
  .pearl-head { padding: 16px; }
  .pearl-intro { padding-inline: 4px; }
  .cmp-bar { bottom: calc(16px + env(safe-area-inset-bottom))!important; }
  body.has-actionbar .cmp-bar { bottom: calc(108px + env(safe-area-inset-bottom))!important; }
}
@media(max-width:380px) {
  body.has-actionbar .pearl-fab { bottom: calc(144px + env(safe-area-inset-bottom))!important; }
  body.has-actionbar .cmp-bar { bottom: calc(156px + env(safe-area-inset-bottom))!important; }
}

/* Free-launch account forms and recovery states. */
.ac-auth-form {display:flex;flex-direction:column;gap:22px}
.ac-auth-form .btn {width:100%;min-height:52px}
.ac-auth-link {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 0;border:0;background:none;color:var(--ink);font:500 15px/1.5 Poppins,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.ac-auth-tabs button {white-space:normal;line-height:1.45;min-height:48px}
.ac-form-title {font-size:24px;font-weight:600;line-height:1.3;margin:0 0 20px}
.ac-fieldset {border:0;margin:24px 0 0;padding:0;min-width:0}
.ac-fieldset:disabled {opacity:.65}
.ac-launch-note {display:flex;flex-direction:column;gap:8px;padding:24px;border:1px solid var(--line);border-radius:18px;background:#f3f5f0;margin:0 0 24px;font-size:16px;line-height:1.65}
.ac-launch-note strong {font-weight:600;color:#252b22}
.ac-msg {margin:16px 0;overflow-wrap:anywhere;line-height:1.6}
.ac-item .ac-live-row {flex-wrap:wrap;gap:14px}
.ac-item .ac-stats {flex-wrap:wrap;gap:14px}
.ac-item-name {overflow-wrap:anywhere;line-height:1.5}
.ac-photo button:disabled {display:none}
@media(max-width:600px){.ac-launch-note{padding:20px}.ac-auth-tabs{display:grid;grid-template-columns:1fr 1fr}.ac-item .ac-live-row .btn{width:100%}.ac-item-head{gap:14px;align-items:flex-start}.ac-chip{flex-shrink:0}.ac-form-title{font-size:22px}}

body:has(.ac-auth) .pearl-fab,body:has(.ac-fieldset) .pearl-fab{display:none}

.ac-photo-add {position:relative}
.ac-photo-add:focus-within {outline:2px solid var(--ink);outline-offset:3px}
@media(max-width:380px){.ps-header-inner{padding-inline:16px;gap:8px}.ps-brand{width:104px}.ps-login{padding-inline:12px}.ps-header-actions{gap:5px}}

/* Long live content must wrap inside the phone layout, rather than disappear. */
@media(max-width:720px){
  .ps-gallery-panel:not(.is-active) .ps-gallery-label{visibility:hidden}
  .ps-gallery-label{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;text-align:left;border-radius:12px}
  .ps-category strong{min-width:0;max-width:100%;overflow-wrap:anywhere}
  .ps-category>span{right:15px}
  .ps-results-top select,.ps-currency select,.ps-footer-currency select{font-size:16px}
  .ps-results-top{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  .ps-results-top h2{max-width:none}
  .ps-results-top>label{display:flex;justify-content:space-between;gap:12px;min-width:0;max-width:100%;font-size:14px}
  .ps-results-top select{flex:0 1 auto;min-width:0;max-width:75%;padding-right:36px}
  .ps-mobile-menu{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
  .ps-mobile-menu :is(a,button)>svg{flex-shrink:0}
  .ps-login,.ps-menu-button{min-height:44px}
  body:has(.m-actionbar.away) .pearl-fab,body:has([data-screen-label="My account"]) .pearl-fab,body:has(.finder-progress-wrap) .pearl-fab{visibility:hidden;pointer-events:none}
  .maprow{align-items:start;grid-template-columns:56px minmax(0,1fr);gap:10px 12px}
  .maprow>div:nth-child(2){display:contents}
  .maprow-ph{grid-column:1;grid-row:1;margin-top:3px}
  .maprow-name{grid-column:2;display:block;-webkit-line-clamp:unset;overflow:visible;text-align:left;font-size:16px;overflow-wrap:anywhere}
  .maprow-meta,.maprow-tags{grid-column:1/-1;white-space:normal;overflow:visible;text-overflow:clip;text-align:left;overflow-wrap:anywhere}
  .maprow-tags:empty{display:none}
  .maprow>div:last-child{grid-column:1/-1;flex-wrap:wrap;gap:6px 10px}
  .maprow-price{white-space:normal;overflow-wrap:anywhere}
  .hiw-row,.hiw-row.no-photo,.sell-step{grid-template-columns:50px minmax(0,1fr)!important;gap:16px!important}
  .hiw-row>.display,.sell-step>.display{font-variant-numeric:tabular-nums;letter-spacing:-.04em}
  .sell-step p,.sell-grid .calc-grid p,.sell-grid .calc-grid .card>div:last-child{font-size:16px!important;line-height:1.75!important}
  .sell-grid .calc-grid .card>div:last-child>span{align-items:flex-start!important}
  .sell-grid .calc-grid svg{flex-shrink:0}
  .sell-first{padding:30px 24px;margin-bottom:56px!important}
  .sell-first .eyebrow{color:#ccc!important}
  .sell-first .serif-it{color:#ddd!important}
  .sell-first>.finder-banner-glow{max-width:100%}
  .sell-first .btn{max-width:100%}
  .ac-account-name.is-email{display:block;font-size:18px;line-height:1.6;letter-spacing:0;margin-top:8px;overflow-wrap:anywhere}
  .finder-lead{padding:24px 20px}
  .finder-lead>div{min-width:0!important}
  .finder-lead>div>div:last-child{font-size:16px!important;line-height:1.7}
  .finder-lead-form{width:100%;min-width:0}
  .finder-lead-form input{width:100%;min-width:0;font-size:16px;min-height:52px}
  .finder-lead-form .btn{white-space:normal!important}
  .lightbox{padding:calc(80px + env(safe-area-inset-top)) 16px calc(80px + env(safe-area-inset-bottom))}
  .lb-stage,.lb-img{max-width:100%;max-height:calc(100dvh - 160px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
  .lb-close{top:calc(16px + env(safe-area-inset-top));right:16px}
  .lb-counter{top:calc(27px + env(safe-area-inset-top));left:20px}
  .lb-arrow{top:auto;bottom:calc(18px + env(safe-area-inset-bottom));transform:none;width:48px;height:48px;background:#ffffff24}
  .lb-arrow.left{left:calc(50% - 60px)}
  .lb-arrow.right{right:calc(50% - 60px)}
  .lb-arrow.left:hover,.lb-arrow.right:hover{transform:none}
  .lb-thumbs{display:none}
  .lb-label{font-size:14px;padding:22px 12px 12px}
}

/* A phone comparison has its own reading order, rather than a clipped table. */
.cmp-mobile,.cmp-mobile-title{display:none}
@media(max-width:720px){
  .cmp-drawer{width:100%!important;max-height:100dvh}
  .cmp-drawer .drawer-head{padding:16px 20px!important;gap:16px;background:#fff}
  .cmp-drawer .drawer-body{min-height:0;overflow-x:hidden;padding:16px 20px calc(24px + env(safe-area-inset-bottom))!important}
  .cmp-drawer .ps-compare-scroll,.cmp-desktop-title{display:none}
  .cmp-mobile,.cmp-mobile-title{display:block}
  .cmp-drawer .cmp-ai-link{margin:0 0 14px;font-size:15px;min-height:48px}
  .cmp-mobile-picker{position:sticky;top:-16px;z-index:2;display:flex;gap:8px;padding:12px 0;background:#f9f9f9}
  .cmp-mobile-picker>button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:78px;padding:10px;border:1px solid #dededb;border-radius:12px;background:#fff;color:#555;text-align:left;font-size:14px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
  .cmp-mobile-picker>button[aria-pressed="true"]{background:#222;color:#fff;border-color:#222}
  .cmp-number{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:none;border-radius:50%;background:#ebebe7;color:#555;font-size:14px;font-weight:600;line-height:1}
  .cmp-mobile-picker>button[aria-pressed="true"] .cmp-number{background:#fff;color:#222}
  .cmp-mobile-property{margin:8px 0 28px;overflow:hidden;border:1px solid #e2e2de;border-radius:18px;background:#fff}
  .cmp-mobile-photo{height:160px;width:100%;border-radius:0}
  .cmp-mobile-property-copy{padding:18px}
  .cmp-mobile-counter{display:block;margin-bottom:8px;font-size:14px;color:#6a6a63;letter-spacing:.06em}
  .cmp-mobile-property h2{margin:0 0 12px;font-size:20px;line-height:1.4;font-weight:600;letter-spacing:-.025em;overflow-wrap:anywhere}
  .cmp-mobile-property p{margin:0 0 14px;font-size:22px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
  .cmp-mobile-property a{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:44px;padding-top:12px;border-top:1px solid #ecece8;font-size:15px;color:#333}
  .cmp-mobile-property a svg{flex:none}
  .cmp-mobile-details-title{font-size:22px;font-weight:600;line-height:1.35;letter-spacing:-.03em;margin:0 0 8px}
  .cmp-mobile-hint{font-size:15px;line-height:1.6;color:#696961;margin:0 0 22px}
  .cmp-mobile-feature{padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid #e4e4df}
  .cmp-mobile-feature h3{margin:0 0 10px;font-size:16px;font-weight:600;line-height:1.5}
  .cmp-mobile-feature dl{margin:0;display:grid;gap:5px}
  .cmp-mobile-feature dl>div{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start;padding:10px;border-radius:10px}
  .cmp-mobile-feature dl>div.is-active{background:#eeeee9}
  .cmp-mobile-feature dt,.cmp-mobile-feature dd{margin:0;min-width:0}
  .cmp-mobile-feature dd{padding-top:2px;font-size:16px;line-height:1.55;color:#3c3c38;overflow-wrap:anywhere}
  .cmp-mobile-feature .is-active .cmp-number{background:#222;color:#fff}
  .cmp-drawer .drawer-body>.btn:last-child{width:100%;min-height:48px;margin-top:4px!important}
}
