:root{--ink:#213d43;--muted:#627574;--paper:#f1f5ef;--line:#cedad3;--accent:#d9e7b4;--glass:rgba(244,247,242,.94)}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#839e99;color:var(--ink);font-family:"Avenir Next",Avenir,"Segoe UI",sans-serif;font-size:14px}button,input,a{-webkit-tap-highlight-color:transparent}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #64817a;outline-offset:3px}button{min-height:44px;border:0}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:hover{filter:brightness(.96)}[hidden]{display:none!important}#experience,#scene{position:absolute;inset:0;width:100%;height:100%;height:100dvh}#scene{display:block;touch-action:none;outline-offset:-4px}h1,h2,h3,p{margin:0}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#172f351c,transparent 25%,transparent 78%,#172f3530)}.masthead{position:absolute;top:36px;left:38px;display:flex;gap:20px;pointer-events:none;text-shadow:0 1px 18px #f3f5e6c0}.brandmark{font-family:Georgia,serif;font-size:23px;letter-spacing:-1px;border:1px solid #506a6370;width:54px;height:58px;padding:9px 7px;position:relative}.brandmark span{position:absolute;bottom:10px;left:9px;right:9px;height:1px;background:var(--ink);transform:rotate(-12deg)}.eyebrow{font-size:9px;font-weight:600;letter-spacing:.2em}h1{font:400 34px/1.08 Georgia,"Times New Roman",serif;letter-spacing:-1px;margin-top:10px}.location{font-size:11px;margin-top:13px;letter-spacing:.02em}.top-actions{position:absolute;right:34px;top:32px;display:flex;flex-direction:column;align-items:stretch;gap:4px}.primary{padding:0 20px;border-radius:4px;background:var(--ink);color:var(--paper);box-shadow:0 4px 22px #1b343522;display:flex;gap:28px;align-items:center;font-size:12px;min-height:48px}.primary span{font-size:23px}.text-button{background:transparent;font-size:10px;text-shadow:0 1px 7px white}.panel{position:absolute;right:34px;top:140px;width:292px;padding:22px;background:var(--glass);border:1px solid #ffffff80;box-shadow:0 18px 70px #142a3022;border-radius:8px;max-height:calc(100dvh - 188px);overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain;backdrop-filter:blur(14px)}.panel-summary{display:flex;align-items:end;justify-content:space-between;gap:8px}.panel-summary h2{font-size:16px;margin-top:7px;letter-spacing:-.5px;font-weight:600}.panel-summary h2 span{font-weight:400;font-size:12px}.house-area{font-size:10px;text-align:right;white-space:nowrap;margin-bottom:1px}.house-area b{font-weight:600}.views{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:18px}.views button{font-size:10px;background:#e4ebe4;border:1px solid transparent;border-radius:4px;padding:8px 6px;min-height:44px}.views button[aria-pressed=true]{color:var(--paper);background:var(--ink)}.toggles{display:flex;flex-wrap:wrap;gap:0 14px;border-top:1px solid var(--line);margin-top:18px;padding-top:8px}.toggles label{display:flex;align-items:center;min-height:44px;cursor:pointer;font-size:11px;gap:7px}.toggles .wide{width:100%}.toggles small{margin-left:auto;font-size:9px;color:var(--muted)}.toggles input{width:16px;height:16px;accent-color:var(--ink);margin:0}.sun-controls{border-top:1px solid var(--line);padding-top:14px;margin-top:4px}.section-line{display:flex;justify-content:space-between;align-items:center}h3{font-weight:600;font-size:12px}#sun-state{font-size:9px;color:var(--muted)}.dates{display:flex;gap:5px;margin-top:11px}.dates button{flex:1;border-radius:4px;min-height:48px;background:transparent;border:1px solid var(--line);font-size:11px}.dates button[aria-pressed=true]{background:#dce7d2;border-color:#b6c7a7}.dates small{display:block;font-size:8px;margin-top:3px;letter-spacing:.03em}.time-row{display:flex;justify-content:space-between;align-items:center;margin-top:15px;font-size:10px}.time-row small{font-size:8px;color:var(--muted);margin-left:4px}output{font-variant-numeric:tabular-nums;font-size:20px;font-weight:400;letter-spacing:-1px}input[type=range]{width:100%;height:44px;accent-color:var(--ink);margin:0;background:transparent;cursor:pointer}.range-ticks{display:flex;justify-content:space-between;font-size:8px;color:var(--muted);margin-top:-8px}.sun-note{font-size:10px;line-height:1.6;margin-top:16px;padding-left:12px;border-left:2px solid #a2b5a1;color:var(--muted)}.concept-note{font-size:9px;line-height:1.5;color:var(--muted);margin-top:12px}.house-state{font-size:9px;margin-top:14px}.download{min-height:44px;display:flex;align-items:center;justify-content:space-between;margin-top:3px;font-size:10px;text-decoration:none;border-bottom:1px solid var(--line)}.download span{font-size:19px}.view-caption{position:absolute;left:40px;bottom:86px;pointer-events:none;text-shadow:0 2px 15px #e7eedacc}.view-caption p{font-size:9px;letter-spacing:.18em;margin-bottom:12px}.view-caption strong{font:400 28px Georgia,serif;display:block;letter-spacing:-.5px}.view-caption>span{display:block;font-size:11px;margin-top:9px}.compass{position:absolute;left:42px;top:230px;width:48px;text-align:center;pointer-events:none}.compass b{font-size:11px;font-weight:600;display:block}.compass svg{width:23px;height:35px}.compass small{display:block;font-size:7px;letter-spacing:.15em;margin-top:6px}#compass-needle{transform-origin:50% 60%}footer{position:absolute;left:40px;right:34px;bottom:24px;display:flex;justify-content:space-between;font-size:9px;color:#213d43}footer a{text-decoration:none;display:flex;align-items:center;min-height:44px}.gesture-hint{display:flex;align-items:center}.sheet-handle{display:none}#labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.map-label{position:absolute;white-space:nowrap;transform:translate(-50%,-50%);padding:6px 10px;background:#f4f7efdc;color:var(--ink);border-radius:3px;font-size:10px;box-shadow:0 1px 8px #14353618}.map-label.lot-label{border:1px solid #83986f;background:#f1f5eaeF;padding:8px 12px;letter-spacing:.04em}.map-label.room{font-size:9px;padding:4px 6px;background:#ffffffe6}.map-label.subtle{background:transparent;box-shadow:none;font-size:10px;opacity:.65;text-shadow:0 1px 5px #fff}.map-label.direction{font-size:9px;letter-spacing:.1em;background:#213d43d9;color:white}#loading{position:absolute;inset:0;background:#dae3d8;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:20;transition:opacity .6s;pointer-events:none}#loading p{font:24px Georgia,serif;margin-top:24px}#loading small{font-size:11px;margin-top:12px;color:var(--muted)}.loading-ring{width:42px;height:42px;border:1px solid #bacabd;border-top-color:var(--ink);border-radius:50%;animation:spin 2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#notice{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);padding:12px 20px;max-width:80%;background:var(--ink);color:white;font-size:12px;border-radius:6px;z-index:5}body.night .masthead,body.night .compass,body.night .view-caption,body.night footer,body.night .text-button{color:#e2ece5;text-shadow:0 1px 8px #10242f}body.night .brandmark{border-color:#e2ece570}body.night .brandmark span{background:#e2ece5}
@media(max-width:700px){.masthead{top:max(22px,env(safe-area-inset-top));left:22px;gap:12px}.brandmark{width:40px;height:44px;font-size:18px;padding:6px}.brandmark span{bottom:7px;left:7px;right:7px}.eyebrow{font-size:8px;letter-spacing:.17em}h1{font-size:27px;margin-top:8px}.location{font-size:9px;margin-top:9px}.top-actions{top:155px;right:18px;gap:0}.primary{padding:0 14px;font-size:10px;min-height:44px;gap:13px}.text-button{font-size:9px;min-height:44px}.compass{left:22px;top:183px;width:32px}.compass svg{height:29px;width:20px}.compass small{font-size:6px}.view-caption{left:22px;bottom:calc(230px + env(safe-area-inset-bottom));max-width:260px}.view-caption p{font-size:7px;margin-bottom:7px}.view-caption strong{font-size:24px}.view-caption>span{font-size:9px;line-height:1.45;max-width:240px}.panel{top:auto;bottom:0;left:0;right:0;width:100%;max-height:70dvh;padding:0 20px calc(13px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;border-bottom:0;overflow-y:auto}.sheet-handle{display:flex;align-items:center;justify-content:center;position:relative;width:100%;background:none;min-height:44px;font-size:9px;letter-spacing:.06em;padding-top:9px}.sheet-handle>span{position:absolute;top:8px;width:32px;height:3px;background:#b9c9be;border-radius:4px}.sheet-handle b{font-weight:500}.sheet-handle i{position:absolute;right:2px;font-style:normal;font-size:18px}.panel-summary h2{font-size:16px;margin-top:4px}.house-area{font-size:10px}.panel-summary .eyebrow{display:none}.views{grid-template-columns:repeat(3,1fr);gap:5px;margin-top:13px}.views button{font-size:9px}.panel-details{display:none}.panel.expanded .panel-details{display:block}.panel.expanded .sheet-handle i{transform:rotate(45deg)}.panel.expanded{padding-bottom:20px}.panel.expanded~footer{display:none}.toggles{gap:0 26px;margin-top:13px}.toggles label{font-size:12px}.toggles input{width:19px;height:19px}.dates button{font-size:12px}.dates small{font-size:9px}.sun-note{font-size:11px}.concept-note,.house-state{font-size:10px}.download{font-size:12px}footer{left:22px;right:22px;bottom:calc(199px + env(safe-area-inset-bottom));font-size:7px}footer a{min-height:44px}.gesture-hint{max-width:150px;font-size:8px}.map-label.lot-label{font-size:9px;padding:6px 9px}.map-label.room{font-size:8px}#loading p{font-size:20px}#notice{bottom:235px;font-size:10px;width:85%}}
@media(max-height:730px) and (min-width:701px){.panel{top:100px;max-height:calc(100dvh - 140px)}.masthead{top:25px}h1{font-size:29px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
/* Keep the landscape open and the floor labels legible at both target viewports. */
.views{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.views button{font-size:9px;padding:5px 3px}
.map-label.room{white-space:pre-line;max-width:88px;text-align:center;line-height:1.3;font-size:9px;padding:3px 5px}
.toggles label:has(input:disabled){opacity:.45;cursor:default}
@media(max-width:700px){.view-caption{top:144px;bottom:auto;max-width:300px;right:22px;text-shadow:0 1px 8px #edf1e8}.view-caption p{font-size:7px;margin-bottom:5px}.view-caption strong{font-size:19px}.view-caption>span{display:none}body[data-view=barrio] .view-caption{max-width:190px}.top-actions{top:144px}.compass{top:218px}.map-label.room{font-size:8px;max-width:72px;padding:3px;line-height:1.2}.gesture-hint{display:none}footer{justify-content:flex-end}.map-label.direction{font-size:7px;padding:4px 6px}.panel.expanded .sheet-handle{position:sticky;top:0;background:var(--paper);z-index:2}.panel.expanded{background:#f1f5effa}.masthead{z-index:1}}
@media(max-width:700px){.view-caption{left:12px;right:12px;padding:10px 12px;max-width:none;color:#f2f5ed;text-shadow:none;background:linear-gradient(90deg,#112d35bd,#112d3530 72%,transparent);border-radius:4px}.view-caption strong{font-size:18px}.view-caption p{letter-spacing:.15em}body[data-view=barrio] .view-caption{max-width:218px}body:has(.panel.expanded) .view-caption{display:none}footer{right:15px;left:auto;color:#f2f5ed;text-shadow:0 1px 5px #10272b,0 0 3px #10272b;font-size:7px}body.night .view-caption{text-shadow:none}}
@media(min-width:701px){.view-caption{left:24px;bottom:77px;padding:14px 16px;width:430px;color:#f2f5ed;text-shadow:0 1px 5px #122d3244;background:linear-gradient(90deg,#142d35a6,transparent);border-radius:4px}.view-caption strong{font-size:26px}.view-caption p{font-size:8px}.view-caption>span{font-size:10px}}

.sound-button{background:#eff4ebe8;color:#213d43;padding:0 16px;min-height:44px;border:1px solid #ffffff80;border-radius:5px;font-size:10px;cursor:pointer}.sound-button[aria-pressed=true]{background:#213d43;color:#eff4eb}.intro .panel,.intro .compass,.intro .view-caption,.intro footer,.intro #fly,.intro #sound,.intro #labels{opacity:0;pointer-events:none}.intro .masthead{opacity:.8}.intro #skip{background:#eff4ebe8;color:#213d43;border-radius:5px;padding:0 20px;pointer-events:auto}.intro:before,.intro:after{content:'';position:absolute;left:0;right:0;height:4vh;background:#10252c;z-index:10;pointer-events:none}.intro:before{top:0}.intro:after{bottom:0}.intro .top-actions{z-index:11}.panel,.masthead,.compass,.view-caption{transition:opacity .7s}.sound-button:focus-visible{outline:3px solid #a8c69d;outline-offset:3px}
@media(max-width:700px){.sound-button{position:fixed;right:18px;top:94px;min-width:108px;padding:0 10px;font-size:9px}.intro .top-actions{top:150px}.intro #skip{min-height:44px}.intro .masthead{top:50px}}

.explore-tools{position:absolute;bottom:25px;left:40px;display:flex;gap:14px;align-items:center;background:#edf2e8f0;border:1px solid #fff9;border-radius:6px;padding:7px 12px;color:#213d43;z-index:3;box-shadow:0 5px 30px #152e2c12}#lot-search{display:flex;align-items:center;gap:8px;font-size:11px}#lot-input{background:transparent;color:inherit;border:0;border-bottom:1px solid #95a799;border-radius:0;width:62px;min-height:44px;font:16px Georgia,serif;padding:0 4px}#lot-search button{min-height:44px;min-width:52px;background:transparent;border:0;color:inherit;font-size:10px}.simulation-toggle{display:flex;align-items:center;gap:7px;font-size:10px;border-left:1px solid #bcc9bc;padding-left:12px;min-height:44px;cursor:pointer}.simulation-toggle input{width:18px;height:18px;accent-color:#213d43}.simulation-toggle small{display:block;font-size:9px;color:#667b69;margin-top:3px}.simulation-status{position:absolute;left:50%;top:32px;transform:translateX(-50%);padding:10px 14px;background:#213d43e8;color:#f5f4e6;border:1px solid #d9e6cd55;border-radius:5px;font-size:10px;z-index:3}.intro .explore-tools,.intro .simulation-status{opacity:0;pointer-events:none}.lot-open .view-caption{display:none}.lot-open .explore-tools{bottom:auto;top:176px}.lot-card{position:absolute;left:28px;bottom:28px;width:430px;padding:18px;background:#f0f3ebf5;border:1px solid #ffffffbd;border-radius:10px;box-shadow:0 14px 60px #10292b30;z-index:4;color:#213d43;max-height:calc(100dvh - 235px);overflow-y:auto;backdrop-filter:blur(14px)}.lot-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.lot-heading .eyebrow{font-size:9px;letter-spacing:.13em;margin-bottom:6px}.lot-heading h2{font:25px Georgia,serif;margin:0}.lot-heading h2>span+span{font:12px Arial,sans-serif;margin-left:8px;color:#52665b}#lot-close{height:44px;width:44px;background:transparent;border:1px solid #b8c8b7;border-radius:50%;color:#213d43;font:24px Georgia,serif;flex-shrink:0}.lot-stats{display:flex;gap:20px;border-block:1px solid #ced8c9;padding:11px 0;margin:13px 0}.lot-stats div{flex:1}.lot-stats span{display:block;font-size:9px;color:#64766a;margin-bottom:4px}.lot-stats strong{font-size:14px;font-weight:500}.catalog-title{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px}.catalog-title h3{font:17px Georgia,serif}.catalog-title>span{font-size:9px;color:#64766a}.typologies{display:flex;gap:9px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 10px;scrollbar-width:thin;scrollbar-color:#9cae98 transparent}.typology{min-width:154px;width:154px;flex:0 0 154px;text-align:left;border:1px solid #c6d2c1;border-radius:5px;background:#e4ebdf;color:#213d43;padding:0 0 10px;overflow:hidden;scroll-snap-align:start;cursor:pointer}.typology[aria-pressed=true]{outline:2px solid #385c53;outline-offset:0;background:#f8f9f3}.typology img{display:block;width:100%;height:82px;object-fit:cover;background:#c8d4bf}.typology strong,.typology>span{display:block;margin:9px 9px 0;font-size:11px;white-space:normal}.typology>span{font-size:9px;margin-top:4px;color:#52665b}.typology.no-thumbnail:before{content:'';height:82px;display:block;background:linear-gradient(25deg,#728879,#cad5bf)}.lot-actions{display:flex;gap:8px;margin-top:9px}.lot-actions select{min-height:44px;border:1px solid #bdcbbb;border-radius:4px;background:#f6f8f0;font-size:11px;color:#213d43;padding:0 8px;min-width:0;flex:1}.lot-actions .primary{font-size:10px;padding:0 12px;justify-content:center;flex:1.5}#fit-result{font-size:10px;line-height:1.5;margin:9px 0 0;min-height:30px}#fit-result[data-error=true]{color:#944b32}.lot-footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.lot-footer button{min-width:80px;min-height:44px;background:transparent;border:0;text-decoration:underline;color:#305951;font-size:10px}.lot-footer>span{flex:1 1 140px;font-size:8px;line-height:1.5;color:#687b6b;text-align:right}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.lot-open .map-label.lot-label{display:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #487363;outline-offset:3px}
@media(min-width:701px){.view-caption{bottom:111px}footer{bottom:8px}.lot-open .compass{top:254px}}
@media(max-width:700px){.explore-tools{top:145px;bottom:auto;left:12px;right:12px;gap:8px;padding:3px 9px;justify-content:space-between}#lot-search{gap:4px}#lot-input{width:51px}.simulation-toggle{font-size:9px;padding-left:8px}.simulation-toggle small{font-size:8px}.view-caption{top:205px}.compass{top:278px}.lot-open .explore-tools{top:82px}.lot-open .masthead h1,.lot-open .location{display:none}.lot-open .masthead{top:24px}.lot-open .brandmark{height:37px;width:35px}.lot-open .sound-button{top:23px;right:12px}.lot-open .compass{top:151px}.lot-open .panel,.lot-open footer{display:none}.lot-card{left:0;right:0;bottom:0;width:100%;max-height:52dvh;border-radius:16px 16px 0 0;padding:13px 16px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -7px 35px #10292b20}.lot-heading h2{font-size:22px}.lot-heading .eyebrow{font-size:8px}.lot-stats{margin:9px 0;padding:8px 0}.catalog-title{margin-bottom:7px}.typology{min-width:143px;width:143px;flex-basis:143px}.typology img,.typology.no-thumbnail:before{height:70px}.typology strong{margin-top:7px}.lot-actions{margin-top:5px}#fit-result{font-size:9px;min-height:24px;margin-top:6px}.lot-footer>span{font-size:7px}.simulation-status{top:259px;left:auto;right:12px;transform:none;font-size:8px;max-width:245px;padding:8px 10px}.lot-open .simulation-status{top:144px;max-width:245px}.intro .explore-tools{display:none}.intro .sound-button{display:none}#notice{z-index:8;bottom:55dvh}.lot-open .top-actions #fly{display:none}}

/* Phone header: one identity row, then one search row. Simulation lives in the sheet. */
.sound-button{display:flex;align-items:center;justify-content:center;gap:8px}.sound-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sound-button .sound-waves{display:none}.sound-button[aria-pressed=true] .sound-waves{display:block}.sound-button[aria-pressed=true] .sound-muted{display:none}.panel>.simulation-toggle{margin-top:13px;padding:10px 0 0;border-left:0;border-top:1px solid #ccd8c8;justify-content:flex-start;gap:9px}.panel>.simulation-toggle span{display:flex;align-items:baseline;gap:6px;font-size:10px}.panel>.simulation-toggle small{font-size:9px;margin:0}.house-area{max-width:145px;text-align:right;line-height:1.4}.explore-tools{gap:0}.lot-open .explore-tools{top:176px}
@media(max-width:700px){
 .masthead,.lot-open .masthead{top:max(18px,env(safe-area-inset-top));left:17px;right:72px;gap:10px;align-items:center}
 .brandmark,.lot-open .brandmark{width:36px;height:40px;font-size:17px;padding:6px;flex-shrink:0}.brandmark span{left:6px;right:6px;bottom:6px}
 .masthead h1,.masthead .location,.lot-open .masthead h1,.lot-open .location{display:none}.masthead .eyebrow{font-size:10px;letter-spacing:.13em;margin:0}
 .sound-button,.lot-open .sound-button{position:fixed;top:max(16px,env(safe-area-inset-top));right:15px;min-width:44px;width:44px;height:44px;padding:0;border-radius:50%}.sound-button>span{display:none}
 .explore-tools,.lot-open .explore-tools{top:76px;left:15px;right:15px;height:49px;padding:2px 12px;border-radius:6px;justify-content:stretch}
 #lot-search{width:100%;gap:10px}#lot-search label{font-size:11px}#lot-input{flex:1;width:80px;max-width:none;font-size:17px}#lot-search button{border-left:1px solid #c3d0bf;padding-left:12px;font-size:11px;min-width:65px}
 .top-actions{top:133px;right:15px}.top-actions #fly{font-size:9px}.top-actions #skip{font-size:10px}
 .view-caption{top:135px;left:15px;right:15px;padding:9px 10px}.view-caption strong{font-size:17px}body[data-view=barrio] .view-caption{max-width:220px}
 .compass,.lot-open .compass{top:206px;left:20px}.panel>.simulation-toggle{margin:8px 0 0;min-height:44px;padding:0;border-top:1px solid #ccd8c8;gap:9px}.panel>.simulation-toggle input{width:19px;height:19px}.panel>.simulation-toggle span{font-size:11px}.panel>.simulation-toggle small{font-size:9px}
 .panel{padding-bottom:calc(8px + env(safe-area-inset-bottom))}.house-area{max-width:150px;font-size:9px}.panel-summary h2{font-size:15px}
 .simulation-status{top:193px;right:15px;max-width:240px}.lot-open .simulation-status{top:143px}.intro .masthead{top:50px}.intro .top-actions{top:130px}.intro #sound{display:none}
 footer{bottom:calc(248px + env(safe-area-inset-bottom))}
}
