@font-face{font-family:Codec;src:url('assets/codec-regular.ttf') format('truetype');font-weight:100 499;font-display:swap}
@font-face{font-family:Codec;src:url('assets/codec-semibold.ttf') format('truetype');font-weight:500 699;font-display:swap}
@font-face{font-family:Codec;src:url('assets/codec-bold.ttf') format('truetype');font-weight:700 900;font-display:swap}
*{box-sizing:border-box} :root{--ink:#1b241f;--muted:#626b65;--yellow:#ffd52c;--green:#1e6e4b;--line:#dce2da;--paper:#f5f6f0;color-scheme:light}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:#111a15;color:var(--ink);font:16px Codec,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);padding:11px 16px;border-radius:8px;font-weight:650;transition:background .18s,transform .18s}button:hover{background:#edf1e8}button:active{transform:translateY(1px)}button:disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #ffde55;outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--muted)}.primary{background:var(--yellow);border-color:var(--yellow);color:#111;padding:13px 23px}.primary:hover{background:#ffe46d}.text-button{border:0;background:none;text-decoration:underline}.skip{position:fixed;top:-100px;left:12px;z-index:100;background:white;padding:10px}.skip:focus{top:12px}
#game{position:relative;width:100%;height:100%;height:100dvh;isolation:isolate;overflow:hidden}#scene,#flat-spots,.scene-shade{position:absolute;inset:0}#scene{background:#111a15}#scene.flat{background-position:center;background-size:cover}#flat-spots{pointer-events:none}#flat-spots button{pointer-events:auto}.scene-shade{background:linear-gradient(180deg,#09120f8c,transparent 27%,transparent 58%,#09120fc9);pointer-events:none;z-index:1}#hud{position:absolute;z-index:5;top:max(22px,env(safe-area-inset-top));left:max(26px,env(safe-area-inset-left));right:max(26px,env(safe-area-inset-right));display:flex;align-items:flex-start;justify-content:space-between;gap:20px;pointer-events:none}.mission-badge{display:flex;gap:22px;align-items:center;color:#fff;text-shadow:0 2px 10px #0007}.brand{font:italic 900 34px Georgia,serif;color:var(--yellow)}.mission-badge>div{border-left:1px solid #ffffff4a;padding-left:22px}.mission-badge .eyebrow{display:block;color:#f7dc75;font-size:9px;letter-spacing:2.3px}.mission-badge strong{display:block;font-size:20px;margin-top:5px;font-weight:650}.hud-tools{display:flex;gap:7px;pointer-events:auto}.hud-tools button,.cinema-pause,#view-controls button{width:40px;height:40px;display:grid;place-items:center;padding:0;border:1px solid #ffffff66;border-radius:50%;background:#14221bd6;color:white;font-size:18px}.hud-tools button:hover,.cinema-pause:hover,#view-controls button:hover{background:#304739}.hud-tools button[aria-pressed=false]{opacity:.65}
#welcome{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:0 20px max(8vh,env(safe-area-inset-bottom));background:linear-gradient(0deg,#06100fe8,transparent 48%)}.start-button{background:var(--yellow);color:#080a08;border:0;border-radius:8px;font-size:clamp(23px,2.2vw,34px);font-weight:800;letter-spacing:3px;min-width:300px;padding:24px 65px;box-shadow:0 8px 45px #0005;transition:transform .2s,background .2s}.start-button:hover{background:#ffe87c;transform:translateY(-3px)}#welcome-note{font-size:12px;letter-spacing:.6px;color:#ffffffe0;text-align:center;margin:20px 0 0}
#objective{position:absolute;z-index:4;left:max(26px,env(safe-area-inset-left));bottom:max(24px,env(safe-area-inset-bottom));width:min(640px,calc(100% - 320px));padding:18px 22px;border-left:3px solid var(--yellow);background:linear-gradient(110deg,#101c16f5,#101c16db);color:white;border-radius:0 9px 9px 0;box-shadow:0 8px 30px #0002}#objective .eyebrow{color:#ffdb60;font-size:9px}#objective h2{font-size:21px;letter-spacing:-.4px;margin:8px 0 6px;font-weight:650;line-height:1.15}#objective p{font-size:13px;line-height:1.5;color:#e3e9df;margin:0;max-width:580px}#actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}#actions button{font-size:11px;padding:9px 13px;border-color:#ffffff40;background:#ffffff0d;color:#fff}#actions .primary{background:var(--yellow);color:#121510;border-color:var(--yellow)}#actions button:hover{background:#ffffff20}#actions .primary:hover{background:#ffe77f}#view-controls{position:absolute;z-index:4;right:max(26px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;width:210px}#view-controls span{display:block;flex-basis:100%;text-align:right;font-size:10px;color:#fff;text-shadow:0 2px 4px #0009;margin-top:5px}#viewer-error{position:absolute;z-index:6;top:100px;left:26px;max-width:min(480px,calc(100% - 52px));padding:14px;background:#ffefb9;color:var(--ink);border-radius:8px;font-size:12px}
.hotspot{position:absolute;transform:translate(-50%,-50%);padding:12px 17px;border:2px solid #fff;border-radius:24px;background:var(--yellow);color:#101710;box-shadow:0 0 0 7px #ffd52c30,0 3px 15px #0004;font-size:12px;line-height:1.3;max-width:230px;animation:pulse 2.4s infinite}.hotspot:hover{background:#fff09e}.hotspot.locked{background:#dfe4dc;animation:none}.pnlm-hotspot.hotspot360{width:auto;height:auto;background:none;border:0}.hotspot360 button{border:2px solid #fff;border-radius:24px;padding:12px 17px;background:var(--yellow);color:#121910;box-shadow:0 0 0 7px #ffd52c30,0 3px 15px #0004;font-size:12px;max-width:250px;line-height:1.3;white-space:normal;animation:pulse 2.4s infinite}.hotspot360.locked button{background:#dfe4dc;animation:none}@keyframes pulse{50%{box-shadow:0 0 0 13px #ffd52c08,0 3px 15px #0004}}.pnlm-load-box{font-family:Codec,Arial,sans-serif}.pnlm-about-msg{font-size:10px}
#cinematic{position:absolute;inset:0;background:#080e0b;z-index:30}#cinematic-video{display:block;width:100%;height:100%;max-height:none;border:0;border-radius:0;background:#080e0b;object-fit:contain}#cinematic-video::-webkit-media-controls{display:none!important}.cinema-pause{position:absolute;top:max(22px,env(safe-area-inset-top));right:max(26px,env(safe-area-inset-right));z-index:2;opacity:.55}.cinema-pause:hover,.cinema-pause:focus-visible{opacity:1}#cinematic-recovery{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;padding:25px;background:#08130ec9;color:white;text-align:center}#cinematic-message{max-width:440px;line-height:1.5}#chapter{position:absolute;inset:0;z-index:50;display:grid;place-items:center;padding:35px;background:radial-gradient(ellipse at 70% 40%,#243c2d,#101c16 70%);color:white;overflow:hidden}.chapter-grid{position:absolute;inset:-50%;background:repeating-linear-gradient(0deg,transparent,transparent 99px,#ffffff07 100px),repeating-linear-gradient(90deg,transparent,transparent 99px,#ffffff07 100px);transform:rotate(-12deg);animation:chapterGrid 3.4s ease-out both}.chapter-content{position:relative;width:min(900px,100%);padding-left:35px;border-left:3px solid var(--yellow);animation:chapterEnter .7s ease-out both}#chapter .eyebrow{color:var(--yellow);font-size:12px;letter-spacing:5px}#chapter h2{font-size:clamp(40px,7.5vw,112px);font-weight:750;letter-spacing:-3px;line-height:.97;margin:22px 0}#chapter p{font-size:clamp(14px,1.6vw,21px);max-width:660px;line-height:1.5;color:#dce7dc;margin:0}.chapter-line{height:3px;width:80px;background:var(--yellow);margin-top:35px;transform-origin:left;animation:chapterLine 2.8s linear both}@keyframes chapterEnter{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes chapterLine{from{transform:scaleX(.1)}to{transform:scaleX(3)}}@keyframes chapterGrid{from{transform:translateX(-25px) rotate(-12deg)}to{transform:translateX(0) rotate(-12deg)}}
.is-cinematic #hud,.is-cinematic #objective,.is-cinematic #view-controls,.is-cinematic #flat-spots,.is-transition #objective,.is-transition #view-controls{visibility:hidden}.pause-actions{display:grid;gap:10px}.pause-actions button{text-align:left;padding:15px 18px}.pause-actions .primary{text-align:center}.pause-note{font-size:12px;color:var(--muted)}

dialog{width:min(790px,calc(100vw - 32px));border:0;border-radius:16px;padding:25px 30px;max-height:92dvh;overflow-y:auto;color:var(--ink);box-shadow:0 30px 90px #0004}dialog::backdrop{background:#0a1814bc;backdrop-filter:blur(5px)}.modal-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.modal-top button{padding:7px 10px;border:0;background:#f0f2ea}dialog h2{font-size:29px;letter-spacing:-.7px;margin:10px 0 14px}#modal-body{font-size:15px;line-height:1.6}#modal-body p{margin:8px 0 16px}#modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:22px;flex-wrap:wrap}video{display:block;width:100%;max-height:43dvh;border-radius:9px;background:#0d1410}.media-note{font-size:11px;color:var(--muted);margin-top:8px}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choices button{text-align:left;padding:18px;background:var(--paper);line-height:1.45}.choices button.correct,.item.selected{border:2px solid var(--green);background:#e6f1e8}.feedback{padding:12px 16px;border-left:3px solid var(--green);background:#eaf4ed;margin-top:12px;font-size:14px}.feedback.error{border-color:#bd4632;background:#fff0e9}.feedback.error.uv{box-shadow:inset 0 0 28px #a4ff0044}.inventory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.item{padding:10px;font-size:12px;line-height:1.25;position:relative}.item img{display:block;width:100%;height:90px;object-fit:contain;margin-bottom:8px}.item .check{position:absolute;top:6px;right:7px;color:var(--green);font-size:18px}.item-note{background:var(--paper);padding:12px 15px;border-radius:7px;margin:12px 0}.avatar{height:260px;position:relative;width:120px;margin:0 auto 12px}.avatar img{position:absolute;height:100%;width:100%;object-fit:contain}.clothes{display:grid;grid-template-columns:120px 1fr;gap:25px;align-items:center}.clothes .choices{grid-template-columns:1fr}.compare{position:relative;aspect-ratio:2/1;overflow:hidden;background:#212b25;border-radius:8px;touch-action:pan-y}.compare img{position:absolute;width:100%;height:100%;object-fit:cover}.compare .after{clip-path:inset(0 100% 0 0)}.compare .line{position:absolute;top:0;bottom:0;left:0;border-left:3px solid var(--yellow)}.compare-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}input[type=range]{width:100%;accent-color:var(--green);height:30px}label{display:block;font-size:13px;font-weight:650;margin:13px 0}input:not([type=checkbox]):not([type=range]){display:block;width:100%;padding:11px;border:1px solid #c5cec3;border-radius:6px;margin-top:5px}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px;vertical-align:middle;margin-right:9px}.record{padding:18px 22px;border:1px solid #b6bba9;border-top:9px solid var(--yellow);border-radius:8px;background:#fffef7}.record h3{margin:0}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:15px}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.result-grid div{background:var(--paper);padding:18px;border-radius:10px;font-size:12px}.result-grid strong{font-size:28px;display:block;color:var(--green)}.protocol-list li{margin:8px 0}#toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);padding:13px 22px;border-radius:10px;background:var(--ink);color:white;max-width:calc(100vw - 30px);font-size:13px;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}

dialog::backdrop{background:#07120dd9;backdrop-filter:none}dialog h2{line-height:1.12}.modal-top .eyebrow{color:#627064}#modal-actions .primary{color:#121810}.compare{aspect-ratio:2/1}.avatar{cursor:pointer}.avatar img{pointer-events:none}#toast{z-index:60;bottom:max(22px,env(safe-area-inset-bottom));background:#16281af2;border:1px solid #ffffff30}.feedback{animation:feedbackIn .2s ease-out}@keyframes feedbackIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){#objective{width:min(590px,calc(100% - 245px))}#view-controls{width:160px}#hud{top:20px;left:22px;right:22px}.mission-badge{gap:16px}.mission-badge>div{padding-left:16px}#objective h2{font-size:19px}}
@media(max-width:700px){#hud{top:max(16px,env(safe-area-inset-top));left:16px;right:16px;gap:10px}.brand{font-size:27px}.mission-badge{gap:12px}.mission-badge>div{padding-left:12px}.mission-badge strong{font-size:16px}.mission-badge .eyebrow{font-size:8px;letter-spacing:1.6px}.hud-tools{gap:5px}.hud-tools button,.cinema-pause,#view-controls button{height:34px;width:34px;font-size:16px}#objective{width:calc(100% - 32px);left:16px;bottom:max(16px,env(safe-area-inset-bottom));padding:13px 16px;max-height:35dvh;overflow:auto}#objective h2{font-size:18px;margin:6px 0}#objective p{font-size:12px;line-height:1.45}#objective .eyebrow{font-size:8px}#actions{margin-top:10px}#actions:empty{margin-top:0}#actions button{font-size:11px;padding:9px 13px}#view-controls{right:16px;bottom:calc(var(--objective-height,160px) + 30px);width:125px;gap:5px}#view-controls span{display:none}.hotspot,.hotspot360 button{font-size:11px;padding:10px 12px;max-width:200px}.hotspot{max-width:calc(50vw - 24px)}#welcome{padding-bottom:max(8vh,env(safe-area-inset-bottom))}.start-button{min-width:min(300px,calc(100vw - 40px));font-size:28px;padding:23px 55px}#welcome-note{font-size:11px;max-width:280px;line-height:1.5}#chapter{padding:26px}.chapter-content{padding-left:22px}#chapter .eyebrow{font-size:10px;letter-spacing:3px}#chapter h2{font-size:clamp(35px,10vw,70px);letter-spacing:-1.5px;margin:20px 0}#chapter p{font-size:14px}.chapter-line{margin-top:25px}.cinema-pause{top:16px;right:16px}#viewer-error{left:16px;top:80px;max-width:calc(100% - 32px)}dialog{width:calc(100vw - 24px);padding:18px;max-height:92dvh}dialog h2{font-size:24px}#modal-body{font-size:13px}.choices{grid-template-columns:1fr}.choices button{padding:14px}.inventory{grid-template-columns:repeat(2,minmax(0,1fr))}.item img{height:75px}.item{font-size:11px}.two-cols{grid-template-columns:1fr;gap:0}.record{padding:16px}.clothes{grid-template-columns:95px 1fr;gap:12px}.avatar{width:90px;height:240px}.result-grid{grid-template-columns:1fr}.result-grid div{padding:11px 16px}.result-grid strong{font-size:24px}.modal-top .eyebrow{font-size:9px}#modal-actions button{font-size:12px}#toast{font-size:12px;padding:12px 16px}}
@media(max-width:380px){.mission-badge .brand{display:none}.mission-badge>div{border:0;padding:0}.mission-badge strong{font-size:16px}}
@media(max-height:520px){#hud{top:12px;left:16px;right:16px}.mission-badge .brand{font-size:25px}.mission-badge strong{font-size:16px}.hud-tools button{width:32px;height:32px}#objective{bottom:12px;left:16px;padding:10px 15px;max-height:39dvh;width:min(590px,calc(100% - 200px))}#objective h2{font-size:16px;margin:4px 0}#objective p{font-size:11px;line-height:1.35}#actions{margin-top:7px}#actions button{padding:7px 10px;font-size:10px}#view-controls{right:16px;bottom:15px;width:140px}#view-controls span{display:none}#chapter{padding:20px}#chapter h2{font-size:clamp(28px,9vh,48px);margin:12px 0;letter-spacing:-1px}#chapter p{font-size:12px;line-height:1.4}.chapter-line{margin-top:16px}.chapter-content{padding-left:22px}#chapter .eyebrow{font-size:10px}#welcome{padding-bottom:25px}.start-button{padding:17px 50px;font-size:25px}#welcome-note{margin-top:12px;font-size:10px}}
#scene{z-index:0}#flat-spots{z-index:3}.scene-shade{z-index:1}.hotspot:active{transform:translate(-50%,-50%)}
.hotspot,.hotspot360 button{position:relative;min-height:60px;padding:17px 25px;border:3px solid white;border-radius:40px;font-size:16px;font-weight:750;line-height:1.25;max-width:min(310px,calc(100vw - 36px));background:#ffdb24;box-shadow:0 0 0 8px #ffd52c48,0 5px 24px #0008;animation:hotspotLight 1.6s ease-in-out infinite}
.hotspot{position:absolute;width:max-content}
.hotspot::after,.hotspot360 button::after{content:'';position:absolute;inset:-9px;border:3px solid #ffe65d;border-radius:inherit;pointer-events:none;animation:hotspotBeacon 1.6s ease-out infinite}
.hotspot:hover,.hotspot360 button:hover{background:#fff4a0}
.hotspot.is-reviewed{background:#ddf3d5;box-shadow:0 0 0 5px #b4f2a22b,0 4px 16px #0005;animation:none}.hotspot.is-reviewed::after,.hotspot.locked::after,.hotspot360.locked button::after{display:none}.hotspot.locked,.hotspot360.locked button{animation:none;background:#dfe4dc}
#scene.flat-pan{cursor:grab;touch-action:none}#scene.flat-pan:active{cursor:grabbing}
@keyframes hotspotBeacon{0%{opacity:.95;transform:scale(.95)}80%,100%{opacity:0;transform:scale(1.24,1.55)}}
@keyframes hotspotLight{0%,100%{background:#ffdb24;box-shadow:0 0 0 8px #ffd52c48,0 5px 24px #0008}50%{background:#fff49a;box-shadow:0 0 0 11px #ffe56670,0 0 35px #ffd52c95,0 5px 24px #0006}}
@media(max-width:700px){.hotspot,.hotspot360 button{min-height:52px;font-size:14px;padding:13px 18px;max-width:min(280px,calc(100vw - 36px))}}
@media(max-height:520px){.hotspot,.hotspot360 button{min-height:48px;font-size:14px;padding:12px 18px}}
@media(any-hover:hover) and (any-pointer:fine){#scene.flat-pan,#scene .pnlm-grab,#scene.pnlm-grab{cursor:default}}
.pnlm-hotspot.wet-floor-marker{width:0;height:0;background:none;border:0;border-radius:0;pointer-events:none;z-index:0}
.wet-floor-marker img{position:absolute;left:0;bottom:-4px;height:clamp(160px,25vh,240px);width:auto;max-width:none;transform:translateX(-50%);filter:drop-shadow(3px 5px 3px #0004);pointer-events:none;user-select:none}
.wet-floor-marker::before{content:'';position:absolute;bottom:-5px;left:0;width:105px;height:19px;transform:translateX(-50%);border-radius:50%;background:#111b1660;filter:blur(5px);pointer-events:none}
@media(max-width:700px){.wet-floor-marker img{height:clamp(145px,23vh,195px)}.wet-floor-marker::before{width:82px;height:15px}}
/* The marker is anchored on the object; its label sits above the anchor. */
.panorama-active>.scene-shade{display:none}
.panorama-active #scene::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,#09120f8c,transparent 27%,transparent 58%,#09120fc9)}
.pnlm-hotspot.hotspot360.action-marker{width:0;height:0;overflow:visible;pointer-events:none}
.hotspot360.action-marker button{box-sizing:border-box;position:absolute;left:0;bottom:25px;transform:translateX(-50%);width:max-content;min-width:250px;max-width:min(390px,calc(100vw - 40px));min-height:84px;padding:20px 28px;border:3px solid white;border-radius:42px;font-size:18px;font-weight:800;line-height:1.25;pointer-events:auto;animation:panoMarkerGlow 1.45s ease-in-out infinite}
.hotspot360.action-marker button:active{transform:translateX(-50%)}
.hotspot360.action-marker button::before{content:'';position:absolute;left:50%;bottom:-12px;transform:translateX(-50%);border-left:9px solid transparent;border-right:9px solid transparent;border-top:12px solid #ffe536;pointer-events:none}
.hotspot360.action-marker button::after{inset:-11px;border-width:3px;animation:panoMarkerHalo 1.45s ease-out infinite}
.hotspot360.action-marker::before{content:'';position:absolute;left:-6px;top:-6px;width:12px;height:12px;border:2px solid white;border-radius:50%;background:#ffdb24;box-shadow:0 0 0 5px #ffdb244a;pointer-events:none}
.hotspot360.action-marker::after{content:'';position:absolute;left:-1px;bottom:0;width:2px;height:25px;background:#ffe536;pointer-events:none}
.hotspot360.action-marker button:hover,.hotspot360.action-marker button:focus-visible{animation-play-state:paused;background:#fff6ab;box-shadow:0 0 0 11px #ffdc3466,0 0 34px #ffdc3480}
.hotspot360.action-marker.locked button{animation:none;min-width:170px;min-height:60px;font-size:15px;padding:15px 22px;background:#dfe4dc;box-shadow:0 0 0 5px #ffffff25,0 4px 20px #0006}
.hotspot360.action-marker.locked button::before{border-top-color:#dfe4dc}.hotspot360.action-marker.locked::before{background:#dfe4dc;box-shadow:none}.hotspot360.action-marker.locked::after{background:#dfe4dc}
@keyframes panoMarkerGlow{0%,100%{background:#ffdb24;box-shadow:0 0 0 9px #ffd52c60,0 6px 28px #0007}50%{background:#fff6ad;box-shadow:0 0 0 15px #ffe45b80,0 0 45px #ffd52ca0,0 6px 28px #0007}}
@keyframes panoMarkerHalo{0%{opacity:1;transform:scale(.97)}85%,100%{opacity:0;transform:scale(1.19,1.45)}}
@media(max-width:700px){.hotspot360.action-marker button{font-size:15px;min-width:195px;min-height:64px;max-width:min(290px,calc(100vw - 36px));padding:15px 20px}.hotspot360.action-marker.locked button{font-size:12px;min-width:135px;min-height:48px;padding:12px 16px}.hotspot360.action-marker button{bottom:20px}.hotspot360.action-marker::after{height:20px}}
@media(max-height:520px){.hotspot360.action-marker button{min-width:190px;max-width:300px;min-height:56px;font-size:14px;padding:13px 20px;bottom:18px}.hotspot360.action-marker::after{height:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Wireframes 001–011: entrance, circular beacons and glass message panels. */
#welcome{justify-content:center;gap:25px;padding:28px 20px;background:radial-gradient(ellipse at center,#0d170d05 15%,#08140a88 100%)}
.welcome-title{display:flex;flex-direction:column;align-items:center;margin:0;gap:16px;max-width:100%;filter:drop-shadow(0 5px 7px #0009)}
.welcome-brand{font:italic 900 clamp(68px,10vw,150px)/1 Georgia,serif;color:#ffdc24;-webkit-text-stroke:2px #342906;text-shadow:3px 4px #8e6d10,0 0 20px #ffe85a60}
.mission-plaque{display:flex;align-items:center;gap:18px;padding:16px 30px;border:3px solid #fff0a1;border-radius:50px;background:linear-gradient(#fff8a2,#ffdb25 48%,#c99a08);box-shadow:0 0 0 5px #171c18,0 0 0 8px #f5c925,inset 0 0 0 3px #b99a23;color:#16201a;font-size:clamp(19px,2.6vw,38px);font-style:italic;font-weight:900;letter-spacing:1px}
.mission-plaque>span{font-style:normal;border:2px solid #665b19;border-radius:50%;font-size:.7em;padding:3px}
.start-button{display:grid;place-items:center;min-width:0;width:142px;height:142px;padding:15px;border-radius:50%;border:4px solid #fff196;background:radial-gradient(circle,#ffe867,#f2c91d);box-shadow:0 0 0 7px #19271de6,0 0 0 11px #edc91c,0 0 0 17px #ffd52c40,0 8px 35px #0009;font-size:23px;letter-spacing:0;animation:startBeacon 2s ease-in-out infinite;margin-top:12px}
.start-button:hover{transform:scale(1.04)}#welcome-note{margin:0;padding:8px 16px;background:#102018b3;border-radius:20px;text-shadow:0 1px 3px #000}
@keyframes startBeacon{50%{box-shadow:0 0 0 7px #19271de6,0 0 0 11px #ffe565,0 0 0 23px #ffd52c18,0 0 45px #ffdb2455}}
#flat-spots .hotspot{width:126px;height:126px;min-height:0;max-width:126px;padding:15px;border-radius:50%;border:3px solid #f5d445;background:radial-gradient(circle at 40% 30%,#384335,#101910 80%);color:#fffbea;font-size:15px;font-weight:800;text-transform:uppercase;box-shadow:0 0 0 5px #152017cc,0 0 0 8px #dfbb2b,0 5px 22px #0009;animation:wireBeacon 1.8s ease-in-out infinite}
#flat-spots .hotspot::after{inset:-12px;border:2px solid #ffe24a;animation:wireRing 1.8s ease-out infinite}
#flat-spots .hotspot:hover{background:#3c4425}#flat-spots .hotspot.is-reviewed{background:#1d573d;border-color:#a9e3a2;animation:none;box-shadow:0 0 0 6px #9bdb9560,0 5px 18px #0008}
@keyframes wireBeacon{50%{box-shadow:0 0 0 6px #152017dd,0 0 0 10px #ffe14d,0 0 30px #ffd52c80}}
@keyframes wireRing{0%{opacity:.9;transform:scale(.97)}100%{opacity:0;transform:scale(1.25)}}
dialog[data-layout="awareness"]{width:min(850px,92vw);padding:30px 38px;color:#fffef0;border:2px solid #d5b63b;border-radius:8px 8px 28px 8px;background:linear-gradient(120deg,#27322deb,#1c2722e8);box-shadow:0 0 0 5px #ffd52c24,0 25px 90px #0008}
dialog[data-layout="awareness"]::backdrop{background:#08120b44;backdrop-filter:blur(2px)}dialog[data-layout="awareness"] h2{color:#ffe265;font-size:32px}dialog[data-layout="awareness"] #modal-body{font-size:19px;line-height:1.65}dialog[data-layout="awareness"] .modal-top .eyebrow{color:#e9d77b}dialog[data-layout="awareness"] #close-modal{background:#263c2c;color:white;border-color:#bba550}
#cinema-notice{position:absolute;inset:0;pointer-events:none;display:flex;align-items:center;flex-direction:column;justify-content:space-between;padding:7vh 7vw 5vh;text-align:center;color:white}
.alert-notice>strong{font-size:clamp(22px,3.6vw,54px);font-style:italic;line-height:1.15;padding:20px 40px;background:#b70d12d9;border:2px solid #ff6d6d;border-radius:22px;box-shadow:0 0 0 8px #ff383833,0 0 50px #f31313b3;text-shadow:0 2px 3px #820408;animation:alertGlow 2s ease-in-out infinite}
#cinema-notice.alert-notice{justify-content:flex-end}
#cinema-notice>p{max-width:850px;font-size:clamp(14px,1.7vw,23px);line-height:1.5;padding:14px 24px;background:#111d17d9;border-radius:12px;margin:15px 0 0}
#cinema-notice.risk-notice{justify-content:flex-end;padding-bottom:8vh}.risk-notice>strong{background:#b21717;border:2px solid #ffb99e;border-radius:28px;padding:10px 28px;font-size:clamp(22px,3vw,38px)}.risk-notice>p{border:2px solid #ffe49a}
@keyframes alertGlow{50%{box-shadow:0 0 0 12px #ff383819,0 0 65px #ff1010}}
@media(max-width:700px){#welcome{gap:26px}.welcome-title{gap:20px}.welcome-brand{font-size:72px}.mission-plaque{font-size:18px;padding:13px 20px;gap:10px}.start-button{width:116px;height:116px;font-size:19px;padding:12px}.mission-plaque>span{display:none}#flat-spots .hotspot{width:98px;height:98px;max-width:98px;font-size:12px;padding:10px}dialog[data-layout="awareness"]{padding:22px}dialog[data-layout="awareness"] h2{font-size:26px}dialog[data-layout="awareness"] #modal-body{font-size:16px}.alert-notice>strong{padding:16px 22px}}
@media(max-height:520px){#welcome{gap:13px;padding:15px}.welcome-title{gap:10px}.welcome-brand{font-size:58px}.mission-plaque{font-size:19px;padding:10px 23px}.start-button{width:90px;height:90px;font-size:16px;margin-top:6px}#welcome-note{font-size:10px;padding:5px 12px}#flat-spots .hotspot{width:80px;height:80px;max-width:80px;font-size:11px;padding:8px}}

/* Activity-specific layouts keep the character and inventory inside the viewport. */
dialog[data-layout="clothes"],dialog[data-layout="equipment"]{height:min(820px,94dvh);max-height:94dvh;padding:22px 28px;overflow:visible}
dialog[data-layout="clothes"]{width:min(1120px,94vw)}
dialog[data-layout="equipment"]{width:min(1560px,96vw)}
dialog[open][data-layout="clothes"],dialog[open][data-layout="equipment"]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}
dialog[data-layout="clothes"] #modal-title,dialog[data-layout="equipment"] #modal-title{margin:9px 0 14px;font-size:clamp(24px,2.1vw,32px)}
dialog[data-layout="clothes"] #modal-body,dialog[data-layout="equipment"] #modal-body{display:grid;min-height:0}
dialog[data-layout="clothes"] #modal-body{grid-template-rows:auto minmax(0,1fr)}
dialog[data-layout="equipment"] #modal-body{grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px}
dialog[data-layout="clothes"] #modal-body>.activity-intro,dialog[data-layout="equipment"] #modal-body>.activity-intro{margin:0 0 14px;line-height:1.45;font-size:14px}
dialog[data-layout="equipment"] #modal-body>.activity-intro{margin:0}
dialog[data-layout="clothes"] #modal-actions,dialog[data-layout="equipment"] #modal-actions{margin-top:12px}
dialog[data-layout="clothes"] #modal-actions:empty,dialog[data-layout="equipment"] #modal-actions:empty{display:none;margin:0}
dialog[data-layout="clothes"] .clothes{min-height:0;grid-template-columns:minmax(260px,.85fr) minmax(0,1fr);align-items:stretch;gap:30px}
.character-stage{position:relative;min-height:0;padding:14px 24px 35px;border:1px solid #e0e6d9;border-radius:16px;background:radial-gradient(ellipse at 50% 40%,#fff6c5,#f0f3e8 65%);overflow:hidden}
dialog[data-layout="clothes"] .avatar{width:100%;height:100%;margin:0}
.character-caption{position:absolute;bottom:13px;left:10px;right:10px;text-align:center;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;font-weight:700;color:#72775e}
.clothes-controls{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:12px 0}
.clothes-controls>.eyebrow{font-size:10px;color:#67735b}
.clothes-controls h3{font-size:25px;line-height:1.12;letter-spacing:-.5px;margin:10px 0}
.clothes-controls>p{color:#626b65;font-size:13px}
dialog[data-layout="clothes"] .choices{gap:12px}
dialog[data-layout="clothes"] .choices button{min-height:66px;padding:18px 22px;font-size:16px;background:#f6f8f1;border-color:#d7dfce;border-radius:10px}
dialog[data-layout="clothes"] .choices button:disabled{opacity:1;color:#23633f;background:#e8f3e4;border-color:#91b58c}
dialog[data-layout="clothes"] #clothes-status{padding:12px 16px;border-radius:9px;background:#edf2e7;color:#40603b;font-size:13px;line-height:1.4;margin:16px 0 0}
dialog[data-layout="equipment"] .inventory{min-height:0;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
dialog[data-layout="equipment"] .item{min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;gap:10px;font-size:13px;border-radius:11px}
dialog[data-layout="equipment"] .item img{flex:1 1 auto;width:100%;height:0;min-height:24px;max-height:145px;object-fit:contain;margin:0}
dialog[data-layout="equipment"] .item>span:not(.check){flex:0 0 auto;line-height:1.25;max-width:100%}
dialog[data-layout="equipment"] .item .check{top:9px;right:10px}
dialog[data-layout="equipment"] #item-note{min-height:64px;margin:0;padding:12px 16px;font-size:13px;line-height:1.45;border:1px solid #e1e7da;display:flex;align-items:center}
dialog[data-layout="equipment"] #inventory-status{margin:0;font-size:12px;line-height:1.4;color:#53644d}
@media(max-width:1050px){dialog[data-layout="clothes"] .clothes{grid-template-columns:minmax(210px,.8fr) minmax(0,1fr);gap:22px}dialog[data-layout="equipment"] .inventory{gap:9px}dialog[data-layout="equipment"] .item{font-size:12px;padding:9px;gap:8px}}
@media(max-width:900px){dialog[data-layout="equipment"] .inventory{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}dialog[data-layout="equipment"] .item img{max-height:110px}}
@media(max-width:700px){dialog[data-layout="clothes"],dialog[data-layout="equipment"]{width:calc(100vw - 20px);padding:16px 14px;height:min(820px,95dvh);max-height:95dvh}dialog[data-layout="clothes"] #modal-title,dialog[data-layout="equipment"] #modal-title{font-size:23px;margin:8px 0 12px}dialog[data-layout="clothes"] #modal-body>.activity-intro,dialog[data-layout="equipment"] #modal-body>.activity-intro{font-size:12px}dialog[data-layout="clothes"] .clothes{grid-template-columns:minmax(105px,.75fr) minmax(0,1fr);gap:13px}.character-stage{padding:8px 6px 34px;border-radius:10px}.character-caption{font-size:8px;line-height:1.4;letter-spacing:.7px;bottom:10px}.clothes-controls{padding:0}.clothes-controls>.eyebrow{font-size:8px;letter-spacing:1px}.clothes-controls h3{font-size:18px;margin:8px 0}.clothes-controls>p{font-size:11px}dialog[data-layout="clothes"] .choices{gap:9px}dialog[data-layout="clothes"] .choices button{font-size:13px;min-height:54px;padding:12px}dialog[data-layout="clothes"] #clothes-status{font-size:11px;padding:10px;margin-top:12px}dialog[data-layout="equipment"] #modal-body{gap:9px}dialog[data-layout="equipment"] .inventory{gap:7px}dialog[data-layout="equipment"] .item{font-size:11px;padding:7px;gap:5px}dialog[data-layout="equipment"] .item img{min-height:20px;max-height:90px}dialog[data-layout="equipment"] #item-note{font-size:12px;padding:10px;min-height:70px}dialog[data-layout="equipment"] #inventory-status{font-size:11px}dialog[data-layout="equipment"] .item .check{font-size:16px;right:5px;top:4px}}
@media(max-height:700px) and (min-width:701px){dialog[data-layout="clothes"],dialog[data-layout="equipment"]{padding:16px 22px}dialog[data-layout="clothes"] #modal-title,dialog[data-layout="equipment"] #modal-title{font-size:24px;margin:5px 0 9px}dialog[data-layout="clothes"] .choices button{min-height:52px;padding:12px 17px;font-size:14px}dialog[data-layout="clothes"] .choices{gap:8px}.clothes-controls h3{font-size:21px;margin:7px 0}.clothes-controls>p{margin:4px 0 10px!important}.clothes-controls{padding:0}dialog[data-layout="clothes"] #clothes-status{margin-top:10px;padding:9px 12px}dialog[data-layout="equipment"] .item img{max-height:86px}dialog[data-layout="equipment"] #modal-body{gap:8px}dialog[data-layout="equipment"] #item-note{padding:9px 13px;font-size:12px;min-height:52px}}
@media(max-width:700px) and (max-height:700px){dialog[open][data-layout="clothes"]{display:block;height:auto;overflow:auto}dialog[data-layout="clothes"] .clothes{min-height:320px}dialog[data-layout="clothes"] .avatar{height:300px}dialog[data-layout="equipment"] .inventory{grid-template-rows:repeat(3,minmax(64px,1fr))}dialog[data-layout="equipment"]{overflow:auto}dialog[data-layout="equipment"] #modal-body{min-height:350px}}
/* The cart is the destination of each selection, with a final assembled state. */
dialog[data-layout="equipment"] .cart-workbench{grid-template-columns:minmax(135px,170px) minmax(0,1fr) minmax(135px,170px);grid-template-rows:repeat(5,minmax(0,1fr));gap:10px;padding:12px;border:1px solid #b9a34d;border-radius:16px;background:#e7e5d9}
.cart-stage{position:relative;grid-column:2;grid-row:1/6;min-width:0;min-height:0;overflow:hidden;border-radius:12px;background:#deddd4 url('assets/fondo-seleccion-carrito.jpg') center/cover}
.cart-stage .empty-cart{width:100%;height:100%;object-fit:fill;display:block}.cart-load{position:absolute;inset:0;pointer-events:none}
.loaded-item,.final-item{position:absolute;width:12%;height:22%;object-fit:contain;filter:drop-shadow(1px 3px 2px #0004)}
.load-esponja-no-abrasiva{left:32%;top:25%;width:9%;height:12%}.load-guantes{left:62%;top:30%;height:27%}.load-cubeta{left:26%;top:56%;width:19%;height:31%}.load-trapero{left:16%;top:29%;height:55%;width:17%;transform:rotate(-14deg)}.load-senalizacion{left:60%;top:53%;width:16%;height:32%}.load-trapos{left:45%;top:54%;width:15%;height:17%}.load-jabon-y-desionfectante{left:43%;top:70%;width:17%;height:19%}.load-papel-higienico-y-toallas{left:44%;top:13%;width:20%;height:23%}
.cart-badge{position:absolute;top:10px;left:50%;transform:translateX(-50%);padding:8px 16px;background:#172a20ed;color:#ffe779;border:1px solid #edcd45;border-radius:25px;white-space:nowrap;font-size:12px;font-weight:800}
.cart-stage .full-cart{position:absolute;inset:0;width:100%;height:100%;animation:cartReady .45s ease-out}.cart-stage.is-full>.empty-cart,.cart-stage.is-full>.cart-load{visibility:hidden}
dialog[data-layout="equipment"] .cart-workbench .item{grid-column:var(--item-column);grid-row:var(--item-row);flex-direction:row;justify-content:flex-start;text-align:left;gap:8px;padding:7px;border:2px solid #d7be50;background:#fffdf2;font-size:12px;opacity:1}
dialog[data-layout="equipment"] .cart-workbench .item img{flex:0 0 43%;width:43%;height:100%;max-height:75px;min-height:0}.cart-workbench .item .check{font-size:17px!important;top:0!important;right:4px!important}
dialog[data-layout="equipment"] .cart-workbench .item.selected{background:#d9e9d5;border-color:#428453;color:#285b36}.cart-workbench .item.selected img{opacity:.5}
dialog[data-layout="equipment"] .cart-workbench .item.excluded{filter:grayscale(1);background:#ddd;border-color:#999;color:#666}.cart-workbench .item.excluded img{opacity:.35}
dialog[data-layout="equipment"] #item-note.rejected{border:2px solid #a03d2e;background:#fff0e9;color:#8a2a1d}
.flying-item{position:fixed;object-fit:contain;pointer-events:none;z-index:100;filter:drop-shadow(0 5px 10px #0006)}.just-loaded{animation:cartReady .35s ease-out}
dialog[data-layout="equipment"] .cart-workbench .item>span:not(.check){flex:1 1 0;min-width:0;overflow-wrap:anywhere;font-size:inherit;line-height:1.2}
@keyframes cartReady{from{opacity:0;translate:0 -12px}to{opacity:1;translate:0 0}}
@media(max-width:900px){dialog[data-layout="equipment"] .cart-workbench{grid-template-columns:100px minmax(0,1fr) 100px;padding:7px;gap:6px}dialog[data-layout="equipment"] .cart-workbench .item{flex-direction:column;text-align:center;font-size:10px;gap:3px;padding:5px}dialog[data-layout="equipment"] .cart-workbench .item img{flex:1 1 auto;width:100%;height:0;min-height:15px;max-height:56px}}
@media(max-width:600px){dialog[data-layout="equipment"] .cart-workbench{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(110px,1.4fr) repeat(3,minmax(48px,1fr));padding:5px;gap:5px}.cart-stage{grid-column:1/4;grid-row:1}.cart-stage .empty-cart{object-fit:contain}.cart-load{left:15%;right:15%}.cart-badge{font-size:9px;top:4px;padding:4px 9px}dialog[data-layout="equipment"] .cart-workbench .item{grid-column:auto;grid-row:auto;flex-direction:row;text-align:left;font-size:9px;padding:4px;gap:4px}dialog[data-layout="equipment"] .cart-workbench .item img{flex:0 0 38%;width:38%;height:40px;min-height:0;max-height:44px}dialog[data-layout="equipment"] #item-note{min-height:60px;font-size:11px;padding:7px}dialog[data-layout="equipment"] #modal-body{gap:6px;min-height:0}dialog[data-layout="equipment"] .activity-intro{font-size:11px!important}dialog[data-layout="equipment"] #inventory-status{font-size:10px}dialog[data-layout="equipment"] #modal-title{font-size:21px;margin:5px 0 8px}dialog[data-layout="equipment"] #modal-actions{margin-top:8px}dialog[data-layout="equipment"] #modal-actions button{font-size:11px;padding:10px}}

@media(max-height:700px) and (min-width:601px){dialog[data-layout="equipment"] .cart-workbench .item{font-size:10px;padding:3px;gap:4px}dialog[data-layout="equipment"] .cart-workbench .item img{flex:0 0 33%;width:33%;max-height:38px}dialog[data-layout="equipment"] .cart-workbench .item>span:not(.check){line-height:1.1}}
@media(max-width:600px){dialog[data-layout="equipment"] .cart-workbench .item{flex-direction:column;text-align:center;font-size:10px;gap:3px}dialog[data-layout="equipment"] .cart-workbench .item img{flex:1 1 auto;width:100%;height:0;min-height:12px;max-height:44px}dialog[data-layout="equipment"] .cart-workbench .item>span:not(.check){flex:0 0 auto;overflow-wrap:normal}}
@media(max-width:360px){dialog[data-layout="equipment"] .cart-workbench .item{font-size:9px;padding:3px;gap:1px}dialog[data-layout="equipment"] .cart-workbench .item img{min-height:0;max-height:22px}dialog[data-layout="equipment"] .cart-workbench .item>span:not(.check){line-height:1.05}}
/* Exact supplied opening artwork; the real button follows its image coordinates. */
#welcome{display:grid;place-items:center;padding:0;gap:0;background:#101511}
.welcome-art{position:relative;width:min(100vw,177.777778dvh);height:min(100dvh,56.25vw);background:url('assets/inicio-referencia.jpg') center/100% 100% no-repeat}
#welcome .start-button{position:absolute;left:44.7%;top:68%;width:10.7%;height:18.8%;min-width:0;min-height:0;max-width:none;margin:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;animation:none;transform:none;color:transparent;transition:box-shadow .2s}
#welcome .start-button:hover{background:transparent;transform:none;box-shadow:0 0 24px 5px #ffe14580}
#welcome .start-button:focus-visible{outline:4px solid white;outline-offset:7px;box-shadow:0 0 30px 8px #ffe14590}
dialog[data-layout="equipment"]{width:min(1360px,96vw)}
dialog[data-layout="equipment"] .cart-workbench{grid-template-columns:minmax(135px,160px) minmax(0,1fr) minmax(135px,160px);background:#eee9df}
.cart-stage{background:#e6dfd4}
.cart-image{display:block;width:100%;height:100%;object-fit:contain;user-select:none;pointer-events:none}
.cart-stage.is-full>.cart-image{visibility:visible}
#cart-image-retry{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:90%;background:#ffdf43;color:#192319;font-size:13px}
@media(max-width:900px){dialog[data-layout="equipment"] .cart-workbench{grid-template-columns:100px minmax(0,1fr) 100px}}
@media(max-width:600px){dialog[data-layout="equipment"] .cart-workbench{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Before / after review reserves space for all controls within the viewport. */
dialog[data-layout="compare"]{width:min(1100px,96vw);height:min(900px,94dvh);max-height:94dvh;padding:22px 28px;overflow:hidden}
dialog[open][data-layout="compare"]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:10px}
dialog[data-layout="compare"] #modal-title{font-size:clamp(22px,2.1vw,32px);line-height:1.12;margin:0}
dialog[data-layout="compare"] #modal-body{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto;gap:7px;min-width:0;min-height:0;font-size:14px;line-height:1.45}
dialog[data-layout="compare"] #modal-body>p{margin:0}
dialog[data-layout="compare"] .compare{aspect-ratio:auto;min-height:0;height:100%;background:#e4e7df}
dialog[data-layout="compare"] .compare img{object-fit:contain}
dialog[data-layout="compare"] label{margin:0;font-size:13px}
dialog[data-layout="compare"] input[type="range"]{margin:0;height:28px;min-height:28px}
dialog[data-layout="compare"] #compare-status{font-size:12px;color:#52614e}
dialog[data-layout="compare"] #modal-actions{margin:0}
dialog[data-layout="compare"] #modal-actions button{font-size:13px;padding:12px 20px}
.floor-choices button{border:2px solid #d8bf55;background:#fffdf0;min-height:95px}
.floor-choices strong,.floor-choices span{display:block}.floor-choices strong{font-size:20px;color:#183525}.floor-choices span{font-size:13px;color:#586557;margin-top:7px}.floor-progress{color:#246444;font-size:12px;font-weight:700}
dialog[data-layout="floor"]{width:min(720px,94vw)}
dialog[data-layout="floor"] #modal-actions:empty{display:none;margin:0}
dialog[data-layout="checklist"]{width:min(1000px,96vw);height:min(800px,95dvh);max-height:95dvh;padding:20px 26px;overflow:hidden}
dialog[open][data-layout="checklist"]{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:10px}
dialog[data-layout="checklist"] #modal-title{margin:0;font-size:28px;line-height:1.1}
dialog[data-layout="checklist"] #modal-body,.checklist-sheet{min-height:0;height:100%}
.checklist-sheet{display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;border-top:5px solid #ffdb2b;padding-top:10px}
dialog[data-layout="checklist"] .checklist-instruction{margin:0;font-size:13px;line-height:1.3}
#record-form{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:10px;min-height:0}
.checklist-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
.checklist-fields label{margin:0;font-size:12px;min-width:0}
.checklist-fields input:not([type="checkbox"]){min-width:0;width:100%;height:36px;padding:7px 10px;margin-top:4px}
.checklist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:8px;border:0;padding:0;margin:0;min-width:0;min-height:0}
.checklist-grid .checklist-row{display:flex;align-items:center;gap:9px;margin:0;padding:10px 12px;border:1px solid #d4dbce;border-radius:9px;background:#f8f9f3;font-size:13px;line-height:1.3;min-width:0;min-height:0;cursor:pointer}
.checklist-row input[type="checkbox"]{flex:0 0 auto;width:19px;height:19px;margin:0}.checklist-row span{min-width:0}.checklist-row.is-checked{border-color:#3a8754;background:#e7f3e5;color:#205b35}
.checklist-footer{display:flex;flex-direction:column;gap:4px}.checklist-footer #checklist-count{font-size:12px;font-weight:700;color:#245b39}.checklist-footer small{font-size:10px;line-height:1.3;color:#63705e}
#record-form>button{justify-self:end;font-size:13px;padding:11px 22px}dialog[data-layout="checklist"] #modal-actions{display:none}
.record-summary{padding:0;list-style:none;display:grid;gap:8px;font-size:13px;line-height:1.35}
@media(max-width:600px){dialog[data-layout="checklist"]{padding:12px}dialog[open][data-layout="checklist"]{gap:7px}dialog[data-layout="checklist"] #modal-title{font-size:22px}.checklist-sheet{gap:6px;padding-top:7px}.checklist-fields{gap:6px 8px}.checklist-fields label{font-size:10px}.checklist-fields input:not([type="checkbox"]){height:31px;padding:5px;font-size:11px;margin-top:3px}.checklist-grid{gap:5px}.checklist-grid .checklist-row{padding:6px;font-size:11px;line-height:1.2;gap:6px}.checklist-row input[type="checkbox"]{width:16px;height:16px}.checklist-footer small{font-size:9px}dialog[data-layout="checklist"] .checklist-instruction{font-size:11px}#record-form{gap:7px}#record-form>button{width:100%;font-size:12px;padding:9px}.checklist-footer #checklist-count{font-size:11px}}
@media(max-width:360px) and (max-height:650px){.checklist-grid .checklist-row{font-size:10px;padding:4px;gap:4px}.checklist-row input[type="checkbox"]{width:14px;height:14px}.checklist-footer small{font-size:8px}dialog[data-layout="checklist"] #modal-title{font-size:20px}.checklist-sheet{gap:4px}#record-form{gap:5px}}
@media(max-width:360px) and (max-height:650px){.checklist-fields input:not([type="checkbox"]){height:28px}.checklist-grid .checklist-row{padding:2px;line-height:1.15}.checklist-sheet{gap:3px}#record-form{gap:4px}}
@media(max-width:600px){dialog[data-layout="floor"]{padding:14px}dialog[data-layout="floor"] h2{font-size:22px;margin:8px 0 12px}dialog[data-layout="floor"] #modal-body{font-size:12px;line-height:1.4}dialog[data-layout="floor"] #modal-body p{margin:0 0 10px}dialog[data-layout="floor"] .floor-choices button{min-height:64px;padding:10px 12px}dialog[data-layout="floor"] .floor-choices strong{font-size:17px}dialog[data-layout="floor"] .floor-choices span{font-size:11px;margin-top:4px}}
.wet-floor-marker img{height:clamp(90px,12vh,120px);bottom:0;filter:brightness(.85) saturate(.8) drop-shadow(1px 3px 2px #0005)}
.wet-floor-marker::before{width:55px;height:10px;bottom:-3px;filter:blur(2px)}
dialog[data-layout="checklist-complete"]{width:min(900px,96vw);max-height:95dvh;padding:24px;overflow:auto}
dialog[data-layout="checklist-complete"] #modal-title{margin:12px 0;font-size:28px}
.completed-checklist{display:grid;gap:14px}
.completed-badge{display:block;background:#e7f3e5;color:#205b35;border:1px solid #3a8754;border-radius:10px;padding:12px;font-size:16px}
.completed-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.completed-details dt{font-size:11px;color:#63705e}.completed-details dd{font-size:13px;font-weight:700;margin:4px 0 0;overflow-wrap:anywhere}
.completed-checks{list-style:none;grid-template-rows:repeat(4,minmax(48px,1fr))}
.completed-tick{font-size:23px;font-weight:800;flex:0 0 auto}
.completed-note{font-size:11px!important;line-height:1.4!important;margin:0!important;color:#63705e}
@media(max-width:600px){dialog[data-layout="checklist-complete"]{padding:14px}dialog[data-layout="checklist-complete"] #modal-title{font-size:22px;margin:8px 0}.completed-checklist{gap:9px}.completed-badge{font-size:13px;padding:9px}.completed-details{grid-template-columns:1fr;gap:5px}.completed-details div{display:grid;grid-template-columns:100px 1fr;gap:5px}.completed-details dd{font-size:11px;margin:0}.completed-details dt{font-size:10px}.completed-checks{gap:5px;grid-template-rows:repeat(4,minmax(50px,1fr))}.completed-checks .checklist-row{font-size:10px;padding:5px;gap:5px}.completed-tick{font-size:18px}dialog[data-layout="checklist-complete"] #modal-actions{gap:6px;margin-top:10px}dialog[data-layout="checklist-complete"] #modal-actions button{font-size:11px;padding:9px 12px}.completed-note{font-size:9px!important}}
@media(max-width:360px) and (max-height:650px){dialog[data-layout="checklist-complete"]{padding:10px}dialog[data-layout="checklist-complete"] #modal-title{font-size:20px;margin:6px 0}.completed-checklist{gap:6px}.completed-checks{grid-template-rows:repeat(4,minmax(42px,1fr))}.completed-badge{padding:7px}.completed-details{gap:3px}dialog[data-layout="checklist-complete"] #modal-actions{margin-top:6px}dialog[data-layout="checklist-complete"] #modal-actions button{padding:7px 9px}}
dialog[data-layout="success"]{width:min(820px,96vw);max-height:96dvh;padding:22px 32px;background:#171b18;color:#fff;border:1px solid #dfb93b;box-shadow:0 25px 100px #0009;overflow:auto}
dialog[data-layout="success"] .modal-top .eyebrow{color:#ffdb2b}dialog[data-layout="success"] #modal-title{text-align:center;color:#ffdb2b;font-size:32px;margin:8px 0 12px}
.success-content{text-align:center;display:grid;justify-items:center;gap:10px}.success-brand{font:italic 900 56px/1 Georgia,serif;color:#ffdb2b;letter-spacing:-3px}.success-medal{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;border:2px solid #ffdb2b;background:#ffdb2b;color:#171b18;font-size:34px;box-shadow:0 0 0 6px #ffdb2b19}
dialog[data-layout="success"] p{margin:0}.success-congrats{font-size:24px;font-weight:800}.success-lead{font-size:14px;color:#e7e7df}.success-stats{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:6px 0}.success-stats div{display:grid;gap:6px;padding:14px 8px;background:#ffffff09;border:1px solid #ffdb2b55;border-radius:12px}.success-stats strong{font-size:30px;line-height:1;color:#ffdb2b}.success-stats span{font-size:11px}.success-message{max-width:600px;font-size:14px;line-height:1.5}.success-status{font-size:12px;color:#ffdb2b}.success-note{font-size:10px;line-height:1.4;color:#b5bbb4;max-width:640px}
dialog[data-layout="success"] #modal-actions{justify-content:center;gap:8px;margin-top:18px}dialog[data-layout="success"] #modal-actions button{font-size:12px;padding:12px 16px;background:#272d27;color:#fff;border-color:#ffffff45}dialog[data-layout="success"] #modal-actions .primary{background:#ffdb2b;color:#171b18;border-color:#ffdb2b}
@media(max-width:600px){dialog[data-layout="success"]{padding:14px}dialog[data-layout="success"] #modal-title{font-size:24px;margin:6px 0 10px}.success-content{gap:8px}.success-brand{font-size:42px}.success-medal{width:42px;height:42px;font-size:25px}.success-congrats{font-size:18px}.success-lead,.success-message{font-size:12px}.success-stats{gap:5px;margin:2px 0}.success-stats div{padding:10px 4px}.success-stats strong{font-size:24px}.success-stats span{font-size:9px}.success-status{font-size:10px}.success-note{font-size:9px}dialog[data-layout="success"] #modal-actions{margin-top:12px}dialog[data-layout="success"] #modal-actions button{padding:9px 10px;font-size:10px}dialog[data-layout="success"] #modal-actions .primary{width:100%}}
@media(max-height:750px){dialog[data-layout="success"]{padding:12px 20px}dialog[data-layout="success"] #modal-title{font-size:24px;margin:5px 0}.success-content{gap:6px}.success-brand{font-size:38px}.success-medal{width:36px;height:36px;font-size:24px}.success-congrats{font-size:18px}.success-lead,.success-message{font-size:12px;line-height:1.4}.success-stats{margin:0}.success-stats div{padding:9px 5px}.success-stats strong{font-size:24px}.success-stats span{font-size:9px}.success-status{font-size:10px}.success-note{font-size:9px}dialog[data-layout="success"] #modal-actions{margin-top:10px}dialog[data-layout="success"] #modal-actions button{padding:8px 10px;font-size:10px}}
.panorama-active #left,.panorama-active #right{display:none}
@media(any-hover:hover) and (any-pointer:fine){#scene.flat-pan,#scene .pnlm-grab,#scene.pnlm-grab{cursor:grab}#scene.flat-pan:active,#scene .pnlm-grabbing,#scene.pnlm-grabbing{cursor:grabbing}}
@media(max-width:600px){dialog[data-layout="compare"]{width:96vw;height:96dvh;max-height:96dvh;padding:14px}dialog[open][data-layout="compare"]{gap:8px}dialog[data-layout="compare"] #modal-title{font-size:22px}dialog[data-layout="compare"] #modal-body{font-size:12px;gap:6px}dialog[data-layout="compare"] label{font-size:12px}dialog[data-layout="compare"] #modal-actions button{width:100%;font-size:12px;padding:11px}}
@media(max-height:520px){dialog[data-layout="compare"]{height:96dvh;max-height:96dvh;padding:10px 16px}dialog[open][data-layout="compare"]{gap:5px}dialog[data-layout="compare"] #modal-title{font-size:20px}dialog[data-layout="compare"] #modal-body{font-size:11px;line-height:1.3;gap:3px}dialog[data-layout="compare"] .modal-top button{padding:4px 8px}dialog[data-layout="compare"] .modal-top .eyebrow{font-size:8px}dialog[data-layout="compare"] label,dialog[data-layout="compare"] #compare-status{font-size:10px}dialog[data-layout="compare"] input[type="range"]{height:24px;min-height:24px}dialog[data-layout="compare"] #modal-actions button{font-size:11px;padding:8px 14px}}
dialog[data-layout="success"] #modal-body p{margin:0}
@media(max-width:360px) and (max-height:650px){dialog[data-layout="success"]{padding:10px 12px}dialog[data-layout="success"] #modal-title{font-size:21px;margin:4px 0}.success-brand{font-size:32px}.success-content{gap:4px}.success-congrats{font-size:16px}.success-message,.success-lead{font-size:11px}.success-stats div{padding:7px 3px}.success-stats strong{font-size:21px}.success-note{font-size:8px;line-height:1.25}.success-medal{width:30px;height:30px;font-size:20px}dialog[data-layout="success"] #modal-actions{margin-top:7px;gap:5px}}
.success-logo-panel{width:min(280px,78%);padding:22px 26px;background:#ffdb2b;border-radius:12px;margin:4px 0 8px}.success-logo{display:block;width:100%;height:auto;object-fit:contain}@media(max-height:750px),(max-width:600px){.success-logo-panel{width:210px;padding:16px 20px;margin:2px 0 5px}}@media(max-width:360px) and (max-height:650px){.success-logo-panel{width:180px;padding:12px 18px;margin:0 0 4px}}
