/* Shared page composition: same file for every master and future integration. */
@import url("../navigation.css?v=nav-1");
.mp-page{container-type:inline-size;--page-green:var(--mp-ui-action-accent);--page-line:#e7e9e3;display:flex;flex-direction:column;background:var(--cream);color:var(--ink);position:relative;height:100%;min-height:0;font-family:var(--sans);font-size:14px;line-height:1.45;isolation:isolate}
.mp-page *{box-sizing:border-box}
.mp-page input[type=file]{width:100%;min-width:0;max-width:100%}
.mp-page .mp-ui-upload{min-width:0;max-width:100%}
.mp-page [hidden]{display:none!important}
.mp-page button,.mp-page input,.mp-page select,.mp-page textarea{font:inherit}
/* Défaut de couleur des contrôles : spécificité nulle (:where) pour ne jamais
   écraser les classes du kit ; un <button> sans couleur explicite (cartes de
   « Ma semaine ») hérite au lieu de tomber sur le bleu par défaut d'iOS. */
:where(.mp-page button,.mp-page input,.mp-page select,.mp-page textarea){color:inherit}
.mp-page button{cursor:pointer;-webkit-tap-highlight-color:transparent}
.mp-page button:focus-visible,.mp-page a:focus-visible,.mp-page input:focus-visible{outline:3px solid color-mix(in srgb,var(--mp-ui-action-accent) 40%,transparent);outline-offset:2px}
.mp-page button:disabled{cursor:default}
.mp-page h1,.mp-page h2,.mp-page h3{font-family:var(--serif);letter-spacing:-.035em;line-height:1.1;color:var(--ink);margin:0}
.mp-page h1{font-size:30px}
.mp-page h2{font-size:23px}
.mp-page h3{font-size:19px}
.mp-page p{margin:8px 0 0}
.mp-page .mp-ui-action{max-width:100%;white-space:normal;min-height:46px;font-size:13px}
.mp-page .mp-ui-action-label{text-align:center}
.mp-page .mp-ui-icon{width:22px;height:22px;flex-shrink:0}
.mp-page .mp-ui-muted,.mp-page small{color:#657067}
.mp-page .mp-ui-input{background:#fff;border-color:#dce3dd;border-radius:13px;min-height:48px;max-width:100%;min-width:0;font-size:16px}
.mp-page .mp-ui-field{min-width:0}
.mp-page .mp-ui-notice{margin-top:12px}
.mp-page .mp-ui-key-value{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.mp-page .mp-ui-key-value>div{min-width:0}
.mp-page .mp-ui-progress{display:block;width:100%;height:5px;accent-color:var(--page-green);margin:12px 0 20px}
.mp-page .mp-ui-stepper{background:#fff;border:1px solid #dfe5df;flex-shrink:0}
.mp-page .mp-ui-stepper button{min-width:44px;min-height:44px}
.mp-page-stack{display:grid;gap:14px}
.mp-page-surface{padding:18px;background:#fff;border:1px solid var(--page-line);border-radius:20px}
.mp-page-section{margin:22px 0}
.mp-page-section>h2{margin-bottom:14px}
.mp-page-heading{margin:4px 0 24px}
.mp-page-heading p{color:#657067}
.mp-page-topbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:72px;padding:10px 16px;background:var(--cream)}
.mp-page-topbar .mp-ui-brand{margin:auto;gap:7px;min-width:0}
.mp-page-topbar .home-a4-brand-wordmark{font-size:22px;font-family:var(--serif);font-weight:700;white-space:nowrap}
.mp-page-topbar .home-a4-brand-image{width:35px;height:35px}
.mp-page-topbar .home-a4-brand-mark{width:35px;height:35px}
.mp-page-topspacer{width:44px;flex-shrink:0}
.mp-page #screenContent{flex:1;min-height:0;overflow:auto;padding:6px 16px 28px;overscroll-behavior:contain;scrollbar-width:none}
.mp-page #screenFooter{flex-shrink:0;background:#fdfaf5;padding:12px 16px max(14px,env(safe-area-inset-bottom));border-top:1px solid #e9eae4;z-index:5}
.mp-page #screenFooter>.mp-ui-action{width:100%}
.mp-page #screenFooter .mp-page-stack>.mp-ui-action{width:100%}

.mp-page-home #screenContent{padding:0;overflow:hidden}
.mp-page-home iframe{width:100%;height:100%;border:0;display:block}
.mp-page-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#efefea;border-radius:28px;padding:3px;margin:5px 0 12px}
.mp-page-tabs button{border:0;background:none;min-height:44px;min-width:0;border-radius:24px;padding:6px;color:#3b453e;font-weight:500}
.mp-page-tabs button[aria-current=page]{background:var(--page-green);color:#fff}
.mp-page-search{display:flex;gap:8px;align-items:center;margin:10px 0 20px}
.mp-page-search label{display:flex;align-items:center;gap:9px;min-width:0;flex:1;background:#eeeee8;border-radius:28px;padding:0 13px;min-height:46px}
.mp-page-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;padding:10px 0;font-size:14px}
.mp-page-search>.mp-ui-action{border:0;background:#eeeee8}
.mp-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px}
.mp-page-recipe{position:relative;min-width:0;background:#fffefa;border-radius:18px;overflow:hidden;box-shadow:0 4px 14px #473e2510;border:1px solid #edece5}
.mp-page-recipe-open{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;text-align:left;border:0;padding:0 0 12px;width:100%;height:100%;background:none;color:inherit}
.mp-page-cover{display:block;aspect-ratio:1.28;background:#e5e7df;overflow:hidden}
.mp-page-cover{flex:none}
.mp-page-cover img{display:block;width:100%;height:100%;object-fit:cover}
.mp-page-recipe-open>strong{display:block;font:700 18px/1.13 var(--serif);letter-spacing:-.03em;padding:10px 10px 7px;min-height:57px}
.mp-page-recipe-open>small{display:flex;align-items:center;gap:5px;padding:0 34px 0 10px;font-size:11px;flex-wrap:wrap;color:#5d675d}
.mp-page-recipe-open>small .mp-ui-icon{width:15px;height:15px}
.mp-page-recipe-open i{height:11px;border-left:1px solid #bcc3b9;margin:0 2px}
.mp-page-favorite{position:absolute;right:5px;top:5px;border:0;width:44px;height:44px;background:#fffdf9f2;border-radius:50%;display:grid;place-items:center;color:#28372e}
.mp-page-favorite[aria-pressed=true]{color:var(--page-green)}
.mp-page-favorite[aria-pressed=true] svg{fill:#e1f3eb}
.mp-page-provenance{position:absolute;width:24px;height:24px;top:calc((100cqw - 44px)/2 / 1.28 - 28px);right:8px;border-radius:7px}
.mp-page-recipe{container-type:normal}
.mp-page-more{position:absolute;right:0;bottom:0;width:44px;height:44px;border:0;background:none;color:#667062;display:grid;place-items:center}
.mp-page-more .mp-ui-icon{width:17px}
.mp-page-collection{margin-bottom:23px}
.mp-page-collection>header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:10px}
.mp-page-collection h2{font-size:24px}
.mp-page-collection>header button{border:0;background:transparent;padding:5px 0 5px 10px;white-space:nowrap;color:var(--page-green);font-size:12px}
.mp-page-rail{display:grid;grid-auto-flow:column;grid-auto-columns:46%;gap:12px;overflow-x:auto;padding:2px 2px 9px;scroll-snap-type:x mandatory}
.mp-page-rail article{scroll-snap-align:start}
.mp-page-detail #screenHeader{position:absolute;top:0;left:0;width:100%;z-index:4}
.mp-page-detail #screenContent{padding:0}
.mp-page-hero-actions{display:flex;align-items:center;gap:8px;padding:15px 16px}
.mp-page-hero-actions>span{flex:1}
.mp-page-hero-actions button{width:44px;height:44px;min-height:44px;padding:0;border:1px solid #ffffff9c;border-radius:50%;background:#fffdf6ef;display:grid;place-items:center;color:#22332a;box-shadow:0 3px 12px #0000000e}
.mp-page-hero{width:100%;height:310px;object-fit:cover;display:block}
.mp-page-detail-panel{position:relative;margin-top:-24px;border-radius:28px 28px 0 0;background:var(--cream);padding:20px 16px 28px}
.mp-page-detail-panel>h1{font-size:31px;line-height:1.02}
.mp-page-lead{font-size:13px;color:#657067;line-height:1.5}
.mp-page-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 13px;padding:16px 0 20px}
.mp-page-meta>span{display:flex;gap:4px;align-items:center;font-size:12px}
.mp-page-meta>span small{font-size:10px}
.mp-page-meta .mp-ui-icon{width:16px;height:16px}
.mp-page-meta>button{padding:6px 10px;font-size:11px;border-radius:24px}
.mp-page-detail-panel>.mp-page-surface{padding:14px 12px}
.mp-page-section-head{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:17px}
.mp-page-section-head h2{font-size:23px}
.mp-page-section-head .mp-ui-stepper{gap:0;min-width:112px}
.mp-page-ingredients{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mp-page-ingredient{display:flex;align-items:center;gap:7px;min-width:0;min-height:62px;padding:7px;background:#fafaf6;border:1px solid #efefe8;border-radius:14px}
.mp-page-ingredient img{width:33px;height:38px;object-fit:contain;mix-blend-mode:multiply}
.mp-page-ingredient>span{font-size:12px;line-height:1.25;overflow-wrap:anywhere}
.mp-page-ingredient small{display:block;font-size:11px;margin-top:4px}
.mp-page-ingredient input{width:20px;height:20px;accent-color:var(--page-green);flex-shrink:0}
.mp-page-ingredient-mark .mp-ui-icon{width:25px;height:25px;color:#75977e}
.mp-page-small{font-size:11px;color:#657067}
.mp-page-chips{display:flex;flex-wrap:wrap;gap:6px}
.mp-page-chips span{background:#edf2e9;border-radius:24px;padding:7px 10px;font-size:12px}
.mp-page-step{display:flex;gap:12px;margin:15px 0}
.mp-page-step>b{flex-shrink:0;display:grid;place-items:center;background:#edf4ed;color:var(--page-green);border-radius:50%;width:31px;height:31px}
.mp-page-step p{margin:0;font-size:14px}
.mp-page-detail-actions{display:grid;gap:8px}
.mp-page-detail-actions>div{display:grid;grid-template-columns:1.65fr 1fr;gap:8px}
.mp-page-detail-actions .mp-ui-action{border-radius:22px}
.mp-page-detail-actions>.mp-ui-action{background:#c34732;border-color:#c34732;color:#fff}
.mp-page-edit-ingredient{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:14px;background:white;border:1px solid var(--page-line);border-radius:18px}
.mp-page-edit-ingredient>.mp-ui-field:first-child{grid-column:1/-1}
.mp-page-edit-ingredient>button{grid-column:1/-1}
.mp-page-actions{display:flex;gap:8px}
.mp-page-actions>*{flex:1;min-width:0}
.mp-page-cook-progress{color:var(--page-green);font-weight:600;font-size:13px}
.mp-page-cook-step{padding:15px 2px 28px}
.mp-page-cook-step>span{font:italic 55px var(--serif);color:#b6c8b7}
.mp-page-cook-step p{font:25px/1.35 var(--serif);letter-spacing:-.025em}
.mp-page-timer{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mp-page-timer output{font-size:30px;font-variant-numeric:tabular-nums}
.mp-page-choice{display:grid;grid-template-columns:90px 1fr 24px;align-items:center;gap:9px;border:1px solid #e2e7df;background:#fffefb;border-radius:24px;padding:16px 14px;min-height:176px;text-align:left;color:var(--ink);box-shadow:0 6px 24px #22352408;width:100%}
.mp-page-choice strong{font:700 25px/1.05 var(--serif);letter-spacing:-.045em;display:block}
.mp-page-choice small{display:block;margin-top:9px;font-size:13px;line-height:1.4}
.mp-page-choice>.mp-page-art{width:105px;height:126px;margin-left:-8px}
.mp-page-art{display:block;width:200px;max-width:100%;height:170px;margin:4px auto 13px}
.mp-page-example-photo{width:100%;max-height:220px;object-fit:cover;border-radius:22px}
.mp-page-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mp-page-metrics>span{padding:18px;border-radius:17px;background:#fff}
.mp-page-metrics strong{font-size:24px;display:block}
.mp-page-import-lead{height:150px;margin:0 -16px 4px;overflow:hidden;background:#fbd9c3}
.mp-page-import-lead img{width:100%;height:100%;object-fit:cover;object-position:75% 55%;mask-image:linear-gradient(to bottom,#000 80%,transparent)}
.mp-page-import-steps{padding-left:24px;color:#607064;line-height:2.7}
.mp-page-list-card{width:100%;display:flex;align-items:center;gap:14px;text-align:left;padding:18px;background:linear-gradient(120deg,#eef5e9,#fffefa 75%);border:1px solid #e3e9dd;border-radius:25px;min-height:166px}
.mp-page-list-card strong{font:700 28px var(--serif);display:block}
.mp-page-list-card small{display:block;margin-top:7px}
.mp-page-list-card>span:nth-child(2){flex:1;min-width:0}
.mp-page-list-art{width:88px;flex-shrink:0}
.mp-page-list-art .mp-page-art{width:100px;height:110px;margin:0}
.mp-page-list-summary{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin:6px 0 14px}
.mp-page-list-summary>div>span{color:var(--page-green);font-size:11px;text-transform:uppercase;letter-spacing:.13em}
.mp-page-list-summary h1{font-size:34px;margin-top:5px;overflow-wrap:anywhere}
.mp-page-list-summary p{font-size:12px;color:#6b7469}
.mp-page-quickadd{display:flex;gap:8px;align-items:flex-end;margin:15px 0 22px}
.mp-page-quickadd label{flex:1}
.mp-page-quickadd>button{width:46px;height:48px;padding:0;flex-shrink:0}
.mp-page-shopping-group{background:#fffefa;border:1px solid var(--page-line);border-radius:19px;overflow:hidden}
.mp-page-shopping-row{display:flex;align-items:center;gap:9px;min-height:72px;padding:12px 11px;border-bottom:1px solid #efefe8;cursor:pointer}
.mp-page-shopping-row:last-child{border-bottom:0}
.mp-page-shopping-row input{appearance:none;border:1.5px solid #a4b3a4;width:24px;height:24px;border-radius:50%;flex-shrink:0;background:#fff;position:relative}
.mp-page-shopping-row input:checked{background:var(--page-green);border-color:var(--page-green)}
.mp-page-shopping-row input:checked:after{content:'✓';position:absolute;inset:0;text-align:center;color:#fff;line-height:21px}
.mp-page-shopping-row img{width:37px;height:40px;object-fit:contain;mix-blend-mode:multiply}
.mp-page-shopping-row>span:not(.mp-page-item-icon){flex:1;min-width:0;font-size:13px}
.mp-page-shopping-row>strong{font-size:12px;font-weight:500;max-width:72px;text-align:right;color:#6e796b}
.mp-page-shopping-row.is-checked>span,.mp-page-shopping-row.is-checked>strong{text-decoration:line-through;opacity:.6}
.mp-page-item-icon{width:37px;text-align:center;color:#8ea48c}
.mp-page-week-recipe{border:1px solid var(--page-line);background:#fffefa;border-radius:21px;overflow:hidden}
.mp-page-week-recipe>button{display:flex;gap:13px;align-items:center;border:0;background:none;text-align:left;width:100%;padding:10px}
.mp-page-week-recipe>button img{width:98px;height:99px;object-fit:cover;border-radius:14px}
.mp-page-week-recipe>button strong{font:700 22px/1.13 var(--serif);letter-spacing:-.035em;display:block}
.mp-page-week-recipe>button small{display:block;margin-top:8px}
.mp-page-week-tools{display:flex;align-items:center;justify-content:space-between;padding:2px 11px 12px}
.mp-page-meal-count{display:flex;justify-content:center;padding:24px 0}
.mp-page-meal-count output{font-size:46px;min-width:70px}
.mp-page-setting{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:16px 6px;text-align:left;background:none;border:0;border-bottom:1px solid var(--page-line);color:inherit;min-height:72px}
.mp-page-setting strong{font-size:16px;font-weight:600}
.mp-page-setting small{display:block;margin-top:4px}
.mp-page .mp-ui-option-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.mp-page .mp-ui-option-list button{display:flex;align-items:center;text-align:left;gap:8px;min-height:52px;padding:11px 12px;background:#fffefa;border:1px solid #dfe5db;border-radius:15px;color:#394637;font-size:13px}
.mp-page .mp-ui-option-list button[aria-pressed=true]{border-color:var(--page-green);background:var(--mp-ui-action-soft);color:var(--page-green);box-shadow:inset 0 0 0 1px var(--page-green)}
.mp-page .mp-ui-option-list button[aria-pressed=true]:after{content:'✓';margin-left:auto}
.mp-page .mp-ui-option-list{margin-top:13px}
.mp-page-separator{text-align:center;color:#7d847a;margin:4px}
.mp-page-onboarding-mosaic{display:grid;grid-template-columns:1fr 1fr;gap:10px;transform:rotate(-3deg);margin:24px 7px 26px}
.mp-page-onboarding-mosaic img{width:100%;aspect-ratio:1.15;object-fit:cover;border-radius:24px}
.mp-page-onboarding-mosaic img:nth-child(even){transform:translateY(12px)}
.mp-page-onboarding-progress{margin:-10px 0 20px}
@media(max-width:350px){.mp-page-choice{grid-template-columns:72px 1fr 20px;padding:13px 10px}
.mp-page-choice>.mp-page-art{width:87px}
.mp-page-choice strong{font-size:23px}
.mp-page .mp-page-detail-panel>h1{font-size:28px}
.mp-page-topbar{padding:9px 12px}
.mp-page-topbar .home-a4-brand-wordmark{font-size:20px}
.mp-page-hero{height:270px}
.mp-page-ingredient{gap:4px;padding:5px}
.mp-page-ingredient img{width:26px}
.mp-page-recipe-open>strong{font-size:17px}
.mp-page-week-recipe>button strong{font-size:20px}
}
@media(prefers-reduced-motion:reduce){.mp-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


.mp-page-check-target{display:grid;place-items:center;min-width:44px;min-height:44px;cursor:pointer}
.mp-page-origin{display:block;background:none;border:0;color:var(--page-green);font-size:11px!important;min-height:44px;text-align:left;padding:2px 0}
.mp-page-shopping-row.is-checked>span{text-decoration:line-through}


/* Photo choice cards — white, side-by-side like the approved home. Only these two menus. */
.mp-photo-choices{display:grid;gap:12px;padding:0 2px 8px}
.mp-photo-choice{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:center;gap:6px;position:relative;width:100%;min-height:238px;border:0;border-radius:24px;overflow:hidden;padding:20px 10px 20px 20px;background:#fff;text-align:left;color:#16231b;box-shadow:0 4px 15px rgb(37 54 31 / 6%);-webkit-tap-highlight-color:transparent}
.mp-photo-choice-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;position:relative}
.mp-photo-choice-copy strong{font-family:var(--mp-ui-font-display);font-size:clamp(23px,6.7cqw,28px);line-height:1.04;letter-spacing:-.04em;font-weight:700;max-width:100%;overflow-wrap:normal}
.mp-photo-choice-copy small{font-family:var(--mp-ui-font-body);font-size:clamp(12px,3.35cqw,14px);line-height:1.35;font-weight:400;letter-spacing:-.015em;color:#515b53;max-width:100%}
.mp-photo-choice-media{display:block;position:relative;min-width:0;width:100%;aspect-ratio:.85;background:#fff;pointer-events:none}
.mp-photo-choice-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.mp-photo-choice--plate .mp-photo-choice-image{padding-block:16px}
.mp-photo-choice-arrow{display:grid;place-items:center;width:32px;height:26px;margin-top:1px;color:var(--mp-ui-action-accent)}
.mp-photo-choice-arrow svg{width:23px;height:23px;stroke-width:2}
.mp-photo-choice:focus-visible{outline:3px solid var(--mp-ui-action-accent);outline-offset:3px}
.mp-photo-choice:active .mp-photo-choice-arrow{transform:translateX(2px)}
.mp-photo-choice-callouts{position:absolute;inset:0;pointer-events:none}
.mp-photo-choice-callouts svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.mp-photo-choice-label{position:absolute;font:600 11.5px/1.15 var(--mp-ui-font-body);color:#3c6756;white-space:nowrap;background:#fff;padding:1px 2px}
.mp-photo-choice-label--veg{top:0;left:0}
.mp-photo-choice-label--protein{top:0;right:0}
.mp-photo-choice-label--starch{bottom:0;left:3px}
.mp-page[data-screen="manger-maintenant"] .mp-page-heading,.mp-page[data-screen="planifier-repas"] .mp-page-heading{padding:10px 2px 0;margin-bottom:19px}
.mp-page[data-screen="manger-maintenant"] .mp-page-heading h1,.mp-page[data-screen="planifier-repas"] .mp-page-heading h1{font-size:clamp(26px,8.1cqw,33px);line-height:1.1;letter-spacing:-.04em;margin:0 0 9px}
.mp-page[data-screen="manger-maintenant"] .mp-page-heading p,.mp-page[data-screen="planifier-repas"] .mp-page-heading p{font-size:14px;line-height:1.35;margin:0;color:#60665f}
@container(max-width:340px){.mp-photo-choice{min-height:214px;padding:18px 6px 18px 16px;gap:4px;border-radius:21px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mp-photo-choice-copy{gap:8px}.mp-photo-choice-copy strong{font-size:23px}.mp-photo-choice-copy small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.mp-photo-choice:active .mp-photo-choice-arrow{transform:none}}

/* Import menu: editorial hierarchy, two large white cards and three compact rows. */
.mp-import-menu{display:grid;gap:12px;padding:0 1px 18px}
.mp-import-social-hero,.mp-import-photo-card{display:block;position:relative;isolation:isolate;overflow:hidden;width:100%;height:clamp(182px,52cqw,220px);padding:0;text-align:left;color:var(--mp-ui-ink);background:#fff;border:1px solid #dfe6e1;border-radius:24px;box-shadow:0 9px 26px rgb(31 59 45 / 5%);cursor:pointer}
.mp-import-social-copy{position:absolute;left:20px;top:22px;width:58%;z-index:2}
.mp-import-social-copy>strong,.mp-import-photo-copy>strong{display:block;font-family:var(--serif);font-size:clamp(23px,6.5cqw,28px);font-weight:700;line-height:1.07;letter-spacing:-.035em}
.mp-import-brand-pair{display:flex;gap:10px;margin-top:13px;width:max-content}
.mp-import-brand-pair img{display:block;width:44px;height:44px;border-radius:13px;object-fit:contain;box-shadow:0 3px 8px rgb(27 40 33 / 10%)}
.mp-import-social-copy>small,.mp-import-photo-copy>small{display:block;margin-top:10px;font-size:13px;line-height:1.4;color:#607168;font-weight:400}
.mp-import-phone{display:block;position:absolute;height:91%;width:46%;right:1%;top:0;object-fit:contain;z-index:1;pointer-events:none}
.mp-import-next{display:grid;place-items:center;position:absolute;right:16px;bottom:16px;width:36px;height:36px;border-radius:50%;color:#156a54;background:#e8f3ed;z-index:3;box-shadow:0 1px 0 rgb(255 255 255 / 90%) inset}
.mp-import-next svg{width:21px;height:21px}
.mp-import-photo-copy{position:absolute;left:20px;top:50%;width:53%;transform:translateY(-50%);z-index:2}
.mp-import-print-stack{position:absolute;right:28px;top:26px;width:112px;height:142px;pointer-events:none}
.mp-import-print-stack img{position:absolute;display:block;width:78px;height:108px;object-fit:cover;border:5px solid #fff;border-bottom-width:16px;border-radius:7px;box-shadow:0 8px 18px rgb(30 48 39 / 15%)}
.mp-import-print-stack img:first-child{left:0;top:0;transform:rotate(-12deg)}
.mp-import-print-stack img:last-child{left:31px;top:22px;transform:rotate(8deg)}
.mp-import-small{display:flex;align-items:center;gap:12px;min-height:68px;width:100%;padding:12px 14px;background:#fff;color:var(--mp-ui-ink);border:1px solid #dfe6e1;border-radius:18px;text-align:left;cursor:pointer}
.mp-import-small-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:#e8f3ed;color:#156a54}
.mp-import-small-icon svg{width:22px;height:22px}
.mp-import-small-copy{flex:1;min-width:0}
.mp-import-small-copy strong{display:block;font-size:15px;font-weight:650;line-height:1.3;letter-spacing:-.01em}
.mp-import-small-copy small{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:#68766f;font-weight:400}
.mp-import-small>svg{flex:none;width:19px;height:19px}
.mp-import-menu>button:focus-visible{outline:3px solid var(--mp-ui-action-accent);outline-offset:3px}
.mp-import-menu>button:active{box-shadow:0 2px 8px rgb(30 48 39 / 10%) inset}
@container(max-width:340px){.mp-import-social-copy{left:16px;top:20px}.mp-import-brand-pair{gap:8px;margin-top:10px}.mp-import-brand-pair img{width:40px;height:40px;border-radius:12px}.mp-import-social-copy>small{font-size:12px;max-width:145px}.mp-import-photo-copy{left:16px;width:53%}.mp-import-photo-copy>strong{font-size:22px}.mp-import-photo-copy>small{font-size:12px;max-width:135px}.mp-import-print-stack{right:21px;top:25px;transform:scale(.84);transform-origin:top right}.mp-import-next{right:14px;bottom:14px;width:34px;height:34px}}

/* A cookbook page, not a stack of dish photographs. */
.mp-import-book{position:absolute;right:12px;top:10px;width:45%;height:89%;pointer-events:none}
.mp-import-book>img{display:block;width:100%;height:100%;object-fit:contain}
.mp-import-capture-mark{position:absolute;bottom:4px;left:4px;width:29px;height:29px;display:grid;place-items:center;background:#fff;border:1px solid #dfe8e2;border-radius:50%;color:#23614e;box-shadow:0 2px 7px rgb(27 45 36 / 9%)}
.mp-import-capture-mark svg{width:16px;height:16px}
@container(max-width:340px){.mp-import-book{right:10px;top:10px;width:43%;height:88%}.mp-import-capture-mark{width:27px;height:27px;left:0;bottom:2px}}

/* Photo de recette: simple black camera, no generated image. */
.mp-import-camera{position:absolute;right:24px;top:50%;transform:translateY(-50%);width:96px;height:96px;display:grid;place-items:center;color:#171b18;pointer-events:none}
.mp-import-camera svg{width:100%;height:100%;stroke-width:1.45}
@container(max-width:340px){.mp-import-camera{width:76px;height:76px;right:20px}}

/* Reuse the supplied camera illustration at illustration size, not icon size. */
.mp-import-photo-card .mp-import-camera-art{position:absolute;right:12px;top:14px;width:40%;height:146px;pointer-events:none}
.mp-import-photo-card .mp-import-camera-art>.mp-page-art{display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0}
.mp-import-photo-options{display:grid;gap:14px;margin-top:20px}
.mp-import-photo-options>button{width:100%;min-height:54px}
@container(max-width:340px){.mp-import-photo-card .mp-import-camera-art{height:126px;top:14px;right:9px}}



/* Import inline — 0.3.10. Fidelity to the pre-inline large cards; controls only added below. */
.mp-import-menu--inline{display:grid;gap:12px;padding:0 1px 18px}
.mp-import-inline-choice{min-width:0;background:#fff;border:0;border-radius:24px;overflow:hidden;box-shadow:0 4px 15px rgb(37 54 31 / 6%)}
.mp-import-inline-choice-visual{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:center;gap:6px;position:relative;width:100%;min-height:238px;padding:20px 10px 20px 20px;background:#fff;text-align:left;color:#16231b}
.mp-import-inline-choice-visual .mp-photo-choice-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;position:relative}
.mp-import-inline-choice-visual .mp-photo-choice-copy strong{font-family:var(--mp-ui-font-display);font-size:clamp(23px,6.7cqw,28px);line-height:1.04;letter-spacing:-.04em;font-weight:700;max-width:100%;overflow-wrap:normal}
.mp-import-inline-choice-visual .mp-photo-choice-copy small{font-family:var(--mp-ui-font-body);font-size:clamp(12px,3.35cqw,14px);line-height:1.35;font-weight:400;letter-spacing:-.015em;color:#515b53;max-width:100%}
.mp-import-inline-choice-visual .mp-photo-choice-media{display:block;position:relative;min-width:0;width:100%;aspect-ratio:.85;background:#fff;pointer-events:none}
.mp-import-inline-choice-visual .mp-photo-choice-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.mp-import-inline-logos{display:flex;align-items:center;gap:10px;margin-top:2px}
.mp-import-inline-logos img{display:block;width:40px;height:40px;border-radius:12px;object-fit:contain}
.mp-import-inline-choice-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch;padding:0 12px 12px;background:#fff}
.mp-import-inline-choice-controls>input,.mp-import-small-controls>input,.mp-import-small-controls>textarea{width:100%;min-width:0;min-height:44px;margin:0;padding:10px 12px;border:1px solid #d8e2dc;border-radius:12px;background:#fff;color:#24372d;font-size:16px;line-height:1.35;outline-offset:2px}
.mp-import-inline-choice-controls>.mp-ui-action,.mp-import-small-controls>.mp-ui-action{min-height:44px;margin:0;white-space:nowrap}
.mp-import-small--inline{display:grid;align-items:stretch;gap:10px;min-height:68px;padding:12px 14px}
.mp-import-small-head{display:flex;align-items:center;gap:12px;min-height:44px;min-width:0}
.mp-import-small-head .mp-import-small-copy{flex:1;min-width:0}
.mp-import-small-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch;min-width:0}
.mp-import-inline-textarea{min-height:72px!important;resize:vertical;overflow:auto}
.mp-import-inline-status{display:block;margin:-3px 2px 0 54px;font-size:11px;line-height:1.3;color:#607168;overflow-wrap:anywhere}
.mp-import-inline-status:empty{display:none}
.mp-page[data-screen="importer"] .flow-error{margin:0}
.mp-page[data-screen="importer"] .flow-error:empty{display:none}
@container(max-width:340px){
 .mp-import-inline-choice{border-radius:21px}
 .mp-import-inline-choice-visual{min-height:214px;padding:18px 6px 18px 16px;gap:4px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .mp-import-inline-choice-visual .mp-photo-choice-copy{gap:8px}
 .mp-import-inline-choice-visual .mp-photo-choice-copy strong{font-size:23px}
 .mp-import-inline-choice-visual .mp-photo-choice-copy small{font-size:12px}
 .mp-import-inline-logos{gap:8px}
 .mp-import-inline-logos img{width:36px;height:36px;border-radius:11px}
 .mp-import-inline-choice-controls{padding:0 10px 10px;gap:7px}
 .mp-import-small--inline{padding:12px}
 .mp-import-small-controls{gap:7px}
}

/* Import action alignment only — keep Design System button tokens/classes authoritative. */
#preview[data-screen="importer"] .mp-import-menu--inline .mp-ui-action{align-self:center}

/* Import hierarchy validated in shared conversation 6ab0fcc3. Scoped to this screen. */
.mp-import-menu--premium{gap:24px}
.mp-import-manual{display:grid;grid-template-columns:minmax(0,1fr) 72px;align-items:center;gap:8px 12px;padding:18px;background:var(--mp-ui-action-surface);border-radius:var(--mp-ui-radius);box-shadow:var(--card-shadow)}
.mp-import-manual h2{margin:0;font:700 23px/1.12 var(--mp-ui-font-display);letter-spacing:-.025em}
.mp-import-manual p{margin:7px 0 0;font-size:12px;line-height:1.4;color:var(--mp-ui-muted)}
.mp-import-manual-art{grid-column:2;grid-row:1 / 3;display:block;width:72px;height:84px}
.mp-import-manual-art .mp-page-art{display:block;width:72px;height:84px;margin:0}
.mp-import-manual>.mp-ui-action{justify-self:start;min-width:0;max-width:100%;font-size:12px}
.mp-import-premium{display:grid;gap:12px;padding:14px;background:var(--mp-ui-action-soft);border-radius:var(--mp-ui-radius)}
.mp-import-premium-heading{padding:2px 2px 3px}
.mp-import-premium-badge{display:inline-block;margin-bottom:8px;padding:4px 8px;border-radius:var(--mp-ui-radius-pill);background:var(--mp-ui-green);color:var(--mp-ui-on-accent);font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.mp-import-premium-heading h2{margin:0;font:700 23px/1.12 var(--mp-ui-font-display);letter-spacing:-.025em}
.mp-import-premium-heading p{margin:7px 0 0;color:var(--mp-ui-muted);font-size:12px;line-height:1.4}
.mp-import-premium .mp-import-inline-choice{box-shadow:none;border-radius:var(--mp-ui-radius-md)}
.mp-import-premium .mp-import-inline-choice-visual{min-height:194px;padding:16px 6px 12px 16px;gap:4px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.mp-import-premium .mp-photo-choice-copy strong{font-size:25px}
.mp-import-premium .mp-photo-choice-copy small{font-size:12px}
.mp-import-premium .mp-import-inline-logos img{width:32px;height:32px;border-radius:9px}
.mp-import-premium .mp-import-inline-choice-controls{grid-template-columns:minmax(0,1fr);padding:0 12px 12px}
.mp-import-premium .mp-import-inline-choice-controls>.mp-ui-action{justify-self:end}
.mp-page[data-screen="importer"] .mp-import-methods{display:grid;gap:12px}
.mp-import-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mp-import-method{display:flex;align-items:center;gap:8px;min-width:0;min-height:52px;padding:12px;border:1px solid transparent;border-radius:var(--mp-ui-radius-sm);background:var(--mp-ui-action-surface);color:var(--mp-ui-action-ink);font:600 13px/1.2 var(--mp-ui-font-body);text-align:left;cursor:pointer}
.mp-import-method>svg{flex:none;width:20px;height:20px}
.mp-import-method>svg:last-child{width:14px;height:14px;margin-left:auto;color:var(--mp-ui-muted)}
.mp-import-method[aria-expanded="true"]{border-color:var(--mp-ui-action-accent);background:var(--mp-ui-action-soft)}
.mp-import-method[aria-expanded="true"]>svg:last-child{transform:rotate(45deg)}
.mp-import-method:focus-visible{outline:2px solid var(--mp-ui-action-accent);outline-offset:2px}
.mp-import-method-panel{min-width:0;padding:12px;background:var(--mp-ui-action-surface);border-radius:var(--mp-ui-radius-sm)}
.mp-import-method-panel[hidden]{display:none}
.mp-import-method-panel .mp-import-small-controls{grid-template-columns:minmax(0,1fr)}
.mp-import-method-panel .mp-import-inline-status{margin:8px 0 0}
.mp-import-method-panel .mp-ui-action{justify-self:stretch}
@container(max-width:340px){
 .mp-import-premium{padding:10px}
 .mp-import-premium-heading h2{font-size:21px}
 .mp-import-premium .mp-import-inline-choice-visual{min-height:180px;padding:14px 6px 10px 12px}
 .mp-import-premium .mp-photo-choice-copy strong{font-size:23px}
 .mp-import-method{padding:10px;gap:6px;font-size:12px}
 .mp-import-manual{padding:14px;grid-template-columns:minmax(0,1fr) 56px;gap:8px}
 .mp-import-manual-art,.mp-import-manual-art .mp-page-art{width:56px;height:72px}
 .mp-import-manual h2{font-size:21px}
}


/* recettes-web-20260920:start */
/* Portage ciblé des cartes Recettes. Ne s'applique pas aux cartes des autres parcours. */
.mp-page-grid--catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 11px;align-items:start}
.mp-page-recipe--catalog{position:relative;min-width:0;overflow:hidden;border:0;border-radius:20px;background:#fffefa;box-shadow:0 3px 8px rgb(66 53 31 / 3%),0 11px 26px rgb(66 53 31 / 6%)}
.mp-page-recipe--catalog .mp-page-recipe-open{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;width:100%;height:100%;padding:0 0 13px;border:0;background:transparent;color:inherit;text-align:left}
.mp-page-recipe--catalog .mp-page-cover{position:relative;display:block;flex:none;aspect-ratio:1.16;overflow:hidden;border-radius:20px;background:#e8e9e3}
.mp-page-recipe--catalog .mp-page-cover>img{display:block;width:100%;height:100%;object-fit:cover}
.mp-page-recipe--catalog .mp-page-recipe-open>strong{display:block;min-height:0;padding:11px 10px 6px;font:700 20px/1.08 var(--serif);letter-spacing:-.035em}
.mp-page-recipe--catalog .mp-page-recipe-open>small{display:flex;align-items:center;gap:5px;min-width:0;padding:0 10px;color:#657067;font-size:11px;line-height:1.3;flex-wrap:wrap}
.mp-page-recipe--catalog .mp-page-recipe-open>small .mp-ui-icon{width:14px;height:14px}
.mp-page-recipe--catalog .mp-page-recipe-open>small i{height:11px;margin:0 2px;border-left:1px solid #c7ccc5}
.mp-page-recipe--catalog .mp-page-favorite,.mp-page-recipe--catalog .mp-page-more{position:absolute;top:8px;bottom:auto;z-index:4;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:rgb(255 254 250 / 92%);color:#29372f;box-shadow:0 2px 8px rgb(40 49 40 / 8%)}
.mp-page-recipe--catalog .mp-page-favorite{left:8px;right:auto}
.mp-page-recipe--catalog .mp-page-more{left:auto;right:8px}
.mp-page-recipe--catalog .mp-page-favorite .mp-ui-icon,.mp-page-recipe--catalog .mp-page-more .mp-ui-icon{width:18px;height:18px}
.mp-page-recipe--catalog .mp-page-favorite[aria-pressed=true]{color:var(--page-green)}
.mp-page-recipe--catalog .mp-page-favorite[aria-pressed=true] .mp-ui-icon{fill:currentColor;stroke:currentColor}
.mp-page-recipe--catalog .mp-page-favorite[aria-pressed=false] .mp-ui-icon{fill:none;stroke:currentColor}
.mp-page-recipe--catalog .mp-page-provenance{position:absolute;left:auto;right:8px;top:auto;bottom:8px;z-index:3;display:grid;place-items:center;width:30px;height:30px;margin:0;border:0;border-radius:9px;pointer-events:none}
.mp-page-recipe--catalog .mp-page-provenance--brand{overflow:hidden;background:transparent;box-shadow:0 2px 7px rgb(25 35 29 / 12%)}
.mp-page-recipe--catalog .mp-page-provenance--brand img{display:block;width:100%;height:100%;object-fit:contain}
.mp-page-recipe--catalog .mp-page-provenance--icon{background:rgb(255 254 250 / 94%);color:#314139;box-shadow:0 2px 7px rgb(25 35 29 / 10%)}
.mp-page-recipe--catalog .mp-page-provenance--icon .mp-ui-icon{width:16px;height:16px}
.mp-page[data-screen="decouvrir"] .mp-page-rail{grid-auto-columns:calc((100% - 12px)/2)}
.mp-page:is([data-screen="mes-recettes"],[data-screen="favoris"],[data-screen="decouvrir"]) .mp-page-recipe--catalog{border:0;background:#fff;box-shadow:-2px 4px 10px rgb(66 53 31 / 4.5%),-6px 12px 22px rgb(66 53 31 / 4%)}
.mp-page-rail .mp-page-recipe--catalog{scroll-snap-align:start}
.mp-page-favorite-dialog{position:absolute;inset:0;z-index:80;display:grid;place-items:center;padding:20px;background:rgb(29 41 34 / 24%)}
.mp-page-favorite-dialog[hidden]{display:none!important}
.mp-page-favorite-dialog-card{width:min(100%,320px);padding:22px;border:0;border-radius:22px;background:#fffefa;box-shadow:0 18px 46px rgb(27 38 31 / 18%)}
.mp-page-favorite-dialog-card h2{font:700 25px/1.1 var(--serif);letter-spacing:-.035em}
.mp-page-favorite-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}
.mp-page-favorite-dialog-actions .mp-ui-action{width:100%;min-width:0;min-height:46px;margin:0}
@container(max-width:350px){
 .mp-page-grid--catalog{gap:14px 9px}
 .mp-page-recipe--catalog{border-radius:18px}
 .mp-page-recipe--catalog .mp-page-cover{border-radius:18px;aspect-ratio:1.12}
 .mp-page-recipe--catalog .mp-page-recipe-open>strong{padding:10px 9px 6px;font-size:18px;line-height:1.09}
 .mp-page-recipe--catalog .mp-page-recipe-open>small{padding-inline:9px;font-size:10.5px;gap:4px}
 .mp-page-recipe--catalog .mp-page-favorite{left:6px;top:6px}
 .mp-page-recipe--catalog .mp-page-more{right:6px;top:6px}
 .mp-page-recipe--catalog .mp-page-provenance{right:7px;bottom:7px;width:28px;height:28px}
}
/* recettes-web-20260920:end */


/* fiches-correction-web-20260920:start */
/* Fiches recette uniquement : composition PWA observée, nutrition repliable et cartes éditoriales distinctes. */
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) #screenHeader{position:relative;top:auto;left:auto;width:100%;min-height:64px;flex:0 0 64px;background:#fff;z-index:4}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) #screenContent{padding:0 0 28px}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-topbar{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;height:64px;padding:10px 12px;background:#fff}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-topbar>.mp-ui-brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:var(--mp-brand-gap);min-width:0;margin:0;white-space:nowrap;pointer-events:none}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-topbar>.mp-ui-brand .home-a4-brand-wordmark{font-size:var(--mp-brand-word-size)}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-topbar>.mp-ui-brand .home-a4-brand-image,.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-topbar>.mp-ui-brand .home-a4-brand-mark{width:var(--mp-brand-mark-size);height:var(--mp-brand-mark-size);min-width:var(--mp-brand-mark-size)}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-header-actions{display:flex;align-items:center;gap:4px;margin-left:auto}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-icon{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;box-shadow:none;color:#22332a}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-icon[aria-pressed=true]{color:var(--page-green)}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-icon[aria-pressed=true] .mp-ui-icon{fill:#e1f3eb}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-detail>.mp-page-hero{display:block;width:calc(100% - 24px);height:auto;aspect-ratio:2.25/1;margin:4px 12px 0;border-radius:18px;object-fit:cover;object-position:50% 50%;background:#e5e7df}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-detail .mp-page-detail-panel{position:relative;margin-top:0;padding:8px 16px 28px;border-radius:0;background:var(--cream)}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-panel>h1{margin:0;font-size:clamp(28px,8cqw,34px);line-height:1.04;overflow-wrap:anywhere}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-lead{margin-top:9px;font-size:13px;line-height:1.5;color:#657067}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-facts-card{margin:13px 0 15px;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgb(44 57 49 / 4%)}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-facts{display:flex;align-items:stretch;gap:0;margin:0;padding:10px 4px;overflow:hidden}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-nutrition-toggle{display:flex;align-items:center;justify-content:center;gap:3px;flex:0 0 auto;min-height:36px;padding:6px 7px;border:0;border-radius:10px;background:var(--mp-ui-action-soft);color:var(--page-green);font-size:11px;font-weight:700;white-space:nowrap}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-nutrition-toggle .mp-ui-icon{width:14px;height:14px}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-nutrition-toggle .mp-ui-icon:last-child{width:12px;height:12px;transition:transform var(--mp-ui-motion-fast) var(--mp-ui-easing)}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-nutrition-toggle[aria-expanded=true] .mp-ui-icon:last-child{transform:rotate(180deg)}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-fact{display:flex;align-items:center;justify-content:center;gap:3px;flex:1 1 0;min-width:0;min-height:36px;padding:2px 5px;border-left:1px solid #e6ece8;color:#4f5b53;font-size:11px;line-height:1.15;text-align:center}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-fact>.mp-ui-icon{width:13px;height:13px;flex:0 0 auto}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-fact--metric{display:grid;align-content:center;justify-items:center;line-height:1.05}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-fact--metric strong{font-size:11px;font-weight:700;color:#334039;white-space:nowrap}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-fact--metric small{font-size:9.5px;color:#6c756e;white-space:nowrap}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-rail{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;margin:0;padding:8px 9px 9px;border:0;border-top:1px solid #e6ece8;border-radius:0;background:transparent}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-label{min-width:0;color:#526058;font-size:10.5px;line-height:1.2}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-scale{display:flex;align-items:center;gap:3px}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-scale>span{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;font-size:10.5px;font-weight:700;line-height:1;box-shadow:inset 0 0 0 1px rgb(0 0 0 / 5%)}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-scale>span:nth-child(1){background:#1f6b50;color:#fff}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-scale>span:nth-child(2){background:#78b85c;color:#17331d}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-scale>span:nth-child(3){background:#f2c94c;color:#3f3200}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-scale>span:nth-child(4){background:#e98b32;color:#3d2100}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-scale>span:nth-child(5){background:#c94a3a;color:#fff}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-scale>span.is-active{position:relative;z-index:1;transform:scale(1.16);font-weight:900;outline:2px solid #1f2c26;outline-offset:1px;box-shadow:0 2px 6px rgb(31 44 38 / 28%)}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-rail>small{color:#737d76;font-size:9.5px;white-space:nowrap}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-section-card{margin:14px 0 0;padding:16px 14px;background:#fff;border:1px solid var(--page-line);border-radius:20px;box-shadow:0 5px 18px rgb(49 57 48 / 4%)}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-nutrition-card{margin-top:0}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-section-card>.mp-page-section-head{margin-bottom:14px}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-section-card>.mp-page-section-head h2{font-size:23px}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-nutrition-caption{margin:0 0 8px;color:#657067;font-size:12px}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-nutrition-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-nutrition-cell{min-width:0;padding:8px 5px;border-radius:10px;background:#f1f8f4;text-align:center}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-nutrition-cell>span{display:block;min-height:22px;color:#657067;font-size:9.5px;line-height:1.1}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-nutrition-cell>strong{display:block;margin-top:3px;color:#263a31;font-size:11px;line-height:1.12;overflow-wrap:anywhere}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-nutrition-cell>strong small{font-size:9px;font-weight:500;color:#657067}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-ingredients-card .mp-page-ingredients{margin-top:2px}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-equipment{margin:0;color:#465148;font-size:14px;line-height:1.55}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-steps-card .mp-page-step{padding:13px 0;margin:0;border-bottom:1px solid #eef0eb}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-steps-card .mp-page-step:last-child{border-bottom:0;padding-bottom:0}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-source{margin:14px 2px 0;color:#657067;font-size:11px}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-actions{display:grid;gap:8px}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-actions>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:8px}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-actions .mp-ui-action{min-width:0;border-radius:var(--mp-ui-action-radius)}
.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-actions>.mp-ui-action{background:#2f3331;border-color:#2f3331;color:#fff}
@media(hover:hover){.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-actions>.mp-ui-action:hover{background:#252826;border-color:#252826}}
.mp-page-week-slot{display:block!important;margin-top:5px!important;color:var(--mp-ui-action-accent)!important;font-size:11px!important;font-weight:600}
.mp-week-view-switch{margin:0}
.mp-week-day-list{display:grid;gap:14px}
.mp-week-day-section .mp-courses-section-head{margin-bottom:7px}
@container(max-width:350px){
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-topbar{padding-inline:4px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-header-actions{gap:0}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-page-detail-panel>h1{font-size:28px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-detail .mp-page-detail-panel{padding-inline:14px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-facts{padding-inline:3px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-facts-card{margin-bottom:15px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-nutrition-toggle{padding-inline:5px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-fact{padding-inline:3px;font-size:10px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-fact--duration,.mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-fact--difficulty{flex-direction:column;gap:1px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-fact--metric strong{font-size:10px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-fact--metric small{font-size:8.5px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-rail{grid-template-columns:minmax(0,1fr) auto auto;gap:5px;padding:7px 8px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-label{font-size:10px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-scale{gap:2px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-scale>span{width:20px;height:20px;font-size:10px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-grade-rail>small{font-size:9px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-section-card{padding:14px 12px;border-radius:18px}
 .mp-page:is([data-screen="fiche-recette"],[data-screen="fiche-importee"]) .mp-recipe-nutrition-cell{padding-inline:3px}
}
/* fiches-correction-web-20260920:end */

/* PROFILE-SOFT-20260921-R1 */
.mp-page[data-screen="profil"] #screenContent{padding-top:2px}
.mp-page[data-screen="profil"] .mp-page-heading{margin-bottom:18px}
.mp-page:is([data-screen="profil"],[data-screen="alimentation"],[data-screen="allergies"],[data-screen="gouts"],[data-screen="exclusions"],[data-screen="temps-cuisine"],[data-screen="objectifs"],[data-screen="aliments-hors-courses"]) #screenContent{width:100%;max-width:720px;margin-inline:auto;box-sizing:border-box}
.mp-profile-dashboard{display:grid;gap:22px;padding-bottom:16px}
.mp-profile-overview{display:grid;gap:0;background:#fff;border:1px solid #ebece6;border-radius:22px;box-shadow:0 6px 18px rgb(45 62 49 / 4%);overflow:hidden}
.mp-profile-overview-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:86px;padding:18px;background:linear-gradient(120deg,#edf5ef,#f7faf5)}
.mp-profile-overview-row>div:first-child{min-width:0}
.mp-profile-overview-row strong{display:block;font-size:15px;font-weight:650;line-height:1.4}
.mp-profile-overview-row small{display:block;margin-top:3px;font-size:11px;color:#748078}
.mp-profile-overview .mp-ui-stepper{background:#fff;border-color:#dbe5dc}
.mp-profile-language{padding:13px 16px 15px;border-top:1px solid #eef0eb}
.mp-profile-language .mp-ui-field{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px}
.mp-profile-language .mp-ui-field>span:first-child{font-size:14px;font-weight:650}
.mp-profile-language .mp-ui-input{min-height:44px}
.mp-profile-group{display:grid;gap:8px}
.mp-profile-group>h2{margin:0;padding:0 6px;font-family:var(--sans);font-size:13px;font-weight:700;letter-spacing:0;color:#59685e}
.mp-profile-group-card{overflow:hidden;background:#fff;border:1px solid #ebece6;border-radius:20px;box-shadow:0 5px 16px rgb(45 62 49 / 3.5%)}
.mp-profile-setting{display:grid;grid-template-columns:40px minmax(0,1fr) 20px;align-items:center;gap:12px;width:100%;min-height:76px;padding:14px 16px;border:0;border-bottom:1px solid #edf0ea;background:#fff;color:inherit;text-align:left}
.mp-profile-setting:last-child{border-bottom:0}
.mp-profile-setting-copy{min-width:0}
.mp-profile-setting-copy strong{display:block;font-size:15px;font-weight:650;line-height:1.35}
.mp-profile-setting-copy small{display:block;margin-top:4px;color:#66746b;font-size:12.5px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.mp-profile-setting-arrow{display:grid;place-items:center;color:#7f8a83}
.mp-profile-setting-arrow .mp-ui-icon{width:17px;height:17px}
.mp-profile-setting-symbol{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#edf5ef;color:var(--page-green)}
.mp-profile-setting-symbol .mp-ui-icon{width:21px;height:21px}
.mp-profile-setting[data-route="allergies"] .mp-profile-setting-symbol{background:#fbf1e7;color:#966139}
.mp-profile-setting[data-route="gouts"] .mp-profile-setting-symbol{background:#f8eeeb;color:#9b6154}
.mp-profile-setting:focus-visible{outline-offset:-3px}
@media(hover:hover){.mp-profile-setting:hover{background:#f8fbf7}}
.mp-profile-setting-previews{display:flex;flex-direction:row-reverse;justify-content:flex-start;padding-left:8px}
.mp-profile-setting-previews img{width:28px;height:28px;margin-left:-8px;object-fit:contain;border:2px solid #fff;border-radius:50%;background:#f5f3ec}
.mp-profile-choice-list{display:grid;gap:10px}
.mp-profile-choice-card{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr) 24px;align-items:center;gap:12px;width:100%;min-height:84px;padding:9px 12px 9px 9px;border:1px solid #e3e7df;border-radius:20px;background:#fff;color:#283a30;text-align:left;box-shadow:0 4px 14px rgb(45 62 49 / 3%)}
.mp-profile-choice-visual{display:grid;place-items:center;width:72px;height:66px;overflow:hidden;border-radius:16px;background:#f2f4ed}
.mp-profile-choice-visual img{display:block;width:100%;height:100%;object-fit:contain}
.mp-profile-choice-list--diet .mp-profile-choice-card:nth-child(n+2) .mp-profile-choice-visual img{object-fit:cover}
.mp-profile-choice-copy{min-width:0;font-size:14px;font-weight:650;line-height:1.25}
.mp-profile-choice-check{display:grid;place-items:center;width:22px;height:22px;border:1.5px solid #cbd4cc;border-radius:50%;color:transparent;font-size:12px;font-weight:800}
.mp-profile-choice-card[aria-pressed="true"]{border-color:var(--page-green);background:#f0f8f3;box-shadow:inset 0 0 0 1px var(--page-green)}
.mp-profile-choice-card[aria-pressed="true"] .mp-profile-choice-check{border-color:var(--page-green);background:var(--page-green);color:#fff}
.mp-profile-choice-list--goal{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.mp-profile-choice-list--goal .mp-profile-choice-card{grid-template-columns:48px minmax(0,1fr);gap:9px;min-height:88px;padding:9px 10px}
.mp-profile-choice-list--goal .mp-profile-choice-visual{width:48px;height:56px;border-radius:14px}
.mp-profile-choice-list--goal .mp-profile-choice-copy{font-size:12.5px;padding-right:9px}
.mp-profile-choice-list--goal .mp-profile-choice-check{position:absolute;right:8px;top:8px;width:19px;height:19px;font-size:10px}
.mp-profile-preference-stack{display:grid;gap:18px}
.mp-profile-preference-stack>.mp-page-section{margin:0}
.mp-profile-preference-stack>.mp-page-section>h2{margin:0 0 10px;padding-left:2px;font-family:var(--sans);font-size:13px;font-weight:700;letter-spacing:0}
.mp-profile-food-picker{display:grid;gap:14px}
.mp-profile-food-search{display:flex;align-items:center;gap:10px;min-width:0;min-height:52px;padding:0 14px;border:1px solid #dce4da;border-radius:18px;background:#fff;color:#728078}
.mp-profile-food-search>.mp-ui-icon{flex:none;width:20px;height:20px}
.mp-profile-food-search input{width:100%;min-width:0;min-height:50px;padding:10px 0;border:0;background:transparent;color:#283a30;font-size:16px}
.mp-profile-food-search input:focus-visible{outline:none}
.mp-profile-food-search:focus-within{outline:2px solid var(--page-green);outline-offset:2px}
.mp-profile-food-picker .mp-ui-field{gap:7px}
.mp-profile-food-picker .mp-ui-field>span:first-child{font-size:11px;color:#66746b}
.mp-profile-food-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mp-profile-food-option{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:8px;width:100%;min-height:60px;padding:7px 8px;border:1px solid #e3e7df;border-radius:16px;background:#fff;color:#34443a;text-align:left;font-size:12.5px;line-height:1.2}
.mp-profile-food-thumb{display:grid;place-items:center;width:42px;height:44px;overflow:hidden;border-radius:12px;background:#f4f3ed}
.mp-profile-food-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.mp-profile-food-thumb--empty{background:linear-gradient(145deg,#f5f4ef,#edf1e9)}
.mp-profile-food-check{display:grid;place-items:center;width:18px;height:18px;border:1.5px solid #cbd4cc;border-radius:50%;color:transparent;font-size:10px;font-weight:800}
.mp-profile-food-option[aria-pressed="true"]{border-color:var(--page-green);background:#eff8f3;box-shadow:inset 0 0 0 1px var(--page-green)}
.mp-profile-food-option[aria-pressed="true"] .mp-profile-food-check{border-color:var(--page-green);background:var(--page-green);color:#fff}
.mp-profile-food-empty{margin:2px 0 0;padding:18px 12px;border-radius:16px;background:#f2f4ef;color:#6f7b73;text-align:center;font-size:12px}
.mp-page[data-screen="allergies"] .mp-ui-option-list,.mp-page[data-screen="temps-cuisine"] .mp-ui-option-list{gap:8px;margin-top:0}
.mp-page[data-screen="allergies"] .mp-ui-option-list button,.mp-page[data-screen="temps-cuisine"] .mp-ui-option-list button{min-height:54px;background:#fff}
.mp-page[data-screen="objectifs"] .mp-page-heading p{margin-top:5px;font-size:12px}
.mp-page:is([data-screen="alimentation"],[data-screen="allergies"],[data-screen="gouts"],[data-screen="exclusions"],[data-screen="temps-cuisine"],[data-screen="objectifs"],[data-screen="langue"]) #screenContent{padding-bottom:26px}
@container(max-width:340px){
 .mp-profile-overview-row{padding-inline:12px}
 .mp-profile-setting{padding-inline:12px}
 .mp-profile-setting-previews img{width:25px;height:25px}
 .mp-profile-choice-list--goal .mp-profile-choice-card{grid-template-columns:42px minmax(0,1fr);gap:7px;padding:8px}
 .mp-profile-choice-list--goal .mp-profile-choice-visual{width:42px;height:52px}
 .mp-profile-choice-list--goal .mp-profile-choice-copy{font-size:11.5px}
 .mp-profile-food-options{gap:7px}
 .mp-profile-food-option{grid-template-columns:38px minmax(0,1fr) 17px;gap:6px;padding:6px;min-height:58px;font-size:11.5px}
 .mp-profile-food-thumb{width:38px;height:42px}
}

/* PROFILE-FINAL-20260921 */
.mp-profile-setting--visual{grid-template-columns:54px minmax(0,1fr) auto 22px}
.mp-profile-setting-art{display:grid;place-items:center;width:54px;height:50px;overflow:visible}
.mp-profile-setting-art img{display:block;width:100%;height:100%;object-fit:contain}
.mp-profile-choice-card{grid-template-columns:82px minmax(0,1fr) 24px;min-height:94px;padding:8px 12px 8px 8px}
.mp-profile-choice-visual{width:82px;height:78px;overflow:visible;border-radius:0;background:transparent}
.mp-profile-choice-visual img{display:block;width:100%;height:100%;object-fit:contain}
.mp-profile-choice-list--diet .mp-profile-choice-card:nth-child(n+2) .mp-profile-choice-visual img{object-fit:contain}
.mp-profile-choice-list--goal{grid-template-columns:1fr;gap:9px}
.mp-profile-choice-list--goal .mp-profile-choice-card{grid-template-columns:74px minmax(0,1fr) 22px;gap:12px;min-height:88px;padding:7px 12px 7px 8px}
.mp-profile-choice-list--goal .mp-profile-choice-visual{width:74px;height:72px;border-radius:0;background:transparent}
.mp-profile-choice-list--goal .mp-profile-choice-copy{font-size:13.5px;padding-right:0}
.mp-profile-choice-list--goal .mp-profile-choice-check{position:static;right:auto;top:auto;width:21px;height:21px;font-size:10px}
.mp-profile-food-option{grid-template-columns:minmax(0,1fr) 18px}
.mp-profile-food-option--media{grid-template-columns:42px minmax(0,1fr) 18px}
.mp-profile-food-option--text{padding-left:12px}
.mp-profile-food-thumb{overflow:visible;background:transparent}
@container(max-width:340px){
 .mp-profile-setting--visual{grid-template-columns:48px minmax(0,1fr) auto 20px}
 .mp-profile-setting-art{width:48px;height:46px}
 .mp-profile-choice-card{grid-template-columns:68px minmax(0,1fr) 22px}
 .mp-profile-choice-visual{width:68px;height:66px}
 .mp-profile-choice-list--goal .mp-profile-choice-card{grid-template-columns:62px minmax(0,1fr) 20px;gap:9px}
 .mp-profile-choice-list--goal .mp-profile-choice-visual{width:62px;height:62px}
 .mp-profile-choice-list--goal .mp-profile-choice-copy{font-size:12.5px}
 .mp-profile-food-option{grid-template-columns:minmax(0,1fr) 17px}
 .mp-profile-food-option--media{grid-template-columns:38px minmax(0,1fr) 17px}
}

/* Import menu only: brand-led social card and soft, tactile choices. */
.mp-page[data-screen="importer"] .mp-import-menu--premium{gap:16px}
.mp-page[data-screen="importer"] .mp-import-premium{gap:14px;padding:16px;border:1px solid rgb(255 255 255 / 76%);background:linear-gradient(145deg,rgb(243 249 246 / 90%),rgb(248 250 247 / 76%));box-shadow:0 10px 26px rgb(33 65 48 / 5%)}
.mp-page[data-screen="importer"] .mp-import-premium-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:0 2px}
.mp-page[data-screen="importer"] .mp-import-premium-badge{margin:0}
.mp-page[data-screen="importer"] .mp-import-premium-heading h2{font-size:22px}
.mp-page[data-screen="importer"] .mp-import-social{border:1px solid rgb(63 103 80 / 9%);border-radius:22px;background:rgb(255 255 255 / 92%);box-shadow:0 6px 18px rgb(35 60 43 / 5%)}
.mp-page[data-screen="importer"] .mp-import-social-head{display:grid;justify-items:center;gap:5px;padding:22px 14px 16px;text-align:center}
.mp-page[data-screen="importer"] .mp-import-social-head .mp-import-inline-logos{gap:18px;margin:0 0 9px}
.mp-page[data-screen="importer"] .mp-import-social-head .mp-import-inline-logos img{width:72px;height:72px;border-radius:19px;object-fit:contain;box-shadow:0 5px 17px rgb(36 49 42 / 12%)}
.mp-page[data-screen="importer"] .mp-import-social-head strong{font:700 24px/1.12 var(--mp-ui-font-display);letter-spacing:-.03em;color:var(--mp-ui-action-ink)}
.mp-page[data-screen="importer"] .mp-import-social-head small{font-size:13px;color:var(--mp-ui-muted)}
.mp-page[data-screen="importer"] .mp-import-social .mp-import-inline-choice-controls{gap:9px;padding:0 14px 16px;background:transparent}
.mp-page[data-screen="importer"] .mp-import-social .mp-import-inline-choice-controls>input{border-radius:16px;background:#fff;min-height:48px}
.mp-page[data-screen="importer"] .mp-import-social .mp-import-inline-choice-controls>.mp-ui-action{justify-self:stretch;min-height:48px;border-radius:24px;box-shadow:0 5px 12px rgb(43 109 87 / 16%)}
.mp-page[data-screen="importer"] .mp-import-method-grid{gap:10px}
.mp-page[data-screen="importer"] .mp-import-method{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-content:space-between;gap:5px;min-height:86px;padding:11px 12px;border:1px solid rgb(60 105 80 / 10%);border-radius:18px;background:rgb(255 255 255 / 86%);box-shadow:0 4px 12px rgb(35 60 43 / 5%);font-size:13px;transition:transform .18s ease,box-shadow .18s ease}
.mp-page[data-screen="importer"] .mp-import-method>span:nth-child(2){grid-column:1/-1;white-space:nowrap}
.mp-page[data-screen="importer"] .mp-import-method-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:13px;background:var(--mp-ui-action-soft);color:var(--mp-ui-action-accent)}
.mp-page[data-screen="importer"] .mp-import-method-icon svg{width:19px;height:19px}
.mp-page[data-screen="importer"] .mp-import-method-plus{display:grid;place-items:center;grid-column:2;grid-row:1;width:22px;height:22px;margin-left:auto;border-radius:50%;background:var(--mp-ui-action-soft);color:var(--mp-ui-action-accent)}
.mp-page[data-screen="importer"] .mp-import-method-plus svg{width:13px;height:13px}
.mp-page[data-screen="importer"] .mp-import-method[aria-expanded="true"]{border-color:var(--mp-ui-action-accent);background:#fff;box-shadow:0 5px 16px rgb(43 109 87 / 12%)}
.mp-page[data-screen="importer"] .mp-import-method[aria-expanded="true"] .mp-import-method-plus svg{transform:rotate(45deg)}
.mp-page[data-screen="importer"] .mp-import-manual{border:1px solid rgb(60 105 80 / 9%);background:rgb(255 255 255 / 88%);box-shadow:0 5px 18px rgb(35 60 43 / 5%)}
.mp-page[data-screen="importer"] .mp-import-manual>.mp-ui-action,.mp-page[data-screen="importer"] .mp-import-method-panel .mp-ui-action{border-radius:24px;min-height:46px}
.mp-page[data-screen="importer"] .mp-import-method-panel{border-radius:18px;background:rgb(255 255 255 / 88%)}
@media(hover:hover){.mp-page[data-screen="importer"] .mp-import-method:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgb(35 60 43 / 10%)}}
@media(prefers-reduced-motion:reduce){.mp-page[data-screen="importer"] .mp-import-method{transition:none}}
@container(max-width:340px){.mp-page[data-screen="importer"] .mp-import-premium{padding:12px}.mp-page[data-screen="importer"] .mp-import-social-head .mp-import-inline-logos img{width:64px;height:64px}.mp-page[data-screen="importer"] .mp-import-social-head{padding-top:18px}.mp-page[data-screen="importer"] .mp-import-method{gap:5px;padding:10px;font-size:12px}.mp-page[data-screen="importer"] .mp-import-method-icon{width:32px;height:32px}}

/* Manger maintenant: reversible turn, fixed card size and stationary control. */
.mp-page[data-screen="manger-maintenant"] .mp-photo-choices:has(>.mp-eat-choice){flex:none;min-height:auto;grid-template-rows:none;grid-auto-rows:max-content;align-content:start;gap:24px;padding-bottom:16px}
.mp-eat-choice{position:relative;flex-shrink:0;height:238px;min-height:238px;max-height:238px;align-self:start;border-radius:24px;perspective:1000px;isolation:isolate}
.mp-eat-turn{position:relative;width:100%;height:100%;border-radius:inherit;transform-style:preserve-3d;transition:transform 280ms cubic-bezier(.2,.7,.2,1)}
.mp-eat-choice.is-open .mp-eat-turn{transform:rotateY(180deg)}
.mp-eat-front,.mp-eat-panel{position:absolute;inset:0;border-radius:inherit;background:#fff;box-shadow:0 4px 15px rgb(37 54 31 / 6%);backface-visibility:hidden;-webkit-backface-visibility:hidden}
.mp-eat-front{transform:rotateY(0deg);overflow:hidden}
.mp-eat-front>.mp-eat-trigger{height:100%;min-height:0;box-shadow:none;background:transparent;z-index:1}
.mp-eat-front .mp-photo-choice-arrow{visibility:hidden}
.mp-page[data-screen="manger-maintenant"] .mp-eat-front>.mp-photo-choice-media{position:absolute;right:10px;top:20px;width:calc(50% - 15px);height:calc(100% - 40px);max-height:206px;aspect-ratio:auto;z-index:2;background:transparent;pointer-events:none}
.mp-eat-panel{transform:rotateY(180deg);box-sizing:border-box;height:100%;padding:12px 16px;display:flex;flex-direction:column;gap:4px;overflow-y:auto;overscroll-behavior:contain}
.mp-eat-choice [inert]{pointer-events:none}
.mp-eat-heading{min-height:44px;flex-shrink:0;display:flex;align-items:center}
.mp-eat-heading h2{font:700 21px/1.08 var(--mp-ui-font-display);letter-spacing:-.035em;margin:0;color:var(--mp-ui-text,#16231b)}
.mp-eat-toggle{position:absolute;left:16px;bottom:12px;z-index:3;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--mp-ui-action-soft,#edf4ed);color:var(--mp-ui-action-accent)}
.mp-eat-toggle svg{width:21px;height:21px;transition:transform 280ms ease}
.mp-eat-choice.is-open .mp-eat-toggle svg{transform:rotate(180deg)}
.mp-eat-panel>.mp-ui-action{width:100%;min-height:44px;flex-shrink:0}
.mp-eat-panel .flow-photo-picker{margin:0;flex-shrink:0}
.mp-eat-choice:not(.has-photos) .flow-photo-slots{display:none}
.mp-eat-panel .flow-photo-sources{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.mp-eat-panel .flow-photo-sources button{padding-block:8px;min-height:44px;min-width:0}
.mp-eat-panel .flow-photo-error:empty{display:none}
.mp-eat-panel>.mp-ui-action--quiet,.mp-eat-choice[data-eat-card="plate"] .flow-photo-sources>button:last-child{margin-left:52px;width:calc(100% - 52px)}
.mp-eat-choice button:focus-visible{outline:3px solid var(--mp-ui-action-accent);outline-offset:-3px}
@container(max-width:340px){.mp-eat-choice{height:214px;min-height:214px;max-height:214px;border-radius:21px}.mp-eat-panel{padding:10px 14px;gap:2px}.mp-eat-heading h2{font-size:19px}.mp-eat-toggle{left:14px;bottom:10px}}
@media(prefers-reduced-motion:reduce){
 .mp-eat-choice .mp-eat-turn,.mp-eat-choice.is-open .mp-eat-turn,.mp-eat-choice .mp-eat-front,.mp-eat-choice .mp-eat-panel{transform:none;transition:none}
 .mp-eat-choice .mp-eat-toggle svg{transition:none}
 .mp-eat-choice:not(.is-open) .mp-eat-panel,.mp-eat-choice.is-open .mp-eat-front{visibility:hidden}
}

/* Candidate-only approved exception: plate Photo / Gallery stacked, all other canon unchanged. */
.mp-page[data-screen="manger-maintenant"] .mp-eat-choice.is-open[data-eat-card="plate"] .flow-photo-sources{grid-template-columns:minmax(0,1fr);gap:0}
