:root{--green:#0b7a3e;--green2:#075c30;--soft:#e9f5ee;--ink:#17251d;--muted:#718078;--bg:#f5f7f6;--line:#e1e7e3;--red:#b53c3c}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--ink);padding-bottom:calc(96px + env(safe-area-inset-bottom))}button,input,select{font:inherit}.app-shell{max-width:720px;margin:auto;padding:18px 16px 50px}.budget-row,.cart-controls,.cart-main,.modal-head,.section-title-row,.topbar,.total-head{display:flex;align-items:center;justify-content:space-between}.topbar{margin-bottom:16px}.eyebrow{font-size:.68rem;font-weight:850;letter-spacing:.12em;color:var(--muted);margin:0 0 3px}h1,h2,h3{margin:0}.icon-btn{border:0;background:#fff;border-radius:12px;width:42px;height:42px}.total-card{background:linear-gradient(135deg,var(--green),var(--green2));padding:22px;border-radius:26px}.pill,.price-source{border-radius:999px;padding:5px 9px;font-size:.72rem}.grand-total{font-size:3.3rem;font-weight:900;letter-spacing:-.05em;margin:12px 0 18px}.budget-row small,.budget-row strong{display:block}.budget-right{text-align:right}.progress-track{height:7px;background:#ffffff30;border-radius:9px;margin-top:15px;overflow:hidden}.progress-bar{height:100%;background:#fff}.scan-actions{padding:18px 0}.mode-toggle{display:grid;grid-template-columns:1fr 1fr;background:#e8edea;padding:4px;border-radius:14px;margin-bottom:10px}.mode{border:0;background:transparent;padding:10px;border-radius:11px;font-weight:800;color:var(--muted)}.mode.active{background:#fff;color:var(--green)}.scan-btn{width:100%;border:0;border-radius:18px;background:var(--ink);color:#fff;padding:16px;display:flex;gap:14px;text-align:left;align-items:center}.scan-btn small,.scan-btn strong{display:block}.scan-btn small{opacity:.65;margin-top:2px}.scan-icon{font-size:1.8rem}.finish-btn,.primary-btn,.secondary-btn{width:100%;padding:14px;border-radius:14px;font-weight:800;margin-top:10px}.secondary-btn{background:#fff;border:1px solid var(--line)}.finish-btn,.primary-btn{border:0;background:var(--green);color:#fff}.finish-btn:disabled,.primary-btn:disabled{opacity:.35}.receipt-shortcut{margin-top:10px;width:100%;min-height:66px;padding:11px 14px;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;color:var(--ink);text-decoration:none;box-shadow:0 3px 14px #1733220a}.receipt-shortcut-icon{width:40px;height:40px;border-radius:12px;background:var(--soft);color:var(--green);display:grid;place-items:center;font-size:1.35rem;font-weight:900;flex:0 0 auto}.receipt-shortcut span:nth-child(2){min-width:0;flex:1 1}.receipt-shortcut small,.receipt-shortcut strong{display:block}.receipt-shortcut strong{font-size:.94rem}.receipt-shortcut small{font-size:.72rem;color:var(--muted);margin-top:2px}.receipt-shortcut b{font-size:1.8rem;font-weight:400;color:#7b8981}.cart-section{margin-top:5px}.delete-item,.text-btn{border:0;background:transparent;color:var(--red);font-weight:800}.cart-list{display:grid;grid-gap:10px;gap:10px;margin-top:10px}.cart-item,.empty-state,.summary-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px}.cart-name{font-weight:800}.cart-meta{font-size:.75rem;color:var(--muted);margin-top:4px}.price-source{display:inline-block;background:var(--soft);color:var(--green2);margin-top:6px}.cart-price{text-align:right}.cart-price small,.cart-price strong{display:block}.cart-controls{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.qty-control{display:flex;gap:12px;align-items:center}.qty-control button{width:34px;height:34px;background:#fff;border:1px solid var(--line);border-radius:10px}.empty-state{text-align:center;color:var(--muted);padding:35px 20px}.empty-state h3{color:var(--ink);margin:8px}.summary-card{display:grid;grid-template-columns:repeat(3,1fr);margin:15px 0;text-align:center}.summary-card span,.summary-card strong{display:block}.disclaimer,.summary-card span{font-size:.7rem;color:var(--muted)}.disclaimer{text-align:center}.hidden{display:none!important}.modal{position:fixed;inset:0;background:#10191488;z-index:80;display:flex;align-items:flex-end}.modal-sheet{background:#fff;width:min(720px,100%);margin:auto;padding:20px 18px 28px;border-radius:26px 26px 0 0;max-height:92vh;overflow:auto}.modal label{font-size:.8rem;font-weight:800;display:block;margin:12px 0 6px}.modal input,.modal select{width:100%;padding:14px;border:1px solid #d7dfda;border-radius:13px}.scanner-sheet{padding-top:14px}.scanner-mode-banner{text-align:center;padding:10px;border-radius:12px;font-weight:850;margin:10px 0 14px;background:var(--soft);color:var(--green2)}.video-wrap{position:relative;overflow:hidden;border-radius:24px;background:#0c0f0d;aspect-ratio:3/4}.video-wrap video{width:100%;height:100%;object-fit:cover}.scan-frame{position:absolute;inset:31% 9%;border:0;border-radius:20px;box-shadow:0 0 0 999px #00000028}.scan-frame:after,.scan-frame:before{content:"";position:absolute;inset:0;border-radius:20px;border:3px solid #fff}.scanner-status{text-align:center;color:var(--muted);font-weight:700;line-height:1.35;min-height:44px;margin:14px 6px 4px}.review-scan-result{position:absolute;left:14px;right:14px;bottom:18px;z-index:6;display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;background:#fff;box-shadow:0 14px 36px #0005;transform:translateY(16px) scale(.98);opacity:0;transition:.18s ease;border:2px solid transparent}.review-scan-result.show{transform:translateY(0) scale(1);opacity:1}.review-scan-result.ok{border-color:#2b9b60;background:#f0fbf5}.review-scan-result.repeat{border-color:#d5a127;background:#fff9e9}.review-scan-result.error{border-color:#d34c4c;background:#fff1f1}.review-result-icon{width:48px;height:48px;flex:0 0 48px;border-radius:50%;display:grid;place-items:center;font-size:1.65rem;font-weight:950;color:#fff}.review-scan-result.ok .review-result-icon{background:#13804a}.review-scan-result.repeat .review-result-icon{background:#b77b00}.review-scan-result.error .review-result-icon{background:#bd3434}.review-result-copy{min-width:0}.review-result-copy small,.review-result-copy span,.review-result-copy strong{display:block}.review-result-copy strong{font-size:1rem;white-space:normal;overflow:visible;line-height:1.25}.review-result-copy span{font-size:.78rem;line-height:1.3;margin-top:2px}.review-result-copy small{font-size:.66rem;color:#66736b;margin-top:5px}.bottom-nav{position:fixed;z-index:60;left:0;right:0;bottom:0;padding:7px 10px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);border-top:1px solid rgba(225,231,227,.9);box-shadow:0 -8px 28px rgba(20,45,31,.07);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.bottom-nav-inner{max-width:720px;margin:auto;display:grid;grid-template-columns:repeat(5,1fr);grid-gap:3px;gap:3px;align-items:end}.bottom-nav-item{min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:15px;color:#657168;text-decoration:none;font-size:.72rem;font-weight:650}.bottom-nav-icon{width:27px;height:27px;display:grid;place-items:center;border-radius:11px}.bottom-nav-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9}.bottom-nav-item.active{color:var(--green);font-weight:850}.bottom-nav-item.active .bottom-nav-icon{background:var(--soft);width:48px}.review-progress-head{display:flex;align-items:end;justify-content:space-between;margin:18px 0 8px}.review-progress-head div{display:flex;flex-direction:column;gap:2px}.review-progress-head span{font-size:.72rem;color:var(--muted);font-weight:750}.review-progress-head strong{font-size:1.35rem}.review-progress-head b{color:var(--green);font-size:1.05rem}.review-track{height:9px;background:#e7ece9;border-radius:99px;overflow:hidden}.review-track i{display:block;height:100%;background:var(--green);border-radius:99px;transition:.25s}.review-progress-head+.review-track+small{display:block;color:var(--muted);margin-top:7px}.review-alert{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-radius:15px;margin:12px 0;line-height:1.3}.review-alert strong{font-size:.9rem}.review-alert span{font-size:.78rem}.review-alert.success{background:#e8f6ee;color:#086a38}.review-alert.warning{background:#fff5d9;color:#805d00}.review-alert.info{background:#edf5f0;color:#285d40}.review-alert.neutral{background:#f2f4f3;color:#46554d}.review-alert.error{background:#fceeee;color:#9b2d2d}.review-loading{display:flex;align-items:center;gap:12px;padding:16px 0}.review-loading>span{width:22px;height:22px;border:3px solid #dce7e0;border-top:3px solid var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}#deliveryBranch{display:flex;flex-direction:column;margin:8px 0 4px;padding:10px 12px;background:#f5f8f6;border-radius:12px}#deliveryBranch span{font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}#deliveryBranch strong{font-size:.88rem;margin-top:2px}#deliveryItems{margin-top:14px;display:grid;grid-gap:7px;gap:7px}.review-item{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff;transition:.25s ease}.review-item-mark{width:30px;height:30px;flex:0 0 30px;border-radius:50%;display:grid;place-items:center;background:#f0f3f1;color:#849088;font-weight:900}.review-item-main{min-width:0;flex:1 1}.review-item-main small,.review-item-main strong,.review-item-state span,.review-item-state strong{display:block}.review-item-main strong{font-size:.91rem;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.22;overflow-wrap:anywhere}.review-item-main small{font-size:.7rem;color:var(--muted);margin-top:3px}.review-item-state{text-align:right;flex:0 0 auto}.review-item-state strong{font-size:1rem}.review-item-state span{font-size:.7rem;margin-top:2px;color:var(--muted)}.review-item.done{background:#edf9f2;border-color:#b7e3c9}.review-item.done .review-item-mark{background:#118049;color:#fff}.review-item.done .review-item-state,.review-item.done .review-item-state span{color:#08713e}.review-item.partial{background:#fff9e8;border-color:#efd48b}.review-item.partial .review-item-mark{background:#c58b00;color:#fff}.review-item.partial .review-item-state,.review-item.partial .review-item-state span{color:#876100}.review-item.recent{box-shadow:0 0 0 3px #0b7a3e18,0 6px 18px #183c2810}.review-item.partial.recent{box-shadow:0 0 0 3px #d59b181f,0 6px 18px #183c2810}.missing-confirm-btn{margin-top:7px;border:1px solid #c7ddcf;background:#f3faf6;color:var(--green2);border-radius:9px;padding:6px 9px;font-size:.7rem;font-weight:800}#deliveryCodeForm{padding:12px;background:#f7f9f8;border-radius:15px}#deliveryCodeForm label{font-size:.76rem;font-weight:800}#deliveryCodeForm input{min-width:0;border:1px solid #d7dfda;border-radius:12px;padding:12px}#deliveryCodeForm small{display:block;color:var(--muted);font-size:.7rem;margin-top:6px}#sharedCartBar{margin:0 0 14px}.shared-live{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 5px 20px #1733220b}.shared-live>div:first-child{min-width:0}.shared-live small,.shared-live strong{display:block}.shared-live strong{font-size:.94rem}.shared-live small{font-size:.72rem;color:var(--muted);margin-top:3px;line-height:1.25}.shared-actions{display:flex;gap:7px;flex:0 0 auto}.shared-actions button{border:0;border-radius:11px;padding:9px 12px;font-size:.76rem;font-weight:850;background:var(--soft);color:var(--green2)}.shared-actions button:last-child{background:var(--green);color:#fff}.shared-action-choices{align-items:stretch}.shared-action-choices button{display:flex;align-items:center;gap:7px;min-width:98px;padding:8px 10px;text-align:left}.shared-action-choices button>span:last-child{min-width:0}.shared-action-choices button strong{font-size:.76rem;line-height:1.05}.shared-action-choices button small{font-size:.58rem;line-height:1.15;margin-top:3px;color:inherit;opacity:.72;white-space:nowrap}.shared-action-icon{font-size:1.05rem;line-height:1;font-weight:950}.shared-modal{position:fixed;inset:0;z-index:120;background:#10191499;display:flex;align-items:flex-end;padding-top:30px}.shared-sheet{position:relative;width:min(620px,100%);max-height:94vh;overflow:auto;margin:0 auto;background:#fff;border-radius:28px 28px 0 0;padding:12px 18px 28px;box-shadow:0 -15px 50px #0003}.shared-grabber{width:42px;height:5px;border-radius:99px;background:#d9dfdb;margin:0 auto 16px}.shared-x{position:absolute;right:16px;top:16px;width:38px;height:38px;border:0;border-radius:12px;background:#f3f6f4;font-size:1.5rem;color:#526158}.shared-title{display:flex;gap:12px;align-items:center;padding-right:44px}.join-head h2,.shared-title h2{font-size:1.45rem}.join-head p,.shared-title p{font-size:.82rem;color:var(--muted);line-height:1.4;margin:5px 0 0}.shared-people{width:48px;height:48px;border-radius:15px;background:var(--soft);display:grid;place-items:center;font-size:1.35rem}.share-grid{display:grid;grid-gap:12px;gap:12px;margin-top:18px}.code-card,.qr-card{border:1px solid var(--line);border-radius:18px;padding:15px;text-align:center;background:#fbfcfb}.code-card h3,.qr-card h3{font-size:.83rem;margin-bottom:10px}.join-qr{display:block;width:min(230px,75vw);aspect-ratio:1;margin:0 auto 9px;border-radius:12px}.code-card small,.qr-card small{font-size:.7rem;color:var(--muted)}.big-code{width:100%;border:1px solid #cde2d5;background:#eff8f3;color:var(--green2);border-radius:15px;padding:14px;display:flex;align-items:center;justify-content:center;gap:12px}.big-code span{font-size:1.7rem;letter-spacing:.16em;font-weight:950}.share-or{text-align:center;color:var(--muted);font-size:.72rem;margin:10px 0}.join-submit,.more-share,.scan-join-btn,.shared-close-btn,.wa-btn{width:100%;border:0;border-radius:13px;padding:13px;font-weight:850}.join-submit,.wa-btn{background:var(--green);color:#fff}.more-share,.scan-join-btn,.shared-close-btn{background:#f0f4f1;color:var(--ink);margin-top:7px}.safe-share{display:flex;gap:9px;align-items:flex-start;background:#f4f8f5;border-radius:14px;padding:12px;margin:13px 0}.safe-share b,.safe-share span{font-size:.72rem}.safe-share span{color:var(--muted)}.join-head{padding:4px 44px 10px 2px}.join-camera{position:relative;margin-top:10px;border-radius:18px;overflow:hidden;background:#111;aspect-ratio:4/3}.join-camera video{width:100%;height:100%;object-fit:cover}.join-frame{position:absolute;inset:18%;border:3px solid #fff;border-radius:15px}.join-camera p{position:absolute;left:10px;right:10px;bottom:7px;color:#fff;text-align:center;font-size:.72rem;font-weight:750}.join-code-input{width:100%;text-align:center;text-transform:uppercase;letter-spacing:.2em;font-size:1.45rem;font-weight:900;padding:14px;border:1px solid #d5ddd8;border-radius:13px}.join-help{text-align:center;color:var(--muted);font-size:.7rem}.shared-close-btn{margin-top:0}#sharedReviewMount{margin:0 0 14px}#sharedReviewActions{margin:0;padding:0;background:transparent;border:0;border-radius:0}#sharedReviewActions>div:first-child{margin:0!important}#sharedReviewActions .secondary-btn{min-height:48px;margin:0!important;border-radius:13px;background:#fff;color:var(--ink);box-shadow:0 2px 8px #17332208}#sharedReviewActions .secondary-btn:first-child{background:var(--green);border-color:var(--green);color:#fff}#sharedReviewState{margin:10px 0 0!important;background:#eaf6ef;border:1px solid #c9e6d4;color:var(--green2)}@media(min-width:560px){.share-grid{grid-template-columns:1fr 1fr}}@media(min-width:720px){.modal{align-items:center}.modal-sheet{border-radius:26px;max-width:580px}.shared-modal{align-items:center;padding:20px}.shared-sheet{border-radius:28px}.bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:min(680px,calc(100% - 24px));bottom:12px;border:1px solid var(--line);border-radius:22px;padding:7px}body{padding-bottom:110px}}.bottom-nav-item.bottom-nav-upload{position:relative;margin-top:-24px;gap:5px;color:var(--brand-blue);font-weight:850}.bottom-nav-item.bottom-nav-upload .bottom-nav-icon,.bottom-nav-item.bottom-nav-upload.active .bottom-nav-icon{width:58px;height:58px;border-radius:20px;background:linear-gradient(145deg,var(--brand-blue),var(--brand-blue-deep));color:#fff;border:4px solid #fff;box-shadow:0 10px 24px rgba(0,87,242,.32)}.bottom-nav-item.bottom-nav-upload .bottom-nav-icon svg{width:27px;height:27px;stroke-width:1.9}.bottom-nav-item.bottom-nav-upload:active .bottom-nav-icon{transform:scale(.95)}.bottom-nav-label{white-space:nowrap}.receipt-page-hero{position:relative;overflow:hidden;padding:24px;border-radius:26px;background:linear-gradient(145deg,var(--brand-blue),var(--brand-blue-deep));color:#fff;box-shadow:0 18px 42px rgba(0,87,242,.2)}.receipt-page-hero:after{content:"";position:absolute;width:170px;height:170px;right:-55px;top:-65px;border-radius:50%;background:rgba(58,251,168,.22)}.receipt-page-hero-icon{position:relative;z-index:1;width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#fff;color:var(--brand-blue);box-shadow:0 10px 25px rgba(0,43,145,.2)}.receipt-page-hero-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.receipt-page-hero h2{position:relative;z-index:1;font-size:1.65rem;margin:16px 0 7px}.receipt-page-hero p{position:relative;z-index:1;margin:0;line-height:1.45;max-width:520px}.receipt-benefits{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:9px;gap:9px;margin-top:14px}.receipt-benefit{padding:12px 8px;border:1px solid var(--line);border-radius:15px;background:#fff;text-align:center}.receipt-benefit span,.receipt-benefit strong{display:block}.receipt-benefit strong{font-size:.82rem;color:var(--ink)}.receipt-benefit span{margin-top:3px;font-size:.68rem;color:var(--muted)}#boletaMain #receiptBtn{min-height:76px;margin-top:0;border:0;background:linear-gradient(135deg,var(--brand-blue),var(--brand-blue-deep));color:#fff;border-radius:19px;box-shadow:0 12px 28px rgba(0,87,242,.24);font-size:1rem}#boletaMain #receiptBtn small{display:block;margin-top:5px;color:#fff;opacity:.82}#boletaMain #receiptPanel{border:1px solid var(--line)}@media(max-width:380px){.bottom-nav-item{font-size:.66rem}.bottom-nav-item.bottom-nav-upload .bottom-nav-icon,.bottom-nav-item.bottom-nav-upload.active .bottom-nav-icon{width:54px;height:54px}.receipt-benefits{grid-template-columns:1fr}}@media(max-width:440px){.shared-choice-card{flex-direction:column;align-items:stretch;gap:10px}.shared-choice-card .shared-action-choices{display:grid;grid-template-columns:1fr 1fr;width:100%}.shared-choice-card .shared-action-choices button{justify-content:center;min-height:48px}}.category-status{position:relative;overflow:hidden}.category-status:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#cbd5cf}.category-status-value{font-size:.88rem;text-align:right}.category-status.collected:before{background:var(--brand-mint)}.category-status.collected .category-status-value{font-size:1rem;color:var(--ink)}.category-status.pending{background:#fafbfb}.category-status.pending .category-status-value{color:#66736b;background:#edf1ef;border-radius:999px;padding:5px 9px}.category-status.empty:before{background:#d59b18}.category-status.empty .category-status-value{color:#805d00;background:#fff5d9;border-radius:999px;padding:5px 9px}.category-status.error:before{background:#c43d3d}.category-status.error .category-status-value{color:#9b2d2d;background:#fceeee;border-radius:999px;padding:5px 9px}.store-context-card{display:flex;align-items:center;gap:13px;margin:0 0 14px;padding:13px 14px;border:1px solid #dbe6f5;border-radius:18px;background:#fff;box-shadow:0 6px 22px rgba(19,35,58,.07)}.store-context-card.compact{margin-top:12px;box-shadow:none;background:#f8faff}.store-context-logo{width:76px;height:46px;flex:0 0 76px;object-fit:contain;border-radius:11px;border:1px solid #e3eaf3;background:#fff}.store-context-copy{min-width:0;flex:1 1}.store-context-copy small,.store-context-copy span,.store-context-copy strong{display:block}.store-context-copy span{font-size:.67rem;line-height:1.2;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:850}.store-context-copy strong{margin-top:2px;font-size:1.02rem;color:var(--ink)}.store-context-copy small{margin-top:3px;font-size:.75rem;line-height:1.35;color:#526274;overflow-wrap:anywhere}.store-context-status{flex:0 0 auto;align-self:flex-start;padding:5px 8px;border-radius:999px;background:#e8f8ef;color:#08713e;font-size:.66rem;white-space:nowrap}#reviewStoreContext{margin-top:0}@media(max-width:390px){.store-context-logo{width:64px;height:42px;flex-basis:64px}.store-context-card{gap:10px;padding:11px}.store-context-status{display:none}}.cart-item{position:relative;overflow:hidden}.cart-item:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:4px;border-radius:0 4px 4px 0;background:#0b78f6;pointer-events:none}.pwa-install{position:fixed;left:12px;right:12px;bottom:calc(78px + env(safe-area-inset-bottom));z-index:70;max-width:620px;margin:0 auto;min-height:66px;padding:10px 42px 10px 10px;display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.98);border:1px solid #e1e7e3;border-radius:18px;box-shadow:0 10px 32px rgba(20,45,31,.16);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.pwa-install>img{display:block!important;width:42px!important;height:42px!important;max-width:42px!important;max-height:42px!important;min-width:42px;object-fit:contain;border-radius:11px;flex:0 0 42px}.pwa-install-copy{min-width:0;flex:1 1;line-height:1.15}.pwa-install-copy span,.pwa-install-copy strong{display:block}.pwa-install-copy strong{font-size:.84rem;font-weight:850;color:#17251d}.pwa-install-copy span,.pwa-install-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pwa-install-copy span{margin-top:3px;font-size:.66rem;color:#718078}.pwa-install-action{flex:0 0 auto;border:0;border-radius:11px;background:#0b7a3e;color:#fff;padding:9px 12px;font-size:.73rem;font-weight:850;cursor:pointer}.pwa-close{position:absolute;right:7px;top:7px;width:28px;height:28px;padding:0;border:0;border-radius:9px;background:transparent;color:#718078;font-size:1.25rem;line-height:28px;cursor:pointer}@media(max-width:390px){.pwa-install{left:8px;right:8px;gap:8px;padding-left:8px}.pwa-install>img{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;min-width:38px;flex-basis:38px}.pwa-install-copy span{display:none}.pwa-install-action{padding:8px 10px}}:root{--brand-blue:#006ffd;--brand-blue-deep:#0057f2;--brand-blue-dark:#0648c8;--brand-mint:#3afba8;--brand-mint-ink:#08b970;--brand-cyan:#75f4f7;--green:var(--brand-blue);--green2:var(--brand-blue-deep);--soft:#eaf2ff;--ink:#13233a;--muted:#687789;--bg:#f6f9ff;--line:#dfe8f5}body{background:linear-gradient(180deg,#f5f9ff,#fff 260px)}.topbar{min-height:54px}.topbar>div:first-child{min-height:48px;padding-left:58px}.topbar>div:first-child:before{width:46px;height:46px;border-radius:13px;background:#006ffd url(/icons/comprasmart-brand.jpg?v=7) 50%/cover no-repeat;box-shadow:0 8px 22px rgba(0,91,232,.2)}.topbar h1{letter-spacing:-.045em;background:linear-gradient(90deg,var(--brand-blue) 0 62%,var(--brand-mint-ink) 62% 100%);-webkit-background-clip:text;background-clip:text;color:transparent}.total-card{background:linear-gradient(135deg,var(--brand-blue),var(--brand-blue-deep));color:#fff;box-shadow:0 18px 42px rgba(0,87,242,.2)}.bottom-nav-item.active,.mode.active,.receipt-shortcut-icon{color:var(--brand-blue)}.bottom-nav-item.active .bottom-nav-icon,.receipt-shortcut-icon{background:#eaf2ff}.finish-btn,.primary-btn,.progress-bar{background:var(--brand-blue)}.finish-btn,.primary-btn,.pwa-install-action{box-shadow:0 8px 20px rgba(0,87,242,.18)}.scan-btn{background:var(--brand-blue-deep)}.price-source{background:#eaf2ff;color:var(--brand-blue-dark)}.pill{background:#ffffff2b}.review-track i{background:linear-gradient(90deg,var(--brand-blue),var(--brand-mint))}.pwa-install-action{background:var(--brand-blue)}.pwa-install{border-color:#dbe7fb}.pwa-install>img{background:var(--brand-blue)}.bottom-nav-item:focus-visible,.finish-btn:focus-visible,.icon-btn:focus-visible,.primary-btn:focus-visible,.scan-btn:focus-visible,.secondary-btn:focus-visible{outline:3px solid var(--brand-cyan);outline-offset:3px}::selection{background:var(--brand-mint);color:#063b32}@media(max-width:380px){.topbar>div:first-child{padding-left:52px}.topbar>div:first-child:before{width:42px;height:42px;border-radius:12px}}.topbar{gap:12px}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}.header-icon-btn{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--brand-blue-dark);text-decoration:none;box-shadow:0 5px 16px rgba(19,35,58,.08);cursor:pointer;font-size:0;line-height:0;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease;-webkit-tap-highlight-color:transparent}.header-icon-btn:before{content:"";display:block;width:22px;height:22px;background:currentColor;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain}.header-action-home:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5.5 9.5V21h13V9.5M9 21v-7h6v7'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5.5 9.5V21h13V9.5M9 21v-7h6v7'/%3E%3C/svg%3E")}.header-action-back:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E")}.header-action-settings:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3C/svg%3E")}.header-action-refresh:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 1 0 2 5.5'/%3E%3Cpath d='M20 4v7h-7'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 1 0 2 5.5'/%3E%3Cpath d='M20 4v7h-7'/%3E%3C/svg%3E")}.header-icon-btn:active{transform:scale(.95);background:var(--soft)}.header-icon-btn:focus-visible{outline:3px solid var(--brand-cyan);outline-offset:3px}@media(hover:hover){.header-icon-btn:hover{border-color:#c8d9f1;background:#f8fbff;box-shadow:0 8px 20px rgba(19,35,58,.11)}}@media(max-width:380px){.topbar-actions{gap:7px}.header-icon-btn{width:42px;height:42px;min-width:42px;border-radius:13px}.header-icon-btn:before{width:21px;height:21px}}.feedback-settings{margin:18px 0 2px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#f8fbff}.feedback-settings legend{padding:0 6px;color:var(--ink);font-size:.82rem;font-weight:900}.feedback-settings>p{margin:0 0 8px;color:var(--muted);font-size:.72rem;line-height:1.4}.modal .feedback-option{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0;padding:11px 2px;border-top:1px solid #e5edf8;cursor:pointer}.feedback-option span{min-width:0}.feedback-option small,.feedback-option strong{display:block}.feedback-option strong{font-size:.84rem;color:var(--ink)}.feedback-option small{margin-top:2px;color:var(--muted);font-size:.7rem;font-weight:500}.modal .feedback-option input{width:24px;height:24px;min-width:24px;margin:0;accent-color:var(--brand-blue)}.scan-setup-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;padding:13px 14px;border:1px solid #bcd5fb;border-radius:16px;background:linear-gradient(135deg,#f2f7ff,#f8fffc);box-shadow:0 7px 20px rgba(0,87,242,.08)}.scan-setup-marker{width:38px;height:38px;border-radius:12px;background:#e2efff;position:relative}.scan-setup-marker:before{content:"";position:absolute;inset:9px;background:var(--brand-blue);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat}.scan-setup-card div{min-width:0}.scan-setup-card small,.scan-setup-card strong{display:block}.scan-setup-card strong{color:var(--ink);font-size:.84rem}.scan-setup-card small{margin-top:3px;color:var(--muted);font-size:.7rem;line-height:1.35}.scan-setup-card button{padding:9px 12px;border:0;border-radius:11px;background:var(--brand-blue);color:#fff;font-weight:800;white-space:nowrap;cursor:pointer}.scan-btn.needs-setup{background:linear-gradient(135deg,#316ecb,#1956b5)}.location-required-hint{display:flex;flex-direction:column;gap:3px;margin:0 0 16px;padding:12px 14px;border:1px solid #bcd5fb;border-radius:14px;background:#f1f7ff;color:var(--ink)}.location-required-hint strong{font-size:.82rem}.location-required-hint span{font-size:.72rem;color:var(--muted)}@media(max-width:520px){.scan-setup-card{grid-template-columns:38px minmax(0,1fr)}.scan-setup-card button{grid-column:1/-1;width:100%}}.location-detect-btn{display:flex;align-items:center;gap:12px;width:100%;margin:10px 0 0;padding:12px 14px;border:1px solid #bcd5fb;border-radius:14px;background:#f4f8ff;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.location-detect-btn:active{transform:scale(.99)}.location-detect-btn:disabled{cursor:progress;opacity:.72}.location-detect-btn>span:last-child{min-width:0}.location-detect-btn small,.location-detect-btn strong{display:block}.location-detect-btn strong{font-size:.84rem}.location-detect-btn small{margin-top:2px;color:var(--muted);font-size:.7rem;font-weight:500}.location-detect-icon{width:34px;height:34px;min-width:34px;border-radius:11px;background:#e1eeff;position:relative}.location-detect-icon:before{content:"";position:absolute;inset:8px;background:var(--brand-blue);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat}.location-privacy{margin:6px 2px 15px;color:var(--muted);font-size:.65rem;line-height:1.4}@media(hover:hover){.location-detect-btn:hover{border-color:#91bbf7;background:#edf5ff}}#scannerModal{background:rgba(8,18,35,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}#scannerModal .scanner-sheet{padding:14px 16px calc(22px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;max-height:96dvh;overflow:auto;box-shadow:0 -18px 50px rgba(5,24,48,.22)}#scannerModal .scanner-modal-head{gap:14px;padding:2px 2px 10px}#scannerModal .scanner-modal-head>div{min-width:0}#scannerModal .scanner-modal-head h2{font-size:1.42rem;line-height:1.15;letter-spacing:-.028em;color:var(--ink)}#scannerModal .scanner-modal-head .eyebrow{margin-bottom:4px;color:var(--brand-blue)}#scannerModal .scanner-modal-head .icon-btn{flex:0 0 42px;background:#f1f5fb;color:#31445f;font-size:1.1rem;cursor:pointer}#scannerModal .scanner-mode-banner{display:flex;align-items:center;justify-content:center;gap:8px;margin:4px 0 12px;padding:9px 12px;border:1px solid #cfe0fb;border-radius:999px;background:linear-gradient(135deg,#edf4ff,#f1fffa);color:var(--brand-blue-dark);font-size:.8rem;letter-spacing:.01em}#scannerModal .scanner-mode-banner:before{content:"+";display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--brand-blue);color:#fff;font-size:.92rem;font-weight:900;line-height:1}#scannerModal .scanner-mode-banner.remove:before{content:"−";background:#d45151}#scannerModal .video-wrap{aspect-ratio:4/3;max-height:50dvh;border-radius:22px;background:#07101d;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 12px 30px rgba(9,31,58,.18)}#scannerModal .video-wrap:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.08),transparent 35%,transparent 62%,rgba(0,0,0,.45))}#scannerModal .video-wrap video{position:relative;z-index:0}#scannerModal .scan-frame{z-index:2;inset:30% 8%;border-radius:18px;box-shadow:0 0 0 999px rgba(0,0,0,.28);pointer-events:none}#scannerModal .scan-frame:before{inset:0;border:2px solid #fff;border-radius:18px;box-shadow:0 0 0 1px rgba(255,255,255,.18),0 0 26px rgba(0,0,0,.22)}#scannerModal .scan-frame:after{content:"";position:absolute;left:7%;right:7%;top:50%;bottom:auto;height:2px;border:0;border-radius:3px;background:var(--brand-mint);box-shadow:0 0 10px var(--brand-mint);animation:scannerLine 1.8s ease-in-out infinite}#scannerModal .scanner-camera-help{position:absolute;left:50%;bottom:12px;z-index:3;width:max-content;max-width:90%;padding:7px 11px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(4,14,28,.72);color:#fff;text-align:center;transform:translateX(-50%);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none}#scannerModal .scanner-camera-help span,#scannerModal .scanner-camera-help strong{display:block}#scannerModal .scanner-camera-help strong{font-size:.7rem}#scannerModal .scanner-camera-help span{margin-top:1px;font-size:.61rem;opacity:.78}#scannerModal .scanner-status{position:relative;min-height:52px;margin:12px 0 2px;padding:11px 13px 11px 40px;border:1px solid #dfe7f1;border-radius:14px;background:#f7faff;color:#52647a;font-size:.78rem;font-weight:750;line-height:1.35;text-align:left}#scannerModal .scanner-status:before{content:"";position:absolute;left:15px;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:var(--brand-mint-ink);animation:scannerPulse 1.35s ease-out infinite}#scannerModal #scannerManual{min-height:50px;margin-top:9px;border-color:#d8e2ef;background:#fff;color:#24364f}@keyframes scannerLine{0%,to{transform:translateY(-34px);opacity:.55}50%{transform:translateY(34px);opacity:1}}@keyframes scannerPulse{0%{box-shadow:0 0 0 0 rgba(8,185,112,.34)}70%{box-shadow:0 0 0 8px rgba(8,185,112,0)}to{box-shadow:0 0 0 0 rgba(8,185,112,0)}}@media(max-width:420px){#scannerModal .scanner-sheet{padding-left:14px;padding-right:14px}#scannerModal .video-wrap{aspect-ratio:1.12/1;max-height:46dvh}#scannerModal .scan-frame{inset:31% 7%}}@media(prefers-reduced-motion:reduce){#scannerModal .scan-frame:after,#scannerModal .scanner-status:before{animation:none}}.topbar{width:100%;min-height:72px!important;display:flex;align-items:center;justify-content:space-between;gap:12px!important;margin:0 0 18px;padding:10px 0;box-sizing:border-box}.topbar>div:first-child{position:relative;min-width:0;min-height:52px!important;padding-left:62px!important;display:flex;flex-direction:column;justify-content:center}.topbar>div:first-child:before{content:"";position:absolute;left:0;top:50%;width:48px!important;height:48px!important;transform:translateY(-50%);border-radius:14px!important;background:#006ffd url(/icons/comprasmart-brand.jpg?v=13) 50%/cover no-repeat;box-shadow:0 7px 20px rgba(0,91,232,.18)}.topbar .eyebrow{margin:0 0 3px;font-size:11px;line-height:1.15;font-weight:900;letter-spacing:.075em;color:#687789;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar h1{margin:0;font-size:24px;line-height:1.08;font-weight:900;letter-spacing:-.035em}.topbar-actions{min-height:44px;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex:0 0 auto}.topbar .header-icon-btn{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border-radius:14px!important}@media(max-width:520px){.topbar{min-height:68px!important;margin-bottom:14px;padding:8px 0}.topbar>div:first-child{min-height:48px!important;padding-left:56px!important}.topbar>div:first-child:before{width:44px!important;height:44px!important;border-radius:13px!important}.topbar h1{font-size:22px}.topbar .eyebrow{font-size:10px}.topbar .header-icon-btn{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border-radius:13px!important}}