/* Approved tun24 foundation. Load after component styles. */
:root{
 --text-12:12px;--text-14:14px;--text-16:16px;--text-20:20px;--text-24:24px;--text-32:32px;
 --control-sm:32px;--control-md:40px;--control-lg:48px;
 --radius-sm:6px;--radius-md:10px;--radius-lg:16px;
 --surface-soft:#f1f7ff;--surface-soft-strong:#e8f2ff;
 --font-body:Inter,Arial,sans-serif;--font-heading:Manrope,Inter,Arial,sans-serif;
}
body{font-family:var(--font-body);font-size:var(--text-14);line-height:1.5}

/* Shared non-semantic surfaces. Error, warning and destructive states keep their semantic colors. */
body.admin-mode :is(.admin-editor-card .admin-editor-header,.project-editor-add-photo,.editor-url-open,.organization-logo-editor,.organization-project-row:hover,.project-admin-link,.promotion-paid-grid article){background:var(--surface-soft)}
body.admin-mode :is(.admin-filter-panel,.admin-data-table th,.table-wrap th){background:var(--surface-soft-strong)!important}
body.admin-mode :is(.table-wrap tbody tr:hover,.admin-data-table tbody tr:hover){background:var(--surface-soft)}
small{font-size:var(--text-12)}
:is(h1,h2,h3,h4,h5,h6){font-family:var(--font-heading);font-weight:700;line-height:1.25}
body .page-head h1,body .market-hero h1,body .project-photo-hero h1{font-size:var(--text-32)}
body .market-section-head h2{font-size:var(--text-24)}
/* Structural buttons (cards, rubrics, image thumbnails) keep their content height. */
body :is(button,input,select,textarea){font-family:var(--font-body)}
body :is(button.primary,button.secondary,.admin-filter-button,.preferences-trigger,.catalog-display-controls button,.dialog-close){
 box-sizing:border-box;font-size:var(--text-14);font-weight:600;line-height:1.25;min-height:var(--control-md);height:auto;padding:8px 16px;border-radius:var(--radius-sm)
}
body :is(.preferences-trigger,.catalog-display-controls button,.admin-nav-button,.dialog-close){min-height:var(--control-sm);height:var(--control-sm);padding:4px 8px;font-size:var(--text-12)}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),select){min-height:var(--control-md);font-size:var(--text-14);border-radius:var(--radius-sm)}
body textarea{font-size:var(--text-14);line-height:1.5;border-radius:var(--radius-sm)}
body .mobile-home-search>button{min-height:var(--control-lg);font-size:var(--text-16);font-weight:600;border-radius:var(--radius-sm)}
body .delivery-link{font-size:var(--text-14);font-weight:600;line-height:1.5}
body .delivery-link.active{font-weight:700}
body :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
body :is(button,input,select,textarea):disabled{opacity:.45;cursor:not-allowed}
body :is(input,select,textarea)[aria-invalid=true]{border-color:#b84d45}
body button.primary:not(:disabled):hover{filter:brightness(.94)}
body button.primary:not(:disabled):active{filter:brightness(.88)}
body button.button-danger{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-md);padding:8px 16px;border:1px solid #b84d45;border-radius:var(--radius-sm);background:#b84d45;color:#fff;font-size:var(--text-14);font-weight:600;line-height:1.25;cursor:pointer}
body button.button-danger:not(:disabled):hover{filter:brightness(.94)}
body button.button-danger:not(:disabled):active{filter:brightness(.88)}
@media(max-width:600px){
 body .page-head h1,body .market-hero h1,body .project-photo-hero h1{font-size:var(--text-24)}
 body :is(button.primary,button.secondary,.preferences-trigger,.catalog-display-controls button,.admin-nav-button,.dialog-close,.delivery-link){min-height:44px;height:auto}
 body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),select){min-height:48px;font-size:var(--text-16)}
}
:root{--type-body:var(--text-14);--type-secondary:var(--text-14);--type-meta:var(--text-12);--type-label:var(--text-12);--type-h1:var(--text-32);--type-h2:var(--text-24);--type-h3:var(--text-20)}h1{font-size:var(--text-32)}h2{font-size:var(--text-24)}h3{font-size:var(--text-20)}h4,h5,h6{font-size:var(--text-16)}body .header-brand .brand-lockup{width:max-content}

body button:where(:not(:has(img)):not(.maplibregl-ctrl button)){min-height:var(--control-sm)}body .market-search-panel>.primary{min-height:var(--control-lg)}body .link-button{min-height:var(--control-sm);display:inline-flex;align-items:center}@media(max-width:600px){body button:where(:not(:has(img)):not(.maplibregl-ctrl button)){min-height:44px}body .mobile-home-search>button,body .market-search-panel>.primary{min-height:var(--control-lg)}}

b,strong{font-weight:700}
@media(max-width:600px){
 body #view h1{font-size:var(--text-24)}
 body .preferences-options button,body .project-editor-photo-delete{min-height:44px}
body .project-editor-photo-delete{width:44px;height:44px}
 body label:has(input[type=checkbox]),body label:has(input[type=radio]){min-height:44px}
 body .link-button,body .footer-bottom button{min-height:44px}
 body .site-footer-nav a,body .footer-districts a{min-height:44px;display:flex;align-items:center}
}

/* Canonical public foundation.  Component CSS may define layout only; these
   values are the single source for public type, spacing and breakpoints. */
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:64px;--type-body:16px;--type-secondary:14px;--type-meta:12px;--type-h1:clamp(28px,2.5vw,40px);--type-h2:clamp(22px,1.8vw,28px);--type-h3:20px}
body:not(.admin-mode){--type-h1:32px;--type-h2:24px;--type-h3:16px;--type-body:16px;--type-secondary:14px;--accent:#0865f5;--text:#18202c;--muted:#64717d;--line:#dce2e7;--footer-bg:#20292f;font:400 var(--type-body)/1.5 var(--font-body);background:#fff;color:var(--text)}
body:not(.admin-mode) .page-head h1,body:not(.admin-mode) .market-detail h1,body:not(.admin-mode) .market-hero h1{font-size:var(--type-h1);line-height:1.15}
body:not(.admin-mode) .market-section-head h2,body:not(.admin-mode) .section-head h2{font-size:var(--type-h2);line-height:1.25}
body:not(.admin-mode) .market-card h3,body:not(.admin-mode) .market-result-main h2{font-size:var(--type-h3);line-height:26px}
body:not(.admin-mode) :is(.page-head p,.market-card p,.market-result-main p,.market-result-footer,.market-note){font-size:var(--type-secondary);line-height:20px}
body button:where(:not(.primary):not(.secondary):not(.preferences-trigger):not(.catalog-display-controls button):not(.admin-nav-button):not(.dialog-close):not(.mobile-home-search>button)){min-height:initial}
body:not(.admin-mode) :is(.market-toolbar input,.market-toolbar select,.market-search-panel select){box-sizing:border-box;min-height:40px;height:40px;font-size:14px}
body:not(.admin-mode) .market-search-panel select{min-width:220px}
/* The compact catalogue is a cover-first scanning surface.  Full galleries
   belong to the project passport, where arrows and thumbnails remain useful. */
body:not(.admin-mode) .market-catalog-page .market-result-photo.market-gallery-card .gallery-thumbs,body:not(.admin-mode) .market-catalog-page .market-result-photo.market-gallery-card .gallery-arrow,body:not(.admin-mode) .market-catalog-page .market-result-photo.market-gallery-card .gallery-hit-area,body:not(.admin-mode) .market-catalog-page .market-result-photo.market-gallery-card [data-gallery-count]{display:none}
@media (min-width:768px) and (max-width:1199px){body:not(.admin-mode) .market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:480px) and (max-width:767px){body:not(.admin-mode) .market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){body:not(.admin-mode) :is(.market-toolbar input,.market-toolbar select,.market-search-panel select){min-height:48px;height:48px;font-size:16px}body:not(.admin-mode) .market-search-panel select{min-width:0}body:not(.admin-mode) .market-hero h1{font-size:var(--type-h1)}}
@media (max-width:479px){body:not(.admin-mode) .market-grid{grid-template-columns:1fr}body:not(.admin-mode) .market-toolbar{display:grid;grid-template-columns:1fr}}

/* UI kit: one icon scale and one text baseline for every admin registry. */
:root{--icon-sm:16px;--icon-md:20px;--icon-lg:24px;--footer-bg:#172945;--search-accent:#08357d}
.ui-icon{display:inline-grid;place-items:center;flex:0 0 auto;width:1em;height:1em;font-style:normal;line-height:1}
.ui-icon:is(svg){display:block;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ui-icon-sm{font-size:var(--icon-sm)}
.ui-icon-md{font-size:var(--icon-md)}
.ui-icon-lg{font-size:var(--icon-lg)}
body.admin-mode .admin-table-actions .admin-filter-button{display:inline-flex;align-items:center;gap:6px}
body.admin-mode .admin-table-actions .admin-columns-icon{display:inline-grid;place-items:center;padding:0}
body.admin-mode .admin-table-actions .admin-columns-icon .ui-icon{width:var(--icon-sm);height:var(--icon-sm);font-size:var(--icon-sm)}
body.admin-mode .admin-data-table td{vertical-align:middle!important}
body.admin-mode .admin-data-table td .link-button{display:block;width:100%;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;font:400 12px/1.2 Inter,Arial,sans-serif!important;vertical-align:middle!important}

/* Shared layout density. Legacy component rules may not invent their own
   spacing scale: these values are the production source of truth. */
body:not(.admin-mode) .page{padding:var(--space-6) var(--space-6) var(--space-7)}
body:not(.admin-mode) .site-footer{margin-top:var(--space-6)}
body:not(.admin-mode) .site-footer-inner.footer-structured{padding:var(--space-6) var(--space-6) 0}
body:not(.admin-mode) .footer-main{gap:var(--space-6);padding-bottom:var(--space-5)}
body:not(.admin-mode) .footer-structured .site-footer-brand span[data-i18n]{margin-top:var(--space-2)}
body:not(.admin-mode) .footer-structured h2{margin-bottom:var(--space-2)}
body:not(.admin-mode) .footer-districts{padding:var(--space-5) 0}
body:not(.admin-mode) .footer-bottom{gap:var(--space-4);padding:var(--space-4) 0}
body:not(.admin-mode) .footer-structured .site-footer-nav a,body:not(.admin-mode) .footer-districts a{min-height:var(--control-sm)}
.header-brand .brand-tagline{font-size:var(--text-12);line-height:1.25}
/* Public release shell: scoped to preserve the administrative workspace. */
body:not(.admin-mode) .topbar{max-width:1280px;min-height:72px;margin:auto;padding:0 32px;gap:32px}
body:not(.admin-mode) .site-header{background:#fff;border-bottom:1px solid var(--line);box-shadow:none}
body:not(.admin-mode) .page{box-sizing:border-box;max-width:1280px;margin:auto;padding:32px 32px 48px;background:#fff!important}
body:not(.admin-mode) .header-nav .nav-item{font-size:14px;letter-spacing:0;border-radius:0}
body:not(.admin-mode) .header-nav .nav-item.active{color:var(--accent);background:none;border-bottom:2px solid var(--accent)}
body:not(.admin-mode) .market-section{margin-top:48px}
body:not(.admin-mode) .market-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body:not(.admin-mode) .market-card{border:1px solid var(--line);border-radius:6px;box-shadow:none;overflow:hidden;min-width:0;background:#fff}
body:not(.admin-mode) .market-card-body{padding:12px}
body:not(.admin-mode) .market-home-page .market-card-gallery>.gallery-main{height:auto;aspect-ratio:16/9;object-fit:cover}
body:not(.admin-mode) .market-home-page .market-card-gallery :is(.gallery-thumbs,.gallery-arrow){display:none}
body:not(.admin-mode) .market-card h3{font:700 16px/20px Manrope,sans-serif;letter-spacing:0}
body:not(.admin-mode) .site-footer{background:var(--footer-bg);color:#fff}
body:not(.admin-mode) .footer-structured :is(.site-footer-nav a,.footer-districts a){color:#ced5da!important}
body:not(.admin-mode) .footer-main{grid-template-columns:1.2fr 1fr 1fr 1fr}
body:not(.admin-mode) .market-home-page .mobile-home-intro{display:none!important}
body:not(.admin-mode) .market-home-page .market-home-hero{display:flex!important;position:relative;isolation:isolate;border-radius:0;min-height:360px;padding:64px 48px 32px;background:#20292f;color:#fff;align-items:flex-end}
body:not(.admin-mode) .market-home-hero>div{width:100%}
.public-release-brand{display:none}
body:not(.admin-mode) .public-release-brand{display:block;font:700 24px/32px Manrope,sans-serif;color:var(--text)}
body:not(.admin-mode) .header-brand .brand-lockup{display:none}
body:not(.admin-mode) .market-home-hero .home-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
body:not(.admin-mode) .home-cover-caption{position:absolute;right:12px;bottom:4px;color:#fff;font-size:12px;text-shadow:0 1px 3px #000}
body:not(.admin-mode) .market-home-hero:has(.home-cover)::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0009,#0001);z-index:-1}
body:not(.admin-mode) .market-home-hero h1{color:#fff;font:700 32px/40px Manrope,sans-serif;font-size:var(--type-h1)!important;letter-spacing:0}
body:not(.admin-mode) .primary{background:var(--accent);border-color:var(--accent);color:#fff}
body:not(.admin-mode) .primary.secondary{background:#fff;color:var(--text);border-color:var(--line)}
body:not(.admin-mode) .market-home-hero .market-eyebrow{display:none}
body:not(.admin-mode) .market-home-hero p{color:#fff}
body:not(.admin-mode) .market-home-page .market-search-panel{display:grid!important;grid-template-columns:1fr 1fr 1fr auto;width:100%;max-width:none;padding:8px;background:#fff;border:1px solid var(--line);border-radius:6px;margin-top:32px;gap:8px;align-items:stretch}
body:not(.admin-mode) .market-home-page .market-search-panel :is(button,input,select){min-height:48px}
body:not(.admin-mode) .market-home-page .market-card :is(.market-card-chips,.market-card-apartments,.market-card-body>footer){display:none}
body:not(.admin-mode) .market-home-page .market-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:16px}
body:not(.admin-mode) .market-home-page .market-categories button{min-width:0;border:1px solid var(--line);border-radius:6px;background:#fff;padding:16px;color:var(--text)}
body:not(.admin-mode) .market-home-page .market-category-count{display:none}
body:not(.admin-mode) .home-district-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body:not(.admin-mode) .home-district-links a{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:6px;padding:8px;color:var(--text);min-width:0}
body:not(.admin-mode) .home-district-links img{width:72px;height:56px;object-fit:cover;border-radius:4px}
@media(min-width:768px) and (max-width:1199px){body:not(.admin-mode) .market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1199px){body:not(.admin-mode) .topbar{min-height:56px;gap:16px}}
@media(max-width:767px){
 body:not(.admin-mode){--type-h1:24px;--type-h2:20px}
 body:not(.admin-mode) .topbar{padding:0 16px}
 body:not(.admin-mode) .market-grid{grid-template-columns:1fr}
 body:not(.admin-mode) .market-section{margin-top:32px}
 body:not(.admin-mode) .market-home-page .market-home-hero{min-height:360px;padding:32px 16px 16px}
 body:not(.admin-mode) .market-home-hero h1{font-size:24px;line-height:32px}
 body:not(.admin-mode) .market-home-page .market-search-panel{grid-template-columns:1fr;margin-top:24px}
 body:not(.admin-mode) .market-home-page .market-categories{gap:8px}
 body:not(.admin-mode) .market-home-page .market-categories button{padding:12px 4px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
 body:not(.admin-mode) .market-home-page .market-categories button b{font-size:12px;line-height:16px}
 body:not(.admin-mode) .market-home-page .market-section-head>div>p{display:none}
 body:not(.admin-mode) .market-home-page .market-section-head{gap:8px;align-items:center}
 body:not(.admin-mode) .market-home-page .market-section-head>button{flex-shrink:0;padding:0;white-space:nowrap;font-size:12px}
 body:not(.admin-mode) .market-home-page .market-categories button span{display:none}
 body:not(.admin-mode) .home-district-links{grid-template-columns:1fr}
 body:not(.admin-mode) .footer-main{grid-template-columns:1fr}
 body:not(.admin-mode) .footer-main .site-footer-nav:last-child{display:flex;grid-column:auto}
}
@media(min-width:360px) and (max-width:767px){
 body:not(.admin-mode) .market-home-page .market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body:not(.admin-mode) .market-home-page .market-card h3{font-size:14px;line-height:20px;overflow-wrap:anywhere}
 body:not(.admin-mode) .market-home-page .market-card-body{padding:8px}
 body:not(.admin-mode) .market-home-page .market-card p{font-size:12px;line-height:16px;overflow-wrap:anywhere}
}
@media(max-width:760px){
 body:not(.admin-mode) .page{padding:var(--space-5) var(--space-4) var(--space-6)}
 body:not(.admin-mode) .site-footer-inner.footer-structured{padding:var(--space-5) var(--space-4) 0}
 body:not(.admin-mode) .footer-main{gap:var(--space-5) var(--space-4);padding-bottom:var(--space-5)}
 body:not(.admin-mode) .footer-structured .site-footer-nav a,body:not(.admin-mode) .footer-districts a{min-height:var(--control-sm)}
}
@media(max-width:600px){
 body:not(.admin-mode) .site-footer-inner.footer-structured{padding:24px 24px 0}
 body:not(.admin-mode) .footer-structured .site-footer-nav a,body:not(.admin-mode) .footer-districts a{min-height:44px}
}

/* Public templates share the same content rail and media geometry. */
.public-gallery-dialog{inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#121a20;color:#fff}
.public-gallery-dialog #dialogContent{display:grid;grid-template-rows:minmax(0,1fr) 80px;height:100%;padding:0}
.public-gallery-dialog .dialog-close{position:absolute;top:12px;right:16px;width:44px;height:44px;z-index:4;border-radius:50%;background:#ffffffc9;color:#18202c}
.public-gallery-canvas{position:relative;min-height:0;display:grid;place-items:center;padding:16px}
.public-gallery-media{position:relative;display:grid;max-width:100%;max-height:100%;place-items:center;touch-action:pan-y}
.public-gallery-media>img{grid-area:1/1;display:block;max-width:100%;max-height:calc(100dvh - 128px);width:auto;height:auto;object-fit:contain}
.public-gallery-media>button{grid-area:1/1;align-self:stretch;justify-self:start;display:flex;width:28%;min-width:64px;align-items:center;justify-content:flex-start;padding:12px;border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}
.public-gallery-media>button:last-of-type{justify-self:end;justify-content:flex-end}
.public-gallery-media>button span{display:grid;width:40px;height:40px;place-items:center;border-radius:50%;background:#10182073;box-shadow:0 1px 6px #10182033}
.public-gallery-media>button:hover span,.public-gallery-media>button:focus-visible span{background:#1018209c}
.public-gallery-media>button:disabled{visibility:hidden}
.public-gallery-count{position:absolute;right:12px;bottom:12px;padding:5px 8px;border-radius:4px;background:#101820a8;color:#fff;font:600 12px/18px Inter,sans-serif}
.public-gallery-strip{display:flex;gap:8px;justify-content:center;overflow:auto;padding:12px}
.public-gallery-strip button{padding:0;width:72px;min-width:72px;height:56px;border:2px solid transparent;background:none}
.public-gallery-strip button[aria-current="true"]{border-color:#0865f5}
.public-gallery-strip img{width:100%;height:100%;object-fit:cover}
@media(max-width:767px){.public-gallery-dialog #dialogContent{grid-template-rows:minmax(0,1fr) 72px}.public-gallery-canvas{padding:8px}.public-gallery-media>img{max-height:calc(100dvh - 88px)}.public-gallery-media>button{padding:6px}.public-gallery-media>button span{width:36px;height:36px}.public-gallery-strip button{width:64px;min-width:64px;height:48px}}
body:not(.admin-mode) .project-page-refined .project-photo-hero{display:grid!important;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:32px;min-height:0!important;background:#fff!important;color:var(--text);border-radius:0;margin:24px 0;overflow:visible}
body:not(.admin-mode) .project-page-refined .project-photo-hero .project-detail-gallery{position:relative!important;inset:auto;min-width:0;width:100%;height:auto}
body:not(.admin-mode) .project-page-refined .project-photo-hero .detail-gallery-main{height:auto!important;aspect-ratio:16/9;background:#f5f7f9;border-radius:6px}
body:not(.admin-mode) .project-page-refined .detail-gallery-main>img{width:100%;height:100%;object-fit:cover}
body:not(.admin-mode) .project-page-refined .detail-gallery-main::after,body:not(.admin-mode) .project-page-refined .gallery-hover-zone{display:none!important}
body:not(.admin-mode) .project-page-refined .project-photo-hero .project-hero-copy{position:static!important;min-height:0!important;padding:0!important;max-width:none;align-self:center;color:var(--text)}
body:not(.admin-mode) .project-page-refined .project-photo-hero :is(h1,.market-address,.market-developer,.market-developer .link-button,.project-price strong,.project-price small,.project-price span){color:var(--text)!important;text-shadow:none}
body:not(.admin-mode) .project-page-refined .project-photo-hero>.public-detail-actions{position:absolute;right:8px;top:8px}
body:not(.admin-mode) .project-page-refined .detail-gallery-thumbs{position:static!important;display:flex!important;gap:8px;padding:8px 0;opacity:1!important;visibility:visible!important;background:none;transform:none!important}
body:not(.admin-mode) .project-page-refined .detail-gallery-thumbs button{width:72px;height:56px;flex:0 0 72px;padding:0}
body:not(.admin-mode) .project-page-refined .detail-gallery-thumbs img{width:100%;height:100%;object-fit:cover}
body:not(.admin-mode) .project-page-refined .project-facts-grid{border:0;border-radius:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;background:none}
body:not(.admin-mode) .project-page-refined .project-facts-grid>div{background:none;border:0;border-right:1px solid var(--line);padding:12px}
body:not(.admin-mode) .project-page-refined .project-offers-section{padding:0!important;border:0!important;border-radius:0;background:none!important}
body:not(.admin-mode) .project-page-refined .project-desktop-gallery{display:block!important}
body:not(.admin-mode) .public-developer-band{display:flex;gap:24px;align-items:center;flex-wrap:wrap;padding:24px 0}
body:not(.admin-mode) .public-developer-band>img{width:96px;height:72px;object-fit:contain}
body:not(.admin-mode) .market-passport .market-detail{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:32px;border:0;padding:24px 0;background:none;box-shadow:none}
body:not(.admin-mode) .market-passport .market-detail>div{min-width:0}
body:not(.admin-mode) .market-passport .market-detail>div>img{width:100%;height:auto;max-height:560px;object-fit:contain}
body:not(.admin-mode) .market-page :is(.market-detail,.project-offer-group,.public-section-nav){scroll-margin-top:80px}
@media(max-width:1199px){
 body:not(.admin-mode) .project-page-refined .project-photo-hero,body:not(.admin-mode) .market-passport .market-detail{grid-template-columns:1fr;gap:24px}
 body:not(.admin-mode) .project-page-refined .project-photo-hero>.public-detail-actions{top:8px;right:8px}
 body:not(.admin-mode) .project-page-refined .project-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){body:not(.admin-mode) .project-desktop-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:not(.admin-mode) .project-offer-row{grid-template-columns:72px minmax(0,1fr)!important;gap:8px}body:not(.admin-mode) .project-offer-thumb{grid-column:1;grid-row:1/5;width:72px!important;height:72px!important;object-fit:contain}}
body.public-modal-open{overflow:hidden}
.public-menu-dialog{box-sizing:border-box;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:64px 24px 24px;border:0;background:#fff;color:#18202c}
.public-menu-dialog #publicMoreMenu{display:flex!important;position:static;flex-direction:column;gap:4px;border:0;box-shadow:none;width:100%;max-width:none;max-height:none;padding:0;background:white}
.public-menu-dialog .nav-item{display:flex!important;align-items:center;min-height:44px;padding:12px 0;font-size:16px;border-bottom:1px solid #dce2e7;text-align:left}
.public-menu-dialog .market-preferences{position:relative;margin-top:24px}
.public-menu-dialog .preferences-panel{position:static;display:block;box-shadow:none;border:0;max-width:100%;width:100%;padding:0}
.public-menu-dialog .preferences-trigger{display:none}
.public-menu-close{position:absolute;top:8px;right:16px;width:44px;height:44px;font-size:24px;background:white;border:0}
body.admin-mode :is(.public-header-saved,.public-header-login){display:none}
body:not(.admin-mode) .public-header-saved{border:0;background:white;font-size:24px;width:44px;height:44px;padding:0}
body:not(.admin-mode) .public-header-login{min-height:40px;padding:8px 16px;border:1px solid var(--line);border-radius:4px;background:#fff;white-space:nowrap}
body:not(.admin-mode) .public-person-card{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px;border:0;border-bottom:1px solid var(--line);padding:24px 0;box-shadow:none;border-radius:0;min-width:0}
body:not(.admin-mode) .public-person-card>a{display:block;min-width:0}
body:not(.admin-mode) .public-person-card>a>img{width:100%;height:160px;object-fit:cover}
body:not(.admin-mode) .public-person-card h2{font:700 16px/24px Manrope,sans-serif;margin:8px 0}
body:not(.admin-mode) .public-person-card h2 a{color:var(--text)}
body:not(.admin-mode) .public-person-card p{color:var(--muted);font-size:14px;margin:8px 0}
body:not(.admin-mode) .public-person-card .public-company-logo{width:96px;height:48px;object-fit:contain;object-position:left}
body:not(.admin-mode) .public-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body:not(.admin-mode) .public-person-placeholder{display:grid;place-items:center;background:#f5f7f9;width:100%;height:160px;font-size:32px;color:var(--muted)}
body:not(.admin-mode) .public-profile-heading{display:flex;gap:32px;align-items:center;margin-top:32px;min-width:0}
body:not(.admin-mode) .public-profile-heading>img{width:240px;max-width:100%;aspect-ratio:1;object-fit:contain}
body:not(.admin-mode) .public-profile-heading>div{min-width:0}
body:not(.admin-mode) .public-profile-heading h1{overflow-wrap:anywhere}
body:not(.admin-mode) .public-facts-list{margin:16px 0;max-width:800px}
body:not(.admin-mode) .public-facts-list>div{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
body:not(.admin-mode) .public-facts-list dt{color:var(--muted)}
body:not(.admin-mode) .public-facts-list dd{margin:0;overflow-wrap:anywhere}
body:not(.admin-mode) .public-contact-links{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}
body:not(.admin-mode) .public-contact-links a{padding:12px 16px;border:1px solid var(--line);border-radius:4px;overflow-wrap:anywhere}
body:not(.admin-mode) .public-location-canvas{height:360px;width:100%;background:#f5f7f9}
body:not(.admin-mode) .public-article-cover{display:block;width:100%;max-height:560px;object-fit:cover;margin:24px 0}
body:not(.admin-mode) .public-article-body{max-width:800px;font-size:16px;line-height:1.7}
body:not(.admin-mode) .public-section-nav{display:flex;flex-wrap:wrap;gap:24px;padding:16px 0;border-bottom:1px solid var(--line)}
body:not(.admin-mode) .public-section-nav a{min-height:32px;display:flex;align-items:center}
body:not(.admin-mode) .public-section-nav label{display:flex;align-items:center;gap:8px;font-size:14px}
body:not(.admin-mode) .public-stat-line{display:flex;gap:32px;padding:24px 0;border-bottom:1px solid var(--line)}
body:not(.admin-mode) .public-stat-line strong{display:block;font-size:32px;margin-top:8px}
body:not(.admin-mode) .public-bar-chart{display:grid;gap:12px}
body:not(.admin-mode) .public-bar-chart>div{display:grid;grid-template-columns:120px 1fr 48px;gap:12px;align-items:center}
body:not(.admin-mode) .public-bar-chart meter{width:100%;height:32px;accent-color:var(--accent)}
body:not(.admin-mode) .news-story-image{width:100%;aspect-ratio:16/9;object-fit:cover}
body:not(.admin-mode) .news-story{border:0;border-radius:0;padding:0;box-shadow:none}
body:not(.admin-mode) .news-story h2 a{color:var(--text)}
body:not(.admin-mode) .insights-hero{background:none;color:var(--text);padding:0;border-radius:0}
body:not(.admin-mode) .insights-hero :is(p,span){color:var(--muted)}
body:not(.admin-mode) .insight-panel{border:0;border-radius:0;padding:24px 0;background:none}
@media(max-width:1199px){body:not(.admin-mode) .top-actions>.market-preferences,body:not(.admin-mode) .public-header-login{display:none}}
@media(max-width:767px){
 body:not(.admin-mode) .public-directory-grid{grid-template-columns:1fr;gap:0}
 body:not(.admin-mode) .public-person-card{grid-template-columns:96px minmax(0,1fr);gap:16px;padding:16px 0}
 body:not(.admin-mode) .public-person-card>a>img,body:not(.admin-mode) .public-person-placeholder{height:112px}
 body:not(.admin-mode) .public-profile-heading{flex-direction:column;align-items:flex-start;gap:16px}
 body:not(.admin-mode) .public-location-canvas{height:280px}
 body:not(.admin-mode) .public-section-nav{gap:16px}
 body:not(.admin-mode) .public-bar-chart>div{grid-template-columns:88px 1fr 40px;font-size:12px}
}
body:not(.admin-mode) :is(h1,h2,h3){letter-spacing:0!important;color:var(--text)}
body:not(.admin-mode) h1{font:700 32px/40px Manrope,sans-serif}
body:not(.admin-mode) h2{font:700 24px/32px Manrope,sans-serif}
body:not(.admin-mode) .market-page>.section{border:0;border-radius:0;box-shadow:none;background:none;padding:0;margin-top:48px}
body:not(.admin-mode) .market-empty{grid-column:1/-1;padding:24px 0;margin:0;width:100%;box-sizing:border-box;color:var(--muted)}
body:not(.admin-mode) :is(.market-result-list.catalog-grid,.market-result-list.public-grid,#commercialGrid){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
body:not(.admin-mode) .public-project-card{display:block!important;min-width:0;padding:0!important;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:none!important;overflow:hidden}
body:not(.admin-mode) .public-project-card .market-result-photo{position:relative;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9;border-radius:0!important}
body:not(.admin-mode) .public-project-card .market-result-photo>a{display:block;width:100%;height:100%}
body:not(.admin-mode) .public-project-card .gallery-main{display:block;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover}
body:not(.admin-mode) .public-project-card .public-favorite{position:absolute;top:8px;right:8px;background:#fff;z-index:2}
body:not(.admin-mode) .public-project-card .market-result-main{padding:12px!important;display:block;min-width:0}
body:not(.admin-mode) .public-project-card h2{margin:0 0 4px;font:700 16px/20px Manrope,sans-serif!important}
body:not(.admin-mode) .public-project-card h2 a{color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body:not(.admin-mode) .public-project-card :is(.market-address,.market-developer){font:400 12px/16px Inter,sans-serif;color:var(--muted);margin:4px 0;overflow-wrap:anywhere}
body:not(.admin-mode) .public-project-card .project-apartment-summary{margin:12px 0;border-top:1px solid var(--line)}
body:not(.admin-mode) .public-project-card .project-apartment-summary>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:12px;row-gap:2px;padding:8px 0}
body:not(.admin-mode) .public-project-card .project-apartment-type{display:flex;align-items:baseline;gap:6px;min-width:0;line-height:20px;white-space:nowrap}
body:not(.admin-mode) .public-project-card .project-apartment-type b{flex:0 0 auto}
body:not(.admin-mode) .public-project-card .project-apartment-area{min-width:0;overflow:hidden;text-overflow:ellipsis}
body:not(.admin-mode) .public-project-card .project-apartment-summary>div>strong{grid-column:2;grid-row:1;white-space:nowrap;justify-self:end}
body:not(.admin-mode) .public-project-card .project-apartment-summary>div.without-price{grid-template-columns:minmax(0,1fr)}
body:not(.admin-mode) .public-project-card .project-apartment-summary>div.without-price .project-apartment-type{grid-column:1}
body:not(.admin-mode) .market-insights-page .commissioning-widgets,
body:not(.admin-mode) .market-insights-page .commissioning-widgets>*{min-width:0;max-width:100%;box-sizing:border-box}
body:not(.admin-mode) .market-insights-page .commissioning-widget-head{min-width:0;flex-wrap:wrap}
body:not(.admin-mode) .market-insights-page .commissioning-widget-head>*{min-width:0;max-width:100%}
body:not(.admin-mode) .market-insights-page .registry-tools{min-width:0;max-width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
body:not(.admin-mode) .market-insights-page .registry-tools>*{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
@media(max-width:600px){
  body:not(.admin-mode) .market-insights-page .commissioning-widgets{grid-template-columns:minmax(0,1fr)!important}
  body:not(.admin-mode) .market-insights-page .commissioning-widget{width:100%;min-width:0}
  body:not(.admin-mode) .market-insights-page .commissioning-columns,
  body:not(.admin-mode) .market-insights-page .commissioning-rank{min-width:0;max-width:100%}
  body:not(.admin-mode) .market-insights-page .registry-tools{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:700px){
  body:not(.admin-mode) .project-offer-group summary{grid-template-columns:minmax(0,1fr) auto 22px!important;grid-template-rows:auto auto auto;gap:4px 10px!important;align-items:center}
  body:not(.admin-mode) .project-offer-group summary b{grid-column:1!important;grid-row:1!important;min-width:0}
  body:not(.admin-mode) .project-offer-group summary span{grid-column:1!important;grid-row:2!important;justify-self:start!important;min-width:0}
  body:not(.admin-mode) .project-offer-group summary em{grid-column:1!important;grid-row:3!important;justify-self:start!important}
  body:not(.admin-mode) .project-offer-group summary strong{grid-column:2!important;grid-row:1 / span 3!important;justify-self:end!important;align-self:center!important}
  body:not(.admin-mode) .project-offer-group summary .project-offer-caret{grid-column:3!important;grid-row:1 / span 3!important;align-self:center!important}
}
body:not(.admin-mode) .public-project-card .public-card-price{font:600 14px/20px Inter,sans-serif;margin:12px 0}
body:not(.admin-mode) .public-project-card .link-button{font-size:14px;display:inline-block;padding:4px 0}
body:not(.admin-mode) .public-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin:32px 0}
body:not(.admin-mode) .public-pagination button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:4px;background:#fff}
body:not(.admin-mode) .public-catalog-filters{display:grid!important;grid-template-columns:2fr 1fr 1fr 1fr auto!important;gap:8px;background:#fff;padding:0;border:0;box-shadow:none;margin:24px 0}
body:not(.admin-mode) .public-catalog-filters :is(input,select){width:100%;min-width:0;min-height:48px}
body:not(.admin-mode) .market-delivery-filter{border:0!important;border-bottom:1px solid var(--line)!important;padding:0 0 12px;gap:16px;flex-wrap:wrap;background:#fff!important;border-radius:0!important}
body:not(.admin-mode) .market-delivery-options{display:flex;gap:16px;align-items:center}
body:not(.admin-mode) .delivery-link.active{color:var(--accent)!important;border-bottom:2px solid var(--accent)}
body:not(.admin-mode) :is(.market-result-card,.market-card,.developer-result-card):hover{transform:none;box-shadow:none}
body:not(.admin-mode) .primary:not(:disabled):hover{background:#0757d6;filter:none}
body:not(.admin-mode) .primary:not(:disabled):active{background:#0648b3;filter:none}
body:not(.admin-mode) :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
body:not(.admin-mode) .market-home-page .market-card-gallery>.gallery-main{min-height:0!important;height:auto!important;aspect-ratio:16/9}
body:not(.admin-mode) .market-home-page .market-card-gallery{height:auto!important;min-height:0!important;aspect-ratio:16/9}
body:not(.admin-mode) .market-home-page .market-card h3{font-size:16px;overflow-wrap:normal}
body:not(.admin-mode) .market-home-page .market-card-body{padding:12px}
body:not(.admin-mode) .market-home-page .market-price-row{display:block}
body:not(.admin-mode) .market-home-page .market-price-row>div+div{display:none}
body:not(.admin-mode) .market-home-page .market-categories button{display:flex;justify-content:center;align-items:center;gap:8px;overflow-wrap:normal}
body:not(.admin-mode) .market-home-page .market-categories button small{display:none}
body:not(.admin-mode) .market-home-page .market-categories button{border:0;background:none;box-shadow:none}
body:not(.admin-mode) .market-home-page .market-categories svg{width:32px;height:32px;flex:none;color:#006BFF}
body:not(.admin-mode) .catalog-pagination{flex-wrap:wrap;max-width:100%;gap:4px}
body:not(.admin-mode) .market-home-page .market-search-panel{grid-template-columns:1fr 1fr 1fr auto!important}
@media(max-width:767px){body:not(.admin-mode) .market-home-page .market-search-panel{grid-template-columns:1fr!important}}
body:not(.admin-mode) .public-apartment-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#F6F8FA}
body:not(.admin-mode) .news-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body:not(.admin-mode) .news-story-grid .news-story{padding:0;border:0;border-radius:0;box-shadow:none;background:none}
body:not(.admin-mode) .news-story-grid .news-story h2{font-size:20px;line-height:28px}
body:not(.admin-mode) .news-story-grid .news-story-image{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:6px}
body:not(.admin-mode) .news-story-grid .news-story:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.3fr 1fr;column-gap:24px}
body:not(.admin-mode) .news-story-grid .news-story:first-child>:first-child{grid-column:1;grid-row:1/5}
body:not(.admin-mode) .news-story-grid .news-story:first-child>:not(:first-child){grid-column:2}
@media(max-width:767px){body:not(.admin-mode) .news-story-grid{grid-template-columns:1fr}body:not(.admin-mode) .news-story-grid .news-story:first-child{display:block}}
body:not(.admin-mode) .project-hero-copy :is(p,small,span,b){text-shadow:none;color:inherit}
body:not(.admin-mode) .project-hero-copy .project-hero-completion{color:#657480!important;text-shadow:none!important}
body:not(.admin-mode) .project-photo-hero .market-actions .primary{background:#006BFF!important;color:white!important}
body:not(.admin-mode) .project-price strong{font-size:24px!important;line-height:32px}
body:not(.admin-mode) .project-facts-grid>div{border:0;border-radius:0;box-shadow:none;border-bottom:1px solid #DCE2E7;padding:12px 0}
body:not(.admin-mode) .public-section-nav a{color:#006BFF}
body:not(.admin-mode) .project-photo-hero .gallery-hover-zone{display:none}
body:not(.admin-mode) .public-mobile-filter-bar{display:none}
body:not(.admin-mode) .public-filter-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#fff}
body:not(.admin-mode) .public-filter-dialog[open]{display:grid;grid-template-rows:56px minmax(0,1fr) auto}
body:not(.admin-mode) .public-filter-dialog header,body:not(.admin-mode) .public-filter-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 16px;border-bottom:1px solid #DCE2E7}
body:not(.admin-mode) .public-filter-dialog header h2{margin:0;font-size:20px}
body:not(.admin-mode) .public-filter-dialog header button{width:44px;height:44px;padding:0}
body:not(.admin-mode) .public-filter-dialog-body{overflow:auto;padding:16px}
body:not(.admin-mode) .public-filter-dialog .market-filters{display:grid!important;grid-template-columns:1fr!important;padding:0!important;border:0!important;gap:16px}
body:not(.admin-mode) .public-filter-dialog .market-filters>.primary{display:none}
body:not(.admin-mode) .public-filter-dialog footer{padding-bottom:max(16px,env(safe-area-inset-bottom));border-top:1px solid #DCE2E7}
body:not(.admin-mode) .public-filter-dialog footer button{flex:1;min-height:48px}
@media(max-width:767px){
 body:not(.admin-mode) .market-catalog-page .public-filter-fields{display:none!important}
 body:not(.admin-mode) .public-mobile-filter-bar{display:flex;gap:12px;margin:16px 0}
 body:not(.admin-mode) .public-mobile-filter-bar>*{flex:1;display:flex;justify-content:center;align-items:center;min-height:48px}
}
body:not(.admin-mode) .market-catalog-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body:not(.admin-mode) .site-footer :is(h2,h3){color:#fff!important;font-size:16px;line-height:24px}
body:not(.admin-mode) #headerNav a.active{color:#006BFF!important;background:transparent!important}
@media(min-width:768px) and (max-width:1199px){body:not(.admin-mode) .market-catalog-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){body:not(.admin-mode) .market-catalog-card-grid{grid-template-columns:1fr}}
body:not(.admin-mode) .public-property-photo{display:block;padding:0;border:0;border-radius:6px;overflow:hidden;background:#F6F8FA;width:100%;aspect-ratio:4/3}
body:not(.admin-mode) .public-property-photo img{width:100%;height:100%;object-fit:contain}
body:not(.admin-mode) .public-property-thumbs{display:flex;gap:8px;overflow:auto;padding:8px 0}
body:not(.admin-mode) .public-property-thumbs button{padding:0;width:72px;height:56px;flex:none;border:1px solid #DCE2E7;border-radius:6px;overflow:hidden;background:white}
body:not(.admin-mode) .public-property-thumbs img{width:100%;height:100%;object-fit:contain}
body:not(.admin-mode) .public-plan-preview{padding:16px;border:1px solid #DCE2E7;background:#fff;width:min(100%,640px);aspect-ratio:4/3;border-radius:6px}
body:not(.admin-mode) .public-plan-preview img{width:100%;height:100%;object-fit:contain}
body:not(.admin-mode) .public-related-project{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:24px}
@media(max-width:767px){body:not(.admin-mode) .public-related-project{grid-template-columns:1fr}}
body:not(.admin-mode) .public-apartment-media>a{display:grid;width:100%;height:100%;min-width:0}
body:not(.admin-mode) .public-apartment-media>a.has-plan{grid-template-columns:1fr 1fr}
body:not(.admin-mode) .public-apartment-media img{display:block;width:100%;height:100%;min-height:0;object-fit:cover}
body:not(.admin-mode) .public-apartment-media img.apartment-plan{object-fit:contain;background:#fff;padding:8px}
body:not(.admin-mode) .public-apartment-media img.apartment-placeholder{object-fit:contain;background:#F6F8FA;padding:16px}
body:not(.admin-mode) .public-apartment-media .public-favorite{position:absolute;top:8px;right:8px}
body:not(.admin-mode) .public-media-empty{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:80px;font-size:14px;color:#657480;background:#F6F8FA}
body:not(.admin-mode) .public-favorite span{position:static;background:none;color:inherit;border-radius:0;padding:0}
body:not(.admin-mode) .public-auction-row{display:grid;grid-template-columns:160px minmax(0,1fr) 180px 100px;gap:20px;padding:16px 0;border-bottom:1px solid #DCE2E7;align-items:center}
body:not(.admin-mode) .public-auction-row h2{font-size:16px;line-height:20px;margin:8px 0}
body:not(.admin-mode) .public-auction-row p{font-size:14px;line-height:20px;margin:4px 0}
body:not(.admin-mode) .public-auction-image{aspect-ratio:4/3;overflow:hidden;border-radius:6px}
body:not(.admin-mode) .public-auction-image img{width:100%;height:100%;object-fit:cover}
body:not(.admin-mode) .public-guide-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:24px;align-items:start}
body:not(.admin-mode) .public-guide-checklist{padding:24px;background:#F6F8FA}
body:not(.admin-mode) .public-guide-checklist label{display:flex;gap:8px;align-items:start;padding:8px 0;font-size:14px;line-height:20px}
body:not(.admin-mode) .public-guide-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:32px 0;padding:0;list-style:none}
body:not(.admin-mode) .public-guide-steps li{border-top:2px solid #006BFF;padding-top:16px}
body:not(.admin-mode) .public-guide-steps small{display:block;margin-top:8px}
body:not(.admin-mode) .public-guide-page .faq-list details{border:1px solid #DCE2E7;border-radius:6px;padding:16px;margin-bottom:12px;background:#fff}
body:not(.admin-mode) .public-guide-page .faq-list summary{min-height:24px;font-weight:600;cursor:pointer}
@media(max-width:767px){
 body:not(.admin-mode) .public-auction-row{grid-template-columns:100px minmax(0,1fr);gap:12px}
 body:not(.admin-mode) .public-auction-row>div:nth-child(3),body:not(.admin-mode) .public-auction-row>a{grid-column:2}
 body:not(.admin-mode) .public-guide-layout{grid-template-columns:1fr}
 body:not(.admin-mode) .public-guide-steps{grid-template-columns:1fr 1fr;gap:16px}
}
body:not(.admin-mode) .market-home-page .market-search-panel :is(select,input){min-width:0}
@media(min-width:768px) and (max-width:1199px){body:not(.admin-mode) :is(.market-result-list.catalog-grid,.market-result-list.public-grid,#commercialGrid){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 body:not(.admin-mode) h1{font-size:24px;line-height:32px}
 body:not(.admin-mode) h2{font-size:20px;line-height:28px}
 body:not(.admin-mode) :is(.market-result-list.catalog-grid,.market-result-list.public-grid,#commercialGrid){grid-template-columns:1fr;gap:16px}
 body:not(.admin-mode) .public-catalog-filters{grid-template-columns:1fr 1fr!important}
 body:not(.admin-mode) .public-catalog-filters>input:first-child{grid-column:1/-1}
 body:not(.admin-mode) .public-catalog-filters>.primary{grid-column:1/-1}
 body:not(.admin-mode) .market-home-page .market-search-panel{grid-template-columns:1fr}
 body:not(.admin-mode) .market-home-page .market-categories{gap:4px}
 body:not(.admin-mode) .market-home-page .market-categories button{flex-direction:column;padding:12px 0}
 body:not(.admin-mode) .market-home-page .market-categories b{font-size:12px;white-space:nowrap}
 body:not(.admin-mode) .market-empty{padding:16px 0}
}

/* Final public HTML-system layer. Keep live public renderers on the same
   geometry as the approved HTML reference instead of legacy browser rules. */
body.public-mode{overflow-x:hidden;background:#fff;color:#18202c}
body.public-mode .app-shell{display:block;min-width:0}
body.public-mode .site-header .topbar{display:flex;width:min(100%,1280px);min-height:72px;height:72px;margin:0 auto;padding:0 32px;gap:24px}
body.public-mode .header-brand{display:inline-flex;flex:0 0 auto;align-items:center;min-width:0}
body.public-mode .header-brand .brand-lockup,body.public-mode .header-brand .public-release-brand{display:inline-flex;align-items:center;width:auto;color:#18202c;font:700 24px/32px Manrope,Inter,sans-serif;letter-spacing:0}
body.public-mode .header-brand .brand-tagline{display:none}
body.public-mode .header-nav{min-width:0;overflow:visible}
body.public-mode .header-nav .nav-item{min-height:32px;padding:6px 8px;border:0;border-bottom:2px solid transparent;border-radius:0;color:#455a7b!important;background:transparent!important;font:600 14px/20px Inter,sans-serif}
body.public-mode .header-nav .nav-item:hover,body.public-mode .header-nav .nav-item.active{color:#0865f5!important;border-bottom-color:#0865f5}
body.public-mode .top-actions{margin-left:auto;min-width:0}
body.public-mode .screen-main{width:min(100%,1280px);min-width:0;margin:0 auto;padding:32px 32px 48px;background:#fff}
body.public-mode .page-title,body.public-mode .screen-main>h1,body.public-mode .screen-main>h2{margin:0;color:#18202c;font:700 32px/40px Manrope,Inter,sans-serif;letter-spacing:0}
body.public-mode .screen-main .lead{margin:8px 0 0;color:#64717d;font:400 16px/24px Inter,sans-serif}
body.public-mode :is(.primary-btn,.secondary-btn){display:inline-flex;min-width:0;min-height:48px;align-items:center;justify-content:center;padding:12px 16px;border:1px solid transparent;border-radius:6px;font:600 16px/24px Inter,sans-serif;cursor:pointer}
body.public-mode .primary-btn{color:#fff;background:#0865f5;border-color:#0865f5}
body.public-mode .primary-btn:hover{background:#0757d6;border-color:#0757d6}
body.public-mode .secondary-btn{color:#18202c;background:#fff;border-color:#dce2e7}
body.public-mode .link,body.public-mode .link-button{display:inline-flex;min-height:32px;align-items:center;gap:4px;margin:0;padding:4px 0;border:0;border-radius:0;color:#0865f5;background:transparent;font:600 14px/20px Inter,sans-serif;text-decoration:none;cursor:pointer}
body.public-mode .link:hover,body.public-mode .link-button:hover{color:#0757d6;background:transparent;transform:none}
body.public-mode .catalog-filter-row{display:grid;grid-template-columns:minmax(0,1.8fr) repeat(3,minmax(0,1fr)) minmax(120px,.7fr);min-width:0;max-width:100%;gap:10px;margin-top:24px}
body.public-mode .catalog-filter-row>*{min-width:0;max-width:100%;box-sizing:border-box}
body.public-mode .catalog-filter-row input,body.public-mode .catalog-filter-row select{width:100%;min-width:0;min-height:48px;padding:0 12px;border:1px solid #dce2e7;border-radius:6px;color:#18202c;background:#fff;font:400 16px/24px Inter,sans-serif}
body.public-mode .catalog-filter-row .field{min-width:0;min-height:48px;padding:0 12px}
body.public-mode .catalog-filter-row .field input{border:0;padding:0;outline:0}
body.public-mode :is(.catalog-grid,.grid-3,.design-project-catalog-grid,.design-apartment-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;gap:24px}
body.public-mode .catalog-card,body.public-mode .design-project-grid .catalog-card{min-width:0;overflow:hidden;border:1px solid #dce2e7;border-radius:6px;background:#fff;box-shadow:none}
body.public-mode .catalog-card>.photo,body.public-mode .design-project-grid .catalog-card>.photo{min-height:0;aspect-ratio:16/9;border:0;border-radius:0;background-position:center;background-size:cover}
body.public-mode .catalog-card-body{min-width:0;padding:16px}
body.public-mode .catalog-card-body h4{margin:0;color:#18202c;font:700 16px/20px Manrope,Inter,sans-serif}
body.public-mode .catalog-card-body .meta{margin:6px 0 0;color:#64717d;font:400 14px/20px Inter,sans-serif}
body.public-mode .catalog-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
body.public-mode .catalog-card-foot b{font:700 16px/20px Manrope,Inter,sans-serif}
body.public-mode .section-head{min-width:0;align-items:center}
body.public-mode .section-head h3{margin:0;color:#18202c;font:700 24px/32px Manrope,Inter,sans-serif}
body.public-mode .design-home-page .section{margin-top:48px}
body.public-mode .design-home-page .category-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.public-mode .design-home-page .apartment-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}
body.public-mode .design-home-page .home-hero{min-width:0;min-height:360px;padding:64px 48px 32px}
body.public-mode .design-home-page .hero-copy h2{margin:0;font:700 32px/40px Manrope,Inter,sans-serif}
body.public-mode .design-home-page .hero-copy p{margin:8px 0 0;font:600 20px/28px Inter,sans-serif}
body.public-mode .design-home-page .hero-search{width:min(100%,920px);min-width:0;margin-top:48px}
body.public-mode .design-home-page .hero-search>*{min-width:0}
@media (min-width:768px) and (max-width:1199px){body.public-mode :is(.catalog-grid,.grid-3,.design-project-catalog-grid,.design-apartment-grid){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){
 body.public-mode .site-header .topbar{min-height:56px;height:56px;padding:0 16px;gap:12px}
 body.public-mode .screen-main{padding:24px 16px 32px}
 body.public-mode .page-title,body.public-mode .screen-main>h1,body.public-mode .screen-main>h2{font-size:24px;line-height:32px}
 body.public-mode .catalog-filter-row{grid-template-columns:1fr;gap:12px;margin-top:16px}
 body.public-mode .catalog-filter-row>*{margin:0!important}
 body.public-mode :is(.catalog-grid,.grid-3,.design-project-catalog-grid,.design-apartment-grid){grid-template-columns:1fr;gap:16px}
 body.public-mode .section-head h3{font-size:20px;line-height:28px}
 body.public-mode .design-home-page .home-hero{min-height:0;padding:32px 16px 16px}
 body.public-mode .design-home-page .hero-copy h2{font-size:24px;line-height:32px}
 body.public-mode .design-home-page .hero-copy p{font-size:16px;line-height:24px}
 body.public-mode .design-home-page .hero-search{grid-template-columns:1fr;width:100%;margin-top:24px}
 body.public-mode .design-home-page .category-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.public-mode .design-home-page .category-tiles article{grid-template-columns:1fr;justify-items:center;min-height:108px;padding:12px 6px;text-align:center}
 body.public-mode .design-home-page .category-tiles article p{display:none}
 body.public-mode .design-home-page .apartment-preview-grid{grid-template-columns:1fr;gap:16px}
}
@media (min-width:360px) and (max-width:767px){body.public-mode .design-home-page .design-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.public-mode .design-home-page .design-project-grid .catalog-card-body{padding:10px}body.public-mode .design-home-page .design-project-grid .catalog-card-body .meta{font-size:12px;line-height:16px}}
@media (max-width:359px){body.public-mode .design-home-page .design-project-grid{grid-template-columns:1fr}}

@media (max-width:900px){body.public-mode .site-header .header-nav{display:none!important}}
body.public-mode .design-participant-list,
body.public-mode .design-analytics-page .catalog-list{display:grid;gap:12px}
body.public-mode .design-participant-list .row-card{display:grid;grid-template-columns:56px minmax(0,1fr) 24px;align-items:center;gap:16px;min-width:0;padding:16px;border:1px solid #dce2e7;border-radius:6px;background:#fff}
body.public-mode .design-participant-list .row-card:hover{border-color:#b7cce0;background:#f7fbff}
body.public-mode .design-participant-list .developer-mini-logo{display:grid;width:56px;height:56px;place-items:center;border:1px solid #dce2e7;border-radius:6px;color:#0865f5;background:#f1f7ff;font:700 24px/1 Manrope,Inter,sans-serif}
body.public-mode .design-participant-list .row-card h4{margin:0;color:#18202c;font:700 16px/20px Manrope,Inter,sans-serif}
body.public-mode .design-participant-list .row-card p{margin:6px 0 0;color:#64717d;font:400 14px/20px Inter,sans-serif}
body.public-mode .design-participant-list .row-card .card-arrow{position:static;display:grid;place-items:center;width:24px;height:24px}
body.public-mode .design-analytics-page .catalog-list .card{min-width:0;border:1px solid #dce2e7;border-radius:6px;box-shadow:none;background:#fff}
body.public-mode .design-analytics-page .catalog-list .card-body{padding:16px}
body.public-mode .design-analytics-page .kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.public-mode .design-developers-page .developers-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:1199px){body.public-mode .design-developers-page .developers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){
 body.public-mode .design-participant-list .row-card{grid-template-columns:48px minmax(0,1fr) 20px;gap:12px;padding:12px}
 body.public-mode .design-participant-list .developer-mini-logo{width:48px;height:48px;font-size:20px}
 body.public-mode .design-analytics-page .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.public-mode .design-developers-page .developers-grid{grid-template-columns:1fr;gap:16px}
}

/* Map catalogue uses a compact, stable list beside the map. */
body.public-mode .design-map-page .map-layout{display:grid;grid-template-columns:minmax(280px,320px) minmax(0,1fr);gap:16px;align-items:stretch;min-width:0}
body.public-mode .design-map-page .map-list{display:grid;align-content:start;max-height:calc(100vh - 180px);overflow:auto;min-width:0;border:1px solid #dce2e7;border-radius:6px;background:#fff}
body.public-mode .design-map-page .map-list-card{display:grid;width:100%;min-width:0;min-height:82px;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:12px;margin:0;padding:14px 16px;border:0;border-bottom:1px solid #dce2e7;border-radius:0;color:#18202c;background:#fff;text-align:left;box-shadow:none;transform:none;cursor:pointer}
body.public-mode .design-map-page .map-list-card:last-child{border-bottom:0}
body.public-mode .design-map-page .map-list-card:hover{background:#f7fbff;box-shadow:inset 3px 0 0 #0865f5;transform:none}
body.public-mode .design-map-page .map-list-card>div{min-width:0}
body.public-mode .design-map-page .map-list-card h4{overflow:hidden;margin:0;color:#18202c;font:700 16px/20px Manrope,Inter,sans-serif;text-overflow:ellipsis;white-space:normal}
body.public-mode .design-map-page .map-list-card .meta{overflow:hidden;margin:6px 0 0;color:#64717d;font:400 14px/20px Inter,sans-serif;text-overflow:ellipsis;white-space:normal}
body.public-mode .design-map-page .map-list-card>span{display:grid;place-items:center;color:#0865f5}
body.public-mode .design-map-page .map-list-card .ui-icon{width:20px;height:20px}
body.public-mode .design-map-page #designPublicMap{min-width:0;min-height:600px;border:1px solid #dce2e7;border-radius:6px;overflow:hidden}
@media (max-width:767px){
 body.public-mode .design-map-page .map-layout{grid-template-columns:1fr;gap:16px}
 body.public-mode .design-map-page #designPublicMap{order:1;min-height:360px}
 body.public-mode .design-map-page .map-list{order:2;max-height:none}
 body.public-mode .design-map-page .map-list-card{min-height:76px;padding:12px 14px}
}

/* Live-data bridge for the HTML-first public system. Dynamic images and the
   real mobile menu must keep the exact component geometry of the reference. */
body.public-mode .screen-main img,
body.public-mode .catalog-card img,
body.public-mode .apartment-preview img,
body.public-mode .project-gallery img,
body.public-mode .district-thumb img{display:block;max-width:100%;height:auto}
body.public-mode .apartment-preview .plan{overflow:hidden}
body.public-mode .apartment-preview .plan img{width:100%;height:100%;object-fit:cover}
body.public-mode .district-thumb img{width:100%;height:100%;object-fit:cover}
body.public-mode .catalog-card>.photo::before,
body.public-mode .catalog-card>.photo::after,
body.public-mode .apartment-preview .plan::before,
body.public-mode .apartment-preview .plan::after,
body.public-mode .project-main-photo::before,
body.public-mode .project-main-photo::after,
body.public-mode .thumb-strip .photo::before,
body.public-mode .thumb-strip .photo::after,
body.public-mode .project-gallery .photo::before,
body.public-mode .project-gallery .photo::after,
body.public-mode .about-project .photo::before,
body.public-mode .about-project .photo::after,
body.public-mode .district-thumb::before,
body.public-mode .district-thumb::after{display:none!important;content:none!important}
body.public-mode .site-header .site-actions [data-menu="publicMoreMenu"]{display:inline-grid}
body.public-mode .public-menu-dialog::backdrop{background:rgba(24, 32, 44,.24)}
body.public-mode .public-menu-dialog #publicMoreMenu .nav-item[hidden]{display:flex!important}
body.public-mode .public-menu-dialog #publicMoreMenu .nav-item{color:#18202c!important;background:#fff!important}
body.public-mode.public-modal-open{overflow:hidden}
body.public-mode.mobile-screen .project-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:6px}
body.public-mode.mobile-screen .project-tabs span{min-width:0;justify-content:center;white-space:normal;text-align:center}
body.public-mode .design-project-detail-page .key-facts small,
body.public-mode .design-project-detail-page .apartment-table .meta{display:block;color:#64717d;font:400 13px/18px Inter,sans-serif}
body.public-mode .design-project-detail-page .apartment-table article>div{min-width:0}
body.public-mode .design-project-detail-page .apartment-table .link{width:100%;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid #dce2e7;border-radius:6px;color:#18202c;background:#fff;font:700 14px/20px Inter,sans-serif}
body.public-mode .design-project-detail-page .apartment-table .card-arrow{position:static;display:grid;place-items:center;color:#0865f5}
body.public-mode .design-project-detail-page .location-section .map-box .maplibregl-canvas,
body.public-mode .design-project-detail-page .location-section .map-box .maplibregl-map{border-radius:inherit}

/* HTML-first parity fixes found during the page/state audit. */
body.public-mode .catalog-tabs{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin:20px 0 0}
body.public-mode .catalog-tabs .tabs{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
body.public-mode .tab{min-height:40px;padding:8px 14px;border:1px solid #dce2e7;border-radius:6px;color:#18202c;background:#fff;font:600 14px/20px Inter,sans-serif}
body.public-mode .tab.active,body.public-mode .tab[aria-current="page"]{border-color:#0865f5;color:#0865f5;background:#f1f7ff}
body.public-mode .section-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
body.public-mode.mobile-screen .section-head{align-items:flex-start}
body.public-mode.mobile-screen .section-head .meta{max-width:100%;margin-left:0}
body.public-mode .developers-filter{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,.8fr)}
body.public-mode .developers-filter .sort-label{align-self:center;justify-self:end;white-space:nowrap}
body.public-mode .design-catalog-page .catalog-filter-row:not(.developers-filter){grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(120px,.7fr)}
body.public-mode .design-catalog-page .catalog-filter-row:not(.developers-filter):has(#designCommercialType),
body.public-mode .design-catalog-page .catalog-filter-row:not(.developers-filter):has(#designParticipantType){grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(140px,.6fr)}
body.public-mode .design-project-detail-page .project-gallery .section-head{grid-column:1/-1}
body.public-mode .design-project-detail-page .project-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.public-mode .design-project-detail-page .project-gallery .photo{min-height:180px;border-radius:6px;background-position:center;background-size:cover}
body.public-mode .screen-main.market-page,
body.public-mode .screen-main.public-article-page{width:min(100%,1280px);padding:32px 32px 48px}
body.public-mode .market-section{margin-top:48px}
body.public-mode .market-section:first-child{margin-top:0}
body.public-mode .market-section h2{margin:0 0 16px;color:#18202c;font:700 24px/32px Manrope,Inter,sans-serif}
body.public-mode .market-detail,
body.public-mode .public-profile-heading{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);gap:24px;align-items:start}
body.public-mode .market-detail img,
body.public-mode .public-profile-heading img{width:100%;max-height:420px;object-fit:cover;border-radius:6px}
body.public-mode .public-section-nav{display:flex;flex-wrap:wrap;gap:16px;margin-top:24px}
body.public-mode .public-section-nav a{min-height:32px}
body.public-mode .role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}
body.public-mode .role-card{min-width:0;padding:24px;border:1px solid #dce2e7;border-radius:6px;background:#fff}
@media (min-width:901px) and (max-width:1199px){
 body.public-mode .catalog-filter-row,
 body.public-mode .design-catalog-page .catalog-filter-row:not(.developers-filter){gap:8px}
 body.public-mode .catalog-filter-row input,
 body.public-mode .catalog-filter-row select,
 body.public-mode .catalog-filter-row .field{font-size:14px}
}
@media (max-width:767px){
 body.public-mode .catalog-tabs{align-items:flex-start;gap:12px;margin-top:20px}
 body.public-mode .catalog-tabs .sort-label{width:100%}
 body.public-mode .design-catalog-page .catalog-filter-row,
 body.public-mode .design-catalog-page .catalog-filter-row:not(.developers-filter),
 body.public-mode .design-catalog-page .catalog-filter-row:not(.developers-filter):has(#designCommercialType),
 body.public-mode .design-catalog-page .catalog-filter-row:not(.developers-filter):has(#designParticipantType),
 body.public-mode .developers-filter{grid-template-columns:1fr;gap:12px}
 body.public-mode .design-project-detail-page .project-gallery{grid-template-columns:1fr;gap:12px}
 body.public-mode .design-project-detail-page .project-gallery .photo{min-height:160px}
 body.public-mode .screen-main.market-page,
 body.public-mode .screen-main.public-article-page{padding:24px 16px 32px}
 body.public-mode .market-section{margin-top:32px}
 body.public-mode .market-detail,
 body.public-mode .public-profile-heading{grid-template-columns:1fr;gap:16px}
 body.public-mode .role-grid{grid-template-columns:1fr;gap:16px}
}
body.public-mode.mobile-screen .catalog-filter-row,
body.public-mode.mobile-screen .design-catalog-page .catalog-filter-row,
body.public-mode.mobile-screen .apartments-filter,
body.public-mode.mobile-screen .developers-filter{display:flex!important;flex-direction:column!important;gap:12px!important}
body.public-mode.mobile-screen .catalog-filter-row>*,
body.public-mode.mobile-screen .design-catalog-page .catalog-filter-row>*{width:100%!important;min-width:0!important;margin:0!important}
body.public-mode.mobile-screen .catalog-filter-row .field{display:flex;align-items:center;gap:8px}
