.market-crate{position:absolute;left:20px;bottom:205px;z-index:13;width:218px;color:#775838;font:16px Uzura,'Zen Maru Gothic',sans-serif;border:2px solid #b99160;border-radius:6px 9px 7px 5px;background:repeating-linear-gradient(0deg,#dcb77f 0 28px,#caa16d 29px 31px);box-shadow:3px 4px 0 #8c673c2b;max-height:calc(100dvh - 330px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.market-crate summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;cursor:pointer;background:#e8cd9e;position:sticky;top:0;z-index:1}.market-crate summary::-webkit-details-marker{display:none}.market-crate summary:after{content:'▾';font-size:14px}.market-crate[open] summary:after{content:'▴'}.market-crate summary span{flex:1}.market-crate summary small{font-size:12px;white-space:nowrap}.market-crate-content{padding:7px 10px 10px}.market-crate p{margin:3px 0 8px;font-size:12px;line-height:1.5}.market-premium-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.market-premium-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;border:1px solid #cab18c;border-radius:6px;padding:6px 4px;background:#fff6e3;color:#785838;min-width:0;touch-action:manipulation}.market-premium-item img{width:58px;height:55px;object-fit:contain;filter:drop-shadow(1px 3px 1px #8d6e4433);pointer-events:none}.market-premium-item strong{font:14px Uzura;line-height:1.3}.market-premium-item small{font:11px/1.4 Uzura;text-align:center}.market-premium-item:active:not(:disabled) img{transform:translateY(4px) rotate(-7deg)}.market-premium-item:disabled{opacity:.53;cursor:default}.market-premium-item.market-applied{opacity:.85;border-color:#9db28a;background:#eaf0d8}.market-crate-benefit{display:block;font-size:11px;line-height:1.5;padding-top:8px}.market-crate-buy{display:block;margin:8px auto 0;background:#fbefd8!important;padding:5px 10px;border-radius:7px!important}.market-special-on-plate{animation:market-special-pop .4s ease-out both;filter:drop-shadow(0 2px 1px #a2774755)!important;z-index:2}@keyframes market-special-pop{0%{opacity:0;transform:translateY(-14px) scale(.5) rotate(-14deg)}65%{opacity:1;transform:scale(1.2) rotate(4deg)}100%{opacity:1;transform:scale(1) rotate(-6deg)}}@media(max-width:900px),(max-height:700px){.market-crate{left:10px;bottom:205px;width:188px;font-size:14px;max-height:calc(100dvh - 310px)}.market-crate summary{padding:7px 9px}.market-premium-item img{width:43px;height:41px}.market-premium-item strong{font-size:12px}.market-crate p,.market-crate-benefit{font-size:10px}}@media(max-width:700px){.market-crate{left:8px;bottom:215px;width:172px;max-height:calc(100dvh - 320px)}.market-crate-content{padding:6px}.market-crate summary small{font-size:10px}.market-premium-items{gap:5px}.market-premium-item small{font-size:10px}}@media(prefers-reduced-motion:reduce){.market-special-on-plate{animation:none}}
/* The receipt and crate share a scrollable rail rather than overlapping. */
.kitchen-side-stack{position:absolute;z-index:13;top:105px;left:18px;bottom:205px;width:230px;display:flex;flex-direction:column;gap:14px;padding:7px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.kitchen-side-stack>.kitchen-orders{position:relative;inset:auto;display:flex;flex-direction:column;gap:8px;max-width:none;flex-shrink:0;padding:4px;pointer-events:none}
.kitchen-side-stack .order-slip{width:100%;box-sizing:border-box}.kitchen-side-stack .prep-slip{display:none}
.kitchen-side-stack>.market-crate{position:relative;inset:auto;width:100%;max-height:none;overflow:visible;flex-shrink:0}
@media(max-width:700px){.kitchen-side-stack{top:100px;left:6px;bottom:215px;width:158px;padding:4px;gap:10px}.kitchen-side-stack .order-slip{width:100%}.kitchen-side-stack .market-crate{width:100%}}
@media(max-height:500px){.kitchen-side-stack{top:70px;bottom:130px}}
