:root{--navy:#23211d;--blue:#80601f;--sky:#d8b76f;--bg:#faf8f3;--line:#e5dfd2;--text:#28251f;--muted:#716c60}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,sans-serif}button,input,textarea,select{font:inherit}button,a{cursor:pointer}a{color:var(--blue);text-decoration:none}button{border:1px solid var(--line);background:white;color:var(--text);padding:10px 15px;border-radius:8px;font-weight:600}button:hover{border-color:var(--blue)}button:disabled{cursor:not-allowed;opacity:.55}.primary{background:var(--blue);border-color:var(--blue);color:white}.danger{color:#b02a3d}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:8px;background:#fdfdfc;padding:10px;color:var(--text)}textarea{min-height:110px;resize:vertical}label{display:block;font-size:14px;font-weight:600;color:var(--muted)}label input,label select,label textarea{margin-top:6px}h1,h2,h3,p{margin-top:0}h1{font-size:26px;letter-spacing:-.5px;margin-bottom:3px}h2{font-size:22px}h3{font-size:17px}.sub{color:var(--muted);font-size:14px}.logo{font-size:25px;font-weight:800;color:white}.logo span{color:var(--sky)}.aside{background:var(--navy);position:fixed;top:0;bottom:0;width:246px;z-index:10;color:#e6dfcd;padding:25px 14px;overflow:auto}.aside .logo{padding:0 14px 22px;border-bottom:1px solid #3c3934;display:block}.nav-label{font-size:12px;text-transform:uppercase;letter-spacing:1.2px;margin:24px 14px 8px;color:#c5ac72}.aside button{display:flex;gap:12px;align-items:center;border:0;background:transparent;color:#eee9dc;width:100%;text-align:left;font-size:14px;font-weight:500;margin:3px 0;padding:11px 13px}.aside button.active{background:var(--blue);color:white}.aside svg{width:19px;height:19px;flex-shrink:0}.main{margin-left:246px;padding:0 32px 50px;max-width:1800px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;background:white;margin:0 -32px 23px;padding:23px 32px;border-bottom:1px solid var(--line)}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.notice{background:#f9f7f3;border:1px solid #ece6d7;border-radius:10px;padding:12px 16px;margin-bottom:22px;font-size:14px;color:#856726}.panel{padding:22px;background:#ffffff;border:1px solid var(--line);border-radius:12px;margin:20px 0}.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px}.filters label{font-size:12px;text-transform:uppercase;letter-spacing:.3px}.filters select{font-size:14px}.listhead{display:flex;justify-content:space-between;align-items:center;margin:25px 0 15px;gap:16px}.listhead h2{margin:0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.card{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 3px #23211d05}.card-photo{height:170px;background:#f4f1ea;position:relative;display:grid;place-items:center;color:var(--muted);font-size:14px}.card-photo img{width:100%;height:100%;object-fit:cover;position:absolute}.count{position:absolute;right:10px;top:10px;background:#292723cc;color:white;border-radius:5px;padding:4px 7px;font-size:12px}.cardbody{padding:16px;flex:1}.price{font-weight:800;font-size:20px;color:#2c2a26;margin-bottom:9px}.tags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:10px}.tag{font-size:11px;text-transform:uppercase;font-weight:650;background:#f9f7f2;color:#876926;padding:3px 6px;border-radius:4px}.tag.green{background:#e7f8ef;color:#13794a}.card h3{margin:9px 0 4px}.facts{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:10px;margin-top:12px;font-size:12px;color:var(--muted)}.cardfoot{padding:12px;background:#fdfcfa;display:flex;gap:8px;border-top:1px solid var(--line)}.cardfoot button:first-child{flex:1;background:var(--navy);color:white}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:20px}.stat strong{display:block;font-size:28px;color:var(--blue)}.stat span{font-size:14px;color:var(--muted)}.table-wrap{overflow:auto;background:#ffffff;border:1px solid var(--line);border-radius:10px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:15px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;text-transform:uppercase;background:#fcfcfa;color:var(--muted)}.empty{padding:50px 22px;text-align:center;border:1px dashed #e2d5b8;border-radius:12px;background:white}.empty h3{font-size:20px}.empty p{color:var(--muted)}.map-layout{display:grid;grid-template-columns:310px 1fr;gap:16px}.map-list{height:620px;overflow:auto}.map-list button{display:block;text-align:left;width:100%;margin-bottom:8px}.map-list small{display:block;color:var(--muted)}#propertyMap{height:620px;border:1px solid var(--line);border-radius:12px;z-index:1}.legend{display:flex;gap:18px;flex-wrap:wrap;font-size:14px;margin-bottom:15px}.legend i{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:6px}.map-marker{border:2px solid white;box-shadow:0 2px 9px #00000044;color:white;font-weight:700;padding:4px 8px;border-radius:7px;white-space:nowrap;width:max-content;font-size:12px}.leaflet-popup-content{font:14px/1.6 system-ui,sans-serif}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-brand{background:var(--navy);color:white;padding:8vw;display:flex;flex-direction:column;justify-content:center}.auth-brand h1{font-size:clamp(34px,4vw,58px);line-height:1.12;margin:25px 0}.auth-brand p{color:#e2d9c4}.auth-form{align-self:center;padding:50px;max-width:550px;width:100%;margin:auto}.auth-form label{margin:15px 0}.auth-form button.primary{width:100%}.auth-links{display:flex;justify-content:space-between;gap:10px;margin:20px 0}.auth-links button{background:none;border:0;padding:0;color:var(--blue);font-size:14px}.auth-error{color:#b02a3d;font-size:14px;min-height:21px}.auth-note{font-size:14px;color:var(--muted)}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wide{grid-column:1/-1}.formactions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.gallery{display:flex;gap:10px;overflow:auto;margin:20px 0}.gallery img{height:220px;max-width:90%;object-fit:cover;border-radius:10px}.bar{height:11px;background:#f5f2ea;border-radius:10px;margin:7px 0 17px;overflow:hidden}.bar span{display:block;height:100%;background:var(--blue)}dialog{border:0;border-radius:16px;padding:28px;max-width:800px;width:calc(100% - 30px);max-height:90vh;color:var(--text);box-shadow:0 30px 80px #22201d40}dialog::backdrop{background:#1d1c19aa}#toast{position:fixed;right:25px;bottom:25px;background:#2d2b27;color:white;padding:14px 20px;border-radius:9px;z-index:1000;display:none;max-width:450px}.mobile-menu{display:none}.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.sample{background:#fff5dd;color:#735a21}.error{background:#fff1f2;color:#a3253a}.muted{color:var(--muted)}:focus-visible{outline:3px solid #d2bf92;outline-offset:3px}@media(min-width:1450px){.cards{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1050px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.filters{grid-template-columns:1fr 1fr}.stats{grid-template-columns:1fr 1fr}.map-layout{grid-template-columns:1fr}.map-list{height:170px}.aside{width:220px}.main{margin-left:220px;padding:0 20px 30px}.topbar{margin:0 -20px 20px;padding:20px}.auth-brand{padding:35px}}@media(max-width:720px){.aside{transform:translateX(-100%);width:245px}.aside.open{transform:translateX(0)}.main{margin-left:0;padding:0 16px 30px}.topbar{margin:0 -16px 20px;padding:16px;align-items:flex-start;flex-wrap:wrap}.mobile-menu{display:inline-block}.cards,.formgrid,.two{grid-template-columns:1fr}.wide{grid-column:auto}.auth{display:block}.auth-brand{padding:30px}.auth-brand h1{font-size:34px;margin:15px 0}.auth-form{padding:25px}.filters{grid-template-columns:1fr 1fr;gap:10px}.stats{gap:10px}.stat{padding:14px}.listhead{align-items:flex-start;flex-direction:column}#propertyMap{height:450px}.panel{padding:15px}h1{font-size:23px}}
[hidden]{display:none!important}

.profile-choices{min-width:0;border:1px solid var(--line);border-radius:10px;padding:18px}.profile-choices legend{font-weight:700;padding:0 8px}.choice-search{max-width:420px}.choice-group{border-top:1px solid var(--line);padding:12px 0}.choice-group summary{cursor:pointer;font-weight:600}.choice-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-top:14px}.choice-option{display:flex;align-items:center;gap:9px;color:var(--text);font-weight:400}.choice-option input{width:18px;height:18px;margin:0;flex-shrink:0;accent-color:var(--blue)}

/* SpaceY property explorer */
.public-explorer{background:#fbf9f6}.explorer-header{min-height:86px;background:#ffffff;border-bottom:1px solid #eee9dd;padding:15px max(24px,calc((100vw - 1440px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px}.explorer-header nav{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:650}.explorer-login,.explorer-back{border:1px solid #ebe5d7;border-radius:10px;padding:11px 16px;color:#3b3832}.explorer-main{max-width:1488px;margin:auto;padding:32px 24px 40px}.explorer-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.explorer-kicker{font-size:11px;letter-spacing:.14em;font-weight:750;color:#876926}.explorer-intro h1{font-size:32px;letter-spacing:-.035em;margin:8px 0;line-height:1.2;color:#2c2a26}.explorer-intro p{margin:0;color:#897f68;font-size:15px}.explorer-tools{display:grid;grid-template-columns:2fr 1fr 1fr auto;align-items:end;gap:14px;background:#ffffff;padding:18px;border:1px solid #eee9dd;border-radius:16px;box-shadow:0 5px 20px #3b383205}.explorer-tools label{font-size:12px;font-weight:650;color:#746b58}.explorer-tools input,.explorer-tools select{margin-top:7px;background:#fdfcfa;border-color:#eee8db;height:44px}.explorer-tools button{height:44px}.explorer-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0 15px;font-size:13px;color:#887e67}.explorer-summary strong{color:#3b3833}.explorer-summary .legend{margin:0;font-size:12px;gap:15px}.map-layout{grid-template-columns:370px minmax(0,1fr);gap:20px}.map-list{height:660px;overflow-y:auto;padding-right:5px;scrollbar-width:thin}.map-property{display:grid;grid-template-columns:105px minmax(0,1fr);background:#ffffff;border:1px solid #eee8db;border-radius:14px;overflow:hidden;margin-bottom:12px;box-shadow:0 3px 12px #2c2a2606}.map-property-photo{position:relative;min-height:175px;background:#f3f0e8;display:grid;place-items:center;color:#887e67;font-size:12px}.map-property-photo img{width:100%;height:100%;position:absolute;object-fit:cover}.map-intent{position:absolute;top:8px;left:7px;padding:4px 7px;background:#2a2823e6;color:#ffffff;border-radius:5px;font-size:10px;font-weight:650;text-transform:uppercase}.map-property-copy{padding:14px;min-width:0}.map-property-price{font-size:17px;font-weight:800;color:#36332e}.map-property h3{font-size:14px;line-height:1.4;margin:7px 0}.map-property p{font-size:12px;color:#887d66;margin:0 0 8px;line-height:1.5}.map-property-facts{font-size:11px;color:#887e67}.map-property-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}.map-list .map-property-actions button{width:auto;margin:0;font-size:11px;padding:7px 10px;color:#7d6023;border:1px solid #eee8db;background:#f9f8f4;display:inline-block}.map-property-actions small{font-size:10px;color:#90856d}.map-canvas{position:relative;border:1px solid #ece6d9;border-radius:18px;overflow:hidden;background:#f6f4ee;align-self:start;box-shadow:0 6px 24px #3b383208}.map-toolbar{padding:13px 17px;background:white;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:650;color:#49453e}.map-toolbar button{font-size:11px;padding:7px 10px}.map-canvas #propertyMap{height:580px;border:0;border-radius:0}.map-caption{background:#ffffff;padding:12px 16px;font-size:11px;color:#8f836b}.map-empty-note{position:absolute;top:70px;left:18px;right:18px;z-index:450;max-width:330px;background:#fffffff2;border:1px solid #ede7da;box-shadow:0 4px 16px #2c2a2618;padding:15px 18px;border-radius:12px;pointer-events:none}.map-empty-note strong{display:block;color:#403d36;font-size:14px;margin-bottom:5px}.map-empty-note span{font-size:12px;line-height:1.6;color:#7e745f}.map-marker{border-radius:20px;padding:8px 13px;font-size:12px;border:2px solid white;box-shadow:0 3px 12px #2c2a2640}.map-popup h3{font-size:15px;line-height:1.4;margin:7px 0}.map-popup>span{font-size:11px;color:#817761}.map-popup strong{font-size:18px;color:#403d36}.map-popup button{display:block;margin-top:12px;background:#705720;color:#ffffff;font-size:12px}.map-popup small{font-size:11px;color:#8c816a}.public-explorer .logo{color:#2c2a26}.public-explorer .logo img{width:50px;height:50px}.public-explorer .logo span{font-size:20px}
@media(max-width:1100px){.map-layout{grid-template-columns:320px minmax(0,1fr)}.map-property{grid-template-columns:85px minmax(0,1fr)}.explorer-header nav{gap:15px}}
@media(max-width:800px){.explorer-header{padding:12px 18px;flex-wrap:wrap;gap:12px}.explorer-header nav{width:100%;justify-content:space-between;font-size:12px;gap:10px}.explorer-login{padding:8px 10px}.explorer-main{padding:24px 16px}.explorer-intro{align-items:flex-start}.explorer-intro h1{font-size:26px}.explorer-intro p{font-size:13px}.explorer-back{display:none}.explorer-tools{grid-template-columns:1fr 1fr;padding:14px;gap:12px}.explorer-search{grid-column:1/-1}.explorer-tools button{grid-column:1/-1;height:36px}.explorer-summary{align-items:flex-start;flex-direction:column;gap:10px}.map-layout{display:flex;flex-direction:column-reverse;gap:18px}.map-canvas{width:100%}.map-canvas #propertyMap{height:360px}.map-list{width:100%;height:auto;max-height:none;padding:0}.map-property{grid-template-columns:110px minmax(0,1fr)}.map-empty-note{max-width:260px;top:65px;left:12px;padding:12px}.map-caption{font-size:10px}.map-toolbar{font-size:11px;padding:10px}.explorer-summary .legend{gap:12px}}
.map-only{display:block}.map-only>.map-list{display:none}.map-only .map-canvas{width:100%}.map-only .map-canvas #propertyMap{height:680px;min-height:55vh}.map-only .map-caption{font-size:12px}@media(max-width:800px){.map-only .map-canvas #propertyMap{height:520px}}
