@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');
:root{--green:#23834f;--green2:#dff1df;--dark:#183322;--lime:#c8ed77;--bg:#f5f8f2;--muted:#77847a;--line:#e5ebe2;--white:#fff}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--dark);font-family:'DM Sans',sans-serif;-webkit-font-smoothing:antialiased}.app{max-width:520px;margin:auto;min-height:100dvh;padding-bottom:92px}.top{height:66px;padding:env(safe-area-inset-top,0) 22px 0;display:flex;align-items:center;justify-content:space-between}.wordmark{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--dark);font:800 22px Manrope;letter-spacing:-1px}.logo{background:var(--dark);color:var(--lime);border-radius:12px;width:34px;height:34px;display:grid;place-items:center;font-size:19px}.dot{color:var(--green)}.profile{width:35px;height:35px;border:0;border-radius:50%;background:#e4efe0;color:var(--green);font-weight:800}.screen{display:none;padding:18px 22px 28px}.screen.active{display:block}.hero{padding-top:24px}.kicker{font-size:9px;letter-spacing:1.6px;color:var(--green);font-weight:800}.hero h1,.results-head h1,.generating h1{font:800 35px/1.13 Manrope;letter-spacing:-1.5px;margin:14px 0 10px}.hero h1 em{font-style:normal;color:var(--green)}.hero p,.results-head p,.generating p{color:var(--muted);font-size:14px;line-height:1.5}.hero-art{height:190px;margin:28px 0 25px;border-radius:24px;background:linear-gradient(135deg,#e7f0dd,#f6e8d4);display:flex;align-items:center;justify-content:center;gap:10px;overflow:hidden}.hero-art span{font-size:54px;filter:drop-shadow(0 8px 8px #5b6b3420)}.hero-art span:nth-child(2),.hero-art span:nth-child(4){transform:translateY(-20px)}.btn{border:0;border-radius:14px;padding:15px 18px;font:700 13px Manrope;cursor:pointer}.primary{background:#278950;color:white;box-shadow:0 8px 18px #27895025}.secondary{background:#edf2eb;color:#49634e}.wide{width:100%}.btn b{float:right;font-size:17px;margin-top:-3px}.social-proof{text-align:center;color:var(--muted);font-size:10px;margin-top:15px;letter-spacing:.4px}
.wizard-head{margin:2px 0 25px}.progress{height:5px;background:#e4eae1;border-radius:9px;overflow:hidden}.progress span{display:block;height:100%;width:16.6%;background:var(--green);border-radius:9px;transition:width .25s}.step-meta{display:flex;justify-content:space-between;margin-top:10px;color:var(--muted);font-size:9px;letter-spacing:1px;font-weight:800}.quiet{border:0;background:none;color:var(--muted);font-size:11px}.question h1{font:800 27px/1.2 Manrope;letter-spacing:-1px;margin:9px 0}.question p{font-size:13px;color:var(--muted);line-height:1.5;margin:0 0 22px}.wizard-actions{display:flex;gap:10px;margin-top:25px}.wizard-actions .btn:first-child{width:35%}.wizard-actions .btn:last-child{flex:1}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice{border:1.5px solid var(--line);background:white;border-radius:15px;padding:14px;text-align:left;min-height:91px;color:var(--dark);position:relative}.choice .emoji{font-size:23px;display:block;margin-bottom:8px}.choice strong{font:700 12px Manrope;display:block}.choice small{display:block;color:var(--muted);font-size:10px;margin-top:4px;line-height:1.3}.choice.selected{border-color:var(--green);background:#eff7ec;box-shadow:inset 0 0 0 1px var(--green)}.choice.selected:after{content:'✓';position:absolute;right:10px;top:9px;width:19px;height:19px;border-radius:50%;background:var(--green);color:white;font-size:12px;display:grid;place-items:center}.store-grid .choice{min-height:74px;display:flex;align-items:center;gap:11px}.store-logo{width:34px;height:34px;background:#f1f4ed;border-radius:10px;display:grid;place-items:center;font-weight:800;color:var(--green);font-size:11px}.store-grid .choice small{margin:0}.slider-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:20px}.slider-value{font:800 42px Manrope;text-align:center;color:var(--green)}.slider-value small{font-size:15px;color:var(--muted)}input[type=range]{width:100%;accent-color:var(--green);margin:22px 0 10px}.range-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.helper{text-align:center;font-size:11px;color:var(--muted);margin-top:16px}.people-control{display:flex;align-items:center;justify-content:center;gap:25px;padding:24px;background:white;border:1px solid var(--line);border-radius:18px}.people-control button{width:40px;height:40px;border:0;border-radius:50%;background:#eaf2e6;color:var(--green);font-size:22px}.people-control strong{font:800 35px Manrope}.people-control small{display:block;text-align:center;color:var(--muted);font-size:11px}.tagline{font-size:11px;color:var(--muted);margin-top:15px}
.generating{padding:65px 5px;text-align:center}.loader-orbit{width:105px;height:105px;border-radius:50%;background:#e5f1df;margin:0 auto 28px;display:grid;place-items:center;font-size:43px;animation:bob 1.6s ease-in-out infinite}@keyframes bob{50%{transform:translateY(-7px)}}.generating h1{font-size:32px}.loading-track{height:6px;border-radius:9px;background:#e5ebe2;margin:25px 0;overflow:hidden}.loading-track span{display:block;width:10%;height:100%;background:var(--green);transition:width .5s}.generating ul{list-style:none;padding:0;text-align:left;max-width:260px;margin:auto;color:var(--muted);font-size:12px;line-height:2.6}.generating li.done{color:var(--green);font-weight:700}
.results-head{margin:5px 0 17px}.results-head h1{margin:7px 0}.result-budget{background:var(--dark);border-radius:20px;padding:18px 20px;color:white;display:flex;justify-content:space-between;align-items:center}.result-budget small{display:block;color:#c1d0c2;font-size:8px;letter-spacing:1.3px;font-weight:800}.result-budget strong{display:block;font:800 31px Manrope;margin:5px 0}.result-budget span{font-size:10px;color:#c1d0c2}.budget-ring{width:76px;height:76px;border:5px solid var(--lime);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.budget-ring span{font:800 17px Manrope;color:white}.budget-ring small{font-size:8px;color:#c1d0c2}.tabs{display:flex;gap:6px;background:#e9eee6;padding:5px;border-radius:13px;margin:18px 0}.tab{border:0;background:transparent;color:var(--muted);border-radius:10px;padding:10px 8px;flex:1;font-size:11px;font-weight:700}.tab.active{background:#fff;color:var(--green);box-shadow:0 2px 8px #1833220d}.panel{display:none}.panel.active{display:block}.weekbar{display:flex;align-items:center;justify-content:space-between;margin:17px 0 12px}.weekbar h2{font:800 20px Manrope;margin:4px 0}.refresh{border:0;background:#e6f1e1;color:var(--green);border-radius:10px;padding:9px 12px;font-weight:700;font-size:11px}.day-block{margin-bottom:17px}.day-title{font:800 11px Manrope;letter-spacing:1px;margin:15px 0 8px;color:var(--green)}.meal-card{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:8px;display:grid;grid-template-columns:78px 1fr;min-height:91px}.meal-photo{display:grid;place-items:center;background:linear-gradient(145deg,#f5eddb,#e9f0df);font-size:34px}.meal-body{padding:11px 12px}.meal-type{font-size:8px;color:var(--green);font-weight:800;letter-spacing:1px}.meal-body h3{font:700 13px Manrope;margin:4px 0}.meal-meta{font-size:9px;color:var(--muted)}.meal-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:7px}.meal-price{font:800 11px Manrope}.meal-actions{display:flex;gap:5px}.meal-actions button{border:0;background:#f0f5ed;color:var(--green);border-radius:7px;padding:5px 7px;font-size:9px}.estimate{font:800 18px Manrope;color:var(--green)}.subtle{font-size:11px;color:var(--muted);margin-top:-4px}.grocery-group{background:white;border:1px solid var(--line);border-radius:14px;padding:4px 13px;margin-bottom:10px}.grocery-title{font:800 9px Manrope;color:var(--green);letter-spacing:1px;margin:15px 0 7px}.grocery-row{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #edf0eb;font-size:12px}.grocery-row:last-child{border:0}.grocery-row input{accent-color:var(--green);width:17px;height:17px}.grocery-row.checked span{text-decoration:line-through;color:#a0aaa0}.grocery-row small{margin-left:auto;color:var(--muted);font-size:10px}.profile-summary{background:white;border:1px solid var(--line);border-radius:15px;padding:15px;font-size:12px;line-height:2}.disclaimer{font-size:9px;color:#929c92;line-height:1.5;margin:15px 2px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(520px,100%);height:calc(68px + env(safe-area-inset-bottom));padding:7px 20px env(safe-area-inset-bottom);background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid var(--line);display:flex;justify-content:space-around;z-index:8}.nav-item{border:0;background:none;color:#9aa39a;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:9px;font-weight:700}.nav-item span{font-size:20px}.nav-item.selected{color:var(--green)}#toast{position:fixed;bottom:85px;left:50%;transform:translate(-50%,15px);opacity:0;background:var(--dark);color:white;padding:10px 15px;border-radius:20px;font-size:11px;transition:.2s;z-index:20}#toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:600px){body{padding:20px 0}.app{border-radius:26px;overflow:hidden;min-height:calc(100dvh - 40px);box-shadow:0 15px 60px #182d1b12}}

/* Store brand marks */
.store-grid .choice{gap:11px}
.store-logo{width:49px;height:43px;min-width:49px;border-radius:10px;display:flex;align-items:center;justify-content:center;font:800 10px/1 Manrope;letter-spacing:-.4px;box-shadow:inset 0 0 0 1px #0000000b;overflow:hidden}
.store-logo.lidl{background:#0754a5;color:#ffdf00;border:3px solid #e52629;border-radius:9px;font-size:13px;letter-spacing:-1px}
.store-logo.leclerc{background:#fff;color:#1765ad;border:1px solid #e5e9e4;font-size:9px;letter-spacing:-.6px}
.store-logo.leclerc b{color:#e52d35}
.store-logo.carrefour{background:#fff;color:#07549b;border:1px solid #e5e9e4;font-size:9px}
.store-logo.carrefour b{color:#e21d36}
.store-logo.intermarche{background:#fff;color:#164c91;border:1px solid #e5e9e4;font-size:8px;letter-spacing:-.7px}
.store-logo.intermarche b{color:#e52d35}
.store-logo.auchan{background:#fff;color:#d51f36;border:1px solid #e5e9e4;font-size:10px}
.store-logo.other{background:#edf3e9;color:#278950;font-size:18px}
.store-grid .choice strong{font-size:12px}
.profile{display:grid;place-items:center;font-size:12px;letter-spacing:.2px}
.modal-backdrop{position:fixed;inset:0;background:#1021169c;backdrop-filter:blur(7px);z-index:30;display:flex;align-items:center;justify-content:center;padding:22px}
.modal-backdrop[hidden]{display:none}
.profile-modal{width:100%;max-width:390px;background:#f9fbf7;border-radius:24px;padding:25px 21px 21px;position:relative;text-align:center;box-shadow:0 20px 70px #07140b55}
.modal-close{position:absolute;right:15px;top:12px;border:0;background:#eaf0e7;color:#607064;border-radius:50%;width:30px;height:30px;font-size:20px}
.profile-avatar{width:37px;height:37px;border-radius:50%;background:#e4efe0;color:#23834f;display:grid;place-items:center;font:800 13px Manrope}
.profile-avatar.large{width:66px;height:66px;margin:17px auto 13px;font-size:23px;background:#dff1df}
.profile-modal h2{font:800 23px Manrope;margin:7px 0}
.profile-modal p{font-size:12px;color:#77847a;line-height:1.5;margin:0 0 19px}
.input-label{display:flex;flex-direction:column;text-align:left;gap:7px;font-size:11px;font-weight:700;margin:13px 0}
.input-label input{border:1px solid #e0e8dd;border-radius:12px;padding:14px;background:#fff;font:500 14px 'DM Sans';color:#183322;outline:none}
.input-label input:focus{border-color:#23834f}
.privacy-note{display:block;color:#8b968c;font-size:9px;line-height:1.4;margin-top:12px}
.profile-summary .profile-name-line{display:flex;align-items:center;gap:10px;margin-bottom:9px;padding-bottom:10px;border-bottom:1px solid #edf0eb}
.profile-summary .profile-name-line strong{font:800 15px Manrope}

/* Mealio Dark theme */
:root{--green:#8bd5a6;--green2:#203b2b;--dark:#eef4ef;--lime:#c8ed77;--bg:#101713;--muted:#a3b0a6;--line:#2c3a30;--white:#1a251e}
html,body,.app{background:#101713;color:#eef4ef}
.top{background:#101713}.wordmark{color:#eef4ef}.logo{background:#d5f28a;color:#17241b}
.profile{background:#263b2d;color:#b9e9c7}
.hero p,.results-head p,.question p,.generating p,.subtle,.tagline{color:#a3b0a6}
.hero-art{background:linear-gradient(135deg,#233d2c,#3b3a29)}
.btn.secondary{background:#26352c;color:#dce9de}
.slider-card,.choice,.people-control,.meal-card,.grocery-group,.profile-summary{background:#1a251e;border-color:#304036;color:#f1f5ef}
.choice small,.meal-meta,.grocery-row small{color:#a3b0a6}
.choice.selected{background:#203d2c;border-color:#8bd5a6;box-shadow:inset 0 0 0 1px #8bd5a6}
.store-logo{background:#fff;border-radius:10px;padding:3px;display:flex;align-items:center;justify-content:center;width:58px;height:48px;min-width:58px}
.store-logo img{width:100%;height:100%;max-width:54px;max-height:42px;object-fit:contain}
.auchan-wordmark{color:#e0001b;font:900 9px Manrope;letter-spacing:-.5px}
.intermarche-wordmark{color:#e2001a;font:900 8px Manrope;letter-spacing:-.5px;white-space:nowrap}
.progress,.loading-track{background:#2a382f}
.result-budget{background:#203c2b}
.tabs{background:#1b2820}.tab.active{background:#2b3c30;color:#a6e6b9;box-shadow:none}.tab{color:#a3b0a6}
.refresh{background:#253a2c;color:#9de0b3}
.day-title,.grocery-title,.kicker{color:#8bd5a6}
.meal-photo{background:linear-gradient(145deg,#293a2d,#453e2d)}
.grocery-row{border-color:#2a382f}.grocery-row.checked span{color:#748178}
.bottom-nav{background:#151f19ed;border-color:#29362e}.nav-item{color:#89978d}.nav-item.selected{color:#8bd5a6}
.profile-modal{background:#1b2820;color:#f1f5ef}.profile-modal p,.privacy-note{color:#a3b0a6}
.modal-close{background:#2b3a30;color:#dce9de}
.input-label input{background:#111a14;border-color:#35443a;color:#f1f5ef}.input-label input::placeholder{color:#748178}
.disclaimer{color:#89978d}#toast{background:#d5f28a;color:#17241b}

/* Recipe detail experience */
.recipe-screen{padding-top:8px}
.recipe-topbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}
.recipe-back{border:0;background:#24362b;color:#a9e6bc;border-radius:12px;padding:10px 13px;font:700 11px Manrope}
.recipe-back span{margin-left:5px}
.recipe-share{width:34px;height:34px;border:0;border-radius:50%;background:#25332b;color:#dce9de;font-size:22px}
.recipe-hero{background:linear-gradient(135deg,#203a2b,#26332a 65%,#3d3928);border:1px solid #344b3a;border-radius:22px;overflow:hidden;min-height:195px;display:flex;align-items:center;padding:18px;gap:14px;position:relative}
.recipe-emoji{width:100px;height:100px;min-width:100px;border-radius:19px;background:#ffffff12;display:grid;place-items:center;font-size:57px;box-shadow:inset 0 0 0 1px #ffffff10}
.recipe-hero-copy{position:relative;z-index:1}
.recipe-kicker{font-size:8px;letter-spacing:1.5px;color:#9be0b1;font-weight:800}
.recipe-hero h1{font:800 21px/1.13 Manrope;letter-spacing:-.7px;color:#f5f8f2;margin:8px 0}
.recipe-hero p{font-size:10px;line-height:1.45;color:#c1d0c4;margin:0}
.recipe-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:12px 0 20px}
.recipe-stats>div{background:#1b2820;border:1px solid #2d3d32;border-radius:13px;padding:10px 5px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px}
.recipe-stats>div>span{font-size:15px;color:#91dba8}
.recipe-stats strong{font:800 11px Manrope;color:#f1f5ef}
.recipe-stats small{font-size:8px;color:#98a79c}
.recipe-section{margin:20px 0}
.recipe-section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:10px}
.recipe-section-heading h2{font:800 19px Manrope;color:#f1f5ef;margin:4px 0 0;letter-spacing:-.5px}
.recipe-count{font-size:9px;color:#9aa99d;background:#223128;padding:6px 9px;border-radius:20px}
.recipe-ingredients{background:#1a251e;border:1px solid #2c3b31;border-radius:15px;padding:4px 13px}
.recipe-ingredient{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #2a382f;font-size:11px;color:#e8eee8}
.recipe-ingredient:last-child{border:0}
.recipe-ingredient input,.step-check{accent-color:#8bd5a6;width:17px;height:17px;flex-shrink:0}
.recipe-ingredient strong{margin-left:auto;color:#a7e5b9;font-size:10px;white-space:nowrap}
.recipe-ingredient.done span{text-decoration:line-through;color:#718077}
.recipe-tools{display:flex;flex-wrap:wrap;gap:7px}
.recipe-tools span{background:#1e3025;border:1px solid #304638;color:#b6dfc1;padding:8px 10px;border-radius:9px;font-size:12px}
.recipe-hint{font-size:12px;color:#aeb9b1;margin:-2px 0 12px;line-height:1.5}
.recipe-steps{display:flex;flex-direction:column;gap:8px}
.recipe-step{display:grid;grid-template-columns:17px 28px 1fr;gap:10px;align-items:start;background:#1a251e;border:1px solid #2c3b31;border-radius:14px;padding:13px 11px}
.recipe-step input{margin-top:3px;accent-color:#8bd5a6;width:16px;height:16px}
.step-number{width:27px;height:27px;border-radius:9px;background:#294333;color:#a8e5b8;display:grid;place-items:center;font:800 12px Manrope}
.step-copy{font-size:14px;line-height:1.65;color:#e4ece5}
.recipe-step.done{border-color:#4e8c62;background:#1d3325}
.recipe-step.done .step-copy{text-decoration:line-through;color:#8c9c90}
.recipe-step.done .step-number{background:#8bd5a6;color:#14231a}
.recipe-bottom-note{text-align:center;color:#9db0a1;font:700 12px Manrope;padding:12px 0 20px}
.recipe-bottom-note span{color:#91dba8}
@media(max-width:380px){.recipe-hero{padding:13px;gap:10px}.recipe-emoji{width:78px;height:78px;min-width:78px;font-size:44px}.recipe-hero h1{font-size:18px}.recipe-stats small{font-size:7px}}

/* MEALIO V6 — midnight blue and electric azure */
:root{--green:#39a8ff;--green2:#12345a;--dark:#edf5ff;--lime:#55c8ff;--bg:#071426;--muted:#9aacc2;--line:#233a56;--white:#10223a}
html,body,.app{background:#071426;color:#edf5ff}
.top{background:#071426}
.wordmark{color:#edf5ff}
.logo{background:linear-gradient(145deg,#eaf7ff,#67c9ff);color:#09213d}
.profile{background:#173653;color:#8ed8ff}
.screen{color:#edf5ff}
.hero p,.results-head p,.question p,.generating p,.subtle,.tagline{color:#9aacc2}
.hero-art{background:linear-gradient(135deg,#12365b,#1b3150)}
.btn.primary{background:linear-gradient(110deg,#1597f4,#1768df);color:#fff;box-shadow:0 9px 24px #0878d933}
.btn.secondary{background:#1a304a;color:#dcecff}
.slider-card,.choice,.people-control,.meal-card,.grocery-group,.profile-summary{background:#10223a;border-color:#294461;color:#edf5ff}
.choice small,.meal-meta,.grocery-row small{color:#9aacc2}
.choice.selected{background:#102f4e;border-color:#42b8ff;box-shadow:inset 0 0 0 1px #42b8ff}
.store-logo{background:#fff;border-radius:10px;padding:3px;display:flex;align-items:center;justify-content:center;min-width:54px;min-height:42px}
.store-logo img{width:100%;height:100%;max-width:84px;max-height:48px;object-fit:contain}
.progress,.loading-track{background:#263b55}
.result-budget{background:linear-gradient(135deg,#10365b,#102641);border:1px solid #28517b}
.tabs{background:#10233b}
.tab.active{background:#1b3b5d;color:#78ceff;box-shadow:none}
.tab{color:#9aacc2}
.refresh{background:#183a5b;color:#76caff}
.day-title,.grocery-title,.kicker{color:#65c5ff}
.meal-photo{background:linear-gradient(145deg,#1b3d60,#293b55)}
.grocery-row{border-color:#263c56}
.grocery-row.checked span{color:#71859c}
.bottom-nav{background:#0c1d32ed;border-color:#233a56}
.nav-item{color:#879bb4}
.nav-item.selected{color:#64c5ff}
.profile-modal{background:#10233a;color:#edf5ff;border:1px solid #2b4a69}
.profile-modal p,.privacy-note{color:#9aacc2}
.modal-close{background:#1d3855;color:#dcecff}
.input-label input{background:#0a1a2d;border-color:#2b4968;color:#edf5ff}
.input-label input::placeholder{color:#7188a2}
.disclaimer{color:#879bb4}
#toast{background:#1a9cf2;color:#fff}
.recipe-hero{background:linear-gradient(135deg,#12375c,#152b48 65%,#1c3856);border-color:#2d5b84}
.recipe-kicker{color:#69caff}
.recipe-stats>div,.recipe-ingredients,.recipe-step{background:#10233a;border-color:#294461}
.recipe-stats>div>span,.recipe-ingredient strong{color:#69caff}
.recipe-stats strong,.recipe-section-heading h2,.step-copy{color:#edf5ff}
.recipe-tools span{background:#173653;border-color:#2b5278;color:#b9e4ff}
.recipe-count{background:#1b3857;color:#9ecdf2}
.recipe-back{background:#173653;color:#8bd4ff}
.recipe-step.done{border-color:#267fc1;background:#102d49}
.recipe-step.done .step-number{background:#43b8ff;color:#09213d}
.recipe-bottom-note{color:#9aacc2}
.recipe-bottom-note span{color:#55c8ff}

/* V7 — selectable planning duration */
.days-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:26px 0 14px}
.day-option{min-height:78px;border:1px solid #294461;border-radius:17px;background:#10223a;color:#edf5ff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:inherit;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.day-option strong{font-size:25px;line-height:1.1}
.day-option span{font-size:12px;color:#9aacc2}
.day-option.selected{background:#12375b;border:2px solid #39a8ff;box-shadow:inset 0 0 0 1px #39a8ff,0 6px 18px #0878df22}
.day-option.selected span{color:#9edcff}
@media(min-width:560px){.days-picker{grid-template-columns:repeat(7,minmax(0,1fr))}}

/* V9 — inventaire frigo & placards */
.inventory-form{background:#10223a;border:1px solid #294461;border-radius:18px;padding:16px;margin:18px 0 24px;display:grid;gap:12px}
.inventory-form .input-label{display:grid;gap:7px;color:#b8c9dc;font-size:13px;font-weight:600}
.inventory-form input,.inventory-form select{width:100%;min-height:46px;border-radius:12px;border:1px solid #2b4968;background:#0a1a2d;color:#edf5ff;padding:0 12px;font:inherit}
.inventory-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.inventory-toolbar{display:flex;align-items:center;justify-content:space-between;margin:8px 0 12px}
.inventory-toolbar h3{font-size:17px;margin:0;color:#edf5ff}
.inventory-toolbar .quiet{font-size:12px}
.inventory-item{display:flex;align-items:center;gap:12px;padding:13px 12px;margin:8px 0;background:#10223a;border:1px solid #294461;border-radius:15px}
.inventory-item-icon{width:42px;height:42px;border-radius:12px;background:#173653;display:grid;place-items:center;font-size:20px;flex-shrink:0}
.inventory-item-copy{display:grid;gap:3px;min-width:0;flex:1}
.inventory-item-copy strong{color:#edf5ff;font-size:14px;overflow-wrap:anywhere}
.inventory-item-copy span,.inventory-item-copy small{color:#9aacc2;font-size:12px}
.inventory-item-copy small.is-expired{color:#ff9b9b}
.inventory-item-copy small.is-soon{color:#ffd27a}
.inventory-delete{border:0;background:#1b3857;color:#a9c9e7;border-radius:10px;width:34px;height:34px;font-size:21px;cursor:pointer}
.inventory-empty{padding:20px;text-align:center;color:#9aacc2;background:#10223a;border:1px dashed #294461;border-radius:15px}
.inventory-empty[hidden]{display:none}
@media(max-width:360px){.inventory-fields{grid-template-columns:1fr}}
.bottom-nav .nav-item{min-width:0;flex:1;padding-left:2px;padding-right:2px;font-size:11px}
.bottom-nav .nav-item span{display:block;font-size:18px;line-height:1.3}

/* V10 — recherche de recettes à partir des ingrédients disponibles */
.ingredient-finder{margin:18px 0 26px;padding:17px;background:linear-gradient(145deg,#122b46,#0e2035);border:1px solid #315272;border-radius:20px}
.finder-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.finder-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#1a4164;color:#8dd6ff;font-size:23px}
.finder-heading div{display:grid;gap:3px}
.finder-heading strong{font-size:16px;color:#f0f7ff}
.finder-heading small{font-size:12px;color:#9db3ca}
#ingredientSearchForm{display:grid;gap:10px}
#ingredientSearchForm textarea{width:100%;resize:vertical;min-height:78px;border-radius:13px;border:1px solid #315272;background:#091a2d;color:#f1f7ff;padding:12px;font:inherit}
#ingredientSearchForm textarea::placeholder{color:#7088a2}
.finder-check{display:flex;align-items:center;gap:8px;color:#a9bdd2;font-size:12px}
.finder-check input{accent-color:#55b8f2;width:16px;height:16px}
.ingredient-results{display:grid;gap:11px;margin-top:16px}
.finder-results-title{display:grid;gap:3px;margin-bottom:2px}
.finder-results-title strong{font-size:16px;color:#eff7ff}
.finder-results-title span{font-size:12px;color:#91a8c1}
.finder-recipe{padding:14px;background:#0b1c30;border:1px solid #2a4967;border-radius:16px}
.finder-recipe-top{display:flex;align-items:center;gap:10px}
.finder-emoji{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#183653;font-size:23px;flex-shrink:0}
.finder-recipe-title{display:grid;gap:4px;min-width:0;flex:1}
.finder-recipe-title strong{font-size:14px;color:#f0f7ff}
.finder-recipe-title small{font-size:11px;color:#96abc1}
.finder-score{font-size:12px;font-weight:700;color:#8bd2ff;background:#173b59;padding:6px 8px;border-radius:9px}
.finder-progress{height:5px;background:#1b3048;border-radius:99px;overflow:hidden;margin:12px 0}
.finder-progress span{display:block;height:100%;background:linear-gradient(90deg,#328ed0,#73d0ff);border-radius:99px}
.finder-match,.finder-missing,.finder-perfect{font-size:12px;line-height:1.5;margin:5px 0;color:#b5c9dc}
.finder-missing{color:#e7c58a}
.finder-perfect{color:#8bd9b1}
.finder-recipe .btn{margin-top:10px}
.finder-empty{padding:16px;text-align:center;color:#a9bdd2;background:#0b1c30;border:1px dashed #315272;border-radius:14px;font-size:13px;line-height:1.5}

/* Mealio V13 — identité monochrome minimaliste */
:root{--green:#171717;--green2:#ededed;--dark:#111111;--lime:#d9d9d9;--bg:#f7f7f7;--muted:#777777;--line:#e5e5e5;--white:#ffffff}
body{background:#f7f7f7;color:#111}
.wordmark{color:#111}
.logo{background:#111;color:#fff}
.dot,.kicker,.hero h1 em{color:#111}
.profile{background:#ededed;color:#111}
.hero-art{background:linear-gradient(135deg,#f0f0f0,#fafafa)}
.primary{background:#111;color:#fff;box-shadow:0 8px 18px #00000012}
.secondary{background:#ededed;color:#222}
.progress{background:#e6e6e6}
.progress span{background:#111}
.choice.selected{border-color:#111;background:#f3f3f3;box-shadow:inset 0 0 0 1px #111}
.choice.selected:after{background:#111;color:#fff}
.store-logo{background:#f0f0f0;color:#111}
.slider-value{color:#111}
input[type=range]{accent-color:#111}
.people-control button{background:#ededed;color:#111}
.loader-orbit{background:#ededed}
.meal-price,.result-total,.budget-value{color:#111}
.tab.active,.nav-item.active{color:#111}
.tab.active:after,.nav-item.active:after{background:#111}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:#111}

/* V14 HOTFIX — force monochrome across every legacy V6/V7/V9 component */
:root{
 --green:#111111!important;--green2:#eeeeee!important;--dark:#111111!important;
 --lime:#d8d8d8!important;--bg:#f7f7f7!important;--muted:#737373!important;
 --line:#e5e5e5!important;--white:#ffffff!important;
}
html,body,.app,.top,.screen,.generating{background:#f7f7f7!important;color:#111!important}
.wordmark,.screen,.hero h1,.question h1,.results-head h1,.generating h1,
.recipe-stats strong,.recipe-section-heading h2,.step-copy{color:#111!important}
.logo{background:#111!important;color:#fff!important}
.dot,.kicker,.hero h1 em,.day-title,.grocery-title,.recipe-kicker,
.recipe-stats>div>span,.recipe-ingredient strong,.recipe-bottom-note span{color:#111!important}
.profile{background:#ededed!important;color:#111!important}
.hero-art{background:linear-gradient(135deg,#eeeeee,#fafafa)!important}
.btn.primary,.primary{background:#111!important;color:#fff!important;box-shadow:none!important}
.btn.secondary,.secondary{background:#ededed!important;color:#222!important}
.slider-card,.choice,.people-control,.meal-card,.grocery-group,.profile-summary,
.recipe-stats>div,.recipe-ingredients,.recipe-step,.profile-modal{
 background:#fff!important;border-color:#e5e5e5!important;color:#111!important;
}
.choice small,.meal-meta,.grocery-row small,.hero p,.results-head p,.question p,
.generating p,.subtle,.tagline,.profile-modal p,.privacy-note,.disclaimer,
.recipe-bottom-note,.day-option span,.choice small{color:#737373!important}
.choice.selected,.day-option.selected{background:#f0f0f0!important;border-color:#111!important;
 box-shadow:inset 0 0 0 1px #111!important;color:#111!important}
.choice.selected:after{background:#111!important;color:#fff!important}
.progress,.loading-track{background:#e5e5e5!important}
.progress span{background:#111!important}
.result-budget{background:#f1f1f1!important;border:1px solid #e5e5e5!important;color:#111!important}
.tabs,.bottom-nav{background:#fff!important;border-color:#e5e5e5!important}
.tab,.nav-item{color:#777!important}
.tab.active,.nav-item.selected,.nav-item.active{background:#f0f0f0!important;color:#111!important}
.refresh,.modal-close,.recipe-back,.recipe-tools span,.recipe-count,
.inventory-delete,.finder-icon,.finder-emoji{
 background:#ededed!important;color:#111!important;border-color:#e5e5e5!important
}
.meal-photo{background:#f0f0f0!important}
.grocery-row{border-color:#e5e5e5!important}
.grocery-row.checked span{color:#999!important}
.input-label input,#ingredientSearchForm textarea{
 background:#fff!important;border-color:#ddd!important;color:#111!important
}
.input-label input::placeholder{color:#999!important}
.recipe-hero{background:#f0f0f0!important;border-color:#e5e5e5!important;color:#111!important}
.recipe-step.done{border-color:#ccc!important;background:#f3f3f3!important}
.recipe-step.done .step-number{background:#111!important;color:#fff!important}
#toast{background:#111!important;color:#fff!important}
.days-picker .day-option{background:#fff!important;border-color:#e5e5e5!important;color:#111!important}
.days-picker .day-option.selected{background:#f0f0f0!important;border:2px solid #111!important}
.finder-recipe,.finder-empty{background:#fff!important;border-color:#e5e5e5!important;color:#111!important}
.finder-progress{background:#e5e5e5!important}
.finder-progress span{background:#111!important}
.finder-match,.finder-missing,.finder-perfect{color:#555!important}
.people-control button{background:#ededed!important;color:#111!important}
input[type=range],.recipe-ingredient input,.step-check,.recipe-step input{accent-color:#111!important}

/* Mealio V15 — dark minimalist theme */
:root{
 --green:#ffffff!important;--green2:#292929!important;--dark:#ffffff!important;
 --lime:#bdbdbd!important;--bg:#080808!important;--muted:#a0a0a0!important;
 --line:#303030!important;--white:#151515!important;
 color-scheme:dark;
}
html,body,.app,.top,.screen,.generating{background:#080808!important;color:#f5f5f5!important}
body{background:#080808!important;color:#f5f5f5!important}
.wordmark,.screen,.hero h1,.question h1,.results-head h1,.generating h1,
.recipe-stats strong,.recipe-section-heading h2,.step-copy{color:#f5f5f5!important}
.logo{background:transparent!important;color:#fff!important}
.dot,.kicker,.hero h1 em,.day-title,.grocery-title,.recipe-kicker,
.recipe-stats>div>span,.recipe-ingredient strong,.recipe-bottom-note span{color:#fff!important}
.profile{background:#202020!important;color:#fff!important}
.hero-art{background:linear-gradient(135deg,#181818,#252525)!important}
.btn.primary,.primary{background:#fff!important;color:#080808!important;box-shadow:none!important}
.btn.secondary,.secondary{background:#292929!important;color:#f5f5f5!important}
.slider-card,.choice,.people-control,.meal-card,.grocery-group,.profile-summary,
.recipe-stats>div,.recipe-ingredients,.recipe-step,.profile-modal{
 background:#171717!important;border-color:#333!important;color:#f5f5f5!important;
}
.choice small,.meal-meta,.grocery-row small,.hero p,.results-head p,.question p,
.generating p,.subtle,.tagline,.profile-modal p,.privacy-note,.disclaimer,
.recipe-bottom-note,.day-option span{color:#aaa!important}
.choice.selected,.day-option.selected{background:#292929!important;border-color:#fff!important;
 box-shadow:inset 0 0 0 1px #fff!important;color:#fff!important}
.choice.selected:after{background:#fff!important;color:#080808!important}
.progress,.loading-track{background:#333!important}
.progress span{background:#fff!important}
.result-budget{background:#1b1b1b!important;border:1px solid #383838!important;color:#fff!important}
.tabs,.bottom-nav{background:#111!important;border-color:#333!important}
.tab,.nav-item{color:#aaa!important}
.tab.active,.nav-item.selected,.nav-item.active{background:#292929!important;color:#fff!important}
.refresh,.modal-close,.recipe-back,.recipe-tools span,.recipe-count,
.inventory-delete,.finder-icon,.finder-emoji{
 background:#292929!important;color:#fff!important;border-color:#444!important
}
.meal-photo{background:#292929!important}
.grocery-row{border-color:#333!important}
.grocery-row.checked span{color:#888!important}
.input-label input,#ingredientSearchForm textarea{
 background:#171717!important;border-color:#444!important;color:#fff!important
}
.input-label input::placeholder{color:#999!important}
.recipe-hero{background:#191919!important;border-color:#383838!important;color:#fff!important}
.recipe-ingredients{background:#171717!important;border:1px solid #383838!important}
.recipe-ingredient{color:#f5f5f5!important;border-color:#383838!important}
.recipe-ingredient span,.recipe-ingredient strong{color:#fff!important}
.recipe-ingredient.done span{color:#999!important}
.recipe-step{background:#171717!important;border-color:#383838!important;color:#f5f5f5!important}
.recipe-step.done{border-color:#555!important;background:#222!important}
.recipe-step.done .step-number{background:#fff!important;color:#080808!important}
#toast{background:#fff!important;color:#080808!important}
.days-picker .day-option{background:#171717!important;border-color:#383838!important;color:#fff!important}
.days-picker .day-option.selected{background:#292929!important;border:2px solid #fff!important}
.finder-recipe,.finder-empty{background:#171717!important;border-color:#383838!important;color:#fff!important}
.finder-progress{background:#333!important}
.finder-progress span{background:#fff!important}
.finder-match,.finder-missing,.finder-perfect{color:#ddd!important}
.people-control button{background:#292929!important;color:#fff!important}
input[type=range],.recipe-ingredient input,.step-check,.recipe-step input{accent-color:#fff!important}

/* V16 — accent colors, readable recipe action, proper navigation pictograms */
:root{--accent-green:#35d07f;--accent-orange:#f2a541;--accent-blue:#64b5f6}
.kicker,.dot,.estimate,.recipe-kicker{color:var(--accent-green)!important}
.btn.primary,.primary{background:var(--accent-green)!important;color:#07130c!important}
.progress span,.finder-progress span{background:var(--accent-green)!important}
.choice.selected,.day-option.selected{border-color:var(--accent-green)!important}
.choice.selected:after{background:var(--accent-green)!important;color:#07130c!important}
.result-budget{border-color:#28543b!important}
.meal-price,.budget-value{color:var(--accent-green)!important}
.meal-actions button[data-recipe]{background:var(--accent-green)!important;color:#07130c!important;font-weight:800}
.meal-actions button[data-replace]{background:#292929!important;color:#f4f4f4!important}
.grocery-title{color:var(--accent-orange)!important}
.grocery-row input{accent-color:var(--accent-orange)!important}
.nav-item{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.nav-item svg{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-item.selected{color:var(--accent-green)!important;background:#1d2a22!important}
.nav-item span{font-size:10px;line-height:1.1}

/* V17 — nouveau wordmark Mealio */
.header-logo{display:block;width:150px;height:43px;object-fit:contain;object-position:left center}
.wordmark{gap:0}

/* V18 — accent bleu et navigation affinée */
:root{--accent-blue:#3987ff;--accent-green:#3987ff}
.kicker,.dot,.estimate,.recipe-kicker{color:var(--accent-blue)!important}
.btn.primary,.primary{background:var(--accent-blue)!important;color:#fff!important;box-shadow:0 4px 14px rgba(57,135,255,.16)!important}
.progress span,.finder-progress span{background:var(--accent-blue)!important}
.choice.selected,.day-option.selected{border-color:var(--accent-blue)!important}
.choice.selected:after{background:var(--accent-blue)!important;color:#fff!important}
.result-budget{border-color:rgba(57,135,255,.42)!important}
.meal-price,.budget-value{color:var(--accent-blue)!important}
.meal-actions button[data-recipe]{background:var(--accent-blue)!important;color:#fff!important}
.nav-item{gap:3px!important;padding-top:7px!important;padding-bottom:7px!important}
.nav-item svg{width:18px!important;height:18px!important;stroke-width:1.55!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.nav-item.selected{color:var(--accent-blue)!important;background:transparent!important}
.nav-item span{font-size:9px!important;font-weight:500!important;letter-spacing:.01em}

/* V20 — retour au thème monochrome noir et blanc */
:root{--accent-blue:#f5f5f5;--accent-green:#f5f5f5}
.kicker,.dot,.estimate,.recipe-kicker{color:#f5f5f5!important}
.btn.primary,.primary{background:#f5f5f5!important;color:#080808!important;box-shadow:none!important}
.progress span,.finder-progress span{background:#f5f5f5!important}
.choice.selected,.day-option.selected{border-color:#f5f5f5!important}
.choice.selected:after{background:#f5f5f5!important;color:#080808!important}
.result-budget{border-color:rgba(255,255,255,.35)!important}
.meal-price,.budget-value{color:#f5f5f5!important}
.meal-actions button[data-recipe]{background:#f5f5f5!important;color:#080808!important}
.nav-item.selected{color:#fff!important}

/* V22 — lisibilité du budget et thème monochrome */
.slider-card{background:#171717!important;border-color:#343434!important}
.slider-value,.slider-value #budgetValue{color:#fff!important}
.slider-value small{color:#d0d0d0!important}
.range-labels{color:#dedede!important}
.slider-card input[type=range]{accent-color:#fff!important}

/* V24 — navigation basse toujours accessible */
.bottom-nav{z-index:50!important;pointer-events:auto!important;isolation:isolate}
.bottom-nav .nav-item{pointer-events:auto!important;touch-action:manipulation;cursor:pointer}
.screen{padding-bottom:92px!important}

.list-actions{display:flex;align-items:center;gap:10px}.list-actions .refresh{white-space:nowrap}

/* V28 — pictogrammes dédiés aux appareils de cuisine */
.equipment-choice{display:flex;align-items:center;gap:12px;min-height:76px;padding:13px}.equipment-choice .equipment-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#f1f4ed;color:var(--dark);display:grid;place-items:center}.equipment-choice .equipment-icon svg{width:25px;height:25px}.equipment-choice>span:last-child{padding-right:8px}.equipment-choice strong{font-size:12px}

/* V30 — contraste renforcé pour les pictogrammes des équipements */
.equipment-choice .equipment-icon{
  background:#292929!important;
  color:#ffffff!important;
  border:1px solid #5a5a5a!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}
.equipment-choice .equipment-icon svg{
  stroke:#ffffff!important;
  color:#ffffff!important;
}
.equipment-choice strong{color:#ffffff!important}
.equipment-choice small{color:#c8c8c8!important}

/* V31 — véritables illustrations détourées des appareils */
.equipment-choice .equipment-icon{
  width:68px!important;height:68px!important;flex:0 0 68px!important;
  border-radius:14px!important;background:#e7e7e7!important;
  border:1px solid #b8b8b8!important;display:grid!important;place-items:center!important;
  padding:3px;overflow:hidden;
}
.equipment-choice .equipment-icon img{
  display:block;width:100%;height:100%;object-fit:contain;
}
.equipment-choice{min-height:88px}
.equipment-choice strong{font-size:13px!important}

/* V32 — budget plafond strict */
.budget-ceiling-note{font-size:12px;line-height:1.5;color:#c8c8c8}

/* V34 — estimation du panier mutualisé */
.basket-cost-card{display:grid;gap:10px;padding:15px;margin:12px 0 16px;border:1px solid #444;border-radius:16px;background:#171717}
.basket-cost-card>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.basket-cost-card span{font-size:12px;color:#c8c8c8}
.basket-cost-card strong{font-size:18px;color:#fff;font-weight:800;white-space:nowrap}
.basket-cost-card>div:nth-child(2) strong{font-size:22px}
.basket-cost-card small{font-size:11px;line-height:1.5;color:#aaa}

/* V35 — transparence et actualisation des relevés de prix */
.price-data-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:5px}
.price-data-row small{font-size:10px;line-height:1.4;color:#bdbdbd;flex:1}
.price-data-row button{border:1px solid #666;border-radius:999px;background:#242424;color:#fff;padding:8px 11px;font-size:10px;font-weight:700;white-space:nowrap}
.price-data-row button:disabled{opacity:.55}
.price-data-credit{display:block!important;margin-top:2px;font-size:9px!important;color:#888!important;line-height:1.45!important}

.grocery-quantity-note{font-size:11px;line-height:1.45;color:#999;margin:8px 2px 12px}

/* V44 — liste de courses plus lisible */
.grocery-row{font-size:14px!important;gap:11px!important;padding:12px 0!important}
.grocery-row>span{font-size:14px!important;line-height:1.35}
.grocery-row small{font-size:14px!important;font-weight:650!important;line-height:1.3;min-width:max-content}
.grocery-row input{width:19px!important;height:19px!important;flex:0 0 19px}

/* V46 — choix des repas à planifier */
.meal-type-grid .choice{min-height:92px}
.meal-type-grid .choice strong{font-size:15px}
.meal-type-grid .choice small{font-size:12px;line-height:1.4}

/* V48 — nutrition estimée et portions ajustables */
.nutrition-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
.nutrition-grid>div{background:#1b1b1b;border:1px solid #303030;border-radius:14px;padding:12px 6px;text-align:center;min-width:0}
.nutrition-grid strong{display:block;font-size:18px;line-height:1.25;font-weight:750}
.nutrition-grid small{display:block;margin-top:4px;color:#aaa;font-size:11px}
.nutrition-note{font-size:12px;line-height:1.5;color:#999;margin:8px 0 0}
.portion-controls{display:flex;align-items:center;justify-content:center;gap:22px;margin:14px auto}
.portion-controls button{width:44px;height:44px;border-radius:50%;border:1px solid #444;background:#242424;color:#fff;font-size:25px;line-height:1}
.portion-controls strong{font-size:24px;min-width:28px;text-align:center}
.portion-cost{text-align:center;color:#aaa;font-size:13px}
.portion-cost strong{color:#fff}
.meal-meta{line-height:1.5}
@media(max-width:390px){.nutrition-grid{gap:5px}.nutrition-grid>div{padding:10px 3px}.nutrition-grid strong{font-size:16px}.nutrition-grid small{font-size:10px}}

/* V51 — bouton recette clairement identifiable */
.meal-actions{display:flex;gap:8px;align-items:center}
.meal-actions button[data-recipe]{
  min-height:40px!important;
  min-width:112px!important;
  padding:10px 16px!important;
  border:1px solid #fff!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#080808!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:.01em;
  box-shadow:0 2px 10px rgba(255,255,255,.10)!important;
}
.meal-actions button[data-replace]{
  width:40px!important;height:40px!important;
  border:1px solid #444!important;border-radius:11px!important;
  font-size:17px!important;
}
@media(max-width:390px){
 .meal-actions button[data-recipe]{min-width:104px!important;padding:9px 12px!important;font-size:12px!important}
}

/* V52 — valeurs nutritionnelles recalculées selon le nombre de portions */
.nutrition-per-portion{font-size:12px;line-height:1.5;color:#bbb;margin:8px 0 0;text-align:center}

/* V54 — première étape de la refonte Mealio Premium : fiche recette + nutrition */
.recipe-screen{background:#080b0f!important;color:#f5f7fb!important}
.recipe-screen .recipe-back,.recipe-screen .recipe-share{background:#171e28!important;color:#dce9fb!important;border:1px solid #293546!important}
.recipe-screen .recipe-hero{background:linear-gradient(135deg,#111b2a,#172333 58%,#202a38)!important;border:1px solid #2a3c53!important;border-radius:22px!important;box-shadow:0 14px 35px #0005}
.recipe-screen .recipe-kicker{color:#56b5ff!important}
.recipe-screen .recipe-emoji{background:#ffffff10!important}
.recipe-screen .recipe-stats>div{background:linear-gradient(145deg,#151e29,#10161e)!important;border:1px solid #273446!important;border-radius:15px!important}
.recipe-screen .recipe-stats>div>span{color:#43aaff!important}
.recipe-screen .recipe-stats strong,.recipe-screen .recipe-section-heading h2,.recipe-screen .step-copy{color:#f4f7fc!important}
.recipe-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:5px;background:#131a23;border:1px solid #263344;border-radius:14px;margin:18px 0 8px;position:sticky;top:5px;z-index:5;box-shadow:0 8px 20px #0005}
.recipe-tab{min-width:0;border:0;border-radius:10px;padding:11px 3px;background:transparent;color:#aab7c7;font:700 10px Manrope, sans-serif;white-space:nowrap}
.recipe-tab.active{background:linear-gradient(135deg,#1689f5,#1768d4);color:#fff;box-shadow:0 4px 12px #0878ed55}
.recipe-tab-panel[hidden]{display:none!important}
.recipe-tab-panel.active{display:block;animation:recipePanelIn .18s ease-out}
@keyframes recipePanelIn{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.recipe-screen .recipe-section{margin:17px 0}
.recipe-screen .recipe-ingredients,.recipe-screen .recipe-step,.recipe-screen .recipe-stats>div,.recipe-screen .recipe-overview-note,.recipe-screen .nutrition-per-person{background:linear-gradient(145deg,#151d27,#10161e)!important;border:1px solid #293648!important}
.recipe-screen .recipe-ingredient{border-color:#273344!important;color:#e8eef7!important}
.recipe-screen .recipe-ingredient strong{color:#65baff!important}
.recipe-screen .recipe-ingredient input,.recipe-screen .step-check{accent-color:#238cf0!important}
.recipe-screen .recipe-tools span{background:#15263a!important;border:1px solid #2b4b6c!important;color:#b8ddff!important}
.recipe-screen .step-number{background:#15385c!important;color:#8acaff!important}
.recipe-screen .recipe-step.done{border-color:#237bd0!important;background:#12253a!important}
.recipe-screen .portion-controls button{background:#167ee8!important;color:#fff!important}
.recipe-screen .recipe-count{background:#172638!important;color:#a9d8ff!important}
.recipe-screen .nutrition-total{display:flex;align-items:baseline;gap:10px;padding:18px;border:1px solid #2a4059;border-radius:16px;background:linear-gradient(135deg,#10253b,#121b28);margin:12px 0}
.recipe-screen .nutrition-total strong{font:800 32px Manrope;color:#fff;letter-spacing:-1px}
.recipe-screen .nutrition-total span{font-size:11px;color:#a9bed4}
.recipe-screen .nutrition-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.recipe-screen .nutrition-grid>div{background:#151e29!important;border:1px solid #2a3a4e!important;border-radius:14px!important}
.recipe-screen .nutrition-grid>div:nth-child(1) strong{color:#4aaeff}
.recipe-screen .nutrition-grid>div:nth-child(2) strong{color:#b18aff}
.recipe-screen .nutrition-grid>div:nth-child(3) strong{color:#ff9b58}
.recipe-screen .nutrition-per-person{padding:15px;border-radius:15px;color:#dce7f5}
.recipe-screen .nutrition-per-person>span{font-size:11px;color:#9fb0c4}
.recipe-screen .nutrition-per-person>strong{display:block;font:800 24px Manrope;color:#fff;margin:4px 0 12px}
.recipe-screen .nutrition-per-person>div{display:grid;gap:9px}
.recipe-screen .nutrition-per-person>div span{display:flex;justify-content:space-between;font-size:12px;color:#b8c6d6}
.recipe-screen .nutrition-per-person b{color:#fff}
.recipe-screen .nutrition-note,.recipe-screen .recipe-hint{color:#94a5b9!important}
.recipe-screen .recipe-bottom-note{color:#9eb4cb!important}
@media(max-width:370px){.recipe-tab{font-size:9px;padding:10px 1px}.recipe-tabs{gap:3px;padding:4px}}


/* V56 — fiches recettes monochromes, alignées sur l'identité noir & blanc de Mealio */
.recipe-screen{background:#090909!important;color:#f5f5f5!important}
.recipe-screen .recipe-back,.recipe-screen .recipe-share{background:#1b1b1b!important;color:#f0f0f0!important;border:1px solid #333!important}
.recipe-screen .recipe-hero{background:linear-gradient(135deg,#202020,#111 70%,#292929)!important;border:1px solid #353535!important;box-shadow:0 14px 35px #0008}
.recipe-screen .recipe-kicker{color:#bdbdbd!important}
.recipe-screen .recipe-stats>div{background:linear-gradient(145deg,#1c1c1c,#121212)!important;border:1px solid #303030!important}
.recipe-screen .recipe-stats>div>span{color:#c2c2c2!important}
.recipe-screen .recipe-tabs{background:#151515!important;border-color:#303030!important}
.recipe-screen .recipe-tab{color:#aaa!important}
.recipe-screen .recipe-tab.active{background:linear-gradient(135deg,#f1f1f1,#cfcfcf)!important;color:#111!important;box-shadow:0 4px 12px #0006!important}
.recipe-screen .recipe-ingredients,.recipe-screen .recipe-step,.recipe-screen .recipe-stats>div,.recipe-screen .recipe-overview-note,.recipe-screen .nutrition-per-person{background:linear-gradient(145deg,#1b1b1b,#121212)!important;border:1px solid #303030!important}
.recipe-screen .recipe-ingredient{border-color:#303030!important;color:#eee!important}
.recipe-screen .recipe-ingredient strong{color:#f5f5f5!important}
.recipe-screen .recipe-ingredient input,.recipe-screen .step-check{accent-color:#eee!important}
.recipe-screen .recipe-tools span{background:#242424!important;border:1px solid #393939!important;color:#ddd!important}
.recipe-screen .step-number{background:#303030!important;color:#f5f5f5!important}
.recipe-screen .recipe-step.done{border-color:#555!important;background:#242424!important}
.recipe-screen .portion-controls button{background:#e8e8e8!important;color:#111!important}
.recipe-screen .recipe-count{background:#292929!important;color:#eee!important}
.recipe-screen .nutrition-total{display:flex;align-items:baseline;gap:10px;padding:18px;border:1px solid #383838;border-radius:16px;background:linear-gradient(135deg,#252525,#141414)!important;margin:12px 0}
.recipe-screen .nutrition-total strong{font:800 32px Manrope;color:#fff!important;letter-spacing:-1px}
.recipe-screen .nutrition-total span{font-size:11px;color:#bbb!important}
.recipe-screen .nutrition-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.recipe-screen .nutrition-grid>div{background:#1b1b1b!important;border:1px solid #333!important;border-radius:14px!important}
.recipe-screen .nutrition-grid>div:nth-child(1) strong,.recipe-screen .nutrition-grid>div:nth-child(2) strong,.recipe-screen .nutrition-grid>div:nth-child(3) strong{color:#f1f1f1!important}
.recipe-screen .nutrition-per-person{padding:15px;border-radius:15px;color:#eee!important}
.recipe-screen .nutrition-per-person>span{font-size:11px;color:#aaa!important}
.recipe-screen .nutrition-per-person>strong{display:block;font:800 24px Manrope;color:#fff!important;margin:4px 0 12px}
.recipe-screen .nutrition-per-person>div{display:grid;gap:9px}
.recipe-screen .nutrition-per-person>div span{display:flex;justify-content:space-between;font-size:12px;color:#bbb!important}
.recipe-screen .nutrition-per-person b{color:#fff!important}
.recipe-screen .nutrition-note,.recipe-screen .recipe-hint,.recipe-screen .recipe-bottom-note{color:#aaa!important}
@media(max-width:370px){.recipe-screen .recipe-tab{font-size:9px;padding:10px 1px}.recipe-screen .recipe-tabs{gap:3px;padding:4px}}


/* Correctif Safari iPhone : empêcher le zoom automatique au focus des champs */
@media (max-width: 768px) {
  input, textarea, select,
  .input-label input,
  #profileNameInput {
    font-size: 16px !important;
  }
}
#profileNameInput {
  font-size: 16px !important;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
}
