:root{--bg:#f2faf4;--surface:#fff;--surface-2:#e5f4ea;--text:#15301f;--muted:#597262;--border:#d6ebdd;--accent:#197c43;--accent-strong:#167c44;--accent-ink:#fff;--accent-soft:#dcf4e5;--hello-from:#2db36a;--hello-to:#8ad9a5;--hello-ink:#fff;--warn:#a65806;--warn-soft:#fff1dc;--danger:#c2341b;--danger-soft:#fde8e3;--thumb-s:70%;--thumb-l:90%;--shadow:0 1px 2px #1450280d, 0 6px 16px #1450280f;--radius:18px;--radius-sm:12px;--tabbar-h:64px;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#0f1712;--surface:#16211a;--surface-2:#1f2d24;--text:#e4f1e8;--muted:#93ab9b;--border:#263a2d;--accent:#4fd08a;--accent-strong:#6ee0a0;--accent-ink:#062012;--accent-soft:#183526;--hello-from:#1a6b3f;--hello-to:#24854f;--hello-ink:#fff;--warn:#f2b25c;--warn-soft:#3a2a12;--danger:#f38b74;--danger-soft:#3b1f19;--thumb-s:30%;--thumb-l:22%;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font-size:16px;line-height:1.45}a{color:inherit;text-decoration:none}button,input,select{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}h1,h2,h3{margin:0;line-height:1.2}p{margin:0}svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app{max-width:480px;min-height:100dvh;padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 24px);margin:0 auto}@media (width>=520px){.app{border-left:1px solid var(--border);border-right:1px solid var(--border)}}.topbar{z-index:10;min-height:56px;padding:env(safe-area-inset-top) 16px 0;background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(12px);align-items:center;gap:4px;display:flex;position:sticky;top:0}.topbar h1{letter-spacing:-.01em;font-size:1.15rem;font-weight:700}.topbar .back{margin-left:-8px}.view{flex-direction:column;gap:22px;padding:4px 16px 0;display:flex}.tabbar{z-index:20;width:100%;max-width:480px;height:calc(var(--tabbar-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.tabbar a{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:.66rem;font-weight:600;display:flex}.tabbar a.active{color:var(--accent)}.tabbar a.active svg{stroke-width:2.2px}.eyebrow{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.75rem;font-weight:700}.hello{border-radius:var(--radius);background:linear-gradient(135deg, var(--hello-from), var(--hello-to));color:var(--hello-ink);padding:18px 18px 20px}.hello .eyebrow{color:var(--hello-ink);opacity:.85}.hello h2{letter-spacing:-.02em;margin-top:4px;font-size:1.7rem;font-weight:750}.section-title{margin-bottom:10px;font-size:.95rem;font-weight:700}.section-head{justify-content:space-between;align-items:baseline;display:flex}.section-head .section-title{margin-bottom:10px}.meta,.hint{color:var(--muted);font-size:.85rem}.hint a{color:var(--accent);font-weight:600}.footnote{text-align:center;color:var(--muted);padding:8px 0 4px;font-size:.8rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:12px;padding:16px;display:flex}.card h3{font-size:1rem;font-weight:700}.card h3 small{color:var(--muted);margin-left:4px;font-size:.85rem;font-weight:500}.card-title{font-size:1rem;font-weight:700}.card-title small{color:var(--muted);margin-left:4px;font-size:.85rem;font-weight:500}.list-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);margin:0;padding:0;list-style:none;overflow:hidden}.list-card>*+*{border-top:1px solid var(--border)}.thumb{border-radius:var(--radius-sm);background:hsl(var(--hue,140) var(--thumb-s) var(--thumb-l));flex:none;place-items:center;width:48px;height:48px;font-size:1.5rem;line-height:1;display:grid}.thumb-lg{aspect-ratio:4/3;border-radius:var(--radius-sm);width:100%;height:auto;font-size:2.8rem}.thumb-xl{border-radius:16px;width:76px;height:76px;font-size:2.4rem}.btn{background:var(--surface-2);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:8px;height:46px;padding:0 18px;font-weight:650;display:inline-flex}.btn.primary{background:var(--accent);color:var(--accent-ink)}.btn.danger{background:var(--danger-soft);color:var(--danger)}.btn.block{width:100%}.btn:active,.chip:active,.stat:active,.feature:active,.recipe-card:active{transform:scale(.98)}.icon-btn{width:40px;height:40px;color:var(--muted);border-radius:50%;place-items:center;display:grid}.icon-btn svg{width:20px;height:20px}.icon-btn.back{color:var(--text)}.link-btn{color:var(--accent);font-size:.85rem;font-weight:650}.segmented{background:var(--surface-2);border-radius:999px;gap:4px;padding:4px;display:flex}.segmented>*{text-align:center;color:var(--muted);border-radius:999px;flex:1;padding:8px 6px;font-size:.9rem;font-weight:650}.segmented>.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.form{gap:16px}.field{flex-direction:column;gap:6px;font-size:.9rem;font-weight:600;display:flex}.field-row{flex-direction:row;justify-content:space-between;align-items:center}.field input,.field select{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);height:46px;padding:0 14px;font-size:1rem;font-weight:400}.field input:focus,.field select:focus{border-color:var(--accent)}.toggle-row{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:4px 0;display:flex}.toggle-row .switch{flex-shrink:0}.switch{appearance:none;background:var(--border);cursor:pointer;border-radius:999px;width:48px;height:28px;margin:0;transition:background .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.switch:checked{background:var(--accent)}.switch:checked:after{transform:translate(20px)}.toggle-row.is-disabled{cursor:default}.toggle-row.is-disabled .store-name{opacity:.6}.switch:disabled{opacity:.45;cursor:not-allowed}.empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:6px;padding:32px 16px;display:flex}.empty strong{color:var(--text);font-size:1.05rem}.empty .btn{margin-top:10px}.empty-emoji{font-size:2.5rem}.toast{left:50%;bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px);z-index:30;background:var(--text);max-width:calc(100% - 32px);color:var(--bg);text-align:center;opacity:0;pointer-events:none;border-radius:999px;padding:12px 18px;font-size:.9rem;font-weight:600;transition:opacity .2s,transform .2s;position:fixed;transform:translate(-50%,10px)}.toast.show{opacity:1;transform:translate(-50%)}.toast.has-action{text-align:left;align-items:center;gap:12px;padding:6px 6px 6px 18px;display:flex}.toast.has-action.show{pointer-events:auto}.toast-action{background:var(--accent);color:var(--accent-ink);font:inherit;cursor:pointer;border:0;border-radius:999px;flex:none;padding:9px 14px;font-weight:700}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important}}svg.filled{fill:currentColor}.topbar-action{margin-left:auto;margin-right:-8px}.section-title small{color:var(--muted);margin-left:8px;font-size:.8rem;font-weight:500}.hint.center{text-align:center;margin-top:-4px}.badge{white-space:nowrap;border-radius:999px;align-self:flex-start;align-items:center;gap:4px;padding:2px 8px;font-size:.72rem;font-weight:700;display:inline-flex}.badge.ok{background:var(--accent-soft);color:var(--accent-strong)}.badge.warn{background:var(--warn-soft);color:var(--warn)}.badge.danger{background:var(--danger-soft);color:var(--danger)}.recipe-row .meta .badge{vertical-align:1px}.btn.small{height:32px;padding:0 12px;font-size:.8rem}.on-list{color:var(--accent-strong);white-space:nowrap;font-size:.8rem;font-weight:600}.stock-form{gap:10px}.input,.stock-form input{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);width:100%;min-width:0;height:46px;padding:0 14px}.stock-form input:focus{border-color:var(--accent)}.stock-form-row{grid-template-columns:1fr 1.25fr;gap:10px;display:grid}.input-unit{display:block;position:relative}.input-unit input{padding-right:52px}.input-unit span{color:var(--muted);pointer-events:none;font-size:.85rem;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.input-date{display:block;position:relative}.input-date span{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:.65rem;font-weight:700;position:absolute;top:5px;left:12px}.input-date input{padding-top:14px;font-size:.9rem}.btn.big{height:52px;font-size:1.02rem}.btn:disabled{opacity:.45;cursor:not-allowed}.button-row{flex-wrap:wrap;gap:8px;display:flex}.button-row .btn{flex:1}.has-photo{background-position:50%;background-repeat:no-repeat;background-size:cover}.tag.mine{background:var(--accent);color:var(--accent-ink)}textarea.input,.textarea{resize:vertical;height:auto;line-height:1.45;font:inherit;padding:12px 14px}.product-input{flex:1;min-width:0;position:relative}.product-input>input{width:100%}.product-panel{z-index:25;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:14px;padding:8px;position:absolute;top:calc(100% + 6px);left:0;right:0}.product-option{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:space-between;align-items:baseline;gap:10px;padding:10px;font-weight:600;display:flex}.product-option small{color:var(--muted);white-space:nowrap;font-size:.75rem;font-weight:500}.product-option:hover,.product-option.is-active{background:var(--surface-2)}.product-scroll{overscroll-behavior:contain;max-height:260px;overflow-y:auto}.product-hint,.product-empty{color:var(--muted);margin:4px 6px 8px;font-size:.85rem}.product-empty{margin-bottom:4px}.product-groups{flex-wrap:wrap;gap:6px;display:flex}.product-groups .chip small{color:var(--muted);margin-left:4px}.product-back{color:var(--accent-strong);font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 6px 8px;font-weight:700}.check,.link-btn,.week-switch,.qty button{position:relative}.check:before,.link-btn:before,.week-switch:before,.qty button:before{content:"";position:absolute;inset:-7px}.qty button:before{inset:-7px -3px}.confirm-backdrop{z-index:2000;padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:#0a1e1273;justify-content:center;align-items:flex-end;animation:.15s ease-out confirm-fade;display:flex;position:fixed;inset:0}.confirm-dialog{background:var(--surface);width:100%;max-width:420px;color:var(--text);border-radius:24px;padding:22px 20px 18px;animation:.2s ease-out confirm-up;box-shadow:0 20px 50px #00000040}.confirm-dialog h2{overflow-wrap:anywhere;margin:0 0 6px;font-size:1.15rem}.confirm-dialog p{color:var(--muted);margin:0;font-size:.92rem;line-height:1.45}.confirm-buttons{gap:10px;margin-top:18px;display:flex}.confirm-buttons .btn{flex:1;height:48px}.btn.danger-solid{background:var(--danger);color:#fff}.new-product{flex-direction:column;gap:12px;display:flex}.new-product h2{margin-bottom:0}.new-product-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.product-option.is-new{color:var(--accent-strong);font-weight:700}@keyframes confirm-fade{0%{opacity:0}}@keyframes confirm-up{0%{opacity:0;transform:translateY(24px)}}@media (width>=700px){.confirm-backdrop{align-items:center}}@media (prefers-reduced-motion:reduce){.confirm-backdrop,.confirm-dialog{animation:none}}.feature{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);align-items:center;gap:14px;padding:14px;display:flex}.feature-body{flex-direction:column;gap:2px;min-width:0;display:flex}.feature-body strong{font-size:1.1rem}.feature-empty .thumb{color:var(--accent);font-weight:700}.week{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.day{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);flex-direction:column;align-items:center;gap:4px;min-width:0;padding:8px 2px;display:flex}.day-label{color:var(--muted);text-transform:uppercase;font-size:.7rem;font-weight:700}.day-emoji{font-size:1.3rem;line-height:1.2}.day-name{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.7rem;overflow:hidden}.day.is-empty .day-emoji{color:var(--muted);font-size:1rem;line-height:1.56rem}.day.is-today{border-color:var(--accent);background:var(--accent-soft)}.day.is-today .day-label{color:var(--accent)}button.day{font:inherit;color:inherit;cursor:pointer}.day.is-selected{box-shadow:0 0 0 2px var(--accent)}.day-extra{letter-spacing:1px;font-size:.62rem;line-height:1}.day-panel{flex-direction:column;gap:6px;margin-top:10px;padding:12px;display:flex}.day-panel-title{text-transform:capitalize;font-size:.9rem}.day-meal{align-items:center;gap:10px;min-height:44px;display:flex}.day-meal-label{width:104px;color:var(--muted);flex:none;font-size:.82rem;font-weight:700}.day-meal-recipe{min-width:0;color:inherit;flex:1;align-items:center;gap:8px;font-size:.9rem;font-weight:600;text-decoration:none;display:flex}.day-meal-recipe span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.day-meal-recipe .thumb{width:36px;height:36px;font-size:1.1rem}.day-meal-remove{color:var(--muted);flex:none}.day-meal-add{border:1px dashed var(--border);border-radius:var(--radius-sm);font:inherit;color:inherit;cursor:pointer;text-align:left;background:0 0;padding:0 10px}.day-meal-plus{color:var(--accent-strong);font-size:.85rem;font-weight:700}.plan-week-widget{flex-direction:column;gap:10px;display:flex}.plan-week-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.segmented.small button{white-space:nowrap;padding:6px 10px;font-size:.78rem}.plan-result{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.plan-result li{grid-template-columns:52px 1fr;column-gap:8px;font-size:.9rem;display:grid}.plan-result-day{color:var(--muted);text-transform:capitalize;font-weight:700}.plan-result a{color:inherit;font-weight:600}.plan-result small{color:var(--accent-strong);grid-column:2;font-size:.78rem}.plan-banner{background:var(--accent-soft);align-items:center;gap:10px}.plan-intent{margin-bottom:4px}.stats{grid-template-columns:1fr 1fr;gap:10px;display:grid}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:2px;padding:14px;display:flex}.stat-value{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:1.4rem;font-weight:750}.recipe-row{align-items:center;gap:12px;padding:12px 14px;display:flex}.recipe-row-body{flex-direction:column;flex:1;min-width:0;display:flex}.recipe-row-body strong{font-weight:600}.chev{color:var(--muted);display:flex}.chev svg{width:18px;height:18px}.widgets{grid-template-columns:1fr 1fr;gap:22px 10px;display:grid}.widget{grid-column:span 2;min-width:0}.widget.half{grid-column:span 1}.widget>.stat{height:100%}.widgets.is-editing{gap:14px 10px}.widget.editing{border:2px dashed var(--accent);border-radius:calc(var(--radius) + 4px);background:color-mix(in srgb, var(--accent-soft) 45%, transparent);padding:6px}.widget-bar{align-items:center;gap:4px;padding:2px 2px 8px 6px;display:flex}.widget-name{min-width:0;color:var(--accent-strong);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.82rem;font-weight:800;overflow:hidden}.widget-bar button{background:var(--surface);width:40px;height:40px;box-shadow:var(--shadow);color:var(--text);border-radius:50%;place-items:center;font-weight:800;display:grid}.widget-bar button:disabled{opacity:.3}.widget-bar button.danger{color:var(--danger)}.widget-bar button svg{stroke-width:2.4px;width:16px;height:16px}.widget-preview{opacity:.85}.widget-empty-hint{border-radius:var(--radius);background:var(--surface);color:var(--muted);text-align:center;padding:14px;font-size:.85rem}.widget-preview>.widget-empty-hint:not(:first-child){display:none}.customize{align-self:center;padding:6px 12px}.widget-panel{gap:10px}.widget-add-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.widget-add-list button{border-radius:var(--radius-sm);background:var(--surface-2);text-align:left;align-items:center;gap:12px;width:100%;padding:10px 12px;display:flex}.widget-add-list .plus{background:var(--accent);width:30px;height:30px;color:var(--accent-ink);border-radius:50%;flex:none;place-items:center;font-size:1.1rem;font-weight:800;display:grid}.widget-add-body{flex-direction:column;display:flex}.fav-strip{scrollbar-width:none;gap:10px;margin:0 -16px;padding:2px 16px 6px;display:flex;overflow-x:auto}.fav-strip::-webkit-scrollbar{display:none}.fav-item{flex-direction:column;flex:none;gap:6px;width:92px;font-size:.78rem;font-weight:600;line-height:1.25;display:flex}.fav-item .thumb-xl{width:92px;height:92px}.widget.editing{cursor:grab;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.widget.editing.is-dragging{z-index:5;cursor:grabbing;background:var(--surface);border-style:solid;position:relative;scale:1.03;box-shadow:0 16px 32px #14502838}.widgets.is-editing .widget.editing:not(.is-dragging){animation:.9s ease-in-out infinite alternate widget-wiggle}@keyframes widget-wiggle{0%{rotate:-.35deg}to{rotate:.35deg}}.grip{color:var(--accent-strong);padding-right:2px;font-size:1rem;line-height:1}.edit-hint{margin:-8px 0 -10px}@media (prefers-reduced-motion:reduce){.widgets.is-editing .widget.editing{animation:none}}.search{background:var(--surface);border:1px solid var(--border);height:46px;color:var(--muted);border-radius:999px;align-items:center;gap:8px;padding:0 14px;display:flex}.search svg{flex:none;width:20px;height:20px}.search input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1}.search:focus-within{border-color:var(--accent);outline:2px solid var(--accent);outline-offset:2px}.chips{scrollbar-width:none;gap:8px;margin:-12px -16px 0;padding:2px 16px 4px;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chips.collapsed,.chips.wrap{flex-wrap:wrap;margin:-12px 0 0;padding:2px 0 4px;overflow:visible}.chip.more-chip{color:var(--accent-strong);border-style:dashed;font-weight:700}.chip{background:var(--surface);border:1px solid var(--border);border-radius:999px;flex:none;padding:7px 14px;font-size:.85rem;font-weight:600}.chip.active{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.recipe-grid .recipe-card{min-width:0}.recipe-grid .recipe-card strong{overflow-wrap:anywhere}.recipe-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:8px;padding:8px 8px 12px;display:flex}.recipe-card-body{flex-direction:column;gap:2px;padding:0 4px;display:flex}.recipe-card-body strong{font-size:.92rem;font-weight:650;line-height:1.25}.hero{aspect-ratio:4/3;border-radius:var(--radius);background-color:hsl(var(--hue) var(--thumb-s) var(--thumb-l));place-items:center;width:100%;max-height:340px;font-size:5rem;display:grid}.detail-title{letter-spacing:-.02em;margin-top:-8px;font-size:1.5rem;font-weight:750}.meta-row{color:var(--muted);flex-wrap:wrap;gap:6px 16px;margin-top:-14px;font-size:.9rem;display:flex}.tags{flex-wrap:wrap;gap:6px;margin-top:-10px;display:flex}.tag{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:3px 10px;font-size:.75rem;font-weight:700}.ingredients{margin:0;padding:0;list-style:none}.ingredients li{border-bottom:1px dashed var(--border);align-items:center;gap:10px;padding:9px 0;display:flex}.ing-name{flex-direction:column;flex:1;min-width:0;display:flex}.ing-status{border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:.75rem;font-weight:800;display:grid}.is-have .ing-status{background:var(--accent-soft);color:var(--accent)}.is-missing .ing-status{background:var(--warn-soft);color:var(--warn)}.is-missing .item-sub{color:var(--warn)}.ingredients li:last-child{border-bottom:0}.amount{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.day-picker{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.day-picker .chip{flex-direction:column;align-items:center;padding:6px 0;line-height:1.15;display:flex}.day-picker .chip small{opacity:.8;font-size:.7rem;font-weight:500}.day-picker .chip.is-past{opacity:.8}.day-picker .chip:disabled{cursor:default}.steps{counter-reset:step;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.steps li{counter-increment:step;gap:12px;display:flex}.steps li:before{content:counter(step);background:var(--accent-soft);width:26px;height:26px;color:var(--accent);border-radius:50%;flex:none;place-items:center;font-size:.85rem;font-weight:700;display:grid}.like-btn{width:40px;height:40px;color:var(--muted);border-radius:50%;place-items:center;transition:transform .15s;display:grid}.like-btn.is-liked{color:var(--accent)}.like-btn.is-disliked{color:var(--danger)}.like-btn:active{transform:scale(.85)}.vote-buttons{gap:2px;display:flex}.vote-count{white-space:nowrap;vertical-align:1px;gap:6px;font-size:.78rem;font-weight:700;display:inline-flex}.vote-count .up{color:var(--accent-strong)}.vote-count .down{color:var(--danger)}.card-badges{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.cost-badge{color:var(--muted);white-space:nowrap;font-size:.78rem;font-weight:700}.vote-names{color:var(--muted);flex-wrap:wrap;gap:4px 14px;margin-top:-10px;font-size:.85rem;display:flex}.appliance-note{color:var(--warn);background:var(--warn-soft);border-radius:var(--radius-sm);padding:10px 12px;font-size:.85rem}.appliance-note a{color:inherit;font-weight:700}.photo-credit{color:var(--muted);text-align:right;margin-top:-14px;font-size:.72rem}.like-btn.on-card{background:var(--surface);width:34px;height:34px;box-shadow:var(--shadow);position:absolute;top:12px;right:12px}.like-btn.on-card svg{width:19px;height:19px}.recipe-card{padding:0;position:relative}.recipe-card-link{flex-direction:column;gap:8px;height:100%;padding:8px 8px 12px;display:flex}.recipe-card-body .badge{margin-top:4px}.week-head{align-items:center;margin-bottom:10px}.week-head .section-title{margin-bottom:0}.week-switch{background:var(--accent-soft);color:var(--accent-strong);white-space:nowrap;border-radius:999px;align-items:center;gap:2px;padding:6px 10px;font-size:.8rem;font-weight:700;display:inline-flex}.week-switch svg{stroke-width:2.4px;width:16px;height:16px}.day.is-past{opacity:.95}.plan-week+.plan-week{margin-top:4px}.plan-week-label{color:var(--muted);margin-bottom:6px;font-size:.78rem;font-weight:700;display:block}.recipe-form{flex-direction:column;gap:22px;display:flex}.recipe-form .hero{height:160px}.file-btn{cursor:pointer}.emoji-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;display:grid}.emoji-btn{aspect-ratio:1;background:var(--surface-2);border:2px solid #0000;border-radius:10px;min-width:0;font-size:1.2rem}.emoji-btn.active{border-color:var(--accent);background:var(--accent-soft)}.field small{font-weight:400}.ingredient-rows{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.ingredient-rows li{grid-template-columns:1fr 110px 36px;align-items:center;gap:6px;display:grid}.ingredient-rows .input,.ingredient-rows input{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);width:100%;min-width:0;height:44px;padding:0 12px}.ingredient-rows .input-unit input{padding-right:44px}.ingredient-rows .icon-btn{width:36px;height:36px}.topbar-action .btn.small{margin-right:8px}.meal-filter{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.meal-chip{border-radius:var(--radius-sm);background:var(--surface);border:1.5px solid var(--border);white-space:nowrap;justify-content:center;align-items:center;gap:4px;min-width:0;height:42px;padding:0 4px;font-size:.82rem;font-weight:700;display:inline-flex}.meal-chip.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-strong)}.view>.meal-filter+.chips{margin-top:-10px}.tag.meal{background:var(--surface-2);color:var(--text)}.recipe-row-body .when{color:var(--warn);font-size:.85rem;font-weight:500}.nutrition-row{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.nutrition-row input{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);width:100%;min-width:0;height:44px;padding:0 34px 0 10px;font-weight:400}.nutrition-row .input-unit span{font-size:.78rem;right:8px}.meta.soon{font-style:italic}.recipe-card.is-family{box-shadow:var(--shadow), 6px 6px 0 -1px var(--surface-2), 6px 6px 0 0 var(--border)}.variants{flex-wrap:wrap;align-items:center;gap:6px;margin-top:-10px;display:flex}.variants .chip{padding:5px 12px;font-size:.8rem}.sugar-note{color:var(--warn);margin-top:-10px;font-size:.85rem;font-weight:600}.source{color:var(--muted);margin-top:-14px;font-size:.82rem}.source a{color:var(--accent-strong);font-weight:600}.topbar-buttons{gap:6px;margin-right:8px;display:inline-flex}.topbar-buttons .btn.small{margin-right:0}.notice-info{border-left:4px solid var(--accent);gap:8px}.pantry{color:var(--muted);font-size:.85rem;line-height:1.5}.pantry strong{color:var(--text);font-weight:650}.pantry-list{flex-wrap:wrap;gap:6px;margin:6px 0 4px;padding:0;list-style:none;display:flex}.pantry-list li{background:var(--surface-2);color:var(--text);border-radius:999px;align-items:center;gap:5px;padding:3px 9px;font-size:.8rem;display:inline-flex}.pantry-mark{color:var(--muted);font-weight:700}.pantry-list li.is-have .pantry-mark{color:var(--accent)}.pantry-list li.is-missing{background:var(--warn-soft)}.pantry-list li.is-missing .pantry-mark{color:var(--warn)}.pantry-missing{color:var(--warn);margin:6px 0}.pantry .btn.small{margin-top:2px}.more-recipes{border-radius:var(--radius);background:var(--surface);border:1.5px dashed var(--accent);align-items:center;gap:12px;padding:14px 16px;display:flex}.more-recipes-emoji{font-size:1.8rem;line-height:1}.more-recipes-body{flex-direction:column;flex:1;display:flex}.more-recipes-body span{color:var(--muted);font-size:.82rem}.mealdb-card .recipe-card-link{padding:8px 8px 12px}.mealdb-thumb{aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-sm);background:var(--surface-2);width:100%}.mealdb-thumb-empty{background:hsl(var(--hue) var(--thumb-s) var(--thumb-l));place-items:center;font-size:2.4rem;display:grid}.instructions-en{flex-direction:column;gap:10px;font-size:.92rem;line-height:1.55;display:flex}.card h3 small{font-weight:500}.is-optional .ing-status{background:var(--border);color:var(--muted)}.ing-name .optional{color:var(--muted);font-weight:500}.chip-group{flex-wrap:wrap;align-items:center;gap:6px;width:100%;display:flex}.chip-group-title{width:100%;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-top:6px;font-size:.75rem;font-weight:700}.form-error{color:var(--danger);font-size:.85rem}.stock-row{border-left:4px solid #0000;flex-direction:column;gap:6px;padding:10px 6px 10px 14px;display:flex}.stock-main{align-items:center;gap:8px;display:flex}.stock-main .item-name{flex:1;min-width:0}.stock-main .qty span{min-width:58px;font-size:.82rem}.stock-expiry{align-items:center;gap:10px;padding-right:8px;display:flex}.stock-expiry input{border:1px solid var(--border);background:var(--bg);height:32px;color:var(--muted);border-radius:8px;padding:0 8px;font-size:.8rem}.exp-text{color:var(--muted);font-size:.78rem}.stock-row.exp-soon{border-left-color:var(--warn);background:color-mix(in srgb, var(--warn-soft) 55%, transparent)}.stock-row.exp-soon .exp-text{color:var(--warn);font-weight:700}.stock-row.exp-expired{border-left-color:var(--danger);background:color-mix(in srgb, var(--danger-soft) 60%, transparent)}.stock-row.exp-expired .exp-text{color:var(--danger);font-weight:700}.use-first{flex-direction:column;gap:8px;padding:12px 14px;display:flex}.use-first-product{justify-content:space-between;align-items:center;gap:8px;display:flex}.use-first-recipe{border-radius:var(--radius-sm);background:var(--surface-2);align-items:center;gap:12px;padding:8px;display:flex}.use-first-recipe .recipe-row-body{gap:1px}.use-first-recipe .meta{text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:700}.use-in{color:var(--warn);padding-right:8px;font-size:.8rem}.use-in a{color:var(--accent-strong);text-underline-offset:2px;font-weight:700;text-decoration:underline}.use-in.advice-link{align-items:center;min-height:40px;display:inline-flex}.scan-cta{border-radius:var(--radius);background:linear-gradient(135deg, var(--hello-from), var(--hello-to));color:var(--hello-ink);box-shadow:var(--shadow);align-items:center;gap:14px;padding:14px 16px;display:flex}.scan-cta-emoji{font-size:2rem;line-height:1}.scan-cta-body{flex-direction:column;display:flex}.scan-cta-body span{opacity:.9;font-size:.85rem}.scan-cta:active{transform:scale(.98)}.scan-intro{text-align:center;align-items:center}.scan-intro .btn{cursor:pointer}.scan-emoji{font-size:3.5rem;line-height:1}.scan-reading{text-align:center;align-items:center}.receipt-photo{border-radius:var(--radius-sm);object-fit:contain;max-width:100%;max-height:260px}.progress{background:var(--surface-2);border-radius:999px;width:100%;height:10px;overflow:hidden}.progress span{background:var(--accent);border-radius:inherit;height:100%;transition:width .3s;display:block}.review-row{flex-direction:column;gap:6px;padding:10px 6px 10px 14px;display:flex}.review-main{align-items:center;gap:8px;display:flex}.review-main .select-sm,.review-main .item-name{flex:1;min-width:0}.review-sub{color:var(--muted);justify-content:space-between;gap:8px;padding-right:8px;font-size:.78rem;display:flex}.raw{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,Consolas,monospace;font-size:.78rem;overflow:hidden}.select-sm{border:1px solid var(--border);background:var(--bg);border-radius:10px;min-width:0;height:40px;padding:0 10px;font-weight:600}.review-row>.select-sm{margin-right:8px}.raw-text{white-space:pre-wrap;margin:0;font-family:ui-monospace,Consolas,monospace;font-size:.8rem}.group-toggle{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;margin-bottom:10px;padding:4px 0;display:flex}.group-toggle .section-title{margin:0}.group-count{background:var(--surface-2);min-width:22px;color:var(--muted);text-align:center;border-radius:999px;padding:1px 7px;font-size:.75rem;font-weight:700}.group-chev{color:var(--muted);margin-left:auto;transition:transform .15s;display:inline-flex;transform:rotate(90deg)}.group-toggle:not(.is-open) .group-chev{transform:rotate(0)}.group-toggle:not(.is-open){margin-bottom:0}.btn.small.tap{height:40px}.add-form{gap:8px;display:flex}.add-form input{border:1px solid var(--border);background:var(--surface);border-radius:999px;flex:1;min-width:0;height:46px;padding:0 16px}.add-form input:focus{border-color:var(--accent)}.spend-summary{flex-direction:column;gap:6px;display:flex}.spend-total{letter-spacing:-.02em;font-size:2rem;font-weight:800}.spend-compare{color:var(--muted);flex-wrap:wrap;gap:4px 14px;font-size:.82rem;display:flex}.spend-compare .up{color:var(--warn);font-weight:700}.spend-compare .down{color:var(--accent-strong);font-weight:700}.spend-chart{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:4px;height:170px;margin-top:8px;display:grid}.spend-col{min-width:0;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;padding:0;display:flex}.spend-value{white-space:nowrap;height:16px;font-size:.7rem;font-weight:700}.spend-track{border-bottom:1px solid var(--border);flex:1;justify-content:center;align-items:flex-end;width:100%;display:flex}.spend-bar{background:color-mix(in srgb, var(--accent) 45%, var(--surface));border-radius:4px 4px 0 0;width:62%;max-width:30px;transition:height .3s}.spend-col.is-active .spend-bar{background:var(--accent)}.spend-label{color:var(--muted);white-space:nowrap;font-size:.68rem}.spend-col.is-active .spend-label{color:var(--text);font-weight:700}.spend-list li{align-items:center;gap:10px;padding:10px 6px 10px 14px;display:flex}.spend-what{flex-direction:column;flex:1;min-width:0;display:flex}.spend-what strong{text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;overflow:hidden}.spend-amount{font-variant-numeric:tabular-nums;font-weight:700}.spend-add{grid-template-columns:1fr 1fr;gap:10px;display:grid}.input-euro{align-items:center;gap:6px;font-weight:700;display:flex}.input-euro .input{flex:1;min-width:0}.receipt-total{margin-top:4px}.shop-start{background:var(--accent-soft);color:var(--accent-strong)}.shop-head{z-index:5;background:var(--bg);align-items:center;gap:10px;padding:8px 0;display:flex;position:sticky;top:0}.shop-progress{background:var(--surface-2);border-radius:999px;flex:1;height:10px;overflow:hidden}.shop-progress span{background:var(--accent);height:100%;transition:width .3s;display:block}.shop-count{color:var(--muted);white-space:nowrap;font-size:.85rem;font-weight:700}.shop-list .shop-item{padding:0}.shop-toggle{width:100%;min-height:64px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:14px;padding:10px 16px;display:flex}.shop-toggle .check{width:34px;height:34px}.shop-toggle .item-name{font-size:1.08rem;font-weight:650}.shop-qty{color:var(--accent-strong);margin-left:auto;font-size:1.05rem;font-weight:800}.shop-item.is-done .item-name{color:var(--muted);text-decoration:line-through}.item{align-items:center;gap:10px;padding:10px 6px 10px 12px;display:flex}.check{border:2px solid var(--border);color:#0000;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;display:grid}.check svg{stroke-width:3px;width:16px;height:16px}.item.is-done .check{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.item-body{flex-direction:column;flex:1;min-width:0;display:flex}.item-name{text-overflow:ellipsis;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:600;display:-webkit-box;overflow:hidden}.item-sub{color:var(--muted);font-size:.78rem;display:block}.item.is-done .item-name{color:var(--muted);font-weight:500;text-decoration:line-through}.qty{background:var(--surface-2);border-radius:999px;flex:none;align-items:center;display:inline-flex}.qty button{width:30px;height:30px;color:var(--muted);font-size:1.1rem;font-weight:600}.qty span{text-align:center;font-variant-numeric:tabular-nums;min-width:18px;font-size:.9rem;font-weight:650}.qty-lg button{width:40px;height:40px}.qty-lg span{min-width:28px}.banner{border-radius:var(--radius);background:var(--accent-soft);color:var(--text);padding:14px 16px}.banner strong{color:var(--accent)}.store{justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.store-body{flex-direction:column;display:flex}.price{font-variant-numeric:tabular-nums;font-size:1.15rem;font-weight:750}.store.is-best{background:var(--accent-soft)}.store.is-best .meta{color:var(--accent);font-weight:700}.tip p{color:var(--muted);margin-top:-6px;font-size:.9rem}.table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow-x:auto}.compare{border-collapse:collapse;width:100%;font-size:.88rem}.compare th,.compare td{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;padding:10px 12px}.compare th:first-child,.compare td:first-child{text-align:left;white-space:normal}.compare td:first-child{z-index:1;background:var(--surface);position:sticky;left:0}.compare th:first-child{z-index:2;background:var(--surface-2);position:sticky;left:0}.compare th{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:var(--surface-2);font-size:.75rem}.compare tbody tr+tr td{border-top:1px solid var(--border)}.compare td.is-min{color:var(--accent);font-weight:750}.price-source{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 10px;margin:-8px 0 -10px;font-size:.8rem;display:flex}.price-source a{color:var(--accent-strong);font-weight:600}.price-error{color:var(--danger);flex-basis:100%}.compare td a{color:inherit;border-bottom:1px dotted var(--border);text-decoration:none}.compare td.is-min a{border-bottom-color:var(--accent)}.store-name,.brand-name{flex-direction:column;display:flex}.store-name .meta,.brand-name .meta{font-size:.8rem}.estimate-note{color:var(--warn);margin-top:2px;font-size:.78rem;line-height:1.3}.estimate-mark{color:var(--warn);margin-right:3px;font-weight:700}.store .price{white-space:nowrap}.compare .estimate{color:var(--warn);white-space:nowrap;font-style:italic}.alert{border-radius:var(--radius);border:1px solid #0000;align-items:center;gap:12px;padding:12px 14px;display:flex}.alert>svg{flex:none}.alert-body{flex-direction:column;flex:1;gap:2px;font-size:.88rem;display:flex}.alert-body strong{font-size:.95rem}.alert.warn{background:var(--warn-soft);color:var(--warn)}.alert.danger{background:var(--danger-soft);color:var(--danger)}.alert .alert-body span{color:var(--text);opacity:.8}.alert .chev{color:inherit}.hello{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.hello-text{min-width:0}.bell{width:42px;height:42px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;position:relative}.bell.on-color{color:var(--hello-ink);background:#ffffff38}.bell.has-alert{color:var(--danger);background:var(--danger-soft)}.bell.on-color.has-alert{color:var(--danger);background:#fff}.bell.has-alert svg{transform-origin:50% 10%;animation:1.2s ease-in-out bell-ring}.bell-badge{color:#fff;text-align:center;min-width:20px;height:20px;box-shadow:0 0 0 2px var(--surface);background:#c2341b;border-radius:999px;padding:0 5px;font-size:.72rem;font-weight:800;line-height:20px;position:absolute;top:-3px;right:-3px}@keyframes bell-ring{0%,to{transform:rotate(0)}15%{transform:rotate(14deg)}30%{transform:rotate(-12deg)}45%{transform:rotate(8deg)}60%{transform:rotate(-5deg)}}.notice-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.notice{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--warn);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:8px;padding:14px 16px;display:flex}.notice.is-tgt{border-left-color:var(--danger)}.notice-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.notice-head strong{font-size:1.05rem}.notice-tags{align-items:center;gap:8px;display:flex}.badge.neutral{background:var(--surface-2);color:var(--muted)}.verdict{font-size:.92rem;font-weight:800}.verdict.danger{color:var(--danger)}.verdict.warn{color:var(--warn)}.advice{font-size:.9rem;line-height:1.5}.notice-recipe{border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--accent-strong);align-items:center;gap:4px;padding:8px 10px;font-size:.85rem;display:flex}.notice-recipe strong{margin-left:2px}.notice-recipe svg{width:16px;height:16px;margin-left:auto}.notice .button-row .btn{flex:none}.explainer summary{cursor:pointer;font-weight:700}.explainer p{font-size:.88rem;line-height:1.5}.advice-link{color:var(--danger);font-weight:700}.chip-grid{flex-wrap:wrap;gap:8px;display:flex}.chip.active.danger{background:var(--danger);border-color:var(--danger);color:#fff}.field-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.field-label{flex-direction:column;font-size:.9rem;font-weight:600;display:flex}.field-label .meta{font-size:.8rem;font-weight:400}.substitute{color:var(--accent-strong);font-size:.78rem;font-weight:600;display:block}.stock-form-row.no-date{grid-template-columns:1fr}.field .segmented{margin-top:2px}.auth{max-width:420px;min-height:100dvh;padding:calc(env(safe-area-inset-top) + 40px) 16px 32px;flex-direction:column;gap:18px;margin:0 auto;display:flex}.auth-back{color:var(--accent-strong);align-self:flex-start;margin:-24px 0 -8px;padding:8px 4px;font-weight:700;text-decoration:none}.auth-brand{text-align:center;flex-direction:column;align-items:center;gap:4px;display:flex}.auth-brand h1{letter-spacing:-.02em;font-size:1.8rem;font-weight:800}.auth-brand p{color:var(--muted)}.auth-logo{background:linear-gradient(135deg, var(--hello-from), var(--hello-to));border-radius:28px;place-items:center;width:84px;height:84px;margin-bottom:8px;font-size:3rem;display:grid}.auth-card{flex-direction:column;gap:14px;display:flex}.auth-error{color:var(--danger);background:var(--danger-soft);border-radius:12px;padding:10px 12px;font-size:.88rem;font-weight:600}.auth-info{color:var(--text);background:var(--surface-2);border-radius:12px;padding:10px 12px;font-size:.88rem}.auth-invite{background:var(--accent-soft)}.welcome{text-align:center;border-radius:var(--radius);background:linear-gradient(135deg, var(--hello-from), var(--hello-to));color:var(--hello-ink);padding:18px 16px}.welcome-emoji{font-size:2.2rem}.welcome h2{margin:2px 0 6px;font-size:1.4rem;font-weight:800}.welcome p{font-size:.95rem;line-height:1.45}.starter-options{grid-template-columns:1fr 1fr;gap:10px;display:grid}.starter{border:2px solid var(--border);background:var(--surface);color:var(--text);text-align:left;font:inherit;cursor:pointer;border-radius:14px;flex-direction:column;align-items:flex-start;gap:4px;padding:12px;display:flex}.starter.active{border-color:var(--accent);background:var(--accent-soft)}.starter-emoji{font-size:1.6rem}.starter .meta{font-size:.78rem;line-height:1.35}.link-btn.center{cursor:pointer;background:0 0;border:0;align-self:center;padding:4px}.account-row{align-items:center;gap:12px;margin:10px 0 8px;display:flex}.account-avatar{background:var(--accent-soft);width:44px;height:44px;color:var(--accent-strong);border-radius:50%;flex:none;place-items:center;font-size:1.1rem;font-weight:800;display:grid}.account-avatar.small{width:34px;height:34px;font-size:.9rem}.account-body{flex-direction:column;flex:1;min-width:0;display:flex}.account-body .meta{text-overflow:ellipsis;overflow:hidden}.settings-link{color:inherit;flex-direction:row;align-items:center;gap:12px;text-decoration:none;display:flex}.settings-link-emoji{font-size:1.6rem}.settings-link-body{flex-direction:column;flex:1;display:flex}.member-list{flex-direction:column;gap:10px;margin:10px 0 0;padding:0;list-style:none;display:flex}.member-list li{flex-direction:column;gap:10px;display:flex}.member-list li+li{border-top:1px solid var(--border);padding-top:10px}.member-row{align-items:center;gap:10px;display:flex}.member-row .account-body{flex-direction:column;flex:1;min-width:0;display:flex}.member-prefs{overflow-wrap:anywhere}.member-edit{flex-direction:column;gap:12px;display:flex}.share-status{margin-top:-6px}.invite-code{background:var(--surface-2);text-align:center;letter-spacing:.15em;color:var(--accent-strong);border-radius:14px;margin:12px 0 4px;padding:14px;font-family:ui-monospace,Consolas,monospace;font-size:1.8rem;font-weight:800}.invite-code.long{letter-spacing:.02em;overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;font-size:.95rem}.invite-code.with-copy{align-items:center;gap:8px;padding-right:8px;display:flex}.invite-code.with-copy>span{flex:1;min-width:0}.invite-copy{background:var(--surface);width:44px;height:44px;color:var(--accent-strong);cursor:pointer;border:0;border-radius:12px;flex:none;place-items:center;display:grid}.invite-copy svg{width:22px;height:22px}.invite-copy:active{transform:scale(.92)}.share-buttons{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.share-buttons .btn{padding:0 8px}.btn.share-whatsapp{color:#fff;background:#25d366}.meta.center{text-align:center}.offline-bar{top:calc(env(safe-area-inset-top) + 8px);z-index:40;background:var(--warn-soft);width:calc(100% - 24px);max-width:480px;color:var(--warn);box-shadow:var(--shadow);border-radius:14px;align-items:center;gap:8px;padding:8px 8px 8px 12px;font-size:.8rem;font-weight:600;display:flex;position:fixed;left:50%;transform:translate(-50%)}.offline-text{flex:1;line-height:1.3}.is-offline .app{padding-top:72px}.offline-retry{background:var(--surface);color:var(--warn);font:inherit;cursor:pointer;border:0;border-radius:10px;flex:none;padding:8px 10px;font-weight:700}.share-toggle{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.housemate-note{margin-top:8px}.name-saved{color:var(--accent-strong)}.password-form{border-top:1px solid var(--border);margin-top:8px;padding-top:12px}.show-password{cursor:pointer;align-items:center;gap:8px;min-height:40px;font-size:.9rem;display:flex}.show-password input{width:18px;height:18px;accent-color:var(--accent)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.report-link{border:1px solid var(--border);background:var(--surface);min-height:36px;font:inherit;color:var(--text);cursor:pointer;border-radius:999px;align-self:flex-start;align-items:center;gap:6px;padding:6px 12px;font-size:.85rem;font-weight:600;display:inline-flex}.report-link:hover{border-color:var(--accent)}.report-dialog{gap:10px}.report-dialog .report-recipe{color:var(--text);font-weight:700}.report-kinds{border:0;flex-direction:column;gap:4px;margin:0;padding:0;display:flex}.report-kind{border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:10px;min-height:44px;padding:6px 10px;display:flex}.report-kind:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}.report-kind input{width:18px;height:18px;accent-color:var(--accent)}.report-dialog textarea{resize:vertical;min-height:70px;font:inherit}.report-dialog .report-privacy{font-size:.8rem}.stat-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.stat-tile{flex-direction:column;gap:2px;margin:0;display:flex}.stat-label{color:var(--muted);font-size:.8rem}.stat-value{letter-spacing:-.02em;color:var(--text);font-size:1.7rem;font-weight:800}.users-chart-plot{touch-action:pan-y;position:relative}.users-chart svg{width:100%;height:auto;display:block;overflow:visible}.users-chart .grid{stroke:var(--border);stroke-width:1px}.users-chart .axis{fill:var(--muted);stroke:none;font-size:10px;font-weight:400}.users-chart .line{fill:none;stroke:var(--accent);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.users-chart .area{fill:color-mix(in srgb, var(--accent) 14%, transparent);stroke:none}.users-chart .crosshair{stroke:var(--muted);stroke-width:1px;stroke-dasharray:3 3}.users-chart .dot{fill:var(--accent);stroke:var(--surface);stroke-width:2px}.chart-tip{pointer-events:none;background:var(--text);color:var(--surface);white-space:nowrap;box-shadow:var(--shadow);border-radius:8px;flex-direction:column;align-items:center;padding:4px 8px;font-size:.75rem;display:flex;position:absolute;top:0;transform:translate(-50%)}.chart-tip strong{font-size:.9rem}.chart-table{margin-top:8px;font-size:.85rem}.chart-table summary{cursor:pointer;color:var(--muted);min-height:32px}.chart-table table{border-collapse:collapse;width:100%}.chart-table th,.chart-table td{text-align:left;border-bottom:1px solid var(--border);padding:4px 6px}.chart-table td:last-child,.chart-table th:last-child{text-align:right}.admin-reports{flex-direction:column;gap:10px;display:flex}.report-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.report-item{border:1px solid var(--border);border-radius:var(--radius-sm);flex-direction:column;gap:4px;padding:10px 12px;display:flex}.report-head{overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:8px;font-weight:700;display:flex}.report-kind-label{color:var(--text);font-size:.85rem}.report-comment{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.88rem}.report-foot{justify-content:space-between;align-items:center;gap:8px;display:flex}.tour{z-index:60;position:fixed;inset:0}.tour-dim{background:#08180e99;position:absolute;inset:0}.tour-spot{border-radius:var(--radius-sm);outline:2px solid var(--accent);pointer-events:none;animation:.3s ease-out both tour-spot-in;position:fixed;box-shadow:0 0 0 9999px #08180e99}@keyframes tour-spot-in{0%{opacity:0;transform:scale(1.04)}to{opacity:1;transform:none}}@keyframes tour-card-in{0%{opacity:0;translate:0 6px}to{opacity:1;translate:0}}.tour-card{background:var(--surface);max-width:380px;color:var(--text);border-radius:var(--radius);flex-direction:column;gap:6px;margin:0 auto;padding:16px 18px 14px;animation:.25s ease-out both tour-card-in;display:flex;position:fixed;left:16px;right:16px;box-shadow:0 10px 30px #00000040}.tour-card.centered{top:50%;transform:translateY(-50%)}.tour-card h2{font-size:1.1rem}.tour-card p{margin:0}.tour-count{color:var(--accent-strong);font-size:.8rem;font-weight:600}.tour-buttons{align-items:center;gap:8px;margin-top:8px;display:flex}.tour-spacer{flex:1}@media (prefers-reduced-motion:reduce){.tour-spot,.tour-card{animation:none}}@media (hover:hover) and (pointer:fine){.chips,.fav-strip,.meal-filter{scrollbar-width:thin;scrollbar-color:var(--border) transparent}.chips::-webkit-scrollbar{height:6px;display:block}.fav-strip::-webkit-scrollbar{height:6px;display:block}.meal-filter::-webkit-scrollbar{height:6px;display:block}.chips::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.fav-strip::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}.meal-filter::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px}}
