:root{color-scheme:light;--paper:#f7f7f4;--ink:#161c1b;--muted:#59635f;--green:#86631c;--line:#dedfd9;--yellow:#f5df6f;--shade:#a2afbc;font-family:"Arial",system-ui,sans-serif;background:var(--paper);color:var(--ink)}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,canvas:focus-visible,a:focus-visible{outline:2px solid #86631c;outline-offset:3px}button,input{color:inherit}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.top{height:72px;border-bottom:1px solid #c4a13b;display:flex;justify-content:space-between;align-items:center;padding:0 max(24px,calc((100vw - 1500px)/2));background:var(--yellow)}.brand{display:flex;align-items:center;text-decoration:none;color:var(--ink)}.brand img{width:180px;height:48px;object-fit:contain}.top-right{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.14em}
main{max-width:1548px;margin:auto;padding:26px 24px 18px}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}.eyebrow,.section-label{font-size:10px;letter-spacing:.16em;font-weight:700}.eyebrow{color:var(--muted);margin-bottom:7px}h1{font:400 clamp(30px,4vw,48px)/1.05 "Arial Narrow",Arial,sans-serif;letter-spacing:-.02em;margin:0 0 9px}.intro p{margin:0;color:var(--muted);font-size:14px}.zones{display:flex;gap:3px;background:#e9ece7;padding:4px;border-radius:5px;flex-wrap:wrap}.zones button,.seasons button{border:0;border-radius:3px;color:var(--ink);font-size:11px;font-weight:600;background:transparent;padding:9px 11px}.zones button[aria-pressed=true]{background:var(--ink);color:white}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px;align-items:start}.card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px}.terrace-browser{height:244px;display:flex;flex-direction:column;padding:15px 0 0;overflow:hidden}.list-heading{display:flex;justify-content:space-between;align-items:center;padding:0 14px 12px}h2{font-size:19px;font-weight:500;letter-spacing:-.035em;line-height:1.18;margin:0}.list-heading button{border:0;background:var(--yellow);font-size:11px;padding:7px 9px;border-radius:3px}.terrace-browser>input{margin:0 12px;width:calc(100% - 24px);background:#f6f7f4;border:1px solid var(--line);padding:10px;border-radius:4px;font-size:12px;min-width:0}.list-count{font-size:10px;color:var(--muted);padding:2px 14px 8px}.terrace-list{overflow:auto;flex:1;min-height:0;scrollbar-width:thin}.terrace-item{display:block;position:relative;width:100%;text-align:left;background:white;border:0;border-top:1px solid #e9eae4;padding:13px 14px 12px 32px;min-height:67px}.terrace-item::before{content:"";position:absolute;left:13px;top:18px;width:9px;height:9px;background:var(--shade);border:1px solid #606c75;border-radius:50%}.terrace-item[data-state=sun]::before{background:var(--yellow);border-color:#8c8121}.terrace-item[data-state=review]::before,.terrace-item[data-state=unknown]::before{background:white;border-style:dashed}.terrace-item[aria-pressed=true]{background:#f7f0d9;box-shadow:inset 3px 0 var(--green)}.terrace-item:hover{background:#f5f7f3}.terrace-item strong{display:block;font-size:12px;font-weight:600;line-height:1.35;margin-bottom:5px;overflow-wrap:anywhere}.terrace-item .address{font-size:10px;color:var(--muted);line-height:1.3;display:block;margin-bottom:4px}.terrace-item .terrace-state{display:block;font-size:11px;color:var(--green)}.terrace-item[data-state=review] .terrace-state{color:#727461}.list-foot{font-size:10px;line-height:1.5;color:var(--muted);padding:10px 14px;margin:0;background:#fafbf7;border-top:1px solid var(--line)}.empty-list{font-size:13px;color:var(--muted);line-height:1.6;padding:18px}
.map-shell{height:clamp(750px,86vh,1000px);overflow:hidden;position:relative;border:1px solid #d0d4ce;border-radius:8px;background:#e9ece6}.map-shell canvas{position:absolute;width:100%;height:100%;inset:0;cursor:crosshair;touch-action:none}.map-shell canvas.dragging{cursor:grabbing}.map-tag,.map-legend,.map-nav,.credit,#map-status,.placement{position:absolute;background:#fffffff2;border:1px solid #daddd6;border-radius:5px;box-shadow:0 2px 8px #23332114}.map-tag{top:12px;left:12px;padding:9px 11px;pointer-events:none;font-size:11px}.map-nav{right:10px;top:12px;overflow:hidden;display:grid;text-align:center}.map-nav span{color:var(--muted);font-size:10px;line-height:1;padding:7px 0}.map-nav button{width:33px;height:34px;border:0;border-top:1px solid var(--line);background:none;font-size:22px}.map-nav button:hover{background:#f0f2e9}.map-legend{display:flex;gap:12px;flex-wrap:wrap;bottom:26px;left:10px;padding:8px 10px;font-size:10px;pointer-events:none}.map-legend span{display:flex;align-items:center;gap:5px}.map-legend i{width:10px;height:10px;border-radius:50%;border:1px solid #70766d}.sample-sun{background:var(--yellow)}.sample-shade{background:var(--shade)}.sample-unknown{background:white;border-style:dashed!important}.credit{right:7px;bottom:5px;padding:3px 5px;font-size:9px}.credit a{color:inherit}#map-status{top:50%;left:50%;transform:translate(-50%,-50%);padding:10px 14px;font-size:13px;max-width:85%}.placement{left:10px;right:10px;bottom:70px;background:var(--yellow);padding:12px;font-size:12px;line-height:1.4;display:flex;align-items:center;gap:10px;justify-content:space-between}.placement button{background:white;border:1px solid #353c34;padding:5px;border-radius:3px;font-size:11px}
.side{display:grid;gap:12px}.section-label{color:var(--green);margin-bottom:13px}label{font-size:12px;font-weight:600;display:block;margin-bottom:6px}input[type=date],dialog input{width:100%;height:39px;border:1px solid var(--line);background:#fafbf8;border-radius:4px;padding:5px 9px;min-width:0}.seasons{display:flex;gap:5px;margin-top:7px}.seasons button{border:1px solid var(--line);padding:5px 10px;font-size:10px}.seasons button:hover{background:#f0f2e9}.time-heading{display:flex;align-items:center;justify-content:space-between;margin:12px 0 5px}output{font:400 40px/1 Arial,sans-serif;letter-spacing:-.06em;font-variant-numeric:tabular-nums}.time-heading button{width:32px;height:32px;border-radius:50%;border:1px solid var(--ink);background:var(--yellow);font-size:12px}input[type=range]{width:100%;margin:4px 0;accent-color:#a39600}.ticks{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);font-variant-numeric:tabular-nums}.results{background:#fffef7}#terrace-title{font-size:19px;margin:4px 0 7px;overflow-wrap:anywhere}#location{font-size:11px;color:var(--muted);line-height:1.4}.reading{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:16px 0 5px}.reading strong{font:400 32px/1 Arial,sans-serif;letter-spacing:-.07em;white-space:nowrap}#condition{font-size:10px;background:#e6ecec;color:#35424c;border-radius:4px;padding:5px 7px;text-align:center}#condition[data-state=sun]{background:var(--yellow);color:var(--ink)}#condition[data-state=review]{background:#ecece4}.metric-label{font-size:10px;color:var(--muted);line-height:1.4}#timeline{position:relative;margin:15px 0 5px;height:12px;background:#343e4c;border-radius:3px}#timeline-segments{display:flex;overflow:hidden;height:100%;border-radius:3px}#timeline-now{position:absolute;height:18px;width:2px;top:-3px;background:white;box-shadow:0 0 0 1px #2c3a30;pointer-events:none}.day-sun{background:var(--yellow)}.day-shade{background:var(--shade)}.day-unknown{background:repeating-linear-gradient(135deg,#949d91 0 2px,#d7dfd0 2px 4px)}.intervals{color:var(--green);font-size:11px;margin-top:10px;line-height:1.55;max-height:104px;overflow:auto}.intervals span{display:block}.position-note{font-size:10px;color:var(--muted);margin-top:11px;line-height:1.5}.detail-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.detail-actions button,.detail-actions a{font-size:10px;background:white;border:1px solid var(--line);border-radius:3px;padding:7px;text-decoration:none;color:var(--green);cursor:pointer}.storage-note{font-size:10px;color:var(--muted);line-height:1.5;margin:0 4px}footer{font-size:10px;line-height:1.7;color:var(--muted);padding-top:14px}footer a{color:inherit}footer>span{display:block;color:var(--green);margin-top:5px}
dialog{border:1px solid var(--line);border-radius:8px;width:370px;max-width:calc(100vw - 24px);padding:24px;color:var(--ink)}dialog::backdrop{background:#16242466}dialog h2{font-size:26px;margin:0 0 20px}dialog label{margin-top:14px}dialog p{font-size:11px;color:var(--muted)}.dialog-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:24px}.dialog-actions button{border:1px solid var(--line);border-radius:4px;background:white;padding:10px;font-size:12px}.dialog-actions button[type=submit]{background:var(--yellow);border-color:#c4a13b}
@media(max-width:1150px){main{padding:20px 16px}.layout{grid-template-columns:minmax(0,1fr) 280px;gap:10px}.card{padding:13px}.terrace-browser{padding:13px 0 0}.intro p{max-width:400px;font-size:13px}}

#markers{position:absolute;inset:0;pointer-events:none;overflow:hidden}.map-pin{position:absolute;pointer-events:auto;transform:translate(-50%,-100%);width:25px;height:34px;padding:0;border:0;background:transparent;filter:drop-shadow(0 1px 2px #0003);cursor:pointer}.map-pin svg{width:100%;height:100%;overflow:visible}.map-pin[data-state=sun]{color:var(--yellow)}.map-pin[data-state=shade],.map-pin[data-state=night],.map-pin[data-state=low-sun],.map-pin[data-state=transition]{color:#a2afbc}.map-pin[data-state=review],.map-pin[data-state=unknown]{color:#fff}.map-pin[aria-pressed=true]{width:32px;height:43px;z-index:2;filter:drop-shadow(0 0 2px #86631c)}.map-cluster{color:var(--ink)!important;width:32px;height:32px;border:2px solid #283332;border-radius:50%;background:var(--yellow);font-size:11px;box-shadow:0 0 0 3px #fff9;transform:translate(-50%,-50%)}.map-cluster[data-state=shade],.map-cluster[data-state=low-sun]{background:#b9c4ce}.map-cluster[data-state=review]{background:#fff}.list-count{padding-top:8px}
@media(max-width:800px){.layout{grid-template-columns:1fr}.map-shell{height:60vh;min-height:380px}.side{grid-template-columns:1fr 1fr;align-items:start}.results{grid-column:1/-1}.storage-note{grid-column:1/-1}.intro{align-items:flex-start;flex-direction:column;gap:12px}}
@media(max-width:520px){.top{height:62px;padding:0 14px}.brand img{width:155px;height:42px}.top-right{font-size:9px;gap:7px}main{padding:20px 10px}.eyebrow{font-size:8px}.intro{margin-bottom:15px}.intro p{font-size:13px;line-height:1.4}.side{grid-template-columns:1fr}.map-shell{height:50vh;min-height:320px}.terrace-browser{height:260px}.storage-note,.results{grid-column:auto}.list-heading{padding-bottom:9px}.terrace-item{min-height:60px;padding-top:9px;padding-bottom:9px}.terrace-item::before{top:13px}.list-foot{padding:7px 14px;font-size:9px}.map-tag{font-size:10px;left:8px;top:8px}.zones button{font-size:10px}.results{padding:17px}.reading strong{font-size:35px}}
.model-details{font-size:12px;line-height:1.6;color:#52625e;border-top:1px solid #d7dfd9;padding:12px 4px}.model-details summary{cursor:pointer;color:#70521a;font-weight:700}.model-details summary span{float:right;font-size:10px;border:1px solid #bfd0c9;border-radius:4px;padding:0 6px}.model-details p{margin:12px 0}.model-details a{color:#86631c}.intervals span{line-height:1.4}
.day-transition{background:repeating-linear-gradient(135deg,#f0ce66 0 3px,#87959d 3px 6px)}

[hidden]{display:none!important}.admin-access{border:0;background:none;color:var(--muted);font-size:10px;text-decoration:underline;cursor:pointer;margin:12px 14px 0 0;padding:4px 0}body:not(.is-admin) .admin-only{display:none!important}.side{align-content:start}.model-details{margin-top:20px}#admin-error,#save-error{color:#973a26;font-size:12px}#admin-code{font-size:16px}#current-time-note:empty{display:none}

.brand{width:180px;display:flex;flex-direction:column;align-items:stretch}.brand img{width:100%;height:auto}.brand-tagline{display:block;width:100%;font-size:6.55px;font-weight:700;letter-spacing:.01em;text-align:justify;text-align-last:justify;white-space:nowrap;line-height:1.5}.map-cluster[data-state=unknown]{background:#fff}@media(max-width:520px){.brand{width:155px}.brand img{width:100%;height:auto}.brand-tagline{font-size:5.64px}}

.brand img{clip-path:inset(0 0 26% 0);margin-bottom:-13px}.brand-tagline{width:88%;align-self:center;font-size:8.5px;line-height:1.4}@media(max-width:520px){.brand img{margin-bottom:-11px}.brand-tagline{font-size:7.3px}}

/* Shared map status; mobile is a map-first layout, not a stacked desktop page. */
.mobile-only{display:none}#shadow-status{position:absolute;top:12px;left:105px;max-width:calc(100% - 165px);padding:9px 11px;background:#fffffff0;border-radius:5px;color:#52625e;font-size:11px;pointer-events:none}.close-selection{border:0;background:transparent;font-size:25px}.map-nav button{min-width:44px;min-height:44px}
@media(max-width:800px){
 html,body{height:100%;overflow:hidden;overscroll-behavior:none}body{--bottom-space:calc(161px + env(safe-area-inset-bottom,0px))}
 .top{position:fixed;inset:0 0 auto;height:calc(62px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 16px 0;z-index:20;justify-content:center;box-shadow:0 1px 8px #17262516}
 .brand{width:150px}.brand img{margin-bottom:-11px}.brand-tagline{font-size:7px}.top-right{position:absolute;left:14px;font-size:9px;letter-spacing:.06em}.mobile-only{display:block}.info-button{position:absolute;right:14px;width:44px;height:44px;border:0;border-radius:50%;background:none;font:italic 22px Georgia}
 main{padding:0;max-width:none}.intro{display:none}.layout{display:block}.map-shell{position:fixed;inset:calc(62px + env(safe-area-inset-top,0px)) 0 0;height:auto;min-height:0;border:0;border-radius:0}.map-shell canvas{height:100%;width:100%}.map-tag{display:none}
 .side{display:contents}.controls{position:fixed;z-index:15;left:12px;right:12px;bottom:calc(14px + env(safe-area-inset-bottom,0px));padding:12px 16px 10px;border-radius:22px;border:1px solid #fff;background:#fffffff5;box-shadow:0 4px 30px #24383624;display:grid;grid-template-columns:1fr 1fr;gap:0 12px;backdrop-filter:blur(12px)}
 .controls>.section-label,.controls>label{display:none}.controls input[type=date]{grid-column:2;grid-row:1;align-self:center;width:100%;font-size:14px;height:44px;border:0;background:#f4f5ef;border-radius:10px;padding:5px 7px}
 .time-heading{grid-column:1;grid-row:1;gap:10px;margin:0}.time-heading output{font-size:38px;letter-spacing:-.06em}.time-heading button{width:40px;height:40px;flex-shrink:0}
 #time{grid-column:1/-1;height:32px;margin:5px 0 0;appearance:none;background:transparent;touch-action:pan-y}#time::-webkit-slider-runnable-track{height:6px;background:linear-gradient(90deg,#f5df6f,#d6ddd6);border-radius:5px}#time::-webkit-slider-thumb{appearance:none;width:28px;height:28px;margin-top:-11px;border-radius:50%;background:var(--yellow);border:3px solid white;box-shadow:0 0 0 1px #6a7367,0 2px 5px #0002}#time::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:var(--yellow);border:3px solid white}
 #time-ticks{grid-column:1/-1;font-size:9px}.controls .position-note{grid-column:1/-1;margin:5px 0 0;font-size:10px}
 .results{display:none;position:fixed;left:12px;right:12px;bottom:var(--bottom-space);z-index:14;border-radius:18px;padding:14px 16px 12px;background:#fffffff7;box-shadow:0 4px 24px #24383622;max-height:calc(100dvh - 260px);overflow:auto;overscroll-behavior:contain}
 .has-selection .results{display:block}.results .section-label{font-size:9px;margin-bottom:5px}#terrace-title{font-size:19px;line-height:1.15;margin:0 26px 0 0;max-width:calc(100% - 24px)}.close-selection{position:absolute;right:8px;top:6px;width:40px;height:40px}
 .results #location,.results .metric-label,.results #timeline-ticks,.results #intervals,.results #position-note,.results .detail-actions{display:none}.reading{margin:10px 0 4px}.reading strong{font-size:26px}#condition{font-size:11px;padding:6px 8px}#timeline{height:7px;margin:12px 0 8px}
 #expand-selection{border:0;background:none;color:var(--green);font-size:12px;font-weight:600;padding:8px 0;min-height:36px}.details-open .results{max-height:calc(100dvh - 260px)}.details-open .results #location,.details-open .results .metric-label,.details-open .results #position-note,.details-open .results #intervals{display:block}.details-open .results .detail-actions,.details-open .results #timeline-ticks{display:flex}.details-open #location{margin-top:7px}.details-open #intervals{max-height:120px;font-size:12px}.detail-actions a,.detail-actions button{min-height:40px;padding:12px}
 .map-nav{top:52px;right:12px;border-radius:24px;box-shadow:0 3px 14px #2333211c}.map-nav span{display:none}.map-nav button{width:44px;height:44px}.map-nav button:first-of-type{border-top:0}.map-legend{top:12px;bottom:auto;left:12px;gap:10px;padding:8px 10px;border-radius:20px;font-size:10px}#shadow-status{top:52px;left:12px;max-width:calc(100% - 82px);font-size:10px;padding:6px 9px;border-radius:12px}
 .credit{bottom:4px;top:auto;right:8px;left:auto;font-size:8px;padding:2px 4px;box-shadow:none;background:#ffffffc9}.placement{bottom:calc(var(--bottom-space) + 210px);z-index:16}
 .map-pin{width:32px;height:43px}.map-pin[aria-pressed=true]{width:38px;height:50px}.map-cluster{width:38px;height:38px;font-size:12px}
 #info-dialog{width:440px;max-height:85dvh;overflow:auto;padding:24px}#close-info{float:right;font-size:26px;border:0;background:none;width:40px;height:40px}.model-details{margin:0}.model-details summary{min-height:44px}footer{font-size:11px}.admin-access{min-height:44px;font-size:12px}dialog input{font-size:16px}
}
@media(max-width:380px){.top-right{font-size:8px}.brand{width:130px}.brand-tagline{font-size:6.1px}.time-heading output{font-size:33px}.controls{gap:0 8px;padding:12px}.controls input[type=date]{font-size:12px}}
@media(max-width:800px) and (max-height:520px){.top{height:46px}.brand{width:120px}.brand-tagline{display:none}.map-shell{top:46px}.controls{left:auto;width:300px;right:10px;bottom:10px}.results{left:10px;right:auto;width:calc(100% - 330px);bottom:10px;max-height:calc(100dvh - 80px)}.map-legend{left:auto;right:64px}.credit{bottom:2px;left:10px;right:auto}}
@media(max-width:800px){.map-pin{width:44px;height:46px}.map-pin svg{width:32px;height:43px}.map-pin[aria-pressed=true]{width:44px;height:50px}.map-pin[aria-pressed=true] svg{width:38px;height:50px}.map-cluster{width:44px;height:44px}}
#location-status{position:absolute;z-index:5;left:50%;top:90px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 100px);background:#fff;border:1px solid #d0d9d5;border-radius:12px;padding:12px 16px;box-shadow:0 4px 20px #17262524;font-size:12px;line-height:1.5;color:#223e38;pointer-events:none}
@media(max-width:800px){#location-status{top:88px;left:12px;transform:none;max-width:calc(100% - 80px);font-size:12px}}
/* Touch gestures belong to the complete map, including its marker layer. */
.map-shell,#markers,.map-pin{touch-action:none;-webkit-user-select:none;user-select:none}.map-nav,.credit,.placement{touch-action:manipulation}



/* Remaining continuous sunshine, with the daily timeline behind More info. */
.results .reading{align-items:flex-start;gap:12px}.results .reading strong{font:600 20px/1.3 Arial,sans-serif;letter-spacing:-.02em;white-space:normal;flex:1}.results #condition{flex-shrink:0;max-width:100px}
#sun-details{display:none}.details-open #sun-details{display:block}#expand-selection{display:block;border:0;background:none;color:var(--green);font-size:12px;font-weight:600;padding:8px 0;min-height:40px;cursor:pointer}
.timeline-caption{font-size:11px;color:var(--muted);margin-top:14px}.timeline-key{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:11px;color:var(--muted);margin-top:10px}
.timeline-key>span{display:inline-flex;align-items:center;gap:5px}
.timeline-key i{width:10px;height:10px;flex:none;border:1px solid #65716c50;border-radius:2px}
#position-note:empty{display:none}
#directions{display:inline-flex;align-items:center;gap:6px}#timeline-message:empty{display:none}.results #timeline{height:12px}.results #timeline-ticks{display:flex}
@media(max-width:800px){.results .reading strong{font-size:19px}.results .timeline-key{font-size:10px}.results #sun-details #timeline-ticks{display:flex}}
.place-search{position:absolute;top:60px;left:12px;z-index:24;width:300px;max-width:calc(100% - 80px);color:var(--ink)}#open-search{display:flex;align-items:center;gap:11px;width:100%;height:46px;background:#fffffff5;border:1px solid #dfe4dc;border-radius:24px;box-shadow:0 3px 14px #24383615;padding:0 16px;text-align:left;color:#52625e;font-size:13px;cursor:pointer}#open-search svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}#search-panel{background:#fffefb;border:1px solid #e0e5dd;border-radius:20px;box-shadow:0 8px 32px #24383624;overflow:hidden}#place-search-form{display:flex;align-items:center;border-bottom:1px solid #edf0e9;padding:6px 9px 6px 16px}#place-query{width:100%;min-width:0;height:42px;border:0;outline:none;background:none;font:inherit;font-size:16px}#close-search{border:0;background:none;width:42px;height:42px;flex-shrink:0;font-size:25px;color:#52625e;cursor:pointer}#place-search-results{max-height:40dvh;overflow:auto;overscroll-behavior:contain}.place-result{display:block;text-align:left;width:100%;border:0;border-bottom:1px solid #f0f1eb;background:none;padding:13px 16px;color:var(--ink);cursor:pointer}.place-result strong{display:block;font-size:13px;font-weight:600}.place-result span{display:block;font-size:11px;color:var(--muted);margin-top:4px}.place-result:hover,.place-result:focus-visible{background:#f5ecd0;outline:0}#place-search-note{font-size:11px;color:var(--muted);padding:0 16px;line-height:1.5}#search-addresses{display:block;border:0;background:#f5f6ef;color:var(--green);font-size:12px;width:100%;padding:14px;text-align:left;cursor:pointer}#geocoder-credit{display:block;font-size:9px;padding:8px 16px;color:var(--muted)}.reviewing-location .place-search{display:none}
@media(max-width:800px){.place-search{top:94px;left:12px;width:46px;max-width:none}#open-search{width:46px;padding:0;justify-content:center}#open-search span{display:none}.search-open .place-search{top:12px;right:12px;left:12px;width:auto;z-index:30}.search-open .map-legend,.search-open #shadow-status,.search-open .results{visibility:hidden}#place-search-results{max-height:34dvh}.place-result{min-height:58px}}

/* Keep exploration controls clear of redundant map labels. */
#shadow-status,.map-tag{display:none!important}
.place-search{top:12px}
@media(max-width:800px){
 .map-shell>.map-legend{display:none}
 .place-search{top:12px}
 .map-nav{top:12px}
}

.city-weather{display:flex;flex-direction:column;gap:5px}.current-weather{display:flex;align-items:center;gap:6px;color:var(--ink);text-decoration:none;font-size:14px;font-weight:500;letter-spacing:0;font-variant-numeric:tabular-nums}.current-weather svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}@media(max-width:800px){.city-weather{gap:4px}.current-weather{font-size:12px;gap:4px}.current-weather svg{width:16px;height:16px}}

/* Terraceo wordmark: preserve the full supplied artwork. */
.brand{gap:5px}.brand img{clip-path:none;margin-bottom:0;height:auto;width:100%;display:block}.brand-tagline{width:100%;font-size:8px}@media(max-width:800px){.brand-tagline{font-size:6.5px}}@media(max-width:380px){.brand-tagline{font-size:5.7px}}

@font-face{font-family:Urbanist;font-style:normal;font-weight:500;font-display:swap;src:url("./fonts/urbanist-medium.ttf") format("truetype")}
.intro h1{font-family:Urbanist,Arial,sans-serif;font-weight:500}

/* One information entry point on desktop and mobile. */
.top{position:relative}.top-right{margin-right:48px}.info-button{position:absolute;right:24px;width:44px;height:44px;border:0;border-radius:50%;background:none;color:var(--ink);font:italic 22px Georgia}
#info-dialog{width:480px;max-height:85dvh;overflow:auto;padding:24px}#close-info{float:right;font-size:26px;border:0;background:none;width:40px;height:40px}#info-dialog h2{font-size:24px;margin-bottom:20px}#info-dialog h3{font-size:17px;color:var(--ink);margin:18px 0 10px}#info-dialog p{font-size:14px;line-height:1.6}#info-dialog .model-details{border:0;padding:0;margin:0}#info-dialog footer{font-size:12px;line-height:1.6;margin-top:22px}#info-dialog .admin-access{min-height:44px;font-size:12px}
@media(max-width:800px){.top{position:fixed}.top-right{margin-right:0}.info-button{right:14px}}

/* Compact date control, backed by the native accessible calendar. */
.date-picker{position:relative;display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fafbf8;color:var(--ink);cursor:pointer}.date-picker svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.date-picker span{font-size:14px;line-height:1.3}.controls .date-picker input[type=date]{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}.date-picker input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.date-picker:focus-within{outline:2px solid var(--green);outline-offset:3px}.date-picker:hover{border-color:#b7ad85}.time-heading{justify-content:flex-start}
@media(max-width:800px){.controls .date-picker{grid-column:2;grid-row:1;align-self:center;justify-self:end;max-width:100%;border:0;background:#f4f5ef;gap:7px;padding:8px 10px}.date-picker span{font-size:13px}.date-picker svg{width:17px;height:17px}}

#city-picker {
  border: 0;
  border-radius: 4px;
  background-color: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  padding: 4px 0;
}

/* The vector base is shared by both cities and stays below the shadow canvas. */
#clean-basemap {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
#clean-basemap.is-ready { opacity: 1; }
#vector-map-credit {
  position: absolute;
  z-index: 2;
  bottom: 2px;
  right: 6px;
  max-width: calc(100% - 12px);
  background: #ffffffe6;
  color: #414743;
  border-radius: 3px;
  padding: 0 4px;
  font-size: 9px;
  pointer-events: none;
}
#basemap-status {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 70%;
  border-radius: 8px;
  background: #fffffff2;
  padding: 6px 10px;
  font-size: 12px;
  text-align: center;
  pointer-events: none;
}

/* The admin uses the public layout with two map controls and an editor. */
.map-admin{position:absolute;z-index:19;top:12px;right:76px;display:flex;gap:6px}
.map-admin button,#move-terrace{min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:14px;background:#fffef9;color:var(--ink);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.map-admin button[aria-pressed=true],#move-terrace{background:var(--yellow)}
#move-terrace{display:block;margin-top:10px}
#admin-map-message{position:absolute;z-index:22;top:64px;right:76px;max-width:min(310px,70%);background:#fffef9;border-radius:12px;padding:8px 12px;margin:0;font-size:13px;pointer-events:none;box-shadow:0 2px 12px #17262524}
.reviewing-location .placement{left:12px;right:12px;top:auto;bottom:12px;z-index:25;display:block;padding:14px;border-radius:16px;background:#fffef9;color:var(--ink);font-size:14px;box-shadow:0 4px 24px #17262536}
#placement-title{display:block;overflow-wrap:anywhere}
#placement-text{margin:4px 0 10px;color:var(--muted)}
.placement-tools,.position-nudges,.placement-actions{display:flex;gap:6px}
.placement-tools{justify-content:space-between;align-items:center;flex-wrap:wrap}
.placement-actions{width:auto}
.position-nudges button,.placement-actions button{min-width:44px;min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:9px}
.position-nudges button{font-size:18px}
.reviewing-location #start-review{visibility:hidden}
#start-review:disabled{cursor:default;opacity:.8}
.reviewing-location .map-pin[aria-pressed=true]{cursor:grab}
.reviewing-location .map-pin[aria-pressed=true] svg{opacity:.9}
.reviewing-location .map-pin[aria-pressed=true]::after{content:"";position:absolute;left:50%;bottom:0;width:5px;height:5px;transform:translate(-50%,50%);border:1px solid var(--ink);border-radius:50%;background:#fff}
#save-placement{background:var(--yellow);font-weight:700}
.reviewing-location .map-pin[aria-pressed=true]{filter:drop-shadow(0 0 3px #fff)}
@media(max-width:800px){
 .map-admin{left:66px;right:66px;justify-content:flex-end}
 .map-admin button{padding:0 8px}
 #admin-map-message{right:66px}
 .reviewing-location .placement{bottom:calc(10px + env(safe-area-inset-bottom,0px))}
 .reviewing-location .controls,.reviewing-location .results{visibility:hidden}
 .placement-actions{flex:1;justify-content:flex-end;flex-wrap:wrap}
 .placement-actions #save-placement{flex:0 1 auto}
}


@media(min-width:801px){
 .results .section-label{margin-bottom:8px}
 .results #terrace-title{margin:0 0 5px;line-height:1.2}
 .results #location{font-size:12px}
 .results .reading{align-items:baseline;gap:8px;margin:14px 0 5px}
 .results .reading strong{min-width:0;overflow-wrap:anywhere}
 .results .metric-label{font-size:11px}
 .results #expand-selection{display:inline-flex;align-items:center;margin-top:4px;text-align:left}
 .results #sun-details{padding:12px 0 4px;border-top:1px solid var(--line)}
 .results .timeline-caption{margin:0}
 .results #timeline-ticks{display:grid;grid-template-columns:1fr auto 1fr;gap:4px;font-size:10px}
 .results #timeline-ticks>:last-child{text-align:right}
 .results .detail-actions{margin-top:8px}
 .results .detail-actions:has(#directions[hidden]){display:none}
}

#desktop-date-toggle,#desktop-calendar{display:none}

@media(min-width:801px){
 .controls .date-picker input[type=date]{display:none}
 .date-picker::after{content:"";width:7px;height:7px;margin-left:auto;border:solid var(--muted);border-width:0 1.5px 1.5px 0;transform:rotate(45deg) translateY(-2px);pointer-events:none}
 #desktop-date-toggle{display:block;position:absolute;inset:0;width:100%;padding:0;border:0;border-radius:inherit;background:transparent}
 .date-picker:focus-within{outline:none}
 #desktop-calendar{
  display:block;position:absolute;z-index:30;top:calc(100% + 8px);right:-1px;left:-1px;
  padding:10px 12px;border:1px solid var(--line);border-radius:16px;background:#fffef9;
  box-shadow:0 8px 30px #24383624;cursor:default
 }
 .calendar-heading{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:4px;margin-bottom:6px}
 #calendar-month{text-align:center;font-size:14px;font-weight:650;text-transform:capitalize}
 .calendar-nav,.calendar-grid button,#calendar-today{padding:0;border:0;border-radius:9px;background:none}
 .calendar-nav{display:grid;place-items:center;width:34px;height:34px}
 .calendar-nav i{width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(135deg)}
 #calendar-next i{transform:rotate(-45deg)}
 .calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
 #calendar-weekdays{color:var(--muted)}
 #calendar-weekdays span{font-size:11px;padding:4px 0}
 .calendar-grid button{height:32px;font-size:13px;font-variant-numeric:tabular-nums}
 .calendar-nav:hover:not(:disabled),.calendar-grid button:hover:not(:disabled){background:#f1eee2}
 .calendar-grid button[aria-current=date]{box-shadow:inset 0 0 0 1px #9b874b}
 .calendar-grid button[aria-pressed=true],.calendar-grid button[aria-pressed=true]:hover{background:var(--yellow);font-weight:700}
 .calendar-footer{display:flex;justify-content:flex-end;margin-top:8px;border-top:1px solid var(--line)}
 #calendar-today{min-height:34px;padding:0 10px;color:var(--green);font-size:13px;font-weight:650}
 #calendar-today:hover{background:#f1eee2}
}
.results #directions{
 min-height:44px;padding:0 8px 0 0;gap:6px;
 border:0;border-radius:6px;background:transparent;
 color:var(--green);font-size:13px;font-weight:600;line-height:1.25
}
.results #directions:hover span,.results #directions:focus-visible span{
 text-decoration:underline;text-underline-offset:3px
}
.directions-icon{
 width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;
 stroke-linecap:round;stroke-linejoin:round
}
