/* Shared game shell */
.stage-host{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#d8cbb9 transparent}
.stage-root{min-height:100%;display:flex;flex-direction:column;gap:0;padding-bottom:2px}
.stage-root>.browser-window{flex:1;min-height:400px}
.stage-root>.inspector{margin-bottom:0}.stage-root>.advanced-editor{margin-bottom:5px}
.workspace-toolbar{gap:4px}.reference-button{background:#fff8ed;border-color:#ddc4a5;color:#91603d}.unread-dot{width:5px;height:5px;display:inline-block;border-radius:50%;background:#c78358}.unread-dot.read{visibility:hidden}
.level-picker{display:flex;align-items:center;gap:7px;font-size:10px;color:#967d65}.level-picker select{max-width:200px;border:1px solid #ddcdbb;border-radius:5px;background:#fffaf3;color:#80664c;padding:4px;font-size:11px}.app-footer .footer-tagline{display:none}.level-dots i.complete{background:#b7a080}.level-dots i.current{box-shadow:0 0 0 2px #f7f0e7,0 0 0 3px #bb8264}
.message-body{white-space:pre-line}.reference-link{border:1px solid #e2d2c0;background:#faf3e9;border-radius:6px;color:#987553;font-size:12px;padding:9px 13px;margin:0 0 20px 26px}.client-name{min-width:0}.client-name>span{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mini-app{flex:1;min-height:550px;display:flex;flex-direction:column;border:1px solid #dbd2c5;border-radius:0 9px 9px 9px;background:#fffaf3;overflow:hidden;color:#574c40}
.mini-title{min-height:43px;display:flex;align-items:center;gap:16px;padding:10px 17px;border-bottom:1px solid #e2d8ca;background:#eee8df;font-size:12px;flex-shrink:0}.mini-title strong{font-weight:500}.window-dots{font:10px Arial;color:#bba390;letter-spacing:3px}.app-pill{margin-left:auto;border:1px solid #d9cdbd;color:#9f886e;padding:3px 6px;font:9px Arial;letter-spacing:.08em;border-radius:4px;white-space:nowrap}
.stage-root:not([data-stage="audio"]):not([data-stage="pipes"]):not([data-stage="files"]):not([data-stage="video"]):not([data-stage="robot"]):not([data-stage="finale"]) button:not(.editable):not(.color-swatch):not(.floor-cell):not(.seat):not(.file-card):not(.gear-choice):not(.audio-region),.version-bar button{min-height:36px;border:1px solid var(--scene-line,#d6c6b3);border-radius:var(--scene-radius,5px);padding:7px 12px;background:var(--scene-control,#fffcf6);color:var(--scene-ink,#785e48);font:12px var(--scene-font,var(--font))}
.stage-root:not([data-stage="audio"]):not([data-stage="pipes"]):not([data-stage="files"]):not([data-stage="video"]):not([data-stage="robot"]):not([data-stage="finale"]) button:hover:not(:disabled){border-color:var(--scene-accent,#b68561);background-color:var(--scene-hover,#f5e9d8)}.stage-root button.chosen,.stage-root .chosen{border-color:var(--scene-accent,#b6815e)!important;box-shadow:0 0 0 2px var(--scene-ring,#bc875833);background-color:var(--scene-selected,#f7ebd8)}
.stage-tools{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;border:0;border-top:1px solid #e4d8c9;background:#f7f0e6;padding:14px 18px;margin:0;flex-shrink:0}.tool-label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#8b745c}.tool-label select,.tool-label input{min-height:36px;border:1px solid #d8c5ae;border-radius:5px;background:#fffdf9;padding:5px 8px;color:#66513f;max-width:180px;font:13px var(--font)}.tool-label input{width:105px}
.stage-note{margin:0;padding:10px 18px;min-height:41px;font-size:11px;line-height:1.8;color:#90775d;border-top:1px solid #e9dfd0;background:#fffaf3;flex-shrink:0}
.refs-dialog{width:680px;max-width:calc(100vw - 24px);max-height:85dvh}.refs-dialog h2{font-size:24px}.reference-clues{padding-left:22px;font-size:14px;line-height:1.9}.reference-clues li{margin:12px 0}.public-note,.mail-reference,.floor-photo,.storyboard,.version-reference{padding:20px;border:1px solid #e2d0b8;border-radius:6px;background:#f8eddd;font-size:14px;line-height:1.9;margin:20px 0}.mail-reference>span,.storyboard>span{font-size:11px;color:#a08263}.mail-reference strong{display:block;padding:8px 12px;background:#ece2cc;color:#766847}.brand-reference{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:20px}.brand-chip{background:#b65c3d;color:white;padding:10px 15px;border-radius:4px;font-size:13px}.people-notes{display:grid;grid-template-columns:1fr 1fr;gap:9px}.people-notes article{padding:13px;background:#fbf2df;border:1px solid #dfc9a5;border-radius:3px;font-size:13px}.people-notes p{margin:6px 0 0}.campaign-summary{display:flex;flex-direction:column;gap:6px;text-align:left;max-height:320px;overflow:auto;margin-bottom:20px}.campaign-summary button{border:1px solid #e2d1ba;background:#f9f0e3;color:#8c6748;padding:8px;text-align:left;font-size:12px;border-radius:4px}
/* 02 / wardrobe */
.hero-room{flex:1;min-height:260px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:15px;background:linear-gradient(0deg,#d9c3a4 0 15%,#efe2cb 15% 18%,#f4ead8 18%);padding:25px 45px 10px;position:relative}.quest-poster{align-self:center}.quest-poster small{font-size:10px;letter-spacing:.16em;color:#ab7d55}.quest-poster h3{font:700 28px/1.7 'Noto Serif JP',serif;margin:10px 0;color:#84623f}.quest-poster p{font-size:12px;color:#9f805e}.quest-poster button{margin-top:8px}.hero-mirror{position:relative;display:grid;place-items:center;max-width:255px;width:100%;margin:auto;border:9px solid #c5a884;border-bottom-width:18px;border-radius:70px 70px 0 0;background:#dfded0;min-height:255px;box-shadow:inset 0 0 0 3px #b79975,4px 4px #ba9b7533}.pixel-hero{width:210px;height:225px;stroke:none;fill:none;image-rendering:pixelated;overflow:visible;position:relative;z-index:1}.mirror-label{position:absolute;bottom:-14px;font:8px monospace;color:#75573d;letter-spacing:.14em}.pixel-floor{position:absolute;bottom:12px;left:20%;right:20%;height:12px;border-radius:50%;background:#9e927c36}
.gear-rack{padding:15px 24px;display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;background:#fff9ed}.gear-row{display:grid;grid-template-columns:60px repeat(3,1fr);align-items:center;gap:5px}.gear-row>strong{font-size:11px;font-weight:500;color:#947956}.gear-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:60px;border:1px solid #dfcfb5;border-radius:4px;color:#7b664e;background:#faf1df;padding:5px 3px;font-size:10px}.gear-glyph{font:26px Georgia;line-height:1;color:#927b5a}.gear-choice[data-value=red_cape] .gear-glyph{color:#c75152}.gear-choice[data-value=blue_cape] .gear-glyph{color:#5487ac}.storybook{display:flex;justify-content:space-around;align-items:center;background:#c88059;color:#fff8dc;border:8px solid #b16b45;border-radius:3px;padding:25px 20px;box-shadow:5px 5px #b5997033;margin:20px 5px}.storybook h3{font:700 28px/1.6 'Noto Serif JP',serif;margin:10px 0}.storybook p,.storybook span{font-size:12px;color:#ffedc8}.storybook .pixel-hero{width:150px;height:190px;background:#f5e8c6;border-radius:70px 70px 0 0;padding:10px}.reference-stamp{padding:12px;border:1px dashed #baa081;font-size:12px}
/* 03 / CSS 3D room with equivalent plan controls */
.room-viewport{min-height:370px;flex:1;position:relative;perspective:900px;background:linear-gradient(#ece5d9,#faf5e9);display:grid;place-items:center;overflow:hidden}.room-label{position:absolute;top:16px;left:20px;right:20px;font-size:11px;color:#998066}.room-label span{float:right}.room-grid{display:grid;grid-template-columns:repeat(6,62px);grid-template-rows:repeat(5,58px);transform:rotateX(47deg) rotateZ(calc(-24deg + var(--room-angle)));transform-style:preserve-3d;gap:0;border:5px solid #c8b7a0;background:#c8b7a0;margin:20px;box-shadow:12px 16px 0 #cbbb9f55}.floor-cell{position:relative;display:block;border:1px solid #d6c6af;background:#f3e5cf;padding:0;transform-style:preserve-3d;cursor:pointer}.floor-cell:nth-child(2n){background:#eadac1}.floor-cell .cell-coord{position:absolute;top:2px;left:3px;font:8px Arial;color:#ab967b}.floor-mark{font-size:9px;color:#a28a69}.floor-cell.chair,.floor-cell.shelf,.floor-cell.desk{z-index:2}.furniture{position:absolute;inset:8px;transform-style:preserve-3d;transform:translateZ(3px)}.furniture i{position:absolute;display:block;background:#ae8862;border:1px solid #94724f}.f-top{inset:0;transform:translateZ(27px);background:#c7a77f!important}.f-front{bottom:0;left:0;right:0;height:27px;transform:rotateX(-90deg);transform-origin:bottom}.f-side{right:0;top:0;bottom:0;width:27px;transform:rotateY(90deg);transform-origin:right}.furniture b{position:absolute;inset:0;display:grid;place-items:center;font-size:20px;font-weight:500;color:#765638;transform:translateZ(29px)}.f-chair .f-top{background:#bdc0a0!important}.f-chair .f-front,.f-chair .f-side{background:#9da585}.f-shelf .f-top{background:#c29b79!important;transform:translateZ(52px)}.f-shelf .f-front{height:52px}.f-shelf .f-side{width:52px}.f-shelf b{transform:translateZ(54px)}.f-desk .f-top{background:#e0bd8d!important}.plan .room-grid{transform:none;box-shadow:none}.plan .furniture{transform:none}.plan .furniture i{transform:none}.plan .furniture .f-front,.plan .furniture .f-side{display:none}.plan .furniture b{transform:none}.tried:after{content:'試しに座ってみました';position:absolute;bottom:14px;font-size:11px;background:#fffc;padding:6px 12px;border-radius:20px;color:#947254}
/* 04 / audio */
.audio-work{flex:1;min-height:370px;padding:25px 28px;background:#f6f3ec}.audio-heading{display:flex;justify-content:space-between;font-size:12px;color:#8c765d;margin-bottom:24px}.audio-heading strong{font:18px monospace;color:#7c6850}.wave-ruler{display:flex;justify-content:space-between;font:10px monospace;color:#aa9479;margin-bottom:8px}.wave-track{height:96px;border:1px solid #c9d0c4;background:#e9eee4;display:flex;align-items:center;justify-content:space-around;gap:2px;padding:8px;position:relative;overflow:hidden}.wave-track i{display:block;width:4px;flex:1;background:#97ab91;border-radius:2px}.wave-track #play-head{position:absolute;top:0;bottom:0;left:0;width:2px;background:#b36d51;transition:left .15s}.audio-regions{display:grid;grid-template-columns:1fr 1.5fr 1.5fr;gap:12px;margin:14px 0}.audio-region{display:flex;flex-direction:column;gap:5px;align-items:flex-start;padding:12px;border:1px solid #d8c9b2;background:#fbf5e8;border-radius:5px;text-align:left;color:#8b7255}.audio-region strong{font-size:13px}.audio-region small{font:10px monospace}.audio-region span{font-size:11px}.audio-region.beep{background:#eadcf2;border-color:#b5a0c1;color:#8b699b}.audio-region.mute{background:#e7e6df;color:#92948b}.audio-region.delete{text-decoration:line-through;border-style:dashed;opacity:.6}.transcript{padding:15px;background:#fffdf7;border-left:3px solid #d4c4ab;font-size:13px;line-height:2}.transcript>span{font-size:10px;color:#a48c6e}.transcript p{margin:6px 0}.transcript mark{background:#f5e6d3;color:#84694c;padding:1px 4px}.playback-caption{font-size:12px;color:#907557;margin-top:14px;min-height:20px}
/* 05 / blueprint */
.blueprint{position:relative;display:grid;place-items:center;flex:1;background:#285273;min-height:350px;padding:10px 25px 25px}.pipe-plan{width:100%;max-width:680px;height:auto;max-height:460px;stroke:none;fill:none}.pipe-plan text{fill:#c8e0ea;font:12px var(--font);stroke:none}.pipe-plan .pipe-labels text{font-size:12px}.blueprint-number{position:absolute;bottom:12px;right:18px;color:#95b6cc;font:9px monospace;letter-spacing:.1em}
/* 06 / files */
.file-manager{display:grid;grid-template-columns:110px 1fr 215px;min-height:330px;flex:1;background:#f8f4eb}.folder-list{background:#eee7dc;border-right:1px solid #dfd2c1;display:flex;flex-direction:column;gap:8px;padding:18px 10px}.folder-list button{text-align:left!important;border:0!important;background:none!important}.folder-list button.chosen{background:#dfd1bb!important}.file-list{padding:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px}.file-path{grid-column:1/-1;font-size:10px;color:#a58f73;margin-bottom:4px}.file-card{min-height:114px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px 8px;border:1px solid #dfd4c2;border-radius:6px;background:#fffbf2;color:#7a664c;min-width:0}.file-card strong{font-size:11px;font-weight:500;overflow-wrap:anywhere}.file-card small{font-size:9px;color:#a78e70}.file-icon{display:grid;place-items:center;width:36px;height:42px;border:1px solid #b4a792;background:#eee4d1;font:10px Georgia;color:#8f7a5b;border-radius:2px}.mail-file{grid-column:1/-1}.zip-tray{background:#f4ebdb;border-left:1px solid #d9c8ad;padding:20px 16px;text-align:center}.zip-icon{display:grid;place-items:center;width:55px;height:62px;margin:0 auto 14px;background:#d9b883;color:#fff9e9;font:bold 14px monospace;border:3px solid #ebd4ae;border-radius:5px}.zip-tray h3{font-size:13px;margin:0 0 10px}.zip-status{font-size:10px;color:#9b7753;display:block;margin-bottom:13px}.empty-files{padding:15px 0;font-size:11px;color:#b0936f;line-height:1.9}.attached-file{display:flex;align-items:center;gap:5px;font-size:10px;text-align:left;margin:8px 0;padding:4px 5px;background:#fffbf1;border:1px solid #e5d4b7;border-radius:4px;overflow-wrap:anywhere}.attached-file>span{flex:1}.attached-file button{min-height:24px!important;padding:0 5px!important;border:0!important;background:none!important}.file-preview{padding:16px 20px;border-top:1px solid #e0d2bd;background:#fffaf1;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:105px}.file-preview strong{font-size:12px}.file-preview span{font-size:10px;color:#a48b6b;margin-left:10px}.file-preview p{font-size:11px;line-height:1.9;color:#9a7d59;margin-bottom:0}
/* 07 / video */
.video-work{flex:1;padding:20px 28px;background:#eee8de}.video-screen{position:relative;max-width:650px;margin:auto;background:#e3d8c5;border:1px solid #d5c3a7;border-radius:4px;overflow:hidden}.video-screen>svg{display:block;stroke:none;width:100%;height:auto;max-height:350px}.video-screen #frame-label{position:absolute;bottom:12px;right:12px;background:#fffcf2dd;color:#8b7153;padding:5px 8px;font:9px monospace;border-radius:3px}.video-ruler{display:flex;justify-content:space-between;font:9px monospace;color:#9a8064;margin:20px 0 7px}.video-ruler strong{font-weight:400;color:#a86e50}.film-strip{display:grid;grid-template-columns:60% 15% 12.5% 12.5%;height:42px;border:1px solid #cbbda7;background:#d6b18b;overflow:hidden}.film-strip span{display:grid;place-items:center;font-size:9px;color:#fff6e5;border-right:1px solid #e6c8a5;white-space:nowrap}.film-strip span:nth-child(2){background:#bc9671}.film-strip span:nth-child(3){background:#c8a98e}.film-strip span:last-child{background:#6e655a}.timeline-range{display:flex;align-items:center;gap:12px;font-size:11px;color:#927859;margin-top:10px}.timeline-range input{flex:1;accent-color:#b77b60;min-width:0}.tiny-cup{font-size:60px;background:#ede0ca;text-align:center;padding:10px;margin:15px 0}
/* 08 / robot */
.robot-world{flex:1;padding:30px 25px 20px;background:#edf0e6}.robot-track{height:175px;position:relative;border-bottom:5px dashed #bfc6b1;margin:0 15px 22px;display:flex;align-items:flex-start;justify-content:space-around;padding-top:10px}.robot-dock{width:17%;color:#8d9973;font-size:35px;display:flex;flex-direction:column;align-items:center}.robot-dock small{font-size:10px}.robot-box{width:65px;height:60px;border:4px solid #c28b79;background:#dbad94;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#825a48;font-size:11px;border-radius:3px}.robot-box.blue{background:#a8c1ce;border-color:#85a4b5;color:#4f7184}.robot-box small{font:10px monospace}.robot-box.collected{opacity:.17;transform:translateY(-10px)}#little-robot{position:absolute;left:3%;bottom:-3px;width:44px;height:50px;background:#e8e5cd;border:2px solid #a7ac94;border-radius:7px 7px 3px 3px;transition:left .35s;display:flex;align-items:center;flex-direction:column;justify-content:center;color:#72806a;font-size:20px}#little-robot span{position:absolute;bottom:-7px;font:13px monospace;color:#788370}#little-robot i{position:absolute;top:-12px;width:2px;height:10px;background:#a7ac94}#little-robot i:before{content:'';position:absolute;left:-3px;top:-3px;width:8px;height:8px;border-radius:50%;background:#bdc79d}.robot-program{max-width:640px;margin:auto;display:flex;flex-direction:column;gap:10px;border:1px solid #c7cdb9;background:#f9fbf2;border-radius:6px;padding:15px 20px}.robot-program>span{font-size:10px;color:#9ba383}.code-line{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:#9aa181;font:12px monospace}.code-line .tool-label{flex-direction:row;align-items:center;color:#8a9475}.code-line select{border-color:#ccd0bd;background:#f5f7ee;color:#66735c}.robot-log{max-width:640px;margin:12px auto 0;padding:10px 15px;background:#dfe6d4;font:11px/1.8 var(--font);color:#7b866d;border-radius:4px}
/* 09 / seating */
.seating-world{flex:1;padding:20px 40px;background:#f7f0e8}.entrance-label{color:#a58b70;font-size:13px;text-align:left;margin-bottom:20px}.entrance-label span{font-size:10px;margin-left:10px}.tables{display:grid;grid-template-columns:1fr 1fr;gap:50px;max-width:600px;margin:auto}.guest-table{position:relative;display:flex;flex-direction:column;gap:12px;padding-left:65px;min-width:0}.table-top{position:absolute;top:0;bottom:0;left:0;width:56px;display:grid;place-items:center;writing-mode:vertical-rl;background:#ead9c2;border:1px solid #cfb38f;border-radius:35px;color:#ac8860;letter-spacing:.15em;font:11px Georgia}.seat{display:flex;align-items:center;gap:9px;position:relative;min-height:73px;padding:22px 9px 9px;border:1px solid #dfcdb6;background:#fffbf2;border-radius:6px;color:#8f7459;text-align:left}.seat-id{position:absolute;left:10px;top:6px;font-size:9px;color:#b49879}.guest-face{display:grid;place-items:center;background:#eed7b8;border-radius:50%;width:28px;height:28px;font:15px Georgia;color:#a47b51;flex-shrink:0}.seat strong{font-size:11px;font-weight:500}.seat.accessible{border-style:dashed;background:#fff4dc}.seat:disabled{opacity:.75}.guest-memo{min-height:65px;max-width:600px;margin:20px auto 0;padding:12px 17px;background:#fff9de;border:1px solid #e6d5a7;font-size:12px;line-height:1.8;color:#9a7c52}.guest-memo p{margin:4px 0 0}.version-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;background:#faf0e3;border:1px solid #dec6a7;font-size:11px;border-radius:0 8px 0 0}.version-bar select{font-size:11px;color:#8d6c4a;background:#fffaf2;border:1px solid #d8c2a3;padding:5px;min-height:34px}.version-bar strong{margin-right:5px}
@media(max-width:1250px){.gear-rack{grid-template-columns:1fr}.hero-room{padding-inline:25px}.hero-mirror{min-height:230px}.pixel-hero{height:190px;width:190px}.file-manager{grid-template-columns:90px 1fr 180px}.file-list{padding:12px;gap:8px}.tables{gap:25px}.seating-world{padding:20px 24px}.workspace-tab{font-size:10px;padding-inline:9px}.workspace-toolbar .text-button{padding-inline:6px;font-size:11px}.stage-tools{gap:8px;padding:12px}.robot-program{padding-inline:12px}}
@media(max-width:900px){.stage-host{overflow:visible;min-height:550px}.stage-root{min-height:550px}.mini-app{min-height:560px}.workspace{min-height:650px}.workspace-toolbar{height:auto;min-height:40px;flex-wrap:wrap;padding-block:5px}.workspace-toolbar .workspace-tab{border-bottom:1px solid #dcd2c6;border-radius:5px}.workspace-toolbar .edit-hint{display:none}.workspace-toolbar .text-button{min-height:34px}.workspace-toolbar #stage-history{display:none}.level-picker{font-size:9px}.level-picker select{max-width:160px}.progress-caption{display:none}.app-footer{gap:8px}.mini-title{padding:10px;gap:9px;font-size:10px}.mini-title .window-dots{font-size:8px}.app-pill{font-size:7px}.hero-room{padding:20px 18px;min-height:220px;gap:8px}.quest-poster h3{font-size:23px}.quest-poster p{font-size:10px}.quest-poster small{font-size:8px}.hero-mirror{min-height:200px;border-width:6px;max-width:180px}.pixel-hero{width:150px;height:170px}.gear-rack{padding:12px;gap:8px}.gear-row{grid-template-columns:50px repeat(3,1fr)}.gear-choice{font-size:9px;min-height:55px}.gear-row>strong{font-size:10px}.stage-tools{padding:12px;gap:8px}.tool-label{font-size:10px}.tool-label select{max-width:150px;font-size:11px}.stage-note{font-size:10px;padding:10px 12px}.room-grid{grid-template-columns:repeat(6,46px);grid-template-rows:repeat(5,47px);margin:15px}.room-viewport{min-height:330px}.furniture{inset:6px}.floor-cell .cell-coord{font-size:7px}.floor-mark{font-size:7px}.audio-work{padding:18px 12px}.audio-heading{font-size:10px}.audio-heading strong{font-size:14px}.audio-regions{gap:6px}.audio-region{padding:10px 7px}.audio-region strong{font-size:11px}.transcript{font-size:12px}.blueprint{padding:15px 7px}.file-manager{grid-template-columns:72px 1fr}.folder-list{padding:12px 5px}.folder-list button{font-size:10px!important;padding:7px 4px!important}.file-list{grid-template-columns:1fr 1fr;padding:10px;gap:7px}.file-card{padding:10px 6px;min-height:110px}.file-card strong{font-size:9px}.file-card small{font-size:8px}.zip-tray{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:9px;border-top:1px solid #dfc6a7;border-left:0;padding:12px;text-align:left}.zip-icon{width:33px;height:37px;font-size:10px;margin:0}.zip-tray h3{font-size:11px;margin:0}.zip-status{font-size:9px;margin:0}.empty-files{font-size:9px;padding:0;margin:0}.attached-file{font-size:9px;max-width:160px;margin:0}.file-preview{padding:12px;display:block}.file-preview>button{margin-top:10px}.file-preview span{display:block;margin-left:0;margin-top:5px}.video-work{padding:15px 12px}.video-ruler{font-size:8px}.film-strip span{font-size:7px}.robot-world{padding:24px 10px 14px}.robot-track{margin-inline:0;height:150px}.robot-box{width:55px;height:54px;font-size:9px}.robot-program{padding:12px 10px}.code-line{gap:8px;font-size:10px}.code-line .tool-label{font-size:10px}.code-line select{font-size:10px;max-width:126px;padding:4px}.robot-log{font-size:10px}.seating-world{padding:18px 10px}.tables{gap:14px}.guest-table{padding-left:32px;gap:10px}.table-top{width:26px;font-size:9px}.seat{padding:20px 6px 6px;gap:5px;min-height:70px}.seat strong{font-size:10px}.guest-face{width:22px;height:22px;font-size:11px}.seat-id{font-size:8px;left:7px}.guest-memo{font-size:11px;padding:10px 12px}.version-bar{font-size:10px;gap:6px}.version-bar strong{width:100%}.version-bar button{font-size:10px!important;padding-inline:7px!important}.people-notes{grid-template-columns:1fr}.refs-dialog{padding:24px 20px}.refs-dialog h2{font-size:21px}.reference-clues{font-size:12px;padding-left:18px}.storybook{padding:18px 12px;border-width:5px}.storybook h3{font-size:24px}.storybook .pixel-hero{width:115px;height:150px}.storybook p{font-size:10px}}
@media(prefers-reduced-motion:reduce){.room-grid{transition:none}#little-robot,.robot-box{transition:none}.pixel-hero{animation:none}}
/* Furniture silhouettes: visible legs, chair back and shelf divisions. */
.f-desk .f-front,.f-chair .f-front{height:5px;transform:translateZ(22px) rotateX(-90deg)}
.f-desk .f-side,.f-chair .f-side{width:5px;transform:translateZ(22px) rotateY(90deg)}
.furniture .f-leg{width:4px;height:27px;inset:auto;background:#9b7b55;border:0;transform:rotateX(90deg);transform-origin:top}
.f-leg.l1{top:2px;left:2px}.f-leg.l2{top:2px;right:2px}.f-leg.l3{bottom:-25px;left:2px}.f-leg.l4{bottom:-25px;right:2px}
.furniture .chair-back{display:none}.f-chair .chair-back{display:block;left:0;right:0;top:0;height:24px;border:2px solid #929a78;background:#afb895;transform:translateZ(27px) rotateX(90deg);transform-origin:top}
.f-shelf .f-leg{display:none}.f-shelf .f-front{background:repeating-linear-gradient(to bottom,#a5805e 0 14px,#d5b187 14px 17px)}
.plan .furniture .f-leg,.plan .furniture .chair-back{display:none}
.letter-paper{max-height:calc(100dvh - 125px);overflow:auto}.letter-paper h2{overflow-wrap:anywhere}.letter-request{white-space:pre-line}
.furniture{transform:translateZ(3px) rotateZ(var(--facing,0deg))}.plan .furniture{transform:rotateZ(var(--facing,0deg))}
@media(min-width:901px){.gear-row>strong{font-size:12px}.gear-choice{font-size:12px}.stage-root .stage-tools button{font-size:13px!important}.file-card strong{font-size:12px}.stage-note{font-size:12px}.seat strong{font-size:13px}.robot-log{font-size:12px}}
.version-diff{display:grid;grid-template-columns:1fr 1fr;gap:12px;flex-basis:100%;border-top:1px solid #e1c9ab;padding-top:8px;line-height:1.8}.version-diff small{font-size:10px;color:#ac8764}.version-diff p{margin:2px 0;color:#8a6746;font-size:11px;white-space:pre-line}
@media(max-width:600px){.version-diff{grid-template-columns:1fr;gap:6px}.version-diff p{font-size:10px}}
.stage-tools .app-pill{margin-left:0;font:10px var(--font);align-self:center}
@media(max-width:900px){.room-grid{grid-template-columns:repeat(6,44px);grid-template-rows:repeat(5,44px)}}
@media(max-width:600px){.app-footer .level-dots{display:none}.level-picker{font-size:0;gap:0}.level-picker select{font-size:10px;max-width:160px}.app-footer{padding-inline:12px}.app-footer .text-button{font-size:10px;padding-inline:5px}.level-progress{gap:4px}}
.room-person{position:absolute;width:14px;height:32px;pointer-events:none;transform-style:preserve-3d;transform-origin:bottom;z-index:9}.room-person i{position:absolute;top:0;left:1px;width:12px;height:12px;background:#d9aa80;border:1px solid #b18c65;border-radius:50%}.room-person b{position:absolute;top:13px;left:2px;width:10px;height:19px;background:#887b9a;border-radius:4px 4px 0 0;box-shadow:inset 0 -5px #5f5d6b}.plan .room-person{display:none}
/* Keep the cafe inspector's selected size visible inside the shared stage shell. */
.stage-root #size-options button.active{background:#b77b60;color:#fff;border-color:#b77b60;font-weight:700}
