#growingRouteReview .growing-batch-list{max-height:220px;overflow:auto;display:grid;gap:.35rem}#growingRouteReview .growing-batch-list label{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}#growingRouteReview input[type=number]{width:7rem;margin-left:auto}#growingRouteReview .growing-stage-list{max-height:340px;overflow:auto}#growingRouteReview article{padding:.65rem 0;border-bottom:1px solid #6589b055}#growingRouteReview p{margin:.35rem 0}#growingRouteReview details{margin:.5rem 0}#growingRouteReview h3{margin-top:0}

#growingRouteReview .growing-supply-table{overflow-x:auto}#growingRouteReview table{width:100%;font-variant-numeric:tabular-nums}#growingRouteReview td,#growingRouteReview th{padding:.3rem;text-align:left}#growingRouteReview select{max-width:100%}

/* Only the title stays fixed. All planning controls share the main scroller. */
#gardenProductionDialog[open]{display:flex;flex-direction:column;height:min(860px,92vh);height:min(860px,92dvh);max-height:92dvh;overflow:hidden;gap:.6rem;padding:1rem}
#gardenProductionDialog>.dialogtop{flex:0 0 auto;display:flex;align-items:center;gap:.75rem;margin:0;flex-wrap:nowrap}
#gardenProductionDialog>.dialogtop h2{font-size:1.3rem;line-height:1.3;margin:0;flex:1;min-width:0}
#gardenProductionDialog #productionClose{flex:none;margin:0}
#productionScroll{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;overflow-anchor:none;padding-right:.5rem;scrollbar-gutter:stable}
#gardenProductionDialog #productionBody{overflow:visible;min-height:0;padding:0}
#productionScroll>.subtle{margin:0 0 .6rem;font-size:.85rem}
#gardenProductionDialog .production-saved-label{margin:0 0 .6rem}
#gardenProductionDialog select{margin:.2rem 0;max-width:100%}
#productionNew{margin:.5rem 0 .75rem}#productionNew>summary{cursor:pointer;font-weight:600}
#productionNew .formgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
#productionRouteTools .bar{display:flex;align-items:end;gap:.4rem;flex-wrap:wrap}#productionRouteTools label{flex:1;min-width:160px}#productionRouteTools input{width:100%;box-sizing:border-box}#productionRouteTools p{margin:.2rem 0}
#productionCreate{margin:.5rem 0}
#gardenProductionDialog #growingRouteReview .growing-batch-list,#gardenProductionDialog #growingRouteReview .growing-stage-list{max-height:none;overflow:visible}
#growingRouteReview label{min-width:0}#productionRecipeDetails>summary{font-weight:600;cursor:pointer}
@media(max-width:650px){#productionNew .formgrid{grid-template-columns:1fr}#gardenProductionDialog[open]{padding:.75rem;width:96vw;height:94dvh;max-height:94dvh}}

#growingAdventureDialog[open]{display:flex;flex-direction:column;max-height:90vh;overflow:hidden;gap:.5rem;padding:1rem}
#growingAdventureDialog>.dialogtop{flex:none;gap:.5rem}#growingAdventureDialog h2{font-size:1.4rem;margin:0;margin-right:auto}
#growingAdventureDialog>p{margin:0}#growingAdventureDialog>p.subtle{font-size:.85rem}
#growingAdventureDialog>.bar{flex:none;display:flex;gap:.4rem;align-items:center}#growingAdventureDialog select{flex:1;min-width:0}
#growingAdventureDialog .growing-adventure-body{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}
#growingAdventureDialog article{padding:.5rem 0;border-bottom:1px solid #6589b055}#growingAdventureDialog article p{margin:.25rem 0}
#growingAdventureDialog table{width:100%;text-align:left}#growingAdventureDialog th,#growingAdventureDialog td{padding:.35rem}
