/* Targeted polish update: background, store details, route strength, Option 2 text, admin refresh states */
:root{--polish-bg:#f2f5f1;--polish-surface:#ffffff;--polish-soft:#e9f3ec;--polish-line:#dfe6e0;--polish-ink:#172019;--polish-muted:#667169;--polish-green:#2f8f57}
body:not(:has(.admin-shell)){background:var(--polish-bg)}
body:not(:has(.admin-shell)) .app{background:transparent}
body:not(:has(.admin-shell)) header{background:rgba(242,245,241,.92)}
body:not(:has(.admin-shell)) main:before{content:"";position:fixed;z-index:-1;inset:110px 0 0;background:linear-gradient(180deg,rgba(233,243,236,.6),rgba(242,245,241,0) 320px);pointer-events:none}
/* Exact request: Option 2 call-to-action text remains white. */
#plans .plan-card:not(.selected) .plan-select{color:#fff!important;background:#4f6657!important;border-color:#4f6657!important}
/* Premium store summary */
#storeDetails{margin-top:18px}
.store-summary-screen{display:grid;gap:15px}
.store-summary-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;background:#fff;border:1px solid var(--polish-line);border-radius:22px;padding:20px;box-shadow:0 12px 34px rgba(26,53,35,.08)}
.store-summary-identity{display:flex;gap:13px;align-items:center;min-width:0}.store-summary-identity .store-logo{width:52px;height:52px;border-radius:15px;background:var(--polish-soft);display:grid;place-items:center;flex:0 0 auto}.store-summary-label{font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:#557160}.store-summary-identity h2{font-size:24px;line-height:1.05;margin:4px 0 5px;color:var(--polish-ink)}.store-summary-identity p{margin:0;color:var(--polish-muted);font-size:13px}.store-checkout{text-align:right}.store-checkout small,.store-checkout span{display:block;color:var(--polish-muted);font-size:12px}.store-checkout strong{display:block;font-size:27px;line-height:1.1;margin:4px 0;color:var(--polish-ink)}
.store-reason-panel,.store-cost-summary,.store-basket-groups,.store-missing-note{background:#fff;border:1px solid var(--polish-line);border-radius:18px;padding:18px}.store-reason-panel h3{margin:0 0 12px;font-size:17px}.store-reason-panel>div{display:flex;align-items:center;gap:10px;padding:8px 0;color:#35443a}.reason-check{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:var(--polish-soft);color:var(--polish-green);font-weight:900;font-size:12px}.store-cost-summary>div{display:flex;justify-content:space-between;padding:8px 0;color:var(--polish-muted)}.store-cost-summary strong{color:var(--polish-ink)}.store-cost-summary .store-cost-total{border-top:1px solid var(--polish-line);margin-top:7px;padding-top:14px;font-size:18px;color:var(--polish-ink)}
.store-basket-heading{display:flex;justify-content:space-between;align-items:end;padding:5px 3px 0}.store-basket-heading h3{margin:4px 0 0;font-size:20px}.store-basket-heading>span{font-size:13px;color:var(--polish-muted)}.store-basket-groups{padding:0;overflow:hidden}.basket-category{border-bottom:1px solid var(--polish-line)}.basket-category:last-child{border-bottom:0}.basket-category summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:16px 18px;cursor:pointer;font-weight:750}.basket-category summary::-webkit-details-marker{display:none}.basket-category summary span:last-child{font-size:12px;color:var(--polish-muted);font-weight:600}.basket-category-items{padding:0 18px 8px}.basket-line{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #edf1ee}.basket-line-main{display:flex;gap:11px;align-items:center;min-width:0}.basket-line-main strong,.basket-line-price strong{display:block}.basket-line-main small,.basket-line-price small{display:block;color:var(--polish-muted);font-size:12px;margin-top:3px}.basket-line-price{text-align:right;white-space:nowrap}.unavailable-text{color:#805e25}.store-missing-note{background:#fffaf0;border-color:#eee1c7}.store-missing-note strong,.store-missing-note span{display:block}.store-missing-note span{margin-top:4px;color:#736750;font-size:13px}.store-primary-action{border-radius:14px!important;min-height:52px}
/* Stronger start-shopping screen without weak nested message boxes */
.start-shopping-screen{display:grid;gap:16px}.start-shopping-hero{padding:7px 2px 0}.start-kicker{font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:var(--polish-green)}.start-shopping-hero h2{font-size:31px;letter-spacing:-.04em;line-height:1.03;margin:7px 0 7px;color:var(--polish-ink)}.start-shopping-hero p{margin:0;color:var(--polish-muted);font-size:15px}.start-impact{display:grid;grid-template-columns:1.4fr 1fr 1fr;background:#193726;color:#fff;border-radius:20px;padding:19px 17px;box-shadow:0 14px 36px rgba(15,48,29,.17)}.start-impact>div{padding:0 13px;border-right:1px solid rgba(255,255,255,.18)}.start-impact>div:first-child{padding-left:0}.start-impact>div:last-child{border:0;padding-right:0}.start-impact small{display:block;color:rgba(255,255,255,.7);font-size:11px;margin-bottom:5px}.start-impact strong{display:block;font-size:20px}.start-route-block,.start-cost-lines{background:#fff;border:1px solid var(--polish-line);border-radius:20px;padding:18px}.start-section-heading{display:flex;justify-content:space-between;align-items:center;font-weight:800;margin-bottom:5px}.start-section-heading small{color:var(--polish-muted);font-weight:600}.route-steps{display:flex;gap:12px;overflow:auto;padding:12px 0 4px}.route-step{display:flex;align-items:center;gap:9px;min-width:max-content}.route-step>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--polish-soft);color:var(--polish-green);font-size:12px;font-weight:800}.route-step strong,.route-step small{display:block}.route-step small{font-size:11px;color:var(--polish-muted);margin-top:2px}.start-cost-lines>div{display:flex;justify-content:space-between;padding:10px 1px;color:var(--polish-muted)}.start-cost-lines strong{color:var(--polish-ink)}.start-cost-lines .start-cost-total{border-top:1px solid var(--polish-line);padding-top:16px;margin-top:6px;font-size:19px;color:var(--polish-ink)}.start-ready-message{padding:17px 18px;border-left:4px solid var(--polish-green);background:#eaf4ed;border-radius:4px 15px 15px 4px}.start-ready-message strong,.start-ready-message span{display:block}.start-ready-message span{color:#506259;font-size:13px;margin-top:4px}.start-shopping-screen #startNavigationButton{min-height:55px;border-radius:14px;font-size:16px;font-weight:800}.route-map-fallback{flex-direction:column;gap:6px}.route-map-fallback strong,.route-map-fallback span{display:block}.route-map-fallback span{font-size:13px}
/* Admin refresh now visibly clears stale rows while loading */
#aliasCandidateRows td,#adminReceiptRows td{transition:opacity .15s ease}
@media(max-width:520px){.store-summary-hero{grid-template-columns:1fr}.store-checkout{text-align:left;border-top:1px solid var(--polish-line);padding-top:14px}.start-impact{grid-template-columns:1fr 1fr}.start-impact>div{border:0;padding:8px 10px}.start-impact>div:first-child{grid-column:1/-1;border-bottom:1px solid rgba(255,255,255,.18);padding:0 0 14px;margin-bottom:4px}.store-summary-hero,.store-reason-panel,.store-cost-summary{padding:16px}.start-route-block,.start-cost-lines{padding:15px}}
/* Targeted Home category and savings corrections */
.category-line-icon{width:36px;height:36px;display:grid;place-items:center;color:#1d8a46}
.category-line-icon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.popular-product .category-line-icon + span{font-size:10px;font-weight:740;line-height:1.1;text-align:center}
.extra-category{display:none!important}.popular-grid.show-all .extra-category{display:flex!important}
#homeSavings .muted,#homeSavings .price,#homeSavings .mini-trend{color:#172019!important;text-shadow:none!important}
#homeSavings{background:linear-gradient(135deg,#fbfffb 0%,#eef8f0 100%)!important;border-color:#d4e8d8!important}
.admin-hero-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.reset-receipt-card{max-width:460px;text-align:center}
.destructive-icon{width:48px;height:48px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:#fff0f0;color:#c83232;font-size:24px;font-weight:900;border:1px solid #f2caca}
.reset-confirm-label{display:block;text-align:left;margin:18px 0 7px;font-size:13px;color:#49514c}
#resetReceiptConfirm{text-transform:uppercase;letter-spacing:.12em;font-weight:800}
#confirmResetReceiptButton:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:640px){.admin-hero-actions{width:100%;justify-content:stretch}.admin-hero-actions button{flex:1}}
/* Targeted live-route map markers */
.sulit-map-pin{background:transparent;border:0}
.sulit-map-pin span{display:block;width:100%;height:100%;border-radius:50%;box-sizing:border-box;box-shadow:0 3px 9px rgba(24,55,36,.25)}
.sulit-map-pin.user-pin span{background:#fff;border:5px solid #246f45}
.sulit-map-pin.store-pin span{background:#2f8f57;border:4px solid #fff}
.route-map-fallback .compact-button{margin-top:8px;min-height:38px;padding:8px 14px;width:auto}
