/* Approved meal flow R3, scoped to meal arrangements only. */
.meal-flow-page{--flow-purple:#6c4cf1;max-width:480px;margin:auto;padding:16px 16px 120px;background:#faf8f5;color:#28252d;font-size:15px;line-height:1.6}.meal-flow-page h1{font-size:28px}.meal-flow-page h2{font-size:20px}.meal-flow-page h3{font-size:16px}.meal-flow-page small,.flow-muted{font-size:12px;color:#655e6c}.meal-flow-page button{min-height:44px}.meal-flow-page .card{padding:16px;border:1px solid #eee6df;border-radius:16px;box-shadow:none;margin:12px 0}.flow-heading,.flow-chef,.flow-stamp{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.flow-stamp{background:#f2eeff;border-left:3px solid #6c4cf1;border-radius:0 12px 12px 0;padding:10px 12px}.flow-stamp p{font-size:12px}.flow-stamp button,.flow-chef button,.flow-heading button,.flow-note button{color:#4f35c8}.flow-note{background:#f2eeff;border-radius:12px;padding:12px 14px;margin:16px 0}.flow-section{margin-top:20px}.flow-member{display:inline-flex;gap:5px;align-items:center;vertical-align:middle;white-space:nowrap;font-size:15px}.flow-avatar{height:24px;width:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#f2eeff;overflow:hidden;flex-shrink:0}.flow-avatar img{width:100%;height:100%;object-fit:cover}.flow-people{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:15px;margin:5px 0}.meal-flow-page .flow-dish{display:block;min-height:0;height:auto;overflow:hidden}.flow-dish-top{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px}.flow-photo,.flow-photo .dish-photo{width:72px!important;height:72px!important;min-height:0!important;aspect-ratio:1!important;border-radius:12px;overflow:hidden}.flow-photo img{width:100%!important;height:100%!important;object-fit:cover}.meal-flow-page .order-actions{display:flex;align-items:center;gap:8px;grid-template-columns:none;margin-top:12px;position:static}.meal-flow-page .order-actions .primary-button,.meal-flow-page .order-actions .secondary-button{flex:1;min-width:0;width:auto;padding:10px 12px;min-height:46px;border-radius:12px;font-size:15px}.meal-flow-page .primary-button{background:#6c4cf1;color:white}.meal-flow-page .secondary-button{background:#f2eeff;color:#4f35c8}.flow-text{color:#4f35c8;padding:0 4px;white-space:nowrap;font-size:15px}.flow-success{padding:12px;background:#edf6ef;color:#287344;border-radius:12px}.flow-entry{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:14px 0;border-bottom:1px solid #eee6df;gap:12px;color:#28252d}.flow-entry small,.flow-history small{display:block}.flow-history summary{min-height:44px;cursor:pointer}.flow-time{width:min(90vw,400px);margin:auto!important}.flow-time label{display:block;margin:16px 0}.flow-time input,.flow-time select{display:block;width:100%;padding:12px;border:1px solid #ddd5e5;border-radius:12px}.meal-flow-page .order-tabs{margin:0 0 20px}.meal-flow-page .shopping-card{width:100%;min-width:0}.meal-flow-page .shopping-r7-row{min-width:0}.flow-note p{margin:4px 0}.meal-flow-page .safe-top{height:12px}
.meal-flow-page button{font-family:inherit;border:0;box-shadow:none;cursor:pointer;background:transparent;font-size:15px}.meal-flow-page .order-tabs .order-tab{font-size:15px}.meal-flow-page .order-tabs .order-tab.active{background:#fff}.meal-flow-page .primary-button{background:#6c4cf1!important}.meal-flow-page .secondary-button{background:#f2eeff!important}.meal-flow-page .flow-text{border:0!important;background:none!important;border-radius:0!important}.flow-stamp h2,.flow-stamp p,.flow-dish h3,.flow-note p{margin:0}.flow-ingredient{border-bottom:1px solid #eee6df;padding:12px 0}.flow-ingredient:last-child{border:0}.flow-ingredient-name{display:flex;justify-content:space-between;gap:12px}.flow-chef button{margin-left:auto}.flow-stamp button{white-space:nowrap}
/* Keep the inherited price selector readable inside the narrower meal panel. */
.meal-flow-page .shopping-price-mode{align-items:stretch;flex-direction:column;gap:8px;padding:8px 0}
.meal-flow-page .shopping-price-mode>div{width:100%;box-sizing:border-box}
.meal-flow-page .shopping-price-mode button{flex:1;white-space:nowrap;min-width:0}
.meal-flow-page .shopping-price-mode>span{font-size:12px;line-height:1.5}
/* Approved R4 compact ingredient checklist. */
.meal-flow-page .flow-checklist{padding:12px}.flow-check-row{display:grid;grid-template-columns:minmax(0,1fr) 62px 66px;align-items:center;gap:8px;min-height:58px;border-bottom:1px solid #eee6df}.flow-check-row:first-child{min-height:28px;border:0}.flow-check-row:last-child{border:0}.meal-flow-page .flow-check-category{font-size:17px;background:#f2eeff;border-radius:8px;padding:7px 10px;margin:12px 0 0}.flow-check-row summary{list-style:none;min-height:44px;display:flex;align-items:center;cursor:pointer}.flow-check-row summary::-webkit-details-marker{display:none}.flow-check-row details[open]{padding:8px 0}.flow-check-row details[open] summary{min-height:28px}.flow-check-row small{display:block}.meal-flow-page .flow-buy-check{min-height:44px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:4px 0}.flow-buy-check>span{width:22px;height:22px;border:1px solid #655e6c;border-radius:4px;display:flex;align-items:center;justify-content:center}.flow-buy-check[aria-checked=true]>span{background:#6c4cf1;border-color:#6c4cf1;color:white}.flow-buy-check:disabled>span{background:#ddd8e3;border-color:#aaa4b0}.flow-check-confirm{position:sticky;bottom:86px;background:#faf8f5f5;padding:12px 0 6px;display:flex;flex-direction:column;gap:8px;z-index:2}.meal-flow-page .flow-check-confirm button{width:100%;border-radius:12px;min-height:46px;padding:10px 16px;font-weight:600}
