.custom-item-toolkit{--kit:#a8ff18;background:radial-gradient(circle at 12% 5%,#a8ff181d,transparent 26%),#030504;overflow:hidden}.custom-item-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;max-width:1400px;margin:0 auto 24px}.custom-item-heading h3,.custom-item-library h3{margin:3px 0 8px;font:clamp(36px,5vw,58px)/1 Bangers,cursive}.custom-item-heading p:not(.kicker){max-width:720px;color:var(--muted);line-height:1.6;text-transform:none}.custom-step-strip{display:flex;gap:6px;flex-wrap:wrap}.custom-step-strip span{display:grid;min-width:90px;padding:10px;border:1px solid #a8ff1840;border-radius:9px;background:#0b100e;font-size:11px;font-weight:900}.custom-step-strip b{color:var(--kit);font-size:10px}
.custom-item-workbench{display:grid;grid-template-columns:220px minmax(340px,1fr) minmax(280px,360px);max-width:1400px;margin:auto;border:1px solid #a8ff1852;border-radius:20px;overflow:hidden;background:#050706;box-shadow:0 28px 80px #000}.custom-tool-panel,.custom-preview-panel{padding:20px;background:#090d0c}.custom-tool-panel{border-right:1px solid #263328}.custom-preview-panel{border-left:1px solid #263328}.tool-eyebrow{margin:0 0 15px;font-size:12px;font-weight:900;letter-spacing:.12em}.custom-tool-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.custom-tool-buttons button,.custom-upload-button{padding:11px 8px;background:#111713;border:1px solid #2b382d;color:#fff;border-radius:8px;font-size:12px}.custom-tool-buttons .is-active{border-color:var(--kit);color:var(--kit);background:#a8ff1818}.custom-tool-panel label,.custom-preview-panel>label{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:22px;color:#fff;font-size:12px;font-weight:800}.custom-tool-panel input[type=range],.custom-preview-panel input[type=range]{grid-column:1/-1;width:100%;accent-color:var(--kit)}.custom-tool-panel input[type=color]{width:48px;height:28px}.custom-upload-button{width:100%;margin-top:22px;border-style:dashed;color:var(--kit)}.custom-tool-panel small{display:block;margin-top:14px;color:#778079;line-height:1.5;text-transform:none}
.custom-draw-stage{position:relative;min-height:550px;background:#0c1210}.custom-draw-stage header{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid #273029;color:#8e9891;font-size:11px}.custom-draw-stage header i{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--kit);box-shadow:0 0 9px var(--kit)}.custom-draw-stage header strong{color:#fff}.custom-draw-stage canvas{display:block;width:100%;height:calc(100% - 48px);min-height:500px;cursor:crosshair;touch-action:none}#custom-canvas-help{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);margin:0;padding:6px 12px;border-radius:99px;background:#000b;color:#89928c;font-size:10px;white-space:nowrap;pointer-events:none}
.custom-preview-stage{position:relative;height:280px;display:grid;place-items:center;margin-bottom:15px;border:1px solid #253128;border-radius:12px;overflow:hidden;background:radial-gradient(circle,#a8ff1821,transparent 55%),#030504}.custom-preview-stage:after{content:"";position:absolute;left:8%;right:8%;bottom:19%;height:1px;background:linear-gradient(90deg,transparent,var(--kit),transparent)}.custom-extruded-preview{--item-depth:9px;--item-bevel:6px;--item-color:#a8ff18;--item-turn:-25deg;--item-tilt:58deg;--item-flip:1;z-index:1;width:155px;height:155px;display:grid;place-items:center;transform:rotateX(var(--item-tilt)) rotateZ(var(--item-turn)) scaleX(var(--item-flip));border-radius:calc(12px + var(--item-bevel));background:var(--item-color);color:#061000;font:27px Bangers,cursive;text-align:center;box-shadow:var(--item-depth) var(--item-depth) 0 #395a15,18px 18px 26px #000}.custom-extruded-preview.has-art{background:var(--item-art) center/contain no-repeat;filter:drop-shadow(0 0 8px var(--item-color))}.custom-extruded-preview.is-spinning{animation:kit-spin .8s}.custom-preview-stage model-viewer{width:100%;height:100%;z-index:1}.preview-axis{position:absolute;left:9px;top:9px;color:var(--kit);font-size:9px;font-weight:900}.custom-preview-panel input[type=text]{grid-column:1/-1;padding:11px;border:1px solid #314135;border-radius:7px;background:#030504;color:#fff}.custom-build-actions{display:grid;grid-template-columns:.7fr 1.3fr;gap:8px;margin-top:20px}.custom-build-actions button{padding:13px 8px}.custom-build-actions button:last-child{background:var(--kit);color:#030500}
.custom-item-library{max-width:1400px;margin:34px auto 0;padding:26px;border:1px solid #263328;border-radius:18px;background:#080b09}.custom-library-controls{display:flex;float:right;gap:8px;margin-top:10px}.custom-library-controls input,.custom-library-controls select{min-height:42px;padding:9px 12px;border:1px solid #334037;border-radius:8px;background:#030504;color:#fff}.custom-library-grid{clear:both;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.custom-library-card{display:grid;grid-template-columns:70px 1fr auto;gap:12px;align-items:center;padding:9px;text-align:left;border:1px solid #263229;border-radius:12px;background:#0c110e;color:#fff}.custom-library-card:hover{border-color:var(--kit);transform:translateY(-2px)}.custom-card-art{position:relative;width:70px;height:62px;border-radius:8px;overflow:hidden;background:#142011}.custom-card-art img{width:100%;height:100%;object-fit:contain}.custom-card-art i{position:absolute;right:3px;bottom:3px;padding:2px 4px;background:#000;color:var(--kit);font-size:7px}.custom-library-card strong,.custom-library-card small{display:block}.custom-library-card small{margin-top:5px;color:#7f8c82;font-size:9px}.custom-library-card>b{color:var(--kit)}
.custom-library-intro{max-width:650px;margin:0 0 14px;color:#8e9891;line-height:1.55;text-transform:none}.custom-library-card[data-starter="true"]{background:linear-gradient(135deg,#101a12,#090d0b);border-color:#a8ff183d}.custom-library-card[data-starter="true"] .custom-card-art:before{content:"STARTER";position:absolute;z-index:2;left:3px;top:3px;padding:2px 4px;border-radius:3px;background:#a8ff18;color:#071000;font-size:6px;font-weight:950;letter-spacing:.08em}.custom-library-card[data-starter="true"] .custom-card-art{background:radial-gradient(circle,#26391d,#0b100d)}
.custom-item-dialog,.custom-build-toast{--kit:#a8ff18}.custom-item-dialog{width:min(820px,calc(100% - 30px));padding:0;border:1px solid var(--kit);border-radius:20px;background:#080b09;color:#fff}.custom-item-dialog::backdrop{background:#000d;backdrop-filter:blur(7px)}.custom-item-dialog[open]{display:grid;grid-template-columns:1.05fr .95fr}.custom-item-dialog>div{padding:28px}.custom-dialog-preview{min-height:420px;display:grid;place-items:center;background:radial-gradient(circle,#a8ff1828,transparent 60%),#030403}.custom-dialog-preview model-viewer,.custom-dialog-preview img{width:100%;height:100%;max-height:420px;object-fit:contain}.custom-dialog-close{position:absolute;right:10px;top:10px;z-index:3}.custom-item-dialog h2{font:44px Bangers,cursive;color:var(--kit);margin:5px 0}.custom-item-dialog p:not(.kicker){color:#9ba49e;line-height:1.55;text-transform:none}.custom-item-dialog dl div{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #263128}.custom-item-dialog dd{color:var(--kit);font-weight:800}.custom-dialog-actions{display:flex;gap:9px;margin-top:24px}.custom-build-toast{position:fixed;right:24px;bottom:24px;z-index:9999;max-width:360px;padding:16px 20px;border:1px solid var(--kit);border-radius:12px;background:#0a110b}.custom-build-toast b,.custom-build-toast span{display:block}.custom-build-toast b{color:var(--kit)}.custom-build-toast span{margin-top:4px;color:#a5ada7;font-size:12px;text-transform:none}@keyframes kit-spin{50%{transform:rotateX(58deg) rotateZ(155deg) scale(1.08)}}
@media(max-width:1100px){.custom-item-workbench{grid-template-columns:180px 1fr}.custom-preview-panel{grid-column:1/-1;border-left:0;border-top:1px solid #263328}.custom-library-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.custom-item-heading{display:block}.custom-step-strip{margin-top:16px}.custom-item-workbench{display:block}.custom-draw-stage{min-height:430px}.custom-draw-stage canvas{min-height:380px}.custom-library-controls{float:none;display:grid;margin:12px 0}.custom-library-grid{grid-template-columns:1fr}.custom-item-dialog[open]{display:block}.custom-dialog-preview{min-height:270px}}
/* Full select → customize → preview → save → place workflow */
.custom-step-strip .is-current{border-color:var(--kit);background:#a8ff1818;box-shadow:0 0 20px #a8ff1814}.custom-new-button{width:100%;margin-top:8px;padding:11px 8px;border:1px solid #2b382d;border-radius:8px;background:#111713;color:#fff}.control-heading{margin:15px 0 0;color:var(--kit);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.format-controls[hidden]{display:none}.format-controls label,.material-controls label{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:14px;color:#fff;font-size:11px;font-weight:800}.format-controls input[type=range],.material-controls input[type=range]{grid-column:1/-1;width:100%;accent-color:var(--kit)}.format-controls select,.material-controls select{max-width:150px;padding:7px;border:1px solid #314135;border-radius:6px;background:#030504;color:#fff}.custom-draw-stage.is-locked:after{content:"GLB geometry protected · use model controls";position:absolute;inset:48px 0 0;display:grid;place-items:center;background:#020503a6;color:var(--kit);font-size:11px;font-weight:900;letter-spacing:.08em;pointer-events:none}.custom-card-art model-viewer{width:100%;height:100%;background:#101712}.custom-item-dialog{width:min(1240px,calc(100% - 30px))}.custom-item-dialog[open]{grid-template-columns:300px minmax(340px,1fr) 330px}.custom-dialog-browser{max-height:650px;padding:24px!important;overflow:hidden;border-right:1px solid #273128;background:#050806}.custom-dialog-browser h2{font-size:34px}.custom-dialog-browser>input{width:100%;padding:11px;border:1px solid #354137;border-radius:8px;background:#020302;color:#fff}.custom-dialog-results{display:grid;gap:7px;max-height:500px;margin-top:12px;overflow:auto}.custom-dialog-results button{display:grid;grid-template-columns:54px 1fr;gap:9px;align-items:center;padding:6px;border:1px solid #263128;border-radius:8px;background:#0c110e;color:#fff;text-align:left}.custom-dialog-results button.is-active{border-color:var(--kit);background:#a8ff1814}.custom-dialog-results img,.custom-dialog-results model-viewer{width:54px;height:48px;object-fit:contain;background:#111811}.custom-dialog-results strong,.custom-dialog-results small{display:block}.custom-dialog-results small{margin-top:3px;color:#89928b;font-size:8px}.custom-dialog-details{align-self:stretch}.custom-dialog-actions{display:grid}.custom-dialog-actions button{min-height:42px}.custom-dialog-actions button:disabled{opacity:.35}.custom-deploy-panel{display:grid;grid-template-columns:1fr minmax(360px,1.2fr) 280px;gap:24px;max-width:1400px;margin:24px auto 0;padding:25px;border:1px solid #263328;border-radius:18px;background:#080b09}.custom-deploy-panel h3{margin:3px 0;font:36px Bangers,cursive}.custom-deploy-panel p:not(.kicker){color:#929b95;line-height:1.5;text-transform:none}.custom-placement-stage{position:relative;min-height:250px;overflow:hidden;border:1px solid #334338;border-radius:14px;background:linear-gradient(160deg,#101b17 0 55%,#172219 56%);box-shadow:inset 0 -55px 70px #0008}.custom-placement-stage:after{content:"";position:absolute;left:0;right:0;bottom:48px;border-top:1px solid #a8ff1840;transform:skewY(-6deg)}.custom-placement-stage small{position:absolute;left:10px;bottom:8px;color:#a0aa9f}.scale-character{position:absolute;right:12%;bottom:43px;z-index:1;color:#8a968d;font-size:100px;line-height:1;text-shadow:0 9px 18px #000}.custom-placement-stage button{position:absolute;left:12%;top:calc(100% - 82px);z-index:2;width:60px;height:60px;border:1px solid var(--kit);border-radius:10px;background:#a8ff1824;color:var(--kit);font-size:35px;cursor:grab}.custom-placement-stage button img{width:100%;height:100%;object-fit:contain}.custom-placement-stage button.is-testing{animation:item-test .8s}.deploy-controls{display:grid;align-content:start;gap:12px}.deploy-controls label{display:grid;gap:5px;color:#fff;font-size:11px;font-weight:800}.deploy-controls select{padding:9px;border:1px solid #344138;border-radius:7px;background:#030504;color:#fff}.deploy-controls input[type=range]{accent-color:var(--kit)}.deploy-controls button{padding:12px;background:var(--kit);color:#030500;font-weight:900}.deploy-controls button:disabled{opacity:.35}@keyframes item-test{35%{transform:translateY(-50px) rotate(18deg) scale(1.15)}70%{transform:translateY(0) rotate(-8deg)}}
@media(max-width:1000px){.custom-item-dialog[open]{grid-template-columns:250px 1fr}.custom-dialog-details{grid-column:1/-1}.custom-deploy-panel{grid-template-columns:1fr 1fr}.deploy-controls{grid-column:1/-1}}@media(max-width:720px){.custom-item-dialog[open]{display:block}.custom-dialog-browser{max-height:360px}.custom-dialog-results{max-height:220px}.custom-deploy-panel{display:block}.custom-placement-stage{margin:18px 0}.deploy-controls{margin-top:18px}}

.custom-control-check{display:flex!important;justify-content:flex-start;align-items:center}.custom-control-check input{order:-1;accent-color:var(--kit)}
.custom-play-effect{position:absolute;inset:0;z-index:1;pointer-events:none}.custom-play-effect i{--angle:calc(var(--particle)*72deg);position:absolute;left:calc(12% + 28px);top:calc(100% - 58px);width:9px;height:9px;border-radius:50%;background:var(--kit);box-shadow:0 0 14px currentColor;animation:play-particle 1.15s ease-out both}.custom-play-effect--rocket i{color:#ff7a18;background:#ffd166;transform-origin:0 -35px}.custom-play-effect--bass{inset:25% 15%;border:3px solid #b967ff;border-radius:50%;animation:bass-wave .8s ease-out both}.custom-play-effect--bass i{display:none}.custom-play-effect--hammer{border-bottom:4px solid #ffd166;animation:hammer-wave .75s ease-out both}.custom-play-effect--hammer i{color:#ffd166}.custom-play-effect--prism i{color:#38f2ff;background:hsl(calc(var(--particle)*45) 90% 65%)}.custom-placement-stage button.is-testing--rocket{animation:rocket-boost 1.15s cubic-bezier(.2,.8,.3,1)}.custom-placement-stage button.is-testing--bass{animation:bass-bop .8s ease-in-out 2}.custom-placement-stage button.is-testing--hammer{animation:hammer-smash .85s ease-in}.custom-placement-stage button.is-testing--prism{animation:prism-friend 1.25s ease-in-out}.custom-placement-stage:has(.is-testing--hammer){animation:stage-shake .35s .5s}.custom-placement-stage:has(.is-testing--bass){box-shadow:inset 0 -55px 70px #0008,0 0 30px #b967ff55}@keyframes play-particle{to{opacity:0;transform:translate(calc(cos(var(--angle))*100px),calc(sin(var(--angle))*-80px)) scale(.2)}}@keyframes rocket-boost{45%{transform:translateY(-125px) rotate(-6deg) scale(1.1)}65%{transform:translateY(-110px) rotate(5deg)}100%{transform:translateY(0)}}@keyframes bass-bop{25%{transform:scale(1.28) rotate(-4deg)}75%{transform:scale(.92) rotate(4deg)}}@keyframes bass-wave{to{opacity:0;transform:scale(2.2)}}@keyframes hammer-smash{45%{transform:translateY(-65px) rotate(-38deg) scale(1.15)}72%{transform:translateY(3px) rotate(24deg) scale(1.08)}}@keyframes hammer-wave{60%{border-color:#ffd166;box-shadow:0 15px 30px #ffd16699}to{opacity:0;transform:scaleX(1.8)}}@keyframes prism-friend{35%{transform:translate(70px,-70px) rotate(15deg) scale(.85);filter:hue-rotate(90deg) drop-shadow(0 0 10px #38f2ff)}70%{transform:translate(-25px,-45px) rotate(-12deg) scale(1.12);filter:hue-rotate(220deg) drop-shadow(0 0 14px #b967ff)}}@keyframes stage-shake{25%{transform:translateX(-5px)}50%{transform:translateX(5px)}75%{transform:translateX(-3px)}}@media(prefers-reduced-motion:reduce){.custom-play-effect,.custom-play-effect i,.custom-placement-stage button[class*="is-testing--"],.custom-placement-stage:has(.is-testing--hammer){animation-duration:.01ms!important;animation-iteration-count:1!important}}
.custom-result-dialog{--kit:#a8ff18;width:min(850px,calc(100% - 28px));padding:0;border:1px solid var(--kit);border-radius:20px;background:#080b09;color:#fff}.custom-result-dialog::backdrop{background:#000d;backdrop-filter:blur(8px)}.custom-result-dialog[open]{display:grid;grid-template-columns:1.1fr .9fr}.custom-result-view{min-height:430px;display:grid;place-items:center;padding:24px;background:radial-gradient(circle,#a8ff182b,transparent 60%),linear-gradient(145deg,#07100a,#020302)}.custom-result-view img,.custom-result-view model-viewer{width:100%;height:100%;max-height:390px;object-fit:contain}.custom-result-details{padding:42px 30px 30px}.custom-result-details h2{margin:4px 0 10px;color:var(--kit);font:42px/1 Bangers,cursive}.custom-result-details>p:not(.kicker){color:#9ba49e;line-height:1.55;text-transform:none}.custom-result-details dl div{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #263128}.custom-result-details dd{margin:0;color:var(--kit);text-align:right;font-weight:800}.custom-color-chip{display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:50%;background:var(--chip);box-shadow:0 0 8px var(--chip)}
@media(max-width:720px){.custom-result-dialog[open]{display:block}.custom-result-view{min-height:270px}.custom-result-details{padding:28px 22px}}

/* Searchable, categorized ready-to-edit library */
.custom-library-controls{float:none;display:grid;grid-template-columns:minmax(280px,1fr) auto auto auto;align-items:end;margin:20px 0 14px}.custom-library-search{position:relative;display:grid;gap:6px;color:#aab5ad;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.custom-library-search input{width:100%;padding-right:42px}.custom-library-search button{position:absolute;right:7px;bottom:6px;width:30px;height:30px;border:0;border-radius:50%;background:#202a22;color:#fff;font-size:18px}.custom-library-search button[hidden]{display:none}.custom-library-categories{display:flex;gap:7px;margin-bottom:18px;padding-bottom:3px;overflow-x:auto}.custom-library-categories button{display:flex;flex:0 0 auto;align-items:center;gap:8px;padding:8px 10px;border:1px solid #2b382e;border-radius:99px;background:#0c110e;color:#a9b2ac;font-size:10px;font-weight:900}.custom-library-categories button b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#1d2720;color:#cad2cd;font-size:8px}.custom-library-categories button.is-active{border-color:var(--kit);background:#a8ff1818;color:#fff}.custom-library-categories button.is-active b{background:var(--kit);color:#071000}.custom-library-grid{clear:none}.custom-library-card{display:grid;grid-template-columns:1fr;padding:0;overflow:hidden}.custom-card-open{display:grid;grid-template-columns:82px 1fr;gap:12px;align-items:center;width:100%;padding:10px;border:0;background:transparent;color:#fff;text-align:left}.custom-card-open:focus-visible{outline:2px solid var(--kit);outline-offset:-3px}.custom-card-copy{min-width:0}.custom-card-copy em{display:block;margin-bottom:5px;color:var(--kit);font-size:7px;font-style:normal;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.custom-card-copy strong,.custom-card-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-card-actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #263229}.custom-card-actions button{min-height:36px;border:0;background:#101713;color:#b8c1bb;font-size:9px;font-weight:900}.custom-card-actions button+button{border-left:1px solid #263229;background:#a8ff1812;color:var(--kit)}.custom-card-actions button:hover{background:#1b241e;color:#fff}.custom-card-actions button+button:hover{background:var(--kit);color:#061000}.custom-library-empty{grid-column:1/-1;display:grid;justify-items:center;gap:7px;padding:42px;border:1px dashed #354238;border-radius:12px;color:#879188;text-align:center}.custom-library-empty strong{color:#fff;font-size:18px}.custom-library-empty button{margin-top:8px;padding:9px 14px;border:1px solid var(--kit);border-radius:8px;background:transparent;color:var(--kit);font-weight:900}
@media(max-width:900px){.custom-library-controls{grid-template-columns:1fr 1fr}.custom-library-search{grid-column:1/-1}}@media(max-width:560px){.custom-library-controls{grid-template-columns:1fr}.custom-library-search{grid-column:auto}.custom-card-open{grid-template-columns:72px 1fr}}

/* Toolkit navigation and actions fit into clear, touch-friendly tiles. */
.custom-item-toolkit,.custom-item-toolkit *{box-sizing:border-box}
.custom-item-toolkit{overflow:visible}
.custom-toolkit-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.custom-toolkit-header h2{min-width:0;flex:1 1 260px;overflow-wrap:anywhere}
.custom-toolkit-menu{position:relative;flex:0 1 auto;z-index:5}
.custom-toolkit-menu summary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 16px;border:1px solid #58743b;border-radius:10px;background:#101b12;color:#eaffd7;cursor:pointer;list-style:none;font:800 13px/1.4 system-ui}
.custom-toolkit-menu summary::-webkit-details-marker{display:none}
.custom-toolkit-menu summary>span{font-size:22px;color:var(--kit)}
.custom-toolkit-menu nav{position:absolute;top:calc(100% + 8px);right:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(400px,calc(100vw - 48px));padding:12px;border:1px solid #536a38;border-radius:12px;background:#08100bfA;box-shadow:0 12px 36px #0009}
.custom-toolkit-menu nav>:is(a,button){display:flex;align-items:center;justify-content:flex-start;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #2d452f;border-radius:8px;background:#122017;color:#f2ffe6;text-align:left;white-space:normal;text-decoration:none;overflow-wrap:anywhere;font:700 12px/1.4 system-ui}
.custom-toolkit-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:1400px;margin:0 auto 26px}
.custom-toolkit-tiles>:is(a,button){display:grid;grid-template-columns:32px minmax(0,1fr);align-content:center;gap:5px 10px;min-width:0;min-height:102px;padding:18px;border:1px solid #395235;border-radius:14px;background:linear-gradient(140deg,#162719,#09100c);color:#f1ffe6;text-align:left;white-space:normal;text-decoration:none;overflow-wrap:anywhere}
.custom-toolkit-tiles span{grid-row:1/3;font-size:26px;line-height:1.2;color:var(--kit)}
.custom-toolkit-tiles strong{font:800 14px/1.4 system-ui}
.custom-toolkit-tiles small{font:12px/1.5 system-ui;color:#b4c5b6;text-transform:none}
.custom-toolkit-tiles [data-market-tab=upgrades]{border-color:var(--kit);background:#a8ff18;color:#071000}
.custom-toolkit-tiles [data-market-tab=upgrades] :is(span,small){color:#20370b}
.custom-item-toolkit :is(button,a,summary,input,select):focus-visible{outline:2px solid var(--kit);outline-offset:3px}
.custom-card-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,90px),1fr))}
.custom-card-actions button{min-height:44px;white-space:normal;line-height:1.4;padding:10px 8px}
.custom-card-copy strong,.custom-card-copy small{white-space:normal;text-overflow:clip;overflow:visible;overflow-wrap:anywhere;line-height:1.4}
.custom-dialog-actions{flex-wrap:wrap}
.custom-dialog-actions button{flex:1 1 140px;min-width:0;min-height:48px;white-space:normal}
@media(max-width:720px){
 .custom-toolkit-header{align-items:stretch}
 .custom-toolkit-menu{flex-basis:100%}
 .custom-toolkit-menu nav{position:static;width:100%;margin-top:8px;box-shadow:none}
 .custom-toolkit-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .custom-toolkit-tiles>:is(a,button){grid-template-columns:minmax(0,1fr);padding:14px;min-height:128px}
 .custom-toolkit-tiles span{grid-row:auto;font-size:24px}
 .custom-item-workbench,.custom-library-controls{grid-template-columns:minmax(0,1fr)}
 .custom-tool-panel,.custom-preview-panel,.custom-draw-stage,.custom-library-search{min-width:0}
 .custom-step-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
 .custom-step-strip span{min-width:0;white-space:normal}
 .custom-item-library{padding:14px}
 .custom-library-categories{flex-wrap:wrap;overflow:visible}
 .custom-library-categories button{flex:1 1 120px;min-width:0;min-height:44px;white-space:normal}
 .custom-item-toolkit :is(input:not([type=checkbox]):not([type=color]),select){max-width:100%;min-width:0;font-size:16px}
 .custom-toolkit-menu:not([open]) nav{display:none}
}
.custom-toolkit-menu:not([open]) nav{display:none}

.custom-drawing-3d{position:absolute;inset:0;z-index:2;touch-action:none}.custom-drawing-3d canvas{display:block;width:100%;height:100%;touch-action:none}.custom-drawing-3d[hidden],.custom-extruded-preview.has-3d-preview{display:none}.custom-preview-stage .preview-axis{z-index:3;pointer-events:none}.custom-draw-stage{background-image:linear-gradient(#a8ff1815 1px,transparent 1px),linear-gradient(90deg,#a8ff1815 1px,transparent 1px);background-size:36px 36px}
