/* Shared form controls keep their hit area and alignment in WebKit. */
.inside select, #site-dialog select {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 38px 0 14px;
  border: 1px solid #d0d1ca;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16' fill='none' stroke='%23323631' stroke-width='1.6'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E") right 13px center / 16px no-repeat;
}
.inside summary { display:flex; align-items:center; gap:12px; cursor:pointer; list-style:none; }
.inside summary::-webkit-details-marker { display:none; }
.inside summary::after { content:'+'; margin-left:auto; font:400 21px/1 Inter,sans-serif; }
.inside details[open] > summary::after { content:'−'; }
.inside :is(select,input,summary):focus-visible,.segments input:focus-visible + span { outline:2px solid #635300; outline-offset:2px; }
.feed-stamp { margin:8px 0 18px; color:#62655d; font-size:13px; }
.inside .list-filters { display:flex; align-items:end; flex-wrap:wrap; gap:16px; padding:22px; margin:18px 0 24px; background:#f5f5f1; border:0; border-radius:16px; }
.list-filters > label { flex:1 1 125px; }
.filter-rooms,.programs { border:0; margin:0; padding:0; min-width:0; }
.filter-rooms { flex:1.3 1 196px; }
.inside .list-filters label,.inside .calc-fields label,.filter-rooms legend,.programs legend { font-size:13px; font-weight:550; line-height:1.4; color:#41443e; }
.filter-rooms legend,.programs legend { margin-bottom:6px; padding:0; }
.inside .list-filters input:not([type=radio]),.payment-tool .calc-fields input { height:48px; width:100%; min-width:0; background:white; border:1px solid #d0d1ca; border-radius:8px; font-size:15px; padding:0 13px; box-sizing:border-box; }
.segments { display:flex; padding:3px; background:#fff; border:1px solid #d0d1ca; border-radius:9px; min-height:48px; box-sizing:border-box; }
.segments label,.list-filters .segments label { display:block; flex:1 1 auto; position:relative; margin:0; cursor:pointer; }
.segments input[type=radio] { position:absolute; width:1px; height:1px; min-height:0; padding:0; opacity:0; }
.segments label span { display:flex; align-items:center; justify-content:center; height:40px; min-width:29px; padding:0 6px; border-radius:6px; font-size:14px; font-weight:550; }
.segments input:checked + span { background:var(--ink); color:#fff; }
.segments label:hover input:not(:checked) + span { background:#f1f1ec; }
.list-filters .yellow { min-height:48px; }
.inside .list-filters .extra-filters { width:100%; margin:0; padding:0; border:0; background:none; }
.inside .extra-filters > summary { width:fit-content; min-height:38px; padding:0; border:0; background:none; font-weight:600; }
.extra-filters > div { gap:14px; }
.catalog-pages { display:flex; gap:6px; margin-top:24px; flex-wrap:wrap; }
.catalog-pages a { display:grid; place-items:center; min-width:40px; min-height:40px; border:1px solid var(--line); border-radius:8px; }
.catalog-pages [aria-current] { background:var(--ink); color:#fff; }
.flat-tile { position:relative; min-width:0; background:white; border:1px solid #dfdfd8; border-radius:16px; overflow:hidden; }
.flat-tile:hover,.flat-tile:focus-within { border-color:#aaa99d; }
.flat-tile-link { display:block; padding:22px; color:inherit; text-decoration:none; }
.flat-tile-link:focus-visible { outline-offset:-4px!important; }
.flat-identity { display:flex; align-items:baseline; flex-wrap:wrap; gap:3px 12px; padding-right:29px; }
.flat-identity h3 { font-size:clamp(18px,1.45vw,24px); margin:0; letter-spacing:-.045em; line-height:1.2; }
.flat-identity > span,.flat-meta > span { color:#64665e; font-size:13px; }
.flat-plan { height:clamp(165px,16vw,245px); display:grid; place-items:center; padding:23px 10px; margin:6px 0; }
.flat-plan img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.flat-meta { border-top:1px solid #e6e6df; padding-top:16px; }
.flat-meta strong { display:block; font-size:clamp(24px,2vw,32px); font-weight:600; letter-spacing:-.05em; }
.flat-meta p { margin:7px 0 3px; font-size:15px; font-weight:550; }
.compare-flat { position:absolute; top:12px; right:9px; display:grid; place-items:center; width:42px; height:42px; border:0; background:transparent; border-radius:50%; color:#66685e; }
.compare-flat:hover { background:#f4f4ef; }
.compare-flat[aria-pressed=true] { color:var(--ink); background:var(--sun); }
.lot-heading { margin:28px 0; }
.lot-heading p { margin:0 0 10px; color:#5f625a; }
.lot-heading h1 { margin:0; line-height:1.06; font-size:clamp(34px,4.1vw,68px); letter-spacing:-.055em; }
.buyer-lot .plan-large { display:grid; align-content:center; min-height:370px; background:white; border:1px solid var(--line); }
.buyer-lot .plan-large img { width:100%; height:clamp(240px,28vw,450px); object-fit:contain; padding:20px; }
.buyer-lot .price-panel small { display:block; margin:4px 0 0; text-align:left; color:#62645b; }
.footer-directory { border-top:1px solid var(--line); padding-block:28px 40px; display:grid; grid-template-columns:repeat(3,1fr); gap:25px; }
.footer-directory h2 { font-size:16px; margin:0 0 10px; }
.footer-directory a { display:block; width:fit-content; font-size:14px; margin:0 0 8px; }
.coast-widget { overflow:hidden; background:#edece5; border-radius:14px; min-height:300px; }
.coast-widget iframe { display:block; width:100%; height:100%; min-height:360px; border:0; }
.payment-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); border-radius:18px; overflow:hidden; background:#f5f5f1; }
.payment-inputs,.payment-layout .calc-result { padding:clamp(20px,3vw,48px); }
.payment-tool .programs { margin-bottom:22px; }
.payment-tool .calc-fields { gap:16px; }
.payment-tool .calc-result { grid-column:auto; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:12px; margin:0; border-radius:0; background:#242722; }
.payment-tool .calc-result output { color:#ffdf37; line-height:1.12; font-size:clamp(24px,3.5vw,52px); letter-spacing:-.055em; }
.payment-tool .calc-result small { margin:0; max-width:48ch; color:#e2e3d9; }
.payment-tool .payment-split { width:100%; margin:8px 0; }
.payment-tool .schedule { margin-top:12px; padding:0 20px; border:1px solid var(--line); border-radius:12px; }
.payment-tool .schedule summary { min-height:52px; font-weight:550; }
.schedule [data-schedule] { padding:0 0 16px; overflow:auto; max-height:340px; }
.payment-tool > .inline-link { margin-bottom:16px; }
@media (max-width:900px) {
 .payment-layout { grid-template-columns:1fr; }
 .list-filters .filter-rooms { flex:1 1 225px; }
}
@media (max-width:650px) {
 .inside select,#site-dialog select,.inside .list-filters input:not([type=radio]),.payment-tool .calc-fields input { font-size:16px; }
 .inside .list-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:16px; }
 .filter-rooms,.list-filters > label:has(select[name=city]),.list-filters > label:has(select[name=sort]),.list-filters > button,.extra-filters { grid-column:1/-1; }
 .extra-filters > div { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .flat-plan { height:208px; }
 .lot-detail.buyer-lot .price-panel { grid-row:auto; }
 .buyer-lot .plan-large { min-height:240px; }
 .buyer-lot .plan-large img { height:235px; }
 .footer-directory { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .programs .segments { display:grid; grid-template-columns:1fr 1fr; }
 .payment-tool .calc-fields { grid-template-columns:1fr; }
 .coast-widget,.coast-widget iframe { min-height:280px; }
}
.inside input[type=number] { -moz-appearance:textfield; appearance:textfield; }
.inside input[type=number]::-webkit-inner-spin-button,.inside input[type=number]::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.result-tools { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px 18px; margin:16px 0; font-size:14px; }
.result-tools > span { font-weight:600; }
.result-tools label { display:flex; gap:10px; align-items:center; color:#5c6056; font-size:13px; }
.result-tools select { width:auto; min-height:42px; height:42px; }
@media(max-width:520px) { .result-tools label { font-size:0; gap:0; }.result-tools select { font-size:16px; } }
.context-form { min-width:0; overflow:clip; }
.context-form label { min-width:0; max-width:100%; grid-template-columns:minmax(0,1fr); }
.context-form select { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* Project directory and editorial project pages */
.estate-directory-head,.house-browser .section-head { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.inside .estate-directory-head h1 { margin:0; font-size:clamp(40px,5vw,76px); letter-spacing:-.06em; }
.estate-directory-head { margin:24px 0; }
.district-tabs,.floor-tabs,.view-tabs { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.district-tabs { margin:18px 0 24px; }
.district-tabs a,.floor-tabs a,.view-tabs button { display:inline-flex; min-height:42px; align-items:center; justify-content:center; text-decoration:none; padding:7px 15px; border:1px solid var(--line); border-radius:24px; color:var(--ink); background:#fff; font:inherit; font-size:14px; }
.district-tabs [aria-current],.floor-tabs [aria-current],.view-tabs [aria-pressed=true] { background:var(--ink); color:white; border-color:var(--ink); }
.district-tabs a:hover,.floor-tabs a:hover,.view-tabs button:hover { border-color:#74776e; }
.estate-cover { position:relative; }
.estate-cover picture,.estate-cover img { display:block; width:100%; }
.project-panorama.estate-cover img { height:clamp(250px,38vw,590px); object-fit:cover; }
.estate-pin { position:absolute; left:clamp(12px,2vw,32px); bottom:clamp(12px,2vw,32px); display:flex; align-items:center; gap:8px; min-height:42px; padding:9px 16px; border-radius:32px; background:white; color:var(--ink); font-weight:550; }
.estate-pin svg { width:18px; height:18px; }
.estate-sections { margin:20px 0; }
.project-intro,.estate-story,.district-layout,.house-detail { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(22px,5vw,80px); align-items:center; }
.project-intro p,.estate-story p,.story-short p { font-size:clamp(16px,1.25vw,20px); line-height:1.55; max-width:64ch; margin:14px 0; color:#484b43; }
.estate-story { grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); background:#f5f5f1; border-radius:18px; overflow:hidden; padding-right:clamp(20px,4vw,76px); }
.estate-story img { width:100%; height:clamp(290px,29vw,440px); object-fit:cover; }
.estate-story h2 { margin:0; }
.estate-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.estate-gallery figure { margin:0; }
.estate-gallery button { width:100%; border:0; background:none; padding:0; display:block; cursor:zoom-in; }
.estate-gallery img { display:block; aspect-ratio:1.9; height:auto; width:100%; object-fit:cover; border-radius:13px; }
.estate-gallery figcaption { margin:8px 0; color:#575c51; font-size:14px; }
.house-drawing { position:relative; overflow:hidden; border-radius:14px; }
.house-drawing img,.house-drawing svg { display:block; width:100%; }
.house-drawing img { height:auto; }
.house-drawing svg { position:absolute; inset:0; height:100%; }
.house-drawing path { fill:rgba(255,220,34,.13); stroke:rgba(255,255,255,.88); stroke-width:1.6; }
.house-drawing a:is(:hover,:focus-visible) path,.house-drawing [aria-current] path,.house-drawing .house-selected { fill:rgba(255,216,23,.52); stroke:#ffdc22; stroke-width:3; }
.house-detail { align-items:start; grid-template-columns:minmax(190px,.65fr) minmax(0,1.35fr); background:#f5f5f1; border-radius:16px; padding:clamp(16px,3vw,44px); }
.house-detail h3,.house-detail h4 { margin:0 0 10px; }
.house-detail strong { display:block; font-size:clamp(22px,2vw,32px); }
.house-detail table { border-collapse:collapse; width:100%; margin-top:18px; font-size:14px; }
.house-detail caption { text-align:left; font-weight:600; margin-bottom:8px; }
.house-detail th,.house-detail td { padding:10px 4px; border-bottom:1px solid var(--line); text-align:left; }
.house-detail th { color:#55594f; font-weight:500; }
.house-detail table a { text-decoration:underline; text-underline-offset:3px; }
.floor-tabs a { min-width:42px; padding:5px 10px; border-radius:8px; }
.district-layout { align-items:start; grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr); }
.district-address { margin-bottom:22px; }
.district-address strong { font-size:20px; }
.district-address p { margin:5px 0; color:#53574f; }
.district-map { border-radius:16px; overflow:hidden; }
.district-map .atlas-figure { border:0; }
.district-widget { width:100%; min-height:380px; border:0; display:block; }
.nearby-list { list-style:none; margin:0; padding:0; }
.nearby-list a { display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--line); padding:10px 0; }
.nearby-list strong { font-weight:550; white-space:nowrap; }
.flat-gallery { border-radius:16px; border:1px solid var(--line); overflow:hidden; }
.flat-stage { position:relative; }
.flat-slide { position:relative; }
.flat-slide button { width:100%; display:block; border:0; background:white; padding:0; color:var(--ink); cursor:zoom-in; }
.flat-slide img { display:block; height:clamp(250px,31vw,500px); width:100%; object-fit:contain; padding:24px; }
.flat-slide[data-panel=photo] img { object-fit:cover; padding:0; }
.flat-slide .house-drawing { border-radius:0; margin:0; }
.flat-slide .house-drawing img { padding:0; height:auto; }
.flat-enlarge { position:absolute; bottom:12px; right:12px; background:#fff; border:1px solid var(--line); padding:7px 12px; border-radius:22px; font-size:13px; }
.flat-gallery .view-tabs { padding:12px; border-top:1px solid var(--line); }
.lot-visit-actions { display:grid; gap:9px; }
.price-panel .lot-visit-actions button { margin:0; display:flex; justify-content:center; align-items:center; min-height:48px; width:100%; padding:10px 16px; gap:10px; text-align:center; }

.price-panel .lot-visit-actions svg { justify-self:end; width:18px; }
.lot-payments > .view-tabs { margin-bottom:18px; }
.full-payment { display:flex; gap:22px; align-items:center; justify-content:space-between; flex-wrap:wrap; border-radius:16px; padding:clamp(22px,4vw,58px); background:#f5f5f1; }
.full-payment strong { font-size:clamp(28px,3vw,48px); }
[data-panel][hidden] { display:none!important; }
@media(max-width:750px){
 .project-intro,.estate-story,.district-layout,.house-detail { grid-template-columns:1fr; gap:18px; }
 .estate-story { padding:0; }.estate-story>div { padding:0 20px 18px; }.estate-story img { height:230px; }
 .estate-gallery { gap:10px; }.estate-gallery img { aspect-ratio:1.33; }.estate-gallery figcaption { font-size:12px; }
 .project-panorama.estate-cover img { height:clamp(215px,65vw,370px); }
 .district-tabs a,.view-tabs button { padding:7px 12px; }.house-detail th,.house-detail td { font-size:12px; }
 .flat-gallery .view-tabs { gap:5px; }.flat-gallery .view-tabs button { font-size:13px; }
 .flat-slide img { height:250px; }
}
.district-plate { margin:0; background:#f1f1e9; border-radius:16px; overflow:hidden; }
.district-paper { position:relative; }
.district-paper img { display:block; width:100%; height:auto; }
.geo-marker,.geo-home { position:absolute; display:grid; place-items:center; transform:translate(-50%,-50%); border-radius:50%; }
.geo-marker { background:#fff; border:2px solid #292c25; width:32px; height:32px; padding:0; color:#242722; font-weight:650; box-shadow:0 2px 5px #0002; }
.geo-marker:is(:hover,:focus-visible),.geo-marker[aria-pressed=true] { z-index:3; background:var(--sun); }
.geo-home { width:36px; height:36px; background:var(--ink); color:var(--sun); border:2px solid white; }
.geo-home .ico { width:21px; }
.district-plate figcaption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:9px 12px; background:#f4f4ee; font-size:13px; }
.geo-index { display:inline-grid; width:22px; height:22px; margin-right:8px; place-items:center; border-radius:50%; background:#eee; font-size:12px; }
.nearby-list .is-selected .geo-index { background:var(--sun); }
.flat-gallery .view-tabs { display:grid; grid-template-columns:repeat(auto-fit,minmax(74px,1fr)); gap:8px; }
.flat-gallery .view-tabs button { display:grid; grid-template-rows:44px auto; align-content:start; justify-content:stretch; padding:3px; gap:4px; background:white; color:var(--ink); border-radius:8px; overflow:hidden; font-size:12px; }
.flat-gallery .view-tabs button img { display:block; width:100%; height:44px; object-fit:contain; }
.flat-gallery .view-tabs button:is([data-view=photo],[data-view=scheme]) img { object-fit:cover; border-radius:4px; }
.flat-gallery .view-tabs button span { padding:2px 0; line-height:1.2; }
.flat-gallery .view-tabs [aria-pressed=true] { border-color:var(--ink); box-shadow:inset 0 0 0 1px var(--ink); }
@media(max-width:600px) {
 .flat-gallery .view-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.coast-description { margin:10px 0; max-width:52ch; color:#52564c; font-size:15px; line-height:1.5; }
.price-panel .lot-visit-actions .yellow { border:1px solid transparent; }

.hero-foot:has(.carousel) { justify-content:flex-end; }
.flat-tile .flat-identity { padding-right:76px; }
.flat-tile .compare-flat { right:49px; }
.flat-favorite { display:inline-grid; place-items:center; border:1px solid var(--line); border-radius:50%; width:42px; height:42px; padding:0; background:white; color:var(--ink); cursor:pointer; }
.flat-favorite .ico { width:21px; height:21px; }
.flat-favorite[aria-pressed=true] .ico { fill:currentColor; }
.flat-favorite:hover { background:var(--soft); }
.flat-tile > .flat-favorite { position:absolute; top:12px; right:9px; border:0; }
.lot-heading { position:relative; padding-right:56px; }
.lot-heading > .flat-favorite { position:absolute; right:0; bottom:0; }
.saved-group + .saved-group { margin-top:24px; }
.saved-group h3 { margin:10px 0 4px; }
.saved-row { border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:12px; }
.saved-row a { flex:1; padding:12px 0; }
.saved-row small,.house-unit small { display:block; color:var(--muted); margin-top:4px; }
.save-remove { border:0; border-radius:8px; padding:8px; background:var(--soft); color:var(--ink); }
.view-project { --section-bar:48px; }
.estate-sections {
  position:sticky; top:calc(var(--admin-fixed) + var(--mast-compact)); z-index:5;
  display:flex; flex-wrap:nowrap; align-items:center; height:var(--section-bar); overflow-x:auto;
  scrollbar-width:none; background:white; padding:0; margin:0; border-bottom:1px solid var(--line);
}
.estate-sections::-webkit-scrollbar { display:none; }
.estate-sections a { flex:none; white-space:nowrap; }
.estate-sections a[aria-current] { color:white; background:var(--ink); }
.view-project section[id] { scroll-margin-top:var(--section-bar); }
.project-mast { flex-wrap:wrap; }
.project-tools { max-width:100%; display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:12px 18px; }
.mast-delivery { font-weight:550; font-size:clamp(14px,1.3vw,19px); }
.construction .report-tabs { flex-wrap:nowrap; overflow-x:auto; justify-content:flex-start; padding:2px 0 7px; }
.report-tabs button { white-space:nowrap; flex:none; }
.construction .estate-gallery img { aspect-ratio:1.55; }
[data-panel][hidden], [data-house-fallback][hidden] { display:none !important; }
#site-dialog:has(.house-picker) { width:min(690px,calc(100vw - 24px)); }
.house-location { margin:0 0 18px; color:var(--muted); }
.house-controls { display:flex; align-items:end; justify-content:space-between; gap:12px; padding:0 0 14px; border-bottom:1px solid var(--line); }
.house-controls label,.finder-fields label { display:grid; gap:6px; font-weight:550; font-size:13px; }
.house-controls select,.finder-fields :is(input,select) { width:100%; min-height:46px; box-sizing:border-box; font:inherit; font-size:16px; color:var(--ink); border:1px solid var(--line); border-radius:9px; padding:8px 14px; background-color:white; }
.house-controls select,.finder-fields select { padding-right:36px; }
.house-controls>span,.finder-count { color:var(--muted); font-size:14px; }
.house-unit { padding:14px 0; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; gap:14px; align-items:center; }
.house-unit>span { white-space:nowrap; font-weight:580; }
.house-unit:hover strong,.unit-option:hover strong { text-decoration:underline; }
.unit-finder { max-width:900px; }
.finder-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.5fr); gap:12px; }
.finder-results { border-top:1px solid var(--line); }
.unit-option { display:grid; grid-template-columns:1fr auto; align-items:center; gap:3px 12px; width:100%; text-align:left; color:var(--ink); background:white; border:0; border-bottom:1px solid var(--line); padding:13px 4px; }
.unit-option small { grid-column:1; color:var(--muted); }
.unit-option span { grid-column:2; grid-row:1/3; font-size:14px; }
[data-selected-unit] { background:var(--soft); border-radius:12px; padding:20px; margin-top:15px; }
[data-selected-unit] h3 { margin:0 0 6px; }
[data-selected-unit] p { margin:0 0 14px; }
.purchase-opening + .lot-payments { margin-top:clamp(35px,5vw,80px); }

@media(max-width:650px) {
 .project-tools { justify-content:flex-start; }
 .view-project .project-mast { align-items:start; flex-direction:column; }
 .view-project { --section-bar:44px; }
 .finder-fields { grid-template-columns:minmax(0,1fr); }
 .house-unit { font-size:14px; gap:6px; }
}


#site-dialog #dialog-title:focus { outline:none; }

.flat-stage { height:clamp(265px,36vw,560px); overflow:hidden; }
.flat-stage .flat-slide { position:absolute; inset:0; display:grid; place-items:center; grid-template:minmax(0,1fr) / minmax(0,1fr); }
.flat-stage .flat-slide > button { position:absolute; inset:0; height:100%; min-height:0; }
.flat-stage .flat-slide button img { position:absolute; inset:0; width:100%; height:100%; box-sizing:border-box; }
.flat-stage .house-drawing { width:min(100%, 70vw); max-height:100%; }
.flat-stage .house-drawing img { width:100%; height:auto; }
.flat-meta .monthly-example b,.price-panel .monthly-example b { display:block; color:var(--ink); font-size:clamp(20px,2vw,31px); line-height:1.12; letter-spacing:-.045em; font-weight:650; }
.monthly-example small { display:block; margin:5px 0 10px; font-size:12px; line-height:1.4; color:var(--muted); }
.flat-meta:has(.monthly-example)>strong { font-size:17px; font-weight:550; letter-spacing:-.03em; }
.price-panel .monthly-example { margin-top:4px; }
.monthly-jump { display:inline-block; margin:0 0 15px; font-size:14px; }
.payment-tool .calc-fields { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
.range-field,.filter-range { min-width:0; }
.payment-tool .range-field { background:white; border:1px solid var(--line); border-radius:12px; padding:10px 16px 5px; }
.payment-tool .range-field label { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.payment-tool .range-field label input { border:0; width:41%; text-align:right; padding:0; height:34px; font-size:18px; font-weight:600; background:transparent; }
.payment-tool .calc-fields input.amount-slider,.inside .list-filters input.amount-slider { appearance:none; -webkit-appearance:none; display:block; width:100%; min-width:0; height:24px; margin:0; padding:0; border:0; border-radius:0; background:transparent; cursor:pointer; }
.amount-slider::-webkit-slider-runnable-track { height:3px; border-radius:4px; background:linear-gradient(to right,#a78000 var(--range-fill,0%),#deded7 var(--range-fill,0%)); }
.amount-slider::-moz-range-track { height:3px; border-radius:4px; background:#deded7; }
.amount-slider::-moz-range-progress { height:3px; background:#a78000; }
.amount-slider::-webkit-slider-thumb { -webkit-appearance:none; width:18px; height:18px; margin-top:-7.5px; border:1px solid #8c7205; border-radius:50%; background:var(--sun); }
.amount-slider::-moz-range-thumb { width:17px; height:17px; border:1px solid #8c7205; border-radius:50%; background:var(--sun); }
.list-filters:has(.filter-range) { align-items:start; }
.list-filters:has(.filter-range)>button { align-self:center; }
.filter-range .amount-slider { margin-top:2px!important; }
.protection-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(20px,4vw,60px); border-top:1px solid var(--line); padding:22px 0; }
.protection-grid h3,.finish-budget h3,.project-offers article h3 { margin:0 0 8px; }
.protection-grid p,.finish-budget p { margin:8px 0 14px; line-height:1.5; color:var(--muted); }
.buyer-protection { margin-block:clamp(38px,6vw,88px); }
.finish-budget { background:var(--soft); padding:clamp(18px,3vw,40px); border-radius:16px; align-self:start; }
.finish-switch { display:flex; align-items:center; gap:12px; margin:20px 0; cursor:pointer; }
.finish-switch { position:relative; }
.finish-switch input { position:absolute; right:0; width:40px; height:24px; opacity:0; cursor:pointer; }
.finish-rail { width:40px; height:24px; border:1px solid #888; border-radius:20px; background:#e4e4df; position:relative; flex:none; pointer-events:none; }
.finish-rail::before { content:""; position:absolute; inset:3px auto 3px 3px; width:16px; box-sizing:border-box; border-radius:50%; background:white; border:1px solid #777; }
.finish-switch input:checked + .finish-rail { background:var(--sun); border-color:#847017; }
.finish-switch input:checked + .finish-rail::before { left:18px; background:var(--ink); border-color:var(--ink); }
.finish-switch input:focus-visible + .finish-rail { outline:2px solid var(--ink); outline-offset:3px; }
.finish-budget>strong { display:block; font-size:clamp(20px,2.2vw,32px); }
.project-offers article { border-top:1px solid var(--line); padding-bottom:16px; }
.project-offers article img { width:100%; height:auto; aspect-ratio:1.8; border-radius:12px; object-fit:cover; }
.project-offers article p { font-size:14px; margin:12px 0 4px; color:var(--muted); }
.project-offers article strong { display:block; font-size:26px; margin:5px 0 15px; }
.scheme-overview { margin:10px 0; display:inline-flex; align-items:center; }
.static-scheme img { width:100%; height:auto; border-radius:16px; }
@media(max-width:650px) { .protection-grid { grid-template-columns:1fr; } .flat-stage { height:275px; } .payment-tool .range-field { padding-inline:12px; } }
.plan-actions { position:absolute; bottom:10px; right:10px; left:10px; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; }
.plan-actions a { background:white; border:1px solid var(--line); border-radius:18px; padding:7px 11px; font-size:13px; }

/* Paired catalogue controls use one rail for both inclusive bounds. */
.inside .list-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:24px 18px; padding:20px 0 25px; background:white; border-bottom:1px solid var(--line); border-radius:0; }
.list-filters .extra-filters { grid-column:1/-1; }
.list-filters [data-filter-total] { width:fit-content; justify-self:start; }
.filter-band { margin:0; padding:0; min-width:0; border:0; }
.filter-band legend,.payment-tool .range-field label>span:first-child { display:block; padding:0; margin:0 0 8px; font-size:13px; line-height:1.35; font-weight:500; color:#545660; }
.band-box { position:relative; display:flex; justify-content:space-between; gap:8px; align-items:center; border-radius:8px; background:var(--soft); padding:0 16px; min-height:54px; }
.inside .band-box .band-value { display:flex; align-items:center; gap:9px; margin:0; flex:0 1 48%; min-width:0; font-size:15px; }
.band-value>span:first-child { color:#747783; font-size:14px; }
.band-value:last-of-type { justify-content:flex-end; }
.band-edit { display:inline-grid; min-width:0; max-width:100%; }
.band-edit>* { grid-column:1; grid-row:1; }
.band-edit b { align-self:center; color:var(--ink); font-size:15px; font-weight:600; white-space:nowrap; pointer-events:none; }
.band-value:last-of-type b,.band-value:last-of-type input { text-align:right; }
.inside .list-filters .band-value input[type=number] { width:100%; min-height:36px; height:36px; border:0; padding:0; border-radius:3px; font:inherit; appearance:textfield; color:transparent; background:none; }
.band-value input::-webkit-inner-spin-button,.range-field input::-webkit-inner-spin-button { -webkit-appearance:none; }
.inside .list-filters .band-value input:focus { color:var(--ink); }
.band-value input:focus+b { visibility:hidden; }
.band-value input:not(:focus)::placeholder { color:transparent; }
.band-rail { position:absolute; left:8px; right:8px; bottom:-11px; height:24px; touch-action:pan-y; cursor:pointer; }
.band-rail i { pointer-events:none; position:absolute; left:10px; right:10px; top:10px; height:3px; background:linear-gradient(to right,var(--line) var(--from,0%),var(--sun) var(--from,0%),var(--sun) var(--to,100%),var(--line) var(--to,100%)); }
.inside .list-filters .band-rail input[type=range] { appearance:none; -webkit-appearance:none; position:absolute; inset:0; width:100%; margin:0; padding:0; border:0; background:transparent; min-height:0; height:24px; pointer-events:none; }
.band-rail input::-webkit-slider-runnable-track { height:2px; background:transparent; }
.band-rail input::-moz-range-track { height:2px; background:transparent; }
.band-rail input::-webkit-slider-thumb { -webkit-appearance:none; width:20px; height:20px; margin-top:-9px; background:var(--ink); border:4px solid white; border-radius:50%; box-shadow:0 1px 7px #252b381c; }
.band-rail input::-moz-range-thumb { box-sizing:border-box; width:20px; height:20px; background:var(--ink); border:4px solid white; border-radius:50%; box-shadow:0 1px 7px #252b381c; }
.band-rail:focus-within i { height:3px; }
.list-filters .filter-rooms .segments { gap:4px; border:0; padding:0; background:transparent; }
.list-filters .filter-rooms .segments label span,.list-filters select { background-color:var(--soft); border:0; border-radius:8px; height:52px; }
.list-filters .segments input:checked+span { background:var(--ink); }
.payment-tool .range-field { position:relative; border:0; padding:0; border-radius:0; background:none; }
.payment-tool .calc-fields { gap:25px; }
.payment-tool .range-field label { display:block; margin:0; }
.payment-tool .range-field .calc-value { display:flex; align-items:center; gap:3px; background:var(--soft); border-radius:7px; padding:0 16px; height:54px; }
.payment-tool .calc-value i { font-size:17px; font-weight:600; font-style:normal; }
.payment-tool .calc-value b { margin-left:auto; color:#515662; font-size:15px; }
.payment-tool .range-field .calc-value input { padding:0; height:36px; min-width:2ch; max-width:72%; text-align:left; font-size:17px; appearance:textfield; font-variant-numeric:tabular-nums; }
.payment-tool .calc-fields .range-field input.amount-slider { position:absolute; bottom:-11px; left:7px; width:calc(100% - 14px); height:24px; }
.range-field .amount-slider::-webkit-slider-runnable-track { height:3px; background:linear-gradient(to right,var(--sun) var(--range-fill,0%),var(--line) var(--range-fill,0%)); }
.range-field .amount-slider::-moz-range-track { height:3px; background:var(--line); }
.range-field .amount-slider::-moz-range-progress { height:3px; background:var(--sun); }
.range-field .amount-slider::-webkit-slider-thumb { width:19px; height:19px; margin-top:-8px; border:3px solid white; background:var(--ink); box-shadow:0 0 0 1px var(--line); }
.range-field .amount-slider::-moz-range-thumb { width:19px; height:19px; box-sizing:border-box; border:3px solid white; border-radius:50%; background:var(--ink); box-shadow:0 0 0 1px var(--line); }
.payment-layout .payment-inputs { background:white; border:1px solid var(--line); border-radius:17px 0 0 17px; }
.mortgage-tag { display:inline-flex; align-items:center; border-radius:6px; background:#fff1a8; color:#332e13; padding:5px 9px; font-size:12px; line-height:1.3; font-weight:600; text-decoration:none; }
.mortgage-tag:hover { background:var(--sun); }
.mortgage-notice {
  margin:12px 0 16px;
  padding:6px 0 6px 12px;
  border-inline-start:3px solid var(--sun);
  color:#50524d;
  font-size:14px;
  line-height:1.55;
}
.mortgage-cost { font-weight:600; color:var(--ink); }
.mortgage-notice a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.mortgage-notice a:hover { color:var(--ink); }
.mortgage-notice:has(+ #grid):not(:has(+ #grid .project:not([hidden]) .mortgage-tag)) { display:none; }
.project-spread > .mortgage-notice { flex:none; margin:0 0 10px; }
.project-spread .mortgage-cost,
.project-spread .estate-offer.estate-offer-mortgage > span { font-size:clamp(16px,1.3vw,20px); }
.lot-mortgage-offer { margin-bottom:16px; }
.lot-mortgage-offer .mortgage-notice { margin:0 0 8px; }
.lot-mortgage-offer .mortgage-tag { background:var(--sun); color:var(--ink); font-size:14px; }
.flat-tile > .mortgage-tag { margin:0 22px 18px; }
.flat-tile-link:has(.monthly-example) { padding-bottom:11px; }
.flat-tile .monthly-example b { margin-bottom:5px; }
.lot-heading .mortgage-tag { margin-left:6px; }
.house-browser { position:relative; }
.house-tip { width:min(266px,100%); background:white; border:1px solid #dcded9; border-radius:12px; padding:12px 15px; box-sizing:border-box; }
.tip-ready .house-tip { position:absolute; z-index:4; box-shadow:0 7px 28px #20241f26; }
.house-tip[hidden] { display:none; }
.house-tip header,.tip-room { display:flex; justify-content:space-between; gap:8px; align-items:center; }
.house-tip header { margin-bottom:4px; }
.house-tip header h3 { margin:0; font-size:18px; letter-spacing:-.035em; }
.house-tip header button { padding:0; border:0; font-size:23px; color:#65675e; background:none; cursor:pointer; min-width:32px; height:32px; }
.tip-room { padding:10px 0; border-top:1px solid var(--line); font-size:14px; }
.tip-room b { white-space:nowrap; font-weight:550; }
.tip-room:hover b { text-decoration:underline; }
.area-places>p { margin:4px 0 14px; color:var(--muted); font-size:14px; }
.area-places h3 { margin:0; }
.area-places ul { list-style:none; margin:0; padding:0; }
.area-places li { display:flex; align-items:center; gap:10px; border-top:1px solid var(--line); }
.area-places li button { display:flex; gap:10px; flex:1; align-items:center; justify-content:space-between; padding:12px 6px; text-align:left; background:none; border:0; border-radius:6px; font:inherit; cursor:pointer; }
.area-places li button[aria-pressed=true] { background:#fff3af; }
.area-places li button:hover { background:var(--soft); }
.area-places li a { font-size:13px; white-space:nowrap; }
.area-places [data-all-places] { padding:8px 0; background:none; border:0; cursor:pointer; }
@media(max-width:900px) { .payment-layout .payment-inputs { border-radius:17px 17px 0 0; } }
@media(max-width:650px) {
 .inside .list-filters { grid-template-columns:minmax(0,1fr); gap:22px; padding:14px 0 20px; }
 .extra-filters .filter-band { grid-column:1/-1; }
 .list-filters [data-filter-total] { width:100%; }
 .inside .list-filters .band-value input[type=number] { font-size:16px; }
}
.band-edit { position:relative; display:block; }
.band-edit b { display:block; }
.inside .list-filters .band-value input[type=number] { position:absolute; inset:0; margin:auto 0; }
.payment-tool .calc-edit { position:relative; display:inline-flex; align-items:center; min-width:1ch; max-width:75%; height:36px; font-size:17px; font-weight:600; font-variant-numeric:tabular-nums; }
.calc-edit em { font:inherit; white-space:pre; visibility:hidden; }
.payment-tool .range-field .calc-edit input { position:absolute; inset:0; width:100%; max-width:none; min-width:1ch; font:inherit; }
.payment-tool .calc-fields .range-field input.amount-slider { min-height:0; margin:0; }
.tip-ready .house-tip::before { content:""; width:10px; height:10px; position:absolute; background:white; pointer-events:none; transform:rotate(45deg); }
.house-tip[data-side=right]::before { left:-6px; top:calc(var(--pointer-y) - 5px); border-left:1px solid var(--line); border-bottom:1px solid var(--line); }
.house-tip[data-side=left]::before { right:-6px; top:calc(var(--pointer-y) - 5px); border-right:1px solid var(--line); border-top:1px solid var(--line); }
.house-tip[data-side=below]::before { top:-6px; left:calc(var(--pointer-x) - 5px); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.house-tip[data-side=above]::before { bottom:-6px; left:calc(var(--pointer-x) - 5px); border-right:1px solid var(--line); border-bottom:1px solid var(--line); }

/* Apartment overview */
.lot-detail.buyer-lot { gap:clamp(16px,2.4vw,40px); }
.buyer-lot .price-panel { padding:clamp(18px,2vw,32px); }
.lot-price-summary p,.lot-credit-summary p { margin:0; }
.price-caption { color:var(--muted); font-size:14px; }
.lot-price-total { display:block; margin:4px 0; font-size:clamp(32px,3vw,48px); line-height:1.08; letter-spacing:-.055em; }
.finish-choice { display:flex; align-items:center; flex-wrap:wrap; gap:6px 15px; margin:12px 0; }
.finish-choice .finish-switch { margin:0; gap:8px; min-height:36px; font-weight:600; }
.finish-choice input { inset-inline:0 auto; margin:0; }
.finish-choice .inline-link { font-size:13px; color:var(--muted); }
.lot-credit-summary { margin-top:16px; }
.lot-credit-summary .monthly-jump { margin:5px 0 0; }
.buyer-lot .facts>div { padding-block:7px; }
.lot-finish,.finish-contents,.buyer-documents { scroll-margin-top:85px; }
.lot-finish .finish-estimate dl { margin:16px 0; }
.lot-finish .finish-estimate dt { color:var(--muted); font-size:14px; }
.lot-finish .finish-estimate dd { margin:2px 0 14px; font-weight:600; font-size:20px; }
.finish-lookbook { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(8px,1.25vw,20px); margin-bottom:20px; }
.finish-lookbook img { aspect-ratio:1.6; }
.finish-lookbook figcaption { color:var(--ink); }
.flat-stage .flat-slide:is([data-panel=furnished],[data-panel=plan],[data-panel=floor]) button img { padding:8px; }
@media (max-width:700px) {
  .finish-lookbook { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .flat-gallery .view-tabs { display:flex; flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; padding:8px; gap:4px; }
  .flat-gallery .view-tabs button { flex:1 0 63px; min-width:0; grid-template-rows:32px auto; font-size:11px; }
  .flat-gallery .view-tabs button img { height:32px; }
  .flat-stage .house-drawing { width:100%; }
}
.project-frame figcaption strong { display:block; color:var(--ink); font-size:clamp(18px,1.6vw,24px); margin:10px 0 4px; }
.project-frame figcaption { max-width:65ch; font-size:16px; line-height:1.5; }
.buyer-documents .view-tabs { margin:16px 0; }
.buyer-requests>p { max-width:76ch; line-height:1.5; }
.buyer-requests dd { margin:0; }
.buyer-requests dt { font-weight:600; }

/* Keep the catalogue controls aligned along one baseline. */
.inside .list-filters { display:block; }
.filter-main { display:flex; align-items:flex-end; gap:clamp(8px,1vw,16px); }
.filter-main > label { flex:1 1 135px; }
.filter-main .filter-rooms { flex:1.35 1 180px; }
.filter-main .filter-band { flex:1.8 1 248px; }
.filter-main .filter-band:last-of-type { flex:1 1 150px; }
.filter-main .band-box { padding-inline:12px; }
.filter-main .segments,.list-filters .filter-rooms .segments label span,.filter-main .band-box,.filter-main select,.filter-main button { height:52px; min-height:52px; }
.filter-main .segments { padding:0; }
.filter-main [data-filter-total] { white-space:nowrap; }
.filter-main .band-value { column-gap:5px; }
.filter-more,.filter-shortcuts button { border:1px solid var(--line); border-radius:8px; padding:0 12px; font:inherit; font-size:14px; font-weight:550; }
.filter-more { white-space:nowrap; }
.filter-more[aria-expanded=true],.filter-shortcuts [aria-expanded=true] { background:var(--ink); color:white; border-color:var(--ink); }
.filter-shortcuts,.filter-ready .extra-filters > summary,.filter-ready .extra-filters:not([open]) { display:none; }
.filter-ready .extra-filters[open] > div { margin-top:14px; }
@media (max-width:1100px) {
  .filter-main { flex-wrap:wrap; }
  .filter-ready .filter-shortcuts { display:flex; gap:4px; }
  .filter-shortcuts button { min-width:0; flex:1; min-height:42px; padding:0 4px; font-size:clamp(12px,2.9vw,14px); }
  .filter-ready .filter-main > * { flex:none; }
  .filter-ready .filter-main { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
  .filter-ready .filter-main > :not([data-expanded]):not([data-filter-total]) { display:none; }
  .filter-ready:not([data-editing-filter]) .filter-main { display:none; }
  .filter-ready[data-editing-filter] { display:flex; flex-direction:column; align-items:stretch; gap:14px; }
  .filter-ready[data-editing-filter] .filter-main { display:contents; }
  .filter-ready .filter-main [data-filter-total] { order:2; width:100%; }
  .filter-ready .extra-filters[open] > div { margin:0; padding-top:0; }
}

.inside .list-filters .band-rail input:focus-visible,.inside .range-field input.amount-slider:focus-visible { outline:none; }
.band-rail input:focus-visible::-webkit-slider-thumb,.amount-slider:focus-visible::-webkit-slider-thumb { box-shadow:0 0 0 2px var(--ink); }
.band-rail input:focus-visible::-moz-range-thumb,.amount-slider:focus-visible::-moz-range-thumb { box-shadow:0 0 0 2px var(--ink); }

/* A single quiet field surface for enquiries and apartment selection. */
#site-dialog:has(.lead) { width:min(480px,calc(100% - 24px)); border-radius:20px; }
#site-dialog:has(.lead) .dialog-inner { padding:clamp(22px,3vw,38px); }
#site-dialog:has(.lead) h2 { margin:6px 32px 12px 0; font-size:clamp(27px,3vw,36px); }
#site-dialog:has(.lead) .dialog-close { background:var(--soft); border:0; }
#site-dialog .lead { min-width:0; margin-top:22px; gap:12px; }
#site-dialog .lead-field { display:grid; gap:2px; padding:8px 14px; border-radius:8px; background:var(--soft); }
.lead-field > span,.lead-formats legend { font-size:12px; line-height:1.4; color:#575953; font-weight:500; }
#site-dialog .lead-field :is(input,select,textarea) { box-sizing:border-box; width:100%; height:28px; min-height:28px; border:0; border-radius:0; background-color:transparent; font:500 16px/1.4 Inter,sans-serif; padding:0; }
#site-dialog .lead-field select { padding-right:23px; background-position:right center; }
#site-dialog .lead-field textarea { height:auto; min-height:48px; resize:vertical; }
.lead-field input::placeholder { color:#6a6d65; font-weight:400; }
#site-dialog .lead-field:focus-within { box-shadow:inset 0 -2px var(--ink); }
#site-dialog .lead-field :is(input,select,textarea):focus { outline:none; }
.lead-formats { border:0; padding:0; margin:0 0 4px; min-width:0; }
.lead-formats legend { padding:0; margin-bottom:6px; }
.lead-formats > div { display:flex; gap:4px; padding:3px; border-radius:9px; background:var(--soft); }
#site-dialog .lead-formats label { display:block; position:relative; flex:1; cursor:pointer; }
#site-dialog .lead-formats input { position:absolute; width:1px; height:1px; opacity:0; padding:0; }
.lead-formats label span { display:grid; place-items:center; min-height:38px; border-radius:7px; font-weight:550; }
.lead-formats input:checked + span { background:var(--ink); color:white; }
.lead-formats input:focus-visible + span { box-shadow:inset 0 0 0 2px var(--sun); }
.lead-extra { margin:0; }
.lead-extra summary { cursor:pointer; list-style:none; min-height:38px; display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:14px; }
.lead-extra summary::-webkit-details-marker { display:none; }
.lead-extra summary::after { content:""; width:7px; height:7px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); margin-right:6px; }
.lead-extra[open] summary::after { transform:rotate(225deg); }
.lead-extra .lead-field { margin-top:8px; }
#site-dialog .lead .yellow { min-height:48px; justify-self:stretch; width:100%; }
#site-dialog .lead .micro { margin:0; font-size:12px; line-height:1.5; }
.finder-fields :is(input,select),.context-form select,.finish-estimate input { background-color:var(--soft); border-color:transparent; }
.finder-fields :is(input,select):focus,.context-form select:focus,.finish-estimate input:focus { outline:none; box-shadow:inset 0 -2px var(--ink); }
.flat-gallery .view-tabs [aria-pressed=true] { background:var(--soft); border-color:transparent; box-shadow:inset 0 -2px var(--ink); }
.flat-gallery .view-tabs button { border-color:transparent; }
html:not([data-keyboard]) :is(button,a,summary,select,input,textarea):focus:not(:focus-visible) { outline:none; }
html:not([data-keyboard]) .inside :is(select,input:not([type=range]),textarea):focus { outline:none; }
.inside .range-field:focus-within .calc-value,.inside .band-box:has(.band-value input:focus) { box-shadow:inset 0 -2px var(--ink); }
html[data-keyboard] :is(button,a,summary):focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.flat-stage .flat-slide[data-leaving][hidden] { display:grid!important; z-index:1; pointer-events:none; background:white; }
.lot-price-total,[data-lot-monthly] { position:relative; font-variant-numeric:tabular-nums; }
.lot-price-total[data-counting],.lot-credit-summary [data-lot-monthly][data-counting] { color:transparent; }
[data-counting]::after { content:attr(data-counting); content:attr(data-counting) / ""; position:absolute; inset:0; color:var(--ink); pointer-events:none; white-space:nowrap; }
@media (prefers-reduced-motion:no-preference) {
  html:not([data-keyboard]) :is(.segments label span,.frame-choices label span,.view-tabs button,.filter-shortcuts button,.finish-rail,.lead-formats label span) { transition:background-color 150ms ease,color 150ms ease,box-shadow 150ms ease; }
  html:not([data-keyboard]) .finish-rail::before { transition:transform 150ms var(--ease),background-color 150ms ease; }
  .finish-switch input:checked + .finish-rail::before { left:3px; transform:translateX(15px); }
  .lead-extra summary::after { transition:transform 180ms var(--ease); }
  @supports selector(details::details-content) {
    html:not([data-keyboard]) .schedule::details-content {
      interpolate-size:allow-keywords; block-size:0; opacity:0; overflow:hidden;
      transition:block-size 180ms var(--ease),opacity 180ms var(--ease),content-visibility 180ms allow-discrete;
    }
    html:not([data-keyboard]) .schedule[open]::details-content { block-size:auto; opacity:1; }
  }
}
@media (forced-colors:active) {
  #site-dialog .lead-field:focus-within,.lead-formats input:focus-visible + span { outline:2px solid Highlight; }
  .flat-gallery .view-tabs [aria-pressed=true] { border-color:Highlight; }
}
:is(.district-tabs,.floor-tabs) a:not([aria-current]),.view-tabs:not(.flat-gallery .view-tabs) button[aria-pressed=false],.filter-more:not([aria-expanded=true]),.filter-shortcuts button[aria-expanded=false] { background:var(--soft); border-color:transparent; }
.buyer-lot .flat-favorite,.flat-enlarge { border-color:transparent; background:var(--soft); }
.context-form { border:0; background:var(--soft); }
.context-form select { background-color:white; }

.flat-plan { grid-template:minmax(0,1fr) / minmax(0,1fr); padding:4px 0; height:clamp(200px,20vw,285px); }
#site-dialog:has(.plan-zoom-frame) { width:min(1000px,calc(100vw - 16px)); }
.plan-zoom-controls { display:flex; gap:6px; margin-bottom:8px; }
.plan-zoom-controls button { min-height:38px; min-width:48px; }
.plan-zoom-controls [aria-pressed=true] { background:var(--ink); color:white; }
.plan-zoom-frame { overflow:auto; overscroll-behavior:contain; max-height:60dvh; background:white; }
.plan-zoom-frame img { display:block; max-width:none; max-height:none; height:auto; width:100%; }
.band-value>span:first-child { color:#585b55; }
.lot-credit-summary [data-rate-caption] { display:block; margin-top:4px; font-size:13px; color:var(--muted); }
.lot-visit-actions { margin-top:14px; }
.payment-tool .calc-result .yellow { margin-top:8px; }
#site-dialog .phone-error { margin:0; color:#9a2a22; font-size:13px; }
.phone-error:empty { display:none; }
#site-dialog .lead-field:has([aria-invalid=true]) { box-shadow:inset 0 -2px #9a2a22; }
#site-dialog .request-detail { margin:4px 0; overflow-wrap:anywhere; white-space:pre-line; }
.schedule [data-schedule] { max-height:none; overflow:visible; }
.schedule summary { flex-wrap:wrap; }
.schedule summary strong { font-size:14px; font-weight:550; }
.schedule ul { list-style:none; padding:0; margin:0; }
.schedule li { padding:7px 0; border-bottom:1px solid var(--line); font-variant-numeric:tabular-nums; }
.payment-tool .calc-value :is(.calc-unit,.calc-edit) { font:600 17px/24px Inter,Arial,sans-serif; letter-spacing:normal; font-variant-numeric:tabular-nums; }
.payment-tool .calc-edit { align-items:center; }
.payment-tool .calc-value { column-gap:5px; }
.payment-tool .calc-value .calc-edit input { padding:0; text-align:left; line-height:24px; }
.payment-tool .calc-edit em { visibility:visible; }
.payment-tool .calc-edit input:not(:focus) { color:transparent; }
.payment-tool .calc-edit:focus-within em { visibility:hidden; }
.payment-tool .calc-unit { flex:none; }
@media(max-width:1100px) {
  .filter-ready[data-pending-filters]:not([data-editing-filter]) .filter-main { display:grid; margin-top:12px; }
}

footer#contacts :is(a,button) { min-width:44px; min-height:44px; }
footer#contacts .footer-directory a { display:flex; align-items:center; margin:0; line-height:1.35; }
footer#contacts .foot-actions .under { display:inline-flex; align-items:center; }
@media (max-width:650px) {
  footer#contacts .foot-nav { gap:4px 18px; }
}

@media(prefers-reduced-motion:no-preference) {
  :is(.view-projects,.view-city) .project-city-tabs { view-transition-name:project-cities; }
  body:has(.project-city-tabs) .site-masthead { view-transition-name:catalog-header; }
  ::view-transition-group(*) { animation-duration:180ms; }
  @supports not (view-transition-name:none) {
    :is(.view-projects,.view-city) { animation:city-page-in 180ms ease-out; }
  }
}
@keyframes city-page-in { from { opacity:.65; } to { opacity:1; } }

.project-first-screen {
  min-height:calc(100vh - var(--admin-at-start) - var(--mast-full) - var(--section-bar));
  min-height:calc(100dvh - var(--admin-at-start) - var(--mast-full) - var(--section-bar));
  display:grid; grid-template-rows:auto 1fr; container-type:inline-size;
}
.project-first-screen .project-spread {
  display:flex; flex:1; flex-direction:column; min-width:0;
}
.project-first-screen .project-mast,.project-first-screen .crumbs { flex:none; }
.project-media-slot {
  flex:1; min-height:180px; container-type:size; display:grid; place-items:center;
}
.project-media-layout {
  display:grid; grid-template-rows:minmax(0,1fr); width:100%; min-height:0;
}
.project-media-slot:not(:has(.estate-offers)) {
  container-type:normal;
}
.view-project .project-media-layout:not(.project-purchase-spread) .estate-cover :is(picture,img) { height:auto; }
.project-purchase-spread {
  --offer-space:clamp(22cqw,calc(100cqw - 100cqh * var(--facade-ratio)),32cqw);
  height:calc((100cqw - var(--offer-space)) / var(--facade-ratio));
  grid-template-columns:minmax(0,1fr) calc(var(--offer-space) - 10px); gap:10px;
}
@media(min-width:921px), (min-width:601px) and (orientation:landscape) {
  .project-media-slot:has(.estate-offers) { min-height:calc(68cqw / var(--facade-ratio)); }
  .project-first-screen .crumbs { margin-block:6px 9px; }
  .project-first-screen .project-mast { margin-block:4px 14px; }
}
.view-project .project-panorama.estate-cover { min-height:0; margin:0; }
.view-project .estate-cover picture,.view-project .project-panorama.estate-cover img { height:100%; }
.view-project .project-panorama.estate-cover img { object-fit:contain; aspect-ratio:auto; }
.estate-offers { display:grid; align-content:start; gap:10px; }
.estate-offer { display:grid; grid-template-columns:1fr auto; align-content:space-between; align-items:end; gap:16px 8px; min-height:clamp(124px,12vw,185px); padding:clamp(16px,1.5vw,23px); border-radius:var(--radius); color:var(--ink); background:var(--soft); }
.estate-offer-mortgage { background:var(--sun); }
.estate-offer > .ico { grid-column:1/-1; width:24px; height:24px; }
.estate-offer span { font-size:clamp(17px,1.55vw,24px); font-weight:600; letter-spacing:-.045em; line-height:1.12; align-self:center; }
.estate-offer i { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:white; }
.estate-offer i .ico { width:15px; height:15px; }
.estate-offer:is(:hover,:focus-visible) i { background:var(--ink); color:white; }
@media(prefers-reduced-motion:no-preference) {
  .estate-offer i { transition:background-color .16s,color .16s,transform .16s var(--ease); }
  .estate-offer:hover i { transform:translateX(2px); }
}
.estate-offer .offer-title-mobile { display:none; }
.project-purchase-spread .estate-offer { min-height:0; }
.estate-offers { align-content:stretch; grid-auto-rows:1fr; }
@media(min-width:921px) {
  .view-project .project-mast h1 { font-size:clamp(38px,4.1vw,68px); }
}
@media(max-height:520px) and (min-width:601px) {
  .project-media-slot { min-height:128px; }
  .project-first-screen .crumbs { margin-block:2px 4px; }
  .view-project .project-mast { margin-block:2px 8px; align-items:center; }
  .view-project .project-mast h1 { font-size:clamp(28px,3.6vw,44px); }
  .project-purchase-spread .estate-offer {
    grid-template-columns:auto 1fr auto; align-content:center; align-items:center; gap:8px; padding:10px;
  }
  .project-purchase-spread .estate-offer > .ico { grid-column:auto; width:18px; }
}
@media(max-width:920px) {
  .estate-offer-mortgage { order:-1; }
  .estate-offer .offer-title-mobile { display:block; }
  .estate-offer .offer-title-desktop { display:none; }
}
#site-dialog .estate-finance { display:grid; justify-items:start; gap:16px; }
#site-dialog .estate-finance p { margin:0; }
.estate-rates { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px clamp(16px,2vw,36px); width:100%; margin:4px 0 0; }
.estate-rates dt { max-width:23ch; color:#50524d; font-size:13px; line-height:1.3; }
.estate-rates dd { width:max-content; margin:5px 0 0; font-size:clamp(22px,2.1vw,34px); font-variant-numeric:tabular-nums; line-height:1.2; letter-spacing:-.045em; }
.estate-rates mark { padding:0 .22em; color:var(--ink); background:var(--sun); border-radius:4px; font-weight:700; }
.estate-finance p { max-width:49ch; font-size:15px; line-height:1.45; }
.estate-finance .estate-finance-action { min-height:44px; gap:12px; }
.estate-finance-example { margin-top:-7px; color:#50524d; font-size:13px; }
.estate-finance-notices { align-self:stretch; margin-top:auto; border-top:1px solid var(--line); padding-top:10px; font-size:14px; line-height:1.4; }
.estate-finance-notices span,.estate-finance-notices a { display:flex; align-items:center; min-height:30px; }
.estate-finance-notices a { gap:6px; text-decoration:underline; text-underline-offset:3px; }
.estate-finance-notices .ico { width:16px; }
@media(max-width:600px), (max-width:920px) and (orientation:portrait) {
  .project-media-slot:has(.estate-offers) { min-height:max(220px,calc(100cqw / var(--facade-ratio) + 120px)); }
  .project-media-layout.project-purchase-spread {
    width:100%; height:100%; grid-template-columns:minmax(0,1fr);
    grid-template-rows:minmax(0,1fr) auto; gap:10px; padding-bottom:8px;
  }
  .project-purchase-spread .estate-cover {
    container-type:size; display:grid; place-items:center; background:var(--paper);
  }
  .project-purchase-spread .estate-cover picture {
    width:min(100cqw,calc(100cqh * var(--facade-ratio)));
    height:min(100cqh,calc(100cqw / var(--facade-ratio)));
    border-radius:var(--radius); overflow:hidden;
  }
  .project-purchase-spread .estate-pin {
    left:calc(max(0px,(100cqw - 100cqh * var(--facade-ratio)) / 2) + 10px);
    bottom:calc(max(0px,(100cqh - 100cqw / var(--facade-ratio)) / 2) + 10px);
  }
  .estate-offers { grid-template-columns:repeat(auto-fit,minmax(125px,1fr)); gap:8px; }
  .estate-offer { min-height:100px; padding:13px; gap:12px 4px; }
  .estate-offer > .ico { width:20px; height:20px; }
  .estate-offer i { width:26px; height:26px; }
  .estate-offer span { font-size:16px; }
}

@media(max-width:600px) and (min-height:700px) {
  .project-purchase-spread .estate-offers { grid-template-columns:1fr; gap:6px; }
  .estate-offers .estate-offer {
    grid-template-columns:auto 1fr auto; align-items:center; align-content:center; min-height:clamp(60px,10dvh,90px);
    padding:12px 16px; gap:12px;
  }
  .estate-offers .estate-offer > .ico { grid-column:auto; }
}
.inside .list-filters > :is(.filter-fallback,.filter-fallback-label) { display:none; }
@media(max-width:1100px) {
  .list-filters:not(.filter-ready) > .filter-fallback { display:block; position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden; }
  .inside .list-filters:not(.filter-ready) > .filter-fallback-label { display:flex; align-items:center; justify-content:center; min-height:42px; border-radius:8px; background:var(--soft); cursor:pointer; }
  .filter-fallback:focus-visible + .filter-fallback-label { outline:2px solid var(--ink); }
  .list-filters:not(.filter-ready) > .filter-fallback:not(:checked) ~ :is(.filter-main,.extra-filters) { display:none; }
}

.project-grid .project .project-name { margin:0; font-size:clamp(21px,1.95vw,32px); letter-spacing:-.045em; }
.project-price { margin:6px 0 0; color:var(--muted); font-size:15px; }
.map-preview { position:relative; min-height:380px; height:100%; background:var(--soft); isolation:isolate; }
.map-preview .map-cover,.map-preview .district-widget { position:absolute; inset:0; width:100%; height:100%; min-height:0; object-fit:cover; }
.map-preview [hidden] { display:none; }
.map-preview:not(.map-active) iframe { pointer-events:none; }
.map-preview .map-switch,.map-preview noscript a { position:absolute; left:14px; bottom:14px; z-index:1; min-height:44px; background:white; color:var(--ink); box-shadow:0 2px 12px #0002; }
.area-places li a,.house-browser .district-tabs a { display:inline-flex; align-items:center; min-height:44px; }
.quick-lot-visit { display:none; }
@media(min-width:761px) {
  .sheet-drawing .drawing-link { min-height:0; }
  .sheet-drawing .drawing-link img { height:clamp(190px,40vh,385px); width:100%; object-fit:contain; }
}
@media(max-width:760px) {
  .project-first-screen:not(:has(.estate-offers)) { min-height:0; }
  .project-first-screen:not(:has(.estate-offers)) .project-media-slot { min-height:0; display:block; }
  .projects .section-head { flex-wrap:wrap; gap:8px 20px; }
  .projects .section-head h2 { white-space:nowrap; }
  .buyer-lot .quick-lot-visit { position:sticky; display:flex; z-index:4; bottom:calc(10px + env(safe-area-inset-bottom)); justify-self:end; width:max-content; max-width:100%; min-height:46px; margin-right:4px; box-shadow:0 2px 10px #0002; }
  .buyer-lot .quick-lot-secondary { visibility:hidden; }
  body:has(dialog[open],.menu-toggle[aria-expanded="true"]) .quick-lot-visit { display:none; }
  .house-browser .district-tabs { padding-block:4px; }
}

.city-project-feature { overflow:hidden; border-radius:var(--radius); background:var(--soft); }
.city-project-feature .estate-cover { border-radius:0; }
@media (min-width:701px) {
  .city-project-feature .estate-cover img { height:clamp(255px,44vh,490px); }
}
.city-project-caption { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding:clamp(16px,2.4vw,32px); }
.city-project-caption h2,.city-project-caption p { margin:0; }
.city-project-caption p { margin-top:6px; }
.city-project-caption h2 a { color:inherit; text-decoration:none; }
.city-project-caption .mortgage-tag { min-height:44px; padding-inline:14px; }
.availability-request .context-form input { width:100%; min-height:44px; border:0; border-radius:8px; background:white; padding:9px 12px; font:inherit; }
.instalment-summary { display:grid; gap:6px; font-size:15px; }
.instalment-summary:empty { display:none; }
.payment-tool [data-discuss-calculation]:disabled { opacity:.55; cursor:default; }
.estate-rates dd { max-width:100%; }

.project-disclosure { margin:16px 0 0; color:var(--muted); font-size:13px; line-height:1.55; }
.project-disclosure a { text-decoration:underline; text-underline-offset:3px; }
.home .hero-sub { max-width:43ch; }
@media(min-width:761px) {
  .home .hero-shade { background:linear-gradient(90deg,#101411d9,#101411aa 38%,#10141125 68%,transparent),linear-gradient(0deg,#0e120f80,transparent 35%); }
}
@media(max-width:650px) {
  .view-lot .crumbs > [aria-current],.view-lot .crumbs > span:nth-last-child(2) { display:none; }
}
