/* PEG3D 0.11 · restrained graphite, typographic hierarchy, square geometry */
:root{color-scheme:dark;--bg:#1f1f1f;--panel:#1f1f1f;--line:#2c2d33;--ink:#efefef;--muted:#a4a4a4;--accent:#526fee;--danger:#f1aa8c;font-family:Inter,'Segoe UI','Microsoft YaHei',sans-serif;font-synthesis:none}*{box-sizing:border-box;border-radius:0!important}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.55}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{border:0;background:transparent;color:var(--ink);padding:10px 15px;cursor:pointer;transition:background .16s,border-color .16s}button:hover{background:#2c2d33;border-color:#7b91f4}button:disabled{opacity:.4;cursor:not-allowed}button.primary,button.active{background:var(--accent);color:#ffffff;border-color:var(--accent)}button.primary:hover{background:#637df1}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[role=button]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 4.5vw;border:0}.brand{border:0;padding:0;display:flex;align-items:center;gap:13px}.brand:hover{background:none}.logo{font-size:26px;font-weight:700;letter-spacing:-4px;width:36px;line-height:1}.logo span{font-size:17px;vertical-align:super}.wordmark{font-size:24px;letter-spacing:2px;font-weight:650;text-align:left}.brand-caption{display:block;font-size:10px;letter-spacing:3px;font-weight:400;color:var(--muted)}.header-note{font-size:10px;letter-spacing:3px;color:var(--muted)}.badge{font-size:11px;letter-spacing:2px;border:0;padding-left:22px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);margin:0 0 12px;font-weight:500}h1,h2,h3,p{margin-top:0}h2{font-size:23px;font-weight:500;letter-spacing:-.5px;margin-bottom:24px}h3{font-size:19px;font-weight:500}main{display:grid;grid-template-columns:350px minmax(0,1fr);max-width:1800px;margin:auto}.wizard-nav{grid-column:1/-1;display:flex;border:0;padding:0 3vw;background:var(--bg);position:sticky;top:0;z-index:6}.wizard-nav>div{flex:1;min-width:0;cursor:pointer;padding:23px 8px;white-space:nowrap;border:0;font-size:12px;color:#a4a4a4;display:flex;align-items:center;gap:8px}.wizard-nav>div.active{color:var(--accent);border-color:var(--accent)}.wizard-nav>div.complete{color:var(--ink)}.wizard-nav>div span{font-size:0}.wizard-nav>div.active span:after{content:'•';font-size:14px}.wizard-nav>div.complete:not(.active) span:after{content:'✓';font-size:12px}aside{padding:28px 24px;border:0;min-width:0;max-height:calc(100vh - 152px);overflow:auto;scrollbar-width:thin;position:sticky;top:64px;align-self:start}.machine-panel{padding-bottom:18px;border:0;margin-bottom:23px}.machine-panel label{display:flex;justify-content:space-between}.machine-panel label span{font-size:11px;color:var(--muted)}#capacity{font-size:11px;margin-top:8px;line-height:1.7}.workspace{padding:28px 32px;min-width:0}.workspace>.status-banner{font-size:12px;color:var(--muted);padding:0 0 12px;border:0;margin-bottom:16px}.status-banner.error,.status-banner.busy{color:var(--danger)}.applied-summary{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:22px}.applied-summary[data-current=false]{color:var(--danger)}.topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.topline .eyebrow{margin:0}.small{font-size:12px;padding:7px 10px}.viewtabs{display:flex;gap:5px}.viewtabs button{font-size:12px;padding:7px 10px}.viewport{height:clamp(420px,56vh,750px);min-height:420px;border:0;background:#2a2a2a;position:relative;overflow:hidden}.viewport-index{position:absolute;bottom:16px;left:18px;color:#a4a4a4;font-size:9px;letter-spacing:2px;z-index:1}canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.scene-label{position:absolute;top:20px;left:20px;pointer-events:none;max-width:60%;color:#c6c6c6}.scene-label b{font-size:13px;font-weight:500}.scene-label p{font-size:11px;color:var(--muted);margin:6px 0}.group-minimap{position:absolute;right:12px;top:12px;width:132px;background:#1f1f1fde;border:0;padding:8px;z-index:2}.minimap-heading b{font-size:10px;font-weight:500}.minimap-heading span,.minimap-position{display:none}.group-minimap svg{width:100%;height:62px}.module-map-cell{cursor:pointer}.group-minimap svg rect{rx:0}.legend{display:none}.viewport-help{position:absolute;bottom:16px;right:16px;color:var(--muted);font-size:10px}.stale-overlay{position:absolute;top:80px;left:16px;right:16px;padding:12px;background:#332c20ee;border:0;color:#f1d7a4;font-size:12px;pointer-events:none;z-index:3}.viewport.stale canvas{opacity:.4}.scene-counts{font-size:11px;color:var(--muted);margin:8px 0}.preview-tools{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:14px 0;color:var(--muted)}.preview-tools label{display:flex;align-items:center;gap:6px;font-size:11px}.preview-tools select{width:auto;margin:0;padding:3px 6px;font-size:11px}#focusHint{display:none}.metrics{display:grid;grid-template-columns:repeat(3,1fr);margin-top:20px;border:0;border:0}.metric{padding:18px 12px;border:0}.metric:first-child{padding-left:0}.metric:last-child{border:0}.metric span{font-size:10px;color:var(--muted)}.metric b{display:block;font-weight:400;font-size:22px;letter-spacing:-.5px;margin-top:8px}.foot{font-size:10px;color:#a4a4a4;margin:18px 0}fieldset{border:0;margin:0;padding:0;min-width:0}.row{display:flex;gap:15px;justify-content:space-between;align-items:center;margin:13px 0}.row label{font-size:12px}.row input{width:98px;flex-shrink:0}input,select{background:#2c2d33;border:0;color:var(--ink);padding:9px 10px;max-width:100%;min-width:0}input[type=number]{font-variant-numeric:tabular-nums}input[type=checkbox]{accent-color:var(--accent);width:15px;height:15px}input:read-only{color:#a4a4a4}select{width:100%;margin:7px 0 13px}label{font-size:12px;color:#efefef}.group-name{width:100%;margin:8px 0 17px}.check{display:flex;align-items:center;gap:7px;margin:16px 0}.hint{font-size:11px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere;margin:8px 0}.warning,.check-warning{color:var(--danger)}.mode-switch{display:flex;gap:0;margin:10px 0 23px}.mode-switch button{flex:1;font-size:12px}.mode-switch button+button{border-left:0}details{margin:18px 0;padding:14px 0;border:0}summary{font-size:12px;cursor:pointer;color:#c6c6c6}details[open]>summary{margin-bottom:14px}.technical-notes .hint{padding:8px 0}.preset-panel{font-size:12px}.preset-actions{display:flex;gap:7px;flex-wrap:wrap}.preset-actions button{font-size:11px;padding:8px}.collection-summary{font-size:11px;color:var(--muted);margin:15px 0}.action-panel{background:var(--bg);position:sticky;bottom:-28px;padding:16px 0 24px;z-index:4;border:0;margin-top:25px}.refresh-panel{display:flex;align-items:center;gap:10px;margin-bottom:12px}.refresh-panel button{background:none;color:var(--muted);border:0;padding:4px 0;font-size:11px}.refresh-panel [role=status]{font-size:10px;color:var(--muted)}.wizard-footer{display:flex;gap:10px}.wizard-footer button{padding:13px 12px;flex:1;font-size:13px}.wizard-footer .primary{flex:1.5}#engineHint{font-size:10px;color:#a4a4a4;margin-top:10px}#modulePickerBox{padding:12px;border:0;margin-bottom:20px}.module-picker-row{display:grid;grid-template-columns:1fr 65px;gap:10px;align-items:center}.picker-minimap svg{width:65px;height:44px}.catalog{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:15px 0}.catalog label{border:0;padding:8px 3px;text-align:center;font-size:10px;display:flex;flex-direction:column;align-items:center;gap:8px}.catalog input{width:48px;padding:5px}.ratio{display:block;border:0;background:#526fee35}.module-row{display:grid;grid-template-columns:1fr 55px 55px;gap:7px;align-items:center;margin:7px 0;font-size:11px}.module-row input{width:55px;padding:5px}.positions{border:0;padding-left:12px;margin:18px 0}.positions label{display:block}.positions select{margin-bottom:6px}.positions button{margin-bottom:10px}.selection-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin:20px 0 10px}.print-module-row,.print-order-row{display:flex;gap:8px;align-items:center;padding:8px 0;border:0;font-size:11px}.print-module-row span,.print-order-row span{flex:1}.print-order-row button{padding:4px 7px}#plateTabs{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}#plateTabs button{font-size:11px;padding:6px 10px}#plateTabs small{display:block;font-size:9px}#plateBom{font-size:11px;color:var(--muted);margin-bottom:12px}#inventory{font-size:11px;margin-top:20px;padding:16px 0;border:0}#inventory:empty{display:none}#inventory>b{font-weight:500}.bomrow{display:flex;justify-content:space-between;padding:5px 0;color:var(--muted)}.exports{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.exports select{margin:0;grid-column:1/-1}.exports button{font-size:12px}.exports #project3mf{grid-column:1/-1;padding:16px}.exports #config{grid-column:1/-1}.toast{position:fixed;bottom:22px;right:22px;max-width:min(500px,calc(100vw - 44px));padding:16px 22px;background:var(--accent);color:#ffffff;z-index:20;display:none;font-size:13px}.download-ready{margin:14px 0;padding:12px;border:0;font-size:12px;overflow-wrap:anywhere}.download-ready a{color:var(--accent)}.engineering-checks,.step-summary{font-size:11px;line-height:1.85}.engineering-checks div{margin:8px 0}#fitKit,#longFit,#recipe{width:100%;font-size:12px;margin:8px 0}.critical-dimensions{border:0;padding:18px;margin-bottom:23px}.critical-dimensions h3{font-size:17px}.critical-dimensions details{padding:8px 0;margin:10px 0}.critical-dimensions summary{font-size:10px;color:var(--muted)}dl{margin:0}dl>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border:0;font-size:11px}dt{color:var(--muted)}dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.critical-dimensions>p:not(.eyebrow){font-size:11px;margin:12px 0 0}.color-section{border:0;margin-bottom:24px;padding-bottom:16px}.color-row{display:flex;gap:14px;align-items:center;margin:12px 0;font-size:12px}.color-row input{width:42px;height:36px;padding:3px}.color-row span:last-child{font-size:10px;color:var(--muted);margin-left:auto}
/* Model-first entry */
body[data-stage='0'] main{display:block;max-width:1320px;padding:0 4.5vw}body[data-stage='0'] .wizard-nav,body[data-stage='0'] aside,body[data-stage='0'] .workspace{display:none}.model-home{padding:54px 0 32px}.home-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:40px}.home-heading h1{font-size:clamp(36px,4.4vw,64px);line-height:1.3;font-weight:450;letter-spacing:-2px;margin:18px 0 0}.home-heading h1 span{color:#7b91f4}.home-heading>p{font-size:13px;color:var(--muted);margin-bottom:6px;line-height:1.9}.product-choices{display:grid;grid-template-columns:1fr 1fr;gap:24px}.product-choice{display:block;text-align:left;padding:0;background:var(--panel);border:0;color:var(--ink);min-width:0}.product-choice:hover,.product-choice.active{background:var(--panel);color:var(--ink);border-color:var(--accent)}.product-image{position:relative;height:clamp(230px,25vw,335px);border:0;background:#2a2a2a;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain}.model-no{position:absolute;top:18px;left:20px;font-size:9px;letter-spacing:2px;color:#c6c6c6;z-index:1}.selected-mark{position:absolute;right:14px;top:14px;background:var(--accent);color:#ffffff;font-size:10px;padding:4px 8px;display:none}.active .selected-mark{display:block}.product-copy{padding:23px 24px;display:flex;align-items:center;justify-content:space-between}.product-copy b{font-weight:500;font-size:24px;letter-spacing:-.5px}.product-copy p{color:var(--muted);font-size:11px;margin:7px 0 0}.card-arrow{font-size:25px;font-weight:300;color:var(--muted)}.active .card-arrow{color:var(--accent)}.home-bottom{display:flex;justify-content:space-between;align-items:center;margin:26px 0 38px}.home-bottom>p{font-size:12px;margin:0;line-height:1.9}.home-bottom>p span{color:var(--muted);font-size:11px}.home-bottom button{min-width:200px;padding:16px 24px;display:flex;justify-content:space-between;gap:45px}.home-process{border:0;display:grid;grid-template-columns:repeat(4,1fr);padding-top:23px;font-size:11px;color:var(--muted)}.home-process b{font-size:9px;margin-right:15px;font-weight:400;color:#a4a4a4}.home-process span:last-child{text-align:right}
@media(min-width:1600px){main{grid-template-columns:400px 1fr}aside{padding:32px}.workspace{padding:32px 45px}}
@media(max-width:1050px){main{grid-template-columns:320px minmax(0,1fr)}aside{padding:22px 20px}.workspace{padding:22px 20px}.wizard-nav{padding:0 15px}.wizard-nav>div{font-size:10px;padding:18px 5px;gap:4px}.metric b{font-size:17px}.group-minimap{width:106px}.scene-label{max-width:65%}}
@media(max-width:720px){header{height:72px;padding:0 20px}.header-note{display:none}.wordmark{font-size:20px}.badge{font-size:9px}.wizard-nav{overflow-x:auto;position:sticky;top:0;padding:0 15px;scrollbar-width:thin}.wizard-nav>div{flex:0 0 auto;padding:18px 12px;font-size:11px}.wizard-nav>div span{display:none}main{display:flex;flex-direction:column}aside{order:1;position:static;max-height:none;border:0;padding:25px 20px;overflow:visible}.workspace{order:2;padding:0 20px 30px}.wizard-nav{order:0}.viewport{height:370px;min-height:370px}.scene-label{max-width:66%;top:14px;left:14px}.scene-label p{display:none}.group-minimap{width:90px}.group-minimap svg{height:45px}.minimap-heading b{font-size:8px}.action-panel{position:static;padding-bottom:6px}.machine-panel{margin-bottom:22px}.metrics{grid-template-columns:repeat(3,1fr)}.metric{padding:12px 8px}.metric b{font-size:15px}.metric span{font-size:9px}.preview-tools{gap:10px}.exports{grid-template-columns:1fr}.exports select,.exports #project3mf,.exports #config{grid-column:auto}.topline{flex-wrap:wrap}.model-home{padding:36px 0 25px}body[data-stage='0'] main{padding:0 20px}.home-heading{display:block;margin-bottom:26px}.home-heading h1{font-size:39px;letter-spacing:-1.5px}.home-heading>p{display:none}.product-choices{grid-template-columns:1fr;gap:18px}.product-image{height:220px}.product-copy{padding:18px 20px}.product-copy b{font-size:21px}.home-bottom{gap:15px;align-items:stretch;margin:22px 0}.home-bottom button{min-width:150px;padding:14px 17px;gap:20px}.home-bottom>p{font-size:10px;align-self:center}.home-bottom>p span{font-size:9px}.home-process{font-size:9px;gap:5px}.home-process b{display:block;margin-bottom:5px}.home-process span:last-child{text-align:left}#stepProgress{margin-bottom:18px}.critical-dimensions{padding:15px}.workspace>.status-banner{margin-top:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

#engineHint{display:none}.scene-label p{display:none}

#startupMessage{padding:16px;border:0;color:var(--danger)}

.site-footer{display:flex;justify-content:space-between;padding:20px 4vw;border:0;color:var(--muted);font-size:11px}.site-footer a{color:var(--muted);text-decoration:none}

/* 0.12 — solid square surfaces, one document scroll, blue actions. */
:root{--surface:#2a2a2a;--field:#2c2d33;--selected:#2c2d33}
header{height:80px;background:var(--bg);padding-inline:max(28px,4vw)}
.brand{background:none!important}.logo{color:#7b91f4}.wordmark{letter-spacing:1.5px}
button{background:#2c2d33;min-height:38px}button.primary,button.active{background:var(--accent);color:white}
input,select{background:var(--field);border:0;min-height:42px}input:focus,select:focus{outline:2px solid #7b91f4;outline-offset:1px}
input[type=checkbox]{min-height:0;appearance:none;width:16px;height:16px;padding:0;background:#454545;display:inline-grid;place-content:center;flex:none}input[type=checkbox]:checked{background:var(--accent)}input[type=checkbox]:checked:after{content:'';width:8px;height:5px;border-left:1.5px solid white;border-bottom:1.5px solid white;transform:translateY(-1px) rotate(-45deg)}
main{max-width:1680px;grid-template-columns:340px minmax(0,1fr);column-gap:24px;padding:0 32px 32px;align-items:start}
.wizard-nav{padding:8px;gap:6px;background:#2a2a2a;margin-bottom:24px;top:0;overflow:hidden;scrollbar-width:none;min-height:62px}.wizard-nav::-webkit-scrollbar{display:none}
.wizard-nav>div{padding:13px 16px;justify-content:center;background:transparent;min-height:44px;font-size:12px;color:#a4a4a4}.wizard-nav>div.active{background:var(--accent);color:#fff}.wizard-nav>div.complete:not(.active){background:#2c2d33;color:#c6c6c6}.wizard-nav>div span{display:none}
aside{position:static;max-height:none;overflow:visible;padding:24px;background:#2a2a2a;align-self:start;border:0}
.workspace{padding:0;position:sticky;top:86px;align-self:start;min-width:0}
.step-progress{font-size:11px;font-variant-numeric:tabular-nums;color:#a4a4a4;margin-bottom:18px;letter-spacing:1px}
.machine-panel{padding:0;margin-bottom:28px}.machine-panel label span{display:none}#capacity{margin:4px 0 0;font-size:10px;color:#a4a4a4}
h2{font-size:24px;line-height:1.3;margin-bottom:24px}h3{font-size:17px}
.mode-switch{gap:4px;background:#1f1f1f;padding:4px;margin-bottom:22px}.mode-switch button{background:#2c2d33}.mode-switch button.active{background:var(--accent)}
.row{margin:12px 0;min-height:42px;gap:12px}.row label{line-height:1.6;max-width:185px}.row input{width:86px;text-align:right}.group-name{margin-bottom:16px}
label{color:#c6c6c6}.hint{color:#a4a4a4;font-size:11px}.redundant-copy{display:none!important}
.workspace>.status-banner:not(.error):not(.busy){display:none}.workspace>.status-banner.error,.workspace>.status-banner.busy{background:#362a31;padding:14px;margin:0 0 12px;color:#ffbbae}
.topline{min-height:42px;margin-bottom:12px}.topline .eyebrow{font-size:12px;letter-spacing:0;color:#c6c6c6}.topline button{background:#2c2d33}
.viewport{height:clamp(400px,60vh,740px);min-height:400px;background:#2a2a2a}.viewport-help{color:#a4a4a4;font-size:10px}
.group-minimap{background:#1f1f1fcc;padding:10px;width:104px;top:16px;right:16px}.group-minimap svg{height:48px}.minimap-heading{display:none}
.preview-tools{background:#2a2a2a;padding:12px 16px;gap:18px;margin:12px 0}.preview-tools select{min-height:26px;background:#2c2d33}.preview-tools label{color:#c6c6c6}
.metrics{gap:8px;margin-top:12px}.metric,.metric:first-child{background:#2a2a2a;padding:15px 16px}.metric span{font-size:10px;color:#a4a4a4}.metric b{font-size:19px;line-height:1.4;color:#efefef;letter-spacing:0;margin-top:7px}
details{padding:14px;background:#2a2a2a;margin:14px 0}summary{list-style:none;display:flex;align-items:center;gap:10px;color:#c6c6c6;font-size:11px}summary::-webkit-details-marker{display:none}summary:before{content:'';width:6px;height:6px;border-right:1.5px solid #a4a4a4;border-bottom:1.5px solid #a4a4a4;transform:rotate(-45deg);flex:none}details[open]>summary:before{transform:rotate(45deg)}
.action-panel{position:static;background:transparent;padding:20px 0 0;margin-top:22px}.refresh-panel{margin:0 0 12px}.refresh-panel [role=status]{display:none}.refresh-panel button{color:#a4a4a4}.wizard-footer button{display:flex;align-items:center;justify-content:center;gap:16px;min-height:48px}.wizard-footer .primary{justify-content:space-between}
.preset-panel{margin-top:22px}.preset-actions button{background:#454545}.technical-notes{background:#2a2a2a}.technical-notes .hint{margin:0;padding:0}
#modulePickerBox,.catalog label{background:#2c2d33}.catalog{gap:6px}.positions{background:#2a2a2a;padding:12px}.print-module-row,.print-order-row{background:#2c2d33;margin-bottom:5px;padding:10px}.print-order-row button{background:#454545}
#inventory{background:#2a2a2a;padding:16px}.exports{background:#2a2a2a;padding:16px}.exports button{display:flex;align-items:center;justify-content:space-between;gap:10px}#plateTabs button{background:#2c2d33}#plateTabs button.active{background:var(--accent)}
.critical-dimensions{background:#2c2d33;padding:18px}.critical-dimensions .eyebrow{display:none}.critical-dimensions details{background:#2a2a2a}dl>div{gap:16px;padding:8px 0}dl>div:nth-child(2n){background:#2c2d33}.color-section{padding:0;margin-bottom:20px}.toast{background:var(--accent);color:#fff}
body[data-stage='0'] main{max-width:1360px;padding:0 40px}.model-home{padding:50px 0 42px}.home-heading{margin-bottom:36px}.home-heading h1{font-size:clamp(38px,4.4vw,64px);line-height:1.22;letter-spacing:-1.8px;margin:0}.home-heading h1 span{color:#7b91f4}
.product-choices{gap:20px}.product-choice,.product-choice:hover,.product-choice.active{background:#2a2a2a;border:0}.product-image{background:#2a2a2a;height:clamp(220px,23vw,320px)}.product-choice.active .product-image{background:#2c2d33}.product-copy{background:#2a2a2a;padding:24px}.product-choice.active .product-copy{background:#454545}.product-copy p{color:#c6c6c6;font-size:11px;margin-top:7px}.product-choice.active .product-copy p{color:#c6c6c6}.product-copy b{font-size:23px}.model-no{color:#a4a4a4;font-size:9px}.selected-mark{background:var(--accent);color:#fff;padding:5px 10px;font-size:10px}
.card-arrow{display:flex;width:36px;height:36px;align-items:center;justify-content:center;background:#2c2d33;color:#c6c6c6}.active .card-arrow{background:#526fee;color:white}.card-arrow .ui-icon{width:22px;height:22px}
.home-bottom{margin:24px 0 0}.home-bottom>p{color:#a4a4a4;font-size:12px}.home-bottom button{min-height:54px;min-width:210px;padding:16px 20px;align-items:center}
.ui-icon{width:18px;height:18px;display:inline-block;flex-shrink:0;vertical-align:middle;pointer-events:none}button>.ui-icon,a>.ui-icon{margin-left:8px}
.site-footer{background:transparent;max-width:1680px;margin:auto;padding:22px 40px;color:#454545;font-size:10px}.site-footer a{color:#a4a4a4}.site-footer .ui-icon{width:12px;height:12px}
@media(min-width:1600px){main{grid-template-columns:370px minmax(0,1fr)}aside{padding:28px}.workspace{padding:0}}
@media(max-width:1050px){main{grid-template-columns:300px minmax(0,1fr);padding:0 20px 24px;gap:16px}.wizard-nav{margin-bottom:0}.wizard-nav>div{padding:12px 8px;font-size:11px}aside{padding:20px}.workspace{padding:0;top:80px}.metric,.metric:first-child{padding:12px}.metric b{font-size:15px}.preview-tools{gap:10px}.viewport{height:440px;min-height:360px}}
@media(max-width:720px){header{height:72px;padding:0 20px}main{padding:0 16px 24px;gap:16px}.wizard-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px;position:static;overflow:visible;width:100%;min-height:0;margin:0}.wizard-nav>div{min-width:0;padding:10px 4px;font-size:10px;min-height:36px;white-space:normal}.wizard-nav>div:first-child{display:none}.wizard-nav>div{grid-column:auto}.wizard-nav{grid-template-columns:repeat(3,minmax(0,1fr))}aside{padding:22px;width:100%;max-height:none;overflow:visible}.workspace{position:static;width:100%;padding:0}.viewport{height:360px;min-height:360px}.metrics{gap:6px}.metric,.metric:first-child{padding:12px 10px}.metric b{font-size:14px}.metric span{font-size:9px}.preview-tools{gap:12px;padding:12px}.group-minimap{width:82px;top:12px;right:12px}.group-minimap svg{height:36px}.action-panel{padding-top:14px}.home-heading{margin-bottom:28px}.home-heading h1{font-size:40px}.model-home{padding:30px 0}body[data-stage='0'] main{padding:0 20px}.product-choices{gap:16px}.product-image{height:220px}.product-copy{padding:20px}.product-copy b{font-size:22px}.home-bottom{gap:16px;align-items:center;margin-top:22px}.home-bottom button{min-width:160px;gap:16px;padding:14px 16px}.home-bottom>p{font-size:10px;max-width:125px;line-height:1.7}.site-footer{padding:20px;font-size:9px}.exports{grid-template-columns:1fr}}

.refresh-panel{display:none}.refresh-panel:has([data-state="error"]){display:flex}#refreshModel{background:transparent;color:#c6c6c6;min-height:0;padding:4px 0}.product-image,.product-choice.active .product-image{background:#2a2a2a}.home-bottom button>span{display:flex}

#planSummary{display:none}.technical-notes .hint+.hint{margin-top:12px}

.positions:empty{display:none}@media(max-width:720px){.viewport-help{display:none}}

/* 0.12.1 — fine closed contours; no section or row separator rules. */
:root{--border-quiet:#2c2d33;--border-surface:#454545;--border-control:#454545;--border-active:#7b91f4}
aside,.wizard-nav{border:1px solid var(--border-quiet)}
.viewport,.preview-tools,.metric,.metric:first-child,.metric:last-child,details,.critical-dimensions,.exports,#inventory:not(:empty),#modulePickerBox,.catalog label,.positions:not(:empty),.group-minimap{border:1px solid var(--border-surface)}
input,select,button:where(:not(.brand):not(#refreshModel)),.mode-switch button,.mode-switch button+button{border:1px solid var(--border-control)}
button.primary,button.active,.mode-switch button.active,#plateTabs button.active{border-color:var(--border-active)}
button:where(:not(.brand):not(#refreshModel)):hover{border-color:#a4a4a4}
input:hover,select:hover{border-color:#a4a4a4}
input[type=checkbox]{border-color:#454545}input[type=checkbox]:checked{border-color:var(--border-active)}
.product-choice,.product-choice:hover{border:1px solid #454545}.product-choice.active,.product-choice.active:hover{border:1px solid #7b91f4}
.product-choice:hover{border-color:#a4a4a4}
.card-arrow,.selected-mark{border:1px solid #454545}.active .card-arrow,.active .selected-mark{border-color:#7b91f4}
.wizard-nav>div{border:1px solid transparent}.wizard-nav>div.active{border-color:var(--border-active)}.wizard-nav>div.complete:not(.active){border-color:#454545}
.print-module-row,.print-order-row{border:1px solid var(--border-surface)}
/* Nested content stays uninterrupted; only each whole card has a contour. */
header,.site-footer,.machine-panel,.topline,.metrics,.product-image,.product-copy,.home-bottom,.action-panel,.color-section,dl>div{border:0}
.brand,#refreshModel{border:0}

/* Numbered workflow and compact in-step groups. */
.wizard-nav{gap:8px;padding:10px}.wizard-nav>div{justify-content:flex-start;gap:12px;padding:8px;background:#2a2a2a;min-width:0}.wizard-nav>div .step-number{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;background:#2c2d33;border:1px solid #454545;font-size:25px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1;color:#c6c6c6}.wizard-nav>div .step-name{display:block;font-size:12px;white-space:nowrap}.wizard-nav>div.active{background:#2c2d33;border-color:#a4a4a4}.wizard-nav>div.active .step-number{background:#526fee;border-color:#7b91f4;color:#fff}.wizard-nav>div.complete:not(.active){background:#2c2d33}.wizard-nav>div.complete:not(.active) .step-number{background:#454545;color:#efefef}
.substep{display:flex;align-items:center;gap:10px;margin:28px 0 16px;font-size:14px;font-weight:500;line-height:1.4;color:#efefef}.substep>span{display:grid;place-items:center;min-width:43px;height:34px;padding:0 5px;background:#2c2d33;border:1px solid #454545;color:#c6c6c6;font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:.5px}.machine-panel>.substep{margin-top:0}.machine-panel>label{display:none}aside fieldset>h2{display:none}.step-progress{font-size:20px;letter-spacing:0;color:#efefef;margin-bottom:24px}#modulePickerBox>.substep{margin-top:0}#modulePickerBox{padding:14px}.home-step{display:flex;gap:14px;align-items:center;margin-bottom:26px;color:#c6c6c6;font-size:14px}.home-step b{display:grid;place-items:center;width:48px;height:48px;background:#526fee;border:1px solid #7b91f4;color:#fff;font-size:29px;font-weight:500}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1050px){.wizard-nav{gap:5px;padding:7px}.wizard-nav>div{gap:7px;padding:6px}.wizard-nav>div .step-number{width:35px;height:35px;flex-basis:35px;font-size:22px}.wizard-nav>div .step-name{font-size:10px}}
@media(max-width:720px){.wizard-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.wizard-nav>div:first-child{display:flex}.wizard-nav>div{padding:6px;gap:7px;min-height:48px}.wizard-nav>div .step-number{width:32px;height:32px;flex-basis:32px;font-size:21px}.wizard-nav>div .step-name{display:block;font-size:10px;white-space:normal}.home-step{margin-bottom:20px}.home-step b{width:40px;height:40px;font-size:25px}.substep{margin-top:24px}}

.wizard-nav>div.active:after,.wizard-nav>div.complete:after{content:none}

/* 0.13.1 — reference palette and consistent control geometry. */
:root{--bg:#1f1f1f;--panel:#2a2a2a;--surface:#2a2a2a;--field:#303030;--selected:#2c2d33;--line:#454545;--ink:#efefef;--muted:#a4a4a4;--accent:#526fee;--border-quiet:#454545;--border-surface:#454545;--border-control:#555555;--border-active:#7b91f4}
header,body,.action-panel{background:var(--bg)}aside,.wizard-nav,.preview-tools,.metric,.metric:first-child,.metric:last-child,.exports,#inventory{background:var(--panel)}
button{background:#333333}button:hover{background:#3a3a3a}button.primary,button.active,.mode-switch button.active,#plateTabs button.active{background:var(--accent);border-color:var(--border-active)}button.primary:hover{background:#637df1}
input,select{background:var(--field);color:var(--ink);border:1px solid var(--border-control);min-height:42px;padding:9px 12px;line-height:22px;font-size:14px}input:hover,select:hover{border-color:#888989}input:focus,select:focus{outline:1px solid var(--accent);outline-offset:2px}label,.row label{font-size:13px;line-height:1.5;color:#dedede}input[type=number]{font-variant-numeric:tabular-nums;font-feature-settings:'tnum';appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}
.row{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:16px;align-items:center;margin:12px 0;min-height:42px}.row label{max-width:none;min-width:0;overflow-wrap:anywhere;margin:0}.row input{display:block;width:100%;height:42px;min-width:0;max-width:100%;margin:0;text-align:right}.row label small{font-size:11px;color:var(--muted)}
.group-name{display:block;margin:8px 0 20px;width:100%;min-height:42px}aside,fieldset,.machine-panel,.active-module{min-width:0}aside{padding:24px}aside input,aside select{max-width:100%}.machine-panel select{margin:0 0 8px}.mode-switch{background:var(--bg);padding:4px;gap:4px}.mode-switch button{background:#333333;min-height:42px;font-size:13px;line-height:1.4;padding:9px 8px}
.wizard-nav{padding:8px;gap:8px;min-height:0}.wizard-nav>div{display:flex;justify-content:flex-start;align-items:center;min-height:58px;gap:10px;padding:10px;background:var(--panel);border:1px solid transparent}.wizard-nav>div .step-number{width:34px;height:34px;flex:0 0 34px;font-size:22px;font-weight:550;background:#353535;color:#d7d7d7;border:1px solid #555555;line-height:1}.wizard-nav>div .step-name{font-size:15px;line-height:1.4;font-weight:500;color:#bdbdbd;white-space:nowrap}.wizard-nav>div .step-name::after{content:none!important}.wizard-nav>div.active{background:var(--selected);border-color:var(--border-active)}.wizard-nav>div.active .step-number{background:var(--accent);border-color:var(--border-active);color:#fff}.wizard-nav>div.active .step-name{color:#fff}.wizard-nav>div.complete:not(.active){background:#303030;border-color:var(--border-surface)}.wizard-nav>div.complete:not(.active) .step-number{background:#3a3a3a;color:#efefef;border-color:#606060}
.substep{font-size:15px;line-height:1.5;gap:10px;margin:26px 0 16px;color:var(--ink)}.substep>span{min-width:42px;height:30px;font-size:12px;line-height:1;background:var(--selected);color:#d7d7d7;border-color:#606060;letter-spacing:0}.step-progress{font-size:19px;line-height:1.45;margin-bottom:22px}.home-step{font-size:16px;gap:12px;color:#dedede}.home-step b{width:38px;height:38px;font-size:24px;background:var(--accent)}
.product-choice,.product-choice:hover,.product-choice.active{background:var(--panel);border:1px solid var(--border-surface)}.product-choice.active{border-color:var(--border-active)}.product-copy,.product-choice.active .product-copy{background:var(--panel)}.product-choice.active .product-copy{background:var(--selected)}.product-image,.product-choice.active .product-image,.viewport{background:var(--panel)}.product-copy p,.product-choice.active .product-copy p{color:var(--muted);font-size:12px}.home-heading h1 span{color:#adadad}.card-arrow{background:#353535;color:#d7d7d7;border-color:#555555}.active .card-arrow,.active .selected-mark{background:var(--accent);border-color:var(--border-active)}
.technical-notes,details,#modulePickerBox,.catalog label,.positions,.print-module-row,.print-order-row,.critical-dimensions{background:var(--selected)}.critical-dimensions details{background:var(--panel)}dl>div:nth-child(2n){background:transparent}.group-minimap{background:#2a2a2af0}.preview-tools select{background:#333333}.metric b{color:var(--ink)}.metric span,.preview-tools label,.home-bottom>p,.site-footer,#capacity{color:var(--muted)}.print-order-row button,.preset-actions button,#plateTabs button{background:#383838}.site-footer a{color:var(--muted)}.home-bottom>p{font-size:12px}
@media(min-width:1600px){aside{padding:28px}.row{grid-template-columns:minmax(0,1fr) 104px}}
@media(min-width:721px) and (max-width:1150px){.wizard-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.wizard-nav>div .step-name{font-size:14px}.wizard-nav>div{padding:8px;min-height:54px}.wizard-nav>div .step-number{width:32px;height:32px;flex-basis:32px;font-size:21px}}
@media(max-width:720px){aside{padding:20px}.wizard-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:6px;gap:5px}.wizard-nav>div{gap:7px;padding:7px;min-height:54px}.wizard-nav>div .step-number{width:28px;height:28px;flex-basis:28px;font-size:19px}.wizard-nav>div .step-name{font-size:12px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.row{grid-template-columns:minmax(0,1fr) 96px;gap:12px}.home-step{font-size:15px}.home-step b{width:34px;height:34px;font-size:22px}.substep{font-size:15px}.metric b{font-size:14px}.metric span{font-size:10px}}

.action-panel{background:transparent}.machine-panel{margin-bottom:20px}.machine-panel+.active-module,.machine-panel+fieldset>.substep:first-of-type{margin-top:22px}

/* Private projects use the same square surface and spacing system. */
.account-nav{display:flex;gap:10px;align-items:center}.account-nav button,.account-nav a{font-size:13px;min-height:40px;padding:9px 14px;line-height:20px}.account-nav a{color:var(--ink);text-decoration:none;border:1px solid var(--border-control);background:#333;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#cloudProjects{width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:24px;background:var(--panel);color:var(--ink);border:1px solid #606060;overflow:auto;scrollbar-width:thin}#cloudProjects::backdrop{background:#0009}.cloud-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.cloud-heading h2{margin:0;font-size:23px}.cloud-heading button{padding:8px;min-height:36px;display:grid;place-items:center}.cloud-heading .ui-icon{margin:0}#cloudForm label{display:block;margin-bottom:8px}#cloudTitle{width:100%;margin:0}.cloud-save-actions{display:flex;gap:8px;margin-top:12px}.cloud-save-actions button{font-size:13px;min-height:42px}.cloud-save-actions .primary{flex:1}#cloudList{display:grid;gap:10px;margin-top:24px}.cloud-project{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;background:var(--selected);border:1px solid var(--border-surface);min-width:0}.cloud-project.current{border-color:var(--border-active)}.cloud-project>div:first-child{min-width:0}.cloud-project b{display:block;font-size:14px;font-weight:500;overflow-wrap:anywhere}.cloud-project span{display:block;color:var(--muted);font-size:11px;margin-top:6px}.cloud-project-actions{display:flex;gap:6px;flex:none}.cloud-project-actions button{font-size:12px;padding:7px 10px;min-height:36px}#cloudStatus{min-height:18px;font-size:12px;color:var(--muted);margin:18px 0 0}#cloudStatus.error{color:var(--danger)}#cloudEmpty,#cloudGuest p{font-size:13px;color:var(--muted)}.cloud-login{display:inline-block;background:var(--accent);border:1px solid var(--border-active);color:white;text-decoration:none;font-size:14px;padding:10px 18px}
@media(max-width:720px){.account-nav{gap:6px}.account-nav button,.account-nav a{font-size:12px;min-height:36px;padding:7px 9px}.account-nav a{max-width:110px}#cloudProjects{padding:20px}.cloud-project{align-items:flex-start;flex-direction:column;gap:12px}.cloud-project-actions{align-self:flex-end}.cloud-save-actions button{padding:9px;font-size:12px}}

#cloudConfirmation{background:var(--selected);border:1px solid var(--border-active);padding:16px;margin-bottom:20px}#cloudConfirmText{font-size:14px;line-height:1.7;margin:0;overflow-wrap:anywhere}

/* GPU preview transforms only: exported product meshes remain unchanged. */
.product-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity .25s}.product-image.preview-ready .product-canvas{opacity:1}.product-image.preview-ready img{visibility:hidden}.product-image .selected-mark{z-index:2}
@media(prefers-reduced-motion:reduce){.product-canvas{transition:none}}

/* Viewport-based home composition. Shared corner insets; fluid central stage. */
.brand-symbol{display:block;width:40px;height:44px;flex:none;position:relative;overflow:hidden}.brand-mark{position:absolute;width:53px;height:53px;max-width:none;left:-6px;top:-4px}.brand{gap:12px}.wordmark{font-weight:650;letter-spacing:1px}
body[data-stage="0"]{--page-edge:clamp(22px,3vw,72px);--header-height:clamp(72px,9svh,108px);--footer-height:clamp(48px,6svh,72px);min-height:100svh;display:grid;grid-template-rows:var(--header-height) minmax(0,1fr) var(--footer-height)}
body[data-stage="0"]>header{height:var(--header-height);padding:0 var(--page-edge);width:100%}
body[data-stage="0"] .brand-symbol{width:clamp(34px,2.1vw,44px);height:clamp(38px,2.3vw,48px)}body[data-stage="0"] .brand-mark{width:132.5%;height:auto;left:-15%;top:-9%}body[data-stage="0"] .wordmark{font-size:clamp(23px,1.4vw,32px)}
body[data-stage="0"] .account-nav{gap:10px}body[data-stage="0"] .account-nav>*{min-height:42px;display:flex;align-items:center;justify-content:center;font-size:clamp(12px,.85vw,15px);padding:10px 16px}
body[data-stage="0"]>main{display:flex;align-items:center;justify-content:center;width:100%;max-width:none;margin:0;min-height:calc(100svh - var(--header-height) - var(--footer-height));padding:clamp(16px,2.2svh,32px) var(--page-edge)}
body[data-stage="0"] .model-home{width:min(100%,82vw,2400px);min-width:0;padding:0;margin:0}
body[data-stage="0"] .home-heading{margin-bottom:clamp(22px,3svh,42px)}body[data-stage="0"] .home-heading h1{font-size:clamp(40px,min(4.8vw,5.6svh),82px);line-height:1.16;letter-spacing:-.035em}
body[data-stage="0"] .home-step{font-size:clamp(15px,1vw,20px);margin-bottom:clamp(16px,2svh,26px);gap:12px}body[data-stage="0"] .home-step b{width:clamp(34px,2.2vw,44px);height:clamp(34px,2.2vw,44px);font-size:clamp(22px,1.4vw,28px)}
body[data-stage="0"] .product-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,1.5vw,32px)}body[data-stage="0"] .product-image{height:clamp(220px,32svh,520px)}
body[data-stage="0"] .product-copy{padding:clamp(18px,1.4vw,30px);min-height:84px;gap:12px}body[data-stage="0"] .product-copy b{font-size:clamp(21px,1.5vw,30px)}body[data-stage="0"] .product-copy p{font-size:clamp(11px,.8vw,15px)}body[data-stage="0"] .card-arrow{width:38px;height:38px;flex:none;display:grid;place-items:center}
body[data-stage="0"] .home-bottom{margin:clamp(20px,2.4svh,32px) 0 0;gap:20px}body[data-stage="0"] .home-bottom>p{font-size:clamp(12px,.85vw,15px)}body[data-stage="0"] .home-bottom button{min-height:54px;min-width:clamp(200px,15vw,280px);font-size:clamp(14px,.9vw,17px)}
body[data-stage="0"]>.site-footer{width:100%;max-width:none;height:var(--footer-height);margin:0;padding:0 var(--page-edge);align-items:center;font-size:clamp(10px,.7vw,13px)}
@media(max-width:900px){body[data-stage="0"] .model-home{width:100%}body[data-stage="0"] .product-copy{padding:16px}body[data-stage="0"] .product-copy b{font-size:20px}body[data-stage="0"] .product-copy p{font-size:11px}.brand-symbol{width:34px;height:38px}.brand-mark{width:45px;height:45px;left:-5px;top:-3px}}
@media(max-width:620px){body[data-stage="0"]{--page-edge:20px;--header-height:76px;--footer-height:60px}body[data-stage="0"]>main{padding-block:28px;align-items:flex-start}body[data-stage="0"] .brand{gap:9px}body[data-stage="0"] .brand-symbol{width:30px;height:34px}body[data-stage="0"] .wordmark{font-size:20px}body[data-stage="0"] .account-nav{gap:6px}body[data-stage="0"] .account-nav>*{font-size:11px;padding:8px 10px;min-height:38px}body[data-stage="0"] .home-heading{margin-bottom:24px}body[data-stage="0"] .home-heading h1{font-size:clamp(35px,7.4vw,46px)}body[data-stage="0"] .product-choices{grid-template-columns:1fr;gap:16px}body[data-stage="0"] .product-image{height:240px}body[data-stage="0"] .product-copy{padding:18px;min-height:86px}body[data-stage="0"] .home-bottom{gap:14px;align-items:center;margin-top:24px}body[data-stage="0"] .home-bottom>p{font-size:11px;max-width:130px}body[data-stage="0"] .home-bottom button{min-width:150px;padding:14px 16px;gap:20px}}
@media(max-width:360px){body[data-stage="0"]{--page-edge:16px}body[data-stage="0"] .account-nav>*{padding-inline:8px;font-size:10px}body[data-stage="0"] .wordmark{font-size:18px}body[data-stage="0"] .home-bottom{flex-direction:column;align-items:stretch}body[data-stage="0"] .home-bottom>p{max-width:none}body[data-stage="0"] .home-bottom button{width:100%}}

body[data-stage="0"]>main{padding-bottom:calc(clamp(16px,2.2svh,32px) + var(--header-height) - var(--footer-height))}body[data-stage="0"] .product-copy>div{min-width:0}body[data-stage="0"] .product-copy b{display:block}body[data-stage="0"] .product-copy p{line-height:1.5}
@media(min-width:621px) and (max-width:900px){body[data-stage="0"] .product-copy{padding:14px;min-height:100px;gap:10px}body[data-stage="0"] .product-copy b{font-size:18px}body[data-stage="0"] .card-arrow{width:32px;height:32px}}
@media(min-width:621px) and (max-height:780px){body[data-stage="0"] .product-image{height:220px}body[data-stage="0"] .home-heading h1{font-size:40px}body[data-stage="0"] .home-heading{margin-bottom:20px}body[data-stage="0"] .home-step{margin-bottom:16px}body[data-stage="0"] .product-copy{padding-block:16px;min-height:80px}}
@media(max-width:620px){body[data-stage="0"]>main{padding-bottom:28px}}

body[data-stage="0"]{--corner-control:clamp(42px,2.4vw,52px)}body[data-stage="0"] .brand{height:var(--corner-control)}body[data-stage="0"] .wordmark{line-height:1.2}body[data-stage="0"] .account-nav>*{height:var(--corner-control);min-height:var(--corner-control);line-height:1.2}body[data-stage="0"] .product-choice{text-decoration:none}
@media(max-width:620px){body[data-stage="0"]{--corner-control:38px}}

body[data-stage="0"] .home-bottom>p{max-width:none;white-space:nowrap}
@media(min-width:621px) and (max-height:780px){body[data-stage="0"] .product-image{height:208px}}

/* Model names replace explanatory card copy. */
body[data-stage="0"] .product-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:12px;row-gap:6px;align-content:center}body[data-stage="0"] .product-copy>div{display:contents}body[data-stage="0"] .product-copy b{grid-column:1;grid-row:1}body[data-stage="0"] .product-copy .product-name-en{grid-column:1/-1;grid-row:2;margin:0;font-size:clamp(10px,.75vw,13px);line-height:1.4;letter-spacing:.05em;font-weight:400;white-space:nowrap}body[data-stage="0"] .product-copy .card-arrow{grid-column:2;grid-row:1;align-self:center}

/* Home selection has one entry action and a larger bottom-aligned tagline. */
body[data-stage="0"] .product-copy{grid-template-columns:minmax(0,1fr)}
body[data-stage="0"] .home-bottom{align-items:flex-end;gap:24px}
body[data-stage="0"] .home-bottom>p{font-size:clamp(14px,1.1vw,20px);line-height:1.25;white-space:normal;max-width:none;margin:0;align-self:flex-end}
body[data-stage="0"] .home-bottom>p span{display:inline-block;white-space:nowrap;font:inherit;color:inherit}
@media(max-width:620px){body[data-stage="0"] .home-bottom{flex-direction:row;align-items:flex-end;gap:16px}body[data-stage="0"] .home-bottom>p{flex:1;min-width:0}body[data-stage="0"] .home-bottom button{flex:0 0 140px;min-width:140px;width:140px;padding-inline:16px;gap:20px}}

/* Four product cards keep readable model proportions. */
@media(min-width:621px){body[data-stage="0"] .product-choices{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-stage="0"] .product-image{height:clamp(240px,34svh,420px)}}


/* Rounded-handle product keeps the approved square design system. */
.product-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.product-choice{text-decoration:none}.product-image{height:clamp(200px,22vw,295px)}.product-copy{padding:20px}.product-copy b{font-size:22px}
.rounded-main{max-width:1800px;grid-template-columns:350px minmax(0,1fr);padding:0 32px;column-gap:24px}.rounded-main aside{position:static;overflow:visible;max-height:none;padding:24px}.rounded-main .workspace{padding:24px 0}.rounded-main .action-panel{position:static;padding-bottom:0}.rounded-steps{grid-column:1/-1;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:8px;background:var(--panel);border:1px solid var(--border-surface);margin-bottom:24px}.rounded-step{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px;border:1px solid transparent;text-decoration:none;color:var(--muted);background:var(--panel)}.rounded-step .step-number{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;font-size:22px;background:#353535;border:1px solid #555}.rounded-step .step-name{font-size:15px;color:#bdbdbd}.rounded-step.active{background:var(--selected);border-color:var(--border-active)}.rounded-step.active .step-number{background:var(--accent);color:#fff;border-color:var(--border-active)}.rounded-step.active .step-name{color:white}.rounded-step.complete{border-color:var(--border-surface)}.rounded-main .viewport{height:clamp(450px,60vh,750px)}.rounded-main .metric{padding:16px}.rounded-main .metric b{font-size:19px}.rounded-main .metrics{gap:8px}.rounded-main .critical-dimensions{padding:16px}.rounded-main details{padding:14px}.rounded-main .color-row{justify-content:space-between}.rounded-main .row{grid-template-columns:minmax(0,1fr) 96px}.rounded-main #builtInPreset{margin-bottom:8px}.rounded-main #applyBuiltIn{width:100%;border:1px solid var(--border-control)}.rounded-warning{margin-top:16px;padding:16px;color:var(--danger);background:var(--selected);border:1px solid var(--border-surface);font-size:13px;line-height:1.75;overflow-wrap:anywhere}.rounded-main .viewtabs{margin-bottom:12px;flex-wrap:wrap}.rounded-main .viewtabs button{border:1px solid var(--border-control)}.rounded-main .exports{padding:12px}.rounded-main .critical-dimensions dl>div{padding:8px 0;gap:16px;font-size:12px}.rounded-main .critical-dimensions dd{max-width:65%;overflow-wrap:anywhere}.rounded-main .preset-actions button{border:1px solid var(--border-control);min-height:36px}.rounded-main #presetSelect:empty{display:none}
@media(max-width:1150px){.rounded-main{grid-template-columns:310px minmax(0,1fr);padding:0 20px;column-gap:20px}.product-copy{padding:17px}.product-copy b{font-size:20px}.rounded-main .metric b{font-size:15px}.rounded-step{gap:7px;padding:7px}.rounded-step .step-name{font-size:13px}}
@media(max-width:720px){.product-choices{grid-template-columns:1fr}.product-image{height:220px}.rounded-main{display:flex;flex-direction:column;padding:0 16px;gap:16px}.rounded-steps{order:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:6px}.rounded-step{min-height:52px}.rounded-step .step-number{width:28px;height:28px;flex-basis:28px;font-size:19px}.rounded-step .step-name{font-size:12px;white-space:normal}.rounded-main aside{order:1;padding:20px;width:100%}.rounded-main .workspace{order:2;padding:0 0 24px;width:100%}.rounded-main .viewport{height:380px;min-height:380px}.rounded-main .metric{padding:12px 9px}.rounded-main .metric b{font-size:12px;letter-spacing:0}.rounded-main .metric span{font-size:9px}.rounded-main .preview-tools{padding:10px}.rounded-main .exports{grid-template-columns:1fr}.rounded-main .viewtabs button{flex:1;padding:7px}.rounded-main .critical-dimensions dl>div{font-size:11px}.rounded-main .account-nav{gap:6px}}

.rounded-main [data-divider-mode]{width:100%;margin:8px 0 12px}.rounded-main #dividerFitKit{width:100%;margin-top:16px}

@media(max-width:720px){.rounded-main .rounded-steps{width:100%;box-sizing:border-box}}

.open-stack .rounded-steps{grid-template-columns:repeat(5,minmax(0,1fr))}.open-stack #criticalDimensions{border:1px solid var(--border-surface);padding:16px}.open-stack .viewtabs button{min-height:40px}@media(max-width:720px){.open-stack .rounded-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
