:root{--mm-ink:#2f1537;--mm-prune:#874987;--mm-muted:#776c7a;--mm-bg:#fff9fb;--mm-line:rgba(74,42,78,.10)}
html,body,#root{min-height:100%;background:linear-gradient(180deg,#fff9fb 0%,#fcf5f8 100%)}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;color:var(--mm-ink);letter-spacing:-.01em}
button,input,select,textarea{font:inherit}
button{transition:transform .14s ease,opacity .14s ease,box-shadow .14s ease}
button:active{transform:scale(.975)}
.ti{stroke-width:1.7}
/* donne aux surfaces le rendu léger et éditorial de la maquette */
input,select,textarea{outline:none}
::placeholder{color:#aaa0ac;opacity:1}
@media(max-width:520px){body{font-size:14px}}
@media(min-width:521px){#root>div>div{border-left:1px solid rgba(74,42,78,.04);border-right:1px solid rgba(74,42,78,.04)}}

/* V47 — identité visuelle : assets de marque, densité et composants cohérents avec la maquette */
:root{--mm-display:Georgia,"Times New Roman",serif;--mm-card:#fff;--mm-soft:#fbf5f8;--mm-radius:18px;--mm-shadow:0 7px 22px rgba(65,31,67,.055)}
.mm-shell{padding-left:16px!important;padding-right:16px!important}
.mm-brandmark{background:transparent!important;border-radius:0!important;width:36px!important;height:44px!important;overflow:hidden}
.mm-brandmark img{width:36px;height:44px;display:block;background:transparent!important}
.mm-brand-lockup{display:flex;align-items:center;gap:8px}.mm-brand-copy{display:flex;flex-direction:column;line-height:1}.mm-brand-name{font-family:var(--mm-display);font-size:22px;font-weight:700;color:#28102f;letter-spacing:-.035em}.mm-brand-tagline{font-size:9.5px;color:#948995;margin-top:4px;letter-spacing:0}
.mm-app h1,.mm-app h2,.mm-app h3,.mm-page-heading>div:first-child{font-family:var(--mm-display)!important;color:#28102f!important}
.mm-today-meals{border-radius:18px!important;box-shadow:var(--mm-shadow)!important;border-color:rgba(68,31,69,.07)!important}
.mm-today-meal{padding:9px 0!important}.mm-today-meal-photo{border-radius:11px!important;width:46px!important;height:46px!important;flex-basis:46px!important}
.mm-onboarding-card{background:#fff;border:1px solid rgba(68,31,69,.07);box-shadow:0 18px 50px rgba(60,28,61,.10);border-radius:28px;overflow:hidden}
.mm-onboarding-art{width:100%;height:220px;object-fit:contain;background:linear-gradient(180deg,#fffafd,#fbf1f6)!important;display:block}
.mm-onboarding-title{font-family:var(--mm-display);font-size:26px;line-height:1.05;font-weight:700;color:#28102f;letter-spacing:-.035em}
.mm-onboarding-copy{font-size:13px;line-height:1.55;color:#827684;max-width:330px;margin:0 auto}
.mm-onboarding-dot{height:6px;border-radius:99px;transition:width .2s ease,background .2s ease}
.mm-app nav{max-width:430px!important;left:50%!important;right:auto!important;transform:translateX(-50%);width:100%;border:1px solid rgba(68,31,69,.06);border-bottom:0;box-shadow:0 -5px 22px rgba(60,28,61,.075)!important}
.mm-app nav .ti{font-size:19px!important}
@media(max-width:380px){.mm-brand-name{font-size:20px}.mm-brand-tagline{font-size:9px}.mm-onboarding-art{height:190px}}

/* V48 — bibliothèque d’illustrations Frigo / Courses */
.mm-category-icon{display:block;object-fit:contain;flex:0 0 auto}
.mm-food-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:10px;background:#FBF4F7;padding:4px;box-sizing:border-box}
.mm-food-icon img{width:100%;height:100%;display:block;object-fit:contain}
.mm-tab-frigo .mm-food-icon{background:#FCF6F8}
.mm-tab-courses .mm-food-icon{background:#FBF5F8}

/* V49 — harmonisation Menus / Recettes / Profil / Assistant */
.mm-page-heading{margin-bottom:18px!important}.mm-page-heading>div:first-child{font-size:29px!important;line-height:1.05!important;letter-spacing:-.04em!important}.mm-page-subtitle{font-size:12.5px!important;color:#918493!important;margin-top:5px!important}
.mm-assistant-sheet{max-width:430px;margin:0 auto;border:1px solid rgba(68,31,69,.06);overflow:hidden}
.mm-assistant-header{background:rgba(255,250,252,.92);backdrop-filter:blur(12px)}
.mm-assistant-title{display:flex;align-items:center;gap:10px;color:#28102f}.mm-assistant-title>span:last-child{display:flex;flex-direction:column}.mm-assistant-title b{font-family:var(--mm-display);font-size:17px;letter-spacing:-.025em}.mm-assistant-title small{font-size:10.5px;font-weight:500;color:#9a8d9b;margin-top:2px}
.mm-assistant-mark{width:34px;height:34px;border-radius:12px;background:#f5e8f2;color:#874987;display:inline-flex;align-items:center;justify-content:center}.mm-assistant-mark .ti{font-size:18px}.mm-assistant-close{cursor:pointer;color:#8e818f;width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fbf5f8}.mm-assistant-close .ti{font-size:18px}
@media(max-width:430px){.mm-assistant-sheet{border-left:0;border-right:0}.mm-page-heading>div:first-child{font-size:28px!important}}


/* V50 — finition composants : une seule grammaire visuelle sur toute l’application */
:root{--mm-r-sm:12px;--mm-r-md:16px;--mm-r-lg:20px;--mm-focus:0 0 0 3px rgba(135,73,135,.12)}
.mm-app{font-size:14px}.mm-shell{max-width:430px!important;padding-top:18px!important}
.mm-greeting-sun{display:inline-flex;vertical-align:middle;color:#d99a58;margin-left:3px}.mm-greeting-sun .ti{font-size:.78em;stroke-width:1.8}
.mm-quote-icon{width:34px;height:34px;border-radius:12px;background:#f8eaf1;color:#b75f83;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.mm-quote-icon .ti{font-size:16px}
.mm-quick-icon{width:36px;height:36px;margin:0 auto 8px;border-radius:12px;background:rgba(255,255,255,.58);display:flex;align-items:center;justify-content:center;color:#6f3c73}.mm-quick-icon .ti{font-size:19px;stroke-width:1.65}
.mm-today-meals{background:#fff;border:1px solid var(--mm-line);padding:3px 13px}.mm-today-meal{width:100%;background:transparent;border:0;border-bottom:1px solid rgba(74,42,78,.07);display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer}.mm-today-meal:last-child{border-bottom:0}.mm-today-meal-photo{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#faf2f6;color:#87518a}.mm-today-meal-photo img{width:100%;height:100%;object-fit:cover}.mm-today-meal-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.mm-today-meal-copy strong{font-size:11px;color:#9a8b99;font-weight:600}.mm-today-meal-copy small{font-size:13px;color:#342438;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mm-today-check{font-size:17px;color:#c6bbc6}.mm-today-check.done{color:#789b83}.mm-today-empty{padding:16px 2px;color:#918493;font-size:12.5px}
.mm-page-heading{padding-top:2px}.mm-page-heading>div:first-child{font-weight:700!important}.mm-page-subtitle{line-height:1.4}
.mm-app input,.mm-app select,.mm-app textarea{border-radius:12px!important;min-height:44px}.mm-app input:focus,.mm-app select:focus,.mm-app textarea:focus{border-color:rgba(135,73,135,.38)!important;box-shadow:var(--mm-focus)!important}
.mm-app button{font-weight:600}.mm-app button:focus-visible{outline:none;box-shadow:var(--mm-focus)}
.mm-app nav{border-radius:22px 22px 0 0!important;padding-top:9px!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(16px)}.mm-app nav button{gap:3px!important}.mm-app nav .ti{stroke-width:1.55!important}
.mm-food-icon{border:1px solid rgba(74,42,78,.045)}
.mm-assistant-mark,.mm-assistant-close{border:1px solid rgba(74,42,78,.055)}
@media(max-width:380px){.mm-shell{padding-left:13px!important;padding-right:13px!important}.mm-app nav button{min-width:0!important;padding-left:3px!important;padding-right:3px!important}}


/* V51 — sheets, chips, sélecteurs, états et micro-interactions */
.mm-sheet-overlay{background:rgba(39,24,39,.28)!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.mm-bottom-sheet{border-radius:26px 26px 0 0!important;border:1px solid rgba(74,42,78,.06);border-bottom:0;box-shadow:0 -12px 44px rgba(54,30,55,.12)!important;padding:9px 18px calc(22px + env(safe-area-inset-bottom))!important}
.mm-sheet-handle{width:32px!important;height:4px!important;background:#ddd2dc!important;margin:3px auto 16px!important}
.mm-chip{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 12px!important;border-radius:999px!important;background:#fbf6f9!important;border:1px solid #eee3ea!important;color:#756676!important;font-size:12px!important;font-weight:600;transition:transform .14s ease,background .14s ease,border-color .14s ease}
.mm-chip:active{transform:scale(.97)}.mm-chip.is-active{background:#f1e2ef!important;border-color:#c99ac6!important;color:#67356b!important}
.mm-check{appearance:none;-webkit-appearance:none;width:19px;height:19px;min-height:19px!important;border:1.5px solid #d5c7d2!important;border-radius:6px!important;background:#fff!important;display:inline-grid;place-content:center;margin:0;box-shadow:none!important;flex:0 0 auto}
.mm-check:checked{background:#754078!important;border-color:#754078!important}.mm-check:checked:after{content:"";width:8px;height:4px;border-left:2px solid white;border-bottom:2px solid white;transform:translateY(-1px) rotate(-45deg)}
.mm-app select{appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,#8d7d8d 50%),linear-gradient(135deg,#8d7d8d 50%,transparent 50%)!important;background-position:calc(100% - 16px) 19px,calc(100% - 11px) 19px!important;background-size:5px 5px,5px 5px!important;background-repeat:no-repeat!important;padding-right:32px!important}
.mm-app textarea{line-height:1.5;resize:vertical}.mm-app ::placeholder{color:#b4a8b3;opacity:1}
.mm-today-empty{border:1px dashed #e7dce4;border-radius:14px;background:#fdf9fb;text-align:center;margin:7px 0;padding:18px 12px!important}
.mm-skeleton-block{background:linear-gradient(90deg,#f5edf2 25%,#fbf7f9 50%,#f5edf2 75%)!important;background-size:200% 100%!important;animation:mm-shimmer 1.35s infinite linear!important}@keyframes mm-shimmer{to{background-position:-200% 0}}
@media(max-width:430px){.mm-bottom-sheet{max-height:89vh!important}.mm-app select{font-size:16px!important}.mm-app input,.mm-app textarea{font-size:16px!important}}

/* V52 — finition écran Accueil, calée sur la maquette mobile */
.mm-home{display:flex;flex-direction:column;gap:15px;padding-bottom:4px}


.mm-home-greeting{font-family:var(--mm-display);font-size:29px;line-height:1.04;font-weight:700;letter-spacing:-.045em;color:#35153c}
.mm-home-subtitle{margin-top:4px;font-size:12.5px;line-height:1.4;color:#8e818f}

.mm-home .mm-quote-icon{width:30px;height:30px;border-radius:10px}.mm-home .mm-quote-icon .ti{font-size:14px}


.mm-home-action .mm-quick-icon .ti{font-size:17px}

.mm-home .mm-meal-hero{border:1px solid rgba(74,42,78,.055);box-shadow:0 8px 24px rgba(65,31,67,.065)!important;border-radius:18px!important}
.mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{height:174px!important}
.mm-home .mm-meal-hero.is-compact .mm-meal-hero-body{padding:13px 15px 15px!important}
.mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:first-child{margin-bottom:7px!important}
.mm-home .mm-meal-hero.is-compact button{min-height:42px!important}
.mm-home .mm-today-meals{box-shadow:0 5px 18px rgba(65,31,67,.04)!important}
.mm-home .mm-today-meal{min-height:61px}.mm-home .mm-today-meal-photo{width:43px!important;height:43px!important;flex-basis:43px!important}
.mm-home .mm-brandmark{width:31px!important;height:38px!important}.mm-home .mm-brandmark img{width:31px;height:38px}.mm-home .mm-brand-name{font-size:20px}.mm-home .mm-brand-tagline{font-size:8.8px;margin-top:3px}
@media(max-width:380px){.mm-home{gap:13px}.mm-home-greeting{font-size:27px}.mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{height:160px!important}}


/* V53 — finition écran Menus : rythme, semaine et navigation journalière */
.mm-tab-menus{padding-bottom:4px}
.mm-tab-menus .mm-page-heading{margin-bottom:15px!important}
.mm-tab-menus .mm-page-heading+div+div+div button .ti{stroke-width:1.6}
@media(max-width:380px){}
/* Recettes */
.mm-tab-recipes>.mm-page-heading{margin-bottom:14px!important}.mm-tab-recipes>div[style*="border-radius: 999"]{padding:3px!important;margin-bottom:14px!important;border:1px solid rgba(74,42,78,.045)}
.mm-tab-recipes input[placeholder*="Rechercher"]{min-height:43px!important;border-radius:15px!important;background:#fff!important;border:1px solid rgba(74,42,78,.07)!important;box-shadow:0 4px 15px rgba(65,31,67,.035)!important}
.mm-tab-recipes select{min-height:35px!important;border-radius:999px!important;padding-top:5px!important;padding-bottom:5px!important;font-size:11.5px!important;background-color:#fbf6f9!important}
.mm-tab-recipes label{background:#fbf6f9;border:1px solid #eee3ea;border-radius:999px;padding:6px 10px}
.mm-tab-recipes .mm-meal-hero,.mm-tab-recipes [style*="box-shadow"]{border-color:rgba(74,42,78,.055)}
/* Frigo */
.mm-fridge-screen>.mm-secondary-title{margin-bottom:0!important}.mm-fridge-screen>div[style*="border-radius: 999"]{padding:3px!important;border:1px solid rgba(74,42,78,.045)}
.mm-fridge-screen input[placeholder*="Rechercher"]{background:#fff!important;border:1px solid rgba(74,42,78,.07)!important;box-shadow:0 4px 15px rgba(65,31,67,.035)!important}
.mm-fridge-screen>div[style*="marginBottom: 18"] input,.mm-fridge-screen>div[style*="marginBottom: 18"] select{box-shadow:none!important;border:1px solid rgba(74,42,78,.07)!important;background:#fffafd!important}
.mm-fridge-screen>div[style*="marginBottom: 18"]>div:last-child{border:1px solid rgba(74,42,78,.055);box-shadow:0 5px 17px rgba(65,31,67,.04)!important;border-radius:17px!important}
.mm-fridge-screen .mm-food-icon{width:31px!important;height:31px!important}.mm-fridge-screen .ti{stroke-width:1.6}
/* Onboarding : illustration d'abord, chrome minimal */
.mm-onboarding-card{border-radius:27px!important;border:1px solid rgba(74,42,78,.055)!important;box-shadow:0 20px 60px rgba(55,28,57,.12)!important;background:#fffdfd!important}.mm-onboarding-art{width:min(82%,300px)!important;max-height:250px!important;object-fit:contain}.mm-onboarding-title{font-family:var(--mm-display)!important;font-size:27px!important;line-height:1.08!important;letter-spacing:-.04em!important;color:#35153c!important}.mm-onboarding-copy{font-size:13px!important;line-height:1.55!important;color:#887a89!important;max-width:330px;margin-left:auto;margin-right:auto}.mm-onboarding-dot{height:6px!important;border-radius:999px!important}
/* petits écrans */
@media(max-width:380px){.mm-tab-recipes select{max-width:100%}.mm-onboarding-title{font-size:25px!important}}

/* V55 — passe pixel-match basée sur les captures iPhone réelles */
:root{--mm-mobile-gutter:18px}
.mm-shell{padding-left:var(--mm-mobile-gutter)!important;padding-right:var(--mm-mobile-gutter)!important;padding-top:14px!important}
.mm-page-subtitle{font-size:11.5px!important;margin-top:4px!important}.mm-tab-menus .mm-recipe-card{padding:11px 12px!important;border-radius:15px!important;box-shadow:0 4px 14px rgba(65,31,67,.04)!important}.mm-tab-menus .mm-recipe-card.is-compact{padding:10px 12px!important}.mm-tab-menus .mm-recipe-card.is-compact>div:nth-child(2){margin-top:6px!important}.mm-tab-menus .mm-recipe-card.is-compact>div:nth-child(3){margin-top:7px!important}.mm-tab-menus .mm-recipe-card button{min-height:31px!important;padding:5px 10px!important;font-size:10.5px!important}.mm-tab-menus .mm-recipe-card [style*="font-size: 17"]{font-size:15px!important}.mm-tab-menus .mm-recipe-card [style*="font-size: 11.5"]{font-size:9.5px!important}
/* Bibliothèque : vraie grille compacte comme la maquette */
.mm-recipe-library-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.mm-recipe-library-item{min-width:0}.mm-recipe-library-item .mm-recipe-card{height:100%;box-sizing:border-box;padding:10px!important;border-radius:15px!important;box-shadow:0 4px 15px rgba(65,31,67,.045)!important}.mm-recipe-library-item .mm-recipe-card>div:first-child{min-height:45px}.mm-recipe-library-item .mm-recipe-card [style*="font-size: 17"]{font-size:13px!important;line-height:1.15!important;text-decoration:none!important}.mm-recipe-library-item .mm-recipe-card>div:nth-child(2){margin-top:6px!important;gap:4px!important}.mm-recipe-library-item .mm-recipe-card>div:nth-child(3){margin-top:7px!important}.mm-recipe-library-item .mm-recipe-card>div:nth-child(3)>div:last-child{display:none!important}.mm-recipe-library-item>.mm-recipe-card+div{display:none!important}.mm-recipe-library-item .mm-recipe-card span{font-size:9.5px!important}.mm-tab-recipes input[placeholder*="Rechercher"]{min-height:38px!important;font-size:12px!important}.mm-tab-recipes select{min-height:31px!important;font-size:10.5px!important;padding:4px 8px!important}.mm-tab-recipes label{padding:4px 8px!important;font-size:10.5px!important}.mm-tab-recipes button{font-size:11px!important;min-height:34px!important}
/* Navigation plus proche de la maquette */
.mm-app nav{min-height:67px!important}.mm-app nav .ti{font-size:17px!important}.mm-app nav span{font-size:9.5px!important}
@media(max-width:380px){:root{--mm-mobile-gutter:15px}.mm-recipe-library-grid{gap:8px!important}}

/* ============================================================
   V191 — PIXEL MATCH GLOBAL
   Référence : maquettes Menumia validées (prune éditorial, surfaces ivoire,
   typographie serif, cartes douces, navigation mobile premium).
============================================================ */
.mm-v191{--mm-ink:#2d1235;--mm-prune:#8d3d8f;--mm-prune-dark:#55175d;--mm-lilac:#f2e5f1;--mm-cream:#fffafb;--mm-muted:#796c7b;--mm-green:#6e8b46;--mm-gold:#f2ae31;background:radial-gradient(circle at 90% 2%,rgba(234,213,232,.55),transparent 28%),linear-gradient(180deg,#fffafb 0%,#fff8fa 58%,#fbf5f7 100%)!important}
.mm-v191 .mm-main-shell{max-width:1024px!important;padding:22px 40px 116px!important}
.mm-v191 .mm-topbar{margin-bottom:28px!important;min-height:64px}
.mm-v191 .mm-topbar-brand{gap:12px!important}.mm-v191 .mm-topbar-mark{width:34px;height:44px;object-fit:contain}.mm-v191 .mm-topbar-brand>div{display:flex;flex-direction:column}.mm-v191 .mm-topbar-name{font-family:Georgia,"Times New Roman",serif;font-size:32px;line-height:1;font-weight:700;letter-spacing:-.035em;color:#5b185f}.mm-v191 .mm-topbar-tagline{font-size:13px;color:#776b78;margin-top:5px;letter-spacing:.005em}
.mm-v191 .mm-topbar-actions{gap:12px!important}.mm-v191 .mm-topbar-action{width:50px!important;height:50px!important;border-radius:18px!important;border:1px solid rgba(79,39,81,.05)!important;background:rgba(255,255,255,.78)!important;box-shadow:0 8px 22px rgba(66,32,68,.08)!important}.mm-v191 .mm-topbar-action .ti{font-size:21px!important}.mm-v191 .mm-profile-action{border-radius:50%!important;background:linear-gradient(145deg,#f3e3ef,#ead2e7)!important}
.mm-v191 .mm-home{gap:18px!important}.mm-v191 .mm-home-intro{padding:0 2px 5px!important}.mm-v191 .mm-home-greeting{font-family:Georgia,"Times New Roman",serif!important;font-size:36px!important;font-weight:700;letter-spacing:-.04em;color:#321337!important}.mm-v191 .mm-wave{font-family:system-ui;font-size:.7em}.mm-v191 .mm-home-subtitle{font-size:16px!important;color:#776b78!important;margin-top:7px!important}
.mm-v191 .mm-daily-priority{border:1px solid rgba(91,45,91,.06);background:rgba(250,241,247,.9)!important;box-shadow:0 7px 24px rgba(68,34,69,.045)}
.mm-v191 .mm-meal-hero{border-radius:22px!important;box-shadow:0 10px 30px rgba(65,31,67,.075)!important;background:rgba(255,255,255,.9)!important}.mm-v191 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{height:245px!important}.mm-v191 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body{padding:18px 20px 20px!important}
.mm-v191 .mm-home h2,.mm-v191 .mm-home .mm-secondary-title{font-family:Georgia,"Times New Roman",serif!important}
.mm-v191 .mm-home .mm-today-meals,.mm-v191 .mm-home [style*="box-shadow"]{border-color:rgba(78,39,80,.055)!important}
.mm-v191 .mm-recipe-library-grid{gap:14px!important}.mm-v191 .mm-recipe-library-item .mm-recipe-card{border-radius:18px!important;box-shadow:0 7px 22px rgba(65,31,67,.06)!important;background:#fff!important}.mm-v191 .mm-tab-recipes input[placeholder*="Rechercher"]{border-radius:16px!important;background:#fff!important;min-height:48px!important}.mm-v191 .mm-tab-recipes select,.mm-v191 .mm-chip{background:#fbf2f7!important}
.mm-v191 .mm-secondary-title,.mm-v191 .mm-page-heading>div:first-child{font-family:Georgia,"Times New Roman",serif!important;font-size:31px!important;color:#321337!important;letter-spacing:-.045em!important}.mm-v191 .mm-page-subtitle{font-size:13px!important;color:#8b7c8b!important}.mm-v191 .mm-food-icon{background:#fff6f8!important;border:0!important}.mm-v191 input,.mm-v191 select,.mm-v191 textarea{background:#fff!important;border-color:rgba(78,39,80,.09)!important}
.mm-v191 .mm-bottom-nav{max-width:1024px!important;width:calc(100% - 24px)!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:10px!important;border-radius:26px!important;border:1px solid rgba(80,42,81,.06)!important;padding:9px 10px max(8px,env(safe-area-inset-bottom))!important;box-shadow:0 12px 38px rgba(62,31,64,.13)!important;background:rgba(255,252,253,.94)!important;backdrop-filter:blur(18px)}
.mm-v191 .mm-nav-item{border-radius:17px!important;padding:7px 4px!important;min-height:57px!important}.mm-v191 .mm-nav-item.is-active{background:#f5e9f3!important}.mm-v191 .mm-nav-item.is-active>span:last-child{display:none}.mm-v191 .mm-nav-item .ti{font-size:20px!important}.mm-v191 .mm-nav-item>span:nth-child(2){font-size:11px!important}
.mm-v191 .mm-nav-bibliotheque{position:relative}.mm-v191 .mm-nav-bibliotheque .ti{font-size:22px!important}
.mm-v191 .mm-bottom-sheet,.mm-v191 .mm-assistant-sheet{background:#fffafb!important}.mm-v191 .mm-assistant-header{background:rgba(255,250,252,.96)!important}.mm-v191 .mm-onboarding-card{background:linear-gradient(180deg,#fffdfd,#fff8fb)!important;border-radius:30px!important}.mm-v191 .mm-onboarding-title{font-size:31px!important;color:#2f1238!important}.mm-v191 .mm-onboarding-copy{font-size:14px!important}
@media(min-width:760px){.mm-v191 .mm-home .mm-meal-hero.is-compact{display:grid!important;grid-template-columns:1.05fr .95fr!important}.mm-v191 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{height:100%!important;min-height:330px!important}.mm-v191 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body{padding:30px!important;display:flex;flex-direction:column;justify-content:center}.mm-v191 .mm-home .mm-recipe-library-grid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:759px){.mm-v191 .mm-main-shell{max-width:430px!important;padding:16px 18px 104px!important}.mm-v191 .mm-topbar{min-height:52px;margin-bottom:22px!important}.mm-v191 .mm-topbar-mark{width:26px;height:34px}.mm-v191 .mm-topbar-name{font-size:24px}.mm-v191 .mm-topbar-tagline{font-size:9.5px;margin-top:3px}.mm-v191 .mm-topbar-actions{gap:7px!important}.mm-v191 .mm-topbar-action{width:40px!important;height:40px!important;border-radius:14px!important}.mm-v191 .mm-topbar-action .ti{font-size:18px!important}.mm-v191 .mm-home-greeting{font-size:30px!important}.mm-v191 .mm-home-subtitle{font-size:14px!important}.mm-v191 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{height:205px!important}.mm-v191 .mm-secondary-title,.mm-v191 .mm-page-heading>div:first-child{font-size:27px!important}.mm-v191 .mm-bottom-nav{max-width:430px!important;width:calc(100% - 16px)!important;bottom:5px!important;border-radius:23px!important}.mm-v191 .mm-nav-item{min-width:0!important}.mm-v191 .mm-nav-item>span:nth-child(2){font-size:9.5px!important}}
@media(max-width:370px){.mm-v191 .mm-topbar-tagline{display:none}.mm-v191 .mm-main-shell{padding-left:14px!important;padding-right:14px!important}.mm-v191 .mm-home-greeting{font-size:27px!important}}

/* ============================================================
   V192 — PIXEL MATCH FIN : ACCUEIL MOBILE
   Cible : maquettes Accueil Menumia + captures iPhone V191.
============================================================ */
.mm-v192{background:linear-gradient(180deg,#fffafd 0%,#fff8fb 62%,#fbf4f7 100%)!important}
@media(max-width:759px){
  .mm-v192 .mm-main-shell{
    max-width:430px!important;
    padding-left:18px!important;padding-right:18px!important;
    padding-top:max(50px,calc(env(safe-area-inset-top) + 16px))!important;
    padding-bottom:108px!important;
  }
  .mm-v192 .mm-topbar{min-height:46px!important;margin-bottom:30px!important;align-items:center!important}
  .mm-v192 .mm-topbar-brand{gap:8px!important;min-width:0!important;flex:1 1 auto!important}
  .mm-v192 .mm-topbar-mark{width:27px!important;height:35px!important;flex:0 0 27px!important}
  .mm-v192 .mm-topbar-name{font-size:27px!important;line-height:.96!important;white-space:nowrap!important}
  .mm-v192 .mm-topbar-tagline{font-size:9.5px!important;margin-top:5px!important;white-space:nowrap!important}
  .mm-v192 .mm-topbar-actions{gap:7px!important;flex:0 0 auto!important;margin-left:10px!important}
  .mm-v192 .mm-topbar-action{width:39px!important;height:39px!important;border-radius:14px!important;box-shadow:0 7px 20px rgba(66,32,68,.065)!important}
  .mm-v192 .mm-topbar-action .ti{font-size:18px!important}
  .mm-v192 .mm-profile-action{width:42px!important;height:42px!important}

  .mm-v192 .mm-home{gap:16px!important}
  .mm-v192 .mm-home-intro{padding:0 2px 8px!important}
  .mm-v192 .mm-home-greeting{font-size:31px!important;line-height:1.02!important;letter-spacing:-.045em!important}
  .mm-v192 .mm-wave{font-size:.68em!important;margin-left:3px!important}
  .mm-v192 .mm-home-subtitle{font-size:14px!important;line-height:1.35!important;margin-top:8px!important;color:#746a76!important}

  /* La maquette n'interrompt pas le hero par une grosse alerte. Les infos restent accessibles
     dans Courses/Frigo et dans les écrans concernés. */
  .mm-v192 .mm-home>.mm-daily-priority{display:none!important}

  .mm-v192 .mm-home>div>div:first-child[style*="uppercase"],
  .mm-v192 .mm-home .mm-section-header{margin-bottom:8px!important}
  .mm-v192 .mm-home .mm-meal-hero.is-compact{border-radius:20px!important;box-shadow:0 9px 25px rgba(64,31,66,.065)!important;overflow:hidden!important}
  .mm-v192 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{height:190px!important}
  .mm-v192 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media>div[style*="top: 12"]{top:10px!important}
  .mm-v192 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body{padding:14px 16px 16px!important}
  .mm-v192 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:first-child{margin-bottom:7px!important}
  .mm-v192 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:first-child>div:first-child{font-size:20px!important;line-height:1.08!important}
  .mm-v192 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:first-child>div:last-child{transform:scale(.92);transform-origin:top right}
  .mm-v192 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:nth-child(2){margin-bottom:10px!important;gap:13px!important;font-size:11.5px!important}
  .mm-v192 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:last-child{gap:9px!important}
  .mm-v192 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:last-child>div:first-child>button:first-child{height:43px!important;min-height:43px!important;border-radius:15px!important;font-size:13px!important}
  .mm-v192 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:last-child>div:first-child>button:last-child{width:43px!important;height:43px!important;flex:0 0 43px!important}

  .mm-v192 .mm-home .mm-secondary-title{font-size:23px!important;letter-spacing:-.035em!important}
  .mm-v192 .mm-home [style*="gridTemplateColumns: \"1fr 1fr\""]{gap:10px!important}
  .mm-v192 .mm-home .mm-recipe-card{border-radius:16px!important}

  .mm-v192 .mm-bottom-nav{
    width:100%!important;max-width:430px!important;bottom:0!important;
    border-radius:24px 24px 0 0!important;border-left:0!important;border-right:0!important;border-bottom:0!important;
    padding:8px 8px max(10px,env(safe-area-inset-bottom))!important;
    box-shadow:0 -7px 24px rgba(60,31,62,.09)!important;
  }
  .mm-v192 .mm-nav-item{min-height:54px!important;border-radius:15px!important;padding:5px 2px!important}
  .mm-v192 .mm-nav-item.is-active{background:transparent!important}
  .mm-v192 .mm-nav-item .ti{font-size:19px!important}
  .mm-v192 .mm-nav-item>span:nth-child(2){font-size:10px!important}
  .mm-v192 .mm-nav-item.is-active>span:last-child{display:block!important;width:16px!important;height:2px!important;background:#7c3d7e!important}
}
@media(max-width:395px){
  .mm-v192 .mm-main-shell{padding-left:16px!important;padding-right:16px!important}
  .mm-v192 .mm-topbar-name{font-size:25px!important}
  .mm-v192 .mm-topbar-tagline{font-size:8.8px!important}
  .mm-v192 .mm-topbar-actions{gap:5px!important;margin-left:7px!important}
  .mm-v192 .mm-topbar-action{width:37px!important;height:37px!important}
  .mm-v192 .mm-profile-action{width:39px!important;height:39px!important}
}

/* ============================================================
   V193 — FINITION MILLIMÉTRIQUE ACCUEIL
   Basée sur les captures iPhone V192 validées par l'utilisatrice.
============================================================ */
@media(max-width:759px){
  .mm-v193 .mm-main-shell{
    padding-top:max(46px,calc(env(safe-area-inset-top) + 12px))!important;
    padding-left:17px!important;padding-right:17px!important;padding-bottom:94px!important;
  }
  .mm-v193 .mm-topbar{min-height:42px!important;margin-bottom:24px!important}
  .mm-v193 .mm-topbar-brand{gap:7px!important}
  .mm-v193 .mm-topbar-mark{width:24px!important;height:31px!important;flex-basis:24px!important}
  .mm-v193 .mm-topbar-name{font-size:25px!important;line-height:.96!important}
  .mm-v193 .mm-topbar-tagline{font-size:8.8px!important;margin-top:4px!important}
  .mm-v193 .mm-topbar-actions{gap:6px!important;margin-left:8px!important}
  .mm-v193 .mm-topbar-action{width:37px!important;height:37px!important;border-radius:13px!important}
  .mm-v193 .mm-profile-action{width:39px!important;height:39px!important}

  .mm-v193 .mm-home{gap:14px!important}
  .mm-v193 .mm-home-intro{padding-bottom:4px!important}
  .mm-v193 .mm-home-greeting{font-size:29px!important}
  .mm-v193 .mm-home-subtitle{font-size:13.5px!important;margin-top:7px!important}
  .mm-v193 .mm-home .mm-section-header{margin-bottom:7px!important}

  .mm-v193 .mm-home .mm-meal-hero.is-compact{border-radius:19px!important}
  .mm-v193 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{height:176px!important}
  .mm-v193 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body{padding:12px 15px 14px!important}
  .mm-v193 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:first-child{margin-bottom:5px!important}
  .mm-v193 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:first-child>div:first-child{font-size:19px!important}
  .mm-v193 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:first-child>div:last-child{transform:scale(.84)!important;transform-origin:top right!important}
  .mm-v193 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:nth-child(2){margin-bottom:8px!important;gap:11px!important;font-size:11px!important}
  .mm-v193 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:nth-child(3){margin-bottom:9px!important}
  .mm-v193 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:last-child>div:first-child>button:first-child{height:40px!important;min-height:40px!important;border-radius:14px!important;font-size:12.5px!important}
  .mm-v193 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body>div:last-child>div:first-child>button:last-child{width:40px!important;height:40px!important;min-height:40px!important;flex:0 0 40px!important}

  .mm-v193 .mm-home .mm-secondary-title{font-size:22px!important}
  .mm-v193 .mm-home [style*="gridTemplateColumns: \"1fr 1fr\""]{gap:9px!important}
  .mm-v193 .mm-home .mm-recipe-card{border-radius:15px!important;box-shadow:0 6px 18px rgba(65,31,67,.05)!important}
  .mm-v193 .mm-home .mm-recipe-card img{max-height:116px!important}

  .mm-v193 .mm-home-utility-row{gap:9px!important}
  .mm-v193 .mm-home-utility-card{min-height:88px!important;padding:11px 12px!important;border-radius:17px!important;box-shadow:0 6px 18px rgba(65,31,67,.05)!important}
  .mm-v193 .mm-home-utility-card>div{gap:8px!important}
  .mm-v193 .mm-home-utility-card>div>div:first-child{width:31px!important;height:31px!important}
  .mm-v193 .mm-home-utility-card>div>div:nth-child(2)>div:first-child{font-size:14px!important;line-height:1.15!important}
  .mm-v193 .mm-home-utility-card>div>div:nth-child(2)>div:last-child{font-size:11px!important;margin-top:2px!important}
  .mm-v193 .mm-home-utility-card>span{transform:scale(.82);transform-origin:center right}

  .mm-v193 .mm-bottom-nav{padding:6px 7px max(8px,env(safe-area-inset-bottom))!important;border-radius:21px 21px 0 0!important}
  .mm-v193 .mm-nav-item{min-height:49px!important;padding:4px 2px!important;gap:2px!important}
  .mm-v193 .mm-nav-item .ti{font-size:18px!important}
  .mm-v193 .mm-nav-item>span:nth-child(2){font-size:9.3px!important}
  .mm-v193 .mm-nav-item.is-active>span:last-child{width:14px!important}
}
@media(max-width:395px){
  .mm-v193 .mm-main-shell{padding-left:15px!important;padding-right:15px!important}
  .mm-v193 .mm-topbar-name{font-size:24px!important}
  .mm-v193 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{height:170px!important}
}

/* ============================================================
   V194 — PIXEL MATCH MENUS / SEMAINE
   Compacte l'écran semaine sur la maquette mobile de référence.
============================================================ */
@media(max-width:759px){
  .mm-v194 .mm-week-screen{padding-bottom:8px}
  .mm-v194 .mm-week-heading{margin-bottom:14px!important}
  .mm-v194 .mm-week-heading>div:first-child{font-size:26px!important;line-height:1!important;letter-spacing:-.04em!important}
  .mm-v194 .mm-week-heading>div:last-child{font-size:12.5px!important;margin-top:5px!important}

  .mm-v194 .mm-week-nav{padding:7px 11px!important;margin-bottom:10px!important;min-height:43px!important;box-shadow:0 5px 18px rgba(65,31,67,.045)!important}
  .mm-v194 .mm-week-nav>div{width:100%;justify-content:space-between!important;gap:4px!important}
  .mm-v194 .mm-week-nav>div>div{font-size:14px!important}
  .mm-v194 .mm-week-nav span{padding:6px 9px!important}

  /* Le calendrier horizontal remplit déjà le rôle du date picker : on garde seulement
     le bouton de retour à cette semaine lorsqu'il est utile. */
  .mm-v194 .mm-week-date-jump input[type="date"]{display:none!important}
  .mm-v194 .mm-week-date-jump{margin:0 0 10px!important;min-height:0!important}
  .mm-v194 .mm-week-date-jump:empty{display:none!important}

  .mm-v194 .mm-week-generate{margin-bottom:10px!important;gap:10px!important}
  .mm-v194 .mm-week-generate>div:first-child{display:none!important}
  .mm-v194 .mm-week-generate>button{margin-left:auto!important;min-height:39px!important;padding:9px 15px!important;border-radius:14px!important;font-size:12px!important}

  .mm-v194 .mm-week-ready{padding:9px 12px!important;margin-bottom:11px!important;border-radius:16px!important;display:grid!important;grid-template-columns:1fr auto!important;column-gap:8px!important;align-items:center!important;box-shadow:0 5px 18px rgba(65,31,67,.045)!important}
  .mm-v194 .mm-week-ready>div:first-child{font-size:12px!important;margin-bottom:2px!important;grid-column:1/2!important}
  .mm-v194 .mm-week-ready>div:nth-child(2){font-size:10.5px!important;line-height:1.3!important;grid-column:1/2!important}
  .mm-v194 .mm-week-ready>button{grid-column:2/3!important;grid-row:1/3!important;margin:0!important;font-size:10.5px!important;white-space:nowrap!important}

  .mm-v194 .mm-week-days{gap:5px!important;margin-bottom:12px!important;padding-bottom:2px!important;justify-content:space-between!important;overflow:visible!important}
  .mm-v194 .mm-week-days>div{min-width:0!important;flex:1 1 0!important;padding:7px 3px!important;border-radius:13px!important;gap:1px!important;box-shadow:0 4px 13px rgba(65,31,67,.04)!important}
  .mm-v194 .mm-week-days>div span:first-child{font-size:8.5px!important}
  .mm-v194 .mm-week-days>div span:nth-child(2){font-size:12px!important}

  .mm-v194 .mm-week-day-title{margin-bottom:9px!important;gap:4px!important}
  .mm-v194 .mm-week-day-title>span{width:27px!important;height:27px!important;font-size:13px!important}
  .mm-v194 .mm-week-day-title>div{min-width:0!important;flex:1!important}
  .mm-v194 .mm-week-day-title>div>div:first-child{font-size:10.5px!important;white-space:nowrap!important}
  .mm-v194 .mm-week-day-title>div>span{font-size:9px!important;padding:2px 7px!important}

  /* Cartes repas : la semaine doit montrer plus de contenu que la fiche/Accueil. */
  .mm-v194 .mm-week-screen .mm-section-header{margin-bottom:6px!important}
  .mm-v194 .mm-week-screen .mm-meal-hero{border-radius:18px!important;box-shadow:0 6px 18px rgba(65,31,67,.05)!important}
  .mm-v194 .mm-week-screen .mm-meal-hero-media{height:164px!important}
  .mm-v194 .mm-week-screen .mm-meal-hero-body{padding:11px 14px 13px!important}
  .mm-v194 .mm-week-screen .mm-meal-hero-body>div:first-child{margin-bottom:5px!important}
  .mm-v194 .mm-week-screen .mm-meal-hero-body>div:first-child>div:first-child{font-size:19px!important;line-height:1.08!important}
  .mm-v194 .mm-week-screen .mm-meal-hero-body>div:nth-child(2){font-size:10.5px!important;gap:10px!important;margin-bottom:7px!important}
  .mm-v194 .mm-week-screen .mm-meal-hero-body button{min-height:38px!important}

  /* Personnalisation = fonction secondaire, donc compacte et discrète. */
  .mm-v194 .mm-week-screen button[aria-expanded]{min-height:39px!important;padding:8px 12px!important;border-radius:13px!important;font-size:11.5px!important}
  .mm-v194 .mm-week-screen .mm-bottom-nav{z-index:50!important}
}
@media(max-width:395px){
  .mm-v194 .mm-week-screen .mm-meal-hero-media{height:156px!important}
  .mm-v194 .mm-week-ready>button{font-size:9.7px!important}
}

/* ============================================================
   V195 — CARTES REPAS COMPACTES / TIMELINE SEMAINE
   La semaine privilégie la vue d'ensemble ; les actions vivent derrière ⋯.
============================================================ */
@media(max-width:759px){
  .mm-v195 .mm-week-screen .mm-section-header{display:none!important}
  .mm-v195 .mm-week-screen [style*="flexDirection: \"column\""][style*="gap: 10"]{gap:10px!important}
  .mm-v195 .mm-week-screen button[aria-expanded][style*="width: \"100%\""]{min-height:34px!important;padding:6px 10px!important;font-size:10px!important;background:transparent!important;border-color:#eadfe7!important}
  .mm-v195 .mm-week-screen button[aria-expanded][style*="width: \"100%\""]+div{font-size:9px!important}
}
@media(max-width:395px){
}

/* ============================================================
   V196 — FINITION MENUS : photos gourmandes + personnalisation dans ⋮
============================================================ */
@media(max-width:759px){
  /* Le date picker natif et son libellé ne doivent jamais concurrencer le calendrier horizontal. */
  .mm-v196 .mm-week-date-jump input[type="date"]{display:none!important}
  .mm-v196 .mm-week-date-jump{margin:0!important;min-height:0!important;height:0!important;overflow:hidden!important}
  .mm-v196 .mm-week-generate>div:first-child{display:none!important}
  .mm-v196 .mm-week-generate{justify-content:flex-end!important;margin-top:0!important}
}
@media(max-width:395px){
}

/* ============================================================
   V197 — MENUS : un composant unique pour tous les créneaux
   Petit-déjeuner, midi, collation, soir et dessert partagent
   désormais la même carte compacte et la même hiérarchie.
============================================================ */
@media(max-width:759px){
}

/* ============================================================
   V198 — RECETTES : catalogue visuel mobile
============================================================ */
@media(max-width:759px){
 .mm-v198 .mm-tab-recipes .mm-recipe-library-grid{gap:12px!important;align-items:start}
 .mm-v198 .mm-library-card{background:#fff;border-radius:19px;overflow:hidden;box-shadow:0 7px 22px rgba(65,31,67,.055);border:1px solid rgba(78,39,80,.04);min-width:0}
 .mm-v198 .mm-library-photo-wrap{position:relative;width:100%;aspect-ratio:1.16/1;overflow:hidden;cursor:pointer;background:#f4edf2}
 .mm-v198 .mm-library-photo{width:100%;height:100%;display:block;object-fit:cover}
 .mm-v198 .mm-library-heart{position:absolute;right:8px;top:8px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 3px 12px rgba(40,20,40,.10);color:#684467;font-size:20px;padding:0}
 .mm-v198 .mm-library-copy{padding:11px 11px 8px;cursor:pointer;min-height:91px}
 .mm-v198 .mm-library-copy h3{font-family:var(--mm-display),Georgia,serif;margin:0;color:#2f2430;font-size:16px;line-height:1.08;letter-spacing:-.02em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .mm-v198 .mm-library-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:10.5px;color:#968c94}
 .mm-v198 .mm-library-meta span:first-child{border:1px solid currentColor;border-radius:999px;padding:3px 7px}
 .mm-v198 .mm-library-meta i{margin-right:3px}
 .mm-v198 .mm-library-tags{display:flex;gap:5px;margin-top:6px;min-height:0}.mm-v198 .mm-library-tags span{font-size:9.5px;border:1px solid #dfc7d6;border-radius:999px;padding:2px 6px;color:#9c647d}
 .mm-v198 .mm-library-actions{display:flex;gap:6px;padding:0 9px 10px;align-items:center}
 .mm-v198 .mm-library-actions button{min-height:44px!important}
 .mm-v198 .mm-library-week{flex:1;border:0;border-radius:999px;background:#f0e7ef;color:#5d3b5e;font-size:10.5px;font-weight:700;white-space:nowrap}.mm-v198 .mm-library-week i{margin-right:4px}
 .mm-v198 .mm-library-more{position:relative}.mm-v198 .mm-library-more summary{list-style:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid #e7dce4;background:#fff;color:#745b72;cursor:pointer}.mm-v198 .mm-library-more summary::-webkit-details-marker{display:none}
 .mm-v198 .mm-library-more>div{position:absolute;right:0;bottom:50px;z-index:20;width:128px;padding:5px;background:#fff;border-radius:12px;box-shadow:0 8px 28px rgba(55,25,55,.18);border:1px solid #eee4eb}
 .mm-v198 .mm-library-more:only-child>div{left:0;right:auto}
 .mm-v198 .mm-library-more>div button{width:100%;border:0;background:transparent;text-align:left;padding:7px 8px;border-radius:8px;font-size:10.5px;color:#594a58}.mm-v198 .mm-library-more>div button i{margin-right:6px}.mm-v198 .mm-library-more>div .danger{color:#b84c3c}
 .mm-v198 .mm-tab-recipes input[placeholder*="Rechercher"]{min-height:44px!important;margin-bottom:9px!important}
 .mm-v198 .mm-tab-recipes select{min-height:32px!important;max-width:48%;font-size:10.5px!important}
 .mm-v198 .mm-tab-recipes label{font-size:10.5px!important}
}

/* V198.1 — finition catalogue : filtres secondaires repliables */
@media(max-width:759px){
 .mm-v1981 .mm-recipe-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-1px 0 8px}
 .mm-v1981 .mm-recipe-filter-toggle{display:flex;align-items:center;gap:6px;border:1px solid #dfd3dc;background:#fff;color:#5d3b5e;border-radius:999px;min-height:36px;padding:7px 11px;font-size:11px;font-weight:700}
 .mm-v1981 .mm-recipe-filter-toggle b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#684263;color:#fff;font-size:9px}
 .mm-v1981 .mm-recipe-filter-toggle i:last-child{color:#9d919a}
 .mm-v1981 .mm-recipe-filter-reset{border:0;background:transparent;color:#80517d;font-size:10.5px;padding:7px 3px}
 .mm-v1981 .mm-recipe-filter-panel{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:9px;margin-bottom:9px;border:1px solid #eee4eb;border-radius:15px;background:rgba(255,255,255,.68)}
 .mm-v1981 .mm-recipe-filter-panel select{max-width:none!important;width:100%!important;min-height:36px!important}
 .mm-v1981 .mm-recipe-veg{border:1px solid #dfd3dc;background:#fff;color:#746a72;border-radius:999px;min-height:36px;font-size:10.5px}.mm-v1981 .mm-recipe-veg.is-active{border-color:#708e68;background:#edf5ea;color:#60815a}.mm-v1981 .mm-recipe-veg i{margin-right:5px}
 .mm-v1981 .mm-library-copy{min-height:82px;padding-bottom:6px}
 .mm-v1981 .mm-library-actions{padding-bottom:9px}
}


/* ============================================================
   V199 — FICHE RECETTE : lecture et cuisine
============================================================ */
@media(max-width:759px){
  .mm-v199 .mm-recipe-ingredients{display:flex;flex-direction:column;margin:2px 0 12px;border:1px solid #eee5eb;border-radius:18px;overflow:hidden;background:#fff}
  .mm-v199 .mm-recipe-ingredient{display:flex;align-items:center;gap:11px;min-height:46px;padding:9px 13px;border-bottom:1px solid #f3edf1;color:#30262f;font-size:14px;line-height:1.35}
  .mm-v199 .mm-recipe-ingredient:last-child{border-bottom:0}
  .mm-v199 .mm-recipe-check{width:20px;height:20px;flex:0 0 20px;border:1.5px solid #cdbfc9;border-radius:50%;background:#fff}
  .mm-v199 .mm-recipe-steps{display:flex;flex-direction:column;gap:10px}
  .mm-v199 .mm-recipe-step{display:grid;grid-template-columns:32px minmax(0,1fr);gap:11px;align-items:start;padding:14px;border:1px solid #eee5eb;border-radius:17px;background:#fff;color:#30262f;font-size:14px;line-height:1.5}
  .mm-v199 .mm-recipe-step-num{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f3e8f1;color:#684263;font-weight:800;font-size:13px}
}


/* ============================================================
   V200 — FICHE RECETTE : finition mobile + édition responsive
============================================================ */
@media(max-width:759px){
  .mm-v200 .mm-recipe-ingredients{display:flex!important;flex-direction:column!important;margin:2px 0 12px!important;border:1px solid #eee5eb!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important}
  .mm-v200 .mm-recipe-ingredient{display:flex!important;align-items:center!important;gap:11px!important;min-height:46px!important;padding:10px 13px!important;border-bottom:1px solid #f3edf1!important;color:#30262f!important;font-size:14px!important;line-height:1.35!important}
  .mm-v200 .mm-recipe-ingredient:last-child{border-bottom:0!important}
  .mm-v200 .mm-recipe-check{display:block!important;width:20px!important;height:20px!important;flex:0 0 20px!important;border:1.5px solid #cdbfc9!important;border-radius:50%!important;background:#fff!important}
  .mm-v200 .mm-recipe-steps{display:flex!important;flex-direction:column!important;gap:10px!important}
  .mm-v200 .mm-recipe-step{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;gap:11px!important;align-items:start!important;padding:14px!important;border:1px solid #eee5eb!important;border-radius:17px!important;background:#fff!important;color:#30262f!important;font-size:14px!important;line-height:1.5!important}
  .mm-v200 .mm-recipe-step-num{width:32px!important;height:32px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#f3e8f1!important;color:#684263!important;font-weight:800!important;font-size:13px!important}
}

/* V201 — correctif parsing CSS mobile V199/V200 */
@media(max-width:759px){.mm-v201 .mm-recipe-ingredients,.mm-v201 .mm-recipe-steps{width:100%;box-sizing:border-box}}

/* V202 — édition recette : Ingrédients | Étapes | Infos | Notes */
.mm-recipe-portion-context{display:flex;align-items:center;gap:10px;margin:8px 0 14px;padding:10px 12px;border:1px solid rgba(93,39,74,.11);border-radius:14px;background:#faf5f7;color:#5d274a}
.mm-recipe-portion-context-icon{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#f0e3e9;font-size:16px}
.mm-recipe-portion-context-copy{display:grid;gap:2px;min-width:0}.mm-recipe-portion-context-copy small{font-size:10.5px;line-height:1.2;text-transform:uppercase;letter-spacing:.35px;color:#8a7782;font-weight:750}.mm-recipe-portion-context-copy strong{font-size:12.5px;line-height:1.35;color:#5d274a}.mm-recipe-portion-context-copy strong span{display:inline-block;margin:0 4px;color:#a88d9c;font-weight:600}
.mm-recipe-about{margin:10px 0 16px;padding:13px 14px;border-radius:16px;background:#fbf7f9;border:1px solid rgba(93,39,74,.09)}.mm-recipe-about-heading{display:flex;align-items:center;gap:7px;margin-bottom:7px;color:#6f294f;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.42px}.mm-recipe-about-heading i{font-size:15px}.mm-recipe-about p{margin:0;color:#685b63;font-size:13px;line-height:1.58}
.mm-info-editor textarea{width:100%;box-sizing:border-box;border:1px solid #e4d5dd;background:#fbf8fa;border-radius:12px;padding:9px 11px;font:inherit;color:#33262e}.mm-info-description-hint,.mm-add-description-hint{display:block;margin:5px 2px 0;color:#9a8792;font-size:10.8px;line-height:1.35}
.mm-recipe-unified-editor{margin:8px 0 20px;background:#fff;border:1px solid rgba(93,39,74,.12);border-radius:20px;overflow:hidden;box-shadow:0 8px 24px rgba(69,31,55,.06)}
.mm-recipe-editor-source-note{display:flex;align-items:center;gap:9px;padding:10px 12px;background:#fff9f2;border-bottom:1px solid rgba(149,98,54,.12);color:#725235}.mm-recipe-editor-source-note>i{font-size:17px;flex:0 0 auto}.mm-recipe-editor-source-note>span{display:grid;gap:1px}.mm-recipe-editor-source-note strong{font-size:12px;line-height:1.25}.mm-recipe-editor-source-note small{font-size:11px;line-height:1.35;color:#8a715b}
.mm-recipe-editor-tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:6px;background:#f7f1f4;border-bottom:1px solid rgba(93,39,74,.08);position:sticky;top:0;z-index:2}
.mm-recipe-editor-tabs button{border:0;background:transparent;min-height:42px;border-radius:14px;color:#806c78;font-weight:700;font-size:13px}
.mm-recipe-editor-tabs button.active{background:#fff;color:#6f294f;box-shadow:0 2px 8px rgba(69,31,55,.08)}
.mm-recipe-editor-pane{padding:14px}.mm-editor-intro{font-size:13px;line-height:1.45;color:#7d6d77;margin:0 2px 14px}
.mm-natural-ingredients{display:grid;gap:10px}.mm-natural-ingredient-card{border:1px solid #eadde4;border-radius:16px;padding:12px;background:#fff}
.mm-natural-ingredient-head{display:grid;grid-template-columns:1fr 38px;gap:8px;align-items:center}.mm-natural-ingredient-head input,.mm-natural-ingredient-qty input,.mm-natural-ingredient-qty select,.mm-info-editor input,.mm-info-editor select{width:100%;box-sizing:border-box;border:1px solid #e4d5dd;background:#fbf8fa;border-radius:12px;min-height:42px;padding:9px 11px;font:inherit;color:#33262e}
.mm-natural-ingredient-head input{font-weight:650;font-size:14px}.mm-icon-danger{border:0;background:#fff4f4;color:#a94b55;width:38px;height:38px;border-radius:12px;font-size:17px}
.mm-natural-ingredient-qty{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px;margin-top:10px}.mm-natural-ingredient-qty label,.mm-info-grid label{font-size:11.5px;color:#806c78}.mm-natural-ingredient-qty label span{display:block;margin:0 0 4px 2px}
.mm-scale-choice{margin-top:10px}.mm-scale-choice>span{display:block;font-size:11.5px;color:#806c78;margin:0 0 5px 2px}.mm-segmented{display:grid;grid-template-columns:1fr 1fr;background:#f5eef2;border-radius:12px;padding:3px}.mm-segmented button{border:0;background:transparent;border-radius:10px;min-height:38px;color:#806c78;font-weight:650;font-size:12px}.mm-segmented button.active{background:#fff;color:#6f294f;box-shadow:0 1px 5px rgba(69,31,55,.09)}
.mm-add-row,.mm-auto-row{width:100%;border-radius:14px;min-height:44px;margin-top:10px;font-weight:700;font-size:13px}.mm-add-row{border:1px dashed #b88aa5;background:#fff;color:#6f294f}.mm-auto-row{border:0;background:#f8f1f5;color:#6f294f}.mm-editor-footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.mm-step-edit-list{display:grid;gap:10px}.mm-step-edit-card{display:grid;grid-template-columns:32px 1fr 36px;gap:8px;align-items:start;border:1px solid #eadde4;border-radius:16px;padding:10px;background:#fff}.mm-step-edit-num{width:30px;height:30px;border-radius:50%;background:#6f294f;color:#fff;display:grid;place-items:center;font-weight:800;font-size:12px}.mm-step-edit-card textarea{width:100%;box-sizing:border-box;resize:vertical;border:0;background:#fbf8fa;border-radius:10px;padding:9px;font:inherit;font-size:13px;line-height:1.45;color:#33262e;min-height:76px}
.mm-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.mm-info-grid label{display:grid;gap:4px}.mm-info-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.mm-info-checks label{display:flex;align-items:center;gap:7px;background:#fbf8fa;border-radius:12px;padding:10px;font-size:12px;color:#594751}.mm-info-checks input{accent-color:#6f294f}
.mm-empty-inline{color:#8a7782;font-size:13px;font-style:italic;margin-bottom:10px}
@media(max-width:520px){.mm-recipe-unified-editor{margin-left:-4px;margin-right:-4px;border-radius:18px}.mm-recipe-editor-pane{padding:12px}.mm-recipe-editor-tabs button{font-size:12.5px}.mm-natural-ingredient-qty{grid-template-columns:42% 58%;gap:7px}.mm-info-grid{grid-template-columns:1fr}.mm-info-checks{grid-template-columns:1fr}.mm-editor-footer{position:sticky;bottom:0;background:rgba(255,255,255,.96);padding:10px 0 2px;z-index:2}}


/* V203 — correctif onglet Infos mobile : cases compactes, sans option décongélation */
.mm-info-editor .mm-info-checks label{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;min-width:0!important;overflow:hidden!important}
.mm-info-editor .mm-info-checks input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;min-height:18px!important;padding:0!important;margin:0!important;flex:0 0 18px!important;border-radius:4px!important;accent-color:#6f294f!important}
.mm-info-editor .mm-info-checks label>span{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(max-width:520px){.mm-info-editor .mm-info-checks{grid-template-columns:1fr!important;gap:7px!important}.mm-info-editor .mm-info-checks label{min-height:42px!important;padding:9px 11px!important;font-size:13px!important}}


/* V204 — système d’icônes Menumia
   Interface/actions = Tabler ; aliments/catégories = assets Menumia ; illustrations = scènes dédiées. */
.mm-v204{
  --mm-icon-stroke:1.65;
  --mm-icon-xs:16px;
  --mm-icon-sm:18px;
  --mm-icon-md:20px;
  --mm-icon-nav:22px;
  --mm-icon-food:28px;
  --mm-icon-surface:#fbf4f7;
  --mm-icon-surface-active:#f2e4ed;
  --mm-icon-ink:#76506f;
}
.mm-v204 .ti{font-size:var(--mm-icon-md);stroke-width:var(--mm-icon-stroke);line-height:1;vertical-align:-2px}
.mm-v204 button .ti,.mm-v204 [role="button"] .ti{flex:0 0 auto}
.mm-v204 nav .ti{font-size:var(--mm-icon-nav);stroke-width:1.7}
.mm-v204 .mm-quick-icon .ti{font-size:18px!important;stroke-width:var(--mm-icon-stroke)!important}
.mm-v204 .mm-quote-icon .ti{stroke-width:var(--mm-icon-stroke)!important}
.mm-v204 .mm-food-icon{width:var(--mm-icon-food)!important;height:var(--mm-icon-food)!important;padding:4px!important;border:0!important;border-radius:9px!important;background:var(--mm-icon-surface)!important}
.mm-v204 .mm-food-icon img{width:100%!important;height:100%!important;object-fit:contain!important}
.mm-v204 .mm-icon-danger{display:inline-grid;place-items:center;width:44px;height:44px;padding:0}
.mm-v204 .mm-icon-danger .ti{font-size:18px;stroke-width:1.7}
.mm-v204 .mm-recipe-editor-tabs .ti,.mm-v204 .mm-add-row .ti,.mm-v204 .mm-auto-row .ti{font-size:17px}
.mm-v204 button:disabled .ti{opacity:.48}

/* V205 — illustrations Menumia : onboarding cohérent avec l'identité visuelle */
.mm-v205 .mm-onboarding-overlay{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:20px;overflow-y:auto;background:radial-gradient(circle at 50% 12%,#fff8fb 0,#fbf1f6 38%,#f7eef3 100%)}
.mm-v205 .mm-onboarding-card-v205{width:100%;max-width:420px;max-height:92vh;overflow-y:auto;padding:18px 24px 24px;border-radius:30px!important;background:rgba(255,253,253,.98)!important;box-shadow:0 24px 70px rgba(67,32,62,.14)!important}
.mm-v205 .mm-onboarding-skip{display:flex;justify-content:flex-end;min-height:32px}.mm-v205 .mm-onboarding-skip button{border:0;background:transparent;color:#8c7c88;font:inherit;font-size:12.5px;padding:6px 2px;cursor:pointer}
.mm-v205 .mm-onboarding-content{text-align:center;padding:0 4px 10px}.mm-v205 .mm-onboarding-art-wrap{height:224px;display:grid;place-items:center;margin:0 auto 8px;overflow:hidden}.mm-v205 .mm-onboarding-art{width:min(92%,340px)!important;height:100%!important;max-height:none!important;object-fit:contain!important;background:transparent!important;filter:drop-shadow(0 12px 18px rgba(85,45,77,.08))}
.mm-v205 .mm-onboarding-title{font-size:29px!important;line-height:1.06!important;margin:4px auto 10px;max-width:350px}.mm-v205 .mm-onboarding-copy{font-size:13.5px!important;line-height:1.58!important;max-width:345px!important}
.mm-v205 .mm-onboarding-dots{display:flex;justify-content:center;align-items:center;gap:6px;margin:18px 0}.mm-v205 .mm-onboarding-dot{display:block;width:6px;height:6px;background:#dfd1da;transition:width .2s ease,background .2s ease}.mm-v205 .mm-onboarding-dot.active{width:22px;background:#74436f}
.mm-v205 .mm-onboarding-actions{display:flex;justify-content:space-between;gap:8px;align-items:center}
@media(max-width:380px){.mm-v205 .mm-onboarding-overlay{padding:12px}.mm-v205 .mm-onboarding-card-v205{padding:14px 18px 20px}.mm-v205 .mm-onboarding-art-wrap{height:190px}.mm-v205 .mm-onboarding-title{font-size:26px!important}}

/* V206 — onboarding réellement plein écran (premier lancement + relecture depuis Réglages) */
.mm-v206.mm-onboarding-root{position:fixed;inset:0;z-index:10000;width:100%;height:100dvh;overflow:hidden;background:#fff9fb;color:#321638;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.mm-v206 .mm-onboarding-fullscreen{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:100dvh!important;display:flex!important;align-items:stretch!important;justify-content:center!important;padding:0!important;overflow:hidden!important;background:linear-gradient(180deg,#fffafb 0%,#fff7fa 58%,#fbf0f5 100%)!important}
.mm-v206 .mm-onboarding-card-v206{box-sizing:border-box;width:100%!important;max-width:430px!important;height:100dvh!important;max-height:none!important;margin:0!important;padding:max(12px,env(safe-area-inset-top)) 24px max(18px,env(safe-area-inset-bottom))!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;overflow:hidden!important;display:grid!important;grid-template-rows:42px minmax(0,1fr) auto auto!important}
.mm-v206 .mm-onboarding-skip{min-height:42px!important;align-items:center!important;z-index:2}.mm-v206 .mm-onboarding-skip button{font-size:14px!important;color:#684260!important;padding:10px 2px!important}
.mm-v206 .mm-onboarding-content{min-height:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding:0 0 4px!important;overflow:hidden!important}
.mm-v206 .mm-onboarding-art-wrap{height:auto!important;min-height:0!important;flex:0 1 42vh!important;max-height:360px!important;width:100%!important;margin:0 auto 14px!important;overflow:hidden!important}
.mm-v206 .mm-onboarding-art{width:100%!important;height:100%!important;max-width:350px!important;margin:auto!important;object-fit:contain!important}
.mm-v206 .mm-onboarding-title{font-size:clamp(27px,7.2vw,32px)!important;line-height:1.05!important;margin:2px auto 10px!important;padding:0 2px!important;max-width:370px!important;text-wrap:balance}
.mm-v206 .mm-onboarding-copy{font-size:14px!important;line-height:1.52!important;max-width:355px!important;padding:0 4px!important;color:#857785!important}
.mm-v206 .mm-onboarding-dots{margin:10px 0 14px!important;min-height:8px!important}
.mm-v206 .mm-onboarding-actions{padding-bottom:0!important}.mm-v206 .mm-onboarding-actions>button{min-height:48px!important}.mm-v206 .mm-onboarding-actions>button:last-child{min-width:132px!important}
@media(min-width:600px){.mm-v206 .mm-onboarding-fullscreen{padding:24px!important;align-items:center!important}.mm-v206 .mm-onboarding-card-v206{height:min(820px,calc(100dvh - 48px))!important;border-radius:32px!important;background:#fffdfd!important;box-shadow:0 24px 80px rgba(67,32,62,.13)!important}}
@media(max-height:700px){.mm-v206 .mm-onboarding-card-v206{grid-template-rows:36px minmax(0,1fr) auto auto!important;padding-top:max(6px,env(safe-area-inset-top))!important}.mm-v206 .mm-onboarding-art-wrap{flex-basis:34vh!important;margin-bottom:6px!important}.mm-v206 .mm-onboarding-title{font-size:25px!important;margin-bottom:6px!important}.mm-v206 .mm-onboarding-copy{font-size:12.5px!important;line-height:1.42!important}.mm-v206 .mm-onboarding-dots{margin:6px 0 8px!important}}

/* V207 — nouvelle famille d’illustrations Menumia */
.mm-v207 .mm-onboarding-art-wrap{flex-basis:44vh!important;max-height:390px!important;margin-bottom:8px!important}
.mm-v207 .mm-onboarding-art{max-width:390px!important;filter:drop-shadow(0 16px 22px rgba(73,35,68,.10))!important}
.mm-v207 .mm-onboarding-title{max-width:390px!important}
@media(max-height:740px){.mm-v207 .mm-onboarding-art-wrap{flex-basis:35vh!important;max-height:280px!important}.mm-v207 .mm-onboarding-art{max-width:310px!important}}

/* V208 — finition UX onboarding : réglages avant la conclusion, sélections plus explicites */
.mm-v208 .mm-onboarding-setup{min-height:0;display:flex;flex-direction:column;justify-content:center;overflow:auto;padding:4px 0 6px}
.mm-v208 .mm-onboarding-setup-title{font-family:ui-serif,Georgia,serif;font-size:30px;line-height:1.08;font-weight:700;color:#321638;text-align:center;margin:0 0 8px}
.mm-v208 .mm-onboarding-setup-copy{max-width:350px;margin:0 auto 24px;color:#857785;font-size:13.5px;line-height:1.5;text-align:center}
.mm-v208 .mm-onboarding-setup-section{margin-bottom:22px}.mm-v208 .mm-onboarding-setup-label{font-size:14px;line-height:1.35;font-weight:700;color:#332c31;margin-bottom:10px}
.mm-v208 .mm-people-stepper{width:210px;height:58px;border:1px solid #e1d4dc;border-radius:20px;background:rgba(255,255,255,.82);display:grid;grid-template-columns:54px 1fr 54px;align-items:center;box-shadow:0 8px 22px rgba(69,36,63,.05)}
.mm-v208 .mm-people-stepper button{width:38px;height:38px;margin:auto;border:0;border-radius:14px;background:#f2e8ef;color:#70436c;font-size:25px;line-height:1;cursor:pointer}.mm-v208 .mm-people-stepper>div{text-align:center;display:flex;flex-direction:column;line-height:1.05}.mm-v208 .mm-people-stepper strong{font-size:21px;color:#4a2848}.mm-v208 .mm-people-stepper span{font-size:10.5px;color:#9a8d96;margin-top:4px}
.mm-v208 .mm-cuisine-chips{display:flex;flex-wrap:wrap;gap:8px}.mm-v208 .mm-cuisine-chip{border:1px solid #eadfe6;background:#f2e9ef;color:#6e5369;border-radius:999px;padding:9px 13px;font:inherit;font-size:12.5px;font-weight:600;line-height:1;cursor:pointer;transition:background .15s,color .15s,border-color .15s,transform .15s}.mm-v208 .mm-cuisine-chip.active{background:#70436c;color:#fff;border-color:#70436c;box-shadow:0 5px 12px rgba(112,67,108,.14)}.mm-v208 .mm-cuisine-chip span{margin-right:5px;font-size:11px}.mm-v208 .mm-cuisine-chip:active{transform:scale(.97)}
.mm-v208 .mm-onboarding-actions>button:last-child{min-width:150px!important}.mm-v208 .mm-onboarding-skip:empty{visibility:hidden}
@media(max-height:740px){.mm-v208 .mm-onboarding-setup{justify-content:flex-start}.mm-v208 .mm-onboarding-setup-title{font-size:26px}.mm-v208 .mm-onboarding-setup-copy{margin-bottom:15px}.mm-v208 .mm-onboarding-setup-section{margin-bottom:14px}.mm-v208 .mm-cuisine-chips{gap:6px}.mm-v208 .mm-cuisine-chip{padding:7px 11px;font-size:11.5px}.mm-v208 .mm-people-stepper{height:52px}}

/* ============================================================
   V209 — Onboarding : temps disponible + navigation instantanée
   ============================================================ */
.mm-v209 .mm-onboarding-setup{justify-content:flex-start!important;padding-top:10px!important}
.mm-v209 .mm-onboarding-setup-copy{margin-bottom:16px!important}
.mm-v209 .mm-onboarding-setup-section{margin-bottom:16px!important}
.mm-v209 .mm-time-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mm-v209 .mm-time-chip{appearance:none;border:1px solid #e1d5de;background:#f4edf2;color:#694362;border-radius:18px;min-height:58px;padding:9px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font:inherit;cursor:pointer;transition:transform .15s ease,background .15s ease,color .15s ease,border-color .15s ease}
.mm-v209 .mm-time-chip strong{font-size:12.5px;line-height:1.2}.mm-v209 .mm-time-chip small{font-size:9.5px;line-height:1.15;opacity:.72}
.mm-v209 .mm-time-chip.active{background:#75446f;color:#fff;border-color:#75446f;box-shadow:0 7px 16px rgba(83,43,78,.12)}
.mm-v209 .mm-time-chip:active{transform:scale(.98)}
@media(max-width:380px){.mm-v209 .mm-time-chips{gap:6px}.mm-v209 .mm-time-chip{padding:8px 4px}.mm-v209 .mm-time-chip strong{font-size:11.5px}.mm-v209 .mm-time-chip small{font-size:9px}}
@media(max-height:760px){.mm-v209 .mm-onboarding-setup-title{font-size:24px}.mm-v209 .mm-onboarding-setup-copy{margin-bottom:10px!important}.mm-v209 .mm-onboarding-setup-section{margin-bottom:10px!important}.mm-v209 .mm-people-stepper{height:48px}.mm-v209 .mm-time-chip{min-height:48px;padding:6px 4px}.mm-v209 .mm-cuisine-chip{padding:6px 10px!important}}

/* ============================================================
   V210 — finition de l'écran de personnalisation onboarding
   ============================================================ */
.mm-v210 .mm-onboarding-setup{padding-top:2px!important;overflow:hidden!important}
.mm-v210 .mm-onboarding-setup-title{font-size:28px!important;margin-bottom:6px!important}
.mm-v210 .mm-onboarding-setup-copy{max-width:360px!important;margin-bottom:15px!important}
.mm-v210 .mm-onboarding-setup-section{margin-bottom:14px!important}
.mm-v210 .mm-onboarding-setup-label{font-size:13.5px!important;margin-bottom:8px!important}
.mm-v210 .mm-setup-hint{display:block;margin-top:3px;font-size:10.5px;font-weight:500;color:#9b8e98}
.mm-v210 .mm-people-stepper{width:100%!important;max-width:230px;height:54px!important;border-radius:18px!important}
.mm-v210 .mm-time-chips{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
.mm-v210 .mm-time-chip{position:relative;min-height:64px!important;padding:7px 4px!important;border-radius:17px!important;background:#f6f0f4!important;border-color:#eadfe6!important;gap:1px!important;overflow:hidden}
.mm-v210 .mm-time-chip .mm-time-icon{font-size:17px;line-height:1;margin-bottom:2px;color:#75446f}
.mm-v210 .mm-time-chip strong{font-size:12px!important;line-height:1.1!important;white-space:nowrap}
.mm-v210 .mm-time-chip small{font-size:9.5px!important;line-height:1.1!important;white-space:nowrap}
.mm-v210 .mm-time-chip.active{background:#75446f!important;color:#fff!important;border-color:#75446f!important}
.mm-v210 .mm-time-chip.active .mm-time-icon{color:#fff}
.mm-v210 .mm-time-check{position:absolute;top:5px;right:7px;font-size:10px;font-weight:800}
.mm-v210 .mm-cuisine-chips{gap:7px!important}
.mm-v210 .mm-cuisine-chip{padding:8px 12px!important;font-size:12px!important;background:#f4edf2!important;color:#6e5369!important;border-color:#eadfe6!important;box-shadow:none!important}
.mm-v210 .mm-cuisine-chip.active{background:#70436c!important;color:#fff!important;border-color:#70436c!important;box-shadow:0 4px 10px rgba(112,67,108,.10)!important}
.mm-v210 .mm-onboarding-actions>button:last-child{min-width:150px!important}
@media(max-width:380px){.mm-v210 .mm-time-chip strong{font-size:11px!important}.mm-v210 .mm-time-chip small{font-size:8.8px!important}.mm-v210 .mm-cuisine-chip{padding:7px 10px!important;font-size:11.5px!important}}
@media(max-height:760px){.mm-v210 .mm-onboarding-setup-title{font-size:23px!important}.mm-v210 .mm-onboarding-setup-copy{font-size:12px!important;margin-bottom:8px!important}.mm-v210 .mm-onboarding-setup-section{margin-bottom:8px!important}.mm-v210 .mm-time-chip{min-height:52px!important}.mm-v210 .mm-time-chip .mm-time-icon{font-size:14px}.mm-v210 .mm-cuisine-chip{padding:6px 9px!important;font-size:11px!important}.mm-v210 .mm-setup-hint{display:inline;margin-left:4px}}


/* ============================================================
   V211 — finition icônes et équilibre onboarding
   ============================================================ */
.mm-v211 .mm-time-chip .mm-time-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-bottom:2px!important}
.mm-v211 .mm-time-chip .mm-time-icon i{font-size:18px;line-height:1;font-weight:400}
.mm-v211 .mm-onboarding-setup + .mm-onboarding-dots{margin-top:4px!important}
@media(min-height:800px){.mm-v211 .mm-onboarding-setup + .mm-onboarding-dots{transform:translateY(-6px)}}
@media(max-height:760px){.mm-v211 .mm-time-chip .mm-time-icon{width:17px;height:17px}.mm-v211 .mm-time-chip .mm-time-icon i{font-size:15px}.mm-v211 .mm-onboarding-setup + .mm-onboarding-dots{margin-top:2px!important}}

/* ==========================================================
   V212 — états vides illustrés
   ========================================================== */
.mm-v212 .mm-empty-state{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;background:rgba(255,255,255,.72);border:1px solid rgba(111,64,111,.08);
  border-radius:24px;padding:24px 20px 26px;box-shadow:0 8px 28px rgba(77,48,73,.06);
  min-height:250px;box-sizing:border-box;
}
.mm-v212 .mm-empty-state-image{width:min(220px,72vw);height:170px;object-fit:contain;display:block;margin:0 auto 8px}
.mm-v212 .mm-empty-state-title{font-family:ui-serif,Georgia,serif;color:#3f183f;font-size:22px;line-height:1.12;font-weight:700;margin-bottom:8px}
.mm-v212 .mm-empty-state-description{max-width:390px;color:#8d828d;font-size:13.5px;line-height:1.5;margin:0 auto 16px}
.mm-v212 .mm-empty-state.is-compact{min-height:210px;padding:18px}
.mm-v212 .mm-empty-state.is-compact .mm-empty-state-image{height:130px;width:min(180px,62vw)}
@media(max-width:420px){
  .mm-v212 .mm-empty-state{padding:20px 16px 22px;min-height:230px}
  .mm-v212 .mm-empty-state-image{height:150px;width:min(205px,68vw)}
  .mm-v212 .mm-empty-state-title{font-size:20px}
}


/* V215 — finition des états vides */
.mm-v215 .mm-empty-state{padding-top:20px}
.mm-v215 .mm-empty-state-image{background:transparent;border-radius:0;padding:0;box-sizing:border-box}
.mm-v215 .mm-empty-state button{min-width:190px}
@media(max-width:420px){.mm-v215 .mm-empty-state-image{background:transparent;border-radius:0;padding:0}}

/* ==========================================================
   V216 — Accueil : cartes utiles, recommandations et état du soir
   ========================================================== */
.mm-v216 .mm-home-empty-meal{position:relative;display:grid;grid-template-columns:44px 1fr;gap:11px 12px;align-items:center;background:rgba(255,255,255,.82);border:1px solid rgba(111,64,111,.08);border-radius:22px;padding:16px;box-shadow:0 8px 26px rgba(77,48,73,.055)}
.mm-v216 .mm-home-empty-meal-icon{width:44px;height:44px;border-radius:15px;background:#f3e8f0;color:#70436c;display:flex;align-items:center;justify-content:center}.mm-v216 .mm-home-empty-meal-icon i{font-size:21px}
.mm-v216 .mm-home-empty-meal-copy{min-width:0}.mm-v216 .mm-home-empty-meal-kicker{font-size:10px;letter-spacing:.08em;font-weight:700;color:#9c8f99;text-transform:uppercase;margin-bottom:2px}.mm-v216 .mm-home-empty-meal-title{font-size:14px;font-weight:700;color:#342d33}.mm-v216 .mm-home-empty-meal-text{font-size:11.5px;line-height:1.35;color:#91858e;margin-top:3px}
.mm-v216 .mm-home-empty-meal-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:8px}.mm-v216 .mm-home-empty-meal-action{min-height:44px;border:0;border-radius:14px;background:#70436c;color:#fff;font:inherit;font-size:12px;font-weight:700;padding:10px 12px;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.mm-v216 .mm-home-empty-meal-action.is-secondary{background:#f3e8f0;color:#70436c}.mm-v216 .mm-home-empty-meal-action i{font-size:14px}
.mm-v216 .mm-home-suggestion-card{border:1px solid rgba(111,64,111,.06);transition:transform .15s ease,box-shadow .15s ease}.mm-v216 .mm-home-suggestion-card:active{transform:scale(.985)}.mm-v216 .mm-home-suggestion-photo{height:82px!important}.mm-v216 .mm-home-suggestion-reason{display:flex;align-items:flex-start;gap:4px;color:#8d818a;font-size:10.5px;line-height:1.3;margin-top:5px}.mm-v216 .mm-home-suggestion-reason i{color:#8a5a82;font-size:11px;margin-top:1px;flex-shrink:0}
.mm-v216 .mm-home-utility-row{align-items:stretch}.mm-v216 .mm-home-utility-card{position:relative;flex:1;min-width:0;min-height:112px;background:rgba(255,255,255,.84);border:1px solid rgba(111,64,111,.07);box-shadow:0 8px 24px rgba(77,48,73,.05);border-radius:20px;padding:14px 12px;cursor:pointer;overflow:hidden;display:flex;align-items:flex-start}.mm-v216 .mm-home-utility-copy{position:relative;z-index:2;min-width:0;padding-right:44px}.mm-v216 .mm-home-utility-kicker{font-size:9px;letter-spacing:.09em;font-weight:800;color:#9b8d98;margin-bottom:4px}.mm-v216 .mm-home-utility-status{font-size:11px;line-height:1.25;color:#948891;margin-top:3px}.mm-v216 .mm-home-utility-visual{position:absolute;right:-3px;bottom:3px;width:72px;height:68px;display:flex;align-items:flex-end;justify-content:flex-end;opacity:.96}.mm-v216 .mm-home-utility-visual img{display:block;width:100%;height:100%;object-fit:contain}.mm-v216 .mm-home-utility-arrow{position:absolute;right:9px;top:10px;color:#b4a8b1;font-size:13px;z-index:3}
@media(max-width:380px){.mm-v216 .mm-home-utility-card{min-height:106px;padding:12px 10px}.mm-v216 .mm-home-utility-copy{padding-right:38px}.mm-v216 .mm-home-utility-visual{width:64px;height:61px}.mm-v216 .mm-home-empty-meal{padding:14px}.mm-v216 .mm-home-empty-meal-actions{grid-template-columns:1fr}.mm-v216 .mm-home-suggestion-photo{height:76px!important}}


/* ==========================================================
   V217 — correctif Accueil mobile : garde-fous de mise en page
   ========================================================== */
.mm-v217 .mm-home-empty-meal{box-sizing:border-box;width:100%;overflow:hidden}
.mm-v217 .mm-home-empty-meal-icon{flex:0 0 44px}
.mm-v217 .mm-home-empty-meal-action{width:100%;box-sizing:border-box}
.mm-v217 .mm-home-suggestions{min-width:0}
.mm-v217 .mm-home-suggestion-card{min-width:0;overflow:hidden}
.mm-v217 .mm-home-suggestion-card img.mm-home-suggestion-photo{width:100%!important;height:82px!important;max-width:100%!important;object-fit:cover!important}
.mm-v217 .mm-home-suggestion-reason{font-size:10px;line-height:1.25;color:#8f848c}
.mm-v217 .mm-home-suggestion-reason i{display:none}
.mm-v217 .mm-home-utility-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;width:100%}
.mm-v217 .mm-home-utility-card{width:auto!important;max-width:100%!important;min-width:0!important;height:112px!important;min-height:112px!important;max-height:112px!important;box-sizing:border-box!important;overflow:hidden!important}
.mm-v217 .mm-home-utility-copy{max-width:calc(100% - 44px);padding-right:0!important}
.mm-v217 .mm-home-utility-visual{right:4px!important;bottom:5px!important;width:66px!important;height:62px!important;max-width:66px!important;max-height:62px!important;overflow:hidden!important}
.mm-v217 .mm-home-utility-visual img{display:block!important;width:66px!important;height:62px!important;max-width:66px!important;max-height:62px!important;min-width:0!important;min-height:0!important;object-fit:contain!important;object-position:center!important}
@media(max-width:380px){
  .mm-v217 .mm-home-utility-card{height:106px!important;min-height:106px!important;max-height:106px!important}
  .mm-v217 .mm-home-utility-visual,.mm-v217 .mm-home-utility-visual img{width:58px!important;height:55px!important;max-width:58px!important;max-height:55px!important}
  .mm-v217 .mm-home-suggestion-card img.mm-home-suggestion-photo{height:76px!important}
}


/* ==========================================================
   V218 — finition visuelle légère de l’Accueil
   ========================================================== */

/* Resserre la composition sans changer sa structure. */
.mm-v218 .mm-home{gap:13px!important}
.mm-v218 .mm-home-empty-meal{
  grid-template-columns:40px minmax(0,1fr)!important;
  gap:8px 11px!important;
  padding:13px 14px!important;
  border-radius:20px!important;
  box-shadow:0 6px 20px rgba(77,48,73,.045)!important;
}
.mm-v218 .mm-home-empty-meal-icon{
  width:40px!important;height:40px!important;border-radius:13px!important;
}
.mm-v218 .mm-home-empty-meal-icon i{font-size:19px!important}
.mm-v218 .mm-home-empty-meal-kicker{font-size:9px!important;margin-bottom:1px!important}
.mm-v218 .mm-home-empty-meal-title{font-size:13.5px!important}
.mm-v218 .mm-home-empty-meal-text{font-size:11px!important;margin-top:2px!important}
.mm-v218 .mm-home-empty-meal-action{
  min-height:40px!important;padding:9px 13px!important;border-radius:13px!important;
}

/* Recommandations : un peu plus proches du bloc précédent. */
.mm-v218 .mm-home-suggestions{margin-top:-2px!important}
.mm-v218 .mm-home-suggestion-card{
  border-radius:17px!important;
  box-shadow:0 6px 18px rgba(65,31,67,.045)!important;
}
.mm-v218 .mm-home-suggestion-reason{
  margin-top:4px!important;font-size:9.8px!important;line-height:1.25!important;
}

/* Frigo / Courses : cartes plus éditoriales, plus basses et mieux équilibrées. */
.mm-v218 .mm-home-utility-row{gap:9px!important}
.mm-v218 .mm-home-utility-card{
  height:96px!important;min-height:96px!important;max-height:96px!important;
  padding:12px 12px!important;border-radius:18px!important;
  background:rgba(255,255,255,.88)!important;
  border-color:rgba(111,64,111,.065)!important;
  box-shadow:0 6px 18px rgba(77,48,73,.04)!important;
  transition:transform .14s ease,box-shadow .14s ease,background .14s ease!important;
}
.mm-v218 .mm-home-utility-card:active{
  transform:scale(.975)!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(77,48,73,.055)!important;
}
.mm-v218 .mm-home-utility-copy{
  max-width:calc(100% - 48px)!important;
  padding-top:1px!important;
}
.mm-v218 .mm-home-utility-kicker{
  font-size:8.5px!important;letter-spacing:.085em!important;margin-bottom:3px!important;
}
.mm-v218 .mm-home-utility-status{
  font-size:10.5px!important;line-height:1.2!important;margin-top:2px!important;
}
.mm-v218 .mm-home-utility-visual{
  right:7px!important;bottom:7px!important;
  width:54px!important;height:52px!important;max-width:54px!important;max-height:52px!important;
  background:transparent!important;
}
.mm-v218 .mm-home-utility-visual img{
  width:54px!important;height:52px!important;max-width:54px!important;max-height:52px!important;
  object-fit:contain!important;object-position:center bottom!important;
  background:transparent!important;border-radius:0!important;
}
.mm-v218 .mm-home-utility-arrow{
  right:9px!important;top:9px!important;font-size:11px!important;color:#c2b7bf!important;
}

/* Le frigo est visuellement plus haut que le sac : compensation optique. */
.mm-v218 .mm-home-utility-card:first-child .mm-home-utility-visual img{
  transform:scale(.92)!important;transform-origin:center bottom!important;
}
.mm-v218 .mm-home-utility-card:nth-child(2) .mm-home-utility-visual img{
  transform:scale(.98)!important;transform-origin:center bottom!important;
}

@media(max-width:380px){
  .mm-v218 .mm-home{gap:12px!important}
  .mm-v218 .mm-home-utility-card{
    height:92px!important;min-height:92px!important;max-height:92px!important;
    padding:11px 10px!important;
  }
  .mm-v218 .mm-home-utility-visual,
  .mm-v218 .mm-home-utility-visual img{
    width:50px!important;height:48px!important;max-width:50px!important;max-height:48px!important;
  }
}

/* v377 — cartes repas compactes de la vue Menus : dimensions stables quelle que soit la photo source */
.mm-week-meal-row{display:grid;grid-template-columns:112px minmax(0,1fr) 38px;gap:12px;align-items:stretch;padding:12px}
.mm-week-meal-thumb{width:112px;height:112px;min-width:112px;overflow:hidden;border-radius:14px;cursor:pointer}
.mm-week-meal-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.mm-week-meal-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;cursor:pointer}
.mm-week-meal-moment{font-size:11px;color:#91878d;margin-bottom:3px}
.mm-week-meal-name{font-size:16px;font-weight:750;line-height:1.2;color:#332b30}
.mm-week-meal-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:7px;font-size:11.5px;color:#746b71}
.mm-week-meal-meta span{display:inline-flex;align-items:center;gap:4px}
.mm-week-meal-insight,.mm-week-meal-leftovers{margin-top:6px;font-size:11.5px;line-height:1.25;color:#6b526d}
.mm-week-meal-insight{display:flex;align-items:center;gap:5px}
.mm-week-meal-side{display:flex;flex-direction:column;align-items:center;gap:7px}
.mm-week-heart,.mm-week-more{width:34px;height:34px;border:0;border-radius:11px;background:#f7f2f7;color:#6b526d;display:flex;align-items:center;justify-content:center;cursor:pointer}
@media(max-width:420px){.mm-week-meal-row{grid-template-columns:96px minmax(0,1fr) 34px;gap:9px;padding:10px}.mm-week-meal-thumb{width:96px;height:96px;min-width:96px}}

/* v378 — actions des repas plus compactes dans Mes menus */
.mm-week-meal-footer{display:flex;align-items:center;gap:8px;padding:0 12px 12px}
.mm-week-eaten{flex:1;min-height:42px;border:0;border-radius:13px;background:#68416a;color:#fff;font-weight:750;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}
.mm-week-eaten.is-done{background:#5f8a5a}
.mm-week-defrost{flex:0 0 42px;width:42px;height:42px;border:1px solid #e7dce6;border-radius:13px;background:#faf7fa;color:#8b8087;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.mm-week-defrost.is-planned{flex:0 1 auto;width:auto;padding:0 12px;border-color:rgba(95,138,90,.35);background:rgba(95,138,90,.12);color:#5f8a5a;font-weight:650}
.mm-week-defrost i{font-size:17px}.mm-week-defrost span{font-size:11px;white-space:nowrap}

/* v378 — actions des cartes Menus plus compactes */
.mm-week-meal-footer{display:flex;align-items:center;gap:8px;padding:0 12px 12px}
.mm-week-eaten{flex:1;min-height:42px;border:0;border-radius:13px;background:#68436b;color:#fff;font-weight:750;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}
.mm-week-eaten.is-done{background:#5f8a5a}
.mm-week-defrost{flex:0 0 auto;min-height:42px;padding:0 12px;border:1px solid #ded2de;border-radius:13px;background:#faf7fa;color:#746b71;font-weight:650;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.mm-week-defrost.is-planned{border-color:rgba(95,138,90,.35);background:rgba(95,138,90,.12);color:#5f8a5a}

/* v381 — les actions Menus restent empilées : aucune collision de libellés sur mobile */
.mm-week-meal-footer{display:grid;grid-template-columns:1fr;gap:8px;padding:0 12px 12px}
.mm-week-eaten,.mm-week-defrost{width:100%;min-width:0}
.mm-week-defrost{min-height:40px;padding:0 12px;white-space:normal;text-align:center}

/* v392 — actions de la carte Aujourd'hui, sans dépendance aux anciens correctifs */
.mm-home-meal-actions{display:flex;flex-direction:column;gap:9px;width:100%;min-width:0}
.mm-home-meal-actions .mm-home-eaten{display:flex;width:100%;min-height:43px;box-sizing:border-box;align-items:center;justify-content:center;gap:7px;margin:0;padding:9px 14px;border:0;border-radius:14px;background:#68436b;color:#fff;font-weight:750;line-height:1.2;cursor:pointer}
.mm-home-meal-actions .mm-home-eaten.is-done{background:#5f8a5a}
.mm-home-meal-actions>button:last-child{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;margin:0!important;white-space:normal!important}


/* v393 — correctif mobile : action de décongélation dans la carte Aujourd'hui */
.mm-home-meal-actions > button:last-child{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:44px!important;
  padding:10px 14px!important;
  border-radius:14px!important;
  line-height:1.2!important;
  text-align:center!important;
  overflow:hidden!important;
}
.mm-home-meal-actions > button:last-child i{flex:0 0 auto}
@media(max-width:420px){
  .mm-home-meal-actions > button:last-child{
    font-size:13px!important;
    white-space:nowrap!important;
  }
}


/* v394 — bouton décongélation dédié Aujourd'hui : robuste sur iPhone/PWA */
.mm-home-meal-actions .mm-home-defrost{
  appearance:none;
  -webkit-appearance:none;
  display:flex;
  width:100%;
  min-width:0;
  min-height:44px;
  box-sizing:border-box;
  margin:0;
  padding:10px 14px;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid #ded2de;
  border-radius:14px;
  background:#faf7fa;
  color:#68436b;
  font:650 13.5px/1.2 ui-sans-serif,system-ui,-apple-system,sans-serif;
  text-align:center;
  cursor:pointer;
  overflow:hidden;
}
.mm-home-meal-actions .mm-home-defrost i{flex:0 0 auto;font-size:16px}
.mm-home-meal-actions .mm-home-defrost span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.mm-home-meal-actions .mm-home-defrost.is-planned{
  border-color:rgba(95,138,90,.35);
  background:rgba(95,138,90,.12);
  color:#5f8a5a;
}
@media(max-width:420px){
  .mm-home-meal-actions .mm-home-defrost{font-size:13px;padding-inline:10px}
}


/* V614 — TABLETTE : enrichissements dès 900 px sans basculer trop tôt en desktop.
   Le shell reste contenu jusqu'au vrai breakpoint desktop (1100 px). */
@media(min-width:900px){
  .mm-v191 .mm-main-shell{
    width:100%!important;
    max-width:900px!important;
    padding-left:32px!important;
    padding-right:32px!important;
    padding-bottom:112px!important;
  }
  .mm-v191 .mm-topbar{margin-bottom:24px!important}
  .mm-v191 .mm-bottom-nav{
    width:min(calc(100% - 48px),760px)!important;
    max-width:760px!important;
  }

  .mm-home,.mm-week-screen,.mm-library-screen,.mm-shopping-screen,.mm-fridge-screen{width:100%;margin-left:auto;margin-right:auto}
  .mm-home{max-width:1100px}
  .mm-week-screen{max-width:1040px}
  .mm-library-screen{max-width:1120px}
  .mm-shopping-screen,.mm-fridge-screen{max-width:1040px}
  .mm-settings-screen{width:100%;max-width:860px;margin:0 auto}

  .mm-week-screen .mm-week-days{
    display:grid!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    gap:8px!important;
    overflow:visible!important;
  }
  .mm-week-screen .mm-week-days>div{
    min-width:0!important;
    width:auto!important;
    padding:11px 8px!important;
  }

  .mm-library-screen .mm-recipe-library-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:16px!important;
  }
  .mm-library-screen .mm-recipe-filter-panel{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:9px!important;
  }

  .mm-shopping-screen .mm-fridge-visual-inventory,
  .mm-fridge-screen .mm-fridge-visual-inventory{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px 22px!important;
    align-items:start!important;
  }
  .mm-shopping-screen .mm-fridge-visual-section,
  .mm-fridge-screen .mm-fridge-visual-section{
    min-width:0;
    margin-bottom:16px!important;
  }
  .mm-fridge-screen .mm-fridge-quick-filters{max-width:720px}

  .mm-sheet-overlay,.mm-recipe-detail-overlay,.mm-recipe-picker-overlay,.mm-courses-frigo-sheet-overlay{
    align-items:center!important;
    justify-content:center!important;
    padding:24px!important;
  }
  .mm-bottom-sheet{
    border-radius:24px!important;
    border:1px solid rgba(75,30,63,.08)!important;
    padding:16px 22px 22px!important;
    max-height:min(82vh,760px)!important;
    box-shadow:0 24px 70px rgba(55,43,46,.16)!important;
  }
  .mm-recipe-detail-sheet{
    width:min(880px,100%)!important;
    max-width:880px!important;
    max-height:calc(100vh - 48px)!important;
    border-radius:24px!important;
    overflow:hidden auto!important;
  }
  .mm-recipe-picker-sheet{
    width:min(720px,100%)!important;
    border-radius:24px!important;
    max-height:calc(100vh - 48px)!important;
  }
  .mm-courses-frigo-sheet{
    width:min(560px,100%)!important;
    border-radius:24px!important;
    max-height:calc(100vh - 48px)!important;
    box-shadow:0 24px 70px rgba(55,43,46,.16)!important;
  }

  .mm-fridge-add-form{
    left:50%!important;
    right:auto!important;
    top:50%!important;
    bottom:auto!important;
    width:min(560px,calc(100% - 48px))!important;
    max-width:560px!important;
    transform:translate(-50%,-50%)!important;
    border-radius:24px!important;
    padding:20px!important;
  }
}
@media(min-width:1200px){
  .mm-library-screen .mm-recipe-library-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}


/* ============================================================
   V470 — AUJOURD'HUI SIMPLIFIÉ
   Hiérarchie : repas principal > actions du jour > états Courses/Frigo.
============================================================ */
.mm-v218 .mm-home{gap:18px!important}
.mm-v218 .mm-home-intro{padding-bottom:2px!important}
.mm-v218 .mm-home .mm-meal-hero.is-compact{
  border-radius:22px!important;
  overflow:visible!important;
  box-shadow:0 10px 30px rgba(65,31,67,.075)!important;
}
.mm-v218 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{
  height:230px!important;
  border-radius:22px 22px 0 0!important;
  overflow:visible!important;
}
.mm-v218 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media>img{
  border-radius:22px 22px 0 0!important;
}
.mm-v218 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body{
  padding:17px 18px 18px!important;
  border-radius:0 0 22px 22px!important;
  background:#fff!important;
}
.mm-home-defrost-badge{
  position:absolute;top:14px;left:14px;z-index:3;
  display:inline-flex;align-items:center;gap:6px;
  min-height:34px;padding:0 12px;border-radius:999px;
  background:rgba(238,246,255,.96);color:#345f8b;
  box-shadow:0 4px 14px rgba(45,80,115,.10);
  font-size:12px;font-weight:750;
}
.mm-home-defrost-badge i{font-size:16px}
.mm-home-meal-more{
  position:absolute;top:14px;right:14px;z-index:5;
  width:38px;height:38px;border:0;border-radius:50%;
  background:rgba(255,255,255,.95);color:#5d3a59;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 14px rgba(55,43,46,.12);cursor:pointer;
}
.mm-home-meal-more i{font-size:20px}
.mm-home-meal-menu{
  position:absolute;top:58px;right:14px;z-index:20;
  width:min(240px,calc(100% - 28px));padding:7px;
  border:1px solid rgba(75,30,63,.08);border-radius:16px;
  background:#fff;box-shadow:0 16px 38px rgba(55,43,46,.16);
}
.mm-home-meal-menu button{
  width:100%;min-height:42px;border:0;border-radius:11px;
  background:transparent;color:#4a3f45;padding:8px 10px;
  display:flex;align-items:center;gap:9px;text-align:left;
  font-size:12px;cursor:pointer;
}
.mm-home-meal-menu button:hover{background:#f8f3f6}
.mm-home-meal-menu button i{width:18px;color:#6b3f66;font-size:16px}
.mm-home-meal-title{
  font-family:var(--mm-display),Georgia,serif;
  color:#35182f;font-size:25px;line-height:1.08;font-weight:700;
  letter-spacing:-.035em;margin-bottom:9px;
}
.mm-home-meal-meta{
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  color:#7d7378;font-size:12.5px;margin-bottom:16px;
}
.mm-home-meal-meta span{display:inline-flex;align-items:center;gap:5px}
.mm-home-meal-meta i{font-size:16px}
.mm-home-primary-actions{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px;align-items:stretch;
}
.mm-home-primary-actions>button,
.mm-home-primary-actions>div button{min-height:48px!important}
.mm-home-primary-actions .mm-home-eaten{
  width:100%;min-width:0;min-height:48px;border:1.5px solid #6b315b;
  border-radius:15px;background:#fff;color:#5b264e;
  display:flex;align-items:center;justify-content:center;gap:7px;
  padding:9px 12px;font-size:12.5px;font-weight:750;cursor:pointer;
}
.mm-home-primary-actions .mm-home-eaten.is-done{
  border-color:#6d8b68;background:#edf5eb;color:#5f7c5b;
}
.mm-home-personalization-wrap{
  margin-top:12px;padding-top:12px;border-top:1px solid rgba(75,30,63,.08);
}
.mm-home-personalization-close{
  width:100%;min-height:40px;margin-top:8px;border:0;border-radius:12px;
  background:#f5f0eb;color:#6f5f68;font-size:11.5px;cursor:pointer;
}

.mm-home-section-heading{
  display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;
}
.mm-home-section-heading>span{
  font-family:var(--mm-display),Georgia,serif;color:#35182f;
  font-size:22px;font-weight:700;letter-spacing:-.025em;
}
.mm-home-task-list{
  overflow:hidden;border:1px solid rgba(75,30,63,.065);
  border-radius:18px;background:#fff;box-shadow:0 6px 20px rgba(55,43,46,.045);
}
.mm-home-task{
  width:100%;min-height:64px;border:0;border-bottom:1px solid rgba(75,30,63,.065);
  background:#fff;padding:10px 13px;display:grid;
  grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;gap:10px;
  color:#3f343a;text-align:left;cursor:pointer;
}
.mm-home-task:last-child{border-bottom:0}
.mm-home-task-icon{
  width:42px;height:42px;border-radius:13px;display:flex;
  align-items:center;justify-content:center;background:#f3eaf1;color:#6f3e68;
}
.mm-home-task.is-blue .mm-home-task-icon{background:#eaf3ff;color:#356b9a}
.mm-home-task.is-plum .mm-home-task-icon{background:#f5e7f0;color:#7a2f64}
.mm-home-task.is-peach .mm-home-task-icon{background:#fff0e9;color:#a95f43}
.mm-home-task.is-ready{cursor:default;grid-template-columns:42px minmax(0,1fr)}
.mm-home-task.is-ready .mm-home-task-icon{background:#edf5eb;color:#68825f}
.mm-home-task-label{font-size:13px;font-weight:650;line-height:1.35}
.mm-home-task-arrow{color:#aaa0a5;font-size:16px}

.mm-home-quick-status{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;
}
.mm-home-status-card{
  min-width:0;min-height:88px;border:1px solid rgba(75,30,63,.065);
  border-radius:18px;background:#fff;padding:12px;
  display:grid;grid-template-columns:40px minmax(0,1fr) 16px;
  align-items:center;gap:9px;text-align:left;color:#3c3137;
  box-shadow:0 6px 20px rgba(55,43,46,.045);cursor:pointer;
}
.mm-home-status-icon{
  width:40px;height:40px;border-radius:12px;background:#f2eaf0;color:#6d3d65;
  display:flex;align-items:center;justify-content:center;
}
.mm-home-status-icon i{font-size:19px}
.mm-home-status-copy{display:flex;flex-direction:column;min-width:0;gap:3px}
.mm-home-status-title{
  display:flex;align-items:center;gap:6px;font-family:var(--mm-display),Georgia,serif;
  font-size:16px;font-weight:700;color:#43203a;white-space:nowrap;
}
.mm-home-status-title b{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:22px;height:22px;padding:0 6px;border-radius:999px;
  background:#6f2b5d;color:#fff;font:700 10px/1 ui-sans-serif,system-ui;
}
.mm-home-status-title b.is-peach{background:#f2b8a0;color:#663a2d}
.mm-home-status-subtitle{
  font-size:10.5px;line-height:1.25;color:#93878d;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.mm-home-status-card>i{color:#afa5aa;font-size:15px}

.mm-home-change-banner{
  position:relative;overflow:hidden;width:100%;min-height:78px;border:0;
  border-radius:18px;background:linear-gradient(110deg,#f4e9f1 0%,#f8eef2 100%);
  color:#4c3042;padding:13px 14px;display:grid;
  grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;
  text-align:left;cursor:pointer;
}
.mm-home-change-icon{
  width:40px;height:40px;border-radius:13px;background:rgba(255,255,255,.72);
  display:flex;align-items:center;justify-content:center;color:#6c315d;
}
.mm-home-change-icon i{font-size:20px}
.mm-home-change-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.mm-home-change-copy strong{
  font-family:var(--mm-display),Georgia,serif;font-size:16px;color:#4a203e;
}
.mm-home-change-copy small{font-size:10.5px;color:#91818a}
.mm-home-change-link{
  display:inline-flex;align-items:center;gap:5px;color:#6f315d;
  font-size:11.5px;font-weight:750;white-space:nowrap;
}

@media(max-width:430px){
  .mm-v218 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{height:210px!important}
  .mm-home-meal-title{font-size:23px}
  .mm-home-primary-actions{gap:8px}
  .mm-home-primary-actions .mm-home-eaten{font-size:11.5px;padding-inline:8px}
  .mm-home-status-card{grid-template-columns:36px minmax(0,1fr) 14px;padding:10px;gap:7px}
  .mm-home-status-icon{width:36px;height:36px}
  .mm-home-status-title{font-size:15px}
  .mm-home-change-banner{grid-template-columns:36px minmax(0,1fr);padding:12px}
  .mm-home-change-icon{width:36px;height:36px}
  .mm-home-change-link{grid-column:2;margin-top:1px}
}
@media(max-width:365px){
  .mm-home-primary-actions{grid-template-columns:1fr}
  .mm-home-quick-status{grid-template-columns:1fr}
}
@media(min-width:900px) and (max-width:1099px){
  .mm-v218 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{min-height:320px!important}
  .mm-home-task-list,.mm-home-quick-status,.mm-home-change-banner{max-width:760px}
}


/* V472 — AFFINAGE MOBILE AUJOURD'HUI : plus compact, sans doublons Courses/Frigo. */
@media(max-width:759px){
  .mm-v218 .mm-home{gap:14px!important}
  .mm-v218 .mm-home-intro{padding-bottom:0!important}
  .mm-v218 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{height:182px!important;min-height:0!important}
  .mm-v218 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-body{padding:13px 15px 14px!important}
  .mm-home-meal-title{font-size:21.5px!important;line-height:1.05!important;margin-bottom:7px!important}
  .mm-home-meal-meta{gap:12px!important;font-size:11.5px!important;margin-bottom:11px!important}
  .mm-home-meal-meta i{font-size:14px!important}
  .mm-home-primary-actions{gap:8px!important}
  .mm-home-primary-actions>button,.mm-home-primary-actions>div button,.mm-home-primary-actions .mm-home-eaten{min-height:43px!important;height:auto!important;border-radius:14px!important}
  .mm-home-primary-actions .mm-home-eaten{padding:7px 8px!important;font-size:11.2px!important}
  .mm-home-section-heading{margin-bottom:7px!important}
  .mm-home-section-heading>span{font-size:20px!important}
  .mm-home-task{min-height:54px!important;padding:7px 11px!important;grid-template-columns:36px minmax(0,1fr) 18px!important;gap:8px!important}
  .mm-home-task-icon{width:36px!important;height:36px!important;border-radius:11px!important}
  .mm-home-task-label{font-size:12px!important}
  .mm-home-quick-status{gap:8px!important}
  .mm-home-status-card{min-height:72px!important;grid-template-columns:34px minmax(0,1fr) 13px!important;gap:7px!important;padding:9px!important;border-radius:16px!important}
  .mm-home-status-icon{width:34px!important;height:34px!important;border-radius:11px!important}
  .mm-home-status-icon i{font-size:17px!important}
  .mm-home-status-title{font-size:14.5px!important;gap:5px!important}
  .mm-home-status-title b{min-width:20px!important;height:20px!important;padding:0 5px!important;font-size:9px!important}
  .mm-home-status-subtitle{font-size:9.8px!important;line-height:1.2!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
  .mm-home-change-banner{min-height:66px!important;grid-template-columns:34px minmax(0,1fr) auto!important;gap:8px!important;padding:10px 11px!important;border-radius:16px!important}
  .mm-home-change-icon{width:34px!important;height:34px!important;border-radius:11px!important}
  .mm-home-change-icon i{font-size:18px!important}
  .mm-home-change-copy strong{font-size:14.5px!important}
  .mm-home-change-copy small{font-size:9.8px!important}
  .mm-home-change-link{grid-column:auto!important;margin-top:0!important;font-size:10.5px!important}
}
@media(max-width:390px){
  .mm-v218 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{height:174px!important}
}
@media(max-width:365px){
  .mm-v218 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{height:166px!important}
  .mm-home-primary-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .mm-home-quick-status{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .mm-home-change-banner{grid-template-columns:32px minmax(0,1fr)!important}
  .mm-home-change-link{grid-column:2!important;margin-top:1px!important}
}

/* V474 — MENUS : un seul flux, hiérarchie visuelle premium et cartes repas allégées. */
.mm-week-screen{padding-bottom:8px}
.mm-week-heading{margin-bottom:12px}
.mm-week-heading>div:first-child{
  font-family:var(--mm-display),Georgia,serif;
  color:#35182f;font-size:30px;line-height:1.05;font-weight:700;letter-spacing:-.04em;
}
.mm-week-heading>div:last-child{margin-top:6px;color:#8e8188;font-size:13px}

.mm-week-stats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 13px}
.mm-week-stats>span{
  min-height:34px;padding:0 12px;border-radius:999px;
  display:inline-flex;align-items:center;gap:6px;
  font-size:11px;font-weight:650;color:#69405f;background:#f3ebf1;
}
.mm-week-stats>span i{font-size:15px}
.mm-week-stats>span strong{font-size:12px}
.mm-week-stats .is-pleasure{background:#faedf3;color:#9b3f70}
.mm-week-stats .is-leftovers{background:#edf4ea;color:#5d7c58}

.mm-week-nav-premium{
  display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px 44px;
  align-items:center!important;gap:2px!important;
  min-height:58px;margin-bottom:11px!important;padding:5px 7px!important;
  border-radius:22px!important;background:#fff!important;
  box-shadow:0 6px 22px rgba(65,31,67,.055)!important;
}
.mm-week-nav-premium>button{
  width:42px;height:42px;border:0;border-radius:13px;background:transparent;
  color:#63365e;display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.mm-week-nav-premium>button i{font-size:20px}
.mm-week-nav-label{
  min-width:0;text-align:center;font-family:var(--mm-display),Georgia,serif;
  font-size:16px;color:#3f2638;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.mm-week-nav-premium .mm-week-share{border-left:1px solid #eee5eb;border-radius:0!important}
.mm-week-actions-bar{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.9fr);gap:9px;margin:0 0 13px}
.mm-week-actions-bar button{
  min-height:48px;border-radius:17px;padding:9px 12px;
  display:flex;align-items:center;justify-content:center;gap:7px;
  font-size:12.5px;font-weight:800;cursor:pointer;
}
.mm-week-generate-primary{border:0;background:#68436b;color:#fff;box-shadow:0 7px 18px rgba(104,67,107,.13)}
.mm-week-courses-secondary{border:1px solid #e7dce5;background:#fff;color:#592f52}
.mm-week-actions-bar i{font-size:17px}

.mm-week-days{
  display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:5px!important;overflow:visible!important;padding:0!important;margin:0 0 30px!important;
}
.mm-week-day-chip{
  position:relative;min-width:0;min-height:61px;padding:7px 2px;
  border:0;border-radius:16px;background:#fff;color:#4a4146;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  box-shadow:0 4px 14px rgba(65,31,67,.035);cursor:pointer;
}
.mm-week-day-label{font-size:9px;font-weight:700;color:#a49a9f;text-transform:uppercase}
.mm-week-day-number{font-size:15px;font-weight:800;color:#302b2e}
.mm-week-day-chip.is-active{background:#68436b;color:#fff}
.mm-week-day-chip.is-active .mm-week-day-label{color:rgba(255,255,255,.75)}
.mm-week-day-chip.is-active .mm-week-day-number{color:#fff}
.mm-week-day-today{
  position:absolute;top:calc(100% + 5px);left:50%;transform:translateX(-50%);
  color:#775570;font-size:8.5px;white-space:nowrap;font-weight:650;
}
.mm-week-day-chip.is-active.is-today:after{
  content:"";position:absolute;bottom:5px;width:4px;height:4px;border-radius:50%;background:#fff;
}
.mm-week-day-title{
  margin:0 0 11px!important;
  font-family:var(--mm-display),Georgia,serif;
  color:#35182f;font-size:23px;line-height:1.08;font-weight:700;
  letter-spacing:-.025em;text-transform:capitalize;
}

.mm-week-meal-compact{
  background:#fff!important;border-radius:20px!important;
  box-shadow:0 7px 24px rgba(65,31,67,.05)!important;overflow:hidden!important;
}
.mm-week-meal-row{
  display:grid!important;grid-template-columns:112px minmax(0,1fr) 38px!important;
  gap:11px!important;align-items:start!important;padding:12px 12px 9px!important;
}
.mm-week-meal-thumb{
  width:112px!important;height:112px!important;min-width:112px!important;
  overflow:hidden;border-radius:15px!important;cursor:pointer;
}
.mm-week-meal-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.mm-week-meal-copy{min-width:0;display:flex;flex-direction:column;justify-content:flex-start;cursor:pointer;padding-top:2px}
.mm-week-meal-moment{font-size:10.5px;color:#8f7a89;margin-bottom:3px}
.mm-week-meal-name{
  font-family:var(--mm-display),Georgia,serif;
  font-size:19px!important;font-weight:700!important;line-height:1.08!important;color:#35182f!important;
}
.mm-week-meal-meta{display:flex;gap:11px;flex-wrap:wrap;margin-top:7px!important;font-size:11.5px!important;color:#756c71}
.mm-week-meal-meta span{display:inline-flex;align-items:center;gap:4px}
.mm-week-meal-meta i{font-size:15px}
.mm-week-meal-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.mm-week-meal-badge{
  max-width:100%;min-height:26px;padding:4px 8px;border-radius:999px;
  display:inline-flex;align-items:center;gap:5px;
  font-size:9.7px;line-height:1.15;font-weight:650;color:#6f4d68;background:#f5edf3;
}
.mm-week-meal-badge i{flex:0 0 auto;font-size:13px}
.mm-week-meal-badge.is-defrost{background:#edf4ea;color:#5e815a}
.mm-week-meal-badge.is-leftovers{background:#eef5ec;color:#5a7a56}
.mm-week-meal-side{display:flex;flex-direction:column;align-items:center;gap:7px}
.mm-week-heart,.mm-week-more{
  width:36px!important;height:36px!important;border:0;border-radius:12px!important;
  background:#f8f3f7!important;color:#74446d!important;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.mm-week-heart i,.mm-week-more i{font-size:18px}
.mm-week-meal-footer{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:8px!important;padding:0 12px 12px!important;
}
.mm-week-recipe,.mm-week-eaten{
  width:100%!important;min-width:0!important;min-height:43px!important;
  border-radius:14px!important;padding:7px 9px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  font-size:11.5px!important;font-weight:800!important;line-height:1.15!important;text-align:center;cursor:pointer;
}
.mm-week-recipe{border:0;background:#68436b;color:#fff}
.mm-week-eaten{border:1.5px solid #7a4a71!important;background:#fff!important;color:#5d3155!important}
.mm-week-eaten.is-done{border-color:#6d8b68!important;background:#edf5eb!important;color:#5f7c5b!important}
.mm-week-recipe i,.mm-week-eaten i{font-size:16px}

.mm-week-meal-actions{
  margin:0 12px 12px;padding:6px;border:1px solid #eee4eb;
  border-radius:15px;background:#fcfafb;display:grid;gap:2px;
}
.mm-week-meal-actions button{
  min-height:39px;border:0;border-radius:10px;background:transparent;color:#493c44;
  padding:7px 9px;display:flex;align-items:center;gap:9px;text-align:left;
  font-size:11px;font-weight:650;cursor:pointer;
}
.mm-week-meal-actions button:hover{background:#f4edf2}
.mm-week-meal-actions button i{width:18px;color:#714368;font-size:15px}
.mm-week-personalization-wrap{margin:0 12px 12px;padding:10px;border-top:1px solid #eee4eb}

@media(max-width:420px){
  .mm-week-heading>div:first-child{font-size:28px}
  .mm-week-stats{gap:6px}
  .mm-week-stats>span{padding:0 9px;font-size:9.8px}
  .mm-week-nav-premium{grid-template-columns:40px minmax(0,1fr) 40px 40px;min-height:54px}
  .mm-week-nav-premium>button{width:38px;height:38px}
  .mm-week-nav-label{font-size:14.5px}
  .mm-week-actions-bar{grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr);gap:7px}
  .mm-week-actions-bar button{min-height:44px;font-size:11.2px;padding:7px}
  .mm-week-days{gap:4px!important;margin-bottom:29px!important}
  .mm-week-day-chip{min-height:57px;border-radius:14px;padding:6px 1px}
  .mm-week-day-label{font-size:8px}.mm-week-day-number{font-size:14px}
  .mm-week-day-title{font-size:21px}
  .mm-week-meal-row{grid-template-columns:100px minmax(0,1fr) 35px!important;gap:9px!important;padding:10px 10px 8px!important}
  .mm-week-meal-thumb{width:100px!important;height:100px!important;min-width:100px!important}
  .mm-week-meal-name{font-size:17.5px!important}
  .mm-week-meal-meta{font-size:10.5px!important;gap:8px!important;margin-top:6px!important}
  .mm-week-meal-badge{font-size:9px;padding:4px 7px}
  .mm-week-heart,.mm-week-more{width:34px!important;height:34px!important}
  .mm-week-meal-footer{padding:0 10px 10px!important;gap:7px!important}
  .mm-week-recipe,.mm-week-eaten{min-height:41px!important;font-size:10.6px!important;padding-inline:6px!important}
}
@media(max-width:365px){
  .mm-week-stats>span{padding:0 8px;font-size:9.2px}
  .mm-week-actions-bar button span{font-size:10px}
  .mm-week-meal-row{grid-template-columns:92px minmax(0,1fr) 34px!important}
  .mm-week-meal-thumb{width:92px!important;height:92px!important;min-width:92px!important}
  .mm-week-meal-name{font-size:16.5px!important}
}
@media(min-width:900px){
  .mm-week-stats{max-width:650px}
  .mm-week-actions-bar{max-width:620px}
  .mm-week-day-title{font-size:26px}
}


/* V475 — FINITIONS MENUS : wording, respiration et micro-typographie mobile. */
.mm-week-day-title{text-transform:none!important}
.mm-week-days{margin-bottom:48px!important}
.mm-week-day-today{top:calc(100% + 6px)!important}
.mm-week-meal-badges{gap:4px!important;margin-top:6px!important}
.mm-week-meal-badge{min-height:23px!important;padding:3px 7px!important;gap:4px!important;font-size:9.2px!important;line-height:1.1!important}
.mm-week-meal-badge i{font-size:12px!important}
.mm-week-meal-footer{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important}
.mm-week-recipe,.mm-week-eaten{min-height:41px!important;font-size:10.3px!important;padding-inline:6px!important;white-space:nowrap!important}
.mm-week-recipe i,.mm-week-eaten i{font-size:15px!important}
@media(max-width:420px){
  .mm-week-days{margin-bottom:46px!important}
  .mm-week-day-today{font-size:8.2px!important}
  .mm-week-meal-badge{font-size:8.7px!important;padding:3px 6px!important}
  .mm-week-recipe,.mm-week-eaten{font-size:9.9px!important}
}
@media(max-width:365px){
  .mm-week-recipe,.mm-week-eaten{font-size:9.2px!important;padding-inline:4px!important}
}


/* V476 — RESPIRATION AUJOURD'HUI : davantage d'air entre le repère du jour courant et le titre. */
.mm-week-day-today{margin-top:1px!important}


/* V477 — AUJOURD'HUI DANS LA PASTILLE : supprime le repère flottant entre les jours et le titre. */
.mm-week-days{margin-bottom:18px!important}
.mm-week-day-chip{min-height:66px!important;padding-top:6px!important;padding-bottom:6px!important}
.mm-week-day-today{
  position:static!important;
  top:auto!important;left:auto!important;
  transform:none!important;
  margin:1px 0 0!important;
  font-size:7px!important;
  line-height:1!important;
  letter-spacing:.04em!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  color:#8c6a83!important;
}
.mm-week-day-chip.is-active .mm-week-day-today{color:rgba(255,255,255,.82)!important}
.mm-week-day-chip.is-active.is-today:after{display:none!important}
.mm-week-day-title{margin-top:0!important;margin-bottom:12px!important}
@media(max-width:420px){
  .mm-week-days{margin-bottom:16px!important}
  .mm-week-day-chip{min-height:64px!important}
  .mm-week-day-today{font-size:6.8px!important}
}


/* ============================================================
   V480 — RESPONSIVE DESKTOP AVANCÉ
   Mobile-first conservé ; à partir de 1100px, Menumia devient
   un vrai espace de travail desktop sans dupliquer l'application.
============================================================ */
@media(min-width:1100px){
  .mm-v218 .mm-home .mm-meal-hero.is-compact .mm-meal-hero-media{min-height:360px!important}
  .mm-home-task-list,.mm-home-quick-status,.mm-home-change-banner{max-width:860px}

  /* Le shell tablette plafonne #root à 900 px. À partir du vrai
     breakpoint desktop, on libère ce parent afin que le workspace V480 puisse
     réellement utiliser sa largeur sans modifier le comportement 760–1099 px. */
  #root{
    width:100%!important;
    max-width:none!important;
    border-left:0!important;
    border-right:0!important;
  }

  .mm-v191 .mm-main-shell{
    width:min(calc(100% - 244px),1280px)!important;
    max-width:1280px!important;
    margin-left:224px!important;
    margin-right:auto!important;
    padding-left:38px!important;
    padding-right:38px!important;
    padding-bottom:54px!important;
  }

  .mm-v191 .mm-bottom-nav{
    left:18px!important;
    right:auto!important;
    top:96px!important;
    bottom:auto!important;
    width:184px!important;
    max-width:184px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:5px!important;
    padding:10px!important;
    border:1px solid rgba(75,30,63,.08)!important;
    border-radius:22px!important;
    background:rgba(255,252,253,.96)!important;
    box-shadow:0 16px 46px rgba(62,31,64,.11)!important;
    backdrop-filter:blur(18px);
  }
  .mm-v191 .mm-bottom-nav .mm-nav-item{
    width:100%!important;
    min-width:0!important;
    min-height:50px!important;
    flex:0 0 auto!important;
    flex-direction:row!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:11px!important;
    padding:0 13px!important;
    border-radius:14px!important;
  }
  .mm-v191 .mm-bottom-nav .mm-nav-item.is-active{
    background:#f3e8f0!important;
  }
  .mm-v191 .mm-bottom-nav .mm-nav-item>span:first-of-type{
    font-size:13px!important;
    font-weight:700!important;
    text-align:left!important;
  }
  .mm-v191 .mm-bottom-nav .mm-nav-item>span:last-child{
    display:none!important;
  }

  .mm-home{
    max-width:1180px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1.5fr) minmax(300px,.72fr)!important;
    column-gap:24px!important;
    align-items:start!important;
  }
  .mm-home-intro{grid-column:1/-1}
  .mm-home-main-meal{
    grid-column:1;
    grid-row:2 / span 4;
    min-width:0;
  }
  .mm-home-tasks,
  .mm-home-quick-status,
  .mm-home-change-banner{
    grid-column:2;
    min-width:0;
  }
  .mm-home-quick-status{
    grid-template-columns:1fr!important;
  }
  .mm-home-change-banner{
    grid-template-columns:40px minmax(0,1fr)!important;
  }
  .mm-home-change-link{
    grid-column:2;
    justify-self:start;
    margin-top:2px;
  }

  .mm-week-screen{max-width:1180px!important}
  .mm-week-day-slots{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;
    align-items:start!important;
  }
  .mm-week-day-slots>div{min-width:0}
  .mm-week-day-slots>div:only-child{
    grid-column:1/-1;
    width:min(100%,620px);
  }
  .mm-week-overview-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:start!important;
  }
  .mm-week-overview-day{
    min-width:0;
    height:100%;
  }

  .mm-library-screen{max-width:1220px!important}

  .mm-settings-screen{
    width:100%!important;
    max-width:1040px!important;
  }
  .mm-settings-hub{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    align-items:start;
  }
  .mm-settings-hub>.mm-secondary-root-header,
  .mm-settings-hub>div:last-child{
    grid-column:1/-1;
  }
  .mm-settings-hub-section{
    margin-top:0!important;
    min-width:0;
  }
  .mm-settings-hub-section.is-admin{
    grid-column:1/-1;
  }
  .mm-settings-hub-item{
    min-height:72px;
  }

  .mm-recipe-detail-sheet{
    width:min(1040px,100%)!important;
    max-width:1040px!important;
  }
  .mm-recipe-detail-body{
    padding:24px 28px 28px!important;
  }
  .mm-recipe-read-layout{
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
    gap:30px;
    align-items:start;
  }
  .mm-recipe-read-primary,
  .mm-recipe-read-secondary{
    min-width:0;
  }
  .mm-recipe-read-primary{
    padding-right:4px;
  }
  .mm-recipe-read-secondary{
    padding-left:24px;
    border-left:1px solid rgba(75,30,63,.08);
  }
  .mm-recipe-editor-pane{padding:20px!important}
  .mm-recipe-unified-editor .mm-natural-ingredients{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .mm-recipe-unified-editor .mm-info-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .mm-account-card-layout .mm-settings-card-plain{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    align-items:start;
    margin-bottom:0!important;
  }
  .mm-account-card-layout .mm-settings-section{
    min-width:0;
    margin-bottom:0!important;
  }
  .mm-account-card-layout .mm-sensitive-actions{
    grid-column:1/-1;
    margin-top:0!important;
  }
  .mm-account-card-layout .mm-settings-card-plain>div:last-child:not(.mm-sensitive-actions){
    min-width:0;
  }

  .mm-admin-layout{
    grid-template-columns:260px minmax(0,1fr)!important;
  }
  .mm-admin-main{
    padding-left:36px!important;
    padding-right:36px!important;
  }
  .mm-admin-main-inner{
    max-width:1180px!important;
  }
  .mm-admin-content{
    padding:20px!important;
  }
}
@media(min-width:1440px){
  .mm-v191 .mm-main-shell{
    margin-left:236px!important;
  }
  .mm-library-screen .mm-recipe-library-grid{
    gap:18px!important;
  }
}


/* ============================================================
   V481 — CORRECTIFS DESKTOP RECETTES + NAVIGATION
   Les styles du catalogue V198 étaient limités au mobile.
============================================================ */
@media(min-width:760px){
  .mm-v198 .mm-library-card{
    min-width:0;height:100%;display:flex;flex-direction:column;background:#fff;
    border:1px solid rgba(78,39,80,.065);border-radius:20px;overflow:hidden;
    box-shadow:0 8px 24px rgba(65,31,67,.06);
  }
  .mm-v198 .mm-library-photo-wrap{
    position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;cursor:pointer;background:#f4edf2;
  }
  .mm-v198 .mm-library-photo{
    width:100%;height:100%;display:block;object-fit:cover;transition:transform .2s ease;
  }
  .mm-v198 .mm-library-card:hover .mm-library-photo{transform:scale(1.018)}
  .mm-v198 .mm-library-heart{
    position:absolute;top:10px;right:10px;width:38px;height:38px;display:grid;place-items:center;
    border:0;border-radius:50%;background:rgba(255,255,255,.95);box-shadow:0 4px 14px rgba(40,20,40,.12);
    color:#684467;font-size:19px;cursor:pointer;padding:0;
  }
  .mm-v198 .mm-library-copy{flex:1;min-width:0;padding:14px 15px 8px;cursor:pointer}
  .mm-v198 .mm-library-copy h3{
    margin:0;font-family:var(--mm-display),Georgia,serif;color:#2f2430;font-size:17px;line-height:1.18;
    letter-spacing:-.02em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
  .mm-v198 .mm-library-meta{
    display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px;color:#8e838b;font-size:11px;
  }
  .mm-v198 .mm-library-meta span{display:inline-flex;align-items:center;gap:4px}
  .mm-v198 .mm-library-meta span:first-child{border:1px solid currentColor;border-radius:999px;padding:3px 7px}
  .mm-v198 .mm-library-meta i{font-size:14px}
  .mm-v198 .mm-library-tags{display:flex;flex-wrap:wrap;gap:5px;min-height:21px;margin-top:7px}
  .mm-v198 .mm-library-tags span{
    border:1px solid #dfc7d6;border-radius:999px;padding:2px 7px;color:#93617a;font-size:9.5px;
  }
  .mm-v198 .mm-library-actions{display:flex;align-items:center;gap:7px;padding:4px 12px 12px}
  .mm-v198 .mm-library-actions button{min-height:38px}
  .mm-v198 .mm-library-week{
    flex:1;border:0;border-radius:999px;background:#f0e7ef;color:#5d3b5e;font-size:11px;font-weight:750;cursor:pointer;
  }
  .mm-v198 .mm-library-week i{margin-right:5px;font-size:15px}
  .mm-v198 .mm-library-more{position:relative}
  .mm-v198 .mm-library-more summary{
    list-style:none;width:38px;height:38px;display:grid;place-items:center;border:1px solid #e7dce4;
    border-radius:50%;background:#fff;color:#745b72;cursor:pointer;
  }
  .mm-v198 .mm-library-more summary::-webkit-details-marker{display:none}
  .mm-v198 .mm-library-more>div{
    position:absolute;right:0;bottom:44px;z-index:30;width:142px;padding:6px;border:1px solid #eee4eb;
    border-radius:12px;background:#fff;box-shadow:0 10px 30px rgba(55,25,55,.18);
  }
  .mm-v198 .mm-library-more>div button{
    width:100%;border:0;border-radius:8px;background:transparent;color:#594a58;padding:8px 9px;text-align:left;
    font-size:11px;cursor:pointer;
  }
  .mm-v198 .mm-library-more>div button:hover{background:#f8f3f6}
  .mm-v198 .mm-library-more>div button i{margin-right:6px}
  .mm-v198 .mm-library-more>div .danger{color:#b84c3c}

  .mm-v1981 .mm-recipe-filter-bar{
    display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-1px 0 10px;
  }
  .mm-v1981 .mm-recipe-filter-toggle,
  .mm-v1981 .mm-recipe-filter-reset{
    min-height:38px;display:inline-flex;align-items:center;gap:7px;border:1px solid #dfd3dc;border-radius:999px;
    background:#fff;color:#5d3b5e;padding:7px 12px;font-size:11.5px;font-weight:700;cursor:pointer;
  }
  .mm-v1981 .mm-recipe-filter-reset{color:#806f79}
  .mm-v1981 .mm-recipe-filter-toggle b{
    min-width:20px;height:20px;display:grid;place-items:center;border-radius:999px;background:#684263;color:#fff;font-size:9px;
  }
  .mm-v1981 .mm-recipe-filter-panel{
    display:grid;padding:10px;margin-bottom:10px;border:1px solid #eee4eb;border-radius:16px;background:rgba(255,255,255,.72);
  }
  .mm-v1981 .mm-recipe-filter-panel select{width:100%!important;max-width:none!important;min-height:38px!important}
  .mm-v1981 .mm-recipe-veg{
    min-height:38px;border:1px solid #dfd3dc;border-radius:999px;background:#fff;color:#746a72;font-size:11px;cursor:pointer;
  }
  .mm-v1981 .mm-recipe-veg.is-active{border-color:#708e68;background:#edf5ea;color:#60815a}
}
@media(min-width:1100px){
  .mm-v191 .mm-bottom-nav{position:fixed!important;transform:none!important;height:auto!important}
}

@media(min-width:760px){.mm-recipe-library-item{height:100%}}


/* ============================================================
   MENUMIA UI V2 — LOT 0 : DESIGN SYSTEM
   Fondation visuelle uniquement. Ces tokens et primitives sont
   volontairement isolés des écrans existants pour éviter toute
   régression fonctionnelle avant leur migration lot par lot.
============================================================ */
:root{
  /* Palette */
  --mm-v2-bg:#FCF8F3;
  --mm-v2-surface:#FFFDFC;
  --mm-v2-surface-soft:#F8EEF2;
  --mm-v2-surface-tint:#F4E5EB;
  --mm-v2-primary:#5A1E46;
  --mm-v2-primary-strong:#421231;
  --mm-v2-primary-mid:#7B2E5A;
  --mm-v2-accent:#B96586;
  --mm-v2-text:#2E1A27;
  --mm-v2-text-muted:#7B6C76;
  --mm-v2-text-faint:#A4979F;
  --mm-v2-line:rgba(90,30,70,.09);

  /* Etats */
  --mm-v2-success:#5E8A67;
  --mm-v2-success-soft:#EDF5EE;
  --mm-v2-warning:#C27A32;
  --mm-v2-warning-soft:#FFF2E4;
  --mm-v2-danger:#B8545E;
  --mm-v2-danger-soft:#FCEBED;
  --mm-v2-info:#587B9E;
  --mm-v2-info-soft:#EDF3F8;

  /* Typographie — pas de nouvelle dépendance CDN dans ce lot */
  --mm-v2-font-display:var(--mm-display,Georgia,"Times New Roman",serif);
  --mm-v2-font-body:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;
  --mm-v2-title-xl:30px;
  --mm-v2-title-lg:24px;
  --mm-v2-title-md:20px;
  --mm-v2-body-lg:15px;
  --mm-v2-body:14px;
  --mm-v2-body-sm:12px;
  --mm-v2-label:11px;

  /* Espacement */
  --mm-v2-space-1:4px;
  --mm-v2-space-2:8px;
  --mm-v2-space-3:12px;
  --mm-v2-space-4:16px;
  --mm-v2-space-5:20px;
  --mm-v2-space-6:24px;
  --mm-v2-space-8:32px;
  --mm-v2-space-10:40px;

  /* Formes */
  --mm-v2-radius-sm:10px;
  --mm-v2-radius-md:14px;
  --mm-v2-radius-lg:18px;
  --mm-v2-radius-xl:22px;
  --mm-v2-radius-pill:999px;

  /* Profondeur */
  --mm-v2-shadow-sm:0 3px 12px rgba(66,18,49,.045);
  --mm-v2-shadow-md:0 8px 24px rgba(66,18,49,.07);
  --mm-v2-shadow-lg:0 16px 42px rgba(66,18,49,.11);

  /* Interaction */
  --mm-v2-focus:0 0 0 3px rgba(123,46,90,.16);
  --mm-v2-tap-min:44px;
  --mm-v2-motion-fast:140ms;
  --mm-v2-motion:220ms;
  --mm-v2-ease:cubic-bezier(.2,.8,.2,1);
}

/* Primitives V2 : non utilisées tant qu'un écran n'est pas migré. */
.mm-ui-v2{
  color:var(--mm-v2-text);
  font-family:var(--mm-v2-font-body);
}

.mm-ui-card{
  background:var(--mm-v2-surface);
  border:1px solid var(--mm-v2-line);
  border-radius:var(--mm-v2-radius-lg);
  box-shadow:var(--mm-v2-shadow-sm);
}

.mm-ui-card--elevated{
  border-color:transparent;
  box-shadow:var(--mm-v2-shadow-md);
}

.mm-ui-panel{
  background:var(--mm-v2-surface-soft);
  border-radius:var(--mm-v2-radius-lg);
}

.mm-ui-section-title{
  margin:0;
  font-family:var(--mm-v2-font-display);
  font-size:var(--mm-v2-title-md);
  line-height:1.12;
  letter-spacing:-.025em;
  color:var(--mm-v2-primary-strong);
}

.mm-ui-section-copy{
  color:var(--mm-v2-text-muted);
  font-size:var(--mm-v2-body-sm);
  line-height:1.45;
}

.mm-ui-button{
  min-height:var(--mm-v2-tap-min);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border-radius:var(--mm-v2-radius-md);
  border:1px solid transparent;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  transition:
    transform var(--mm-v2-motion-fast) var(--mm-v2-ease),
    background var(--mm-v2-motion-fast) var(--mm-v2-ease),
    border-color var(--mm-v2-motion-fast) var(--mm-v2-ease),
    box-shadow var(--mm-v2-motion-fast) var(--mm-v2-ease);
}

.mm-ui-button:active{transform:scale(.98)}
.mm-ui-button:focus-visible{outline:none;box-shadow:var(--mm-v2-focus)}

.mm-ui-button--primary{
  color:#fff;
  background:var(--mm-v2-primary);
  box-shadow:0 6px 18px rgba(90,30,70,.16);
}

.mm-ui-button--primary:hover{background:var(--mm-v2-primary-strong)}

.mm-ui-button--secondary{
  color:var(--mm-v2-primary);
  background:var(--mm-v2-surface-soft);
  border-color:rgba(90,30,70,.08);
}

.mm-ui-button--ghost{
  color:var(--mm-v2-primary);
  background:transparent;
}

.mm-ui-field{
  width:100%;
  min-height:var(--mm-v2-tap-min);
  border:1px solid var(--mm-v2-line);
  border-radius:var(--mm-v2-radius-md);
  background:var(--mm-v2-surface);
  color:var(--mm-v2-text);
  padding:10px 13px;
  box-shadow:none;
}

.mm-ui-field:focus{
  outline:none;
  border-color:rgba(123,46,90,.34);
  box-shadow:var(--mm-v2-focus);
}

.mm-ui-chip{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:6px 11px;
  border:1px solid rgba(90,30,70,.07);
  border-radius:var(--mm-v2-radius-pill);
  background:var(--mm-v2-surface-soft);
  color:var(--mm-v2-text-muted);
  font-size:var(--mm-v2-body-sm);
  font-weight:650;
}

.mm-ui-chip.is-active{
  background:var(--mm-v2-primary);
  border-color:var(--mm-v2-primary);
  color:#fff;
}

.mm-ui-segmented{
  display:flex;
  gap:3px;
  padding:3px;
  border-radius:var(--mm-v2-radius-pill);
  background:var(--mm-v2-surface-soft);
}

.mm-ui-segmented>button{
  min-height:34px;
  flex:1 1 0;
  border:0;
  border-radius:var(--mm-v2-radius-pill);
  background:transparent;
  color:var(--mm-v2-text-muted);
}

.mm-ui-segmented>button.is-active{
  background:var(--mm-v2-primary);
  color:#fff;
  box-shadow:var(--mm-v2-shadow-sm);
}

.mm-ui-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:24px;
  padding:4px 8px;
  border-radius:var(--mm-v2-radius-pill);
  font-size:var(--mm-v2-label);
  font-weight:700;
}

.mm-ui-badge--success{color:var(--mm-v2-success);background:var(--mm-v2-success-soft)}
.mm-ui-badge--warning{color:var(--mm-v2-warning);background:var(--mm-v2-warning-soft)}
.mm-ui-badge--danger{color:var(--mm-v2-danger);background:var(--mm-v2-danger-soft)}
.mm-ui-badge--info{color:var(--mm-v2-info);background:var(--mm-v2-info-soft)}

.mm-ui-icon-button{
  width:var(--mm-v2-tap-min);
  height:var(--mm-v2-tap-min);
  min-width:var(--mm-v2-tap-min);
  min-height:var(--mm-v2-tap-min);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:14px;
  background:var(--mm-v2-surface-soft);
  color:var(--mm-v2-primary);
}

@media(prefers-reduced-motion:reduce){
  .mm-ui-button{transition:none}
  .mm-ui-button:active{transform:none}
}


/* ============================================================
   V219 — prénom dans la personnalisation onboarding
   ============================================================ */
.mm-v219 .mm-onboarding-setup{overflow:auto!important;overscroll-behavior:contain;padding-right:2px!important}
.mm-v219 .mm-onboarding-first-name{margin-bottom:13px!important}
.mm-v219 .mm-onboarding-first-name .mm-onboarding-setup-label{display:block}
.mm-v219 .mm-onboarding-first-name .mm-setup-hint{display:inline;margin-left:4px}
.mm-v219 .mm-onboarding-first-name input{
  width:100%;height:46px;box-sizing:border-box;border:1px solid #e1d5de;border-radius:16px;
  background:rgba(255,255,255,.86);color:#3f2d3a;padding:0 14px;font:600 14px/1.2 ui-sans-serif,system-ui;
  outline:none;box-shadow:0 6px 18px rgba(69,36,63,.04);
}
.mm-v219 .mm-onboarding-first-name input::placeholder{color:#aa9da6;font-weight:500}
.mm-v219 .mm-onboarding-first-name input:focus{border-color:#8a587e;box-shadow:0 0 0 3px rgba(112,67,108,.10)}
@media(max-height:760px){
  .mm-v219 .mm-onboarding-first-name{margin-bottom:8px!important}
  .mm-v219 .mm-onboarding-first-name input{height:40px;border-radius:14px;font-size:13px}
}

/* ============================================================
   V660 — ONBOARDING COMPACT + VISUELS MENUMIA
   Cuisines repliables + illustrations construites avec les
   composants visuels de l'app, sans deux scènes quasi identiques.
============================================================ */
.mm-v206 .mm-onboarding-art-wrap{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.mm-v206 .mm-onboarding-art-wrap.is-welcome{
  flex-basis:40vh!important;
  max-height:340px!important;
}
.mm-v206 .mm-onboarding-art-wrap.is-ready{
  flex-basis:38vh!important;
  max-height:330px!important;
}
.mm-v206 .mm-onboarding-visual{
  position:relative;
  width:min(100%,360px);
  height:100%;
  min-height:240px;
  margin:auto;
  color:var(--mm-prune-text,#3E2A40);
}

/* Écran 1 : univers Menumia / découverte */
.mm-v206 .mm-onboarding-visual-welcome{
  display:grid;
  place-items:center;
}
.mm-v206 .mm-onboarding-welcome-glow{
  position:absolute;
  width:210px;
  height:210px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(117,68,111,.18) 0%,rgba(117,68,111,.07) 52%,rgba(117,68,111,0) 74%);
}
.mm-v206 .mm-onboarding-welcome-mark{
  position:relative;
  z-index:3;
  width:118px;
  height:118px;
  border-radius:34px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#fff 0%,#f5edf2 100%);
  border:1px solid rgba(112,67,108,.10);
  box-shadow:0 18px 42px rgba(74,40,70,.13);
}
.mm-v206 .mm-onboarding-welcome-mark img{
  width:68px;
  height:68px;
  object-fit:contain;
}
.mm-v206 .mm-onboarding-welcome-mark>.ti{
  position:absolute;
  right:-9px;
  top:-8px;
  width:34px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#fff;
  color:#75446f;
  box-shadow:0 7px 18px rgba(74,40,70,.10);
  font-size:17px;
}
.mm-v206 .mm-onboarding-welcome-card{
  position:absolute;
  z-index:4;
  min-width:146px;
  padding:10px 12px;
  border:1px solid rgba(112,67,108,.09);
  border-radius:17px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 28px rgba(62,38,58,.08);
  display:flex;
  align-items:center;
  gap:9px;
  text-align:left;
}
.mm-v206 .mm-onboarding-welcome-card>span{
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:11px;
  display:grid;
  place-items:center;
  background:#f1e7ef;
  color:#70436c;
}
.mm-v206 .mm-onboarding-welcome-card>span .ti{font-size:17px}
.mm-v206 .mm-onboarding-welcome-card strong{
  display:block;
  color:#3b2738;
  font-size:11.5px;
  line-height:1.2;
}
.mm-v206 .mm-onboarding-welcome-card small{
  display:block;
  margin-top:2px;
  color:#948790;
  font-size:8.7px;
  line-height:1.25;
  white-space:nowrap;
}
.mm-v206 .mm-onboarding-welcome-card.is-menu{left:2px;top:13%}
.mm-v206 .mm-onboarding-welcome-card.is-recipes{right:0;top:24%}
.mm-v206 .mm-onboarding-welcome-card.is-fridge{left:18px;bottom:12%}

/* Écran 3 : validation / semaine prête — volontairement très différent du welcome */
.mm-v206 .mm-onboarding-visual-ready{
  display:flex;
  align-items:center;
  justify-content:center;
}
.mm-v206 .mm-onboarding-ready-card{
  position:relative;
  z-index:2;
  width:min(86%,290px);
  border-radius:24px;
  padding:15px;
  background:#fff;
  border:1px solid rgba(112,67,108,.10);
  box-shadow:0 18px 42px rgba(62,38,58,.11);
  transform:rotate(-2deg);
}
.mm-v206 .mm-onboarding-ready-head{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 24px;
  align-items:center;
  gap:9px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(112,67,108,.08);
}
.mm-v206 .mm-onboarding-ready-head>span{
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#f1e7ef;
  color:#70436c;
}
.mm-v206 .mm-onboarding-ready-head strong{
  display:block;
  color:#3b2738;
  font-size:12.5px;
}
.mm-v206 .mm-onboarding-ready-head small{
  display:block;
  margin-top:2px;
  color:#978a93;
  font-size:9.5px;
}
.mm-v206 .mm-onboarding-ready-head>.ti{
  color:#73806A;
  font-size:21px;
}
.mm-v206 .mm-onboarding-ready-days{
  display:grid;
  gap:8px;
  margin-top:12px;
}
.mm-v206 .mm-onboarding-ready-day{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) 22px;
  align-items:center;
  gap:8px;
  min-height:31px;
}
.mm-v206 .mm-onboarding-ready-day>span:first-child{
  color:#756e71;
  font-size:9.5px;
  font-weight:750;
}
.mm-v206 .mm-onboarding-ready-meal{
  height:22px;
  border-radius:8px;
  background:linear-gradient(90deg,#f1e4ee,#f6eff4);
}
.mm-v206 .mm-onboarding-ready-meal.is-2{width:82%}
.mm-v206 .mm-onboarding-ready-meal.is-3{width:91%}
.mm-v206 .mm-onboarding-ready-meal.is-4{width:74%}
.mm-v206 .mm-onboarding-ready-day>.ti{
  color:#73806A;
  font-size:14px;
}
.mm-v206 .mm-onboarding-ready-chip{
  position:absolute;
  z-index:4;
  min-height:38px;
  padding:8px 11px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(112,67,108,.09);
  box-shadow:0 9px 24px rgba(62,38,58,.09);
  display:flex;
  align-items:center;
  gap:7px;
  color:#5d4558;
  font-size:9.8px;
  font-weight:750;
}
.mm-v206 .mm-onboarding-ready-chip .ti{font-size:15px;color:#70436c}
.mm-v206 .mm-onboarding-ready-chip.is-shopping{right:0;top:16%}
.mm-v206 .mm-onboarding-ready-chip.is-fridge{left:0;bottom:17%}
.mm-v206 .mm-onboarding-ready-check{
  position:absolute;
  z-index:5;
  right:26px;
  bottom:9%;
  width:52px;
  height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#73806A;
  color:#fff;
  box-shadow:0 12px 24px rgba(74,90,69,.18);
  transform:rotate(4deg);
}
.mm-v206 .mm-onboarding-ready-check .ti{font-size:26px}

/* Étape préférences : tutoiement + liste courte au premier regard */
.mm-v210 .mm-onboarding-setup{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:none;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.mm-v210 .mm-onboarding-setup::-webkit-scrollbar{display:none}
.mm-v210 .mm-onboarding-cuisines{
  margin-bottom:6px!important;
}
.mm-v210 .mm-onboarding-cuisine-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
}
.mm-v210 .mm-onboarding-cuisine-heading .mm-onboarding-setup-label{
  margin-bottom:2px!important;
}
.mm-v210 .mm-onboarding-cuisine-count{
  color:#9b8e98;
  font-size:10.3px;
  line-height:1.25;
}
.mm-v210 .mm-onboarding-cuisine-all,
.mm-v210 .mm-onboarding-cuisine-clear,
.mm-v210 .mm-onboarding-cuisine-expand{
  appearance:none;
  -webkit-appearance:none;
  min-height:36px;
  border:0;
  background:transparent;
  color:#70436c;
  font:inherit;
  font-size:10.8px;
  font-weight:750;
  cursor:pointer;
}
.mm-v210 .mm-onboarding-cuisine-all{
  flex:0 0 auto;
  padding:4px 0 4px 8px;
}
.mm-v210 .mm-onboarding-cuisine-all:disabled{
  color:#a99da5;
  cursor:default;
}
.mm-v210 .mm-onboarding-cuisine-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:8px;
}
.mm-v210 .mm-onboarding-cuisine-expand{
  min-width:0;
  padding:4px 0;
  display:inline-flex;
  align-items:center;
  gap:5px;
  text-align:left;
}
.mm-v210 .mm-onboarding-cuisine-expand .ti{font-size:14px}
.mm-v210 .mm-onboarding-cuisine-clear{
  flex:0 0 auto;
  padding:4px 0 4px 8px;
  color:#8c7d87;
}
.mm-v210 .mm-onboarding-cuisine-error{
  margin-top:8px;
  padding:8px 10px;
  border-radius:11px;
  background:rgba(193,67,46,.08);
  color:#a64a3a;
  font-size:10.5px;
  line-height:1.3;
}
.mm-v210 .mm-onboarding-actions>button:disabled{
  opacity:.45!important;
  cursor:default!important;
}

html[data-menumia-theme="dark"] .mm-v206 .mm-onboarding-welcome-card,
html[data-menumia-theme="dark"] .mm-v206 .mm-onboarding-welcome-mark,
html[data-menumia-theme="dark"] .mm-v206 .mm-onboarding-ready-card,
html[data-menumia-theme="dark"] .mm-v206 .mm-onboarding-ready-chip{
  background:var(--mm-card)!important;
  border-color:var(--mm-line)!important;
}
html[data-menumia-theme="dark"] .mm-v206 .mm-onboarding-welcome-card strong,
html[data-menumia-theme="dark"] .mm-v206 .mm-onboarding-ready-head strong{
  color:var(--mm-token-ink)!important;
}
html[data-menumia-theme="dark"] .mm-v206 .mm-onboarding-welcome-card small,
html[data-menumia-theme="dark"] .mm-v206 .mm-onboarding-ready-head small,
html[data-menumia-theme="dark"] .mm-v206 .mm-onboarding-ready-day>span:first-child{
  color:var(--mm-token-muted)!important;
}

@media(max-width:380px){
  .mm-v206 .mm-onboarding-welcome-card{min-width:132px;padding:8px 10px}
  .mm-v206 .mm-onboarding-welcome-card small{font-size:8px}
  .mm-v206 .mm-onboarding-welcome-card.is-menu{left:0}
  .mm-v206 .mm-onboarding-welcome-card.is-recipes{right:-3px}
  .mm-v206 .mm-onboarding-welcome-card.is-fridge{left:8px}
  .mm-v210 .mm-onboarding-cuisine-heading{gap:7px}
  .mm-v210 .mm-onboarding-cuisine-all,
  .mm-v210 .mm-onboarding-cuisine-clear,
  .mm-v210 .mm-onboarding-cuisine-expand{font-size:10px}
}
@media(max-height:760px){
  .mm-v206 .mm-onboarding-art-wrap.is-welcome,
  .mm-v206 .mm-onboarding-art-wrap.is-ready{flex-basis:31vh!important;max-height:245px!important}
  .mm-v206 .mm-onboarding-visual{min-height:205px}
  .mm-v206 .mm-onboarding-welcome-mark{width:96px;height:96px;border-radius:28px}
  .mm-v206 .mm-onboarding-welcome-mark img{width:56px;height:56px}
  .mm-v206 .mm-onboarding-ready-card{padding:12px}
}

/* ============================================================
   V661 — ONBOARDING : RÉÉQUILIBRAGE VERTICAL
   Les écrans illustrés démarrent plus haut sur iPhone pour éviter
   le grand vide entre « Passer » et le visuel.
============================================================ */
.mm-v206 .mm-onboarding-content{
  justify-content:flex-start!important;
  padding-top:clamp(54px,8vh,96px)!important;
}
.mm-v206 .mm-onboarding-art-wrap.is-welcome,
.mm-v206 .mm-onboarding-art-wrap.is-ready{
  flex:0 0 auto!important;
  height:clamp(250px,31vh,330px)!important;
  min-height:250px!important;
  margin-bottom:18px!important;
}
.mm-v206 .mm-onboarding-title{
  margin-top:0!important;
}
@media(max-height:760px){
  .mm-v206 .mm-onboarding-content{
    padding-top:24px!important;
  }
  .mm-v206 .mm-onboarding-art-wrap.is-welcome,
  .mm-v206 .mm-onboarding-art-wrap.is-ready{
    height:220px!important;
    min-height:220px!important;
    margin-bottom:8px!important;
  }
}
@media(min-width:600px){
  .mm-v206 .mm-onboarding-content{
    justify-content:center!important;
    padding-top:0!important;
  }
}

