.work{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(340px,1fr);align-items:start;gap:18px}.bench,.picker{border:1px solid #c9d1c4;border-radius:16px;overflow:hidden;background:#fffef7}.benchhead,.actions,#steps{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 18px}.benchhead span{color:#526c59;font-size:13px}.bench{position:sticky;top:10px}#scene svg{display:block;width:100%;height:auto}#shelf{display:flex;flex-wrap:wrap;gap:6px;padding:12px 16px;background:#eadbc2;border-top:5px solid #947354;min-height:56px}#shelf span{background:#fff7e8;border:1px solid #bca888;border-radius:6px;padding:4px 7px;font-size:12px}#choices{padding:5px 16px 14px}#choices h2{margin:9px 0}#choices p,#observation{line-height:1.45}#choices p{margin:5px 0 14px;color:#526353}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.grid button{padding:6px 3px;line-height:1.1;font-size:13px}.grid svg{display:block;width:43px;height:36px;margin:auto auto 3px}.picker button[aria-pressed=true]{background:#dcebbf;border-color:#638342;box-shadow:inset 0 0 0 1px #638342}.actions{border-top:1px solid #d8dece;justify-content:flex-end}#next{background:#234d3e;color:white}button:disabled{opacity:.5;cursor:default}#steps{background:#edf2e7;justify-content:flex-start;flex-wrap:wrap;font-size:12px;color:#607063}#steps strong{color:#174932}.options{display:grid;gap:8px}.options button{text-align:left;min-height:44px}.quantity{display:flex;align-items:center;gap:10px;margin:10px 0 16px}.quantity select{font:inherit;padding:7px;border:1px solid #abbba9;border-radius:6px}#observation{padding:15px 18px;min-height:54px}#choices li{margin:8px 0}button{touch-action:manipulation}@media(max-width:850px){.work{grid-template-columns:1fr}.bench{position:static}#scene svg{max-height:300px}.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:480px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.work{gap:10px}}
.pourtool{transform-box:fill-box;transform-origin:center;animation:tilt 2s ease both}.stream{stroke-dasharray:9 6;animation:flow .5s linear infinite}.fall{animation:fall 1s ease-in infinite}.steam{animation:mist 1.4s ease-in-out infinite}.stir{transform-origin:344px 150px;animation:rock .8s alternate infinite}.grow{animation:appear 2s ease both}.arrive{animation:arrive 1.4s ease both}.reduce{animation:lower 2s ease both}@keyframes tilt{40%,80%{transform:rotate(48deg)}}@keyframes flow{to{stroke-dashoffset:-30}}@keyframes fall{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(60px)}}@keyframes mist{from{opacity:.2;transform:translateY(6px)}to{opacity:.8;transform:translateY(-9px)}}@keyframes rock{to{transform:rotate(-14deg)}}@keyframes appear{from{opacity:0}to{opacity:1}}@keyframes arrive{from{opacity:0;transform:translateX(35px)}to{opacity:1;transform:translateX(0)}}@keyframes lower{to{transform:translateY(14px)}}
.work{grid-template-columns:minmax(0,1fr)}.bench,.model-board .bench{position:static}#scene svg{max-height:none}.grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.options{grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr))}#choices fieldset{margin:15px 0 0;padding:9px 0 0;border:0;border-top:1px solid #d7dfd1}#choices legend{font-weight:650;padding-right:10px}#choices fieldset button{margin:3px 5px 3px 0;min-height:42px}
#observation:empty,#shelf:empty{display:none}.action-progress{height:3px;margin:18px 0;background:#dce6d4;overflow:hidden;border-radius:4px}.action-progress:after{content:"";display:block;height:100%;background:#709470;transform-origin:left;animation:bench-progress 1.55s linear both}.tip-pour{animation:bench-tilt 1.5s ease-in-out both}.bench-stream{animation:bench-flow 1.5s ease-in-out both}.filter-drip{stroke-dasharray:4 5;animation:drain .35s linear 3 .35s both,bench-flow 1.55s ease both}.rising-liquid,.evaporate{transform-box:fill-box;transform-origin:bottom}.rising-liquid{animation:fill-up 1.5s ease-out both}.evaporate{animation:boil-off 1.5s ease-in both}.tool-in{animation:place-tool .45s ease-out both}.insert-paper{animation:seat-paper .8s ease-out both}.grow{transform-box:fill-box;transform-origin:center bottom;animation:crystallise 1.5s ease-out both}.steam,.fall,.stir{animation-iteration-count:2}.fall{animation-fill-mode:both}.reduce{animation-duration:1.5s}
@keyframes bench-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes bench-tilt{0%,100%{transform:translate(-12px,-3px) rotate(0)}30%,72%{transform:rotate(53deg)}}@keyframes bench-flow{0%,19%,88%,100%{opacity:0}32%,70%{opacity:.9}}@keyframes drain{to{stroke-dashoffset:-9}}@keyframes fill-up{0%,18%{transform:translateY(62px)}85%,100%{transform:translateY(0)}}@keyframes boil-off{to{transform:scaleY(0)}}@keyframes place-tool{from{transform:translateY(-12px);opacity:.2}to{transform:translateY(0);opacity:1}}@keyframes seat-paper{from{transform:translateY(-22px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes crystallise{from{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}
@media(prefers-reduced-motion:reduce){#scene svg *, .action-progress:after{animation-duration:.01ms!important;animation-iteration-count:1!important}}

.action-progress:after{animation-duration:var(--duration,1550ms)}
