/* Scoped additions. The photo picker uses the published fp classes unchanged. */
.plate-v2{min-width:0}.plate-v2.mp-ui-surface,.plate-v2 .mp-ui-surface{padding:var(--mp-ui-space-4);min-width:0}.plate-v2 h2{margin-top:0}.plate-estimate{color:var(--mp-ui-muted);font-size:var(--mp-ui-small-size)}.plate-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--mp-ui-space-3);margin:var(--mp-ui-space-3) 0}.plate-metric{display:flex;flex-direction:column;gap:var(--mp-ui-space-1);min-width:0}.plate-metric strong{font-size:1.3rem;overflow-wrap:anywhere}.plate-metric small,.plate-items small,.plate-recipe-link small{display:block;color:var(--mp-ui-muted)}.plate-section-head{display:flex;align-items:center;justify-content:space-between;gap:var(--mp-ui-space-2)}.plate-items{list-style:none;padding:0;margin:0}.plate-items .fp-product{flex-wrap:nowrap;min-width:0}.plate-items .fp-product-open{min-width:0}.plate-recipe-link{width:100%;display:flex;flex-wrap:nowrap;align-items:center;border:0;background:transparent;min-height:var(--mp-ui-touch);text-align:left;padding:var(--mp-ui-space-2) 0}.plate-recipe-link img{width:56px;height:56px;border-radius:var(--mp-ui-radius-sm);object-fit:cover}.plate-recipe-link span{flex:1;min-width:0;overflow-wrap:anywhere}.plate-recipe-link svg{flex-shrink:0}.plate-draft-ingredient{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:var(--mp-ui-space-2);margin-bottom:var(--mp-ui-space-3)}.plate-draft-ingredient>:first-child{grid-column:1/-1}.plate-draft-ingredient input,.plate-v2 input,.plate-v2 textarea,.plate-v2 select{max-width:100%;min-width:0;box-sizing:border-box;font-size:16px}.plate-photo-choice{min-width:0;overflow:hidden;border-radius:var(--mp-ui-radius-md)}.plate-photo-choice img{width:100%;height:100%;object-fit:cover}.plate-photo-choice[aria-pressed=true]{outline:2px solid var(--mp-ui-green);outline-offset:2px}.plate-v2 summary{cursor:pointer;min-height:var(--mp-ui-touch);display:flex;align-items:center}.plate-v2 .fp-product-remove{min-width:44px;min-height:44px}.plate-v2 details{overflow-wrap:anywhere}.plate-v2 textarea{width:100%}

/* Same published footer geometry as Scanner mes produits. */
.mp-page[data-screen="assiette-v2"] #screenFooter{padding-top:12px;padding-bottom:12px;border-top:0}
.plate-v2 .plate-meal-photo{display:block;width:100%;height:156px;max-height:22vh;object-fit:cover;border-radius:var(--mp-ui-radius-md)}
.plate-v2 .plate-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--mp-ui-space-3)}
.plate-v2 .plate-metrics>.plate-metric:nth-child(-n+2) strong{font-size:var(--mp-ui-title-size,1.5rem)}
.plate-v2 [data-plate-options]>.mp-ui-action{width:100%;margin-top:var(--mp-ui-space-2)}
.plate-v2 .plate-incomplete p{color:var(--mp-ui-muted)}
.plate-v2 .plate-item-unresolved .fp-product-open,.plate-v2 .plate-item-unresolved .fp-product-open small{color:var(--mp-ui-danger)}
.plate-v2 .plate-item-unresolved{border-left:3px solid var(--mp-ui-danger);padding-left:var(--mp-ui-space-2)}
.plate-v2 .plate-metrics [data-nutrient="sugars"],.plate-v2 .plate-metrics [data-nutrient="saturates"]{font-size:var(--mp-ui-small-size)}
.plate-v2 .plate-micros .plate-metric strong{font-size:1.05rem}
.plate-v2 .plate-food-option{width:100%;min-height:44px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:var(--mp-ui-space-2)}
.plate-v2 .plate-food-option small{color:var(--mp-ui-muted)}
.plate-v2 .plate-recipe-link{gap:var(--mp-ui-space-2)}
.plate-v2 .plate-recipes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--mp-ui-space-3)}
.plate-v2 .plate-recipes-grid .plate-recipe-link{display:flex;flex-direction:column;align-items:stretch;border:1px solid var(--mp-ui-stroke);border-radius:var(--mp-ui-radius-md);padding:var(--mp-ui-space-2);height:100%}
.plate-v2 .plate-recipes-grid img{width:100%;height:90px;object-fit:cover}
.plate-v2 .plate-recipes-grid strong{font-size:var(--mp-ui-small-size);overflow-wrap:anywhere}
.plate-v2 .plate-recipes-grid small{font-size:.75rem}
.plate-v2 .plate-recipes-grid svg{align-self:flex-end}
.plate-v2 .plate-metrics>.plate-metric:nth-child(n+5) strong{font-size:1.1rem}
.plate-v2 .plate-item-probable small{color:var(--mp-ui-warning)}
.plate-v2 .plate-item-probable{border-left:3px solid var(--mp-ui-warning);padding-left:var(--mp-ui-space-2)}
.plate-v2 .plate-extras{border-top:1px solid var(--mp-ui-stroke);margin-top:var(--mp-ui-space-3);padding-top:var(--mp-ui-space-2)}
.plate-v2 .plate-extra-actions{display:flex;flex-wrap:wrap;gap:var(--mp-ui-space-2)}
.plate-v2 .plate-extra-actions .mp-ui-action{min-height:var(--mp-ui-touch);white-space:normal;max-width:100%}
.plate-v2 .plate-items .fp-product-open{display:block;text-align:left}
.plate-v2 .plate-items .fp-product-name{display:block}
.plate-v2.fp--photos .flow-photo-slots{grid-template-columns:minmax(0,1fr)}
.plate-v2 .plate-item-unresolved .fp-product-name,.plate-v2 .plate-item-unresolved small{color:var(--mp-ui-danger)}
.mp-page[data-screen="assiette-v2"] .home-a4-brand-image{aspect-ratio:1;object-fit:contain;transform:none;animation:none}
.plate-v2 .plate-empty-nutrition{border:1px solid var(--mp-ui-stroke);border-radius:var(--mp-ui-radius-md);padding:var(--mp-ui-space-3);margin:var(--mp-ui-space-3) 0}
.plate-v2 .plate-empty-nutrition-line{font-weight:600;margin:0 0 var(--mp-ui-space-1);overflow-wrap:anywhere}
.plate-v2 .plate-empty-nutrition .plate-estimate{margin:0 0 var(--mp-ui-space-2)}
.plate-v2 .plate-empty-nutrition .mp-ui-action{white-space:normal;max-width:100%}
@media(prefers-reduced-motion:reduce){.mp-page[data-screen="assiette-v2"] .flow-spinner{animation:none}}
