body{--bench-paper:#f4e7cf;--bench-pine:#142820;--bench-amber:#d69b58;--bench-teal:#58a99b}body main{max-width:1180px}header h1{font-size:clamp(44px,7vw,88px);letter-spacing:-.065em}.bench{grid-template-columns:minmax(300px,1fr) minmax(320px,.85fr);align-items:start;gap:24px}.design,.tools{border-radius:16px;background:var(--bench-paper);border:1px solid #8d785d;box-shadow:0 10px 30px #0002}.design{position:sticky;top:16px}.table{height:570px;background:radial-gradient(ellipse at 20% 0%,#dcc5a277,transparent 65%),repeating-linear-gradient(4deg,#ab865b 0,#b8966c 42px,#a27b53 44px);border:2px solid #785b3d;box-shadow:inset 0 0 30px #624b4322}.table #deck{filter:drop-shadow(12px 15px 9px #33271944)}button{border-radius:8px;transition:background .12s,transform .12s}button:active:not(:disabled){transform:translateY(1px)}.recipe-drawer{margin:0 0 20px;padding:14px;background:#e8d9bb;border-radius:10px}.recipe-drawer summary{cursor:pointer;font-size:12px;font-weight:900;letter-spacing:.12em}.recipe-drawer p{font-size:13px}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.recipe{background:var(--recipe-base)!important;color:var(--recipe-ink)!important;border:0;min-height:125px;padding:13px 9px!important;position:relative;overflow:hidden;text-align:left}.recipe:before{content:'';display:block;width:24px;height:35px;border-radius:50%/20%;background:repeating-linear-gradient(145deg,var(--recipe-base) 0 8px,var(--recipe-ink) 9px 16px);border:1px solid currentColor;margin-bottom:8px;transform:rotate(14deg)}.recipe strong,.recipe small{display:block;font-size:12px;line-height:1.2}.recipe small{font-size:10px;opacity:.85;margin-top:5px}#saved{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}#saved button{display:flex;align-items:center;gap:18px;padding:18px;background:var(--bench-paper);color:var(--bench-pine);border-radius:12px}#saved canvas{width:36px;height:112px;flex-shrink:0;transform:rotate(-9deg);filter:drop-shadow(4px 4px 2px #0003)}#saved span{font-size:13px;line-height:1.45}#selected{min-height:40px}.keep{padding:18px;border:1px solid #7c907c;border-radius:14px;background:#142820}#export{background:transparent;color:var(--bench-paper);border-color:#a8b2a2}.actions #ride{background:var(--bench-teal);color:#10251f}.actions #save{background:var(--bench-amber);color:#142820}@media(max-width:760px){.bench{grid-template-columns:1fr}.design{position:relative;top:auto}.table{height:360px}.tools{padding:16px}.actions button{flex-basis:45%}.info{grid-template-columns:1fr}.recipe-grid{gap:6px}header h1{font-size:54px}.recipe{min-height:118px}.keep{padding:12px}}@media(max-height:480px) and (min-width:761px){.design{position:relative;top:auto}.table{height:320px}}@media(prefers-reduced-motion:reduce){button{transition:none}}

/* Override legacy world rules that treated the name input as a page heading. */
body.vision-world[data-tool=deck-lab] main .bench{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:24px;align-items:start;margin-top:20px;order:3}body.vision-world[data-tool=deck-lab] main .info{order:2;align-self:stretch;max-width:none;margin:20px 0 0}body.finish-product.vision-world[data-tool=deck-lab] input#name,body.finish-product.vision-world[data-tool=deck-lab] input#author{font:600 16px/1.4 system-ui!important;letter-spacing:normal!important;color:#142820!important;margin:0!important;min-height:48px;height:48px;padding:10px 12px;background:#f4e7cf}body.vision-world[data-tool=deck-lab] .bench .design,body.vision-world[data-tool=deck-lab] .bench .tools{position:static!important;align-self:start;min-width:0;background:#f4e7cf;border:1px solid #a08a69;padding:16px;border-radius:16px;color:#142820;transform:none;margin:0}body.vision-world[data-tool=deck-lab] .bench .table{height:570px;min-height:0;margin-top:14px;padding:28px;border:2px solid #785b3d;border-radius:10px;background:radial-gradient(ellipse at 20% 0%,#dcc5a277,transparent 65%),repeating-linear-gradient(4deg,#ab865b 0,#b8966c 42px,#a27b53 44px)}body.vision-world[data-tool=deck-lab] .bench #deck{height:100%;width:auto;aspect-ratio:320/1000;max-width:100%}body.vision-world[data-tool=deck-lab] #saved{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}body.vision-world[data-tool=deck-lab] #saved button{display:flex;align-items:center;width:100%;gap:18px}body.vision-world[data-tool=deck-lab] .keep #ride{background:#58a99b}body.vision-world[data-tool=deck-lab] .keep #save{background:#d69b58}body.vision-world[data-tool=deck-lab] .keep #export{background:#f4e7cf;color:#142820}body.vision-world[data-tool=deck-lab] .tools .recipe{border:0;padding:13px 9px}body.vision-world[data-tool=deck-lab] .tools fieldset{margin:16px 0;padding:12px;border-radius:10px}@media(max-width:760px){body.vision-world[data-tool=deck-lab] main .bench{grid-template-columns:minmax(0,1fr)}body.vision-world[data-tool=deck-lab] .bench .table{height:360px;min-height:0}body.vision-world[data-tool=deck-lab] main .info{grid-template-columns:1fr}body.vision-world[data-tool=deck-lab] .bench .tools{padding:14px}}@media(max-height:480px) and (min-width:761px){body.vision-world[data-tool=deck-lab] .bench .table{height:320px;min-height:0}}
