*{box-sizing:border-box;margin:0;padding:0}body{background:#f5f5f5;color:#333;font-family:system-ui,sans-serif}:root{--topbar-height:3.4rem}.topbar{background:#1976d2;height:3.4rem;height:var(--topbar-height);justify-content:space-between;padding:0 1rem;position:sticky;top:0;z-index:40}.topbar,.topbar-brand{align-items:center;color:#fff;display:flex}.topbar-brand{font-size:1.1rem;font-weight:600;gap:.5rem;text-decoration:none}.topbar-icon{height:28px;width:28px}.hamburger{background:none;border:none;cursor:pointer;display:flex;flex-direction:column;gap:4px;padding:.4rem}.hamburger span{background:#fff;border-radius:1px;display:block;height:2px;width:22px}.menu{background:#fff;border-radius:0 0 4px 4px;box-shadow:0 2px 8px #00000026;color:#333;min-width:160px;position:absolute;right:0;top:100%;z-index:10}.menu a{color:#333;display:block;padding:.7rem 1rem;text-decoration:none}.menu a:hover{background:#f0f0f0}.menu{min-width:200px}.menu-group{border-top:1px solid #eee;padding:.3rem 0}.menu-group:first-child{border-top:none}.menu-heading{color:#888;font-size:.7rem;letter-spacing:.06em;padding:.4rem 1rem .1rem;text-transform:uppercase}.menu-group a{padding:.5rem 1rem .5rem 1.4rem}.welcome{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;min-height:60vh;padding:1rem;text-align:center}.welcome-icon{height:80px;width:80px}.container{margin:2rem auto;max-width:700px;padding:0 1rem}.guide ol,.guide ul{margin-bottom:1rem;margin-left:1.5rem}.guide li{line-height:1.5;margin-bottom:.5rem}.guide p{line-height:1.5;margin-bottom:.8rem}.guide h3{margin:1.2rem 0 .5rem}.guide a{color:#1976d2}h2{margin-bottom:1rem}.container.wide{max-width:1200px}.container.wide .form-panel,.container.wide .grid-form.card{max-width:668px}.table-scroll{overflow-x:auto}.info-wrapper{position:relative}.info-icon{align-items:center;background:#1976d2;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;font-size:.65em;height:1.2em;justify-content:center;margin-left:.3rem;vertical-align:middle;width:1.2em}.info-overlay{background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 8px #00000026;color:#333;font-size:.85rem;font-weight:400;left:0;max-width:350px;min-width:250px;padding:.6rem .8rem;position:absolute;top:1.5em;white-space:normal;z-index:20}.error{color:#d32f2f}.error,.success{margin-bottom:1rem}.success{color:#2e7d32}.form-panel{background:#fff;border:1px solid #ddd;border-radius:6px;margin:.8rem 0;padding:1rem}.section-divider{border:none;border-top:1px solid #ddd;margin:1rem 0}.filter-row{align-items:flex-end;display:flex;gap:.5rem;margin-bottom:1rem;width:100%}.filter-row .field{flex:0 1 250px}.filter-row button{align-self:flex-end;margin-left:auto}.filter-checkboxes{border:1px solid #ccc;border-radius:4px;display:flex;flex-wrap:wrap;gap:.3rem .8rem;padding:.5rem .8rem}.filter-checkboxes legend{color:#555;font-size:.85rem;padding:0 .3rem}.filter-checkboxes label{align-items:center;cursor:pointer;display:flex;font-size:.9rem;gap:.3rem}.form{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}.field{color:#555;display:flex;flex:1 1 200px;flex-direction:column;font-size:.85rem;gap:.2rem}.field input,.field select{border:1px solid #ccc;border-radius:4px;font-size:1rem;padding:.5rem}.field select{background:#fff}.form-actions{align-items:flex-end;display:flex;gap:.5rem}button{background:#1976d2;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem 1rem}button:hover{opacity:.85}button.danger{background:#d32f2f}.product-section{margin-bottom:1.5rem}.group-header{background:#e0e0e0;font-size:1.1rem;padding:.5rem .8rem;text-align:left}table tbody tr:nth-child(2n){background:#f9f9f9}table tbody tr:hover{background:#eef2f7}table{background:#fff;border-collapse:collapse;border-radius:4px;overflow:hidden;width:100%}td,th{border-bottom:1px solid #eee;padding:.6rem .8rem;text-align:left}th.col-actions{white-space:nowrap;width:1%}th{background:#fafafa;font-weight:600}th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}th.sortable:hover{background:#f0f0f0}.expiry-passed{color:#d32f2f;font-weight:600}.expiry-soon{color:#f9a825;font-weight:600}.servings-summary{margin-bottom:1.2rem}.servings-summary table{min-width:50%;width:auto}.table-heading{font-size:1.05rem;font-weight:600;margin:0 0 .5rem}.reconcile-ok{color:#2e7d32;font-weight:600}.reconcile-low{color:#d32f2f;font-weight:600}.slot-underfed{color:#b26a00;font-size:.85rem;font-weight:600}.week-check{margin-bottom:1.2rem}.week-check ul{margin:0;padding-left:1.2rem}.section-separator td{background:#e0e0e0;border-top:2px solid #bbb;font-weight:600;padding:.5rem .8rem}.section-gap td{background:#f5f5f5;border-top:3px solid #bbb;height:1.5rem}.actions{display:flex;gap:.4rem}.grid-form{grid-gap:.9rem 1rem;align-items:start;display:grid;gap:.9rem 1rem;grid-template-columns:repeat(3,minmax(0,1fr))}.grid-form.card{background:#fff;border:1px solid #ddd;border-radius:6px;padding:1rem}.grid-form.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-form .field{min-width:0}.grid-form .check{align-items:center;color:#555;display:flex;font-size:.9rem;gap:.5rem;grid-column:1/-1;justify-self:start}.grid-form .check input{margin:0}.grid-form .form-actions,.grid-form .form-error{grid-column:1/-1}.grid-form .form-note{grid-column:1/-1;margin:0}.grid-form .form-note-menu{background:#e3f2fd;border-left:4px solid #1976d2;border-radius:3px;color:#0d47a1;padding:.5rem .8rem}.input-addon{align-items:stretch;display:flex}.input-addon input{border:1px solid #ccc;border-radius:4px 0 0 4px;flex:1 1;font-size:1rem;min-width:0;padding:.5rem}.input-addon input:only-child{border-radius:4px}.input-addon .addon{align-items:center;background:#eee;border:1px solid #ccc;border-left:none;border-radius:0 4px 4px 0;color:#555;display:flex;font-size:.9rem;padding:0 .8rem;white-space:nowrap}.input-addon .addon.muted{color:#999;font-style:italic}.grid-form .dish-component{grid-gap:.5rem 1rem;align-items:end;border-bottom:1px solid #eee;display:grid;gap:.5rem 1rem;grid-column:1/-1;grid-template-columns:2fr 1fr auto auto;padding-bottom:.6rem}.grid-form .dish-component .check{grid-column:auto}.grid-form .dish-component .dish-hint{color:#666;font-size:.85rem;grid-column:1/-1;margin:0}@media (max-width:640px){.grid-form,.grid-form .dish-component,.grid-form.cols-2{grid-template-columns:1fr}}.form-panel .form{margin-bottom:0}.grid-form.compact{grid-template-columns:minmax(0,1fr)}.grid-form.compact>*{order:4}.grid-form.compact>.form-title{order:0}.grid-form.compact>.f-amount{order:1}.grid-form.compact>.f-date{order:2}.grid-form.compact>.f-product{order:3}.grid-form.compact>.form-error{order:8}.grid-form.compact>.form-actions{order:9}.count-bar{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin:0 0 1rem}.count-list{grid-gap:.6rem;display:grid;gap:.6rem;list-style:none;margin:0 0 1.5rem;padding:0}.count-line{grid-gap:.5rem;background:#fff;border:1px solid #ddd;border-radius:6px;display:grid;gap:.5rem;padding:.8rem}.count-line-info{align-items:baseline;display:flex;flex-wrap:wrap;gap:.3rem 1rem}.count-line-actions{align-items:stretch;display:flex;gap:.5rem}.count-line-actions input{border:1px solid #ccc;border-radius:4px;flex:1 1;font-size:1.2rem;min-width:0;padding:.7rem}.count-line-actions button{font-size:1rem;padding:.7rem 1.2rem}.messages{grid-gap:.4rem;display:grid;gap:.4rem;margin:0 0 1rem;position:sticky;top:3.4rem;top:var(--topbar-height);z-index:30}.message{border-radius:4px;box-shadow:0 2px 6px #00000026;margin:0;padding:.6rem .9rem}.message-error{align-items:flex-start;background:#fdecea;border:1px solid #d32f2f;color:#b71c1c;display:flex;gap:1rem;justify-content:space-between}.message-error p{margin:0 0 .3rem}.message-error p:last-child{margin-bottom:0}.message-success{background:#edf7ee;border:1px solid #2e7d32;color:#1b5e20}.container.household-page{max-width:900px}.grid-form .household-row{grid-gap:.5rem 1rem;align-items:end;border-bottom:1px solid #eee;display:grid;gap:.5rem 1rem;grid-column:1/-1;grid-template-columns:minmax(140px,200px) auto 1fr;padding-bottom:.8rem}.grid-form .household-row>button{justify-self:end}.household-kind{align-items:center;align-self:end;display:flex;flex-wrap:wrap;gap:.3rem 1rem;min-height:2.3rem}.household-kind .check{grid-column:auto}.household-appetite{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem 1rem;grid-column:1/-1}.household-scale{container-type:inline-size;flex:1 1 260px;min-width:160px;padding-bottom:2.2rem;position:relative}.household-scale input[type=range]{margin:0;width:100%}.household-ticks{color:#555;font-size:.75rem;height:2rem;left:0;line-height:1.1;pointer-events:none;position:absolute;right:0;top:1.5rem}.household-ticks>span{left:calc(8px + (100% - 16px)*var(--f));position:absolute;text-align:center;transform:translateX(-50%);white-space:nowrap}.household-ticks>span:before{border-left:1px solid #999;content:"";height:.35rem;left:50%;position:absolute;top:-.45rem}.household-ticks .tick-name,.household-ticks .tick-value{display:block}.household-position{color:#888;flex:0 0 auto;font-size:.8rem;font-weight:400;min-width:9rem}@container (max-width: 400px){.household-ticks .tick-name{display:none}}@media (max-width:640px){.household-position{flex:1 1 100%;min-width:0}}.household-appetite .field{flex:0 0 110px}@media (max-width:640px){.grid-form .household-row{grid-template-columns:1fr}.grid-form .household-row>button{justify-self:start}}.stock-rows{font-size:.9rem;width:100%}.form-title{font-size:1.05rem;grid-column:1/-1;margin:0 0 .2rem}.grid-form .pet-card{grid-gap:.6rem;border-bottom:1px solid #eee;display:grid;gap:.6rem;grid-column:1/-1;padding-bottom:.8rem}.pet-head{grid-gap:.5rem 1rem;grid-template-columns:minmax(140px,240px) 140px auto}.pet-head,.pet-supply{align-items:end;display:grid;gap:.5rem 1rem}.pet-supply{grid-gap:.5rem 1rem;border-left:3px solid #e0e0e0;grid-template-columns:minmax(160px,1fr) 160px auto;padding-left:1rem}.pet-new-product{align-items:end;display:flex;flex-wrap:wrap;gap:.5rem 1rem;grid-column:1/-1}.pet-stock{color:#555;font-size:.85rem;grid-column:1/-1;margin:0}@media (max-width:640px){.pet-head,.pet-supply{grid-template-columns:1fr}}.col-expand{padding-left:.3rem;padding-right:0;width:2.2rem}.expand-button{background:none;border:none;color:#555;cursor:pointer;font-size:.8rem;padding:.2rem .4rem}.stock-panel-row>td{background:#fafafa;padding:.4rem .8rem .8rem}.stock-panel .form-actions{margin-top:.6rem}.stock-panel .stock-rows{font-size:.9rem;width:100%}.card-grid{grid-gap:.6rem;align-items:start;display:grid;gap:.6rem;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));margin-bottom:1rem}.item-card{background:#fff;border:1px solid #ddd;border-radius:6px;min-width:0;overflow-wrap:anywhere;padding:.8rem}.item-card-name{font-weight:700}.card-actions{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}.card-actions>button{flex:1 1;min-width:5rem}.stock-card-head{align-items:baseline;display:flex;gap:.6rem;justify-content:space-between;margin-bottom:.2rem}.stock-card-date{font-weight:600;margin-left:auto}.stock-card-meta{align-items:baseline;display:flex;flex-wrap:wrap;gap:.2rem .8rem}.stock-card-amount{font-weight:600}.stock-card-note{color:#666;font-size:.9rem;margin-top:.2rem}.product-card-head{align-items:baseline;background:none;color:inherit;display:flex;font-size:1rem;gap:.5rem;padding:0;text-align:left;width:100%}.product-card-head:hover{opacity:1}.product-card-head .item-card-name{flex:1 1}.product-card-arrow{color:#555;font-size:.8rem}.product-card-stats{color:#555;display:flex;flex-wrap:wrap;font-size:.9rem;gap:.2rem .8rem;margin-top:.3rem}.product-card.open{grid-column:1/-1}.product-card .stock-panel{grid-gap:.5rem;display:grid;gap:.5rem;margin-top:.6rem}.product-card .stock-card{background:#fafafa}.header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.header-actions h2{flex:1 1 100%;margin-bottom:0}@media (max-width:899px),(pointer:coarse) and (max-width:1299px){.header-actions>button{flex:1 1 8rem}}.count-bar.sticky{background:#fff;border-top:1px solid #ddd;bottom:0;margin:0 -1rem;padding:.6rem;position:sticky;z-index:20}.check.big{align-items:center;display:flex;gap:.6rem;margin-top:.4rem;min-height:44px}.check.big input[type=checkbox]{height:22px;width:22px}@media (pointer:coarse){button,input:not([type=checkbox]):not([type=radio]),select{min-height:44px}input,select,textarea{font-size:16px}.check,.filter-checkboxes label{align-items:center;display:flex;gap:.5rem;min-height:44px}input[type=checkbox],input[type=radio]{height:22px;width:22px}.expand-button,.hamburger{min-height:44px;min-width:44px}.menu a{align-items:center;display:flex;min-height:44px}}.count-start-row .field{min-width:0}.count-start-row select{max-width:100%;min-width:0;text-overflow:ellipsis}@media (max-width:899px){.count-start-row{flex-wrap:wrap}.count-start-row .field{flex:1 1 100%}.count-start-row button{flex:1 1 100%;margin-left:0}}
/*# sourceMappingURL=main.a4a79733.css.map*/