@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#233a30;background:#f8f9f5;font-synthesis:none;--ink:#233a30;--line:#dce3d8;--green:#b9ed7a}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.35}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #6b9146;outline-offset:4px}button{transition:background .18s,transform .18s}button:hover:not(:disabled){background:#e9efdf}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.topbar{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 40px;gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font:800 21px 'Manrope',sans-serif;letter-spacing:-.8px}.brandmark{background:var(--green);width:43px;height:43px;border-radius:15px 15px 18px 10px;font-size:31px;display:grid;place-items:center;line-height:1}.brand small{display:block;font:400 12px 'DM Sans',sans-serif;letter-spacing:0;margin-top:3px;color:#748074}.modes,.segmented{display:flex;background:#edf0e8;border:1px solid #e0e6db;border-radius:100px;padding:4px;gap:3px}.modes button{padding:10px 26px;border-radius:100px;font-size:14px}.modes span{margin-left:8px}.modes .selected,.segmented .selected{background:#fff;box-shadow:0 2px 5px #2639220b}.primary{border-radius:100px;background:var(--ink);color:white;padding:13px 22px;font-weight:500;font-size:14px}.primary:hover:not(:disabled){background:#3c5747}.primary>span{font-size:20px;margin-right:9px}.workspace{display:grid;grid-template-columns:235px minmax(360px,1fr) 300px;min-height:calc(100vh - 147px);max-width:1800px;margin:auto}.shape-panel{padding:36px 22px 22px 32px;border-right:1px solid var(--line);display:flex;flex-direction:column}.section-kicker{font-size:11px;letter-spacing:1.8px;font-weight:600;color:#7b887b}h1,h2{font-family:'Manrope',sans-serif;font-size:29px;font-weight:500;letter-spacing:-1.4px;line-height:1.22;margin:15px 0 12px}.intro{font-size:14px;color:#7b8578;margin:0 0 25px}.shape-list{display:grid;gap:9px}.shape-card{display:flex;align-items:center;text-align:left;gap:11px;border:1px solid transparent;border-radius:15px;padding:7px;min-height:65px}.shape-card.selected{background:#edf2e5;border-color:#9db38a}.shape-card img{width:52px;height:52px;object-fit:contain}.shape-card strong{font-size:15px;font-weight:600;display:block}.shape-card small{font-size:11px;color:#778473;display:block;margin-top:4px;line-height:1.4}.small-note{margin-top:auto;padding-top:28px;display:flex;gap:13px;color:#7e8a7b;align-items:center}.small-note>span{font-size:31px}.small-note p{font-size:12px;line-height:1.6}.stage{position:relative;background:radial-gradient(ellipse at 50% 40%,#f3f7ec 0%,#e8efdd 75%);min-height:650px;overflow:hidden;display:flex;flex-direction:column}.stage:before{content:'';position:absolute;inset:0;opacity:.15;background-image:radial-gradient(#879b71 .7px,transparent .7px);background-size:24px 24px;pointer-events:none}.stage-heading{position:absolute;top:30px;left:30px;right:30px;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:10px}.live-label{font-size:10px;letter-spacing:1.8px;color:#7b8a72}.badge{border:1px solid #ccd8bd;border-radius:100px;padding:7px 11px;font-size:11px;color:#60724f;background:#f1f5e986}#viewport{position:absolute;inset:52px 0 145px}#scene{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}#renderError{position:absolute;inset:25%;font-size:16px;line-height:1.6} .stage-caption{position:absolute;left:30px;right:30px;bottom:171px;display:flex;justify-content:space-between;color:#788b6a;font-size:11px;letter-spacing:1.4px}.stage-bottom{margin-top:auto;position:relative;z-index:1;text-align:center;padding:0 16px 25px}.stage-bottom p{font-size:15px;margin:12px 0 20px;color:#5a704c}.tools{display:inline-flex;border:1px solid #d4deca;border-radius:100px;padding:5px;background:#ffffffc7;box-shadow:0 7px 24px #344d2210;gap:1px}.tools button{border-radius:100px;font-size:12px;padding:11px 10px;white-space:nowrap}.tools button>span{font-size:18px;margin-right:5px;vertical-align:middle}.tools .selected{background:var(--ink);color:#fff}.tools .selected:hover{background:#3e5a44}.tools .reset{font-size:22px;padding:3px 12px;border-left:1px solid #dde3d7;border-radius:0 100px 100px 0;margin-left:4px}.stage-bottom small{display:block;margin-top:14px;font-size:11px;color:#829373}.editor{padding:32px 25px 22px;border-left:1px solid var(--line)}.editor h2{font-size:26px;margin-bottom:24px}.control-section{padding-bottom:17px;margin-bottom:17px;border-bottom:1px solid var(--line)}h3{font-size:14px;font-weight:500;margin:0 0 11px}.segmented{border-radius:10px}.segmented button{flex:1;border-radius:7px;font-size:14px;padding:8px}.label-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.label-row h3{margin:0}.custom-color{position:relative;display:grid;place-items:center;width:23px;height:23px;border:1px solid var(--line);border-radius:50%;overflow:hidden;cursor:pointer}.custom-color input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.swatches{display:flex;justify-content:space-between;gap:6px}.swatches button{width:28px;height:28px;border-radius:50%;background:var(--swatch);border:3px solid #f8f9f5;box-shadow:0 0 0 1px transparent}.swatches button.selected{box-shadow:0 0 0 1.5px var(--ink)}.swatches button:hover{background:var(--swatch);transform:scale(1.1)}.range-label{display:flex;justify-content:space-between;font-size:13px;margin-bottom:5px}.range-label output{color:#8b9485;font-size:12px;font-variant-numeric:tabular-nums}input[type=range]{width:100%;accent-color:#48633e;height:15px;margin:0 0 9px;cursor:pointer}.range-label:not(:first-child){margin-top:4px}.prints{display:flex;gap:7px}.prints button{font-size:21px;background:#eff2e9;border:1px solid transparent;border-radius:8px;flex:1;padding:5px}.prints .selected,.fillings .selected{border-color:#789663;background:#e9f0df}#accent{width:22px;height:22px;border:0;padding:0;background:none;cursor:pointer}#printText{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;margin-top:12px;font-size:14px}.fillings{display:grid;grid-template-columns:1fr 1fr;gap:7px}.fillings button{padding:8px 5px;border:1px solid var(--line);border-radius:8px;font-size:13px}.range-ends{display:flex;justify-content:space-between;font-size:11px;color:#8b9485}.cut-setting{display:flex;justify-content:space-between;align-items:center;gap:10px}.cut-setting label{cursor:pointer}.cut-setting strong{display:block;font-size:14px;font-weight:500}.cut-setting span{display:block;font-size:11px;color:#85917c;margin-top:5px}.cut-setting input{appearance:none;width:38px;height:23px;flex-shrink:0;border-radius:100px;background:#c5cdbe;position:relative;cursor:pointer;transition:background .2s}.cut-setting input:checked{background:#48633e}.cut-setting input:before{content:'';position:absolute;width:17px;height:17px;top:3px;left:3px;background:#fff;border-radius:50%;transition:transform .2s}.cut-setting input:checked:before{transform:translateX(15px)}.foam-note{font-size:12px;color:#7b8874}.editor-title{display:block}footer{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#84917c;padding:15px 32px;border-top:1px solid var(--line)}.dot-separator{margin:0 10px}body.play-mode .editor{display:none}body.play-mode .workspace{grid-template-columns:235px 1fr}body.play-mode .stage{min-height:calc(100vh - 147px)}body.play-mode .stage #viewport{inset:45px 0 150px}dialog{color:var(--ink);border:1px solid var(--line);border-radius:25px;padding:35px;max-width:470px;width:calc(100% - 32px);max-height:90vh;box-shadow:0 30px 100px #17321f30;text-align:center;background:#fafbf7}dialog::backdrop{background:#1b2d235c;backdrop-filter:blur(5px)}dialog h2{font-size:32px}dialog p{font-size:14px;line-height:1.6;color:#778571}dialog .close{position:absolute;right:12px;top:10px;font-size:27px;width:35px;height:35px;border-radius:50%}dialog label{display:block;text-align:left;font-size:12px;margin:20px 0 7px}#qr{width:200px!important;height:200px!important;border:1px solid var(--line);border-radius:12px;padding:5px;background:white}.link-row{display:flex;gap:8px}.link-row input{min-width:0;flex:1;border:1px solid var(--line);border-radius:10px;background:#eff3e8;color:var(--ink);padding:10px;font-size:12px}.link-row button{border-radius:10px}.share-actions{display:flex;justify-content:center;gap:10px;margin-top:15px}.share-actions button{font-size:14px;padding:10px;border-radius:8px}dialog .local-warning{font-size:12px;color:#8a6a22;background:#fff3d7;padding:10px;border-radius:10px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#233a30;color:#fff;border-radius:12px;padding:12px 20px;font-size:14px;z-index:10;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){.workspace{grid-template-columns:270px 1fr 330px}.shape-panel{padding:40px 28px 25px 38px}.editor{padding:36px 32px}.stage-heading{top:35px}.shape-card{min-height:76px}.shape-card img{width:61px;height:61px}.shape-list{gap:12px}}
@media(max-width:1100px){.workspace{grid-template-columns:185px minmax(280px,1fr) 265px}.shape-panel{padding:30px 12px}.shape-card{gap:7px}.shape-card img{width:43px;height:43px}.shape-card small{font-size:10px}.editor{padding:30px 19px}.stage-heading{left:20px;right:20px;align-items:flex-start;flex-direction:column}.tools button{font-size:0;padding:9px}.tools button>span{font-size:21px;margin:0}.stage-bottom p{font-size:13px}h1{font-size:26px}.intro{font-size:12px}}
@media(max-width:760px){.topbar{height:78px;padding:0 17px;gap:8px}.brand{font-size:17px;gap:8px}.brandmark{width:35px;height:35px;font-size:26px}.brand small{display:none}.modes button{padding:8px 11px;font-size:12px}.modes span{display:none}.topbar>.primary{font-size:0;padding:8px 13px}.topbar>.primary span{font-size:23px;margin:0}.workspace{display:flex;flex-direction:column}.shape-panel{order:1;padding:22px 18px 16px;border-right:0;border-bottom:1px solid var(--line)}.shape-panel .section-kicker{font-size:10px}.shape-panel h1{font-size:21px;margin:8px 0 15px}.shape-panel h1 br{display:none}.intro,.small-note{display:none}.shape-list{grid-template-columns:repeat(6,1fr);gap:5px}.shape-card{padding:5px 2px;display:flex;flex-direction:column;gap:5px;border-radius:10px;min-height:74px}.shape-card img{width:42px;height:42px}.shape-card strong{font-size:11px;font-weight:500}.shape-card small{display:none}.stage{order:2;min-height:485px}.stage-heading{top:20px;flex-direction:row}.stage-heading .live-label{font-size:9px;max-width:100px;line-height:1.6}.badge{font-size:10px}#viewport{inset:30px 0 125px}.stage-caption{bottom:132px;left:21px;right:21px;font-size:10px}.stage-bottom{padding-bottom:16px}.stage-bottom p{font-size:13px;margin:10px 0 12px}.tools button{font-size:11px;padding:9px 10px}.tools button>span{font-size:16px;margin-right:5px}.tools .reset{font-size:21px}.stage-bottom small{font-size:10px;margin-top:9px}.editor{order:3;padding:26px 22px;display:grid;grid-template-columns:1fr 1fr;gap:20px;border-left:0}.editor-title{grid-column:1/-1}.editor h2{font-size:24px;margin-bottom:0}.editor h2 br{display:none}.control-section{margin:0;padding-bottom:14px;min-width:0}.control-section:has(#width){grid-row:3/5}.cut-setting{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px}.swatches{flex-wrap:wrap;justify-content:flex-start;gap:8px}.fillings button{font-size:12px}.prints{gap:4px}.prints button{padding:5px 1px;font-size:19px}.shape-card:hover{background:#e9efdf}footer{font-size:10px;padding:14px 18px;flex-direction:column;gap:6px}body.play-mode .stage{min-height:calc(100svh - 320px)}body.play-mode .stage #viewport{inset:30px 0 125px}}
#language{font:inherit;font-size:12px;color:var(--ink);border:1px solid var(--line);background:transparent;border-radius:8px;padding:9px 7px;max-width:115px;margin-left:auto}.modes{margin-left:auto}.topbar{gap:16px}h1{max-width:190px}.editor h2{max-width:230px}.shape-card strong{overflow-wrap:anywhere}.tools{flex-wrap:wrap;justify-content:center}.tools button{font-size:12px}.tools button>span{font-size:18px}.stage-heading{flex-wrap:wrap}.swatches button{flex-shrink:0}@media(max-width:1100px){.tools button{font-size:11px;padding:8px}.tools button>span{font-size:16px}.topbar{padding:0 22px}}@media(max-width:760px){.topbar{flex-wrap:wrap;height:auto;min-height:105px;padding:14px 16px 12px;gap:10px}.brand{flex:1}.modes{order:4;width:100%;justify-content:center;margin:0;padding:3px}.modes button{flex:1}.topbar>.primary{font-size:0}.topbar>.primary span{font-size:21px}#language{max-width:98px;margin:0;padding:8px 4px}.shape-panel h1{max-width:none}.tools{border-radius:20px}.tools button{font-size:11px;padding:7px 8px}.tools button>span{font-size:16px;margin-right:3px}.stage{min-height:490px}.stage-bottom p{max-width:95%;margin-left:auto;margin-right:auto}.stage-heading .live-label{max-width:145px}.editor h2{max-width:none}.stage-bottom small{max-width:320px;margin-left:auto;margin-right:auto}.prints button{min-width:0}body.play-mode .stage{min-height:490px}}@media(prefers-reduced-motion:reduce){*,*:before{transition:none!important}}

@media(min-width:761px){.workspace{height:calc(100svh - 141px);min-height:550px}.stage{min-height:0}.editor,.shape-panel{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ccd8bd transparent}.shape-panel{padding-top:25px}.shape-card{min-height:59px}.shape-card img{width:46px;height:46px}.shape-list{gap:7px}.small-note{padding-top:12px}.editor{padding-top:25px}.stage-bottom{padding-bottom:20px}.stage-heading{top:24px}.stage-caption{bottom:163px}body.play-mode .stage{min-height:0}}
@media(min-width:761px) and (max-height:850px){.small-note{display:none}.shape-panel .intro{margin-bottom:17px}.shape-panel h1{font-size:25px}.shape-card{min-height:56px}.shape-list{gap:5px}}

h1,h2{letter-spacing:-.8px}.stage-bottom small{max-width:90%;margin-left:auto;margin-right:auto}.shape-card strong{hyphens:auto}@media(max-width:760px){h1,h2{letter-spacing:-.65px}.shape-card strong{font-size:10px}}

/* Volumetric scene controls */
.stage{background:#e9eee4}.stage:before{display:none}.camera-reset{position:absolute;right:24px;top:72px;z-index:3;width:35px;height:35px;border:1px solid #c8d4c0;border-radius:50%;background:#f6f8f1aa;font-size:24px;line-height:1}.stage-heading{pointer-events:none}.tools{max-width:100%;border-radius:24px}.tools button{padding:9px 8px}.tools button>span{margin-right:3px}.stage-bottom p{min-height:20px;margin:10px auto 14px;max-width:94%;line-height:1.4}.stage-bottom small{line-height:1.5;font-size:12px}.shape-card img{width:58px;height:58px}.shape-card{gap:8px}#viewport{inset:54px 0 170px}.stage-caption{bottom:177px}.badge{background:#f7f9f3aa}#scene{outline-offset:-4px}.camera-reset:hover{background:#fff}.control-section .range-label,.fillings button{font-size:14px}@media(max-width:1100px){.tools button{font-size:11px;padding:8px 6px}.tools button>span{font-size:16px}.stage-bottom small{font-size:11px}}@media(max-width:760px){.stage{min-height:535px}.camera-reset{top:60px;right:18px}.shape-list{grid-template-columns:repeat(3,1fr);gap:6px}.shape-card{flex-direction:row;justify-content:flex-start;min-height:49px;padding:4px 6px}.shape-card img{width:35px;height:35px}.shape-card strong{font-size:12px;overflow-wrap:normal}.shape-panel{padding-top:17px}#viewport{inset:55px 0 170px}.stage-caption{bottom:177px}.tools button{padding:9px 7px}.tools{border-radius:18px}.stage-bottom p{font-size:13px}body.play-mode .stage{min-height:535px}body.play-mode .stage #viewport{inset:55px 0 170px}.stage-bottom small{min-height:33px}.topbar .brand{font-size:16px}}

.stage #viewport,body.play-mode .stage #viewport{inset:0}.stage-caption{pointer-events:none;z-index:1}.stage-bottom{background:linear-gradient(transparent,#f0f2ebd9);padding-top:8px}.stage-heading .live-label{color:#63755b}.stage-bottom p{color:#455b3a}.badge{color:#526247}.camera-reset{background:#f5f7f0d9}.stage-bottom small{color:#66765d}.stage-bottom .tools{background:#ffffffeb}@media(max-width:760px){.stage-bottom{padding-top:6px}.stage-bottom p{max-width:94%;font-size:12px}.stage-bottom small{font-size:10px}}

.stage{background:#f0f1ee}.stage #viewport,body.play-mode .stage #viewport{inset:0 0 135px}.stage-bottom{background:linear-gradient(transparent,#f0f1eef2)}@media(max-width:760px){.stage #viewport,body.play-mode .stage #viewport{inset:0 0 165px}.tools{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;gap:2px}.tools button{min-height:46px;padding:6px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;white-space:normal;line-height:1.15;border-radius:12px}.tools button>span{display:block;margin:0;font-size:18px}.tools .reset{border:0;margin:0;padding:0;border-radius:12px;font-size:23px}.stage-bottom{padding-bottom:13px}.stage-caption{bottom:164px}.stage-bottom p{margin-bottom:10px;min-height:32px;display:flex;align-items:center;justify-content:center}.stage-bottom small{min-height:30px;margin-top:10px}.camera-reset{top:57px}.stage{min-height:535px}}

/* Explicit touch states: Edge on Android can retain :hover after a tap. */
.modes button,.tools button{-webkit-appearance:none;appearance:none;-webkit-text-fill-color:currentColor}
.modes button[aria-pressed="true"],.modes button[aria-pressed="true"]:hover{background:#fff;color:#233a30;box-shadow:0 2px 7px #26392229;font-weight:700}
.modes button[aria-pressed="false"],.modes button[aria-pressed="false"]:hover{background:transparent;color:#66776a;box-shadow:none;font-weight:400}
.tools button[aria-pressed="true"],.tools button[aria-pressed="true"]:hover{background:#233a30;color:#fff}
.tools button[aria-pressed="false"]:hover{background:transparent;color:#233a30}
@media(hover:none){button:hover:not(:disabled){transform:none}.modes button[aria-pressed="true"],.modes button[aria-pressed="true"]:hover{background:#fff;color:#233a30}.tools button[aria-pressed="true"],.tools button[aria-pressed="true"]:hover{background:#233a30;color:#fff}}
.extra-range{margin-top:15px!important}#fillingColor{width:30px;height:27px;border:0;padding:0;background:none;cursor:pointer}.control-section input:disabled{opacity:.35}.small-note p{max-width:145px}
#analytics-consent{position:fixed;z-index:50;left:20px;right:20px;bottom:20px;max-width:880px;margin:auto;padding:20px 24px;background:#fff;border:1px solid #b9cfb0;border-radius:18px;box-shadow:0 20px 60px #17321f38;display:flex;align-items:center;justify-content:space-between;gap:24px}#analytics-consent strong{font:700 16px 'Manrope',sans-serif}#analytics-consent p{font-size:13px;line-height:1.5;margin:6px 0;color:#506451}#analytics-consent a,footer a{color:#355a3a;text-decoration:underline}#analytics-consent a{font-size:12px}.consent-actions{display:flex;gap:8px;flex-shrink:0}.consent-actions button{border:1px solid #355a3a;border-radius:9px;padding:10px 14px;font-size:12px;font-weight:700;min-height:42px}.consent-actions button:last-child{background:#233a30;color:#fff}footer button{font-size:inherit;color:#355a3a;text-decoration:underline;padding:0;vertical-align:baseline}@media(max-width:760px){#analytics-consent{left:12px;right:12px;bottom:12px;display:block;padding:16px}.consent-actions{margin-top:14px}.consent-actions button{flex:1}}
@media(max-width:760px){.editor{display:flex;flex-direction:column;gap:18px}.editor-title{margin-bottom:2px}.control-section{width:100%}.control-section:has(#width){grid-row:auto}.modes{min-width:0}.modes button{min-height:35px}}
