:root{--ink:#262c2f;--muted:#828a8e;--orange:#ed602c;--line:#dfe3e4;--paper:#f2f3f3}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper)}button,select,input{font:inherit}button{cursor:pointer;border:0;color:inherit}button:disabled,select:disabled,input:disabled{opacity:.4;cursor:wait}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #ee9b75;outline-offset:3px}[hidden]{display:none!important}header{height:80px;padding:0 5%;display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);background:#fafafa}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;color:var(--ink);font-size:24px}.mark{display:grid;gap:6px;width:29px}.mark i{height:7px;background:var(--orange);transform:skew(-16deg);border-radius:2px}.mark i:last-child{width:21px}.lab{font-size:13px;color:#92999c;border-left:1px solid var(--line);padding-left:24px;letter-spacing:2px}.edition{margin-left:auto;color:#8b9295;font-size:11px}main{width:90%;max-width:1480px;margin:auto;padding:34px 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.eyebrow{font-size:9px;letter-spacing:2px;color:#90989b}.intro h1{font-size:32px;margin:8px 0 9px;letter-spacing:-.7px}.intro p:last-child{font-size:12px;color:#899195;margin-bottom:0}.intro a{color:#a95a35;font-size:11px;text-decoration:none}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 355px;align-items:start;gap:22px}.viewer-card{position:sticky;top:18px;border:1px solid #d8dfe1;border-radius:18px;overflow:hidden;background:#eceff0}.viewer-top{height:58px;display:flex;align-items:center;padding:0 21px;gap:20px;border-bottom:1px solid #dce2e3}.viewer-top b{font-size:12px;display:flex;align-items:center;gap:9px}.viewer-top i{width:6px;height:6px;background:var(--orange);border-radius:50%}.viewer-top span{font-size:10px;color:#8c9599}.viewer-top button{margin-left:auto;background:none;color:#7d898d;min-height:42px;font-size:12px}#stage{height:570px;min-height:300px;position:relative;background:radial-gradient(ellipse at 45% 32%,#fcfdfd,#e7ebed);overflow:hidden}#stage canvas{display:block;touch-action:none}.gesture{position:absolute;bottom:14px;left:0;right:0;text-align:center;pointer-events:none;font-size:10px;color:#8c969b}.loading,#error{position:absolute;inset:0;background:#edf0f0ee;z-index:2;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#727e84}.loading b,#error b{font-size:14px}.loading p,#error p{font-size:11px;max-width:80%;line-height:1.8}#error button{border-radius:6px;background:#30383c;color:#fff;padding:10px 20px}.spinner{width:27px;height:27px;border:2px solid #d4dce0;border-top-color:var(--orange);border-radius:50%;margin-bottom:17px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.view-bar{display:flex;justify-content:center;padding:10px;gap:7px}.view-bar button{background:none;color:#899397;padding:12px 17px;border-radius:8px;font-size:12px}.view-bar button.active{background:#fff;color:#303c43;box-shadow:0 2px 5px #00000008}.viewer-summary{padding:13px 19px;background:#fafbfb;border-top:1px solid #dbe1e3}.viewer-summary b{font-size:12px;font-weight:500}.viewer-summary p{font-size:10px;line-height:1.8;color:#879196;margin:4px 0 0}.viewer-note{font-size:9px;color:#98a1a5;padding:12px 19px;border-top:1px solid #e0e5e7;line-height:1.7}.config{padding:0 22px;background:#fff;border:1px solid var(--line);border-radius:18px;min-width:0}.config>section,.config>details{padding:22px 0;border-bottom:1px solid #e8ebec}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:16px}.section-title small{font-size:10px;color:#a2aaae}.section-title h2{font-size:16px;font-weight:600;margin:0}.section-title>span{margin-left:auto;font-size:10px;color:#929b9e}label{display:block;font-size:11px;color:#7c878c;margin:15px 0 9px}select{width:100%;min-height:44px;border:1px solid #d6dfe1;border-radius:7px;padding:10px;background:#fafcfc;color:#35434a;font-size:12px}.hint{font-size:10px;line-height:1.8;color:#96a0a4;margin:11px 0 0}.widths{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.widths button{padding:9px 1px;min-height:50px;background:#f4f6f7;border:1px solid #e1e6e8;border-radius:6px}.widths b{font-size:12px;display:block}.widths small{font-size:9px;color:#97a1a5;display:block;margin-top:5px}.widths button.active{border-color:#df794b;background:#fff5ee;color:#ad4f22}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tabs button{flex:1;min-width:65px;border:1px solid #e1e7e8;border-radius:6px;background:#f5f7f8;padding:10px 6px;font-size:11px;min-height:40px}.tabs button.active{background:#2d383e;color:#fff;border-color:#2d383e}.row{display:flex;gap:8px;margin-top:10px}.row button{flex:1;border:1px solid #dfd9d3;background:#fff9f4;color:#b15f36;border-radius:6px;padding:10px 6px;font-size:11px;min-height:40px}.row button:last-child{background:white;border-color:#e3e7e8;color:#929da2}.explain{border-left:3px solid var(--orange);background:#fcf7f2;padding:11px 13px;margin-bottom:15px}.explain b{font-size:12px;color:#a45a35}.explain p{font-size:10px;color:#a48b7b;line-height:1.8;margin:5px 0 0}.pattern-block{margin-bottom:13px}.pattern-block p{font-size:10px;color:#97a2a7;line-height:1.8;margin:5px 0}.motion-heading{display:flex;align-items:center;justify-content:space-between;margin:19px 0 11px}.motion-heading b{font-size:12px;font-weight:500}.motion-heading output{font-size:10px;color:#8c989e}input[type=range]{width:100%;height:25px;margin:0;accent-color:var(--orange)}.motion-meta{display:flex;justify-content:space-between;font-size:10px;color:#929fa5;gap:8px;margin:7px 0 13px}.motion-meta span:last-child{color:#b97b53}.primary{width:100%;background:#2c383e;color:white;padding:13px;border-radius:7px;min-height:44px;font-size:12px}.check{display:flex;align-items:center;gap:8px;min-height:30px;font-size:12px;color:#626f76}.check input{accent-color:var(--orange);width:16px;height:16px}.check small{font-size:9px;color:#a2aaad}.swatches{display:flex;gap:13px}.swatches button{padding:0;background:none;min-height:55px;min-width:51px}.swatches i{width:30px;height:30px;display:block;margin:3px auto 7px;border-radius:50%;border:4px solid white;outline:1px solid #dbe0e2;background:var(--color)}.swatches button.active i{outline:2px solid var(--orange)}.swatches span{display:block;font-size:10px;color:#89979e}.dimensions>span,.quote>span{font-size:10px;color:#8a979e}.dimensions>strong{display:block;font-size:15px;margin-top:9px;line-height:1.6}.dimensions p{font-size:10px;line-height:1.8;color:#a0aaaf;margin:9px 0}#height-check{font-size:10px;color:#8c9aa2;line-height:1.8}.quote>strong{font-size:29px;color:var(--orange);display:block;margin-top:9px;letter-spacing:-1px}.quote p{font-size:10px;line-height:1.8;color:#949fa5}.actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:17px}.actions button{min-height:40px;background:#f5f7f8;border-radius:6px;font-size:11px;color:#657984}.actions button:first-child{background:#303c43;color:white}.bom{font-size:11px}.bom summary{cursor:pointer;color:#788a94}.bom p{font-size:10px;color:#8b9ba4;line-height:1.8}.bom a{font-size:10px;color:#b06a44;text-decoration:none}.bom-row{padding:10px 0;border-bottom:1px solid #eceff0}.bom-row b{font-size:10px;font-weight:500;line-height:1.7;display:block}.bom-row small{color:#9aa6ad;font-size:9px;display:block;line-height:1.7;margin-top:3px}footer{margin-top:22px;color:#96a1a6;font-size:10px;line-height:1.9}footer b{font-weight:500;color:#7d8b93}footer p{margin:5px 0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90%;padding:13px 18px;background:#2a353b;color:#fff;border-radius:8px;font-size:12px;z-index:5;line-height:1.7;width:max-content;box-shadow:0 3px 20px #0002}
@media(min-width:1500px){#stage{height:650px}}@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr) 320px;gap:14px}.config{padding:0 18px}.intro h1{font-size:27px}#stage{height:530px}.view-bar button{padding:11px}.viewer-note{font-size:8px}}
@media(max-width:720px){header{height:61px;padding:0 5%;gap:13px}.brand{font-size:20px;gap:10px}.mark{width:25px;gap:5px}.mark i{height:6px}.edition{font-size:9px}.lab{display:none}main{width:92%;padding-top:21px}.intro{display:block;margin-bottom:18px}.intro h1{font-size:25px}.intro p:last-child{font-size:10px;line-height:1.9}.eyebrow{font-size:8px;letter-spacing:1.3px}.intro a{display:inline-block;font-size:10px;margin-top:10px}.workspace{display:flex;flex-direction:column;gap:15px}.viewer-card{top:7px;z-index:3;width:100%;border-radius:14px;box-shadow:0 5px 14px #1b2a3109}.viewer-top{height:45px;padding:0 13px;gap:10px}.viewer-top b{font-size:11px}.viewer-top span{font-size:9px}.viewer-top button{font-size:11px}#stage{height:32svh;min-height:220px;max-height:340px}.gesture{font-size:9px;bottom:9px}.view-bar{padding:7px 5px;gap:2px}.view-bar button{padding:10px 5px;font-size:11px;flex:1;min-height:40px}.viewer-summary{padding:10px 12px}.viewer-summary b{font-size:11px}.viewer-summary p{font-size:9px;margin:2px 0 0}.viewer-note{display:none}.config{width:100%;border-radius:14px;padding:0 19px}.section-title h2{font-size:16px}.hint,.explain p,.dimensions p,.quote p{font-size:11px}.widths b{font-size:13px}.widths small{font-size:10px}label{font-size:12px}select{font-size:13px;min-height:46px}.tabs button{font-size:12px;min-height:44px}.row button{font-size:12px;min-height:44px}.explain b{font-size:13px}.motion-heading b,.primary{font-size:13px}.pattern-block p{font-size:11px}.motion-meta{font-size:10px}.dimensions>strong{font-size:15px}#height-check{font-size:11px}.quote>strong{font-size:30px}.actions button{font-size:12px;min-height:44px}.swatches span{font-size:11px}.bom summary{font-size:12px}.bom-row b{font-size:11px}.bom-row small{font-size:10px}footer{font-size:9px}}

.model-native{display:none!important}.model-trigger{width:100%;min-height:46px;padding:11px 13px;text-align:left;background:#fafcfc;border:1px solid #d6dfe1;border-radius:7px;color:#35434a;font-size:12px;line-height:1.7}.model-trigger:after{content:'▾';float:right;color:#9aa5ab}.picker-overlay{position:fixed;inset:0;z-index:20;background:#1b252b30;backdrop-filter:blur(2px)}.picker-panel{position:fixed;width:320px;max-height:70vh;overflow:auto;background:white;border:1px solid #d8e0e4;border-radius:13px;box-shadow:0 14px 60px #14232b35;padding:16px}.picker-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.picker-head b{font-size:14px}.picker-head button{font-size:25px;background:transparent;color:#9ba7ae;width:40px;height:40px}#picker-options{display:grid;gap:7px}#picker-options button{text-align:left;border:1px solid #dce3e7;padding:13px 12px;border-radius:7px;background:#f7f9fa;font-size:13px;line-height:1.7}#picker-options button.active{border-color:#e16a35;color:#b3572d;background:#fff4eb}#picker-options button small{display:block;font-size:10px;color:#a4afb4;margin-top:3px}#type-selectors{border-top:1px solid #e6eaed;padding-top:4px;margin-top:15px}.picker-panel button:disabled{cursor:not-allowed}.check small{font-size:9px}@media(max-width:720px){.model-trigger{font-size:13px}.picker-panel{left:0!important;right:0;bottom:0;top:auto!important;width:100%;border-radius:18px 18px 0 0;max-height:64svh;padding:16px 5% max(22px,env(safe-area-inset-bottom))}.picker-overlay{background:#1b252b40}#picker-options{grid-template-columns:1fr 1fr}#picker-options button{min-height:61px;font-size:12px}.picker-head b{font-size:15px}}

/* Menus keep the assembly visible while choosing. */
.picker-overlay{background:transparent;backdrop-filter:none}.model-trigger:focus-visible,#picker-options button:focus-visible{outline:3px solid #ee783a;outline-offset:3px}@media(max-width:720px){.picker-overlay{background:#1b252b24}.picker-panel{box-shadow:0 -8px 40px #14232b30}}

/* V4: assembly-centred actions */
#stage{position:relative}.arrow,.size-readout,.preview-tools button{background:#ffffffeb;border:1px solid #d8e0e3;box-shadow:0 3px 12px #22333d12;border-radius:10px;min-width:42px;min-height:42px;touch-action:manipulation}.arrow{position:absolute;z-index:4;font-size:24px;color:#bd572c}.arrow:disabled{opacity:.32;cursor:not-allowed}.arrow.up{top:13px;left:calc(50% - 21px)}.arrow.down{bottom:45px;left:calc(50% - 21px)}.arrow.left{top:calc(50% - 21px);left:12px}.arrow.right{top:calc(50% - 21px);right:12px}.size-readout{position:absolute;z-index:4;top:13px;left:12px;padding:8px 12px;font-size:12px;font-weight:600}.preview-tools{position:absolute;right:12px;top:13px;z-index:5;display:flex;gap:5px}.preview-tools button{font-size:11px;padding:8px 10px;min-width:43px}.tool-popover{position:absolute;top:64px;right:12px;width:min(285px,calc(100% - 24px));z-index:8;background:white;border:1px solid #d7e0e4;box-shadow:0 10px 35px #1b293b25;border-radius:12px;padding:16px;max-height:calc(100% - 72px);overflow:auto}.tool-popover b{font-size:14px}.tool-popover p{font-size:10px;color:#8b989f;line-height:1.7}.tool-popover label{font-size:11px;margin-top:12px}.tool-popover .swatches{flex-wrap:wrap;gap:8px;margin-top:12px}.custom-color-row{display:flex;gap:8px;margin:12px 0}.custom-color-row input[type=color]{width:52px;height:42px;border:1px solid #ddd;border-radius:7px;background:white;padding:3px}.custom-color-row input[type=text],#custom-hex{min-width:0;width:100%;border:1px solid #d5dfe4;border-radius:7px;padding:8px}.motion-advanced{font-size:11px;color:#74848c;margin:16px 0}.motion-advanced summary{cursor:pointer;min-height:30px}.config>section[hidden]{display:none}@media(max-width:720px){.preview-tools{right:8px;gap:4px}.preview-tools button{padding:8px;min-width:40px;font-size:11px}.size-readout{left:8px;padding:7px 10px;font-size:11px}.arrow.up{top:64px}.arrow.down{bottom:28px}.arrow.left{left:8px}.arrow.right{right:8px}#stage{height:43svh;min-height:300px;max-height:420px}.gesture{font-size:8px;bottom:7px}.tool-popover{top:62px;right:8px;max-height:calc(100% - 70px)}.viewer-summary{padding:7px 12px}.viewer-top{height:37px}.view-bar{padding:3px 5px}.view-bar button{min-height:34px;padding:7px 3px}}

@media(max-width:720px){.arrow.up{top:13px;left:calc(43% - 21px)}}

.part-mode{position:absolute;left:12px;top:64px;z-index:5;border:1px solid #d8e0e3;border-radius:8px;min-height:36px;padding:8px 10px;background:#ffffffeb;font-size:11px}.part-mode.active{background:#fff0e5;color:#bb5426;border-color:#ed783c}.stage-bottom{position:absolute;bottom:10px;left:12px;right:12px;display:flex;justify-content:space-between;z-index:5;gap:8px}.stage-bottom button{background:#ffffffed;border:1px solid #d9e1e4;min-height:38px;border-radius:8px;padding:8px 10px;font-size:11px}.depth-control{display:flex;gap:3px}.depth-control button{padding:8px;min-width:35px}.selected-part{position:absolute;bottom:57px;left:12px;right:12px;z-index:6;display:flex;align-items:center;gap:8px;max-width:360px;border:1px solid #e4b292;background:#fff8f0f5;border-radius:8px;padding:8px}.selected-part span{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.selected-part button{margin-left:auto;flex-shrink:0;font-size:11px;padding:7px;background:#ed642c;color:white;border-radius:6px;min-height:32px}.arrow.down{bottom:64px}.gesture{display:none}.tool-popover select{max-width:100%;text-overflow:ellipsis}.tool-popover .check{margin:7px 0;font-size:12px}@media(max-width:720px){.part-mode{top:62px;left:8px;font-size:10px;min-height:36px}.stage-bottom{left:8px;right:8px;bottom:8px}.stage-bottom button{font-size:10px;min-height:38px;padding:7px}.depth-control button{padding:7px;min-width:31px}.selected-part{left:8px;right:8px;bottom:52px;padding:6px;max-width:100%}.selected-part span{font-size:9px}.arrow.down{bottom:63px;left:calc(43% - 21px)}.tool-popover{z-index:10}}

#assembly-warning{color:#a34826;background:#fff1e8;padding:6px 8px;border-radius:5px;line-height:1.6}

.selected-part{position:static;max-width:none;margin-bottom:7px;padding:5px 7px}.selected-part span{flex:1}.selected-part button{min-height:29px;padding:5px 8px}.selected-part #clear-part{background:transparent;color:#9b806f;margin-left:0;font-size:17px}

.inside-choices{display:flex;gap:5px}.inside-choices button{flex:1;min-height:38px;border:1px solid #dce2e4;border-radius:7px;font-size:11px;background:#f5f7f8}.inside-choices button.active{background:#fff0e4;border-color:#ed7435;color:#ab4925}

/* Compact controls, with gaps between independent targets. */
button{min-height:30px;padding:6px 9px;font-size:11px;border-radius:7px}
.config>section{padding:15px 16px;margin-bottom:10px}.config label{margin-top:10px}.config select{padding:7px 8px;min-height:32px;font-size:12px}
.section-title{margin-bottom:12px}.explain{padding:9px 11px}.explain p{margin:4px 0}.tabs{gap:5px}.tabs button{min-height:30px;padding:6px 9px}
.arrow,.size-readout,.preview-tools button{min-height:32px;min-width:32px;border-radius:7px}.arrow{font-size:20px;padding:3px}.arrow.up{left:calc(50% - 16px)}.arrow.left,.arrow.right{top:calc(50% - 16px)}.arrow.down{left:calc(50% - 16px);bottom:52px}
.size-readout{padding:6px 9px}.preview-tools button{padding:6px 9px;font-size:10px}.part-mode{top:55px;min-height:30px;padding:6px 8px}.stage-bottom button{min-height:30px;padding:6px 8px}.depth-control button{min-width:28px;padding:5px 6px}
.view-bar button{min-height:29px;padding:5px 8px}.inside-choices button{min-height:30px}.tool-popover{padding:12px;top:54px}.tool-popover .check{font-size:11px;margin:6px 0}.tool-popover label{margin-top:9px}.motion-advanced{margin:12px 0}.motion-advanced summary{min-height:26px}#open-range{width:100%}
.price-line{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #e6e9e9;font-size:11px}.price-line span{overflow-wrap:anywhere}.price-line b{white-space:nowrap}.price-line.missing b{color:#b05a29}.accessory-shop{margin:15px 0;font-size:11px}.accessory-shop>p{color:#778087;line-height:1.6}#accessory-search{width:100%;padding:9px;border:1px solid #dde1e2;border-radius:6px;margin:8px 0}#accessory-catalog{max-height:260px;overflow:auto}.catalog-row{padding:8px 0;border-bottom:1px solid #e4e7e7;display:flex;align-items:center;gap:9px}.catalog-row>span{flex:1;overflow-wrap:anywhere}.catalog-row small{display:block;color:#7b858a;margin-top:3px}.catalog-row button{flex-shrink:0}.catalog-meta{color:#8a949a;margin:6px 0}#extension-note{color:#9b4d28;background:#fff6f0;padding:7px}
@media(max-width:720px){button{min-height:30px;padding:6px 8px}.config>section{padding:13px}.preview-tools button{min-height:32px;min-width:32px;padding:6px 8px}.size-readout{padding:6px 8px}.arrow.up,.arrow.down{left:calc(43% - 16px)}.part-mode{top:53px;min-height:30px;font-size:9px}.stage-bottom button{min-height:30px;padding:6px}.depth-control button{min-width:27px;padding:5px}.arrow.down{bottom:51px}.tool-popover{top:52px;max-height:calc(100% - 60px)}.view-bar button{min-height:29px;font-size:10px;padding:5px}.selected-part button{min-height:27px} .price-line{font-size:11px}}

.config-tabs{position:sticky;top:8px;z-index:9;display:flex;gap:5px;padding:6px;background:#f0f2f2;border:1px solid #e1e4e5;border-radius:10px;margin-bottom:10px}.config-tabs button{flex:1;background:transparent;color:#6d7a81;min-height:32px}.config-tabs button[aria-selected=true]{background:#29343a;color:#fff}.config [role=tabpanel][hidden]{display:none}.config [role=tabpanel]>section{padding:14px 16px;background:white;border:1px solid #e0e5e6;border-radius:10px;margin-bottom:10px}.config [role=tabpanel]>.accessory-shop,.config [role=tabpanel]>.bom,.config [role=tabpanel]>.price-details{background:white;padding:14px;border:1px solid #e0e5e6;border-radius:9px;margin:10px 0}.audit-link{display:none}.label-row{display:flex;gap:7px;align-items:center}.label-row input[type=color]{width:36px;height:31px;border:1px solid #ddd;padding:2px;border-radius:6px}.label-row input[type=text],#label-text{flex:1;min-width:0;width:100%;padding:8px;border:1px solid #d9e0e3;border-radius:6px;font-size:12px}.label-custom{border-top:1px solid #e9ebec;padding-top:9px;margin:11px 0}.label-custom small{font-size:10px;color:#909a9f;display:block;margin-top:5px}.unit-expansion{border-top:1px solid #e2e7e9;padding-top:10px;margin-top:12px}.unit-expansion input[type=range]{width:100%}.unit-expansion output{font-size:10px;color:#7c898f}.browse-panel{position:absolute;left:12px;right:12px;bottom:12px;z-index:7;padding:10px 12px;border-radius:9px;background:#fffffff2;border:1px solid #d8e1e4}.viewer-card{position:relative}.browse-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.browse-panel input,.browse-panel select{width:100%;padding:7px;margin-top:6px;border:1px solid #dce2e4;border-radius:6px;font-size:11px;background:white}.browse-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:7px}.browse-bottom span{font-size:10px;color:#75838b}.preview-tools{gap:4px}.preview-tools button{padding:5px 7px;min-width:30px;font-size:10px}#interference-warning{font-size:10px;background:#fff4e9;color:#9c532e;padding:6px 8px;border-radius:5px}.viewer-card.browsing .size-arrows,.viewer-card.browsing .size-readout,.viewer-card.browsing .stage-bottom,.viewer-card.browsing .part-mode,.viewer-card.browsing .view-bar{visibility:hidden}.viewer-card.browsing #stage{background:#edf0f1}.config [role=tabpanel] .section-title{margin-bottom:8px}.config .explain{display:none}
@media(max-width:720px){.config-tabs{top:0;margin-top:7px}.preview-tools{max-width:146px;flex-wrap:wrap;justify-content:flex-end;right:7px}.preview-tools button{font-size:9px;min-height:29px;padding:5px 6px}.arrow.up{top:49px;left:calc(50% - 16px)}.browse-panel{bottom:7px;left:8px;right:8px;padding:8px}.browse-head button{min-height:27px}.viewer-card.browsing #stage{min-height:310px}.config [role=tabpanel]>section{padding:12px}.label-row input[type=color]{width:34px}}

#selected-color{width:30px;height:27px;min-width:30px;padding:2px;border:1px solid #ccd4d8;border-radius:5px}.browse-head #browse-color{width:32px;height:28px;min-width:32px;padding:2px;margin:0;flex-shrink:0}.pegboard-note{display:block;color:#8d969b;font-size:9px;line-height:1.6;margin-top:5px}.browse-head b{flex:1}

#empty-chooser{display:none}body.is-empty #empty-chooser{display:block;padding:22px;background:#fff;border:1px solid #dce1e4;border-radius:14px}body.is-empty .config-tabs,body.is-empty [role=tabpanel],body.is-empty .preview-tools,body.is-empty .size-arrows,body.is-empty .size-readout,body.is-empty .part-mode,body.is-empty .stage-bottom,body.is-empty .view-bar,body.is-empty .viewer-note{display:none!important}body.is-empty #stage{pointer-events:none}#empty-canvas-note{display:none;position:absolute;inset:0;align-items:center;justify-content:center;flex-direction:column;gap:14px;z-index:3;background:linear-gradient(145deg,#f6f7f7dd,#eaf0f2dd);text-align:center;color:#37454c}body.is-empty #empty-canvas-note{display:flex}#empty-canvas-note span{font-size:23px;font-weight:600}#empty-canvas-note small{font-size:13px;line-height:1.9;color:#839097}#empty-chooser h2{font-size:20px;margin:0 0 8px}#empty-chooser p{font-size:12px;color:#839097;margin:0 0 20px}#empty-chooser label{display:block;font-size:12px;color:#62717a;margin:14px 0 7px}#empty-chooser select{width:100%;padding:11px;border:1px solid #d7dfe2;border-radius:7px;background:white;font-size:13px;color:#29383e}#empty-chooser .first-row{display:flex;gap:12px}#empty-chooser .first-row label{flex:1}#empty-chooser .first-row select{margin-top:7px}#empty-chooser small{display:block;line-height:1.6;color:#839097;margin:15px 0}#empty-chooser button{width:100%;margin-top:8px;min-height:41px}body.is-empty #reset{display:none}@media(max-width:720px){body.is-empty .layout{display:flex;flex-direction:column}body.is-empty #stage{height:200px!important;min-height:200px!important}body.is-empty #empty-canvas-note span{font-size:20px}body.is-empty #empty-chooser{padding:18px}body.is-empty .viewer-card{min-height:0}body.is-empty .intro{margin-bottom:15px}}
.unit-expansion .first-row{display:flex;gap:8px}.unit-expansion .first-row label{flex:1;min-width:0}.unit-expansion input[type=number]{width:100%;padding:7px;border:1px solid #dce2e4;border-radius:6px;background:#fff}.unit-expansion small{display:block;font-size:10px;color:#839097;line-height:1.6;margin-top:7px}

.extension-delete{display:flex;gap:6px;margin:10px 0}.extension-delete select{flex:1;min-width:0}.extension-delete button,#extension-color{white-space:nowrap;padding:7px 9px}.compact-motion{padding:9px 0 12px;border-bottom:1px solid #e1e5e6;margin-bottom:10px}.compact-motion .tabs{gap:5px;margin:0 0 7px}.compact-motion .tabs button{padding:5px 8px;font-size:11px}.compact-motion .motion-heading{font-size:11px}.compact-motion input[type=range]{width:100%;margin:8px 0 0;accent-color:#ed6b36}.label-custom{margin:8px 0;padding:10px;background:#fff6ef;border-radius:8px}.label-custom[hidden]{display:none!important}body.is-empty .compact-motion,body.is-empty .label-custom{display:none!important}#remove-cab:not(:disabled){color:#ac471f;background:#fff3eb;border-color:#edac88;opacity:1}#availability-note{display:none!important}

.view-bar{flex-wrap:wrap}.view-bar button{white-space:nowrap}@media(max-width:720px){.view-bar button{font-size:10px;padding:6px}}

.peg-add{padding:10px 0;border-top:1px solid #ddd}.peg-add select{max-width:100%}.peg-add input{max-width:100%}

.side-unit-row{display:grid;grid-template-columns:1fr .7fr 1.2fr;gap:6px;margin:10px 0}.side-unit-row select{min-width:0;width:100%}#side-unit-controls{padding:12px;background:#fff7f0;border:1px solid #f3c5ab;border-radius:10px}#side-unit-add{width:100%}

#rear-independent12 .side-unit-row{grid-template-columns:1.5fr 1fr}#rear-independent12 select{width:100%;min-width:0;margin:8px 0}#rear-panel-add12{width:100%}

dialog{width:min(460px,calc(100% - 32px));max-height:85dvh;overflow:auto;padding:22px;border:1px solid #ddd;border-radius:14px;color:#252c30;background:white}dialog::backdrop{background:#20282d99}dialog form{display:grid;gap:12px}dialog label{display:grid;gap:6px}dialog input,dialog select,dialog textarea{min-width:0;width:100%;box-sizing:border-box}dialog .check{display:flex;align-items:flex-start}dialog input[type=checkbox]{width:auto}#submit-order13{background:#eb632e;color:white}#contact-entry13{margin-left:auto;white-space:nowrap}.learn-link13,.admin-link13{font-size:12px;color:#a64b27;white-space:nowrap}@media(max-width:650px){header{height:auto;min-height:70px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap;gap:8px}.admin-link13{display:none}}

.selection-toolbar14{position:absolute;left:8px;top:55px;z-index:5;display:flex;align-items:center;gap:4px;flex-wrap:wrap;max-width:calc(100% - 16px)}.selection-toolbar14 button{border:1px solid #d8e0e3;border-radius:7px;min-height:30px;padding:6px 8px;background:#fffffff0;font-size:10px}.selection-toolbar14 .part-mode{position:static}body.is-empty .selection-toolbar14,.viewer-card.browsing .selection-toolbar14{display:none!important}#multi-select14[aria-pressed=true]{background:#ffe8e5;color:#bd2424;outline:1px solid #e74747}#multi-count14{font-size:11px;color:#ba2828;white-space:nowrap}
