/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:host,:root{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--ease-out:cubic-bezier(0, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sticky{position:sticky}.isolate{isolation:isolate}.block{display:block}.inline{display:inline}.table{display:table}.rounded{border-radius:.25rem}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--bg:#f7f3eb;--surface:#fffdf8;--surface-soft:#eee9df;--ink:#1c2b28;--muted:#68736e;--line:#ddd7cc;--primary:#a64b34;--primary-dark:#713324;--primary-soft:#f0ddd3;--accent:#3f765f;--accent-soft:#e5eee7;--gold:#c98c36;--danger:#b33e3e;--shadow-sm:0 6px 18px #3c2b1f12;--shadow-lg:0 20px 44px #3c2b1f24;--ease-out:cubic-bezier(.23, 1, .32, 1);--ease-in-out:cubic-bezier(.77, 0, .175, 1);--ease-drawer:cubic-bezier(.32, .72, 0, 1);--radius-card:14px;--radius-control:10px;--radius-small:8px;--focus-ring:0 0 0 3px #a64b342e;color:var(--ink);background:var(--bg);font-synthesis:none;font-family:Segoe UI Variable,Avenir Next,Avenir,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body,html{background:var(--bg);min-width:320px}body{min-height:100dvh;margin:0}button,input,select{font:inherit}a,button{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.035em;font-family:Georgia,Iowan Old Style,Palatino Linotype,serif;font-weight:600}h1{font-size:clamp(2.2rem,6vw,4rem);line-height:1.02}h2{font-size:clamp(1.7rem,4vw,2.45rem);line-height:1.08}h3{font-size:1.08rem;line-height:1.25}:focus-visible{box-shadow:var(--focus-ring);outline:0}.app-shell{min-height:100dvh}.app-main{width:min(100%,1160px);margin:0 auto;padding:24px 18px 112px}.page{gap:34px;display:grid}.page--narrow{width:min(100%,720px);margin:0 auto}.app-shell--auth .app-main{padding-bottom:32px}.auth-page{align-content:start;gap:42px;min-height:calc(100dvh - 48px);padding:10px 0 28px;display:grid}.auth-page__top{justify-content:space-between;align-items:center;gap:18px;display:flex}.auth-page__backlink{min-height:44px;color:var(--muted);align-items:center;gap:7px;font-size:.8rem;font-weight:800;display:inline-flex}.auth-layout{grid-template-columns:minmax(0,1fr) minmax(360px,480px);align-items:start;gap:clamp(40px,7vw,108px);display:grid}.auth-intro{align-content:start;gap:17px;max-width:530px;padding:38px 0 0;display:grid}.auth-intro h1{max-width:520px;font-size:clamp(2.5rem,5.4vw,4.6rem)}.auth-intro>p{max-width:470px;color:var(--muted);font-size:1rem;line-height:1.65}.auth-benefits{gap:12px;margin:4px 0 0;padding:0;list-style:none;display:grid}.auth-benefits li{grid-template-columns:auto 1fr;align-items:start;gap:11px;display:grid}.auth-benefits__icon{border-radius:var(--radius-small);width:28px;height:28px;color:var(--accent);background:var(--accent-soft);place-items:center;display:grid}.auth-benefits li>span:last-child{gap:3px;display:grid}.auth-benefits strong{font-size:.86rem}.auth-benefits small{color:var(--muted);font-size:.76rem;line-height:1.45}.auth-card{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);width:100%;max-width:480px;box-shadow:var(--shadow-lg);justify-self:end;gap:19px;padding:26px;display:grid}.auth-card__header{gap:8px;display:grid}.auth-card__eyebrow{color:var(--primary);letter-spacing:.13em;text-transform:uppercase;font-size:.68rem;font-weight:900}.auth-card__header h2{font-size:clamp(1.8rem,3vw,2.35rem)}.auth-card__header p{color:var(--muted);font-size:.84rem;line-height:1.55}.auth-toggle{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface-soft);grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.auth-toggle__button{border-radius:var(--radius-small);min-height:60px;color:var(--muted);text-align:left;transition:color .16s var(--ease-out),background .16s var(--ease-out),box-shadow .16s var(--ease-out);background:0 0;border:1px solid #0000;align-content:center;gap:2px;padding:8px 12px;display:grid}.auth-toggle__button strong{font-size:.82rem}.auth-toggle__button span{color:inherit;font-size:.68rem;line-height:1.25}.auth-toggle__button.is-active{color:var(--primary-dark);background:var(--surface);box-shadow:var(--shadow-sm)}.auth-card .error-message,.auth-card .notice,.auth-card .success-message{margin:-2px 0 0}.auth-form{gap:15px}.auth-form__hint{color:var(--muted);font-size:.72rem;line-height:1.4}.auth-form__actions{grid-template-columns:1fr;gap:10px;margin-top:4px;display:grid}.auth-form__actions .primary-button,.auth-form__actions .secondary-button{width:100%}.auth-card__footer{color:var(--muted);align-items:flex-start;gap:7px;padding-top:1px;font-size:.72rem;line-height:1.45;display:flex}.auth-card__footer svg{color:var(--accent);flex:none;margin-top:2px}.auth-card code{color:var(--primary-dark);background:var(--primary-soft);border-radius:4px;padding:1px 4px;font-size:.72rem}.page-header{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.page-header__copy{gap:8px;display:grid}.page-header__copy p{max-width:560px;color:var(--muted);line-height:1.55}.eyebrow{color:var(--primary);letter-spacing:.14em;text-transform:uppercase;font-size:.72rem;font-weight:800}.muted{color:var(--muted)}.tiny{font-size:.77rem}.brand-lockup{color:var(--ink);letter-spacing:-.03em;align-items:center;gap:9px;font-weight:900;display:inline-flex}.brand-lockup__mark{border-radius:var(--radius-control);color:#fff;background:var(--primary);place-items:center;width:34px;height:34px;display:grid;box-shadow:4px 4px #e2c4b7}.brand-lockup__name{font-family:Georgia,Iowan Old Style,serif;font-size:1.25rem}.bottom-nav{z-index:20;width:100%;padding:8px max(10px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffdf8f7;border:1px solid #ddd7ccf2;border-bottom:0;border-radius:16px 16px 0 0;grid-template-columns:repeat(5,1fr);margin:0 auto;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #3c2b1f17}.bottom-nav__item{border-radius:var(--radius-control);color:#7d8781;min-height:52px;transition:color .16s var(--ease-out),background .16s var(--ease-out),transform .16s var(--ease-out);place-items:center;gap:2px;padding:4px 3px;font-size:.68rem;font-weight:700;display:grid}.bottom-nav__icon{width:30px;height:30px;transition:color .16s var(--ease-out),background .16s var(--ease-out);border-radius:9px;place-items:center;display:grid}.bottom-nav__item.is-active{color:var(--primary-dark)}.bottom-nav__item.is-active .bottom-nav__icon{color:var(--primary);background:var(--primary-soft)}.hero-card{color:#fff8f1;background:var(--primary-dark);box-shadow:var(--shadow-lg);border-radius:18px 18px 8px;gap:24px;padding:28px;display:grid;position:relative;overflow:hidden}.hero-card:after{content:"";border:1px solid #ffffff29;border-radius:50%;width:260px;height:260px;position:absolute;top:-90px;right:-70px;box-shadow:0 0 0 26px #ffffff0a,0 0 0 52px #ffffff09}.hero-card__body,.hero-card__footer,.hero-card__top{z-index:1;position:relative}.hero-card__top{justify-content:space-between;align-items:center;gap:18px;display:flex}.hero-card .brand-lockup{color:#fff8f1}.hero-card .brand-lockup__mark{color:var(--primary-dark);background:#fff8f1;box-shadow:4px 4px #ffffff2e}.hero-card__body{gap:10px;max-width:620px;display:grid}.hero-card__body p{color:#fff8f1c7;max-width:490px;font-size:1.03rem;line-height:1.55}.hero-card__footer{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.hero-card__note{color:#fff8f1bf;align-items:center;gap:7px;font-size:.78rem;display:inline-flex}.hero-card__profile-button{color:#fff8f1;background:#ffffff14;border-color:#ffffff40}.hero-card__date{color:#f4c5af}.ghost-button,.icon-button,.primary-button,.secondary-button{border-radius:var(--radius-control);min-height:46px;transition:transform .15s var(--ease-out),box-shadow .18s var(--ease-out),background .18s var(--ease-out),border-color .18s var(--ease-out),color .18s var(--ease-out);border:1px solid #0000;justify-content:center;align-items:center;gap:9px;font-weight:800;display:inline-flex}.ghost-button,.primary-button,.secondary-button{padding:0 16px}.primary-button{color:#fff;background:var(--primary);box-shadow:0 5px 12px #71332429}.ghost-button:active,.icon-button:active,.primary-button:active,.secondary-button:active{transform:scale(.97)}.primary-button--light{color:var(--primary-dark);background:#fff8f1;box-shadow:0 5px 12px #30191224}.secondary-button{color:var(--primary-dark);border-color:var(--line);background:var(--surface)}.ghost-button{color:var(--muted);background:0 0}.icon-button{width:46px;color:var(--muted);border-color:var(--line);background:var(--surface);padding:0}.button--small{border-radius:var(--radius-small);min-height:40px;box-shadow:none;padding:0 12px;font-size:.82rem}.section{gap:15px;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.section-heading__copy{gap:5px;display:grid}.section-heading__copy p{color:var(--muted);font-size:.88rem}.section-link{color:var(--primary-dark);align-items:center;gap:5px;font-size:.82rem;font-weight:800;display:inline-flex}.stat-strip{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.stat-card{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-sm);gap:5px;padding:15px;display:grid}.stat-card strong{font-family:Georgia,Iowan Old Style,serif;font-size:1.45rem}.stat-card span{color:var(--muted);font-size:.75rem;font-weight:700}.inventory-preview{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-sm);overflow:hidden}.inventory-preview__header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:17px 18px;display:flex}.inventory-preview__header strong{font-family:Georgia,Iowan Old Style,serif}.inventory-list--preview{grid-template-columns:repeat(2,1fr);display:grid}.inventory-row{border-bottom:1px solid #f0e9df;align-items:center;gap:11px;min-height:66px;padding:12px 16px;display:flex}.inventory-row:nth-child(odd){border-right:1px solid #f0e9df}.inventory-row:last-child,.inventory-row:nth-last-child(2):nth-child(odd){border-bottom:0}.ingredient-dot{border-radius:var(--radius-small);width:38px;height:38px;color:var(--accent);background:var(--accent-soft);flex:none;place-items:center;display:grid}.ingredient-dot--protein{color:var(--primary-dark);background:var(--primary-soft)}.ingredient-dot--spice{color:#9d6a22;background:#fff1cc}.ingredient-dot--sauce{color:#8e4e37;background:#f5e4dc}.ingredient-dot--pantry{color:#6d5f9b;background:#ece8f8}.inventory-row__copy{gap:3px;min-width:0;display:grid}.inventory-row__copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;overflow:hidden}.inventory-row__copy span{color:var(--muted);font-size:.76rem}.recipe-grid{gap:14px;display:grid}.recipe-card{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-sm);transition:transform .18s var(--ease-out),box-shadow .18s var(--ease-out),border-color .18s var(--ease-out);grid-template-rows:auto 1fr;display:grid;overflow:hidden}.recipe-card__body{gap:10px;padding:17px;display:grid}.recipe-card__topline{justify-content:space-between;align-items:center;gap:8px;display:flex}.recipe-card__title{gap:5px;display:grid}.recipe-card__title p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.82rem;line-height:1.45;display:-webkit-box;overflow:hidden}.recipe-card__link{display:block}.recipe-art{color:#fff;align-items:flex-end;min-height:150px;padding:17px;display:flex;position:relative;overflow:hidden}.recipe-art:after,.recipe-art:before{content:"";background:#ffffff29;border-radius:12px;position:absolute;transform:rotate(12deg)}.recipe-art:before{width:92px;height:92px;bottom:12%;right:14%}.recipe-art:after{background:0 0;border:20px solid #ffffff1f;width:130px;height:130px;top:-25px;right:-5px}.recipe-art__image{z-index:0;-o-object-fit:cover;object-fit:cover;opacity:.82;filter:saturate(1.08);width:100%;height:100%;position:absolute;inset:0}.recipe-card__media-kicker{z-index:1;color:#ffffffe0;letter-spacing:.02em;background:#1c2b286b;border:1px solid #ffffff3d;border-radius:999px;padding:5px 8px;font-size:.65rem;font-weight:800;position:absolute;top:13px;left:14px}.recipe-art__label{z-index:1;text-shadow:0 2px 14px #291e1873;gap:3px;display:grid;position:relative}.recipe-art__label span{color:#fffc;font-size:.74rem;font-weight:700}.recipe-art__label strong{max-width:220px;font-family:Georgia,Iowan Old Style,serif;font-size:1.3rem;line-height:1.08}.art-sunset{background:linear-gradient(135deg,#cb704c,#8d3c2d)}.art-leaf{background:linear-gradient(135deg,#4a9279,#245c58)}.art-gold{background:linear-gradient(135deg,#d79d48,#9c532f)}.art-coral{background:linear-gradient(135deg,#d56e63,#8f3f53)}.art-mint{background:linear-gradient(135deg,#72a995,#39756d)}.art-lemon{background:linear-gradient(135deg,#e4b750,#b76a35)}.art-berry{background:linear-gradient(135deg,#a75c6d,#553f69)}.art-orange{background:linear-gradient(135deg,#e0823f,#9b4b2d)}.art-plum{background:linear-gradient(135deg,#81628e,#473f69)}.art-aqua{background:linear-gradient(135deg,#58a3a1,#346979)}.art-honey{background:linear-gradient(135deg,#d79a42,#94582f)}.art-garden{background:linear-gradient(135deg,#7a9b67,#446255)}.recipe-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;font-size:.75rem;font-weight:700;display:flex}.recipe-meta span{align-items:center;gap:4px;display:inline-flex}.match-pill,.source-pill,.tag-pill{border-radius:999px;align-items:center;width:fit-content;font-size:.7rem;font-weight:800;display:inline-flex}.match-pill{color:var(--accent);background:var(--accent-soft);padding:5px 8px}.tag-pill{color:#806037;background:#fff1d7;padding:5px 8px}.source-pill{color:var(--muted);background:var(--surface-soft);padding:4px 7px}.recipe-card__footer{justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:3px;display:flex}.recipe-card__cta{color:var(--primary-dark);align-items:center;gap:4px;font-size:.8rem;font-weight:900;display:inline-flex}.filter-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.filter-chip{border:1px solid var(--line);min-height:38px;color:var(--muted);background:var(--surface);transition:color .16s var(--ease-out),border-color .16s var(--ease-out),background .16s var(--ease-out);border-radius:999px;padding:0 13px;font-size:.78rem;font-weight:800}.filter-chip.is-active{color:var(--primary-dark);background:var(--primary-soft);border-color:#dfad99}.recipe-view-switch{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface-soft);grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.recipe-view-switch__button{border-radius:var(--radius-small);min-height:54px;color:var(--muted);text-align:left;transition:color .16s var(--ease-out),background .16s var(--ease-out),box-shadow .16s var(--ease-out);background:0 0;border:1px solid #0000;align-content:center;gap:2px;padding:8px 12px;display:grid}.recipe-view-switch__button strong{font-size:.8rem}.recipe-view-switch__button small{color:inherit;font-size:.68rem;line-height:1.25}.recipe-view-switch__button.is-active{color:var(--primary-dark);background:var(--surface);box-shadow:var(--shadow-sm)}.search-wrap{flex:220px;position:relative}.search-wrap svg{color:var(--muted);position:absolute;top:50%;left:14px;transform:translateY(-50%)}.search-input{border-radius:var(--radius-control);width:100%;min-height:48px;color:var(--ink);transition:border-color .16s var(--ease-out),box-shadow .16s var(--ease-out);outline:0;padding:0 15px 0 43px}.form-card,.info-card,.scan-card,.search-input{border:1px solid var(--line);background:var(--surface)}.form-card,.info-card,.scan-card{border-radius:var(--radius-card);box-shadow:var(--shadow-sm);gap:18px;padding:20px;display:grid}.form-card__header{gap:5px;display:grid}.form-card__header p{color:var(--muted);font-size:.85rem;line-height:1.5}.form{gap:14px;display:grid}.form-grid{gap:13px;display:grid}.field{gap:7px;display:grid}.field label{color:var(--ink);font-size:.8rem;font-weight:800}.field input,.field select{border:1px solid var(--line);border-radius:var(--radius-control);width:100%;min-height:48px;color:var(--ink);background:var(--surface);transition:border-color .16s var(--ease-out),box-shadow .16s var(--ease-out);outline:0;padding:0 13px}.field input:focus,.field select:focus,.search-input:focus{border-color:var(--primary);box-shadow:var(--focus-ring)}.field small{color:var(--muted);font-size:.72rem;line-height:1.4}.form-actions{flex-wrap:wrap;gap:9px;display:flex}.error-message,.notice,.success-message{border-radius:var(--radius-small);align-items:flex-start;gap:9px;padding:12px 13px;font-size:.8rem;line-height:1.45;display:flex}.error-message{color:var(--danger);background:#fff1f1}.success-message{color:#25634e;background:var(--accent-soft)}.notice{color:#71562c;background:#fff4db}.inventory-page__toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.inventory-list{gap:10px;display:grid}.inventory-item{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-sm);grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:15px;display:grid}.inventory-item__copy{gap:5px;min-width:0;display:grid}.inventory-item__copy strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-item__copy p{color:var(--muted);font-size:.78rem}.inventory-item__actions{gap:7px;display:flex}.inventory-item__meta{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.upload-zone{border-radius:var(--radius-card);text-align:center;min-height:240px;transition:border-color .18s var(--ease-out),background .18s var(--ease-out);background:linear-gradient(145deg,#fffaf4,#f9eee7);border:1.5px dashed #d7b5a7;place-items:center;padding:26px;display:grid;position:relative}.upload-zone input{cursor:pointer;opacity:0;width:100%;height:100%;position:absolute;inset:0}.upload-zone__content{pointer-events:none;justify-items:center;gap:10px;display:grid}.upload-zone__icon{border-radius:var(--radius-control);width:58px;height:58px;color:var(--primary-dark);background:var(--primary-soft);place-items:center;display:grid}.upload-zone__content strong{font-family:Georgia,Iowan Old Style,serif}.upload-zone__content p{max-width:290px;color:var(--muted);font-size:.82rem;line-height:1.45}.scan-preview{border-radius:var(--radius-card);background:#e8dfd3;min-height:240px;position:relative;overflow:hidden}.scan-preview img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;min-height:240px;display:block}.scan-preview__badge{color:#fff;background:#21302dd1;border-radius:999px;align-items:center;gap:6px;padding:7px 10px;font-size:.72rem;font-weight:800;display:inline-flex;position:absolute;bottom:12px;right:12px}.detected-list{gap:9px;display:grid}.detected-row{border:1px solid var(--line);border-radius:var(--radius-small);background:var(--surface);grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px;display:grid}.detected-row input[type=checkbox]{width:19px;height:19px;accent-color:var(--accent)}.detected-row__copy{gap:3px;display:grid}.detected-row__copy strong{font-size:.86rem}.detected-row__copy small{color:var(--muted);font-size:.72rem}.detected-row__quantity{align-items:center;gap:6px;display:flex}.detected-row__quantity input,.detected-row__quantity select{border:1px solid var(--line);border-radius:var(--radius-small);background:var(--surface);width:68px;min-height:38px;padding:0 7px}.detected-row__quantity select{width:82px}.detail-page{gap:22px;display:grid}.detail-hero{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-sm);overflow:hidden}.detail-hero__copy{gap:12px;padding:22px;display:grid}.detail-hero__copy p{max-width:650px;color:var(--muted);line-height:1.55}.detail-hero__actions{flex-wrap:wrap;gap:9px;display:flex}.detail-columns{gap:16px;display:grid}.detail-section{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-sm);gap:13px;padding:19px;display:grid}.detail-section__title{justify-content:space-between;align-items:center;gap:12px;display:flex}.ingredient-list{gap:8px;display:grid}.ingredient-row{border-bottom:1px solid #f0e9df;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:10px 0;display:grid}.ingredient-row:last-child{border-bottom:0}.ingredient-row__name{align-items:center;gap:7px;min-width:0;display:flex}.ingredient-row__name span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ingredient-row__amount{justify-items:end;gap:4px;font-size:.78rem;font-weight:800;display:grid}.ingredient-row__amount small{color:var(--accent);font-size:.68rem}.ingredient-row--missing .ingredient-row__amount{color:var(--danger)}.role-label{color:var(--muted);background:var(--surface-soft);text-transform:uppercase;border-radius:999px;padding:3px 6px;font-size:.62rem;font-weight:800}.step-list{counter-reset:steps;gap:14px;margin:0;padding:0;list-style:none;display:grid}.step-list li{color:#4b5a54;counter-increment:steps;grid-template-columns:30px 1fr;gap:10px;line-height:1.55;display:grid}.step-list li:before{width:28px;height:28px;color:var(--primary-dark);background:var(--primary-soft);content:counter(steps);border-radius:10px;place-items:center;font-size:.77rem;font-weight:900;display:grid}.nutrition-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.nutrition-stat{background:var(--surface-soft);border-radius:14px;gap:4px;padding:12px;display:grid}.nutrition-stat strong{font-family:Georgia,Iowan Old Style,serif;font-size:1.1rem}.nutrition-stat span{color:var(--muted);font-size:.72rem}.modal-backdrop{z-index:40;background:#21302d6b;justify-content:center;align-items:flex-end;padding:0;display:flex;position:fixed;inset:0}.bottom-sheet{width:min(100%,580px);padding:13px 18px calc(22px + env(safe-area-inset-bottom));background:var(--surface);box-shadow:var(--shadow-lg);border-radius:16px 16px 0 0;position:relative}.sheet-handle{background:#d9cec1;border-radius:999px;width:38px;height:4px;margin:0 auto 20px}.sheet-close{width:40px;min-height:40px;position:absolute;top:13px;right:16px}.bottom-sheet h2,.sheet-copy{margin-top:7px}.sheet-copy{color:var(--muted);font-size:.88rem;line-height:1.5}.choice-grid{gap:10px;margin-top:20px;display:grid}.choice-card{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);min-height:78px;transition:transform .18s var(--ease-out),border-color .18s var(--ease-out),background .18s var(--ease-out);grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:13px;display:grid}.choice-card__icon{border-radius:var(--radius-small);width:46px;height:46px;color:var(--primary-dark);background:var(--primary-soft);place-items:center;display:grid}.choice-card--primary .choice-card__icon{color:#fff;background:var(--primary)}.choice-card>span:nth-child(2){gap:4px;display:grid}.choice-card small{color:var(--muted);font-size:.74rem}.choice-card__arrow{color:var(--primary-dark)}.profile-card{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-sm);gap:18px;padding:23px;display:grid}.profile-card__identity{align-items:center;gap:14px;display:flex}.avatar{border-radius:var(--radius-control);color:#fff8f1;background:var(--primary-dark);place-items:center;width:58px;height:58px;font-family:Georgia,Iowan Old Style,serif;font-size:1.35rem;display:grid}.profile-card__identity div{gap:4px;display:grid}.profile-card__identity span{color:var(--muted);font-size:.8rem}.profile-card__row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding-top:14px;display:flex}.profile-card__row span{color:var(--muted);font-size:.8rem}.empty-state{border-radius:var(--radius-card);text-align:center;background:#ffffff73;border:1px dashed #d8cbbd;justify-items:center;gap:10px;padding:35px 18px;display:grid}.empty-state__icon{border-radius:var(--radius-control);width:48px;height:48px;color:var(--primary-dark);background:var(--primary-soft);place-items:center;display:grid}.empty-state p{max-width:340px;color:var(--muted);font-size:.84rem;line-height:1.5}.fade-enter-active,.fade-leave-active{transition:opacity .18s var(--ease-out)}.fade-enter-active .bottom-sheet,.fade-leave-active .bottom-sheet{transition:transform .24s var(--ease-drawer)}.fade-enter-from,.fade-leave-to{opacity:0}.fade-enter-from .bottom-sheet,.fade-leave-to .bottom-sheet{transform:translateY(24px)}@media (hover:hover) and (pointer:fine){.auth-page__backlink:hover{color:var(--primary-dark)}.auth-toggle__button:not(.is-active):hover{color:var(--primary-dark);background:#fffdf8a6}.bottom-nav__item:hover{color:var(--primary)}.primary-button:hover{background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 8px 16px #71332433}.primary-button--light:hover{background:#fff}.secondary-button:hover{border-color:var(--primary);background:var(--primary-soft)}.ghost-button:hover{color:var(--primary-dark);background:var(--primary-soft)}.icon-button:hover{color:var(--primary-dark);border-color:var(--primary)}.icon-button--danger:hover{color:var(--danger);background:#fff3f3;border-color:#e7b9b9}.section-link:hover{color:var(--primary)}.recipe-card:hover{box-shadow:var(--shadow-lg);border-color:#d4b9ad;transform:translateY(-3px)}.filter-chip:hover{color:var(--primary-dark);background:var(--primary-soft);border-color:#dfad99}.choice-card:hover{background:var(--primary-soft);border-color:#e5b4a1;transform:translateY(-1px)}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}body,html{overflow-x:hidden}a,button{touch-action:manipulation}.app-main{max-width:100%}.page,.page-header__copy,.recipe-card,.recipe-card__body,.section,.section-heading__copy{min-width:0}.section-heading{flex-wrap:wrap;align-items:flex-start;gap:10px 14px}.section-heading>*{min-width:0}.stat-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{min-width:0}.inventory-list--preview{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-grid{grid-template-columns:minmax(0,1fr)}.recipe-card__footer,.recipe-card__topline{flex-wrap:wrap;align-items:flex-start}.recipe-art{aspect-ratio:16/10;min-height:170px}.detail-hero__art{aspect-ratio:auto;min-height:230px}.recipe-card__title,.search-input,.search-wrap{min-width:0}.button--small,.filter-chip{min-height:44px}.inventory-item__actions .icon-button{width:44px;min-height:44px}.detected-row__quantity input,.detected-row__quantity select,.sheet-close{min-height:44px}.sheet-close{width:44px}.bottom-nav{padding-right:max(14px,env(safe-area-inset-right));padding-bottom:max(10px,env(safe-area-inset-bottom))}@media (width<=767px){.auth-page{gap:28px;min-height:calc(100dvh - 28px);padding-top:0}.auth-page__top{align-items:flex-start}.auth-layout{grid-template-columns:minmax(0,1fr);gap:26px}.auth-intro{gap:13px;max-width:none;padding:0}.auth-intro h1{max-width:560px;font-size:clamp(2.25rem,11vw,3.3rem)}.auth-intro>p{font-size:.92rem;line-height:1.55}.auth-benefits{gap:10px}.auth-card{justify-self:stretch;max-width:none;padding:20px}.auth-card__header h2{font-size:1.9rem}.auth-toggle__button{min-height:58px;padding-inline:9px}.app-main{padding:20px 16px calc(116px + env(safe-area-inset-bottom))}.page-header{flex-direction:column;align-items:flex-start}.page-header>.primary-button,.page-header>.secondary-button{width:100%}.bottom-nav{border:1px solid #ddd7ccf2;border-bottom:0;border-radius:16px 16px 0 0;width:100%;margin:0 auto;position:fixed;top:auto;bottom:0}.detail-columns,.form-grid,.inventory-list--preview,.recipe-grid{grid-template-columns:1fr}.hero-card{border-radius:16px 16px 7px;padding:23px 20px}.hero-card__footer>*{flex:100%}.stat-card{padding:12px}.stat-card strong{font-size:1.15rem}.inventory-row:nth-child(odd){border-right:0}.inventory-row:last-child{border-bottom:0}.inventory-row:not(:last-child){border-bottom:1px solid #f0e9df}.inventory-item{grid-template-columns:auto minmax(0,1fr)}.inventory-item__actions{grid-column:2;justify-content:flex-start}.form-actions>.primary-button,.form-actions>.secondary-button{flex:190px}.detail-hero__copy{padding:20px 18px}.detected-row{grid-template-columns:auto minmax(0,1fr);align-items:start}.detected-row__quantity{flex-wrap:wrap;grid-column:2}}@media (width>=768px){.auth-page{padding-top:4px}.app-main{padding:30px 24px calc(52px + env(safe-area-inset-bottom))}.page-header{flex-direction:row;align-items:flex-end;gap:18px}.page-header>.primary-button,.page-header>.secondary-button{flex:none;width:auto}.bottom-nav{border:1px solid var(--line);border-radius:var(--radius-card);width:min(100% - 56px,600px);box-shadow:var(--shadow-sm);margin:-30px auto 30px;position:sticky;top:16px;bottom:auto}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:minmax(0,1fr) minmax(0,.65fr) minmax(0,.9fr)}.detail-columns{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:start}.detail-columns>.detail-section:last-child{grid-column:1/-1}.inventory-list--preview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=899px){.auth-layout{grid-template-columns:minmax(0,1fr);gap:26px}.auth-card{order:-1;justify-self:stretch;max-width:none}.auth-intro{order:1;max-width:620px;padding-top:4px}}@media (width>=1120px){.app-main{padding-inline:42px}.hero-card{padding:38px}.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bottom-nav{margin-top:-16px}.inventory-list--preview{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-row:nth-child(odd){border-right:0}.inventory-row:not(:nth-child(3n)){border-right:1px solid #f0e9df}}@media (orientation:landscape) and (height<=520px){.app-main{padding-bottom:calc(104px + env(safe-area-inset-bottom))}.bottom-nav{border:1px solid #ddd7ccf2;border-bottom:0;border-radius:16px 16px 0 0;width:100%;margin:0 auto;position:fixed;top:auto;bottom:0;box-shadow:0 -8px 24px #3c2b1f17}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
