/* Scoped to the approved pantry screens; shared navigation remains unchanged. */
.pantry-gpt{background:#faf8f5;padding:0 14px 108px;color:#28252d}
.pantry-gpt .topbar{position:relative;display:flex;align-items:center;justify-content:space-between;margin:0 0 6px;min-height:52px;padding:0;background:transparent}
.pantry-gpt .topbar-title{position:absolute;left:50%;transform:translateX(-50%);font-size:20px;margin:0;white-space:nowrap}
.pantry-gpt .icon-button{width:40px;height:44px;background:white;border-radius:12px;font-size:28px}
.pg-add{background:#f2eeff;color:#5932db;border:1px solid #ebe4ff;border-radius:12px;padding:8px;font-size:14px;min-height:44px}.pg-head-space{width:44px}
.pg-subtitle{text-align:center;font-size:12px;color:#655e6c;margin:0 0 14px}.pg-search{display:flex;align-items:center;background:white;border:1px solid #ded8e6;border-radius:12px;padding:0 10px;height:44px;gap:8px}.pg-search svg{width:20px;height:20px;color:#80758f;flex-shrink:0}.pg-search input{min-width:0;flex:1;border:0;background:transparent;font-size:15px;outline:none}.pg-search button{font-size:12px;color:#655e6c;background:none;border:0;height:44px}
.pg-locations{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:12px 0}.pg-locations button{border:0;border-radius:10px;background:#f2f0ee;color:#655e6c;min-height:44px;font-size:13px}.pg-locations button.active,.pg-categories button.active{background:#ede6ff;color:#5932db;border-color:#d9cdff}
.pg-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pg-categories button{display:flex;flex-direction:column;align-items:center;gap:8px;justify-content:center;min-height:80px;border:1px solid #ece9e6;border-radius:16px;background:#fff;color:#28252d;font-size:13px}.pg-categories svg{width:32px;height:32px;color:#6c4cf1}
.pg-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 0 10px}.pg-section-head h2,.pg-quick h2,.pg-tips h2{font-size:16px;line-height:1.5;margin:0;font-weight:650}.pg-section-head button,.pg-section-head select{background:none;border:0;color:#655e6c;font-size:12px;min-height:44px}
.pg-stock{display:grid;gap:8px}.pg-stock-row{display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid #ece9e6;border-radius:14px;width:100%;padding:8px;min-height:72px;color:inherit}.pg-stock-icon{width:52px;height:52px;background:#faf4ed;border-radius:10px;display:grid;place-items:center;flex-shrink:0}.pg-stock-icon svg{width:36px;height:36px}.pg-stock-copy{display:grid;gap:4px;flex:1;min-width:0}.pg-stock-copy b{font-size:16px;overflow-wrap:anywhere}.pg-stock-copy>span{font-size:14px;color:#655e6c}.pg-location{font-size:12px;background:#f2eeff;padding:3px 7px;border-radius:8px;color:#5932db;display:inline-block;margin-left:6px}.pg-location.pending{background:#ffead4;color:#905317}.pg-arrow{margin:0 5px;color:#655e6c;font-size:24px}
.pg-recipe-filters{display:flex;gap:6px;margin-bottom:10px;flex-wrap:wrap}.pg-recipe-filters button{border:1px solid #e9e3ef;border-radius:20px;min-height:44px;padding:6px 12px;font-size:13px;background:transparent;color:#655e6c}.pg-recipe-filters .active{background:#6c4cf1;color:#fff;border-color:#6c4cf1}
.pantry-gpt .pantry-recipes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pantry-gpt .pantry-recipe-card{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start;padding:8px;border:1px solid #ece9e6;box-shadow:none;border-radius:14px;gap:8px}.pantry-gpt .pantry-recipe-photo{width:48px;height:58px;border-radius:9px;overflow:hidden}.pantry-gpt .pantry-recipe-photo img{height:100%;width:100%;object-fit:cover}.pantry-gpt .pantry-recipe-copy{display:contents}.pantry-gpt .pantry-recipe-title{display:block}.pantry-gpt .pantry-recipe-title h3{font-size:14px;margin:0;line-height:1.5}.pantry-gpt .match-badge,.pantry-gpt .match-meter{display:none}.pantry-gpt .pantry-recipe-copy p{grid-column:1/-1;font-size:12px;margin:0;line-height:1.5;color:#655e6c}.pantry-gpt .pantry-recipe-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0}.pantry-gpt .pantry-recipe-actions button{padding:4px;font-size:12px;min-height:44px;border-radius:10px}.pantry-gpt .pantry-recipe-actions .primary-button{background:#f2eeff;color:#5932db;border:1px solid #dacdff;box-shadow:none}
.pg-ai{display:flex;align-items:center;gap:12px;background:#f4f0ff;border:1px solid #ebe4ff;border-radius:14px;margin-top:14px;padding:12px;width:100%;text-align:left;color:#28252d}.pg-ai>svg{width:28px;height:28px;color:#6c4cf1}.pg-ai>span:nth-child(2){flex:1}.pg-ai b{display:block;font-size:16px}.pg-ai small{display:block;font-size:12px;color:#655e6c;margin-top:3px}.pg-empty{grid-column:1/-1;border-radius:14px;padding:20px;text-align:center;font-size:14px;color:#655e6c;background:white}.pg-empty button{display:block;margin:8px auto 0;border:0;background:#f2eeff;color:#5932db;min-height:44px;border-radius:10px;padding:8px 16px}
.pg-scan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0 16px}.pg-scan-grid button{display:flex;flex-direction:column;align-items:center;gap:12px;padding:14px 5px 20px;min-width:0;border:1px solid #ece9e6;border-radius:16px;background:white;color:#28252d}.pg-scan-icon{width:72px;height:86px;border-radius:24px;background:#f4f0ff;display:grid;place-items:center;color:#6c4cf1}.pg-scan-icon svg{width:42px;height:42px}.pg-scan-grid b{font-size:14px;line-height:1.5}.pg-scan-grid small{font-size:12px;line-height:1.6;color:#655e6c}
.pg-secondary-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pg-secondary-grid button{display:flex;align-items:center;gap:8px;border:8px solid white;background:#f4f0ff;border-radius:16px;min-height:84px;padding:6px;text-align:left;color:#28252d}.pg-secondary-grid svg{width:25px;height:30px;color:#6c4cf1;flex-shrink:0}.pg-secondary-grid b{font-size:14px;display:block}.pg-secondary-grid small{display:block;font-size:12px;color:#655e6c;line-height:1.5;margin-top:3px}
.pg-quick{background:#fff;border:1px solid #ece9e6;border-radius:16px;padding:14px;margin:16px 0}.pg-quick>div{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap}.pg-quick button{flex:1;min-width:44px;min-height:44px;background:white;border:1px solid #e8e2ee;border-radius:14px;font-size:14px;padding:4px}.pg-tips{border-radius:16px;border:1px solid #ede7ff;padding:14px;background:#f6f3ff}.pg-tips h2{display:flex;align-items:center;gap:10px}.pg-tips svg{width:24px;height:24px;color:#6c4cf1}.pg-tips ul{padding-left:20px;margin:10px 0 0;font-size:12px;line-height:1.8;color:#655e6c}.pg-tips li+li{margin-top:6px}.pg-privacy{display:flex;justify-content:center;align-items:flex-start;gap:8px;background:none;border:0;width:100%;padding:20px 10px;font-size:12px;line-height:1.8;color:#655e6c}.pg-privacy svg{width:20px;height:20px;flex-shrink:0}.pg-input-panel{padding:14px;background:white;border:1px solid #e8e2ee;border-radius:14px;margin:12px 0}.pg-input-panel textarea{display:block;width:100%;min-height:90px;margin:10px 0;font-size:15px;border:1px solid #ded8e6;border-radius:10px;padding:10px;box-sizing:border-box}.pg-input-panel h2{font-size:16px}.pg-inline{display:flex;gap:8px;flex-wrap:wrap}.pg-inline button{min-height:44px}.pg-loading{color:#5932db;font-size:14px;padding:12px}.pantry-gpt button:disabled{opacity:.55}
.pantry-gpt .pg-section-head{margin:8px 0 6px}
.pantry-gpt .pantry-recipe-photo{grid-row:1/4;grid-column:1}
.pantry-gpt .pantry-recipe-title{grid-row:1;grid-column:2}
.pantry-gpt .pantry-recipe-copy p{grid-column:2}
.pantry-gpt .pantry-recipe-card{row-gap:4px}
.pantry-gpt .pantry-recipe-actions{grid-row:4}
.pantry-merge-label{display:block;font-size:13px;color:#655e6c;line-height:1.6;margin-top:8px}
.pantry-merge-label select{width:100%;min-height:44px;margin-top:6px}
@media(max-width:380px){.pantry-gpt{padding-left:12px;padding-right:12px}.pg-scan-icon{width:60px;height:74px}.pg-scan-grid b{font-size:13px}.pg-secondary-grid button{gap:5px;padding:4px;border-width:5px}.pg-add{font-size:12px}.pg-stock-copy>span{font-size:13px}}
