:root{--ink:#14231c;--muted:#617066;--paper:#fffdf8;--line:#dce5de;--green:#157347;--green-dark:#0d5234;--wash:#f5f3ed;--mint:#eaf5ed;--red:#b7332d;--shadow:0 4px 18px #18352212}*{box-sizing:border-box}body{margin:0;background:var(--wash);color:var(--ink);font:15px/1.45 Inter,ui-sans-serif,system-ui,sans-serif}.appbar{height:64px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100% - 1400px)/2));position:sticky;top:0;z-index:20;box-shadow:0 2px 10px #102c1e28}.brand,.nav-item{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:900;letter-spacing:-.035em;padding:0}.brand-mark{width:34px;height:34px;border-radius:10px;object-fit:cover;box-shadow:0 1px 5px #102c1e35}.appbar nav{align-self:stretch;display:flex;gap:4px}.nav-item{padding:0 17px;font-weight:700;opacity:.72;border-bottom:3px solid transparent}.nav-item.active{opacity:1;border-bottom-color:#fff}main{width:min(1400px,calc(100% - 32px));margin:0 auto 70px}.view{padding-top:26px}.hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.hero h1,.setup-head h1{font:750 clamp(34px,5vw,54px)/1.02 "Fraunces",Georgia,serif;letter-spacing:-.045em;margin:5px 0}.hero p,.setup-head p{color:var(--muted);font-size:16px;margin:0}.eyebrow{color:var(--green);font-size:11px;font-weight:850;letter-spacing:.15em}.icon-button,.primary,.secondary,button{border:1px solid #bdc8c0;border-radius:10px;background:#fff;padding:10px 14px;font:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.primary:disabled{background:#c8d0ca;border-color:#c8d0ca;color:#fff}.icon-button{border:0;border-radius:50%;background:var(--mint);color:var(--green);font-size:25px;width:46px;height:46px;padding:0}.primary{background:var(--green);border-color:var(--green);color:#fff;font-weight:750}.secondary{color:var(--green);font-weight:700}.search-shell{height:52px;display:flex;align-items:center;gap:10px;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:0 15px;box-shadow:var(--shadow)}.search-shell span{color:var(--green);font-size:24px}.search-shell input{border:0;padding:0;outline:0;font-size:16px;min-width:0}.search-shell:has(.search-clear) input::-webkit-search-cancel-button{display:none}.search-clear{flex:0 0 auto;border:0;background:var(--mint);color:var(--green-dark);width:26px;height:26px;border-radius:50%;padding:0;font-size:17px;line-height:1;font-weight:800}.chips{display:flex;gap:8px;overflow:auto;padding:14px 1px 8px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{white-space:nowrap;border-color:var(--line);border-radius:20px;padding:8px 14px;background:#fff;font-weight:650}.chip.active{background:var(--green);border-color:var(--green);color:#fff}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:10px 0}.metrics article{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:12px 15px}.metrics strong{display:block;font-size:23px;line-height:1.1}.metrics span{color:var(--muted);font-size:12px}.toolbar{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:11px 0}.toolbar select,input,select{width:100%;border:1px solid #c8d0ca;border-radius:10px;background:var(--paper);padding:11px;font:inherit}.notice{background:#eef8f1;border:1px solid #bedbc7;border-radius:12px;color:var(--green);padding:12px 15px;margin-top:14px}.notice.error{color:var(--red);background:#fff4f3;border-color:#e9c7c4}.deals{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}.deal{background:var(--paper);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;overflow:hidden;min-width:0;box-shadow:var(--shadow)}.deal-content{display:flex;flex:1;flex-direction:column;padding:14px}.deal-top,.deal-bottom{display:flex;justify-content:space-between;gap:10px}.retailer,.expires{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.065em}.retailer.kroger{color:#176a45}.retailer.target{color:#b22828}.retailer.walmart{color:#1763a1}.retailer.publix{color:#2f7f39}.expires{color:var(--muted)}.expires.urgent{color:var(--red)}.deal h2{font-size:17px;line-height:1.22;margin:12px 0 6px}.deal p{color:var(--muted);font-size:13px;margin:0 0 16px}.deal-bottom{align-items:center;margin-top:auto;border-top:1px solid var(--line);padding-top:11px}.deal-kind{font-size:12px;color:var(--muted)}.savings{color:var(--green);font-size:12px;font-weight:800}.clip{margin-top:10px;color:var(--green);font-weight:800;background:#f2faf5;border-color:#c3ddcc}.clip:disabled{color:#607267;background:#eef1ef}.empty{grid-column:1/-1;text-align:center;padding:50px;color:var(--muted)}.setup-head{margin-bottom:18px}.setup-actions{display:flex;gap:9px;margin-bottom:12px}.connections{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.connection{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:12px}.connection strong,.connection small{display:block}.connection small{color:var(--muted);margin:3px 0 0 18px}.connection-head{display:flex;align-items:center;gap:7px}.connection-head strong{display:inline}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#aeb5af;margin-right:8px}.retailer-icon{width:22px;height:22px;border-radius:6px;object-fit:cover;flex:0 0 auto;background:#fff}.retailer-icon.missing{display:none}.chip .retailer-icon{width:16px;height:16px;border-radius:4px;vertical-align:-4px;margin-right:6px}.retailer .retailer-icon{width:13px;height:13px;border-radius:3px;vertical-align:-2px;margin-right:4px}.dot.on{background:#2b9b65;box-shadow:0 0 0 4px #2b9b651c}.actions{display:flex;gap:6px}.setup-note{display:flex;flex-direction:column;background:var(--mint);border-radius:14px;color:var(--green-dark);margin-top:16px;padding:16px}.setup-note span{font-size:13px;margin-top:3px}@media(max-width:950px){.deals{grid-template-columns:repeat(3,1fr)}.connections{grid-template-columns:1fr}}
.feed-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 10px}.feed-actions small{color:var(--muted);max-width:560px}.clip.clipped{color:#fff;background:var(--green);border-color:var(--green)}.dot.error{background:var(--red);box-shadow:0 0 0 4px #b7332d1c}.past-purchase-banner{background:var(--mint);color:var(--green-dark);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;text-align:center;padding:6px 10px}
.history-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:10px;margin:10px 0}.history-toolbar .search-shell{box-shadow:none}.history-toolbar select{height:52px}.history-coverage{margin:18px 0}.history-coverage summary{color:var(--green);font-weight:800;cursor:pointer}.history-sources{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0 18px}.history-source,.history-row{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:13px 15px}.history-source strong,.history-source small,.history-row small{display:block}.history-source small,.history-row small{color:var(--muted);margin-top:3px;font-size:13px}.history-source.ready{border-color:#9bc9a9;background:#f5fbf6}.history-source.needs-login{border-color:#ebc882}.history-source.unavailable{opacity:.78}.purchase-history{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.history-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-row>strong{white-space:nowrap}@media(max-width:950px){.history-sources{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){main{width:min(100% - 22px,1400px)}.appbar{height:58px;padding:0 12px;gap:8px;justify-content:flex-start}.brand{flex:0 0 30px;font-size:0;gap:0}.brand>span:last-child{display:none}.brand-mark{width:30px;height:30px}.appbar nav{flex:1;min-width:0;justify-content:space-between;gap:0}.nav-item{padding:0 7px;font-size:14px}.view{padding-top:18px}.hero h1,.setup-head h1{font-size:34px}.hero p{font-size:14px}.search-shell{height:48px}.metrics{grid-template-columns:repeat(3,1fr)}.metrics article{padding:10px}.metrics article:last-child{display:none}.metrics strong{font-size:20px}.toolbar{display:flex;overflow:auto;padding-bottom:2px;scrollbar-width:none}.toolbar select{min-width:135px}.deals{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.deal h2{font-size:15px}.deal-content{padding:11px}.deal p{font-size:12px}.connection{align-items:flex-start;flex-direction:column}.actions{width:100%}.actions button{flex:1}.setup-actions{flex-wrap:wrap}.history-toolbar{grid-template-columns:1fr}.purchase-history{grid-template-columns:1fr}}
.retailer-dialog{width:min(480px,calc(100% - 32px));border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);padding:24px;box-shadow:0 18px 55px #102c1e44}.retailer-dialog::backdrop{background:#102c1e66}.retailer-dialog h2{font:750 29px/1.1 "Fraunces",Georgia,serif;margin:5px 0}.retailer-dialog p,.retailer-dialog small{display:block;color:var(--muted);margin:8px 0 14px}.retailer-dialog .primary{width:100%;margin-top:14px}.dialog-close{float:right;border:0;background:transparent;color:var(--muted);font-size:28px;line-height:1;padding:0}
.retailer-options{max-height:240px;overflow:auto;margin:8px 0;border:1px solid var(--line);border-radius:12px;background:#fff}.retailer-options button{display:flex;align-items:center;gap:9px;width:100%;border:0;border-radius:0;border-bottom:1px solid var(--line);padding:12px 14px;text-align:left;background:transparent;font-weight:700}.retailer-options .retailer-icon{width:20px;height:20px;border-radius:5px;margin:0}.retailer-options button:last-child{border-bottom:0}.retailer-options button:active,.retailer-options button[aria-selected="true"]{background:var(--mint);color:var(--green-dark)}.retailer-options p{padding:0 14px;margin:12px 0}
.dialog-actions{display:flex;gap:10px;margin-top:18px}.dialog-actions button{flex:1}.dialog-actions .primary{margin-top:0}
#login-credential-username-label:not([hidden]),#login-credential-password-label:not([hidden]){display:block;font-size:13px;font-weight:700;color:var(--muted);margin-top:12px}#login-credential-username-label input,#login-credential-password-label input{margin-top:6px}
#checkout-results h2{font-size:19px;margin:22px 0 10px}#checkout-results h2:first-child{margin-top:6px}#checkout-raw-text{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:12px 15px;margin-top:8px;color:var(--muted);font-size:13px;line-height:1.6}
body.gate-active .appbar,body.gate-active main{display:none}
.gate{position:fixed;inset:0;background:var(--wash);display:flex;align-items:center;justify-content:center;padding:24px;z-index:50}
.gate[hidden]{display:none}
.gate-card{max-width:420px;width:100%;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:var(--shadow)}
.gate-card h1{font:750 32px/1.1 "Fraunces",Georgia,serif;margin:8px 0}
.gate-card p{color:var(--muted);margin:0 0 18px}
.gate-card label{display:block;font-size:13px;font-weight:700;color:var(--muted);margin-top:12px}
.gate-card label input{width:100%;margin-top:6px}
.gate-card .primary{width:100%;margin-top:18px}
.gate-card .secondary{width:100%;margin-top:10px;background:transparent;border-color:transparent;color:var(--green)}
#account-status,#paywall-status{display:block;margin-top:10px;color:var(--red);font-size:13px}
.consent-toggle{display:flex;gap:12px;align-items:flex-start;cursor:pointer}
.consent-toggle input{margin-top:4px;flex:0 0 auto;width:auto}
.consent-toggle>span{flex:1;min-width:0}
.consent-toggle strong{display:block;color:var(--green-dark)}
.consent-toggle>span>span{display:block;font-size:13px;margin-top:3px}
.provider-buttons{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.provider-buttons button{width:100%;margin-top:0;background:#fff;border-color:#bdc8c0;color:var(--ink);font-weight:700}
.provider-buttons button:disabled{background:#eef1ef;color:var(--muted)}
.provider-divider{display:flex;align-items:center;gap:10px;margin:16px 0 4px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.provider-divider::before,.provider-divider::after{content:"";flex:1;height:1px;background:var(--line)}
.account-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin-top:16px}.account-card h2{font-size:15px;margin:0 0 8px;color:var(--green-dark)}.acct-rows{margin:0}.acct-rows>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-top:1px solid var(--line)}.acct-rows>div:first-child{border-top:0}.acct-rows dt{color:var(--muted)}.acct-rows dd{margin:0;font-weight:700;text-align:right;word-break:break-word}.acct-actions{display:flex;flex-wrap:wrap;gap:9px}.acct-note{color:var(--muted);font-size:13px;margin:10px 0 0}.acct-note:empty{display:none}.danger{color:var(--red);border-color:#e0b5b2;font-weight:700}
.gate-form{display:block;margin:0}
.browser-only{display:none}.browser-mode .browser-only{display:flex}.browser-mode .nav-item:not([data-view="system"]):not([data-view="sales"]):not([data-view="list"]){display:none}.browser-mode .brand{cursor:default}
.gate-card .linkbtn{display:block;text-align:center;text-decoration:none;padding:10px 14px;font:inherit;font-weight:700;color:var(--green)}.gate-card small{display:block;min-height:1.3em;margin-top:8px}

/* iOS zooms the page in on focus (and stays zoomed) when a field is under 16px */
input,select,textarea{font-size:16px}
.gate-card.new{background:var(--mint);border-color:#bedbc7;border-top:6px solid var(--green)}.gate-card.new .eyebrow{color:var(--green-dark)}#account-mode-toggle{margin-top:14px;font-size:14px;font-weight:600;color:var(--muted)}
.nav-item.locked::after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#ffd36b;margin-left:5px;vertical-align:middle}.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}.plan-paid{border:2px solid var(--green)}.plan-price{font:750 30px/1 "Fraunces",Georgia,serif;margin:6px 0 10px}.plan-price small{font:600 14px Inter,system-ui,sans-serif;color:var(--muted)}.plan-list{margin:0;padding-left:18px;color:var(--muted)}.plan-list li{margin:4px 0}#plan-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}#plan-banner[hidden]{display:none}@media(max-width:650px){.plan-grid{grid-template-columns:1fr}#plan-banner{flex-direction:column;align-items:flex-start}}
.setup-note[hidden],.account-card[hidden]{display:none!important}
.acct-note.legal{font-size:12px;line-height:1.5}.acct-note.legal a{color:var(--green);font-weight:600}

.share-offer{margin-top:10px;width:100%;background:transparent;border:1px solid var(--line);color:var(--muted);border-radius:12px;padding:9px 12px;font:inherit;font-weight:650}.share-offer:disabled{opacity:.6}
.last-paid{margin:6px 0 0;font-size:13px;font-weight:650;color:var(--green)}.history-insights{margin:0 0 18px}.history-insights h2{font:750 24px/1.1 "Fraunces",Georgia,serif;margin:0 0 10px}.insight-grid{display:grid;gap:10px}.insight{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:14px}.insight .eyebrow{display:block;margin-bottom:4px}.insight p{margin:4px 0 0;color:var(--muted)}.history-insights small{display:block;color:var(--muted);margin-top:8px}

/* Phones: the main tabs sit at the bottom, where a thumb reaches them. The top bar keeps only the brand mark. */
@media(max-width:650px){
.appbar{height:46px;box-shadow:none}
.appbar nav{position:fixed;left:0;right:0;bottom:0;z-index:30;transform:translateZ(0);will-change:transform;backface-visibility:hidden;align-self:auto;height:auto;min-height:58px;padding-bottom:env(safe-area-inset-bottom,0px);background:var(--green);box-shadow:0 -2px 10px #102c1e28;justify-content:space-around}
.appbar .nav-item{flex:1;min-height:58px;padding:0 4px;font-size:15px;border-bottom:0;border-top:3px solid transparent}
.appbar .nav-item.active{border-top-color:#fff}
main{margin-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
}
.system-section{margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}.system-section:first-of-type{margin-top:8px}.system-section[hidden]{display:none}
.system-head{margin-bottom:12px}.system-head h2{font:750 26px/1.1 "Fraunces",Georgia,serif;letter-spacing:-.02em;margin:0 0 4px}.system-head p{color:var(--muted);margin:0}
.feed-buttons{display:flex;gap:8px;flex-shrink:0}
.adapter-list{margin-top:10px}.adapter-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.adapter-row:first-child{border-top:0}
.adapter-row small{display:block;color:var(--muted);font-size:13px;margin-top:2px}.adapter-version{text-align:right;flex-shrink:0}
.adapter-state{display:inline-block;margin-top:4px;font-size:12px;font-weight:700;color:var(--red)}.adapter-state.muted{color:var(--muted)}
.report-form{display:grid;gap:9px;margin:10px 0 4px}.report-form textarea{width:100%;border:1px solid #c8d0ca;border-radius:10px;background:var(--paper);padding:11px;font:inherit;resize:vertical;box-sizing:border-box}
.no-stores,.no-stores:disabled{opacity:.45;pointer-events:none;cursor:default}
.store-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:4px 0 14px;box-shadow:var(--shadow)}.store-card[hidden]{display:none}
.store-card-empty{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-card-empty small{display:block;color:var(--muted);margin-top:3px}
.store-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.link-button{border:0;background:none;padding:0;color:var(--green);font-weight:700}
.store-card-barcode{display:block;width:100%;background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 10px 8px;text-align:center}.store-card-barcode .barcode-svg{display:block;width:100%;height:78px}.store-card-barcode .barcode-img,.store-card-full .barcode-img{display:block;margin:0 auto;max-width:100%;object-fit:contain;image-rendering:pixelated;background:#fff}.store-card-barcode span{display:block;margin-top:6px;font:600 15px/1.2 ui-monospace,Menlo,monospace;letter-spacing:.12em;color:#000}
.store-card-tip{display:block;color:var(--muted);font-size:12px;margin-top:6px}
.store-card-alt{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.store-card-alt span{color:var(--muted)}.store-card-alt strong{font-size:22px;letter-spacing:.04em}
.store-card-full{width:100vw;height:100vh;max-width:none;max-height:none;margin:0;border:0;padding:24px 16px;background:#fff;color:#000;box-sizing:border-box;display:none;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}.store-card-full[open]{display:flex}
.store-card-full .barcode-svg{width:100%;max-width:560px;height:140px}.store-card-full .store-card-number{font:700 22px/1.2 ui-monospace,Menlo,monospace;letter-spacing:.14em}.store-card-full .store-card-alt-full{font-size:24px;font-weight:700}.store-card-full small{color:#555}
.report-form label{display:grid;gap:5px;font-weight:650}
.paid-only::after{content:"Paid";margin-left:8px;font-size:11px;font-weight:800;letter-spacing:.04em;background:#ffd36b;color:#3b2c00;border-radius:6px;padding:2px 6px;vertical-align:middle}
#store-card-fetch{width:100%;margin-top:4px}#store-card-fetch[hidden]{display:none}
.store-app-button{width:100%;margin-top:12px}
/* Tab bar with icons (phones) — white bar, gray icons with small labels; the current tab's icon turns green on a
   soft pill. It sits above the home indicator (viewport-fit=cover makes env(safe-area-inset-bottom) real), with a
   minimum gap on devices that report none. Wider screens keep the text tabs in the top bar. */
.nav-icon{display:none}.appbar-title{display:none}
@media(max-width:650px){
.appbar{height:52px;justify-content:center;position:sticky}
.appbar .brand{position:absolute;left:12px;top:50%;transform:translateY(-50%)}
.appbar-title{display:block;margin:0;font:750 17px/1 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.01em;color:#fff}
.appbar nav{min-height:0;background:#fff;box-shadow:0 -1px 0 var(--line),0 -4px 14px #102c1e14;padding:6px 6px calc(max(env(safe-area-inset-bottom,0px),10px) + 4px);justify-content:space-around;gap:0}
.appbar .nav-item{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:2px 2px 0;border:0;opacity:1;color:#6d7b72;font-size:11px;font-weight:650;letter-spacing:.01em;position:relative}
.appbar .nav-item .nav-icon{display:block;width:44px;height:28px;padding:3px 10px;border-radius:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;box-sizing:border-box;transition:background .15s}
.appbar .nav-item.active{color:var(--green);font-weight:800;border:0}
.appbar .nav-item.active .nav-icon{background:var(--mint);stroke-width:2.2}
.appbar .nav-item.locked::after{position:absolute;top:2px;left:calc(50% + 12px);margin:0}
main{margin-bottom:calc(92px + max(env(safe-area-inset-bottom,0px),10px))}
}
@media(max-width:650px){.view>.hero .eyebrow,.view>.setup-head .eyebrow{display:none}}
.account-tabs{display:flex;gap:4px;background:#e8ece6;border-radius:12px;padding:4px;margin:4px 0 18px;position:sticky;top:64px;z-index:10}
.account-tabs button{flex:1;border:0;background:transparent;border-radius:9px;padding:9px 6px;font-weight:700;color:var(--muted);font-size:14px}
.account-tabs button.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #102c1e1f}
.browser-mode .account-tabs{display:none}
#system-view .system-section{margin-top:0;padding-top:0;border-top:0}
@media(max-width:650px){.account-tabs{top:52px}}
html:not(.browser-mode) #system-view .system-head h2{display:none}
@media(max-width:650px){#system-view>.setup-head h1{display:none}}
/* A store card can carry five buttons (Manage login, Saved login, Store card, Disable, Remove). On a phone they must
   wrap: one row wider than the screen makes Android widen the whole page, which pushes the fixed bottom tab bar
   below the visible area. */
.connection>div{min-width:0}
.connection .actions{flex-wrap:wrap}
.connection .actions button{flex:1 1 auto;min-width:0}
.history-privacy{color:var(--muted);font-size:13px;margin:-4px 0 12px}
#notice{cursor:pointer}
.store-picker-results{display:grid;gap:8px;margin-top:6px;max-height:46vh;overflow:auto}.store-picker-results button{display:block;width:100%;text-align:left;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink)}.store-picker-results button small{margin:2px 0 0}.store-picker-results button b{display:block}

#sales-price-drops{margin:20px 0 28px}#sales-price-drops .deals{margin-top:16px}.sales-source-link{display:inline-block;border:1px solid var(--line);border-radius:10px;padding:10px 14px;text-decoration:none;color:var(--green);font-weight:700}
/* ---- 2026-10 web ergonomics pass ---- */
@font-face{font-family:"Fraunces";src:url("./fonts/fraunces-700.woff2") format("woff2");font-weight:700 900;font-display:swap}
.hero h1,.setup-head h1,.gate-card h1{font-weight:700;letter-spacing:-.025em}
/* Sign-in: the provider options are real buttons (a later, more specific .gate-card .secondary rule made them look like text). */
.gate-card .provider-buttons button.secondary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;background:#fff;border:1px solid #bdc8c0;border-radius:12px;color:var(--ink);font-weight:700}
.gate-card .provider-buttons button.secondary:hover{border-color:var(--green)}
.provider-mark{width:20px;height:20px;flex:none}
.gate-card .linkbtn[hidden]{display:none}
.gate-card .linkbtn{min-height:44px}
.gate-fine{display:block;text-align:center;color:var(--muted);font-size:12.5px;margin-top:-4px}
/* Where something applies: app-only (phone apps) or web-only (the website). */
.web-only{display:none!important}
.browser-mode .web-only{display:revert!important}
.browser-mode .app-only{display:none!important}
/* Account */
.danger-zone{border-color:#ecd0cd}
.danger-zone h2{color:var(--red)}
.danger-zone .acct-note{margin:0 0 12px}
.setup-note .note-dismiss{align-self:flex-start;margin-top:10px;background:transparent;border-color:#b9d9c4}
.setup-note a{color:var(--green-dark);font-weight:700}
/* Website shell: the same green bar as the public pages, one centered content width, and a footer. */
.browser-mode .appbar{padding:0 max(24px,calc((100% - 1120px)/2 + 24px))}
.browser-mode main{width:min(1072px,calc(100% - 48px))}
.browser-mode .appbar-title{display:none}
.browser-mode .appbar nav{gap:2px}
.browser-mode a.nav-item{display:flex;align-items:center;text-decoration:none;color:#fff}
.browser-mode .nav-item .nav-icon{display:none}
.browser-mode .nav-item{opacity:.8;padding:0 14px}
.browser-mode .nav-item:hover,.browser-mode .nav-item.active{opacity:1}
.browser-mode .brand{cursor:pointer}
.browser-mode #system-view{max-width:760px}
.browser-mode #account-view>.system-head{display:none}
.site-footer{margin-top:56px;border-top:1px solid var(--line);color:var(--muted);font-size:14px}
.site-footer-inner{width:min(1072px,calc(100% - 48px));margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding:18px 0 28px}
.site-footer nav{display:flex;flex-wrap:wrap}
.site-footer a{color:var(--muted);font-weight:600}
.site-footer nav a{text-decoration:none;display:inline-flex;align-items:center;min-height:44px;padding:0 10px}
.site-footer a:hover{color:var(--green);text-decoration:underline}
.site-footer nav a:first-child{padding-left:0}
.browser-mode main{margin-bottom:0}
@media(max-width:650px){
  .browser-mode .appbar{padding:0 12px}
  .browser-mode main{width:calc(100% - 32px)}
  .browser-mode .nav-item{padding:0 12px;font-size:15px}
  .browser-mode .appbar nav{flex:1;justify-content:flex-end}
  .site-footer-inner{width:calc(100% - 32px)}
}
.browser-mode a.nav-item.web-only{display:flex!important}
/* On a phone-sized browser the website keeps its links in the top bar, like the public pages; the bottom tab bar is
   the phone app's. */
.browser-mode .appbar nav{position:static;transform:none;background:transparent;box-shadow:none;padding:0;min-height:0;height:auto;align-self:stretch;justify-content:flex-end;gap:2px}
.browser-mode .appbar .nav-item{flex:none;min-height:44px;flex-direction:row;align-items:center;gap:0;padding:0 14px;color:#fff;opacity:.8;font-size:15px;font-weight:700;letter-spacing:0;border:0;border-bottom:3px solid transparent;border-radius:0}
.browser-mode .appbar .nav-item.active{color:#fff;opacity:1;border-bottom-color:#fff}
.browser-mode .appbar .nav-item .nav-icon{display:none}
@media(max-width:650px){.browser-mode .appbar .nav-item{padding:0 11px}}
.browser-mode .gate-card a.linkbtn.web-only{display:block!important}

#shopping-location-zip{width:150px;min-width:0;flex:1;max-width:240px}#shopping-location-form label{display:block;margin-bottom:8px;font-weight:650}
