/* One-screen recipe spread and inventory; no repeated flat cards. */
#recipeBook .recipe-spread{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:stretch;gap:0;overflow:hidden!important;color:#4e351a;min-height:0;padding:clamp(3px,1vmin,12px);font-size:clamp(11px,2.3vmin,21px)}
#recipeBook .recipe-left,#recipeBook .recipe-right{min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:4px 8px;text-align:center}
#recipeBook .recipe-left{border-right:1px solid #b99a62;box-shadow:3px 0 5px -5px #79582a}
#recipeBook .recipe-left>img{width:100%;height:clamp(55px,38dvh,360px);min-height:0;object-fit:contain;flex:0 1 auto}
#recipeBook .recipe-right{align-items:stretch;text-align:left}#recipeBook .recipe-ingredients{display:grid;gap:2px;min-height:0}#recipeBook .recipe-ingredient{display:grid;grid-template-columns:clamp(20px,6dvh,48px) minmax(0,1fr) auto;align-items:center;gap:5px;border-bottom:1px solid #bc9e67}#recipeBook .recipe-ingredient img{width:100%;height:clamp(20px,6dvh,48px);object-fit:contain}#recipeBook .recipe-ingredient b{font-variant-numeric:tabular-nums}#recipeBook .item-short{color:#a03a2a}
#recipeBook .recipe-pager,#plazaInventory .inventory-pager,#facilityPanel .recipe-choices{display:flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:0;overflow:visible!important}#recipeBook .recipe-pager button,#plazaInventory .inventory-pager button,#facilityPanel .recipe-choices button{width:44px;height:30px;min-width:0;min-height:0;padding:2px!important;flex:none;background-size:contain}#recipeBook .recipe-pager button,#facilityPanel .recipe-choices button{background:var(--reg-secondary) center/contain no-repeat;border:0;color:#fff3d2}#recipeBook select,#facilityPanel .recipe-choices select{max-width:70%;min-width:0;width:min(45vw,340px);padding:5px;background:#ead8ae;color:#51351d;border:1px solid #ab8848;font-weight:700;font-size:clamp(11px,2.3vmin,18px)}
#plazaInventory .inventory-grid{flex:1;min-height:0;overflow:hidden!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:3px;align-content:stretch}#plazaInventory .inventory-item{min-width:0;min-height:0;display:flex;flex-wrap:wrap;justify-content:center;align-content:center;align-items:center;gap:3px 5px;padding:2px;font-size:clamp(10px,2vmin,17px)}#plazaInventory .inventory-item img{width:clamp(30px,9dvh,80px);height:clamp(30px,9dvh,80px)}#plazaInventory .inventory-item strong{max-width:65%;text-align:left}#plazaInventory .inventory-item button{flex:none;width:auto;max-width:100%;min-height:24px;background-size:100% 100%;padding:2px 8px}#plazaInventory .inventory-tabs{justify-content:center;margin:1px 0}#plazaInventory .inventory-tabs button{flex:0 1 110px;min-height:26px;padding:3px 4px;font-size:clamp(10px,2.2vmin,16px)}
#facilityPanel .facility-content{flex:1 1 0!important;min-height:0;overflow:hidden!important}#facilityPanel .facility-info{min-width:0}#facilityPanel .facility-actions button{flex:0 1 auto;width:auto;max-width:190px}#facilityPanel .facility-hint{font-size:10px}
@media(max-height:450px){#recipeBook .recipe-left>img{height:29dvh}#recipeBook .recipe-right{gap:2px;padding:2px 4px}#recipeBook .recipe-spread{border-width:8px;gap:0}#recipeBook .recipe-pager button,#plazaInventory .inventory-pager button{height:26px}#plazaInventory .inventory-item img{width:32px;height:32px}#plazaInventory .inventory-item button{font-size:10px;min-height:21px}#facilityPanel .facility-hint{display:none}}
