:root{--paper:#f5f3ed;--ink:#30382f;--muted:#777b6e;--line:#dedfd4;--olive:#536447;--soft:#e8ecdf;--white:#fffefa;font-family:Arial,"Noto Sans Hebrew",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button,a{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9aac83;outline-offset:4px}button{border:0;background:none}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button{transition:background .16s,color .16s}button:hover{background:#e5e9dc}.header{height:98px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:20px}.identity{display:flex;align-items:center;gap:13px}.mark{height:45px;width:45px;background:var(--olive);color:var(--paper);border-radius:50% 50% 5px 5px;display:grid;place-items:center;font-size:27px}.identity h1{font-size:20px;font-weight:500;letter-spacing:-.4px}.identity p{font-size:12px;color:var(--muted);margin-top:6px}.header-actions{display:flex;align-items:center;gap:20px;font-size:12px}.draft{color:var(--muted)}.quiet{padding:10px 0}.download{background:var(--olive);color:#fff;padding:13px 17px;border-radius:5px;display:flex;align-items:center;gap:21px}.download:hover{background:#435439}.download span{font-size:18px}.layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:0;margin:0 24px;min-height:700px;height:calc(100vh - 155px);max-height:1100px}.panel{padding:20px 14px 10px 28px;overflow-y:auto}.eyebrow{font-size:11px;color:var(--muted);letter-spacing:.1px}.panel-intro h2{font-size:27px;line-height:1.4;font-weight:400;letter-spacing:-.7px;margin-top:11px}.view-tabs{display:flex;background:#e6e8dd;padding:4px;gap:2px;border-radius:6px;margin:25px 0 27px}.view-tabs button{flex:1;padding:10px 2px;border-radius:4px;white-space:nowrap;font-size:12px}.view-tabs button[aria-pressed=true]{background:var(--white);box-shadow:0 1px 4px #28302415}.settings h3,.places h3{font-size:12px;font-weight:500;margin-bottom:13px}.switch-row{display:flex;align-items:center;position:relative;gap:12px;margin:15px 0;min-height:20px;font-size:13px;cursor:pointer}.switch-row>span:first-child{flex:1}.switch-row input{position:absolute;left:0;opacity:0;width:34px;height:20px;cursor:pointer}.switch{width:31px;height:17px;background:#d2d6c9;border-radius:12px;position:relative;pointer-events:none}.switch:after{content:"";position:absolute;top:3px;left:3px;background:var(--white);width:11px;height:11px;border-radius:50%;transition:transform .15s}.switch-row input:checked+.switch{background:var(--olive)}.switch-row input:checked+.switch:after{transform:translateX(14px)}.switch-row input:focus-visible+.switch{outline:3px solid #9aac83;outline-offset:3px}.height-control{margin-top:25px}.height-control label{display:flex;justify-content:space-between;gap:8px;font-size:12px}.height-control output{color:var(--olive);direction:rtl;font-variant-numeric:tabular-nums}.height-control input{width:100%;accent-color:var(--olive);margin:13px 0 4px;direction:ltr}.range-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.places{margin-top:24px;border-top:1px solid var(--line);padding-top:21px}.place-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.place-grid button{padding:10px 4px;background:#eeeee6;border:1px solid #e0e2d6;border-radius:4px;font-size:11px}.place-grid button:hover{background:var(--soft)}.walk-button{display:flex;align-items:center;justify-content:center;gap:18px;margin:20px 0 0;width:100%;padding:12px;border-radius:4px;background:var(--olive);color:white;font-size:12px}.walk-button:hover{background:#435439}.walk-button[aria-pressed=true]{background:#85664c}.model-note{display:flex;gap:8px;margin-top:20px;align-items:flex-start}.model-note p{font-size:10px;line-height:1.7;color:var(--muted)}.note-dot{width:5px;height:5px;background:#aa8b5d;flex-shrink:0;border-radius:50%;margin-top:5px}.specs{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.specs div{display:flex;flex-direction:column;gap:7px}.specs span{font-size:10px;color:var(--muted)}.specs strong{font-size:12px;font-weight:400}.specs small{font-size:10px}.stage{position:relative;border-radius:9px;background:radial-gradient(ellipse at 50% 42%,#efeee6 0%,#e2e5d9 70%,#dce1d2 100%);overflow:hidden;min-width:0;isolation:isolate}.stage:fullscreen{border-radius:0}.stage-top{position:absolute;top:22px;right:25px;left:25px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.stage-label{font-size:12px;color:#4a5543;background:#f8f8f1dd;padding:9px 13px;border-radius:4px;backdrop-filter:blur(8px)}.local-tag{font-size:10px;color:#66725d;display:flex;align-items:center;gap:7px}.local-tag span{height:5px;width:5px;border-radius:50%;background:#7f926c}.stage-bottom{position:absolute;bottom:20px;left:20px;right:24px;display:flex;justify-content:space-between;align-items:center;gap:15px;pointer-events:none}.stage-bottom p{font-size:10px;color:#6d7565;background:#f1f3e9c9;padding:9px 11px;border-radius:4px}.stage-actions{display:flex;gap:6px;pointer-events:auto}.stage-actions button{width:34px;height:34px;background:#f8f8f0df;border:1px solid #cbd1bd;border-radius:4px;font-size:23px;color:#59664e}.stage-actions button:hover{background:#fff}.compass{position:absolute;bottom:80px;left:30px;color:#6a765b;display:flex;align-items:center;flex-direction:column;gap:4px;pointer-events:none}.compass span{font-size:37px;line-height:1}.compass b{font-size:10px;font-weight:400}#canvas-container{width:100%;height:100%;position:relative;touch-action:none}canvas{display:block;width:100%;height:100%;outline:none}#room-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.room-label{position:absolute;white-space:nowrap;font-size:10px;color:#464f3d;background:#fffcf1df;padding:5px 8px;border:1px solid #d1d6c2;border-radius:3px;transform:translate(-50%,-50%);box-shadow:0 1px 5px #00000008}.footer{display:flex;justify-content:space-between;padding:15px 39px;gap:20px;font-size:10px;color:var(--muted)}.footer button{padding:0;text-decoration:underline;text-underline-offset:3px;font-size:10px}.footer button:hover{background:transparent;color:var(--ink)}#loading{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:19px;z-index:5;background:#e6e9dd}#loading strong{font-size:13px;font-weight:400}.loader{width:34px;height:34px;border:2px solid #c9d2ba;border-top-color:var(--olive);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#error{position:absolute;inset:20%;padding:25px;background:var(--paper);font-size:14px;line-height:1.9;border-radius:8px}.walk-pad{position:absolute;bottom:82px;right:25px;text-align:center;direction:ltr}.walk-pad button{height:42px;width:42px;background:#f8f8f0df;border:1px solid #b7c0ab;border-radius:4px;font-size:23px;margin:2px;touch-action:none;user-select:none}.walk-pad div{display:flex}.walk-pad[hidden]{display:none}dialog{border:0;border-radius:10px;padding:25px;background:var(--paper);color:var(--ink);width:min(1150px,94vw);max-height:94vh;box-shadow:0 20px 100px #25302040}dialog::backdrop{background:#1f2c2066;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.dialog-head h2{font-size:23px;font-weight:400;margin-top:5px}.dialog-head button{height:36px;width:36px;font-size:30px;border-radius:50%}.source-tabs{display:flex;gap:8px;margin-bottom:15px;flex-wrap:wrap}.source-tabs button{font-size:12px;padding:9px 15px;border-radius:4px;background:#e9ecdf}.source-tabs button[aria-pressed=true]{background:var(--olive);color:#fff}.plan-container{background:#fff;height:65vh;overflow:auto;border-radius:4px;text-align:center}.plan-container img{max-width:100%;height:auto}.plan-container img.zoomed{max-width:none;width:1800px;cursor:zoom-out}#plan-image{cursor:zoom-in}#plan-pdf{display:inline-block;font-size:12px;margin-top:14px;text-decoration:underline}#notes-dialog{max-width:630px}.notes-content h3{font-size:14px;font-weight:500;margin:18px 0 8px}.notes-content p{font-size:13px;line-height:1.9;color:#68705f}.notes-content p+p{margin-top:16px}@media(min-height:950px){.panel-intro{margin-bottom:32px}.settings{margin-top:32px}.places{margin-top:38px}.walk-button{margin-top:30px}}@media(max-width:1000px){.layout{grid-template-columns:245px minmax(0,1fr);margin:0 15px}.header{padding:0 25px}.panel{padding-left:20px}.draft{display:none}.header-actions{gap:14px}.panel-intro h2{font-size:24px}.footer{padding:15px 25px}.stage-top{left:17px;right:17px}.stage-bottom{left:15px;right:15px}}@media(max-width:720px){.header{height:85px;padding:0 16px;gap:10px}.identity h1{font-size:17px}.mark{width:35px;height:38px;font-size:23px}.identity{gap:9px}.identity p{font-size:10px}.header-actions{gap:7px}.header-actions .quiet{display:none}.download{padding:10px 11px;font-size:10px;gap:10px}.layout{display:flex;flex-direction:column-reverse;height:auto;min-height:0;margin:0 10px;max-height:none}.stage{height:62vh;min-height:420px}.panel{padding:24px 12px 15px;overflow:visible}.panel-intro{display:none}.view-tabs{margin:0 0 20px}.settings{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.settings h3{grid-column:1/-1}.switch-row{margin:9px 0}.height-control{grid-column:1/-1;margin-top:20px}.places{margin-top:20px}.place-grid{grid-template-columns:repeat(4,1fr)}.walk-button{margin-top:17px}.model-note{margin-top:16px}.specs{margin-top:14px;padding-top:14px}.footer{padding:10px 20px 20px;flex-wrap:wrap;gap:10px;font-size:9px}.footer>span:last-child{display:none}.stage-bottom{bottom:14px;left:12px;right:12px}.stage-bottom p{font-size:9px;max-width:225px;line-height:1.7}.stage-top{top:15px;left:17px;right:17px}.local-tag{font-size:9px}.stage-label{font-size:10px}.compass{left:20px;bottom:80px}.source-tabs{gap:5px}.source-tabs button{padding:8px;font-size:11px}.dialog-head h2{font-size:20px}dialog{padding:17px}.plan-container{height:65vh}}@media(prefers-reduced-motion:reduce){*{transition:none!important}.loader{animation:none}}
@media(min-width:721px){.layout{min-height:500px}.panel{padding-top:14px}.panel-intro h2{font-size:25px;line-height:1.32}.view-tabs{margin:19px 0 20px}.switch-row{margin:11px 0}.height-control{margin-top:20px}.places{margin-top:20px;padding-top:17px}.walk-button{margin-top:16px}.model-note{margin-top:15px}.specs{margin-top:12px;padding-top:13px}}

.sun-controls{border-top:1px solid var(--line);padding-top:18px;margin-top:20px;font-size:12px}.sun-controls h3{font-size:13px;font-weight:500;margin-bottom:14px}.sun-controls label{display:block;margin:12px 0 8px}.sun-controls input{width:100%;accent-color:var(--olive)}.sun-controls input[type=date]{font:inherit;padding:8px;border:1px solid var(--line);border-radius:5px;background:var(--white);color:var(--ink);box-sizing:border-box}.sun-controls output{float:left;direction:ltr}.sun-controls p{line-height:1.65;margin-top:10px}.sun-note{color:var(--muted);font-size:10px}

.aluminium-controls{border-top:1px solid var(--line);padding-top:18px;margin-top:20px;display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px}.aluminium-controls label{width:100%}.aluminium-controls input{width:54px;height:32px;border:1px solid var(--line);border-radius:4px;padding:2px;cursor:pointer}.aluminium-controls button{border:1px solid var(--line);padding:7px 12px;border-radius:4px;font-size:11px}.sun-controls select{width:100%;font:inherit;padding:8px;border:1px solid var(--line);border-radius:5px;background:var(--white);color:var(--ink)}

/* Touch navigation and a full-height mobile viewer. */
.mobile-toolbar,.mobile-panel-heading,.panel-backdrop{display:none}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.walk-pad{width:132px;height:132px;border-radius:50%;left:24px;right:auto;bottom:28px;direction:ltr;touch-action:none;user-select:none;-webkit-user-select:none;background:radial-gradient(circle,#fffefaed 0 31%,#edf0e0bb 32% 59%,#f8f8eddf 60%);border:1px solid #9baa8b;box-shadow:0 5px 24px #28382422;cursor:grab;z-index:8;outline-offset:5px}
.walk-pad:active{cursor:grabbing}.stick-knob{position:absolute;width:52px;height:52px;left:calc(50% - 26px);top:calc(50% - 26px);border-radius:50%;background:#596f4a;box-shadow:0 3px 9px #273a2940,inset 0 0 0 2px #ffffff55;pointer-events:none}
.stick-arrow{position:absolute;color:#67785b;font-size:18px;line-height:20px;pointer-events:none}.stick-n{top:7px;left:calc(50% - 6px)}.stick-s{bottom:7px;left:calc(50% - 6px)}.stick-w{left:9px;top:calc(50% - 10px)}.stick-e{right:9px;top:calc(50% - 10px)}
.is-walking .compass{bottom:180px}.is-walking .stage-actions{position:absolute;bottom:160px;left:0}.is-walking .stage-bottom p{margin-left:155px}.is-walking canvas{cursor:move}
@media(max-width:760px),(max-width:1000px) and (max-height:520px){
 body{height:100vh;height:100dvh;overflow:hidden;overscroll-behavior:none}
 .header{height:calc(64px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) 16px 0;gap:10px}.identity h1{font-size:17px}.identity p{font-size:11px}.identity .mark{width:34px;height:37px}.header-actions{display:none}
 .layout{display:block;margin:0;height:calc(100vh - 64px - env(safe-area-inset-top,0px));height:calc(100dvh - 64px - env(safe-area-inset-top,0px));min-height:0;max-height:none}
 .stage{width:100%;height:100%;min-height:0;border-radius:0}
 .mobile-toolbar{display:flex;position:absolute;top:12px;right:max(12px,env(safe-area-inset-right,0px));left:max(12px,env(safe-area-inset-left,0px));gap:7px;z-index:12}
 .mobile-toolbar button{min-height:44px;flex:1;border:1px solid #cbd1bd;background:#fffef4ed;border-radius:9px;font-size:13px;box-shadow:0 2px 10px #30442a0a;padding:8px 5px;white-space:nowrap}
 .mobile-toolbar #mobile-walk{background:var(--olive);color:white;flex:1.3}.mobile-toolbar #mobile-walk[aria-pressed=true]{background:#85664c}.mobile-toolbar #mobile-roof[aria-pressed=false]{color:#929889}
 .stage-top{top:69px;right:14px;left:14px}.stage-label{font-size:11px;max-width:72%;padding:7px 9px}.local-tag{font-size:9px}
 .stage-bottom{bottom:max(12px,env(safe-area-inset-bottom,0px));left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));gap:8px}
 .stage-bottom p{font-size:10px;max-width:64%;line-height:1.6;padding:7px 8px}.stage-actions button{width:44px;height:44px;border-radius:8px}.compass{left:20px;bottom:85px}
 .panel{display:block;position:fixed;inset:auto 0 0;max-height:80vh;max-height:80dvh;overflow-y:auto;overscroll-behavior:contain;padding:0 20px calc(22px + env(safe-area-inset-bottom,0px));border-radius:18px 18px 0 0;background:var(--paper);box-shadow:0 -10px 50px #1c30283b;transform:translateY(110%);visibility:hidden;transition:transform .22s,visibility .22s;z-index:40}
 .panel-open .panel{transform:translateY(0);visibility:visible}.panel-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#1c30286b;z-index:35;backdrop-filter:blur(2px)}
 .mobile-panel-heading{display:flex;position:sticky;top:0;justify-content:space-between;align-items:center;background:var(--paper);padding:13px 0;z-index:2}.mobile-panel-heading h2{font-size:17px;font-weight:500}.mobile-panel-heading button{height:44px;width:44px;font-size:30px;border-radius:50%;background:#e8ecdf}
 .panel-intro{display:none}.panel .view-tabs{margin:6px 0 20px}.settings{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.settings h3,.height-control{grid-column:1/-1}.switch-row{min-height:44px;margin:0;font-size:14px}.switch-row input{height:44px;width:44px;top:0}.switch{width:34px;height:20px}.switch:after{width:14px;height:14px}.height-control{margin-top:16px}.height-control input,.sun-controls input[type=range]{min-height:36px}.panel input[type=color]{min-height:44px}.sun-controls select{font-size:16px;min-height:44px}.place-grid{grid-template-columns:1fr 1fr}.place-grid button{min-height:44px;font-size:13px}.walk-button{min-height:48px;font-size:14px}.settings h3,.places h3,.sun-controls h3{font-size:14px}.footer{display:none}
 .walk-pad{left:max(22px,env(safe-area-inset-left,0px));bottom:max(30px,env(safe-area-inset-bottom,0px));width:132px;height:132px}
 .is-walking .stage-actions{bottom:0;left:auto;right:0}.is-walking .stage-bottom{justify-content:flex-end}.is-walking .stage-bottom p{position:absolute;bottom:155px;left:2px;margin:0;max-width:230px}.is-walking .compass{left:auto;right:22px;bottom:88px}.is-walking .local-tag{display:none}
 #notes-dialog{max-height:85dvh;width:94vw}#error{inset:25% 10%;font-size:13px}
}
@media(max-width:1000px) and (max-height:520px){
 .header{height:44px;padding-top:0}.identity .mark,.identity p{display:none}.identity h1{font-size:15px}.layout{height:calc(100dvh - 44px)}.mobile-toolbar{top:8px;left:auto;width:330px}.stage-top{top:12px;right:auto;left:12px;max-width:45%}.stage-top .local-tag{display:none}.walk-pad{width:112px;height:112px;bottom:20px}.is-walking .stage-bottom p{bottom:120px}
}
