/* Selection controls never participate in the garden's document flow. */
.garden > .context-bar:not(.empty) { position: fixed !important; inset: auto 16px 16px auto !important; width: min(520px, calc(100vw - 32px)) !important; max-height: min(52dvh, 580px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-gutter: stable; z-index: 80; background: #f8fbf8; border: 1px solid #91ad9a; box-shadow: 0 5px 20px #0002; }
.garden > .context-bar { box-sizing: border-box; margin: 0 !important; }
.garden > .context-bar.empty { display: none !important; }
.plot-card, .plot-card.selected { transform: none !important; grid-column: auto !important; }
html { scrollbar-gutter: stable; }
#visualModeButton, #orderReceipt, #productionTarget, .production-plan-button { display: none !important; }
.order-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); gap: 16px; align-items: stretch; }
.order-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.order-inventory { margin: 0 0 16px; border-bottom: 1px solid #cbd5ce; }
.order-inventory > summary { padding: 12px 0; cursor: pointer; }
.order-card .order-heading { align-items: start; }
.order-card .order-equation { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order-card .ingredient-list { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.order-card .ingredient em, .order-completed { display: none; }
.order-card .order-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-card .order-footer button { min-height: 44px; padding: 10px 18px; background: #315b44; color: #fff; border-radius: 4px; }
.order-card .order-footer button:disabled { background: #e5e9e5; color: #637569; }
.shop-wallet i, .soil-wallet i, .event-wallet i { display: inline-block; width: 24px; height: 24px; font-size: 0 !important; background: url('assets/icons/coins.svg') center/contain no-repeat; flex: 0 0 24px; }
.resource-icon { width: 24px; height: 24px; object-fit: contain; vertical-align: middle; flex: 0 0 24px; }
.welcome-random { margin: 8px 0; min-height: 44px; }
@media(max-width:699px) { .garden > .context-bar:not(.empty) { inset: auto 8px 8px !important; width: calc(100vw - 16px) !important; max-height: 48dvh; } }
