:root{--ink:#223c3f;--muted:#7e8f8d;--accent:#2f6c62;--line:#dfe5df;--paper:#fafaf5;--white:#fffffc;--font:"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}html,body{margin:0;height:100%;color:var(--ink);font-family:var(--font);background:var(--paper);font-size:13px}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0;background:none;cursor:pointer;color:inherit}button:hover{color:var(--accent)}button:disabled{opacity:.28;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #4c9688;outline-offset:3px}[hidden]{display:none!important}i[data-icon]{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center}i svg{height:19px;width:19px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}button{transition:background .18s,box-shadow .18s}.header{height:88px;display:flex;justify-content:space-between;align-items:center;padding:0 34px;border-bottom:1px solid #e3e7e1;gap:20px;background:#fffffc;position:relative;z-index:2}.brand{display:flex;align-items:center;gap:11px}.brand .sp-mark{width:47px;height:42px;color:#2f625d}.brand b{display:block;font-size:20px;letter-spacing:-.7px;font-weight:670}.brand em{font-style:normal;font-weight:350}.brand small{font-size:8px;letter-spacing:2.7px;color:#94a39e;display:block;margin-top:6px}.modes{display:flex;gap:5px;padding:5px;border:1px solid #e1e8df;background:#f1f4ec;border-radius:12px}.modes button{padding:11px 18px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:550;border-radius:8px;white-space:nowrap;color:#7f938b}.modes button.active{background:#fff;box-shadow:0 2px 7px #183a3012;color:#2f645b}.modes i svg{width:17px;height:17px}.header-right{display:flex;gap:14px;align-items:center}.save-state{font-size:10px;color:#8ca18e;display:flex;align-items:center;gap:6px;white-space:nowrap}.save-state i{width:5px;height:5px;background:#81a78e;border-radius:50%}.quiet{display:inline-flex;gap:8px;align-items:center;font-size:12px;padding:9px 10px;border-radius:7px}.quiet:hover{background:#eaf1e8}.square{width:33px;height:33px;border-radius:7px;display:inline-grid;place-items:center;flex-shrink:0}.square:hover{background:#e9efea}.stage{height:calc(100svh - 88px);min-height:520px;position:relative;overflow:hidden;background:#dfe3dc;isolation:isolate}.stage>canvas{position:absolute;display:block;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-3px}.stage>canvas.dragging{cursor:grabbing}.intro{position:absolute;left:35px;top:34px;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:2.1px;font-weight:550;color:#769184;display:flex;align-items:center;gap:8px}.eyebrow>span{height:5px;width:5px;background:#6a9988;border-radius:50%}h1{font-size:30px;font-weight:420;letter-spacing:-1.3px;margin:13px 0 9px;color:#2d4847}.intro p{margin:0;font-size:12px;color:#84978f}.stage-top{position:absolute;top:28px;right:30px;display:flex;align-items:center;gap:8px}.pill{display:inline-flex;gap:8px;align-items:center;justify-content:center;padding:10px 14px;border-radius:9px;font-size:11px;background:#ffffffcc;border:1px solid #ffffffc0;color:#5a7b71;backdrop-filter:blur(10px)}.pill i svg{width:16px;height:16px}.glass{background:#ffffff9c;border:1px solid #ffffffaf;backdrop-filter:blur(10px);width:36px;height:36px;color:#658079}.left-actions{position:absolute;left:35px;top:154px;display:flex;align-items:flex-start;flex-direction:column;gap:12px}.add-button{background:#315f58;color:white;display:flex;gap:9px;align-items:center;padding:13px 17px;border-radius:9px;font-weight:550;font-size:12px;box-shadow:0 5px 17px #204a381c}.add-button:hover{color:white;background:#244f48}.text-button{display:flex;align-items:center;gap:8px;padding:7px 2px;color:#6e8c7e;font-size:11px}.text-button i svg{width:15px;height:15px}.floating{background:#fffffcf2;border:1px solid #ffffffc9;border-radius:13px;box-shadow:0 12px 42px #1d382319;backdrop-filter:blur(18px)}.catalog{position:absolute;left:30px;top:143px;width:286px;padding:18px;z-index:9;max-height:calc(100% - 190px);overflow:auto}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.card-head small{font-size:8px;letter-spacing:1.3px;color:#8d9e94}.card-head h2{font-size:18px;line-height:1.3;font-weight:500;letter-spacing:-.5px;margin:8px 0 16px}.card-head .square{margin-top:-5px;margin-right:-6px;color:#91a397}.catalog-items{display:grid;grid-template-columns:1fr 1fr;gap:8px}.catalog-item{min-height:102px;border:1px solid #e4eade;border-radius:9px;background:#f8faf4;padding:13px 9px;display:flex;align-items:flex-start;flex-direction:column;text-align:left;gap:8px}.catalog-item:hover{background:#eaf3e8;border-color:#bed5c3}.catalog-item i svg{width:28px;height:28px;stroke-width:1.2;color:#608379}.catalog-item b{font-size:11px;font-weight:550}.catalog-item small{font-size:9px;color:#97a69a}.subtle{font-size:10px;color:#9aa99e;margin:13px 0 0;line-height:1.6}.selection{position:absolute;right:28px;top:88px;width:263px;padding:19px;z-index:8;max-height:calc(100% - 142px);overflow-y:auto;scrollbar-width:thin}.selection h2{margin-bottom:10px;font-size:23px}.size-line{display:flex;gap:7px;align-items:center;color:#91a193;font-size:10px;margin:0 0 12px}.size-line i svg{height:14px;width:14px}.model-note{font-size:9px;line-height:1.6;color:#a88c59;background:#f7f1e4;border-left:2px solid #d8c089;padding:7px 8px;margin:7px 0 14px}.selected-move{display:flex;gap:6px;margin:14px 0}.soft-button{padding:9px 11px;display:inline-flex;gap:7px;align-items:center;justify-content:center;border-radius:7px;background:#eef3eb;border:1px solid #e2eadf;font-size:11px;color:#658471}.soft-button i svg{height:15px;width:15px}.soft{background:#f0f4ed;border:1px solid #e3eae1}.danger{color:#a67d6e}.danger:hover{color:#b94e35;background:#fbefeb}.run-button{display:flex;align-items:center;justify-content:center;gap:8px;background:#315f58;color:#fff;border-radius:8px;padding:12px;width:100%;font-size:11px}.run-button:hover{color:white;background:#284f48}.run-button[aria-pressed=true]{background:#1e6154}.cad-button{display:flex;align-items:center;justify-content:space-between;padding:13px 0 7px;font-size:11px;width:100%;color:#49796a}.cad-button i svg{width:15px}.finish{display:flex;align-items:center;gap:9px;padding:16px 0 12px;font-size:10px;color:#91a394;border-top:1px solid #e8ede3;margin-top:8px}.finish span{flex:1}.finish button{height:20px;width:20px;background:var(--swatch);border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #e1e6dc}.finish button.active{box-shadow:0 0 0 1.5px #457668}.dimensions-detail{border-top:1px solid #e8ede3;margin-top:3px;padding-top:11px}.dimensions-detail summary{font-size:10px;cursor:pointer;color:#8a9d8f;padding:2px 0 6px;list-style:none}.dimensions-detail summary:after{content:'+';float:right}.dimensions-detail[open] summary:after{content:'−'}.form-grid{display:grid;gap:10px;margin:16px 0}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid label,.full-label{font-size:10px;color:#859c8b}.form-grid input,.full-label input{display:block;width:100%;padding:9px 8px;border:1px solid #dce5d9;border-radius:7px;margin-top:7px;background:#f9fbf6;color:#385a4e;font-size:12px;min-width:0}.form-grid input:focus,.full-label input:focus{border-color:#8db99c;outline:2px solid #c7ddcd}.dimensions-detail .form-grid{gap:6px}.dimensions-detail label{font-size:9px}.dimensions-detail input{font-size:10px;padding:7px 5px}.wide{width:100%;justify-content:center}.bottom-bar{position:absolute;bottom:27px;left:50%;transform:translateX(-50%);display:flex;align-items:center;flex-direction:column;gap:13px;white-space:nowrap;z-index:4}.view-tools{display:flex;align-items:center;gap:3px;padding:7px 9px;border-radius:11px}.view-tools>button:not(.square){font-size:11px;display:flex;align-items:center;gap:7px;padding:9px 11px;border-radius:7px;color:#7f9686}.view-tools>button.active{background:#e7f0e6;color:#3e7460}.view-tools>button i svg{width:17px;height:17px}.view-tools>span{height:21px;width:1px;background:#e1e9dc;margin:0 4px}.view-tools .square{height:32px;width:32px;color:#819989}.gesture{font-size:9px;color:#7e9587;letter-spacing:.05px}.stage-caption{position:absolute;left:35px;bottom:30px;display:flex;align-items:center;gap:7px;color:#899d91;font-size:9px}.stage-caption i{height:3px;width:3px;background:#90a799;border-radius:50%}.stage.night .intro h1,.stage.night .tour-copy h2{color:#cfddd9}.stage.night .intro p,.stage.night .eyebrow,.stage.night .gesture,.stage.night .stage-caption{color:#7caaa0}.stage.night .text-button{color:#bdd4c8}.stage.night .floating{background:#fdfefaf2}.walk-hint{position:absolute;left:30px;top:30px;display:flex;align-items:center;gap:13px;padding:16px 19px}.walk-hint>i svg{width:28px;height:28px;color:#648b7b;stroke-width:1.2}.walk-hint span{display:flex;flex-direction:column;gap:5px}.walk-hint b{font-size:14px;font-weight:500}.walk-hint small{font-size:10px;color:#8c9d92}.joystick{position:absolute;left:33px;bottom:64px;width:134px;height:134px;display:grid;grid-template:repeat(3,1fr)/repeat(3,1fr);gap:2px;background:#fffffb3b;border-radius:50%;padding:0;touch-action:none;user-select:none;backdrop-filter:blur(7px)}.joystick button{background:#fffffbd9;font-size:21px;border:1px solid #fafff480;color:#456e62;touch-action:none;border-radius:11px}.joystick button:active{background:#bad9c4}.joystick .up{grid-column:2}.joystick .left{grid-column:1;grid-row:2}.joystick .right{grid-column:3;grid-row:2}.joystick .down{grid-column:2;grid-row:3}.joystick span{grid-column:2;grid-row:2;display:grid;place-items:center;font-size:8px;letter-spacing:1px;color:#709381}.minimap{position:absolute;right:27px;bottom:29px;padding:11px;width:194px}.minimap canvas{width:170px;height:128px;display:block;cursor:crosshair}.minimap small{display:block;font-size:8px;color:#8ba090;line-height:1.5;text-align:center;margin-top:5px}.walk-home{position:absolute;left:32px;bottom:219px;font-size:10px;padding:9px 12px}.stage[data-mode=walk] .intro,.stage[data-mode=walk] .left-actions,.stage[data-mode=walk] .bottom-bar,.stage[data-mode=walk] .stage-caption{display:none}.stage[data-mode=walk] .selection{max-height:calc(100% - 290px)}.stage[data-mode=walk] .selected-move,.stage[data-mode=walk] .dimensions-detail{display:none}.tour-copy{position:absolute;left:45px;bottom:142px;pointer-events:none;max-width:470px;text-shadow:0 2px 12px #eef4e222}.tour-copy h2{font-size:42px;letter-spacing:-1.7px;font-weight:400;margin:12px 0;color:#254945}.tour-copy p{color:#5f8173;font-size:13px}.tour-copy .eyebrow{font-size:9px}.tour-controls{position:absolute;bottom:37px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:10px 14px;width:min(540px,calc(100% - 40px))}.tour-controls input{min-width:0;flex:1;accent-color:#3e7b67;height:4px}.tour-controls>span{font-size:10px;color:#8a9f90}.tour-controls .quiet{font-size:10px;white-space:nowrap}.stage[data-mode=tour] .intro,.stage[data-mode=tour] .left-actions,.stage[data-mode=tour] .bottom-bar,.stage[data-mode=tour] .stage-caption,.stage[data-mode=tour] .selection{display:none!important}.stage.night .tour-copy p{color:#9cbbb0}.primary{background:#315f58;color:white;border:1px solid #315f58;border-radius:8px;display:inline-flex;align-items:center;gap:8px;padding:12px 17px;font-size:12px;font-weight:550}.primary:hover{color:#fff;background:#264f49}.primary i svg{height:16px;width:16px}dialog{border:1px solid #dce5d7;border-radius:17px;width:min(530px,calc(100vw - 26px));max-height:90svh;padding:30px;background:#fffffb;color:var(--ink);box-shadow:0 25px 100px #142e3838}dialog::backdrop{background:#213e4052;backdrop-filter:blur(6px)}dialog h2{font-size:30px;font-weight:420;letter-spacing:-1px;margin:14px 0 12px}dialog p{font-size:12px;color:#86998c;line-height:1.8;margin:12px 0 18px}.dialog-close{position:absolute;right:12px;top:12px;color:#91a38f}.check{display:flex;align-items:center;gap:9px;font-size:11px;color:#748b7b;padding:8px 0;line-height:1.6}.check input{accent-color:#507f69;width:16px;height:16px;flex-shrink:0}.warning{padding:13px 15px;background:#f5f1e5;border:1px solid #e9dfc4;border-radius:8px;color:#9c895f;font-size:10px;line-height:1.8;margin:18px 0}.warning b{display:block;color:#8c794f}.preset-grid{display:flex;flex-direction:column;gap:9px}.preset-grid button{display:grid;grid-template-columns:44px 1fr;text-align:left;background:#f5f8ef;border:1px solid #e4eade;border-radius:10px;padding:17px;gap:5px 10px}.preset-grid button:hover{background:#e8f1e4;border-color:#c6ddc9}.preset-grid i{grid-column:1;grid-row:1/3}.preset-grid i svg{width:29px;height:29px;stroke-width:1.1}.preset-grid b{font-size:13px;font-weight:550}.preset-grid span{font-size:11px;color:#92a08f}.save-grid{display:flex;flex-direction:column;gap:6px;margin:22px 0}.save-grid button{display:flex;align-items:center;gap:14px;text-align:left;padding:14px;border:1px solid #e4ebdf;border-radius:9px;background:#f8faf4}.save-grid button>span{flex:1;display:flex;flex-direction:column;gap:5px}.save-grid b{font-weight:550;font-size:12px}.save-grid small{font-size:10px;color:#94a490}.save-grid i{color:#6a907a}.help-sections{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.help-sections p{font-size:11px}.help-sections b{color:#507960}.smallprint{font-size:10px!important;line-height:1.7;color:#a0ad9b!important}.cad-dialog{position:fixed;inset:12px;margin:0;padding:0;width:calc(100vw - 24px);height:calc(100svh - 24px);max-width:none;max-height:none;border-radius:13px;background:#153141;overflow:hidden}.cad-header{height:63px;background:#fbfdf7;display:flex;align-items:center;gap:20px;padding:0 18px}.cad-header span{font-size:11px;color:#758f7a}.cad-header small{margin-left:auto;font-size:9px;color:#97a991}.cad-header .primary{font-size:11px;padding:10px 13px}#cad-frame-holder{height:calc(100% - 63px)}#cad-frame-holder iframe{border:0;width:100%;height:100%;display:block;background:#122534}#toast{position:absolute;left:50%;top:28px;transform:translateX(-50%) translateY(-10px);padding:12px 19px;max-width:min(470px,85%);background:#274d45f5;color:#fff;box-shadow:0 6px 25px #22463918;border-radius:9px;opacity:0;transition:.2s;pointer-events:none;z-index:40;font-size:11px;text-align:center;line-height:1.6}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}#loading,#fallback{position:absolute;inset:0;background:#e8ece5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;z-index:50;text-align:center;padding:35px}#loading b{font-size:16px;font-weight:500}#loading>span:last-child{color:#8c9e8f;font-size:11px}.spinner{width:30px;height:30px;border:2px solid #c7d7c6;border-top-color:#5b8c70;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:10px}@keyframes spin{to{transform:rotate(360deg)}}#fallback h2{font-size:25px;font-weight:450;margin:9px}#fallback p{color:#7e9885;font-size:12px;max-width:370px;line-height:1.7}#fallback>i svg{height:45px;width:45px}.noscript{position:fixed;inset:20%;z-index:100;background:white;padding:30px}.stage:fullscreen{height:100svh;border-radius:0}.embed .header{height:70px;padding:0 20px}.embed .stage{height:calc(100svh - 70px)}.embed .brand small,.embed .save-state{display:none}
@media(max-width:1100px){.header{padding:0 23px;height:77px;gap:10px}.brand b{font-size:18px}.brand .sp-mark{width:39px}.brand small{font-size:7px}.modes button{padding:10px 12px;font-size:11px}.save-state{display:none}.header-right{gap:7px}.stage{height:calc(100svh - 77px)}.intro{left:25px;top:27px}h1{font-size:26px}.left-actions{left:25px;top:142px}.stage-top{right:20px;top:23px}.catalog{left:20px;top:139px}.selection{right:19px;width:240px;padding:16px}.stage-caption{left:23px;font-size:8px;bottom:20px}.bottom-bar{bottom:31px}.gesture{font-size:8px}.tour-copy{left:30px}.stage[data-mode=walk] .selection{top:90px}}
@media(max-width:760px){.header{height:116px;padding:14px 16px 54px;align-items:center;gap:8px}.brand{gap:7px}.brand b{font-size:18px}.brand .sp-mark{height:34px;width:37px}.brand small{font-size:6px;letter-spacing:1.8px;margin-top:4px}.modes{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);gap:3px;padding:3px;border-radius:9px;width:calc(100% - 32px);justify-content:center}.modes button{padding:9px 5px;flex:1;justify-content:center;font-size:10px;gap:6px;border-radius:6px}.modes i svg{width:15px;height:15px}.header-right{gap:2px}.header-right .quiet span{display:none}.header-right .quiet{padding:8px}.header-right .square{width:29px;height:29px}.stage{height:calc(100svh - 116px);min-height:455px}.intro{left:18px;top:24px}.eyebrow{font-size:7px;letter-spacing:1.7px}h1{font-size:24px;margin:11px 0 7px;letter-spacing:-.8px;max-width:250px}.intro p{font-size:10px;max-width:250px}.stage-top{right:13px;top:120px;gap:5px;flex-direction:column}.stage-top .pill{font-size:8px;padding:8px 6px;gap:4px;min-width:37px;max-width:84px}.stage-top .pill i{display:none}.stage-top .glass{height:30px;width:30px;border-radius:7px}.stage-top .glass svg{width:14px;height:14px}.left-actions{left:17px;top:121px;gap:8px}.add-button{padding:10px 12px;font-size:10px;border-radius:8px;gap:6px}.add-button i svg{height:15px;width:15px}.text-button{font-size:9px;gap:6px}.text-button i svg{height:13px;width:13px}.catalog{left:12px;top:110px;width:262px;padding:16px;max-height:calc(100% - 150px)}.catalog-item{min-height:83px;padding:10px 8px;gap:6px}.catalog-item i svg{width:23px;height:23px}.catalog-item b{font-size:10px}.catalog-item small{font-size:8px}.selection{top:auto;bottom:89px;right:12px;width:237px;padding:15px;max-height:calc(100% - 130px)}.selection h2{font-size:20px;margin:6px 0 8px}.card-head small{font-size:7px}.size-line{font-size:9px;margin:0 0 10px}.model-note{font-size:8px;margin:6px 0 10px}.selected-move{margin:9px 0}.soft-button{font-size:10px;padding:8px 9px}.selection .square.soft{height:30px;width:30px}.run-button{padding:10px;font-size:10px}.cad-button{font-size:10px;padding:10px 0 5px}.finish{padding:10px 0 9px;margin-top:4px}.dimensions-detail{padding-top:9px}.dimensions-detail summary{font-size:9px}.bottom-bar{bottom:32px;gap:10px;width:calc(100% - 22px)}.view-tools{padding:6px 6px;width:auto;max-width:100%;gap:1px;border-radius:10px}.view-tools>button:not(.square){padding:8px 8px;font-size:10px;gap:4px}.view-tools>button i svg{height:15px;width:15px}.view-tools .square{height:29px;width:28px}.view-tools>span{margin:0 3px;height:18px}.gesture{font-size:7px;white-space:normal;text-align:center;line-height:1.5;margin:0 5px;color:#839a89}.stage-caption{left:18px;bottom:9px;font-size:7px}.walk-hint{left:15px;top:22px;padding:12px 14px;max-width:calc(100% - 30px);gap:10px}.walk-hint b{font-size:12px}.walk-hint small{font-size:9px}.walk-hint i svg{width:21px;height:21px}.joystick{width:116px;height:116px;left:18px;bottom:39px}.joystick button{font-size:19px;border-radius:10px}.joystick span{font-size:7px}.minimap{right:14px;bottom:30px;width:147px;padding:8px}.minimap canvas{width:129px;height:97px}.minimap small{font-size:7px}.walk-home{bottom:170px;left:19px;font-size:9px;padding:8px 10px}.stage[data-mode=walk] .stage-top{top:98px}.stage[data-mode=walk] .selection{top:100px;bottom:auto;max-height:calc(100% - 300px);right:56px;width:221px;padding:12px}.stage[data-mode=walk] .model-note{display:none}.tour-copy{left:21px;bottom:116px;max-width:85%}.tour-copy h2{font-size:31px;margin:12px 0;letter-spacing:-1px}.tour-copy p{font-size:11px}.tour-controls{bottom:31px;gap:8px;padding:9px 10px;width:calc(100% - 25px)}.tour-controls>span{font-size:8px}.tour-controls .quiet{font-size:9px;padding:7px 5px}.tour-controls i svg{height:14px;width:14px}.tour-controls .square{height:28px;width:28px}.tour-copy .eyebrow{font-size:7px}.stage[data-mode=tour] .stage-top{top:22px;flex-direction:row}.stage[data-mode=tour] .stage-top .pill{display:none}dialog{padding:25px 22px;border-radius:13px}dialog h2{font-size:27px}dialog p{font-size:11px}.form-grid{gap:7px}.form-grid input{padding:8px 6px}.help-sections{grid-template-columns:1fr}.help-sections p{margin:6px 0 13px}.cad-dialog{inset:0;width:100vw;height:100svh;border-radius:0}.cad-header{height:57px;padding:0 11px;gap:11px}.cad-header .primary{font-size:10px;padding:9px 11px}.cad-header span{font-size:9px}.cad-header small{display:none}#cad-frame-holder{height:calc(100% - 57px)}#toast{top:86px;font-size:10px;max-width:92%;width:max-content;padding:10px 13px}.embed .header{height:103px;padding:10px 14px 53px}.embed .stage{height:calc(100svh - 103px)}.embed .brand b{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Runtime-swapped icons use the same geometry styling as wrapped icons. */
svg:not(.sp-mark){width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.run-button>svg{width:16px;height:16px}.stage[data-mode=walk] .walk-hint{pointer-events:none}

.dialog-message{padding:11px 13px;background:#f4edda;border:1px solid #ddcfab;border-radius:9px;color:#735c28!important;font-size:12px;line-height:1.6;margin:14px 0 0}

/* v5 · simple floor-plan editor */
.room-chip{display:inline-flex;align-items:center;gap:6px;background:#eef4ef;border:1px solid #dfe9df;color:#5f7e70;border-radius:999px;padding:5px 8px;font-size:9px;margin:-2px 0 8px}.room-chip:before{content:'';width:5px;height:5px;border-radius:50%;background:#6d9d87}.planner-dialog{width:min(940px,calc(100vw - 26px));padding:28px}.planner-dialog>p{margin-bottom:13px}.planner-dialog select{display:block;width:100%;padding:9px 8px;border:1px solid #dce5d9;border-radius:7px;margin-top:7px;background:#f9fbf6;color:#385a4e;font-size:12px}.planner-inputs{display:grid;grid-template-columns:1.1fr .8fr 1fr .9fr;gap:9px;margin:15px 0 10px}.planner-inputs label{font-size:10px;color:#859c8b}.planner-inputs input{display:block;width:100%;padding:9px 8px;border:1px solid #dce5d9;border-radius:7px;margin-top:7px;background:#f9fbf6;color:#385a4e;font-size:12px}.planner-summary{display:flex;align-items:baseline;gap:10px;margin:6px 0 10px;color:#6f8778}.planner-summary span{font-size:12px}.planner-summary b{font-size:18px;font-weight:520;color:#315f58}.planner-summary small{margin-left:auto;font-size:9px;color:#93a195}.planner-canvas{border:1px solid #e0e8df;border-radius:12px;background:#f9faf6;padding:8px;overflow:hidden}.planner-canvas svg{display:block;width:100%;height:min(41vh,390px);min-height:265px;touch-action:none;user-select:none}.plan-shell{fill:#fff;stroke:#8fa69a;stroke-width:2}.plan-room-label{font:600 11px var(--font);fill:#4d6a60;text-anchor:start;pointer-events:none}.plan-room-area{font:9px var(--font);fill:#899a91;text-anchor:start;pointer-events:none}.plan-wall{stroke:#4c665f;stroke-width:7;stroke-linecap:round;pointer-events:none}.plan-hit{stroke:transparent;stroke-width:24;pointer-events:none}.plan-hit.h{pointer-events:none}.wall-grip{fill:#fff;stroke:#4f786c;stroke-width:2;pointer-events:all;cursor:grab;filter:drop-shadow(0 1px 2px #294b4030)}.door-handle{fill:#315f58;stroke:#fff;stroke-width:3;cursor:grab}.door-arc{fill:none;stroke:#6f9488;stroke-width:1.8;pointer-events:none}.plan-dim{font:10px var(--font);fill:#81948a;text-anchor:middle}.entry-mark path{stroke:#8fa69a;stroke-width:3;stroke-dasharray:5 4}.entry-mark text{font:9px var(--font);fill:#83958b;text-anchor:middle}.planner-canvas svg.editing{cursor:grabbing}.planner-legend{display:flex;gap:15px;align-items:center;justify-content:center;color:#889b90;font-size:9px;padding:2px 0 4px}.planner-legend span{display:flex;align-items:center;gap:6px}.planner-legend i{display:inline-block}.wall-key{width:16px;height:4px;background:#4c665f;border-radius:3px}.door-key{width:9px;height:9px;background:#315f58;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #315f58}.room-name-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin:11px 0}.room-name-list label{display:grid;grid-template-columns:32px minmax(0,1fr) 52px;align-items:center;gap:7px;background:#fafbf7;border:1px solid #e6ebe3;border-radius:8px;padding:6px 7px}.room-name-list label>span{font-size:9px;color:#8a9a91;display:flex;align-items:center;gap:5px}.room-name-list label>span i{height:11px;width:11px;background:var(--room);border:1px solid #d9e1d6;border-radius:3px}.room-name-list input{border:0;background:transparent;min-width:0;color:#456458;font-size:10px;padding:5px}.room-name-list input:focus{outline:1px solid #9fc1ad;border-radius:4px;background:white}.room-name-list b{font-size:9px;color:#92a095;font-weight:500;text-align:right}.exact-size{border-top:1px solid #e7ece4;margin-top:8px;padding-top:9px}.exact-size summary{font-size:10px;color:#789080;cursor:pointer;list-style:none}.exact-size summary:after{content:'+';float:right}.exact-size[open] summary:after{content:'−'}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.planner-options{display:flex;gap:18px;align-items:center;margin-top:4px}.planner-options .check{padding:4px 0}.planner-dialog .warning{margin:10px 0 13px}.planner-dialog .primary{padding:11px 17px}
@media(max-width:760px){.planner-dialog{padding:22px 14px;width:calc(100vw - 12px)}.planner-dialog h2{font-size:24px;margin-bottom:8px}.planner-dialog>p{font-size:10px;line-height:1.55}.planner-inputs{grid-template-columns:1fr 1fr;gap:7px}.planner-canvas svg{height:290px;min-height:230px}.room-name-list{grid-template-columns:1fr}.planner-options{display:block}.planner-summary{flex-wrap:wrap}.planner-summary small{width:100%;margin-left:0}.planner-legend{font-size:8px;gap:10px}.room-name-list label{grid-template-columns:30px minmax(0,1fr) 48px}.planner-dialog .warning{font-size:9px}}

.plan-object{fill:#cbd0becc;stroke:#7a887f;stroke-width:1.3;pointer-events:none}.plan-object.machine{fill:#78a0a6cc;stroke:#4f7276}.plan-object-label{font:700 8px var(--font);fill:#fff;text-anchor:middle;pointer-events:none}

/* v5.1 · quality, smart placement and representative sound controls */
select{font:inherit}.sound-meter{position:absolute;left:35px;bottom:53px;z-index:5;display:flex;align-items:center;gap:9px;padding:9px 11px;text-align:left;color:#537a6d}.sound-meter>i svg{width:18px;height:18px}.sound-meter>span{display:flex;flex-direction:column;gap:2px}.sound-meter b{font-size:11px;font-weight:600;letter-spacing:.1px}.sound-meter small{font-size:6.5px;letter-spacing:1.05px;color:#8ca096}.sound-meter:hover{background:#fff;color:#315f58}.stage.night .sound-meter{background:#fdfefae8}.settings-dialog{width:min(620px,calc(100vw - 26px));padding:30px}.settings-dialog>p{margin:0 0 18px}.settings-stack{display:grid;gap:9px}.settings-stack>section{border:1px solid #e3e9e0;background:#fafbf7;border-radius:11px;padding:14px 15px}.settings-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.settings-head>span{min-width:0}.settings-head b{display:block;font-size:12px;font-weight:600;color:#385c51}.settings-head small{display:block;font-size:9px;line-height:1.55;color:#8c9c92;margin-top:4px}.settings-head select{min-width:150px;max-width:220px;padding:8px 28px 8px 9px;border:1px solid #dbe5d9;border-radius:7px;background:#fff;color:#49685d;font-size:10px}.settings-check{display:flex!important;margin-top:12px;padding-top:10px;border-top:1px solid #e9eee6;font-size:9px!important;color:#7e9286!important}.switch-label{position:relative;display:inline-flex;flex-shrink:0}.switch-label input{position:absolute;opacity:0;pointer-events:none}.switch-label span{width:38px;height:22px;background:#dce5dd;border-radius:99px;display:block;position:relative;transition:.18s}.switch-label span:after{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;background:white;border-radius:50%;box-shadow:0 1px 4px #1d3f3125;transition:.18s}.switch-label input:checked+span{background:#4d8370}.switch-label input:checked+span:after{transform:translateX(16px)}.switch-label input:focus-visible+span{outline:2px solid #4c9688;outline-offset:3px}.range-setting{display:grid;grid-template-columns:118px minmax(0,1fr) 58px;align-items:center;gap:10px;margin-top:12px;color:#71887c;font-size:9px}.range-setting input{accent-color:#4d8370;width:100%}.range-setting output{text-align:right;color:#41675b;font-size:9px;font-variant-numeric:tabular-nums}.settings-note{font-size:8px!important;color:#9a988b!important;margin:9px 0 0!important;line-height:1.55!important}.settings-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:0 2px}.settings-foot>span{font-size:8px;color:#8b9d92}.settings-foot .text-button{font-size:9px}.quality-chip{font-variant-numeric:tabular-nums}
@media(max-width:760px){.sound-meter{left:17px;bottom:26px;padding:7px 9px;gap:7px}.sound-meter>i svg{width:15px;height:15px}.sound-meter b{font-size:9px}.sound-meter small{font-size:5.5px}.stage[data-mode=place] .sound-meter{bottom:57px}.settings-dialog{padding:23px 15px}.settings-head{align-items:flex-start;gap:10px}.settings-head select{min-width:122px;max-width:145px;font-size:9px;padding:7px}.settings-head b{font-size:11px}.settings-head small{font-size:8px}.settings-stack>section{padding:12px}.range-setting{grid-template-columns:88px minmax(0,1fr) 48px;gap:7px;font-size:8px}.settings-foot{align-items:flex-start;flex-direction:column}.stage-caption #quality-chip{display:none}}

/* v8 · Multi-product catalog, outdoor yard, custom objects and deep product CAD */
.catalog{width:340px;max-height:calc(100% - 165px)}.catalog-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:3px;background:#eef3ec;border-radius:8px;margin:0 0 11px}.catalog-tabs button{padding:8px 4px;border-radius:6px;font-size:9px;color:#81968a}.catalog-tabs button.active{background:#fff;color:#315f58;box-shadow:0 1px 5px #20392c12}.catalog-search{display:flex;align-items:center;gap:7px;height:34px;border:1px solid #dfe7dc;background:#fafbf7;border-radius:7px;padding:0 9px;color:#8fa197}.catalog-search i svg{width:14px;height:14px}.catalog-search input{border:0;background:transparent;min-width:0;width:100%;font-size:10px;color:#3f6055;outline:0}.catalog-filters{display:flex;gap:4px;margin:8px 0 11px;overflow:auto;scrollbar-width:none}.catalog-filters button{white-space:nowrap;padding:6px 8px;border:1px solid #e4eae1;border-radius:999px;font-size:8px;color:#829489}.catalog-filters button.active{background:#315f58;border-color:#315f58;color:#fff}.catalog-items{grid-template-columns:1fr;gap:5px}.catalog-item{min-height:0;padding:10px 10px;display:grid;grid-template-columns:29px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:9px;row-gap:2px;align-items:center}.catalog-item i{grid-row:1/3}.catalog-item i svg{width:24px;height:24px}.catalog-item b{font-size:10px;line-height:1.25}.catalog-item small{font-size:8px;line-height:1.3}.catalog-item .catalog-badge{grid-column:3;grid-row:1/3;align-self:center;font-size:6.5px;letter-spacing:.5px;border-radius:999px;padding:4px 6px;color:#718b7c;background:#eef5ee;border:1px solid #dce9dc}.catalog-item .catalog-badge.assumed{color:#a1895d;background:#f7f1e5;border-color:#eadfc6}.custom-actions{display:grid;gap:7px}.catalog-wide{display:flex;align-items:center;gap:10px;text-align:left;width:100%;border:1px solid #e2e9df;border-radius:9px;background:#f8faf5;padding:12px}.catalog-wide i svg{width:22px;height:22px;color:#64867a}.catalog-wide span{display:flex;flex-direction:column;gap:3px}.catalog-wide b{font-size:10px;font-weight:600}.catalog-wide small{font-size:8px;color:#93a198}.room-chip.outside{background:#eef1f6;border-color:#dce4ed;color:#687c92}.room-chip.outside:before{background:#7792ac}.planner-inputs.five{grid-template-columns:1.15fr .72fr .9fr .82fr .82fr}.custom-dialog{width:min(600px,calc(100vw - 26px))}.custom-dialog select,.product-dialog select{display:block;width:100%;padding:9px 8px;border:1px solid #dce5d9;border-radius:7px;margin-top:7px;background:#f9fbf6;color:#385a4e;font-size:12px}.product-dialog{width:min(690px,calc(100vw - 26px));padding:30px}.product-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:12px 0 17px}.product-title h2{margin:0 0 7px;font-size:29px}.product-title p{margin:0;max-width:480px}.product-title>span{white-space:nowrap;font-size:7px;letter-spacing:.6px;border-radius:999px;padding:6px 8px;background:#edf5ed;color:#557968;border:1px solid #d6e7d7}.product-title>span.assumed{background:#f7f1e5;color:#957a49;border-color:#eaddc0}.product-spec-strip{display:grid;grid-template-columns:1.25fr .8fr 1fr;border:1px solid #e2e8df;border-radius:10px;overflow:hidden;margin-bottom:17px}.product-spec-strip>span{padding:12px;border-right:1px solid #e6ebe3}.product-spec-strip>span:last-child{border-right:0}.product-spec-strip small{display:block;font-size:7px;letter-spacing:1px;color:#96a49a;margin-bottom:6px}.product-spec-strip b{font-size:11px;font-weight:600;color:#3f6155}.cad-lite{border:1px solid #e2e9df;border-radius:11px;background:#fafbf7;padding:16px}.cad-lite>div:first-child small{font-size:7px;letter-spacing:1.2px;color:#789187}.cad-lite h3{font-size:16px;margin:7px 0 13px;font-weight:550}.component-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.component-list span{display:flex;align-items:center;gap:7px;padding:8px 9px;border:1px solid #e7ece4;background:#fff;border-radius:7px;font-size:9px;color:#617b70}.component-list span:before{content:'';width:6px;height:6px;border:1.5px solid #668b7c;border-radius:2px;transform:rotate(12deg)}.product-actions{display:flex;gap:7px;align-items:center;margin-top:15px;flex-wrap:wrap}.product-actions .soft-button,.product-actions .primary{font-size:10px;text-decoration:none}.product-actions .primary{margin-left:auto}.presets-dialog{width:min(760px,calc(100vw - 26px))}.presets-dialog .preset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stage-caption span:first-child{max-width:48vw;overflow:hidden;text-overflow:ellipsis}.outside-hint{color:#66869b}
@media(max-width:760px){.catalog{left:10px;right:10px;top:86px;width:auto;max-height:calc(100% - 115px)}.catalog-item{grid-template-columns:27px minmax(0,1fr) auto}.planner-inputs.five{grid-template-columns:1fr 1fr}.product-dialog{padding:23px 15px}.product-title{display:block}.product-title>span{display:inline-block;margin-top:10px}.product-spec-strip{grid-template-columns:1fr}.product-spec-strip>span{border-right:0;border-bottom:1px solid #e6ebe3}.product-spec-strip>span:last-child{border-bottom:0}.component-list{grid-template-columns:1fr}.product-actions{display:grid;grid-template-columns:1fr 1fr}.product-actions .primary{margin-left:0;grid-column:1/-1}.presets-dialog .preset-grid{grid-template-columns:1fr 1fr}.custom-dialog{padding:23px 15px}}

/* v7 · Tampon CAD Studio: 14 pad-printing products, deep procedural inspection. */
.pad-cad-dialog{width:96vw;height:94svh;max-width:none;max-height:none;padding:0;border:0;border-radius:18px;overflow:hidden;background:#e9eef1;color:#18303d}.pad-cad-dialog::backdrop{background:#102936a8;backdrop-filter:blur(5px)}.pad-cad-shell{height:100%;display:grid;grid-template-columns:258px minmax(0,1fr) 286px;gap:1px;background:#d7e0e5}.pad-cad-panel{background:#fbfcfc;min-height:0;overflow:auto}.pad-cad-tree-panel{display:flex;flex-direction:column;padding:20px 15px 12px}.pad-cad-brand{display:flex;align-items:center;gap:9px;border-bottom:1px solid #e5ebee;padding:0 2px 15px;margin-bottom:19px}.pad-cad-brand #pad-cad-brand{width:34px}.pad-cad-brand #pad-cad-brand svg{width:34px;height:auto}.pad-cad-brand small{font-size:7px;letter-spacing:1.45px;color:#82959f}.pad-cad-product .eyebrow{font-size:7px;color:#78909d}.pad-cad-product h2{font-size:25px;letter-spacing:-.9px;margin:9px 0 5px}.pad-cad-product p{font-size:9px;line-height:1.55;color:#81919a;margin:0}.pad-cad-badge{display:inline-block;margin-top:12px;border:1px solid #cfe1d6;background:#eef6f0;color:#4e7761;border-radius:999px;padding:5px 7px;font-size:6px;letter-spacing:.7px}.pad-cad-badge.assumed{background:#f7f1e5;border-color:#eadfc7;color:#91784f}.pad-cad-tree-head{display:flex;justify-content:space-between;align-items:center;margin:24px 2px 8px;font-size:7px;letter-spacing:1.25px;color:#899aa4}.pad-cad-tree-head button{font-size:7px;color:#577c8f}.pad-cad-tree{overflow:auto;padding-right:2px}.pad-part-row{display:grid;grid-template-columns:minmax(0,1fr) 25px;align-items:center;border:1px solid transparent;border-radius:7px;margin:3px 0}.pad-part-row.active{background:#eef6fa;border-color:#c9dfea}.pad-part-row.hidden-part{opacity:.42}.pad-part-row>button:first-child{display:grid;grid-template-columns:25px minmax(0,1fr);gap:4px;text-align:left;align-items:center;padding:9px 6px;width:100%}.pad-part-row>button:first-child span{font-family:var(--mono,monospace);font-size:8px;color:#91a4af}.pad-part-row>button:first-child b{font-size:9px;font-weight:560;line-height:1.25;color:#506b79}.pad-part-row>button:last-child{font-size:9px;color:#6f91a3}.pad-cad-stage{position:relative;min-width:0;min-height:0;background:radial-gradient(circle at 48% 42%,#f5f8f9 0,#e6ecef 60%,#d9e1e5 100%);overflow:hidden}.pad-cad-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab}.pad-cad-stage canvas:active{cursor:grabbing}.pad-cad-stage-top{position:absolute;top:16px;left:19px;right:18px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.pad-cad-stage-top>div{pointer-events:auto}.pad-cad-stage-top>div:first-child{display:flex;flex-direction:column;gap:3px}.pad-cad-stage-top b{font-size:8px;letter-spacing:1.3px;color:#668290}.pad-cad-stage-top span{font-size:7px;color:#96a5ad}.pad-cad-views{display:flex;gap:3px;padding:3px;border:1px solid #ffffffbd;background:#ffffffa5;border-radius:8px;backdrop-filter:blur(8px)}.pad-cad-views button{font-size:8px;color:#738d9b;padding:7px 8px;border-radius:5px}.pad-cad-views button:hover,.pad-cad-views button.active,.pad-cad-views #pad-cad-technical.active{background:#fff;color:#276b91;box-shadow:0 1px 5px #274c6015}.pad-cad-center-mark{position:absolute;left:50%;top:50%;width:18px;height:18px;transform:translate(-50%,-50%);pointer-events:none;opacity:.28}.pad-cad-center-mark:before,.pad-cad-center-mark:after{content:'';position:absolute;background:#597a8a}.pad-cad-center-mark:before{left:8px;top:0;width:1px;height:18px}.pad-cad-center-mark:after{left:0;top:8px;width:18px;height:1px}.pad-cad-bottom{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);width:min(650px,calc(100% - 34px));padding:11px 12px 9px;border:1px solid #ffffffc8;background:#ffffffeb;border-radius:12px;box-shadow:0 8px 32px #1f3e4c18;backdrop-filter:blur(12px)}.pad-cad-explode{display:grid;grid-template-columns:62px minmax(0,1fr) 38px;align-items:center;gap:8px}.pad-cad-explode span{font-size:7px;letter-spacing:1.1px;color:#79909c}.pad-cad-explode input{width:100%;accent-color:#2f739a}.pad-cad-explode output{font-family:var(--mono,monospace);font-size:9px;text-align:right;color:#3f718b}.pad-cad-actions{display:flex;gap:3px;align-items:center;margin-top:7px}.pad-cad-actions button{font-size:8px;padding:7px 8px;border-radius:5px;color:#668293}.pad-cad-actions button:hover,.pad-cad-actions button.active{background:#edf5f8;color:#246b94}.pad-cad-actions #pad-cad-run{margin-left:auto;border:1px solid #dbe7ec}.pad-cad-metrics{position:absolute;left:17px;bottom:8px;font-family:var(--mono,monospace);font-size:6.5px;color:#92a3ab}.pad-cad-info-panel{padding:20px 17px 18px;position:relative}.pad-cad-close{position:absolute;top:12px;right:12px;width:30px;height:30px;border-radius:7px;font-size:23px;line-height:1;color:#81939c}.pad-cad-close:hover{background:#edf2f4}.pad-cad-selected{padding:17px 4px 18px;border-bottom:1px solid #e6ecef}.pad-cad-selected small,.pad-cad-spec-title span,.pad-cad-notes>span{font-size:7px;letter-spacing:1.15px;color:#8b9da6}.pad-cad-selected h3{font-size:18px;letter-spacing:-.35px;margin:9px 0 7px}.pad-cad-selected p{font-size:9px;line-height:1.6;color:#84969f;margin:0}.pad-cad-selected code{display:inline-block;margin-top:8px;background:#eef4f6;color:#587789;border-radius:4px;padding:4px 6px;font-size:8px}.pad-cad-spec-title{display:flex;justify-content:space-between;align-items:center;margin:19px 2px 8px}.pad-cad-spec-title small{font-size:7px;color:#9ba9af}.pad-cad-specs{display:grid;grid-template-columns:1fr 1fr;gap:5px}.pad-cad-specs>div{border:1px solid #e4eaed;background:#fff;border-radius:7px;padding:8px}.pad-cad-specs small{display:block;font-size:6.5px;color:#95a4ab;margin-bottom:4px}.pad-cad-specs b{font-size:8px;font-weight:560;line-height:1.35;color:#496675}.pad-cad-notes{margin-top:18px}.pad-cad-notes ul{padding-left:16px;margin:8px 0 0}.pad-cad-notes li{font-size:8px;color:#7f929c;line-height:1.55;margin:4px 0}.pad-cad-source{display:inline-flex;margin-top:16px;font-size:8px;color:#286f98;text-decoration:none;border-bottom:1px solid #a7c6d6;padding-bottom:2px}.pad-cad-disclaimer{font-size:7px;line-height:1.55;color:#a08f6d;background:#faf6ed;border:1px solid #ede3cc;border-radius:7px;padding:9px;margin:14px 0 0}.product-actions .primary.pad-deep{background:#235f83}.cad-lite.pad-upgraded{background:#f2f8fa;border-color:#d4e6ed}.cad-lite.pad-upgraded #product-components-kicker{color:#4b849e}.cad-lite.pad-upgraded .component-list span{border-color:#dce9ee}.cad-lite.pad-upgraded .component-list span:before{border-color:#3f86a4}
@media(max-width:1100px){.pad-cad-dialog{width:98vw;height:96svh}.pad-cad-shell{grid-template-columns:220px minmax(0,1fr) 245px}.pad-cad-tree-panel{padding:16px 11px}.pad-cad-info-panel{padding:16px 12px}.pad-cad-specs{grid-template-columns:1fr}.pad-cad-actions button{padding:7px 5px;font-size:7px}}
@media(max-width:760px){.pad-cad-dialog{width:100vw;height:100svh;border-radius:0}.pad-cad-shell{display:block;position:relative}.pad-cad-stage{height:100%}.pad-cad-tree-panel{position:absolute;z-index:4;left:9px;top:64px;width:214px;max-height:58%;border:1px solid #dae4e8;border-radius:10px;box-shadow:0 10px 32px #16334232;background:#fbfcfce8;backdrop-filter:blur(10px);padding:12px}.pad-cad-brand,.pad-cad-product p,.pad-cad-badge{display:none}.pad-cad-product h2{font-size:17px;margin:3px 0}.pad-cad-tree-head{margin-top:10px}.pad-cad-info-panel{position:absolute;z-index:5;right:9px;top:64px;width:218px;max-height:55%;border:1px solid #dae4e8;border-radius:10px;box-shadow:0 10px 32px #16334232;background:#fbfcfcf2;backdrop-filter:blur(10px);padding:12px;display:none}.pad-cad-info-panel:has(.pad-cad-selected code){display:block}.pad-cad-close{position:fixed;right:10px;top:10px;background:#ffffffde;box-shadow:0 2px 10px #17374420;z-index:8}.pad-cad-stage-top{top:12px;left:13px;right:48px}.pad-cad-stage-top>div:first-child{display:none}.pad-cad-views{max-width:calc(100vw - 72px);overflow:auto}.pad-cad-views button{font-size:7px;padding:7px}.pad-cad-bottom{bottom:13px;width:calc(100% - 18px);padding:9px}.pad-cad-actions{overflow:auto}.pad-cad-actions button{white-space:nowrap}.pad-cad-metrics{display:none}.pad-cad-specs{grid-template-columns:1fr 1fr}.pad-cad-specs>div:nth-child(n+7){display:none}}

/* v9 · web project/share integration. Offline UI stays unchanged until HTTP(S) server mode is detected. */
.readonly-banner{position:absolute;z-index:28;top:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid #d7e2dc;background:#fffffff2;border-radius:999px;box-shadow:0 5px 18px #17392a14;color:#45685e;backdrop-filter:blur(10px)}.readonly-banner[hidden]{display:none}.readonly-banner b{font-size:9px;letter-spacing:.55px}.readonly-banner span{font-size:8px;color:#7d8f88}.read-only #readonly-banner{display:flex}.read-only #catalog-toggle,.read-only #presets-open,.read-only #room-open{opacity:.42}.read-only #rotate-object,.read-only #duplicate,.read-only #delete-object,.read-only #finish-row,.read-only .dimensions-detail{display:none!important}.read-only .selection{padding-bottom:14px}.server-project{margin:18px 0;padding:14px;border:1px solid #dce8e1;border-radius:10px;background:#f7faf8}.server-project[hidden]{display:none}.server-project-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.server-project-head span{display:flex;flex-direction:column;gap:3px}.server-project-head b{font-size:10px;color:#395f54}.server-project-head small{font-size:8px;color:#85968f}.server-dot{width:7px;height:7px;border-radius:50%;background:#68a487;box-shadow:0 0 0 4px #68a48718}.server-project-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}.server-project-actions .primary{grid-column:1/-1;justify-content:flex-start;text-align:left;padding:10px 12px}.server-project-actions .primary span{display:flex;flex-direction:column;gap:2px}.server-project-actions .primary b{font-size:9px}.server-project-actions .primary small{font-size:7px;opacity:.72}.server-project-actions .soft-button{font-size:8px;justify-content:center}.server-project-actions button:disabled{opacity:.4;cursor:not-allowed}.server-note{font-size:7.5px!important;line-height:1.5!important;color:#899a92!important;margin:10px 0 0!important}.share-mode #server-project .server-project-actions{display:none}.share-mode #autosave,.share-mode #clear-local{display:none}.embed.read-only #readonly-banner{top:10px}@media(max-width:700px){.readonly-banner{max-width:calc(100vw - 20px);white-space:nowrap}.readonly-banner span{display:none}.server-project-actions{grid-template-columns:1fr}.server-project-actions .primary{grid-column:1}.server-project-actions .soft-button{justify-content:flex-start}}

/* v10 · compact product-aware process card */
.process-line{margin:10px 0 12px;padding:10px 11px;border:1px solid #dfe9f0;border-radius:8px;background:linear-gradient(135deg,#f8fbfd,#f3f7fa);display:grid;gap:4px;color:#617d92}.process-progress{height:4px;overflow:hidden;border-radius:999px;background:#dfe9e8;margin-top:2px}.process-progress[hidden]{display:none}.process-progress i{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2c8a72,#58ad8d);transform:scaleX(0);transform-origin:left center;will-change:transform}.process-stage-meta{font-family:var(--mono,monospace);font-size:6.5px!important;letter-spacing:.45px!important;color:#789187!important}.process-stage-meta[hidden]{display:none}.night .process-progress{background:#31505e}.night .process-stage-meta{color:#9bb8ac!important}.process-line span{font-size:10px;font-weight:650;color:#285f88}.process-line b{font-size:9px;font-weight:550;color:#607b8f;line-height:1.45}.process-line small{font-size:7px;letter-spacing:.8px;color:#91a3b0}.process-line strong{font-size:9px;font-weight:650;color:#1b7a62;padding-top:3px}.process-line strong:before{content:'●';font-size:6px;margin-right:6px;vertical-align:1px}.night .process-line{background:#203b4f;border-color:#46647a;color:#b7c9d5}.night .process-line span{color:#9fc9e6}.night .process-line b{color:#aac1d0}.night .process-line small{color:#7997aa}.night .process-line strong{color:#7ed4b7}@media(max-width:760px){.process-line{padding:8px 9px;margin:8px 0 10px}.process-line span{font-size:9px}.process-line b{font-size:8px}}

/* v11.1 · human-scale walk posture */
.walk-posture{position:absolute;left:181px;bottom:82px;display:flex;gap:7px;align-items:center}.walk-posture .pill{padding:9px 11px;font-size:9px;background:#fffffbd9}.walk-posture .pill[aria-pressed=true]{background:#315f58;color:#fff;border-color:#315f58}.walk-posture #walk-height-chip{font-weight:650}.settings-head>output{font-size:11px;font-weight:650;color:#416f63;background:#eef4ed;border:1px solid #dbe7dc;border-radius:7px;padding:7px 9px;white-space:nowrap}
@media(max-width:760px){.walk-posture{left:18px;bottom:165px;gap:5px}.walk-posture .pill{font-size:8px;padding:7px 8px}.walk-home{bottom:205px}.joystick{bottom:39px}}

/* v11.2 · walk comfort controls: mobile sprint/lean, low-clutter desktop */
.walk-mobile-tools{display:none}.walk-mobile-tools .pill{font-size:8px;padding:8px 10px;background:#fffffbe8}.walk-mobile-tools .pill.active,.walk-mobile-tools .pill[aria-pressed=true]{background:#315f58;color:#fff;border-color:#315f58}.walk-mobile-tools [data-walk-lean]{touch-action:none;user-select:none;-webkit-user-select:none}
@media(max-width:760px){.walk-mobile-tools{position:absolute;left:18px;bottom:126px;display:flex;gap:5px;align-items:center}.walk-mobile-tools .pill{min-width:62px}.walk-posture{bottom:167px}.walk-home{bottom:210px}.joystick{bottom:37px}}

.stage[data-mode=walk][data-look-mode=game]>canvas{cursor:crosshair}.stage.pointer-locked>canvas{cursor:none}.walk-look-status{color:#5f8376!important;font-weight:550}.walk-crosshair{display:none;position:absolute;left:50%;top:50%;width:18px;height:18px;transform:translate(-50%,-50%);z-index:7;pointer-events:none;filter:drop-shadow(0 1px 2px #fff)}.stage.pointer-locked .walk-crosshair{display:block}.walk-crosshair:before,.walk-crosshair:after{content:'';position:absolute;background:#315f58aa;border-radius:2px}.walk-crosshair:before{left:8px;top:1px;width:2px;height:16px}.walk-crosshair:after{left:1px;top:8px;width:16px;height:2px}.walk-crosshair i{position:absolute;left:7px;top:7px;width:4px;height:4px;border-radius:50%;background:#ffffffe8;box-shadow:0 0 0 1px #315f58}.select-setting{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:10px;margin-top:12px;color:#71887c;font-size:9px}.select-setting select{width:100%;padding:8px 28px 8px 9px;border:1px solid #dbe5d9;border-radius:7px;background:#fff;color:#49685d;font-size:10px}@media(max-width:760px){.select-setting{grid-template-columns:88px minmax(0,1fr);gap:7px;font-size:8px}.stage[data-mode=walk][data-look-mode=game]>canvas{cursor:grab}.walk-crosshair{display:none!important}}


/* v11.7 · coherent theme, catalog geometry preview and place-navigation polish */
.catalog-item{position:relative}.catalog-item .catalog-product-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.35;color:#61796f}.catalog-item>em{font-style:normal;font-size:7px;letter-spacing:.55px;text-transform:uppercase;color:#a0afa5;margin-top:auto}.catalog-preview{position:fixed;z-index:31;width:300px;padding:8px;pointer-events:none;overflow:hidden;animation:catalogPreviewIn .12s ease-out}.catalog-preview canvas{display:block;width:284px;height:178px;border-radius:9px;background:#f4f7f2}.catalog-preview-copy{display:grid;gap:3px;padding:9px 8px 7px}.catalog-preview-copy small{font-size:7px;letter-spacing:1.2px;color:#829a90}.catalog-preview-copy b{font-size:14px;font-weight:650;letter-spacing:-.2px}.catalog-preview-copy span{font-size:9px;color:#6e857c;line-height:1.35}.catalog-preview-copy em{font-size:7.5px;color:#92a39c;font-style:normal;margin-top:2px}@keyframes catalogPreviewIn{from{opacity:0;transform:translateY(4px) scale(.985)}to{opacity:1;transform:none}}@media(max-width:760px),(pointer:coarse){.catalog-preview{display:none!important}}
.theme-samples{display:flex;align-items:center;gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid #e9eee6}.theme-sample{display:block;width:31px;height:18px;border-radius:5px;border:1px solid #dbe5dc;box-shadow:inset 0 0 0 5px #fff;background:#eef2ec}.theme-sample.dark{border-color:#35504a;box-shadow:inset 0 0 0 5px #182522;background:#273b36}.theme-samples span{font-size:8px;color:#82958a;margin-left:3px}
html[data-theme=dark]{--ink:#d8e4df;--muted:#91a59d;--accent:#79b9a5;--line:#31453f;--paper:#0f1715;--white:#17201e;color-scheme:dark}html[data-theme=dark] body{background:#0f1715;color:var(--ink)}html[data-theme=dark] .header{background:#121c19;border-color:#263832}html[data-theme=dark] .brand .sp-mark{color:#8ebdaf}html[data-theme=dark] .brand small,html[data-theme=dark] .save-state{color:#81958e}html[data-theme=dark] .modes{background:#182521;border-color:#2b3e38}html[data-theme=dark] .modes button{color:#8ca099}html[data-theme=dark] .modes button.active{background:#263731;color:#cfe0d9;box-shadow:0 2px 8px #0005}html[data-theme=dark] .quiet:hover,html[data-theme=dark] .square:hover{background:#263832}html[data-theme=dark] .floating{background:#17231fef;border-color:#334940;box-shadow:0 14px 46px #0006}html[data-theme=dark] .pill,html[data-theme=dark] .glass{background:#17231fd8;border-color:#334940;color:#b7d0c7}html[data-theme=dark] .catalog-item{background:#1c2925;border-color:#31463f}html[data-theme=dark] .catalog-item:hover,html[data-theme=dark] .catalog-item:focus-visible{background:#263b34;border-color:#527766}html[data-theme=dark] .catalog-item i svg{color:#87b3a5}html[data-theme=dark] .catalog-item small,html[data-theme=dark] .catalog-item .catalog-product-name{color:#9cb0a8}html[data-theme=dark] .catalog-item>em{color:#758e85}html[data-theme=dark] .catalog-preview canvas{background:#13201e}html[data-theme=dark] .catalog-preview-copy span{color:#9db0a9}html[data-theme=dark] .catalog-preview-copy small,html[data-theme=dark] .catalog-preview-copy em{color:#7f9890}html[data-theme=dark] .soft-button,html[data-theme=dark] .soft{background:#21312c;border-color:#334840;color:#a8c5b8}html[data-theme=dark] .view-tools>button.active{background:#294137;color:#a8d3c0}html[data-theme=dark] .view-tools>span{background:#344940}html[data-theme=dark] .selection .model-note{background:#332f24;border-color:#73664a;color:#c6ad7b}html[data-theme=dark] dialog{background:#15201d;color:#d9e6e0;border-color:#344941;box-shadow:0 25px 100px #0009}html[data-theme=dark] dialog::backdrop{background:#07100ec7}html[data-theme=dark] dialog p{color:#97aaa2}html[data-theme=dark] .warning{background:#302c21;border-color:#514a34;color:#c6af7e}html[data-theme=dark] .warning b{color:#dbc492}html[data-theme=dark] .form-grid input,html[data-theme=dark] .full-label input,html[data-theme=dark] .planner-dialog select,html[data-theme=dark] .planner-inputs input,html[data-theme=dark] .settings-head select,html[data-theme=dark] .select-setting select{background:#101a17;border-color:#344941;color:#d2e0da}html[data-theme=dark] input::placeholder{color:#647c73}html[data-theme=dark] .settings-stack>section,html[data-theme=dark] .server-project{background:#192622;border-color:#31463e}html[data-theme=dark] .settings-head b,html[data-theme=dark] .server-project-head b{color:#b8d1c7}html[data-theme=dark] .settings-head small,html[data-theme=dark] .settings-foot>span,html[data-theme=dark] .settings-note{color:#849a91!important}html[data-theme=dark] .settings-check,html[data-theme=dark] .theme-samples{border-color:#2d413a}html[data-theme=dark] .theme-samples span{color:#8da299}html[data-theme=dark] .settings-head>output{background:#22332d;border-color:#334a40;color:#a7cabb}html[data-theme=dark] .range-setting,html[data-theme=dark] .select-setting{color:#96aaa2}html[data-theme=dark] .range-setting output{color:#aac9bc}html[data-theme=dark] .planner-canvas{background:#121d1a;border-color:#30443d}html[data-theme=dark] .plan-shell{fill:#1b2925;stroke:#688276}html[data-theme=dark] .plan-room-label{fill:#bbd0c7}html[data-theme=dark] .plan-room-area,html[data-theme=dark] .plan-dim,html[data-theme=dark] .entry-mark text{fill:#81968d}html[data-theme=dark] .plan-wall{stroke:#90aa9e}html[data-theme=dark] .wall-grip{fill:#17231f;stroke:#83b09d}html[data-theme=dark] .door-handle{fill:#77aa94;stroke:#17231f}html[data-theme=dark] .room-name-list label{background:#192522;border-color:#30443d}html[data-theme=dark] .room-name-list input{color:#c9dad3}html[data-theme=dark] .room-name-list input:focus{background:#101a17;outline-color:#6d9e88}html[data-theme=dark] .preset-grid button,html[data-theme=dark] .save-grid button{background:#1b2925;border-color:#30443d}html[data-theme=dark] .preset-grid button:hover,html[data-theme=dark] .save-grid button:hover{background:#263a33;border-color:#476b5c}html[data-theme=dark] .preset-grid span,html[data-theme=dark] .save-grid small{color:#8da099}html[data-theme=dark] .readonly-banner{background:#17231ff2;border-color:#334940;color:#a8c5b8}html[data-theme=dark] .readonly-banner span{color:#859a91}html[data-theme=dark] #loading,html[data-theme=dark] #fallback{background:#101917;color:#d8e5df}html[data-theme=dark] .dialog-message{background:#322d20;border-color:#544a32;color:#d6bb80!important}html[data-theme=dark] .cad-header{background:#17231f;color:#d5e4dd}html[data-theme=dark] .pad-cad-tree-panel,html[data-theme=dark] .pad-cad-info-panel{background:#14211eef;border-color:#334940}html[data-theme=dark] .pad-cad-selected,html[data-theme=dark] .pad-cad-specs>div{border-color:#30443d;background:#192622}html[data-theme=dark] .pad-cad-selected h3,html[data-theme=dark] .pad-cad-specs b{color:#bad0c8}html[data-theme=dark] .pad-cad-tree button{color:#a5bbb3}html[data-theme=dark] .pad-cad-tree button:hover,html[data-theme=dark] .pad-cad-tree button.active{background:#253832;color:#d5e6df}html[data-theme=dark] .pad-cad-close{background:#192622;color:#aec5bc}html[data-theme=dark] .process-line{background:#203b4f;border-color:#46647a;color:#b7c9d5}html[data-theme=dark] .process-progress{background:#31505e}html[data-theme=dark] .process-stage-meta{color:#9bb8ac!important}

html[data-theme=dark] .stage.night .floating{background:#17231fef;border-color:#334940}html[data-theme=dark] .stage.night .text-button{color:#a9c5b9}html[data-theme=dark] .stage.night .sound-meter{background:#17231fef;color:#b4cfc4}html[data-theme=dark] .walk-posture .pill,html[data-theme=dark] .walk-mobile-tools .pill{background:#17231fe8;border-color:#334940;color:#aec8bd}html[data-theme=dark] .joystick{background:#15231f70}html[data-theme=dark] .joystick button{background:#1e302ae8;border-color:#30473e;color:#b4d0c3}html[data-theme=dark] .joystick button:active{background:#315546}html[data-theme=dark] .stage-caption,html[data-theme=dark] .gesture{color:#85a097}
/* v11.7 catalog row refinement + dark-system coverage */
.catalog-item:has([class="catalog-product-name"]),.catalog-item[data-preview]{grid-template-rows:auto auto auto}.catalog-item[data-preview]>i{grid-row:1/4}.catalog-item[data-preview]>b{grid-column:2;grid-row:1}.catalog-item[data-preview]>.catalog-product-name{grid-column:2;grid-row:2}.catalog-item[data-preview]>em{grid-column:2;grid-row:3}.catalog-item[data-preview]>.catalog-badge{grid-column:3;grid-row:1/4}
html[data-theme=dark] .catalog-tabs{background:#101a17}html[data-theme=dark] .catalog-tabs button{color:#7f958c}html[data-theme=dark] .catalog-tabs button.active{background:#263731;color:#c7dbd2;box-shadow:0 1px 5px #0005}html[data-theme=dark] .catalog-search{background:#101a17;border-color:#30443d;color:#8da49a}html[data-theme=dark] .catalog-search input{color:#d0dfd8}html[data-theme=dark] .catalog-filters button{border-color:#30443d;color:#8ea39a}html[data-theme=dark] .catalog-filters button.active{background:#3f725f;border-color:#3f725f;color:#fff}html[data-theme=dark] .catalog-item .catalog-badge{background:#24382f;border-color:#385247;color:#9cc5ae}html[data-theme=dark] .catalog-item .catalog-badge.assumed{background:#342f22;border-color:#584e36;color:#c6ad77}html[data-theme=dark] .custom-actions .catalog-wide{background:#1b2925;border-color:#30443d}html[data-theme=dark] .custom-actions .catalog-wide small{color:#8da099}html[data-theme=dark] .product-spec-strip,html[data-theme=dark] .product-spec-strip>span{border-color:#30443d}html[data-theme=dark] .product-spec-strip b{color:#b9d0c6}html[data-theme=dark] .product-spec-strip small{color:#81978e}html[data-theme=dark] .cad-lite{background:#192622;border-color:#30443d}html[data-theme=dark] .component-list span{background:#111c19;border-color:#30443d;color:#9db4aa}html[data-theme=dark] .product-title>span{background:#23382e;border-color:#355247;color:#a8cbb9}html[data-theme=dark] .product-title>span.assumed{background:#342f22;border-color:#584e36;color:#c6ad77}html[data-theme=dark] .exact-size{border-color:#30443d}html[data-theme=dark] .planner-legend,html[data-theme=dark] .room-name-list label>span,html[data-theme=dark] .room-name-list b{color:#83988f}

.process-output-status{font-family:var(--mono,monospace);font-size:7px!important;letter-spacing:.5px!important;color:#55796d!important}.process-output-status[hidden]{display:none}html[data-theme=dark] .process-output-status{color:#9cc4b5!important}

/* v11.9 operator status */
.process-worker-status{color:#5f7f73}.stage.night .process-worker-status{color:#9ebcaf}

/* v11.14 · workshop identity + compact sign controls */
.workshop-name-setting{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:10px;margin-top:10px;font-size:9px;color:#64796f}.workshop-name-setting input{width:100%;min-width:0;border:1px solid #dfe8e1;border-radius:9px;background:#fff;color:#28473c;padding:9px 10px;font:600 10px/1.2 var(--sans,Arial,sans-serif);outline:none}.workshop-name-setting input:focus{border-color:#7cae99;box-shadow:0 0 0 3px #7cae991c}.identity-settings .settings-note{margin-top:8px!important}html[data-theme=dark] .workshop-name-setting{color:#96aaa2}html[data-theme=dark] .workshop-name-setting input{background:#101a17;border-color:#344941;color:#d2e0da}@media(max-width:760px){.workshop-name-setting{grid-template-columns:76px minmax(0,1fr);gap:7px}.workshop-name-setting input{font-size:9px;padding:8px}}

/* v11.18: inspect the actual worker in the existing canvas, no duplicate WebGL preview. */
.worker-focus{margin-top:9px;border:1px solid #aecbc0;background:#edf4f0;color:#244d40;border-radius:8px;padding:8px 12px;cursor:pointer;font:600 11px Arial,sans-serif}.worker-focus:hover{background:#dcebe3}.worker-focus:focus-visible{outline:2px solid #518c74;outline-offset:3px}html[data-theme=dark] .worker-focus{background:#243d33;color:#d2e6dd;border-color:#4d7060}
/* v11.19: application cards / optional narrator / bounded logistics controls. */
.machine-guide{padding:13px 0 4px;border-top:1px solid #e2e9e3;margin-top:10px;line-height:1.5}
.guide-kicker{font-size:8px;letter-spacing:.14em;font-weight:700;color:#708b80}.machine-guide h3{font-size:13px;margin:4px 0 7px;color:#284b40}.machine-guide p{font-size:10px;color:#587064;margin:6px 0}.guide-examples{display:grid;gap:5px;margin:9px 0}.guide-examples details{padding:7px 8px;border-radius:7px;background:#f0f5f1;border:1px solid #e0e9e2}.guide-examples summary{font-size:10px;font-weight:650;cursor:pointer;color:#345d4e}.guide-examples small{font-size:8px;color:#6e8278}.machine-guide>details>summary{font-size:9px;color:#557065;cursor:pointer}.machine-guide a{font-size:9px;color:#2d7660}.guide-actions{display:flex;gap:9px;align-items:center;margin-top:10px}.guide-actions .soft-button{font-size:11px;min-height:34px;flex:1}.guide-status{font-size:9px!important;line-height:1.5;color:#698075!important}.delivery-status{margin-top:9px;border-top:1px dashed #d1ddd4;padding-top:8px;display:flex;flex-direction:column;gap:4px}.delivery-status b{font-size:8px;letter-spacing:.08em;color:#557062}.delivery-status span{font-size:10px;color:#547165}.delivery-status button{text-align:left;align-self:flex-start;font-size:10px;min-height:28px}.logistics-settings,.narration-settings{margin:14px 0;border-top:1px solid #e0e8e2;padding-top:14px}.narration-permission{display:flex;align-items:center;gap:7px;font-size:11px;margin-top:10px}.narration-settings input[type=range]{width:100%}.narration-caption{position:absolute;left:50%;bottom:106px;transform:translateX(-50%);width:min(560px,calc(100% - 36px));z-index:7;padding:13px 17px;display:flex;flex-direction:column;gap:5px;box-shadow:0 8px 40px #15352f18;pointer-events:auto}.narration-caption[hidden]{display:none}.narration-caption b{font-size:10px;color:#406650}.narration-caption span{font-size:12px;line-height:1.55;color:#314e42}.narration-caption button{align-self:flex-end;font-size:10px}.product-application-guide{margin:18px 0;padding:15px;background:#f0f5f1;border-radius:10px}.product-application-guide h3{font-size:15px;margin:0 0 7px}.product-application-guide p{font-size:12px}.product-application-guide div{display:flex;flex-wrap:wrap;gap:6px}.product-application-guide span{background:#e2ece5;color:#315a46;font-size:11px;padding:5px 9px;border-radius:5px}.product-application-guide small{font-size:10px;line-height:1.6;display:block;margin-top:10px;color:#5c7166}
html[data-theme=dark] .machine-guide{border-color:#354c41}html[data-theme=dark] .machine-guide h3,html[data-theme=dark] .narration-caption span{color:#d6e7dd}html[data-theme=dark] .machine-guide p,html[data-theme=dark] .delivery-status span{color:#adc5b7}html[data-theme=dark] .guide-examples details,html[data-theme=dark] .product-application-guide{background:#182b22;border-color:#345243}html[data-theme=dark] .guide-examples summary{color:#c6dfcf}html[data-theme=dark] .guide-status{color:#9bbcaa!important}html[data-theme=dark] .product-application-guide span{background:#284536;color:#d8e5da}
@media(max-width:760px){.machine-guide h3{font-size:12px}.narration-caption{bottom:82px;padding:10px 12px}.narration-caption span{font-size:11px}.logistics-settings,.narration-settings{margin:10px 0}}

.guide-sample{font-weight:600;color:#235649;background:#edf4ef;padding:8px;border-radius:6px}html[data-theme=dark] .guide-sample{color:#bfdccb;background:#23372e}

/* v11.20 · performance governor controls */
.performance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.performance-grid label{display:grid;gap:5px;min-width:0;font-size:8px;font-weight:700;letter-spacing:.055em;color:#698077;text-transform:uppercase}.performance-grid select{width:100%;min-width:0;border:1px solid #dfe8e1;border-radius:8px;background:#fff;color:#28473c;padding:8px 9px;font:600 9px/1.2 var(--sans,Arial,sans-serif);outline:none;text-transform:none;letter-spacing:0}.performance-grid select:focus{border-color:#76a994;box-shadow:0 0 0 3px #76a99418}.smart-performance{line-height:1.35}.performance-readout{margin-top:9px;padding:9px 10px;border:1px solid #dbe7df;border-radius:9px;background:#f7faf8;display:grid;gap:3px}.performance-readout b{font:700 9px/1.3 var(--mono,monospace);letter-spacing:.035em;color:#335d50}.performance-readout span{font:500 8px/1.45 var(--mono,monospace);color:#6d8178}.performance-settings .settings-note{margin-top:8px!important}html[data-theme=dark] .performance-grid label{color:#92a79e}html[data-theme=dark] .performance-grid select{background:#101a17;border-color:#344941;color:#d2e0da}html[data-theme=dark] .performance-readout{background:#13201d;border-color:#344941}html[data-theme=dark] .performance-readout b{color:#bdd6ca}html[data-theme=dark] .performance-readout span{color:#91a69c}@media(max-width:760px){.performance-grid{grid-template-columns:1fr;gap:7px}.performance-grid select{padding:8px}.performance-readout{padding:8px 9px}}

/* v11.21 · source-backed machine facts */
.guide-facts{margin:8px 0;padding:8px 9px;border:1px solid #dce8e0;border-radius:8px;background:#f8faf8}.guide-facts small{display:block;font:700 8px/1.35 var(--mono,monospace);color:#527466;margin-bottom:5px}.guide-facts ul{margin:0;padding-left:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px}.guide-facts li{font-size:9px;line-height:1.35;color:#4d665b}.guide-facts em{display:block;margin-top:6px;font-size:8px;line-height:1.4;color:#8a6239}html[data-theme=dark] .guide-facts{background:#14231d;border-color:#344b40}html[data-theme=dark] .guide-facts small{color:#a7cbb9}html[data-theme=dark] .guide-facts li{color:#aac2b6}html[data-theme=dark] .guide-facts em{color:#d2b17f}@media(max-width:760px){.guide-facts ul{grid-template-columns:1fr}}

/* v11.23 · beauty product preview polish */
.catalog-preview{border-color:#dbe7df;box-shadow:0 18px 58px #16352a26}.catalog-preview canvas{object-fit:cover;box-shadow:inset 0 0 0 1px #284b3a10}.catalog-preview-copy b{font-size:15px}.catalog-preview-copy em{line-height:1.45}.catalog-preview:before{content:'3B MODEL ÖNİZLEMESİ';position:absolute;top:16px;right:16px;z-index:2;padding:5px 7px;border-radius:999px;background:#173f36d9;color:#d7eee4;font-size:6px;letter-spacing:.9px;font-weight:700;backdrop-filter:blur(5px)}html[data-theme=dark] .catalog-preview{border-color:#355048}.catalog-preview canvas{image-rendering:auto}
/* v11.25 · safe single-SKU product module manager */
.product-module-settings code{font:600 9px/1.3 var(--mono,Consolas,monospace);background:#edf3ef;padding:2px 5px;border-radius:5px}.product-module-list{display:grid;gap:7px;margin-top:10px}.product-module-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid #dfe8e1;border-radius:9px;padding:9px 10px;background:#f7faf8}.product-module-row>span{min-width:0;display:grid;gap:2px}.product-module-row b{font-size:10px;color:#34564c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-module-row small{font-size:8px;color:#7b8e86}.product-module-actions{display:flex;align-items:center;gap:5px}.product-module-actions button{font-size:8px;padding:6px 7px;border-radius:6px;background:#edf3ef;color:#47675d}.product-module-actions button.danger{color:#98574f;background:#f6ece9}.product-module-status{margin-top:8px;display:flex;justify-content:space-between;gap:8px;font:500 8px/1.35 var(--mono,Consolas,monospace);color:#70847b}.product-module-import-summary{margin-top:8px;border:1px solid #cfe0d7;background:#eef6f1;border-radius:8px;padding:8px 10px;font:600 9px/1.45 var(--sans,Arial,sans-serif);color:#3c6254}.product-module-import-summary.has-error{border-color:#e1c6bd;background:#fbf1ee;color:#8a554b}.product-module-import-summary small{display:block;margin-top:3px;font-weight:500;opacity:.85}html[data-theme=dark] .product-module-import-summary{background:#13231d;border-color:#365448;color:#b8d3c7}html[data-theme=dark] .product-module-import-summary.has-error{background:#291c19;border-color:#67453e;color:#e2b9af}.product-module-row.disabled{opacity:.58}.product-module-row .module-state{display:inline-flex;align-items:center;gap:5px}.product-module-row .module-state:before{content:"";width:5px;height:5px;border-radius:50%;background:#5d9d82}.product-module-row.disabled .module-state:before{background:#a49a70}html[data-theme=dark] .product-module-settings code{background:#14231e;color:#c9ddd4}html[data-theme=dark] .product-module-row{background:#111d1a;border-color:#344941}html[data-theme=dark] .product-module-row b{color:#c5d8d0}html[data-theme=dark] .product-module-actions button{background:#1b2a25;color:#a9c0b6}html[data-theme=dark] .product-module-status{color:#91a69c}

/* Shared normal / photo-guided product presentation controls. */
.ob-model-choice{display:grid;gap:6px;margin:12px 0;font-size:12px;font-weight:600}.ob-model-choice select{width:100%;min-height:38px;padding:8px 10px;border:1px solid var(--line,#ccd6d3);border-radius:8px;color:inherit;background:var(--card,#fff);font:inherit}.ob-model-choice[hidden]{display:none}

@media(max-width:760px){.pad-cad-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:158px minmax(0,1fr);gap:0}.pad-cad-tree-panel{position:static;inset:auto;width:auto;max-width:none;max-height:none;box-shadow:none;border-radius:0;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);column-gap:14px;overflow:hidden}.pad-cad-tree-panel .pad-cad-product{grid-column:1;grid-row:1}.pad-cad-tree-panel .ob-model-choice{grid-column:1;grid-row:2;align-self:start;gap:5px;margin:5px 0;font-size:10px}.pad-cad-tree-panel .ob-model-choice select{min-height:35px;font-size:11px;padding:7px}.pad-cad-tree-panel .pad-cad-tree-head{grid-column:2;grid-row:1;margin:0;padding-right:24px;letter-spacing:.4px;gap:4px}.pad-cad-tree-panel .pad-cad-tree{grid-column:2;grid-row:2;min-height:0;max-height:none;overflow:auto}.pad-cad-info-panel,.pad-cad-info-panel:has(.pad-cad-selected code){display:contents}.pad-cad-info-panel>:not(.pad-cad-close){display:none}.pad-cad-info-panel .pad-cad-close{position:absolute;top:4px;right:3px;z-index:6;display:block;width:28px;height:28px}.pad-cad-stage{grid-column:1;grid-row:2;width:100%;height:100%}}
