/* Deliberately sparse briefs; clear controls. */
.sound-toggle{white-space:nowrap;font-size:12px!important;border:1px solid #ddcfc2;border-radius:5px;min-width:77px;justify-content:center;margin-left:auto}
.app-header .help-button{margin-left:0}.sound-toggle[aria-pressed=false]{color:#9b9188;background:#f1eeeb}
.result-dialog.success .result-actions{margin-top:22px}.result-dialog.success #result-title{margin-bottom:28px}
.dev-scrap{background:#fffdf8;border:1px solid #d7d3c7;border-radius:7px;padding:22px;color:#526064;font-size:14px;line-height:1.9;box-shadow:2px 3px #c4beb31a}
.dev-scrap p:last-child{margin-bottom:0}.scrap-topline{display:flex;gap:15px;justify-content:space-between;border-bottom:1px dashed #d5d4ca;padding-bottom:12px;margin-bottom:20px;font:11px/1.6 var(--font);color:#8d928d}
.scrap-topline span:last-child{white-space:nowrap;font-size:10px}.scrap-message{background:#f1f3ef;padding:14px 18px;border-left:3px solid #b9c8bc;line-height:1.9;font-size:14px;color:#586661;white-space:pre-line}
.old-build{border:3px solid #203452;background:#283959;color:#e1d5b5;text-align:center;padding:13px 10px;font:11px 'MS Gothic',monospace}
.old-build>span{display:block;font-size:9px;letter-spacing:.04em;color:#acbbd0}.old-build-scene{position:relative;min-height:220px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(#a9c9d1 0 54%,#78936d 54% 66%,#afaa7e 66% 72%,#779467 72%);margin:12px 0;border:1px solid #162c44}
.old-build-scene .pixel-hero{height:200px;width:170px;z-index:1;image-rendering:pixelated;filter:drop-shadow(6px 4px #243b423b)}
.pixel-house{position:absolute;left:7%;top:80px;width:85px;height:80px;background:#d5c9ab;box-shadow:inset -15px 0 #b7af91;border:6px solid #9b8f74}.pixel-house:before{content:'';position:absolute;left:-18px;top:-45px;border-left:54px solid transparent;border-right:54px solid transparent;border-bottom:42px solid #675d54}.pixel-house:after{content:'';position:absolute;left:22px;bottom:0;width:27px;height:48px;background:#81745b}
.pixel-tree{position:absolute;right:8%;top:50px;width:65px;height:110px;background:#577b57;box-shadow:-13px 18px #62885e,10px 13px #486d4f,0 68px 0 -22px #786e50}
.room-reference{background:#eaf0ef;border:1px solid #d0dedf;border-radius:4px;overflow:hidden}.room-reference .room-scene{width:100%;display:block;height:auto;min-height:0;max-height:330px}
.profile-card{display:flex;gap:15px;align-items:center;padding:18px;background:#f0e9f3;border:1px solid #dbcee3;border-radius:8px;color:#6a4e7a}.profile-avatar{background:#c190ba;color:#fff;font:30px Georgia;display:grid;place-items:center;width:55px;height:55px;border-radius:50%;flex-shrink:0}.profile-card strong,.profile-card div>span{display:block}.profile-card div>span{font-size:11px;color:#9b82a8}.profile-card p{margin:8px 0 0;font-size:12px}
.machine-sticker{border:2px solid #597485;background:#e5edf0;padding:18px;font:13px monospace;color:#365260}.machine-sticker>span{float:right;color:#4d836e}.machine-sticker p{margin:12px 0 0;color:#718b98}
.mood-cup{max-width:430px;margin:auto;transform:rotate(-1deg);border:8px solid #fff;box-shadow:2px 4px 9px #5c566626}.mood-cup svg{width:100%;display:block}
.robot-stickers{display:flex;gap:15px;flex-wrap:wrap;margin:10px 0 25px}.robot-stickers span{padding:10px 17px;border:3px solid;border-radius:3px;font-size:15px;font-weight:700}.pickup-sticker{color:#a74635;background:#f4b49c;border-color:#d07c67!important}.personal-sticker{color:#35667e;background:#bdd8e6;border-color:#7aacc4!important}
.version-chat small{font-size:11px;color:#a497b2}.version-chat p{background:#f0eaf6;border-radius:6px;padding:13px 17px;color:#746087;margin:6px 0 20px}.mail-reference small{font-size:11px;color:#74869c}
/* The room is large enough to inspect without a distant, miniature grid. */
.stage-note:empty{display:none}
.room-studio:not(.is-plan) .room-scene{cursor:grab;touch-action:pan-x;user-select:none;-webkit-user-select:none}
.is-room-panning .room-scene,.is-room-panning .room-scene *{cursor:grabbing!important}
[data-stage=room] .mini-app{min-height:580px;background:#eef3f4}
.room-studio{position:relative;flex:none;min-height:340px;height:clamp(340px,calc(100dvh - 390px),420px);display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 55% 40%,#fcfdfb,#e5eef0);overflow:hidden;isolation:isolate}
.room-canvas-wrap{width:100%;height:100%;max-width:1180px;align-self:stretch;display:flex;align-items:center;justify-content:center;min-height:0}
.room-scene{display:block;width:100%;height:100%;min-height:0;font-family:var(--font);overflow:visible;stroke:none;stroke-width:0}
.room-scene text{stroke:none}
.room-scene-label{font:11px 'Consolas',monospace;letter-spacing:.06em;fill:#83969b}.room-entrance{font-size:13px;fill:#6c858b;letter-spacing:.15em}.room-coordinate{font-size:9px;fill:#9caaa9}
.room-cell{cursor:pointer;outline:none}.room-hit{stroke:transparent;stroke-width:2;transition:fill .12s}.room-cell:hover .room-hit,.room-cell:focus-visible .room-hit{fill:#3d99b435;stroke:#318baa}.room-cell.selected .room-hit{fill:#4c97b735;stroke:#4c91ac;stroke-width:2}
.room-object{cursor:grab;touch-action:none}.room-object[data-room-furniture]:active{cursor:grabbing}.room-object-tag{pointer-events:none}.room-object-tag rect{fill:#f8fbf7ed;stroke:#c6d4d4}.room-object-tag text{font-size:12px;fill:#49656e}.room-object.selected .room-object-tag rect{fill:#386f88;stroke:#386f88}.room-object.selected .room-object-tag text{fill:#fff}
.room-view-tools{position:absolute;bottom:14px;right:16px;display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #b9cdd4;background:#f9fcfbf2;border-radius:6px;box-shadow:0 2px 7px #52758212;font:11px monospace;color:#78939e}
.room-view-tools button{min-width:34px;min-height:30px!important;padding:4px 8px!important;border:0!important;background:transparent!important;font-size:12px!important}.room-view-tools>span{min-width:42px;text-align:center}
[data-stage=room] .stage-tools{padding:13px 17px;gap:10px;background:#fff;border-top:1px solid #c6d8df;min-height:78px}
[data-stage=room] .stage-note{min-height:44px;padding-block:10px;background:#f5f9fa;font-size:12px}
.room-view-tools button:disabled{opacity:.5}
@media(max-width:900px){.sound-toggle{font-size:10px!important;min-width:62px;padding:4px 6px!important}.app-header{gap:8px}.app-header .help-button{font-size:10px;white-space:nowrap}.dev-scrap{padding:17px;font-size:13px}.scrap-topline{flex-direction:column;gap:4px}.scrap-message{font-size:12px;padding:12px}.old-build-scene{min-height:185px}.old-build-scene .pixel-hero{height:175px;width:145px}.pixel-house{left:0;transform:scale(.7)}.pixel-tree{right:0;transform:scale(.7)}.room-studio{min-height:310px}.room-scene{min-height:0;height:310px;width:100%;max-width:none;flex-shrink:0}.room-reference .room-scene{width:100%;height:auto;min-height:0}.room-view-tools{right:10px;bottom:10px}.room-view-tools button{font-size:10px!important}.room-view-tools>span{font-size:10px}.room-object-tag text{font-size:14px}[data-stage=room] .mini-app{min-height:540px}[data-stage=room] .stage-tools{gap:7px;padding:12px}[data-stage=room] .stage-tools button{font-size:11px!important;padding:6px 9px!important}.profile-card{padding:12px;gap:10px}.profile-card strong{font-size:12px}.profile-avatar{width:40px;height:40px;font-size:24px}.machine-sticker>span{float:none;display:block;margin-top:8px}}
@media(prefers-reduced-motion:reduce){.room-hit{transition:none}}

.room-pan-hint{display:none}
@media(max-width:600px){.room-studio{height:330px;min-height:330px}.room-canvas-wrap{height:330px;overflow-x:auto;overflow-y:hidden;display:block;overscroll-behavior-x:contain;scrollbar-width:thin}.room-scene{height:330px;width:560px;min-width:560px}.room-scene.is-plan{width:100%;min-width:0;height:330px}.room-pan-hint{display:block;position:absolute;top:10px;left:12px;font:10px var(--font);color:#6e8b96;z-index:2}.room-studio.is-plan .room-pan-hint{display:none}.room-view-tools{bottom:13px}}

.room-plan-label{fill:#73909c;font-size:14px}.room-scene.is-plan .room-object-tag text{font-size:15px}.room-scene.is-plan .room-object-tag rect{stroke-width:1}.room-scene.is-plan .room-coordinate{font-size:10px}

@media(max-width:600px){.room-studio.is-plan{display:flex;flex-direction:column}.room-studio.is-plan .room-canvas-wrap{height:285px;flex:none}.room-studio.is-plan .room-scene{height:285px}.room-studio.is-plan .room-view-tools{position:static;align-self:flex-end;margin:0 10px 8px}}
