/* Stable configurator: one settings scroller, no overlapping sticky controls. */
html{scroll-behavior:auto;overflow-anchor:none}.studio{overflow:hidden;isolation:isolate;scroll-margin-top:10px;overflow-anchor:none}.workspace{height:760px;height:clamp(640px,82svh,900px);min-height:0;align-items:stretch;grid-template-columns:minmax(0,1.15fr) minmax(390px,1fr)}
.steps{position:relative;top:auto;z-index:1;padding:8px;background:#f8faf5}.steps button{min-height:48px;font-size:12px;white-space:nowrap;flex:1 0 auto;padding:10px 13px}.steps i{flex-shrink:0}.steps button.active{background:#243c30;color:#fff}
.preview{position:relative!important;top:auto!important;align-self:stretch;display:flex;flex-direction:column;min-height:0;background:#e9ede7;border-bottom:0;box-shadow:none!important;overflow:hidden}.preview-top{padding:14px 18px 6px;min-height:42px}.quality-bar{padding:0 18px 10px;display:flex;align-items:center;gap:8px}.quality-bar small{display:none}.quality-bar label{white-space:nowrap}.quality-bar select{min-height:32px;font-size:11px}.preview #grip3d{flex:1;height:auto;min-height:150px;width:100%;touch-action:none}.preview .hint{font-size:10px;margin:6px 12px}.preview .hint:last-child{display:none}.measurements{margin:6px 18px 14px;display:flex;flex-wrap:wrap;padding-top:9px;justify-content:space-between}.measurements small{font-size:8px}.measurements strong{font-size:14px}.camera-tools{padding:9px 18px;font-size:10px}.view-controls{padding:0 16px 4px;flex-wrap:nowrap;gap:6px}.segmented button{min-height:34px;font-size:10px;padding:6px 9px}.zoom button{min-width:32px;min-height:34px;padding:6px 10px}.zones{padding:7px 16px;flex-shrink:0}.zones button{font-size:11px;min-height:38px}.editor{padding:0;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#fafbf7}.editor #panel{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;overflow-anchor:none;padding:26px;scrollbar-width:thin;scrollbar-color:#becbbc transparent;scroll-behavior:auto}.editor h2{font-size:29px;margin-top:9px}.editor>.editor-footer{position:relative;bottom:auto;flex-shrink:0;margin:0;padding:14px 24px;background:#fff;border-top:1px solid #dce3d6;box-shadow:0 -5px 20px #1d362b06;display:flex;z-index:1;align-items:center}.editor-footer .paging{margin:0}.paging .primary{min-width:130px;max-width:205px}.editor-footer small{font-size:9px}#price{font-size:27px}#error:empty{display:none}#error:not(:empty){padding:12px 24px;margin:0;max-height:100px;overflow:auto;background:#fff0e7;font-size:12px;color:#8a3e20}.editor input,.editor button,.editor select,.editor summary{scroll-margin:12px}.editor details{border:1px solid #d3ddcf;border-radius:13px;padding:0 15px;margin:18px 0;background:#f2f5ee}.editor details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;line-height:1.45;font-weight:600;padding:16px 0;min-height:54px;cursor:pointer;user-select:none}.editor details>summary::-webkit-details-marker{display:none}.editor details>summary:after{content:'+';font:22px/1 system-ui;color:#647a5f;flex-shrink:0}.editor details[open]>summary:after{content:'−'}.editor details[open]>summary{border-bottom:1px solid #d9e1d4;margin-bottom:16px}.editor details[open]{padding-bottom:16px}.editor summary:focus-visible{outline:2px solid #6d895f;outline-offset:4px;border-radius:5px}.editor .recess-controls{padding:0 15px}.editor .choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.editor .choices button{padding:11px 8px;font-size:12px;min-height:64px}.editor .choices button small{font-size:10px}.editor .field{margin:20px 0}.labelrow{align-items:center;gap:12px}.labelrow label{line-height:1.4}.editor .row:has(>.field){grid-template-columns:1fr}.editor .row>.field{margin:12px 0}.editor .fine-controls{padding:0 15px}.quick-start{padding:16px;margin:18px 0}.quick-looks button{padding:13px}.quick-looks strong{font-size:13px}.quick-looks small{font-size:11px}.quick-looks .caption{font-size:12px}.quick-presets{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 20px}.quick-presets button{flex:1;min-width:90px;font-size:12px;padding:10px;min-height:44px}.quick-presets button[aria-pressed=true]{background:#dcebd2;border-color:#91a581}.section-reset{border-top:1px solid #dce3d6;margin-top:26px;padding-top:16px}.section-reset button{font-size:11px;background:transparent;color:#687963;min-height:40px}.shape-silhouette{height:33px;width:100%;display:block;fill:#d1deca;stroke:#536a4b;stroke-width:1.5;margin-bottom:8px}.shape-silhouette .bore{stroke:#9bae91;stroke-dasharray:3 3;fill:none}.editor .choices button[aria-pressed=true] .shape-silhouette{fill:#afc49e}.inline-actions button{min-width:85px;min-height:42px}.creation-bar{padding:12px 18px;gap:10px}.creation-bar input:not([hidden]){margin-top:3px;min-height:40px;padding:8px 12px}.creation-bar button{min-height:40px;padding:8px 12px;font-size:11px}.creation-bar #creationFile{font-size:10px}.creation-bar>label{flex-basis:220px}.creation-bar p{font-size:11px}.studio:has(.editor #panel:focus-within){outline:none}.expanded .workspace{height:82svh;grid-template-columns:1fr}.expanded .preview #grip3d{height:auto}.expanded .preview{display:flex}.expanded .editor,.expanded .creation-bar{display:none}.expanded .steps{display:none}.studio-dialog{scrollbar-width:thin}
@media(min-width:701px) and (max-width:1100px){.workspace{grid-template-columns:minmax(0,1fr) minmax(340px,1fr)}.editor #panel{padding:22px}.editor .choices{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-footer .paging .primary{min-width:105px;max-width:150px}.editor>.editor-footer{padding:12px 16px}.quality-bar{display:block}.preview-top{display:block}.preview-top .eyebrow{display:none}.view-controls{flex-wrap:wrap}.preview .measurements{display:none}.zones button{font-size:10px}}
@media(max-width:850px) and (min-width:701px){.workspace{grid-template-columns:minmax(0,.8fr) minmax(350px,1fr)}.preview .hint{display:none}.zones{padding:8px}.zones button{font-size:9px;padding:6px}.camera-tools{padding:8px;font-size:9px}.quality-bar{padding:8px}.view-controls{padding:8px}.preview-top{padding:8px}.view-controls .segmented{width:100%}}
@media(max-width:700px){.studio{overflow:clip}.steps{position:sticky;top:0;z-index:8;padding:5px}.steps button{font-size:11px;min-height:44px;min-width:auto;padding:8px 12px}.workspace{height:calc(100svh - 88px);min-height:570px;max-height:980px;display:flex;flex-direction:column;overflow:hidden}.preview{flex:0 0 280px;height:280px;max-height:38%;min-height:180px;border-bottom:1px solid #d7dfd0;display:flex}.preview-top{padding:3px 10px;min-height:31px}.preview-top>div{align-items:center}.preview-top button{font-size:10px;min-height:28px;padding:4px 6px}.preview #grip3d{flex:1;min-height:90px;height:auto}.quality-bar,.preview .hint,.preview .measurements,.preview .zones{display:none!important}.camera-tools{padding:4px 10px;font-size:9px;min-height:22px}.camera-tools span{max-width:150px}.view-controls{display:flex;padding:3px 8px 7px;gap:4px;align-items:center}.segmented{flex:1;flex-wrap:nowrap;gap:2px}.segmented button{min-height:31px;font-size:9px;padding:5px 7px}.segmented [data-view=pair]{display:none}.zoom{gap:2px}.zoom button{min-width:27px;min-height:31px;height:31px;font-size:12px;padding:5px 7px}.editor{flex:1;min-height:0}.editor #panel{padding:20px 16px}.editor h2{font-size:27px}.editor .choices{grid-template-columns:repeat(2,minmax(0,1fr))}.editor .choices button{min-height:64px;font-size:12px}.editor>.editor-footer{padding:10px 14px;min-height:72px}.editor-footer #price{font-size:23px}.editor-footer #tierLabel{font-size:8px;max-width:135px}.paging .primary{min-width:0;max-width:155px;font-size:11px;padding:10px}.paging button{min-height:42px;padding:8px}.editor input[type=number],.editor input[type=text],.editor select{font-size:16px}.creation-bar{padding:10px 14px}.creation-bar>div{display:flex;flex-wrap:wrap}.creation-bar button{flex:1;padding:8px;font-size:10px;min-height:36px}.creation-bar #publishCreation{flex:1 0 100%}.creation-bar>label{font-size:9px}.creation-bar input:not([hidden]){min-height:40px}.creation-bar p:empty{display:none}.compact-preview .preview{height:32px;min-height:32px;flex-basis:32px;max-height:32px}.expanded .workspace{height:86svh}.expanded .preview{max-height:none;flex:1;height:auto}.expanded .preview #grip3d{display:block}.expanded .editor{display:none}.editor .callout{font-size:12px}.editor details>summary{font-size:13px;padding:14px 0}.section-reset{margin-top:20px}.workbench{margin-top:12px}.resume-banner{flex-wrap:wrap}.resume-banner span{flex-basis:100%}.under{font-size:10px}}
@media(max-height:650px) and (max-width:700px){.workspace{height:640px;max-height:none}.preview{flex-basis:220px;height:220px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(min-width:701px){.workspace{height:clamp(560px,calc(100svh - 180px),900px)}}
