@font-face{font-family:Sora;src:url('/assets/fonts/sora.ttf') format('truetype');font-weight:100 800;font-display:swap}@font-face{font-family:'DM Sans';src:url('/assets/fonts/dm-sans.ttf') format('truetype');font-weight:100 1000;font-display:swap}
:root{--paper:#f8f5ef;--sand:#edeadf;--ink:#30362e;--muted:#646b60;--olive:#526348;--deep:#3d4d34;--line:#d9d9cd;--red:#a43f38;color-scheme:light;font-family:'DM Sans','Segoe UI',sans-serif;font-size:16px;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,summary{font:inherit}button,a,summary{touch-action:manipulation;-webkit-tap-highlight-color:#5263481a}button{color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button,a,summary{transition:color .18s,background-color .18s,border-color .18s}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--olive);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Sora,'Segoe UI',sans-serif;font-weight:500;letter-spacing:-.055em;text-wrap:balance}button svg{width:22px;height:22px}fieldset{border:0;padding:0;margin:0 0 25px;min-width:0}legend{padding:0;margin:0 0 12px;font-weight:550;font-size:15px}output,dd{font-variant-numeric:tabular-nums}[hidden]{display:none!important}.skip{position:absolute;left:20px;top:-100px;background:var(--paper);padding:12px;z-index:100}.skip:focus{top:12px}
.site-header{position:sticky;top:0;z-index:30;background:var(--paper);border-bottom:1px solid var(--line)}.header-inner{height:94px;max-width:1440px;margin:auto;padding:0 4%;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:11px}.brand img{object-fit:contain;mix-blend-mode:multiply;flex:0 0 56px}.brand>span{font-family:Sora,sans-serif;font-size:24px;letter-spacing:-1px;font-weight:550}.brand small{display:block;font-family:'DM Sans',sans-serif;font-size:11px;letter-spacing:0;font-weight:400;margin-top:3px;color:var(--muted)}.header-inner nav{display:flex;gap:30px;align-items:center;font-size:14px}.header-inner nav a{padding:14px 0}.header-inner nav a[aria-current]{color:var(--olive);border-bottom:1px solid var(--olive)}a:hover{color:var(--olive)}.bag{display:flex;gap:9px;align-items:center;font-size:14px}.bag svg{width:23px;height:23px}
main{max-width:1440px;margin:auto;padding:0 4% 45px}.intro{padding:22px 0 25px}.breadcrumb{display:flex;gap:12px;color:var(--muted);font-size:12px;margin-bottom:23px}.intro-copy{display:flex;justify-content:space-between;align-items:baseline;gap:24px}.intro h1{font-size:clamp(28px,3.2vw,44px);line-height:1.2}.intro p{font-size:15px;color:var(--muted)}
.workspace{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:7%;align-items:start}.stage-column{position:sticky;top:115px;min-width:0}.stage{position:relative;background:var(--sand);height:clamp(430px,calc(100svh - 295px),650px);min-width:0;isolation:isolate;overflow:hidden;border-radius:4px}.stage-top{position:absolute;top:24px;left:26px;right:26px;display:flex;justify-content:space-between;align-items:center;z-index:3;pointer-events:none;font-size:13px;color:#5b6254}.stage-top>span:first-child{display:flex;align-items:center;gap:8px}.stage-top i{width:9px;height:9px;border-radius:50%;background:#c9b99b}.vase-canvas{position:absolute;inset:0;touch-action:none}.vase-canvas canvas{display:block;width:100%;height:100%;touch-action:none}.loading{position:absolute;top:45%;width:100%;text-align:center;font-size:14px;color:var(--muted)}.stage-controls{position:absolute;bottom:16px;left:22px;right:20px;display:flex;align-items:center;gap:10px;z-index:5;font-size:12px;color:var(--muted);pointer-events:none}.stage-controls>button{pointer-events:auto;background:#f8f5efde;border:1px solid #c5c9b9;border-radius:30px;padding:8px 13px;font-size:12px;min-height:38px}.stage-controls .zoom{pointer-events:auto;display:flex;gap:1px;margin-left:auto}.zoom button{width:36px;height:38px;border:0;border-radius:50%;background:transparent;font-size:22px;display:grid;place-items:center}.zoom button:hover{background:#dbdece}.zoom svg{width:17px;height:17px}.measurements{display:flex;justify-content:space-around;margin:0;padding:18px 0;border-bottom:1px solid var(--line)}.measurements>div{flex:1;text-align:center}.measurements>div+div{border-left:1px solid var(--line)}.measurements dt{font-size:12px;color:var(--muted)}.measurements dd{font-size:17px;font-weight:550;margin:4px 0 0}.point-tools{display:flex;gap:8px;align-items:center;padding-top:12px;min-height:55px;flex-wrap:wrap}.point-tools>span:first-child{font-size:13px;margin-right:auto}.point-tools button{padding:8px 12px;border:1px solid #c2c8b7;background:transparent;border-radius:7px;font-size:13px;min-height:38px}.point-tools button:hover{background:#e8ebdf}.point-key-help{display:none;font-size:12px;color:var(--muted)}
.builder{min-width:0;padding-top:0}.steps{display:flex;gap:8px;padding:0 0 21px;margin-bottom:25px;border-bottom:1px solid var(--line)}.steps button{flex:1;display:flex;align-items:center;gap:7px;border:0;background:transparent;padding:0;min-height:32px;font-size:13px;color:var(--muted);text-align:left;white-space:nowrap}.steps button>span{width:23px;height:23px;border:1px solid #c9cebf;border-radius:50%;display:grid;place-items:center;font-size:11px;flex:0 0 23px}.steps button[aria-current]{color:var(--deep);font-weight:600}.steps button[aria-current]>span{background:var(--olive);border-color:var(--olive);color:var(--paper)}.step-heading{margin-bottom:23px}.step-heading h2{font-size:27px;line-height:1.25;scroll-margin-top:125px}.step-heading p{font-size:14px;line-height:1.6;color:var(--muted);margin-top:9px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:15px}.form-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;height:120px;border:1px solid var(--line);border-radius:7px;background:transparent;font-size:13px}.form-choice svg{height:73px;width:67px;overflow:visible}.form-choice:hover{background:#eeefe6;border-color:#9da88e}.form-choice[aria-pressed=true]{border-color:var(--olive);background:#e8ecdf}.form-choice[aria-pressed=true]:after{content:'✓';position:absolute;right:9px;top:7px;color:var(--olive);font-size:12px}.free-choice{width:100%;display:flex;align-items:center;gap:13px;text-align:left;border:1px solid var(--line);border-radius:7px;background:transparent;padding:12px 14px;margin:0 0 23px}.free-choice>svg{width:30px;height:33px;flex:0 0 30px}.free-choice>span:last-child{margin-left:auto;font-size:19px}.free-choice strong{display:block;font-size:14px;font-weight:550}.free-choice small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.free-choice:hover,.free-choice[aria-pressed=true]{border-color:var(--olive);background:#e8ecdf}.size-options{display:flex;gap:8px}.size-options button{flex:1;border:1px solid var(--line);background:transparent;border-radius:7px;min-height:62px;padding:10px 5px}.size-options button strong{font-size:15px;font-weight:550}.size-options button small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.size-options button[aria-pressed=true]{background:#e8ecdf;border-color:var(--olive)}.free-options p{font-size:14px;line-height:1.6;color:var(--muted);margin-bottom:20px}.quiet{border:0;background:transparent;border-bottom:1px solid var(--line);padding:9px 0;min-height:42px;font-size:13px;margin-top:10px}.quiet:hover{color:var(--olive);border-color:var(--olive)}
.skin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.skin-grid button{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid var(--line);background:transparent;border-radius:7px;padding:13px 3px 10px;font-size:12px}.skin-grid button[aria-pressed=true]{border-color:var(--olive);background:#e8ecdf}.skin-sample{height:41px;width:40px;border-radius:15px 15px 6px 6px;background:#c5ccb9;box-shadow:inset -9px 0 7px #5263481a}.skin-sample.lamella{background:repeating-linear-gradient(90deg,#cbd0bd 0px 3px,#a7b198 3px 4px,#6c7a5b 4px 5px)}.skin-sample.rounded{background:repeating-linear-gradient(90deg,#a4ae94 0px,#d5dac9 3px,#a4ae94 6px)}.skin-sample.folded{background:repeating-linear-gradient(65deg,#cbd0bd 0px 4px,#a7b198 4px 5px,#6c7a5b 5px 7px)}.segments{display:flex;gap:6px}.segments button{flex:1;border:1px solid var(--line);background:transparent;border-radius:6px;padding:10px 6px;font-size:13px;min-height:44px;white-space:normal}.segments button:hover,.skin-grid button:hover{border-color:#879675;background:#ecefe4}.segments button[aria-pressed=true]{border-color:var(--olive);background:#e8ecdf;color:var(--deep)}.advanced{margin:3px 0 25px;border-block:1px solid var(--line)}.advanced summary{padding:15px 0;font-size:14px;cursor:pointer}.advanced-fields{padding:7px 0 8px}.range-field{margin-bottom:22px}.field-line{display:flex;justify-content:space-between;align-items:center;font-size:14px;gap:15px;margin-bottom:12px}.field-line output{font-size:13px;color:var(--olive);min-width:70px;text-align:right}input[type=range]{accent-color:var(--olive);display:block;width:100%;height:30px;margin:0;cursor:ew-resize;touch-action:pan-y}.range-ends{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:4px}.neck-field{padding-top:0}.colors{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.colors button{border:1px solid transparent;background:transparent;min-height:84px;padding:8px 3px;display:flex;flex-direction:column;align-items:center;gap:10px;font-size:12px;border-radius:7px}.colors button i{width:38px;height:38px;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px #30362e1a;position:relative}.colors button:hover{background:#eeefe7}.colors button[aria-pressed=true]{background:#e8ecdf;border-color:#9ba78e}.colors button[aria-pressed=true] i:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:var(--contrast,#fff);font-size:16px}legend #selected-color{color:var(--muted);font-weight:400;margin-left:10px}.design-summary{margin-top:35px;padding-top:22px;border-top:1px solid var(--line)}.design-summary h3{font-size:20px}.design-summary dl{margin:18px 0 24px;display:grid;gap:11px}.design-summary dl>div{display:flex;justify-content:space-between;gap:20px;font-size:14px}.design-summary dt{color:var(--muted)}.design-summary dd{margin:0;text-align:right}.material-note,.preview-order-note{font-size:13px;color:var(--muted);line-height:1.7;margin-top:15px}.preview-order-note{padding-top:16px;border-top:1px solid var(--line)}
.check-line{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--olive);line-height:1.5;min-height:56px;margin:8px 0}.check-icon{width:17px;height:17px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;font-size:10px;flex-shrink:0}.check-line[data-state=checking]{color:var(--muted)}.check-line[data-state=error]{color:var(--red)}.builder-actions{display:flex;gap:10px;align-items:center}.builder-actions button{min-height:51px;padding:13px 19px;border-radius:7px;font-size:14px}.primary{flex:1;border:1px solid var(--olive);background:var(--olive);color:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:20px;font-weight:550}.primary:hover{background:var(--deep);border-color:var(--deep)}.back{border:1px solid #c9cebf;background:transparent}.back:hover{background:#e8ecdf}.local-note{text-align:right;font-size:11px;color:var(--muted);margin-top:14px}.point-overlay{position:absolute;inset:0;z-index:4;pointer-events:none}.point-overlay>svg{width:100%;height:100%;display:block}.point-handle{pointer-events:auto;position:absolute;width:40px;height:40px;transform:translate(-50%,-50%);border:0;background:transparent;border-radius:50%;padding:0;display:grid;place-items:center;cursor:ew-resize;touch-action:none;user-select:none}.point-handle[data-axis=height]{cursor:ns-resize}.point-handle[aria-pressed=false]{cursor:pointer}.point-handle:disabled{pointer-events:none}.point-handle:before{content:'';width:9px;height:9px;border-radius:50%;border:1.5px solid #526348;background:var(--paper);box-shadow:0 0 0 3px #f8f5ef50}.point-handle[aria-pressed=true]:before{background:var(--olive);border-color:var(--paper);width:12px;height:12px}.point-handle.limited:before{background:#c44d43;border-color:#fff}.point-handle:hover:before{width:13px;height:13px}.dragging{user-select:none}.dragging *{cursor:inherit}.stage.is-editing .vase-canvas,.stage.is-editing canvas{touch-action:none}
@media(max-width:1100px){.workspace{gap:4%;grid-template-columns:minmax(0,1fr) minmax(350px,.95fr)}.header-inner nav{gap:17px}.intro p{display:none}.stage-top{left:20px;right:20px}.brand>span{font-size:22px}.steps{gap:5px}.steps button{font-size:12px}.step-heading h2{font-size:25px}.colors{gap:4px}}
@media(max-width:760px){:root{--mobile-stage-height:clamp(300px,47svh,430px)}.header-inner{height:66px;padding:0 5%;gap:15px}.brand{gap:7px}.brand img{width:42px;height:42px;flex-basis:42px}.brand>span{font-size:20px}.brand small{font-size:9px;margin-top:2px}.header-inner nav{display:none}.bag span{display:none}.bag{min-width:40px;min-height:44px;justify-content:center}main{padding:0 5% 110px}.intro{padding:15px 0 18px}.breadcrumb{font-size:11px;margin:0 0 14px}.intro h1{font-size:28px;letter-spacing:-.05em}.workspace{display:block}.stage-column{top:66px;z-index:15;background:var(--paper);padding-top:0;margin-inline:-5.56%;border-bottom:1px solid var(--line)}.stage{height:var(--mobile-stage-height);border-radius:0}.stage-top{top:14px;font-size:11px;left:20px;right:20px}.stage-controls{bottom:9px;left:14px;right:12px;font-size:10px}.stage-controls>button{min-height:34px;padding:6px 10px;font-size:11px}.zoom button{width:32px;height:34px}.measurements{padding:10px 0;border:0}.measurements dt{font-size:10px}.measurements dd{font-size:14px;margin-top:2px}.point-tools{margin:0 5%;padding:3px 0 8px;min-height:41px;gap:6px}.point-tools button{font-size:11px;min-height:32px;padding:5px 9px}.point-tools>span:first-child{font-size:11px}.builder{padding-top:23px}.steps{padding-bottom:16px;margin-bottom:20px;gap:12px}.steps button{font-size:12px;min-height:30px;gap:5px}.steps button>span{width:20px;height:20px;flex-basis:20px;font-size:10px}.step-heading{margin-bottom:18px}.step-heading h2{font-size:24px;scroll-margin-top:480px}.step-heading p{font-size:13px;margin-top:8px}.form-choice{height:106px}.form-choice svg{height:62px}.form-grid{gap:8px}.free-choice{margin-bottom:22px;padding:11px}.free-choice strong{font-size:13px}.free-choice small{font-size:11px}.free-choice>svg{width:25px;flex-basis:25px}.size-options button small{font-size:10px}.builder-actions{position:fixed;bottom:0;left:0;right:0;padding:13px 5% calc(13px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--paper);z-index:25;gap:8px}.builder-actions button{min-height:48px;padding:12px 17px;font-size:13px}.local-note{text-align:left;font-size:10px}.skin-grid{gap:7px}.skin-grid button{font-size:11px}.skin-sample{height:37px;width:36px}.segments button{font-size:12px;padding-inline:5px}.colors{grid-template-columns:repeat(3,1fr);gap:6px}.colors button{min-height:84px}.point-handle{width:52px;height:52px}.point-handle:before{width:8px;height:8px;border-width:1.5px;box-shadow:0 0 0 2px #f8f5ef60}.point-handle[aria-pressed=true]:before{width:18px;height:18px;box-shadow:0 0 0 4px #f8f5ef90}.point-handle[data-axis=height]:before{border-radius:3px}.stage-controls #stage-hint{max-width:120px;line-height:1.4}.check-line{font-size:12px;min-height:55px}.step-content{min-height:370px}.design-summary{margin-top:28px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* A stable desktop work area keeps the primary action and model in view. */
@media(min-width:761px){.builder{display:flex;flex-direction:column;height:calc(100svh - 260px);min-height:480px;max-height:760px}.steps{flex-shrink:0;margin-bottom:18px;padding-bottom:16px}.step-content{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b6bfaa transparent;padding-right:9px;overscroll-behavior:contain;flex:1}.check-line{flex-shrink:0;min-height:40px;margin:10px 0}.builder-actions{flex-shrink:0}.local-note{flex-shrink:0;font-size:10px;margin-top:10px}.step-heading{margin-bottom:19px}.form-choice{height:105px}.form-choice svg{height:61px}.free-choice{margin-bottom:18px}}
.skin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.skin-sample.ribbed{background:repeating-linear-gradient(90deg,#667957 0px,#cfd7bf 3px,#869670 5px,#556544 7px)}.skin-sample.crossrib{background:repeating-linear-gradient(52deg,transparent 0 6px,#d1d8c3 7px 9px,#6b7b59 10px 11px,transparent 12px 17px),repeating-linear-gradient(-52deg,#83936f 0 6px,#d1d8c3 7px 9px,#566746 10px 11px,#83936f 12px 17px)}.skin-sample.pleated{background:repeating-linear-gradient(90deg,#d4dac7 0 4px,#748464 4px 8px)}.skin-sample.sandwave{background:#c5ccb9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='41' viewBox='0 0 40 41'%3E%3Cg fill='none' stroke='%23748464' stroke-width='3'%3E%3Cpath d='M-6-4C14 7-11 23 5 45M4-4C24 7-1 23 15 45M14-4C34 7 9 23 25 45M24-4C44 7 19 23 35 45M34-4C54 7 29 23 45 45'/%3E%3C/g%3E%3C/svg%3E") center/40px 41px}.skin-sample.woven{background:repeating-linear-gradient(45deg,transparent 0 6px,#d4dac7 6px 11px,#748464 11px 13px,transparent 13px 18px),repeating-linear-gradient(-45deg,#8f9d7e 0 6px,#bcc7aa 6px 11px,#60734f 11px 13px,#8f9d7e 13px 18px)}.restore-design{border:0;background:transparent;color:var(--muted);text-decoration:underline;text-underline-offset:3px;text-align:left;min-height:44px;font-size:12px;padding:8px 0;margin-bottom:4px;flex-shrink:0}.restore-design:hover{color:var(--deep)}
.step-content{overflow-anchor:none}.workspace{overflow-anchor:none}

@media(max-width:760px){.builder{scroll-margin-top:calc(66px + var(--mobile-stage-height) + 72px)}.workspace.has-free .builder{scroll-margin-top:calc(66px + var(--mobile-stage-height) + 112px)}}
@media(max-width:760px){html{scroll-padding-top:calc(66px + var(--mobile-stage-height) + 72px);scroll-padding-bottom:90px}html:has(.workspace.has-free){scroll-padding-top:calc(66px + var(--mobile-stage-height) + 112px)}.builder,.workspace.has-free .builder{scroll-margin-top:0}}
@media(max-width:760px){.zoom button{width:40px;height:40px}.stage-controls>button{min-height:40px}.point-tools button{min-height:44px;padding-inline:10px}.point-tools{min-height:54px}}

@media(max-width:760px) and (max-height:540px){:root{--mobile-stage-height:clamp(220px,42svh,280px)}}

/* A single roomy contour grip on phones, with room for its captured gesture. */
.stage,.stage *{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.point-readout{position:absolute;top:43px;left:20px;z-index:5;pointer-events:none;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums;color:var(--deep);background:#f8f5efe8;border-radius:6px;padding:5px 8px;max-width:calc(50% - 28px)}
.point-handle{z-index:1;-webkit-touch-callout:none}.point-handle[aria-pressed=true]{z-index:2}
.point-handle:before,.point-handle:hover:before{width:12px;height:12px}
.point-handle[aria-pressed=true]:before{width:20px;height:20px}
.dragging .point-handle:not([aria-pressed=true]){visibility:hidden}
.point-tools #point-selection{font-size:13px;font-variant-numeric:tabular-nums;margin-right:auto;white-space:nowrap}
.point-tools #point-prev,.point-tools #point-next{font-size:25px;min-width:44px;padding:2px 10px}
.point-fine{margin-top:15px;border-block:1px solid var(--line)}.point-fine summary{font-size:14px;min-height:48px;padding:14px 0;cursor:pointer}
.point-nudges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-bottom:14px}
.point-nudges button{min-height:60px;padding:6px 3px;border:1px solid var(--line);border-radius:6px;background:transparent;font-size:22px;line-height:1.2}
.point-nudges button span{display:block;font-size:12px;margin-top:4px}.point-nudges button:hover{background:#e8ecdf;border-color:var(--olive)}
@media(max-width:760px){
 .point-handle{width:64px;height:64px}.point-handle[aria-pressed=true]{width:72px;height:72px}
 .point-handle:before,.point-handle:hover:before{width:14px;height:14px;border-width:2px;background:var(--paper);box-shadow:0 0 0 3px #f8f5efb0}
 .point-handle[aria-pressed=true]:before{width:26px;height:26px;background:var(--olive);box-shadow:0 0 0 5px #f8f5efc9}
 .point-tools{display:grid;grid-template-columns:48px minmax(0,1fr) repeat(3,48px);gap:6px;padding:5px 0;min-height:58px}
 .point-tools #point-selection{margin:0;text-align:center;font-size:12px}
 .point-tools button,.point-tools #point-prev,.point-tools #point-next{height:48px;min-height:48px;min-width:48px;padding:0;font-size:25px;background:#e8ecdf}
 .point-tool-label{display:none}.point-readout{top:38px;left:16px;font-size:11px}
 .stage-controls{gap:8px}.stage-controls>button{min-height:48px;font-size:12px}.zoom button{width:48px;height:48px}
 .stage-controls:has(#view-toggle:not([hidden])) #stage-hint{display:none}
 .steps button{min-height:44px}input[type=range]{height:44px;touch-action:none}
 .builder button,.builder input,.builder summary{scroll-margin-top:8px;scroll-margin-bottom:12px}
}

@media(max-width:760px){html,html:has(.workspace.has-free){scroll-padding-top:var(--vase-stage-offset,540px);scroll-padding-bottom:90px}}
@media(max-width:760px) and (max-height:700px){:root{--mobile-stage-height:280px}.workspace.has-free .measurements{display:none}}
@media(max-width:760px) and (max-height:540px){:root{--mobile-stage-height:220px}}

.check-line[data-state=notice]{color:#816137}.proposal{padding:12px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.5}.proposal p{margin:0 0 6px}.proposal button,.lab-tools button{border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--ink);padding:9px 12px;min-height:44px;font:inherit;cursor:pointer}.proposal button:hover,.lab-tools button:hover{background:#e8ecdf}.lab-tools{font-size:12px;color:var(--muted);line-height:1.5;margin-top:12px}.lab-tools summary{cursor:pointer;padding:9px 0;min-height:40px}.lab-tools p{margin:6px 0}.lab-tools button{margin:4px 8px 4px 0}.skin-sample.lamella{background:repeating-linear-gradient(90deg,#586547 0 3px,#d1d9c4 3px 4px,#91a07c 4px 7px,#586547 7px 9px)}
.stage-feedback{position:absolute;bottom:56px;left:20px;right:20px;z-index:6;max-width:390px;margin-inline:auto;padding:10px 13px;background:#faf7ee;color:#725526;border:1px solid #c8b992;border-radius:6px;font-size:12px;line-height:1.45;pointer-events:none}
.shape-guides>p{font-size:14px;line-height:1.6;color:var(--muted);margin-bottom:22px}.shape-extra{border-top:1px solid var(--line);margin-bottom:22px}.shape-extra summary,.lab-hints summary{min-height:48px;padding:14px 0;font-size:14px;cursor:pointer}.shape-extra .range-field{margin-top:10px}.density-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.density-presets button{flex:1;min-width:48px;min-height:44px;background:transparent;border:1px solid var(--line);border-radius:6px;font-variant-numeric:tabular-nums}.density-presets button[aria-pressed=true]{background:#e8ecdf;border-color:var(--olive);font-weight:600}.density-note{font-size:12px;line-height:1.5;color:var(--muted);margin-top:10px}.lab-version{font-size:10px;color:var(--muted);margin-top:12px}.lab-hints{font-size:12px;line-height:1.6;color:var(--muted);flex-shrink:0}.lab-hints p{margin-bottom:10px}.lab-hints summary{font-size:12px;min-height:38px;padding:10px 0}
@media(max-width:760px){.shape-guides .range-field{margin-bottom:22px}.shape-guides input{height:48px}.stage-controls>button{max-width:210px}.lab-label{font-size:13px;white-space:nowrap}.header-inner{gap:12px}.density-presets button{min-height:48px}}

.angle-meter{height:40px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}.angle-meter[data-zone=target]{color:var(--olive)}.angle-meter[data-zone=review]{color:#806122}.angle-meter[data-zone=experimental]{color:#8c4e1d}.angle-meter[data-zone=blocked]{color:var(--red);font-weight:600}.angle-ceiling{font-size:11px;font-weight:400;white-space:nowrap;color:var(--muted)}@media(max-width:760px){.angle-meter{padding-inline:14px;background:var(--paper);font-size:12px;height:40px}.angle-ceiling{font-size:10px}}

/* Keep everyday choices visible; reserve fine adjustment for exact values. */
.surface-presets{margin:26px 0 32px;padding-block:24px 0;border-top:1px solid var(--line)}
.surface-presets .segments button{min-height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;line-height:1.3}
.surface-presets small{display:block;font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}
/* Compact desktop workspace: the preview and actions stay in sight. */
@media(min-width:761px){
 main,.header-inner{max-width:1520px;padding-inline:32px}
 .header-inner{height:78px}.stage-column{top:94px}
 .intro{padding:16px 0 20px}.breadcrumb{margin-bottom:12px}
 .intro h1{font-size:32px}.workspace{gap:36px;grid-template-columns:minmax(0,1.05fr) minmax(360px,1fr)}
 .builder{display:flex;flex-direction:column;height:calc(100svh - var(--vase-workspace-top,181px) - 24px);min-height:320px;max-height:none}
 .steps{flex-shrink:0;padding-bottom:12px;margin-bottom:16px}
 .step-content{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding-right:12px;scrollbar-gutter:stable}
 .step-heading{margin-bottom:18px}.step-heading h2{font-size:25px}
 .surface-presets{margin:18px 0;padding-top:18px}.surface-presets fieldset{margin-bottom:18px}
 .surface-presets .segments button{min-height:54px}
 .range-field{margin-bottom:18px}.field-line{margin-bottom:8px}
 .measurements{padding-block:12px}.check-line{flex-shrink:0;min-height:36px;margin:8px 0}
 .builder-actions,.lab-tools,.lab-version,.local-note{flex-shrink:0}
 .lab-tools{margin-top:4px}.lab-tools summary{min-height:32px;padding:6px 0}
 .lab-version,.local-note{margin-top:5px}
}
@media(max-width:760px){
 .surface-presets{margin-block:22px 26px;padding-top:20px}
 .turn-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .surface-presets .segments button{min-height:68px;padding:10px 6px;font-size:13px}
}

/* A smaller sticky preview leaves room for the controls while scrolling.
   The point editor keeps the full touch working area. */
@media(max-width:760px){
 .stage{height:calc(var(--mobile-stage-height) - (var(--mobile-stage-height) - clamp(220px,32svh,300px))*var(--vase-scroll-progress,0))}
 .stage-top>span,#stage-hint{opacity:calc(1 - var(--vase-scroll-progress,0))}
 .measurements{padding-block:calc(10px - 5px*var(--vase-scroll-progress,0))}
}
@media(max-width:760px) and (max-height:540px){
 .stage{height:calc(var(--mobile-stage-height) - (var(--mobile-stage-height) - 180px)*var(--vase-scroll-progress,0))}
}

.contour-actions{margin:0 0 26px;padding-block:0 22px;border-bottom:1px solid var(--line)}
.contour-actions>button{width:100%;min-height:48px;margin-bottom:10px;padding:12px;border:1px solid var(--olive);border-radius:6px;background:#e8ecdf;color:var(--deep);font:inherit}
.contour-actions .segments button{min-height:48px;font-size:14px}
.contour-actions button:disabled{cursor:default}

/* Reserve the viewport space for dimensions AND the contour toolbar. */
@media(min-width:761px){.stage{height:clamp(180px,calc(100svh - var(--vase-workspace-top,181px) - 240px),720px)}}
.contour-intro{margin-bottom:18px;line-height:1.6}
.contour-intro strong{display:block;font-size:15px;margin-bottom:5px}
.contour-intro p,.adjustment-help{font-size:14px;line-height:1.6;color:var(--muted)}
.adjustment-help{margin-bottom:18px}
.point-instructions{margin:0 0 18px;border-bottom:1px solid var(--line);font-size:14px;line-height:1.6;color:var(--muted)}
.point-instructions summary{min-height:44px;padding:10px 0;cursor:pointer;color:var(--ink)}
.point-instructions ol{padding-left:22px;margin:4px 0 16px}
.point-instructions li+li{margin-top:7px}
#free-point-help{font-size:14px;line-height:1.6;color:var(--muted);margin-bottom:18px}

.contour-upgrade{margin-bottom:18px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.6}.contour-upgrade button{min-height:48px;margin-top:8px;padding:10px 14px;border:1px solid var(--olive);border-radius:6px;color:var(--deep);background:#e8ecdf;font:inherit}

.stage-top #preview-color-picker{pointer-events:auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:calc(100% - 86px);padding:8px 11px;border:1px solid #c5c9b9;border-radius:7px;background:#f8f5efed;color:var(--ink);font:inherit;line-height:1.3;text-align:left}
.stage-top #preview-color-picker:hover{border-color:var(--olive)}
#preview-color-picker i{flex:0 0 12px;width:12px;height:12px;box-shadow:inset 0 0 0 1px #30362e22}
.colors button span{max-width:100%;overflow-wrap:anywhere;line-height:1.25}
.color-popover{position:fixed;inset:auto;margin:0;padding:18px;width:min(440px,calc(100vw - 24px));overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;border:1px solid #b9c1ae;border-radius:9px;background:var(--paper);color:var(--ink);box-shadow:0 10px 32px #30362e24}
.color-popover>strong{display:block;margin-bottom:12px;font-size:15px}
.color-popover .colors{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.color-popover .colors button{min-height:78px;padding:8px 2px;font-size:10px;gap:7px}
.color-popover .colors button i{width:32px;height:32px;flex-shrink:0}
.point-readout{top:72px}
@media(max-width:760px){.stage-top #preview-color-picker{font-size:12px}.color-popover{padding:14px}}

@media(max-width:760px){.color-popover .colors{grid-template-columns:repeat(4,minmax(0,1fr))}.color-popover .colors button{min-height:74px;font-size:11px}.color-popover .colors button span{hyphens:auto}}

/* Scroll only composites the existing WebGL image. Keep its drawing buffer and
   camera viewport stable instead of resizing/repainting them on every pixel. */
@media(max-width:760px){
 .vase-canvas{bottom:auto;height:var(--mobile-stage-height);transform:scale(var(--vase-preview-scale,1));transform-origin:50% 0}
}

#restore-design,#use-template{min-height:48px;padding:12px 16px;border:1px solid var(--olive);border-radius:6px;background:#e8ecdf;color:var(--deep);font-size:14px;text-decoration:none;text-align:center}
#correct-lamella-count{min-height:48px;padding:12px 16px;border:1px solid var(--olive);border-radius:6px;background:#e8ecdf;color:var(--deep);font-size:14px;text-decoration:none}
.depth-explanation{margin:0 0 14px}
.fine-actions{display:flex;gap:14px;flex-wrap:wrap;padding-top:12px}
.advanced summary span{display:block;margin-top:5px;color:var(--muted);font-size:12px}
.steps button{min-width:0}
@media(max-width:760px){.steps{gap:6px}.steps button{font-size:11px;gap:4px;white-space:normal;line-height:1.3}.steps button>span{flex-shrink:0}.skin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.shape-fine{border-block:1px solid var(--line);margin:16px 0}
.shape-fine>summary{min-height:48px;padding:12px 0;cursor:pointer;font-weight:550}
.shape-fine>summary span{display:block;margin:5px 0 0 18px;color:var(--muted);font-size:12px;font-weight:400}
.shape-fine[open]{padding-bottom:16px}.shape-fine .shape-guides{padding-top:12px}
.input-correction{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #c7a59b}
.input-correction p{flex:1;font-size:12px;line-height:1.4;color:var(--red)}
.input-correction button{min-height:44px;padding:8px 12px;border:1px solid var(--red);border-radius:6px;background:var(--paper);color:var(--red);font-size:13px;font-weight:600;flex-shrink:0}
.input-correction button:hover{background:#f2e4df}
.size-options .size-price{display:block;margin-top:8px;font-weight:550;font-size:14px;color:var(--deep)}
.builder-actions{flex-wrap:wrap}
.live-price{flex-basis:100%;min-width:0;padding:12px 0 4px;border-top:1px solid var(--line)}
.live-price>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.live-price span{font-size:12px;color:var(--muted)}
.live-price strong{font-family:Sora,sans-serif;font-size:23px;font-weight:550;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.live-price small,.live-price p{font-size:12px;line-height:1.5;color:var(--muted)}
.live-price p{margin-top:4px;font-variant-numeric:tabular-nums}
.pendant-field{margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
.pendant-field>.density-note:first-of-type{margin:0 0 14px}
.pendant-field .segments button{padding:12px 8px;min-height:64px}
.pendant-field .segments small{display:block;font-size:11px;color:var(--muted);margin-top:5px}
.pendant-field .colors{margin-top:16px}
.free-options .free-price-rule{font-size:12px;margin-bottom:18px;color:var(--olive)}
@media(max-width:760px){main{padding-bottom:180px}html{scroll-padding-bottom:155px}.live-price{border:0;padding:0}.live-price strong{font-size:21px}.live-price>div{gap:8px}.live-price p{font-size:11px}.builder-actions{row-gap:8px}}
@media(max-width:760px){
 .workspace.has-free .stage,.workspace.has-free .vase-canvas{height:min(var(--mobile-stage-height),max(220px,calc(100svh - 486px)))}
 body:has(.workspace.has-free) .live-price p{display:none}
 html:has(.workspace.has-free){scroll-padding-top:var(--vase-stage-offset,520px);scroll-padding-bottom:130px}
}
@media(max-width:760px){.input-correction{padding:8px 14px;background:var(--paper);gap:8px}.input-correction p{font-size:11px}.input-correction button{font-size:12px;padding:8px}}

.skin-grid [data-skin-price]{font-size:11px;color:var(--muted);line-height:1.4}

.stand-meter{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px;color:var(--olive)}.stand-meter[data-state=blocked]{color:#9a4f22}.stand-meter>span{flex:1;min-width:145px}.stand-meter button{border:1px solid currentColor;border-radius:6px;background:var(--paper);color:inherit;font:inherit;padding:8px 10px;min-height:40px}.stand-meter details{position:relative;font-size:11px}.stand-meter summary{cursor:pointer;min-height:28px;display:flex;align-items:center}.stand-meter details[open]{flex-basis:100%}.stand-meter details p{line-height:1.5;margin:5px 0}.stand-meter[data-state=blocked] details:not([open]){display:none}@media(max-width:760px){.stand-meter{padding:5px 5%;font-size:11px;gap:4px 8px}.stand-meter>span{min-width:130px}.stand-meter button{padding:6px 8px}.stand-meter details:not([open]){font-size:10px}}

.stand-info{font-size:12px;border-top:1px solid var(--line);margin:12px 0}.stand-info summary{cursor:pointer;min-height:42px;padding:12px 0}.stand-info p{color:var(--muted);line-height:1.6;margin:0 0 14px}
.skin-grid .skin-sample.section{width:112px;height:112px;max-width:100%;border-radius:0;background:none;box-shadow:none;color:var(--olive)}.skin-sample.section svg{display:block;width:100%;height:100%;pointer-events:none}@media(max-width:760px){.skin-grid .skin-sample.section{width:96px;height:96px}}

.steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.steps button{white-space:normal;min-width:0}.point-handle.limited:before{background:#b67a2d;border-color:#fff}.surface-recommendation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border:1px solid #9ba78e;border-radius:7px;background:#e8ecdf;margin:12px 0}.surface-recommendation strong{display:block;font-size:17px;color:var(--olive)}.surface-recommendation small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.surface-recommendation button{font:inherit;font-size:13px;min-height:44px;padding:9px 13px;border:1px solid var(--olive);border-radius:6px;background:var(--olive);color:white;cursor:pointer}.surface-recommendation button:disabled{background:transparent;color:var(--olive);border-color:transparent;cursor:default}[data-panel="4"] .pendant-field{margin-top:0;padding-top:0;border-top:0}@media(max-width:760px){.steps button{flex-direction:column;text-align:center;justify-content:flex-start;font-size:11px;line-height:1.3;gap:5px}.surface-recommendation{padding:12px}.surface-recommendation strong{font-size:15px}}






/* Focused contour editing reuses the existing canvas and point controls. */
body.contour-fullscreen{overscroll-behavior:none}
body.contour-fullscreen .stage-column.is-contour-fullscreen{
 position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;
 width:100%;height:100vh;height:100svh;height:100dvh;max-height:none;
 margin:0;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);
 background:var(--paper);overflow:hidden;isolation:isolate;touch-action:none;overscroll-behavior:none;
}
.contour-editor-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;min-height:64px;padding:8px 16px;background:var(--paper);border-bottom:1px solid var(--line)}
.contour-editor-header h2{font-size:19px;letter-spacing:-.04em}
.contour-editor-header button{min-width:88px;min-height:48px;padding:10px 20px;border:1px solid var(--olive);border-radius:7px;background:var(--olive);color:var(--paper);font-weight:600}
body.contour-fullscreen .is-contour-fullscreen .stage{flex:1 1 0;min-height:0;height:auto!important;width:100%;border-radius:0}
body.contour-fullscreen .is-contour-fullscreen .vase-canvas{height:100%!important;inset:0;bottom:0;transform:none;transform-origin:50% 50%}
body.contour-fullscreen.contour-gesture .is-contour-fullscreen .stage{flex:0 0 var(--contour-gesture-height);height:var(--contour-gesture-height)!important;width:var(--contour-gesture-width)}
body.contour-fullscreen .is-contour-fullscreen .stage-top,
body.contour-fullscreen .is-contour-fullscreen .measurements,
body.contour-fullscreen .is-contour-fullscreen .stand-meter,
body.contour-fullscreen .is-contour-fullscreen .input-correction,
body.contour-fullscreen .is-contour-fullscreen #view-toggle,
body.contour-fullscreen .is-contour-fullscreen #stage-hint{display:none!important}
body.contour-fullscreen .is-contour-fullscreen .point-readout{top:12px;left:16px;max-width:calc(100% - 32px);font-size:12px}
body.contour-fullscreen .is-contour-fullscreen .point-handle{width:64px;height:64px}
body.contour-fullscreen .is-contour-fullscreen .point-handle[aria-pressed=true]{width:72px;height:72px}
body.contour-fullscreen .is-contour-fullscreen .point-handle:before{width:14px;height:14px;border-width:2px}
body.contour-fullscreen .is-contour-fullscreen .point-handle[aria-pressed=true]:before{width:26px;height:26px}
body.contour-fullscreen .is-contour-fullscreen .stage-controls{left:auto;right:10px;bottom:8px}
body.contour-fullscreen .is-contour-fullscreen .zoom button{width:48px;height:48px;background:#f8f5efb0}
body.contour-fullscreen .is-contour-fullscreen #point-tools{display:grid;grid-template-columns:48px minmax(0,1fr) repeat(3,48px);flex-shrink:0;margin:0;padding:8px 12px;gap:6px;min-height:64px;border-top:1px solid var(--line);background:var(--paper)}
body.contour-fullscreen .is-contour-fullscreen #point-tools button{height:48px;min-height:48px;min-width:48px;padding:0;background:#e8ecdf;font-size:25px}
body.contour-fullscreen .is-contour-fullscreen #point-selection{font-size:12px;text-align:center;margin:0}
body.contour-fullscreen .is-contour-fullscreen .point-tool-label{display:none}
.contour-editor-footer{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:8px;min-height:48px;padding:0 16px 4px;font-size:11px;color:var(--muted);background:var(--paper)}
.contour-editor-footer button{font:inherit;color:var(--deep);min-height:44px;padding:8px 12px;border:0;border-radius:6px;background:transparent;font-size:12px}
.contour-editor-footer button:disabled{cursor:default}
@media(max-height:500px) and (min-width:600px){
 .contour-editor-header{min-height:56px;padding-block:4px}
 body.contour-fullscreen .contour-editor-footer{position:absolute;right:calc(env(safe-area-inset-right,0px) + 112px);top:calc(env(safe-area-inset-top,0px) + 6px);min-height:44px;padding:0;background:transparent}
 .contour-editor-footer>span{display:none}
 body.contour-fullscreen .is-contour-fullscreen .stage-controls{top:50%;bottom:auto;transform:translateY(-50%)}
 body.contour-fullscreen .is-contour-fullscreen .zoom{flex-direction:column}
}

/* Mobile workshop: the object owns the space, tools stay outside its silhouette. */
.point-navigation,.point-actions{display:contents}
.contour-modes{display:flex;gap:6px;padding:6px 16px 8px;flex-shrink:0;background:var(--paper)}
.contour-modes button{flex:1;min-height:48px;border:1px solid var(--line);border-radius:7px;background:transparent;font-size:14px;font-weight:550}
.contour-modes button[aria-pressed=true]{background:var(--olive);border-color:var(--olive);color:var(--paper)}
.contour-mode-hint{position:absolute;left:16px;top:10px;right:16px;z-index:4;text-align:center;color:var(--muted);font-size:12px;pointer-events:none}
.contour-point-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}
.contour-point-summary strong{display:block;font-size:14px;font-weight:600;color:var(--ink)}
.contour-point-summary span{display:block;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:3px}
.contour-nudges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%}
.contour-nudges button{border:1px solid var(--line);border-radius:7px;background:transparent;font-size:21px;min-height:52px;padding:3px!important}
.contour-nudges button span{display:block;font-size:11px;margin-top:1px}
.contour-editor-status{font-size:11px;color:var(--muted);min-height:15px}
body.contour-fullscreen .contour-editor-header{min-height:58px;padding-block:5px}
body.contour-fullscreen .contour-editor-header h2{font-size:19px}
body.contour-fullscreen .contour-editor-header button{min-height:48px}
body.contour-fullscreen .contour-editor-footer{order:3;display:flex;flex-direction:column;align-items:stretch;gap:7px;min-height:0;padding:10px 16px 5px;border-top:1px solid var(--line)}
body.contour-fullscreen .contour-point-summary>button{font-size:12px;white-space:nowrap;min-height:44px;padding:6px 8px;background:transparent;color:var(--deep)}
body.contour-fullscreen .is-contour-fullscreen #point-tools{order:4;display:flex;flex-wrap:wrap;gap:8px;padding:6px 16px 12px;min-height:0;border-top:0}
body.contour-fullscreen .point-navigation{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:8px;width:100%;align-items:center}
body.contour-fullscreen .point-actions{display:flex;gap:8px;width:100%}
body.contour-fullscreen .is-contour-fullscreen #point-tools .point-actions button{flex:1;min-height:48px;font-size:14px;font-weight:550;white-space:nowrap;padding-inline:8px}
body.contour-fullscreen .is-contour-fullscreen #point-tools .point-actions button:first-child{background:var(--olive);color:var(--paper)}
body.contour-fullscreen .is-contour-fullscreen .point-tool-label{display:inline}
body.contour-fullscreen .is-contour-fullscreen #point-selection{font-size:14px;font-weight:550}
body.contour-fullscreen .is-contour-fullscreen .stage{order:2;min-height:160px}
body.contour-fullscreen .contour-modes{order:1}
body.contour-fullscreen .contour-editor-header{order:0}
body.contour-fullscreen .is-contour-fullscreen .point-readout{display:none!important}
body.contour-fullscreen .is-contour-fullscreen .point-handle,
body.contour-fullscreen .is-contour-fullscreen .point-handle[aria-pressed=true]{width:64px;height:64px}
body.contour-fullscreen .is-contour-fullscreen .point-handle:before{width:12px;height:12px;border:2px solid var(--olive);background:var(--paper);box-shadow:0 0 0 3px #f8f5ef99}
body.contour-fullscreen .is-contour-fullscreen .point-handle[aria-pressed=true]:before{width:22px;height:22px;background:var(--olive);box-shadow:0 0 0 5px #f8f5efb0}
body.contour-fullscreen .point-handle[aria-pressed=true]:after{content:attr(data-label);position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:650;pointer-events:none}
body.contour-fullscreen .is-contour-fullscreen .stage-controls{right:10px;bottom:6px;top:auto;transform:none}
body.contour-fullscreen .is-contour-fullscreen .zoom button{width:44px;height:44px;background:#f8f5efad}
body.contour-fullscreen[data-contour-mode=edit] .is-contour-fullscreen .stage-controls{left:6px;right:auto}
body.contour-fullscreen[data-contour-mode=edit] .is-contour-fullscreen .zoom{gap:4px}
body.contour-fullscreen[data-contour-mode=rotate] .contour-nudges,
body.contour-fullscreen[data-contour-mode=rotate] .contour-point-summary,
body.contour-fullscreen[data-contour-mode=rotate] .contour-editor-status{display:none}
body.contour-fullscreen[data-contour-mode=rotate] .contour-editor-footer{padding:0;border:0}
.contour-fine summary{cursor:pointer;min-height:40px;padding:10px 0;font-size:12px;color:var(--deep)}
.contour-fine .contour-nudges{padding-bottom:6px}
body.contour-fullscreen .contour-editor-footer{gap:4px;padding:8px 16px 4px}
body.contour-fullscreen .contour-point-summary{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;min-height:44px}
body.contour-fullscreen .contour-point-summary>div{text-align:center}
body.contour-fullscreen .contour-point-summary>button{border:1px solid var(--line);border-radius:6px;background:#e8ecdf;font-size:24px;min-height:44px;padding:0;width:44px}
body.contour-fullscreen .contour-editor-header #contour-editor-undo{min-width:0;min-height:44px;padding:6px;font-size:12px;font-weight:400;border:0;background:transparent;color:var(--deep);margin-left:auto}
body.contour-fullscreen .contour-editor-header #contour-editor-done{min-width:72px;padding-inline:14px}
body.contour-fullscreen .point-navigation{display:none}
body.contour-fullscreen .is-contour-fullscreen #point-tools{padding-block:4px 8px}
.contour-editor-status:empty{display:none}
.migration-restart{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 14px;margin-top:8px;border:1px solid var(--olive);border-radius:6px;background:var(--paper);color:var(--deep);font-weight:550}
body.contour-fullscreen[data-contour-mode=rotate] .contour-fine{display:none}
@media(max-width:760px){
 :root{--mobile-stage-height:clamp(300px,50svh,440px)}
 .stage-column{position:relative;top:auto;margin:0;z-index:1}
 .stage,.workspace.has-free .stage{height:var(--mobile-stage-height);min-height:0}
 .vase-canvas,.workspace.has-free .vase-canvas{height:100%;inset:0;transform:none}
 .stage-top>span,#stage-hint{opacity:1}
 .measurements{padding-block:10px}
 .intro{padding:18px 0}.intro p{display:none}.breadcrumb{font-size:11px;gap:8px;margin-bottom:12px}
 .builder{padding-top:18px}.builder,.workspace.has-free .builder{scroll-margin-top:80px}
 html,html:has(.workspace.has-free){scroll-padding-top:80px}
 .step-content{min-height:0}.steps{position:static;padding-bottom:12px;margin-bottom:20px}
 .step-heading{margin-bottom:20px}.step-heading h2{font-size:24px}
 .contour-actions>.segments,.contour-actions>#contour-status{display:none}
 #edit-contour{width:100%;min-height:56px;font-size:16px;font-weight:600;background:var(--olive);color:var(--paper)}
 .contour-intro p{font-size:14px;line-height:1.5}.shape-fine{margin-top:22px}
 .builder-actions{padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}
 body:has(.workspace.has-free) .live-price p{display:block}
 .form-grid{gap:10px}.form-choice{min-height:100px}.skin-grid button{min-height:142px}
 .surface-presets .density-note,.depth-explanation{font-size:12px}
 .builder input[type=range]{min-height:48px;touch-action:pan-y}
 body.contour-fullscreen .builder-actions{display:none}
 body.contour-fullscreen .stage-column{z-index:100}
}
@media(max-width:380px){
 body.contour-fullscreen .contour-editor-footer{padding-inline:12px;gap:4px}
 body.contour-fullscreen .is-contour-fullscreen #point-tools{padding-inline:12px;gap:5px}
 body.contour-fullscreen .contour-modes{padding-inline:12px}
 body.contour-fullscreen .contour-point-summary span{font-size:11px}
}
@media(min-width:600px) and (max-height:500px) and (pointer:coarse){
 body.contour-fullscreen .stage-column.is-contour-fullscreen{display:grid;grid-template-columns:minmax(0,1fr) 228px;grid-template-rows:56px 58px minmax(0,1fr) 64px}
 body.contour-fullscreen .contour-editor-header{grid-column:1/-1;grid-row:1}
 body.contour-fullscreen .contour-modes{grid-column:1/-1;grid-row:2;padding-bottom:6px}
 body.contour-fullscreen .is-contour-fullscreen .stage{grid-column:1;grid-row:3/5;min-height:0}
 body.contour-fullscreen .contour-editor-footer{position:static;grid-column:2;grid-row:3;justify-content:center;border-left:1px solid var(--line);border-top:0;padding:6px 10px;gap:6px;background:var(--paper)}
 body.contour-fullscreen .contour-point-summary{align-items:flex-start;flex-direction:column;gap:2px}
 body.contour-fullscreen .contour-point-summary{grid-template-columns:44px minmax(0,1fr) 44px}
 body.contour-fullscreen .contour-point-summary>button{width:44px;min-height:44px}
 body.contour-fullscreen .contour-point-summary>div{font-size:11px}
 body.contour-fullscreen .contour-point-summary span{font-size:10px}
 body.contour-fullscreen .contour-nudges{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.contour-fullscreen .contour-nudges button{min-height:48px}
 body.contour-fullscreen .is-contour-fullscreen #point-tools{grid-column:2;grid-row:4;align-content:center;padding:4px 10px;gap:4px;border-left:1px solid var(--line)}
 body.contour-fullscreen .point-navigation{position:absolute;left:16px;top:62px;width:calc(100% - 260px);grid-template-columns:44px 1fr 44px;pointer-events:auto;display:none}
 body.contour-fullscreen .point-actions{gap:5px}
 body.contour-fullscreen .is-contour-fullscreen #point-tools .point-actions button{font-size:12px;min-height:48px;padding-inline:3px}
 body.contour-fullscreen .is-contour-fullscreen .stage-controls{top:auto;bottom:4px;right:5px;transform:none}
 body.contour-fullscreen .is-contour-fullscreen .zoom{flex-direction:row}
 body.contour-fullscreen[data-contour-mode=rotate] .is-contour-fullscreen .stage{grid-column:1/-1}
 body.contour-fullscreen[data-contour-mode=rotate] .contour-editor-footer{display:none}
}

/* Free design is a primary choice; presets remain the quieter alternative. */
.form-discovery{margin:0 0 22px}.form-discovery .free-choice{margin:0 0 10px;padding:18px 20px;border:1px solid var(--olive);background:var(--olive);color:var(--paper);min-height:88px;gap:16px}.form-discovery .free-choice>svg{width:42px;height:46px;flex-basis:42px}.form-discovery .free-choice strong{font-size:18px;font-weight:600;line-height:1.3}.form-discovery .free-choice small{color:inherit;opacity:.9;font-size:13px;line-height:1.5}.form-discovery .free-choice:hover{background:var(--deep);border-color:var(--deep)}.form-discovery .free-choice[aria-pressed=true]{background:transparent;color:var(--olive);min-height:66px}.form-discovery .free-choice[aria-pressed=true]>svg{width:28px;height:32px;flex-basis:28px}.form-discovery .free-choice[aria-pressed=true] strong{font-size:15px}.form-templates-label{font-size:13px;color:var(--muted);margin-bottom:12px}.random-form-actions{display:flex;gap:10px;align-items:stretch}.random-form{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;min-height:48px;padding:11px 14px;border:1px solid var(--olive);border-radius:7px;background:transparent;color:var(--olive);font-size:15px;font-weight:550}.random-form:hover{background:#e8ecdf}.random-form svg{width:23px;height:23px;flex:0 0 23px}.random-undo{min-height:48px;padding:8px 12px;border:0;border-radius:7px;background:transparent;font-size:13px;color:var(--olive)}.random-form-feedback{font-size:12px;color:var(--muted);line-height:1.5;margin:8px 0 0;min-height:18px}
@media(max-width:760px){.form-discovery .free-choice{padding:16px;min-height:86px}.form-discovery .free-choice strong{font-size:17px}.form-discovery .free-choice small{font-size:12px}.random-form-actions{gap:4px}.random-undo{padding-inline:8px}.form-templates-label{margin-top:4px}}

/* Mobile split workspace: the live object stays above the scrolling settings. */
@media(max-width:760px), (pointer:coarse) and (max-height:600px){
 html:has(.workspace){height:100%;overflow:hidden;scroll-padding:0;scroll-behavior:auto}
 body:not(.contour-fullscreen){height:100svh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding-top:env(safe-area-inset-top,0px)}
 body:not(.contour-fullscreen)>.site-header{position:relative;top:auto;flex:0 0 auto}
 body:not(.contour-fullscreen) .header-inner{height:56px;padding:0 max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px))}
 body:not(.contour-fullscreen) .header-inner nav{display:none}
 body:not(.contour-fullscreen) .brand img{height:36px;width:36px;flex-basis:36px}
 body:not(.contour-fullscreen) .brand>span{font-size:18px}
 body:not(.contour-fullscreen) .brand small{font-size:9px}
 body:not(.contour-fullscreen) .bag span{display:none}
 body:not(.contour-fullscreen) .bag{min-width:44px;min-height:44px;justify-content:center}
 body:not(.contour-fullscreen)>main{flex:1;min-height:0;width:100%;max-width:none;padding:0;margin:0;display:flex;flex-direction:column}
 body:not(.contour-fullscreen) .intro{display:none}
 body:not(.contour-fullscreen) .workspace{flex:1;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:0;overflow:hidden}
 body:not(.contour-fullscreen) .stage-column{position:relative;top:auto;flex:0 0 auto;margin:0;padding:0;border-bottom:1px solid var(--line);background:var(--paper);z-index:1}
 body:not(.contour-fullscreen) .stage,
 body:not(.contour-fullscreen) .workspace.has-free .stage{height:clamp(170px,30svh,290px);min-height:0;border-radius:0}
 body:not(.contour-fullscreen) .vase-canvas,
 body:not(.contour-fullscreen) .workspace.has-free .vase-canvas{height:100%;inset:0;transform:none}
 body:not(.contour-fullscreen) .stage-top{top:8px;left:max(14px,env(safe-area-inset-left,0px));right:max(14px,env(safe-area-inset-right,0px))}
 body:not(.contour-fullscreen) .stage-controls{left:12px;right:12px;bottom:4px}
 body:not(.contour-fullscreen) .stage-controls #stage-hint{max-width:120px;font-size:10px}
 body:not(.contour-fullscreen) .zoom button{min-height:44px;width:44px;height:44px}
 body:not(.contour-fullscreen) .measurements{padding:6px 0;margin:0;border:0}
 body:not(.contour-fullscreen) .measurements dt{font-size:10px}
 body:not(.contour-fullscreen) .measurements dd{font-size:14px;margin-top:1px}
 body:not(.contour-fullscreen) .stage-column>.stand-meter,
 body:not(.contour-fullscreen) .stage-column>.input-correction{margin:0;padding:4px 14px;font-size:11px;min-height:0}
 body:not(.contour-fullscreen) .stage-column>#point-tools{display:none}
 body:not(.contour-fullscreen) .builder{position:relative;flex:1;display:flex;flex-direction:column;min-height:0;height:auto;max-height:none;padding:8px max(14px,env(safe-area-inset-right,0px)) 0 max(14px,env(safe-area-inset-left,0px));overflow:hidden;scroll-margin:0}
 body:not(.contour-fullscreen) .builder>.generator-help-open{position:absolute;right:max(14px,env(safe-area-inset-right,0px));top:6px;width:44px;min-height:44px;margin:0;padding:0;font-size:0;z-index:2}
 body:not(.contour-fullscreen) .builder>.generator-help-open:before{content:'?';font-size:18px}
 body:not(.contour-fullscreen) .steps{flex:0 0 auto;padding:0 48px 6px 0;margin:0 0 10px;gap:0}
 body:not(.contour-fullscreen) .steps button{flex:1;min-height:44px;min-width:0;gap:3px;flex-direction:column;justify-content:center;font-size:10px;white-space:normal;text-align:center}
 body:not(.contour-fullscreen) .steps button>span{width:20px;height:20px;flex-basis:20px;font-size:10px}
 body:not(.contour-fullscreen) .step-content{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scroll-padding-block:12px;padding:0 3px 16px;scrollbar-width:thin;scrollbar-color:#b6bfaa transparent}
 body:not(.contour-fullscreen) .step-heading h2{font-size:22px;scroll-margin-top:12px}
 body:not(.contour-fullscreen) .step-heading p{font-size:13px}
 body:not(.contour-fullscreen) .builder>.check-line{flex:0 0 auto;min-height:28px;margin:2px 0;font-size:11px}
 body:not(.contour-fullscreen) .builder-actions{position:relative;inset:auto;flex:0 0 auto;gap:6px;row-gap:5px;padding:7px 0 max(8px,env(safe-area-inset-bottom,0px));margin:0;border-top:1px solid var(--line);background:var(--paper);z-index:2}
 body:not(.contour-fullscreen) .live-price{padding:0;border:0;flex-basis:100%}
 body:not(.contour-fullscreen) .live-price>div{gap:6px}
 body:not(.contour-fullscreen) .live-price strong{font-size:20px}
 body:not(.contour-fullscreen) .live-price p{font-size:10px;line-height:1.35;margin-top:2px}
 body:not(.contour-fullscreen) .live-price small{font-size:10px}
 body:not(.contour-fullscreen) .builder-actions button{min-height:44px;padding:10px 12px;font-size:13px}
 body:not(.contour-fullscreen) .builder>button.restore-design{min-height:32px;padding-block:4px;margin:0;font-size:11px}
}
@media(max-height:600px) and (max-width:760px), (max-height:600px) and (pointer:coarse){
 body:not(.contour-fullscreen) .header-inner{height:44px}
 body:not(.contour-fullscreen) .brand small{display:none}
 body:not(.contour-fullscreen) .stage,
 body:not(.contour-fullscreen) .workspace.has-free .stage{height:clamp(95px,26svh,150px)}
 body:not(.contour-fullscreen) .measurements{padding:3px 0}
 body:not(.contour-fullscreen) .measurements dt{display:none}
 body:not(.contour-fullscreen) .measurements dd{font-size:12px;margin:0}
 body:not(.contour-fullscreen) .builder{padding-top:2px}
 body:not(.contour-fullscreen) .steps{padding-bottom:2px;margin-bottom:4px}
 body:not(.contour-fullscreen) .builder>.generator-help-open{top:2px}
 body:not(.contour-fullscreen) .builder>.check-line{min-height:20px;font-size:10px;margin:0}
 body:not(.contour-fullscreen) .builder-actions{padding-top:3px;row-gap:2px}
 body:not(.contour-fullscreen) .live-price p{display:none!important}
 body:not(.contour-fullscreen) .stage-controls #stage-hint{display:none}
}

/* Complete the existing button families without changing their size or layout. */
.steps button{border-radius:6px}
body :is(.size-options,.density-presets) button:not(:disabled):hover,
body .steps button:not(:disabled):hover,
body :is(.generator-help-open,.generator-help header button,.random-undo):not(:disabled):hover,
body .stage-controls>button:not(:disabled):hover,
body .contour-modes button:not(:disabled):hover,
body .contour-nudges button:not(:disabled):hover,
body.contour-fullscreen .contour-point-summary>button:not(:disabled):hover,
body.contour-fullscreen .contour-editor-header #contour-editor-undo:not(:disabled):hover,
body.contour-fullscreen .is-contour-fullscreen #point-tools .point-actions button:not(:disabled):hover,
body:not(.contour-fullscreen) .builder>.settings-scroll-more:not([hidden]):not(:disabled):hover{background:#ecefe4;border-color:var(--olive);color:var(--deep)}
body :is(.size-options,.density-presets,.contour-modes) button[aria-pressed=true]:not(:disabled):hover{background:#dce3d2;border-color:var(--deep);color:var(--deep)}
body .steps button[aria-current]:not(:disabled):hover{background:#e8ecdf}
body .surface-recommendation button:not(:disabled):hover,
body .contour-editor-header #contour-editor-done:not(:disabled):hover,
body.contour-fullscreen .is-contour-fullscreen #point-tools .point-actions button:first-child:not(:disabled):hover{background:var(--deep);border-color:var(--deep);color:var(--paper)}
body .form-discovery .free-choice[aria-pressed=true]:not(:disabled):hover{background:#e8ecdf;border-color:var(--deep);color:var(--deep)}
body :is(.size-options,.density-presets,.segments,.skin-grid,.colors,.contour-modes,.contour-nudges) button:not(:disabled):active,
body :is(.back,.generator-help-open,.generator-help header button,.random-form,.random-undo,.settings-scroll-more):not(:disabled):active,
body .stage-controls button:not(:disabled):active,
body.contour-fullscreen .contour-point-summary>button:not(:disabled):active,
body.contour-fullscreen .contour-editor-header #contour-editor-undo:not(:disabled):active,
body.contour-fullscreen .is-contour-fullscreen #point-tools .point-actions button:not(:disabled):active{background:#dce3d2;border-color:var(--deep);color:var(--deep)}
body:not(.contour-fullscreen) .builder>.settings-scroll-more:not([hidden]):not(:disabled):active{background:#dce3d2;border-color:var(--deep);color:var(--deep)}
body .primary:not(:disabled):active,
body .surface-recommendation button:not(:disabled):active,
body .contour-editor-header #contour-editor-done:not(:disabled):active,
body.contour-fullscreen .is-contour-fullscreen #point-tools .point-actions button:first-child:not(:disabled):active{background:var(--deep);border-color:var(--deep);color:var(--paper)}
body .primary:disabled:hover{background:var(--olive);border-color:var(--olive);color:var(--paper)}
@media(max-width:760px),(pointer:coarse) and (max-height:600px){
 body:not(.contour-fullscreen) .builder>button.restore-design{min-height:44px}
}
