/* CREVARD — a focused, tactile grocery companion. */
@font-face{font-family:Manrope;src:url("assets/fonts/Manrope.ttf") format("truetype");font-weight:200 800;font-style:normal;font-display:swap}
:root{--ink:#191b16;--green:#20251c;--green-dark:#0e120b;--lime:#dcf768;--bg:#f5f3ed;--muted:#73776b;--line:#e2e2d8;--soft:#eeeee5;--cream:#f5f3ed;--accent:#dcf768;--radius:24px}
html{background:var(--cream);scroll-padding-top:88px}
body{background:var(--cream);font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;line-height:1.5}
body.modal-open{overflow:hidden}
button,input,select,textarea{font-family:inherit}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #606e25;outline-offset:4px}
button,a,summary{touch-action:manipulation}
button{font-weight:650}
button:disabled{opacity:.42}
::selection{background:var(--accent);color:var(--ink)}
.topbar,.at-home .topbar{height:84px;min-height:84px;padding:0 max(28px,calc((100vw - 1180px)/2));background:var(--cream);border:0;gap:24px;position:relative}
.brand{font-family:Manrope,sans-serif;font-weight:800;font-size:31px;letter-spacing:-2.1px;text-transform:lowercase;line-height:1;text-decoration:none;white-space:nowrap}
.brand-icon{display:none}
.brand-dot{color:var(--ink);position:relative}
.brand-dot:after{content:"";width:11px;height:6px;background:var(--accent);position:absolute;bottom:-4px;left:1px;transform:rotate(-9deg);border-radius:100%}
.topbar nav{gap:6px;align-items:center;height:auto}
.topbar .nav{border:0;border-radius:100px;padding:12px 20px;color:#6c7164;font-size:12px;display:flex;align-items:center;gap:8px;min-height:46px}
.topbar .nav.active{background:var(--ink);color:#fff}
.topbar .nav span.nav-label{background:none;padding:0;margin:0;font-size:12px;border-radius:0}
.nav-icon{display:block;width:18px;height:18px}
.header-actions{gap:8px}
.header-history,.area-trigger{border:1px solid #dedfd3;background:transparent;min-height:44px;display:flex;align-items:center;justify-content:center;border-radius:100px}
.header-history{position:relative;width:44px;padding:10px}
.header-history svg{width:20px;height:20px}
.header-history #navCount{position:absolute;top:-2px;right:-2px;min-width:16px;height:16px;border-radius:100px;background:var(--ink);color:white;font-size:9px;display:grid;place-items:center;border:2px solid var(--cream)}
.area-trigger{gap:5px;padding:9px 13px;font-size:12px;max-width:165px}
.area-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.area-trigger svg{width:15px;height:15px}
.area-trigger .area-chevron{width:12px;height:12px}
.topbar .scan-header{background:var(--ink);border:0;color:var(--accent);border-radius:100px;padding:11px;min-height:44px}
.topbar #aboutButton{display:none}
.at-home #scanTicketButton{display:none}
.shell{max-width:1180px;padding:24px 28px 40px}
.home-view{max-width:none;gap:24px;padding:8px 0 0}
.home-view .home-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:32px 52px;align-items:center}
.home-view .home-heading{padding:10px 0}
.home-kicker,.screen-kicker{display:flex;gap:8px;align-items:center;color:#686f5b;font-size:10px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:17px}
.home-kicker:before,.screen-kicker:before{content:"";width:6px;height:6px;border-radius:50%;background:#819a2e;box-shadow:0 0 0 4px #e8edda}
.home-view .home-heading h1{font-size:clamp(42px,5.2vw,65px);font-weight:800;letter-spacing:-3.6px;line-height:1.06;margin:0}
.home-view .home-heading h1 br{display:block}
.home-view .home-heading h1 span{color:var(--ink);position:relative;z-index:0;white-space:nowrap}
.home-view .home-heading h1 span:after{content:"";position:absolute;z-index:-1;left:-4px;right:-5px;height:14px;bottom:5px;background:var(--accent);transform:rotate(-2deg);border-radius:30% 60% 38% 30%}
.home-view .home-heading p{color:#6d7362;font-size:14px;line-height:1.6;margin:17px 0 0;max-width:none}
.home-view .hero-wallet{border:0;text-align:left;border-radius:var(--radius);padding:26px 28px;background:#23281e;color:#fff;position:relative;overflow:hidden;min-height:240px;box-shadow:none;isolation:isolate}
.hero-wallet:after{content:"";position:absolute;width:240px;height:240px;right:-105px;top:-95px;border:1px solid #d7ef6630;border-radius:50%;box-shadow:0 0 0 32px #d7ef6608,0 0 0 64px #d7ef6605;z-index:-1}
.wallet-label{display:flex;align-items:center;gap:7px;color:#c7ceba;font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase}
.wallet-label i{width:5px;height:5px;border-radius:50%;background:var(--accent)}
.wallet-amount{display:block;font-size:57px;font-weight:800;line-height:1.1;letter-spacing:-3px;color:var(--accent);margin:17px 0 4px;font-variant-numeric:tabular-nums}
.wallet-amount small{font-size:.48em;margin-left:3px;letter-spacing:-.8px}
.wallet-caption{display:block;font-size:13px;color:#fff;font-weight:650}
.wallet-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:19px;margin-top:18px;border-top:1px solid #ffffff20;color:#bbc3af;font-size:10px}
.wallet-bottom .wallet-arrow{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:var(--accent);color:var(--ink)}
.wallet-bottom svg{width:17px;height:17px}
.wallet-sticker{position:absolute;right:21px;top:57px;background:var(--accent);color:var(--ink);width:80px;height:80px;border-radius:28px;display:grid;place-items:center;transform:rotate(12deg)}
.wallet-sticker svg{width:54px;height:54px;stroke-width:3}
.wallet-empty .wallet-amount{font-size:38px;letter-spacing:-1.7px;max-width:220px}
.home-view .home-add{display:flex;flex-direction:row;align-items:center;gap:15px;grid-column:1;grid-row:2;margin-top:-12px}
.home-view .home-camera,.tickets-view .home-camera{background:var(--ink);border:0;color:var(--accent);border-radius:100px;box-shadow:none;min-height:56px;padding:15px 23px;font-size:14px;font-weight:800;letter-spacing:-.15px}
.home-view .home-camera:hover,.tickets-view .home-camera:hover{background:#333a28}
.home-view .home-camera .home-icon{width:22px;height:22px}
.home-view .home-upload,.tickets-view .home-upload{color:#606651;background:none;min-height:44px;border:0;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 4px;white-space:nowrap}
.home-view .home-upload .home-icon{width:16px;height:16px}
.home-view .home-section-heading{margin:0 0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.home-view .home-section-heading h2{font-size:16px;font-weight:800;letter-spacing:-.4px}
.home-section-heading .home-text-button{color:#707661;font-size:11px;min-height:36px}
.home-view .home-list-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.home-view .home-list-card{border:1px solid var(--line);border-radius:20px;background:transparent;padding:19px 20px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;text-align:left}
.home-view .home-list-france{background:#eaf2d6;border-color:#e1e9ca}
.home-list-top{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:750}
.home-list-top>.home-icon{display:none}
.home-view .home-list-card>strong{font-size:29px;letter-spacing:-1.2px;line-height:1.1;margin:0;font-weight:800}
.home-view .home-list-card>strong>span{font-size:10px;letter-spacing:0;font-weight:500;display:block;color:#737a65;margin-top:3px;text-align:right}
.home-view .home-flag{height:19px;width:auto;flex:none}
.home-view .home-pending{border:0;background:none;display:flex;align-items:center;gap:7px;padding:9px 1px 0;font-size:11px;color:#7d755d;min-height:30px}
.home-pending-dot{width:5px;height:5px;background:#b39c60;border-radius:50%}
.home-pending .home-icon{width:13px;height:13px}
.home-view .home-recent{margin:0}
.home-view .home-receipt{width:100%;display:flex;align-items:center;gap:13px;padding:15px 0;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;background:none;text-align:left}
.home-receipt-icon{display:grid;place-items:center;width:44px;height:50px;border:1px solid #e0e0d6;border-radius:7px;background:#fffefa;color:#6c745a;transform:rotate(-5deg);flex:none}
.home-receipt-icon .home-icon{width:22px;height:22px}
.home-receipt-copy{flex:1;min-width:0}
.home-view .home-receipt-copy strong{font-size:13px;color:var(--ink);font-weight:750;display:block}
.home-view .home-receipt-copy small{font-size:10px;color:#7a806f;display:block;margin-top:4px}
.home-view .home-receipt-total{font-size:20px;letter-spacing:-.8px;font-weight:800;white-space:nowrap}
.home-view .home-receipt-total small{font-size:9px;letter-spacing:.4px;font-weight:650;display:block;text-align:right;color:#7c806f}
.home-view .home-bottom{display:grid;grid-template-columns:1fr 1fr;gap:34px;margin-top:2px}
.home-area-card{display:flex;width:100%;justify-content:space-between;align-items:center;gap:15px;background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:15px 0;text-align:left}
.home-area-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#e9ebdf;color:#525b40;flex:none}
.home-area-card>span:nth-child(2){flex:1}
.home-area-card strong{display:block;font-size:12px;letter-spacing:-.1px}
.home-area-card small{font-size:10px;color:#787e6a;display:block;margin-top:3px}
.home-area-card>.home-icon{width:16px;height:16px}
.home-empty-note{font-size:12px;color:#737b66}
.home-view .home-draft{background:#eeefd6;border:1px solid #e1e5c5;border-radius:16px;padding:12px 14px;margin:0}
.home-view .home-draft-button{background:var(--ink);border-radius:100px;color:var(--accent)}
/* One hierarchy for every working screen. */
.page-heading{margin:0 0 24px}
.page-heading h1{font-size:30px;letter-spacing:-1.2px;font-weight:800}
.ticket-tools .receipt-chip{border:1px solid var(--line);background:#ffffff80;border-radius:16px}
.ticket-delete-link{color:#8a7969}
.ticket-overview .page-heading h1{display:none}
.ticket-overview .page-heading{margin-bottom:14px}
.ticket-overview .ticket-comparison-heading{margin:0 0 18px}
.ticket-comparison-heading h2,.habits-view .habits-intro h2,.tickets-view h1{font-size:35px;letter-spacing:-1.7px;line-height:1.15;font-weight:800;color:var(--ink)}
.ticket-comparison-heading p{color:#737a67;font-size:12px;margin:8px 0 0}
#cartView{border:0;background:none;box-shadow:none;border-radius:0}
.ticket-overview .workspace{display:block}
.ticket-overview .sidebar{display:none}
.comparison-summary{display:flex;justify-content:space-between;align-items:center;background:#23281e;border:0;border-radius:23px;color:#fff;padding:20px 24px;margin:0 0 18px;overflow:hidden;position:relative}
.comparison-summary p{color:#c2ccb4;font-size:11px;line-height:1.5;margin:0 0 5px;font-weight:600}
.comparison-summary strong{font-size:42px;color:var(--accent);font-weight:800;letter-spacing:-1.9px;line-height:1.2}
.comparison-summary small{color:#b1bca0;font-size:10px;margin-top:7px;display:block}
.summary-mark{width:49px;height:49px;background:var(--accent);color:var(--ink);border-radius:17px;transform:rotate(-8deg);display:grid;place-items:center;font-size:28px}
.comparison-filters,.habits-view .habits-tabs{display:flex;gap:6px;background:none;border:0;border-radius:0;padding:0;overflow:auto;scrollbar-width:none}
.comparison-filters button,.habits-view .habits-tabs button{flex:1;white-space:nowrap;min-height:44px;border:1px solid var(--line);border-radius:100px;background:transparent;color:#69715c;font-size:12px;padding:10px 15px}
.comparison-filters button[aria-pressed=true],.habits-view .habits-tabs button.active{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:none;font-weight:750}
.habits-view .habits-tabs button span{background:none;color:inherit;opacity:.7;font-size:10px;padding:0;margin-left:3px}
.comparison-location{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 0 15px}
.comparison-location button{background:none;border:0;display:flex;align-items:center;gap:5px;color:#646c55;font-size:11px;padding:0;min-height:35px;font-weight:700}
.comparison-location svg{width:14px;height:14px}
.comparison-location small{color:#878b7e;font-size:10px;text-align:right}
.price-coverage{display:none}
.ticket-overview .ticket-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.photo-comparison.coop-product,.habits-view .simple-list-item{border:1px solid #e1e3d6;border-radius:24px;background:#fffefb;box-shadow:0 3px 0 #242b1803;padding:16px;overflow:hidden}
.photo-comparison .coop-product-heading{margin:0 0 12px}
.photo-comparison .coop-product-heading>small{font-size:10px;font-weight:750;color:#737b65}
.photo-comparison.is-cheaper .coop-product-heading>small{color:#556429}
.equivalence-label{background:#eeeee6;color:#7c816e;font-size:9px;border-radius:100px;padding:5px 8px}
.photo-comparison .store-comparison{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:4px}
.photo-comparison .store-side{background:none;border-radius:16px;padding:8px 5px 9px}
.photo-comparison .france-side{background:#f0f5e3}
.photo-comparison .store-label,.list-store{font-size:11px;font-weight:800;color:#343d28;letter-spacing:-.1px}
.photo-comparison .original-side .store-label,.list-store.is-coop{color:#d16b24}
.comparison-photo{height:92px;padding:4px;margin:0 0 8px}
.comparison-photo img,.list-product-photo img{filter:drop-shadow(0 5px 4px #313e1010)}
.photo-comparison .pair-product-name{font-size:12px;line-height:1.45;font-weight:750;min-height:35px;color:#2e3426}
.photo-comparison .store-quantity{font-size:11px;color:#858976}
.photo-comparison .store-side>strong{font-size:27px;letter-spacing:-1px;font-weight:800;margin-top:6px}
.photo-comparison .store-side>strong small{font-size:11px;font-weight:650;letter-spacing:0}
.pair-price-caption{font-size:9px;color:#8d9181}
.store-arrow,.list-pair-arrow{font-size:19px;color:#8a9278}
.coop-product .tradeoff{background:var(--accent);color:var(--ink);border:0;border-radius:15px;padding:12px 14px;margin-top:12px}
.coop-product .tradeoff.costlier{background:#f6e8d1;color:#654a24}
.coop-product .tradeoff-values{gap:9px;justify-content:center}
.coop-product .tradeoff-values strong{font-size:25px;font-weight:800;letter-spacing:-1.1px}
.coop-product .tradeoff-values>span{font-size:20px;opacity:.35}
.coop-product .tradeoff small{display:none}
.list-difference,.list-note{font-size:10px;line-height:1.5;color:#858570;margin:8px 2px 0}
.coop-card-bottom{border:0;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px;padding-top:3px}
.coop-card-bottom>.button,.habits-view .simple-list-item .habit-rechoose{border:1px solid #dfe3d4;background:transparent;color:#303b23;border-radius:100px;min-height:44px;padding:8px 15px;font-size:11px;font-weight:800}
.coop-card-bottom>.button:hover,.habits-view .simple-list-item .habit-rechoose:hover{background:#edf2df}
.ticket-card-details>summary,.habits-view .habit-detail>summary{font-size:10px;color:#828973}
.ticket-card-details div,.habit-detail-body{color:#70795f;font-size:12px}
.ticket-card-details .text-button{font-size:12px;color:#475d2e}
.photo-caption{position:static!important;color:#8a795a!important;font-size:9px!important}
.comparison-save-bar{background:#fffefb;border:1px solid var(--line);border-radius:20px;padding:17px 20px;margin-top:20px}
.comparison-save-bar .button{border-radius:100px}
.comparison-export{font-size:11px;color:#7a826a;padding:14px 0}
.source-note{color:#8a917c;font-size:10px}
.source-note button{color:#5d7042}
.button{font-weight:750;border-radius:100px;min-height:46px}
.button.primary{background:var(--ink);border-color:var(--ink);color:var(--accent)}
.button.primary:hover{background:#363d2c}
.button.secondary{border-color:#dce2cf;color:#39482b}
.button.soft{background:#edf2df;color:#5c6e43;border:0}
.text-button{color:#5d6d44}
.better-offer-button{border-color:#dce6c4;border-radius:13px;background:#edf4df;color:#465d2d}
.usage-offer-button{border-radius:13px;background:#f5eee2;color:#806d48}
.habits-view{max-width:none}
.habits-view .habits-intro{align-items:end;margin-bottom:18px}
.habits-view .habits-counters{font-size:11px;color:#8a907e;margin-top:7px}
.habits-view .habits-controls{gap:12px;margin-bottom:15px}
.habits-view .habits-search{margin:0;flex-basis:100%}
.habits-view .habits-search input{border:1px solid var(--line);border-radius:15px;background:#ffffff80;min-height:46px;color:var(--ink);padding:12px 15px;font-size:13px}
.habits-view .habits-search input::placeholder{color:#929781}
.habits-view .habit-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.list-item-heading{font-size:10px;color:#6f7a5a;margin:0 0 11px}
.list-check{font-size:10px;color:#7c856c}
.list-check input[type=checkbox]{accent-color:#829a38;width:19px;height:19px}
.list-product-pair{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:4px}
.list-product,.list-product:first-child{background:none;padding:8px 5px;border-radius:16px}
.list-product:nth-child(3){background:#f0f5e3}
.list-product-photo{height:82px;padding:4px;margin:0 0 8px}
.list-product h4{font-size:12px;font-weight:750;line-height:1.45;color:#2d3525}
.list-product p{font-size:11px;color:#818a70}
.list-product>strong{font-size:27px;font-weight:800;letter-spacing:-1.1px}
.list-product>strong small{font-size:11px;font-weight:650}
.list-product>small{font-size:9px;color:#8c927f}
.habits-view .habit-purchase{border:0;background:var(--accent);color:var(--ink);border-radius:15px;padding:12px;margin-top:12px}
.habits-view .habit-purchase.is-higher{background:#f6e8d1;color:#654a24}
.habits-view .habit-cash-quantity{font-weight:800;justify-content:center;font-size:25px;letter-spacing:-1px}
.habits-view .habit-purchase>small{font-size:10px;color:#867548}
.habits-view .simple-list-item .habit-card-footer{padding:0;margin-top:8px}
.habits-view .simple-list-item .habit-card-footer .habit-detail{min-width:0}
.habits-view .simple-list-item .habit-card-footer .habit-detail>summary{font-size:10px;min-height:44px}
.habits-view .simple-list-item .list-quantity{font-size:11px;color:#6c7858}
.habits-view .habits-disclosure{background:none;border-color:var(--line);border-radius:17px;color:#626e50}
.habits-view .habits-disclosure>summary{padding:16px;font-size:12px;min-height:50px}
.habits-view .habits-list-footer{margin-top:16px}
.habits-view .is-checked .list-product-pair{opacity:.45}
.habits-view .is-checked{background:#f3f4ec}
.tickets-view{max-width:850px}
.tickets-heading{margin-bottom:23px}
.tickets-heading p{color:#7e866f;font-size:12px}
.tickets-add-actions{margin-bottom:23px}
.tickets-view .tickets-item{border:1px solid var(--line);border-radius:19px;background:#fffefb;padding:18px 20px}
.tickets-item-icon{border-radius:12px;background:#eff1e4;color:#6c7d50}
.tickets-item-copy h2{font-size:15px;font-weight:800}
.tickets-item-copy p{font-size:11px;color:#8b907d}
.tickets-item-total strong{font-size:25px;font-weight:800;letter-spacing:-1px}
.tickets-open{border-radius:100px;background:var(--ink);color:var(--accent);border:0;padding:11px 18px;font-weight:750}
.tickets-remove{color:#987a65}
.tickets-backup{border:1px solid var(--line);border-radius:17px;background:none}
/* Product choices rise from the bottom without leaving the list. */
dialog{background:var(--cream);border:0;border-radius:28px;box-shadow:0 24px 110px #17201040;max-width:740px;color:var(--ink)}
dialog::backdrop{background:#141a115c;backdrop-filter:blur(6px)}
.modal-head{background:var(--cream);padding:23px 25px 18px;border-bottom:1px solid #dce0d0}
.modal-head h2{font-size:21px;font-weight:800;letter-spacing:-.8px}
.modal-head .icon-button{background:#e9eddd;border:0;color:#5d6b46;width:42px;height:42px}
.modal-body{padding:20px 24px 26px}
.picker-intro{padding:0;border:0;background:none}
.picker-intro h3{font-weight:750;font-size:16px;letter-spacing:-.4px}
.picker-intro p{font-size:12px;color:#7c866d}
.picker-original-price{font-size:22px;font-weight:800;color:var(--ink);letter-spacing:-.8px}
.picker-original-price small{color:#8b937c;font-size:9px;letter-spacing:0;font-weight:600}
.picker-store-filters{margin:14px 0 11px;gap:7px}
.picker-store-filters button{border-color:#dce2cf;background:none;border-radius:100px;padding:9px 15px;font-size:11px;font-weight:700;color:#67774f}
.picker-store-filters button[aria-pressed=true]{background:var(--ink);color:var(--accent);border-color:var(--ink)}
.picker-hint{color:#879173;font-size:11px;margin:5px 0 15px}
.replacement-grid{gap:13px}
.replacement-card{border:1px solid #dfe5d1;background:#fffefa;border-radius:20px;padding:17px;box-shadow:none}
.replacement-card.is-current{border:2px solid #6d8441;background:#f7faee}
.replacement-top .offer-retailer{font-size:11px;font-weight:800;color:#526b36}
.selected-label{border-radius:100px;background:#eaf0da;color:#59703d;font-size:9px}
.replacement-product{gap:13px}
.replacement-photo{width:76px;height:76px;border-radius:14px;background:#fffefa;overflow:hidden;padding:3px}
.replacement-photo img{mix-blend-mode:multiply}
.replacement-product h3{font-size:14px;font-weight:750;line-height:1.4;letter-spacing:-.2px}
.replacement-product p{font-size:11px;color:#8b947d}
.replacement-cash strong{font-size:28px;letter-spacing:-1.2px;font-weight:800;color:var(--ink)}
.replacement-cash span{font-size:10px;color:#8b947b}
.replacement-card .tradeoff{background:#edf4df;border:0;border-radius:12px;padding:9px 11px}
.replacement-card .tradeoff.costlier{background:#f5e9d8}
.replacement-card .tradeoff-values strong{font-size:21px;letter-spacing:-.7px;font-weight:800}
.replacement-detail{color:#788663}
.replacement-detail>summary{font-size:11px;min-height:44px}
.replacement-card>.button{border-radius:100px;font-size:12px}
.retailer-lead{border-color:#e0e5d5;background:#eef1e5;border-radius:18px}
.picker-swiss,.picker-extra{border-color:#dce3cf;background:none;border-radius:18px}
.picker-swiss strong{font-size:13px}
.picker-extra>summary{font-size:12px;min-height:48px}
.local-retailer-link{border:0;background:none;color:#647e42;font-size:11px;display:flex;align-items:center;gap:5px;min-height:44px;padding:6px 0}
.local-retailer-link svg{width:14px;height:14px}
.area-intro{font-size:13px;line-height:1.6;color:#778365;margin:0 0 17px}
.area-tabs{display:flex;gap:7px;overflow:auto;scrollbar-width:none;padding:0 0 14px}
.area-tabs button{border:1px solid #d6dfc7;border-radius:100px;background:none;color:#6b7d51;font-size:11px;padding:10px 13px;white-space:nowrap;min-height:44px}
.area-tabs button[aria-pressed=true]{background:var(--ink);color:var(--accent);border-color:var(--ink)}
.area-retailer-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:12px}
.area-retailer-context button{border:0;background:none;color:#688342;font-size:11px;min-height:44px}
.area-store-list{display:flex;flex-direction:column;gap:0}
.area-store{display:flex;align-items:center;gap:13px;border-top:1px solid #dce3cf;padding:15px 0}
.area-store-mark{width:42px;height:42px;border-radius:13px;background:#e7ecdc;display:grid;place-items:center;font-size:15px;font-weight:800;color:#506537;flex:none}
.area-store-copy{flex:1;min-width:0}
.area-store-copy h3{font-size:13px;line-height:1.4;font-weight:750;margin:0}
.area-store-copy p{font-size:11px;color:#8b947b;margin:3px 0 0;line-height:1.5}
.area-store>a{width:40px;height:44px;border:1px solid #d5dfc6;border-radius:100px;display:grid;place-items:center;flex:none;text-decoration:none;font-size:19px;color:#5f7e36}
.area-note{font-size:11px;line-height:1.65;color:#879371;margin:16px 0 0}
.area-back{border:0;background:none;color:#667e46;display:flex;align-items:center;gap:7px;font-size:12px;min-height:44px;padding:0 0 10px}
.area-empty{padding:25px 18px;border:1px dashed #cedabb;border-radius:17px;color:#7b8b62;font-size:13px}
.review-card{border-color:var(--line);border-radius:24px;background:#fffefa}
.review-card h2{font-weight:800;letter-spacing:-.7px}
.product-card,.product-card.proposal{border-color:#e0e5d4;border-radius:18px;background:#fffefa}
.product-card.proposal{background:#f0f5e3}
.product-visual img{mix-blend-mode:multiply}
.product-price{font-weight:800;letter-spacing:-1px}
.review-details{background:#f3f5e9;color:#7a8764}
.scan-intro h3{font-weight:800;letter-spacing:-1px}
.scan-intro p{color:#7a8668}
.scan-icon{background:var(--accent);color:var(--ink)}
input:not([type=file]),select,textarea{border-color:#d9e2c9;color:var(--ink);background:#fffefa;border-radius:12px}
.form-grid label{color:#778663;font-size:12px}
.form-help{color:#86936f}
.form-error{color:#9c5943}
.receipt-save-bar,.scan-import-actions{background:var(--cream)}
.toast{background:var(--ink);color:#f5f8eb;border:0;border-radius:100px;padding:14px 20px;box-shadow:0 8px 28px #202a1530;font-size:12px;z-index:80}
.toast button{color:var(--accent)}
.page-footer{margin-top:38px;border-color:var(--line);color:#899078}
.page-footer>span{font-weight:800;font-size:14px;letter-spacing:-.5px}
.page-footer>span span{font-weight:500;font-size:10px;color:#8d947e}
@media(min-width:900px){
 .home-view .home-hero .hero-wallet{grid-column:2;grid-row:1/3;min-height:275px}
 .home-view .home-lists{max-width:none}
 .habits-view .habits-controls{display:flex;flex-wrap:nowrap}
 .habits-view .habits-tabs{flex:1.2}
 .habits-view .habits-search{flex:1;max-width:320px}
 .ticket-overview .ticket-tools{display:flex;justify-content:flex-end;width:100%}
 .home-area-card{margin-top:0}
}
@media(max-width:899px){
 .topbar nav{gap:1px}
 .topbar .nav{padding:10px 12px}
 .home-view .home-hero{gap:18px 24px}
 .home-view .home-heading h1{font-size:45px}
 .home-view .home-add{grid-column:1/-1;justify-content:center;margin-top:0}
 .home-view .hero-wallet{min-height:222px}
 .wallet-sticker{width:60px;height:60px;right:17px}
 .wallet-sticker svg{width:42px;height:42px}
}
@media(max-width:680px){
 :root{--app-nav:calc(76px + env(safe-area-inset-bottom,0px))}
 html{scroll-padding-top:76px}
 .topbar,.at-home .topbar{height:66px;min-height:66px;padding:9px 21px;position:sticky;top:0;z-index:30;background:#f5f3edf5;border-bottom:1px solid #e5e4d960;gap:12px;backdrop-filter:blur(14px)}
 .brand{font-size:29px;letter-spacing:-1.9px}
 .topbar .header-actions{gap:7px;margin-left:auto}
 .header-history{width:36px;min-height:40px;border:0;padding:8px}
 .header-history #navCount{top:0;right:-2px;min-width:14px;height:14px;font-size:8px}
 .area-trigger{min-height:38px;max-width:125px;padding:8px 10px;gap:4px;font-size:10px}
 .area-trigger svg{width:13px;height:13px}
 .area-trigger .area-chevron{width:10px;height:10px}
 .topbar .scan-header{display:none}
 .topbar nav{position:fixed;inset:auto 14px 10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));height:64px;border:1px solid #373f2a;border-radius:24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:6px;background:#22281ded;box-shadow:0 8px 30px #1e281525;backdrop-filter:blur(20px);z-index:40}
 .topbar .nav{gap:4px;min-height:50px;padding:6px 4px;border-radius:18px;color:#a8b598;line-height:1.1;display:flex;flex-direction:column}
 .topbar .nav.active{background:var(--accent);color:#28331a}
 .topbar .nav span.nav-label{font-size:9px;letter-spacing:.05px;font-weight:650}
 .topbar .nav .nav-icon{width:20px;height:20px}
 .shell,.ticket-overview .shell{padding:20px 19px calc(var(--app-nav) + 25px);max-width:540px}
 .home-view{gap:19px;padding:0}
 .home-view .home-hero{display:flex;flex-direction:column;align-items:stretch;gap:18px}
 .home-view .home-heading{padding:2px 0 0}
 .home-kicker{font-size:8px;letter-spacing:1.6px;margin-bottom:13px;gap:8px}
 .home-kicker:before{width:4px;height:4px;box-shadow:0 0 0 3px #e4eacf}
 .home-view .home-heading h1{font-size:clamp(38px,11vw,46px);line-height:1.08;letter-spacing:-2.5px}
 .home-view .home-heading h1 span:after{height:10px;bottom:4px}
 .home-view .home-heading p{font-size:12px;line-height:1.55;margin-top:12px;max-width:none}
 .home-view .hero-wallet{min-height:0;height:145px;border-radius:22px;padding:18px 20px}
 .wallet-label{font-size:8px;letter-spacing:1.1px}
 .wallet-amount{font-size:43px;letter-spacing:-2px;line-height:1.1;margin:9px 0 2px}
 .wallet-amount small{font-size:.48em}
 .wallet-caption{font-size:11px}
 .wallet-sticker{width:64px;height:64px;top:22px;right:19px;border-radius:23px}
 .wallet-sticker svg{width:43px;height:43px}
 .wallet-bottom{padding:0;margin:8px 0 0;border:0;font-size:8px;max-width:100%}
 .wallet-bottom>span:first-child{max-width:80%}
 .wallet-bottom .wallet-arrow{position:absolute;right:24px;bottom:16px;width:25px;height:25px;background:transparent;color:#bbce95}
 .wallet-bottom .wallet-arrow svg{width:18px;height:18px}
 .wallet-empty .wallet-amount{font-size:28px;max-width:220px;letter-spacing:-1px;margin:13px 0 9px}
 .home-view .home-add{display:flex;flex-direction:column;gap:1px;margin:0}
 .home-view .home-camera{width:100%;min-height:54px;border-radius:100px;font-size:13px;padding:14px 19px;gap:10px}
 .home-view .home-upload{min-height:33px;font-size:10px;padding:6px 3px}
 .home-view .home-upload .home-icon{width:14px;height:14px}
 .home-view .home-bottom{display:flex;flex-direction:column;gap:18px;margin:0}
 .home-view .home-section-heading{margin-bottom:9px}
 .home-view .home-section-heading h2{font-size:14px;letter-spacing:-.35px}
 .home-section-heading .home-text-button{font-size:10px;min-height:30px;padding:0}
 .home-section-heading .home-text-button .home-icon{width:14px;height:14px}
 .home-view .home-list-grid{gap:10px}
 .home-view .home-list-card{padding:13px 14px;border-radius:17px;gap:7px}
 .home-list-top{gap:7px;font-size:12px}
 .home-view .home-list-card>strong{font-size:26px}
 .home-view .home-list-card>strong>span{font-size:8px}
 .home-view .home-flag{height:16px}
 .home-view .home-pending{font-size:10px;padding-top:7px}
 .home-view .home-receipt{gap:11px;padding:11px 0}
 .home-receipt-icon{width:35px;height:41px}
 .home-receipt-icon .home-icon{width:19px;height:19px}
 .home-view .home-receipt-copy strong{font-size:11px}
 .home-view .home-receipt-copy small{font-size:9px;margin-top:3px}
 .home-view .home-receipt-total{font-size:18px}
 .home-view .home-receipt-total small{font-size:8px}
 .home-area-card{padding:12px 0;gap:10px;margin:0}
 .home-area-card strong{font-size:11px}
 .home-area-card small{font-size:9px}
 .home-area-icon{width:33px;height:33px}
 .home-area-icon .home-icon{width:18px;height:18px}
 .page-heading{margin-bottom:17px}
 .ticket-overview .page-heading{margin-bottom:15px}
 .ticket-overview .ticket-tools{width:100%}
 .ticket-overview .receipt-chip{width:100%;padding:9px 12px;border-radius:13px;background:#ffffff70;min-width:0}
 .ticket-overview .receipt-chip>span:first-child{font-size:18px}
 .ticket-overview .receipt-chip strong{font-size:10px}
 .ticket-overview .receipt-chip small{font-size:9px}
 .ticket-overview .receipt-chip b{font-size:16px}
 .ticket-comparison-heading h2,.habits-view .habits-intro h2,.tickets-view h1{font-size:30px;letter-spacing:-1.4px}
 .ticket-overview .ticket-comparison-heading{margin:0 0 17px}
 .ticket-comparison-heading p{font-size:11px;margin-top:7px}
 .comparison-summary{padding:17px 19px;border-radius:21px;margin-bottom:16px}
 .comparison-summary strong{font-size:37px;letter-spacing:-1.7px}
 .comparison-summary p{font-size:10px;margin-bottom:5px}
 .comparison-summary small{font-size:8px;margin-top:6px}
 .summary-mark{width:42px;height:42px;border-radius:15px;font-size:26px}
 .comparison-filters{gap:6px;margin-bottom:7px}
 .comparison-filters button{font-size:10px;padding:8px 10px;min-height:40px}
 .comparison-location{padding-bottom:10px}
 .comparison-location button{font-size:10px;min-height:30px}
 .comparison-location small{font-size:8px}
 .ticket-overview .ticket-products,.habits-view .habit-items{grid-template-columns:1fr;gap:15px}
 .photo-comparison.coop-product,.habits-view .simple-list-item{padding:14px;border-radius:22px}
 .photo-comparison .coop-product-heading{margin-bottom:8px}
 .photo-comparison .coop-product-heading>small{font-size:9px}
 .equivalence-label{font-size:8px;padding:4px 7px}
 .photo-comparison .store-side{padding:7px 4px}
 .photo-comparison .comparison-photo{height:82px;margin:0 0 7px;padding:2px}
 .photo-comparison .pair-product-name{font-size:11px;min-height:32px}
 .photo-comparison .store-side>strong{font-size:25px;margin-top:5px}
 .photo-comparison .store-quantity{font-size:10px}
 .photo-comparison .store-label{font-size:11px}
 .photo-comparison .pair-price-caption{font-size:8px}
 .coop-product .tradeoff{padding:11px 10px;margin-top:10px;border-radius:13px}
 .coop-product .tradeoff-values strong{font-size:23px;letter-spacing:-.9px}
 .coop-card-bottom{margin-top:5px;padding-top:1px}
 .coop-card-bottom>.button,.habits-view .simple-list-item .habit-rechoose{padding:8px 13px;font-size:10px;min-height:44px}
 .coop-card-bottom .ticket-card-details>summary{font-size:9px;min-height:44px}
 .list-difference,.list-note{font-size:9px;line-height:1.5}
 .list-product-photo{height:76px;margin-bottom:7px;padding:2px}
 .list-product h4{font-size:11px;min-height:32px}
 .list-product p{font-size:10px}
 .list-product>strong{font-size:25px}
 .list-product>small{font-size:8px}
 .habits-view .habit-purchase{padding:11px 10px;margin-top:10px}
 .habits-view .habit-cash-quantity{font-size:23px;letter-spacing:-.9px}
 .habits-view .habits-intro{margin-bottom:17px}
 .habits-view .habits-counters{font-size:10px;margin-top:6px}
 .habits-view .habits-controls{gap:11px;margin-bottom:14px}
 .habits-view .habits-tabs{gap:6px}
 .habits-view .habits-tabs button{font-size:11px;padding:9px 8px;min-height:42px}
 .habits-view .habits-tabs button span{font-size:9px}
 .habits-view .habits-search input{min-height:44px;border-radius:13px;padding:10px 13px}
 .habits-view .simple-list-item .habit-card-footer .habit-detail>summary{font-size:9px}
 .list-item-heading{font-size:9px;margin-bottom:9px}
 .list-check{font-size:9px}
 .habits-view .habits-disclosure>summary{font-size:11px}
 .tickets-heading{margin-bottom:20px}
 .tickets-view .tickets-item{padding:15px;border-radius:18px}
 .tickets-item-copy h2{font-size:13px}
 .tickets-item-copy p{font-size:10px}
 .tickets-item-total strong{font-size:22px}
 .tickets-open{font-size:11px}
 .tickets-view .home-camera{font-size:12px}
 .tickets-view .home-upload{font-size:10px}
 .tickets-view .tickets-backup{margin-top:18px}
 dialog{width:100%!important;max-height:calc(100dvh - 35px)!important;border-radius:28px 28px 0 0!important;background:var(--cream);overflow:auto}
 dialog::backdrop{background:#1c251576;backdrop-filter:blur(6px)}
 .modal-head{padding:20px 19px 14px!important;background:var(--cream);border-bottom:1px solid #dde3d0}
 .modal-head:before{content:"";position:absolute;top:7px;left:50%;transform:translateX(-50%);width:32px;height:4px;border-radius:10px;background:#cfd5c1}
 .modal-head h2{font-size:20px!important;letter-spacing:-.8px;font-weight:800}
 .modal-head .icon-button{height:39px;width:39px;font-size:21px}
 .modal-body{padding:17px 18px calc(23px + env(safe-area-inset-bottom,0px))!important}
 .picker-intro h3{font-size:15px}
 .picker-intro p{font-size:11px}
 .picker-original-price{font-size:21px}
 .picker-store-filters{margin:14px -1px 10px}
 .picker-store-filters button{min-height:42px;padding:9px 13px;font-size:10px}
 .picker-hint{font-size:10px}
 .replacement-grid{grid-template-columns:1fr;gap:12px}
 .replacement-card{padding:15px!important;border-radius:19px}
 .replacement-card .replacement-top{margin-bottom:10px}
 .replacement-card .replacement-photo{height:74px;width:74px;padding:3px}
 .replacement-card .replacement-product{grid-template-columns:74px minmax(0,1fr);gap:12px}
 .replacement-product h3{font-size:13px}
 .replacement-product p{font-size:11px}
 .replacement-card .replacement-cash{margin:10px 0 5px}
 .replacement-cash strong{font-size:27px}
 .replacement-card .tradeoff-values strong{font-size:22px}
 .replacement-card>.button{min-height:46px;font-size:12px}
 .replacement-detail>summary{font-size:10px;min-height:38px}
 .replacement-top .offer-retailer{font-size:11px}
 .local-retailer-link{font-size:10px}
 .comparison-save-bar{display:none}
 .photo-caption{font-size:8px!important}
 .toast{bottom:calc(var(--app-nav) + 12px);border-radius:18px;max-width:calc(100vw - 30px);padding:13px 16px;font-size:11px}
 .page-footer{display:none}
 .review-card .choice-actions{padding-bottom:20px}
 .form-grid label{font-size:11px}
 .area-intro{font-size:12px}
 .area-store-copy h3{font-size:12px}
 .area-store-copy p{font-size:10px}
 .area-store{gap:10px;padding:14px 0}
 .area-store-mark{width:38px;height:38px;font-size:13px}
 .area-tabs button{font-size:10px;padding:9px 12px}
}
@media(max-width:360px){
 .topbar,.at-home .topbar{padding-left:15px;padding-right:15px}
 .brand{font-size:26px}
 .shell,.ticket-overview .shell{padding-left:14px;padding-right:14px}
 .area-trigger{max-width:112px;font-size:9px}
 .home-view .home-heading h1{font-size:38px}
 .comparison-filters button{font-size:9px;padding:8px}
}
@media(prefers-reduced-motion:no-preference){
 .nav,.button,.home-camera,.home-list-card,.header-history,.area-trigger{transition:transform .18s ease,background-color .18s ease,color .18s ease}
 button:active{transform:scale(.975)}
 .hero-wallet:active{transform:scale(.985)}
 .home-view,.tickets-view,.habits-view,#cartView{animation:crevard-appear .28s ease-out both}
 dialog[open]{animation:crevard-sheet .24s cubic-bezier(.2,.8,.2,1) both}
 .toast.show{animation:crevard-toast .22s ease-out}
 @keyframes crevard-appear{from{opacity:.5;transform:translateY(7px)}to{opacity:1;transform:none}}
 @keyframes crevard-sheet{from{opacity:.7;transform:translateY(22px)}to{opacity:1;transform:none}}
 @keyframes crevard-toast{from{opacity:0;margin-bottom:-7px}to{opacity:1;margin-bottom:0}}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable secondary text and stable thumb navigation. */
.pair-price-caption,.photo-comparison .pair-price-caption,.list-product>small,.list-product p,.photo-comparison .store-quantity,.home-view .home-receipt-copy small,.home-view .home-receipt-total small,.home-area-card small,.list-difference,.list-note,.habits-view .habits-counters,.replacement-product p,.replacement-cash span,.area-store-copy p,.area-note,.photo-comparison .coop-product-heading>small{color:#667057}
.photo-caption{color:#796848!important}
.area-trigger,.header-history{min-height:44px}
.header-history.active{background:#e9edda}
.comparison-location small{color:#6a735e}
.comparison-location{flex-wrap:wrap;gap:0 8px}
.area-store-open{min-width:44px}

.home-view .home-bottom{align-items:start}
.home-view .home-bottom .home-area-card{align-self:end}
@media(max-width:680px){
 .home-view .hero-wallet{height:auto;min-height:151px}
 .home-view .wallet-empty{min-height:175px}
 .ticket-comparison-heading .screen-kicker,.ticket-comparison-heading p{display:none}
 .ticket-overview .ticket-comparison-heading{margin:0 0 15px}
 .comparison-summary{padding:15px 17px;margin-bottom:14px}
 .comparison-summary>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;align-items:center;width:100%}
 .comparison-summary p{font-size:10px;margin:0;max-width:120px}
 .comparison-summary strong{font-size:32px;letter-spacing:-1.5px;text-align:right}
 .comparison-summary small{grid-column:1/-1;font-size:10px!important;margin:3px 0 0}
 .comparison-summary .summary-mark{display:none}
 .comparison-save-bar{display:flex;position:static;align-items:center;justify-content:space-between;gap:10px;border:0;border-top:1px solid var(--line);border-radius:0;background:none;margin-top:12px;padding:17px 0}
 .comparison-save-bar>span{font-size:11px;max-width:120px;color:#667057}
 .comparison-save-bar>.button{font-size:11px;padding:10px 15px;min-height:46px}
}

@media(max-width:680px){
 .topbar,.at-home .topbar{backdrop-filter:none}
 .header-history{width:40px;min-height:44px}
 .area-trigger{min-height:44px}
 .home-kicker,.wallet-label{font-size:9px}
 .wallet-bottom{font-size:9px}
 .home-view .hero-wallet{height:auto;min-height:151px}
 .home-view .home-upload{font-size:11px;min-height:36px}
 .home-view .home-receipt-copy small,.home-view .home-receipt-total small,.home-area-card small,.home-view .home-list-card>strong>span{font-size:10px}
 .photo-comparison .coop-product-heading>small,.equivalence-label,.photo-comparison .pair-price-caption,.list-product>small,.list-item-heading,.list-check,.list-difference,.list-note,.comparison-summary small,.comparison-location small,.photo-caption{font-size:10px!important}
 .photo-comparison .pair-product-name,.list-product h4{font-size:12px;line-height:1.4}
 .coop-card-bottom .ticket-card-details>summary,.habits-view .simple-list-item .habit-card-footer .habit-detail>summary{font-size:10px}
 .home-view .home-receipt-copy strong{font-size:12px}
 .home-area-card strong{font-size:12px}
 .home-view .home-pending{min-height:36px}
 .comparison-filters button,.habits-view .habits-tabs button{min-height:44px}
 .comparison-location button{min-height:44px}
 .home-section-heading .home-text-button{min-height:44px}
}


