@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f5f4f0;--ink:#253b34;--muted:#7a827a;--line:#e3e5df;--green:#21644c;--orange:#c58150}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,Arial,sans-serif;font-size:13px}button,input{font:inherit}button{cursor:pointer}header{height:79px;display:flex;align-items:center;padding:0 4%;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:18px;letter-spacing:2px;font-weight:800}.brand small{font-size:9px;letter-spacing:1.4px;font-weight:500;border-left:1px solid #ccc;padding-left:16px;margin-left:8px}.logo{font-size:32px;color:var(--green)}.badge{font-size:9px;letter-spacing:1px;background:#e8ebe4;padding:7px 10px;border-radius:5px}.privacy{margin-left:auto;font-size:11px;color:var(--muted)}main{max-width:1560px;margin:auto;padding:36px 4%}.intro{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--green);font-weight:700;margin-bottom:13px}h1{font-size:42px;letter-spacing:-1.6px;line-height:1.15;font-weight:600;margin:0}h1 span{color:#849087}.intro p{color:var(--muted);line-height:1.8;font-size:13px;margin-bottom:3px}.workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px}aside{display:flex;flex-direction:column;gap:14px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}.step{display:flex;align-items:center;gap:11px;font-size:11px;color:#9ba49b;margin-bottom:19px}h2{font-size:13px;font-weight:700;margin:0;color:var(--ink)}.step>span{margin-left:auto}.upload{border:1px dashed #bbcbbf;background:#f7faf6;border-radius:8px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px 8px;gap:8px;cursor:pointer}.upload:hover,.upload.drag{background:#edf5ea;border-color:var(--green)}.upload input{display:none}.upload-icon{font-size:24px;font-weight:400;color:var(--green)}.upload strong{font-size:12px}.upload small{font-size:9px;color:var(--muted)}.text-button{padding:14px 0 0;background:none;border:0;color:var(--green);font-size:11px}.field{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0}.field label{font-size:11px}.field label small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.field input{width:70px;min-width:70px;border:1px solid #dce2db;border-radius:6px;background:#fafbf8;padding:9px 5px;text-align:center;color:var(--ink)}.field input:focus{outline:2px solid #99b9a9}.hint{font-size:10px;color:var(--muted);line-height:1.7;border-top:1px solid var(--line);padding-top:12px}.viewer-wrap{min-width:0}.viewer-bar{height:49px;border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:#fff;font-size:9px;letter-spacing:1px}.viewer-bar i{display:inline-block;background:#679e78;width:6px;height:6px;border-radius:100%;margin-right:7px}.viewer-bar button{border:1px solid var(--line);background:white;padding:6px 9px;border-radius:5px;font-size:10px;color:var(--ink);letter-spacing:0}.canvas-wrap{height:485px;position:relative;background:#ecefe9;border:1px solid var(--line);overflow:hidden}canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}canvas:active{cursor:grabbing}.empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.empty>span{font-size:55px;color:#a6b4a9}.empty h3{font-size:17px;margin:15px 0 0;font-weight:500}.empty p{font-size:11px;color:var(--muted)}.legend{position:absolute;bottom:20px;left:20px;display:flex;gap:18px;font-size:9px;color:#6a786e;pointer-events:none}.legend b{display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:5px}.green{background:#669b80}.orange{background:var(--orange)}.controls-hint{position:absolute;right:16px;bottom:20px;font-size:9px;color:#8b958c;pointer-events:none}.results{display:grid;grid-template-columns:1.6fr 1fr 1fr;padding:25px 22px;background:white;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;gap:14px}.results>div+div{border-left:1px solid var(--line);padding-left:22px}.results small{font-size:8px;letter-spacing:1px;color:var(--muted);display:block;margin-bottom:9px}.results strong{font-weight:600;font-size:22px;letter-spacing:-.6px}.results em{font-size:11px;font-style:normal;font-weight:400;color:var(--muted)}.export{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0 8px}.export strong{font-size:12px}.export p{font-size:10px;color:var(--muted);margin:7px 0}.export button{border:0;background:var(--green);color:white;padding:17px 20px;border-radius:8px;font-size:12px;white-space:nowrap}.export button span{margin-left:18px}.export button:disabled{opacity:.4;cursor:default}.footnote{font-size:10px;color:var(--muted);line-height:1.7;max-width:700px}.model{padding:12px 0;border-bottom:1px solid var(--line)}.model-head{display:flex;align-items:center;gap:8px;font-size:11px}.model-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.model-head button{border:0;background:none;color:#a67f6e}.model-meta{font-size:9px;color:var(--muted);margin:8px 0}.model-actions{display:flex;align-items:center;gap:5px}.model-actions button{background:#f4f6f1;border:1px solid var(--line);border-radius:4px;font-size:9px;padding:5px;color:var(--ink)}.model-actions input{width:54px;padding:4px;border:1px solid var(--line);border-radius:4px;font-size:10px}.model-actions label{font-size:9px;margin-right:auto}#status{font-size:12px;line-height:1.7;color:var(--green);padding:10px 0}button:hover:not(:disabled){filter:brightness(.94)}@media(min-width:1500px){.canvas-wrap{height:570px}}@media(max-width:1000px){.workspace{grid-template-columns:280px minmax(0,1fr)}.controls-hint{display:none}.results strong{font-size:17px}.results{padding:18px 12px}.results>div+div{padding-left:12px}.export{flex-direction:column;align-items:stretch}.export button{text-align:center}}@media(max-width:700px){header{height:65px}.privacy,.brand small,.badge{display:none}main{padding-top:25px}.intro p{display:none}h1{font-size:34px}.workspace{display:flex;flex-direction:column}aside{display:grid;grid-template-columns:1fr}.viewer-wrap{order:-1}.canvas-wrap{height:340px}.results small{font-size:7px;letter-spacing:.4px}.results strong{font-size:15px}.panel{padding:16px}.intro{margin-bottom:20px}.export{padding-top:10px}.legend{bottom:12px}.footnote{font-size:9px}}

#status:not(:empty){background:#edf4ec;border:1px solid #cbdcc9;border-radius:6px;padding:10px;margin-top:12px;font-size:10px;overflow-wrap:anywhere}.upload.busy{opacity:.6;cursor:progress}.upload.busy .upload-icon{animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.2}}

[hidden]{display:none!important}.mode-switch{display:flex;background:#f1f4ee;border-radius:7px;padding:3px;gap:3px;margin:0 0 18px}.mode-switch button{flex:1;border:0;background:none;font-size:10px;color:#6b7c70;padding:10px 3px;border-radius:5px}.mode-switch button[aria-pressed="true"]{background:#fff;color:var(--green);box-shadow:0 1px 4px #203d3412;font-weight:700}.field select{max-width:138px;background:#fafbf8;color:var(--ink);padding:8px 5px;border:1px solid #dce2db;border-radius:5px;font-size:10px}.build-button{width:100%;background:var(--green);color:#fff;border:0;border-radius:7px;padding:13px 8px;margin-top:16px;font-size:11px}.build-button:disabled{opacity:.4;cursor:default}.mini-badge{background:#e8efe4;color:var(--green);font-size:8px;letter-spacing:1px;padding:4px 7px;border-radius:3px}.shell-view{padding:13px 18px;border:1px solid var(--line);border-top:0;display:flex;align-items:center;gap:13px;background:#fff;font-size:10px}.shell-view label{display:flex;align-items:center;gap:5px;white-space:nowrap}.shell-view label:nth-of-type(2){margin-left:auto}.shell-view input[type="range"]{width:110px;accent-color:var(--green)}.shell-view input[type="checkbox"]{accent-color:var(--green)}.shell-info{font-size:11px;line-height:1.8;padding:14px 18px;border:1px solid #cfdfce;border-radius:8px;margin-top:16px;background:#edf4ec;color:var(--green)}.shell-info strong{font-weight:700}.shell-info small{display:block;color:var(--muted);font-size:10px;margin-top:4px}@media(max-width:700px){.shell-view{flex-wrap:wrap;gap:8px}.shell-view label:nth-of-type(2){margin-left:0}.shell-view input[type="range"]{width:80px}}

.fastening-settings{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin:17px 0}.check-field{display:flex;align-items:center;gap:7px;font-weight:700;font-size:11px;cursor:pointer}.check-field input{accent-color:var(--green)}#bolt-hint{font-size:9px;padding-top:10px}.fastening-settings .field:last-of-type{margin-bottom:12px}

.cut-editor-heading{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:11px}.cut-editor-heading span{color:var(--green);font-size:10px}.cut-presets{display:flex;align-items:center;gap:5px;margin:12px 0}.cut-presets button{border:1px solid #d5dfd2;color:var(--green);border-radius:4px;background:#fff;padding:5px 9px;font-size:10px}.cut-presets span{font-size:9px;color:var(--muted);margin-left:2px}#cut-top,#cut-side{background:#f0f3ec;width:100%;height:245px;display:block;border:1px solid var(--line);border-radius:8px;touch-action:none;cursor:crosshair}#cut-side{height:190px;margin-top:12px}.cut-help{font-size:9px;line-height:1.65;color:var(--muted);margin:9px 0}.cut-origin{display:flex;align-items:end;gap:7px;margin:13px 0}.cut-origin label{font-size:9px;color:var(--muted)}.cut-origin input{display:block;width:62px;border:1px solid var(--line);border-radius:4px;padding:6px;margin-top:4px;background:#fafbf8;color:var(--ink)}.cut-origin button{font-size:9px;padding:8px 6px;border:1px solid var(--line);background:#fff;border-radius:4px;color:var(--green)}.cut-origin button[aria-pressed="true"]{background:#d8ead8}.cut-ray{display:flex;align-items:center;gap:8px;font-size:10px;margin:6px 0}.cut-ray>span{width:53px}.cut-ray input{width:70px;background:#fafbf8;color:var(--ink);border:1px solid var(--line);border-radius:4px;padding:6px}.cut-ray button{margin-left:auto;background:none;border:0;color:#99775d;font-size:15px}.cut-side{border-top:1px solid var(--line);margin:15px 0;padding-top:15px}#cut-note:empty{display:none}

@media(min-width:701px){.viewer-wrap{position:sticky;top:14px;align-self:start}}

.download-settings{background:white;border:1px solid var(--line);border-radius:9px;padding:6px 18px 14px;margin-top:16px}.download-settings .field select{max-width:210px;font-size:11px;padding:8px}.blue{background:#91a8b7}#tray-fields{margin-top:15px}#download-zip{padding-top:5px;font-size:10px}#tray-legend{white-space:nowrap}@media(min-width:701px){.viewer-wrap{position:sticky;top:10px;max-height:calc(100vh - 20px);overflow-y:auto;scrollbar-width:thin}}
/* Project workspace */
.project-toolbar{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 20px;margin:0 0 14px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.project-title{display:flex;align-items:center;gap:10px;flex:1;min-width:210px}.project-title label{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.project-title input{border:0;border-bottom:1px solid #dbe4da;padding:7px 2px;font-family:inherit;font-size:14px;font-weight:600;color:var(--ink);min-width:140px;width:100%;max-width:280px;background:transparent}.project-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.project-actions button,.draft-notice button{border:1px solid #d6e0d5;border-radius:6px;background:#f8faf6;color:var(--green);padding:9px 12px;font-size:11px}.project-actions button.primary-outline{border-color:var(--green);font-weight:600}.project-actions button:disabled{opacity:.35;cursor:default}.toolbar-divider{height:20px;border-left:1px solid var(--line);margin:0 4px}.draft-controls{flex-basis:100%;display:flex;align-items:center;gap:14px;font-size:10px;color:var(--muted);flex-wrap:wrap}.draft-controls label{display:flex;align-items:center;gap:5px;color:var(--ink)}.draft-controls input{accent-color:var(--green)}.draft-controls button{background:none;border:0;text-decoration:underline;color:var(--muted);font-size:10px;margin-left:auto}.draft-controls button:disabled{opacity:.35;cursor:default}.project-help{margin:0;font-size:10px;line-height:1.6;color:var(--muted);flex-basis:100%;max-width:950px}.editor-sections{display:flex;gap:8px;border-bottom:1px solid var(--line);margin:20px 0 18px;padding:0 0 12px}.editor-sections button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;background:transparent;color:var(--muted);font-size:11px;padding:12px 20px;border-radius:7px}.editor-sections button[aria-selected="true"]{color:#fff;background:var(--green);box-shadow:0 3px 8px #254a3520}.editor-sections button:focus-visible{outline:2px solid #bd8a50;outline-offset:3px}.section-inactive{display:none!important}.draft-notice{display:flex;gap:12px;align-items:center;background:#edf4ec;border:1px solid #b8cdb6;padding:16px 20px;border-radius:10px;margin:12px 0}.draft-notice>div{flex:1}.draft-notice strong{font-size:13px}.draft-notice p{font-size:11px;margin:5px 0 0;color:var(--muted)}.draft-notice button:first-of-type{background:var(--green);color:#fff}.build-dock .build-button{margin-top:12px}.build-dock .text-button{display:block}.build-dock .hint{margin-bottom:4px}main>#status{margin:0 0 16px;padding:0}main>#status:not(:empty){padding:10px 14px}#export-pane .download-settings{margin-top:18px}.intro{margin-bottom:24px}
@media(max-width:700px){.project-toolbar{padding:12px;gap:10px}.project-title{flex-basis:100%}.project-actions{width:100%}.project-actions button{padding:9px;font-size:10px;flex:1}.toolbar-divider{display:none}.draft-controls{gap:8px}.draft-controls #project-status{flex-basis:100%;order:3}.editor-sections{gap:2px}.editor-sections button{flex:1;padding:10px 6px;gap:5px;font-size:10px}.draft-notice{flex-wrap:wrap;padding:12px}.draft-notice>div{flex-basis:100%}.viewer-wrap{max-height:none}.workspace aside{gap:14px}}
.tool-nav{display:flex;align-items:center;gap:16px;margin-left:30px;font-size:11px}.tool-nav a{color:var(--muted);text-decoration:none}.tool-nav a[aria-current]{color:var(--green);font-weight:700}.tool-cards{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:36px}.tool-card{display:block;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;text-decoration:none;color:var(--ink);transition:transform .15s,border-color .15s}.tool-card:hover{transform:translateY(-3px);border-color:#8eae96}.tool-card:focus-visible{outline:3px solid var(--green);outline-offset:4px}.tool-art{height:255px;display:flex;align-items:center;justify-content:center;background:#e9eee6}.contour-art{background:#e7edea}.tool-art svg{height:100%;width:100%;max-width:420px}.tool-card-body{padding:28px 30px}.tool-card h2{font-size:25px;margin:12px 0;letter-spacing:-.5px}.tool-card p{font-size:13px;line-height:1.8;color:var(--muted);min-height:48px}.tool-card ul{padding-left:17px;font-size:12px;line-height:2;color:#62756b;margin:20px 0 24px}.tool-enter{border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;color:var(--green)}.tool-enter b{font-size:22px}.home-note{font-size:12px;line-height:1.8;color:var(--muted);margin:28px 0 50px;max-width:800px}.surface-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}#canvas{position:relative;z-index:1;background:transparent}.legend,.controls-hint{z-index:2;pointer-events:none}.preview-quality{font-size:10px;display:inline-flex;align-items:center;gap:4px;color:var(--muted);margin-right:9px}.preview-quality input{accent-color:var(--green)}.viewer-bar>div{display:flex;align-items:center;gap:6px}
@media(max-width:950px){header .badge{display:none}.tool-nav{margin-left:12px;gap:10px}.privacy{display:none}.preview-quality{font-size:9px}.viewer-bar{flex-wrap:wrap;gap:8px}.tool-card-body{padding:22px}}
@media(max-width:700px){.tool-cards{grid-template-columns:1fr;gap:20px;margin-top:24px}.tool-art{height:210px}.tool-card h2{font-size:22px}.tool-nav{font-size:10px;margin-left:auto}.tool-nav a:first-child{display:none}.tool-home .intro p{display:block;margin-top:16px}.tool-home .intro{display:block}.tool-card p{min-height:0}.preview-quality{margin-right:2px}.viewer-bar>div{flex-wrap:wrap}}

.tool-home .tool-card-body{padding:22px 26px;text-align:center}.tool-home .tool-card h2{margin:0;font-size:23px}.tool-home .tool-art{height:280px}@media(max-width:700px){.tool-home .tool-art{height:210px}.tool-home .tool-card h2{font-size:21px}.tool-home .tool-card-body{padding:18px}}
.tool-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-home .tool-art{height:240px}.tool-home .tool-card h2{font-size:21px}.planter-art{background:#e8ede4}.object-select{display:block;margin-top:12px;font-size:10px;color:var(--muted)}.object-select select{display:block;margin-top:6px;width:100%;max-width:100%;border:1px solid var(--line);border-radius:5px;background:#fafbf8;color:var(--ink);padding:8px;font-size:11px}.pot-intro{margin-bottom:14px}@media(max-width:900px){.tool-cards{grid-template-columns:1fr}.tool-home .tool-art{height:210px}}header .tool-nav{gap:12px}

.main-cut-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px;background:#edf4ec;border:1px solid #cbdcc9;font-size:11px}.main-cut-toolbar button,.cut-launcher{border:1px solid #b9ccbf;border-radius:5px;padding:8px;background:#fff;color:#21644c;font-size:11px}.main-cut-toolbar button[aria-pressed="true"]{background:#21644c;color:#fff}.main-cut-toolbar span{flex-basis:100%;font-size:10px;color:#68796d}.cut-launcher{width:100%;margin:4px 0 10px}#cut-top.main-cut-canvas,#cut-side.main-cut-canvas{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0;border-radius:0;background:transparent;z-index:4;cursor:crosshair}.main-cut-toolbar button:disabled{opacity:.4}
/* Compact full-width tool selection. */
.tool-home{height:100dvh;overflow:hidden}.tool-home header{height:48px;padding:0 16px}.tool-home main{max-width:none;width:100%;height:calc(100dvh - 48px);padding:24px 20px;display:flex;flex-direction:column;justify-content:center;gap:24px}.tool-home .intro{margin:0}.tool-home h1{font-size:34px}.tool-home .eyebrow{margin-bottom:9px}.tool-home .tool-cards{margin:0;gap:18px}.tool-home .tool-art{height:clamp(150px,35dvh,360px)}.tool-home .tool-card-body{padding:20px 14px}.tool-home .tool-card h2{font-size:20px}
@media(max-width:900px){.tool-home main{padding:12px;gap:12px}.tool-home h1{font-size:25px}.tool-home .intro p{display:none}.tool-home .tool-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tool-home .tool-art{height:clamp(110px,30dvh,260px)}.tool-home .tool-card h2{font-size:15px}.tool-home .tool-card-body{padding:12px 8px}}
@media(max-width:550px){.tool-home main{justify-content:start}.tool-home .brand small{display:none}.tool-home .tool-cards{grid-template-columns:1fr;gap:10px;flex:1;min-height:0}.tool-home .tool-card{display:grid;grid-template-columns:38% 1fr;align-items:center;min-height:0}.tool-home .tool-art{height:100%;max-height:160px}.tool-home .tool-card-body{padding:10px}.tool-home .tool-card h2{font-size:17px}.tool-home .intro br{display:none}}

/* Four tool families share one compact landing screen. */
.tool-home .tool-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.ceramic-art{background:#eeede3}@media(max-width:900px) and (min-width:551px){.tool-home .tool-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-home .tool-art{height:clamp(100px,22dvh,210px)}}@media(max-width:550px){.tool-home .tool-cards{grid-template-columns:1fr}.tool-home .tool-art{max-height:120px}}
/* Optimized section covers, with the complete form visible at every size. */
.tool-home .tool-art:has(>img){background:#eef0f0;overflow:hidden}
.tool-home .tool-art>img{display:block;width:100%;height:100%;object-fit:contain}
.tool-home .tool-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tool-home main{gap:14px;padding:14px 20px}.tool-home .tool-art{height:clamp(100px,25dvh,270px)}.tool-home .tool-card-body{padding:12px}.tool-home .tool-card h2{font-size:18px;margin:0}.tool-home h1{font-size:28px}
@media(max-width:900px) and (min-width:551px){.tool-home .tool-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-home .tool-card h2{font-size:14px}}
@media(max-width:550px){.tool-home .tool-cards{grid-template-columns:1fr;gap:6px}.tool-home .tool-art{height:100%}.tool-home .tool-card h2{font-size:14px}.tool-home .tool-card-body{padding:8px}}
