
:root{--forest:#143e35;--deep:#102e29;--lime:#d3f39b;--ink:#152c27;--muted:#75867f;--border:#e4ebe6;--cream:#f7f9f6}*{scrollbar-width:thin;scrollbar-color:#cbd8cf transparent}html{scroll-behavior:smooth}body{font-family:'DM Sans',sans-serif!important;background:var(--cream)!important;color:var(--ink)!important}h1,h2,h3,.brand{font-family:Manrope,'DM Sans',sans-serif}header.bg-slate-950{background:#fff!important;color:var(--ink)!important;border-bottom:1px solid #e6ede8;position:sticky;top:0;z-index:35;box-shadow:0 8px 30px #1c342908}header .text-slate-400{color:#788d81!important}header .text-slate-300{color:#54675e!important}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;background:var(--forest);color:var(--lime);border-radius:13px;font-size:30px;vertical-align:middle;margin-right:7px}.brand-pro{color:#168c66}.card{border:1px solid var(--border)!important;border-radius:22px!important;box-shadow:0 7px 30px #243b2d08!important}.btn{background:var(--forest)!important;color:white!important;border:1px solid var(--forest);border-radius:12px!important;transition:.2s;cursor:pointer}.btn:hover{background:#205b49!important;transform:translateY(-1px)}.btn2{border:1px solid #d7e3db!important;color:#244237!important;border-radius:12px!important;transition:.2s;cursor:pointer}.btn2:hover{background:#eef5ef!important}.field{border-radius:12px!important;border:1px solid #dbe5dd!important;padding:12px 14px!important}.field:focus{border-color:#3e8668!important;box-shadow:0 0 0 3px #d8eee0!important}.tab{border-radius:12px!important;color:#62786c;font-size:13px;font-weight:700;letter-spacing:-.01em;padding:12px 15px!important}.tab.active{background:var(--forest)!important;color:#fff!important}.tab:not(.active):hover{background:#eff5f0}#tabs{border:1px solid #e6ede8!important;box-shadow:0 4px 20px #152c2705;gap:5px!important;overflow:visible!important}#forms{max-height:none}#forms .card h2{font-size:16px}#kpis .card{padding:22px!important}#kpis .card .text-xl{font-size:27px!important}.muted{color:#7b8c82!important}.explore-mode #kpis,.explore-mode #forms{display:none!important}.explore-mode .workspace{display:block!important}.explore-mode .workspace>section{width:100%}.explore-mode #tabs{margin-bottom:22px!important}.explore-mode .app-main{padding-top:24px!important}.explore-mode #panel{width:100%}.eyebrow{display:block;color:#5d8e70;font-size:11px;letter-spacing:.18em;font-weight:800;margin-bottom:12px}.hero{height:min(540px,62vw);min-height:430px;border-radius:28px;overflow:hidden;position:relative;background:#143e35;color:white;isolation:isolate}.hero-image{position:absolute;inset:0;background-size:cover;background-position:center;transition:background-image .4s;filter:saturate(.85)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,38,30,.94) 0%,rgba(10,38,30,.75) 44%,rgba(10,38,30,.16) 100%)}.hero-content{position:absolute;top:50%;left:6.5%;transform:translateY(-50%);max-width:690px;z-index:2}.hero-kicker{color:var(--lime);font-size:12px;font-weight:800;letter-spacing:.18em;margin-bottom:22px;display:flex;align-items:center;gap:10px}.pulse-dot{display:inline-block;width:9px;height:9px;background:var(--lime);border-radius:50%;box-shadow:0 0 0 6px #d3f39b20}.hero h1{font-size:clamp(42px,5.5vw,79px);line-height:1.09;font-weight:800;letter-spacing:-.055em}.hero h1 em{color:var(--lime);font-style:normal}.hero p{font-size:17px;color:#e0eee6;max-width:490px;line-height:1.75;margin-top:22px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}.hero-cta{background:var(--lime)!important;color:var(--deep)!important;border:0!important;padding:15px 23px!important}.hero-cta:hover{background:#e4ffb5!important}.hero-outline{border:1px solid #d6e7dd80;border-radius:12px;padding:15px 22px;font-weight:700;color:white}.hero-outline:hover{background:#ffffff24}.hero-controls{position:absolute;bottom:28px;right:34px;display:flex;align-items:center;gap:10px;z-index:3;font-weight:800;font-size:12px;letter-spacing:.08em}.hero-controls span{margin-right:15px}.hero-controls button{height:42px;width:42px;border:1px solid #ffffff7a;border-radius:50%;color:white;font-size:19px}.hero-controls button:hover{background:#ffffff30}.home-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:48px 0 25px}.home-intro h2{font-size:clamp(25px,3vw,39px);font-weight:800;letter-spacing:-.045em}.home-intro p{font-size:14px;color:#77897e;margin-top:8px}.accent-dot{color:#58a476}.property-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.property-card{background:white;border:1px solid #e4ebe6;border-radius:21px;overflow:hidden;box-shadow:0 6px 30px #1b3d2b09;transition:transform .2s,box-shadow .2s;min-width:0}.property-card:hover{transform:translateY(-4px);box-shadow:0 15px 38px #1b3d2b1c}.property-photo{height:225px;position:relative;background:linear-gradient(145deg,#e6f1e9,#bfd6c6);overflow:hidden}.property-photo img{height:100%;width:100%;object-fit:cover;position:relative;z-index:1;transition:transform .4s}.property-card:hover .property-photo img{transform:scale(1.04)}.photo-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#759983;font-size:66px}.photo-fallback small{font-size:12px}.photo-badge{position:absolute;top:15px;left:15px;z-index:2;background:#fffefa;border-radius:30px;padding:7px 12px;color:#294438;font-size:11px;font-weight:800;max-width:85%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-body{padding:21px}.property-location{display:flex;align-items:center;gap:8px;color:#678172;font-size:13px;font-weight:600}.dpe-badge{margin-left:auto;border:1px solid #dce9df;padding:3px 7px;border-radius:6px;color:#557565;font-size:11px}.property-body h3{font-size:16px;font-weight:800;line-height:1.45;margin-top:12px;min-height:46px}.property-price{font-size:26px;font-weight:800;letter-spacing:-.04em;margin:10px 0;color:#153c31}.property-meta{display:flex;gap:9px;flex-wrap:wrap;color:#6d8275;font-size:12px;border-bottom:1px solid #edf1ec;padding-bottom:16px}.property-actions{display:flex;gap:8px;margin-top:16px;align-items:center}.property-actions .btn{flex:1;padding:11px!important;font-size:13px}.icon-button{display:flex;align-items:center;justify-content:center;border:1px solid #dbe7de;width:42px;height:42px;border-radius:12px;font-size:22px;color:#28513d}.icon-button:hover{background:#eef6ef}.empty-state{grid-column:1/-1;text-align:center;border:1px dashed #cbd9cf;border-radius:22px;padding:60px 20px;background:white}.empty-state h3{font-size:23px;font-weight:800}.empty-state p{max-width:480px;margin:10px auto 22px;color:#718579}.empty-symbol{font-size:65px;color:#5c9676}.home-bottom{display:flex;justify-content:space-around;gap:20px;flex-wrap:wrap;background:#eaf3e9;border-radius:20px;padding:24px;margin-top:40px;font-weight:700;color:#3d6c52;font-size:13px}.search-box{padding:29px!important}.search-box h3{font-size:27px!important;letter-spacing:-.035em}.search-box .grid{gap:14px!important}.search-box .btn{padding:13px 22px!important}.search-box .btn2{padding:12px 17px!important}footer{color:#86998d!important}dialog{border:1px solid #e0e9e0}@media(max-width:1150px){.property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){header .max-w-\[1600px\]{padding:12px!important}.property-grid{grid-template-columns:1fr}.hero{min-height:510px;height:510px}.hero-content{left:7%;right:7%}.hero h1{font-size:42px}.hero p{font-size:14px}.hero-controls{bottom:17px;right:17px}.home-intro{align-items:start;flex-direction:column}.home-bottom{justify-content:start}.property-photo{height:240px}#tabs{gap:3px!important}.tab{padding:10px!important;font-size:12px}.search-box{padding:20px!important}.search-box h3{font-size:23px!important}}@media print{.hero,.home-intro,.home-bottom,.property-grid{display:none!important}}

/* V4: accessible, restrained neutral design system */
:root{--forest:#243c49;--deep:#192b36;--lime:#f4f5f6;--ink:#192b36;--muted:#52616d;--border:#d8e0e5;--cream:#f5f7f9}
body{background:var(--cream)!important;color:var(--ink)!important}
header.bg-slate-950{position:relative;background:#fff!important;border-bottom:0;box-shadow:none}
.brand-mark{background:#243c49;color:#fff}.brand-pro{color:#365f75}
header .text-slate-400,header .text-slate-300{color:#52616d!important}
.btn{background:#243c49!important;border-color:#243c49!important}.btn:hover{background:#36576a!important;transform:none}
.btn2{border-color:#cdd8df!important;color:#243c49!important}.btn2:hover{background:#eef2f5!important}
.field{border-color:#b8c7d1!important;color:#192b36!important}.field:focus{border-color:#365f75!important;box-shadow:0 0 0 3px #d7e7f0!important}
.tab{color:#334c5c!important}.tab.active{background:#243c49!important;color:white!important}
.tab:not(.active):hover{background:#e8eff3!important}.muted{color:#52616d!important}
.eyebrow{color:#365f75}.accent-dot{color:#365f75}.positive{color:#22644e}.negative{color:#9c3030}
.hero{background:#243c49}.hero-overlay{background:linear-gradient(90deg,rgba(16,31,41,.96) 0%,rgba(16,31,41,.82) 48%,rgba(16,31,41,.18) 100%)}
.hero-kicker,.hero h1 em{color:#fff}.pulse-dot{background:#cbdbe5;box-shadow:0 0 0 5px #ffffff20}
.hero-cta{background:#fff!important;color:#192b36!important}.hero-cta:hover{background:#e8eff3!important}
.hero-outline{border-color:#e0e8ed;color:#fff}.hero-outline:hover{background:#ffffff1a}
.property-photo{background:linear-gradient(145deg,#e9eef2,#d7e1e8)}.photo-fallback{color:#587181}
.property-price{color:#243c49}.property-location,.property-meta{color:#4d6474}.dpe-badge{color:#344f60;border-color:#cbd8e0}
.home-bottom{background:#e7edf2;color:#344f60}
.global-nav{background:#fff;border-top:1px solid #e9eef2;border-bottom:1px solid #dce5eb;position:sticky;top:0;z-index:34}
.global-nav-inner{max-width:1600px;margin:auto;padding:0 28px;display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:thin}
.global-nav button{flex:none;padding:16px 19px;font-weight:700;color:#405766;border-bottom:3px solid transparent;white-space:nowrap}
.global-nav button:hover{background:#f2f5f7}.global-nav button.current{color:#192b36;border-bottom-color:#365f75}
#tabs{display:none!important}
#forms .card h2{color:#192b36}
#kpis .text-indigo-700{color:#243c49!important}
#kpis .text-emerald-700{color:#22644e!important}
#kpis .text-rose-700{color:#9c3030!important}
.property-card{border-color:#d8e0e5;box-shadow:0 5px 20px #1b304008}.property-card:hover{box-shadow:0 12px 26px #1b304015}
.photo-badge{color:#243c49}
.photo-fallback small{color:#405766}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #2d6485!important;outline-offset:3px}
[hidden]{display:none!important}
@media(max-width:680px){.global-nav-inner{padding:0 10px}.global-nav button{padding:13px 12px}.header-actions{gap:6px!important}.header-actions #fullscreen,.header-actions #reset,.header-actions #print{display:none}.hero{min-height:540px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* V5 — Editorial real-estate design system. Clear contrast and hierarchy. */
:root{--forest:#172d39;--deep:#112630;--ink:#1c303a;--muted:#50616b;--border:#e0e5e4;--cream:#faf9f6;--accent:#ad774c;--paper:#fff}
body{background:#faf9f6!important;color:var(--ink)!important;font-family:'DM Sans',system-ui,sans-serif!important}
header.bg-slate-950{background:#fff!important;border-bottom:1px solid #e7e8e4;position:relative}
.brand-mark{background:#172d39;color:#fff;border-radius:10px}.brand-pro{color:#ad774c}
.global-nav{background:#fff;position:relative;border-bottom:1px solid #e8e8e5}.global-nav-inner{justify-content:center;gap:8px}.global-nav button{font-size:14px;font-weight:600;padding:15px 20px}.global-nav button.current{border-bottom-color:#ad774c;color:#172d39}
.btn{background:#172d39!important;border-color:#172d39!important;border-radius:8px!important}.btn:hover{background:#294b5c!important}.btn2{border-radius:8px!important;border-color:#cfd7d7!important}
.card{border-radius:12px!important;border-color:#e4e7e5!important;box-shadow:0 3px 14px #11263008!important}.field{border-radius:8px!important;background:#fff!important;border-color:#c8d1d2!important}
.field:focus{border-color:#8b684d!important;box-shadow:0 0 0 3px #e9d8c9!important}
.hero{border-radius:12px;min-height:560px;height:560px;background:linear-gradient(120deg,#162d39 0%,#344c57 70%,#9d8b79 100%)}
.hero-overlay{background:linear-gradient(90deg,rgba(13,30,39,.96) 0%,rgba(13,30,39,.83) 43%,rgba(13,30,39,.24) 100%)}
.hero h1{font-family:Manrope,'DM Sans',sans-serif;font-weight:700;letter-spacing:-.055em;font-size:clamp(40px,5vw,72px);max-width:790px}
.hero h1 em{color:#fff}.hero-kicker{font-size:11px;letter-spacing:.22em;color:#e7c9a8}.hero p{color:#eef1ef;font-size:17px;max-width:570px}
.hero-cta{background:#f6efe7!important;color:#172d39!important;border:1px solid #f6efe7!important;border-radius:7px!important}
.hero-cta:hover{background:#fff!important}.hero-outline{border-radius:7px}
.hero-controls button{border-radius:8px}.eyebrow{color:#9b6741;letter-spacing:.18em}
.home-intro{margin-top:55px}.home-intro h2{font-size:clamp(28px,3.1vw,42px);letter-spacing:-.045em}.accent-dot{color:#ad774c}
.property-grid{gap:22px}.property-card{border-radius:12px;border-color:#e4e7e5;box-shadow:0 5px 22px #172d3910}
.property-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px #172d3919}
.property-photo{height:245px;background:#e8ecec}.photo-fallback{color:#6d7f85}.photo-badge{border-radius:5px;background:#fff;font-size:11px}
.property-body{padding:22px}.property-body h3{font-size:17px;min-height:44px}.property-price{font-size:27px;color:#172d39}
.property-actions .btn{border-radius:7px!important}.icon-button{border-radius:7px}
.home-bottom{background:#f0ede7;color:#44555d;border-radius:10px}
.landing-mode #kpis,.landing-mode #forms{display:none!important}.landing-mode .workspace{display:block!important}
.landing-mode .workspace>section{width:100%}.landing-mode .app-main{padding-top:25px!important}
header .header-actions #fullscreen,header .header-actions #reset,header .header-actions #print{display:none}
header .header-actions #account{color:#50616b!important}
#auth-dialog{border-radius:12px;padding:30px}.global-nav button:focus-visible,.btn:focus-visible,.btn2:focus-visible{outline:3px solid #ad774c!important;outline-offset:3px}
@media(max-width:680px){.hero{height:560px;min-height:560px}.hero h1{font-size:39px}.hero-content{left:7%;right:7%}.hero p{font-size:15px}.global-nav-inner{justify-content:flex-start}.property-photo{height:235px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.welcome-edit{margin-top:14px;color:#f1e1ce;text-decoration:underline;text-underline-offset:4px;font-size:13px}

/* V6 — Public landing, accessible visual identity */
body.landing-mode .global-nav,body.landing-mode #tabs{display:none!important}
body.landing-mode .app-main{padding-top:20px!important}
body.landing-mode .hero{height:min(650px,72vw);min-height:480px;border-radius:18px}
body.landing-mode .hero-image{background-image:url('/static/hero-welcome.webp');background-position:center 38%}
body.landing-mode .hero-overlay{background:linear-gradient(90deg,rgba(15,33,42,.93),rgba(15,33,42,.72) 43%,rgba(15,33,42,.03) 80%)}
body.landing-mode .hero-content{max-width:610px}
body.landing-mode .hero h1{font-size:clamp(39px,4.7vw,66px)}
body.landing-mode .hero-cta{background:#f8f3ec!important;color:#172d39!important}
body.landing-mode .hero-outline{background:#172d3955}
body.landing-mode .hero-kicker{color:#f6d4ad}
body.landing-mode #panel{min-height:60vh}
body:not(.landing-mode) .global-nav{display:block}
#auth-dialog::backdrop{background:#0d1c28a8;backdrop-filter:blur(4px)}
@media(max-width:680px){body.landing-mode .hero{height:610px;min-height:610px}body.landing-mode .hero-overlay{background:linear-gradient(90deg,#122732dc,#1227327c)}body.landing-mode .hero-image{background-position:65% center}}

/* V7: editorial slides and visual accessibility */
body.landing-mode .hero-image{background-image:url('/static/hero-apartment.webp');background-position:center!important;filter:none!important;transition:opacity .4s ease}
.hero-overlay{background:linear-gradient(90deg,rgba(12,27,37,.93) 0%,rgba(12,27,37,.75) 43%,rgba(12,27,37,.12) 100%)!important}
.hero{background:#132733}
.hero-kicker{color:#f0d6b6!important}
.hero-controls{background:rgba(13,27,37,.42);padding:7px 12px;border-radius:12px}
.property-photo{background:#e8edf0}
.property-photo .photo-fallback{color:#607582}
@media(prefers-reduced-motion:reduce){.hero-image{transition:none!important}}
