/*! 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-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@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-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--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%;-moz-tab-size:4;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;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]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance: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}.fixed{position:fixed}.static{position:static}.contents{display:contents}.flex{display:flex}.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,)}.rounded{border-radius:.25rem}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--canvas:#f1f3f5;--ink:#202936;--muted:#5b6878;--line:#dce4eb;--field-border:#7b8a99;--blue-wash:#eaf4fb;--blue-ink:#315f84;--orange-wash:#ffe0b1;--orange:#f6bc73;--orange-hover:#f2ad57;--macro-protein:var(--blue-ink);--macro-protein-wash:var(--blue-wash);--macro-carbs:#5f9482;--macro-carbs-wash:#e9f0ee;--macro-fat:var(--orange);--macro-fat-wash:#ffedcf;color:var(--ink);background:var(--canvas);font-synthesis:none;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-weight:400}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #4b8dc0}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}svg{width:24px;height:24px}.eyebrow{color:var(--blue-ink);margin:0;font-size:.8rem;font-weight:500}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.025em;font-family:inherit;font-weight:600}.loading-page{min-height:100dvh;color:var(--muted);place-items:center;display:grid}.login-page{min-height:100dvh;padding:max(28px,env(safe-area-inset-top)) 24px max(40px,env(safe-area-inset-bottom));background:#f4f7fa}.login-mark,.brand-symbol{background:var(--blue-wash);place-items:center;display:grid}.login-mark{border-radius:16px;width:50px;height:50px}.login-mark svg{width:38px;height:38px}.login-layout{align-items:center;gap:48px;max-width:940px;margin:clamp(50px,10vh,150px) auto 0;display:grid}.login-intro h1{max-width:490px;margin:14px 0 20px;font-size:clamp(2rem,6vw,3.5rem);line-height:1.12}.login-intro>p:last-child{max-width:410px;color:var(--muted);font-size:1.09rem;line-height:1.55}.login-card{border:1px solid var(--line);background:#fff;border-radius:24px;width:100%;max-width:400px;padding:28px;box-shadow:0 16px 45px #25364910}.login-card h2{margin-bottom:8px;font-size:1.5rem}.login-card>p{color:var(--muted);font-size:1rem;line-height:1.5}.login-card form{gap:10px;margin-top:28px;display:grid}.login-card label{margin-top:8px;font-size:1rem;font-weight:500}.login-card input{border:1px solid var(--field-border);width:100%;min-height:48px;color:var(--ink);background:#fff;border-radius:10px;padding:11px 13px}.primary-button,.capture-button{background:var(--orange);min-height:48px;color:var(--ink);border:0;border-radius:14px;justify-content:center;align-items:center;gap:8px;font-size:1rem;font-weight:600;transition:background-color .18s;display:inline-flex}.primary-button:hover,.capture-button:hover{background:var(--orange-hover)}.primary-button{margin-top:16px}.form-error{color:#9b2e23;margin:6px 0;font-size:1rem;line-height:1.45}.app-layout{min-height:100dvh;padding-bottom:calc(96px + env(safe-area-inset-bottom));background:var(--canvas)}.app-header{max-width:950px;padding:max(8px,env(safe-area-inset-top)) 20px 8px;border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin:auto;display:flex}.brand{align-items:center;gap:10px;font-size:1.0625rem;font-weight:600;display:flex}.brand-symbol{border-radius:10px;width:34px;height:34px}.brand-symbol svg{width:28px;height:28px}.text-button{min-height:44px;color:var(--blue-ink);background:0 0;border:0;padding:8px 10px;font-size:1rem;font-weight:500}.text-button:hover{text-decoration:underline}.diary-main{max-width:600px;margin:auto;padding:20px}.connection-note{background:var(--blue-wash);color:var(--blue-ink);border-radius:12px;margin:12px 0;padding:12px;font-size:.875rem;line-height:1.45}.day-header{gap:12px;display:grid}.day-title-row{align-items:center;gap:8px;display:flex}.day-title-group{flex-wrap:wrap;flex:auto;justify-content:center;align-items:center;gap:4px 8px;min-width:0;display:flex}.day-title-group h1{margin:0;font-size:1.125rem;font-weight:600;line-height:1.3}.day-title{min-height:44px;color:var(--ink);font-weight:inherit;background:0 0;border:0;border-radius:12px;align-items:center;gap:8px;padding:6px 10px;display:inline-flex}.day-title:hover{background:#e6ebef}.day-title svg{width:18px;height:18px;color:var(--blue-ink)}.today-chip{background:var(--orange-wash);min-height:44px;color:var(--ink);border:1px solid #e0a35c;border-radius:999px;padding:6px 14px;font-size:.875rem;font-weight:600}.today-chip:hover{background:#ffd699}.day-picker-field{border:1px solid var(--field-border);min-height:48px;color:var(--ink);background:#fff;border-radius:10px;justify-self:center;padding:8px 12px}.week-strip{grid-template-columns:repeat(7,minmax(44px,1fr));gap:2px;display:grid}.week-day{min-height:56px;color:var(--muted);background:0 0;border:2px solid #0000;border-radius:14px;align-content:center;justify-items:center;gap:2px;padding:6px 0;display:grid}.week-day span{font-size:.75rem;line-height:1.2}.week-day strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:1rem;line-height:1.2}.week-day:hover{background:#e6ebef}.week-day[aria-current=date]{background:var(--orange-wash)}.week-day[aria-pressed=true]{border-color:var(--blue-ink);color:var(--blue-ink);background:#fff}.week-day[aria-pressed=true][aria-current=date]{background:var(--orange-wash)}.week-day[aria-pressed=true] strong{color:var(--blue-ink)}.week-day:disabled{cursor:default;opacity:.45}.week-day:disabled:hover{background:0 0}.day-arrow{border:1px solid var(--line);height:44px;color:var(--blue-ink);background:#fff;border-radius:50%;flex:0 0 44px;place-items:center;display:grid}.day-arrow:hover{background:var(--blue-wash)}.day-arrow:disabled{cursor:default}.day-arrow:disabled:hover{background:#fff}.day-arrow.next svg{transform:rotate(180deg)}.macro-chips{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 0;padding:0;list-style:none;display:grid}.macro-chip{background:#fff;border-radius:12px;gap:2px;min-width:0;padding:8px 10px;display:grid}.macro-name{min-width:0;color:var(--muted);align-items:center;gap:6px;font-size:.75rem;line-height:1.3;display:flex}.macro-dot{background:var(--macro-dot);border-radius:50%;flex:0 0 8px;width:8px;height:8px}.macro-chip strong{color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1rem;font-weight:600}.macro-protein{--macro-dot:var(--macro-protein)}.macro-carbs{--macro-dot:var(--macro-carbs)}.macro-fat{--macro-dot:var(--macro-fat)}.weigh-in-line{border-top:1px solid #d1e5f2;margin-top:12px;padding-top:12px}.weigh-line{width:100%;min-height:44px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:8px;padding:6px 4px;font-size:.9375rem;display:flex}.weigh-line:hover{background:#dceefa}.weigh-line svg,.add-chip svg{width:20px;height:20px;color:var(--blue-ink)}.weigh-text{min-width:0;color:var(--muted);flex-wrap:wrap;flex:auto;align-items:baseline;column-gap:8px;display:flex}.weigh-text>*{white-space:nowrap}.weigh-text strong{color:var(--ink);font-weight:600}.weigh-open{color:var(--blue-ink);margin-left:auto;display:grid}.weigh-open svg{transform:rotate(180deg)}.add-chip{min-height:44px;color:var(--blue-ink);background:#fff;border:1px solid #bfdbed;border-radius:999px;align-items:center;gap:8px;padding:6px 14px;font-size:.875rem;font-weight:500;display:inline-flex}.add-chip:hover{background:#dceefa}.weigh-note,.weigh-notice{color:var(--muted);margin:0;font-size:.8125rem;line-height:1.45}.weigh-in-line>.weigh-notice,.weigh-in-line>.form-error{margin-top:8px;font-size:.8125rem}.weigh-note .text-button{min-height:44px;padding:0 6px;font-size:.8125rem}.weigh-list .weight-row:first-of-type{border-top:0}.weigh-list .analysis-actions .entry-action{margin:0}.daily-summary{background:var(--blue-wash);color:var(--ink);border:1px solid #d1e5f2;border-radius:20px;margin-top:16px;padding:20px}.summary-header{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.summary-header span{color:var(--muted);font-size:.75rem}.summary-values{align-items:baseline;margin-top:12px;display:flex}.summary-values div{align-items:baseline;gap:7px;display:flex}.summary-values strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-size:2.75rem;font-weight:600;line-height:1.1}.summary-values span{color:var(--muted)}.export-dates{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.export-dates label{gap:6px;min-width:0;font-size:.9rem;font-weight:600;display:grid}.export-dates input{border:1px solid var(--field-border);width:100%;min-width:0;min-height:48px;color:var(--ink);background:#fff;border-radius:9px;padding:8px}.entries-heading{justify-content:space-between;align-items:baseline;margin:24px 0 12px;display:flex}.entries-heading h2{margin:0;font-size:1rem}.entries-heading span{color:var(--muted);font-size:.8125rem}.empty-state{border:1px solid var(--line);text-align:center;background:#fff;border-radius:18px;padding:24px 20px}.empty-icon{color:#9a4c16;background:#ffedcf;border-radius:16px;place-items:center;width:54px;height:54px;margin:auto auto 17px;display:grid}.empty-state h3{margin-bottom:8px;font-size:1rem}.empty-state p{max-width:250px;color:var(--muted);margin:auto;font-size:.875rem;line-height:1.5}.entry-card{border:1px solid var(--line);background:#fff;border-radius:18px;margin:10px 0;padding:14px}.entry-info{flex:1;min-width:0}.entry-photo,.entry-photo-placeholder{object-fit:cover;border-radius:12px;flex:0 0 56px;width:56px;height:56px}.entry-photo-placeholder{background:var(--blue-wash);color:var(--blue-ink);place-items:center;display:grid}.retry-button{padding-bottom:0;padding-left:0}.entry-card>span{color:var(--blue-ink);font-weight:700}.entry-card h3{margin:0 0 3px;font-size:1.25rem}.entry-card p{color:var(--muted);margin:0;font-size:.94rem}.entry-card-detailed{display:block}.entry-top{align-items:center;gap:12px;display:flex}.entry-toggle{width:100%;min-height:56px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:8px;padding:0}.entry-heading{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.occasion-chip{background:var(--blue-wash);max-width:100%;color:var(--blue-ink);overflow-wrap:anywhere;border-radius:999px;padding:2px 10px;font-size:.8125rem;font-weight:600;line-height:1.5}.entry-toggle:hover .occasion-chip{background:#dceefa}.entry-time{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.8125rem}.entry-summary{gap:4px;min-width:0;margin-top:6px;display:grid}.entry-line{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:.875rem;line-height:1.4;display:block;overflow:hidden}.entry-foods{color:var(--ink);font-weight:500}.entry-snippet{color:var(--muted);font-style:italic}.entry-grams{white-space:normal;color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:2px 10px;font-size:.75rem;display:flex;overflow:visible}.macro-inline{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.macro-inline abbr{font-weight:600;text-decoration:none}.entry-state{align-items:center;gap:8px;display:flex;overflow:visible}.status-chip{white-space:normal;border-radius:999px;max-width:100%;padding:2px 10px;font-size:.75rem;font-weight:500;line-height:1.5;display:inline-block}.status-waiting{color:#4a5664;background:#eef1f4}.status-progress{background:var(--blue-wash);color:var(--blue-ink)}.status-attention{background:var(--orange-wash);color:#7a4200}.line-placeholder{background:linear-gradient(90deg,#e6ebef,#f4f6f8,#e6ebef) 0 0/200% 100%;border-radius:999px;flex:auto;max-width:96px;height:8px;animation:1.4s ease-in-out infinite placeholder-sweep}@keyframes placeholder-sweep{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.line-placeholder{animation:none}}.entry-right{align-self:center;justify-items:end;gap:4px;display:grid}.entry-details{padding-top:17px}.local-entry-note{margin:0 0 10px;line-height:1.45}.entry-evidence-photo{object-fit:contain;background:var(--canvas);border-radius:12px;width:100%;max-height:240px;margin:0 0 12px;display:block}.entry-metadata{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:8px;display:flex}.entry-metadata>div{min-width:0;max-width:100%}.entry-metadata label,.metadata-label{font-size:.88rem;font-weight:600}.entry-metadata input{border:1px solid var(--field-border);width:100%;min-height:44px;color:var(--ink);background:#fff;border-radius:9px;padding:7px 9px}.entry-metadata strong{font-size:1rem}.entry-metadata small{color:var(--muted);overflow-wrap:anywhere}.metadata-edit{background:var(--canvas);border-radius:10px;align-items:center;gap:8px;padding:8px 10px;font-size:.8125rem;display:flex}.time-edit{gap:7px;display:grid}.time-edit .entry-action{margin:0}.entry-card .form-error{color:#9b2e23;margin:0}.entry-calories{white-space:nowrap;font-size:.875rem;font-weight:600}.entry-analysis{margin-top:12px;padding-top:0}.entry-analysis .entry-description{color:var(--ink);line-height:1.45}.food-items{margin:0 0 12px;padding:0;list-style:none}.food-items li{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:12px 0;font-size:.875rem;line-height:1.45;display:flex}.entry-chips{flex-wrap:wrap;gap:8px;display:flex}.meta-chip{background:var(--blue-wash);min-height:44px;color:var(--blue-ink);border:1px solid #bfdbed;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:.875rem;font-weight:500;display:inline-flex}.meta-chip:hover{background:#dceefa}.meta-chip[aria-expanded=true]{border-color:var(--blue-ink)}.meta-chip svg{width:16px;height:16px}.entry-chips+.entry-metadata{margin-top:12px}.entry-details>.form-error{margin-top:8px}.entry-total{background:var(--canvas);border-radius:14px;margin-top:16px;padding:12px}.entry-total p{color:var(--muted);justify-content:space-between;align-items:baseline;gap:12px;margin:0;font-size:.8125rem;display:flex}.entry-total p strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:1.375rem;font-weight:600}.entry-total .macro-chips{margin-top:10px}.entry-analysis .food-items li{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;display:grid}.food-items .food-name{overflow-wrap:anywhere}.food-items li>.entry-grams{grid-column:1/-1}.entry-actions{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:8px;margin-top:12px;display:grid}.entry-actions .entry-action{width:100%;margin:0}.food-items li strong{white-space:nowrap;font-weight:500}.entry-analysis .entry-macros{color:var(--muted);font-size:.75rem;font-weight:400;line-height:1.5}.entry-action{background:var(--blue-wash);min-height:44px;color:var(--blue-ink);border:1px solid #bfdbed;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-top:12px;padding:8px 12px;font-size:.875rem;font-weight:500;display:inline-flex}.entry-action:hover{background:#dceefa}.correction-form{background:#f6fbfe;border:1px solid #c9dfea;border-radius:14px;gap:10px;margin-top:12px;padding:12px;display:grid}.correction-form label{font-weight:600}.correction-form textarea{border:1px solid var(--field-border);width:100%;min-height:110px;color:var(--ink);resize:vertical;background:#fff;border-radius:10px;padding:12px;line-height:1.45}.correction-form p{line-height:1.45}.correction-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.correction-actions .entry-action{margin:0}.history-toggle{align-items:center;gap:8px;width:100%;margin-top:12px;padding:8px 0;font-size:.8125rem;display:flex}.estimate-history{border-top:1px solid var(--line);margin-top:10px}.estimate-history section{border-bottom:1px solid var(--line);padding:14px 0}.estimate-history h4{margin:0 0 8px;font-size:1rem}.estimate-history p{color:var(--ink);line-height:1.45}.estimate-history ul{color:var(--muted);margin:8px 0;padding-left:20px;font-size:.9rem;line-height:1.5}.estimate-history small{color:var(--muted)}.delete-entry-button{color:#9b2e23;margin:8px 0 0 auto}.danger-button{color:#fff;background:#b54135;border:0;border-radius:14px;min-height:48px;padding:8px 16px;font-weight:600}.danger-button:hover{background:#993127}.sheet-layer{z-index:12;padding-top:max(12px,env(safe-area-inset-top));justify-content:center;align-items:flex-end;display:flex;position:fixed;top:0;right:0;bottom:0;left:0}.sheet-backdrop{background:#202936a8;animation:.18s ease-out sheet-fade;position:absolute;top:0;right:0;bottom:0;left:0}.sheet{background:#fff;border-radius:22px 22px 0 0;outline:none;flex-direction:column;width:min(100%,560px);max-height:100%;transition:transform .18s;animation:.22s cubic-bezier(.2,.8,.2,1) sheet-rise;display:flex;position:relative;box-shadow:0 -12px 40px #15223829}.sheet-handle-zone{touch-action:none;cursor:grab;flex:none;place-items:center;height:28px;display:grid}.sheet-handle{background:#c3ccd6;border-radius:3px;width:40px;height:5px}.sheet-content{overscroll-behavior:contain;min-height:0;padding:0 20px max(20px,env(safe-area-inset-bottom));overflow-y:auto}.sheet-body h2{margin-bottom:12px;font-size:1.25rem}.sheet-body p{color:var(--muted);margin:0;font-size:.875rem;line-height:1.5}.sheet-body.correction-form{background:0 0;border:0;margin:0;padding:0}@keyframes sheet-rise{0%{transform:translateY(100%)}}@keyframes sheet-fade{0%{opacity:0}}.analysis-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:20px;display:flex}.analysis-actions .primary-button{margin:0;padding:8px 16px}.status-note{background:var(--blue-wash);color:var(--blue-ink);border-radius:12px;margin:18px 0;padding:14px 16px;font-size:1rem;line-height:1.45}.status-error{color:#9b2e23;background:#fff0ed;border:1px solid #f1c9c2}.capture-button{width:100%;min-width:0;min-height:56px;box-shadow:0 4px 12px #c5783520}.capture-notice{z-index:2;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));background:#fff;border:1px solid #d1e5f2;border-radius:16px;width:min(420px,100vw - 32px);padding:16px 18px;position:fixed;transform:translate(-50%);box-shadow:0 10px 30px #25364924}.capture-notice p{margin:0;font-size:1rem;line-height:1.5}.capture-notice .text-button{padding-left:0}@media(min-width:760px){.login-layout{grid-template-columns:1.3fr 1fr;gap:70px}}@media(max-width:420px){.login-page{padding-inline:18px}.login-card{padding:24px 20px}.diary-main{padding:16px}.export-dates{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.source-evidence{white-space:normal;overflow-wrap:anywhere;margin:12px 0;padding:0}.source-evidence h4{margin:0 0 6px}.source-evidence p{white-space:pre-wrap;margin:8px 0;line-height:1.5}.spoken-corrections{margin-top:0}.correction-progress{color:var(--blue-ink);font-weight:500}.history-transcript{color:var(--muted);overflow-wrap:anywhere;margin:4px 0 0;font-size:.8125rem;line-height:1.45}.weight-form{gap:12px;display:grid}.weight-form label{gap:6px;font-weight:500;display:grid}.weight-form input,.weight-form select{border:1px solid var(--field-border);width:100%;min-height:48px;color:var(--ink);background:#fff;border-radius:10px;padding:10px 12px}.weight-row{border-top:1px solid var(--line);align-items:center;gap:8px;padding:12px 0;display:flex}.weight-row>div{flex:1}.weight-row small{color:var(--muted);margin-top:4px;display:block}.reports-page{padding-bottom:calc(32px + env(safe-area-inset-bottom))}.page-header{justify-content:flex-start;gap:8px;padding-left:12px}.page-header h1{margin:0;font-size:1.125rem;font-weight:600}.page-header h1:focus{outline:none}.reports-main{max-width:600px;margin:auto;padding:16px 16px 0}.report-range{border:1px solid var(--line);background:#fff;border-radius:16px;padding:16px}.preset-group{flex-wrap:wrap;gap:8px;display:flex}.preset-chip{min-height:44px;color:var(--blue-ink);background:#fff;border:1px solid #bfdbed;border-radius:999px;padding:8px 14px;font-size:.9375rem;font-weight:500}.preset-chip[aria-pressed=true]{border-color:var(--blue-ink);background:var(--blue-ink);color:#fff}.report-range .export-dates{margin-top:14px}.report-range .form-error,.range-summary{margin:12px 0 0;font-size:.9375rem}.range-summary{color:var(--muted)}.report-actions{gap:10px;margin-top:16px;display:grid}.report-actions .primary-button{width:100%;margin:0}.report-downloads{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.report-downloads .entry-action,.report-actions .status-note,.report-actions p{margin:0}.report-actions .export-notice{color:var(--blue-ink)}.period-report{margin-top:24px}.period-report>h2{font-size:1.25rem;line-height:1.4}.nutrition-line>span{white-space:nowrap}.report-occasions h3{font-size:1.05rem}.table-scroll{overflow-x:auto}.occasion-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.8125rem}.occasion-table th,.occasion-table td{border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;padding:8px 0 8px 8px}.occasion-table thead th{color:var(--muted);font-size:.75rem;font-weight:500}.occasion-table th:first-child{text-align:left;padding-left:0}.occasion-table tbody th{white-space:normal;font-weight:600}.occasion-table .no-estimate{color:var(--muted)}.occasion-table :is(th,td):nth-child(4){border-left:1px solid var(--line);padding-left:12px}@media(max-width:379px){.occasion-table{font-size:.75rem}.occasion-table thead th{font-size:.6875rem}.occasion-table th,.occasion-table td{padding-left:6px}.occasion-table :is(th,td):nth-child(4){padding-left:10px}}.sign-out-sheet p+p{margin-top:8px}.report-total,.report-weight{background:var(--blue-wash);border-radius:12px;padding:16px}.report-day{border-top:2px solid var(--line);margin-top:22px;padding-top:16px}.report-day h3{font-size:1.2rem}.report-entry{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:14px;margin:16px 0;padding:16px}.report-entry h4{margin:0 0 8px;font-size:1.05rem}.report-entry ul{padding:0;list-style:none}.report-entry li{margin:12px 0;line-height:1.5}.report-photo{object-fit:contain;border-radius:10px;width:100%;max-width:240px;max-height:220px;margin-bottom:12px}svg{flex-shrink:0}strong{font-weight:600}button,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:active{opacity:.8}summary{list-style:none}summary::-webkit-details-marker{display:none}summary:focus-visible{outline-offset:3px;border-radius:8px;outline:3px solid #4b8dc0}.icon-button{min-width:44px;min-height:44px;color:var(--blue-ink);background:0 0;border:0;border-radius:12px;flex-shrink:0;place-items:center;padding:10px;display:inline-grid}.icon-button:hover{background:var(--blue-wash)}.icon-button.delete-entry-button{color:#9b2e23;display:grid}.disclosure-chevron{width:24px;height:24px;color:var(--blue-ink);flex:0 0 24px;place-items:center;margin-left:auto;display:inline-grid}.disclosure-chevron svg{transform-origin:50%;width:20px;height:20px;transition:transform .18s}details[open]>summary>.disclosure-chevron svg,button[aria-expanded=true]>.disclosure-chevron svg,.entry-toggle[aria-expanded=true] .disclosure-chevron svg{transform:rotate(180deg)}.summary-header h2{margin:0;font-size:.875rem;font-weight:500}.summary-status{color:var(--blue-ink);margin:10px 0 0;font-size:.8125rem;line-height:1.4}.entry-recovery{justify-items:start;gap:8px;margin:8px 0 0 68px;display:grid}.retry-chip{background:var(--orange-wash);min-height:44px;color:var(--ink);border:1px solid #e0a35c;border-radius:999px;padding:6px 14px;font-size:.875rem;font-weight:600}.retry-chip:hover{background:#ffd699}.card-error{font-size:.875rem}.entry-metadata svg{width:16px;height:16px}.entry-metadata>.time-edit{flex:100%}.entry-action svg,.history-toggle>svg{width:18px;height:18px}.source-evidence summary,.history-revision>summary,.transcription-retry>summary{cursor:pointer;min-height:44px;color:var(--blue-ink);align-items:center;gap:8px;font-size:.8125rem;font-weight:500;display:flex}.transcription-retry p{margin:8px 0;font-size:.875rem;line-height:1.5}.history-revision{border-bottom:1px solid var(--line)}.history-revision>summary{justify-content:space-between}.history-revision>summary>strong{color:var(--ink);white-space:nowrap;margin-left:auto;font-size:.8125rem}.history-revision>summary>.disclosure-chevron{margin-left:0}.food-items small{color:var(--muted);margin-top:4px;font-size:.75rem;display:block}.capture-dock{z-index:3;bottom:calc(12px + env(safe-area-inset-bottom));border:1px solid var(--line);background:#fff;border-radius:22px;grid-template-columns:56px 1fr 56px;align-items:center;gap:12px;width:min(360px,100% - 32px);margin-inline:auto;padding:8px;display:grid;position:fixed;left:16px;right:16px;box-shadow:0 8px 30px #20293614}.capture-secondary{background:var(--blue-wash);border:1px solid #d1e5f2;border-radius:14px;width:56px;height:56px}.weight-row .delete-entry-button{margin:0}input,textarea,select{font-size:16px}.header-actions{align-items:center;gap:8px;display:flex}.dialog-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.dialog-heading h2{margin:0}.dialog-heading .icon-button{margin:-8px -8px -8px 0}.photo-split{min-width:0;display:flex}.photo-split .photo-camera{border-radius:14px 0 0 14px;flex:auto;min-width:0;margin:0}.photo-gallery{background:var(--orange-wash);min-height:44px;color:var(--ink);border:0;border-left:1px solid #e0a35c;border-radius:0 14px 14px 0;flex:0 0 48px;place-items:center;padding:0;display:grid}.photo-gallery:hover{background:#ffd699}.capture-dock .photo-gallery{height:56px;box-shadow:0 4px 12px #c5783520}.photo-split-compact{display:inline-flex}.photo-split-compact .photo-camera{border-right:0;border-radius:10px 0 0 10px;min-height:44px}.photo-split-compact .photo-gallery{background:var(--blue-wash);min-width:44px;color:var(--blue-ink);border:1px solid #bfdbed;border-radius:0 10px 10px 0;flex-basis:44px}.photo-split-compact .photo-gallery:hover{background:#dceefa}.photo-split-compact .photo-gallery svg{width:20px;height:20px}.record-stage{text-align:center;justify-items:center;gap:6px;margin:20px 0 8px;display:grid}.record-button{min-width:10rem;color:var(--ink);background:0 0;border:0;justify-items:center;gap:22px;padding:16px 4px 4px;display:grid}.record-circle{background:var(--orange);width:88px;height:88px;color:var(--ink);border-radius:50%;place-items:center;display:grid;position:relative;box-shadow:0 6px 18px #c5783533}.record-button:hover .record-circle{background:var(--orange-hover)}.record-circle svg{width:36px;height:36px;position:relative}.level-ring{border:6px solid var(--orange);opacity:0;transform:scale(calc(.9 + var(--level,0) * .3));border-radius:50%;transition:transform .1s linear,opacity .1s linear;position:absolute;top:-10px;right:-10px;bottom:-10px;left:-10px}.is-recording .level-ring{opacity:calc(.25 + var(--level,0) * .75)}@media(prefers-reduced-motion:reduce){.level-ring{transition:none}}.record-label{font-size:1rem;font-weight:600}.record-timer{font-variant-numeric:tabular-nums;font-size:1.5rem;font-weight:600}.record-timer small{color:var(--muted);font-size:.875rem;font-weight:400}.sheet-body .record-status{min-height:1.5em;color:var(--ink);font-size:.9375rem}.record-photo{justify-content:center;margin:16px 0 0;display:flex}.record-photo>p{margin-bottom:8px}.record-photo-preview{border:1px solid var(--line);border-radius:12px;align-items:center;gap:12px;width:100%;padding:8px;display:flex}.record-photo-preview img{object-fit:cover;border-radius:8px;width:56px;height:56px}.record-photo-preview span{flex:1;font-size:.875rem}.record-photo-preview .icon-button{flex-shrink:0}.record-hint{color:var(--muted);font-size:.8125rem}.record-stage .is-waiting{visibility:hidden}.occasion-choices{grid-template-columns:1fr 1fr;gap:8px;display:grid}.occasion-choice{border:1px solid var(--line);min-height:44px;color:var(--blue-ink);background:#fff;border-radius:10px;padding:8px 12px;font-size:.875rem}.occasion-choice[aria-pressed=true]{border-color:var(--blue-ink);background:var(--blue-wash);box-shadow:inset 0 0 0 1px var(--blue-ink)}.occasion-choice:hover{background:var(--blue-wash)}.field-label{font-size:.875rem;font-weight:600}.entry-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:4px;display:flex}.entry-footer .history-toggle{width:auto;min-height:44px;margin:0;padding:8px 4px}.entry-footer .entry-action,.entry-footer .delete-entry-button{margin:0}@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-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
