/*! 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)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--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{:root,:host{--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;--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,-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;-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:where(:not(iframe)){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{.visible{visibility:visible}.static{position:static}.contents{display:contents}.hidden{display:none}.inline{display:inline}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.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{color:#17332f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--green-700:#176b5b;--green-800:#0f5548;--green-100:#dcefe9;--ink:#17332f;--muted:#5d716c;--border:#dbe7e3;--surface:#fff;background:#f7faf8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}a{color:inherit;text-decoration:none}.app-shell{min-height:100svh;padding-bottom:82px}.pwa-status{z-index:20;max-width:min(440px,100% - 32px);color:var(--ink);border:1px solid var(--border);background:#fff;border-radius:14px;align-items:center;gap:10px;padding:12px 14px;font-size:.88rem;display:flex;position:fixed;bottom:88px;right:16px;box-shadow:0 10px 28px #17332f29}.pwa-status .button{white-space:nowrap;min-height:38px;padding:7px 12px}.page-header{z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);background:#f7faf8eb;position:sticky;top:0}.page-header__inner{align-items:center;gap:12px;max-width:760px;min-height:68px;margin:0 auto;padding:12px 20px;display:flex}.page-header h1{letter-spacing:-.02em;flex:1;margin:0;font-size:1.2rem}.brand-mark{color:#fff;background:var(--green-700);border-radius:12px;place-items:center;width:36px;height:36px;font-weight:800;display:grid}.page-content{width:min(100% - 32px,760px);margin:0 auto;padding:24px 0}.page-stack{gap:16px;display:grid}.section-title{color:var(--ink);margin:0;font-size:1.45rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:20px;box-shadow:0 8px 24px #17332f0d}.welcome-card{background:linear-gradient(135deg,#e8f5f0,#fff)}.card h2,.empty-state h2{color:var(--ink);letter-spacing:-.02em;margin:4px 0 8px;font-size:1.35rem}.card p,.empty-state p{color:var(--muted);margin:0;line-height:1.55}.eyebrow{letter-spacing:.08em;text-transform:uppercase;font-size:.76rem;font-weight:800;color:var(--green-700)!important}.muted{color:var(--muted)}.icon-button{width:42px;height:42px;color:var(--green-800);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:12px;flex:none;place-items:center;padding:0;display:grid}.icon-button:hover,.icon-button:focus-visible{background:var(--green-100);outline:3px solid #176b5b33}.button{cursor:pointer;border:0;border-radius:13px;justify-content:center;align-items:center;min-height:46px;padding:10px 18px;font-weight:750;display:inline-flex}.button--primary{color:#fff;background:var(--green-700)}.button--secondary{color:var(--green-800);background:var(--green-100)}.button--ghost{color:var(--green-800);background:0 0}.empty-state{text-align:center;justify-items:center;gap:10px;padding:36px 20px;display:grid}.empty-state__icon{width:56px;height:56px;color:var(--green-700);background:var(--green-100);border-radius:18px;place-items:center;display:grid}.empty-state .button{margin-top:8px}.profile-list{gap:10px;display:grid}.profile-card{width:100%;color:var(--ink);text-align:left;background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:16px;align-items:center;gap:13px;padding:14px;display:flex}.profile-card:hover,.profile-card:focus-visible{border-color:var(--green-700);outline:3px solid #176b5b29}.profile-avatar{color:#fff;border-radius:50%;place-items:center;width:44px;height:44px;font-weight:800;display:grid}.profile-card strong,.profile-card small{display:block}.profile-card small{color:var(--muted);margin-top:3px;font-size:.82rem}.profile-form{gap:12px;display:grid}.profile-form label{color:var(--ink);font-weight:700}.profile-form input{width:100%;min-height:46px;color:var(--ink);border:1px solid var(--border);background:#fff;border-radius:12px;padding:10px 12px}.profile-form input:focus{border-color:var(--green-700);outline:3px solid #176b5b29}.form-error{font-size:.9rem;color:#a23e3e!important}.form-help{color:var(--muted);margin:0;font-size:.85rem}.foods-toolbar{justify-content:space-between;align-items:end;gap:12px;display:flex}.foods-toolbar .button{gap:7px}.search-box{border:1px solid var(--border);color:var(--muted);background:#fff;border-radius:14px;align-items:center;gap:9px;padding:0 14px;display:flex}.search-box input{width:100%;min-height:48px;color:var(--ink);background:0 0;border:0;outline:0}.filter-row{gap:8px;display:flex;overflow-x:auto}.filter-row select,.profile-form select{min-height:40px;color:var(--ink);border:1px solid var(--border);background:#fff;border-radius:10px;padding:7px 10px}.filter-chip{min-height:40px;color:var(--muted);white-space:nowrap;border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:10px;align-items:center;gap:6px;padding:7px 12px;display:inline-flex}.filter-chip.is-selected,.is-favorite{color:#b04d69;background:#fff4f6;border-color:#e9bdca}.recent-list{gap:8px;margin-top:10px;display:flex;overflow-x:auto}.recent-list button{color:var(--green-800);white-space:nowrap;background:var(--green-100);cursor:pointer;border:0;border-radius:10px;padding:8px 11px}.food-list{gap:10px;display:grid}.food-card{align-items:center;gap:8px;padding:13px;display:flex}.food-card__main{min-width:0;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;flex:1;gap:4px;padding:0;display:grid}.food-card__main span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.food-card .icon-button{width:38px;height:38px}.food-detail-title{justify-content:space-between;align-items:start;gap:12px;display:flex}.nutrient-grid{grid-template-columns:repeat(5,1fr);gap:7px;margin-top:22px;display:grid}.nutrient-grid span{text-align:center;background:#f2f8f5;border-radius:11px;gap:3px;padding:9px 5px;display:grid}.nutrient-grid strong{color:var(--green-800);font-size:1rem}.nutrient-grid small{color:var(--muted);font-size:.66rem;line-height:1.1}.measure-list{gap:8px;margin:14px 0 0;padding:0;list-style:none;display:grid}.measure-list li{border-bottom:1px solid var(--border);color:var(--muted);justify-content:space-between;gap:8px;padding-bottom:8px;display:flex}.nutrient-inputs{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.nutrient-inputs label{color:var(--muted);gap:5px;font-size:.85rem;display:grid}.nutrient-inputs input{width:100%;min-height:42px;color:var(--ink);border:1px solid var(--border);border-radius:10px;padding:8px}.text-link{color:var(--green-700);text-underline-offset:3px;font-weight:750;text-decoration:underline}.meal-form-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.meal-form-grid label{color:var(--ink);gap:6px;font-weight:700;display:grid}.meal-form-grid input,.meal-form-grid select,.meal-form-grid textarea{width:100%;min-height:44px;color:var(--ink);border:1px solid var(--border);background:#fff;border-radius:10px;padding:9px 10px}.meal-form-grid textarea{resize:vertical}.progress-metrics{grid-template-columns:repeat(2,1fr);gap:9px;margin-top:18px;display:grid}.progress-metrics span{background:#f2f8f5;border-radius:12px;gap:4px;padding:11px;display:grid}.progress-metrics small{color:var(--muted);font-size:.75rem}.progress-metrics strong{color:var(--green-800);font-size:1.05rem}.progress-note{font-size:.9rem;margin-top:14px!important}.photo-picker-actions,.photo-entry-link,.meal-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.photo-picker-actions{margin-top:14px}.photo-preview{object-fit:contain;background:#eef5f2;border-radius:14px;width:100%;max-height:360px;display:block}.photo-review-item{border-bottom:1px solid var(--border);grid-template-columns:1fr;gap:8px;padding:12px 0;display:grid}.photo-review-item>div{gap:3px;display:grid}.photo-review-item small{color:var(--muted)}.photo-review-item input,.photo-review-item select{border:1px solid var(--border);border-radius:10px;min-height:42px;padding:8px}.photo-review-fields{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.photo-add-food,.photo-question{gap:8px;margin-top:12px;display:grid}.photo-add-food{grid-template-columns:1fr auto;align-items:center}.photo-question{color:var(--ink);font-weight:700}.photo-question select,.photo-question input{border:1px solid var(--border);border-radius:10px;min-height:42px;padding:8px}.photo-review-item .icon-button{justify-self:end}.settings-checklist{gap:8px;display:grid}.card h2+.recharts-responsive-container{margin-top:12px}.meal-note{grid-column:1/-1}.meal-item-list{gap:8px;margin:12px 0;display:grid}.meal-item{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;padding:11px 0;display:flex}.meal-item div{gap:3px;min-width:0;display:grid}.meal-item small,.history-card small{color:var(--muted);font-size:.82rem}.meal-item .icon-button{width:36px;height:36px}.meal-total{color:var(--muted);gap:3px;padding:14px 0;display:grid}.meal-total strong{color:var(--green-800);font-size:1.45rem}.meal-total small{font-size:.86rem}.meal-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.meal-actions .button{gap:6px}.meal-history{gap:10px;display:grid}.history-card{color:var(--ink);justify-content:space-between;align-items:center;gap:12px;padding:14px;display:flex}.history-card div{gap:4px;display:grid}.dashboard-heading{justify-content:space-between;align-items:end;gap:12px;display:flex}.dashboard-heading .muted{text-transform:capitalize;margin-top:4px}.date-controls{align-items:center;gap:5px;display:flex}.date-controls .icon-button{width:36px;height:36px}.date-picker{color:var(--green-800);background:var(--green-100);border-radius:10px;align-items:center;gap:5px;padding:0 8px;display:inline-flex}.date-picker input{width:0;min-width:28px;min-height:36px;color:var(--green-800);background:0 0;border:0;padding:0}.date-picker input::-webkit-calendar-picker-indicator{cursor:pointer}.quick-actions{flex-wrap:wrap;gap:8px;display:flex}.quick-actions .button{gap:6px}.calorie-card{color:var(--green-700);background:linear-gradient(135deg,#e3f4ee,#fff);justify-content:space-between;align-items:center;display:flex}.calorie-card strong{color:var(--green-800);letter-spacing:-.04em;margin-top:4px;font-size:2rem;display:block}.calorie-card small{color:var(--muted);margin-top:3px;display:block}.dashboard-nutrients{grid-template-columns:repeat(4,1fr);margin-top:0}.dashboard-note{background:#fff7df;border-radius:10px;padding:10px 12px;font-size:.9rem;color:#795b21!important}.meal-groups{gap:18px;display:grid}.meal-groups h3{color:var(--green-800);margin:0 0 8px;font-size:1rem}.dashboard-meal{color:var(--ink);justify-content:space-between;align-items:center;gap:10px;padding:14px;display:flex}.dashboard-meal div{gap:3px;display:grid}.dashboard-meal small{color:var(--muted)}.recipe-shortcut{margin-bottom:14px}.recipe-shortcut label{color:var(--ink);gap:6px;font-weight:700;display:grid}.recipe-shortcut select{min-height:44px;color:var(--ink);border:1px solid var(--border);background:#fff;border-radius:10px;padding:8px}@media (width<=430px){.nutrient-grid{gap:4px}.nutrient-grid small{font-size:.58rem}}@media (width<=560px){.meal-form-grid{grid-template-columns:1fr}.meal-note{grid-column:auto}}@media (width<=460px){.dashboard-heading{flex-direction:column;align-items:start}.dashboard-heading .date-controls{justify-content:space-between;align-self:stretch}}.status-message{color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:18px;display:flex}.status-message--error{color:#a23e3e}.confirm-ai-values-form{gap:14px;display:grid}.confirm-values-form-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.confirm-values-form-header h3{margin:0 0 4px}.confirm-values-badge{border-radius:9999px;align-items:center;gap:6px;padding:4px 10px;font-size:.8rem;font-weight:600;display:inline-flex}.confirm-values-badge--catalog{color:var(--green-800);background:var(--green-100)}.confirm-values-badge--ai{color:#1e40af;background:#dbeafe}.confirm-values-badge--manual{color:#854d0e;background:#fef9c3}.confirm-values-portion-summary{color:var(--ink);background:var(--green-100);border-radius:14px;gap:8px;margin:0;padding:12px 16px;display:grid}.confirm-values-notice{color:var(--ink);background:#fef3c7;border:1px solid #fde68a;border-radius:12px;margin:0;padding:12px 14px;font-size:.92rem}.confirm-values-options-grid{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.confirm-values-advanced-toggle{justify-content:flex-start;margin-top:-4px;display:flex}.confirm-values-preview{color:var(--ink);background:var(--green-100);border-radius:12px;margin:0;padding:10px 14px}.confirm-values-checkbox{color:var(--ink);grid-template-columns:auto 1fr;align-items:center;gap:4px 10px;font-weight:700;display:grid}.confirm-values-checkbox small{color:var(--muted);grid-column:2;font-weight:400}.spinner{border:2px solid var(--green-100);border-top-color:var(--green-700);border-radius:50%;width:18px;height:18px;animation:.8s linear infinite spin}.bottom-navigation{z-index:20;width:min(100%,760px);padding:8px 10px max(8px, env(safe-area-inset-bottom));border:1px solid var(--border);background:#fffffff5;border-bottom:0;border-radius:20px 20px 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 #17332f14}.bottom-navigation__item{color:var(--muted);justify-items:center;gap:4px;padding:7px 2px;font-size:.7rem;font-weight:650;display:grid}.bottom-navigation__item.is-active{color:var(--green-700)}.bottom-navigation__item.is-active svg{stroke-width:2.7px}@keyframes spin{to{transform:rotate(360deg)}}@media (width>=761px){.bottom-navigation{left:50%;right:auto;transform:translate(-50%)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@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}
