:root{font-family:DM Sans,system-ui,sans-serif;color:#233a30;background:#f7f5ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e1a44c;outline-offset:2px}.app{min-height:100vh;padding-bottom:90px}.topbar{background:#315c49;color:#fff;padding:18px max(20px,calc((100% - 1040px)/2));display:flex;align-items:center;justify-content:space-between}h1,h2,h3,p{margin-top:0}h1{font-family:"DM Serif Display",Georgia,serif;font-size:30px;margin:0;line-height:1;font-weight:400}h1 span{color:#e8ba70}h2{font-family:"DM Serif Display",Georgia,serif;font-size:29px;font-weight:400;margin-bottom:10px}h3{font-size:16px}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:#8d9f90;margin:0 0 6px}.topbar .eyebrow{color:#b6d0bf}main{max-width:1040px;margin:auto;padding:24px 20px}.household{display:flex;gap:12px;align-items:center;padding-bottom:25px}.household label{white-space:nowrap;color:#7d8f81;font-size:10px;font-weight:700;letter-spacing:.12em}.household select{max-width:250px;background-color:#e9eee7;border-color:transparent;font-weight:700}input,select{width:100%;padding:12px;min-height:46px;border:1px solid #d5ded2;border-radius:10px;background:#fff;color:#233a30}label{display:block;font-size:13px;font-weight:700}label input,label select{margin-top:7px}form>label{margin-bottom:16px}.panel{background:#fff;border:1px solid #e4e9e1;border-radius:18px;padding:22px;margin-bottom:16px;box-shadow:0 3px 14px #345d4810}.panel p,.muted{color:#728477;line-height:1.5;font-size:14px}.auth-panel{max-width:440px;margin:35px auto}.auth-panel form{margin-top:25px}.empty{text-align:center;padding:40px 20px}.empty-icon{display:block;font-size:40px;margin-bottom:15px}.primary,.secondary,.small-primary{border-radius:10px;padding:12px 17px;min-height:46px;font-weight:700;border:1px solid transparent}.primary,.small-primary{color:#fff;background:#315c49}.secondary{color:#315c49;background:#f5f8f3;border-color:#d7e3d8}.wide{width:100%;margin-top:14px}.small-primary{min-height:42px;white-space:nowrap}.text-button{padding:12px 0;min-height:44px;border:0;background:transparent;color:#315c49;font-weight:700;text-align:left}.danger{color:#a64c45}.icon-button{min-width:44px;min-height:44px;border:0;border-radius:12px;background:#ffffff20;color:inherit;font-size:24px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.section-heading h2{margin:0}.count{font-size:12px;color:#6b8371;background:#e8eee6;padding:8px 11px;border-radius:30px;white-space:nowrap}.category-group{margin:24px 0}.category-group h3{font-size:12px;color:#718475;text-transform:uppercase;letter-spacing:.1em;margin-bottom:10px}.list-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e8ede7;padding:10px;margin-bottom:8px;border-radius:13px}.list-row.purchased{opacity:.52}.purchased .item-info strong{text-decoration:line-through}.check{border:2px solid #a4baa9;width:44px;height:44px;flex:0 0 44px;border-radius:50%;color:#fff;background:#fff;font-weight:700}.purchased .check{background:#315c49;border-color:#315c49}.product-image,.product-placeholder{width:48px;height:48px;border-radius:9px;object-fit:cover;background:#f0f3ed;flex:0 0 48px}.product-placeholder{display:grid;place-items:center;font-size:23px}.item-info{flex:1;min-width:0}.item-info strong,.item-info small{display:block;overflow-wrap:anywhere}small{font-size:12px;color:#89998d}.quantity{display:flex;align-items:center;background:#f4f7f2;border-radius:10px}.quantity button{border:0;background:transparent;color:#315c49;min-width:36px;min-height:44px;font-size:19px}.quantity span{font-size:13px;font-weight:700;min-width:20px;text-align:center}.remove{border:0;background:none;color:#a4afa6;min-width:30px;min-height:44px;font-size:23px}.search{margin:0 0 10px}.search+select{margin-bottom:10px}.quick-add-toggle{margin:0 0 14px}.quick-add label{margin-bottom:7px}.quick-results{max-height:min(45vh,360px);overflow-y:auto;overscroll-behavior:contain}.quick-product{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;padding:8px 0;border:0;border-bottom:1px solid #e8ede7;background:transparent;color:inherit;text-align:left}.quick-product-info{flex:1;min-width:0}.quick-product-info strong,.quick-product-info small{display:block;overflow-wrap:anywhere}.quick-plus{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:50%;background:#e2eee4;color:#315c49;font-size:24px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin-top:20px}.product-card{position:relative;background:#fff;border-radius:15px;border:1px solid #e6ebe3;overflow:hidden}.product-add{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 10px 14px;width:100%;border:0;background:transparent;text-align:left;color:inherit}.product-add .product-image,.product-add .product-placeholder{width:100%;height:105px;flex:0 0 105px;margin-bottom:7px;font-size:38px}.product-add strong{padding-right:22px;overflow-wrap:anywhere}.plus{position:absolute;right:10px;bottom:10px;background:#e2eee4;color:#315c49;width:29px;height:29px;border-radius:50%;display:grid;place-items:center}.edit-product{position:absolute;top:14px;right:14px;border:0;border-radius:50%;width:40px;height:40px;background:#fff;color:#315c49}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#fff;border-top:1px solid #e3ebe1;padding-bottom:env(safe-area-inset-bottom);z-index:3}.bottom-nav button{flex:1;max-width:180px;border:0;background:none;color:#91a096;min-height:65px;font-size:11px;font-weight:700}.bottom-nav button span{display:block;font-size:23px;line-height:27px}.bottom-nav button.active{color:#315c49}.inline{display:flex;gap:8px}.list-card h3{margin-bottom:8px}fieldset{border:1px solid #d5ded2;border-radius:10px;margin:0;padding:12px}legend{font-size:13px;font-weight:700}.check-option{display:flex;align-items:center;gap:10px;min-height:44px;overflow-wrap:anywhere}.check-option input{width:20px;height:20px;min-height:0;margin:0;flex:0 0 20px}summary{cursor:pointer;color:#315c49;font-weight:700;padding:10px 0}.member{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;overflow-wrap:anywhere}.invite{padding:14px;background:#f4f7f2;border-radius:10px}code{display:block;overflow-wrap:anywhere;margin-bottom:10px}.chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.chips span{background:#edf3ec;border-radius:20px;padding:7px 10px;font-size:12px}.alert{padding:13px;border-radius:10px;margin-bottom:14px;font-size:14px}.alert.error{background:#fceae7;color:#8e3932}.alert.notice{background:#e3f2e4;color:#315c49}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#172b22a8;z-index:5;display:flex;align-items:flex-end;justify-content:center}.modal{background:#fff;width:min(100%,520px);max-height:92vh;overflow-y:auto;border-radius:20px 20px 0 0;padding:22px}.modal .icon-button{color:#315c49;background:#f0f4ee}@media(min-width:700px){.modal-backdrop{align-items:center}.modal{border-radius:20px}.grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}}@media(max-width:380px){main{padding-inline:12px}.list-row{gap:5px}.quantity button{min-width:30px}}
