.grocery-page h2{font:400 24px/1.3 Georgia,serif;margin:0 0 12px}.grocery-eyebrow{font:700 12px/1.5 system-ui;text-transform:uppercase;letter-spacing:.1em}.grocery-workspace{padding:26px;border:1px solid #bdc8bb;border-radius:18px;background:#fffdf6}.grocery-page label{display:block;font:650 14px/1.5 system-ui;margin:12px 0 7px}.grocery-page input:not([type=checkbox]):not([type=radio]),.grocery-page select{width:100%;box-sizing:border-box;min-width:0;min-height:46px;padding:11px;border:1px solid #8b9b8e;border-radius:7px;background:white;color:#193b34;font:500 16px/1.4 system-ui}.grocery-page input[type=checkbox],.grocery-page input[type=radio]{width:21px;height:21px;accent-color:#315e4b;flex-shrink:0;margin:0}.grocery-check,.grocery-check label{display:flex!important;align-items:center;gap:10px;min-height:44px}.grocery-save{display:grid;grid-template-columns:1fr 1.4fr;gap:28px}.small-note{font:400 13px/1.6 system-ui;color:#52655a}.grocery-save .small-note{margin:3px 0}.help-row{display:flex;align-items:center;gap:7px}.help-row label,.help-row h2{margin-bottom:0}.help-row{margin-bottom:8px}.help-row .hint-button{flex-shrink:0}.grocery-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.grocery-toolbar .help-row{margin:0}.grocery-page .primary{background:#193e35;color:#fff9e7}.grocery-page .primary:hover{background:#285346}.grocery-columns{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:26px;margin-top:26px}.grocery-columns>section{min-width:0}.grocery-add{background:#f3f4e8;padding:20px;border-radius:12px;align-self:start}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:end}.two-fields>div{min-width:0}.section-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.section-top h2{margin:0}.section-top>strong{background:#193e35;color:#fff9e7;padding:8px 12px;border-radius:20px;font:650 13px system-ui}.grocery-category h3{font:700 12px system-ui;text-transform:uppercase;letter-spacing:.06em;color:#52655a;margin:22px 0 7px}.shopping-row{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #dce1d5}.shopping-row .buy-check{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;margin:-4px 0}.item-copy{flex:1;min-width:0}.item-copy strong{display:block;font:650 16px/1.5 system-ui;overflow-wrap:anywhere}.item-copy p{margin:3px 0;font:400 13px/1.5 system-ui;color:#52655a;overflow-wrap:anywhere}.item-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.small-button{padding:8px 10px;border:1px solid #9eafa0;border-radius:6px;background:#edf2e7;color:#193b34;font:600 13px/1.4 system-ui;min-height:40px;cursor:pointer}.small-button:disabled{opacity:.6;cursor:default}.grocery-page :focus-visible{outline:3px solid #a65112;outline-offset:3px}.grocery-page details>summary{cursor:pointer;font-weight:650;min-height:44px;line-height:1.6;padding:12px 0}.grocery-usual{margin-top:25px;border-top:1px solid #cbd4c6;padding-top:24px}.grocery-usual>input{max-width:460px}.usual-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.usual-card{padding:16px;border:1px solid #c4d1bd;border-radius:10px;background:#f3f6ee;min-width:0}.usual-card strong{overflow-wrap:anywhere;display:block}.usual-card p{font:400 13px/1.5 system-ui;overflow-wrap:anywhere;margin:5px 0;color:#52655a}.usual-card .status-label{font:700 11px/1.5 system-ui;text-transform:uppercase;letter-spacing:.03em}.empty-state{padding:20px;background:#edf2e7;border-radius:10px;color:#52655a;line-height:1.6}.grocery-manage{border-top:1px solid #dce1d5;margin-top:18px}.grocery-example{padding:24px;background:#eef3e6;border:1px solid #bdc8bb;border-radius:14px;margin:28px 0}.grocery-example>p{line-height:1.6}.example-shopping{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.example-shopping>div{padding:15px;background:#fffdf6;border-radius:9px;border:1px solid #cbd4c6}.example-shopping strong,.example-shopping small{display:block;margin-top:8px;line-height:1.5}.example-state{font:700 12px system-ui;color:#315e4b}.grocery-stores{border:1px solid #bdc8bb;border-radius:12px;padding:8px 22px;margin:28px 0}.grocery-stores p{line-height:1.65}.store-links{display:flex;flex-wrap:wrap;gap:12px 22px}.store-links a{color:#193b34;font-weight:600;padding:10px 0}.import-preview{background:#fff0d4;border:1px solid #be9349;border-radius:12px;padding:22px;margin:20px 0}.import-preview label{display:flex;gap:10px;align-items:center}.import-preview li{overflow-wrap:anywhere;margin:5px 0}.grocery-page [hidden]{display:none!important}.grocery-page #grocery-print{display:none}.grocery-page .tool-guide{line-height:1.7}.grocery-page .tool-guide h3{margin-top:24px}#grocery-message,#storage-status{font:500 14px/1.5 system-ui;color:#315e4b}#grocery-error{margin-top:0}.optional{font-weight:400}.grocery-page #bought-items .item-copy strong{text-decoration:line-through}
@media(max-width:800px){.grocery-columns,.grocery-save{grid-template-columns:1fr}.grocery-save{gap:10px}.usual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.example-shopping{grid-template-columns:1fr}}
@media(max-width:480px){.grocery-workspace{padding:16px}.grocery-add{padding:15px}.usual-grid{grid-template-columns:1fr}.two-fields{grid-template-columns:1fr}.grocery-page .tool-heading h1{font-size:2.7rem}.grocery-toolbar{gap:8px}.grocery-example{padding:18px}}
@media print{body.grocery-page{background:white!important;color:black!important}.grocery-page .site-header,.grocery-page .site-footer,.grocery-page main>*:not(#grocery-print),.grocery-page .work-tooltip{display:none!important}.grocery-page #grocery-print{display:block}.grocery-page main{width:100%!important;margin:0!important}.grocery-page #grocery-print #print-title{font:700 22pt Georgia;margin:0 0 10px}.grocery-page #grocery-print h2{font:700 13pt system-ui;break-after:avoid;margin-top:20px}.grocery-page #grocery-print p{font:12pt/1.6 system-ui;overflow-wrap:anywhere;break-inside:avoid}}

.grocery-view-controls{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px;margin:20px 0;border-top:1px solid #cbd4c6;padding-top:12px}.grocery-view-controls>div:first-child{min-width:220px;flex:1;max-width:340px}.phone-panel{background:#edf2e7;border:1px solid #bdc8bb;border-radius:12px;padding:22px;margin:20px 0;line-height:1.6}.phone-panel input[readonly]{font-size:14px}.phone-panel #phone-qr svg{display:block;width:320px;max-width:100%;height:auto;margin:20px auto}.shopping-mode .grocery-add,.shopping-mode .grocery-usual,.shopping-mode .grocery-manage,.shopping-mode .grocery-example,.shopping-mode .grocery-stores,.shopping-mode .tool-guide,.shopping-mode .grocery-backup-note,.shopping-mode .shopping-row .item-actions,.shopping-mode #new-trip,.shopping-mode #save-backup,.shopping-mode #open-backup,.shopping-mode #backup-help,.shopping-mode #open-help{display:none!important}.shopping-mode .grocery-columns{grid-template-columns:1fr}.shopping-mode .grocery-workspace{max-width:800px;margin:auto}.shopping-mode .shopping-row{padding:17px 0}.shopping-mode .item-copy strong{font-size:20px}.shopping-mode .item-copy p{font-size:16px}.shopping-mode .buy-check{min-height:52px;min-width:52px}.shopping-mode .buy-check input{width:28px;height:28px}.shopping-mode .tool-heading>p{display:none}.shopping-mode .grocery-save{grid-template-columns:1fr;gap:4px}.grocery-view-controls .grocery-toolbar{margin-bottom:0}.phone-panel .grocery-check{align-items:center}.phone-panel #phone-status{font-weight:600}
@media(max-width:480px){.phone-panel{padding:16px}.grocery-view-controls>div:first-child{max-width:none;width:100%}.shopping-mode .grocery-workspace{padding:14px}.shopping-mode .grocery-save .small-note{font-size:12px}}

.product-lookup{border:1px solid #bdc8bb;border-radius:12px;padding:8px 20px;margin:20px 0;background:#f2f5eb;line-height:1.6}.product-search-form{display:grid;grid-template-columns:1fr 1fr 160px auto;gap:12px;align-items:end}.product-search-form .calc-button{min-height:46px}.product-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-card{padding:16px;background:#fffdf6;border:1px solid #c4d1bd;border-radius:10px;display:flex;flex-direction:column;align-items:start;min-width:0}.product-card h4{font:700 17px/1.4 system-ui;margin:0 0 8px;overflow-wrap:anywhere}.product-card p{margin:4px 0;overflow-wrap:anywhere}.product-brand{font-size:14px;color:#52655a}.product-package{font-weight:700}.product-card button{margin-top:auto}.product-review{background:#fff8df;border:1px solid #c5b87e;border-radius:12px;padding:22px;margin:20px 0}.product-review h3{margin:0 0 10px}.product-review-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;align-items:end}.product-review-fields>div{min-width:0}.product-nutrition{width:100%;border-collapse:collapse;background:#fffdf6;font-size:14px}.product-nutrition caption{text-align:left;padding-bottom:8px}.product-nutrition th,.product-nutrition td{text-align:left;padding:8px;border-bottom:1px solid #d5dccc}.product-nutrition td{text-align:right}.product-credit{font:400 12px/1.6 system-ui;color:#52655a;overflow-wrap:anywhere}.product-credit a,.product-review a{color:#193e35;text-decoration:underline}.product-review .grocery-check{align-items:center}#product-status{font-weight:600}#product-identity{overflow-wrap:anywhere}.shopping-mode .product-lookup{display:none!important}
@media(max-width:900px){.product-search-form{grid-template-columns:1fr 1fr}.product-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.product-search-form,.product-results,.product-review-fields{grid-template-columns:1fr}.product-lookup,.product-review{padding:12px}.product-lookup h2{font-size:21px}.product-card .calc-button{width:100%}}

.phone-heading-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.phone-heading-row h2{margin:0}.nutrition-summary{font-weight:750;color:var(--green,#173f36);font-size:1.12rem}.product-calories{font-size:.88rem;font-weight:650}.phone-panel a.calc-button{display:inline-flex;align-items:center;text-decoration:none}

.card-nutrition{width:100%;margin:10px 0 14px;border-top:1px solid #d5dccc;padding-top:10px}.comparison-basis{font-size:.84rem;font-weight:650;min-height:2.8em}.comparison-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;font-size:.8rem;width:100%;margin:10px 0}.comparison-facts div{min-width:0}.comparison-facts dt{color:#52655a}.comparison-facts dd{font-weight:650;margin:0;overflow-wrap:anywhere}.product-card .product-calories{font-size:1.15rem}.card-nutrition .small-note{font-size:.75rem}.product-card .product-package{font-size:.87rem}#comparison-controls{max-width:560px;margin:16px 0}#comparison-status{min-height:1.6em}
