/* UI-01 — Harmonie visuelle transversale (DEV).
   Une seule grammaire : serif pour l'identité et les titres de page,
   sans-serif pour la lecture, les recettes et les contrôles.
   Portée volontairement limitée : aucun changement de comportement. */

.mm-interface{
  --mm-ui-font:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;
  --mm-ui-display:var(--mm-display,Georgia,"Times New Roman",serif);
  --mm-ui-title-size:clamp(28px,7.2vw,32px);
  --mm-ui-title-leading:1.1;
  --mm-ui-section-size:21px;
  --mm-ui-card-title-size:17px;
  --mm-ui-body-size:15px;
  --mm-ui-caption-size:13px;
}

.mm-interface .mm-week-screen .mm-week-heading>div:first-child,
.mm-interface .mm-shopping-screen.is-shopping-list-page .mm-functional-page-title,
.mm-interface .mm-fridge-screen .mm-fridge-title-row h1{
  margin:0!important;
  font-family:var(--mm-ui-display)!important;
  font-size:var(--mm-ui-title-size)!important;
  line-height:var(--mm-ui-title-leading)!important;
  font-weight:700!important;
  letter-spacing:-.035em!important;
  color:var(--mm-prune-text)!important;
  text-wrap:balance;
}

/* Même cadence d'en-tête, sans forcer une hauteur qui rognerait les actions. */
.mm-interface .mm-week-screen .mm-week-heading,
.mm-interface .mm-shopping-screen.is-shopping-list-page .mm-functional-page-title-row,
.mm-interface .mm-fridge-screen .mm-fridge-title-row{
  min-height:48px!important;
  margin-bottom:12px!important;
  align-items:center!important;
}
.mm-interface .mm-week-screen .mm-week-heading>div+div,
.mm-interface .mm-fridge-screen .mm-fridge-title-row p{
  font-family:var(--mm-ui-font)!important;
  font-size:var(--mm-ui-caption-size)!important;
  line-height:1.4!important;
  color:var(--mm-muted)!important;
}

/* L'Assistant est une vraie page, mais son en-tête reste plus compact
   pour préserver la zone de conversation et le clavier mobile. */
.mm-interface .mm-assistant-title b{
  font-family:var(--mm-ui-display)!important;
  font-size:24px!important;
  font-weight:700!important;
  line-height:1.12!important;
  letter-spacing:-.03em!important;
  color:var(--mm-prune-text)!important;
}
.mm-interface .mm-assistant-title small{
  font-family:var(--mm-ui-font)!important;
  font-size:var(--mm-ui-caption-size)!important;
  line-height:1.3!important;
  color:var(--mm-muted)!important;
}

/* La salutation de l'accueil garde sa personnalité éditoriale. */
.mm-interface .mm-home-greeting{
  font-family:var(--mm-ui-display)!important;
  font-weight:700!important;
  letter-spacing:-.04em!important;
}

/* Les cartes et les métadonnées ne changent pas de famille selon l'onglet. */
.mm-interface .mm-week-meal-name,
.mm-interface .mm-week-overview-meal-copy strong,
.mm-interface .mm-home-suggestion-body>div:first-child,
.mm-interface .mm-library-copy h3,
.mm-interface .mm-shopping-item-copy,
.mm-interface .mm-fridge-native-row{
  font-family:var(--mm-ui-font)!important;
}
.mm-interface .mm-week-meal-name,
.mm-interface .mm-home-suggestion-body>div:first-child,
.mm-interface .mm-library-copy h3{
  font-weight:650!important;
  line-height:1.32!important;
}
.mm-interface :is(.mm-week-meal-meta,.mm-home-suggestion-meta,.mm-library-meta){
  font-family:var(--mm-ui-font)!important;
  line-height:1.4!important;
}

/* Titres secondaires : hiérarchie unique pour les sections fonctionnelles.
   Exclure les h2 éditoriaux de l'accueil et les titres du détail recette. */
.mm-interface :is(.mm-week-screen,.mm-shopping-screen,.mm-fridge-screen) .mm-section-header{
  font-family:var(--mm-ui-font)!important;
  font-size:var(--mm-ui-section-size)!important;
  font-weight:700!important;
  line-height:1.25!important;
}

@media(max-width:370px){
  .mm-interface{--mm-ui-title-size:27px;--mm-ui-section-size:19px;}
  .mm-interface .mm-assistant-title b{font-size:22px!important;}
}

/* ============================================================
   UI-02 — Composants partagés : navigation, actions et cartes.
   Aucun élément masqué, déplacé ni confirmation modifiée.
   ============================================================ */
.mm-interface{
  --mm-ui-radius-control:14px;
  --mm-ui-radius-card:20px;
  --mm-ui-control-height:44px;
  --mm-ui-control-gap:8px;
}

/* La même navigation active sur les cinq onglets, sans pastille
   propre à l'Assistant ; conserver le petit repère sous le libellé. */
body.mm-interface .mm-bottom-nav .mm-nav-item,
body.mm-interface .mm-bottom-nav .mm-nav-assistant{
  background:transparent!important;
  border-radius:12px!important;
  color:var(--mm-muted)!important;
  opacity:1!important;
  transition:color .16s ease,background-color .16s ease!important;
}
body.mm-interface .mm-bottom-nav .mm-nav-item.is-active,
body.mm-interface .mm-bottom-nav .mm-nav-assistant.is-active{
  background:transparent!important;
  color:var(--mm-prune-text)!important;
}
body.mm-interface .mm-bottom-nav .mm-nav-item>span:nth-child(2){
  font-family:var(--mm-ui-font)!important;
  font-size:10.5px!important;
  line-height:1.25!important;
  font-weight:550!important;
  color:var(--mm-muted)!important;
}
body.mm-interface .mm-bottom-nav .mm-nav-item.is-active>span:nth-child(2){
  font-weight:750!important;
  color:var(--mm-prune-text)!important;
}
body.mm-interface .mm-bottom-nav .mm-nav-item>span:last-child{
  display:block!important;
  flex:0 0 auto!important;
  margin-top:1px!important;
  width:16px!important;
  height:3px!important;
  border-radius:3px!important;
  background:transparent!important;
}
body.mm-interface .mm-bottom-nav .mm-nav-item.is-active>span:last-child{
  background:var(--mm-prune-action)!important;
}
body.mm-interface .mm-bottom-nav .mm-nav-item.is-active :is(.ti,.mm-menumia-icon,svg){
  color:var(--mm-prune-text)!important;
}
body.mm-interface .mm-bottom-nav .mm-nav-item:not(.is-active) :is(.ti,.mm-menumia-icon,svg){
  color:var(--mm-muted)!important;
}
body.mm-interface .mm-bottom-nav .mm-nav-item:focus-visible{
  outline:2px solid var(--mm-prune-action)!important;
  outline-offset:0!important;
}

/* En-têtes : un même format pour les actions de page, sans
   imposer un état visuel aux boutons de confirmation ou d'alerte. */
body.mm-interface :is(
  .mm-week-screen .mm-week-timer-launch,
  .mm-shopping-screen .mm-functional-head-action,
  .mm-fridge-screen .mm-fridge-more
){
  box-sizing:border-box!important;
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  border-radius:var(--mm-ui-radius-control)!important;
  border:1px solid var(--mm-line-strong)!important;
  background:var(--mm-card)!important;
  box-shadow:none!important;
  color:var(--mm-prune-text)!important;
}
body.mm-interface :is(
  .mm-week-screen .mm-week-timer-launch,
  .mm-shopping-screen .mm-functional-head-action,
  .mm-fridge-screen .mm-fridge-more,
  .mm-fridge-screen .mm-fridge-add-top,
  .mm-shopping-screen .mm-shopping-add-button
) :is(.ti,svg){
  font-size:19px!important;
  flex-shrink:0;
}
body.mm-interface :is(
  .mm-fridge-screen .mm-fridge-add-top,
  .mm-shopping-screen .mm-shopping-add-button
){
  min-height:44px!important;
  border-radius:var(--mm-ui-radius-control)!important;
  font-family:var(--mm-ui-font)!important;
  font-weight:700!important;
}
body.mm-interface :is(
  .mm-week-screen .mm-week-timer-launch,
  .mm-shopping-screen .mm-functional-head-action,
  .mm-fridge-screen .mm-fridge-add-top,
  .mm-fridge-screen .mm-fridge-more,
  .mm-shopping-screen .mm-shopping-add-button
):focus-visible{
  outline:3px solid var(--mm-prune-action)!important;
  outline-offset:2px!important;
}

/* Une logique commune de surfaces et d'arrondis : l'accueil
   conserve sa photo immersive et les inventaires leur densité. */
body.mm-interface :is(
  .mm-home .mm-meal-hero,
  .mm-home-suggestion-card,
  .mm-library-card,
  .mm-week-screen .mm-week-overview-day,
  .mm-shopping-screen .mm-shopping-week-navigation
){
  border-radius:var(--mm-ui-radius-card)!important;
}
body.mm-interface :is(
  .mm-shopping-screen .mm-shopping-item-row,
  .mm-fridge-screen .mm-fridge-native-row
){
  font-family:var(--mm-ui-font)!important;
}
body.mm-interface :is(
  .mm-week-screen .mm-week-nav-premium>button,
  .mm-shopping-screen .mm-shopping-week-navigation>button,
  .mm-fridge-screen .mm-fridge-row-qty>button
){
  min-width:44px!important;
  min-height:44px!important;
  border-radius:12px!important;
}

/* L'état sombre réutilise les tokens du thème, pas une couleur claire figée. */
html[data-menumia-theme="dark"] body.mm-interface .mm-bottom-nav .mm-nav-item,
html[data-menumia-theme="dark"] body.mm-interface .mm-bottom-nav .mm-nav-item.is-active{
  background:transparent!important;
}
html[data-menumia-theme="dark"] body.mm-interface :is(
  .mm-week-screen .mm-week-timer-launch,
  .mm-shopping-screen .mm-functional-head-action,
  .mm-fridge-screen .mm-fridge-more
){
  background:var(--mm-card)!important;
  border-color:var(--mm-line-strong)!important;
  color:var(--mm-prune-text)!important;
}

@media(prefers-reduced-motion:reduce){
  body.mm-interface .mm-bottom-nav .mm-nav-item{transition:none!important}
}

/* ============================================================
   UI-03 — Finitions iPhone des cinq écrans principaux.
   Rythme vertical constant, lecture confortable, commandes >=44px.
   Le clavier Assistant, les overlays et la logique métier restent intacts.
   ============================================================ */
@media(max-width:759px){
  body.mm-interface{
    --mm-ui-page-gap:12px;
    --mm-ui-section-gap:16px;
    --mm-ui-readability-size:14px;
  }
  /* Aujourd'hui : conserver la salutation et la grande photo,
     tout en rapprochant les informations directement liées. */
  body.mm-interface .mm-ui-v2-common .mm-home-intro{
    padding:0 2px!important;
    margin-bottom:0!important;
  }
  body.mm-interface .mm-ui-v2-common .mm-home-greeting{
    font-size:clamp(26px,7.2vw,31px)!important;
    line-height:1.12!important;
  }
  body.mm-interface .mm-ui-v2-common .mm-home-subtitle{
    margin-top:5px!important;
    font-size:13px!important;
    line-height:1.45!important;
  }
  body.mm-interface .mm-ui-v2-common .mm-home{
    row-gap:var(--mm-ui-page-gap)!important;
  }

  /* Menus : mêmes espacements en haut et après les contrôles,
     sans toucher aux deux modes ni aux colonnes de repas. */
  body.mm-interface .mm-week-screen .mm-week-heading{
    margin-bottom:var(--mm-ui-page-gap)!important;
  }
  body.mm-interface .mm-week-screen .mm-menus-mode-row{
    margin-bottom:var(--mm-ui-page-gap)!important;
  }
  body.mm-interface .mm-week-screen .mm-week-nav-premium{
    margin-bottom:8px!important;
  }
  body.mm-interface .mm-week-screen .mm-week-meal-name{
    font-size:14.5px!important;
    line-height:1.35!important;
    overflow-wrap:anywhere;
  }

  /* Courses : liste lisible, navigation par semaine moins encombrante,
     mais flèches toujours tactiles et accessibles. */
  body.mm-interface .mm-shopping-screen.is-shopping-list-page .mm-functional-page-title-row{
    margin-bottom:var(--mm-ui-page-gap)!important;
  }
  body.mm-interface .mm-shopping-screen.is-shopping-list-page .mm-shopping-week-navigation{
    min-height:58px!important;
    padding:6px 8px!important;
    margin-bottom:var(--mm-ui-page-gap)!important;
    border-radius:var(--mm-ui-radius-control)!important;
  }
  body.mm-interface .mm-shopping-screen.is-shopping-list-page .mm-shopping-week-navigation>button{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
  }
  body.mm-interface .mm-shopping-screen.is-shopping-list-page .mm-shopping-item-copy>strong{
    font-size:var(--mm-ui-readability-size)!important;
    line-height:1.35!important;
    overflow-wrap:anywhere;
  }

  /* Frigo : inventaire compact, filtres lisibles, quantités conservées. */
  body.mm-interface .mm-fridge-screen .mm-fridge-title-row{
    margin-bottom:var(--mm-ui-page-gap)!important;
  }
  body.mm-interface .mm-fridge-screen .mm-fridge-mock-search{
    margin-bottom:var(--mm-ui-page-gap)!important;
  }
  body.mm-interface .mm-fridge-screen .mm-fridge-quick-filters{
    gap:6px!important;
    margin-top:6px!important;
    margin-bottom:var(--mm-ui-page-gap)!important;
  }
  body.mm-interface .mm-fridge-screen .mm-fridge-quick-filter{
    min-height:44px!important;
    border-radius:var(--mm-ui-radius-control)!important;
  }
  body.mm-interface .mm-fridge-screen .mm-fridge-native-row{
    min-height:60px!important;
    line-height:1.35!important;
  }

  /* Assistant : homogénéité des suggestions sans modifier la zone
     d'écriture, les safe-areas ou l'affichage du clavier iPhone. */
  body.mm-interface .mm-main-shell.is-assistant-screen .mm-assistant-header{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  body.mm-interface .mm-main-shell.is-assistant-screen .mm-assistant-home-intro{
    margin-bottom:var(--mm-ui-page-gap)!important;
  }
  body.mm-interface .mm-main-shell.is-assistant-screen .mm-assistant-home-intro p{
    font-size:13px!important;
    line-height:1.45!important;
  }
  body.mm-interface .mm-main-shell.is-assistant-screen .mm-assistant-quick-card{
    border-radius:var(--mm-ui-radius-control)!important;
    min-height:44px!important;
  }
}

@media(max-width:370px){
  /* Écrans étroits : pas de typographie minuscule pour faire tenir. */
  body.mm-interface .mm-week-screen .mm-week-meal-name{
    font-size:14px!important;
  }
  body.mm-interface .mm-shopping-screen.is-shopping-list-page .mm-shopping-item-copy>strong{
    font-size:14px!important;
  }
}

/* ============================================================
   UI-04 — Assistant intégré à la page crème Menumia.
   Corrige les couches blanches héritées de l'ancien bottom-sheet,
   sans changer la conversation, le viewport iOS ni la navigation.
   ============================================================ */
body.mm-interface .mm-ui-v2-common .mm-main-shell.is-assistant-screen,
body.mm-interface .mm-ui-v2-common .mm-main-shell.is-assistant-screen > .mm-assistant-overlay.is-page,
body.mm-interface .mm-ui-v2-common .mm-main-shell.is-assistant-screen .mm-assistant-sheet,
body.mm-interface .mm-ui-v2-common .mm-main-shell.is-assistant-screen .mm-assistant-content,
body.mm-interface .mm-ui-v2-common .mm-main-shell.is-assistant-screen .mm-assistant-header,
body.mm-interface .mm-ui-v2-common .mm-main-shell.is-assistant-screen .mm-assistant-composer{
  background:var(--mm-page-bg,#FEF8F2)!important;
  background-image:none!important;
  box-shadow:none!important;
}

/* L'en-tête et la zone de saisie se fondent dans la page.
   La séparation haute du compositeur reste discrète et accessible. */
body.mm-interface .mm-ui-v2-common .mm-main-shell.is-assistant-screen .mm-assistant-header{
  border-bottom:0!important;
}
body.mm-interface .mm-ui-v2-common .mm-main-shell.is-assistant-screen .mm-assistant-composer{
  border-top:1px solid var(--mm-line)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.mm-interface .mm-ui-v2-common .mm-main-shell.is-assistant-screen .mm-assistant-input-wrap{
  background:var(--mm-card,#fff)!important;
  border:1px solid var(--mm-line-strong)!important;
  box-shadow:none!important;
}

/* Les cartes sont des surfaces autonomes, pas une feuille pleine hauteur. */
body.mm-interface .mm-ui-v2-common .mm-main-shell.is-assistant-screen .mm-assistant-context-card{
  background:var(--mm-prune-soft,rgba(90,61,92,.1))!important;
  border:1px solid var(--mm-line-strong)!important;
  box-shadow:none!important;
}
body.mm-interface .mm-ui-v2-common .mm-main-shell.is-assistant-screen .mm-assistant-quick-card,
body.mm-interface .mm-ui-v2-common .mm-main-shell.is-assistant-screen .mm-assistant-organization-link{
  background:var(--mm-card,#fff)!important;
  border:1px solid var(--mm-line-strong)!important;
  box-shadow:none!important;
}

/* Respect des couleurs sombre/claire grâce aux tokens existants :
   aucune couleur blanche figée sur le fond de l'Assistant. */

/* UI-05 — Mes menus : retirer le résumé redondant et le compteur de repas.
   Le planning, ses dates et le CTA Compléter/Régénérer restent inchangés.
   La donnée statistique n'est ni recalculée ni effacée. */
body.mm-interface .mm-week-screen .mm-week-utility-row > .mm-week-summary,
body.mm-interface .mm-week-screen > .mm-week-stats{
  display:none!important;
}
@media(max-width:1099px){
  body.mm-interface .mm-week-screen .mm-week-utility-row{
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:stretch!important;
    width:100%!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:0!important;
    margin:0 0 8px!important;
    padding:0!important;
  }
  body.mm-interface .mm-week-screen .mm-week-utility-row > .mm-week-actions-bar.is-simplified{
    display:block!important;
    flex:1 1 auto!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  body.mm-interface .mm-week-screen .mm-week-utility-row .mm-week-generate-primary{
    width:100%!important;
    min-height:44px!important;
    margin:0!important;
  }
}
/* Desktop : la deuxième colonne n'est plus réservée au résumé masqué. */
@media(min-width:1100px){
  body.mm-interface .mm-week-screen .mm-week-desktop-tools{
    grid-template-columns:minmax(0,1fr) 168px!important;
  }
}

/* UI-06 — Assistant : fond continu, aucune feuille blanche de type modal.
   Mise au niveau des vrais conteneurs du composant, sans modifier
   le clavier iOS, les zones de défilement ou les actions de confirmation. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-main-shell.is-assistant-screen,
html body.mm-interface .mm-app.mm-ui-v2-common .mm-main-shell.is-assistant-screen > .mm-assistant-overlay.is-page,
html body.mm-interface .mm-app.mm-ui-v2-common .mm-main-shell.is-assistant-screen > .mm-assistant-overlay.is-page .mm-assistant-sheet,
html body.mm-interface .mm-app.mm-ui-v2-common .mm-main-shell.is-assistant-screen > .mm-assistant-overlay.is-page .mm-assistant-content,
html body.mm-interface .mm-app.mm-ui-v2-common .mm-main-shell.is-assistant-screen > .mm-assistant-overlay.is-page .mm-assistant-header,
html body.mm-interface .mm-app.mm-ui-v2-common .mm-main-shell.is-assistant-screen > .mm-assistant-overlay.is-page .mm-assistant-composer{
  background:var(--mm-page-bg,#FEF8F2)!important;
  background-image:none!important;
  box-shadow:none!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-main-shell.is-assistant-screen > .mm-assistant-overlay.is-page .mm-assistant-header{
  border-bottom:0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-main-shell.is-assistant-screen > .mm-assistant-overlay.is-page .mm-assistant-composer{
  border-top:1px solid var(--mm-line)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-main-shell.is-assistant-screen > .mm-assistant-overlay.is-page .mm-assistant-input-wrap{
  background:var(--mm-card,#fff)!important;
  border-color:var(--mm-line-strong)!important;
}

/* UI-06 — Courses : retirer le bandeau blanc externe à la recherche.
   Le champ reste blanc et lisible ; sa recherche et son positionnement sticky
   demeurent inchangés, y compris avec un panier partiellement coché. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-list-content{
  background:transparent!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-list-content > .mm-shopping-search{
  background:var(--mm-page-bg,#FEF8F2)!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  padding:6px 0!important;
  margin:0 0 8px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-list-content > .mm-shopping-search .mm-shopping-search-label{
  background:var(--mm-card,#fff)!important;
}

/* UI-07 — Assistant : la page est montée comme sœur de mm-main-shell,
   directement sous mm-app. Les anciennes règles visant l'Assistant
   comme enfant du shell ne correspondaient pas au DOM. */
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page,
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-sheet,
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty,
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation,
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-header,
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-content,
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-composer{
  background:var(--mm-page-bg,#FEF8F2)!important;
  background-image:none!important;
  box-shadow:none!important;
}
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-sheet{
  border-color:transparent!important;
}
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-header{
  border-bottom-color:transparent!important;
}
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-composer{
  border-top:1px solid var(--mm-line)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-input-wrap{
  background:var(--mm-card,#fff)!important;
  border:1px solid var(--mm-line-strong)!important;
  box-shadow:none!important;
}
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-input-wrap textarea{
  flex:1 1 auto!important;min-width:0!important;width:100%!important;
  min-height:44px!important;max-height:82px!important;margin:0!important;
  padding:10px 0!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:var(--mm-text,#3A3036)!important;
  box-shadow:none!important;outline:0!important;resize:none!important;
  overflow-x:hidden!important;overflow-y:hidden;
  white-space:pre-wrap!important;overflow-wrap:anywhere!important;
  font-size:16px!important;line-height:22px!important;
  -webkit-appearance:none!important;appearance:none!important;
}
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-input-wrap textarea:focus{
  border:0!important;box-shadow:none!important;outline:0!important;
}
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-input-wrap textarea::placeholder{
  color:var(--mm-muted,#AAA0A6)!important;
}
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-input-wrap > i{
  align-self:flex-start!important;margin-top:15px!important;
}
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-send{
  align-self:flex-end!important;
}
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page .mm-assistant-context-card{
  background:var(--mm-prune-soft)!important;
  border-color:var(--mm-line-strong)!important;
  box-shadow:none!important;
}
body.mm-interface .mm-app.mm-ui-v2-common > .mm-assistant-overlay.is-page :is(
  .mm-assistant-quick-card,.mm-assistant-organization-link
){
  background:var(--mm-card,#fff)!important;
  border-color:var(--mm-line-strong)!important;
  box-shadow:none!important;
}


/* UX-03 — Assistant conversationnel : trois idées lisibles, sans cartes ni sous-titres redondants. */
@media(max-width:759px){
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-start{
   width:100%!important;max-width:560px!important;margin-inline:auto!important;
   gap:10px!important;padding:6px 3px 14px!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-home-intro{
   gap:5px!important;margin:0 0 11px!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-home-intro h2{
   font-size:clamp(23px,6.2vw,27px)!important;line-height:1.18!important;
   letter-spacing:-.025em!important;font-weight:770!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-home-intro p{
   font-size:12.5px!important;line-height:1.5!important;max-width:36ch!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-suggestions-label{
   margin:4px 1px!important;font-size:11px!important;font-weight:750!important;
   letter-spacing:.015em!important;text-transform:none!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-suggestion-hint{
   margin:0 1px 2px!important;font-size:10.5px!important;line-height:1.35!important;
   color:var(--mm-muted,#766c74)!important;overflow-wrap:anywhere!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-context-list,
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-quick-grid{
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-context-card,
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-quick-card{
   display:grid!important;grid-template-columns:36px minmax(0,1fr) 15px!important;
   align-items:center!important;gap:10px!important;min-height:58px!important;
   padding:10px 12px!important;border-radius:13px!important;box-shadow:none!important;
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-quick-icon,
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-context-icon{
   width:36px!important;height:36px!important;min-width:36px!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-quick-copy{
   display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-quick-copy strong,
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-context-copy strong{
   font-size:13.5px!important;line-height:1.32!important;font-weight:720!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-quick-copy small{
   display:block!important;font-size:10.5px!important;line-height:1.3!important;
   overflow-wrap:anywhere!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-quick-arrow{
   display:block!important;position:static!important;font-size:15px!important;
   margin:0!important;align-self:center!important;transform:none!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-extra-suggestions{
   padding-top:2px!important;margin-top:1px!important;border-top:0!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-more-toggle{
   min-height:44px!important;padding:5px 1px!important;font-size:12px!important;
   justify-content:flex-start!important;gap:8px!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-composer{
   z-index:2!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-input-wrap input{
   font-size:16px!important
 }
}

/* UX-03 — Cohérence des en-têtes et des contrôles du parcours quotidien. */
@media(max-width:759px){
 body.mm-interface .mm-week-screen .mm-week-heading,
 body.mm-interface .mm-shopping-screen .mm-functional-page-title,
 body.mm-interface .mm-fridge-screen .mm-fridge-title-row h1{
   line-height:1.16!important;letter-spacing:-.025em!important
 }
 body.mm-interface .mm-shopping-screen .mm-shopping-entry-copy small,
 body.mm-interface .mm-fridge-screen .mm-fridge-native-row small{
   line-height:1.4!important
 }
 body.mm-interface .mm-week-screen :is(.mm-week-recipes-shortcut,.mm-week-day-chip,.mm-week-meal-copy),
 body.mm-interface .mm-shopping-screen :is(.mm-shopping-entry-budget,.mm-shopping-entry-receipt,.mm-shopping-purchases-actions>button),
 body.mm-interface .mm-fridge-screen :is(.mm-fridge-add-top,.mm-fridge-secondary-panel>summary){
   -webkit-tap-highlight-color:transparent
 }
 body.mm-interface .mm-app.mm-ui-v2-common :is(
   .mm-week-recipes-shortcut,.mm-week-day-chip,.mm-week-meal-copy,
   .mm-shopping-entry-budget,.mm-shopping-entry-receipt,
   .mm-fridge-add-top,.mm-assistant-context-card,.mm-assistant-quick-card
 ):focus-visible{
   outline:3px solid var(--mm-prune-action,#663455)!important;outline-offset:2px!important
 }
}
@media(prefers-reduced-motion:reduce){
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page :is(.mm-assistant-quick-card,.mm-assistant-context-card){
   transition:none!important
 }
}


/* UI-QA01 — Recettes : un en-tête propre et un seul sélecteur Catalogue / Idées. */
.mm-library-screen .mm-library-menus-heading-row{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:10px!important;margin-bottom:12px!important
}
.mm-library-screen .mm-library-menus-heading-row>.mm-library-menus-heading{margin:0!important;min-width:0!important}
.mm-library-screen .mm-library-back-planning{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 auto!important;gap:6px!important;min-height:44px!important;padding:8px 11px!important;
 border:1px solid var(--mm-line-strong,#ded5dc)!important;border-radius:13px!important;
 background:var(--mm-card,#fff)!important;color:var(--mm-prune-action,#663455)!important;
 font:700 12px/1.3 ui-sans-serif,system-ui,-apple-system,sans-serif!important;cursor:pointer
}
.mm-library-screen .mm-library-back-planning i{font-size:17px}
.mm-library-screen .mm-library-modes-row{
 display:flex!important;justify-content:flex-start!important;align-items:center!important;
 gap:0!important;min-height:44px!important;margin:0 0 11px!important
}
.mm-library-screen .mm-library-modes-row>.mm-library-mode-switch{
 flex:0 0 auto!important;width:min(245px,100%)!important;min-width:0!important;margin:0!important
}
.mm-library-screen .mm-library-back-planning:focus-visible{
 outline:3px solid var(--mm-prune-action,#663455)!important;outline-offset:2px!important
}

/* UI-QA01 — Courses : Ajouter et Options partagent une ligne de navigation. */
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page
   .mm-shopping-desktop-head:not(.is-shopping-history){
  display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;
  grid-template-areas:"heading heading" "tally tally" "week week" "entry entry"
   "mini mini" "add options" "history history"!important;
  column-gap:8px!important;row-gap:0!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page
   .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-functional-page-title-row{grid-area:heading!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page
   .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-page-tally{grid-area:tally!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page
   .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-week-navigation{grid-area:week!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page
   .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-entry-points{grid-area:entry!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page
   .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-mini-actions{grid-area:mini!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page
   .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-quick-add{
  grid-area:add!important;grid-column:1!important;grid-row:6!important;
  min-width:0!important;width:100%!important;margin:0 0 7px!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page
   .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-search-tools{
  grid-area:options!important;grid-column:2!important;grid-row:6!important;
  min-width:44px!important;width:44px!important;margin:0 0 7px!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page
   .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-history-strip{grid-area:history!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-page-tally{
  font:650 12.5px/1.4 ui-sans-serif,system-ui,-apple-system,sans-serif!important;
  color:var(--inventory-muted,#786d78)!important;margin:0 2px 8px!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page
   .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-search-tools:has(.mm-shopping-list-options[open]){
  margin-bottom:112px!important
 }
}

/* UI-QA01 — Repas déjà mangé : statut compact et toujours réversible. */
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-week-screen .mm-week-meal-compact
   .mm-week-meal-footer:has(>.mm-week-eaten.is-done){
  display:flex!important;justify-content:flex-end!important;align-items:center!important;
  min-height:44px!important;gap:0!important;padding:0 10px 7px!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-week-screen .mm-week-meal-compact
   .mm-week-meal-footer>.mm-week-eaten.is-done{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;width:max-content!important;max-width:144px!important;
  min-width:0!important;min-height:44px!important;height:44px!important;
  padding:7px 13px!important;font-size:12px!important;
  border:1px solid var(--mm-success-ink,#537456)!important;
  background:var(--mm-success-soft,#edf4ec)!important;
  color:var(--mm-success-ink,#537456)!important;box-shadow:none!important
 }
}

/* UI-QA01 — Stock : quantité moins imposante, sans toucher à l'édition. */
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen
   .mm-fridge-native-row:not(.is-selecting)>.mm-fridge-qty-trigger{
  min-width:65px!important;max-width:106px!important;padding:7px 9px!important;gap:4px!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-qty-trigger>strong{
  font-size:14px!important;font-weight:750!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-qty-trigger>small{
  font-size:11px!important;line-height:1.2!important
 }
}


/* UX-F03 — Mes recettes / R01.1 : retour intégré au titre, création dans l’en-tête. */
.mm-library-screen .mm-library-menus-heading-row{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 justify-content:flex-start!important;gap:5px!important;margin:0 0 9px!important;min-width:0!important
}
.mm-library-screen .mm-library-menus-heading-row>.mm-library-back-planning{
 display:inline-flex!important;justify-content:flex-start!important;align-items:center!important;
 align-self:center!important;gap:0!important;min-height:44px!important;min-width:44px!important;
 flex:0 0 44px!important;padding:0!important;justify-content:center!important;border:0!important;border-radius:8px!important;
 background:transparent!important;box-shadow:none!important;
 color:var(--mm-prune-action,#663455)!important;
 font:650 12.5px/1.35 ui-sans-serif,system-ui,-apple-system,sans-serif!important
}
.mm-library-screen .mm-library-menus-heading-row>.mm-library-back-planning i{font-size:16px!important}
.mm-library-screen .mm-library-menus-heading-row>.mm-library-menus-heading{
 flex:1 1 auto!important;min-width:0!important;margin:0!important;font-size:clamp(22px,6vw,31px)!important;
 line-height:1.16!important;letter-spacing:-.025em!important
}
.mm-library-screen .mm-library-modes-row{
 display:flex!important;align-items:stretch!important;justify-content:flex-start!important;
 min-height:44px!important;width:100%!important;gap:0!important;
 margin:0 0 12px!important
}
.mm-library-screen .mm-library-modes-row>.mm-library-mode-switch{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 flex:1 1 auto!important;min-width:0!important;width:100%!important;
 max-width:none!important;gap:3px!important;min-height:46px!important;margin:0!important;
 padding:3px!important;box-sizing:border-box!important
}
.mm-library-screen .mm-library-modes-row>.mm-library-mode-switch>button{
 min-height:44px!important;min-width:0!important;padding:7px 10px!important;
 font-size:13px!important;line-height:1.25!important
}
.mm-library-screen .mm-library-menus-heading-row>.mm-library-back-planning:focus-visible,
.mm-library-screen .mm-library-modes-row>.mm-library-mode-switch>button:focus-visible{
 outline:3px solid var(--mm-prune-action,#663455)!important;outline-offset:2px!important
}
@media(max-width:759px){
 body.mm-interface .mm-library-screen .mm-library-search-row{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:8px!important;align-items:stretch!important;margin-bottom:9px!important
 }
 body.mm-interface .mm-library-screen .mm-library-search-wrap{min-width:0!important}
 body.mm-interface .mm-library-screen .mm-library-search-wrap input{
  font-size:16px!important;min-height:48px!important
 }
 body.mm-interface .mm-library-screen .mm-library-source-scroll{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;overflow:visible!important;width:100%!important;
  margin:0 0 8px!important;padding:0!important
 }
 body.mm-interface .mm-library-screen .mm-library-source-scroll>button{
  min-width:0!important;min-height:44px!important;
  padding:7px 4px!important;font-size:11.5px!important;
  line-height:1.23!important;white-space:normal!important;overflow-wrap:normal!important;
  text-align:center!important
 }
 body.mm-interface .mm-library-screen .mm-library-filter-meta{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:8px!important;margin:0 0 11px!important
 }
 body.mm-interface .mm-library-screen .mm-library-filter-meta>span{
  flex:0 0 auto!important;color:var(--mm-prune-text,#35182f)!important;
  font:650 12px/1.35 ui-sans-serif,system-ui,-apple-system,sans-serif!important
 }
 body.mm-interface .mm-library-screen .mm-library-filter-tools{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:6px!important;min-width:0!important
 }
 body.mm-interface .mm-library-screen :is(.mm-library-filter-chip.is-mobile-filter,.mm-library-sort-trigger){
  min-height:44px!important;padding:8px!important;border-radius:12px!important;
  font-size:11.5px!important
 }
}
@media(max-width:359px){
 body.mm-interface .mm-library-screen .mm-library-source-scroll>button{font-size:10.8px!important;padding-inline:3px!important}
 body.mm-interface .mm-library-screen :is(.mm-library-filter-chip.is-mobile-filter,.mm-library-sort-trigger){padding-inline:6px!important;font-size:11px!important}
}


/* U34-02 — iPhone : un seul contour de focus pour la recherche des Courses. */
@media (max-width: 759px) {
  html body.mm-interface .mm-app.mm-ui-v2-common
    .mm-shopping-screen.is-shopping-list-page .mm-shopping-list-content > .mm-shopping-search {
    min-width:0!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common
    .mm-shopping-screen.is-shopping-list-page .mm-shopping-list-content > .mm-shopping-search
    .mm-shopping-search-label {
    box-sizing:border-box!important;
    min-width:0!important;
    border:1px solid var(--mm-line,#e7dce5)!important;
    border-radius:15px!important;
    outline:0!important;
    box-shadow:none!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common
    .mm-shopping-screen.is-shopping-list-page .mm-shopping-list-content > .mm-shopping-search
    .mm-shopping-search-label:focus-within {
    border:2px solid var(--mm-prune,#663455)!important;
    outline:0!important;
    box-shadow:none!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common
    .mm-shopping-screen.is-shopping-list-page .mm-shopping-list-content > .mm-shopping-search
    .mm-shopping-search-label > input,
  html body.mm-interface .mm-app.mm-ui-v2-common
    .mm-shopping-screen.is-shopping-list-page .mm-shopping-list-content > .mm-shopping-search
    .mm-shopping-search-label > input:focus,
  html body.mm-interface .mm-app.mm-ui-v2-common
    .mm-shopping-screen.is-shopping-list-page .mm-shopping-list-content > .mm-shopping-search
    .mm-shopping-search-label > input:focus-visible {
    appearance:none!important;
    -webkit-appearance:none!important;
    flex:1 1 auto!important;
    min-width:0!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    font-size:16px!important;
    padding:9px 0!important;
    margin:0!important;
  }
}

/* U34-02 — Frigo : texte sans péremption non rogné sur petit écran. */
html body.mm-interface .mm-fridge-detail-card .mm-fridge-no-expiry-area {
  display:flex;
  flex-direction:column;
  gap:9px;
  min-width:0;
  padding:9px 14px 18px;
  box-sizing:border-box;
}
html body.mm-interface .mm-fridge-detail-card .mm-fridge-no-expiry-choice {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-height:48px!important;
  white-space:normal!important;
  line-height:1.4!important;
}
html body.mm-interface .mm-fridge-detail-card .mm-fridge-no-expiry-help {
  display:block;
  width:100%;
  margin:0;
  padding:0;
  font-size:12px;
  line-height:1.55;
  color:var(--mm-muted,#82777d);
  white-space:normal;
  overflow-wrap:break-word;
}


/* U34-03 : recherche Frigo pleine largeur sur mobile, sans colonne fantôme. */
@media (max-width:759px) {
  html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-mock-search {
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    width:100%!important;max-width:100%!important;
    box-sizing:border-box!important;min-width:0!important;
  }
  html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-mock-search>input {
    grid-column:1/-1!important;grid-row:1!important;
    display:block!important;width:100%!important;min-width:0!important;
    box-sizing:border-box!important;padding-left:46px!important;
    font-size:16px!important;
  }
  html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-mock-search>i {
    grid-column:1!important;grid-row:1!important;z-index:1!important;
    pointer-events:none!important;
  }
}

/* U34-03 : menu ancré au bouton « … », au-dessus de la recherche. */
html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-mock-head,
html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-title-row {
  overflow:visible!important;
}
html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-title-row {
  position:relative!important;z-index:70!important;
}
html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-options-anchor {
  position:relative!important;display:flex!important;align-items:center!important;
  justify-content:center!important;flex:0 0 auto!important;z-index:71!important;
}
html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-options-anchor>.mm-fridge-cook-tools {
  position:absolute!important;top:calc(100% + 6px)!important;
  right:0!important;left:auto!important;z-index:72!important;
  display:block!important;width:max-content!important;
  max-width:calc(100vw - 24px)!important;min-height:0!important;
  margin:0!important;padding:0!important;
}
html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-overflow-menu {
  position:relative!important;top:auto!important;right:auto!important;
  max-width:min(290px,calc(100vw - 24px))!important;
}
html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-overflow-menu>button,
html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-overflow-menu>button.is-danger {
  display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;
  align-items:center!important;justify-items:stretch!important;
  justify-content:start!important;gap:12px!important;
  min-height:44px!important;padding:9px 12px!important;text-align:left!important;
}
html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-overflow-menu>button>.ti,
html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-overflow-menu>button.is-danger>i {
  display:block!important;width:20px!important;flex:0 0 20px!important;
  margin:0!important;padding:0!important;justify-self:center!important;
  text-align:center!important;line-height:1!important;
}
html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-overflow-menu>button>span,
html body.mm-interface .mm-app .mm-fridge-screen .mm-fridge-overflow-menu>button.is-danger>span {
  min-width:0!important;justify-self:start!important;text-align:left!important;
  white-space:normal!important;overflow-wrap:break-word!important;
}


/* U35 — Mes menus : le sélecteur Jour/Semaine utilise l'espace disponible. */
@media(max-width:759px){
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-week-screen .mm-menus-toolbar{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;justify-content:stretch!important;
    gap:9px!important;width:100%!important;min-width:0!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-week-screen .mm-menus-toolbar>.mm-menus-mode-row{
    display:flex!important;width:100%!important;min-width:0!important;flex:1 1 auto!important;
    align-items:center!important;align-self:center!important;
    margin:0!important;padding:0!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-week-screen .mm-menus-toolbar .mm-menu-view-switch{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;min-width:0!important;max-width:none!important;flex:1 1 auto!important;
    margin:0!important;align-self:center!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-week-screen .mm-menus-toolbar>.mm-week-actions-bar.is-simplified{
    display:flex!important;align-items:center!important;justify-content:flex-end!important;
    justify-self:end!important;min-width:0!important;width:auto!important;max-width:100%!important;
    margin:0!important;align-self:center!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-week-screen .mm-menus-toolbar .mm-week-generate-primary{
    min-width:0!important;width:auto!important;white-space:nowrap!important;
  }
}
@media(max-width:359px){
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-week-screen .mm-menus-toolbar{gap:6px!important}
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-week-screen .mm-menus-toolbar .mm-menu-view-switch>button{
    padding-inline:3px!important;font-size:11px!important;
  }
}
/* U35 — Mon organisation : trois lignes distinctes, statut de programme espacé. */
@media(max-width:1099px){
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-panel{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    justify-items:stretch!important;align-items:start!important;gap:11px!important;
    width:100%!important;min-width:0!important;box-sizing:border-box!important;
    margin:0!important;padding:15px 16px!important;border:1px solid var(--mm-line-strong,#ded5dc)!important;
    border-radius:16px!important;background:var(--mm-card,#fff)!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-copy{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:7px!important;min-width:0!important;width:100%!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-eyebrow{
    display:block!important;color:var(--mm-muted,#82777d)!important;
    font-size:11px!important;font-weight:800!important;letter-spacing:.055em!important;line-height:1.4!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-copy>strong{
    display:block!important;font-size:18px!important;line-height:1.3!important;
    font-weight:800!important;color:var(--mm-prune-text,#34172e)!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-copy>small{
    display:block!important;color:var(--mm-muted,#82777d)!important;font-size:12.5px!important;line-height:1.45!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-program{
    display:inline-flex!important;justify-self:start!important;align-items:center!important;gap:9px!important;
    min-height:36px!important;max-width:100%!important;padding:7px 11px!important;box-sizing:border-box!important;
    border:1px solid var(--mm-line-strong,#ded5dc)!important;border-radius:11px!important;
    background:var(--mm-prune-soft,#f2e9ef)!important;color:var(--mm-prune-text,#34172e)!important;
    font-size:12px!important;font-weight:700!important;line-height:1.4!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-program>i{
    flex:0 0 18px!important;font-size:18px!important;line-height:1!important;
  }
}
/* U35 — Budget : indicateur basé sur les dépenses réellement saisies. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-goal-progress{
  display:grid!important;gap:9px!important;min-width:0!important;margin-top:17px!important;
  padding:15px 0 14px!important;border-top:1px solid var(--mm-line-strong,#ded5dc)!important;
  border-bottom:1px solid var(--mm-line-strong,#ded5dc)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-goal-progress-heading{
  display:flex!important;align-items:baseline!important;justify-content:space-between!important;
  gap:6px 12px!important;flex-wrap:wrap!important;min-width:0!important;
  font-size:12px!important;line-height:1.45!important;color:var(--mm-prune-text,#34172e)!important;font-weight:750!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-goal-progress-heading>strong{
  font-variant-numeric:tabular-nums!important;font-size:12px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-goal-progress>progress{
  display:block!important;appearance:none!important;-webkit-appearance:none!important;
  width:100%!important;height:12px!important;overflow:hidden!important;border:0!important;
  border-radius:999px!important;background:var(--mm-soft,#eee8ee)!important;color:var(--mm-prune-action,#663455)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-goal-progress>progress::-webkit-progress-bar{
  background:var(--mm-soft,#eee8ee)!important;border-radius:999px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-goal-progress>progress::-webkit-progress-value{
  background:var(--mm-prune-action,#663455)!important;border-radius:999px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-goal-progress>progress::-moz-progress-bar{
  background:var(--mm-prune-action,#663455)!important;border-radius:999px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-goal-progress.is-warning>progress::-webkit-progress-value{
  background:#a87933!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-goal-progress.is-over>progress::-webkit-progress-value{
  background:var(--mm-danger,#b44c52)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-goal-progress.is-warning>progress::-moz-progress-bar{
  background:#a87933!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-goal-progress.is-over>progress::-moz-progress-bar{
  background:var(--mm-danger,#b44c52)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-goal-progress>small{
  color:var(--mm-muted,#82777d)!important;font-size:11.5px!important;line-height:1.45!important;
}


/* UX42 — Contraste Accueil desktop et retour racine Organisation.
   La fiche repas est en fond clair à partir de 1100px (D06) : les textes
   blancs de l'overlay mobile ne doivent pas s'y appliquer. */
@media(min-width:1100px){
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-home-main-meal
  .mm-meal-hero.is-compact .mm-meal-hero-body .mm-home-meal-title{
    color:var(--mm-prune-text,#34172e)!important;
    text-shadow:none!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-home-main-meal
  .mm-meal-hero.is-compact .mm-meal-hero-body .mm-home-meal-meta,
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-home-main-meal
  .mm-meal-hero.is-compact .mm-meal-hero-body .mm-home-meal-meta>span,
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-home-main-meal
  .mm-meal-hero.is-compact .mm-meal-hero-body .mm-home-meal-meta :is(i,svg){
    color:var(--mm-muted,#776d74)!important;
    text-shadow:none!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-home-main-meal
  .mm-meal-hero.is-compact .mm-meal-hero-body :is(.mm-week-pizza-summary,.mm-home-composed-detail){
    color:var(--mm-prune-text,#34172e)!important;
    text-shadow:none!important;
  }
  /* La navigation latérale desktop remplace le retour contextuel. Celui-ci
     reste disponible sur mobile et tablette, où il est nécessaire. */
  html body.mm-interface .mm-app.mm-ui-v2-common
  .mm-organization-page.is-simplified .mm-organization-header>.mm-organization-back{
    display:none!important;
  }
}


/* UX45 — Menus desktop, vue Jour : le rail des sept jours est l'unique
   navigation quotidienne. Les flèches du titre sont réservées au mobile. */
@media(min-width:1100px){
  html body.mm-interface .mm-app.mm-ui-v2-common
  .mm-week-screen .mm-week-day-heading.is-navigable{
    display:block!important;
    grid-template-columns:none!important;
    width:100%!important;
    margin:5px 0 12px!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common
  .mm-week-screen .mm-week-day-heading.is-navigable>.mm-week-day-step{
    display:none!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common
  .mm-week-screen .mm-week-day-heading.is-navigable>.mm-week-day-title{
    text-align:left!important;
    padding:0!important;
    font-size:clamp(22px,2vw,28px)!important;
    line-height:1.2!important;
  }
}
 
/* UX47 — Accueil desktop : validation du repas lisible en entier.
   Les libellés ne sont plus tronqués en points de suspension.
   Aucun impact sur les boutons du mode iPhone/tablette. */
@media(min-width:1100px){
  html body.mm-interface .mm-app.mm-ui-v2-common
  .mm-home-main-meal .mm-home-primary-actions>.mm-home-eaten-quick{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    box-sizing:border-box!important;
    justify-self:stretch!important;
    justify-content:center!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common
  .mm-home-main-meal .mm-home-primary-actions>.mm-home-eaten-quick>span:last-child{
    flex:0 1 auto!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    word-break:normal!important;
  }
}

/* Finition iOS — les trois écrans d'usage quotidien reposent sur une surface
   opaque et unie. Le dégradé historique de .mm-app ne transparaît plus à
   travers .mm-main-shell, tandis que les transparences utiles des panneaux et
   des modales restent inchangées. */
@media(max-width:1099px){
  html body.mm-interface .mm-app.mm-ui-v2-common:is(
    :has(.mm-main-shell > .mm-week-screen),
    :has(.mm-main-shell > .mm-shopping-screen.is-shopping-list-page),
    :has(.mm-main-shell > .mm-fridge-screen)
  ){
    background:var(--mm-page-bg,#FEF8F2)!important;
    background-image:none!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common:is(
    :has(.mm-main-shell > .mm-week-screen),
    :has(.mm-main-shell > .mm-shopping-screen.is-shopping-list-page),
    :has(.mm-main-shell > .mm-fridge-screen)
  )::before{
    background:var(--mm-page-bg,#FEF8F2)!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-main-shell:is(
    :has(> .mm-week-screen),
    :has(> .mm-shopping-screen.is-shopping-list-page),
    :has(> .mm-fridge-screen)
  ){
    background:var(--mm-page-bg,#FEF8F2)!important;
    background-image:none!important;
  }
}

/* UX-H43 — Accueil iPhone 8/13 : date dans le flux et vrai cadrage photo.
   Ne touche ni aux cartes Menus ni à la fiche recette. */
@media(max-width:759px){
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-home .mm-home-intro{
    min-width:0!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-home .mm-home-greeting{
    padding-right:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    font-size:clamp(24px,6.6vw,29px)!important;
    line-height:1.14!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-home .mm-home-greeting .mm-wave{
    display:inline-block!important;
    white-space:nowrap!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-home .mm-home-date-row{
    position:static!important;
    top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
    display:flex!important;
    align-items:center!important;
    width:max-content!important;
    max-width:100%!important;
    margin:6px 0 0!important;
    font-size:12px!important;
    line-height:1.3!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-home .mm-home-subtitle{
    padding-right:0!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-home-main-meal
  .mm-meal-hero.is-compact .mm-meal-hero-media{
    height:clamp(208px,57vw,232px)!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-home-main-meal
  .mm-meal-hero.is-compact .mm-meal-hero-media>img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:50% 44%!important;
  }
}


/* BUDGET-VISUAL-01 : dépenses et progression visibles sur iPhone 8/13. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-home-dashboard{
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;gap:10px!important;min-width:0}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-home-dashboard>div{
  padding:13px 12px!important;min-width:0!important;border-radius:14px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-home-dashboard .mm-budget-home-spent strong{
  font-size:clamp(23px,6vw,30px)!important;line-height:1.2!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-home-dashboard .mm-budget-home-remaining strong{
  font-size:clamp(18px,4.6vw,23px)!important;line-height:1.2!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-home-dashboard small{
  font-size:11px;color:var(--mm-muted,#786d78);line-height:1.35}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-home-progress{
  margin:0!important;padding:0!important;border:0!important;gap:8px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-home-state{
  margin:0!important;padding:10px 12px!important;border-radius:12px!important;
  background:var(--mm-soft,#f5eef4)!important;color:var(--mm-prune-text,#34172e)!important;
  font-size:12px!important;font-weight:700!important;line-height:1.5!important}
@media(max-width:390px){
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-home-dashboard{gap:7px!important}
  html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-home-dashboard>div{padding:11px 9px!important}
}

/* F7 : accès facultatif aux prix sans ajouter une carte au tableau de bord. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-budget-page .mm-budget-home-price-link{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  min-height:44px;width:100%;box-sizing:border-box;padding:9px 10px;
  border:1px solid var(--mm-line,#eee6ec);border-radius:10px;
  background:var(--mm-card,#fff);color:var(--mm-prune-action,#663455);
  font:inherit;font-size:13px;font-weight:700;text-align:left;
}

/* R01.1 — une seule action Créer, accessible aussi depuis Idées. */
html body.mm-interface .mm-library-screen .mm-library-menus-heading-row>.mm-library-add-compact{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 auto!important;gap:5px!important;width:auto!important;min-width:44px!important;
 max-width:none!important;height:auto!important;min-height:44px!important;
 padding:8px 11px!important;border-radius:12px!important;white-space:nowrap!important;
 background:var(--mm-prune-action,#663455)!important;color:var(--mm-on-prune,#fff)!important;
 border:1px solid transparent!important;box-shadow:none!important;font-size:13px!important;font-weight:700!important
}
html body.mm-interface .mm-library-screen .mm-library-menus-heading-row>.mm-library-add-compact>span{display:inline!important}
html body.mm-interface .mm-library-screen .mm-library-menus-heading-row>.mm-library-add-compact:focus-visible{
 outline:3px solid var(--mm-prune-action,#663455)!important;outline-offset:2px!important
}
.mm-library-screen .mm-library-search-row{grid-template-columns:minmax(0,1fr)!important}

/* R01.2 — catalogue : une recherche pleine largeur, des accès rapides et une ligne d'outils. */
html body.mm-interface .mm-library-screen>.mm-library-recipes-panel.is-catalog>.mm-library-search-row{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;
 min-width:0!important;gap:0!important;margin:0 0 8px!important
}
html body.mm-interface .mm-library-screen>.mm-library-recipes-panel.is-catalog>.mm-library-source-scroll{
 display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;
 align-items:center!important;gap:5px!important;margin:0 0 6px!important;padding:0!important;
 width:100%!important;min-width:0!important;overflow:visible!important
}
html body.mm-interface .mm-library-screen>.mm-library-recipes-panel.is-catalog>.mm-library-source-scroll>button{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 1 auto!important;width:auto!important;min-width:44px!important;min-height:44px!important;
 gap:4px!important;padding:7px 10px!important;border-radius:999px!important;
 font-size:12px!important;line-height:1.2!important;white-space:normal!important
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-library-screen>.mm-library-recipes-panel.is-catalog>.mm-library-source-scroll>button.is-active{
 background:var(--mm-prune-action,#591b39)!important;color:#fff!important;
 border-color:transparent!important
}
html body.mm-interface .mm-library-screen>.mm-library-recipes-panel.is-catalog>.mm-library-filter-meta{
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
 min-height:44px!important;min-width:0!important;gap:5px!important;
 margin:0 0 8px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important
}
html body.mm-interface .mm-library-screen>.mm-library-recipes-panel.is-catalog>.mm-library-filter-meta>span{
 flex:1 1 auto!important;min-width:0!important;font-size:12px!important;font-weight:600!important
}
html body.mm-interface .mm-library-screen>.mm-library-recipes-panel.is-catalog .mm-library-filter-tools{
 display:flex!important;align-items:center!important;justify-content:flex-end!important;
 width:auto!important;flex:0 0 auto!important;gap:5px!important
}
html body.mm-interface .mm-library-screen>.mm-library-recipes-panel.is-catalog :is(.mm-library-filter-chip,.mm-library-sort-trigger){
 align-items:center!important;justify-content:center!important;width:auto!important;min-width:44px!important;
 min-height:44px!important;padding:7px 9px!important;gap:4px!important;border-radius:11px!important;
 font-size:12px!important;white-space:nowrap!important
}
html body.mm-interface .mm-library-screen>.mm-library-recipes-panel.is-catalog .mm-library-sort-trigger{
 display:inline-flex!important
}
html body.mm-interface .mm-library-screen>.mm-library-recipes-panel.is-catalog>.mm-recipe-library-grid{
 grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important
}
/* Neutraliser l'ancien panneau d'outils latéral qui réservait une colonne à Créer. */
@media(min-width:1100px){
 html body.mm-interface .mm-library-screen:has(> .mm-library-recipes-panel.is-catalog){
  display:block!important
 }
 html body.mm-interface .mm-library-screen>.mm-library-recipes-panel.is-catalog{
  display:block!important
 }
}

/* R02.1 — filtres fréquents, critères secondaires repliés et actions toujours visibles. */
.mm-library-active-filters{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0 0 10px;min-width:0}
.mm-library-active-filters button{min-height:44px;min-width:44px;max-width:100%;padding:6px 10px;border:0;border-radius:999px;font:inherit;font-size:12px;cursor:pointer}
.mm-library-active-filter{display:inline-flex;align-items:center;gap:6px;background:var(--mm-prune-soft,#f2e5f1);color:var(--mm-prune-text,#591b39)}
.mm-library-active-filter span{min-width:0;overflow-wrap:anywhere}
.mm-library-clear-filters{background:transparent;color:var(--mm-prune-action,#663455);text-decoration:underline}
html body.mm-interface .mm-bottom-sheet.mm-library-r02-sheet{
 display:flex!important;flex-direction:column!important;overflow:hidden!important;
 max-height:min(90dvh,calc(100dvh - env(safe-area-inset-top,0px) - 12px))!important;
 padding-bottom:max(12px,env(safe-area-inset-bottom,0px))!important
}
.mm-library-r02-sheet>.mm-sheet-handle,.mm-library-r02-sheet>.mm-sheet-header{flex:0 0 auto}
html body.mm-interface .mm-library-r02-sheet>.mm-sheet-content{
 display:flex!important;flex-direction:column!important;min-height:0!important;flex:1 1 auto!important;overflow:hidden!important
}
.mm-library-r02-filters{display:flex!important;flex-direction:column!important;min-height:0;flex:1 1 auto;gap:0!important}
.mm-library-r02-scroll{overflow-y:auto;min-height:0;flex:1 1 auto;overscroll-behavior:contain;padding:0 2px 4px}
.mm-library-r02-group{display:grid;gap:7px;padding:10px 0;border-bottom:1px solid var(--mm-line,#e3d9e0)}
.mm-library-r02-group h3,.mm-library-r02-group label>span{margin:0;font-size:15px!important;font-weight:700;color:var(--mm-ink,#332b30)}
.mm-library-r02-group small,.mm-library-r02-more summary small{display:block;font-size:12px;line-height:1.4;color:var(--mm-muted,#807780)}
.mm-library-r02-choices{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.mm-library-r02-choice{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 9px;border:1px solid var(--mm-line,#e3d9e0);border-radius:12px;background:var(--mm-soft,#eee9e6);color:var(--mm-ink,#332b30);font:inherit;font-size:13px;cursor:pointer;text-align:center}
.mm-library-r02-choice.is-active{background:var(--mm-prune-soft,#f2e5f1);color:var(--mm-prune-text,#591b39);border-color:var(--mm-prune-action,#663455);font-weight:700}
html:not([data-menumia-theme="dark"]) .mm-library-r02-choice.is-active{background:var(--mm-prune-action,#591b39);color:#fff}
.mm-library-r02-other-categories{max-width:100%}
.mm-library-r02-other-categories[open]{flex-basis:100%}
.mm-library-r02-other-categories[open]>.mm-library-r02-choices{padding-top:6px}
.mm-library-r02-other-categories summary,.mm-library-r02-more summary{list-style:none;cursor:pointer}
.mm-library-r02-other-categories summary::-webkit-details-marker,.mm-library-r02-more summary::-webkit-details-marker{display:none}
.mm-library-r02-more{border-bottom:1px solid var(--mm-line,#e3d9e0);padding:5px 0}
.mm-library-r02-more>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:4px 0;color:var(--mm-ink,#332b30)}
.mm-library-r02-more>summary strong{font-size:14px}
.mm-library-r02-more[open]>summary i{transform:rotate(180deg)}
.mm-library-r02-more .mm-library-filter-sheet-grid{margin:6px 0}
.mm-library-r02-filters .mm-library-r02-dairy{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;color:var(--mm-ink,#332b30)}
.mm-library-r02-dairy input{width:20px;height:20px;accent-color:var(--mm-prune-action,#663455)}
.mm-library-r02-filters select{background:var(--mm-card,#fff)!important;color:var(--mm-ink,#332b30)!important;border-color:var(--mm-line,#e3d9e0)!important}
.mm-library-r02-filters .mm-library-filter-sheet-actions{flex:0 0 auto;border-top:1px solid var(--mm-line,#e3d9e0);padding-top:8px;background:var(--mm-card,#fff)}
.mm-library-r02-filters .mm-library-filter-sheet-actions button{min-height:44px;padding-inline:9px;line-height:1.3;font-size:12px}
.mm-library-r02-filters .mm-library-filter-sheet-actions .is-secondary{background:var(--mm-card,#fff);color:var(--mm-prune-text,#591b39);border-color:var(--mm-line,#e3d9e0)}
.mm-library-r02-filters .mm-library-filter-sheet-actions .is-secondary:disabled{opacity:.55;cursor:default}
.mm-library-r02-filters .mm-library-filter-sheet-actions .is-primary{background:var(--mm-prune-action,#663455);color:var(--mm-on-prune,#fff)}
.mm-library-r02-sheet :is(button,summary,select,input):focus-visible,.mm-library-active-filters button:focus-visible{outline:2px solid var(--mm-prune-action,#663455);outline-offset:2px}

/* R02.2 — libellés explicites du tri et explication du choix recommandé. */
.mm-library-sheet-options .mm-library-sort-option-copy{
 display:grid;gap:3px;min-width:0;text-align:left;white-space:normal;overflow-wrap:anywhere
}
.mm-library-sort-option-copy small{font-size:12px;font-weight:400;line-height:1.4;color:var(--mm-muted,#807780)}
.mm-library-sheet-options .mm-library-sheet-option{min-height:44px}

/* R03.1 — cartes du catalogue : photo 4:3, titre entier, cœur à côté du titre. */
html body.mm-interface .mm-library-screen .mm-recipe-library-item>.mm-library-card{
 display:flex!important;flex-direction:column!important;height:100%!important;min-width:0!important
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-photo-wrap{
 aspect-ratio:4/3!important;height:auto!important;flex:0 0 auto!important
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-card-content{
 position:relative;display:flex;flex:1 1 auto;min-width:0
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-copy{
 width:100%!important;flex:1 1 auto!important;text-align:left!important;padding:9px 9px 7px!important;
 min-width:0!important;height:auto!important;max-height:none!important;overflow:visible!important
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-copy h3{
 display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;
 min-height:44px!important;max-height:none!important;height:auto!important;
 padding-right:39px!important;margin:0!important;font-size:15px!important;line-height:1.3!important;
 white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important;
 color:var(--mm-ink,#332b30)!important
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-card-content>.mm-library-heart{
 position:absolute!important;top:2px!important;right:2px!important;left:auto!important;
 width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
 color:var(--mm-prune-text,#591b39)!important;z-index:2
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-card-content>.mm-library-heart::before{
 display:none!important;content:none!important
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-card-content>.mm-library-heart .mm-library-heart-symbol{
 color:var(--mm-prune-text,#591b39)!important
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-details{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;
 margin-top:3px!important;min-width:0!important
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-details>.mm-library-meta{
 display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;
 align-items:baseline!important;gap:2px 4px!important;min-height:0!important;
 color:var(--mm-muted,#807780)!important
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-meta>span{
 display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
 padding:0!important;margin:0!important;border:0!important;background:transparent!important;
 max-width:100%!important;min-width:0!important;color:var(--mm-muted,#807780)!important;
 font-size:12px!important;overflow:visible!important;text-overflow:clip!important
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-meta>.mm-library-duration{white-space:nowrap!important;gap:3px!important}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-meta>.mm-library-cuisine{display:inline!important;white-space:normal!important;overflow-wrap:break-word!important}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-details>.mm-library-tags{
 min-height:0!important;max-height:none!important;height:auto!important;overflow:visible!important
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-details>.mm-library-tags>span{
 white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
 overflow-wrap:break-word!important;line-height:1.35!important;padding:3px 6px!important;
 font-size:10.5px!important;background:var(--mm-prune-soft,#f2e5f1)!important;color:var(--mm-prune-text,#591b39)!important;
 border-color:transparent!important
}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-details>.mm-library-tags>span i{flex:0 0 auto}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-library-screen .mm-library-card .mm-library-tags.is-equipment>span{background:#faebd6!important;color:#80510e!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-library-screen .mm-library-card .mm-library-tags.is-vegetarian>span{background:#e5eee2!important;color:#37603c!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-library-screen .mm-library-card .mm-library-tags.is-pleasure>span{background:#f8e5eb!important;color:#8b3057!important}
html[data-menumia-theme="dark"] body.mm-interface .mm-library-screen .mm-library-card .mm-library-tags.is-equipment>span{background:#49351e!important;color:#ffdb9b!important}
html[data-menumia-theme="dark"] body.mm-interface .mm-library-screen .mm-library-card .mm-library-tags.is-vegetarian>span{background:#263b29!important;color:#c2e3bd!important}
html[data-menumia-theme="dark"] body.mm-interface .mm-library-screen .mm-library-card .mm-library-tags.is-pleasure>span{background:#482536!important;color:#ffc8de!important}
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-actions{
 margin-top:auto!important;border-top:1px solid var(--mm-line,#e3d9e0)!important;
 padding:7px 9px 9px!important;gap:3px!important
}

/* R03.2 — actions de carte dans un dialogue partagé, jamais dans la carte rognée. */
html body.mm-interface .mm-library-screen .mm-library-card .mm-library-more-trigger{
 display:grid!important;place-items:center!important;min-width:44px!important;width:44px!important;
 min-height:44px!important;height:44px!important;padding:0!important;border-radius:12px!important;
 border:1px solid var(--mm-line,#e5dce3)!important;background:var(--mm-soft,#f7f2f5)!important;
 color:var(--mm-prune-text,#603553)!important;cursor:pointer;font:inherit;box-shadow:none!important
}
.mm-library-more-trigger i{font-size:20px}
.mm-library-more-trigger:focus-visible,.mm-library-card-actions-list button:focus-visible{
 outline:2px solid var(--mm-prune-action,#663455);outline-offset:2px
}
.mm-library-card-actions-name{
 font-weight:700;font-size:16px;line-height:1.4;overflow-wrap:break-word;
 color:var(--mm-ink,#332b30);margin:0 0 12px
}
.mm-library-card-actions-list{display:grid;gap:8px;padding-bottom:env(safe-area-inset-bottom,0px)}
.mm-library-card-actions-list button{
 display:flex;align-items:center;gap:10px;min-height:48px;width:100%;padding:10px 12px;
 border:1px solid var(--mm-line,#e5dce3);border-radius:12px;background:var(--mm-card,#fff);
 color:var(--mm-ink,#332b30);font:inherit;font-size:14px;text-align:left;cursor:pointer
}
.mm-library-card-actions-list button i{font-size:20px;flex:0 0 auto}
.mm-library-card-actions-list button.is-danger{color:#a32e49}
html[data-menumia-theme="dark"] .mm-library-card-actions-list button.is-danger{color:#ffb4c3}

/* R04.1 — six catégories visibles, sans rail horizontal, et raccourci Frigo. */
html body.mm-interface .mm-library-screen .mm-ideas-chip-rail .mm-ideas-chips{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:6px!important;width:100%!important;min-width:0!important;margin:0!important;
 padding:0!important;overflow:visible!important;scroll-padding:0!important
}
html body.mm-interface .mm-library-screen .mm-ideas-chip-rail .mm-ideas-chips>button{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:4px!important;box-sizing:border-box!important;
 width:100%!important;min-width:0!important;min-height:64px!important;height:auto!important;
 padding:7px 3px!important;border-radius:12px!important;white-space:normal!important;
 text-align:center!important;line-height:1.2!important;font-size:12px!important;
 border:1px solid var(--mm-line,#e3d9e0)!important;
 background:var(--mm-card,#fff)!important;color:var(--mm-ink,#332b30)!important
}
html body.mm-interface .mm-library-screen .mm-ideas-chips>button>i{
 font-size:21px;color:var(--mm-prune-text,#591b39)
}
html body.mm-interface .mm-library-screen .mm-ideas-chips>button>span{
 max-width:100%;min-width:0;overflow-wrap:break-word
}
html body.mm-interface .mm-library-screen .mm-ideas-chip-rail .mm-ideas-chips>button.is-active{
 background:var(--mm-prune-action,#591b39)!important;color:var(--mm-on-prune,#fff)!important;
 border-color:transparent!important;font-weight:700!important
}
html body.mm-interface .mm-library-screen .mm-ideas-chips>button.is-active>i{color:inherit!important}
html body.mm-interface .mm-library-screen button.mm-ideas-stock-strip{
 width:100%!important;box-sizing:border-box!important;min-height:68px!important;height:auto!important;
 display:grid!important;grid-template-columns:32px minmax(0,1fr) 18px!important;
 align-items:center!important;gap:8px!important;text-align:left!important;padding:10px!important;
 margin:0 0 10px!important;border-radius:13px!important;background:#e8efe4!important;
 border:1px solid transparent!important;color:#436746!important;cursor:pointer
}
html body.mm-interface .mm-library-screen button.mm-ideas-stock-strip .mm-ideas-stock-icon{
 background:transparent!important;color:inherit!important;width:32px!important;height:32px!important
}
html body.mm-interface .mm-library-screen button.mm-ideas-stock-strip .mm-ideas-stock-icon i{font-size:24px!important}
html body.mm-interface .mm-library-screen button.mm-ideas-stock-strip .mm-ideas-stock-copy>strong{
 font-size:15px!important;line-height:1.3!important;color:inherit!important
}
html body.mm-interface .mm-library-screen button.mm-ideas-stock-strip .mm-ideas-stock-copy>small{
 font-size:12px!important;line-height:1.4!important;white-space:normal!important;
 overflow:visible!important;text-overflow:clip!important;color:inherit!important
}
html[data-menumia-theme="dark"] body.mm-interface .mm-library-screen button.mm-ideas-stock-strip{
 background:#263b29!important;color:#c2e3bd!important
}
.mm-library-screen :is(.mm-ideas-chips>button,button.mm-ideas-stock-strip):focus-visible{
 outline:2px solid var(--mm-prune-action,#663455)!important;outline-offset:2px
}

/* R04.2 — couverture indicative, lisible sans promesse sur les quantités. */
html body.mm-interface .mm-library-screen .mm-ideas-stock-help{
 margin:0 0 10px!important;font-size:12px!important;line-height:1.45!important;
 color:var(--mm-muted,#807780)!important
}
html body.mm-interface .mm-library-screen .mm-ideas-grid .mm-idea-coverage{
 display:grid!important;gap:5px!important;width:100%;min-width:0;box-sizing:border-box;
 margin-top:auto!important;padding-top:8px!important;
 white-space:normal!important;font-size:12px!important;line-height:1.35!important
}
.mm-idea-coverage>strong{font-weight:650;color:#436746;font-size:12px;overflow-wrap:break-word}
.mm-idea-coverage>small{font-size:11px;line-height:1.35;color:var(--mm-muted,#807780);overflow-wrap:break-word}
.mm-idea-coverage-track{display:block;width:100%;height:6px;background:#e5eee2;border-radius:999px;overflow:hidden}
.mm-idea-coverage-track>span{display:block;height:100%;background:#779b69;border-radius:999px}
html[data-menumia-theme="dark"] .mm-idea-coverage>strong{color:#c2e3bd}
html[data-menumia-theme="dark"] .mm-idea-coverage-track{background:#334536}
html[data-menumia-theme="dark"] .mm-idea-coverage-track>span{background:#96bd87}

/* R04.3 — une adaptation explicite par carte et une pagination progressive. */
html body.mm-interface .mm-library-screen .mm-ideas-card-item{
 display:flex;flex-direction:column;min-width:0;align-self:stretch;
 background:var(--mm-card,#fff);border-radius:18px;overflow:hidden
}
html body.mm-interface .mm-library-screen .mm-ideas-card-item>.mm-home-suggestion-card{
 flex:1 1 auto!important;height:auto!important;min-height:0!important;
 box-shadow:none!important
}
html body.mm-interface .mm-library-screen .mm-ideas-adapt{
 display:flex!important;align-items:center;justify-content:space-between;gap:4px;
 min-height:56px;width:100%;padding:8px 9px;box-sizing:border-box;
 border:0;border-top:1px solid var(--mm-line,#e5dce3);background:var(--mm-card,#fff);
 color:var(--mm-prune-text,#591b39);font:inherit;text-align:left;cursor:pointer
}
.mm-ideas-adapt>span{display:grid;gap:3px;min-width:0}
.mm-ideas-adapt small{font-size:11px;line-height:1.3}
.mm-ideas-adapt strong{font-size:12px;line-height:1.35;overflow-wrap:break-word}
.mm-ideas-adapt>i{flex:0 0 auto}
html body.mm-interface .mm-library-screen .mm-ideas-more{
 display:block;width:100%;min-height:44px;margin:12px 0 6px;
 border:1px solid var(--mm-line,#e5dce3);border-radius:12px;
 background:var(--mm-card,#fff);color:var(--mm-prune-text,#591b39);
 font:inherit;font-weight:700;cursor:pointer
}
.mm-ideas-more span{font-size:12px;font-weight:400}
.mm-ideas-adapt:focus-visible,.mm-ideas-more:focus-visible{
 outline:2px solid var(--mm-prune-action,#663455);outline-offset:-2px
}

/* R05.1 — choix de création et informations essentielles accessibles. */
.mm-recipe-create-choice{display:grid;gap:9px;padding-bottom:env(safe-area-inset-bottom,0px)}
.mm-recipe-create-choice button{
 display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;
 min-height:66px;width:100%;padding:10px;text-align:left;cursor:pointer;
 border:1px solid var(--mm-line,#e5dce3);border-radius:14px;background:var(--mm-card,#fff);
 color:var(--mm-ink,#332b30);font:inherit
}
.mm-recipe-create-choice button>i:first-child{
 display:grid;place-items:center;width:38px;height:38px;border-radius:10px;
 background:var(--mm-soft,#f4eaf1);color:var(--mm-prune-text,#591b39);font-size:21px
}
.mm-recipe-create-choice button>i:last-child{color:var(--mm-prune-text,#591b39)}
.mm-recipe-create-choice button>span{display:grid;gap:4px;min-width:0}
.mm-recipe-create-choice strong{font-size:15px;line-height:1.3}
.mm-recipe-create-choice small{font-size:12px;color:var(--mm-muted,#807780);line-height:1.4}
.mm-recipe-create-choice button:focus-visible{outline:2px solid var(--mm-prune-action,#663455);outline-offset:2px}
.mm-add-recipe-editor .mm-add-recipe-pane[aria-label="Informations essentielles"] .mm-add-field>select,
.mm-add-recipe-editor .mm-add-recipe-pane[aria-label="Informations essentielles"] .mm-add-field>input{min-height:44px;max-width:100%;box-sizing:border-box}
.mm-add-recipe-editor .mm-add-recipe-pane[aria-label="Informations essentielles"] .mm-add-photo-empty{min-height:76px!important}
.mm-add-recipe-editor .mm-add-paste textarea{width:100%;box-sizing:border-box;min-height:110px}
.mm-add-recipe-editor .mm-add-paste .mm-add-import-prefill{min-height:44px}

/* R05.2 — nom et actions sur la première ligne ; quantité et unité sur la seconde. */
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-add-ingredient-main{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px 44px!important;
 gap:6px!important;align-items:center!important;min-width:0
}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-add-ingredient-main .is-name{
 grid-column:1 / 3!important;grid-row:1!important
}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-add-ingredient-main .is-options{
 grid-column:3!important;grid-row:1!important
}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-add-ingredient-main .is-delete{
 grid-column:4!important;grid-row:1!important
}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-add-ingredient-main .is-qty{
 grid-column:1 / 3!important;grid-row:2!important;text-align:left!important
}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-add-ingredient-main .is-unit{
 grid-column:3 / 5!important;grid-row:2!important
}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-add-ingredient-main :is(input,select){
 width:100%!important;min-width:0!important;box-sizing:border-box!important;font-size:16px!important;min-height:44px!important
}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-add-ingredient-main button{
 width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important
}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-r05-step-list{
 display:grid!important;gap:8px!important
}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-r05-step-list .mm-step-edit-card{
 display:grid!important;grid-template-columns:28px minmax(0,1fr) 44px!important;
 align-items:start!important;gap:7px!important;padding:6px!important;min-width:0
}
.mm-r05-step-list .mm-step-edit-num{
 display:grid;place-items:center;width:28px;height:28px;border-radius:50%;
 background:var(--mm-prune-soft,#f2e5f1);color:var(--mm-prune-text,#591b39);font-size:13px;font-weight:700
}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-r05-step-list textarea{
 min-width:0!important;width:100%!important;box-sizing:border-box;font-size:16px!important;
 min-height:64px!important;line-height:1.45!important;resize:vertical!important
}
.mm-r05-step-list button.mm-icon-danger{min-width:44px!important;min-height:44px!important}
.mm-r05-step-paste-toggle{min-height:44px!important}
.mm-r05-step-paste{display:grid;gap:8px;min-width:0}
.mm-r05-step-paste textarea{width:100%;box-sizing:border-box;min-height:100px;font-size:16px!important}

/* R05.3 — relecture ciblée, reprise d'un brouillon privé. */
.mm-r05-import-review,.mm-r05-draft{display:grid;gap:8px;padding:12px;margin:8px 0;border:1px solid var(--mm-line,#e3d9e0);border-radius:14px;background:var(--mm-card,#fff);color:var(--mm-ink,#332b30);font-size:13px;line-height:1.4}
.mm-r05-import-review>strong,.mm-r05-draft>strong{font-size:15px}
.mm-r05-import-review>span i{color:#56815c}
.mm-r05-import-review>button,.mm-r05-draft>button{display:block;text-align:left;width:100%;min-height:44px;padding:8px 10px;border-radius:10px;border:1px solid var(--mm-line,#e3d9e0);background:transparent;color:var(--mm-prune-text,#591b39);font:inherit;cursor:pointer}
.mm-r05-import-review>button small{display:block;color:var(--mm-muted,#807780)}
.mm-r05-import-review .is-warning,.mm-r05-import-review>button:not(.mm-r05-review-primary){color:#80510e}
.mm-r05-import-review>button.mm-r05-review-primary{background:var(--mm-prune-action,#591b39);color:var(--mm-on-prune,#fff);text-align:center;font-weight:700}
html[data-menumia-theme="dark"] .mm-r05-import-review .is-warning,html[data-menumia-theme="dark"] .mm-r05-import-review>button:not(.mm-r05-review-primary){color:#ffdb9b}
.mm-add-ingredient-main input[aria-invalid="true"]{border-color:#b48a49!important}

/* R06.1 — fiche : en-tête indépendant, image contenue, titre intégral et CTA jumelés. */
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-hero{
 display:flex!important;flex-direction:column;position:relative!important;
 overflow:visible!important;aspect-ratio:auto!important;background:var(--mm-card,#fff)!important;
}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-hero::after{display:none!important}
.mm-r06-header{
 position:relative;z-index:4;display:flex;align-items:center;gap:2px;flex:0 0 auto;
 min-height:54px;padding:5px 8px;box-sizing:border-box;background:var(--mm-card,#fff);
 color:var(--mm-prune-text,#591b39);border-radius:20px 20px 0 0
}
.mm-r06-header-label{flex:1;min-width:0;font-size:16px;font-weight:700}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-header>button,
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-header .mm-recipe-edit-menu>summary{
 display:grid!important;place-items:center!important;flex:0 0 44px!important;
 width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
 padding:0!important;border:0!important;border-radius:10px!important;cursor:pointer;
 background:transparent!important;color:var(--mm-prune-text,#591b39)!important;font-size:22px!important
}
.mm-r06-header>button:focus-visible,.mm-r06-header summary:focus-visible{outline:2px solid var(--mm-prune-action,#663455);outline-offset:-2px}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-header .mm-recipe-edit-menu{margin:0!important;flex:0 0 44px;position:relative}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-header .mm-recipe-edit-menu-actions{
 position:absolute!important;z-index:8;right:0;top:100%;width:min(270px,calc(100vw - 36px));
 box-sizing:border-box;grid-template-columns:minmax(0,1fr)!important;
 box-shadow:0 6px 24px rgba(35,20,29,.18)
}
.mm-r06-photo{position:relative;min-height:0;flex:1;overflow:hidden;background:#171217}
.mm-r06-photo-backdrop,.mm-r06-photo-main{position:absolute;inset:0;width:100%;height:100%;display:block}
.mm-r06-photo-backdrop{object-fit:cover;filter:blur(18px) brightness(.58);transform:scale(1.08);pointer-events:none}
.mm-r06-photo-main{object-fit:cover;object-position:center;cursor:zoom-in}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-title{
 position:static!important;inset:auto!important;grid-column:1/-1!important;
 color:var(--mm-prune-text,#591b39)!important;font-size:clamp(22px,5.5vw,28px)!important;
 line-height:1.18!important;letter-spacing:normal!important;font-weight:700;
 margin:0 0 8px!important;max-width:100%!important;white-space:normal!important;
 overflow:visible!important;overflow-wrap:break-word;text-overflow:clip!important;
 display:block!important;-webkit-line-clamp:unset!important;text-shadow:none!important
}
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-detail-meta{
 display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;
 min-width:0!important;grid-column:1/-1!important;font-size:12px!important
}
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-detail-meta>span{min-width:0!important;white-space:nowrap;gap:4px!important}
.mm-r06-portion-summary{grid-column:1/-1;font-size:12px;color:var(--mm-muted,#807780);margin-bottom:8px}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 grid-column:1/-1!important;gap:8px!important;margin:4px 0 12px!important
}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-actions:empty{display:none!important}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-actions:has(> :only-child){grid-template-columns:minmax(0,1fr)!important}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-actions>div{
 display:block!important;grid-column:auto!important;min-width:0!important;margin:0!important
}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-actions>div>button{
 width:100%!important;min-width:0!important;min-height:48px!important;height:auto!important;
 padding:9px 5px!important;font-size:13px!important
}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-actions :is(.mm-recipe-week-action-label,.mm-recipe-cooking-action-label){
 display:flex!important;align-items:center;justify-content:center;gap:5px;white-space:normal!important
}
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-mobile-jumps>button[aria-current="true"]{
 border-color:var(--mm-prune-text,#591b39)!important;background:var(--mm-soft,#f2e5ed)!important
}
@media(max-width:759px){
 html body.mm-interface .mm-recipe-detail-sheet .mm-r06-hero.has-photo{
 height:auto!important;min-height:0!important;max-height:none!important
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-r06-hero.no-photo{
 height:auto!important;min-height:0!important;max-height:none!important
 }
 .mm-r06-photo{flex:none;height:clamp(180px,56vw,245px)}
 .mm-recipe-detail-sheet .mm-r06-portion-summary{margin-bottom:8px}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-meta-duration-long{display:none!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-meta-duration-short{display:inline!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-mobile-jumps>button{
  font-size:11.5px!important;gap:4px!important;white-space:normal!important
 }
}
@media(min-width:760px){
 html body.mm-interface .mm-recipe-detail-sheet .mm-r06-header{border-radius:20px 0 0 0}
 html body.mm-interface .mm-recipe-detail-sheet .mm-r06-hero.no-photo .mm-r06-header{border-radius:20px 20px 0 0}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-meta-duration-long{display:none!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-meta-duration-short{display:inline!important}
}

/* R06.2 — liste de préparation locale, quantités de référence et stock distincts. */
.mm-recipe-detail-sheet .mm-r06-ingredient-help{margin:0 0 9px;font-size:12px;line-height:1.45;color:var(--mm-muted,#756b75)}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-ingredient{
 display:flex!important;align-items:center!important;gap:10px!important;min-height:48px!important;
 padding:10px 12px!important;box-sizing:border-box!important;cursor:pointer;text-align:left;
 color:var(--mm-ink,#332b30)!important;background:var(--mm-card,#fff)!important;
 border-bottom:1px solid var(--mm-line,#eee5eb)!important;line-height:1.4!important
}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-ingredient:last-child{border-bottom:0!important}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-ingredient-checkbox{
 appearance:auto!important;display:block!important;width:20px!important;height:20px!important;
 min-width:20px!important;flex:0 0 20px!important;margin:0!important;accent-color:var(--mm-prune-action,#591b39);
 cursor:pointer
}
.mm-r06-ingredient-checkbox:focus-visible{outline:2px solid var(--mm-prune-text,#591b39);outline-offset:3px}
.mm-r06-ingredient-name{flex:1 1 0;min-width:0;overflow-wrap:break-word}
.mm-r06-ingredient-name small{display:block;font-size:11px;color:var(--mm-muted,#756b75)}
.mm-r06-ingredient-dose{flex:0 1 auto;max-width:45%;text-align:right;font-size:13px;overflow-wrap:break-word}
.mm-r06-ingredient.is-checked :is(.mm-r06-ingredient-name,.mm-r06-ingredient-dose){text-decoration:line-through;color:var(--mm-muted,#756b75)}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-stock{
 background:var(--mm-card,#fff)!important;border:1px solid var(--mm-line,#e8e2e6)!important;
 border-radius:14px!important;padding:10px 12px!important;box-sizing:border-box
}
.mm-r06-stock>summary{min-height:44px;cursor:pointer;overflow-wrap:break-word}
.mm-r06-stock>summary strong,.mm-r06-stock>summary small,.mm-r06-stock-status{display:block;line-height:1.4}
.mm-r06-stock>summary strong{font-size:14px;color:var(--mm-prune-text,#591b39)}
.mm-r06-stock>summary small,.mm-r06-stock-status{font-size:12px;color:var(--mm-muted,#756b75)}
.mm-r06-stock-unknown,.mm-r06-stock-enough{display:grid;gap:4px;margin:8px 0;font-size:12px;line-height:1.4}
.mm-r06-stock-unknown>strong,.mm-r06-stock-enough>strong{font-size:13px}
.mm-recipe-detail-sheet .mm-recipe-portion-context{grid-column:1/-1;align-items:flex-start}
.mm-recipe-detail-sheet .mm-recipe-portion-context-copy{flex:1;min-width:0;gap:7px}
.mm-r06-portion-row,.mm-r06-portion-total{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px}
.mm-r06-portion-row>b,.mm-r06-portion-total>b{white-space:nowrap}
.mm-r06-portion-total{border-top:1px solid var(--mm-line,#e3d9e0);padding-top:8px}
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-portions-step{min-width:44px!important;min-height:44px!important}

/* R06.3 — lecture des étapes, conseils dépliables et adaptation ciblée. */
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-steps{
 display:flex!important;flex-direction:column!important;gap:0!important;
 border:1px solid var(--mm-line,#e8e2e6)!important;border-radius:14px!important;
 background:var(--mm-card,#fff)!important;overflow:hidden
}
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-step{
 display:flex!important;align-items:flex-start!important;gap:12px!important;
 padding:14px 12px!important;min-width:0;box-sizing:border-box;
 border:0!important;border-bottom:1px solid var(--mm-line,#e8e2e6)!important;
 background:transparent!important;border-radius:0!important
}
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-step:last-child{border-bottom:0!important}
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-step-num{
 display:grid!important;place-items:center;flex:0 0 28px!important;width:28px!important;height:28px!important;
 border-radius:50%!important;background:var(--mm-soft,#f0e4ee)!important;
 color:var(--mm-prune-text,#591b39)!important;font-size:14px!important;font-weight:700
}
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-step-copy{
 flex:1;min-width:0;font-size:15px!important;line-height:1.6!important;overflow-wrap:break-word!important
}
.mm-r06-launch-cooking{
 display:flex;align-items:center;justify-content:center;gap:8px;width:100%;
 min-height:48px;padding:10px;margin:12px 0 16px;border:0;border-radius:12px;
 background:var(--mm-prune-action,#591b39);color:var(--mm-on-prune,#fff);font:inherit;font-weight:700;cursor:pointer
}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-advice{
 display:grid!important;gap:9px!important;min-width:0;grid-column:1/-1!important;
 padding:12px 0!important;margin:14px 0!important;background:transparent!important;border:0!important
}
.mm-r06-advice>h3{font-size:19px;color:var(--mm-prune-text,#591b39);margin:0 0 3px}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-advice-section{
 border:1px solid var(--mm-line,#e8e2e6)!important;border-radius:14px!important;
 padding:0!important;margin:0!important;background:var(--mm-card,#fff)!important;min-width:0
}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-advice-section>summary{
 display:grid!important;grid-template-columns:20px minmax(0,1fr) 18px;align-items:center;
 gap:9px;min-height:48px;padding:10px 12px!important;box-sizing:border-box;
 cursor:pointer;list-style:none;font-size:14px!important;font-weight:700;color:var(--mm-ink,#332b30)!important
}
.mm-r06-advice-section>summary::-webkit-details-marker{display:none}
.mm-r06-advice-section>summary>i{color:var(--mm-prune-text,#591b39)}
.mm-r06-advice-section[open]>summary>i:last-child{transform:rotate(180deg)}
.mm-r06-advice-content{display:grid!important;gap:8px;padding:0 12px 12px!important;font-size:13px;line-height:1.55;overflow-wrap:break-word}
.mm-r06-advice-content p{margin:0!important}
.mm-r06-advice-content a{color:var(--mm-prune-text,#591b39)}
.mm-r06-extra-reading{display:grid;gap:8px;border-top:1px solid var(--mm-line,#e8e2e6);padding-top:8px}
.mm-r06-adapt-scope{display:block;margin-top:8px;font-size:12px;line-height:1.5;color:var(--mm-muted,#756b75)}
.mm-r06-premium-adapt{
 display:grid;grid-template-columns:28px minmax(0,1fr) 16px;align-items:center;gap:9px;text-align:left;
 width:100%;min-height:62px;margin-top:10px;padding:10px;border:1px solid var(--mm-line,#e8e2e6);
 background:var(--mm-card,#fff);color:var(--mm-prune-text,#591b39);border-radius:12px;cursor:pointer;font:inherit
}
.mm-r06-premium-adapt>span{display:grid;gap:3px;min-width:0}
.mm-r06-premium-adapt small{font-size:11px;font-weight:400;line-height:1.35}
.mm-r06-premium-adapt strong{font-size:13px;line-height:1.35}
.mm-r06-advice-section>summary:focus-visible,.mm-r06-launch-cooking:focus-visible,.mm-r06-premium-adapt:focus-visible{outline:2px solid var(--mm-prune-text,#591b39);outline-offset:2px}

/* R07.1 — gestion indépendante des filtres de recherche. */
html body.mm-interface .mm-library-screen .mm-library-menus-heading-row>.mm-library-manage-trigger{
 flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;
 display:grid!important;place-items:center;padding:0!important;border:1px solid var(--mm-line,#e3d9e0)!important;
 background:var(--mm-card,#fff)!important;color:var(--mm-prune-text,#591b39)!important;
 border-radius:12px!important;font-size:22px!important;cursor:pointer
}
@media(max-width:390px){
 .mm-library-screen .mm-library-menus-heading-row>.mm-library-menus-heading{font-size:20px!important;overflow-wrap:normal}
 html body.mm-interface .mm-library-screen .mm-library-menus-heading-row>.mm-library-add-compact{padding:8px!important;min-width:0!important}
 .mm-library-screen .mm-library-menus-heading-row{gap:4px!important}
}
.mm-r07-management-menu,.mm-r07-management-list{display:grid;gap:8px;min-width:0}
.mm-r07-management-menu .mm-library-management-row{
 display:grid!important;grid-template-columns:40px minmax(0,1fr) 16px!important;
 align-items:center;gap:10px;width:100%;min-height:70px;padding:10px;
 border:1px solid var(--mm-line,#e8e2e6);border-radius:14px;background:var(--mm-card,#fff);
 color:var(--mm-ink,#332b30);text-align:left;font:inherit;cursor:pointer
}
.mm-r07-management-menu .mm-library-management-row>i:first-child{
 display:grid;place-items:center;width:40px;height:40px;border-radius:10px;
 background:var(--mm-soft,#f0e4ee);color:var(--mm-prune-text,#591b39);font-size:22px
}
.mm-r07-management-menu .mm-library-management-row>span,.mm-r07-managed-open>span:last-child{display:grid;gap:4px;min-width:0}
.mm-r07-management-menu strong,.mm-r07-managed-open strong{font-size:14px;line-height:1.35;overflow-wrap:break-word}
.mm-r07-management-menu small,.mm-r07-management-list>small,.mm-r07-managed-open small{font-size:12px;line-height:1.4;color:var(--mm-muted,#756b75)}
.mm-r07-management-back{min-height:44px;text-align:left;background:transparent;border:0;color:var(--mm-prune-text,#591b39);font:inherit;cursor:pointer}
.mm-r07-managed-row{display:flex;align-items:center;gap:4px;border:1px solid var(--mm-line,#e8e2e6);border-radius:14px;background:var(--mm-card,#fff);padding:7px;min-width:0}
.mm-r07-managed-open{display:flex;flex:1;min-width:0;align-items:center;gap:9px;min-height:64px;border:0;background:transparent;text-align:left;color:var(--mm-ink,#332b30);font:inherit;cursor:pointer}
.mm-r07-managed-photo{width:60px;height:60px;flex:0 0 60px;border-radius:10px;overflow:hidden;background:var(--mm-soft,#f0e4ee);display:grid;place-items:center;color:var(--mm-prune-text,#591b39)}
.mm-r07-managed-photo img{width:100%;height:100%;object-fit:cover}
.mm-r07-managed-heart{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:var(--mm-prune-text,#591b39);cursor:pointer}
.mm-r07-managed-heart[aria-pressed="true"]{color:#a1466b}
.mm-r07-action-toast{pointer-events:auto;display:flex;align-items:center;gap:8px;max-width:100%;box-sizing:border-box;min-height:48px;padding:4px 8px 4px 14px;border-radius:16px;background:#591b39;color:white;box-shadow:0 5px 20px #28101d30;font-size:13px}
.mm-r07-action-toast>span{min-width:0;overflow-wrap:break-word}
.mm-r07-action-toast>button{min-height:44px;min-width:44px;background:transparent;color:white;border:0;font:inherit;font-weight:700;cursor:pointer}
.mm-r07-action-toast>button:first-of-type{text-decoration:underline}
.mm-library-manage-trigger:focus-visible,.mm-r07-management-sheet button:focus-visible,.mm-r07-action-toast button:focus-visible{outline:2px solid currentColor;outline-offset:-2px}

/* R07.2 — réactivation individuelle dans la liste de gestion. */
.mm-r07-managed-reactivate{flex:0 0 auto;min-height:44px;padding:0 8px;border:1px solid var(--mm-line,#e3d9e0);border-radius:10px;background:var(--mm-card,#fff);color:var(--mm-prune-text,#591b39);font:inherit;font-size:12px;font-weight:600;cursor:pointer}

/* R07.3 — corbeille compacte, actions distinctes. */
.mm-r07-trash-header{display:grid;gap:6px;margin-bottom:12px}
.mm-r07-trash-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.mm-r07-trash-heading h2{font-size:20px;line-height:1.3;margin:0;color:var(--mm-ink,#332b30)}
.mm-r07-trash-heading small{font-size:12px;color:var(--mm-muted,#756b75)}
.mm-r07-trash-empty-action{min-height:44px;border:1px solid var(--mm-line,#e3d9e0);border-radius:10px;background:var(--mm-card,#fff);color:var(--mm-brick,#a04443);font:inherit;font-size:12px;font-weight:600;padding:6px 10px;cursor:pointer}
.mm-r07-trash-header button:focus-visible,.mm-r07-management-list button:focus-visible{outline:2px solid currentColor;outline-offset:-2px}

/* R08.1 — mêmes surfaces, typographie et actions sur catalogue, gestion et fiche. */
html body.mm-interface :is(.mm-r07-managed-row,.mm-r07-management-menu .mm-library-management-row,.mm-r05-draft,.mm-r06-advice-section){background:var(--mm-card,#fff);border-color:var(--mm-line,#e3d9e0);color:var(--mm-ink,#332b30)}
html body.mm-interface :is(.mm-r07-managed-open,.mm-r07-management-menu .mm-library-management-row){font-family:inherit}
html body.mm-interface :is(.mm-r07-managed-photo,.mm-r06-photo){isolation:isolate}
html body.mm-interface .mm-r07-managed-open strong{white-space:normal;overflow-wrap:break-word;line-height:1.35}
html body.mm-interface :is(.mm-r07-managed-reactivate,.mm-r07-management-back){color:var(--mm-prune-text,#591b39)}
html body.mm-interface :is(.mm-add-recipe-actions .is-save,.mm-r05-import-review .mm-r05-review-primary){background:var(--mm-prune-action,#591b39);color:var(--mm-on-prune,#fff)}
html body.mm-interface .mm-add-recipe-actions .is-cancel{background:var(--mm-card,#fff);color:var(--mm-prune-text,#591b39);border-color:var(--mm-line,#e3d9e0)}

/* R08.2 — états explicites sans bloquer la consultation des recettes. */
html body.mm-interface .mm-r08-photo-fallback{display:grid!important;place-items:center;background:var(--mm-soft,#f0e4ee);color:var(--mm-prune-text,#591b39)}
.mm-r08-photo-fallback>i{font-size:26px}
.mm-r08-offline{grid-column:1/-1;display:flex;align-items:flex-start;gap:8px;padding:9px 11px;margin:0 0 8px;border-radius:12px;background:var(--mm-soft,#f0e4ee);color:var(--mm-prune-text,#591b39);font-size:12px;line-height:1.45}
.mm-r08-offline>i{font-size:17px;flex:none}
.mm-r08-save-status,.mm-r08-photo-notice{grid-column:1/-1;margin:4px 0;color:var(--mm-muted,#756b75);font-size:12px;line-height:1.4}

/* R08.3 — zones tactiles et lecture des recettes, sans modifier la navigation basse. */
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-add-recipe-close{
 min-width:44px!important;width:44px!important;min-height:44px!important;height:44px!important;flex:0 0 44px!important
}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) :is(.mm-add-recipe-tabs,.mm-existing-recipe-subtabs,.mm-add-choice-wrap,.mm-add-options)>button{
 min-width:44px!important;min-height:44px!important
}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-add-recipe-heading h2{overflow-wrap:break-word}
html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) :is(button,input,textarea,select):focus-visible{outline:2px solid var(--mm-prune-text,#591b39);outline-offset:-2px}
@media(max-width:759px){
 html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) :is(input,textarea,select){font-size:16px!important;max-width:100%;box-sizing:border-box}
 html body.mm-interface .mm-recipe-detail-sheet{padding-bottom:env(safe-area-inset-bottom,0px);box-sizing:border-box}
 html body.mm-interface :is(.mm-add-recipe-editor,.mm-existing-recipe-editor) .mm-add-recipe-actions{padding-bottom:max(12px,env(safe-area-inset-bottom,0px))!important}
 html body.mm-interface .mm-library-screen .mm-library-card .mm-library-week{min-height:44px!important;min-width:44px!important}
 html body.mm-interface .mm-library-screen .mm-library-menus-heading-row>.mm-library-add-compact{min-width:44px!important}
}
@media(prefers-reduced-motion:reduce){
 .mm-library-screen,.mm-recipe-detail-sheet,.mm-add-recipe-editor,.mm-existing-recipe-editor{scroll-behavior:auto!important}
}

/* OR01.1 — retour intégré au titre, comme Mes recettes. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-header{
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;
 justify-content:flex-start!important;gap:5px!important;min-width:0!important;margin:0!important;padding:0!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-header>h1{
 flex:1 1 auto;min-width:0!important;margin:0!important;line-height:1.16!important;
 overflow-wrap:break-word
}
@media(max-width:1099px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-header>.mm-organization-back{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;
  width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
  padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;
  color:var(--mm-prune-action,#663455)!important;box-shadow:none!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-header>.mm-organization-back>i{font-size:16px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-header>h1{
  font-size:clamp(22px,6vw,31px)!important;letter-spacing:-.025em!important
 }
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-header>.mm-organization-back:focus-visible{
 outline:2px solid currentColor!important;outline-offset:2px!important
}

/* OR01.2 — section Mes outils, trois destinations fixes et espacements compacts. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary{
 width:100%!important;min-width:0!important;box-sizing:border-box!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-tools-title{
 grid-column:1/-1;margin:0!important;padding:0!important;min-width:0;
 color:var(--mm-ink,#332b30);font-size:16px;font-weight:750;line-height:1.35;
 overflow-wrap:break-word
}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified{
  gap:14px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary{
  grid-template-columns:minmax(0,1fr)!important;gap:8px!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-card{
  min-width:0!important;box-sizing:border-box!important;min-height:76px!important;
  grid-template-columns:44px minmax(0,1fr) auto!important;gap:8px!important;padding:11px 12px!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-content{
  min-width:0!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-trailing{
  flex-wrap:wrap!important;max-width:86px!important
 }
}

/* OR02.2 — progression de la semaine, action de lecture gratuite. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-panel{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;
 align-items:start!important;justify-items:stretch!important;box-sizing:border-box!important;
 min-width:0!important;width:100%!important;padding:14px 16px!important;
 background:var(--mm-prune-soft,#f2e9ef)!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-copy{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;min-width:0!important
}
.mm-organization-page.is-simplified .mm-organization-week-heading,
.mm-organization-page.is-simplified .mm-organization-week-count{
 display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0
}
.mm-organization-page.is-simplified .mm-organization-week-heading{justify-content:space-between;color:var(--mm-prune-action,#663455)}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-eyebrow{
 font-size:12px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important
}
.mm-organization-page.is-simplified .mm-organization-week-count>strong{
 font-size:clamp(24px,6vw,32px);line-height:1.15;color:var(--mm-prune-text,#34172e);font-weight:800
}
.mm-organization-page.is-simplified .mm-organization-week-count>span{font-size:13px;color:var(--mm-prune-text,#34172e)}
.mm-organization-page.is-simplified .mm-organization-week-progress{
 height:7px;border-radius:999px;overflow:hidden;background:var(--mm-line-strong,#ded5dc)
}
.mm-organization-page.is-simplified .mm-organization-week-progress>span{
 display:block;height:100%;border-radius:inherit;background:var(--mm-prune-action,#663455)
}
.mm-organization-page.is-simplified .mm-organization-week-progress.is-complete>span{
 background:var(--mm-success,#54814e)
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-action{
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
 width:100%!important;min-width:0!important;min-height:44px!important;box-sizing:border-box!important;
 padding:8px 12px!important;border:1px solid var(--mm-line-strong,#ded5dc)!important;border-radius:12px!important;
 background:var(--mm-card,#fff)!important;color:var(--mm-prune-action,#663455)!important;
 font:700 13px/1.35 ui-sans-serif,system-ui,sans-serif!important;text-align:left!important
}
.mm-organization-page.is-simplified .mm-organization-week-action>span{min-width:0;overflow-wrap:anywhere}
.mm-organization-page.is-simplified .mm-organization-week-action>i{flex:0 0 auto}
.mm-organization-page.is-simplified .mm-organization-week-action:focus-visible{
 outline:2px solid currentColor!important;outline-offset:2px!important
}

/* OR03.1 — nom réel du programme, sans pourcentage ni nouveau bouton. */
.mm-organization-page.is-simplified .mm-organization-program-name{
 display:block;min-width:0;max-width:100%;box-sizing:border-box;
 padding:7px 9px;margin-top:3px;border-radius:9px;
 background:var(--mm-prune-soft,#f2e9ef);color:var(--mm-prune-text,#34172e);
 font-size:13px;font-weight:700;line-height:1.35;overflow-wrap:anywhere;white-space:normal
}
.mm-organization-page.is-simplified .mm-organization-program-link{
 display:block;color:var(--mm-prune-action,#663455);font-size:12px;
 font-weight:700;line-height:1.35;overflow-wrap:anywhere
}

/* OR03.3 — indicateurs réels du cycle de courses, dans la seule carte Organisation. */
.mm-organization-page.is-simplified .mm-organization-budget-metrics{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-width:0;width:100%
}
.mm-organization-page.is-simplified .mm-organization-budget-metric{
 display:flex;flex-direction:column;gap:3px;min-width:0;padding:6px 4px;
 border-radius:8px;background:var(--mm-soft,#f0e4ee);color:var(--mm-ink,#332b30);
 font-size:11px;line-height:1.35;white-space:normal;overflow-wrap:anywhere
}
.mm-organization-page.is-simplified .mm-organization-budget-value{
 font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere
}
.mm-organization-page.is-simplified .mm-organization-budget-value.is-over{color:var(--mm-brick,#a04443)}

/* OR04.2 — conseil contextuel dans la carte existante, sans contrôle imbriqué. */
.mm-organization-page.is-simplified .mm-organization-advice-label{
 display:inline-flex;align-items:center;gap:5px;width:fit-content;max-width:100%;
 min-width:0;color:var(--mm-prune-text,#34172e);background:var(--mm-prune-soft,#f2e9ef);
 border:1px solid var(--mm-line-strong,#ded5dc);border-radius:8px;
 padding:3px 7px;font-size:11px;font-weight:700;line-height:1.35;white-space:normal;
 overflow-wrap:anywhere;box-sizing:border-box
}
.mm-organization-page.is-simplified .mm-organization-advice-label>i{flex:none;font-size:13px}
.mm-organization-page.is-simplified .mm-organization-advice-reason{
 display:block;color:var(--mm-ink,#332b30);font-size:12px;line-height:1.4;overflow-wrap:anywhere
}
.mm-organization-page.is-simplified .mm-organization-advice-action{margin-top:3px}

/* OR05.1 — un verrou réservé aux droits, une seule mention Menumia+ par carte. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified
 .mm-organization-primary-card:has(.mm-organization-access){
 opacity:1!important;cursor:pointer!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified
 .mm-organization-primary-trailing .mm-organization-access{
 color:var(--mm-muted,#776d74)!important;white-space:normal!important;
 overflow-wrap:anywhere;line-height:1.35!important
}

/* OR05.2 — découverte dans le flux, pas de fenêtre ni de paiement automatique. */
.mm-organization-page.is-simplified .mm-organization-discovery{
 grid-column:1/-1;min-width:0;max-width:100%;box-sizing:border-box;
 display:grid;gap:8px;padding:12px 14px;border:1px solid var(--mm-line-strong,#ded5dc);
 border-radius:12px;background:var(--mm-card,#fff);color:var(--mm-ink,#332b30);
 font-size:13px;line-height:1.45;overflow-wrap:anywhere
}
.mm-organization-page.is-simplified .mm-organization-discovery h3{
 margin:0;font-size:15px;line-height:1.35;color:var(--mm-ink,#332b30)
}
.mm-organization-page.is-simplified .mm-organization-discovery p{margin:0}
.mm-organization-page.is-simplified .mm-organization-discovery ul{margin:0;padding-inline-start:18px}
.mm-organization-page.is-simplified .mm-organization-discovery li+li{margin-top:4px}
.mm-organization-page.is-simplified .mm-organization-discovery button{
 min-height:44px;width:100%;min-width:0;box-sizing:border-box;border-radius:10px;
 padding:8px 12px;font:700 13px/1.35 ui-sans-serif,system-ui,sans-serif;white-space:normal;
 overflow-wrap:anywhere;cursor:pointer
}
.mm-organization-page.is-simplified .mm-organization-discovery-primary{
 background:var(--mm-prune-action,#663455);color:#fff;border:1px solid transparent
}
.mm-organization-page.is-simplified .mm-organization-discovery-later{
 background:var(--mm-card,#fff);color:var(--mm-ink,#332b30);border:1px solid var(--mm-line-strong,#ded5dc)
}
.mm-organization-page.is-simplified .mm-organization-discovery button:focus-visible{
 outline:2px solid currentColor;outline-offset:2px
}

/* OR05.3 — état indisponible distinct d’un planning vide. */
.mm-organization-page.is-simplified .mm-organization-data-state{
 display:grid;gap:10px;min-width:0;box-sizing:border-box;padding:16px;
 background:var(--mm-card,#fff);border:1px solid var(--mm-line-strong,#ded5dc);
 border-radius:14px;color:var(--mm-ink,#332b30);overflow-wrap:anywhere;line-height:1.45
}
.mm-organization-page.is-simplified .mm-organization-data-state p{margin:0;font-size:13px}
.mm-organization-page.is-simplified .mm-organization-data-state button{
 min-height:44px;width:100%;padding:10px 12px;border-radius:10px;cursor:pointer;font-weight:700
}
.mm-organization-page.is-simplified .mm-organization-data-state button:focus-visible{
 outline:2px solid currentColor;outline-offset:2px
}

/* OR06.1 — accessibilité de Mon organisation uniquement, palette existante. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified{
 min-width:0!important;max-width:100%;box-sizing:border-box;
 scroll-margin-bottom:env(safe-area-inset-bottom,0px)
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified
 :is(.mm-organization-back,.mm-organization-week-action,.mm-organization-primary-card,
 .mm-organization-discovery button,.mm-organization-data-state button){
 min-height:44px!important;scroll-margin-bottom:calc(76px + env(safe-area-inset-bottom,0px))
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-back{
 min-width:44px!important;flex-shrink:0!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified
 :is(.mm-organization-back,.mm-organization-week-action,.mm-organization-primary-card,
 .mm-organization-discovery button,.mm-organization-data-state button):focus-visible{
 outline:2px solid var(--mm-prune-text,#3E2A40)!important;outline-offset:3px!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified
 .mm-organization-primary-card:disabled{opacity:1!important;cursor:not-allowed!important}
.mm-organization-page.is-simplified
 :is(.mm-organization-primary-content,.mm-organization-program-name,.mm-organization-budget-value,
 .mm-organization-advice-reason,.mm-organization-week-program,.mm-organization-discovery){
 min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal
}
.mm-organization-page.is-simplified .mm-organization-budget-value{line-height:1.4}
.mm-organization-page.is-simplified .mm-organization-advice-label{font-size:12px}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified
 .mm-organization-primary-trailing .mm-organization-access{font-size:11px!important}
@media(max-width:400px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified
 .mm-organization-primary-card{grid-template-columns:40px minmax(0,1fr) auto!important;gap:8px!important;padding:10px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified
 .mm-organization-primary-icon{width:40px!important;height:40px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified
 .mm-organization-primary-trailing{max-width:64px!important;flex-wrap:wrap!important}
 .mm-organization-page.is-simplified .mm-organization-budget-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mm-organization-page.is-simplified .mm-organization-budget-metric:last-child{grid-column:1/-1}
 .mm-organization-page.is-simplified .mm-organization-budget-metric{font-size:12px;padding:6px}
}
html[data-menumia-theme="dark"] body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified
 :is(.mm-organization-back,.mm-organization-week-action,.mm-organization-week-heading,
 .mm-organization-primary-icon,.mm-organization-primary-trailing,.mm-organization-program-link){
 color:var(--mm-prune-text,#E7CCE4)!important
}
html[data-menumia-theme="dark"] .mm-organization-page.is-simplified .mm-organization-week-progress>span{
 background:var(--mm-prune,#D6ADD2)
}
html[data-menumia-theme="dark"] .mm-organization-page.is-simplified .mm-organization-week-progress.is-complete>span{
 background:var(--mm-success,#91AA89)
}
html[data-menumia-theme="dark"] .mm-organization-page.is-simplified .mm-organization-discovery-primary{
 background:var(--mm-prune-text,#E7CCE4);color:var(--mm-card,#211B22)
}
@media(prefers-reduced-motion:reduce){
 .mm-organization-page.is-simplified,.mm-organization-page.is-simplified *{
  animation:none!important;transition:none!important;scroll-behavior:auto!important
 }
}

/* AS01 — Accueil Assistant : une priorité contextuelle et une liste d'idées compacte.
   Limité à l'écran vide ; conversation, saisie et navigation restent inchangées. */
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-sheet.is-empty .mm-assistant-context-heading{
 margin:0 1px!important;color:var(--mm-prune-text,#663455)!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-sheet.is-empty .mm-assistant-context-card{
 border:1px solid var(--mm-line-strong,#ded5dc)!important;
 background:var(--mm-soft,#f6eff5)!important;
 text-align:left!important;min-width:0!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-sheet.is-empty .mm-assistant-quick-grid{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;
 border:1px solid var(--mm-line-strong,#ded5dc)!important;
 border-radius:13px!important;background:var(--mm-card,#fff)!important;
 min-width:0!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-sheet.is-empty .mm-assistant-quick-card{
 display:grid!important;grid-template-columns:32px minmax(0,1fr) 15px!important;
 align-items:center!important;gap:9px!important;min-height:44px!important;
 padding:8px 11px!important;text-align:left!important;
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;min-width:0!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-sheet.is-empty .mm-assistant-quick-card+.mm-assistant-quick-card{
 border-top:1px solid var(--mm-line-strong,#ded5dc)!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-sheet.is-empty .mm-assistant-quick-card:first-child{border-radius:12px 12px 0 0!important}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-sheet.is-empty .mm-assistant-quick-card:last-child{border-radius:0 0 12px 12px!important}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-sheet.is-empty .mm-assistant-quick-icon{
 width:32px!important;height:32px!important;min-width:32px!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-sheet.is-empty :is(.mm-assistant-context-copy,.mm-assistant-quick-copy){
 min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-sheet.is-empty :is(.mm-assistant-context-card,.mm-assistant-quick-card,.mm-assistant-more-toggle):focus-visible{
 outline:2px solid var(--mm-prune-text,#663455)!important;outline-offset:-2px!important
}

/* AS02 — Réponses et recettes : lisibilité des résultats, sans modifier la recherche,
   les données, les textes de l'IA ni le parcours de confirmation des actions. */
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-message:not(.has-proposal) .mm-assistant-bubble{
 min-width:0!important;box-sizing:border-box;
 font-size:14px!important;line-height:1.55!important;overflow-wrap:anywhere
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-message.has-results:not(.has-proposal){
 padding-right:0!important;align-items:flex-start!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-message.has-results:not(.has-proposal) .mm-assistant-bubble{
 flex:1 1 0;min-width:0!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-result{
 min-height:54px!important;min-width:0!important;
 padding:10px 11px!important;color:var(--mm-ink,#332b30)!important;
 background:var(--mm-card,#fff)!important;
 border:1px solid var(--mm-line-strong,#ded5dc)!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-result>span{
 min-width:0!important;overflow:visible!important;flex:1 1 auto
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-result :is(strong,small){
 white-space:normal!important;overflow:visible!important;
 text-overflow:clip!important;overflow-wrap:anywhere!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-result strong{
 font-size:13.5px!important;line-height:1.4!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-result-details{
 display:flex;flex-direction:column;gap:4px;min-width:0
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-result-details small{
 font-size:12px!important;line-height:1.4!important;color:var(--mm-muted,#776d74)!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-result-details .mm-assistant-result-missing{
 color:var(--mm-ink,#332b30)!important;font-weight:650
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-result:focus-visible{
 outline:2px solid var(--mm-prune-text,#663455)!important;outline-offset:2px!important
}

/* AS03 — Prévisualisation des changements et confirmation explicite. */
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-meal-comparison{
 min-width:0;gap:7px
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-meal-option{
 display:flex;flex-direction:column;gap:4px;min-width:0;
 padding:10px 12px;border:1px solid var(--mm-line-strong,#ded5dc);
 border-radius:12px;background:var(--mm-card,#fff);color:var(--mm-ink,#332b30);
 overflow-wrap:anywhere
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-meal-option.is-proposed{
 border-color:var(--mm-prune-text,#663455)
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-meal-option strong{
 font-size:14px;line-height:1.4
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-meal-option :is(small,.mm-assistant-proposal-label),
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-generation-note{
 color:var(--mm-muted,#776d74)!important;font-size:12px;line-height:1.45;
 overflow-wrap:anywhere
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-meal-arrow{
 align-self:center;color:var(--mm-prune-text,#663455)
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-meal-difference{
 color:var(--mm-ink,#332b30);font-size:12px;line-height:1.45;font-weight:650
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-confirm-actions>button{
 min-height:44px!important;white-space:normal!important;overflow-wrap:anywhere
}

/* AS05 — Accessibilité ciblée : focus visible et réduction des animations. */
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay :is(.mm-assistant-send,.mm-assistant-back,.mm-assistant-close,.mm-assistant-organization-back,.mm-assistant-return-top,.mm-assistant-jump-latest,.mm-assistant-confirm-actions>button):focus-visible{
 outline:2px solid var(--mm-prune-text,#663455)!important;outline-offset:2px!important
}
body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-status{
 min-width:0;overflow-wrap:anywhere;line-height:1.45!important
}
@media(prefers-reduced-motion:reduce){
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay :is(.mm-assistant-dots i,.mm-assistant-status .ti-loader-2){
  animation:none!important
 }
 body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay .mm-assistant-content{
  scroll-behavior:auto!important
 }
}

/* ST01 — Résumé mobile : un panneau, un chiffre principal et quatre repères.
   Les calculs et les pages Mes habitudes / bilan Menumia+ restent inchangés. */
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-page-overview>.mm-stats-overview{
  display:grid!important;gap:0!important;min-width:0!important;
  padding:12px!important;margin:0 0 12px!important;
  border:1px solid var(--mm-line-strong)!important;border-radius:18px!important;
  background:var(--mm-card)!important;box-sizing:border-box!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview .mm-stats-summary-grid.is-essential{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0!important;margin:0!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview .mm-stats-summary-grid.is-essential .mm-stats-summary-card{
  min-width:0!important;min-height:70px!important;height:auto!important;
  padding:10px 12px!important;margin:0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:transparent!important;justify-content:center!important;gap:4px!important;
  overflow-wrap:anywhere!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview .mm-stats-summary-grid.is-essential .mm-stats-summary-card.is-highlight{
  grid-column:1/-1!important;min-height:90px!important;
  padding:8px 12px 12px!important;border-bottom:1px solid var(--mm-line)!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview .mm-stats-summary-card:not(.is-highlight):last-child{
  border-left:1px solid var(--mm-line)!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview .mm-stats-summary-grid.is-essential .mm-stats-summary-card strong.mm-stats-summary-value{
  color:var(--mm-ink)!important;font-size:26px!important;line-height:1.1!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview .mm-stats-summary-grid.is-essential .mm-stats-summary-card.is-highlight strong.mm-stats-summary-value{
  font-size:38px!important;color:var(--mm-prune-text)!important;margin:0!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview .mm-stats-summary-grid.is-essential .mm-stats-summary-card>span{
  color:var(--mm-muted)!important;white-space:normal!important;font-size:12px!important;line-height:1.35!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview .mm-stats-summary-grid.is-essential .mm-stats-summary-card.is-highlight>.mm-stats-summary-eyebrow{
  font-size:12px!important;letter-spacing:normal!important;color:var(--mm-muted)!important;text-transform:none!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview :is(.mm-stats-summary-decoration,.mm-stats-summary-mini-icon){
  display:none!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview .mm-stats-highlights{
  margin:0!important;padding:0!important;gap:0!important;
  border:0!important;border-top:1px solid var(--mm-line)!important;
  background:transparent!important;border-radius:0!important;
  min-width:0!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview .mm-stats-highlights>span{
  min-width:0!important;min-height:62px!important;padding:10px 12px!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;align-items:center!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview .mm-stats-highlights>span+span{
  border-left:1px solid var(--mm-line)!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-screen .mm-stats-overview .mm-stats-highlights>span small{
  font-size:11.5px!important;white-space:normal!important;overflow-wrap:anywhere!important
 }
}

/* ST02 — Mes habitudes : classement lisible, légende complète, comparaison factuelle. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-chart-note{
 margin:6px 0 8px;color:var(--mm-muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-ranking-name{
 font-size:13px!important;line-height:1.4!important;min-width:0;white-space:normal!important;overflow-wrap:anywhere!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-ranking-name small{
 font-size:11px!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-ranking-list>li>strong{
 color:var(--mm-ink)!important;font-size:12px!important;font-variant-numeric:tabular-nums
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-legend-row{
 color:var(--mm-ink)!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-legend-row>span:last-child{
 color:var(--mm-muted)!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-period-comparison{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0;min-width:0
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-period-comparison>div{
 display:flex;flex-direction:column;gap:4px;padding:10px;min-width:0;
 background:var(--mm-card);border:1px solid var(--mm-line);border-radius:11px;overflow-wrap:anywhere
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-period-comparison :is(small,span){
 color:var(--mm-muted);font-size:11.5px;line-height:1.4
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-period-comparison strong{
 color:var(--mm-ink);font-size:23px;line-height:1.15;font-variant-numeric:tabular-nums
}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-donut-layout{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;min-width:0
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-donut{
  width:108px!important;height:108px!important;justify-self:center
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-legend{
  width:100%;min-width:0!important;gap:0!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-legend-row{
  display:grid!important;grid-template-columns:9px minmax(0,1fr) auto!important;
  min-height:32px!important;padding:5px 0;gap:8px!important;font-size:12px!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-legend-row>span:nth-child(2){
  min-width:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-legend-row>span:last-child{
  min-width:0!important;white-space:normal!important;text-align:right!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-page-habits .mm-stats-weekday-count{
  font-size:12px!important
 }
}

/* ST03 — Bilan Menumia+ : faits visibles et estimations distinctes. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-monthly .mm-stats-monthly-preview{
 display:grid;gap:7px;min-width:0;margin:8px 0 12px!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-monthly-preview>p{
 margin:0;font-size:12px;line-height:1.45;color:var(--mm-ink)
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-monthly-preview-facts{
 display:grid;gap:0;list-style:none;padding:0 10px;margin:0;
 background:var(--mm-card);border:1px solid var(--mm-line);border-radius:12px;min-width:0
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-monthly-preview-facts>li{
 padding:9px 0;line-height:1.45;font-size:13px;color:var(--mm-ink);overflow-wrap:anywhere
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-monthly-preview-facts>li+li{
 border-top:1px solid var(--mm-line)
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-monthly-preview-facts strong{
 font-size:17px;font-variant-numeric:tabular-nums;color:var(--mm-prune-text)
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-monthly-preview>small{
 color:var(--mm-muted);font-size:11.5px;line-height:1.45;overflow-wrap:anywhere
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-monthly .mm-stats-monthly-periods>button{
 min-height:44px!important;white-space:normal!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-monthly .mm-stats-monthly-proof-levels{
 margin:0;min-width:0
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-monthly-proof-levels>div{
 padding:10px;border:1px solid var(--mm-line);border-radius:12px;background:var(--mm-card);
 overflow-wrap:anywhere
}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-stats-monthly .mm-stats-monthly-proof-levels{
  grid-template-columns:minmax(0,1fr)!important
 }
}

/* H8 — charte Menumia : socle commun à l'application connectée.
   Les couleurs métier, les dispositions, les zones tactiles et le thème sombre
   ne sont pas modifiés. Les exceptions propres aux écrans sont traitées en H9-H15. */
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common){
 --mm-brand-page:#F5E7DB;
 --mm-brand-card:#FAF3E9;
 --mm-brand-soft:#F3D8C0;
 --mm-brand-reminder:#F2D7C0;
 --mm-brand-info:#F2D2CA;
 --mm-brand-primary:#702650;
 --mm-brand-secondary:#F5E3D3;
 --mm-brand-secondary-border:#E4CBB8;
 --mm-brand-signature:#4B1E3F;
 --mm-brand-ink:#382433;
 --mm-brand-muted:#66514B;
 --mm-page-bg:var(--mm-brand-page);
 --mm-app-bg:var(--mm-brand-page);
 --mm-app-bg-gradient:var(--mm-brand-page);
 --mm-bg:var(--mm-brand-page);
 --mm-card:var(--mm-brand-card);
 --mm-bg-alt:var(--mm-brand-reminder);
 --mm-soft:var(--mm-brand-soft);
 --mm-field:var(--mm-brand-card);
 --mm-ink:var(--mm-brand-ink);
 --mm-muted:var(--mm-brand-muted);
 --mm-token-ink:var(--mm-brand-ink);
 --mm-token-muted:var(--mm-brand-muted);
 --mm-prune-action:var(--mm-brand-primary);
 --mm-prune-text:var(--mm-brand-signature);
 --mm-prune:var(--mm-brand-signature);
 --mm-prune-soft-token:rgba(112,38,80,.09);
 --mm-token-line:rgba(115,82,57,.15);
 --mm-token-line-strong:rgba(115,82,57,.29);
 --mm-line:var(--mm-token-line);
 background:var(--mm-brand-page)!important;
}
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) body,
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) #root,
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) body::before,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common::before,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common>.mm-ios-statusbar-shield{
 background:var(--mm-brand-page)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common{
 --mm-v2-bg:var(--mm-brand-page);
 --mm-v2-surface:var(--mm-brand-card);
 --mm-v2-surface-soft:var(--mm-brand-soft);
 --mm-v2-primary:var(--mm-brand-primary);
 --mm-v2-primary-strong:var(--mm-brand-signature);
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common>nav.mm-bottom-nav{
 background:var(--mm-brand-page)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common>nav.mm-bottom-nav .mm-nav-item.is-active,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common>nav.mm-bottom-nav .mm-nav-item.is-active :is(.ti,.mm-menumia-icon,svg),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common>nav.mm-bottom-nav .mm-nav-item.is-active>span:nth-child(2){
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common>nav.mm-bottom-nav .mm-nav-item.is-active>span:last-child{
 background:var(--mm-brand-primary)!important;
}
/* Le fond système du thème sombre reste celui de son propre thème. */
html[data-menumia-theme="dark"] body.mm-interface .mm-app.mm-ui-v2-common::before{
 background:var(--mm-page-bg)!important;
}

/* H9E — la surface du bouton Mangé est la référence des actions secondaires.
   Le composant Btn distingue explicitement son rôle ; pas de recoloration globale
   des boutons métier, des actions destructives, ni du thème sombre. */
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-btn[data-mm-button-kind="secondary"]{
 background:var(--mm-brand-secondary)!important;
 border-color:var(--mm-brand-secondary-border)!important;
 color:var(--mm-brand-primary)!important;
 box-shadow:none!important;
}

/* H10A — catalogue et idées : hiérarchie compacte, titres complets et
   mêmes surfaces secondaires que Mangé. Pas de changement des filtres. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-menus-heading-row{gap:5px!important;margin:0 0 7px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-menus-heading-row>.mm-library-menus-heading{
 font-size:clamp(22px,6.1vw,30px)!important;line-height:1.15!important;
 overflow-wrap:normal!important;min-width:0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-modes-row{margin:0 0 7px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-modes-row>.mm-library-mode-switch{padding:3px!important;border-radius:14px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-modes-row>.mm-library-mode-switch>button{min-height:44px!important;font-size:13px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-recipes-panel.is-catalog>.mm-library-search-row{margin:0 0 6px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-recipes-panel.is-catalog .mm-library-search-wrap input{min-height:44px!important;height:44px!important;font-size:16px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-recipes-panel.is-catalog>.mm-library-source-scroll{gap:5px!important;margin:0 0 4px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-recipes-panel.is-catalog>.mm-library-source-scroll>button{min-height:44px!important;padding:5px 8px!important;font-size:12px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-recipes-panel.is-catalog>.mm-library-filter-meta{margin:0 0 6px!important;min-height:44px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-recipes-panel.is-catalog :is(.mm-library-filter-chip,.mm-library-sort-trigger){min-height:44px!important;padding:5px 8px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-recipes-panel.is-catalog>.mm-recipe-library-grid{gap:8px!important;align-items:stretch!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-photo-wrap{aspect-ratio:4/3!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-copy{padding:8px 9px 5px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-copy h3{
 padding:0!important;min-height:0!important;max-height:none!important;height:auto!important;
 display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;
 white-space:normal!important;overflow-wrap:break-word!important;line-height:1.28!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-actions{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:3px!important;padding:4px 5px 6px!important;margin-top:auto!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-actions>.mm-library-heart{
 position:relative!important;inset:auto!important;margin:0!important;z-index:auto!important;
 display:grid!important;place-items:center!important;flex:0 0 44px!important;
 width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-actions>.mm-library-heart::before{display:none!important;content:none!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-actions>.mm-library-week{
 flex:1 1 auto!important;min-width:44px!important;min-height:44px!important;
 height:44px!important;width:auto!important;padding:0 4px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-actions>.mm-library-more-trigger{flex:0 0 44px!important;min-height:44px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-actions>button:focus-visible{outline:2px solid currentColor!important;outline-offset:-2px!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-menus-heading-row>.mm-library-menus-heading{color:var(--mm-brand-primary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-modes-row>.mm-library-mode-switch,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-menus-heading-row>.mm-library-manage-trigger,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-recipes-panel.is-catalog>.mm-library-source-scroll>button:not(.is-active),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-recipes-panel.is-catalog :is(.mm-library-filter-chip:not(.is-active),.mm-library-sort-trigger),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-actions>:is(.mm-library-week,.mm-library-more-trigger),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-chips>button:not(.is-active),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-h10a-idea-plan,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-all-recipes,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-more{
 background:var(--mm-brand-secondary)!important;border-color:var(--mm-brand-secondary-border)!important;
 color:var(--mm-brand-primary)!important;box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-modes-row>.mm-library-mode-switch>button:not(.is-active){color:var(--mm-brand-primary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-menus-heading-row>.mm-library-add-compact,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-modes-row>.mm-library-mode-switch>button.is-active,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-recipes-panel.is-catalog>.mm-library-source-scroll>button.is-active,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-recipes-panel.is-catalog .mm-library-filter-chip.is-active,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-chips>button.is-active,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-h10a-idea-open{
 background:var(--mm-brand-primary)!important;color:#FFFFFF!important;border-color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-chips>button:not(.is-active)>i{color:var(--mm-brand-primary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen button.mm-ideas-stock-strip{
 background:var(--mm-brand-card)!important;color:var(--mm-brand-ink)!important;
 border:1px solid var(--mm-brand-secondary-border)!important;box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen button.mm-ideas-stock-strip .mm-ideas-stock-icon{color:var(--mm-brand-primary)!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen button.mm-ideas-stock-strip{min-height:56px!important;padding:7px 9px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-chip-rail{margin:0 0 6px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-chip-rail .mm-ideas-chips{gap:5px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-chip-rail .mm-ideas-chips>button{min-height:52px!important;padding:5px 3px!important;gap:3px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-chips>button>i{font-size:18px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-section-heading{margin:0!important;gap:5px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-stock-help{margin:4px 0 6px!important;font-size:12px!important;line-height:1.35!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-grid{gap:8px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-home-suggestion-card .mm-home-suggestion-body{padding:9px!important;gap:4px!important;min-width:0!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-home-suggestion-card .mm-home-suggestion-body>div:first-child{
 display:block!important;min-height:0!important;max-height:none!important;overflow:visible!important;
 -webkit-line-clamp:unset!important;white-space:normal!important;overflow-wrap:break-word!important;
 font-size:15px!important;line-height:1.3!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-home-suggestion-body>.mm-h10a-idea-reason{
 position:static!important;inset:auto!important;display:inline-flex!important;align-self:flex-start!important;
 max-width:100%!important;width:auto!important;white-space:normal!important;font-size:11px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-home-suggestion-body>.mm-h10a-idea-reason>span{
 display:block!important;-webkit-line-clamp:unset!important;max-height:none!important;overflow:visible!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-h10a-idea-actions{display:flex;align-items:stretch;gap:6px;padding:4px 9px 8px;min-width:0}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-h10a-idea-actions>button{
 min-width:44px;min-height:44px;border-radius:12px;border:1px solid var(--mm-line-strong);
 font:inherit;font-size:13px;font-weight:650;cursor:pointer;box-sizing:border-box;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-h10a-idea-open{flex:1 1 auto;background:var(--mm-prune-action);color:var(--mm-on-prune,#fff)}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-h10a-idea-plan{flex:0 0 44px;background:var(--mm-card);color:var(--mm-prune-text);font-size:20px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-h10a-idea-actions>button:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-actions>.mm-library-week :is(.mm-library-week-label-short,.mm-library-week-label-desktop){display:none!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-actions>.mm-library-week>i{font-size:20px!important;margin:0!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-card-item:first-child .mm-home-suggestion-media{aspect-ratio:2/1!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-card-item:not(:first-child)>.mm-home-suggestion-card{
  display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;align-items:start!important;gap:5px!important;
  padding:8px!important;box-sizing:border-box!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-card-item:not(:first-child) .mm-home-suggestion-media{width:76px!important;aspect-ratio:1/1!important;border-radius:10px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-card-item:not(:first-child) .mm-home-suggestion-body{padding:0!important}
}
@media(max-width:359px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-recipes-panel.is-catalog>.mm-recipe-library-grid{gap:6px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-actions{flex-wrap:wrap!important;gap:2px!important;padding-inline:3px!important}
}

/* H10A-bis — finitions du catalogue, des idées et des fenêtres associées. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-details{gap:3px!important;margin-top:3px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-details>.mm-library-meta{gap:3px 6px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-library-card .mm-library-meta>.mm-library-cuisine{
 display:block!important;white-space:normal!important;overflow-wrap:break-word!important;
 border:0!important;padding:0!important;line-height:1.3!important;font-size:12px!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-section-heading{gap:4px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-stock-help{margin:3px 0 5px!important;font-size:11.5px!important;line-height:1.35!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-card-item{
 border:1px solid var(--mm-line)!important;background:var(--mm-card)!important;
 border-radius:16px!important;overflow:hidden!important;box-sizing:border-box!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-card-item>.mm-home-suggestion-card{
 border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-card-item>.mm-h10a-idea-actions{padding:3px 9px 9px!important;background:transparent!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-home-suggestion-body .mm-idea-coverage{margin-top:4px!important;gap:3px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-h10a-partial-coverage{color:var(--mm-ink)!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-library-r02-group{padding:8px 0!important;gap:6px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-library-r02-choice{min-height:44px!important;padding:5px 9px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-library-filter-sheet-grid{
 grid-template-columns:minmax(0,1fr)!important;gap:8px!important
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-library-filter-sheet-grid>label{min-width:0!important;width:100%!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-library-filter-sheet-grid select{
 width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;
 box-sizing:border-box!important;font-size:16px!important
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-library-r02-choice:not(.is-active),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-library-diet-chip:not(.is-active),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-library-filter-sheet-actions>.is-secondary{
 background:var(--mm-brand-secondary)!important;border-color:var(--mm-brand-secondary-border)!important;
 color:var(--mm-brand-primary)!important
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-library-r02-choice.is-active,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-library-filter-sheet-actions>.is-primary{
 background:var(--mm-brand-primary)!important;border-color:var(--mm-brand-primary)!important;color:#fff!important
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-sheet-close,html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-h10a-sort-sheet .mm-sheet-close{color:var(--mm-brand-primary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-sheet-close::before,html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-h10a-sort-sheet .mm-sheet-close::before{background:var(--mm-brand-secondary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-library-filter-sheet-actions>.is-secondary:disabled,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-bottom-sheet.mm-library-r02-sheet .mm-library-diet-chip:disabled{opacity:.55!important}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-card-item:first-child .mm-home-suggestion-media{
  aspect-ratio:auto!important;height:clamp(110px,29vw,120px)!important;min-height:0!important;max-height:120px!important
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-library-screen .mm-ideas-screen .mm-ideas-card-item:first-child .mm-home-suggestion-photo{
  width:100%!important;height:100%!important;object-fit:cover!important
 }
}

/* H8-bis — référence Mangé pour les actions secondaires communes et spécifiques.
   Le beige des rappels, des illustrations et des états métier reste indépendant.
   Aucun changement de géométrie, de thème sombre ou de navigation système. */
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common button.is-secondary:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-week-screen .mm-week-courses-secondary:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-week-tools-sheet>button:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-week-organize-sheet>button:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-recipe-cooking-action>button:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-recipe-detail-sheet .mm-recipe-edit-menu-actions>button:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-visual-title>.mm-fridge-category-add:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-native-row:not(.is-selecting)>.mm-fridge-qty-trigger:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-lot-group-toggle:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen .mm-shopping-week-navigation>.mm-shopping-week-arrow:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-chips>button:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-add-recipe-close:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-kt-dialog .mm-kt-close:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])),
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-ideas-empty button.is-secondary:not(:is(.is-active,.is-selected,.is-done,.is-primary,.is-danger,.is-destructive,.is-error,.is-warning,.is-attention,.is-success,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"],[data-mm-button-kind="primary"],[data-mm-button-kind="destructive"])){
 background:var(--mm-brand-secondary)!important;
 border-color:var(--mm-brand-secondary-border)!important;
 color:var(--mm-brand-primary)!important;
}
/* Surfaces des contrôles groupés : ne pas recolorer leurs choix sélectionnés. */
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-week-screen .mm-menus-mode-row>.mm-menu-view-switch,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-add-storage,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-pref-person-stepper{
 background:var(--mm-brand-secondary)!important;
 border-color:var(--mm-brand-secondary-border)!important;
}
/* Les croix utilisent souvent une surface interne à leur zone tactile. */
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-sheet-close,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-close,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-sheet-close,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-category-move-head>button{
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-sheet-close:not(:active)::before,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-close:not(:active) .ti,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-sheet-close:not(:active) i,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-category-move-head>button:not(:active)::before{
 background:var(--mm-brand-secondary)!important;
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-add-form .mm-fridge-sheet-close{
 background:var(--mm-brand-secondary)!important;
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-add-form .mm-fridge-sheet-close>.ti{
 background:transparent!important;
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-row-qty>button:not(:active)::before{
 background:var(--mm-brand-secondary)!important;
 border-color:var(--mm-brand-secondary-border)!important;
}

/* H10B — fiche recette mobile : actions persistantes, photo compacte et portions près des ingrédients.
   Les commandes gardent leurs callbacks et leurs conditions d'affichage. */
@media(max-width:759px){
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout){
  padding-bottom:0!important;scroll-padding-bottom:calc(76px + env(safe-area-inset-bottom,0px));
 }
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout) .mm-recipe-detail-body{
  display:flex!important;flex-direction:column;min-width:0!important;padding:12px 14px 0!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout) .mm-recipe-detail-summary{display:contents!important}
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout) .mm-r06-photo{
  flex:none;height:clamp(125px,34vw,180px)!important;margin:8px 14px 0;border-radius:13px;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-detail-meta{flex-wrap:wrap!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-r06-title{overflow-wrap:anywhere!important}
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout .mm-recipe-portions-controls) .mm-r06-portion-summary{display:none!important}
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout) .mm-recipe-personal-tools{order:0}
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout) .mm-r06-actions:not(:empty){
  order:2;position:sticky;bottom:0;z-index:5;align-self:stretch;
  grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)!important;
  margin:8px -14px 0!important;padding:9px 12px max(12px,env(safe-area-inset-bottom,0px));
  background:var(--mm-card,#fff);border-top:1px solid var(--mm-line-strong,#e8dce5);
  box-sizing:border-box;box-shadow:0 -4px 14px rgba(35,20,29,.06);
 }
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout) .mm-r06-actions:has(> :only-child){grid-template-columns:minmax(0,1fr)!important}
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-existing-recipe-editor) .mm-r06-actions{display:none!important}
 html:not([data-menumia-theme="dark"]) body.mm-interface .mm-recipe-detail-sheet .mm-recipe-portions-step{
  background:transparent!important;border:0!important;color:var(--mm-brand-primary,#591b39)!important;
 }
}

/* H10C — Mode cuisine : présentation validée, minuteurs et sauvegarde inchangés. */
.mm-cooking-mode .mm-h10c-header{flex:none;padding:max(12px,calc(env(safe-area-inset-top,0px) + 8px)) 15px 11px!important;gap:8px!important}
.mm-cooking-mode .mm-h10c-header button{min-width:44px!important;min-height:44px!important;border-radius:12px!important}
.mm-cooking-mode .mm-h10c-progress{flex:none;padding:12px 20px;border-bottom:1px solid var(--mm-line)}
.mm-cooking-mode .mm-h10c-progress-label{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;line-height:1.35;margin-bottom:8px;color:var(--mm-prune-text)}
.mm-cooking-mode .mm-h10c-progress-label>span{min-width:0;text-align:right;overflow-wrap:anywhere;color:var(--mm-muted)}
.mm-cooking-mode .mm-h10c-track{height:7px;overflow:hidden;border-radius:999px;background:var(--mm-soft);border:1px solid var(--mm-line)}
.mm-cooking-mode .mm-h10c-fill{height:100%;border-radius:999px;background:var(--mm-prune-action)}
.mm-cooking-mode .mm-h10c-scroll{padding:22px 20px!important;overscroll-behavior:contain;min-width:0}
.mm-cooking-mode .mm-h10c-ingredients{display:grid;min-width:0}
.mm-cooking-mode .mm-h10c-context{display:grid;gap:4px;padding:12px;margin-bottom:12px;background:var(--mm-soft);color:var(--mm-ink);border-radius:12px;font-size:13px}
.mm-cooking-mode .mm-h10c-ingredient{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 0;border-bottom:1px solid var(--mm-line);font-size:15px;line-height:1.4;color:var(--mm-ink)}
.mm-cooking-mode .mm-h10c-bullet{width:7px;height:7px;flex:none;border-radius:50%;background:var(--mm-prune-text)}
.mm-cooking-mode .mm-h10c-name{flex:1;min-width:0;overflow-wrap:anywhere}
.mm-cooking-mode .mm-h10c-dose{max-width:48%;text-align:right;overflow-wrap:anywhere}
.mm-cooking-mode .mm-h10c-timers{border:1px solid var(--mm-line);border-radius:14px;padding:13px;background:var(--mm-soft);min-width:0}
.mm-cooking-mode .mm-h10c-timers>div:first-child{display:grid;gap:4px;font-size:14px;color:var(--mm-ink)}
.mm-cooking-mode .mm-h10c-timers small{color:var(--mm-muted);font-size:12px}
.mm-cooking-mode .mm-cooking-step-timer{max-width:100%;min-width:0;min-height:48px!important;white-space:normal!important;overflow-wrap:anywhere}
.mm-cooking-mode .mm-h10c-footer{flex:none;border-top:1px solid var(--mm-line);background:var(--mm-card);padding:10px 0 0}
.mm-cooking-mode .mm-h10c-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:8px!important;padding:0 14px max(14px,env(safe-area-inset-bottom,0px))!important}
.mm-cooking-mode .mm-h10c-actions>button{min-width:0!important;min-height:48px!important;height:auto!important;white-space:normal!important;overflow-wrap:anywhere}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-cooking-mode :is(.mm-h10c-timer-open,.mm-cooking-step-timer){
 background:var(--mm-brand-secondary,#F5E3D3)!important;border-color:var(--mm-brand-secondary-border)!important;color:var(--mm-brand-primary)!important
}

/* H11A — Courses : liste compacte et recherche persistante.
   Réutilise la caisse existante, sans modifier la sélection, les réserves ni les achats. */
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-functional-page-title-row{
  min-height:44px!important;margin-bottom:4px!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-page-tally{
  justify-content:space-between!important;gap:4px 10px!important;margin:0 2px 6px!important;font-size:13px!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-week-navigation{
  min-height:44px!important;margin-bottom:6px!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-entry-points{
  margin-bottom:6px!important;min-width:0!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-entry-points>button{
  min-height:44px!important;min-width:0!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page:has(.mm-shopping-desktop-head:not(.is-shopping-history)) .mm-shopping-list-content>.mm-shopping-search{
  position:sticky!important;top:0!important;z-index:18!important;
  background:var(--mm-page-bg,var(--mm-card))!important;padding:6px 0!important;gap:6px!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-search-label{
  flex:1 1 0!important;min-width:0!important;min-height:44px!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-filter-basket{
  flex:0 1 auto!important;min-width:44px!important;max-width:112px!important;min-height:44px!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-check-help{
  font-size:11.5px!important;line-height:1.35!important;margin:2px 0 5px!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-progress-row:not([hidden]){
  grid-template-columns:minmax(0,1fr) minmax(0,1.7fr)!important;
  gap:8px!important;padding:6px 8px!important;border-radius:14px!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-desktop-head:not(.is-shopping-history)>.mm-shopping-progress-row:not([hidden]):not(:has(>.mm-shopping-toolbar-buy-all)){
  grid-template-columns:minmax(0,1fr)!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-progress-row .mm-shopping-progress{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;min-width:0!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-progress-row .mm-shopping-progress-track{
  position:static!important;clip:auto!important;clip-path:none!important;display:block!important;
  height:5px!important;min-height:5px!important;width:100%!important;
  margin:0!important;padding:0!important;border-radius:999px!important;overflow:hidden!important;
  background:var(--mm-line-strong)!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-progress-row .mm-shopping-progress-track>span{
  display:block!important;height:100%!important;background:var(--mm-prune-action)!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-progress-row>.mm-shopping-toolbar-buy-all{
  background:var(--mm-prune-action,#70436b)!important;color:var(--mm-on-prune,#fff)!important;
  border-color:var(--mm-prune-action,#70436b)!important;min-height:44px!important;height:auto!important;
  font-size:13px!important;line-height:1.2!important;
 }
 html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page :is(.mm-shopping-entry-points>button,.mm-shopping-filter-basket:not([aria-pressed="true"])){
  background:var(--mm-brand-secondary,#F5E3D3)!important;color:var(--mm-brand-primary,#70436b)!important;
  border-color:var(--mm-brand-secondary-border)!important;
 }
}
/* H11B — Panier : choix explicite, quantités et validation persistante.
   Les avertissements, callbacks et transactions restent inchangés. */
html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-choice-button{
 min-height:70px!important;min-width:0!important;box-sizing:border-box;overflow-wrap:anywhere;
}
html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-choice-button.is-receipt,
html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-confirm{
 background:var(--mm-prune-action,#70436b)!important;border-color:var(--mm-prune-action,#70436b)!important;color:var(--mm-on-prune,#fff)!important;
}
html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-choice-button.is-receipt :is(strong,small,i){color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-h11b-purchase-sheet :is(.mm-purchase-review-choice-button:not(.is-receipt),.mm-purchase-review-cancel){
 background:var(--mm-brand-secondary,#F5E3D3)!important;color:var(--mm-brand-primary,#70436b)!important;border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-choice-button:not(.is-receipt) :is(strong,small,i){color:inherit!important}
html body.mm-interface .mm-h11b-purchase-sheet .mm-h11b-pack{grid-column:1/-1;min-width:0}
html body.mm-interface .mm-h11b-purchase-sheet .mm-h11b-pack-options{border:1px solid var(--mm-line);border-radius:10px;padding:0 10px 4px;min-width:0}
html body.mm-interface .mm-h11b-purchase-sheet .mm-h11b-pack-options>summary{min-height:44px;display:list-item;align-content:center;color:var(--mm-prune-text);font-size:13px;font-weight:700;cursor:pointer}
html body.mm-interface .mm-h11b-purchase-sheet .mm-h11b-pack-options button{min-height:44px;max-width:100%;overflow-wrap:anywhere;background:var(--mm-card)!important;color:var(--mm-ink)!important;border-color:var(--mm-line-strong)!important}
html body.mm-interface .mm-h11b-purchase-sheet .mm-h11b-pack-options button[aria-pressed="true"]{background:var(--mm-soft)!important;border-color:var(--mm-prune-text)!important}
@media(max-width:759px){
 html body.mm-interface .mm-bottom-sheet.mm-h11b-purchase-sheet.is-manual{
  display:flex!important;flex-direction:column!important;height:min(86dvh,760px)!important;
  max-height:calc(100dvh - env(safe-area-inset-top,0px) - 8px)!important;
  overflow:hidden!important;padding:10px 16px max(8px,env(safe-area-inset-bottom,0px))!important;
 }
 html body.mm-interface .mm-h11b-purchase-sheet.is-manual>:is(.mm-sheet-handle,.mm-sheet-header){flex:0 0 auto}
 html body.mm-interface .mm-h11b-purchase-sheet.is-manual>.mm-sheet-content,
 html body.mm-interface .mm-h11b-purchase-sheet.is-manual .mm-purchase-review{
  display:flex!important;flex-direction:column!important;flex:1 1 auto;min-height:0!important;min-width:0!important;overflow:hidden!important;
 }
 html body.mm-interface .mm-h11b-purchase-sheet .mm-h11b-purchase-scroll{
  flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;padding:2px 2px 12px;
 }
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-row{
  grid-template-columns:minmax(0,1fr) minmax(0,130px)!important;gap:8px!important;align-items:start!important;
 }
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-row>div:first-child{min-width:0}
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-row strong{overflow-wrap:anywhere}
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-row label>input[type="checkbox"]{flex:none;width:22px;height:22px}
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-row>div:first-child>label{min-height:44px}
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-quantity{display:flex!important;min-width:0;gap:4px!important;flex-wrap:wrap}
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-quantity label{flex:1 1 54px;min-width:0}
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-quantity input{width:100%!important;min-width:0;font-size:16px!important}
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-quantity select{width:64px!important;max-width:100%;font-size:16px!important}
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-row>.mm-inventory-presence{max-width:100%;white-space:normal!important;overflow-wrap:anywhere}
 html body.mm-interface .mm-h11b-purchase-sheet .mm-h11b-purchase-footer{flex:0 0 auto;padding:10px 0 2px;background:var(--mm-card);border-top:1px solid var(--mm-line)}
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-remaining{margin:0 0 8px;font-size:12px;line-height:1.35;color:var(--mm-muted)}
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-actions{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:8px!important;margin:0!important;
 }
 html body.mm-interface .mm-h11b-purchase-sheet .mm-purchase-review-actions>button{
  position:static!important;min-width:0!important;min-height:48px!important;height:auto!important;margin:0!important;padding:9px 7px!important;white-space:normal!important;overflow-wrap:anywhere;
 }
}
/* H11C — Scanner : hiérarchie des trois étapes, anomalies et confirmation.
   Les contrôles OCR, associations, choix Budget et conditions de sauvegarde
   restent ceux du scanner existant. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-steps{
 gap:6px!important;padding:8px 4px!important;align-items:start!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-step{
 min-width:0!important;gap:4px!important;color:var(--mm-muted)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-step>span:last-child{
 font-size:12px!important;font-weight:650;line-height:1.3!important;overflow-wrap:anywhere;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-step.is-current{
 color:var(--mm-prune-text)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-step.is-current .mm-receipt-step-number{
 background:var(--mm-prune-action,#70436b)!important;border-color:var(--mm-prune-action,#70436b)!important;color:var(--mm-on-prune,#fff)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page :is(.mm-receipt-import-primary,.mm-receipt-read-action>button,.mm-receipt-review-confirm,.mm-receipt-review-start-guide,.mm-receipt-commit-actions>.is-primary){
 background:var(--mm-prune-action,#70436b)!important;border-color:var(--mm-prune-action,#70436b)!important;color:var(--mm-on-prune,#fff)!important;
 min-height:48px!important;white-space:normal!important;overflow-wrap:anywhere;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page :is(.mm-receipt-import-primary,.mm-receipt-read-action>button,.mm-receipt-review-confirm,.mm-receipt-review-start-guide,.mm-receipt-commit-actions>.is-primary):disabled{
 opacity:.55!important;cursor:not-allowed!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-review-ticket-summary{
 background:var(--mm-soft)!important;border:1px solid var(--mm-line)!important;border-radius:12px!important;
 padding:10px 12px!important;min-width:0!important;gap:8px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-review-todo{
 border-radius:12px!important;padding:10px 12px!important;background:var(--mm-card)!important;
 border:1px solid var(--mm-line-strong)!important;border-inline-start:3px solid var(--mm-prune-text)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-review-todo h4{
 font-size:14px!important;font-weight:750!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-row-flag{
 font-weight:700!important;overflow-wrap:anywhere;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page :is(.mm-receipt-recognized-toggle,.mm-receipt-review-back,.mm-receipt-final-edit,.mm-receipt-final-fridge-open){
 min-height:44px!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page :is(.mm-receipt-recognized-toggle,.mm-receipt-review-back,.mm-receipt-final-edit,.mm-receipt-final-fridge-open,.mm-receipt-step.is-complete .mm-receipt-step-number){
 background:var(--mm-brand-secondary,#F5E3D3)!important;color:var(--mm-brand-primary,#70436b)!important;border-color:var(--mm-brand-secondary-border)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-accounting-choice{
 min-height:52px!important;min-width:0!important;border-radius:12px!important;overflow-wrap:anywhere;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-accounting-choice:has(input:checked){
 border-color:var(--mm-prune-text)!important;background:var(--mm-soft)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-final-effect{
 background:var(--mm-card)!important;border:1px solid var(--mm-line)!important;border-radius:12px!important;
}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-shopping-receipt-import-preview-row{
  min-width:0!important;max-width:100%!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-shopping-receipt-import-preview-actions{
  min-width:0!important;flex-wrap:wrap!important;gap:4px!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-shopping-receipt-import-preview-actions>button{
  min-height:44px!important;max-width:100%!important;
 }
 /* Ne pas recouvrir les champs, erreurs ou choix au clavier. Le bouton
    reste dans le flux quand la confirmation est bloquée ou en cours. */
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-receipt-page .mm-receipt-final-page:not(:has(:is(input,textarea,select):focus)) .mm-receipt-commit-actions:has(>.is-primary:not(:disabled)){
  position:sticky!important;bottom:0;z-index:5;align-self:stretch;
  padding:8px 0 max(8px,env(safe-area-inset-bottom,0px));
  background:var(--mm-card);border-top:1px solid var(--mm-line);
 }
}

/* H11A-bis — Quantités : même beige clair que les actions secondaires.
   Uniquement la pastille éditable des Courses, sans changement de structure,
   du thème sombre ni des états de saisie et d'erreur. */
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-shopping-screen.is-shopping-list-page .mm-shopping-item-row>.mm-shopping-item-qty-editor:not(:focus-within):not(:has(input[aria-invalid="true"])){
 background:var(--mm-brand-secondary)!important;
}
/* H12A — Frigo : la liste avant les outils secondaires.
   Les illustrations CategoryThumb, lots et états métier sont conservés. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen:not([data-watch-page="true"]) .mm-fridge-alert-line[data-h12-filters-visible="true"]{
 display:flex!important;align-items:flex-start!important;gap:6px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12a-filter-close{
 flex:0 0 44px;min-height:44px;border:1px solid var(--mm-line);border-radius:11px;background:var(--mm-card);color:var(--mm-ink);
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12a-watch-filters{
 display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:7px 10px;
 background:var(--mm-card);border:1px solid var(--mm-line);border-radius:11px;color:var(--mm-prune-text);font-weight:700;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen :is(.mm-fridge-add-top,.mm-fridge-storage-switch>button.is-active){
 background:var(--mm-brand-primary)!important;border-color:var(--mm-brand-primary)!important;color:#fff!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-storage-switch>button.is-active :is(i,strong,span){color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-storage-switch>button:not(.is-active){
 background:var(--mm-brand-secondary)!important;border-color:var(--mm-brand-secondary-border)!important;color:var(--mm-brand-primary)!important;
}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen:not([data-watch-page="true"]) .mm-fridge-mock-head{margin-bottom:5px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-title-row{margin-bottom:5px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen :is(.mm-fridge-mock-search,.mm-fridge-storage-switch){margin-bottom:6px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-storage-switch>button{min-height:44px!important;padding:5px 8px!important;min-width:0!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-alert-shortcuts.is-grouped{margin:0 0 5px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-alert-shortcuts.is-grouped>.mm-fridge-review-launch{min-height:48px!important;padding:5px 9px!important;gap:6px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-visual-section{margin-bottom:7px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-visual-title{margin-bottom:3px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-item-name-line>strong{overflow-wrap:anywhere}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen details.mm-fridge-prepared-stock{margin-top:8px!important}
}
/* H12B — Ajout et fiche aliment : hiérarchie visuelle, charte H8 inchangée.
   Aucune modification du moteur de stock ni des confirmations existantes. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12b-field-label{
 display:block;flex:0 0 100%;width:100%;margin:2px 0 0;color:var(--mm-ink);
 font-size:14px;font-weight:750;line-height:1.35;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-add-form .mm-fridge-approx-options{
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px!important;
 flex:0 0 100%;width:100%;margin:0!important;min-width:0;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-add-form .mm-fridge-approx-options>button{
 grid-column:span 2;min-height:44px!important;min-width:0!important;padding:7px 4px!important;white-space:normal!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-add-form .mm-fridge-approx-options>button:nth-child(n+4){
 grid-column:span 3;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-add-form .mm-fridge-approx-options>button:nth-child(4):last-child{grid-column:1/-1}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12b-add-category{
 flex:0 0 100%;width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--mm-line);
 border-radius:12px;background:var(--mm-card);padding:0 10px;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12b-add-category>summary{
 display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;
 font-size:13px;color:var(--mm-ink);cursor:pointer;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12b-add-category>summary>strong{
 flex:1;text-align:right;min-width:0;overflow-wrap:anywhere;color:var(--mm-prune-text);
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12b-add-category>select{
 min-height:44px!important;width:100%!important;max-width:100%;margin:0 0 8px!important;font-size:16px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-add-form:has(:is(input,textarea,select):focus) .mm-fridge-add-actions{
 position:static!important;box-shadow:none!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-detail-sheet .mm-fridge-detail-name{
 display:flex!important;align-items:center!important;gap:9px!important;min-width:0;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-detail-sheet .mm-fridge-detail-name>.mm-category-thumb{
 width:42px!important;height:42px!important;flex:0 0 42px;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-detail-sheet .mm-fridge-detail-name>span{min-width:0;overflow-wrap:anywhere}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-add-form,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-courses-frigo-sheet:has(.mm-fridge-detail-sheet){
 background:var(--mm-brand-page)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-add-actions{
 background:var(--mm-brand-page)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common :is(.mm-fridge-add-form,.mm-fridge-detail-sheet) .mm-fridge-approx-options>button:not(.is-active){
 background:var(--mm-brand-card)!important;border-color:var(--mm-line-strong)!important;color:var(--mm-brand-ink)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common :is(.mm-fridge-add-form,.mm-fridge-detail-sheet) .mm-fridge-approx-options>button.is-active{
 background:rgba(112,38,80,.11)!important;border-color:var(--mm-brand-primary)!important;color:var(--mm-brand-primary)!important;
 box-shadow:inset 0 0 0 1px var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-add-form .mm-fridge-add-storage>button[aria-checked="true"],
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common :is(.mm-fridge-sheet-submit,.mm-fridge-detail-action.is-primary,.mm-fridge-add-form .mm-quick-add-duplicate-actions>.is-primary){
 background:var(--mm-brand-primary)!important;border-color:var(--mm-brand-primary)!important;color:#fff!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-add-form .mm-fridge-add-storage>button[aria-checked="false"],
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common :is(.mm-fridge-finish-adds,.mm-fridge-detail-action[data-h12b-action="use"],.mm-fridge-add-form .mm-quick-add-open-existing){
 background:var(--mm-brand-secondary)!important;border-color:var(--mm-brand-secondary-border)!important;color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-add-form:has(.mm-quick-add-duplicate) .mm-fridge-sheet-submit{
 background:var(--mm-brand-secondary)!important;border-color:var(--mm-brand-secondary-border)!important;color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-detail-sheet :is(.mm-fridge-detail-action.is-primary,.mm-fridge-detail-action[data-h12b-action="use"]) :is(strong,small,i){color:inherit!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-add-form .mm-fridge-sheet-submit:disabled{opacity:.55!important}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-add-form{gap:7px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-detail-sheet{gap:9px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-detail-sheet .mm-fridge-detail-card{padding:10px!important;gap:8px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-add-form :is(input,select){font-size:16px!important}
}
/* H12C — Alertes : priorité visuelle, anti-gaspillage et revue facultative.
   Les seuils de dates, les réponses et leurs écritures restent inchangés. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-watch-page{
 gap:9px!important;min-width:0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-review-filters{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-review-filters>button{
 min-width:0!important;min-height:48px!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.3!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-review-filters>button[aria-pressed="true"],
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-review-reminder button[aria-label="Vérifier mes réserves"]{
 background:var(--mm-brand-primary)!important;border-color:var(--mm-brand-primary)!important;color:#fff!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-review-filters>button[aria-pressed="true"]>strong{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-review-filters>button[aria-pressed="false"]{
 background:var(--mm-brand-secondary)!important;border-color:var(--mm-brand-secondary-border)!important;color:var(--mm-brand-ink)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-watch-item{
 min-width:0!important;min-height:56px!important;overflow-wrap:anywhere;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-watch-item:is([data-h12c-expiry="expired"],[data-h12c-expiry="urgent"]){
 border-inline-start:3px solid #B94A42!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-watch-item:is([data-h12c-expiry="soon"],[data-h12c-expiry="invalid"]){
 border-inline-start:3px solid #B98330!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-watch-item:is([data-h12c-expiry="expired"],[data-h12c-expiry="urgent"]) small{color:#A23530!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-watch-item:is([data-h12c-expiry="soon"],[data-h12c-expiry="invalid"]) small{color:#855917!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-watch-page .mm-fridge-expiry-alert{
 min-width:0!important;margin:0!important;border:1px solid var(--mm-line-strong)!important;border-radius:13px!important;background:var(--mm-card)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-watch-page .mm-fridge-expiry-heading{
 min-height:48px!important;white-space:normal!important;overflow-wrap:anywhere;gap:6px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-watch-page .mm-fridge-expiry-item>button{min-height:44px!important;max-width:100%;white-space:normal!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-review-reminder{
 background:var(--mm-card)!important;border-color:var(--mm-line-strong)!important;margin:0!important;padding:12px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12c-review-answers{
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12c-review-answers>button{
 grid-column:span 2;min-width:0!important;min-height:44px!important;white-space:normal!important;padding:7px 4px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12c-review-answers>button:is([data-h12c-answer="yes"],[data-h12c-answer="no"]){grid-column:span 3}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12c-review-answers>button[data-h12c-answer="yes"]:has(~button:nth-child(3)){grid-column:1/-1}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12c-review-answers>button[data-h12c-answer="no"]:nth-child(5){grid-column:1/-1}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12c-review-answers>button{
 background:var(--mm-brand-card)!important;border:1px solid var(--mm-brand-secondary-border)!important;color:var(--mm-brand-ink)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12c-review-answers>button[data-h12c-answer="yes"]{
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-h12c-review-answers>button[data-h12c-answer="no"]{color:#A23530!important;border-color:#B94A42!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-fridge-screen .mm-fridge-review-reminder button:disabled{opacity:.55!important;cursor:not-allowed!important}

/* H13A — Accueil Assistant : une priorité, des idées compactes et la charte H8.
   L'état vide uniquement ; navigation, brouillon, clavier et confirmations inchangés. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-start{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;
 width:100%!important;max-width:560px!important;box-sizing:border-box!important;margin-inline:auto!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-home-intro{
 gap:7px!important;margin:0 0 2px!important;padding:4px 0!important;text-align:center!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-home-intro h2{
 font-size:clamp(22px,6vw,27px)!important;line-height:1.2!important;letter-spacing:-.02em!important;
 margin:0!important;overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-home-intro p{
 box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;
 padding:8px 10px!important;border-radius:11px!important;font-size:12px!important;font-weight:650!important;
 line-height:1.4!important;overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-suggestion-hint{
 font-size:12px!important;line-height:1.4!important;margin:0 1px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-suggestions-label{
 font-size:12px!important;line-height:1.35!important;margin:1px 2px!important;
 font-weight:750!important;letter-spacing:0!important;text-transform:none!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-context-list{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-context-card,
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-quick-card{
 display:grid!important;grid-template-columns:34px minmax(0,1fr) 16px!important;
 align-items:center!important;gap:9px!important;min-height:56px!important;
 padding:8px 10px!important;text-align:left!important;box-shadow:none!important;
 min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-context-card{border-radius:13px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-quick-grid{
 gap:6px!important;border:0!important;background:transparent!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-quick-card,
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-quick-card+.mm-assistant-quick-card{
 border:1px solid var(--mm-line-strong)!important;border-radius:13px!important;
 background:var(--mm-card)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty :is(.mm-assistant-context-icon,.mm-assistant-quick-icon){
 width:34px!important;height:34px!important;min-width:34px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty :is(.mm-assistant-context-copy,.mm-assistant-quick-copy){
 min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty :is(.mm-assistant-context-copy,.mm-assistant-quick-copy)>strong{
 font-size:14px!important;line-height:1.3!important;font-weight:750!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty :is(.mm-assistant-context-copy,.mm-assistant-quick-copy)>small{
 font-size:12px!important;line-height:1.35!important;white-space:normal!important;
 overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-extra-suggestions{margin:0!important;padding:0!important;border:0!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-more-toggle{
 min-height:44px!important;padding:6px 9px!important;border-radius:11px!important;
 font-size:12px!important;white-space:normal!important;gap:6px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-extra-options>button{
 min-height:44px!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-send{min-width:44px!important;min-height:44px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-send:disabled{opacity:.55!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty :is(.mm-assistant-home-intro h2,.mm-assistant-context-heading){
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-home-intro p{
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-signature)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-context-card{
 background:var(--mm-brand-card)!important;border:1px solid var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-context-icon{
 background:var(--mm-brand-primary)!important;color:#fff!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-context-icon>i{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-quick-icon{
 background:transparent!important;color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty :is(.mm-assistant-more-toggle,.mm-assistant-extra-options>button){
 background:var(--mm-brand-secondary)!important;border:1px solid var(--mm-brand-secondary-border)!important;
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-send{
 background:var(--mm-brand-primary)!important;color:#fff!important;border-color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-send>i{color:inherit!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty :is(.mm-assistant-context-card,.mm-assistant-quick-card,.mm-assistant-more-toggle,.mm-assistant-extra-options>button,.mm-assistant-send):focus-visible{
 outline:2px solid var(--mm-prune-text)!important;outline-offset:2px!important;
}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-header{padding-block:6px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-start{gap:7px!important;padding:4px 2px 10px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-home-intro{padding:2px 0!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-quick-card{min-height:52px!important;padding-block:6px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.is-empty .mm-assistant-composer{gap:7px!important}
}

/* H13B — Conversation : lecture naturelle, recettes et états de réponse.
   Les propositions, leur validation et le moteur IA ne changent pas. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message:not(.has-proposal){
 min-width:0!important;box-sizing:border-box!important;gap:7px!important;margin-bottom:12px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.is-user:not(.has-proposal){
 justify-content:flex-end!important;padding-left:28px!important;padding-right:0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.is-assistant:not(.has-proposal){
 align-items:flex-start!important;padding-right:12px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message:not(.has-proposal) .mm-assistant-bubble{
 box-sizing:border-box!important;min-width:0!important;font-size:14px!important;
 line-height:1.55!important;padding:10px 12px!important;box-shadow:none!important;
 overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.is-user:not(.has-proposal) .mm-assistant-bubble{
 max-width:100%!important;border-radius:16px 16px 5px 16px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.is-assistant:not(.has-proposal) .mm-assistant-bubble{
 max-width:calc(100% - 35px)!important;border-radius:5px 16px 16px 16px!important;
 border:1px solid var(--mm-line)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.is-assistant:not(.has-proposal) .mm-assistant-avatar{
 width:28px!important;height:28px!important;flex:0 0 28px!important;margin:2px 0 0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message:not(.has-proposal) .mm-assistant-message-text{
 white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-results:not(.has-proposal){
 padding-right:0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-results:not(.has-proposal) .mm-assistant-bubble{
 flex:1 1 0!important;background:transparent!important;border:0!important;padding:0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-results{
 display:flex!important;flex-direction:column!important;gap:7px!important;margin-top:8px!important;min-width:0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-result{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 min-width:0!important;min-height:60px!important;padding:10px!important;
 border-radius:12px!important;gap:8px!important;box-shadow:none!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-result>span{
 min-width:0!important;flex:1 1 0!important;gap:4px!important;overflow:visible!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-result strong{
 font-size:14px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-result-details{
 min-width:0!important;gap:4px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-result-details .mm-assistant-result-missing{
 display:block!important;font-size:12px!important;font-weight:700!important;line-height:1.4!important;
 color:var(--mm-ink)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-result-details small{
 white-space:normal!important;overflow-wrap:anywhere!important;overflow:visible!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-result:disabled{opacity:.55!important;cursor:default!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-thinking{
 flex-wrap:wrap!important;gap:8px!important;min-height:44px!important;
 align-items:center!important;color:var(--mm-muted)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-thinking .mm-assistant-dots{flex:0 0 auto!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message:not(.has-proposal) .mm-assistant-message-text[role="alert"]{
 border-inline-start:3px solid #B94A42!important;padding-inline-start:8px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation :is(.mm-assistant-return-top,.mm-assistant-back,.mm-assistant-jump-latest,.mm-assistant-send){
 min-height:44px!important;min-width:44px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-send:disabled{opacity:.55!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.is-user:not(.has-proposal) .mm-assistant-bubble{
 background:var(--mm-brand-primary)!important;color:#fff!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.is-user:not(.has-proposal) .mm-assistant-message-text{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.is-assistant:not(.has-proposal) .mm-assistant-bubble{
 background:var(--mm-brand-card)!important;color:var(--mm-brand-ink)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-results:not(.has-proposal) .mm-assistant-bubble{
 background:transparent!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-avatar{
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-result{
 background:var(--mm-brand-card)!important;border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-result :is(strong,.ti){color:var(--mm-brand-primary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-result-match{color:var(--mm-brand-muted)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation :is(.mm-assistant-return-top,.mm-assistant-back,.mm-assistant-jump-latest){
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-primary)!important;
 border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-send{background:var(--mm-brand-primary)!important;color:#fff!important;box-shadow:none!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-send>i{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message:not(.has-proposal) .mm-assistant-message-text[role="alert"]{
 color:#A23530!important;
}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.is-user:not(.has-proposal){padding-left:22px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.is-assistant:not(.has-proposal){padding-right:0!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-composer{gap:7px!important}
}
@media(prefers-reduced-motion:reduce){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-dots i{animation:none!important}
}

/* H13C — Propositions : comparaison lisible et confirmation explicite.
   Aucune modification des actions, des étapes, des autorisations ou du stock. */
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal{
 min-width:0!important;box-sizing:border-box!important;align-items:flex-start!important;
 gap:7px!important;padding-right:0!important;margin-bottom:12px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-avatar{
 width:28px!important;height:28px!important;flex:0 0 28px!important;margin:2px 0 0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-bubble{
 flex:1 1 0!important;min-width:0!important;max-width:calc(100% - 35px)!important;
 box-sizing:border-box!important;padding:11px!important;overflow-wrap:anywhere!important;
 border:1px solid var(--mm-line-strong)!important;border-radius:5px 16px 16px 16px!important;
 box-shadow:none!important;font-size:14px!important;line-height:1.5!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-proposal{
 gap:9px!important;min-width:0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-proposal-heading>div{min-width:0!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-proposal-heading strong{
 font-size:15px!important;line-height:1.35!important;overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-proposal-heading small{
 font-size:12px!important;line-height:1.4!important;text-transform:none!important;
 letter-spacing:0!important;color:var(--mm-muted)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-meal-comparison{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-meal-option{
 padding:10px!important;gap:4px!important;min-width:0!important;border-radius:11px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-meal-option .mm-assistant-proposal-label{
 font-size:12px!important;font-weight:750!important;line-height:1.35!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-meal-option strong{
 font-size:14px!important;line-height:1.4!important;overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-meal-arrow{
 justify-self:center!important;font-size:18px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-meal-difference{font-size:12px!important;line-height:1.4!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-proposal-change-list>div{
 min-width:0!important;gap:8px!important;padding:9px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-proposal-change-list :is(strong,span){
 min-width:0!important;font-size:12px!important;line-height:1.4!important;
 overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-proposal-details summary{
 min-height:44px!important;font-size:13px!important;line-height:1.4!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-proposal-detail-block :is(strong,li){
 font-size:13px!important;line-height:1.45!important;overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-multi-preview .mm-assistant-multi-steps{
 padding-inline-start:18px!important;gap:7px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-multi-preview .mm-assistant-multi-steps>li{
 padding:9px!important;min-width:0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-multi-preview :is(.mm-assistant-multi-steps li>strong,.mm-assistant-multi-fridge>strong,.mm-assistant-multi-budget>strong,.mm-assistant-multi-guidance>strong){
 font-size:13px!important;line-height:1.4!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-multi-preview small{
 font-size:12px!important;line-height:1.45!important;opacity:1!important;overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal :is(.mm-assistant-multi-fridge,.mm-assistant-multi-budget,.mm-assistant-multi-guidance){
 padding:10px!important;font-size:13px!important;line-height:1.45!important;min-width:0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-confirm-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:7px!important;min-width:0!important;margin-top:10px!important;padding:9px!important;
 background:var(--mm-card)!important;border:1px solid var(--mm-line-strong)!important;
 border-radius:12px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-confirm-actions>:not(button),
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-confirm-actions>button[data-mm-button-kind="primary"],
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-confirm-actions>button:only-child{
 grid-column:1/-1!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-approval-note{
 display:block!important;font-size:12px!important;font-weight:650!important;
 line-height:1.45!important;overflow-wrap:anywhere!important;
 color:var(--mm-ink)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-confirm-actions>button{
 width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;
 height:auto!important;box-sizing:border-box!important;padding:8px!important;
 font-size:13px!important;line-height:1.35!important;white-space:normal!important;
 overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-confirm-actions>button:disabled{
 opacity:.55!important;cursor:not-allowed!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-status{
 padding:9px!important;margin-top:9px!important;border:1px solid var(--mm-line)!important;
 border-radius:10px!important;font-size:13px!important;line-height:1.45!important;
 align-items:flex-start!important;overflow-wrap:anywhere!important;min-width:0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-status .ti{flex:0 0 auto!important;font-size:17px!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-bubble{
 background:var(--mm-brand-card)!important;color:var(--mm-brand-ink)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal :is(.mm-assistant-proposal-heading strong,.mm-assistant-meal-option.is-proposed strong){
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-proposal-icon{
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-meal-option:not(.is-proposed){
 background:var(--mm-brand-page)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-meal-option.is-proposed{
 background:var(--mm-brand-card)!important;border-color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-proposal-change-list>div,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-multi-preview .mm-assistant-multi-steps>li,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal :is(.mm-assistant-multi-fridge,.mm-assistant-multi-budget){
 background:var(--mm-brand-card)!important;border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-multi-guidance{
 background:var(--mm-brand-secondary)!important;border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-confirm-actions>button[data-mm-button-kind="primary"]{
 background:var(--mm-brand-primary)!important;border-color:var(--mm-brand-primary)!important;color:#fff!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-confirm-actions>button[data-mm-button-kind="tertiary"]{
 background:var(--mm-brand-secondary)!important;border-color:var(--mm-brand-secondary-border)!important;
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-status.is-applied{
 color:#356345!important;background:rgba(78,128,84,.10)!important;border-color:rgba(78,128,84,.35)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-status.is-error,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-proposal [role="alert"],
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-confirm-actions>[role="alert"]{
 color:#A23530!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-status.is-error{
 background:rgba(185,74,66,.08)!important;border-color:rgba(185,74,66,.35)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-status.is-cancelled{
 background:var(--mm-brand-page)!important;color:var(--mm-brand-muted)!important;
}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-bubble{padding:9px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-assistant-overlay.is-page .mm-assistant-sheet.has-conversation .mm-assistant-message.has-proposal .mm-assistant-confirm-actions{padding:8px!important;gap:6px!important}
}

/* H14A — Mon organisation : résumé compact, outils neutres et priorité contextuelle.
   Les données, recommandations, droits et parcours de découverte ne changent pas. */
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-panel,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-card,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-discovery,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-data-state{
 background:var(--mm-brand-card)!important;border:1px solid var(--mm-brand-secondary-border)!important;
 box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified :is(.mm-organization-week-eyebrow,.mm-organization-primary-content>strong){
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-icon{
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-icon>i{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-action,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-discovery-later{
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-primary)!important;
 border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-panel:has(.mm-organization-advice-label) .mm-organization-week-action,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified:not(:has(.mm-organization-advice-label)) .mm-organization-week-action,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-discovery-primary{
 background:var(--mm-brand-primary)!important;border-color:var(--mm-brand-primary)!important;
 color:#fff!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-action>i{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-advice-label{
 background:var(--mm-brand-primary)!important;color:#fff!important;border-color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-advice-label>i{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-card:has(.mm-organization-advice-label){
 border-color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-card .mm-organization-advice-action{
 color:var(--mm-brand-primary)!important;font-weight:800!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-program-name{
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-signature)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-budget-metric{
 background:var(--mm-brand-page)!important;color:var(--mm-brand-ink)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-budget-value.is-over{color:#A23530!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-progress:not(.is-complete)>span{
 background:var(--mm-brand-primary)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-card:has(.mm-organization-access) .mm-organization-access{
 font-size:11px!important;line-height:1.35!important;white-space:normal!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-card:disabled{cursor:not-allowed!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified :is(.mm-organization-week-action,.mm-organization-discovery-primary,.mm-organization-discovery-later){
 min-height:44px!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified{gap:10px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-panel{
  gap:7px!important;padding:10px 12px!important;border-radius:14px!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-copy{gap:5px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-count{gap:6px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-count>strong{font-size:25px!important;line-height:1.15!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-copy>small{font-size:12px!important;line-height:1.35!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-progress{height:6px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-week-program{margin:0!important;min-width:0!important;white-space:normal!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary{gap:7px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-card{
  min-height:64px!important;grid-template-columns:38px minmax(0,1fr) auto!important;
  gap:8px!important;padding:9px!important;border-radius:13px!important;
  align-items:center!important;box-sizing:border-box!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-icon{
  width:38px!important;height:38px!important;min-width:38px!important;border-radius:11px!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-content{gap:3px!important;min-width:0!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-content>strong{font-size:15px!important;line-height:1.3!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-content>small{font-size:12px!important;line-height:1.35!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-primary-trailing{min-width:16px!important;max-width:65px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-budget-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-budget-metric{min-width:0!important;padding:5px 4px!important;font-size:11px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-budget-metric:last-child{grid-column:auto!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-budget-metric:last-child:has(.is-over){grid-column:1/-1!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-budget-value{font-size:12px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-organization-page.is-simplified .mm-organization-discovery{padding:10px!important}
}


/* H14B — Batch cooking : même charte que Mon organisation.
   Les durées, étapes, droits, minuteurs et confirmations restent inchangés. */
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page :is(.mm-batch-budget,.mm-batch-assist,.mm-batch-manual,.mm-batch-preview-head,.mm-batch-readiness,.mm-batch-guided,.mm-batch-additional,.mm-batch-recipe-actions,.mm-batch-stock-check,.mm-batch-step-index,.mm-batch-guidance,.mm-batch-prepared-reuse){
 background:var(--mm-brand-card)!important;
 border:1px solid var(--mm-brand-secondary-border)!important;
 box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page :is(.mm-batch-assist-stats,.mm-batch-guided-current){
 background:var(--mm-brand-page)!important;
 color:var(--mm-brand-ink)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page :is(.mm-batch-page-header h1,.mm-batch-assist-heading strong,.mm-batch-preview-head h3,.mm-batch-readiness>header strong,.mm-batch-guided>h4,.mm-batch-guided-current>strong,.mm-batch-recipe-actions>h4){
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page :is(.mm-batch-assist-heading i,.mm-batch-manual>summary i,.mm-batch-page-back){
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page :is(.mm-batch-preview-edit,.mm-batch-budget select,.mm-batch-phases>button:not(.is-active),.mm-batch-guided-actions>button:not(:last-child),.mm-batch-guided-current>button,.mm-batch-recipe-actions .mm-batch-preview-meal button,.mm-batch-step-buttons>button:not([aria-current="step"]),.mm-batch-next-check>button,.mm-batch-prepared-reuse>button):not(:disabled){
 background:var(--mm-brand-secondary)!important;
 color:var(--mm-brand-primary)!important;
 border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page :is(.mm-batch-assist>button,.mm-batch-primary,.mm-batch-phase-next,.mm-batch-phases>button.is-active,.mm-batch-guided-actions>button:last-child,.mm-batch-step-buttons>button[aria-current="step"]):not(:disabled){
 background:var(--mm-brand-primary)!important;
 color:#fff!important;
 border-color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-guided-progress>span{background:var(--mm-brand-primary)!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-page-header h1{
 font-family:var(--mm-ui-display)!important;
 font-size:var(--mm-ui-title-size)!important;
 line-height:var(--mm-ui-title-leading)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page :is(.mm-batch-preview-edit,.mm-batch-phases>button,.mm-batch-guided-actions>button,.mm-batch-guided-current>button,.mm-batch-next-check>button,.mm-batch-phase-next,.mm-batch-preview-meal>button,.mm-batch-primary,.mm-batch-budget select,.mm-batch-manual>summary,.mm-batch-stock-check>summary,.mm-batch-additional>summary,.mm-batch-technical>summary,.mm-batch-step-index>summary){
 min-height:44px!important;min-width:0!important;
 max-width:100%!important;white-space:normal!important;
 overflow-wrap:anywhere!important;box-sizing:border-box!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-budget select{min-width:0!important;width:auto!important;max-width:56%!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-guided-actions>button:last-child{grid-column:1/-1}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-step-buttons>button{min-width:44px!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-step-buttons{grid-template-columns:repeat(auto-fit,minmax(44px,1fr))!important;box-sizing:border-box!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page :is(button,select,summary):focus-visible{
 outline:2px solid var(--mm-prune-action,#663455)!important;outline-offset:2px!important;
}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page{gap:10px!important;padding-inline:12px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-page-header{gap:5px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-page-header p{font-size:12px!important;line-height:1.4!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page>.mm-batch-screen,html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-preview{gap:9px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page :is(.mm-batch-assist,.mm-batch-preview-head,.mm-batch-readiness,.mm-batch-guided,.mm-batch-recipe-actions){
  padding:11px!important;gap:8px!important;border-radius:14px!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-assist-stats{padding:8px 4px!important;gap:3px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-assist-meals ul{gap:3px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-manual>summary{min-height:54px!important;padding:9px 11px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-phases{gap:5px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-phases>button{min-height:44px!important;padding:7px 4px!important;font-size:12px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page :is(.mm-batch-guided-current,.mm-batch-next-check){padding:10px!important;gap:8px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-guided-actions{gap:6px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-guided-actions>button:last-child{min-height:48px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-batch-page .mm-batch-technical{display:block!important}
}


/* H14C — Mes programmes : objectif, personnalisation, aperçu et suivi.
   Harmonisation visuelle uniquement : aucun changement de droits, de calcul
   de progression, de génération, de réajustement ni de confirmation. */
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-grid>button,.mm-culinary-fields select,.mm-culinary-days,.mm-culinary-days label,.mm-culinary-preview,.mm-culinary-hero,.mm-culinary-next-step,.mm-culinary-progress-week,.mm-culinary-outlook,.mm-culinary-catalog-card,.mm-culinary-view-tabs>button){
 background:var(--mm-brand-card)!important;
 border-color:var(--mm-brand-secondary-border)!important;
 color:var(--mm-brand-ink)!important;
 box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-progress{
 background:transparent!important;border:0!important;box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-page-header h1,.mm-culinary-page-back,.mm-culinary-step-title,.mm-culinary-grid>button>i,.mm-culinary-catalog-card>i,.mm-culinary-hero h2,.mm-culinary-hero-eyebrow,.mm-culinary-hero-progress strong,.mm-culinary-next-label,.mm-culinary-weeks h3,.mm-culinary-preview h4,.mm-culinary-meal-slot,.mm-culinary-week-period){
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-grid>button.is-selected,.mm-culinary-days label:has(input:checked)){
 background:var(--mm-brand-secondary)!important;
 border-color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-grid>button.is-selected{
 box-shadow:inset 0 0 0 1px var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-grid>button.is-selected>strong{color:var(--mm-brand-primary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-action,.mm-culinary-view-tabs>button.is-active):not(:disabled){
 background:var(--mm-brand-primary)!important;color:#fff!important;
 border-color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-action:not(:disabled)>i{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-adapt,.mm-culinary-catalog-readonly>button):not(:disabled){
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-primary)!important;
 border:1px solid var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-catalog-readonly,.mm-culinary-progress-empty,.mm-culinary-feedback:not(.is-error)){
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-ink)!important;
 border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-hero progress,.mm-culinary-days input){accent-color:var(--mm-brand-primary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-hero progress::-webkit-progress-value{background:var(--mm-brand-primary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-hero progress::-webkit-progress-bar{background:var(--mm-brand-secondary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-hero progress::-moz-progress-bar{background:var(--mm-brand-primary)!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-page-header h1{
 font-family:var(--mm-ui-display)!important;font-size:var(--mm-ui-title-size)!important;
 line-height:var(--mm-ui-title-leading)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-page-back{
 background:transparent!important;border:0!important;box-shadow:none!important;
 padding:8px 0!important;min-height:44px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-grid>button,.mm-culinary-fields label,.mm-culinary-fields select,.mm-culinary-days label,.mm-culinary-view-tabs>button,.mm-culinary-action,.mm-culinary-adapt,.mm-culinary-catalog-readonly>button,.mm-culinary-progress-week>summary,.mm-culinary-outlook-summary){
 min-width:0!important;max-width:100%!important;min-height:44px!important;
 white-space:normal!important;overflow-wrap:anywhere!important;box-sizing:border-box!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-grid>button small,.mm-culinary-catalog-card small,.mm-culinary-preview small){
 opacity:1!important;line-height:1.45!important;overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(button,select,input,summary):focus-visible{
 outline:2px solid var(--mm-prune-action,#663455)!important;outline-offset:2px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-progress-week>summary,.mm-culinary-outlook-summary):focus-visible{outline-offset:-3px!important}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page{gap:10px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-page-header{gap:5px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-page-header p,html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-sheet>p{font-size:12px!important;line-height:1.45!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-sheet,.mm-culinary-configure,.mm-culinary-create-view){gap:10px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-step-title{margin:4px 0 0!important;font-size:15px!important;line-height:1.35!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-grid,.mm-culinary-catalog-grid,.mm-culinary-fields){gap:7px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-grid>button{
  min-height:94px!important;padding:10px!important;gap:4px!important;border-radius:13px!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-grid>button.is-selected{padding:9px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-grid>button strong,.mm-culinary-catalog-card strong){font-size:13px!important;line-height:1.35!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-grid>button small,.mm-culinary-catalog-card small){font-size:12px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-progress{padding:0!important;gap:9px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page :is(.mm-culinary-hero,.mm-culinary-next-step,.mm-culinary-preview,.mm-culinary-catalog-readonly,.mm-culinary-catalog-card){padding:11px!important;gap:7px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-hero-progress strong{font-size:25px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-progress-week>summary{min-height:52px!important;padding:9px 10px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-tracking-week-heading small{padding-bottom:0!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-week-meals li{gap:6px!important;padding-block:9px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-week-meal-state{max-width:90px!important;overflow-wrap:anywhere!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-action{min-height:48px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-culinary-page .mm-culinary-outlook-summary{min-height:48px!important;padding:10px!important}
}


/* H15A — Réglages : hub, sous-pages et apparence.
   Groupes, droits, outils internes et valeurs enregistrées inchangés. */
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-group{
 background:var(--mm-brand-card)!important;
 border:1px solid var(--mm-brand-secondary-border)!important;
 box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-item{
 background:transparent!important;
 border-bottom-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-icon{
 background:var(--mm-brand-secondary)!important;
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-icon>i{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-copy strong{color:var(--mm-brand-ink)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) :is(.mm-settings-hub-copy small,.mm-settings-hub-section-label,.mm-settings-hub-chevron){
 color:var(--mm-brand-muted)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-hub .mm-secondary-root-title,
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-subpage-heading h1{
 color:var(--mm-brand-signature)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub .mm-secondary-root-subtitle,.mm-settings-subpage-heading p){
 color:var(--mm-brand-muted)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub .mm-secondary-root-header,.mm-settings-subpage-header){
 background:var(--mm-brand-page)!important;
 border-bottom-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub .mm-secondary-back,.mm-settings-subpage-header>div>button){
 background:var(--mm-brand-secondary)!important;
 color:var(--mm-brand-primary)!important;
 border:1px solid var(--mm-brand-secondary-border)!important;
 box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-appearance .mm-appearance-segmented{
 background:var(--mm-brand-card)!important;
 border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-appearance .mm-appearance-option:not(.is-active){
 color:var(--mm-brand-ink)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-appearance .mm-appearance-option.is-active{
 background:var(--mm-brand-primary)!important;
 color:#fff!important;border-color:var(--mm-brand-primary)!important;
 box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-appearance .mm-appearance-option>i{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-appearance .mm-settings-scope-badge{
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-primary)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-hub .mm-secondary-root-title{
 font-family:var(--mm-ui-display)!important;
 font-size:var(--mm-ui-title-size)!important;
 line-height:var(--mm-ui-title-leading)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-subpage-heading h1{
 font-family:var(--mm-ui-display)!important;
 font-size:clamp(20px,5.5vw,25px)!important;
 line-height:1.2!important;
 white-space:normal!important;overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-title-row{
 flex-wrap:wrap!important;min-width:0!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-copy :is(strong,small){
 white-space:normal!important;overflow-wrap:anywhere!important;
 overflow:visible!important;text-overflow:clip!important;
 -webkit-line-clamp:unset!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-copy small{display:block!important}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub .mm-secondary-back,.mm-settings-subpage-header>div>button,.mm-settings-appearance .mm-appearance-option){
 min-height:44px!important;box-sizing:border-box!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub .mm-secondary-back,.mm-settings-subpage-header>div>button):focus-visible{
 outline:2px solid var(--settings-accent)!important;outline-offset:2px!important;
}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-hub>.mm-settings-hub-section:not(.is-admin){margin-top:11px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-item{
  min-height:56px!important;height:auto!important;grid-template-columns:34px minmax(0,1fr) 18px!important;
  gap:9px!important;padding:8px 11px!important;box-sizing:border-box!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-icon{width:34px!important;height:34px!important;min-width:34px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-chevron{width:18px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-copy strong{font-size:14px!important;line-height:1.3!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-settings-hub>.mm-settings-hub-section:not(.is-admin),.mm-settings-subhub) .mm-settings-hub-copy small{font-size:12px!important;line-height:1.4!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-subpage-heading{padding-inline:3px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-appearance .mm-appearance-option{
  min-width:0!important;min-height:48px!important;padding:7px 4px!important;gap:4px!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-appearance .mm-appearance-option>span{min-width:0!important;overflow-wrap:anywhere!important}
}


/* H15B — Préférences alimentaires : planning, cuisine, goûts et repas plaisir.
   Les valeurs, restrictions, règles de génération et droits restent inchangés. */
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page :is(.mm-settings-re02-heading h2,.mm-pref-options-label,.mm-settings-pref-field-title,.mm-settings-pref-section-title,.mm-settings-pref-kicker,.mm-settings-re03-total>strong){
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page :is(.mm-settings-re02-note,.mm-pref-planning-help,.mm-settings-m1-explainer,.mm-settings-pref-section-desc,.mm-pref-gourmand-intro){
 color:var(--mm-brand-muted)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page :is(.mm-pref-extra-option,.mm-settings-re03-total,.mm-settings-pref-optin,.mm-settings-pref-preparation-style,.mm-settings-cuisines,.mm-pref-gourmand-editor,.mm-pref-daytimes,.mm-gourmand-planning-details,.mm-settings-tastes-shortcut){
 background:var(--mm-brand-card)!important;
 border-color:var(--mm-brand-secondary-border)!important;
 box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page :is(.mm-settings-scope-badge,.mm-pref-person-stepper,[aria-label="Choix du réglage"]){
 background:var(--mm-brand-secondary)!important;
 border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-scope-badge{color:var(--mm-brand-primary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-pref-extra-option[aria-expanded="true"]{
 background:var(--mm-brand-secondary)!important;
 border-color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-pref-extra-copy strong{color:var(--mm-brand-ink)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-pref-extra-copy small{color:var(--mm-brand-muted)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page :is(.mm-pref-planning-check,.mm-settings-pref-chip,.mm-pref-gourmand-filter>button,[aria-label="Soirs de restes"]>button,[aria-label="Jours de gamelle"]>button,.mm-gourmand-planning-details button[aria-pressed],[aria-label="Choix du réglage"]>button)[aria-pressed="false"]:not(:disabled){
 background:var(--mm-brand-card)!important;color:var(--mm-brand-ink)!important;
 border:1px solid var(--mm-brand-secondary-border)!important;box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page :is(.mm-pref-planning-check,.mm-settings-pref-chip,.mm-pref-gourmand-filter>button,[aria-label="Soirs de restes"]>button,[aria-label="Jours de gamelle"]>button,.mm-gourmand-planning-details button[aria-pressed],[aria-label="Choix du réglage"]>button)[aria-pressed="true"]:not(:disabled){
 background:var(--mm-brand-primary)!important;color:#fff!important;
 border:1px solid var(--mm-brand-primary)!important;box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-pref-planning-check[aria-pressed="true"]>i{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-cuisine-choice{
 background:var(--mm-brand-card)!important;border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-cuisine-choice.is-active{
 background:var(--mm-brand-secondary)!important;border-color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-cuisine-choice.is-active .mm-settings-cuisine-toggle{
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-pref-preparation-style label{
 background:var(--mm-brand-card)!important;border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-pref-preparation-style label:has(input:checked){
 background:var(--mm-brand-secondary)!important;border-color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page :is(.mm-settings-pref-preparation-style input,.mm-pref-gourmand-recipe input){accent-color:var(--mm-brand-primary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page :is(.mm-pref-planning-bulk,.mm-settings-cuisines-expand,.mm-settings-cuisines-select-all,.mm-settings-add-cuisine,.mm-pref-gourmand-expand,.mm-pref-gourmand-reset,.mm-pref-guest-action>button,.mm-settings-preferences-top):not(:disabled){
 color:var(--mm-brand-primary)!important;background:var(--mm-brand-secondary)!important;
 border-color:var(--mm-brand-secondary-border)!important;box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page :is(select,input:not([type="checkbox"]):not([type="radio"]):not([type="range"])){
 background:var(--mm-brand-card)!important;border-color:var(--mm-brand-secondary-border)!important;
 color:var(--mm-brand-ink)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page :is(.mm-pref-planning-bulk,.mm-pref-extra-option,.mm-settings-pref-chip,.mm-settings-cuisine-toggle,.mm-settings-cuisines-expand,.mm-settings-cuisines-select-all,.mm-settings-add-cuisine,.mm-pref-gourmand-expand,.mm-pref-gourmand-filter>button,.mm-pref-gourmand-reset,.mm-pref-daytimes>summary,.mm-gourmand-planning-details>summary,.mm-settings-tag-compose>button,.mm-pref-guest-action>button,[aria-label="Choix du réglage"]>button,.mm-gourmand-planning-details button[aria-pressed],select){
 min-height:44px!important;min-width:0!important;max-width:100%!important;
 white-space:normal!important;overflow-wrap:anywhere!important;box-sizing:border-box!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page :is(.mm-pref-extra-option,.mm-settings-pref-chip,.mm-settings-cuisine-toggle,.mm-settings-cuisines-expand,.mm-pref-gourmand-expand,.mm-pref-daytimes>summary,.mm-gourmand-planning-details>summary,[aria-label="Choix du réglage"]>button):focus-visible{
 outline:2px solid var(--settings-accent)!important;outline-offset:2px!important;
}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-pref-planning-grid{table-layout:fixed!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-pref-planning-dayname{overflow-wrap:anywhere!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-pref-planning-bulk{padding:5px 3px!important;font-size:11px!important;line-height:1.3!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-pref-extra-options{gap:7px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-pref-extra-option{min-height:56px!important;padding:8px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-re03-total{padding:9px 11px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-pref-person-row{gap:8px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-pref-person-row>span{min-width:0!important;overflow-wrap:anywhere!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-pref-person-stepper{flex-shrink:0!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-pref-preparation-style label{min-height:48px!important;box-sizing:border-box!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-pref-preparation-style label>span{overflow-wrap:anywhere!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-pref-section{margin-top:14px!important;padding-top:13px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page .mm-settings-pref-kicker-divided{margin-top:14px!important;padding-top:13px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page [aria-label="Choix du réglage"]{border-radius:14px!important;min-width:0!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page [aria-label="Choix du réglage"]>button{border-radius:11px!important;flex:1 1 0!important;line-height:1.35!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-preferences-page :is(.mm-pref-gourmand-search,.mm-settings-tag-compose>input){min-width:0!important;max-width:100%!important;font-size:16px!important}
}


/* H15C — Compte, foyer, notifications, confidentialité et aide.
   Les états d'erreur, actions sensibles, permissions et confirmations sont préservés. */
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-notifications-device,.mm-notification-with-hour,.mm-account-card-layout .mm-settings-section,.mm-settings-re04-identity){
 background:var(--mm-brand-card)!important;
 border-color:var(--mm-brand-secondary-border)!important;
 box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-notifications-device-icon,.mm-notification-row-icon,.mm-account-card-layout .mm-household-member-row,.mm-notification-hour-control select){
 background:var(--mm-brand-secondary)!important;
 border-color:var(--mm-brand-secondary-border)!important;
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-notifications-device-icon,.mm-notification-row-icon)>i{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-notifications-device-copy strong,.mm-notification-row-copy strong,.mm-settings-re04-identity p){
 color:var(--mm-brand-ink)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-notifications-device-copy small,.mm-notification-row-copy small,.mm-notifications-household-explainer,.mm-notification-group-label,.mm-household-invite-help,.mm-settings-re04-identity small,.mm-settings-help-hint){
 color:var(--mm-brand-muted)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notification-row{background:transparent!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notification-hour{border-top-color:var(--mm-brand-secondary-border)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notification-switch.is-on{background:var(--mm-brand-primary)!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notification-switch.is-on>span{background:#fff!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notifications-enable:not(:disabled){
 background:var(--mm-brand-primary)!important;color:#fff!important;
 border-color:var(--mm-brand-primary)!important;box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notifications-enable:not(:disabled)>i{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notifications-disable:not(:disabled){
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-primary)!important;
 border-color:var(--mm-brand-secondary-border)!important;box-shadow:none!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notifications-alert:not(.is-error){
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-ink)!important;
 border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-notifications-section-head,.mm-settings-re04-identity,.mm-account-card-layout .mm-settings-section) .mm-settings-scope-badge{
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-account-card-layout .mm-settings-section input,#mm-feedback-title,#mm-feedback-message){
 background:var(--mm-brand-card)!important;border-color:var(--mm-brand-secondary-border)!important;
 color:var(--mm-brand-ink)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-feedback-types>button[aria-pressed="false"]{
 background:var(--mm-brand-card)!important;color:var(--mm-brand-ink)!important;
 border-color:var(--mm-brand-secondary-border)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-feedback-types>button[aria-pressed="true"]{
 background:var(--mm-brand-primary)!important;color:#fff!important;
 border-color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-feedback-types>button>i{color:inherit!important}
html:not([data-menumia-theme="dark"]) body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen [role="switch"][aria-labelledby="mm-analytics-consent-label"][aria-checked="true"]{
 background:var(--mm-brand-primary)!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-notifications-device-copy,.mm-notification-row-copy,.mm-settings-re04-identity,.mm-household-member-row>div,.mm-settings-feedback-types>button){
 min-width:0!important;overflow-wrap:anywhere!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-notifications-enable,.mm-notifications-disable,.mm-notification-row,.mm-notification-hour select,.mm-account-card-layout .mm-settings-section button,.mm-household-invite-form>input,.mm-settings-feedback-types>button,.mm-feedback-send>button,#mm-feedback-title){
 min-height:44px!important;max-width:100%!important;box-sizing:border-box!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(.mm-notifications-enable,.mm-notifications-disable,.mm-notification-hour select,.mm-feedback-send>button):focus-visible{
 outline:2px solid var(--settings-accent)!important;outline-offset:2px!important;
}
html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notification-row:focus-visible{outline:2px solid var(--settings-accent)!important;outline-offset:-3px!important}
@media(max-width:759px){
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notifications-device{padding:10px 11px!important;gap:8px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notifications-status{max-width:100%;white-space:normal!important;overflow-wrap:anywhere!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notification-row{height:auto!important;grid-template-columns:32px minmax(0,1fr) 40px!important;gap:8px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notification-row-copy small{font-size:12px!important;line-height:1.4!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-notification-hour-title{min-width:0!important;overflow-wrap:anywhere!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-re04-identity{padding:11px 12px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-account-card-layout .mm-settings-section>[role="button"]{min-height:56px!important;padding:10px 12px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-account-card-layout .mm-settings-section>[role="button"]+div{padding-inline:12px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-household-member-row{padding:9px 10px!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-household-member-row>div>div{overflow-wrap:anywhere!important;white-space:normal!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen :is(#mm-feedback-title,#mm-feedback-message,.mm-household-invite-form>input,.mm-notification-hour select){font-size:16px!important;min-width:0!important}
 html body.mm-interface .mm-app.mm-ui-v2-common .mm-settings-screen .mm-settings-feedback-types>button{padding:8px 4px!important;line-height:1.35!important}
}


/* H16A — Fiche recette : finitions de la maquette validée. */
/* Fiche recette — finitions validées : carte personnelle en haut, commandes circulaires,
   icône et libellé centrés ensemble. Les actions métier restent inchangées. */
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-launch-cooking{
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:8px!important;text-align:center!important;min-width:0!important;
}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-launch-cooking>:is(i,span){
 flex:0 1 auto!important;min-width:0!important;width:auto!important;margin:0!important;text-align:center!important;
}
html body.mm-interface .mm-recipe-detail-sheet .mm-r06-launch-cooking>i{flex:none!important}
@media(max-width:759px){
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout) .mm-recipe-personal-tools{
  display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:8px!important;
  padding:10px!important;margin:2px 0 12px!important;border-radius:14px;
  background:var(--mm-prune-soft-token)!important;border:1px solid var(--mm-line-strong)!important;min-width:0;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-control{
  grid-column:auto!important;display:flex!important;flex-direction:column;align-items:flex-start!important;
  justify-content:center!important;gap:2px!important;min-width:0!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-head{
  flex-wrap:wrap;min-width:0!important;gap:3px 6px!important;color:var(--mm-prune-text)!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-head>span{font-size:13px;font-weight:750}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-actions{
  margin:0!important;flex-wrap:wrap;gap:0!important;width:100%;min-width:0;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-stars{gap:0!important;max-width:100%}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-star{
  width:29px!important;min-width:29px!important;height:44px!important;min-height:44px!important;font-size:23px!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-clear{min-height:32px!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-photo-tools{
  grid-column:auto!important;justify-content:center!important;min-width:0!important;
  border-top:0!important;border-left:1px solid var(--mm-line-strong);padding:0 0 0 8px!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-photo-tools>div:last-child{min-width:0;width:100%}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-photo-add{
  display:flex!important;justify-content:center!important;align-items:center!important;gap:4px;
  min-height:44px!important;padding:5px 7px!important;border:1px solid var(--mm-line-strong);
  border-radius:999px;background:var(--mm-card);color:var(--mm-prune-text)!important;
  text-align:center;line-height:1.25;box-sizing:border-box;font-size:12px!important;white-space:normal!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-photo-add>i{flex:none;font-size:17px!important;margin:0!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-photo-tools>div:has(>img){display:block!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools:has(.mm-recipe-photo-tools :is(img,[role="alert"])) .mm-recipe-photo-tools{
  grid-column:1/-1!important;border-left:0;border-top:1px solid var(--mm-line-strong)!important;padding:7px 0 0!important;justify-content:flex-start!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools:has(.mm-recipe-photo-tools :is(img,[role="alert"])) .mm-recipe-rating-control{grid-column:1/-1!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-ingredients-heading .mm-recipe-portions-step{
  background:transparent!important;border:0!important;box-shadow:none!important;border-radius:50%!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-ingredients-heading .mm-recipe-portions-step::before{
  background:transparent!important;border:1px solid var(--mm-line-strong)!important;border-radius:50%!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-ingredients-heading .mm-recipe-portions-step:active::before{background:var(--mm-soft)!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-r06-actions .mm-recipe-cooking-action>button{
  background:var(--mm-prune-action)!important;border-color:var(--mm-prune-action)!important;color:var(--mm-on-prune,#fff)!important;
  display:flex!important;justify-content:center!important;align-items:center!important;text-align:center!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-r06-actions .mm-recipe-cooking-action-label{flex:0 1 auto!important;min-width:0;gap:7px!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-r06-actions .mm-recipe-cooking-action-label>i{flex:none!important;width:auto!important;margin:0!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-taxonomy-actions .mm-recipe-info-pills{gap:6px!important}
}
@media(max-width:360px){
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout) .mm-recipe-personal-tools{grid-template-columns:minmax(0,1fr)}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-photo-tools{border-left:0;border-top:1px solid var(--mm-line-strong)!important;padding:7px 0 0!important}
}


/* H16B — Fiche recette compacte : métadonnées et tags réunis, note avant les raccourcis. */
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-detail-meta{flex-wrap:wrap!important;gap:4px 8px!important}
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-detail-meta .mm-recipe-taxonomy-actions,
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-detail-meta .mm-recipe-info-pills{display:contents!important}
html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-detail-meta .mm-recipe-info-pills>span{
 max-width:100%;box-sizing:border-box;white-space:normal!important;overflow-wrap:anywhere;line-height:1.3!important;
}
@media(max-width:759px){
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout) .mm-r06-photo{height:clamp(112px,30vw,150px)!important;margin-top:3px!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-r06-header{min-height:48px;padding-block:2px}
 html body.mm-interface .mm-recipe-detail-sheet .mm-r06-title{font-size:clamp(21px,5.5vw,25px)!important;margin-bottom:5px!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-detail-meta{margin:0 0 7px!important;font-size:11.5px!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-detail-meta .mm-recipe-info-pills>span{font-size:11px!important;padding:2px 6px!important}
 html body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout) .mm-recipe-personal-tools{
  display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 6px!important;
  padding:2px 6px!important;margin:0 0 8px!important;border-radius:12px;
  background:var(--mm-soft)!important;border-color:var(--mm-line)!important;
 }
 html:not([data-menumia-theme="dark"]) body.mm-interface .mm-recipe-detail-sheet:has(.mm-recipe-read-layout) .mm-recipe-personal-tools{
  background:color-mix(in srgb,var(--mm-brand-secondary) 55%,var(--mm-card))!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-control{
  flex:1 1 auto;flex-direction:row;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:0 4px!important;min-height:44px!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-head{flex:0 0 auto;gap:3px!important;white-space:nowrap}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-head>span,
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-head>strong{font-size:11px!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-rating-value.is-unrated{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-actions{width:auto;flex:0 0 auto;flex-wrap:nowrap}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-star{width:24px!important;min-width:24px!important;height:44px!important;min-height:44px!important;font-size:19px!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-star:not(.is-filled){color:var(--mm-muted)!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-rating-star.is-filled{color:var(--mm-warning)!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-photo-tools{
  flex:0 1 auto;gap:4px!important;border-top:0!important;border-left:1px solid var(--mm-line-strong);padding:0 0 0 6px!important;min-height:44px!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-photo-add{
  font-size:11px!important;padding:0 2px!important;border:0!important;background:transparent!important;gap:4px!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools .mm-recipe-photo-add>i{font-size:15px!important}
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-personal-tools:has(.mm-recipe-photo-tools :is(img,[role="alert"])) .mm-recipe-photo-tools{
  flex:1 0 100%;border-left:0;border-top:1px solid var(--mm-line)!important;box-sizing:border-box;
 }
 html body.mm-interface .mm-recipe-detail-sheet .mm-recipe-mobile-jumps{margin:0 0 7px!important}
 html body.mm-interface .mm-recipe-detail-sheet details.mm-recipe-about{
  align-self:stretch;width:100%!important;max-width:100%;box-sizing:border-box;
  margin:0 0 8px!important;padding:0 10px!important;border-radius:12px;background:var(--mm-card)!important;border-color:var(--mm-line)!important;
 }
 html body.mm-interface .mm-recipe-detail-sheet details.mm-recipe-about>summary{min-height:44px!important;padding:0!important;box-sizing:border-box;font-size:12px!important}
 html body.mm-interface .mm-recipe-detail-sheet details.mm-recipe-about[open]>p{margin:0 0 10px!important}
}


/* H9 — Harmonisation chromatique du panneau Gérer ce repas.
   Réutiliser la charte H8, y compris dans le portail ; aucun changement de disposition.
   Les états métier, le thème sombre et les autres panneaux restent inchangés. */
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"],
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-sheet-header,.mm-home-actions-header,.mm-meal-actions-list,.mm-meal-actions-more,.mm-meal-actions-more-list),
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button:not(.is-danger){
 background:var(--mm-brand-card)!important;
}
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-sheet-title,.mm-home-actions-header span){
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-sheet-close,.mm-home-actions-header>button){
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] .mm-sheet-close::before,
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] .mm-home-actions-header>button{
 background:var(--mm-brand-secondary)!important;
}
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button:not(.is-danger)>:is(.mm-week-organize-action-icon,.mm-meal-action-icon){
 background:var(--mm-brand-secondary)!important;color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button:not(.is-danger)>:is(.mm-week-organize-action-icon,.mm-meal-action-icon)>.ti{
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button:not(.is-danger) strong,
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] .mm-meal-actions-more>summary,
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] .mm-week-organize-sheet-summary-copy>strong,
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] .mm-home-actions-preview-copy>strong{
 color:var(--mm-brand-ink)!important;
}
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button small,
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] .mm-week-organize-sheet-summary-copy>small,
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] .mm-home-actions-preview-copy>small{
 color:var(--mm-brand-muted)!important;
}
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button>i:last-child{
 color:var(--mm-brand-primary)!important;
}
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button.is-danger,
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button.is-danger>:is(.mm-week-organize-action-icon,.mm-meal-action-icon){
 background:var(--mm-error-soft)!important;
}
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button.is-danger strong,
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button.is-danger>:is(.mm-week-organize-action-icon,.mm-meal-action-icon),
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button.is-danger>:is(.mm-week-organize-action-icon,.mm-meal-action-icon)>.ti,
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button.is-danger>i:last-child{
 color:var(--mm-error)!important;
}
html:not([data-menumia-theme="dark"]):has(body.mm-interface .mm-app.mm-ui-v2-common) .mm-meal-actions-v758[aria-label="Gérer ce repas"] :is(.mm-meal-actions-list,.mm-meal-actions-more-list)>button:disabled{
 opacity:.55!important;
}
