.topbar { padding-inline:clamp(18px,3vw,46px); }
.guide-layout { display:grid; grid-template-columns:minmax(0,1fr) clamp(330px,34%,480px); min-height:calc(100svh - 65px); }
.worktable { position:relative; min-width:0; min-height:550px; padding:clamp(20px,3vw,44px); display:flex; flex-direction:column; align-items:center; background:linear-gradient(125deg,#fff9ec2d,#50473615),#bfb5a1 url('/assets/cotton/ash-worktop.webp') center/cover; }
.guide-meta { width:100%; display:flex; justify-content:space-between; gap:20px; color:#3e4839; font:11px/1.4 var(--mono); letter-spacing:.1em; }
.diagram-card { margin:auto; background:#fff; width:min(100%,650px); min-height:390px; padding:clamp(20px,3vw,36px); box-shadow:0 8px 30px #403b2a24; display:flex; flex-direction:column; align-items:center; }
.diagram-heading { width:100%; display:flex; justify-content:space-between; color:#778273; font:11px var(--mono); letter-spacing:.1em; }
#diagram { width:100%; height:min(52vh,420px); min-height:260px; margin:auto; }
.diagram-card figcaption { align-self:flex-start; color:#727a6b; font-size:13px; }
.reference-link { align-self:flex-start; margin-top:24px; color:#273226; font-size:14px; text-underline-offset:4px; }
.guide-panel { background:var(--surface); border-left:1px solid var(--border); padding:clamp(24px,3vw,46px) clamp(22px,2.4vw,36px); display:flex; flex-direction:column; gap:23px; }
.eyebrow,.step-label { color:#66715f; font:11px/1.5 var(--mono); letter-spacing:.08em; }
.eyebrow span {color:#a0593c;}
.guide-panel h1 { font-size:clamp(44px,4.2vw,65px); line-height:1.01; margin:10px 0 14px; }
.intro { font-size:16px; color:var(--muted); max-width:35ch; }
.current-step,.steps,.guide-links { border-top:1px solid var(--border); padding-top:20px; }
.current-step h2 { font-size:29px; line-height:1.1; margin:7px 0 9px; }
.current-step p:last-child { font-size:16px; color:var(--muted); max-width:40ch; }
.step-controls { display:flex; gap:8px; }
.step-controls button { flex:1; min-height:43px; padding:9px 12px; border:1px solid #aeb8a9; border-radius:4px; background:#f3f4eb; font:14px Desk,system-ui,sans-serif; }
.step-controls #next { background:#41553f; border-color:#41553f; color:#fff; }
.step-controls button:hover:enabled { filter:brightness(.94); }
.step-controls button:disabled { opacity:.4; cursor:default; }
.steps h2 { font-size:25px; margin-bottom:10px; }
.steps ol { list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:2px 10px; padding:0; margin:0; }
.steps button { width:100%; min-height:36px; border:0; background:transparent; text-align:left; padding:5px 3px; display:flex; align-items:baseline; gap:8px; color:#687263; font-size:13px; }
.steps button:hover { text-decoration:underline; text-underline-offset:3px; }
.steps button[aria-current=step] { color:#273d29; font-weight:600; }
.list-number { font:11px var(--mono); color:#8a9785; }
.guide-links { margin-top:auto; font-size:14px; }
.guide-links a { text-underline-offset:4px; }
@media(max-width:760px) {
 .guide-layout { display:flex; flex-direction:column; }
 .worktable { min-height:0; padding:20px; }
 .diagram-card { min-height:300px; margin:20px auto 0; }
 #diagram { height:270px; min-height:0; }
 .reference-link { margin-top:15px; }
 .guide-panel { border-left:0; border-top:1px solid var(--border); padding:24px 22px; gap:18px; }
 .guide-panel h1 { font-size:48px; }
 .steps button { min-height:42px; }
}
