@import url("/wp-content/plugins/artimsan-site-tools/privacy/fonts.css?v=1.0.0");

#artimsan-3d-editor *{box-sizing:border-box}
#artimsan-3d-editor{margin:0;background:#f5f3ed;color:#243c33;font:14px 'DM Sans',Arial,sans-serif}
#artimsan-3d-editor header{height:82px;padding:0 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #deded5;background:#fff}
#artimsan-3d-editor b.logo{font-size:27px;letter-spacing:4px}
#artimsan-3d-editor small{color:#7b857e}
#artimsan-3d-editor main{padding:28px 4%}
#artimsan-3d-editor h1{font-size:30px;margin:0 0 8px;font-weight:500}
#artimsan-3d-editor .intro{margin-bottom:25px;color:#758078}
#artimsan-3d-editor .layout{display:grid;grid-template-columns:260px 1fr 245px;gap:20px}
#artimsan-3d-editor .panel{background:white;border:1px solid #e1e2d9;border-radius:12px;padding:22px}
#artimsan-3d-editor h3{font-size:15px;margin:0 0 20px}
#artimsan-3d-editor label{display:block;font-size:12px;margin:14px 0 6px;color:#68776e}
#artimsan-3d-editor input,#artimsan-3d-editor select{width:100%;border:1px solid #d9ddd5;padding:10px;border-radius:6px;font:inherit;color:inherit}
#artimsan-3d-editor button{font:inherit;cursor:pointer;border:1px solid #d9ddd5;background:#fff;color:inherit;border-radius:7px;padding:10px 13px}
#artimsan-3d-editor button:hover{background:#edf2eb}
#artimsan-3d-editor .primary{background:#244d3e;color:white;border:0;width:100%;margin-top:16px}
#artimsan-3d-editor .primary:hover{background:#35634e}
#artimsan-3d-editor .tools{display:grid;gap:9px}
#artimsan-3d-editor .tool{padding:15px;text-align:left;background:#f7f7f2;cursor:grab}
#artimsan-3d-editor .tool span{float:right;font-size:20px}
#artimsan-3d-editor .stage{min-width:0;background:#eeeee6;border-radius:12px;padding:18px;position:relative}
#artimsan-3d-editor .stagehead{display:flex;justify-content:space-between;align-items:center}
#artimsan-3d-editor .badge{font-size:11px;padding:7px 10px;background:white;border-radius:20px}
#artimsan-3d-editor svg{width:100%;height:550px;touch-action:none;user-select:none;-webkit-user-select:none}
#artimsan-3d-editor svg text{pointer-events:none}
#artimsan-3d-editor .stage{user-select:none;-webkit-user-select:none}
#artimsan-3d-editor .hint{color:#7a857c;font-size:12px;line-height:1.65}
#artimsan-3d-editor .summary{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eee}
#artimsan-3d-editor .selected{background:#f3f6ef;padding:12px;border-radius:8px;margin-top:18px}
#artimsan-3d-editor #status{min-height:35px;font-size:12px;color:#5b7364;margin-top:12px}
#artimsan-3d-editor footer{margin-top:18px;font-size:11px;color:#8a9289}
#artimsan-3d-editor .row{display:flex;gap:8px;margin-top:10px}
#artimsan-3d-editor .row button{flex:1;font-size:12px}
@media(max-width:1100px){#artimsan-3d-editor .layout{grid-template-columns:220px 1fr}
#artimsan-3d-editor .right{grid-column:1/-1}
#artimsan-3d-editor svg{height:500px}}
@media(max-width:650px){#artimsan-3d-editor .layout{grid-template-columns:1fr}
#artimsan-3d-editor header{height:65px}
#artimsan-3d-editor main{padding:20px 4%}
#artimsan-3d-editor .tools{grid-template-columns:repeat(3,1fr)}
#artimsan-3d-editor .tool{padding:9px}
#artimsan-3d-editor svg{height:440px}
#artimsan-3d-editor .stage{padding:7px}}
#artimsan-3d-editor .color-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;max-height:290px;overflow:auto;margin-top:12px}
#artimsan-3d-editor .color-choice{padding:4px;min-width:0;font-size:10px;text-align:left;line-height:1.3}
#artimsan-3d-editor .color-choice img{width:100%;height:48px;object-fit:cover;border-radius:4px;display:block;margin-bottom:4px}
#artimsan-3d-editor .color-choice[aria-pressed="true"]{outline:2px solid #244d3e;background:#e5eee3}
#artimsan-3d-editor .color-choice small{font-size:9px;display:block}
#artimsan-3d-editor .color-source{font-size:11px;color:#607567}
#artimsan-3d-editor .color-active{font-size:12px;line-height:1.7;margin-top:10px}
#artimsan-3d-editor .guide{border:0;border-radius:20px;padding:0;width:min(820px,94vw);max-height:92dvh;color:#243a34;box-shadow:0 24px 100px #10271c44}
#artimsan-3d-editor .guide::backdrop{background:#142d266b;backdrop-filter:blur(5px)}
#artimsan-3d-editor .guide-top{padding:23px 30px 10px;display:flex;justify-content:space-between;align-items:center}
#artimsan-3d-editor .guide-brand{font-size:12px;letter-spacing:3px}
#artimsan-3d-editor .guide-close{border:0;font-size:24px;padding:0 7px}
#artimsan-3d-editor .guide-content{padding:0 30px 25px}
#artimsan-3d-editor .guide-kicker{color:#7d897e;font-size:11px;letter-spacing:2px;margin:8px 0}
#artimsan-3d-editor .guide h2{font-size:29px;font-weight:500;margin:8px 0}
#artimsan-3d-editor .guide-desc{color:#68766c;font-size:15px;line-height:1.65;min-height:50px;max-width:620px}
#artimsan-3d-editor .guide-scene{height:255px;background:#eeefe7;border-radius:14px;position:relative;overflow:hidden;margin:18px 0}
#artimsan-3d-editor .mini-cabinet{position:absolute;left:50%;top:28px;transform:translateX(-50%);width:190px;height:200px;border:9px solid #baa88b;background:#f7f2e8;box-shadow:9px 10px 0 #cdd3c544}
#artimsan-3d-editor .mini-cabinet:before{content:'';position:absolute;left:50%;height:100%;width:7px;background:#baa88b}
#artimsan-3d-editor .mini-shelf{position:absolute;left:0;top:42px;width:50%;height:7px;background:#baa88b}
#artimsan-3d-editor .mini-rail{position:absolute;left:54%;top:45px;width:40%;height:5px;background:#485b4a}
#artimsan-3d-editor .mini-drawer{position:absolute;left:54%;bottom:8px;width:42%;height:40px;background:#dccdb5;border:2px solid #a49379}
#artimsan-3d-editor .guide-dimension{position:absolute;font-size:12px;font-weight:600;color:#355846}
#artimsan-3d-editor .guide-width{left:50%;top:7px;transform:translateX(-50%);border-bottom:1px solid #81927f;width:190px;text-align:center}
#artimsan-3d-editor .guide-height{left:calc(50% - 150px);top:120px;transform:rotate(-90deg);border-bottom:1px solid #81927f;width:110px;text-align:center}
#artimsan-3d-editor .guide-chip{position:absolute;left:18px;top:96px;background:white;padding:12px 18px;border-radius:9px;box-shadow:0 4px 14px #243a3415;font-size:13px}
#artimsan-3d-editor .guide-cursor{position:absolute;left:90px;top:130px;font-size:33px;filter:drop-shadow(0 3px 2px #0002);z-index:3;opacity:0}
#artimsan-3d-editor .guide-moving-shelf{position:absolute;left:45px;top:128px;width:85px;height:7px;background:#3e7754;opacity:0;z-index:2}
#artimsan-3d-editor .guide-scene[data-step="1"] .guide-cursor{animation:guide-hand 4s infinite}
#artimsan-3d-editor .guide-scene[data-step="1"] .guide-moving-shelf{animation:guide-shelf 4s infinite}
#artimsan-3d-editor .guide-scene[data-step="1"] .mini-shelf{animation:guide-reveal 4s infinite}
#artimsan-3d-editor .guide-scene[data-step="0"] .guide-width{animation:guide-pulse 2s infinite}
#artimsan-3d-editor .guide-scene[data-step="0"] .guide-height{animation:guide-pulse 2s 1s infinite}
#artimsan-3d-editor .guide-scene[data-step="2"] .mini-cabinet{animation:guide-colors 6s infinite}
#artimsan-3d-editor .guide-scene[data-step="2"] .mini-cabinet:after{content:'';position:absolute;inset:0;background:inherit;border:1px solid #697961;opacity:.9}
#artimsan-3d-editor .guide-pdf{position:absolute;right:25px;top:75px;background:#fff;padding:18px;border-radius:8px;box-shadow:0 6px 20px #243a3420;font-size:13px;line-height:1.8;display:none}
#artimsan-3d-editor .guide-scene[data-step="2"] .guide-pdf{display:block}
#artimsan-3d-editor .guide-scene:not([data-step="1"]) .guide-chip{display:none}
#artimsan-3d-editor .guide-scene:not([data-step="0"]) .guide-height{display:none}
#artimsan-3d-editor .guide-tip{padding:10px 14px;border-radius:8px;background:#f2f6f0;color:#526c58;font-size:12px;line-height:1.6}
#artimsan-3d-editor .guide-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:22px}
#artimsan-3d-editor .guide-dots{display:flex;gap:8px}
#artimsan-3d-editor .guide-dot{width:9px;height:9px;background:#d7ddd2;border-radius:50%}
#artimsan-3d-editor .guide-dot.active{width:25px;border-radius:8px;background:#315f44}
#artimsan-3d-editor .guide-actions{display:flex;gap:8px}
#artimsan-3d-editor .guide-next{background:#244d3e;color:white;border:0;min-width:135px}
#artimsan-3d-editor .guide-next:hover{background:#35634e}
#artimsan-3d-editor .guide-hide{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:20px}
#artimsan-3d-editor .guide-hide input{width:16px;height:16px;margin:0}
#artimsan-3d-editor .guide-help{font-size:12px;background:#fff;padding:9px 12px;white-space:nowrap}
@keyframes guide-hand{0%,10%{transform:translate(0,0);opacity:1}45%,58%{transform:translate(235px,-10px);opacity:1}78%,90%{transform:translate(235px,40px);opacity:1}100%{transform:translate(235px,40px);opacity:0}}
@keyframes guide-shelf{0%,10%{transform:translate(0,0);opacity:0}15%{opacity:1}45%,58%{transform:translate(235px,-10px);opacity:1}78%,90%{transform:translate(235px,40px);opacity:1}100%{transform:translate(235px,40px);opacity:0}}
@keyframes guide-reveal{0%,70%{opacity:0}80%,100%{opacity:1;top:135px}}
@keyframes guide-pulse{50%{color:#126b3b;background:#dcebd6}}
@keyframes guide-colors{0%,100%{background:#D9CEB3}33%{background:#758781}66%{background:#DCC8BF}}
@media(max-width:650px){#artimsan-3d-editor .guide-top{padding:18px 20px 8px}
#artimsan-3d-editor .guide-content{padding:0 20px 20px}
#artimsan-3d-editor .guide h2{font-size:24px}
#artimsan-3d-editor .guide-desc{font-size:13px;min-height:64px}
#artimsan-3d-editor .guide-scene{height:240px}
#artimsan-3d-editor .mini-cabinet{left:62%;width:150px;height:185px}
#artimsan-3d-editor .guide-chip{left:10px;padding:10px}
#artimsan-3d-editor .guide-width{left:62%;width:150px}
#artimsan-3d-editor .guide-height{left:calc(62% - 135px)}
#artimsan-3d-editor .guide-pdf{right:10px;top:150px;padding:8px;font-size:11px}
#artimsan-3d-editor .guide-bottom{gap:8px}
#artimsan-3d-editor .guide-next{min-width:110px}
#artimsan-3d-editor .guide-actions button{padding:9px}
#artimsan-3d-editor .guide-scene[data-step="1"] .guide-cursor{animation:guide-hand-mobile 4s infinite}
#artimsan-3d-editor .guide-scene[data-step="1"] .guide-moving-shelf{animation:guide-shelf-mobile 4s infinite}
@keyframes guide-hand-mobile{0%,10%{transform:translate(0,0);opacity:1}45%,58%{transform:translate(80px,-10px);opacity:1}78%,90%{transform:translate(80px,35px);opacity:1}100%{opacity:0;transform:translate(80px,35px)}}
@keyframes guide-shelf-mobile{0%,10%{opacity:0}15%{opacity:1}45%,58%{transform:translate(80px,-10px);opacity:1}78%,90%{transform:translate(80px,35px);opacity:1}100%{opacity:0;transform:translate(80px,35px)}}}
@media(prefers-reduced-motion:reduce){#artimsan-3d-editor .guide *{animation:none!important}
#artimsan-3d-editor .guide-scene[data-step="1"] .guide-cursor{opacity:1;left:55%;top:130px}}
#artimsan-3d-editor .measure-table{width:100%;border-collapse:collapse;margin:10px 0;background:#fffffc;font-size:13px}
#artimsan-3d-editor .measure-table th,#artimsan-3d-editor .measure-table td{padding:9px;border:1px solid #d3dbcf;text-align:left}
#artimsan-3d-editor #detail{font-size:14px;color:#244d3e;line-height:1.9}
#artimsan-3d-editor #view [data-measurements]{pointer-events:none}
#artimsan-3d-editor .planner-settings+.planner-settings{border-top:1px solid #e5e8df;margin-top:22px;padding-top:22px}
#artimsan-3d-editor .mobile-settings-nav{display:none}
#artimsan-3d-editor .email-direct{margin-top:15px;border-top:1px solid #d9ddd5;padding-top:6px}
#artimsan-3d-editor .email-direct .primary:disabled{opacity:.6;cursor:wait}
#artimsan-3d-editor .stage{align-self:start}
#artimsan-3d-editor button,#artimsan-3d-editor input,#artimsan-3d-editor select,#artimsan-3d-editor textarea{min-height:40px}
#artimsan-3d-editor #customerNote{min-height:70px}
#artimsan-3d-editor .mobile-settings-nav button[aria-pressed="true"]{background:#244d3e;color:white;border-color:#244d3e}
@media(max-width:650px){#artimsan-3d-editor main{padding:16px 12px 28px}
#artimsan-3d-editor .intro{font-size:12px;line-height:1.5;margin-bottom:16px}
#artimsan-3d-editor h1{font-size:25px}
#artimsan-3d-editor .layout{display:flex;flex-direction:column;gap:12px}
#artimsan-3d-editor .stage{order:-1;position:sticky;top:0;z-index:10;width:100%;padding:8px 10px 10px;border:1px solid #d4dcd0;box-shadow:0 5px 14px #233d3015;border-radius:12px;background:#eef0e7}
#artimsan-3d-editor .stage>div:first-child{position:absolute;right:12px;top:8px;margin:0!important}
#artimsan-3d-editor .guide-help{font-size:0;min-height:30px;padding:4px 8px}
#artimsan-3d-editor .guide-help:after{content:'ⓘ';font-size:18px}
#artimsan-3d-editor .stagehead{padding-top:0;gap:6px}
#artimsan-3d-editor .stagehead>div{display:flex;gap:4px}
#artimsan-3d-editor .stagehead button{font-size:11px;padding:7px 9px;min-height:34px}
#artimsan-3d-editor .stagehead>button{margin-right:30px;font-size:10px;padding:5px}
#artimsan-3d-editor .stage svg{height:clamp(220px,37svh,320px);display:block}
#artimsan-3d-editor .stage>.hint,#artimsan-3d-editor .stage>div.hint,#artimsan-3d-editor .stage>details{display:none}
#artimsan-3d-editor #measureOverflow:empty{display:none}
#artimsan-3d-editor #measureOverflow{font-size:10px;margin:0}
#artimsan-3d-editor .mobile-settings-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding-top:0;order:2;margin-top:6px}
#artimsan-3d-editor .mobile-settings-nav button{font-size:12px;padding:8px 4px;min-height:38px}
#artimsan-3d-editor .stage{display:flex;flex-direction:column}
#artimsan-3d-editor .stagehead{padding-right:42px;order:0}
#artimsan-3d-editor .stage svg{order:1}
#artimsan-3d-editor .mobile-settings-nav{order:2}
#artimsan-3d-editor .panel{width:100%;padding:18px}
#artimsan-3d-editor .planner-settings+.planner-settings{margin:0;padding:0;border:0}
#artimsan-3d-editor .planner-settings{display:none}
#artimsan-3d-editor[data-mobile-panel="dimensions"] [data-panel="dimensions"],#artimsan-3d-editor[data-mobile-panel="parts"] [data-panel="parts"],#artimsan-3d-editor[data-mobile-panel="colors"] [data-panel="colors"]{display:block}
#artimsan-3d-editor .right{display:none}
#artimsan-3d-editor[data-mobile-panel="quote"] .right{display:block}
#artimsan-3d-editor[data-mobile-panel="quote"] aside.panel:not(.right){display:none}
#artimsan-3d-editor .tools{grid-template-columns:repeat(3,1fr)}
#artimsan-3d-editor .tool{font-size:14px;padding:15px 9px;min-height:54px}
#artimsan-3d-editor .tool span{display:block;float:none;margin-top:7px}
#artimsan-3d-editor .color-grid{grid-template-columns:repeat(4,1fr);max-height:340px}
#artimsan-3d-editor .color-choice{min-height:82px}
#artimsan-3d-editor .color-choice img{height:42px}
#artimsan-3d-editor header{padding:0 16px}
#artimsan-3d-editor header>span{font-size:11px}
#artimsan-3d-editor .summary{font-size:12px}
#artimsan-3d-editor .selected{margin-top:12px}
#artimsan-3d-editor[data-mobile-panel="quote"] .right>h3:first-child{margin-bottom:10px}}
#artimsan-3d-editor .measure-guide-help{width:100%;text-align:left;margin:0 0 22px;padding:13px 12px;background:#f0f3eb;border-color:#d5ddcf;font-size:13px;line-height:1.5}
#artimsan-3d-editor .measure-guide{border:0;border-radius:14px;padding:0;width:min(940px,96vw);max-height:94dvh;color:#243a34;box-shadow:0 24px 100px #10271c44}
#artimsan-3d-editor .measure-guide::backdrop{background:#142d2677;backdrop-filter:blur(4px)}
#artimsan-3d-editor .measure-guide-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #dce1d6;background:#f5f3ee}
#artimsan-3d-editor .measure-guide-bar h2{font:600 17px 'Segoe UI',sans-serif;margin:0}
#artimsan-3d-editor .measure-guide-actions{display:flex;gap:6px;flex-shrink:0}
#artimsan-3d-editor .measure-guide-actions button{padding:7px 11px;font-size:13px}
#artimsan-3d-editor .measure-guide-scroll{max-height:calc(94dvh - 82px);overflow:auto;overscroll-behavior:contain}
#artimsan-3d-editor .measure-guide img{display:block;width:100%;height:auto}
#artimsan-3d-editor .measure-guide[data-zoom="true"] img{width:1200px;max-width:none}
@media(max-width:650px){#artimsan-3d-editor .measure-guide-bar{padding:12px;flex-wrap:wrap;gap:8px}
#artimsan-3d-editor .measure-guide-bar h2{font-size:15px}
#artimsan-3d-editor .measure-guide-scroll{max-height:calc(94dvh - 110px)}
#artimsan-3d-editor .measure-guide-help{margin-bottom:16px}}
#artimsan-3d-editor .cabinet-options{margin-top:20px;padding-top:4px;border-top:1px solid #e1e5dc}
#artimsan-3d-editor .cabinet-options label{font-weight:600;color:#244d3e}
#artimsan-3d-editor .cabinet-options select{background:#f5f7f1;border-color:#a3b3a1;min-height:44px}
#artimsan-3d-editor .cabinet-options .hint{font-size:11px;margin:7px 0 10px}
#artimsan-3d-editor #doorCountSummary,#artimsan-3d-editor #baseSummary{text-align:right;margin-left:10px;font-size:12px}
#artimsan-3d-editor .stage-wrap{min-width:0;align-self:stretch}
#artimsan-3d-editor .stage-wrap>.stage{width:100%}
@media(min-width:651px){#artimsan-3d-editor .stage-wrap>.stage{position:sticky;top:16px;align-self:start;max-height:calc(100svh - 32px);overflow:auto;overscroll-behavior:contain}
#artimsan-3d-editor .stage #view{height:min(550px,calc(100svh - 250px));min-height:160px}
#artimsan-3d-editor .stage #measureOverflow:empty{display:none}
#artimsan-3d-editor .stage details[open]>div{max-height:180px;overflow:auto}}
@media(max-width:650px){#artimsan-3d-editor .stage-wrap{display:contents}}
#artimsan-3d-editor .planner-header{height:96px;padding:0 4.5%;gap:24px;background:#f5f3ed;border-bottom:1px solid #d7d9cf66}
#artimsan-3d-editor .planner-brand{display:inline-flex;align-items:center;flex-shrink:0;height:52px;line-height:1;text-decoration:none;color:inherit}
#artimsan-3d-editor .planner-brand .company-logo{display:flex;align-items:center;gap:12px;width:220px;height:48px;mix-blend-mode:multiply}
#artimsan-3d-editor .planner-brand .company-logo svg{display:block;flex-shrink:0;overflow:hidden;pointer-events:none;touch-action:auto}
#artimsan-3d-editor .planner-brand .company-logo-mark{width:48px;height:42px}
#artimsan-3d-editor .planner-brand .company-logo-wordmark{width:160px;height:26px}
#artimsan-3d-editor .planner-page-label{font-size:13px;font-weight:500;text-align:right;line-height:1.45}
#artimsan-3d-editor .planner-page-label small{display:block;margin-top:3px;font-size:10px;color:#757a70}
#artimsan-3d-editor main>h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(30px,3.3vw,46px);letter-spacing:-1.3px;line-height:1.12;margin-bottom:12px}
#artimsan-3d-editor .intro{line-height:1.65;color:#757a70}
#artimsan-3d-editor .measure-guide-bar h2{font-family:'DM Sans',Arial,sans-serif}
@media(max-width:700px){#artimsan-3d-editor .planner-header{height:76px;padding:0 16px;gap:16px}
#artimsan-3d-editor .planner-brand{height:44px}
#artimsan-3d-editor .planner-brand .company-logo{width:173px;height:40px;gap:9px}
#artimsan-3d-editor .planner-brand .company-logo-mark{width:38px;height:34px}
#artimsan-3d-editor .planner-brand .company-logo-wordmark{width:126px;height:21px}
#artimsan-3d-editor .planner-page-label{font-size:11px;max-width:110px}
#artimsan-3d-editor .planner-page-label small{font-size:9px}
#artimsan-3d-editor main>h1{font-size:32px;letter-spacing:-1px}}
@media(max-width:360px){#artimsan-3d-editor .planner-header{padding:0 12px;gap:12px}
#artimsan-3d-editor .planner-page-label{font-size:10px;max-width:98px}
#artimsan-3d-editor .planner-page-label small{font-size:8px}
#artimsan-3d-editor main>h1{font-size:29px}}
#artimsan-3d-editor .tool[aria-pressed="true"]{background:#e4eee2;border-color:#244d3e;box-shadow:inset 0 0 0 1px #244d3e}
#artimsan-3d-editor .tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#artimsan-3d-editor .tools .tool{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0;min-height:48px;padding:11px 9px;font-size:12px;line-height:1.3;text-align:left;white-space:normal}
#artimsan-3d-editor .tools .tool span{display:block;float:none;flex:0 0 auto;margin:0;font-size:19px}
#artimsan-3d-editor .tools .tool-divider-icon svg{display:block;width:21px;height:21px;min-height:0;pointer-events:none;touch-action:auto}
#artimsan-3d-editor .tool[draggable="true"]{cursor:grab}
#artimsan-3d-editor .tool:active{cursor:grabbing}
#artimsan-3d-editor .selection-equalize{position:absolute;top:7px;right:7px;z-index:4;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:52px;min-width:44px;height:44px;min-height:44px;padding:4px;border:1px solid #91a687;border-radius:7px;background:var(--editor-panel,#fffefa);color:var(--editor-ink,#244d3e);box-shadow:0 2px 7px #243c3317;font-size:10px;line-height:1.1;touch-action:manipulation;cursor:pointer}
#artimsan-3d-editor .selection-equalize[hidden]{display:none!important}
#artimsan-3d-editor .selection-equalize svg{display:block;width:20px;height:20px;min-height:0;pointer-events:none;touch-action:auto}
#artimsan-3d-editor .selection-equalize[data-axis="horizontal"] svg{transform:rotate(90deg)}
#artimsan-3d-editor .selection-equalize:focus-visible{outline:3px solid #1d6b98;outline-offset:2px}
#artimsan-3d-editor .selection-equalize:hover{background:var(--editor-soft,#edf3e8)}
#artimsan-3d-editor .selection-equalize:disabled{opacity:.5;cursor:default}
#artimsan-3d-editor:has(.tool[data-type="divider"][aria-pressed="true"]) .draft-scene>#view,#artimsan-3d-editor:has(.tool[data-type="divider"][aria-pressed="true"]) .draft-scene>#view3d{cursor:crosshair!important}
#artimsan-3d-editor .tools .tool{overflow-wrap:anywhere}
#artimsan-3d-editor .dimension-feedback{font-size:12px;line-height:1.5;color:#795530;overflow-wrap:anywhere;margin:10px 0 0}
#artimsan-3d-editor .dimension-feedback:empty{display:none}
#artimsan-3d-editor #dimensionSummary{display:block;margin:8px 0 0;text-align:center;font-size:12px;font-weight:600;line-height:1.4;color:#244d3e;overflow-wrap:anywhere}
#artimsan-3d-editor #status.editor-status{min-height:0;margin:8px 0 0;padding:6px 9px;border-radius:6px;background:#f8faf4;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#artimsan-3d-editor #status.editor-status:empty{display:none}
#artimsan-3d-editor .selected{min-width:0;overflow-wrap:anywhere}
#artimsan-3d-editor .selected label{margin-top:12px}
#artimsan-3d-editor .selected input,#artimsan-3d-editor .selected select{max-width:100%;min-width:0}
#artimsan-3d-editor .selected button:disabled{opacity:.5;cursor:default}
#artimsan-3d-editor #positionApply,#artimsan-3d-editor #measurementsToggle{width:100%;margin-top:9px}
#artimsan-3d-editor #measurementDetails{min-width:0}
#artimsan-3d-editor #measurementDetails>div{max-width:100%;overscroll-behavior:contain}
@media(max-width:650px){#artimsan-3d-editor .layout,#artimsan-3d-editor .panel,#artimsan-3d-editor .planner-settings,#artimsan-3d-editor .stagehead,#artimsan-3d-editor .selected .row{min-width:0}
#artimsan-3d-editor input,#artimsan-3d-editor select,#artimsan-3d-editor textarea{font-size:16px;min-height:44px;max-width:100%}
#artimsan-3d-editor button{min-height:44px;touch-action:manipulation}
#artimsan-3d-editor .stagehead{padding-right:36px;gap:4px}
#artimsan-3d-editor .stagehead>div{min-width:0;gap:3px}
#artimsan-3d-editor .stagehead button{min-height:44px;padding:6px 7px;font-size:11px}
#artimsan-3d-editor .stagehead>button{margin-right:0;padding:6px;font-size:10px}
#artimsan-3d-editor .guide-help{min-width:34px;min-height:44px;padding:5px}
#artimsan-3d-editor .stage>div:first-child{right:8px;top:8px}
#artimsan-3d-editor .mobile-settings-nav{order:4;flex-shrink:0}
#artimsan-3d-editor .mobile-settings-nav button{min-height:44px}
#artimsan-3d-editor #dimensionSummary{order:2;margin:4px 0 0;font-size:11px;line-height:1.35}
#artimsan-3d-editor #status.editor-status{display:block;order:3;max-height:3.8em;overflow:auto;overscroll-behavior:contain;margin:5px 0 0;padding:4px 7px;font-size:11px;line-height:1.45}
#artimsan-3d-editor #status.editor-status:empty{display:none}
#artimsan-3d-editor .stage>#measurementDetails{display:none;order:5;margin-top:8px!important;background:#fafbf6;border:1px solid #d4dcd0;border-radius:6px;padding:0 7px}
#artimsan-3d-editor .stage>#measurementDetails[open]{display:block}
#artimsan-3d-editor #measurementDetails>summary{min-height:38px;display:flex;align-items:center;font-size:11px;cursor:pointer}
#artimsan-3d-editor #measurementDetails>div{max-height:105px;overflow:auto}
#artimsan-3d-editor #measurementDetails .measure-table{margin:0 0 7px;font-size:11px}
#artimsan-3d-editor #measurementDetails .measure-table th,#artimsan-3d-editor #measurementDetails .measure-table td{padding:6px;overflow-wrap:anywhere}
#artimsan-3d-editor .selected{padding:12px;margin-top:16px}
#artimsan-3d-editor .selected .row{gap:6px;flex-wrap:wrap}
#artimsan-3d-editor .selected .row button{min-height:44px;min-width:0;flex:1 1 80px}
#artimsan-3d-editor #detail{font-size:12px;line-height:1.6;margin-bottom:10px}
#artimsan-3d-editor #partSelect{font-size:16px}
#artimsan-3d-editor .color-choice{min-width:0;overflow-wrap:anywhere}
#artimsan-3d-editor .color-choice span,#artimsan-3d-editor .color-choice small{overflow-wrap:anywhere}
#artimsan-3d-editor .summary>*{min-width:0;overflow-wrap:anywhere}}
@media(max-width:650px) and (max-height:600px){#artimsan-3d-editor .stage #view{height:clamp(135px,28svh,190px)}
#artimsan-3d-editor .stagehead button,#artimsan-3d-editor .mobile-settings-nav button{min-height:44px}}
@media(max-width:650px){#artimsan-3d-editor{scroll-padding-top:var(--planner-stage-offset,440px)}
#artimsan-3d-editor aside.panel input,#artimsan-3d-editor aside.panel select,#artimsan-3d-editor aside.panel textarea,#artimsan-3d-editor aside.panel button,#artimsan-3d-editor aside.panel [tabindex]{scroll-margin-top:var(--planner-stage-offset,440px)}
#artimsan-3d-editor.is-editing-field .stage #view{height:clamp(120px,23svh,170px)}
#artimsan-3d-editor .selected .row button{white-space:normal;overflow-wrap:anywhere;line-height:1.35}}
@media(max-width:650px){#artimsan-3d-editor .stage:has(#measurementDetails[open]) #view{height:150px;min-height:120px}}
@media(max-width:650px){#artimsan-3d-editor aside.panel :is(input,select,textarea,button,[tabindex]){scroll-margin-top:12px;scroll-margin-bottom:12px}
#artimsan-3d-editor.is-editing-field .stage #status{max-height:2.8em}}
#artimsan-3d-editor{--editor-paper:light-dark(#f5f3ed,#18271f);--editor-panel:light-dark(#fffefa,#21352a);--editor-stage:light-dark(#e9eae1,#28392f);--editor-ink:light-dark(#243c33,#e5eadf);--editor-muted:light-dark(#6b756a,#bac4b5);--editor-line:light-dark(#d9ddd1,#445548);--editor-soft:light-dark(#eef2e8,#304635);--editor-active:light-dark(#244d3e,#c6d9bd);--editor-active-text:light-dark(#fffdf7,#1b3427);background:var(--editor-paper);color:var(--editor-ink)}
#artimsan-3d-editor .planner-header{background:var(--editor-paper);border-color:var(--editor-line);gap:16px;justify-content:flex-start}
#artimsan-3d-editor .planner-page-label{margin-left:auto}
#artimsan-3d-editor .planner-page-label small,#artimsan-3d-editor small,#artimsan-3d-editor .hint,#artimsan-3d-editor .intro,#artimsan-3d-editor label,#artimsan-3d-editor .color-source,#artimsan-3d-editor .color-active{color:var(--editor-muted)}
#artimsan-3d-editor .draft-notice{display:inline-flex;align-items:center;flex-shrink:0;border:1px solid var(--editor-line);border-radius:999px;padding:5px 8px;font-size:9px;letter-spacing:1.7px;line-height:1.2;color:var(--editor-muted);background:var(--editor-panel)}
#artimsan-3d-editor main{max-width:1320px;margin:0 auto;padding-top:28px}
#artimsan-3d-editor .layout{grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}
#artimsan-3d-editor .panel{background:var(--editor-panel);border-color:var(--editor-line)}
#artimsan-3d-editor .stage-wrap{min-width:0}
#artimsan-3d-editor .stage{background:var(--editor-stage);border-color:var(--editor-line)}
#artimsan-3d-editor input,#artimsan-3d-editor select,#artimsan-3d-editor textarea,#artimsan-3d-editor button{background:var(--editor-panel);border-color:var(--editor-line);color:var(--editor-ink)}
#artimsan-3d-editor textarea{width:100%;border:1px solid var(--editor-line);padding:10px;border-radius:6px;font:inherit;resize:vertical}
#artimsan-3d-editor button:hover{background:var(--editor-soft)}
#artimsan-3d-editor .primary,#artimsan-3d-editor .guide-next{background:var(--editor-active);color:var(--editor-active-text)}
#artimsan-3d-editor .primary:hover,#artimsan-3d-editor .guide-next:hover{background:var(--editor-active);filter:brightness(1.08)}
#artimsan-3d-editor .tool,#artimsan-3d-editor .selected,#artimsan-3d-editor .measure-guide-help,#artimsan-3d-editor .guide-tip{background:var(--editor-soft);border-color:var(--editor-line)}
#artimsan-3d-editor .selected #detail,#artimsan-3d-editor .dimension-feedback,#artimsan-3d-editor #detail,#artimsan-3d-editor #dimensionSummary,#artimsan-3d-editor #status{color:var(--editor-ink)}
#artimsan-3d-editor .summary,#artimsan-3d-editor .planner-settings+.planner-settings,#artimsan-3d-editor .email-direct{border-color:var(--editor-line)}
#artimsan-3d-editor .color-choice[aria-pressed="true"]{background:var(--editor-soft);outline-color:var(--editor-active)}
#artimsan-3d-editor .color-choice small{color:var(--editor-muted)}
#artimsan-3d-editor .badge{background:var(--editor-panel)}
#artimsan-3d-editor .right{grid-column:1/-1;display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:30px}
#artimsan-3d-editor .draft-design-summary,#artimsan-3d-editor .draft-quote-fields{min-width:0}
#artimsan-3d-editor .draft-design-summary h3,#artimsan-3d-editor .draft-quote-fields h3{margin-top:0}
#artimsan-3d-editor .draft-design-summary hr{display:none}
#artimsan-3d-editor .draft-quote-fields .row{flex-wrap:wrap}
#artimsan-3d-editor .draft-quote-fields .row button{min-width:135px}
#artimsan-3d-editor .draft-view-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}
#artimsan-3d-editor .draft-mode-switch,#artimsan-3d-editor .draft-interaction-switch{display:flex;gap:4px}
#artimsan-3d-editor .draft-view-controls button{min-height:40px;padding:8px 14px;font-size:12px}
#artimsan-3d-editor .draft-view-controls button[aria-pressed="true"]{background:var(--editor-active);border-color:var(--editor-active);color:var(--editor-active-text)}
#artimsan-3d-editor .stagehead{gap:10px}
#artimsan-3d-editor .stagehead>div{display:flex;gap:4px;min-width:0}
#artimsan-3d-editor .stagehead button{white-space:normal}
#artimsan-3d-editor .stagehead [aria-selected="true"]{background:var(--editor-active)!important;color:var(--editor-active-text)!important;border-color:var(--editor-active)}
#artimsan-3d-editor .stagehead [aria-selected="false"]{background:var(--editor-panel)!important;color:var(--editor-ink)!important}
#artimsan-3d-editor .draft-scene{display:grid;position:relative;min-width:0;padding:0 0 48px;margin-top:8px}
#artimsan-3d-editor .draft-scene>#view,#artimsan-3d-editor .draft-scene>#view3d{grid-area:1/1;display:block;min-width:0;min-height:0;width:100%;height:clamp(300px,52svh,540px);touch-action:none;user-select:none;-webkit-user-select:none}
#artimsan-3d-editor .draft-scene>#view3d{background:var(--editor-stage);border-radius:8px}
#artimsan-3d-editor .draft-scene>#view{overflow:visible}
#artimsan-3d-editor .draft-camera-controls{position:absolute;bottom:0;right:0;left:0;display:flex;justify-content:center;align-items:center;gap:5px;min-height:44px}
#artimsan-3d-editor .draft-camera-controls button{min-width:40px;min-height:40px;padding:7px 11px;font-size:15px}
#artimsan-3d-editor .draft-camera-controls #reset3d{font-size:11px;min-width:68px}
#artimsan-3d-editor .three-help{margin:7px 0;text-align:center;font-size:11px;line-height:1.5}
#artimsan-3d-editor .live-three-measures{padding:7px 10px;border:1px solid var(--editor-line);background:var(--editor-panel);border-radius:7px;text-align:center;font-size:12px;line-height:1.5;color:var(--editor-ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#artimsan-3d-editor .live-three-measures:empty{display:none}
#artimsan-3d-editor .live-three-measures b{font-weight:600}
#artimsan-3d-editor .live-three-measures span{display:inline-block;margin:0 4px}
#artimsan-3d-editor .stage #status{margin-top:5px;min-height:1.5em}
#artimsan-3d-editor .stage>#dimensionSummary{margin-top:7px}
#artimsan-3d-editor .stage>#measureOverflow{margin-top:4px}
#artimsan-3d-editor .stage>div.hint:last-child{margin-top:7px;font-size:11px;line-height:1.5}
#artimsan-3d-editor .measure-table{background:var(--editor-panel);color:var(--editor-ink)}
#artimsan-3d-editor .measure-table th,#artimsan-3d-editor .measure-table td{border-color:var(--editor-line)}
#artimsan-3d-editor .measure-table th{background:var(--editor-soft)}
#artimsan-3d-editor .measure-guide,#artimsan-3d-editor .quote-preview,#artimsan-3d-editor .guide{color:var(--editor-ink);background:var(--editor-panel)}
#artimsan-3d-editor .measure-guide-bar{background:var(--editor-paper);border-color:var(--editor-line)}
#artimsan-3d-editor .measure-guide-scroll{padding:12px 18px}
#artimsan-3d-editor .measure-guide-scroll .measure-table{margin:0 0 12px}
#artimsan-3d-editor .measure-guide[data-zoom="true"] .measure-table{font-size:17px}
#artimsan-3d-editor .measure-guide[data-zoom="true"] .measure-table th,#artimsan-3d-editor .measure-guide[data-zoom="true"] .measure-table td{padding:13px}
#artimsan-3d-editor .measure-guide-scroll .hint{margin:0}
#artimsan-3d-editor .guide-scene{background:var(--editor-stage)}
#artimsan-3d-editor .guide-desc,#artimsan-3d-editor .guide-kicker,#artimsan-3d-editor .guide-tip{color:var(--editor-muted)}
#artimsan-3d-editor .quote-preview{padding:0;border:1px solid var(--editor-line);border-radius:14px;width:min(740px,94vw);max-height:92dvh;box-shadow:0 24px 100px #10271c44}
#artimsan-3d-editor .quote-preview::backdrop{background:#142d2677;backdrop-filter:blur(4px)}
#artimsan-3d-editor .quote-preview-content{padding:16px 20px;overflow:auto;max-height:calc(92dvh - 77px)}
#artimsan-3d-editor .quote-preview-content>p{margin-top:0}
#artimsan-3d-editor .quote-preview textarea{min-height:280px;line-height:1.6;background:var(--editor-paper)}
@media(min-width:651px){#artimsan-3d-editor .stage-wrap>.stage{max-height:calc(100svh - 32px)}
#artimsan-3d-editor .stage .draft-scene>#view,#artimsan-3d-editor .stage .draft-scene>#view3d{height:clamp(230px,calc(100svh - 355px),540px)}
#artimsan-3d-editor .stage>div:first-child{margin-bottom:6px!important}
#artimsan-3d-editor .draft-quote-fields .email-direct{margin-top:18px}}
@media(max-width:900px) and (min-width:651px){#artimsan-3d-editor .layout{grid-template-columns:230px minmax(0,1fr);gap:14px}
#artimsan-3d-editor .panel{padding:18px}
#artimsan-3d-editor .stage{padding:12px}
#artimsan-3d-editor .right{gap:22px}
#artimsan-3d-editor .draft-view-controls button{padding:8px 10px}
#artimsan-3d-editor .stagehead button{font-size:11px;padding:7px 9px}}
@media(max-width:650px){#artimsan-3d-editor main{padding:16px 12px 28px}
#artimsan-3d-editor .planner-header{gap:8px;height:76px;padding:0 12px}
#artimsan-3d-editor .planner-brand .company-logo{width:158px;gap:7px}
#artimsan-3d-editor .planner-brand .company-logo-mark{width:35px}
#artimsan-3d-editor .planner-brand .company-logo-wordmark{width:116px;height:21px}
#artimsan-3d-editor .draft-notice{font-size:8px;letter-spacing:1px;padding:5px 6px}
#artimsan-3d-editor .planner-page-label{font-size:10px;max-width:96px}
#artimsan-3d-editor .planner-page-label small{font-size:8px}
#artimsan-3d-editor main>h1{font-size:29px}
#artimsan-3d-editor .intro{font-size:12px;margin-bottom:14px;line-height:1.55}
#artimsan-3d-editor .layout{display:flex;gap:12px}
#artimsan-3d-editor .stage-wrap{width:100%}
#artimsan-3d-editor .stage{padding:8px 10px 9px;background:var(--editor-stage);border-color:var(--editor-line)}
#artimsan-3d-editor .stage>div:first-child{top:8px;right:10px}
#artimsan-3d-editor .stage .guide-help{min-height:44px;min-width:34px;padding:4px 7px}
#artimsan-3d-editor .draft-view-controls{order:0;justify-content:space-between;padding-right:40px;margin-bottom:5px;gap:4px}
#artimsan-3d-editor .draft-view-controls button{min-height:44px;padding:6px 8px;font-size:11px}
#artimsan-3d-editor .draft-mode-switch,#artimsan-3d-editor .draft-interaction-switch{gap:3px}
#artimsan-3d-editor .draft-mode-switch button{min-width:34px}
#artimsan-3d-editor .stagehead{order:1;padding-right:0;gap:5px}
#artimsan-3d-editor .stagehead button{min-height:44px;padding:6px 8px;font-size:11px}
#artimsan-3d-editor .stagehead>button{min-width:48px;font-size:10px;padding:6px}
#artimsan-3d-editor .stagehead>div{gap:3px}
#artimsan-3d-editor .draft-scene{order:2;width:100%;padding-bottom:47px;margin-top:2px}
#artimsan-3d-editor .stage .draft-scene>#view,#artimsan-3d-editor .stage .draft-scene>#view3d{height:clamp(160px,52vw,220px);min-height:0;max-height:none;overflow:visible}
#artimsan-3d-editor .draft-camera-controls{min-height:44px;gap:4px}
#artimsan-3d-editor .draft-camera-controls button{min-height:44px;min-width:39px;padding:6px 10px}
#artimsan-3d-editor .draft-camera-controls #reset3d{min-width:62px}
#artimsan-3d-editor .stage>.three-help{display:none}
#artimsan-3d-editor .live-three-measures{order:3;font-size:10px;line-height:1.4;padding:5px 6px}
#artimsan-3d-editor .stage>#dimensionSummary{order:4;margin-top:4px;font-size:10px;line-height:1.35}
#artimsan-3d-editor .stage>#status{order:5;margin-top:3px;font-size:10px;line-height:1.4;min-height:1.4em;max-height:2.8em;overflow:auto}
#artimsan-3d-editor .stage>#measureOverflow{order:6}
#artimsan-3d-editor .mobile-settings-nav{order:7;margin-top:5px;gap:4px}
#artimsan-3d-editor .mobile-settings-nav button{min-height:44px;padding:6px 3px;font-size:11px}
#artimsan-3d-editor .mobile-settings-nav button[aria-pressed="true"]{background:var(--editor-active);border-color:var(--editor-active);color:var(--editor-active-text)}
#artimsan-3d-editor .stage>#measurementDetails{order:8;background:var(--editor-panel);border-color:var(--editor-line)}
#artimsan-3d-editor .stage>#measurementDetails[open]{display:block}
#artimsan-3d-editor .stage>div.hint:last-child{display:none}
#artimsan-3d-editor .panel{padding:18px}
#artimsan-3d-editor .panel input,#artimsan-3d-editor .panel select,#artimsan-3d-editor .panel textarea{font-size:16px;min-height:44px}
#artimsan-3d-editor .panel button{min-height:44px}
#artimsan-3d-editor .right{display:none;grid-template-columns:1fr;gap:22px}
#artimsan-3d-editor[data-mobile-panel="quote"] .right{display:grid}
#artimsan-3d-editor .draft-design-summary h3{margin-bottom:10px}
#artimsan-3d-editor .draft-quote-fields{border-top:1px solid var(--editor-line);padding-top:18px}
#artimsan-3d-editor .draft-quote-fields h3{margin-top:0}
#artimsan-3d-editor .draft-quote-fields .row button{min-width:0}
#artimsan-3d-editor .draft-quote-fields .row{gap:7px}
#artimsan-3d-editor .measure-guide-bar button,#artimsan-3d-editor .quote-preview button{min-height:44px}
#artimsan-3d-editor .measure-guide-scroll{padding:10px}
#artimsan-3d-editor .measure-guide-scroll .measure-table{font-size:12px}
#artimsan-3d-editor .measure-guide-scroll .measure-table th,#artimsan-3d-editor .measure-guide-scroll .measure-table td{padding:9px 7px}
#artimsan-3d-editor .measure-guide[data-zoom="true"] .measure-table{font-size:15px}
#artimsan-3d-editor .quote-preview-content{padding:12px}
#artimsan-3d-editor .quote-preview textarea{font-size:16px;min-height:240px}
#artimsan-3d-editor .quote-preview .measure-guide-bar h2{font-size:15px}
#artimsan-3d-editor.is-editing-field .stage .draft-scene>#view,#artimsan-3d-editor.is-editing-field .stage .draft-scene>#view3d{height:clamp(105px,20svh,145px);min-height:0}
#artimsan-3d-editor .stage:has(#measurementDetails[open]) .draft-scene>#view,#artimsan-3d-editor .stage:has(#measurementDetails[open]) .draft-scene>#view3d{height:145px;min-height:0}}
@media(max-width:650px) and (max-height:600px){#artimsan-3d-editor .stage .draft-scene>#view,#artimsan-3d-editor .stage .draft-scene>#view3d{height:clamp(115px,25svh,155px);min-height:0}
#artimsan-3d-editor .stage #dimensionSummary{margin-top:2px}
#artimsan-3d-editor .live-three-measures{padding:3px 5px}
#artimsan-3d-editor .stage>#status{margin-top:2px}}
@media(max-width:360px){#artimsan-3d-editor .planner-page-label{max-width:76px;font-size:9px}
#artimsan-3d-editor .planner-page-label small{font-size:8px}
#artimsan-3d-editor .planner-brand .company-logo{width:143px}
#artimsan-3d-editor .planner-brand .company-logo-mark{width:31px}
#artimsan-3d-editor .planner-brand .company-logo-wordmark{width:105px}
#artimsan-3d-editor .draft-view-controls button{padding:6px}
#artimsan-3d-editor .stagehead button{font-size:10px;padding:6px}
#artimsan-3d-editor .stage{padding:7px 8px 8px}}
@media(min-width:651px){#artimsan-3d-editor .stage-wrap>.stage{max-height:none;overflow:visible}
#artimsan-3d-editor .stage .draft-scene>#view,#artimsan-3d-editor .stage .draft-scene>#view3d{height:clamp(280px,38vw,410px)}
#artimsan-3d-editor .stage details[open]>div{max-height:none;overflow:visible}}
#artimsan-3d-editor .color-grid{max-height:360px;overflow:auto}
#artimsan-3d-editor .guide-scene[data-step="1"] .guide-moving-shelf{opacity:1;left:52%;top:130px}
#artimsan-3d-editor .guide-scene[data-step="1"] .guide-cursor{opacity:1;left:55%;top:135px}
#artimsan-3d-editor button,#artimsan-3d-editor a,#artimsan-3d-editor summary,#artimsan-3d-editor .color-choice{cursor:inherit}
#artimsan-3d-editor button:not(:disabled),#artimsan-3d-editor a,#artimsan-3d-editor summary{cursor:var(--cursor-interaction,default)}
@media(max-width:650px){#artimsan-3d-editor .stage .draft-scene>#view,#artimsan-3d-editor .stage .draft-scene>#view3d{height:clamp(160px,52vw,220px)}
#artimsan-3d-editor .stage>#status{max-height:none;overflow:visible}
#artimsan-3d-editor .stage>#measurementDetails>div{max-height:none;overflow:visible}
#artimsan-3d-editor.is-editing-field .stage .draft-scene>#view,#artimsan-3d-editor.is-editing-field .stage .draft-scene>#view3d{height:120px}
#artimsan-3d-editor .stage:has(#measurementDetails[open]) .draft-scene>#view,#artimsan-3d-editor .stage:has(#measurementDetails[open]) .draft-scene>#view3d{height:145px}
#artimsan-3d-editor .live-three-measures{font-size:11px}}
@media(min-width:651px){#artimsan-3d-editor .mobile-settings-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:0 95px 12px 0}
#artimsan-3d-editor .mobile-settings-nav button{min-height:40px;font-size:12px;padding:8px 4px}
#artimsan-3d-editor .stage>div:first-child{position:absolute;right:18px;top:18px}
#artimsan-3d-editor .planner-settings{display:none}
#artimsan-3d-editor .planner-settings+.planner-settings{border:0;padding:0;margin:0}
#artimsan-3d-editor[data-mobile-panel="dimensions"] [data-panel="dimensions"],#artimsan-3d-editor[data-mobile-panel="parts"] [data-panel="parts"],#artimsan-3d-editor[data-mobile-panel="colors"] [data-panel="colors"]{display:block}
#artimsan-3d-editor .right{display:none}
#artimsan-3d-editor[data-mobile-panel="quote"] .right{display:grid}
#artimsan-3d-editor[data-mobile-panel="quote"] aside.panel:not(.right){visibility:hidden}
#artimsan-3d-editor .measure-guide-help{margin-bottom:18px}}
#artimsan-3d-editor #dimensionHotspots{position:absolute;inset:0;pointer-events:none;z-index:3}
#artimsan-3d-editor[data-view-mode="2d"] #dimensionHotspots{display:none}
#artimsan-3d-editor #dimensionHotspots button{position:absolute;padding:0;margin:0;min-width:44px;min-height:44px;border:0;background:transparent;color:transparent;pointer-events:auto;box-shadow:none;touch-action:manipulation;border-radius:5px}
#artimsan-3d-editor #dimensionHotspots button:focus-visible{outline:3px solid #1d6b98;outline-offset:2px}
#artimsan-3d-editor #dimensionDialog{box-sizing:border-box;width:min(470px,calc(100vw - 28px));max-height:90dvh;overflow:auto;border:1px solid #bdc8ba;border-radius:14px;padding:22px;background:#f5f3ed;color:#243c33;font:14px/1.6 'DM Sans',Arial,sans-serif}
#artimsan-3d-editor #dimensionDialog::backdrop{background:#1c2f25aa}
#artimsan-3d-editor .dimension-edit-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
#artimsan-3d-editor .dimension-edit-top h2{font-size:22px;margin:0}
#artimsan-3d-editor #dimensionDialog input{box-sizing:border-box;width:100%;font-size:18px;min-height:48px}
#artimsan-3d-editor #dimensionDialog button{min-height:44px}
#artimsan-3d-editor #dimensionEditFeedback{color:#9a392b;min-height:24px}
#artimsan-3d-editor #dimensionEditApply{width:100%}

/* Five simple demonstrations; all stay readable without motion. */
#artimsan-3d-editor .position-editor[hidden]{display:none!important}
#artimsan-3d-editor .design-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;margin:15px 0}
#artimsan-3d-editor .design-actions>button{width:100%;min-height:42px}
#artimsan-3d-editor .design-actions #reset{border-color:#a3b3a1;background:#edf3e8;font-weight:600}
#artimsan-3d-editor .history-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
#artimsan-3d-editor .history-actions button{padding:10px 5px;font-size:12px;min-height:42px}
#artimsan-3d-editor .history-actions button span{font-size:17px;vertical-align:-1px;margin-right:2px}
#artimsan-3d-editor #drawerHeight{background:#f5f7f1;border-color:#a3b3a1}
#artimsan-3d-editor #drawerHeightHelp{margin:6px 0 12px}
#artimsan-3d-editor .measure-guide-help{position:relative;border-color:#70966e;box-shadow:0 0 0 2px #b8cfa430}
#artimsan-3d-editor .measure-guide-help::before{content:'';display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#3b784c;vertical-align:1px}
#artimsan-3d-editor .measure-guide-help:not([data-seen="true"]){animation:measure-guide-attention 2.6s ease-in-out infinite}
@keyframes measure-guide-attention{0%,100%{background:#f0f3eb;box-shadow:0 0 0 0 #65895c00}50%{background:#dfeccf;box-shadow:0 0 0 5px #65895c22}}
#artimsan-3d-editor .guide{max-height:92dvh;overflow:auto}
#artimsan-3d-editor .guide-content{padding-bottom:20px}
#artimsan-3d-editor .guide-desc{min-height:52px;margin-bottom:12px}
#artimsan-3d-editor .guide-reopen{font-size:11px;line-height:1.5;color:#788278;margin:15px 0 0}
#artimsan-3d-editor .guide-bottom{margin-top:16px}
#artimsan-3d-editor .guide-actions button,#artimsan-3d-editor .guide-close{min-height:44px}
#artimsan-3d-editor .guide-scene.guide-demo{height:274px;margin:14px 0;background:linear-gradient(135deg,#eef1e5,#e5eade)}
#artimsan-3d-editor .guide-demo .mini-cabinet{left:58%;top:31px;width:172px;height:202px;transform:translateX(-50%);animation:none;box-shadow:10px 10px 0 #4353420b}
#artimsan-3d-editor .guide-demo .mini-cabinet::after{display:none}
#artimsan-3d-editor .guide-demo .mini-cabinet::before{background:#baa88b}
#artimsan-3d-editor .guide-demo .mini-drawer{height:38px;display:grid;place-items:center;font-size:10px;color:#655b48}
#artimsan-3d-editor .guide-demo .mini-added-shelf{position:absolute;left:0;right:50%;height:7px;top:115px;background:#baa88b}
#artimsan-3d-editor .guide-demo .guide-chip,#artimsan-3d-editor .guide-demo .guide-cursor,#artimsan-3d-editor .guide-demo .guide-moving-shelf,#artimsan-3d-editor .guide-demo .guide-pdf,#artimsan-3d-editor .guide-demo .guide-dimension{display:none;animation:none}
#artimsan-3d-editor .guide-demo .guide-size-demo,#artimsan-3d-editor .guide-demo .guide-drawer-demo,#artimsan-3d-editor .guide-demo .guide-measure-demo,#artimsan-3d-editor .guide-demo .guide-action-demo{display:none;position:absolute;z-index:2;left:22px;top:75px;background:#fffffff5;border:1px solid #d9e1cf;border-radius:10px;box-shadow:0 7px 20px #243a3410;padding:12px}
#artimsan-3d-editor .guide-demo .guide-size-demo>span,#artimsan-3d-editor .guide-demo .guide-drawer-demo>span,#artimsan-3d-editor .guide-demo .guide-measure-demo>span{display:block;font-size:11px;color:#6a7768;margin-bottom:7px}
#artimsan-3d-editor .guide-demo .guide-size-demo>b,#artimsan-3d-editor .guide-demo .guide-measure-demo>b{display:block;font-size:22px;color:#244d3e;font-weight:600;border:1px solid #9fb894;border-radius:6px;padding:7px 12px;background:#f3f8ed}
#artimsan-3d-editor .guide-demo small{font-size:11px;font-weight:400;color:#6c7c67}
#artimsan-3d-editor .guide-demo i,#artimsan-3d-editor .guide-demo em{font-style:normal}
#artimsan-3d-editor .guide-demo .guide-size-demo>i,#artimsan-3d-editor .guide-demo .guide-measure-demo>em{display:block;margin-top:8px;font-size:10px;color:#65765e}
#artimsan-3d-editor .guide-demo .guide-demo-caption{position:absolute;left:8px;right:8px;bottom:10px;text-align:center;font-size:12px;color:#45613d;font-weight:500}
#artimsan-3d-editor .guide-demo[data-step="0"] .guide-size-demo{display:block;animation:demo-input 3.5s ease-in-out infinite}
#artimsan-3d-editor .guide-demo[data-step="0"] .mini-cabinet{animation:demo-width 3.5s ease-in-out infinite}
#artimsan-3d-editor .guide-demo[data-step="0"] .guide-width{display:block;left:58%;top:10px;width:172px;font-size:11px;animation:demo-input 3.5s ease-in-out infinite}
@keyframes demo-input{0%,100%{box-shadow:0 0 0 0 #63814e00}40%,70%{box-shadow:0 0 0 4px #63814e24}}
@keyframes demo-width{0%,100%{width:145px}40%,70%{width:190px}}
#artimsan-3d-editor .guide-demo[data-step="1"] .guide-chip{display:block;left:22px;top:63px;padding:10px 13px;animation:demo-input 4s infinite}
#artimsan-3d-editor .guide-demo[data-step="1"] .mini-shelf{animation:none;opacity:1;top:42px}
#artimsan-3d-editor .guide-demo[data-step="1"] .mini-added-shelf{animation:demo-added-shelf 4s infinite}
#artimsan-3d-editor .guide-demo[data-step="1"] .guide-moving-shelf{display:block;left:38px;top:103px;width:65px;opacity:1;animation:demo-shelf 4s infinite}
#artimsan-3d-editor .guide-demo[data-step="1"] .guide-cursor{display:block;left:72px;top:91px;opacity:1;font-size:26px;animation:demo-hand 4s infinite}
#artimsan-3d-editor .guide-demo[data-step="1"] .guide-drawer-demo{display:block;left:18px;top:174px;padding:8px 10px}
#artimsan-3d-editor .guide-demo .guide-drawer-demo div{display:flex;gap:4px;align-items:center}
#artimsan-3d-editor .guide-demo .guide-drawer-demo b{font-size:11px;border:1px solid #d7dfcc;border-radius:4px;padding:5px;background:#fff}
#artimsan-3d-editor .guide-demo .guide-drawer-demo .is-current{color:#fff;background:#386346;border-color:#386346}
@keyframes demo-shelf{0%,12%{transform:translate(0,0);opacity:0}18%{opacity:1}55%,78%{transform:translate(calc(58cqw - 112px),52px);opacity:1}84%,100%{transform:translate(calc(58cqw - 112px),52px);opacity:0}}
@keyframes demo-hand{0%,12%{transform:translate(0,0);opacity:1}55%,78%{transform:translate(calc(58cqw - 112px),52px);opacity:1}100%{transform:translate(calc(58cqw - 112px),52px);opacity:0}}
@keyframes demo-added-shelf{0%,78%{opacity:0}84%,100%{opacity:1}}
#artimsan-3d-editor .guide-demo[data-step="2"] .guide-measure-demo{display:block;left:24px;top:65px}
#artimsan-3d-editor .guide-demo .guide-measure-demo i{display:inline-block;font-size:14px;background:#e0eccf;border-radius:4px;padding:2px 4px;animation:demo-pencil 2.5s infinite}
#artimsan-3d-editor .guide-demo[data-step="2"] .mini-shelf{top:70px;animation:demo-measure-shelf 3s infinite}
#artimsan-3d-editor .guide-demo[data-step="2"] .guide-measure-demo>b{animation:demo-input 3s infinite}
@keyframes demo-pencil{50%{background:#3d6b45;color:white;transform:scale(1.13)}}
@keyframes demo-measure-shelf{0%,100%{top:58px}45%,70%{top:88px}}
#artimsan-3d-editor .guide-demo[data-step="3"] .guide-action-demo{display:grid;gap:6px;left:22px;top:52px;width:166px;padding:10px}
#artimsan-3d-editor .guide-demo .guide-action-demo>b{display:block;text-align:center;font-size:12px;font-weight:500;border:1px solid #c9d6bf;border-radius:5px;padding:8px;background:#f7faf4}
#artimsan-3d-editor .guide-demo .guide-action-demo>div{display:flex;gap:5px}
#artimsan-3d-editor .guide-demo .guide-action-demo span{flex:1;text-align:center;font-size:10px;padding:7px 3px;background:#f4f7ef;border:1px solid #d9e0d1;border-radius:5px;white-space:nowrap}
#artimsan-3d-editor .guide-demo[data-step="3"] .mini-shelf,#artimsan-3d-editor .guide-demo[data-step="3"] .mini-rail,#artimsan-3d-editor .guide-demo[data-step="3"] .mini-drawer,#artimsan-3d-editor .guide-demo[data-step="3"] .mini-added-shelf{animation:demo-clear-restore 5s infinite}
#artimsan-3d-editor .guide-demo[data-step="3"] .demo-clean{animation:demo-clean-button 5s infinite}
#artimsan-3d-editor .guide-demo[data-step="3"] .guide-action-demo span:first-child{animation:demo-undo-button 5s infinite}
@keyframes demo-clear-restore{0%,18%,75%,100%{opacity:1}25%,65%{opacity:0}}
@keyframes demo-clean-button{0%,12%,30%,100%{background:#f7faf4;color:#243a34}18%,25%{background:#386346;color:white}}
@keyframes demo-undo-button{0%,62%,84%,100%{background:#f4f7ef;color:#243a34}68%,77%{background:#386346;color:white}}
#artimsan-3d-editor .guide-demo[data-step="4"] .mini-cabinet{left:33%;animation:demo-colors 6s infinite}
#artimsan-3d-editor .guide-demo[data-step="4"] .mini-cabinet::after{content:'';display:block;position:absolute;inset:0;background:inherit;border:1px solid #8c9679}
#artimsan-3d-editor .guide-demo[data-step="4"] .guide-pdf{display:grid;gap:4px;right:18px;top:69px;padding:15px;max-width:48%;font-size:12px;line-height:1.6;animation:demo-pdf 6s infinite}
#artimsan-3d-editor .guide-demo .guide-pdf b{font-weight:600;color:#315e42}
#artimsan-3d-editor .guide-demo .guide-pdf i{font-size:10px;margin-top:8px;color:#6f7c67}
@keyframes demo-colors{0%,100%{background:#e2d4bc}33%{background:#a8b2a0}66%{background:#dfc4b3}}
@keyframes demo-pdf{0%,15%{opacity:.45;transform:translateY(7px)}30%,90%{opacity:1;transform:translateY(0)}100%{opacity:.45;transform:translateY(7px)}}
#artimsan-3d-editor .guide-demo{container-type:inline-size}
@media(max-width:650px){
 #artimsan-3d-editor .guide{width:94vw;max-height:94dvh;border-radius:15px}
 #artimsan-3d-editor .guide-top{padding:12px 16px 3px}
 #artimsan-3d-editor .guide-brand{font-size:9px;letter-spacing:1.5px}
 #artimsan-3d-editor .guide-content{padding:0 16px 16px}
 #artimsan-3d-editor .guide h2{font-size:23px;line-height:1.18}
 #artimsan-3d-editor .guide-desc{font-size:13px;line-height:1.55;min-height:0}
 #artimsan-3d-editor .guide-scene.guide-demo{height:236px;margin:11px 0}
 #artimsan-3d-editor .guide-demo .mini-cabinet{left:64%;width:126px;height:165px;top:28px;border-width:7px}
 #artimsan-3d-editor .guide-demo .mini-cabinet::before{width:6px}
 #artimsan-3d-editor .guide-demo .mini-drawer{height:31px;bottom:6px}
 #artimsan-3d-editor .guide-demo .mini-added-shelf{top:94px}
 #artimsan-3d-editor .guide-demo .guide-demo-caption{font-size:10px;bottom:9px}
 #artimsan-3d-editor .guide-demo .guide-size-demo{left:8px;top:69px;padding:9px;width:132px}
 #artimsan-3d-editor .guide-demo .guide-size-demo>i{font-size:9px}
 #artimsan-3d-editor .guide-demo[data-step="0"] .guide-width{left:64%;width:126px;top:7px}
 #artimsan-3d-editor .guide-demo[data-step="0"] .mini-cabinet{animation-name:demo-width-mobile}
 #artimsan-3d-editor .guide-demo[data-step="1"] .guide-chip{left:8px;top:48px;padding:9px;font-size:12px}
 #artimsan-3d-editor .guide-demo[data-step="1"] .guide-moving-shelf{left:19px;top:94px;width:49px;animation-name:demo-shelf-mobile}
 #artimsan-3d-editor .guide-demo[data-step="1"] .guide-cursor{left:45px;top:78px;animation-name:demo-hand-mobile}
 #artimsan-3d-editor .guide-demo[data-step="1"] .guide-drawer-demo{left:8px;top:158px;padding:7px;max-width:185px}
 #artimsan-3d-editor .guide-demo .guide-drawer-demo>span{font-size:9px;margin-bottom:4px}
 #artimsan-3d-editor .guide-demo .guide-drawer-demo b{font-size:10px;padding:4px}
 #artimsan-3d-editor .guide-demo[data-step="2"] .guide-measure-demo{left:8px;top:52px;padding:9px;width:150px}
 #artimsan-3d-editor .guide-demo .guide-measure-demo>b{font-size:20px;padding:7px}
 #artimsan-3d-editor .guide-demo .guide-measure-demo>em{font-size:9px}
 #artimsan-3d-editor .guide-demo[data-step="3"] .guide-action-demo{left:8px;top:43px;width:148px;padding:8px}
 #artimsan-3d-editor .guide-demo[data-step="4"] .mini-cabinet{left:29%}
 #artimsan-3d-editor .guide-demo[data-step="4"] .guide-pdf{right:8px;top:58px;padding:10px;max-width:54%;font-size:10px}
 #artimsan-3d-editor .guide-demo .guide-pdf i{font-size:9px}
 #artimsan-3d-editor .guide-tip{font-size:11px;line-height:1.5;padding:9px 11px}
 #artimsan-3d-editor .guide-bottom{gap:8px;margin-top:12px;align-items:center}
 #artimsan-3d-editor .guide-dots{gap:4px}
 #artimsan-3d-editor .guide-dot{width:6px;height:6px}
 #artimsan-3d-editor .guide-dot.active{width:15px}
 #artimsan-3d-editor .guide-actions{gap:5px}
 #artimsan-3d-editor .guide-actions button{padding:8px 10px;font-size:12px}
 #artimsan-3d-editor .guide-next{min-width:0}
 #artimsan-3d-editor .guide-reopen{font-size:10px;margin-top:10px}
}
@keyframes demo-width-mobile{0%,100%{width:112px}40%,70%{width:137px}}
@keyframes demo-shelf-mobile{0%,12%{transform:translate(0,0);opacity:0}18%{opacity:1}55%,78%{transform:translate(calc(64cqw - 76px),35px);opacity:1}84%,100%{transform:translate(calc(64cqw - 76px),35px);opacity:0}}
@keyframes demo-hand-mobile{0%,12%{transform:translate(0,0);opacity:1}55%,78%{transform:translate(calc(64cqw - 76px),35px);opacity:1}100%{transform:translate(calc(64cqw - 76px),35px);opacity:0}}
@media(prefers-reduced-motion:reduce){
 #artimsan-3d-editor .guide-demo *,#artimsan-3d-editor .measure-guide-help{animation:none!important}
 #artimsan-3d-editor .guide-demo[data-step="1"] .guide-cursor,#artimsan-3d-editor .guide-demo[data-step="1"] .guide-moving-shelf{display:none}
 #artimsan-3d-editor .guide-demo .mini-added-shelf{opacity:1}
 #artimsan-3d-editor .guide-demo[data-step="4"] .guide-pdf{opacity:1;transform:none}
}

/* Editing actions stay next to the drawing instead of inside the settings. */
#artimsan-3d-editor .stage-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;order:2;min-width:0;max-width:100%;align-items:start}
#artimsan-3d-editor .stage-workspace>.draft-scene{grid-column:1;grid-row:2;min-width:0;margin-top:0}
#artimsan-3d-editor .stage .stage-actions{grid-column:1;grid-row:1;min-width:0;max-width:100%;margin-top:8px}
#artimsan-3d-editor .stage .stage-actions .design-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0}
#artimsan-3d-editor .stage .stage-actions .history-actions{display:contents}
#artimsan-3d-editor .stage .stage-actions .design-actions>button,
#artimsan-3d-editor .stage .stage-actions .history-actions button{width:100%;min-height:44px;padding:8px 5px;margin:0;font-size:11px;touch-action:manipulation}
#artimsan-3d-editor .stage .stage-actions .history-actions button span{font-size:14px;margin-right:1px}
#artimsan-3d-editor .stage .stage-actions #measurementsToggle{width:100%;min-height:44px;margin:6px 0 0;padding:8px;font-size:11px;touch-action:manipulation}
@media(min-width:1050px){
 #artimsan-3d-editor .stage-workspace{grid-template-columns:minmax(0,1fr) 185px;gap:12px}
 #artimsan-3d-editor .stage-workspace>.draft-scene{grid-column:1;grid-row:1;margin-top:8px}
 #artimsan-3d-editor .stage .stage-actions{grid-column:2;grid-row:1}
 #artimsan-3d-editor .stage .stage-actions .design-actions{grid-template-columns:minmax(0,1fr);gap:7px}
 #artimsan-3d-editor .stage .stage-actions .history-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 #artimsan-3d-editor .stage .stage-actions #measurementsToggle{margin-top:9px}
}

#artimsan-3d-editor .material-color-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin:12px 0}
#artimsan-3d-editor .material-color-filters label{margin:5px 0 0;font-size:11px}
#artimsan-3d-editor .material-color-filters select,#artimsan-3d-editor #colorSearch{min-height:44px;width:100%;min-width:0}
#artimsan-3d-editor #colorTargetNote,#artimsan-3d-editor #colorResultsCount{font-size:11px;line-height:1.6;margin:8px 0;color:var(--editor-muted)}
#artimsan-3d-editor #colorResultsCount{font-variant-numeric:tabular-nums}
#artimsan-3d-editor .exterior-color-option{margin:12px 0;padding:10px 12px;border:1px solid var(--editor-line);border-radius:8px;background:var(--editor-soft)}
#artimsan-3d-editor .exterior-color-option[hidden]{display:none!important}
#artimsan-3d-editor .exterior-color-choice{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;line-height:1.5;cursor:pointer;color:var(--editor-ink)}
#artimsan-3d-editor .panel .exterior-color-choice input{width:18px;height:18px;min-height:18px;flex:0 0 18px;padding:0;margin:0;accent-color:var(--editor-active)}
#artimsan-3d-editor .exterior-color-option .hint{margin:4px 0 0;font-size:11px}
#artimsan-3d-editor #colorActive{line-height:1.6;overflow-wrap:anywhere;margin:10px 0}
#artimsan-3d-editor #colorGrid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:430px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;align-content:start}
#artimsan-3d-editor #colorGrid .color-choice{min-width:0;min-height:120px;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:4px;padding:6px}
#artimsan-3d-editor #colorGrid .color-choice img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:4px;background:var(--editor-soft)}
#artimsan-3d-editor #colorGrid .color-choice span{font-size:11px;line-height:1.35;overflow-wrap:anywhere}
#artimsan-3d-editor #colorGrid .color-choice small{font-size:9px;line-height:1.4;overflow-wrap:anywhere}
#artimsan-3d-editor #colorGrid .color-choice-group{font-size:8px;line-height:1.5;color:var(--editor-muted)}
#artimsan-3d-editor #colorGrid .color-choice[aria-pressed=true]{outline:2px solid var(--editor-active);outline-offset:-2px;background:var(--editor-soft)}
#artimsan-3d-editor #colorMore{width:100%;min-height:44px;margin-top:10px}
#artimsan-3d-editor #colorGrid .color-empty{grid-column:1/-1;font-size:12px;line-height:1.65;margin:4px 0;padding:10px}
@media(max-width:650px){#artimsan-3d-editor .material-color-filters select,#artimsan-3d-editor #colorSearch{font-size:16px}#artimsan-3d-editor #colorGrid{max-height:390px}#artimsan-3d-editor #colorGrid .color-choice{min-height:140px}#artimsan-3d-editor #colorGrid .color-choice span{font-size:12px}#artimsan-3d-editor #colorGrid .color-choice-group{font-size:9px}}

#artimsan-3d-editor .door-controls{display:grid;grid-template-columns:minmax(158px,.55fr) minmax(0,2.45fr);gap:12px 14px;padding:14px;margin:5px 0 10px;border:1px solid var(--editor-line);border-radius:8px;background:var(--editor-panel);color:var(--editor-ink);min-width:0}
#artimsan-3d-editor .door-controls[hidden],#artimsan-3d-editor .door-controls [hidden]{display:none!important}
#artimsan-3d-editor .door-controls>*{min-width:0}
#artimsan-3d-editor .door-controls label,#artimsan-3d-editor .door-control-label{display:block;margin:0 0 6px;font-size:12px;line-height:1.4;font-weight:600;color:var(--editor-ink)}
#artimsan-3d-editor .door-controls button,#artimsan-3d-editor .door-controls select{font:inherit;font-size:12px;min-height:40px;margin:0;max-width:100%;border:1px solid var(--editor-line);border-radius:6px;background:var(--editor-panel);color:var(--editor-ink)}
#artimsan-3d-editor .door-controls button{padding:8px 10px;line-height:1.35;white-space:normal;touch-action:manipulation}
#artimsan-3d-editor .door-controls select{width:100%;padding:8px 10px;text-overflow:ellipsis}
#artimsan-3d-editor .door-choice-group{display:flex;gap:4px;min-width:0}
#artimsan-3d-editor .door-choice-group>button{flex:1;min-width:0}
#artimsan-3d-editor .door-controls button[aria-pressed="true"],#artimsan-3d-editor .door-controls .primary{background:var(--editor-active);color:var(--editor-active-text);border-color:var(--editor-active)}
#artimsan-3d-editor .door-controls button:disabled{opacity:.5;cursor:default}
#artimsan-3d-editor .door-controls button:not(:disabled):hover{filter:brightness(.97)}
#artimsan-3d-editor .door-manual-controls{display:grid;grid-template-columns:minmax(170px,1.2fr) minmax(188px,1fr) minmax(122px,.65fr);gap:12px;min-width:0}
#artimsan-3d-editor .door-manual-controls>div{min-width:0}
#artimsan-3d-editor .door-placement-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:6px}
#artimsan-3d-editor .door-placement-help{grid-column:2;margin:0;padding-top:9px;border-top:1px solid var(--editor-line);font-size:12px;line-height:1.5;color:var(--editor-muted);overflow-wrap:anywhere}
#artimsan-3d-editor .door-automatic-controls{max-width:320px}
#artimsan-3d-editor .door-invalid-warning{grid-column:1/-1;display:flex;gap:10px;align-items:center;border-top:1px solid var(--editor-line);padding-top:10px}
#artimsan-3d-editor .door-invalid-warning p{flex:1;margin:0;font-size:12px;line-height:1.5;color:var(--editor-ink)}
#artimsan-3d-editor .door-invalid-warning button{flex-shrink:0}
#artimsan-3d-editor[data-door-editing="true"] .stagehead #doorTab{background:var(--editor-active)!important;color:var(--editor-active-text)!important;border-color:var(--editor-active)}
@media(min-width:651px){#artimsan-3d-editor[data-door-editing="true"] .stage .draft-scene>#view,#artimsan-3d-editor[data-door-editing="true"] .stage .draft-scene>#view3d{height:clamp(220px,calc(100dvh - 620px),460px)}}
@media(min-width:1050px){#artimsan-3d-editor[data-door-editing="true"] .stage .draft-scene>#view,#artimsan-3d-editor[data-door-editing="true"] .stage .draft-scene>#view3d{height:clamp(320px,calc(100dvh - 610px),520px)}}
@media(max-width:1120px){#artimsan-3d-editor .door-controls{grid-template-columns:1fr;gap:12px}#artimsan-3d-editor .door-placement-mode{max-width:300px}#artimsan-3d-editor .door-placement-help{grid-column:1}#artimsan-3d-editor .door-manual-controls{grid-template-columns:minmax(140px,1fr) minmax(185px,1.25fr)}#artimsan-3d-editor .door-leaves-control{grid-column:1}#artimsan-3d-editor .door-placement-actions{grid-column:2;align-self:end}}
@media(max-width:650px){#artimsan-3d-editor[data-door-editing="true"] .stage-wrap>.stage{position:relative;top:auto;z-index:auto}#artimsan-3d-editor .door-controls{order:2;flex-shrink:0;padding:11px;margin:4px 0 7px;gap:10px}#artimsan-3d-editor .door-placement-mode{max-width:none}#artimsan-3d-editor .door-controls button,#artimsan-3d-editor .door-controls select{min-height:44px}#artimsan-3d-editor .door-controls select{font-size:16px}#artimsan-3d-editor .door-manual-controls{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:10px}#artimsan-3d-editor .door-coverage-control .door-choice-group{flex-direction:column}#artimsan-3d-editor .door-leaves-control{grid-column:1}#artimsan-3d-editor .door-placement-actions{grid-column:1/-1}#artimsan-3d-editor .door-invalid-warning{align-items:stretch;flex-direction:column}#artimsan-3d-editor .door-controls label,#artimsan-3d-editor .door-control-label{font-size:12px}#artimsan-3d-editor .door-placement-help{font-size:12px;padding-top:7px}}

/* Full-page layout: the preview column spans every settings/quote row. */
#artimsan-3d-editor,
#artimsan-3d-editor main,
#artimsan-3d-editor .layout {
  min-width: 0;
  overflow: visible;
}
#artimsan-3d-editor .panel,
#artimsan-3d-editor .stage-wrap,
#artimsan-3d-editor .stage,
#artimsan-3d-editor .draft-scene {
  min-width: 0;
  max-width: 100%;
}
#artimsan-3d-editor button,
#artimsan-3d-editor a,
#artimsan-3d-editor summary { cursor: pointer; }
#artimsan-3d-editor button:disabled { cursor: default; }

/* A roomier desktop editor, with a moderate limit on wide monitors. */
@media (min-width: 901px) {
  #artimsan-3d-editor main {
    width: 100%;
    max-width: 1600px;
    padding-left: clamp(16px, 2vw, 32px);
    padding-right: clamp(16px, 2vw, 32px);
  }
}

@media (min-width: 651px) {
  #artimsan-3d-editor .stage .mobile-settings-nav { margin-right: 142px; }
  #artimsan-3d-editor .layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
  }
  #artimsan-3d-editor .layout > aside.panel:not(.right) {
    grid-column: 1;
    grid-row: 1;
  }
  #artimsan-3d-editor .layout > .right {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-top: 16px;
  }
  #artimsan-3d-editor .stage-wrap {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
  }
  #artimsan-3d-editor .stage-wrap > .stage {
    position: sticky;
    top: 12px;
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 14px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
  #artimsan-3d-editor[data-mobile-panel="quote"] .layout > aside.panel:not(.right) {
    display: none;
  }
  #artimsan-3d-editor[data-mobile-panel="quote"] .layout > .right {
    display: grid;
    grid-row: 1;
    margin-top: 0;
  }
  #artimsan-3d-editor .draft-quote-fields {
    border-top: 1px solid var(--editor-line);
    padding-top: 18px;
  }
  #artimsan-3d-editor .stage .draft-scene > #view,
  #artimsan-3d-editor .stage .draft-scene > #view3d {
    height: clamp(180px, calc(100dvh - 395px), 520px);
    min-height: 0;
  }
  #artimsan-3d-editor .stage > .three-help,
  #artimsan-3d-editor .stage > div.hint:last-child { display: none; }
  #artimsan-3d-editor .stage > #measurementDetails {
    margin-top: 7px !important;
  }
  #artimsan-3d-editor .stage #measurementDetails > div {
    max-height: 150px;
    overflow: auto;
    overscroll-behavior: contain;
  }
  #artimsan-3d-editor .stage #status {
    max-height: 3.1em;
    overflow: auto;
    overscroll-behavior: contain;
  }
  #artimsan-3d-editor .stage .live-three-measures {
    font-size: 12px;
    line-height: 1.45;
  }
}

/* The desktop action rail leaves the model enough room to use a taller canvas.
   Reserve space for the toolbar, camera and status within the sticky panel. */
@media (min-width: 1050px) {
  #artimsan-3d-editor .stage .draft-scene > #view,
  #artimsan-3d-editor .stage .draft-scene > #view3d {
    height: clamp(320px, calc(100dvh - 390px), 660px);
  }
}

@media (min-width: 651px) and (max-width: 900px) {
  #artimsan-3d-editor .layout {
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 12px;
  }
  #artimsan-3d-editor .stage-wrap > .stage { padding: 10px; }
  #artimsan-3d-editor .stage .mobile-settings-nav {
    margin-right: 42px;
    gap: 4px;
  }
  #artimsan-3d-editor .stage > div:first-child {
    right: 10px;
    top: 10px;
  }
  #artimsan-3d-editor .stage .guide-help {
    font-size: 0;
    min-width: 36px;
    min-height: 40px;
    padding: 5px;
  }
  #artimsan-3d-editor .stage .guide-help::after {
    content: 'ⓘ';
    font-size: 18px;
  }
  #artimsan-3d-editor .stage .draft-view-controls button {
    padding: 7px 8px;
  }
}

@media (max-width: 650px) {
  #artimsan-3d-editor .stage .live-three-measures { display: none; }
  #artimsan-3d-editor .stage > #status { min-height: 30px; height: 30px; max-height: 30px; }
  #artimsan-3d-editor .stage > #status:empty { display: block; visibility: hidden; }
  #artimsan-3d-editor aside.panel button { scroll-margin-top: var(--planner-stage-offset,400px)!important; scroll-margin-bottom: 16px!important; }
  #artimsan-3d-editor main { padding: 16px 12px 28px; }
  #artimsan-3d-editor .layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  #artimsan-3d-editor .stage-wrap { display: contents; }
  #artimsan-3d-editor .stage-wrap > .stage {
    position: sticky;
    top: 0;
    z-index: 20;
    order: -1;
    align-self: stretch;
    width: 100%;
    padding: 7px 8px 8px;
    max-height: none;
    overflow: visible;
    background: var(--editor-stage);
  }
  #artimsan-3d-editor .stage .draft-scene > #view,
  #artimsan-3d-editor .stage .draft-scene > #view3d,
  #artimsan-3d-editor.is-editing-field .stage .draft-scene > #view,
  #artimsan-3d-editor.is-editing-field .stage .draft-scene > #view3d {
    height: clamp(145px, 43vw, 190px);
    min-height: 0;
  }
  #artimsan-3d-editor .stage:has(#measurementDetails[open]) .draft-scene > #view,
  #artimsan-3d-editor .stage:has(#measurementDetails[open]) .draft-scene > #view3d {
    height: 125px;
  }
  #artimsan-3d-editor .stage .draft-scene { padding-bottom: 46px; }
  #artimsan-3d-editor .stage .live-three-measures {
    font-size: 11px;
    line-height: 1.35;
    padding: 4px 5px;
  }
  #artimsan-3d-editor .stage > #status {
    max-height: 2.8em;
    overflow: auto;
    overscroll-behavior: contain;
  }
  #artimsan-3d-editor .stage > #measurementDetails > div {
    max-height: 105px;
    overflow: auto;
    overscroll-behavior: contain;
  }
  #artimsan-3d-editor .stage > #dimensionSummary { font-size: 11px; }
  #artimsan-3d-editor .stage .draft-view-controls button,
  #artimsan-3d-editor .stage .stagehead button,
  #artimsan-3d-editor .stage .draft-camera-controls button,
  #artimsan-3d-editor .stage .mobile-settings-nav button,
  #artimsan-3d-editor .stage .guide-help,
  #artimsan-3d-editor aside.panel button {
    min-height: 44px;
    touch-action: manipulation;
  }
  #artimsan-3d-editor .panel input,
  #artimsan-3d-editor .panel select,
  #artimsan-3d-editor .panel textarea {
    min-height: 44px;
    font-size: 16px;
    min-width: 0;
    max-width: 100%;
  }
  #artimsan-3d-editor[data-mobile-panel="quote"] .right {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

/* On landscape phones / open keyboards, keep the model and lower navigation
   pinned while allowing the two upper tool rows to scroll above the screen. */
@media (max-width: 650px) and (max-height: 600px) {
  #artimsan-3d-editor .stage-wrap > .stage { top: -96px; }
  #artimsan-3d-editor .stage .draft-scene > #view,
  #artimsan-3d-editor .stage .draft-scene > #view3d,
  #artimsan-3d-editor.is-editing-field .stage .draft-scene > #view,
  #artimsan-3d-editor.is-editing-field .stage .draft-scene > #view3d {
    height: 115px;
  }
}

@media (pointer: coarse) {
  #artimsan-3d-editor .stage button { min-height: 44px; }
}

/* Set this only from a real visualViewport keyboard resize, not focus alone.
   That keeps pointer targets stable while an input/button is being tapped. */
@media (max-width: 650px) {
  #artimsan-3d-editor.is-keyboard-open .stage-wrap > .stage { top: -96px; }
  #artimsan-3d-editor.is-keyboard-open .stage .draft-scene > #view,
  #artimsan-3d-editor.is-keyboard-open .stage .draft-scene > #view3d {
    height: 115px;
  }
  #artimsan-3d-editor.is-keyboard-open .stage > #live3dMeasures { display: none; }
}

#artimsan-3d-editor .sketchup-export{border-top:1px solid var(--editor-line);padding:16px 0;margin:14px 0}
#artimsan-3d-editor #sketchupOpen{width:100%}
#artimsan-3d-editor #sketchupDialog{width:min(740px,calc(100vw - 28px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid #bcc5b7;border-radius:14px;background:#f5f3ed;color:#243c33;box-sizing:border-box;font:14px/1.65 'DM Sans',Arial,sans-serif}
#artimsan-3d-editor #sketchupDialog::backdrop{background:#18291fc9}
#artimsan-3d-editor .sketchup-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
#artimsan-3d-editor .sketchup-top h2{font-size:22px;margin:0}
#artimsan-3d-editor .sketchup-actions{display:flex;gap:10px;flex-wrap:wrap}
#artimsan-3d-editor .sketchup-command{display:block;overflow-wrap:anywhere;white-space:pre-wrap;background:#e5e9df;border-radius:6px;padding:12px;font:13px/1.7 monospace;user-select:all}
#artimsan-3d-editor #sketchupCode{box-sizing:border-box;width:100%;font:12px/1.5 monospace;white-space:pre;min-height:220px}
#artimsan-3d-editor #sketchupDialog button{min-height:44px}
@media(max-width:650px){#artimsan-3d-editor #sketchupDialog{padding:16px}#artimsan-3d-editor .sketchup-actions button{width:100%}}

#artimsan-3d-editor #equalShelves{width:100%;margin-top:9px}#artimsan-3d-editor .shelf-spacing-controls{border-top:1px solid var(--editor-line);margin-top:18px;padding-top:4px}#artimsan-3d-editor .panel button:disabled{opacity:.5}
