:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f2e9;--bg-glow:#ebe4d3;--surface:#fffdf7;--surface-2:#f3eee1;--surface-3:#e9e2d1;--ink:#1d2b23;--muted:#66746a;--line:#e0dac9;--accent:#2f6b4f;--accent-strong:#245741;--accent-ink:#f6fbf7;--accent-soft:#dbeadf;--warm:#cc6b35;--warm-soft:#f7e2d3;--danger:#a53d3d;--danger-soft:#f6dede;--info-soft:#e2ecf5;--shadow:0 14px 34px #2d372c17;--shadow-soft:0 4px 14px #2d372c0f;--radius:20px;--radius-sm:12px;--safe-bottom:env(safe-area-inset-bottom,0px);--font-body:"Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;--font-title:"Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#141a16;--bg-glow:#1b241e;--surface:#1c241f;--surface-2:#232d27;--surface-3:#2b3630;--ink:#e8efe8;--muted:#9cac9f;--line:#2f3b33;--accent:#79b894;--accent-strong:#9fd0b6;--accent-ink:#122018;--accent-soft:#253a2e;--warm:#e59a67;--warm-soft:#3a2a20;--danger:#e08d8d;--danger-soft:#3a2424;--info-soft:#24313b;--shadow:0 18px 40px #00000059;--shadow-soft:0 4px 16px #00000040}}*{box-sizing:border-box}html{min-height:100%}body{background:radial-gradient(1200px 500px at 10% -10%, var(--bg-glow), transparent 65%), var(--bg);min-height:100dvh;color:var(--ink);font-family:var(--font-body);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;font-size:16px;line-height:1.5}#root{min-height:100dvh}h1,h2,h3,h4,p{margin:0}h1,h2,h3{font-family:var(--font-title);letter-spacing:-.01em;font-weight:600}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}img,svg{display:block}.app-shell{flex-direction:column;max-width:1040px;min-height:100dvh;margin:0 auto;display:flex}.demo-banner{background:var(--warm-soft);color:var(--warm);text-align:center;border-bottom:1px solid color-mix(in srgb, var(--warm) 22%, transparent);padding:7px 16px;font-size:13px;font-weight:600}.app-header{z-index:20;background:color-mix(in srgb, var(--bg) 86%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid color-mix(in srgb, var(--line) 70%, transparent);justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex;position:sticky;top:0}.brand{font-family:var(--font-title);color:var(--ink);align-items:center;gap:9px;font-size:18px;font-weight:600;display:inline-flex}.brand:hover{text-decoration:none}.brand-icon{background:var(--accent);width:34px;height:34px;color:var(--accent-ink);border-radius:11px;place-items:center;font-size:20px;line-height:1;display:grid}.app-main{width:100%;padding:18px 18px calc(96px + var(--safe-bottom));flex-direction:column;flex:1;gap:18px;display:flex}.app-nav{width:min(1040px,100%);padding:7px 8px calc(7px + var(--safe-bottom));background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:1px solid var(--line);z-index:30;grid-template-columns:repeat(5,1fr);gap:2px;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.app-nav a{color:var(--muted);letter-spacing:.01em;border-radius:12px;flex-direction:column;align-items:center;gap:3px;padding:7px 4px;font-size:11px;font-weight:600;display:flex}.app-nav a:hover{background:var(--surface-2);text-decoration:none}.app-nav a.active{color:var(--accent);background:var(--accent-soft)}body.shopping-mode .app-header,body.shopping-mode .app-nav,body.shopping-mode .demo-banner{display:none}body.shopping-mode .app-main{padding-bottom:calc(24px + var(--safe-bottom))}.eyebrow{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;font-size:12px;font-weight:700}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:14px;padding:4px 2px 2px;display:flex}.page-header-text{flex-direction:column;gap:4px;display:flex}.page-header h1{font-size:clamp(26px,5vw,36px);line-height:1.1}.page-subtitle{color:var(--muted);max-width:60ch;font-size:14px}.page-header-actions{flex-wrap:wrap;gap:8px;display:flex}.stack{flex-direction:column;gap:14px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.row--between{justify-content:space-between}.row--tight{gap:6px}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:12px}.spacer{flex:1}.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}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:16px}.card--flat{box-shadow:none}.card--tinted{background:var(--surface-2);box-shadow:none}.card-link{color:inherit;display:block}.card-link:hover{border-color:color-mix(in srgb, var(--accent) 40%, var(--line));text-decoration:none;transform:translateY(-1px)}.card-link{transition:transform .15s,border-color .15s}.section-title{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px;display:flex}.section-title h2{font-size:20px}.section-title h3{font-size:17px}.btn{background:var(--accent);min-height:42px;color:var(--accent-ink);cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:9px 16px;font-size:14px;font-weight:650;transition:background .15s,transform .1s,opacity .15s;display:inline-flex}.btn:hover{background:var(--accent-strong)}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.btn--secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}.btn--secondary:hover{background:var(--surface-2)}.btn--ghost{color:var(--accent);background:0 0;border-color:#0000}.btn--ghost:hover{background:var(--accent-soft)}.btn--danger{background:var(--danger);color:#fff}.btn--danger:hover{background:color-mix(in srgb, var(--danger) 85%, #000)}.btn--block{width:100%}.btn--small{min-height:34px;padding:5px 12px;font-size:13px}.icon-button{width:38px;height:38px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:50%;place-items:center;display:inline-grid}.icon-button:hover{background:var(--surface-2);color:var(--ink)}.icon-button--danger:hover{background:var(--danger-soft);color:var(--danger)}.field{flex-direction:column;gap:5px;min-width:0;display:flex}.field-label{color:var(--muted);font-size:13px;font-weight:650}.field-required{color:var(--warm)}.field-hint{color:var(--muted);font-size:12px}.field-error,.form-error{color:var(--danger);font-size:13px}input,select,textarea{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:42px;color:var(--ink);outline:none;padding:10px 12px;transition:border-color .15s,box-shadow .15s}textarea{resize:vertical;min-height:120px}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent)}input[type=checkbox]{width:18px;height:18px;min-height:0;accent-color:var(--accent)}.form-grid{gap:12px;display:grid}@media (width>=640px){.form-grid--two{grid-template-columns:1fr 1fr}}.form-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.input-with-icon{align-items:center;display:flex;position:relative}.input-with-icon svg{color:var(--muted);pointer-events:none;position:absolute;left:12px}.input-with-icon input{padding-left:38px}.search-bar{flex-wrap:wrap;gap:8px;display:flex}.search-bar .input-with-icon{flex:1;min-width:200px}.tag-picker{border:0;min-width:0;margin:0;padding:0}.tag-picker legend{color:var(--muted);margin-bottom:6px;padding:0;font-size:13px;font-weight:650}.chips{flex-wrap:wrap;gap:7px;display:flex}.chip{border:1px solid var(--line);background:var(--surface);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:999px;align-items:center;gap:6px;padding:5px 11px;font-size:13px;display:inline-flex}.chip input{opacity:0;width:1px;height:1px;position:absolute}.chip--active{background:var(--accent-soft);border-color:color-mix(in srgb, var(--accent) 36%, var(--line));color:var(--accent-strong);font-weight:650}.badge{background:var(--surface-2);color:var(--muted);letter-spacing:.02em;text-transform:uppercase;border-radius:999px;align-items:center;gap:4px;padding:2px 9px;font-size:11px;font-weight:700;display:inline-flex}.badge--accent{background:var(--accent-soft);color:var(--accent-strong)}.badge--warm{background:var(--warm-soft);color:var(--warm)}.badge--danger{background:var(--danger-soft);color:var(--danger)}.badge--info{background:var(--info-soft);color:var(--ink)}.tag-row{flex-wrap:wrap;gap:5px;display:flex}.tag-pill{background:var(--surface-2);color:var(--muted);border-radius:999px;padding:2px 9px;font-size:12px;display:inline-flex}.list{flex-direction:column;gap:8px;display:flex}.list-row{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);align-items:center;gap:12px;padding:11px 12px;display:flex}.list-row--button{cursor:pointer;text-align:left;width:100%}.list-row--button:hover{background:var(--surface-2)}.list-row-main{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.list-row-title{overflow-wrap:anywhere;font-weight:650}.list-row-meta{color:var(--muted);font-size:12.5px}.list-row-actions{align-items:center;gap:4px;display:flex}.divider{background:var(--line);height:1px;margin:4px 0}.nutrition{flex-wrap:wrap;align-items:baseline;gap:8px 16px;display:flex}.nutrition-main{flex-direction:column;gap:0;display:flex}.kcal,.plan-kcal{font-family:var(--font-title);color:var(--ink);white-space:nowrap;font-size:20px;font-weight:600}.kcal span{font-family:var(--font-body);color:var(--muted);margin-left:3px;font-size:12px;font-weight:600}.nutrition-caption{color:var(--muted);font-size:11px}.nutrition-macros{flex-wrap:wrap;gap:12px;display:flex}.macro{flex-direction:column;line-height:1.25;display:flex}.macro-label{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:10px;font-weight:700}.macro-value{font-size:13px;font-weight:600}.macro-unit{color:var(--muted);font-weight:500}.nutrition-warning{color:var(--warm);flex-basis:100%;align-items:center;gap:5px;font-size:12px;display:flex}.incomplete-mark{color:var(--warm);margin-left:4px}.plan-nutrition{flex-wrap:wrap;align-items:baseline;gap:6px 14px;display:flex}.week-grid{flex-direction:column;gap:12px;display:flex}.day-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);overflow:hidden}.day-header{background:var(--surface-2);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:11px 15px;display:flex}.day-name{font-family:var(--font-title);font-size:18px;font-weight:600}.day-date{color:var(--muted);margin-left:7px;font-size:12px}.day-today{color:var(--warm);text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:700}.meal{border-bottom:1px solid color-mix(in srgb, var(--line) 60%, transparent);grid-template-columns:92px 1fr;gap:10px;padding:11px 15px;display:grid}.meal:last-child{border-bottom:0}.meal-label{flex-direction:column;gap:2px;padding-top:4px;display:flex}.meal-name{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:700}.meal-slots{flex-direction:column;gap:6px;min-width:0;display:flex}.slot{border-radius:var(--radius-sm);background:var(--surface-2);align-items:center;gap:10px;padding:8px 10px;display:flex}.slot-main{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.slot-name{color:var(--ink);overflow-wrap:anywhere;font-weight:650}.slot-name:hover{color:var(--accent)}.slot-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.servings-input{border-radius:9px;width:64px;min-height:32px;padding:4px 8px;font-size:13px}.add-slot{border:1px dashed color-mix(in srgb, var(--accent) 45%, var(--line));color:var(--accent);cursor:pointer;background:0 0;border-radius:999px;align-self:flex-start;align-items:center;gap:5px;padding:5px 10px;font-size:12px;font-weight:650;display:inline-flex}.add-slot:hover{background:var(--accent-soft)}@media (width<=560px){.meal{grid-template-columns:1fr;gap:6px}.meal-label{flex-direction:row;align-items:baseline;gap:8px;padding-top:0}}.shopping-header{z-index:15;background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);flex-direction:column;gap:10px;margin:-10px 0 0;padding:10px 0 12px;display:flex;position:sticky;top:0}.shopping-header-inner{justify-content:space-between;align-items:center;gap:12px;display:flex}.progress{background:var(--surface-3);border-radius:999px;height:9px;overflow:hidden}.progress-bar{border-radius:inherit;background:linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--warm)));height:100%;transition:width .25s}.aisle{flex-direction:column;gap:6px;display:flex}.aisle-title{justify-content:space-between;align-items:baseline;gap:8px;padding:0 3px;display:flex}.aisle-title h3{font-size:17px}.item-row{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface);align-items:flex-start;gap:12px;padding:11px 13px;display:flex}.item-check{border:1.5px solid var(--line);background:var(--surface);color:#0000;cursor:pointer;border-radius:9px;flex:none;place-items:center;width:28px;height:28px;min-height:28px;margin-top:1px;display:grid}.item-check--done{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.item-main{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.item-name{overflow-wrap:anywhere;font-weight:650}.item-amount{color:var(--muted);font-size:13px}.item-meta{color:var(--muted);font-size:11.5px}.item-row--purchased .item-name,.item-row--purchased .item-amount{color:var(--muted);text-decoration:line-through}.item-row--purchased{background:color-mix(in srgb, var(--surface) 55%, var(--surface-2))}.item-row--staple{background:var(--info-soft);border-color:color-mix(in srgb, var(--accent) 18%, var(--line))}.item-actions{flex:none;gap:2px;display:flex}.collapsible{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);padding:0 12px}.collapsible summary{cursor:pointer;color:var(--muted);justify-content:space-between;align-items:center;gap:8px;padding:11px 2px;font-size:14px;font-weight:650;list-style:none;display:flex}.collapsible summary::-webkit-details-marker{display:none}.collapsible[open] summary{border-bottom:1px solid var(--line);margin-bottom:9px}.collapsible .list{padding-bottom:10px}.shopping-done{text-align:center;border-radius:var(--radius);background:var(--accent-soft);color:var(--accent-strong);font-family:var(--font-title);padding:22px 16px;font-size:20px}.tabs{background:var(--surface-2);scrollbar-width:none;border-radius:999px;gap:4px;padding:4px;display:flex;overflow-x:auto}.tabs::-webkit-scrollbar{display:none}.tab{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:7px 13px;font-size:13px;font-weight:650}.tab--active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-soft)}.metric{font-family:var(--font-title);font-size:18px}.hero-card{background:linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #1d3b2c));color:var(--accent-ink);border:0}.hero-card .muted,.hero-card .page-subtitle{color:color-mix(in srgb, var(--accent-ink) 78%, transparent)}.hero-card .badge{background:color-mix(in srgb, var(--accent-ink) 16%, transparent);color:var(--accent-ink)}.hero-card a{color:var(--accent-ink)}.auth-screen{place-items:center;min-height:100dvh;padding:24px;display:grid}.auth-card{background:var(--surface);border:1px solid var(--line);width:min(420px,100%);box-shadow:var(--shadow);border-radius:26px;flex-direction:column;gap:14px;padding:28px;display:flex}.auth-card h1{font-size:30px;line-height:1.1}.auth-card>p{color:var(--muted)}.auth-card--loading{text-align:center;align-items:center}.brand-mark{font-family:var(--font-title);align-items:center;gap:9px;margin-bottom:4px;font-size:17px;font-weight:600;display:flex}.auth-form{flex-direction:column;gap:12px;margin-top:6px;display:flex}.state{text-align:center;border-radius:var(--radius);border:1px dashed var(--line);background:color-mix(in srgb, var(--surface) 70%, transparent);flex-direction:column;align-items:center;gap:10px;padding:40px 22px;display:flex}.state h2{font-size:22px}.state p{color:var(--muted);max-width:46ch}.state-mark{background:var(--accent-soft);width:52px;height:52px;color:var(--accent);border-radius:50%;place-items:center;font-size:24px;display:grid}.state--error{border-color:color-mix(in srgb, var(--danger) 35%, var(--line));background:var(--danger-soft)}.state--error p{color:var(--danger)}.state--loading{background:0 0;border-style:solid;border-color:#0000}.state-action{margin-top:4px}.spinner{border:3px solid color-mix(in srgb, var(--accent) 25%, transparent);border-top-color:var(--accent);border-radius:50%;width:26px;height:26px;animation:.8s linear infinite spin;display:inline-block}.spinner--small{border-width:2px;border-top-color:currentColor;width:15px;height:15px}@keyframes spin{to{transform:rotate(360deg)}}.toast-stack{left:50%;bottom:calc(88px + var(--safe-bottom));z-index:60;pointer-events:none;flex-direction:column;gap:8px;width:min(420px,100% - 32px);display:flex;position:fixed;transform:translate(-50%)}.toast{background:var(--ink);color:var(--bg);box-shadow:var(--shadow);text-align:center;border-radius:14px;padding:11px 16px;font-size:14px;animation:.18s ease-out toast-in}@keyframes toast-in{0%{opacity:0;transform:translateY(6px)}}.combobox{position:relative}.combobox-results{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow);max-height:260px;margin-top:6px;overflow:hidden auto}.combobox-option{border:0;border-bottom:1px solid color-mix(in srgb, var(--line) 55%, transparent);text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:baseline;gap:10px;width:100%;padding:10px 12px;display:flex}.combobox-option:last-child{border-bottom:0}.combobox-option:hover{background:var(--surface-2)}.combobox-option span:first-child{font-weight:650}.combobox-note{color:var(--muted);padding:11px 12px;font-size:13px}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f161273;place-items:end center;padding:0;display:grid;position:fixed;inset:0}.modal{background:var(--surface);width:min(560px,100%);max-height:90dvh;box-shadow:var(--shadow);border-radius:24px 24px 0 0;flex-direction:column;animation:.2s ease-out modal-in;display:flex}.modal--wide{width:min(760px,100%)}@keyframes modal-in{0%{opacity:0;transform:translateY(24px)}}.modal-header{justify-content:space-between;align-items:center;gap:12px;padding:16px 18px 10px;display:flex}.modal-header h2{font-size:22px}.modal-body{flex-direction:column;gap:14px;padding:6px 18px 18px;display:flex;overflow-y:auto}.modal-footer{padding:12px 18px calc(14px + var(--safe-bottom));border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}@media (width>=700px){.modal-backdrop{place-items:center;padding:24px}.modal{border-radius:24px}}.notice{border-radius:var(--radius-sm);background:var(--warm-soft);color:var(--warm);align-items:flex-start;gap:8px;padding:11px 13px;font-size:13px;display:flex}.notice--info{background:var(--info-soft);color:var(--ink)}.notice--danger{background:var(--danger-soft);color:var(--danger)}.notice .btn{margin-left:auto}.hero-stats{flex-wrap:wrap;gap:18px;margin-top:12px;display:flex}.hero-stat{flex-direction:column;display:flex}.hero-stat strong{font-family:var(--font-title);font-size:24px;font-weight:600}.hero-stat span{text-transform:uppercase;letter-spacing:.05em;opacity:.8;font-size:11px}.week-card{grid-template-columns:auto 1fr auto;align-items:center;gap:14px;display:grid}.week-date{background:var(--surface-2);width:54px;height:54px;font-family:var(--font-title);border-radius:16px;place-items:center;font-size:22px;font-weight:600;display:grid}.week-date span{font-family:var(--font-body);text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:10px;font-weight:700}.week-info{flex-direction:column;gap:2px;min-width:0;display:flex}.week-info h3{font-size:18px}.recipe-grid{gap:12px;display:grid}@media (width>=700px){.recipe-grid{grid-template-columns:1fr 1fr}}.recipe-card{flex-direction:column;gap:8px;display:flex}.recipe-card h3{overflow-wrap:anywhere;font-size:19px}.recipe-card-footer{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px;display:flex}.ingredient-line{grid-template-columns:1fr 100px auto;align-items:center;gap:8px;display:grid}.ingredient-line--editor{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);grid-template-columns:1fr;padding:10px}@media (width>=620px){.ingredient-line--editor{grid-template-columns:1fr 110px 1fr auto}}.hint-list{color:var(--muted);margin:0;padding-left:18px;font-size:13px}.hint-list li+li{margin-top:3px}.line-status{flex:none}.line-status--MATCHED{background:var(--accent-soft);color:var(--accent-strong)}.line-status--SUGGESTED{background:var(--info-soft);color:var(--ink)}.line-status--NEW{background:var(--warm-soft);color:var(--warm)}.line-status--NEEDS_REVIEW,.line-status--UNPARSED{background:var(--danger-soft);color:var(--danger)}.details-toggle{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;font-size:13px;font-weight:650}@media (width>=900px){.app-main{padding-left:28px;padding-right:28px}}
