@font-face{font-family:Study;src:local('Avenir Next'),local('Avenir'),local('Segoe UI');font-display:swap}
:root{--ink:#273a33;--paper:#f6f5ef;--line:#e3e5db;--green:#304e43}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:14px Study,Arial,sans-serif}
button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid #507967;outline-offset:4px}
svg{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.header{height:68px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:#fafaf5;position:relative}
.identity{text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:14px;font-size:14px;letter-spacing:.13em}.identity svg{width:32px;height:32px}
.header-subtitle{position:absolute;left:50%;transform:translateX(-50%);color:#858d81;font-size:12px}.public{font-size:11px;display:flex;align-items:center;gap:8px}.public i,.view-label i{width:5px;height:5px;border-radius:50%;background:#6b8c68}
main{height:calc(100dvh - 68px)}.viewport{height:100%;position:relative;overflow:hidden;background:#e7e5dc}#scene{width:100%;height:100%;display:block;cursor:crosshair;outline-offset:-4px}.mouse-captured #scene{cursor:none}
.viewport:fullscreen{width:100vw;height:100dvh}.view-label{position:absolute;top:25px;right:27px;display:flex;gap:9px;align-items:center;font-size:11px;background:#fafaf2df;border:1px solid #d8dcc955;padding:8px 11px;border-radius:5px;color:#626e60;pointer-events:none}.divider{color:#a8ad9f}
.scene-tools{position:absolute;right:26px;bottom:28px;background:#fafaf1eb;border:1px solid #d8dcc9;border-radius:8px;display:flex;gap:3px;padding:4px;z-index:3;box-shadow:0 2px 8px #39453508}
.icon-button{height:38px;min-width:38px;border:1px solid transparent;background:transparent;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;border-radius:6px}.icon-button:hover{background:#e7eae1}.icon-button svg{width:20px;height:20px}.seating-button{font-size:12px;color:#3e6651}.icon-button:disabled{opacity:.5;cursor:default}.collapse-icon{display:none}.is-fullscreen .collapse-icon{display:block}.is-fullscreen .expand-icon{display:none}
.navigation-hint{position:absolute;bottom:28px;left:30px;display:flex;align-items:center;gap:10px;font-size:11px;color:#687462;background:#fafaf2eb;border:1px solid #d8dcc977;padding:10px 12px;border-radius:5px;pointer-events:none;max-width:calc(100% - 270px)}.navigation-hint svg{width:16px;height:21px;flex-shrink:0}.mouse-captured .navigation-hint{opacity:.8}
.walk-prompt{position:absolute;left:50%;bottom:100px;transform:translateX(-50%);background:#fafaf3ef;border:1px solid #d5ddce;border-radius:9px;padding:13px 17px;min-width:290px;z-index:2;text-align:center;box-shadow:0 5px 22px #223b2610}.walk-prompt button{border:0;background:#3e5b49;color:#fcfcf3;width:100%;padding:11px 13px;border-radius:5px;font-size:12px;display:flex;justify-content:space-between;gap:30px}.walk-prompt button:hover{background:#2e4838}.walk-prompt p{font-size:11px;line-height:1.6;color:#75816c;margin:9px 0 0}
.lamp-switches{position:absolute;inset:0;pointer-events:none;z-index:2}.lamp-power{position:absolute;transform:translate(-50%,-50%);width:29px;height:29px;display:grid;place-items:center;border:1px solid #708b76;border-radius:50%;background:#f5f6edf0;color:#47664f;font-size:20px;line-height:1;pointer-events:auto;padding:0;box-shadow:0 1px 5px #182d2026}.lamp-power[aria-pressed=true]{background:#527355;color:white;border-color:#d4e4b6}.lamp-power:hover{outline:2px solid #becbad}
.chair-sit{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;padding:7px 11px;border:1px solid #8a9582;border-radius:7px;background:#f5f4eaf0;color:#3f5947;font-size:12px;box-shadow:0 2px 12px #20312615}.seating-status{position:absolute;left:30px;bottom:100px;padding:10px 13px;border:1px solid #d2d6c8;border-radius:7px;background:#f5f4eaf0;color:#46604c;font-size:12px;pointer-events:none}
.loading{position:absolute;inset:0;background:#e7e5dc;display:grid;align-content:center;justify-items:center;gap:18px;z-index:4}.loading span{width:32px;height:32px;border:1px solid #bcc4b1;border-top-color:#4c7254;border-radius:50%;animation:spin 1.3s linear infinite}.loading p{font-size:12px;color:#8b937e}.loading.done{display:none}
.render-error{position:absolute;inset:0;place-content:center;text-align:center;z-index:10;background:#ecece2}.render-error:not([hidden]){display:grid}.render-error h2{font-family:Georgia,serif;font-weight:400}.render-error p{color:#77816e;max-width:350px;line-height:1.7}
#toast{position:absolute;bottom:90px;left:50%;transform:translateX(-50%);background:#304e43;color:#fafaf3;border-radius:5px;padding:11px 16px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:5;max-width:calc(100% - 60px);text-align:center}#toast.show{opacity:1}
[hidden]{display:none!important}@keyframes spin{to{transform:rotate(360deg)}}
/* Desktop windows and browser zoom keep the controls readable. */
@media(max-width:1000px){.header-subtitle{display:none}.navigation-hint{bottom:84px;max-width:calc(100% - 60px)}.walk-prompt{bottom:144px}.seating-status{bottom:144px}#toast{bottom:140px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

/* Buttons follow the exact perspective of the two physical workstation panels. */
.simulator-screen-controls{position:absolute;left:0;top:0;width:1600px;height:900px;transform-origin:0 0;pointer-events:none;z-index:2;overflow:hidden;contain:layout style}
.simulator-screen-controls[hidden]{display:none}
.simulator-screen-button{position:absolute;margin:0;padding:0;border:0;border-radius:20px;background:transparent;color:transparent;font-size:48px;pointer-events:auto;cursor:pointer}
.simulator-screen-button:disabled{pointer-events:none;cursor:default}
.simulator-screen-button:focus-visible{outline:9px solid #f2efb6;outline-offset:-12px}
.simulator-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none}

/* The action stays beside the physical handle and follows the swinging door. */
.locker-door-control{position:absolute;transform:translate(-50%,-50%);z-index:3;pointer-events:auto;border:1px solid #7b8e78;border-radius:6px;background:#f5f4eaf2;color:#3f5947;padding:6px 10px;font:12px Arial,sans-serif;cursor:pointer;box-shadow:0 2px 8px #20312620}
.locker-door-control:hover{background:#e6ecde}.locker-door-control:focus-visible{outline:3px solid #91a878;outline-offset:3px}
