:root{color-scheme:dark;--bg:#09131e;--side:#0d1b29;--panel:#112232;--panel2:#152a3a;--panel3:#182d3c;--line:#263c4a;--ink:#f2f8fb;--muted:#91a6b3;--green:#40d6a4;--green-dark:#143d38;--amber:#eeb75d;--red:#ff8a8d;--purple:#b9a5ff;--radius:20px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 'DM Sans',system-ui,-apple-system,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Outfit,'DM Sans',sans-serif;line-height:1.15}h1{font-size:34px}h2{font-size:24px}h3{font-size:18px}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:var(--green);margin-bottom:8px}strong{font-weight:700}.hidden{display:none!important}
.app-shell{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;flex:0 0 248px;height:100vh;background:var(--side);border-right:1px solid var(--line);padding:34px 18px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;margin:0 10px 48px;font-family:Outfit,sans-serif;font-size:19px;font-weight:800;letter-spacing:.02em;line-height:1.04}.brand b{color:var(--green)}.brand small{display:block;font-size:10px;font-family:'DM Sans',sans-serif;letter-spacing:.07em;font-weight:500;color:var(--muted);margin-top:6px}.brand-icon{font-size:34px;color:var(--green);display:grid;place-items:center;line-height:1}.side-label{font-size:10px;letter-spacing:.15em;color:#698391;font-weight:800;margin:0 16px 14px}.nav{display:grid;gap:6px}.nav-item{height:48px;display:flex;gap:14px;align-items:center;padding:0 14px;color:#a0b4c2;font-weight:600;border-radius:11px;transition:.15s}.nav-item:hover{background:#192c3c;color:#eaf4f8}.nav-item.selected{background:#174537;color:#78edc5}.nav-symbol{width:24px;font-size:20px;text-align:center}.count{margin-left:auto;background:#294d44;color:#95f4cb;border-radius:8px;padding:2px 7px}.sidebar-foot{margin-top:auto}.sidebar-tip{padding:18px 14px;background:#172f36;border:1px solid #24504c;border-radius:16px}.sidebar-tip>span{font-size:26px}.sidebar-tip strong{display:block;margin:7px 0 4px;font-size:13px}.sidebar-tip p{color:#98b9b5;font-size:12px;line-height:1.55;margin:0}.logout{width:100%;text-align:left;border:0;color:#9aaebb;background:transparent;padding:17px 14px;font-size:13px;margin-top:8px}.logout:hover{color:white}.main{width:calc(100% - 248px);max-width:1580px;min-width:0;padding:42px clamp(25px,4vw,64px) 24px;margin:0 auto}.header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px}.header h1{font-size:34px;margin:2px 0 6px}.header p:last-child{margin:0;font-size:14px}.header-right{display:flex;align-items:center;gap:20px}.today-chip{white-space:nowrap;border:1px solid var(--line);border-radius:12px;padding:10px 14px;font-size:13px;color:var(--muted)}.avatar{background:var(--green);color:#043626;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;font-weight:800;font-size:12px}.hero{position:relative;display:flex;align-items:stretch;min-height:268px;padding:36px 42px;border:1px solid #2d6459;border-radius:var(--radius);background:radial-gradient(circle at 85% 35%,#23564f 0,transparent 32%),linear-gradient(115deg,#1a5748,#13362f 69%,#112932);overflow:hidden}.hero-copy{position:relative;z-index:1;width:70%;max-width:610px}.hero-tag{color:#95ffcf;font-size:11px;font-weight:800;letter-spacing:.1em}.hero h2{font-size:clamp(27px,3vw,39px);margin:11px 0 9px;letter-spacing:-.03em}.hero h2 em{font-style:normal;color:#7eeac4}.hero p{color:#b7d3cc;max-width:420px;font-size:13px;line-height:1.65;margin-bottom:22px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:10px;background:var(--green);padding:12px 19px;color:#062c23;font-weight:800;font-size:13px;min-height:43px;transition:background .15s,transform .15s}.button:hover{background:#71edc5;transform:translateY(-1px)}.button.light{background:#d7ffe9;color:#164638}.button.wide{width:100%;justify-content:space-between}.hero-art{position:absolute;right:48px;top:0;bottom:0;width:31%;display:grid;place-items:center}.hero-art .orb{font-size:165px;line-height:1;color:#73d8bc35;filter:drop-shadow(0 0 30px #66c8ae40)}.hero-art .food-1,.hero-art .food-2,.hero-art .food-3{position:absolute;font-size:48px;filter:drop-shadow(3px 8px 9px #07171655)}.food-1{top:35px;right:12px;transform:rotate(13deg)}.food-2{bottom:14px;left:8px;transform:rotate(-13deg)}.food-3{bottom:26px;right:36px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:23px 0 27px}.stat{position:relative;min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:17px;background:var(--panel);padding:20px 20px 17px;transition:border-color .15s}.stat:hover{border-color:#547164}.stat-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-weight:800;font-size:20px;margin-bottom:16px}.green{color:var(--green);background:#1a4138}.orange{color:#f4bd75;background:#503d29}.red{color:#ff999d;background:#4e2a36}.purple{color:#c4acff;background:#382f53}.stat-label{font-size:12px;font-weight:700;color:#aac0cd}.stat strong{font-size:34px;font-family:Outfit,sans-serif;line-height:1.3;margin:3px 0 5px}.stat-note{font-size:11px;color:var(--muted)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel{min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-head h2{font-size:21px;margin:0}.panel-head .eyebrow{font-size:10px}.mini-link{font-size:12px;font-weight:700;color:var(--green)}.compact-list{display:grid;gap:0}.compact-row{display:flex;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);gap:13px}.compact-row:last-child{border-bottom:0}.item-emoji{height:44px;width:44px;display:grid;place-items:center;background:#1c3240;border-radius:12px;font-size:23px}.item-details{display:flex;flex-direction:column;min-width:0}.item-details strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-details small,.date-right small{color:var(--muted);font-size:11px}.date-right{margin-left:auto;display:flex;align-items:flex-end;flex-direction:column;gap:3px}.pill{display:inline-block;border-radius:999px;padding:4px 10px;font-size:10px;font-weight:800;white-space:nowrap}.pill.good{color:#7af0be;background:#193f36}.pill.bad{color:#ffafb1;background:#543039}.pill.warn{color:#f4ce87;background:#56432f}.pill.neutral{color:#b7c5ce;background:#2a3c48}.shortcuts{display:grid;gap:12px}.shortcut{display:flex;gap:13px;align-items:center;border:1px solid #2d4350;background:#162b3a;border-radius:12px;padding:13px 14px;transition:.15s}.shortcut:hover{border-color:#4a8576;background:#1b3442}.shortcut-icon{width:40px;height:40px;flex:0 0 40px;border-radius:10px;display:grid;place-items:center;font-size:20px;font-weight:700}.shortcut div{display:flex;flex-direction:column;gap:2px;min-width:0}.shortcut strong{font-size:12px}.shortcut small{color:var(--muted);font-size:11px}.shortcut b{margin-left:auto;color:#8caab6}.bottom-bar{display:flex;gap:13px;align-items:flex-start;margin-top:22px;padding:16px 19px;background:#172d30;border:1px solid #315547;border-radius:14px}.bottom-bar>span{font-size:24px}.bottom-bar p{margin:0;font-size:12px;color:#b4cec8;line-height:1.65}.bottom-bar strong{color:#d6ffe5}.app-footer{display:flex;justify-content:space-between;gap:12px;color:#718a9a;font-size:11px;padding:25px 1px 8px}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:14px;margin:2px 0 23px}.section-heading h2{font-size:25px;margin:0}.sub-count{font:800 14px 'DM Sans',sans-serif;color:var(--green);background:#204037;border-radius:9px;padding:4px 9px;vertical-align:middle}.filters{display:flex;flex-wrap:wrap;align-items:center;gap:13px;margin-bottom:20px}.search-field{display:flex;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:11px;flex:1 1 220px;min-height:45px;padding:0 14px;font-size:24px;color:#a0bdc7}.search-field input{border:0!important;background:transparent!important;padding:6px 10px!important;width:100%;outline:0;color:#fff}.filters select{min-width:200px}.toggle-links{display:flex;background:#152a39;border:1px solid var(--line);border-radius:11px;padding:4px}.toggle-links a{font-size:12px;padding:9px 14px;border-radius:8px;color:#9eb5c2}.toggle-links a.on{background:#254c42;color:#a7f5d3}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.product-card{min-width:0;border:1px solid var(--line);background:var(--panel);border-radius:17px;overflow:hidden;transition:border-color .15s}.product-card:hover{border-color:#3d7469}.product-top{display:flex;align-items:start;justify-content:space-between;gap:6px;padding:18px 19px 0}.product-emoji{height:56px;width:56px;border-radius:15px;background:#1d3743;font-size:31px;display:grid;place-items:center}.product-body{padding:14px 19px 16px}.category-text{font-size:10px;color:#8bb4ae;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.product-body h3{margin:6px 0 14px;min-height:25px;font-size:18px}.product-qty{color:#b6ccd4;font-size:12px;margin-bottom:12px}.product-qty strong{font:700 25px Outfit,sans-serif;color:#f1fafb}.product-info{border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:space-between;gap:5px;color:var(--muted);font-size:11px}.product-actions{display:flex;border-top:1px solid var(--line)}.action-outline,.action-icon{border:0;background:#122533;color:#b1d7ca;font-size:12px;font-weight:800;min-height:42px}.action-outline{flex:1}.action-icon{width:47px;border-left:1px solid var(--line);font-size:17px}.action-outline:hover,.action-icon:hover{background:#205044;color:white}.form-panel{margin-top:22px;scroll-margin-top:20px}.form-badge{font-size:11px;color:#88e9be;background:#1e4738;border-radius:9px;padding:7px 12px;font-weight:800}.form-stack{display:grid;gap:15px}.form-stack label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#bdcdd4}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}input,select,textarea{width:100%;outline:none;color:#e9f3f8;background:#0b1926;border:1px solid #324c5c;border-radius:10px;min-height:43px;padding:11px 13px;font-size:13px;line-height:1.35}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #40d6a41c}textarea{resize:vertical}.app-dialog{width:min(94vw,480px);max-height:min(90vh,850px);overflow-y:auto;background:#142635;color:var(--ink);border:1px solid #426457;border-radius:20px;box-shadow:0 30px 120px #0009;padding:25px}.app-dialog::backdrop{background:#05121ccc;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px}.modal-head h2{margin:0}.close-modal{border:0;border-radius:10px;color:#c9dadf;background:#223a4a;font-size:25px;width:35px;height:35px;line-height:1}.app-dialog .muted{font-size:13px}.notice{margin:0 0 22px;padding:14px 18px;border-radius:12px;font-size:13px}.notice.success{background:#173d33;color:#b1f5d5;border:1px solid #2b6252}.notice.error{background:#4a2c37;color:#ffced0;border:1px solid #7c454b}.empty{text-align:center;padding:42px 15px;color:var(--muted)}.empty span{font-size:32px;display:block;margin-bottom:7px}.empty h3{color:#eaf5fa;margin-bottom:8px}.empty p{font-size:12px}
.inline-add{display:flex;gap:12px}.inline-add input{flex:1}.shopping-panel{margin-top:20px}.shopping-row{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:14px 0;font-size:14px}.shopping-row:last-child{border:0}.shopping-row.done>span:not(.muted){color:#718995;text-decoration:line-through}.checkbox-btn{width:23px;height:23px;border:2px solid #5b7882;background:#152733;border-radius:7px;display:grid;place-items:center;color:var(--green);font-weight:800}.done .checkbox-btn{background:#1f4b3e;border-color:var(--green)}.spacer-left{margin-left:auto}.small-icon{background:#273d47;color:#bbd0d7;border:0;border-radius:8px;width:29px;height:29px;font-size:20px;line-height:1}.small-link{background:none;border:0;padding:2px;color:var(--green);font-size:12px;font-weight:800}.archived-shopping{margin-top:18px;padding:18px 24px}.archived-shopping summary{cursor:pointer;color:#a5bfca;font-size:13px;font-weight:700}.archived-shopping[open] summary{padding-bottom:15px}
.stats.two-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.table-wrap{width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;min-width:590px;text-align:left}.data-table th{font-size:11px;color:#9bb0bc;text-transform:uppercase;letter-spacing:.05em;font-weight:700;padding:13px 12px;border-bottom:1px solid #36505d}.data-table td{padding:14px 12px;border-bottom:1px solid var(--line);font-size:13px}.data-table tr:last-child td{border:0}.data-table td:first-child{white-space:nowrap;color:var(--muted)}
.recipes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.recipe-card{background:var(--panel);border:1px solid var(--line);border-radius:17px;overflow:hidden;min-width:0}.recipe-card.inactive{opacity:.65}.recipe-banner{height:112px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 58% 35%,#305e54,#1b3e40 62%,#192f3e);position:relative}.recipe-banner>span:first-child{font-size:52px}.recipe-time{position:absolute;top:13px;right:13px;background:#122c2cbf;color:#d9f4e8;border-radius:9px;font-size:11px;padding:6px 10px}.recipe-content{padding:18px}.recipe-badges{display:flex;gap:5px;flex-wrap:wrap}.recipe-content h3{min-height:42px;margin:10px 0 17px}.ingredients strong{font-size:11px;color:#afc7d0}.chips{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0 13px}.ingredient-chip{font-size:10px;padding:5px 9px;border-radius:8px}.ingredient-chip.available{color:#84e7b8;background:#1c473a}.ingredient-chip.missing{color:#d1b6a2;background:#4b382e}.recipe-steps{border-top:1px solid var(--line);padding-top:10px}.recipe-steps summary{font-size:12px;color:var(--green);font-weight:800;cursor:pointer;display:flex;justify-content:space-between;gap:7px}.recipe-steps ol{padding-left:20px;font-size:12px;color:#b6cbd3;line-height:1.75}.recipe-steps li{margin:5px 0}.recipe-bottom{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}
.login-body{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 10%,#1d4a45,#0b1928 52%,#09131e 100%)}.login-panel{width:min(100%,430px);text-align:center;padding:40px 34px;background:#122533;border:1px solid #315650;border-radius:25px;box-shadow:0 30px 100px #0005}.login-panel .form-stack{text-align:left;margin-top:30px}.login-panel h1{font-size:46px;margin:0 0 8px}.login-panel h1 span{color:var(--green)}.login-panel>.muted{font-size:13px}.login-panel .small{margin:20px 0 0}.login-symbol{font-size:54px;color:var(--green)}.setup-wrap{width:min(100% - 32px,520px);margin:8vh auto;background:#112432;border:1px solid #315650;border-radius:22px;padding:30px}.setup-wrap h1{font-size:28px}.setup-wrap>p{font-size:14px;line-height:1.75}.setup-icon{font-size:50px;color:var(--green)}code{font-size:12px;background:#263e4b;padding:3px 6px;border-radius:5px}
@media(max-width:1200px){.product-grid,.recipes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.main{padding:32px 32px 20px}.hero-art{right:15px}.hero-copy{width:77%}}
@media(max-width:890px){.sidebar{flex:0 0 210px;padding:22px 12px}.main{width:calc(100% - 210px);padding:24px}.two-col{grid-template-columns:1fr}.brand{margin-left:8px;font-size:16px}.brand-icon{font-size:30px}.header-right .today-chip{display:none}.hero-art{opacity:.6}.hero-copy{width:85%}}
@media(max-width:680px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:13px 14px 9px;display:block;border:0;border-bottom:1px solid var(--line)}.brand{font-size:17px;margin:0 0 14px 5px}.brand-icon{font-size:28px}.side-label,.sidebar-foot{display:none}.nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:2px;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}.nav-item{height:43px;flex:none;gap:6px;padding:0 11px;font-size:12px}.nav-symbol{font-size:16px;width:auto}.count{margin-left:4px}.main{width:100%;padding:19px 15px 12px}.header{margin-bottom:21px}.header h1{font-size:27px}.header .eyebrow{font-size:9px}.header .muted{font-size:12px}.header-right{display:none}.hero{min-height:238px;padding:26px 24px}.hero-copy{width:96%}.hero h2{font-size:27px}.hero-art{right:-80px;opacity:.25}.hero p{max-width:300px}.stats{gap:10px;margin:15px 0 19px}.stat{padding:15px}.stat-mark{height:33px;width:33px;font-size:17px;margin-bottom:9px}.stat strong{font-size:28px}.stat-label{font-size:11px}.stat-note{font-size:10px}.panel{padding:19px}.panel-head h2{font-size:19px}.section-heading{align-items:start}.section-heading h2{font-size:21px}.section-heading>.button{font-size:11px;padding:9px 12px}.product-grid,.recipes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-top{padding:13px 12px 0}.product-emoji{width:42px;height:42px;font-size:23px;border-radius:12px}.product-body{padding:10px 12px 12px}.product-body h3{font-size:14px;min-height:33px}.product-qty strong{font-size:22px}.product-info{font-size:9px;flex-wrap:wrap}.product-top .pill{font-size:9px;padding:3px 7px}.action-outline{font-size:10px}.filters select{min-width:0;flex:1 1 150px}.toggle-links{flex:1 1 155px}.toggle-links a{flex:1;text-align:center}.recipe-content{padding:13px}.recipe-banner{height:90px}.recipe-banner>span:first-child{font-size:41px}.recipe-content h3{font-size:15px;min-height:54px}.recipe-time{top:5px;right:5px;font-size:9px}.form-grid{gap:10px}.app-footer span{display:none}}
@media(max-width:380px){.product-grid,.recipes-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.hero-art{display:none}.header .muted{display:none}.app-dialog{padding:18px}.inline-add{display:grid}.form-grid{grid-template-columns:1fr}}
