:root{font-family:DM Sans,sans-serif;color:#253e32;background:#faf7f1;font-synthesis:none;font-weight:400;line-height:1.5;--green: #214b3b;--orange: #af512f;--muted: #6e746b;--line: #e8e4dc;--cream: #faf7f1}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid transparent;background:none;color:inherit;padding:9px 13px;border-radius:10px}button:hover{filter:brightness(.95)}button:disabled{opacity:.55;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c66b43;outline-offset:3px}input,select{min-height:46px;width:100%;border:1px solid #d8dcd3;background:#fffefb;border-radius:9px;padding:10px 12px;color:#253e32}input::placeholder{color:#85897e}a{color:var(--green)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:clamp(1.8rem,3.2vw,2.55rem);font-weight:800;letter-spacing:-1.4px;line-height:1.23;margin-bottom:12px}h2{font-size:1.3rem;letter-spacing:-.55px;font-weight:800}h3{font-size:1.1rem;line-height:1.4;letter-spacing:-.35px}p{color:var(--muted)}.topbar{height:88px;background:#fffdf8;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 max(6%,calc((100vw - 1160px)/2))}.text-button{padding:6px 0;border:0;font-weight:600;border-radius:4px}.brand{font-family:Manrope,sans-serif;font-size:1.55rem;letter-spacing:-1px;font-weight:800;gap:10px}.brand-symbol{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:#fce2bd;border-radius:13px}.brand-question{color:var(--orange);margin-left:-9px}.top-right{display:flex;align-items:center;gap:20px}.household-name{font-size:.875rem;color:var(--muted)}.avatar{width:40px;height:40px;min-height:40px;display:flex;align-items:center;justify-content:center;background:#e8ccaa;color:#684d31;border:3px solid white;border-radius:50%;font-weight:700}.avatar.partner{background:#dce8d8;color:var(--green)}.connection-strip{min-height:32px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:.75rem;color:#706b59;background:#eee9db;padding:5px 14px;flex-wrap:wrap}.connection-strip>span{font-size:.625rem;letter-spacing:1px;font-weight:800}.connection-strip button{min-height:24px;font-size:.75rem;padding:0 5px;text-decoration:underline}.main-content{max-width:1160px;margin:auto;padding:40px 28px 130px}.home-heading,.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}.home-heading p,.page-heading p{margin:0}.home-heading h1 span{color:var(--orange)}.eyebrow{display:block;font-size:.7rem;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:#7b7d69;margin-bottom:11px}.pantry-chip{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 17px;gap:14px;text-align:left;box-shadow:0 3px 12px #28352403}.pantry-chip strong,.pantry-chip small{display:block}.pantry-chip strong{font-size:.875rem}.pantry-chip small{font-size:.75rem;color:var(--muted)}.chip-icon{background:#f5ecdb;border-radius:10px;color:#ac633e;padding:9px;display:flex}.daily-note{display:flex;align-items:center;gap:13px;border-top:1px solid #e4dfd1;border-bottom:1px solid #e4dfd1;padding:16px 0;margin:0 0 30px}.daily-note p{margin:0;color:#756953;font-size:.875rem}.note-mark{color:var(--orange);font-size:24px}.darija{margin-left:auto;font-family:Georgia,serif;font-style:italic;font-size:1.15rem;color:#9c6039}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.section-heading h2{display:flex;gap:10px;align-items:center;margin:0}.section-heading h2>svg{color:var(--orange)}.section-heading h2 span{font-family:DM Sans,sans-serif;font-size:.75rem;letter-spacing:0;font-weight:400;color:#8a8b7e;border-left:1px solid #dcdacf;padding-left:13px;margin-left:5px}.section-heading>.text-button{font-size:.8rem;color:#5a6d55}.meal-section{margin-bottom:38px}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.recipe-card{background:#fffdf9;border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:0 5px 18px #48412805;min-width:0}.card-photo{position:relative;width:100%;height:182px;padding:0;border:0;border-radius:0;display:block;overflow:hidden}.card-photo img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.card-photo:hover img{transform:scale(1.04)}.status{position:absolute;top:13px;left:13px;display:flex;align-items:center;gap:5px;border-radius:6px;padding:5px 8px;font-size:.65rem;font-weight:700;background:#fffaf0;color:#835e23;box-shadow:0 2px 10px #0001}.status.ready{background:#f2f7e9;color:#3f673d}.photo-caption{position:absolute;bottom:7px;right:8px;background:#17251abf;color:#fff;padding:2px 5px;border-radius:3px;font-size:.625rem}.card-body{padding:18px 19px 0}.card-body>.eyebrow{font-size:.625rem;letter-spacing:1.1px;color:#a66342;margin-bottom:7px}.recipe-title{display:block;text-align:left;min-height:0;padding:0;width:100%}.recipe-title h3{margin:0;font-size:1.04rem;letter-spacing:-.45px}.card-description{font-size:.8rem;line-height:1.5;margin:8px 0 15px;min-height:38px}.recipe-meta{display:flex;align-items:center;gap:11px;font-size:.7rem;color:#73796b;white-space:nowrap}.recipe-meta>span{display:flex;align-items:center;gap:5px}.recipe-meta .match{margin-left:auto;color:#487146;font-weight:700;font-size:.675rem}.meter{height:3px;border-radius:3px;background:#eeeee4;margin:13px 0 11px;overflow:hidden}.meter span{height:100%;display:block;background:#769166}.partner-note{font-size:.675rem;display:flex;align-items:center;gap:6px;color:#a8644e;margin-bottom:7px}.card-actions{display:flex;align-items:center;border-top:1px solid #efeee7;margin-top:8px;gap:5px}.card-actions button{min-height:48px;font-size:.7rem;padding:6px 4px;gap:5px;white-space:nowrap}.card-actions button+button{margin-left:5px}.card-actions .recipe-link{margin-left:auto;color:var(--green);font-weight:700}.liked{color:#b35039}.saved{color:#a46c27}.bottom-nav{position:fixed;bottom:20px;left:50%;transform:translate(-50%);z-index:10;display:flex;justify-content:space-around;gap:10px;background:#fffefaed;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid #e3e4d8;box-shadow:0 8px 35px #28352b18;border-radius:20px;padding:8px 18px;width:min(590px,calc(100% - 30px))}.bottom-nav button{flex:1;min-width:0;flex-direction:column;gap:4px;font-size:.675rem;padding:7px 12px;color:#7d8174;border-radius:11px}.bottom-nav button[aria-current]{color:var(--green);background:#eaf0e3;font-weight:700}.footnote{text-align:center;margin-top:25px}.fine{font-size:.75rem;color:var(--muted);line-height:1.6}.primary{background:var(--green);color:#fff;font-weight:600;border-radius:10px;padding:12px 18px;min-height:48px}.secondary{border:1px solid #ced6c8;background:#fffefb;font-weight:600;padding:11px 16px}.primary.full{width:100%}.icon{width:44px;min-width:44px;padding:8px;color:#6c7567}.heading-icon{width:44px;height:44px;color:#b65a35}.toolbar{display:flex;gap:14px;margin:22px 0}.toolbar>select{width:210px}.search{display:flex;align-items:center;gap:10px;flex:1;border:1px solid #d8dcd3;background:#fffefb;border-radius:10px;padding:0 14px}.search input{border:0;background:transparent;padding-left:0;min-width:0}.quick-add{display:flex;flex-wrap:wrap;align-items:center;gap:9px;background:#efeede;padding:18px;border-radius:13px}.quick-add>span{font-weight:700;font-size:.875rem;margin-right:8px}.quick-add button{background:#fffdf7;border:1px solid #d8dccb;padding:7px 12px;font-size:.875rem;min-height:40px}.quick-add p{width:100%;margin:0}.pantry-list{display:grid;grid-template-columns:1fr 1fr;gap:24px}.pantry-list section{background:#fffdf9;border:1px solid var(--line);padding:20px;border-radius:14px;align-self:start}.pantry-list h2{font-size:1rem;border-bottom:1px solid var(--line);padding-bottom:15px;display:flex;justify-content:space-between}.pantry-list h2 span{color:#88917e;font-size:.875rem}.stock-row{display:flex;align-items:center;gap:8px;padding:8px 0}.availability{width:42px;min-width:42px;background:#f0ede8;color:#928b7f;padding:8px}.availability.active{background:#eaf0e2;color:#57764b}.stock-name{flex:1;min-width:0}.stock-name strong{font-size:.9rem;text-transform:capitalize;display:block}.stock-name span{font-size:.75rem;color:var(--muted);display:block;overflow-wrap:anywhere}.depleted .stock-name strong{text-decoration:line-through;color:#8b8a7d}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}.tabs button{border:1px solid #e3e1d6;background:#fffdf8;font-size:.875rem}.tabs button.active{background:var(--green);color:#fff}.empty{text-align:center;border:1px dashed #d6d8c9;padding:50px 20px;border-radius:15px;color:#708360;background:#f5f5ec}.empty h3{margin:14px 0 8px}.empty p{max-width:470px;margin:0 auto}.household-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-card{background:#fffdf9;border:1px solid var(--line);border-radius:15px;padding:25px;margin-bottom:20px;align-self:start}.settings-card p{font-size:.9rem}.settings-card h2{margin-bottom:14px}.profiles{display:flex;justify-content:space-around;gap:20px;padding:14px 0 27px;margin-bottom:15px;border-bottom:1px solid var(--line)}.profile{display:flex;align-items:center;flex-direction:column;gap:7px;text-align:center}.profile .avatar{width:58px;height:58px;font-size:1.3rem}.profile button{font-size:.75rem}.menu-card{width:100%;background:#fffdf9;border:1px solid var(--line);border-radius:13px;margin-bottom:14px;padding:20px;text-align:left;justify-content:start;gap:17px}.menu-card>span{flex:1}.menu-card strong,.menu-card small{display:block}.menu-card small{font-size:.75rem;color:var(--muted);margin-top:4px}.install{background:#ecefdf}.install>svg{color:#718154;margin-bottom:12px}.settings-footer{display:flex;gap:25px;align-items:center;flex-wrap:wrap;font-size:.8rem}.settings-footer .fine{margin-left:auto}.history-list article{display:flex;align-items:center;gap:22px;border-bottom:1px solid var(--line);padding:20px 0}.history-list article>div:nth-child(2){flex:1}.history-list h3{margin:0}.history-list p{font-size:.8rem;margin:2px 0}.history-list .eyebrow{margin-bottom:2px}.history-day{background:#edecde;min-width:66px;border-radius:12px;text-align:center;padding:10px}.history-day strong,.history-day span{display:block}.history-day strong{font-size:1.4rem}.history-day span{font-size:.75rem}.back{margin-bottom:20px}.modal{border:0;border-radius:20px;background:#fffdf8;color:#253e32;width:min(620px,calc(100% - 24px));max-height:90dvh;padding:25px;box-shadow:0 20px 100px #1226194d}.modal::backdrop{background:#16291ec4;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.modal-top h2{margin:0;font-size:1.35rem}.detail-photo{width:100%;height:235px;object-fit:cover;border-radius:13px}.detail-meta{display:flex;gap:13px;flex-wrap:wrap;background:#f1f0e5;padding:14px;border-radius:10px;margin:20px 0;font-size:.8rem}.detail-meta span{display:flex;align-items:center;gap:6px}.ingredient-list{padding:0;list-style:none;margin-bottom:26px}.ingredient-list li{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.9rem}.ingredient-list li>span:first-child{display:flex;gap:9px;align-items:center;text-transform:capitalize}.ingredient-list li>span:last-child{text-align:right}.ingredient-list small{display:block;font-size:.7rem;color:#657d53}.ingredient-list .missing small,.ingredient-list .missing{color:#9c552f}.missing-dot{width:17px;height:17px;border:1px dashed #b47c5c;border-radius:50%;display:inline-block}.steps{padding:0;list-style:none}.steps li{display:flex;gap:14px;margin-bottom:17px}.steps li>span{display:flex;align-items:center;justify-content:center;min-width:30px;height:30px;background:#eceede;border-radius:50%;font-size:.8rem;font-weight:700}.steps p{margin:2px 0;color:#566250;font-size:.9rem}.recipe-reactions{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line);padding-top:18px;font-size:.8rem;color:#a35e44}.recipe-reactions>span{display:flex;align-items:center;gap:7px}.detail-actions{display:flex;gap:10px;margin:20px 0}.detail-actions button{flex:1}.detail-actions [aria-pressed=true]{background:#f3e1d3;border-color:#c79370;color:#97502f}.hide-recipe{margin:12px auto 0;display:flex;font-size:.8rem;color:#7f7766}.toast{position:fixed;bottom:110px;left:50%;transform:translate(-50%);padding:14px 20px;background:#214b3b;color:#fff;border-radius:12px;box-shadow:0 4px 25px #15352233;font-size:.875rem;z-index:30;display:flex;align-items:center;gap:10px;max-width:calc(100% - 28px);width:max-content}.notice,.error,.global-error{padding:13px 16px;border-radius:10px;background:#eef0df;font-size:.875rem;margin:15px 0;color:#4e653e}.error,.global-error{background:#f9e8de;color:#943e24}.global-error{max-width:1100px;margin:15px auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.update{display:flex;align-items:center;justify-content:center;gap:20px}.invite{display:block;overflow-wrap:anywhere;margin:10px 0;background:#fff;padding:10px}.skip{position:fixed;top:-100px;left:15px;z-index:100;background:#fff;padding:15px}.skip:focus{top:10px}form{display:grid;gap:17px}label{display:grid;gap:7px;font-size:.875rem;font-weight:500}fieldset{border:1px solid var(--line);border-radius:10px;padding:16px;margin:0;min-width:0}legend{font-weight:600;font-size:.9rem;padding:0 5px}.checks{display:flex;gap:8px 18px;flex-wrap:wrap}.check-label{display:flex;align-items:center;gap:9px;min-height:40px;font-size:.875rem;font-weight:400}.check-label input{width:19px;min-height:19px;height:19px;accent-color:var(--green);flex-shrink:0}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-visual{position:relative;background:var(--green);min-height:100vh;overflow:hidden}.auth-visual>img{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.65}.auth-visual:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg,#123e31ed,transparent)}.auth-visual>div{position:absolute;z-index:1;bottom:11%;left:10%;right:8%;color:#fff}.brand-light{display:block;font-family:Manrope,sans-serif;font-size:1.8rem;font-weight:800;letter-spacing:-1px;margin-bottom:50px}.brand-light span{color:#efb583}.auth-visual h1{font-size:clamp(2rem,3.4vw,3.4rem)}.auth-visual p{color:#eee9d8}.auth-panel{max-width:520px;width:100%;margin:auto;padding:45px}.auth-panel>.brand-symbol{margin-bottom:25px;width:50px;height:50px}.auth-panel h2{font-size:1.8rem}.auth-panel>p{font-size:.9rem}.auth-panel form{margin-top:25px}.auth-links{display:flex;justify-content:space-between;gap:15px;font-size:.75rem;margin:15px 0}.auth-links button{font-size:.75rem}.divider{display:flex;align-items:center;gap:15px;font-size:.75rem;color:#92917f;margin:30px 0 18px}.divider:before,.divider:after{content:"";flex:1;height:1px;background:var(--line)}.auth-panel>.secondary{width:100%;font-size:.875rem}.auth-panel>.fine{text-align:center;margin-top:14px}.setup{max-width:520px;margin:60px auto;padding:25px}.setup>.brand-symbol{margin-bottom:22px}.setup>.text-button{margin-top:15px}.loading{padding:100px 25px;text-align:center}@media(min-width:1400px){.main-content{padding-top:48px}.card-photo{height:205px}}@media(max-width:900px){.recipe-grid{gap:14px}.card-body{padding:15px 13px 0}.recipe-meta{gap:6px;font-size:.65rem}.recipe-meta .match{font-size:.625rem}.card-actions button{font-size:.65rem;gap:3px}.card-actions button+button{margin-left:0}.card-description{min-height:58px}.topbar{padding:0 28px}.section-heading h2 span{display:none}.household-grid{gap:16px}.settings-card{padding:20px}}@media(max-width:650px){.topbar{height:72px;padding:0 20px}.brand{font-size:1.28rem;gap:8px}.brand-symbol{width:35px;height:35px;border-radius:11px}.household-name{display:none}.connection-strip{font-size:.65rem;gap:6px;padding:5px 10px}.connection-strip>span{font-size:.6rem}.main-content{padding:28px 20px 110px}.home-heading{display:block;margin-bottom:20px}.home-heading h1{font-size:1.9rem;letter-spacing:-1px}.home-heading p{font-size:.9rem}.eyebrow{font-size:.625rem;letter-spacing:1.2px;margin-bottom:9px}.pantry-chip{width:100%;margin-top:22px;padding:11px 14px;gap:12px;border-radius:12px}.pantry-chip>svg{margin-left:auto}.pantry-chip strong{font-size:.8rem}.pantry-chip small{display:inline;font-size:.75rem}.chip-icon{padding:7px}.daily-note{gap:9px;padding:12px 0;margin-bottom:25px}.daily-note p{font-size:.75rem;max-width:220px}.darija{font-size:.875rem;white-space:nowrap}.note-mark{font-size:21px}.section-heading{margin-bottom:13px;gap:5px}.section-heading h2{font-size:1.12rem;gap:8px}.section-heading>.text-button{font-size:.75rem;gap:5px}.recipe-grid{grid-template-columns:1fr;gap:20px}.card-photo{height:210px}.card-body{padding:18px 18px 0}.card-body>.eyebrow{font-size:.65rem}.recipe-title h3{font-size:1.15rem}.card-description{min-height:0;font-size:.875rem;margin-bottom:16px}.recipe-meta{font-size:.8rem;gap:15px}.recipe-meta .match{font-size:.75rem}.card-actions button{font-size:.8rem;min-height:52px;gap:6px;padding:8px 4px}.card-actions button+button{margin-left:12px}.card-actions .recipe-link{margin-left:auto}.status{font-size:.75rem;padding:6px 9px}.photo-caption{font-size:.625rem}.partner-note{font-size:.75rem}.bottom-nav{bottom:0;border-radius:18px 18px 0 0;width:100%;padding:9px 8px calc(9px + env(safe-area-inset-bottom));gap:0;border-bottom:0}.bottom-nav button{font-size:.65rem;gap:4px;padding:6px 5px;min-height:52px}.toast{bottom:calc(90px + env(safe-area-inset-bottom));font-size:.8rem}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:1.8rem}.page-heading p{font-size:.875rem}.page-heading>.primary{font-size:.75rem;padding:10px;min-height:44px}.page-heading .heading-icon{display:none}.toolbar{gap:9px;flex-wrap:wrap}.toolbar>.select{width:100%}.toolbar>select{width:100%;font-size:.875rem}.search{min-width:100%}.pantry-list,.household-grid{grid-template-columns:1fr}.pantry-list section{padding:17px}.quick-add{padding:15px}.quick-add>span{width:100%}.quick-add button{font-size:.8rem}.stock-row{gap:4px}.stock-name strong{font-size:.875rem}.stock-name span{font-size:.75rem}.stock-row .icon{width:40px;min-width:40px}.settings-footer{gap:10px 20px}.settings-footer .fine{margin-left:0}.tabs{gap:6px}.tabs button{font-size:.8rem;padding:8px 10px}.modal{max-height:94dvh;padding:20px 17px;border-radius:17px}.modal-top h2{font-size:1.2rem}.detail-photo{height:200px}.modal p{font-size:.9rem}.detail-meta{font-size:.75rem}.history-list article{gap:12px;flex-wrap:wrap}.history-list h3{font-size:1rem}.history-list article>.text-button{font-size:.75rem}.auth-shell{display:block}.auth-visual{min-height:260px;height:260px}.auth-visual>div{bottom:22px;left:25px}.brand-light{font-size:1.4rem;margin-bottom:16px}.auth-visual h1{font-size:1.7rem;margin-bottom:5px}.auth-visual p{font-size:.8rem;margin:0}.auth-panel{padding:30px 25px}.auth-panel>.brand-symbol{display:none}.auth-panel h2{font-size:1.5rem}.auth-panel form{margin-top:20px}.auth-links{font-size:.75rem}.global-error{margin:12px;font-size:.8rem;flex-wrap:wrap}.install p{font-size:.85rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.card-actions button,.recipe-meta,.recipe-meta .match,.partner-note,.bottom-nav button,.section-heading>.text-button,.pantry-chip strong,.pantry-chip small,.stock-name span,.tabs button,.quick-add button{font-size:.875rem}.eyebrow,.card-body>.eyebrow,.status,.fine,.photo-caption,.connection-strip{font-size:.75rem}.card-description{font-size:.9rem}.recipe-meta{flex-wrap:wrap}.card-actions{gap:3px}.card-actions button{white-space:normal}.connection-strip>span{font-size:.7rem}.bottom-nav button{padding-left:4px;padding-right:4px;font-size:.75rem}.card-actions button+button{margin-left:4px}@media(max-width:370px){.main-content{padding-left:14px;padding-right:14px}.home-heading h1{font-size:1.7rem}.daily-note p{font-size:.8rem}.darija{display:none}.recipe-meta{gap:9px}.bottom-nav button{font-size:.7rem}.pantry-list section{padding:12px}.stock-row .icon{min-width:38px;width:38px}}.card-photo,.detail-photo{background:#f8f1e5}.card-photo img,.detail-photo{object-fit:contain}
