:root{--paper:#f7f6f0;--ink:#24382d;--muted:#718074;--line:#dce2d7;--green:#264f39;--soft:#edf2e7;--orange:#b16b31;--white:#fff;--red:#a13f38;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);padding:10px 15px;font-weight:600;transition:background .15s}button:hover{background:var(--soft)}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#346448}.quiet{background:transparent}.danger{color:var(--red)}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.3px;font-weight:650;line-height:1.15}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:17px}p{line-height:1.6}.muted{color:var(--muted)}small{font-size:12px}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:700;color:var(--muted)}.topbar{height:84px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:16px;background:#fbfcf7}.brand{display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:-.3px}.brand img{width:38px;height:38px}.brand small{display:block;font-weight:400;color:var(--muted);letter-spacing:0;margin-top:4px}.account{display:flex;align-items:center;gap:16px}.account-name{font-size:13px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#68946b;margin-right:6px}.shell{max-width:1500px;margin:auto;padding:34px 5% 70px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 26px}.heading p{margin-bottom:0}.heading h1{margin:7px 0 12px}.date-controls{display:flex;gap:8px;align-items:center;white-space:nowrap}.date-controls button{padding:9px 13px}.date-controls span{font-size:14px;min-width:145px;text-align:center}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:28px}.stat{background:white;border:1px solid var(--line);padding:21px 24px;border-radius:16px}.stat .value{font-size:26px;letter-spacing:-.8px;font-weight:650;display:block;margin:9px 0 6px}.stat small{color:var(--muted)}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:28px;overflow:auto}.tabs button{border:0;border-radius:0;background:transparent;padding:14px 20px;color:var(--muted);white-space:nowrap;font-size:14px}.tabs button.active{border-bottom:3px solid var(--green);color:var(--green)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-head h2{margin-bottom:6px}.section-head p{font-size:13px;margin:0;color:var(--muted)}.actions{display:flex;gap:8px;flex-wrap:wrap}.week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.day{border:1px solid var(--line);border-radius:14px;background:#fdfefb;min-height:400px;overflow:hidden}.day.today{border-color:#64846b}.day-head{padding:16px 13px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.day-head b{font-size:13px}.day-head span{font-size:18px;color:var(--muted)}.today .day-head{background:var(--soft)}.meal{margin:9px 8px;padding:12px 10px;background:var(--soft);border-radius:10px;min-height:140px;display:flex;flex-direction:column;gap:9px}.meal.lunch{background:#f5efe0}.meal.dinner{background:#f1ede5}.meal small{color:var(--muted);font-size:10px;letter-spacing:.5px}.meal strong{font-size:13px;line-height:1.45}.meal .portion{font-size:11px;color:var(--muted)}.meal-footer{margin-top:auto;display:flex;gap:4px}.meal-footer button{font-size:11px;padding:6px 7px;border-radius:7px}.meal-footer .delete{padding:6px;line-height:1}.add-slot{width:calc(100% - 16px);margin:5px 8px 10px;border:1px dashed #c8d2c0;color:var(--muted);background:transparent;padding:10px 3px;font-size:11px}.note{padding:17px 20px;border:1px solid var(--line);border-radius:12px;font-size:13px;color:var(--muted);margin-top:24px;background:#f1f3eb}.notice{border-color:#e2caa8;background:#fbf4e8;color:#815a30}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.recipe-card{position:relative}.recipe-number{font-size:11px;color:var(--muted);letter-spacing:1.5px}.recipe-card h3{font-size:21px;margin:18px 0 10px;letter-spacing:-.5px}.ingredient-line{display:flex;justify-content:space-between;font-size:13px;padding:8px 0;border-bottom:1px solid #edf0e9;gap:8px}.recipe-card .steps{font-size:13px;color:var(--muted);margin:16px 0 0}.badge{font-size:11px;display:inline-block;border-radius:6px;padding:5px 8px;background:var(--soft);color:var(--green)}.badge.warning{background:#fbefd8;color:#926120}.badge.expired{background:#f8e7e5;color:var(--red)}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:14px}table{border-collapse:collapse;width:100%;font-size:14px}th,td{padding:17px 20px;text-align:left;border-bottom:1px solid #e9ede3;white-space:nowrap}th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:1px;font-weight:600}tr:last-child td{border-bottom:0}.empty{padding:55px 28px;text-align:center;border:1px dashed #cad2c4;border-radius:15px;color:var(--muted);line-height:1.7}.empty h3{color:var(--ink)}.shopping-list{display:grid;gap:10px}.shopping-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:12px;background:white;padding:17px 21px}.shopping-row.done{opacity:.65}.shopping-row.done strong{text-decoration:line-through}.shopping-row p{font-size:12px;color:var(--muted);margin:5px 0 0}.shopping-title{display:flex;align-items:center;gap:14px}.check{width:24px;height:24px;border:1px solid #cbd5c4;border-radius:50%;display:grid;place-items:center;font-size:12px}.budget-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:28px}.budget-card .big{font-size:32px;letter-spacing:-1px;margin:22px 0 6px}.budget-card progress{display:block;width:100%;height:8px;accent-color:var(--green);margin:20px 0}.budget-card.over progress{accent-color:var(--red)}.budget-card.over .big{color:var(--red)}.family-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.member{padding:13px 0;border-bottom:1px solid var(--line)}.member small{display:block;margin-top:4px;color:var(--muted)}.footer{display:flex;justify-content:space-between;margin-top:40px;font-size:11px;color:var(--muted)}label{display:block;font-size:13px;font-weight:600;margin-bottom:16px}input,textarea,select{display:block;width:100%;padding:12px;border:1px solid #cad3c4;border-radius:8px;background:white;color:var(--ink);margin-top:7px;font-weight:400}textarea{min-height:90px;resize:vertical}input:focus,textarea:focus,select:focus{outline:2px solid #719374}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-help{font-size:12px;color:var(--muted);line-height:1.6;margin:-6px 0 18px}.form-error{font-size:13px;color:var(--red);margin:12px 0}.form-buttons{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}dialog{border:1px solid var(--line);border-radius:18px;padding:26px;max-width:550px;width:calc(100% - 32px);color:var(--ink);background:var(--paper);max-height:90vh}dialog::backdrop{background:#18342375;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.dialog-head h2{margin:0}.dialog-head button{padding:5px 10px;font-size:20px}.login-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:var(--green);color:#f3f6ec;padding:55px 12%;display:flex;flex-direction:column;justify-content:space-between;gap:40px}.login-story .brand small{color:#b8c8b2}.login-story .brand img{background:#f5f6ed;border-radius:10px}.login-story h1{font-size:52px;letter-spacing:-2px;line-height:1.12;max-width:450px;font-weight:550}.login-story p{color:#bfcfba;max-width:400px}.story-art{width:220px;height:170px;position:relative;margin:10px 0 30px}.plate{position:absolute;width:160px;height:160px;border:1px solid #8ca38b;border-radius:50%;left:15px;top:0;box-shadow:inset 0 0 0 14px #335d43,inset 0 0 0 15px #779773}.leaf{position:absolute;background:#b5c999;border-radius:90% 0 90% 0;width:70px;height:35px;left:65px;top:55px;transform:rotate(-30deg)}.leaf.two{width:55px;height:28px;left:94px;top:90px;transform:rotate(20deg);background:#d3d7ac}.login-main{display:flex;align-items:center;justify-content:center;padding:50px 30px}.login-card{width:100%;max-width:370px}.login-card h2{font-size:30px;letter-spacing:-1px}.auth-tabs{display:flex;gap:8px;margin:25px 0}.auth-tabs button{flex:1}.auth-tabs .active{background:var(--soft);border-color:#799676}.login-card form>.primary{width:100%;padding:14px}.login-bottom{font-size:12px;line-height:1.7;color:var(--muted);margin-top:22px}.offline{background:#fff0d9;padding:12px 5%;font-size:13px;color:#805524}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--green);color:white;padding:14px 22px;border-radius:12px;box-shadow:0 8px 30px #142b3020;z-index:10;max-width:90%;font-size:14px;line-height:1.5}#toast.error{background:#8d3933}.invite-code{word-break:break-all;padding:14px;background:white;border-radius:8px;border:1px solid var(--line);font-family:monospace;font-size:16px}.welcome{background:var(--soft);padding:22px;border-radius:14px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.welcome p{font-size:13px;margin-bottom:0}
.portion-edit{font-size:10px;padding:3px 5px;background:transparent;align-self:flex-start}.meal-footer{flex-wrap:wrap}
@media(min-width:1500px){.meal{min-height:150px}.meal strong{font-size:14px}}
@media(max-width:1100px){.week{grid-template-columns:repeat(4,minmax(0,1fr))}.day{min-height:330px}.grid{grid-template-columns:1fr 1fr}.login-story h1{font-size:42px}.shell{padding-left:3%;padding-right:3%}.tabs button{padding-left:15px;padding-right:15px}}
@media(max-width:700px){.topbar{padding:0 20px;height:75px}.brand{font-size:14px}.brand img{width:32px;height:32px}.account-name{display:none}.shell{padding:22px 16px 45px}.heading{align-items:flex-start;flex-direction:column;gap:15px}h1{font-size:30px}.stats{gap:8px;grid-template-columns:1fr 1fr 1fr}.stat{padding:14px 10px;border-radius:12px}.stat .value{font-size:19px}.stat .muted{font-size:11px}.stat small{font-size:10px}.tabs{margin-bottom:23px}.tabs button{font-size:13px;padding:13px 12px}.section-head{align-items:flex-start;flex-direction:column}.section-head h2{font-size:20px}.week{grid-template-columns:1fr 1fr;gap:9px}.day{min-height:350px}.meal{min-height:138px}.grid,.budget-grid,.family-grid{grid-template-columns:1fr}.card{padding:21px}.shopping-row{padding:14px;gap:10px;align-items:flex-start}.shopping-row .actions{flex-direction:column}.shopping-row .actions button{font-size:12px;padding:8px}.shopping-title{gap:10px}.shopping-title strong{font-size:14px}.login-shell{grid-template-columns:1fr}.login-story{padding:25px;gap:20px}.login-story h1{font-size:31px;max-width:360px;margin-bottom:10px}.story-art,.login-story>.eyebrow{display:none}.login-story p{font-size:13px;margin-bottom:0}.login-main{padding:30px 24px}.login-story .brand{margin-bottom:15px}.login-card h2{font-size:25px}.welcome{flex-direction:column;align-items:flex-start}.footer{gap:20px;line-height:1.7}th,td{padding:13px}.form-row{gap:10px}dialog{padding:21px}.date-controls span{min-width:150px}}

@media(max-width:700px){.meal-footer button{min-height:36px;min-width:36px}.portion-edit{min-height:32px}}
.recipe-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;align-items:end;margin-bottom:24px}.recipe-filters label{margin:0}.recipe-filters button{min-height:45px}.portion-cost{font-size:13px;color:var(--green);line-height:1.5;margin:14px 0}.pantry-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stock-card{display:flex;justify-content:space-between;gap:16px;align-items:center}.stock-card h3{margin-bottom:8px}.stock-card p{font-size:13px;margin-bottom:8px}.stock-card>div:last-child{text-align:right}.budget-warning{padding:12px;background:#fbefd8;border-radius:8px;color:#815a30;font-weight:600}.spaced{margin-top:28px}.catalog-item{padding:16px 0;border-bottom:1px solid var(--line)}.catalog-item h3{margin:0 0 6px}.catalog-item p{font-size:13px;margin-bottom:10px}.confirm-line{display:flex;gap:12px;align-items:center;margin-top:20px;line-height:1.5}.confirm-line input{width:24px;height:24px;flex-shrink:0;margin:0}details{margin:16px 0}summary{cursor:pointer;min-height:44px;padding:10px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.card,.shopping-row>div{min-width:0}.steps,.card h3,.shopping-title strong{overflow-wrap:anywhere}input[type=file]{max-width:100%;font-size:13px}
.recipe-card>.section-head{flex-direction:row;align-items:center}.recipe-card>.section-head button{min-width:44px;min-height:44px}
@media(max-width:700px){button{min-height:44px}input,select,textarea{font-size:16px}.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;overflow:visible;position:sticky;top:0;z-index:3;background:var(--paper);padding-top:5px}.tabs button{min-height:46px;padding:10px 4px;font-size:13px}.tabs button:first-child{font-size:12px}.recipe-filters{grid-template-columns:1fr 1fr}.recipe-filters label:first-child{grid-column:1/-1}.recipe-filters button{grid-column:1/-1}.pantry-cards{grid-template-columns:1fr}.stock-card{padding:16px;gap:10px}.stock-card h3{font-size:16px}.stock-card>div:last-child{max-width:54%}.meal-footer button,.portion-edit{min-height:44px;min-width:44px;font-size:13px}.shopping-row .actions button{min-height:44px;padding:10px 12px}.add-slot{min-height:44px;font-size:13px}.actions{width:100%}.section-head .actions button{flex:1}.brand small{font-size:10px}.heading h1{font-size:28px}.footer{padding-bottom:env(safe-area-inset-bottom)}dialog{max-height:88dvh}.budget-card .big{font-size:28px}.form-row{grid-template-columns:1fr}td{white-space:normal;overflow-wrap:anywhere}.shopping-row .actions{width:auto;flex-shrink:0}.topbar .account button{padding:10px}.meal{min-height:0}.day{min-height:0}.week{grid-template-columns:1fr}.day-head{padding:12px 15px}.meal{margin:10px 12px;padding:14px}.meal strong{font-size:16px}.meal .portion{font-size:13px}.meal small{font-size:11px}.add-slot{width:calc(100% - 24px);margin-left:12px;margin-right:12px}.form-buttons{position:static;bottom:auto;background:var(--paper);padding:12px 0}.form-buttons button{flex:1}}
/* FOUNDATION-8: saved catalogue, quiet olive palette, no remote fonts/assets. */
:root{--paper:#f8f6ef;--ink:#303a2a;--muted:#777c6c;--green:#566345;--soft:#eef0e5;--line:#e2e4d8}
.catalog-hero{display:flex;justify-content:space-between;gap:32px;align-items:center;padding:15px 0 42px;border-bottom:1px solid var(--line);margin-bottom:28px}.catalog-hero h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(36px,4.3vw,64px);font-weight:400;line-height:1.08;letter-spacing:-2px;margin:15px 0 20px}.catalog-hero h2 em{font-weight:400;color:#778266}.catalog-hero p{color:var(--muted);max-width:490px;margin:0;font-size:15px}.catalog-counter{border:1px solid #d5dcca;width:165px;height:165px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;background:#eff1e7}.catalog-counter strong{font-family:Georgia,serif;font-weight:400;font-size:57px;line-height:1.1}.catalog-counter span{font-size:11px;color:var(--muted)}.collection-switch{display:flex;gap:5px;padding:4px;background:#eceee4;border-radius:12px}.collection-switch button{border:0;background:transparent;font-size:13px}.collection-switch button.active{background:white;box-shadow:0 2px 8px #26321d09}.category-chips{display:flex;gap:8px;overflow-x:auto;padding:0 0 12px;scrollbar-width:thin}.category-chips button{border-radius:30px;padding:10px 18px;white-space:nowrap;font-size:13px;background:transparent}.category-chips button.active{background:var(--green);color:white;border-color:var(--green)}.catalog-results{font-size:12px;color:var(--muted);margin:8px 0 24px}.recipe-grid{gap:24px}.recipe-card{padding:0;overflow:hidden;box-shadow:0 4px 20px #31402004;transition:transform .15s,box-shadow .15s;border-radius:20px}.recipe-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #3140200c}.recipe-cover{position:relative}.photo-button{display:block;padding:0;width:100%;border:0;border-radius:0;background:#e9ebdf}.photo-button img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.favorite-button{position:absolute;top:14px;right:14px;width:44px;height:44px;padding:0;border:1px solid #ffffffa6;border-radius:50%;background:#fffffff0;color:#4b583e;font-size:23px;box-shadow:0 2px 10px #1e2b1620}.favorite-button[aria-pressed=true]{background:#596847;color:white;border-color:#596847}.photo-cuisine{position:absolute;bottom:12px;left:14px;max-width:calc(100% - 28px);background:#fffffff0;backdrop-filter:blur(8px);border-radius:20px;padding:6px 11px;font-size:11px}.recipe-body{padding:20px 21px 22px}.recipe-meta{display:flex;gap:7px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-bottom:12px}.recipe-title{padding:0;border:0;background:transparent;text-align:left;font-weight:400;display:block;width:100%}.recipe-title:hover{background:transparent}.recipe-card .recipe-title h3{font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:400;letter-spacing:-.5px;line-height:1.2;margin:0 0 12px;min-height:58px}.recipe-summary{font-size:12px;color:var(--muted);margin-bottom:10px;line-height:1.5}.recipe-card .portion-cost{font-size:12px;min-height:20px;margin:0 0 19px}.recipe-card-actions{display:flex;gap:8px;justify-content:space-between}.recipe-card-actions button{min-height:42px;border-radius:10px;font-size:12px;flex:1}.recipe-no-photo{aspect-ratio:4/3;background:#ecefdf;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#788168}.recipe-no-photo span{font-size:48px}.recipe-no-photo small{font-size:11px}.recipe-dialog{max-width:760px;padding:26px}.recipe-dialog .detail-photo{display:block;width:100%;height:auto;max-height:370px;object-fit:cover;border-radius:14px;margin-bottom:22px}.recipe-dialog .recipe-no-photo{max-height:180px}.recipe-dialog .dialog-head h2{font-family:Georgia,serif;font-weight:400;font-size:29px;line-height:1.2}.verification-label{font-size:11px;padding:12px 15px;background:#eeeee3;border-radius:9px;color:#696f5d;line-height:1.7}.detail-portions{display:flex;gap:24px;align-items:center;margin:25px 0}.detail-portions label{width:135px;flex-shrink:0;margin:0}.detail-portions .portion-cost{font-size:13px}.instruction-list{padding-left:27px;margin:24px 0 30px}.instruction-list li{padding-left:7px;margin-bottom:18px;line-height:1.7;font-size:14px}.instruction-list li::marker{color:#7e8b68;font-weight:700}.photo-credit{font-size:11px;color:var(--muted);line-height:1.7}.photo-credit a{color:#566345;overflow-wrap:anywhere}.detail-bottom{display:flex;gap:10px;padding-top:16px;position:sticky;bottom:-26px;background:var(--paper);padding-bottom:12px}.detail-bottom button{flex:1;min-height:46px;font-size:13px}.meal-photo{width:100%;height:72px;object-fit:cover;border-radius:7px}.meal .recipe-no-photo{height:55px;aspect-ratio:auto;gap:0}.meal .recipe-no-photo span{font-size:23px}.meal .recipe-no-photo small{display:none}.meal-title{background:transparent;border:0;padding:0;text-align:left;font-weight:600}.meal-title:hover{background:transparent}.selection-banner{background:#e6ebdb;border:1px solid #ccd6bc;padding:15px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px;font-size:13px}.planner-dialog{max-width:860px}.preview-summary{padding:22px;background:#e8eddd;border-radius:12px;margin-bottom:20px}.preview-summary strong{font-family:Georgia,serif;font-size:25px;display:block;margin-bottom:8px}.preview-summary span,.preview-summary p{font-size:13px}.preview-summary p{margin:12px 0 0}.preview-days{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preview-days section{padding:18px;border:1px solid var(--line);border-radius:12px;background:white}.preview-days h3{font-size:14px;margin:0 0 12px}.preview-days p{display:flex;flex-direction:column;margin:0;padding:11px 0;border-top:1px solid var(--line);gap:4px}.preview-days small,.preview-days span{font-size:11px;color:var(--muted)}.preview-days strong{font-size:13px}.planner-dialog .confirm-line{font-size:13px}a{color:var(--green)}
@media(min-width:1550px){.recipe-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.shell{padding-bottom:95px}.tabs{position:fixed;z-index:8;bottom:0;left:0;right:0;margin:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--line);border-bottom:0;background:#fffffff2;backdrop-filter:blur(16px);justify-content:space-between;gap:0}.tabs button{font-size:11px;padding:12px 6px;min-height:44px;flex:1;border-radius:10px}.tabs button.active{border-bottom:0;background:#e8eddf;color:var(--green)}.catalog-hero{padding:5px 0 28px;gap:15px}.catalog-hero h2{font-size:39px;letter-spacing:-1.5px;margin-top:13px}.catalog-hero p{font-size:13px}.catalog-counter{width:86px;height:86px;align-self:flex-start;margin-top:10px}.catalog-counter strong{font-size:34px}.catalog-counter span{font-size:8px;max-width:70px;text-align:center}.recipe-filters{grid-template-columns:1fr 1fr;gap:12px}.recipe-filters .search-label{grid-column:1/-1}.recipe-filters button{grid-column:1/-1;min-height:43px}.category-chips{margin-right:-16px}.category-chips button{font-size:12px;padding:9px 14px;min-height:40px}.recipe-body{padding:19px}.collection-switch{width:100%}.collection-switch button{flex:1;padding:10px 7px;font-size:12px}.recipe-dialog{padding:20px;max-height:92dvh}.recipe-dialog .detail-photo{max-height:285px}.recipe-dialog .dialog-head h2{font-size:25px}.detail-portions{align-items:flex-start;gap:15px}.detail-portions label{width:110px}.detail-bottom{bottom:-20px;gap:7px}.detail-bottom button{font-size:12px;padding:10px;min-height:48px}.preview-days{grid-template-columns:1fr}.week{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px;gap:14px}.day{min-width:calc(100% - 8px);scroll-snap-align:start;min-height:0}.day-head{padding:16px}.meal{display:grid;grid-template-columns:90px 1fr;min-height:130px;padding:12px;gap:7px 12px;margin:9px 10px}.meal>small{grid-column:1/-1}.meal-photo,.meal .recipe-no-photo{grid-column:1;grid-row:2/5;width:90px;height:83px}.meal-title,.meal .portion,.meal .portion-edit{grid-column:2}.meal .portion-edit{justify-self:start}.meal-footer{grid-column:1/-1;margin-top:5px}.meal-footer button{min-height:38px;font-size:12px;padding:8px 12px}.meal strong{font-size:14px}.selection-banner{align-items:flex-start}.stats{margin-bottom:24px}.heading h1{font-size:28px}.section-head .actions{gap:7px}.section-head .actions button{font-size:12px;padding:10px 12px}.instruction-list li{font-size:14px}.photo-credit{font-size:11px}#toast{bottom:85px}}
@media(max-width:540px){.recipe-grid{grid-template-columns:1fr;gap:24px}.recipe-card .recipe-title h3{min-height:0;font-size:26px}.recipe-card-actions button{min-height:45px}.photo-button img{aspect-ratio:4/3}.catalog-counter{display:none}}
@media(prefers-reduced-motion:reduce){.recipe-card,button{transition:none}.recipe-card:hover{transform:none}}
.catalog-context,.catalog-context+.stats{display:none}
@media(max-width:700px){.tabs{display:flex;top:auto;overflow:visible;align-items:stretch}.tabs button,.tabs button:first-child{font-size:11px;min-width:0;white-space:normal;line-height:1.25;flex:1}.catalog-hero{padding-top:0}.recipe-filters{margin-bottom:20px}}
.filter-toggle{display:none}
@media(max-width:700px){.catalog-hero{margin-bottom:20px;padding-bottom:12px}.catalog-hero p{display:none}.catalog-hero h2{margin-bottom:12px}.recipe-filters:not(.expanded) .advanced-filter{display:none}.recipe-filters>.filter-toggle{display:block}.recipe-filters>button{grid-column:auto}.recipe-filters .search-label{grid-column:1/-1}}

/* Foundation 9: immediate one-handed today view. */
.today-overview{margin:28px 0}.today-overview h1{font-family:Georgia,serif;font-size:34px;margin:8px 0}.today-meals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.today-card{background:#fffef9;border:1px solid #dedfd4;border-radius:20px;overflow:hidden}.today-photo{padding:0;border:0;width:100%;display:block}.today-photo img{width:100%;height:180px;object-fit:cover;display:block}.today-content{padding:18px}.today-content h2{font-size:20px;margin:8px 0}.today-content h2 button{padding:0;border:0;text-align:left;background:none;font:inherit}.today-content>.primary{width:100%;min-height:48px}.today-missing{color:#80582d}.today-ready{color:#52613e}.today-empty{padding:22px}.today-overview .form-help{font-size:12px}button,input,select{touch-action:manipulation}
@media(max-width:600px){.today-meals{grid-template-columns:1fr;gap:12px}.today-card{display:grid;grid-template-columns:112px minmax(0,1fr)}.today-photo img{height:100%;min-height:170px}.today-content{padding:14px}.today-overview h1{font-size:28px}.today-empty{display:block}.today-content h2{font-size:19px}.today-overview+.heading{display:block}.today-overview+.heading>div:first-child{display:none}.today-overview~.stats{display:none}}

/* Account entry stays reachable on narrow iPhone headers. */
.account-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;text-decoration:none;white-space:nowrap}
@media(max-width:700px){.topbar{padding:0 12px;gap:8px}.topbar .brand{gap:8px;min-width:0;font-size:14px}.topbar .brand img{width:30px;height:30px}.topbar .brand small{display:none}.topbar .account{gap:8px}.topbar .account-link{font-size:13px;padding:8px}.topbar .account button{font-size:13px;padding:8px}}

:root{--ink:#30271f;--muted:#7c6f64;--accent:#b65336;--line:#e9dfd4;--paper:#fffaf3;--green:#b65336;--green-dark:#873c29;--light:#f5e9dd}body{background:#fbf6ef;color:var(--ink);font-family:Arial,sans-serif}button,a,input,select{touch-action:manipulation}button{min-height:44px;border-radius:14px;border-color:var(--line);color:var(--ink);background:#fffaf5}button.primary,.primary{background:#b65336;border-color:#b65336;color:white}button.primary:hover{background:#904028}input,select{background:#fffdf9;border-color:#d9caba;border-radius:12px;min-height:46px;font-size:16px}h1,h2,h3{color:var(--ink)}.product-header{max-width:1180px;margin:auto;padding:26px 30px;display:flex;justify-content:space-between;align-items:center;gap:16px}.wordmark{color:#443127;text-decoration:none;font-family:Georgia,serif;font-size:27px;font-weight:bold;letter-spacing:-1px}.wordmark span{display:block;font:11px Arial,sans-serif;letter-spacing:1px;margin-top:5px;color:#8b7464}.profile-pill{font-size:12px;color:#715c4b;text-decoration:none;padding:12px;border:1px solid #e6d7c9;border-radius:30px;max-width:42%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.product-shell{max-width:1180px;margin:auto;padding:10px 30px 110px}.eyebrow{color:#9b6148;letter-spacing:1.4px;font-size:10px}.editorial-heading{margin:16px 0 28px}.editorial-heading h1{font-family:Georgia,serif;font-weight:normal;font-size:clamp(44px,7vw,76px);line-height:1.03;letter-spacing:-2px;margin:14px 0}.editorial-heading em{color:#b65336;font-weight:normal}.editorial-heading p{color:#8b7868;line-height:1.7}.today-dishes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.dish-card{background:#fffdfa;border:1px solid #e9dfd3;border-radius:24px;overflow:hidden;box-shadow:0 10px 24px #68452b06;min-width:0}.dish-image{width:100%;display:block;padding:0;position:relative;border:0;border-radius:0;height:235px;overflow:hidden}.dish-image img{width:100%;height:100%;object-fit:cover}.dish-image>span{position:absolute;left:16px;bottom:16px;padding:9px 13px;border-radius:24px;background:#fff7edea;color:#5d3f2b;font-size:12px}.dish-body{padding:22px}.dish-body h2{font:26px/1.15 Georgia,serif;letter-spacing:-.6px;margin:12px 0}.dish-body h2 button{font:inherit;background:transparent;border:0;padding:0;text-align:left;min-height:0}.nutrition-line{font-size:11px;color:#786658;line-height:1.8}.nutrition-line small{display:block;color:#998779}.ingredients-status{font-size:12px;line-height:1.6;min-height:42px;color:#806a5a}.dish-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}.dish-actions button{font-size:11px;padding:9px 12px}.daily-nutrition{background:#efe4d7;border-radius:18px;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0;color:#6a5140;font-size:13px;flex-wrap:wrap}.daily-nutrition small{display:block;font-size:10px;margin-top:5px}.daily-nutrition strong{font:26px Georgia,serif}.product-nav{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);display:flex;width:min(520px,94vw);justify-content:space-around;border:1px solid #e8dccf;background:#fffaf5f5;backdrop-filter:blur(15px);border-radius:24px;padding:8px;z-index:20;box-shadow:0 10px 40px #4e342525}.product-nav button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;font-size:10px;gap:4px;padding:6px 12px;min-width:50px;color:#927c6c}.product-nav button span{font-size:21px}.product-nav button.active{color:#ac4b30;background:#f6e6d7;border-radius:17px}.product-tools{display:flex;gap:9px;flex-wrap:wrap;margin-top:25px}.product-tools button{font-size:12px}.local-label{font-size:10px;color:#968475;margin:20px 0}.wide{width:100%;margin-top:10px}.start-week{border-radius:23px;background:#f3dfcb;padding:26px;margin-bottom:25px}.start-week h2{font:30px Georgia,serif;margin:0 0 12px}.start-week p{max-width:620px;color:#84624b;line-height:1.65}.start-week button{margin:8px 8px 0 0}.empty-dish{padding:28px;min-height:250px}.empty-dish h2{font:30px Georgia,serif}.empty-dish p{color:#8d7766;line-height:1.7}.day-strip{display:flex;gap:8px;margin:20px 0;overflow:auto;padding-bottom:6px}.day-strip button{flex:1;min-width:44px;padding:12px 8px;background:#fffaf5;display:flex;flex-direction:column;gap:7px;align-items:center;border-radius:19px}.day-strip .active{background:#b65336;color:white;border-color:#b65336}.day-strip strong{font:22px Georgia,serif}.day-strip small{font-size:10px}.week-actions{display:flex;gap:10px;justify-content:space-between}.cuisine-shelf{display:flex;overflow:auto;gap:7px;max-width:100%;margin:12px 0 24px;padding-bottom:8px}.cuisine-shelf button{flex-shrink:0;font-size:12px;padding:10px 16px;border-radius:25px}.cuisine-shelf .active,.category-chips .active{background:#b65336;color:white;border-color:#b65336}.catalog-hero{background:#f1dfcd;border-color:#e9d4be}.catalog-hero h2{font-family:Georgia,serif;font-weight:normal}.catalog-hero em{color:#b65336}.catalog-counter strong{color:#b65336}.recipe-card{border-radius:22px;background:#fffdfa}.recipe-title h3{font-family:Georgia,serif;font-weight:normal;font-size:25px}.recipe-cover img{height:220px;object-fit:cover}.photo-cuisine{background:#fff8efed;color:#5a3e2a}.favorite-button{background:#fff7eded;color:#9e472e}.preview-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.preview-photos img{width:100%;height:100px;object-fit:cover;border-radius:12px}.preview-photos small,.preview-photos strong{display:block;font-size:11px;margin-top:7px}.preview-photos strong{font-family:Georgia,serif;font-size:17px}dialog{background:#fffbf5;border-radius:24px;border-color:#e3d1bf;max-width:min(95vw,900px)}#nutrition-detail{background:#f5e6d6;border-radius:16px;padding:18px;margin:15px 0}#nutrition-detail small{font-size:11px;color:#806550;line-height:1.5}.login-story{background:#eddbc7}.login-story h1{font-family:Georgia,serif}.login-card .primary{background:#b65336}.note{background:#f3e9df;border-color:#d9bca4}.recipe-no-photo{background:#f0e0ce;color:#9a7559}@media(max-width:760px){.product-header{padding:20px 18px}.wordmark{font-size:23px}.product-shell{padding:3px 18px 115px}.today-dishes{grid-template-columns:1fr;gap:22px}.dish-image{height:245px}.dish-body{padding:20px}.editorial-heading h1{font-size:56px}.editorial-heading{margin-top:10px}.dish-body h2{font-size:29px}.dish-actions button{font-size:12px;min-height:46px}.daily-nutrition{padding:18px}.recipe-grid{grid-template-columns:1fr}.recipe-cover img{height:245px}.catalog-hero{padding:24px}.catalog-counter{display:none}.recipe-filters{display:flex;flex-wrap:wrap}.search-label{width:100%}.preview-photos img{height:78px}.product-nav{bottom:max(8px,env(safe-area-inset-bottom))}.profile-pill{max-width:39%}.detail-photo{max-height:300px}.start-week{padding:22px}.start-week .primary{width:100%}.day-strip{gap:4px}.day-strip button{padding:12px 5px}.product-tools button{flex:1;font-size:11px}.daily-nutrition>span:last-child{width:100%}}
:root .catalog-hero h2 em{color:#b65336}.collection-switch{background:#f0e2d4}.category-chips{max-width:100%;overflow-x:auto;flex-wrap:nowrap}.category-chips button{flex-shrink:0}.product-shell>.section-head{align-items:center;flex-wrap:nowrap}.product-shell>.section-head .quiet{margin-left:auto}@media(max-width:760px){.catalog-hero{padding:18px;margin-bottom:18px}.catalog-hero h2{font-size:32px;line-height:1.12;margin:10px 0}.catalog-hero h2 br{display:none}.catalog-hero p{display:none}.cuisine-shelf{margin-bottom:16px}.recipe-filters{gap:8px}.recipe-filters label{margin-bottom:0}.recipe-filters{margin-bottom:12px}.catalog-results{font-size:11px}.product-header{padding-bottom:12px}}

/* Keep shared settings reachable above the existing fixed mobile navigation. */
@media(max-width:700px){.product-tools{margin-bottom:110px}}

.simple-choice-panel{background:#f5e7d9;border:1px solid #e5d3c1;border-radius:22px;padding:20px;margin:18px 0 24px}.simple-choice-panel h2{font:27px Georgia;margin:0 0 15px}.simple-choice-panel p{font-size:12px;line-height:1.7;color:#80654f}.simple-kitchen-buttons,.kitchen-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.simple-kitchen-buttons button{min-height:62px;font-size:14px;font-weight:bold;padding:14px;border-radius:17px;background:#fffbf5}.simple-kitchen-buttons button.selected{background:#b65336;color:white;border-color:#b65336}.kitchen-choices label{position:relative;display:block;margin:0}.kitchen-choices input{position:absolute;opacity:0;width:1px;height:1px}.kitchen-choices span{display:flex;align-items:center;justify-content:center;min-height:65px;border:1px solid #d9c4ad;border-radius:16px;background:#fffaf3;padding:12px;text-align:center;font-weight:bold}.kitchen-choices input:checked+span{background:#b65336;color:white;border-color:#b65336}.kitchen-choices input:focus-visible+span{outline:3px solid #543b27;outline-offset:2px}.family-mini{display:flex;align-items:center;gap:14px;padding:12px;background:#f2e5d7;border-radius:18px;margin-bottom:20px}.family-mini img{width:140px;max-width:40%;height:auto;object-fit:contain;border-radius:12px}.family-mini strong{font:17px Georgia}.family-mini small{display:block;font-size:10px;margin:7px 0;color:#967057}.family-mini button{min-height:32px;font-size:10px;padding:5px 7px;margin-right:4px}.approved-family-photo{display:block;width:100%;height:auto;object-fit:contain;border-radius:16px}.neutral-family{font:36px Georgia;color:#b65336;background:#f5e5d4;padding:35px;border-radius:20px}.simple-price{font-size:12px;color:#9d4d30}.simple-choice-panel+.start-week{margin-top:15px}@media(max-width:430px){.family-mini{align-items:flex-start}.family-mini img{width:110px}.family-mini strong{font-size:16px}.simple-kitchen-buttons button{font-size:13px}.family-mini button{font-size:9px;padding:4px}.simple-choice-panel{padding:17px}.simple-choice-panel h2{font-size:25px}}

.r21-panel{border:1px solid #e4d3bf;background:#f3e6d7;border-radius:20px;padding:18px;margin:18px 0}.r21-panel h2{font:25px Georgia,serif;margin:6px 0 12px}.r21-panel p,.drink-meta{font-size:13px;line-height:1.65;color:#786452}.drink-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.drink-card{background:#fffdfa;border:1px solid #eaded0;border-radius:22px;overflow:hidden;min-width:0}.drink-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.drink-card .drink-body{padding:17px}.drink-card h2{font:25px/1.15 Georgia,serif;margin:8px 0}.drink-card small{color:#967f69;font-size:11px}.drink-actions{display:flex;flex-wrap:wrap;gap:8px}.r21-days{padding:10px 0;display:grid;gap:8px}.r21-day{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:12px}.r21-summary{max-height:55vh;overflow:auto}.r21-summary article{padding:12px 0;border-bottom:1px solid #e7dacb}.r21-summary li{line-height:1.6}.drink-detail-image{width:100%;border-radius:18px;aspect-ratio:4/3;object-fit:contain;background:#eee3d3}.r21-warning{background:#f7ead6;padding:13px;border-radius:12px;font-size:13px}.r21-settings{display:grid;gap:14px}.r21-settings label{line-height:1.7;font-size:14px}.r21-settings input[type=checkbox]{min-height:20px;width:20px;vertical-align:middle}.r21-tool{background:#f3e6d7}.r21-balance table{width:100%;font-size:12px;border-collapse:collapse}.r21-balance td,.r21-balance th{text-align:left;padding:8px 3px;border-bottom:1px solid #e7dacb}.r21-photo-note{font-size:11px;color:#8f7966}.product-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.product-nav button{min-width:0;font-size:10px;padding-left:3px;padding-right:3px}@media(max-width:700px){.drink-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.drink-card h2{font-size:22px}.drink-card .drink-body{padding:13px}}@media(max-width:380px){.drink-grid{grid-template-columns:1fr}}
@media(max-width:650px){.drink-grid{grid-template-columns:1fr}.drink-card .drink-body{padding:20px}.drink-card h2{font-size:28px}.drink-card .dish-image{height:auto;aspect-ratio:4/3}}

.chef-panel{padding:22px;background:#eee6d9;border-radius:24px;margin:18px 0 24px}.chef-panel h2{font:30px/1.15 Georgia,serif;margin:0 0 9px}.chef-panel p{font-size:14px;color:#625c51}.chef-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px}.chef-buttons button{min-height:48px;white-space:normal}.chef-buttons button:first-child{grid-column:1/-1;background:#ae5037;color:white}.chef-mode .dialog-head{position:sticky;top:0;background:#faf7f1;z-index:2}.chef-mode{max-height:94dvh;width:min(96vw,640px);padding:0}.chef-mode #dialog-body{padding:20px}.chef-hero{width:100%;max-height:200px;object-fit:cover;border-radius:18px}.chef-step{background:#f0e8db;border-radius:18px;padding:20px;font:20px/1.65 Georgia,serif;margin:16px 0}.chef-stock,.chef-item{padding:12px 0;border-bottom:1px solid #ded5c8}.chef-missing{color:#9f432c}.chef-timer{font:32px/1.4 ui-monospace,monospace;text-align:center;padding:12px;background:#e4ebdf;border-radius:15px}.chef-timer small{display:block;font:13px system-ui}.chef-row{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.chef-row button{min-height:44px}.chef-list{padding:0;list-style:none}.chef-sub{background:#fff4df;padding:12px;border-radius:10px}.chef-note{font-size:13px;color:#686052}.chef-card{padding:16px;background:#f4ede1;border-radius:15px;margin:12px 0}.chef-card h3{font:22px Georgia,serif;margin:0 0 8px}.chef-export{width:100%;min-height:170px}.chef-stores{display:flex;gap:8px;flex-wrap:wrap}.chef-stores .selected{background:#395344;color:white}.chef-score{display:flex;gap:7px;flex-wrap:wrap}.chef-score button{min-width:44px;min-height:44px}.chef-mode input[type=number]{width:110px}.chef-progress{font-size:13px;letter-spacing:.06em;color:#766959}.chef-mode h2{overflow-wrap:anywhere}.chef-mode a{color:#376347}.chef-item p{margin:6px 0}.chef-cta{width:100%;min-height:50px;margin-top:10px}
@media(max-width:430px){.chef-panel{padding:17px}.chef-buttons button{font-size:13px}.chef-mode #dialog-body{padding:16px}.chef-step{font-size:19px}.chef-mode .dialog-head{padding:14px}}

@media(max-width:600px){dialog.chef-mode{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-height:100dvh;max-width:none;border:0;border-radius:0;box-sizing:border-box;overflow-y:auto}.chef-mode .dialog-head h2{font-size:23px}.chef-mode .dialog-head{padding:16px}}

.ms-mode{--ms-line:#e3d9cd;--ms-soft:#f7f1e8}.ms-intro{font:30px/1.15 Georgia,serif;margin:10px 0 16px}.ms-mode .eyebrow{margin-top:12px}.ms-note{font-size:13px;line-height:1.5;color:#766958}.ms-stores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}.ms-store{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:140px;padding:18px;border:1px solid var(--ms-line);border-radius:18px;background:#fffaf4;text-align:left;white-space:normal}.ms-store strong{font-size:18px}.ms-store small{font-size:12px;color:#766958;line-height:1.5}.ms-store-symbol{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eee6db;color:#7c4b35;font-size:22px}.ms-favorite{font-size:11px;color:#47624a}.ms-periods{display:flex;gap:8px;margin:15px 0}.ms-periods button{min-height:44px;border-radius:24px}.ms-periods [aria-pressed=true]{background:#42614a;color:#fff}.ms-back{margin:0 0 8px;min-height:44px}.ms-progress{font-size:13px;color:#766958;margin:16px 0}.ms-products{display:grid;gap:14px}.ms-product{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;padding:16px;border:1px solid var(--ms-line);border-radius:18px;background:#fffaf4}.ms-photo{margin:0;aspect-ratio:1;align-self:start;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:#f5f0e7}.ms-photo img{width:100%;height:100%;object-fit:contain;background:white}.ms-photo figcaption{padding:10px;text-align:center;font-size:11px;color:#8a7d6c}.ms-photo [hidden]{display:none}.ms-product-content{min-width:0}.ms-product h3{font:19px/1.3 Georgia,serif;margin:8px 0;overflow-wrap:anywhere}.ms-ingredient,.ms-package{font-size:12px;line-height:1.5;color:#766958;margin:7px 0}.ms-price{font-size:20px;font-weight:600;margin:10px 0 4px}.ms-line-total{font-size:13px;margin:3px 0}.ms-item-status{display:inline-block;font-size:11px;color:#886240;background:#f6ead7;border-radius:20px;padding:5px 8px}.ms-item-status.confirmed{color:#34513b;background:#eaf0e6}.ms-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.ms-actions button{min-height:44px;font-size:12px}.ms-unresolved{margin-top:22px}.ms-unresolved h3{font-size:18px}.ms-unresolved ul,.ms-plain-list{list-style:none;padding:0}.ms-unresolved li,.ms-plain-list li{padding:14px 0;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--ms-line)}.ms-unresolved li span{display:block;font-size:12px;color:#766958;margin-top:5px}.ms-unresolved button{flex-shrink:0;align-self:center;min-height:44px}.ms-summary{padding:20px;margin:22px 0;background:#f0e8dc;border-radius:18px}.ms-summary p{font-size:13px;margin:4px 0 10px}.ms-summary strong{font:30px Georgia,serif}.ms-summary small{display:block;line-height:1.5;color:#766958}.ms-consent{display:flex!important;align-items:flex-start;gap:12px;font-size:13px;line-height:1.5;padding:10px 0}.ms-consent input{width:20px!important;min-width:20px;height:20px;margin:0;accent-color:#42614a}.ms-checkout{display:block;text-align:center;box-sizing:border-box;width:100%;min-height:48px;margin:14px 0;padding:14px;text-decoration:none;border-radius:12px}.ms-export,.ms-settings,.ms-more-stores{margin:18px 0}.ms-mode summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}.ms-export textarea{box-sizing:border-box;width:100%;min-height:150px}.ms-export-note{background:var(--ms-soft);border-radius:16px;padding:16px;line-height:1.5}.ms-export-note p{font-size:14px}.ms-message{padding:12px;background:#fff0d7;border-radius:12px;font-size:13px;line-height:1.5}.ms-result{border-bottom:1px solid var(--ms-line);padding:12px 0}.ms-mode a{overflow-wrap:anywhere}.ms-mode h2{overflow-wrap:anywhere}
@media(max-width:430px){.ms-product{grid-template-columns:84px minmax(0,1fr);gap:12px;padding:12px}.ms-product h3{font-size:18px}.ms-intro{font-size:27px}.ms-store{padding:14px;min-height:136px}.ms-actions{flex-direction:column}.ms-actions button{width:100%}.ms-unresolved li{flex-wrap:wrap}.ms-consent{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.ms-mode *{scroll-behavior:auto!important}}

:root{--fm-safe-bottom:env(safe-area-inset-bottom,0px)}
/* Native menu composer. Normal document flow; never a floating control or overlay. */
#native-menu-planner{margin:24px 0;padding:24px;border:1px solid var(--line);border-radius:22px;background:var(--paper);color:var(--ink);scroll-margin-top:20px;min-width:0}
#native-menu-planner h2,#native-menu-planner h3,#native-menu-planner h4{font-family:Georgia,serif;font-weight:normal;color:var(--ink)}
#native-menu-planner h2{font-size:32px;line-height:1.15;margin:6px 0 12px}#native-menu-planner h3{font-size:25px}#native-menu-planner h4{font-size:25px;margin:12px 0}
.native-compose-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.native-compose-heading>div{min-width:0}.native-compose-heading>button{flex-shrink:0;font-size:13px}
#native-menu-planner p,#native-menu-planner small{line-height:1.6}#native-menu-planner p{color:var(--muted)}
#native-menu-planner button{min-height:44px;font-size:15px;max-width:100%;white-space:normal}#native-menu-planner button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}
#native-menu-planner .native-mode-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}
#native-menu-planner .settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}#native-menu-planner label{min-width:0}
#native-menu-planner input,#native-menu-planner select,#native-menu-planner textarea{font-size:16px;max-width:100%}#native-menu-planner input[type=checkbox]{display:inline-block;width:20px;height:20px;min-height:20px;margin:0 8px 0 0;vertical-align:middle}
#native-menu-planner .native-preferences{padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:14px 0}#native-menu-planner summary{cursor:pointer;min-height:44px;line-height:1.5;padding:10px 0}
#native-menu-planner #calendar{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:22px}#native-menu-planner .day{min-width:0}#native-menu-planner .meal{display:block;padding:0;min-height:0;margin:12px 0;overflow:hidden;background:#fffdfa}#native-menu-planner .native-meal-body{padding:18px}#native-menu-planner .native-recipe-photo{display:block;width:100%;height:200px;object-fit:cover}#native-menu-planner .recipe-no-photo{min-height:100px;padding:20px}#native-menu-planner .meal button{margin:5px 3px 0 0;font-size:13px}#native-menu-planner .empty{border-style:dashed}
#native-menu-planner #manual-panel{border:1px solid var(--line);border-radius:18px;padding:18px;margin:20px 0;background:#fffaf5}#native-menu-planner #warnings{color:#845327}#native-menu-planner #status{font-weight:600;color:var(--ink)}#native-menu-planner li{line-height:1.6;margin:6px 0}#native-menu-planner #apply{margin:12px 0}
#content.native-composing>.day-strip,#content.native-composing>.today-dishes,#content.native-composing>.daily-nutrition,#content.native-composing>button[data-action=generate],#content.native-composing>p.form-help{display:none}
/* Existing navigation retains its design and its own safe-area offset. Reserve room for it. */
@media(max-width:760px){.product-shell{padding-bottom:calc(150px + var(--fm-safe-bottom))}.product-nav{bottom:max(8px,var(--fm-safe-bottom))}.product-nav button{min-width:0;white-space:normal}.product-nav button span{display:block}#native-menu-planner{padding:18px 14px;margin:20px 0}#native-menu-planner .native-mode-choices{grid-template-columns:1fr}#native-menu-planner .settings{grid-template-columns:1fr}#native-menu-planner #calendar{grid-template-columns:minmax(0,1fr)}.native-compose-heading{flex-wrap:wrap}#toast{bottom:calc(106px + var(--fm-safe-bottom))}}

@media (max-width: 600px) {
  .product-shell { padding-inline: 14px; padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  .product-shell .section-head { gap: 8px; margin-bottom: 12px; }
  .product-shell .family-grid { gap: 10px; }
  .product-shell .family-grid .card,
  .product-shell .chef-card { padding: 12px; }
  .product-shell .family-grid .card p { margin-block: 6px; }
  .product-shell .family-grid .member { padding-block: 6px; overflow-wrap: anywhere; }
  .product-shell .today-card { border-radius: 16px; }
  .product-shell .chef-hero { max-height: 150px; }
  .product-shell .family-grid button,
  .product-nav button { min-height: 44px; }
}

:root{--fm-button:#984b32;--fm-button-hover:#823e28;--fm-button-pressed:#723523}
#app button.primary,#app .button.primary,dialog button.primary{background:var(--fm-button);border-color:var(--fm-button);color:#fff}
#app button.primary:hover,dialog button.primary:hover{background:var(--fm-button-hover);border-color:var(--fm-button-hover)}
#app button.primary:active,dialog button.primary:active{background:var(--fm-button-pressed);border-color:var(--fm-button-pressed)}
#app button.primary:disabled,dialog button.primary:disabled{background:#715e52;border-color:#715e52;opacity:1;cursor:not-allowed}
:where(button,a,input,select,textarea):focus-visible{outline:3px solid #984b32;outline-offset:3px}
#fm-delivery-info,.product-footer .eyebrow{display:none!important}
#app .editorial-heading{padding-block:12px;margin-bottom:12px}
#app .editorial-heading h1{font-size:clamp(1.85rem,5vw,3.1rem);line-height:1.05;margin-block:4px 8px}
#app .today-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
#app .today-actions button,#app .pilot-auth button{min-height:44px}
#app .dish-body,#app .shopping-row,#app .stock-card{padding:12px}
#app .dish-body .eyebrow{margin-bottom:4px}
#app .dish-body .nutrition-line,#app .dish-body .ingredients-status{margin-block:6px}
#app .pilot-auth{display:grid;gap:8px;margin-block:12px}
#app .login-card .pilot-benefits{padding-inline-start:1.2rem;line-height:1.65}
#app .product-shell:has(.today-actions)> .section-head,#app .local-label{display:none}
#app #content:has(.today-actions){display:flex;flex-direction:column}
#app #content:has(.today-actions)> .editorial-heading{order:-5}
#app #content:has(.today-actions)> .today-actions{order:-4}
#app #content:has(.today-actions)> .today-dishes{order:-3}
#app #content:has(.today-actions)> .chef-panel{order:-2;margin-top:14px}
#app #content:has(.today-actions)> .note{order:2;font-size:.875rem;padding:10px 12px}
#app #content:has(.today-actions)> .simple-choice-panel{order:1}
#app .chef-panel{padding:14px}
#app .chef-panel [data-chef=plan]{background:var(--fm-button);border-color:var(--fm-button);color:#fff}
#app .chef-panel [data-chef=plan]:hover{background:var(--fm-button-hover)}
#app .family-grid .card{padding:14px}
#app .family-grid h3,#app .family-grid p{margin-block:6px}

#app .dish-image:has(.recipe-no-photo){min-height:48px;height:auto;aspect-ratio:auto;padding:8px 12px;text-align:left}
#app .dish-image:has(.recipe-no-photo) .recipe-no-photo{min-height:0;height:auto;aspect-ratio:auto;background:transparent;display:none}
#app .dish-image:has(.recipe-no-photo)>span{position:static;display:inline-flex}
#app .login-story p,#app .login-story .brand,#app .login-story .brand small,#app .login-story .eyebrow{color:#493c31}
