:root{--bg:#f7f3eb;--paper:#fffcf7;--card:#fffdfa;--ink:#372c25;--muted:#75675b;--line:#e7dfd3;--accent:#a94e2b;--accent-soft:#f3e1d5;--sage:#647450;--sage-soft:#e9eddc;--amber:#925911;--danger:#a43b33;--radius:22px;--shadow:0 12px 40px #5b37270a;--serif:Georgia,"Noto Serif SC","Songti SC",SimSun,serif;--sans:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.65 var(--sans)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;min-height:44px;border:0}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--sage);outline-offset:3px}.skip{position:fixed;top:-100px;left:16px;z-index:100;padding:12px;background:var(--paper)}.skip:focus{top:10px}.icon{width:21px;height:21px;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.shell{display:grid;grid-template-columns:228px 1fr;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;background:#f1eade;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:33px 20px 22px;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 32px;text-decoration:none}.brand img{width:43px;height:43px}.brand strong{font-size:21px;font-weight:650;letter-spacing:2px}.brand small{display:block;font-size:10px;letter-spacing:2px;color:var(--muted)}.nav-label{font-size:11px;letter-spacing:2px;color:var(--muted);padding:0 18px;margin:12px 0}.nav{display:flex;flex-direction:column;gap:7px}.nav button{display:flex;align-items:center;gap:13px;padding:12px 18px;background:transparent;border-radius:12px;text-align:left;color:var(--muted);font-weight:550}.nav button.active{background:var(--card);box-shadow:0 4px 12px #5b372707;color:var(--accent)}.nav button:hover{background:#fff8ee}.sidebar-note{margin-top:auto;padding:25px 15px 20px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.sidebar-note .leaf{color:var(--sage);margin-bottom:10px}.account-button{display:flex;align-items:center;gap:10px;padding:18px 10px 0;background:none;text-align:left}.account-button .avatar{width:36px;height:36px;font-size:14px}.account-button small{color:var(--muted);font-size:11px}.main-wrap{grid-column:2;min-width:0}.topbar{height:79px;padding:0 42px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fffcf740;gap:16px}.breadcrumb{font-size:13px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:18px}.sync{font-size:12px;color:var(--sage);display:flex;align-items:center;gap:7px}.sync:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--sage)}.top-actions .subtle{font-size:12px}main{max-width:1400px;margin:auto;padding:34px 42px 60px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}h1,h2,h3,p{margin:0}h1{font:30px/1.4 var(--serif);letter-spacing:1px}.eyebrow{font-size:10px;letter-spacing:2.2px;color:var(--accent);text-transform:uppercase;margin-bottom:8px}.subtitle{color:var(--muted);font-size:13px;margin-top:8px}.button{background:var(--accent);color:white;padding:12px 19px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:550;white-space:nowrap;transition:background .2s}.button:hover{background:#8f3f22}.button.secondary{background:var(--paper);border:1px solid var(--line);color:var(--ink)}.button.secondary:hover{background:#f0e9dd}.button.soft{background:var(--accent-soft);color:var(--accent)}.button.small{min-height:40px;padding:8px 14px;font-size:13px}.subtle{background:transparent;color:var(--muted);padding:6px 9px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:6px}.subtle:hover{background:#eee5d8;color:var(--ink)}.hero{display:grid;grid-template-columns:1fr 1.12fr;min-height:284px;border-radius:var(--radius);overflow:hidden;background:#eae7d8;position:relative}.hero-content{padding:35px 32px;z-index:1}.hero-content h2{font:30px/1.55 var(--serif);max-width:330px}.hero-content p{font-size:13px;color:#665c49;max-width:300px;margin:15px 0 24px}.hero-photo{position:relative;min-height:284px;overflow:hidden}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:67% 50%;position:absolute}.hero-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eae7d8 0%,transparent 23%);z-index:1}.hero-caption{position:absolute;right:18px;bottom:16px;background:#fff7e9db;padding:6px 10px;border-radius:8px;color:#6f4b33;font-size:10px;z-index:2}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0 30px}.metric{display:flex;align-items:center;justify-content:space-between;padding:21px 22px;background:var(--card);border:1px solid var(--line);border-radius:16px}.metric small{color:var(--muted);font-size:12px}.metric strong{font:28px/1.3 var(--serif);display:block;margin-top:4px}.metric strong span{font:12px var(--sans);margin-left:7px;color:var(--muted)}.metric-icon{width:43px;height:43px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);border-radius:13px}.metric:nth-child(2) .metric-icon{background:var(--sage-soft);color:var(--sage)}.metric:nth-child(3) .metric-icon{background:#f4e9cb;color:var(--amber)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 17px}.section-head h2{font-size:18px;font-weight:600}.section-head small{color:var(--muted);font-size:12px}.home-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:25px}.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}.food-row{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #eee6db}.food-row:last-child{border:0;padding-bottom:0}.food-row .food-art{width:61px;height:61px;flex-shrink:0;border-radius:14px}.food-info{flex:1;min-width:0}.food-info strong{font-weight:600}.food-info small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.pill{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:6px;font-size:11px;background:#ece9e0;color:#675d51;white-space:nowrap}.pill.soon{background:#f8e7c8;color:#875411}.pill.normal{background:#e9efdf;color:#5a6b42}.pill.expired,.pill.abnormal,.pill.review{background:#f6e1d9;color:#913b2e}.pill.unknown{background:#efebe3;color:#6e655a}.member-strip{display:flex;gap:8px;align-items:center;margin:18px 0}.avatar{width:40px;height:40px;background:#ead8c6;color:#825037;display:grid;place-items:center;border-radius:50%;font-weight:600}.avatar.sage{background:#e3e8d3;color:#59673c}.avatar.gold{background:#f3e3c5;color:#846623}.member-strip .avatar{border:3px solid var(--card);margin-right:-13px}.member-strip .member-names{margin-left:20px;font-size:12px;color:var(--muted)}.dinner-note{font:23px/1.7 var(--serif);margin:18px 0 12px}.quiet-note{font-size:12px;color:var(--muted);padding:13px 0}.wide{width:100%}.quicklinks{display:flex;gap:18px;margin-top:28px}.quicklink{flex:1;background:#f1eade;border-radius:14px;padding:15px 18px;display:flex;align-items:center;gap:13px;text-align:left;color:var(--ink)}.quicklink small{display:block;font-size:11px;color:var(--muted)}.quicklink .icon{color:var(--accent)}.page-footer{color:#807466;font-size:11px;display:flex;justify-content:space-between;gap:12px;margin-top:30px;padding-top:20px;border-top:1px solid var(--line)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 24px}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tabs button{padding:9px 15px;background:transparent;border-radius:10px;color:var(--muted);font-size:13px}.tabs button.active{background:var(--paper);box-shadow:0 3px 10px #5b372707;color:var(--accent)}.search{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:var(--paper);border-radius:11px;padding:0 12px;min-width:180px;max-width:260px}.search .icon{color:var(--muted);width:17px}.search input{border:0;outline:0;background:none;padding:11px 0;width:100%;font-size:13px;color:var(--ink)}.notice{display:flex;gap:12px;padding:15px 18px;background:#f3e7cc;border:1px solid #eaddc0;color:#795119;border-radius:12px;font-size:12px;margin-bottom:22px}.notice.info{background:var(--sage-soft);border-color:#dae1ca;color:#51623c}.notice.error{background:#f7e5df;color:#943c2d;border-color:#ebcec3}.notice .icon{width:18px;height:18px}.inventory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.food-card{background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;position:relative;transition:box-shadow .2s}.food-card:hover{box-shadow:var(--shadow)}.food-card .food-art{height:125px;width:100%;display:block}.food-card-body{padding:17px 18px}.food-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.food-card h3{font-size:16px}.food-card .amount{font-size:13px;margin:7px 0;color:var(--muted)}.food-card .detail{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:13px;padding-top:12px;font-size:11px;color:var(--muted)}.food-card .edit{position:absolute;right:8px;top:8px;background:#fffdf6c9;border-radius:9px;width:36px;min-height:36px;color:var(--muted)}.empty{padding:45px 20px;text-align:center;color:var(--muted)}.empty .icon{width:35px;height:35px;margin-bottom:14px;color:var(--sage)}.empty p{font-size:13px;margin:8px auto 20px;max-width:380px}.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.recipe-card{padding:0;overflow:hidden}.recipe-card .food-art{height:150px;display:block;width:100%}.recipe-body{padding:20px}.recipe-body h3{font:20px var(--serif);margin-bottom:10px}.recipe-body p{font-size:12px;color:var(--muted);margin-bottom:16px}.recipe-meta{display:flex;align-items:center;gap:12px;margin:10px 0;color:var(--muted);font-size:11px}.recipe-meta .icon{width:15px;height:15px}.recipe-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:22px}.plan-card{margin-bottom:23px}.plan-card-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:20px}.plan-card h3{font:23px var(--serif);margin-bottom:8px}.dish-tags{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.dish-tag{border:1px solid var(--line);background:#f8f3ea;padding:9px 14px;border-radius:10px;font-size:13px;display:flex;align-items:center;gap:8px}.person-portions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.portion{padding:16px;border:1px solid var(--line);border-radius:14px;background:#faf7f0}.portion strong{font-size:14px}.portion small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.portion .kcal{font:23px var(--serif);margin:10px 0;color:var(--accent)}.plan-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.member-card .avatar{width:62px;height:62px;font-size:23px;margin-bottom:16px}.member-card h3{font:23px var(--serif)}.member-card .role{color:var(--muted);font-size:12px;margin:6px 0 20px}.member-card .profile-lines{min-height:115px;font-size:12px}.profile-lines p{margin-bottom:10px;color:var(--muted)}.profile-lines p strong{color:var(--ink);font-weight:550}.profile-tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.member-card .subtle{border-top:1px solid var(--line);width:100%;justify-content:space-between;padding-top:14px;margin-top:14px}.reminder-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.reminder-row{display:flex;align-items:center;gap:14px;padding:20px 0;border-bottom:1px solid var(--line)}.reminder-row:last-child{border:0}.reminder-row .timer-icon{width:45px;height:45px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);border-radius:13px}.reminder-row .countdown{font:20px var(--serif);color:var(--accent);margin:5px 0}.reminder-row small{font-size:11px;color:var(--muted)}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;min-width:0}.field>label,.field-label{font-size:12px;font-weight:550;color:var(--muted)}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid #d9cebd;border-radius:10px;color:var(--ink);background:var(--paper);min-height:44px}.field textarea{min-height:80px;resize:vertical}.field small{color:var(--muted);font-size:11px}.fields{display:grid;grid-template-columns:repeat(2,1fr);gap:0 16px}.fields .full{grid-column:1/-1}.checkbox{display:flex;gap:10px;align-items:center;font-size:13px;min-height:44px}.checkbox input{width:18px;height:18px;accent-color:var(--accent)}.pick-people{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 23px}.pick-person{display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;cursor:pointer;font-size:13px}.pick-person:has(input:checked){background:var(--sage-soft);border-color:#a8b18e}.pick-person input{accent-color:var(--sage);width:16px;height:16px}.pick-person .avatar{width:30px;height:30px;font-size:12px}.device-hero{position:relative;border-radius:var(--radius);overflow:hidden;margin-bottom:24px;background:#e8ddcb;min-height:320px}.device-hero img{width:100%;height:360px;object-fit:cover;object-position:center 57%;display:block}.device-hero .caption{position:absolute;bottom:22px;left:25px;padding:15px 20px;background:#fff9edee;border-radius:14px;max-width:340px}.device-hero .caption h2{font:22px var(--serif);margin-bottom:7px}.device-hero .caption p{font-size:12px;color:var(--muted)}.device-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:23px}.connection{display:flex;align-items:center;gap:11px;color:var(--muted);font-size:13px;margin:18px 0}.connection .dot{width:8px;height:8px;background:#ae9e88;border-radius:50%}.connection.online .dot{background:var(--sage)}.code{font:34px var(--serif);letter-spacing:10px;padding:22px;background:var(--accent-soft);border-radius:14px;margin-top:16px;color:var(--accent);text-align:center}.status-list{font-size:12px}.status-line{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--line)}.status-line:last-child{border:0}.status-line span{color:var(--muted)}.status-line strong{font-weight:500}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-photo{position:relative;min-height:650px;overflow:hidden}.auth-photo img{width:100%;height:100%;object-fit:cover;position:absolute;object-position:64% center}.auth-photo .auth-quote{position:absolute;inset:auto 35px 45px;background:#fff9eeeb;border-radius:22px;padding:26px 30px}.auth-quote h2{font:28px/1.6 var(--serif);margin-bottom:10px}.auth-quote p{font-size:12px;color:var(--muted)}.auth-content{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px}.auth-inner{max-width:365px;width:100%}.auth-inner .brand{padding:0 0 45px}.auth-inner h1{font-size:30px}.auth-inner .tabs{margin:25px 0 20px}.auth-inner .button{margin-top:6px}.auth-divider{display:flex;align-items:center;gap:15px;font-size:11px;color:var(--muted);margin:24px 0 15px}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--line)}.auth-foot{font-size:11px;color:var(--muted);margin-top:24px;text-align:center}.loading{padding:80px;text-align:center;color:var(--muted)}dialog{width:min(660px,calc(100% - 32px));border:1px solid var(--line);border-radius:23px;padding:0;background:var(--paper);color:var(--ink);box-shadow:0 30px 100px #3a26193b;max-height:90vh}dialog::backdrop{background:#3c302555;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 27px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--paper);z-index:2}.modal-head h2{font:23px var(--serif)}.modal-content{padding:25px 27px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.form-error{color:var(--danger);font-size:12px;padding:10px 0;min-height:15px}.photo-picker{border:1px dashed #c6b6a0;border-radius:14px;padding:18px;text-align:center;background:#f6efe4;margin:15px 0}.photo-picker img{max-width:100%;max-height:180px;border-radius:12px}.photo-picker p{font-size:12px;color:var(--muted);margin-bottom:12px}.photo-picker input{max-width:100%;font-size:12px}.ing-list{font-size:13px}.ing-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);gap:12px}.steps{font-size:13px;line-height:1.9;padding-left:22px}.steps li{margin-bottom:13px}.small-note{font-size:11px;color:var(--muted);margin:12px 0}.section-divider{border:0;border-top:1px solid var(--line);margin:24px 0}#toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:#3d332b;color:white;padding:12px 22px;border-radius:12px;z-index:100;max-width:min(500px,90vw);font-size:13px;box-shadow:var(--shadow);display:none}.overflow-guard{word-break:break-word}.mobile-top{display:none}.selected-recipe{display:flex;align-items:center;gap:9px;background:var(--sage-soft);padding:8px 13px;border-radius:10px;font-size:12px}.selected-recipe button{min-height:28px;padding:0 5px;background:none;color:var(--muted)}.selected-list{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.quantity-confirm input{width:110px;padding:9px;border:1px solid var(--line);border-radius:9px;background:white}.history-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);font-size:12px;padding:12px 0;gap:12px}.history-row small{color:var(--muted)}.text-link{color:var(--accent);text-decoration:underline;background:none;padding:0;font-size:12px}.muted{color:var(--muted)}.help-copy{font-size:12px;color:var(--muted);line-height:1.9}.tiny-label{font-size:11px}.danger{color:var(--danger)}
@media(min-width:1550px){.hero{min-height:330px}.hero-photo{min-height:330px}.hero-content{padding:45px}.hero-content h2{font-size:35px}.inventory-grid{grid-template-columns:repeat(5,1fr)}}@media(max-width:1200px){.sidebar{width:195px;padding-left:12px;padding-right:12px}.shell{grid-template-columns:195px 1fr}main{padding:28px 28px 50px}.topbar{padding:0 28px}.hero-content{padding:27px}.hero-content h2{font-size:26px}.inventory-grid{grid-template-columns:repeat(3,1fr)}.member-grid{grid-template-columns:repeat(2,1fr)}.home-grid{grid-template-columns:1.35fr 1fr}.metric{padding:17px}.recipe-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.shell{display:block}.sidebar{position:fixed;inset:auto 0 0;width:100%;height:76px;padding:7px 10px max(8px,env(safe-area-inset-bottom));background:#fffaf0f5;border-top:1px solid var(--line);border-right:0;backdrop-filter:blur(12px)}.sidebar .brand,.sidebar .nav-label,.sidebar-note,.account-button{display:none}.nav{display:flex;flex-direction:row;justify-content:space-around;gap:0}.nav button{flex:1;flex-direction:column;gap:4px;padding:5px 4px;font-size:10px;border-radius:9px;font-weight:500;min-height:54px}.nav button[data-page="devices"]{display:none}.nav button .icon{width:20px;height:20px}.nav button.active{box-shadow:none;background:var(--accent-soft)}.main-wrap{width:100%}.topbar{height:66px;padding:0 24px}.mobile-top{display:flex;align-items:center;gap:8px;font-weight:600;letter-spacing:1px}.mobile-top img{width:29px;height:29px}.breadcrumb{display:none}.sync{font-size:10px}.top-actions{gap:5px}.top-actions .button{padding:8px 11px;font-size:12px}.top-actions .button .icon{width:17px}.top-actions .subtle{min-width:38px;font-size:0;padding:6px}.top-actions .subtle .icon{font-size:14px}main{padding:25px 23px 115px}.home-grid{grid-template-columns:1.45fr 1fr;gap:17px}.panel{padding:19px}.metric{padding:16px}.metrics{gap:10px}.metric-icon{width:33px;height:33px}.metric strong{font-size:25px}.person-portions{grid-template-columns:repeat(2,1fr)}.device-grid{grid-template-columns:1fr}.auth-page{grid-template-columns:1fr 1fr}.auth-content{padding:30px}.auth-photo{min-height:700px}.auth-photo .auth-quote{inset:auto 20px 30px;padding:20px}.auth-quote h2{font-size:23px}#toast{bottom:95px}}@media(max-width:620px){main{padding:25px 18px 112px}.topbar{padding:0 18px}.sync{display:none}h1{font-size:25px}.page-heading{align-items:center;margin-bottom:20px}.page-heading .button{font-size:12px;padding:10px 12px}.page-heading .subtitle{max-width:250px;font-size:12px}.hero{grid-template-columns:1fr;min-height:390px}.hero-content{padding:27px 24px 20px;max-width:100%;background:linear-gradient(180deg,#eeebdf,transparent)}.hero-content h2{font-size:26px;max-width:100%}.hero-content p{max-width:290px;margin:11px 0 17px;font-size:12px}.hero-photo{min-height:180px;max-height:185px}.hero-photo img{object-position:67% 55%}.hero-photo:before{background:linear-gradient(180deg,#eae7d8,transparent 22%)}.hero-caption{font-size:9px;right:10px;bottom:10px}.metrics{gap:8px;margin:16px 0 25px}.metric{padding:14px 12px;display:block}.metric strong{font-size:24px}.metric small{font-size:10px}.metric strong span{font-size:10px;margin-left:3px}.metric-icon{display:none}.home-grid{grid-template-columns:1fr}.panel{padding:20px}.quicklinks{gap:10px;margin-top:18px}.quicklink{padding:13px 12px;gap:8px;font-size:12px}.quicklink .icon{width:17px}.quicklink small{font-size:10px}.page-footer{font-size:10px;flex-direction:column;gap:5px}.toolbar{flex-direction:column;align-items:stretch;gap:14px}.search{max-width:none}.tabs{gap:2px}.tabs button{font-size:12px;padding:8px 12px}.inventory-grid{grid-template-columns:repeat(2,1fr);gap:12px}.food-card .food-art{height:110px}.food-card-body{padding:14px 12px}.food-card h3{font-size:14px}.food-card .pill{font-size:9px;padding:4px 6px}.food-card .amount{font-size:12px}.food-card .detail{font-size:10px;flex-wrap:wrap;gap:6px}.recipe-grid{grid-template-columns:1fr}.recipe-card{display:grid;grid-template-columns:110px 1fr}.recipe-card .food-art{height:100%;min-height:170px}.recipe-body{padding:18px}.recipe-body h3{font-size:18px}.member-grid{grid-template-columns:1fr}.member-card{display:grid;grid-template-columns:62px 1fr;gap:0 16px}.member-card .avatar{grid-row:1/3;margin:0}.member-card .profile-lines,.member-card .profile-tags,.member-card .subtle{grid-column:1/-1}.member-card .profile-lines{min-height:0;margin-top:16px}.member-card .role{margin:0}.person-portions{grid-template-columns:1fr}.plan-card h3{font-size:21px}.plan-card-top{flex-direction:column;align-items:flex-start}.reminder-layout{grid-template-columns:1fr}.reminder-row{flex-wrap:wrap}.reminder-row .food-info{min-width:150px}.device-hero img{height:330px;object-position:64% center}.device-hero .caption{left:15px;bottom:15px;padding:12px 15px;max-width:290px}.device-hero .caption h2{font-size:19px}.auth-page{display:block}.auth-photo{min-height:250px;height:250px}.auth-photo img{object-position:65% 47%}.auth-photo .auth-quote{display:none}.auth-content{padding:35px 24px 45px}.auth-inner .brand{padding-bottom:25px}.auth-inner h1{font-size:26px}.fields{gap:0 12px}.modal-head{padding:20px}.modal-content{padding:22px 20px}.modal-head h2{font-size:21px}dialog{max-height:92vh}.modal-actions{flex-wrap:wrap}.recipe-toolbar{flex-wrap:wrap}.food-row .food-art{width:54px;height:54px}.notice{font-size:11px;padding:13px}.dish-tags{gap:8px}.dish-tag{font-size:12px}.tiny-label{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Kitchen inventory uses the existing warm-home palette. */
.kitchen-entry{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;margin-bottom:24px;background:var(--surface,#fffdfa);border:1px solid var(--border,#e6ded2);border-radius:20px}
.kitchen-entry p{margin:6px 0 0;color:var(--muted,#75675b);font-size:14px}
.kitchen-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:0 0 24px}
.kitchen-filters label{display:grid;gap:6px;font-size:13px;color:var(--muted,#75675b)}
.kitchen-filters select{min-height:44px;min-width:138px;padding:8px 12px;border:1px solid var(--border,#e6ded2);border-radius:12px;background:#fffdfa;color:#372c25;font:inherit}
.kitchen-details{margin-top:20px;padding:16px 0;border-top:1px solid #e6ded2}
.kitchen-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#75675b}
.kitchen-pantry-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}
.kitchen-low{color:#9d4a24;font-size:13px;margin:12px 0 0}.kitchen-note{font-size:12px;color:#75675b;margin:10px 0 0}
[data-kexact][hidden],[data-kstate][hidden]{display:none!important}
.kitchen-space-list .button{min-height:44px}
@media(max-width:600px){.kitchen-entry{align-items:start;flex-direction:column;padding:18px}.kitchen-filters{gap:12px}.kitchen-filters label{flex:1}.kitchen-filters select{width:100%;min-width:0}.kitchen-filters .button{width:100%}}
@media(max-width:600px){.kitchen-entry{flex-direction:row;align-items:center;gap:12px;padding:16px;margin-bottom:20px}.kitchen-entry strong{font-size:14px}.kitchen-entry p{font-size:13px;line-height:1.6}.kitchen-entry .button{flex:0 0 auto;padding:12px;font-size:13px;white-space:nowrap}}
.cook-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.cook-entry{align-items:start}.cook-entry .cook-actions{max-width:440px}
.cook-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}
.cook-guide{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid #e6ded2;border-radius:14px;min-height:68px;background:#fffdfa}.cook-guide small{display:block;color:#75675b;font-size:12px;margin-top:5px}.cook-guide:has(input:disabled){opacity:.6}
.cook-members{border:0;padding:0;margin:12px 0 20px;display:flex;gap:14px;flex-wrap:wrap}.cook-members legend{padding:0;margin-bottom:12px;font-weight:600}
.cook-step{border:1px solid #e6ded2;border-radius:18px;padding:22px;margin:18px 0;background:#fffdfa}.cook-step h3{margin:10px 0 14px}.cook-instruction{font-size:17px;line-height:1.85}.cook-attention{color:#8d4a2c;font-size:13px;line-height:1.7}
.cook-duration{display:grid;gap:10px;margin:16px 0;color:#75675b;font-size:13px}.cook-duration input{width:100%;min-height:44px;max-width:160px;border:1px solid #cbbcae;border-radius:10px;padding:10px;background:white;font:inherit}
.cook-timer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.cook-timer strong{font-size:28px;font-variant-numeric:tabular-nums;color:#647450}
.cook-order{padding-left:22px}.cook-order li{padding:10px 0}.cook-order small{display:block;color:#75675b;margin-top:5px}
.cook-command{display:grid;gap:12px;margin:24px 0;padding:20px;background:#f2ede4;border-radius:16px}.cook-command input{min-height:44px;padding:12px;border:1px solid #cbbcae;border-radius:12px;font:inherit}.cook-command small{color:#75675b}.cook-day{padding:20px;margin:18px 0}.cook-error:empty{display:none}
@media(max-width:600px){.cook-entry{flex-direction:column}.cook-entry .cook-actions{width:100%}.cook-entry .button{flex:1}.cook-guide-grid{grid-template-columns:1fr}.cook-step{padding:18px}.cook-instruction{font-size:16px}.cook-timer{align-items:start;flex-direction:column}}

/* Round four: progressively disclosed meal controls and an accessible kitchen timeline. */
.meal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 22px}.meal-toolbar .tabs{flex-wrap:wrap}.meal-toolbar .tabs button{min-height:44px}.meal-selection,.meal-option,.method-alternatives{border:1px solid var(--line);border-radius:16px;padding:18px;margin:18px 0;background:var(--card)}.meal-option p{margin:8px 0;color:var(--muted)}.meal-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:8px 0}.meal-preview h3{font:25px/1.6 var(--serif)}.content-status{background:var(--sage-soft);color:#4d5d39;padding:10px 14px;border-radius:10px;font-size:13px;margin:14px 0}.meal-error:empty{display:none}.meal-option .cook-actions{flex-wrap:wrap}.meal-option .button{white-space:normal}.timeline{margin:20px 0;border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--paper);overflow:hidden}.timeline-head{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin:12px 0}.timeline-row{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;align-items:center;min-height:68px}.timeline-label{font-size:12px;overflow-wrap:anywhere}.timeline-track{height:45px;background:var(--accent-soft);border-radius:8px;position:relative}.timeline-bar{position:absolute;top:5px;height:35px;min-width:2px;background:var(--accent);border-radius:4px;color:#fff;overflow:hidden;font-size:11px;padding:4px 3px;white-space:nowrap}.timeline-bar.done{background:var(--sage)}.timeline-bar.running{background:#805617;border:2px solid var(--ink)}.timeline-now{position:absolute;top:0;bottom:0;width:2px;background:var(--ink);z-index:2}.timeline-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:12px}.timeline-dot{display:inline-block;width:10px;height:10px;background:var(--accent);margin-right:5px;border-radius:2px}.timeline-dot.done{background:var(--sage)}.timeline-dot.running{background:#805617}.cook-recipe-context{padding:12px;background:var(--sage-soft);border-radius:12px;margin:14px 0}.cook-guide-grid{max-height:380px;overflow:auto}.kitchen-entry .cook-actions{flex-wrap:wrap}.plan-actions{flex-wrap:wrap}
@media(max-width:600px){.meal-toolbar{align-items:stretch}.meal-toolbar>.button{width:100%}.meal-toolbar .tabs{width:100%;display:grid;grid-template-columns:repeat(4,1fr)}.meal-toolbar .tabs button{padding:8px}.meal-preview h3{font-size:21px}.meal-option{padding:14px}.meal-selected .button{flex-shrink:0}.timeline{padding:12px}.timeline-row{grid-template-columns:76px minmax(0,1fr);gap:8px}.timeline-track{height:40px}.timeline-bar{height:30px}.timeline-label{font-size:12px}.cook-actions .button{white-space:normal}}

.cook-guide[hidden]{display:none}

.navigation-note{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}.navigation-note strong{flex:1;min-width:180px}.navigation-note p{width:100%;margin:0}.navigation-more{margin-top:12px}.navigation-more summary{cursor:pointer;padding:10px 0;color:var(--muted,#786c60);min-height:44px}

/* Purchase lists and small, labelled brand-orange effort indicators. */
.menu-suggestions{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:22px}.menu-suggestion{background:#fbf6ed;border:1px solid #dfd2bf;border-radius:16px;padding:16px;text-align:left;color:var(--ink,#362d26);cursor:pointer;min-height:112px}.menu-suggestion.selected{border:2px solid #ad4e2c;background:#f8e8d8}.menu-suggestion strong,.menu-suggestion span,.menu-suggestion small{display:block}.menu-suggestion span{line-height:1.6;margin:8px 0}.menu-suggestion:focus-visible{outline:3px solid #64784f;outline-offset:3px}.effort-detail,.cost-detail{padding:10px 0;font-size:14px}.effort-detail summary,.cost-detail summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;cursor:pointer;min-height:36px}.effort-detail p{line-height:1.7}.citrus-icons{display:inline-flex;gap:4px}.citrus{width:19px;height:21px;fill:none;stroke:#bba17f;stroke-width:1.3}.citrus.filled{fill:#edba77;stroke:#ad4e2c}.citrus .citrus-lines{fill:none;stroke-width:1}.shopping-intro{line-height:1.8;color:#796a59}.shopping-section{margin:24px 0}.shopping-section h3 small{font-size:14px;color:#7b6a59}.purchase-row{border:1px solid #e5d8c7;background:#fffdf8;border-radius:14px;padding:15px;margin:12px 0}.purchase-title{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.purchase-check{display:flex;align-items:center;gap:12px;cursor:pointer;font-weight:600;min-height:44px}.purchase-check input{width:22px;height:22px;accent-color:#ac4e2d}.purchase-row.purchased{background:#eef0e4}.purchase-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.purchase-actions .button{min-height:44px}.purchase-review{border-left:3px solid #a9542e;background:#fcf1df;color:#79532c;padding:12px 14px;line-height:1.7}.shopping-root .modal-actions{flex-wrap:wrap;gap:12px}.shopping-root .small-note{overflow-wrap:anywhere}.shopping-root .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:600px){.menu-suggestions{grid-template-columns:1fr}.menu-suggestion{min-height:80px}.purchase-row{padding:12px}.purchase-title>span{font-size:14px}.shopping-root .modal-actions .button{flex:1 1 130px}.cost-detail summary{align-items:flex-start}}

/* Discovery uses existing warm kitchen surfaces. */
.discovery-entry{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px;margin:20px 0;background:var(--paper);border:1px solid var(--line);border-radius:20px}
.discovery-entry strong{font:21px var(--serif)}.discovery-entry p{font-size:14px;line-height:1.7;color:var(--muted);margin-top:8px}
.discovery-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.discovery-tabs .button{min-height:44px}
.discovery-results{display:grid;gap:14px;margin-top:18px}.discovery-card{padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--paper);overflow-wrap:anywhere}
.discovery-card h3{font:22px/1.5 var(--serif);margin:8px 0 12px}.discovery-card p{font-size:14px;line-height:1.7;margin-bottom:12px}
.discovery-card .cook-actions{gap:8px}.discovery-card .button,.discovery-review .button{min-height:44px}
.discovery-search-submit{align-self:end;min-height:48px;margin-bottom:18px}.discovery-empty{padding:22px 0;line-height:1.8;color:var(--muted)}
[data-discovery-form] textarea{width:100%;font:inherit;font-size:16px;line-height:1.7;padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:10px;resize:vertical}
@media(max-width:620px){.discovery-entry{align-items:flex-start;flex-direction:column;padding:20px;gap:14px}.discovery-entry .cook-actions{width:100%;gap:8px}.discovery-entry .button{flex:1;min-height:44px}.discovery-card{padding:16px}.discovery-card h3{font-size:20px}}

.discovery-tabs .button[aria-pressed="true"]{background:var(--accent);color:#fffdf8;border-color:var(--accent)}

.discovery-entry{flex-wrap:wrap}.discovery-entry>div:first-child{flex:1;min-width:220px}.discovery-quick{display:flex;gap:8px;flex:1;min-width:270px;align-items:center}
.discovery-quick input{min-width:0;flex:1;padding:12px;border:1px solid var(--line);background:var(--paper);border-radius:12px;min-height:48px;font:inherit}
.discovery-quick .button{flex-shrink:0;min-height:48px}.discovery-entry>.cook-actions{width:100%;justify-content:flex-end}
.discovery-pages{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.discovery-pages .button{min-height:44px}
.discovery-position{display:inline-block;margin-right:10px;padding:4px 8px;border-radius:8px;font-size:13px;background:var(--cream,#f5eadb);color:var(--accent)}
.discovery-metric{color:var(--accent)}.discovery-tabs .button{flex:1}
@media(max-width:620px){.discovery-quick{width:100%;min-width:0}.discovery-quick input{font-size:16px}.discovery-entry>.cook-actions{flex-wrap:wrap}.discovery-entry>.cook-actions .button{flex:1;white-space:nowrap}.discovery-tabs{gap:8px}.discovery-tabs .button{min-width:42%;font-size:13px}}
