@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, 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;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{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}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, 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;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{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{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,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-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-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{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.hidden{display:none}}:root{--paper:#f8f7f2;--surface:#fff;--surface-soft:#eeece3;--ink:#1d2421;--muted:#68716b;--line:#dad7cb;--accent:#22463a;--accent-strong:#153127;--gold:#d9a441;--rose:#b85b54;--green-soft:#dfe9df;--focus:#2f6f5b}*{box-sizing:border-box}html{background:var(--paper);color:var(--ink);letter-spacing:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{background:linear-gradient(180deg, #ffffffb3, #f8f7f200 280px), var(--paper);min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.shell{min-height:100vh}.topbar{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f8f7f2e6;border-bottom:1px solid #22463a1f;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem clamp(1rem,2vw,2rem);display:flex;position:sticky;top:0}.brand{align-items:center;gap:.7rem;min-width:max-content;font-size:1rem;font-weight:760;display:inline-flex}.brand-mark{background:var(--accent);width:2.15rem;height:2.15rem;color:var(--paper);border-radius:.7rem;place-items:center;display:grid}.nav{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.35rem;display:flex}.nav-link,.ghost-button,.primary-button,.icon-button{cursor:pointer;border:0;border-radius:.5rem;justify-content:center;align-items:center;gap:.45rem;min-height:2.4rem;transition:background .16s,color .16s,transform .16s,border-color .16s;display:inline-flex}.nav-link,.ghost-button{color:var(--muted);background:0 0;padding:.55rem .8rem}.nav-link:hover,.ghost-button:hover{color:var(--ink);background:#22463a14}.primary-button{color:var(--paper);background:var(--accent);padding:.65rem .95rem;font-weight:680}.primary-button:disabled{cursor:not-allowed;opacity:.68;transform:none}.primary-button:hover{background:var(--accent-strong);transform:translateY(-1px)}.icon-button{width:2.35rem;color:var(--muted);background:0 0;padding:0}.icon-button:hover{color:var(--rose);background:#b85b541a}.main{width:min(1220px,100vw - 2rem);margin:0 auto;padding:2rem 0 4rem}.workspace-header{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:1rem;padding:1rem 0 1.8rem;display:grid}.eyebrow{color:var(--accent);text-transform:uppercase;margin:0 0 .4rem;font-size:.75rem;font-weight:760}.workspace-title{max-width:13ch;margin:0;font-size:clamp(2rem,4vw,4.1rem);font-weight:820;line-height:.96}.workspace-subtitle{max-width:58ch;color:var(--muted);margin:.85rem 0 0;font-size:1rem;line-height:1.55}.workspace-grid{grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);align-items:start;gap:1rem;display:grid}.stack{gap:1rem;display:grid}.panel{border:1px solid var(--line);background:#ffffffb8;border-radius:.6rem}.panel-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;gap:1rem;padding:1rem;display:flex}.panel-title{margin:0;font-size:1rem;font-weight:760}.panel-subtitle{color:var(--muted);margin:.25rem 0 0;font-size:.88rem;line-height:1.45}.panel-body{padding:1rem}.form-grid{grid-template-columns:1.2fr .7fr .7fr .9fr auto;align-items:end;gap:.65rem;display:grid}.form-grid.compact{grid-template-columns:minmax(0,1fr) .55fr .65fr auto}.field{gap:.35rem;display:grid}.field label,.check-label{color:var(--muted);font-size:.78rem;font-weight:650}.field-hint{color:var(--muted);margin:0;font-size:.75rem;line-height:1.35}.input,.select,.textarea{border:1px solid var(--line);width:100%;min-height:2.55rem;color:var(--ink);background:#fffdfa;border-radius:.45rem;outline:none;padding:.65rem .7rem}.textarea{resize:vertical;min-height:5rem}.input:focus,.select:focus,.textarea:focus{border-color:var(--focus);box-shadow:0 0 0 3px #2f6f5b24}.list{gap:.45rem;margin:1rem 0 0;display:grid}.row{background:#fffdfac2;border:1px solid #dad7cbc7;border-radius:.5rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.75rem;display:grid}.row-main{min-width:0}.row-title{overflow-wrap:anywhere;margin:0;font-weight:700}.row-meta{color:var(--muted);flex-wrap:wrap;gap:.45rem;margin-top:.35rem;font-size:.82rem;display:flex}.tag{background:var(--surface-soft);min-height:1.5rem;color:var(--ink);border-radius:999px;align-items:center;padding:.18rem .45rem;font-size:.78rem;font-weight:650;display:inline-flex}.tag.gold{background:#d9a4412e}.tag.green{background:var(--green-soft)}.empty{border:1px dashed var(--line);color:var(--muted);border-radius:.55rem;margin:1rem 0 0;padding:1rem}.shopping-row{grid-template-columns:auto minmax(0,1fr) auto}.check-button{border:1px solid var(--line);background:var(--surface);color:#0000;cursor:pointer;border-radius:.45rem;place-items:center;width:2rem;height:2rem;display:grid}.check-button.checked{border-color:var(--accent);background:var(--accent);color:var(--paper)}.checked-text{color:var(--muted);text-decoration:line-through}.recipe{border:1px solid var(--line);background:#fffdfa;border-radius:.55rem;gap:.85rem;padding:.9rem;display:grid}.recipe-generator{gap:.75rem;width:min(100%,26rem);display:grid}.processing{color:var(--muted);align-items:center;gap:.35rem;font-size:.85rem;font-weight:650;display:inline-flex}.pulse-dot{background:var(--accent);border-radius:999px;width:.42rem;height:.42rem;animation:.9s ease-in-out infinite pulse-dot}.pulse-dot:nth-child(2){animation-delay:.14s}.pulse-dot:nth-child(3){animation-delay:.28s}.spinner{border:2px solid #f8f7f273;border-top-color:var(--paper);border-radius:999px;width:1rem;height:1rem;animation:.8s linear infinite spin}.stream-preview{border:1px dashed var(--line);background:#fffdfad1;border-radius:.55rem;gap:.45rem;padding:.75rem;display:grid}.stream-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:12rem;color:var(--ink);margin:0;font-size:.82rem;line-height:1.45;overflow:auto}@keyframes pulse-dot{0%,80%,to{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-.18rem)}}@keyframes spin{to{transform:rotate(360deg)}}.recipe h3{margin:0;font-size:1rem}.recipe p,.recipe ol{color:var(--muted);margin:0;line-height:1.5}.recipe ol{padding-left:0}.recipe-steps{gap:.35rem;list-style:inside decimal;display:grid}.recipe-steps li{padding-left:0;display:list-item}.auth-page{grid-template-columns:minmax(0,1fr) minmax(320px,430px);align-items:center;gap:clamp(2rem,6vw,5rem);width:min(1120px,100vw - 2rem);min-height:calc(100vh - 4.2rem);margin:0 auto;padding:3rem 0;display:grid}.auth-copy h1{max-width:10ch;margin:0;font-size:clamp(3rem,8vw,6.5rem);line-height:.9}.auth-copy p{max-width:40ch;color:var(--muted);line-height:1.6}.auth-panel{border:1px solid var(--line);background:#ffffffc7;border-radius:.65rem;padding:1rem}.auth-panel form{gap:.8rem;display:grid}.error{color:#7d302b;background:#b85b541f;border-radius:.45rem;align-items:center;gap:.45rem;padding:.7rem .8rem;display:inline-flex}.span-3{grid-column:span 3}.language-switcher{border:1px solid var(--line);background:#ffffff94;border-radius:.55rem;gap:.25rem;padding:.2rem;display:flex}.home-switcher{border:1px solid var(--line);max-width:min(17rem,42vw);min-height:2.4rem;color:var(--accent);background:#ffffff94;border-radius:.55rem;align-items:center;gap:.45rem;padding:.2rem .35rem .2rem .55rem;display:inline-flex}.home-select{min-width:7rem;max-width:13rem;color:var(--ink);cursor:pointer;background:0 0;border:0;outline:0;font-size:.86rem;font-weight:720}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.language-switcher a{min-width:2.15rem;min-height:1.9rem;color:var(--muted);border-radius:.4rem;justify-content:center;align-items:center;font-size:.8rem;font-weight:760;display:inline-flex}.language-switcher a.active{background:var(--accent);color:var(--paper)}.diet-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;display:grid}.check-label{border:1px solid var(--line);background:#fffdfa;border-radius:.45rem;align-items:center;gap:.45rem;min-height:2.15rem;padding:.4rem .55rem;display:flex}@media (max-width:920px){.workspace-grid,.workspace-header,.auth-page{grid-template-columns:1fr}.form-grid,.form-grid.compact{grid-template-columns:1fr 1fr}.form-grid .primary-button,.form-grid.compact .primary-button{grid-column:1/-1}}@media (max-width:640px){.topbar{flex-direction:column;align-items:start}.nav{flex-wrap:nowrap;justify-content:start;width:100%;padding-bottom:.15rem;overflow-x:auto}.main{width:min(100vw - 1rem,1220px);padding-top:1rem}.workspace-title{font-size:2.45rem}.panel-header{flex-direction:column}.form-grid,.form-grid.compact,.diet-grid{grid-template-columns:1fr}.span-3{grid-column:auto}}
