:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#193e32;background:#f6f5ee;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #f3a344;outline-offset:3px}.app{max-width:520px;min-height:100dvh;margin:auto;padding:0 24px env(safe-area-inset-bottom)}header{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe4d8}.brand{display:flex;align-items:center;gap:10px;direction:ltr;font-weight:800;font-size:21px;letter-spacing:-1px}.brand span span{color:#ef855c}.brand small{display:block;direction:rtl;font-size:10px;letter-spacing:0;color:#7d9183;font-weight:500;margin-top:2px}.brand-icon{display:grid;place-items:center;background:#d8e9ae;border-radius:13px;width:41px;height:41px;font-size:28px;color:#315e45}.icon-button{border:0;background:#e7eddf;border-radius:50%;width:40px;height:40px;color:#305442;font-size:23px}.greeting{display:flex;justify-content:space-between;align-items:center;padding:40px 0 26px}.greeting-art{font-size:54px;transform:rotate(-10deg)}.eyebrow{font-size:12px;font-weight:800;color:#d97e5c;letter-spacing:.03em;margin:0 0 9px}h1{font-size:39px;line-height:1.08;letter-spacing:-1.7px;margin:0 0 10px}h1 em{font-style:normal;color:#7b9f65}h2{font-size:22px;letter-spacing:-.5px;margin:0}h2 span{color:#ed9876}.muted{font-size:14px;line-height:1.6;color:#75877b;margin:0}.tabs{display:flex;background:#e7ecdf;border-radius:16px;padding:5px;gap:3px}.tabs button{flex:1;border:0;background:transparent;color:#75877b;padding:12px 4px;border-radius:12px;font-size:13px;font-weight:700}.tabs button.active{background:#fff;color:#234b37;box-shadow:0 2px 8px #234b3710}.section-title{display:flex;justify-content:space-between;align-items:end;margin:36px 0 19px}.count{font-size:12px;color:#719277;background:#e4edda;border-radius:20px;padding:7px 10px;white-space:nowrap}.add-form{display:flex;background:white;border:1px solid #e5eadf;border-radius:16px;padding:6px;box-shadow:0 5px 20px #284b3210}.add-form input{flex:1;min-width:0;border:0;background:transparent;padding:12px;color:#193e32;outline:none}.add-form button{border:0;background:#f3a47d;color:#fff;font-size:27px;border-radius:12px;width:46px;height:46px}.hint,.bottom-note{font-size:11px;color:#9aa99a;margin:9px 5px 20px}.items{display:grid;gap:10px;margin:16px 0}.item,.history-card{background:#fff;border:1px solid #edf0e8;border-radius:16px;padding:12px;display:flex;align-items:center;gap:12px;min-height:70px}.product-art{width:46px;height:46px;border-radius:13px;background:#f9e9d9;display:grid;place-items:center;font-size:24px;flex:none}.item:nth-child(3n+2) .product-art{background:#e6efdf}.item:nth-child(3n) .product-art{background:#fae5df}.item-name{flex:1;font-weight:700;font-size:15px;overflow-wrap:anywhere}.item.checked .item-name{text-decoration:line-through;color:#a2afa3}.check{width:27px;height:27px;accent-color:#78a16e;flex:none}.delete,.add-recommendation{border:0;background:#f3f5ef;color:#778f7c;border-radius:10px;width:38px;height:38px;font-size:19px}.primary{border:0;border-radius:15px;background:#315e45;color:white;padding:17px 20px;font-weight:800}.primary span{float:left;font-size:20px;line-height:16px}.primary:disabled{opacity:.45;cursor:not-allowed}.wide{width:100%}.finish{margin-top:12px}.bottom-note{text-align:center}.empty{text-align:center;padding:34px 10px;color:#8c9e8f;font-size:14px;line-height:1.8}.empty span{display:block;font-size:32px;margin-bottom:8px}.history-card{display:block;padding:18px}.history-card strong{display:block;margin-bottom:9px}.history-card p{color:#788b7d;line-height:1.8;margin:0;font-size:14px}.history-card .not-bought{text-decoration:line-through;color:#adb8ac}.login{padding-top:40px}.login-art{width:110px;height:110px;display:grid;place-items:center;background:#e5edda;border-radius:35px;font-size:54px;margin:15px auto 38px;position:relative}.login-art span{position:absolute;color:#ed9a77;top:4px;left:10px;font-size:24px}.login h1{font-size:43px}.login form{margin-top:32px}.login label{display:block;font-size:13px;font-weight:700;margin:18px 0}.login input{display:block;width:100%;margin-top:8px;border:1px solid #e3eadf;border-radius:13px;padding:15px;background:white}.login .primary{margin-top:10px}footer{text-align:center;color:#a2afa1;font-size:11px;margin:48px 0 24px}footer span{color:#ed9a77}dialog{width:min(90%,410px);border:0;border-radius:24px;padding:28px;text-align:center;color:#193e32;box-shadow:0 20px 80px #183b3250}dialog::backdrop{background:#183b3290}dialog p:not(.eyebrow){color:#788b7d;line-height:1.7;font-size:14px}.dialog-art{font-size:42px;margin-bottom:15px}.text-button{background:none;border:0;color:#6e8977;padding:16px;font-weight:700}#toast{position:fixed;bottom:calc(22px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#193e32;color:white;border-radius:12px;padding:12px 18px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90%;z-index:5}#toast.visible{opacity:1}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
/* Product discovery */
.tabs button{font-size:12px}.catalog-intro{margin:34px 0 19px;display:flex;align-items:center;justify-content:space-between}.catalog-intro>span{font-size:44px;transform:rotate(-14deg)}.catalog-intro .muted{margin-top:7px}.catalog-search{height:53px;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e5eadf;border-radius:15px;padding:0 15px;color:#809483}.catalog-search>span:first-child{font-size:28px;line-height:1}.catalog-search input{min-width:0;width:100%;border:0;background:transparent;outline:0;color:#193e32;font-size:14px}.catalog-search:focus-within{outline:3px solid #f3a344;outline-offset:2px}.categories{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:20px -24px 0;padding:0 24px 8px}.categories::-webkit-scrollbar{display:none}.category{flex:none;border:1px solid #e1e9dd;background:#fff;color:#687e6d;border-radius:24px;padding:9px 15px;font-size:12px;font-weight:700}.category.selected{background:#315e45;color:#fff;border-color:#315e45}.catalog-count{font-size:12px;color:#8a9a8a;margin:16px 0 12px}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.catalog-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;min-height:155px;border:1px solid #edf0e8;background:#fff;border-radius:18px;padding:12px 8px 13px}.catalog-art{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 11px;border-radius:18px;background:#edf3e4;font-size:31px}.catalog-card:nth-child(4n+2) .catalog-art{background:#fff0de}.catalog-card:nth-child(4n+3) .catalog-art{background:#fae7df}.catalog-card:nth-child(4n) .catalog-art{background:#f1ebf4}.catalog-name{font-size:12px;line-height:1.4;padding-bottom:32px;overflow-wrap:anywhere}.catalog-add{position:absolute;bottom:10px;left:10px;width:28px;height:28px;background:#e8f0e1;color:#3c7049;border:0;border-radius:10px;font-size:19px;line-height:1}.catalog-add:disabled{color:#8caa91;background:#f0f4ed}.catalog-card:has(.catalog-add:disabled){opacity:.75}@media(max-width:350px){.app{padding-left:16px;padding-right:16px}.categories{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.tabs button{font-size:11px}.catalog-grid{gap:7px}}
/* Original NatiMarket redesign: calm editorial type, fast shopping controls. */
:root{color:#1d1d1f;background:#f5f5f3;letter-spacing:-.01em}body{background:#f5f5f3}.app{max-width:680px;padding-left:24px;padding-right:24px}header{height:78px;border-bottom:1px solid #e4e4e1}.brand{color:#202520;letter-spacing:-1.1px;font-size:23px}.brand span span{color:#eb7755}.brand small{font-size:10px;color:#92958e;font-weight:600}.brand-icon{background:#ddebca;color:#315e45;border-radius:14px}.icon-button{background:#eaece7;color:#202520}.greeting{padding:48px 0 30px}.greeting h1{font-size:clamp(42px,8vw,58px);letter-spacing:-2.7px;line-height:1}.greeting h1 em{color:#70966c}.greeting .muted{margin-top:13px;font-size:15px}.greeting-art{font-size:52px}.eyebrow{font-size:11px;letter-spacing:.02em;color:#bf6d4d}.tabs{background:#fff;border:1px solid #e9e9e6;border-radius:17px;padding:5px;box-shadow:0 4px 18px #25302a08}.tabs button{font-size:13px;color:#777d76;padding:13px 4px}.tabs button.active{background:#242a25;color:white;box-shadow:none}.section-title{margin-top:42px}.section-title h2,.catalog-intro h2{font-size:26px;letter-spacing:-1px}.count{background:#e9eee5;color:#496b4b}.add-form{border:1px solid #e8ebe5;border-radius:17px;box-shadow:0 8px 28px #263b2a0b}.add-form input{font-size:15px}.add-form button{background:#e9805a;border-radius:12px}.hint,.bottom-note{color:#929a91}.item,.history-card{border:1px solid #ededeb;border-radius:18px;box-shadow:0 5px 20px #27312a08}.primary{background:#252d27;border-radius:16px}.primary:hover{background:#3d5943}.catalog-intro{margin-top:42px}.catalog-search{height:57px;border-radius:17px;border-color:#e6e9e3;box-shadow:0 8px 28px #263b2a0b}.categories{margin-top:22px}.category{border:0;background:#e8ebe5;color:#5b655c;padding:10px 16px}.category.selected{background:#252d27;color:#fff}.catalog-count{color:#8b928a;font-weight:600}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.catalog-card{border:0;min-height:190px;background:white;border-radius:20px;padding:10px;box-shadow:0 6px 24px #27312a0a}.catalog-art{width:100%;height:auto;aspect-ratio:1.22;max-height:125px;margin:0 0 12px;border-radius:14px;background:#f5f2eb;font-size:36px}.catalog-card:nth-child(n) .catalog-art{background-color:#f5f2eb}.catalog-name{align-self:stretch;text-align:right;font-size:13px;padding:0 0 35px 30px;line-height:1.35}.catalog-add{left:10px;bottom:10px;border-radius:50%;width:32px;height:32px;background:#eef1eb;color:#283d2d}.catalog-add:disabled{background:#edf4e9;color:#739675}.product-photo{background-image:url('/images/groceries-a.jpg');background-size:400% 400%;background-repeat:no-repeat}.sheet-1{background-image:url('/images/groceries-b.jpg')}.photo-0{background-position:0% 0%}.photo-1{background-position:33.333% 0%}.photo-2{background-position:66.666% 0%}.photo-3{background-position:100% 0%}.photo-4{background-position:0% 33.333%}.photo-5{background-position:33.333% 33.333%}.photo-6{background-position:66.666% 33.333%}.photo-7{background-position:100% 33.333%}.photo-8{background-position:0% 66.666%}.photo-9{background-position:33.333% 66.666%}.photo-10{background-position:66.666% 66.666%}.photo-11{background-position:100% 66.666%}.photo-12{background-position:0% 100%}.photo-13{background-position:33.333% 100%}.photo-14{background-position:66.666% 100%}.photo-15{background-position:100% 100%}.item:nth-child(n) .product-photo{background-color:#f5f2eb}.login{padding-top:54px}.login h1{font-size:49px;letter-spacing:-2px}.login-art{background:#e9f0e4}.login input{border-radius:15px;border-color:#e5e8e3}.login .primary{background:#252d27}dialog{border-radius:25px;color:#1d1d1f}footer{color:#a4aaa1}@media(max-width:380px){.app{padding-left:18px;padding-right:18px}.catalog-grid{gap:8px}.catalog-card{min-height:168px}.tabs button{font-size:11px}}
.catalog-card:nth-child(n) .product-photo,.item:nth-child(n) .product-photo{background-image:url('/images/groceries-a.jpg');background-size:400% 400%;background-repeat:no-repeat}.catalog-card:nth-child(n) .sheet-1,.item:nth-child(n) .sheet-1{background-image:url('/images/groceries-b.jpg')}
.catalog-card:nth-child(n) .photo-0,.item:nth-child(n) .photo-0{background-position:0% 0%}
.catalog-card:nth-child(n) .photo-1,.item:nth-child(n) .photo-1{background-position:33.333% 0%}
.catalog-card:nth-child(n) .photo-2,.item:nth-child(n) .photo-2{background-position:66.666% 0%}
.catalog-card:nth-child(n) .photo-3,.item:nth-child(n) .photo-3{background-position:100% 0%}
.catalog-card:nth-child(n) .photo-4,.item:nth-child(n) .photo-4{background-position:0% 33.333%}
.catalog-card:nth-child(n) .photo-5,.item:nth-child(n) .photo-5{background-position:33.333% 33.333%}
.catalog-card:nth-child(n) .photo-6,.item:nth-child(n) .photo-6{background-position:66.666% 33.333%}
.catalog-card:nth-child(n) .photo-7,.item:nth-child(n) .photo-7{background-position:100% 33.333%}
.catalog-card:nth-child(n) .photo-8,.item:nth-child(n) .photo-8{background-position:0% 66.666%}
.catalog-card:nth-child(n) .photo-9,.item:nth-child(n) .photo-9{background-position:33.333% 66.666%}
.catalog-card:nth-child(n) .photo-10,.item:nth-child(n) .photo-10{background-position:66.666% 66.666%}
.catalog-card:nth-child(n) .photo-11,.item:nth-child(n) .photo-11{background-position:100% 66.666%}
.catalog-card:nth-child(n) .photo-12,.item:nth-child(n) .photo-12{background-position:0% 100%}
.catalog-card:nth-child(n) .photo-13,.item:nth-child(n) .photo-13{background-position:33.333% 100%}
.catalog-card:nth-child(n) .photo-14,.item:nth-child(n) .photo-14{background-position:66.666% 100%}
.catalog-card:nth-child(n) .photo-15,.item:nth-child(n) .photo-15{background-position:100% 100%}

.catalog-card:nth-child(n) .sheet-2,.item:nth-child(n) .sheet-2{background-image:url(/images/groceries-c.jpg)}
.catalog-card:nth-child(n) .sheet-3,.item:nth-child(n) .sheet-3{background-image:url(/images/groceries-d.jpg)}
.catalog-card:nth-child(n) .sheet-4,.item:nth-child(n) .sheet-4{background-image:url(/images/groceries-e.jpg)}
.catalog-card:nth-child(n) .sheet-5,.item:nth-child(n) .sheet-5{background-image:url(/images/groceries-f.jpg)}
.catalog-card:nth-child(n) .sheet-6,.item:nth-child(n) .sheet-6{background-image:url(/images/groceries-g.jpg)}
.catalog-card:nth-child(n) .sheet-7,.item:nth-child(n) .sheet-7{background-image:url(/images/groceries-h.jpg)}
.catalog-card:nth-child(n) .sheet-8,.item:nth-child(n) .sheet-8{background-image:url(/images/groceries-i.jpg)}
.catalog-card:nth-child(n) .sheet-9,.item:nth-child(n) .sheet-9{background-image:url(/images/groceries-j.jpg)}
.catalog-card:nth-child(n) .product-fallback,.item:nth-child(n) .product-fallback{background-image:url('/images/grocery-bag.jpg');background-size:cover;background-position:center}

.catalog-card:nth-child(n) .sheet-10,.item:nth-child(n) .sheet-10{background-image:url('/images/groceries-k.jpg')}

.history-items{display:grid;gap:8px}.history-item{display:flex;align-items:center;gap:10px;font-size:14px;color:#66776a}.history-item.not-bought span:last-child{text-decoration:line-through;color:#a1aba1}.history-art{display:block;width:40px;height:40px;border-radius:11px;flex:none;background-color:#f5f2eb}.history-art.product-photo{background-size:400% 400%;background-repeat:no-repeat}.history-art.product-fallback{background-image:url('/images/grocery-bag.jpg');background-size:cover;background-position:center}
.history-art.sheet-0{background-image:url(/images/groceries-a.jpg)}
.history-art.sheet-1{background-image:url(/images/groceries-b.jpg)}
.history-art.sheet-2{background-image:url(/images/groceries-c.jpg)}
.history-art.sheet-3{background-image:url(/images/groceries-d.jpg)}
.history-art.sheet-4{background-image:url(/images/groceries-e.jpg)}
.history-art.sheet-5{background-image:url(/images/groceries-f.jpg)}
.history-art.sheet-6{background-image:url(/images/groceries-g.jpg)}
.history-art.sheet-7{background-image:url(/images/groceries-h.jpg)}
.history-art.sheet-8{background-image:url(/images/groceries-i.jpg)}
.history-art.sheet-9{background-image:url(/images/groceries-j.jpg)}
.history-art.sheet-10{background-image:url(/images/groceries-k.jpg)}

.catalog-disclaimer{font-size:11px;line-height:1.5;color:#7a837a;margin:0 0 14px}.catalog-more{display:block;margin:24px auto 10px;border:1px solid #dce5dc;background:#fff;color:#263c2e;padding:14px 24px;border-radius:16px;font-weight:750;min-height:48px}

.catalog-card:nth-child(n) .sheet-11,.item:nth-child(n) .sheet-11,.history-art.sheet-11{background-image:url('/images/groceries-l.jpg')}

.history-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-header strong{margin:0}.delete-history{border:0;background:#fff1ed;color:#a83e2d;padding:10px 14px;border-radius:12px;font-weight:700;min-height:44px}.add-recommendation:disabled{opacity:.55}.welcome-dialog{overflow:hidden}.welcome-dialog>*:not(.confetti){position:relative}.confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}.confetti i{position:absolute;top:-20px;width:9px;height:15px;background:#ec8265;animation:confetti-fall 2.5s ease-in both}.confetti i:nth-child(3n){background:#e3bd48}.confetti i:nth-child(3n+1){background:#86aa76}.confetti i:nth-child(1){left:5%;animation-delay:.1s}.confetti i:nth-child(2){left:13%;animation-delay:.6s}.confetti i:nth-child(3){left:22%;animation-delay:.2s}.confetti i:nth-child(4){left:30%;animation-delay:.8s}.confetti i:nth-child(5){left:38%;animation-delay:.3s}.confetti i:nth-child(6){left:46%;animation-delay:.7s}.confetti i:nth-child(7){left:54%;animation-delay:.4s}.confetti i:nth-child(8){left:62%;animation-delay:.9s}.confetti i:nth-child(9){left:70%;animation-delay:.2s}.confetti i:nth-child(10){left:78%;animation-delay:.5s}.confetti i:nth-child(11){left:86%;animation-delay:.1s}.confetti i:nth-child(12){left:94%;animation-delay:.6s}@keyframes confetti-fall{to{transform:translateY(420px) rotate(520deg);opacity:0}}@media(prefers-reduced-motion:reduce){.confetti{display:none}}

.catalog-sentinel{grid-column:1/-1;height:1px}.catalog-art-note{position:absolute;right:10px;bottom:10px;color:#718174;background:#f2f5ef;border-radius:6px;padding:3px 5px;font-size:10px}.catalog-name{padding-bottom:42px}.catalog-disclaimer a{color:inherit;text-decoration:underline}

.sources h1{margin-top:42px;font-size:36px}.sources p{line-height:1.8;color:#4d6253}.sources a{color:#315e45}.sources pre{white-space:pre-wrap;overflow-wrap:anywhere;background:white;border-radius:16px;padding:18px;font-size:12px;line-height:1.6}

.admin-form{display:grid;gap:12px;background:#fff;border:1px solid #ededeb;border-radius:18px;padding:18px;margin:20px 0}.admin-form label{font-size:13px;font-weight:700}.admin-form input,.admin-form select,.admin-actions select{display:block;width:100%;margin-top:7px;border:1px solid #dfe6db;border-radius:12px;background:white;padding:12px;color:#1d1d1f;font:inherit}.admin-user{background:#fff;border:1px solid #ededeb;border-radius:16px;padding:14px}.admin-user-details strong{font-size:16px}.admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.admin-actions select{width:auto;flex:1;margin:0;min-width:130px}.admin-action{border:0;border-radius:11px;padding:10px;color:#355440;background:#eef2eb;font:inherit;font-size:13px;font-weight:700}.admin-audit-item{background:#fff;border-radius:12px;padding:12px;font-size:13px;color:#66776a}#new-password-value{display:block;background:#f2f5ef;padding:14px;margin:12px 0 20px;border-radius:10px;overflow-wrap:anywhere;user-select:all}.viewer #add-form,.viewer #finish,.viewer .hint,.viewer .bottom-note,.viewer .delete,.viewer .delete-history,.viewer .catalog-add,.viewer .add-recommendation{display:none}.viewer .check{opacity:.6}.tabs{overflow-x:auto}.tabs button{min-width:60px}.viewer #counter{display:block}

.voice-button{display:inline-flex;align-items:center;justify-content:center;background:#e9f1e4;color:#264c35;border:0;border-radius:13px;padding:12px 16px;font-weight:750;min-height:44px}.voice-button:disabled{opacity:.6}.voice-status,.voice-review{font-size:12px;line-height:1.65;color:#687a6e;margin:8px 3px}.voice-review p{overflow-wrap:anywhere}.voice-suggestion{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0}.voice-choice{background:#fff;border:1px solid #d5e2d3;border-radius:12px;padding:9px;font-size:13px;color:#254631}.viewer #voice-button,.viewer #voice-status,.viewer #voice-review{display:none}

.voice-controls{display:flex;flex-direction:column;align-items:center;margin:15px auto 0}.voice-button{display:grid;place-items:center;width:58px;height:58px;min-height:58px;padding:0;border:0;border-radius:50%;background:#252d27;color:#fff;box-shadow:0 7px 18px #25302a26;transition:transform .15s,background .15s}.voice-button:hover{background:#3d5943}.voice-button:active{transform:scale(.95)}.voice-button svg{width:25px;height:25px}.voice-button .voice-stop-icon,.voice-button[data-state="recording"] .voice-mic-icon{display:none}.voice-button[data-state="recording"]{background:#dc7658}.voice-button[data-state="recording"] .voice-stop-icon{display:block}.voice-button[data-state="processing"]{opacity:.65}.voice-status:empty{display:none}.voice-status{text-align:center;max-width:430px}.voice-review{width:100%;text-align:right}.voice-unmatched{background:#fff5e8;color:#815533;border-radius:12px;padding:10px 12px}.viewer #voice-controls{display:none}.voice-suggestion{justify-content:flex-start}
