:root{--cream:#fff7e8;--paper:#fffdf7;--ink:#263126;--muted:#75806f;--sage:#8daf79;--sage-deep:#416448;--melon:#f47d54;--gold:#e8b846;--mint:#d9ead2;--line:#36463224;--shadow:0 24px 70px #42473029}*{box-sizing:border-box}.boot-status{color:#263126;place-items:center;min-height:100vh;padding:20px;font-family:sans-serif;display:grid}.boot-status div{text-align:center;gap:8px;display:grid}.boot-status strong{font-size:22px}.boot-status span{color:#75806f}.boot-status button{color:#fff;background:#416448;border-radius:999px;justify-self:center;padding:10px 16px}body{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 12% 12%,#f47d542e,#0000 30%),radial-gradient(circle at 88% 8%,#8daf7942,#0000 34%),linear-gradient(135deg,#fff3d6 0%,#f4f0db 46%,#dfead5 100%);margin:0;font-family:Noto Sans Myanmar,Noto Sans SC,sans-serif}.auth-shell{place-items:center;min-height:100dvh;padding:20px;display:grid}.auth-card{gap:14px;width:min(430px,100%);padding:30px;display:grid}.auth-card h1{margin:0}.auth-card form,.auth-card label{gap:8px;display:grid}.auth-card input{border:1px solid var(--line);min-height:48px;font:inherit;border-radius:12px;padding:10px 13px}.auth-card button{color:#fff;background:var(--sage-deep);border-radius:999px;min-height:46px;font-weight:900}.auth-card button:disabled{opacity:.55;cursor:wait}.auth-method-switch{background:#eee5cf;border-radius:999px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.auth-method-switch button{min-height:40px;color:var(--muted);background:0 0}.auth-method-switch button.active{color:#fff;background:var(--sage-deep)}.auth-card .auth-secondary{color:var(--sage-deep);background:var(--mint)}.auth-hint{color:var(--muted);margin-top:-2px}.auth-card .danger-button{background:#a3472e}.auth-divider{color:var(--muted);align-items:center;gap:10px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--line);flex:1;height:1px}.product-shell{width:min(1180px,100% - 24px);margin:0 auto;padding:18px 0 80px}.workspace-header{align-items:center;gap:16px;padding:13px 18px;display:flex}.workspace-header>div:first-child{gap:2px;margin-right:auto;display:grid}.workspace-header small{color:var(--muted)}.workspace-header select,.workspace-header a{border:1px solid var(--line);min-height:40px;color:var(--ink);font:inherit;background:#fffdf7;border-radius:12px;padding:8px 12px;font-weight:800}.workspace-tabs{scrollbar-width:none;gap:7px;margin:14px 0;display:flex;overflow-x:auto}.workspace-tabs button{min-height:40px;color:var(--muted);text-transform:capitalize;white-space:nowrap;background:#e9e2d0;border-radius:999px;padding:8px 15px;font-weight:900}.workspace-tabs button.active{color:#fff;background:var(--sage-deep)}.workspace-grid{grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr);align-items:start;gap:14px;display:grid}.workspace-form h2,.workspace-list h2{margin:0 0 15px}.workspace-form form{gap:10px;display:grid}.workspace-form input,.workspace-form select,.cloud-row select{border:1px solid var(--line);width:100%;min-height:44px;font:inherit;background:#fffdf8;border-radius:11px;padding:9px 11px}.workspace-form button,.cloud-detail>button,.cloud-row button{color:#fff;background:var(--sage-deep);border-radius:11px;min-height:40px;padding:8px 13px;font-weight:900}.cloud-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:9px;padding:12px 0;display:grid}.cloud-row>span{gap:3px;min-width:0;display:grid}.cloud-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cloud-receipt,.cloud-notification{border-bottom:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:0 0;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:13px;display:grid}.cloud-receipt span,.cloud-notification{gap:4px}.cloud-receipt span{display:grid}.cloud-receipt small{color:var(--muted)}.cloud-receipt i{background:var(--mint);border-radius:999px;padding:5px 8px;font-size:11px;font-style:normal;font-weight:900}.cloud-receipt i.receipt-status-waiting{color:#6b5528;background:#f6e8b8}.cloud-receipt i.receipt-status-processing{color:#31546d;background:#dcebf5}.cloud-receipt i.receipt-status-processed{color:#315d47;background:#dcefe3}.cloud-receipt i.receipt-status-failed{color:#9b3c28;background:#ffe5d8}.cloud-notification{grid-template-columns:1fr;display:grid}.cloud-notification.unread{background:#fff1e8;border-radius:12px}.cloud-detail{grid-column:1/-1}.receipt-item-editor{border-bottom:1px solid var(--line)}.receipt-item-editor .cloud-row{border-bottom:0}.receipt-item-edit-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:2px 0 16px;display:grid}.receipt-item-edit-form label{color:var(--muted);font-size:12px;font-weight:800}.receipt-item-edit-form input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--ink);font:inherit;background:#fffdf8;border-radius:10px;margin-top:5px;padding:8px 10px}.receipt-item-edit-form button{color:#fff;background:var(--sage-deep);border-radius:11px;align-self:end;min-height:42px;padding:8px 13px;font-weight:900}.receipt-confirm-actions{justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.receipt-confirm-actions button{color:#fff;background:var(--sage-deep);border-radius:11px;min-height:44px;padding:9px 15px;font-weight:900}.receipt-confirm-actions button:first-child{color:var(--sage-deep);background:var(--mint)}.receipt-confirm-actions button:disabled{opacity:.55;cursor:wait}.workspace-error{color:#9b3c28;background:#ffe5d8;border-radius:10px;margin:10px 0;padding:11px}.workspace-success{color:#315d47;background:#e3f3e8;border-radius:10px;margin:10px 0;padding:11px}.workspace-form button:disabled{opacity:.55;cursor:wait}.migration-banner{align-items:center;gap:9px;margin-bottom:14px;padding:13px;display:flex}.migration-banner span{gap:3px;margin-right:auto;display:grid}.migration-banner small{color:var(--muted)}.migration-banner button{color:#fff;background:var(--sage-deep);border-radius:10px;min-height:38px;padding:7px 12px;font-weight:900}.migration-banner button+button{color:var(--muted);background:#ece5d4}.onboarding-card{width:min(520px,100%);margin:10vh auto 0}.onboarding-card form{gap:8px;display:flex}.onboarding-card input{border:1px solid var(--line);border-radius:12px;flex:1;min-height:46px;padding:10px}.onboarding-card button{color:#fff;background:var(--sage-deep);border-radius:12px;padding:10px 15px;font-weight:900}.startup-error{place-items:center;min-height:100vh;padding:20px;display:grid}.startup-error .panel{width:min(520px,100%);padding:28px}.startup-error h1{margin:16px 0 10px;font-size:38px;line-height:1.05}.startup-error p{color:var(--muted);overflow-wrap:anywhere;line-height:1.65}.startup-error button{color:#fff;background:var(--sage-deep);border-radius:999px;padding:12px 18px;font-weight:900}button{font:inherit;cursor:pointer;border:0}.app-shell{width:min(1180px,100% - 32px);margin:0 auto;padding:28px 0 48px}.panel{box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffdf7d1;border:1px solid #ffffffb8;border-radius:34px}.hero{padding:24px;position:relative;overflow:hidden}.hero:after{content:"";background:repeating-linear-gradient(45deg,#41644814 0 12px,#0000 12px 24px);border-radius:50%;width:360px;height:360px;position:absolute;bottom:-180px;right:-130px}.topbar,.topbar-actions,.section-title,.brand,.section-title>div,.hero-actions,.date-row,.eyebrow{align-items:center;display:flex}.topbar{justify-content:space-between;margin-bottom:38px}.brand{gap:12px}.brand-mark,.icon-button{width:48px;height:48px;color:var(--paper);background:var(--sage-deep);border-radius:18px;place-items:center;display:grid}.brand p{letter-spacing:-.02em;margin:0;font-weight:900}.brand span{color:var(--muted);font-size:13px}.icon-button{color:var(--ink);background:#efe5c8}.topbar-actions{gap:10px}.language-switch{background:#eee5cf;border-radius:999px;padding:4px;display:flex}.language-switch button{min-width:43px;color:var(--muted);white-space:nowrap;background:0 0;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}.language-switch button.active{color:#fff;background:var(--sage-deep);box-shadow:0 5px 12px #41644833}.hero-grid{grid-template-columns:1.15fr .85fr;align-items:center;gap:34px;display:grid}.hero-copy{padding:22px 0 42px 18px}.eyebrow{color:var(--melon);gap:8px;margin-bottom:14px;font-weight:900}h1{letter-spacing:-.06em;max-width:780px;margin:0;font-family:Fraunces,Noto Sans SC,serif;font-size:clamp(42px,7vw,86px);line-height:.94}.hero-copy p{color:#586453;max-width:560px;margin:24px 0;font-size:18px;line-height:1.8}.hero-actions{flex-wrap:wrap;gap:14px}.primary,.secondary,.receipt-upload,.prompt-box button{border-radius:999px;align-items:center;gap:9px;padding:14px 20px;font-weight:900;display:inline-flex}.primary{color:#fff;background:var(--sage-deep);box-shadow:0 12px 24px #4164483d}.receipt-upload{color:var(--sage-deep);background:#dcebd5}.local-note{align-items:center;gap:7px;display:flex;color:var(--sage-deep)!important;margin:15px 0 0!important;font-size:13px!important}.phone-card{z-index:1;color:#fff;background:#263126;border-radius:38px;padding:18px;position:relative;transform:rotate(2deg);box-shadow:0 30px 80px #22301e47}.scan-frame{text-align:center;color:#e9f4e4;border:2px dashed #ffffff57;border-radius:28px;place-items:center;min-height:310px;display:grid;position:relative;overflow:hidden}.scan-frame span{margin-top:10px;display:block}.scan-glow{background:linear-gradient(140deg,#f47d5433,#8daf7952);border-radius:24px;animation:3.5s ease-in-out infinite breathe;position:absolute;inset:22px}.recognition-card{color:var(--ink);background:#fffdf7;border-radius:24px;margin-top:14px;padding:16px}.recognition-card strong{margin:8px 0;font-size:20px;display:block}.recognition-card p{color:var(--muted);margin:0 0 10px;font-size:13px}.pill{border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}.green{background:var(--mint);color:var(--sage-deep)}.date-row{color:var(--melon);gap:6px;font-weight:900}.dashboard,.split-section{grid-template-columns:1.1fr .9fr;gap:22px;margin-top:22px;display:grid}.expiring-panel,.ask-panel,.inventory-panel,.recipes-panel,.shopping-panel,.flow-panel{padding:22px}.section-title{justify-content:space-between;margin-bottom:18px}.section-title>div{gap:8px}.section-title h2{letter-spacing:-.02em;margin:0;font-size:20px}.section-title button{color:var(--sage-deep);background:0 0;font-weight:900}.expiring-list,.recipe-list,.shopping-list{gap:12px;display:grid}.expiry-card,.recipe-row,.shopping-row{border:1px solid var(--line);background:#ffffff94;border-radius:24px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.expiry-card h3,.recipe-row h3,.shopping-row h3,.inventory-card h3{margin:0}.expiry-card p,.recipe-row p,.shopping-row p,.inventory-card p{color:var(--muted);margin:5px 0}.expiry-card span,.recipe-row span,.inventory-card span{color:var(--sage-deep);font-size:13px;font-weight:800}.expiry-badge{white-space:nowrap;border-radius:18px;padding:10px 12px;font-weight:900}.danger .expiry-badge{color:#b94122;background:#ffe0d5}.warn .expiry-badge{color:#9b6b00;background:#fff0c6}.prompt-box{color:#fff;background:linear-gradient(135deg,#416448,#7aa160);border-radius:28px;padding:18px}.prompt-box span{opacity:.8}.prompt-box strong{margin:8px 0 18px;font-family:Fraunces,serif;font-size:46px;line-height:1;display:block}.craving-input{color:#fff;width:100%;font:inherit;background:0 0;border:0;border-bottom:2px solid #ffffff6b;outline:none;margin:8px 0 14px;padding:7px 0;font-family:Fraunces,Noto Sans SC,serif;font-size:36px;font-weight:800}.craving-input::placeholder{color:#ffffffb8}.craving-message{margin-top:10px}.craving-message.error{background:#ffe8df}.prompt-box button{color:var(--ink);background:#ffe7ae;justify-content:center;width:100%}.result-box{background:#fff6df;border-radius:24px;margin-top:14px;padding:16px}.result-box p{color:var(--muted);margin:0}.result-box h3{margin:12px 0 10px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chips span{background:#fff;border-radius:999px;padding:8px 12px;font-weight:900}.inventory-panel{margin-top:22px}.inventory-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.inventory-card{border:1px solid var(--line);background:#ffffff8f;border-radius:28px;padding:12px 12px 18px;position:relative;overflow:hidden}.inventory-card h3,.inventory-card p,.inventory-card>span,.inventory-card small{margin-left:6px;margin-right:6px}.inventory-photo{background:#e8e2d2;border-radius:20px;height:132px;margin-bottom:15px;position:relative;overflow:hidden}.inventory-photo img{object-fit:cover;width:100%;height:100%;transition:transform .35s;display:block}.inventory-card:hover .inventory-photo img{transform:scale(1.04)}.delete-inventory,.edit-inventory{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#232a22b8;border-radius:12px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:9px;right:9px;box-shadow:0 5px 14px #0000002e}.delete-inventory:hover{background:#b94e35}.edit-inventory{right:51px}.edit-inventory:hover{background:var(--sage-deep)}.inventory-card small{color:var(--melon);margin-top:8px;font-weight:900;display:block}.full-product-name,.expiry-card .full-product-name{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:11px;font-weight:700;line-height:1.35;overflow:hidden}.receipt-full-name{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:11px;line-height:1.35;display:block;overflow:hidden}.inventory-quantity{background:#f0ead9;border-radius:14px;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:5px;margin:10px 6px 4px;padding:4px;display:grid}.inventory-quantity button{width:32px;height:32px;color:var(--sage-deep);background:#fff;border-radius:10px;place-items:center;display:grid}.inventory-quantity-value{justify-content:center;align-items:baseline;gap:4px;min-width:0;display:flex}.inventory-quantity input{width:3ch;min-width:0;color:var(--ink);text-align:right;font:inherit;background:0 0;border:0;padding:5px 0;font-weight:900}.inventory-quantity span{color:var(--muted);white-space:nowrap;font-size:11px;font-weight:900}.inventory-quantity input::-webkit-inner-spin-button{display:none}.item-icon{border-radius:18px;place-items:center;width:48px;height:48px;margin-bottom:16px;display:grid}.tomato{color:#c34c28;background:#ffe0d5}.egg{color:#a16d00;background:#fff0c6}.meat{color:#8b4b35;background:#ead7c8}.grain{color:#7d6425;background:#eee2b8}.receipt-item{color:var(--sage-deep);background:#dcebd5}.receipt-overlay{z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1e2a1d94;place-items:center;padding:18px;animation:.2s ease-out receipt-overlay-in;display:grid;position:fixed;inset:0}.receipt-panel{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;width:min(920px,100%);max-height:min(88vh,820px);padding:22px;animation:.24s ease-out receipt-dialog-in;position:relative;overflow-y:auto}.receipt-history-action{position:relative}.receipt-history-action>i{color:#fff;background:var(--melon);border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:10px;font-style:normal;font-weight:900;display:inline-grid}.receipt-history-panel{width:min(760px,100%);max-height:90vh;overflow-y:auto}.receipt-history-list{gap:10px;display:grid}.receipt-history-row{border:1px solid var(--line);width:100%;color:var(--ink);background:#ffffff80;border-radius:18px;padding:0 48px 0 0;position:relative}.receipt-history-open{width:100%;color:inherit;text-align:left;background:0 0;grid-template-columns:minmax(0,1fr) auto auto 20px;align-items:center;gap:12px;padding:15px;display:grid}.receipt-history-row.unread{background:#fff4eb;border-color:#cd644159}.receipt-history-open span{gap:4px;min-width:0;display:grid}.receipt-history-row b,.receipt-history-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.receipt-history-row small{color:var(--muted)}.receipt-history-open>i{color:var(--sage-deep);background:var(--mint);border-radius:999px;padding:5px 8px;font-size:11px;font-style:normal;font-weight:900}.receipt-history-row.unread .receipt-history-open>i{color:#a3472e;background:#ffd8c8}.delete-history-receipt{color:#a3472e;background:#ffe1d5;border-radius:11px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.history-back{color:var(--sage-deep);background:0 0;margin-bottom:12px;font-weight:900}.receipt-history-detail h2{margin:0 0 8px;font-family:Fraunces,Noto Sans SC,serif;font-size:30px}.history-detail-meta{color:var(--muted);border-bottom:1px solid var(--line);justify-content:space-between;gap:15px;padding:13px 0 18px;display:flex}.history-detail-meta strong{color:var(--sage-deep)}.receipt-history-detail h3{margin:20px 0 10px}.receipt-original-preview{border:1px solid var(--line);background:#f7f3e8;border-radius:16px;justify-items:start;gap:10px;padding:12px;display:grid}.receipt-original-preview img,.receipt-original-preview iframe{object-fit:contain;background:#fff;border:0;border-radius:11px;width:100%;max-height:520px}.receipt-original-preview iframe{min-height:420px}.receipt-original-preview a{color:var(--sage-deep);text-underline-offset:3px;font-weight:900;text-decoration:underline}.receipt-original-empty{color:var(--muted);background:#f2eddf;border-radius:14px;margin:0;padding:16px}.stocking-statistics-panel{width:min(920px,100%);max-height:90vh;padding:22px;overflow-y:auto}.statistics-hint{color:var(--muted);margin:-4px 0 18px}.statistics-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px;display:grid}.statistics-summary article{background:linear-gradient(145deg,#e2eed6,#f6ead5);border-radius:17px;gap:8px;min-height:104px;padding:16px;display:grid}.statistics-summary span{color:var(--muted);font-size:12px;font-weight:800}.statistics-summary strong{color:var(--sage-deep);overflow-wrap:anywhere;align-self:end;font:800 25px/1.1 Fraunces,Noto Sans SC,serif}.stocking-frequency-list{gap:11px;display:grid}.stocking-frequency-list>article{border:1px solid var(--line);background:#ffffff7a;border-radius:17px;padding:15px}.frequency-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.frequency-heading h3{margin:0;font-size:17px}.frequency-heading strong{color:var(--sage-deep)}.frequency-track{background:#e6e0cf;border-radius:99px;height:7px;margin:10px 0 14px;overflow:hidden}.frequency-track i{border-radius:inherit;background:linear-gradient(90deg, var(--sage-deep), var(--melon));height:100%;display:block}.stocking-frequency-list dl{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0;display:grid}.stocking-frequency-list dl>div{gap:4px;display:grid}.stocking-frequency-list dt{color:var(--muted);font-size:10px;font-weight:800}.stocking-frequency-list dd{margin:0;font-size:13px;font-weight:900}.history-products{gap:8px;display:grid}.history-products>div{background:#f2eddf;border-radius:14px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px;display:grid}.history-products span{gap:3px;min-width:0;display:grid}.history-products small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.history-products em{color:var(--sage-deep);font-style:normal;font-weight:900}.history-products label{border-top:1px solid var(--line);color:var(--muted);grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;padding-top:8px;font-size:11px;font-weight:900;display:flex}.history-products select{border:1px solid var(--line);min-height:36px;color:var(--sage-deep);font:inherit;background:#fff;border-radius:10px;padding:6px 30px 6px 10px;font-weight:900}.receipt-dialog-title .section-title{padding-right:46px}.close-receipt{z-index:2;width:38px;height:38px;color:var(--ink);background:#eee8d8;border-radius:14px;place-items:center;display:grid;position:absolute;top:17px;right:17px}.receipt-loading,.receipt-error,.receipt-success{background:#f4ecd5;border-radius:24px;align-items:center;gap:15px;padding:18px;display:flex}.receipt-loading p,.receipt-error p{color:var(--muted);margin:5px 0 0}.alternating-receipt-status{min-width:110px;height:20px;display:block;position:relative}.alternating-receipt-status span{animation:3.2s ease-in-out infinite receipt-thinking;position:absolute;inset:0 auto auto 0}.alternating-receipt-status span+span{animation-name:receipt-processing}.receipt-spinner{border:4px solid #4164482e;border-top-color:var(--sage-deep);border-radius:50%;flex:none;width:36px;height:36px;animation:.8s linear infinite spin}.receipt-error{background:#ffe8df;align-items:flex-start}.receipt-error div{flex:1}.receipt-error .receipt-upload{white-space:nowrap;margin-left:auto;padding:10px 15px}.receipt-success{color:var(--sage-deep);background:var(--mint);font-weight:900}.receipt-meta{grid-template-columns:1fr 190px auto;align-items:end;gap:12px;margin-bottom:16px;display:grid}.receipt-meta label,.receipt-item-row label{color:var(--muted);font-size:12px;font-weight:800}.receipt-meta span{color:var(--muted);align-self:center;font-size:13px}.receipt-meta input,.receipt-item-row input{border:1px solid var(--line);width:100%;color:var(--ink);font:inherit;background:#ffffffc7;border-radius:12px;margin-top:6px;padding:10px}.receipt-table{border:1px solid var(--line);border-radius:20px;overflow:hidden}.receipt-table-head,.receipt-item-row{grid-template-columns:minmax(180px,2fr) minmax(130px,1fr) 100px 100px 36px;align-items:center;gap:10px;padding:10px 12px;display:grid}.receipt-table-head{color:var(--muted);background:#f1ead8;font-size:12px;font-weight:900}.receipt-item-row+.receipt-item-row{border-top:1px solid var(--line)}.receipt-item-row label>span{display:none}.quantity-input{grid-template-columns:1fr 54px;gap:5px;display:grid}.remove-item{color:#a64931;background:#ffe6dd;border-radius:11px;place-items:center;width:32px;height:32px;display:grid}.receipt-actions{justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.receipt-actions button{border-radius:999px;padding:11px 16px;font-weight:900}.cancel-receipt{color:var(--muted);background:#eee8d8}.confirm-receipt{color:#fff;background:var(--sage-deep);align-items:center;gap:7px;display:inline-flex}.confirm-receipt:disabled{opacity:.45;cursor:not-allowed}.add-item-panel{overscroll-behavior:contain;width:min(480px,100%);max-height:min(90vh,720px);padding:22px;position:relative;overflow-y:auto}.add-item-form{gap:13px;display:grid}.add-item-form label{color:var(--muted);font-size:12px;font-weight:800}.add-item-form input,.add-item-form textarea{border:1px solid var(--line);width:100%;min-height:46px;color:var(--ink);font:inherit;background:#ffffffd1;border-radius:13px;margin-top:6px;padding:10px 12px}.add-item-form textarea{resize:vertical;line-height:1.5}.add-item-form select{border:1px solid var(--line);width:100%;min-height:46px;color:var(--ink);background:var(--paper);font:inherit;border-radius:13px;margin-top:6px;padding:10px 12px}.add-item-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.item-photo-picker{min-height:92px;color:var(--sage-deep);background:#eef3e7;border:1px dashed #41644859;border-radius:16px;justify-content:center;align-items:center;gap:10px;margin-top:6px;display:flex;position:relative;overflow:hidden}.item-photo-picker img{object-fit:cover;width:100%;height:130px}.item-photo-picker input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.recipe-import-status{color:var(--sage-deep);background:var(--mint);border-radius:16px;align-items:center;gap:10px;padding:13px;font-size:13px;font-weight:800;display:flex}.recipe-import-status .receipt-spinner{border-width:3px;width:26px;height:26px}.workspace-section-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.workspace-section-heading h2{margin-bottom:5px}.workspace-section-heading p{color:var(--muted);margin:0;font-size:13px}.recipe-add-actions{flex:none;gap:8px;display:flex}.recipe-add-actions button,.add-item-form>button{color:#f7faf7;background:var(--sage-deep);white-space:nowrap;border-radius:12px;min-height:42px;padding:10px 15px;font-weight:750}.recipe-add-actions .secondary-action{color:var(--sage-deep);background:var(--mint);border:1px solid #28553a2e}.recipe-empty-state{color:var(--muted);background:var(--surface-muted);text-align:center;border:1px dashed #28553a42;border-radius:14px;gap:5px;padding:28px 18px;display:grid}.recipe-empty-state b{color:var(--ink)}.recipe-add-panel>h2{letter-spacing:-.035em;margin:0 48px 18px 0;font-size:24px}.recipe-import-help{color:var(--ink);margin:0;line-height:1.55}.recipe-import-note{color:var(--muted);margin:-2px 0 0;font-size:12px;line-height:1.5}.add-item-form .recipe-media-input{cursor:pointer;padding:8px}.add-item-form label>small{color:var(--muted);margin-top:5px;font-weight:600;display:block}.cloud-recipe-card+.cloud-recipe-card{border-top:1px solid var(--line)}.cloud-recipe-card{cursor:pointer;border-radius:14px}.cloud-recipe-card:hover{background:color-mix(in srgb, var(--mint) 38%, transparent)}.cloud-recipe-card:focus-visible{outline:3px solid color-mix(in srgb, var(--focus) 38%, transparent);outline-offset:2px}.cloud-recipe-card .cloud-row{border-bottom:0}.recipe-media-strip{overscroll-behavior-inline:contain;grid-auto-columns:minmax(150px,220px);grid-auto-flow:column;gap:9px;padding:0 10px 14px;display:grid;overflow-x:auto}.recipe-media-strip img,.recipe-media-strip video{background:var(--surface-muted);object-fit:cover;border-radius:12px;width:100%;height:150px}.form-error{color:#a64931;overflow-wrap:anywhere;background:#ffe8df;border-radius:14px;margin:0;padding:12px}.saved-recipes{gap:9px;margin-bottom:12px;display:grid}.saved-recipe-card{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#f8f3e5;border-radius:18px;grid-template-columns:58px 1fr auto;align-items:center;gap:11px;padding:8px;display:grid}.saved-recipe-card img{object-fit:cover;border-radius:13px;width:58px;height:58px}.saved-recipe-card span{gap:4px;display:grid}.saved-recipe-card strong{font-size:14px}.saved-recipe-card small{color:var(--sage-deep);font-weight:800}.recommendation-card span>i{background:#41644821;border-radius:999px;height:5px;overflow:hidden}.recommendation-card span>i b{border-radius:inherit;background:linear-gradient(90deg, var(--sage), var(--sage-deep));height:100%;display:block}.empty-recommendations{border:1px dashed var(--line);color:var(--muted);text-align:center;background:#ffffff59;border-radius:18px;margin:0;padding:20px;line-height:1.6}.recipe-detail{width:min(760px,100%);max-height:90vh;padding:22px;position:relative;overflow-y:auto}.recipe-hero-image{object-fit:cover;border-radius:24px;width:100%;height:260px}.recipe-detail h2{margin:18px 48px 7px 0;font-family:Fraunces,Noto Sans SC,serif;font-size:34px}.recipe-detail h3{margin:22px 0 10px}.recipe-byline{color:var(--sage-deep);margin:-2px 0 12px;font-size:13px;font-weight:750}.recipe-source-stats{color:var(--muted);margin:-7px 0 14px;font-size:12px}.recipe-description{color:var(--muted);line-height:1.65}.recipe-detail-media{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.recipe-detail-media img,.recipe-detail-media video{background:var(--surface-muted);object-fit:cover;border-radius:16px;width:100%;height:220px}.recipe-detail-actions{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;margin-top:24px;padding-top:16px;display:flex}.recipe-detail-actions a,.recipe-detail-actions button{border-radius:12px;justify-content:center;align-items:center;min-height:42px;padding:10px 15px;font-weight:750;text-decoration:none;display:inline-flex}.recipe-detail-actions a{color:var(--sage-deep);background:var(--mint)}.recipe-detail-actions button{color:#f7faf7;background:var(--sage-deep)}.ingredient-checklist{gap:7px;display:grid}.ingredient-checklist>div{background:#f5efdf;border-radius:14px;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:11px 12px;display:grid}.ingredient-checklist span{align-items:center;gap:7px;font-weight:800;display:flex}.ingredient-checklist strong{font-size:12px}.ingredient-checklist em{border-radius:999px;padding:5px 8px;font-size:10px;font-style:normal;font-weight:900}.ingredient-checklist .available em{color:var(--sage-deep);background:var(--mint)}.ingredient-checklist .missing em{color:#a64931;background:#ffe1d7}.recipe-steps{gap:10px;padding-left:24px;line-height:1.65;display:grid}.recipe-steps-with-media{gap:18px}.recipe-steps-with-media>li{padding-left:5px}.recipe-steps-with-media p{margin:0}.recipe-step-media{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px;display:grid}.recipe-step-media img,.recipe-step-media video{background:var(--surface-muted);object-fit:cover;border-radius:15px;width:100%;height:210px}.recipe-source{color:var(--sage-deep);margin-top:16px;font-weight:900;display:inline-block}.save-found-recipe{color:#fff;background:var(--sage-deep);border-radius:999px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:48px;margin-top:18px;font-weight:900;display:flex}.recipe-row strong{color:var(--melon);white-space:nowrap}.shopping-row{justify-content:flex-start}.shopping-row span{background:var(--mint);color:var(--sage-deep);border-radius:999px;margin-left:auto;padding:6px 10px;font-size:12px;font-weight:900}.check{width:30px;height:30px;color:var(--sage-deep);background:#eff4e7;border-radius:50%;place-items:center;display:grid}.flow-panel{margin-top:22px}.flow{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.flow-step{background:#f3ead2;border-radius:999px;align-items:center;gap:9px;padding:10px 13px;font-weight:900;display:flex}.flow-step span{color:#fff;background:var(--sage-deep);border-radius:50%;place-items:center;width:25px;height:25px;font-size:13px;display:grid}.flow-arrow{color:var(--muted)}.floating-add{color:#fff;background:var(--melon);border-radius:24px;width:64px;height:64px;position:fixed;bottom:28px;right:28px;box-shadow:0 18px 45px #f47d5466}@keyframes breathe{0%,to{opacity:.72;transform:scale(.95)}50%{opacity:1;transform:scale(1.04)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes receipt-overlay-in{0%{opacity:0}}@keyframes receipt-dialog-in{0%{opacity:0;transform:translateY(18px)scale(.98)}}@keyframes receipt-thinking{0%,43%{opacity:1;transform:translateY(0)}50%,93%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes receipt-processing{0%,43%{opacity:0;transform:translateY(4px)}50%,93%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(4px)}}@media (max-width:860px){.app-shell{width:min(100% - 20px,680px);padding-top:10px}.hero{border-radius:26px;padding:18px}.topbar{margin-bottom:20px}.hero-grid,.dashboard,.split-section{grid-template-columns:1fr}.hero-copy{padding:6px 0 10px}.hero-copy p{font-size:16px}.phone-card{transform:none}.scan-frame{min-height:220px}.inventory-grid{grid-template-columns:repeat(2,1fr)}.receipt-meta{grid-template-columns:1fr 1fr}.receipt-meta span{grid-column:1/-1}.receipt-table{border:0;overflow:visible}.receipt-table-head{display:none}.receipt-item-row{border:1px solid var(--line);border-radius:18px;grid-template-columns:1fr 1fr 40px;margin-top:10px;padding:12px}.receipt-item-row+.receipt-item-row{border-top:1px solid var(--line)}.receipt-item-row label:first-child{grid-column:1/3}.receipt-item-row label>span{display:block}.remove-item{grid-area:1/3;align-self:end}.flow{align-items:stretch}.flow-arrow{display:none}}@media (max-width:520px){h1{font-size:43px}.inventory-grid{grid-template-columns:1fr}.expiry-card,.recipe-row{flex-direction:column;align-items:flex-start}.recipe-row strong{white-space:normal}.floating-add{width:56px;height:56px;bottom:16px;right:16px}.receipt-meta{grid-template-columns:1fr}.receipt-meta span{grid-column:auto}.receipt-item-row{grid-template-columns:1fr 1fr 36px}.receipt-loading,.receipt-error{flex-wrap:wrap;align-items:flex-start}.brand span{display:none}.brand-mark,.icon-button{border-radius:15px;width:42px;height:42px}.language-switch button{min-width:35px;padding:6px 7px;font-size:11px}.receipt-overlay{place-items:end center;padding:0}.receipt-panel{border-radius:28px 28px 0 0;width:100%;max-height:92dvh;padding:18px}.receipt-dialog-title .section-title{margin-bottom:14px}}.camera-upload{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;position:relative;overflow:hidden}.camera-upload input{opacity:0;cursor:pointer;width:100%;height:100%;font-size:100px;position:absolute;inset:0}.scan-button{width:100%;font:inherit;color:#e9f4e4;background:0 0}.photo-preview{background:#162018;border-radius:28px;min-height:310px;position:relative;overflow:hidden}.photo-preview img{object-fit:cover;width:100%;height:310px;display:block}.photo-preview:after{content:"";pointer-events:none;background:linear-gradient(#0000 45%,#0000009e);position:absolute;inset:0}.photo-preview span{z-index:2;color:#fff;font-weight:900;position:absolute;bottom:15px;left:16px;right:56px}.clear-photo{z-index:3;color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0000007a;border-radius:14px;place-items:center;width:38px;height:38px;display:grid;position:absolute;top:12px;right:12px}.scanning-line{z-index:2;background:#b9ff95;border-radius:999px;height:3px;animation:.9s ease-in-out infinite alternate scan-down;position:absolute;top:18%;left:10%;right:10%;box-shadow:0 0 22px #b9ff95e6}.confirm-stock{color:#fff;background:var(--sage-deep);border-radius:999px;justify-content:center;align-items:center;gap:7px;width:100%;margin-top:14px;padding:11px 14px;font-weight:900;display:inline-flex}@keyframes scan-down{0%{transform:translateY(0)}to{transform:translateY(190px)}}@media (max-width:860px){.photo-preview{min-height:220px}.photo-preview img{height:220px}@keyframes scan-down{0%{transform:translateY(0)}to{transform:translateY(130px)}}}.camera-upload svg,.camera-upload span,.camera-upload div{pointer-events:none}@media (max-width:600px){.product-shell{width:100%;padding:0 8px 80px}.workspace-header{z-index:20;border-radius:0 0 20px 20px;flex-wrap:wrap;margin:0 -8px;position:sticky;top:0}.workspace-header>div:first-child{width:100%}.workspace-header select{flex:1;min-width:0}.workspace-grid{grid-template-columns:1fr}.cloud-row{grid-template-columns:minmax(0,1fr) auto auto}.cloud-row>span{grid-column:1/-1}.receipt-item-edit-form{grid-template-columns:1fr 1fr}.cloud-receipt{grid-template-columns:minmax(0,1fr) auto}.cloud-receipt i{grid-column:1/-1;justify-self:start}.receipt-history-open{grid-template-columns:minmax(0,1fr) auto 20px;gap:8px}.receipt-history-open>i{grid-column:1/2;justify-self:start}.history-products>div{grid-template-columns:minmax(0,1fr) auto}.history-products em{grid-column:2}.receipt-original-preview iframe{min-height:320px}.statistics-summary{grid-template-columns:1fr 1fr}.statistics-summary article:last-child{grid-column:1/-1;min-height:86px}.stocking-frequency-list dl{grid-template-columns:1fr 1fr}.stocking-frequency-list dl>div:last-child{grid-column:1/-1}body{overflow-x:hidden}.app-shell{width:100%;padding:0 8px calc(92px + env(safe-area-inset-bottom))}.panel{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:22px;box-shadow:0 12px 34px #4247301f}.hero{padding:max(12px, env(safe-area-inset-top)) 14px 14px;border-radius:0 0 26px 26px}.hero:after{width:220px;height:220px;bottom:-105px;right:-100px}.topbar{gap:8px;margin-bottom:16px}.brand{gap:9px;min-width:0}.brand p{white-space:nowrap;font-size:15px}.brand-mark{border-radius:14px;width:40px;height:40px}.topbar-actions{gap:6px;min-width:0;margin-left:auto}.icon-button{display:none}.language-switch{max-width:100%;padding:3px}.language-switch button{min-width:38px;min-height:38px;padding:5px 7px;font-size:10px}.hero-grid{gap:14px}.hero-copy{padding:0}.eyebrow{margin-bottom:8px;font-size:12px}h1{letter-spacing:-.045em;max-width:355px;font-size:clamp(32px,9.5vw,40px);line-height:1.02}.hero-copy>p{margin:12px 0 14px;font-size:14px;line-height:1.55}.hero-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.primary,.secondary,.receipt-upload{text-align:center;justify-content:center;min-height:46px;padding:10px 11px;font-size:13px}.secondary{grid-column:1/-1}.local-note{align-items:flex-start;margin-top:10px!important;font-size:11px!important;line-height:1.45!important}.phone-card{border-radius:24px;padding:10px;box-shadow:0 18px 45px #22301e38}.scan-frame,.photo-preview{border-radius:18px;min-height:150px}.scan-frame{padding:18px}.scan-frame svg{width:28px}.scan-frame span{max-width:250px;margin-top:5px;font-size:12px;line-height:1.45}.scan-glow{border-radius:16px;inset:12px}.photo-preview img{height:150px}.recognition-card{border-radius:17px;margin-top:8px;padding:12px}.recognition-card strong{margin:6px 0;font-size:17px}.recognition-card p,.date-row{font-size:11px}.dashboard,.split-section{gap:10px;margin-top:10px}.inventory-panel,.flow-panel{margin-top:10px}.expiring-panel,.ask-panel,.inventory-panel,.recipes-panel,.shopping-panel,.flow-panel{padding:14px}.section-title{margin-bottom:12px}.section-title h2{font-size:17px;line-height:1.3}.section-title button{min-height:40px;padding:6px 0 6px 10px;font-size:12px}.expiring-list,.recipe-list,.shopping-list{gap:8px}.expiry-card,.recipe-row,.shopping-row{border-radius:17px;gap:9px;padding:12px}.expiry-card,.recipe-row{flex-direction:row;align-items:center}.expiry-card h3,.recipe-row h3,.shopping-row h3{font-size:14px}.expiry-card p,.recipe-row p,.shopping-row p,.expiry-card span,.recipe-row span{font-size:11px}.expiry-badge{border-radius:12px;padding:7px 9px;font-size:11px}.recipe-row strong{text-align:right;white-space:normal;max-width:34%;font-size:11px}.prompt-box,.result-box{border-radius:18px;padding:14px}.prompt-box strong{margin:5px 0 12px;font-size:34px}.craving-input{font-size:28px}.prompt-box button{min-height:44px;padding:10px 12px;font-size:13px}.result-box{margin-top:8px}.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.inventory-card{border-radius:18px;min-width:0;padding:8px 8px 12px}.inventory-photo{border-radius:13px;height:96px;margin-bottom:10px}.inventory-card h3{overflow-wrap:anywhere;font-size:14px;line-height:1.25}.inventory-card p{margin-top:4px;margin-bottom:4px;font-size:10px;line-height:1.35}.inventory-card>span,.inventory-card small{font-size:10px}.delete-inventory,.edit-inventory{border-radius:13px;width:42px;height:42px;top:6px}.delete-inventory{right:6px}.edit-inventory{right:54px}.inventory-quantity{grid-template-columns:28px minmax(0,1fr) 28px;gap:2px;margin:8px 3px 3px;padding:3px}.inventory-quantity button{width:28px;height:32px}.inventory-quantity-value{gap:3px}.inventory-quantity input{width:2.5ch;font-size:16px}.inventory-quantity span{text-overflow:ellipsis;max-width:38px;font-size:9px;overflow:hidden}.shopping-row .check{flex:0 0 32px;width:32px;height:32px}.shopping-row span{padding:5px 7px;font-size:10px}.flow{scrollbar-width:none;scroll-snap-type:x proximity;flex-wrap:nowrap;margin:0 -14px;padding:0 14px 4px;overflow-x:auto}.flow::-webkit-scrollbar{display:none}.flow-step{scroll-snap-align:start;flex:none;padding:8px 10px;font-size:11px}.floating-add{right:14px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:80;border-radius:20px;width:58px;height:58px}.receipt-overlay{align-items:end;padding:0}.receipt-panel{width:100%;max-height:94dvh;padding:16px 14px calc(14px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.receipt-meta{grid-template-columns:1fr;gap:8px}.receipt-meta span{grid-column:auto}.receipt-item-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;gap:8px;padding:10px}.receipt-item-row input{min-height:42px;font-size:16px}.quantity-input{grid-template-columns:minmax(0,1fr) 54px}.receipt-actions{bottom:calc(-14px - env(safe-area-inset-bottom));padding:12px 14px calc(12px + env(safe-area-inset-bottom));background:#fffdf7f5;margin:14px -14px -14px;position:sticky;box-shadow:0 -8px 24px #26312614}.receipt-actions button{min-height:46px}.confirm-receipt{flex:1;justify-content:center}.add-item-panel{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));padding:18px 14px calc(14px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.add-item-form input,.add-item-form textarea{font-size:16px}.workspace-section-heading{display:grid}.recipe-add-actions{grid-template-columns:1fr 1fr;display:grid}.recipe-add-actions button{width:100%}.recipe-detail{width:100%;max-height:94dvh;padding:14px 14px calc(18px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.recipe-hero-image{border-radius:18px;height:190px}.recipe-detail-media{grid-template-columns:1fr}.recipe-detail-media img,.recipe-detail-media video{height:210px}.recipe-step-media{grid-template-columns:1fr}.recipe-step-media img,.recipe-step-media video{height:220px}.recipe-detail-actions{flex-direction:column;align-items:stretch}.recipe-detail h2{font-size:27px}.ingredient-checklist>div{grid-template-columns:minmax(0,1fr) auto}.ingredient-checklist em{grid-column:1/-1;justify-self:start}.camera-upload input{font-size:16px}}@media (max-width:360px){.language-switch button{padding-inline:5px}.hero-actions{grid-template-columns:1fr}.secondary{grid-column:auto}.inventory-grid{grid-template-columns:1fr}.inventory-photo{height:130px}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--cream:#f4f7f4;--paper:#fbfcfb;--ink:#18201b;--muted:#667069;--sage:#76a486;--sage-deep:#28553a;--melon:#d96145;--gold:#c89d35;--mint:#dcebe0;--line:#19302221;--shadow:0 18px 50px #1f39281a;--surface:#fbfcfbeb;--surface-muted:#edf2ee;--danger:#a13f32;--focus:#5d8f70}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}html{background:var(--cream)}body{min-height:100dvh;font-family:var(--font-geist), "Noto Sans SC", "Noto Sans Myanmar", system-ui, sans-serif;background:radial-gradient(circle at 100% 0%, #76a48629, transparent 34rem), linear-gradient(180deg, #f8faf8 0%, var(--cream) 100%)}button,input,select,textarea{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{transition:transform .15s,background-color .15s,border-color .15s,color .15s,box-shadow .15s}button:not(:disabled):active,.primary:active,.secondary:active{transform:translateY(1px)scale(.99)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb, var(--focus) 38%, transparent);outline-offset:2px}.panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:16px}.auth-shell{padding:28px}.auth-card{gap:18px;width:min(460px,100%);padding:38px;position:relative;overflow:hidden}.auth-card:before{content:"";background:var(--sage-deep);border-radius:999px;width:88px;height:8px}.auth-card h1{letter-spacing:-.055em;max-width:9ch;font-family:inherit;font-size:clamp(42px,7vw,64px);font-weight:650;line-height:.94}.auth-card>p{color:var(--muted);margin:2px 0 8px;line-height:1.55}.auth-card label{color:var(--ink);font-size:13px;font-weight:650}.auth-card input,.workspace-form input,.workspace-form select,.cloud-row select,.receipt-item-edit-form input{border-color:var(--line);color:var(--ink);background:color-mix(in srgb, var(--paper) 96%, transparent);border-radius:12px;box-shadow:inset 0 1px #ffffffb3}.auth-card input:hover,.workspace-form input:hover,.workspace-form select:hover{border-color:#28553a57}.auth-method-switch{border:1px solid var(--line);background:var(--surface-muted);padding:4px}.auth-method-switch button{font-weight:700}.auth-card button{border:1px solid #0000;font-weight:750}.auth-card .auth-secondary{color:var(--sage-deep);background:var(--mint);border-color:#28553a21}.auth-divider{font-size:12px}.product-shell{width:min(1240px,100% - 40px);padding:24px 0 80px}.workspace-header{gap:12px;min-height:70px;padding:12px 14px 12px 20px}.workspace-header>div:first-child b{letter-spacing:-.025em;font-size:17px}.workspace-header small{font-size:12px}.workspace-header select,.workspace-header a{border-color:var(--line);color:var(--ink);background:var(--paper);border-radius:12px;text-decoration:none}.language-switch{border:1px solid var(--line);background:var(--surface-muted)}.language-switch button{color:var(--muted)}.language-switch button.active{color:#f7faf7;background:var(--sage-deep)}.workspace-tabs{border:1px solid var(--line);background:#fbfcfbb3;border-radius:14px;gap:4px;margin:12px 0 18px;padding:4px}.workspace-tabs button{min-height:42px;color:var(--muted);background:0 0;border-radius:10px;flex:1 0 auto;font-weight:700}.workspace-tabs button:hover{color:var(--ink);background:var(--surface-muted)}.workspace-tabs button.active{color:#f7faf7;background:var(--sage-deep);box-shadow:0 6px 16px #28553a2e}.workspace-grid{grid-template-columns:minmax(280px,.72fr) minmax(0,1.55fr);gap:16px}.workspace-form,.workspace-list,.onboarding-card{padding:24px}.workspace-form h2,.workspace-list h2{letter-spacing:-.025em;font-size:20px}.workspace-form form{gap:12px}.workspace-form button,.cloud-detail>button,.cloud-row button{color:#f7faf7;background:var(--sage-deep);border-radius:12px;font-weight:750}.cloud-row{border-color:var(--line);min-height:66px}.cloud-row b{letter-spacing:-.01em}.cloud-row small{font-size:12px}.cloud-row .inventory-age{color:var(--sage-deep);font-weight:700}.cloud-receipt,.cloud-notification{background:var(--surface-muted);border-bottom:0;border-radius:12px;margin-bottom:6px}.cloud-receipt:hover,.cloud-notification:hover{background:color-mix(in srgb, var(--mint) 72%, var(--paper))}.workspace-error{color:var(--danger);background:#f8e8e4;border:1px solid #a13f3229;border-radius:12px}.workspace-success{color:var(--sage-deep);background:var(--mint);border:1px solid #28553a29;border-radius:12px}.migration-banner{border-left:4px solid var(--sage-deep)}.statistics-summary{gap:10px}.statistics-summary article{background:var(--surface-muted);border-radius:12px}.stocking-frequency-list article{background:var(--surface-muted);border-radius:14px}.frequency-track{background:color-mix(in srgb, var(--sage) 20%, transparent)}.frequency-track i{background:var(--sage-deep)}.receipt-status-processing,.receipt-status-action{color:var(--sage-deep);background:var(--mint)}.danger-button{background:var(--danger)!important}.hero{background:linear-gradient(135deg,#fbfcfbf5,#e5efe8e6);border-radius:20px}.hero:after{opacity:.35}.hero-copy h1,h1,.recipe-detail h2{letter-spacing:-.055em;font-family:inherit;font-weight:650}.eyebrow{color:var(--sage-deep)}.primary,.receipt-upload,.confirm-stock,.save-found-recipe{background:var(--sage-deep);box-shadow:0 10px 24px #28553a2e}.secondary{color:var(--sage-deep);background:var(--mint)}.phone-card{border-radius:18px;box-shadow:0 26px 60px #1f39282e}.scan-frame,.photo-preview{border-radius:14px}.dashboard,.split-section{gap:16px}.inventory-card,.expiry-card,.recipe-row,.shopping-row,.prompt-box,.result-box,.saved-recipe-card{border-radius:14px}.inventory-card-clickable{cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s}.inventory-card-clickable:hover{border-color:#28553a47;transform:translateY(-2px);box-shadow:0 16px 32px #1f39281f}.inventory-card-clickable:focus-visible,.cloud-pantry-row:focus-visible{outline:3px solid color-mix(in srgb, var(--focus) 38%, transparent);outline-offset:3px}.cloud-pantry-row{cursor:pointer;border-radius:12px;padding-inline:10px}.inventory-detail{width:min(680px,100%);max-height:min(90dvh,760px);padding:24px;position:relative;overflow-y:auto}.inventory-detail-image{object-fit:cover;border-radius:14px;width:100%;height:250px}.inventory-detail-heading{gap:6px;margin:20px 44px 20px 0;display:grid}.inventory-detail-heading>span{color:var(--muted);font-size:12px;font-weight:750}.inventory-detail-heading h2{letter-spacing:-.045em;margin:0;font-size:clamp(28px,5vw,42px)}.inventory-detail-heading p{color:var(--muted);margin:0}.inventory-detail-heading strong{color:var(--sage-deep);justify-self:start;margin-top:6px}.inventory-detail-grid{grid-template-columns:1fr 1fr;gap:10px;margin:0;display:grid}.inventory-detail-grid>div{background:var(--surface-muted);border-radius:12px;min-width:0;padding:15px}.inventory-detail-grid dt{color:var(--muted);align-items:center;gap:7px;font-size:12px;font-weight:700;display:flex}.inventory-detail-grid dd{overflow-wrap:anywhere;margin:9px 0 0;font-size:16px;font-weight:750}.floating-add{background:var(--melon);border-radius:18px;box-shadow:0 16px 34px #d9614547}@media (prefers-color-scheme:dark){:root{--cream:#101612;--paper:#18201b;--ink:#edf3ee;--muted:#a9b5ac;--sage:#86b596;--sage-deep:#78aa89;--mint:#23372a;--line:#daebdf21;--shadow:0 18px 50px #00000038;--surface:#18201bf0;--surface-muted:#202a23;--danger:#e48a7b;--focus:#86b596}body{background:radial-gradient(circle at 100% 0,#76a4861f,#0000 34rem),#101612}.auth-card input,.workspace-form input,.workspace-form select,.cloud-row select,.receipt-item-edit-form input{box-shadow:none}.auth-card button,.workspace-tabs button.active,.workspace-form button,.cloud-detail>button,.cloud-row button,.primary,.receipt-upload,.confirm-stock,.save-found-recipe,.auth-method-switch button.active{color:#102016;background:#9bc4a7}.workspace-header select,.workspace-header a{background:var(--surface-muted)}.workspace-error,.form-error{color:#f0a295;background:#3b2320}.photo-preview:after{background:linear-gradient(#0000 45%,#000000b8)}}@media (max-width:760px){.auth-shell{padding:max(24px, env(safe-area-inset-top)) 14px 24px;align-items:start}.auth-card{padding:28px 22px}.auth-card h1{font-size:46px}.product-shell{width:100%;padding-inline:10px}.workspace-header{border-radius:0 0 16px 16px}.workspace-tabs{margin-inline:0;overflow-x:auto}.workspace-tabs button{flex:none;padding-inline:14px}.workspace-grid{grid-template-columns:1fr}.workspace-form,.workspace-list,.onboarding-card{padding:18px}.inventory-detail{width:100%;max-height:92dvh;padding:16px 14px calc(18px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.inventory-detail-image{height:190px}.inventory-detail-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.00az9qtie3ho1.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.3j-a226dh71aj.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.2gwoz23eiro2t.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.0i3h3th1vs4m7.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.0zr6hhvz-h9nw.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_6fb067e6-module__u83Gya__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_6fb067e6-module__u83Gya__variable{--font-geist:"Geist", "Geist Fallback"}
