/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@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-serif:ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--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{.relative{position:relative}.start{inset-inline-start:var(--spacing)}.block{display:block}.table{display:table}}:root{--ink:#3f3536;--muted:#8c7f7e;--cream:#fffaf4;--paper:#fffefd;--rose:#df7b73;--rose-deep:#bf625e;--line:#684d491f}*{box-sizing:border-box}html{background:#f4eee7}body{isolation:isolate;background:var(--cream);color:var(--ink);font-family:var(--font-sans), "PingFang HK", "PingFang TC", "Noto Sans TC", sans-serif;-webkit-font-smoothing:antialiased;min-height:100svh;margin:0;position:relative}body:before,body:after{content:"";z-index:0;pointer-events:none;position:fixed;inset:0}body:before{opacity:.24;background:url(/maomao-wallpaper.jpg) top/cover no-repeat}body:after{background:linear-gradient(#fffaf42e,#fffaf49e)}button,input,textarea{font:inherit}button{color:inherit}.login-shell{z-index:1;min-height:100svh;padding:max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));place-items:center;display:grid;position:relative}.login-card{text-align:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffdf9f0;border:1px solid #684d491a;border-radius:32px;width:min(100%,390px);padding:34px 27px 27px;animation:.36s cubic-bezier(.22,.9,.3,1) both login-in;box-shadow:0 24px 70px #4833302e}@keyframes login-in{0%{opacity:0;transform:translateY(14px)scale(.98)}}.login-brand{background:#fff;border-radius:26px;place-items:center;width:96px;height:104px;margin:0 auto 16px;display:grid;overflow:hidden;transform:rotate(-2deg);box-shadow:0 12px 30px #69524d21}.login-brand img{object-fit:contain;width:100%;height:100%;display:block}.login-kicker{color:var(--muted);letter-spacing:.18em;margin:0 0 6px;font-size:10px;font-weight:700}.login-card h1{font-family:var(--font-serif), serif;letter-spacing:.08em;margin:0;font-size:27px}.login-intro{color:var(--muted);margin:9px 0 24px;font-size:12px}.login-form{text-align:left;gap:14px;display:grid}.login-form label span{color:#695b5a;margin:0 0 7px 3px;font-size:12px;font-weight:750;display:block}.login-form input{width:100%;height:51px;color:var(--ink);background:#ffffffeb;border:1px solid #634b4824;border-radius:16px;outline:none;padding:0 15px;font-size:16px}.login-form input:focus{border-color:#d3706aa6;box-shadow:0 0 0 4px #df7b731c}.login-form button{color:#fff;background:linear-gradient(135deg,#df8177,#c96565);border:0;border-radius:17px;min-height:52px;margin-top:3px;font-weight:800;box-shadow:0 10px 24px #b95b583b}.login-form button:disabled{opacity:.58}.login-error{color:#b14f50;text-align:left;margin:-3px 3px 0;font-size:11px}.login-note{color:#aa9d9a;margin:19px 0 0;font-size:10px}.auth-checking{padding-block:38px}.auth-checking p{color:var(--muted);margin:12px 0 0;font-size:12px}.login-spinner{border:3px solid #f2d8d2;border-top-color:var(--rose);border-radius:50%;width:24px;height:24px;margin:0 auto;animation:.8s linear infinite login-spin;display:block}@keyframes login-spin{to{transform:rotate(360deg)}}.app-shell{z-index:1;width:min(100%,760px);min-height:100svh;padding:max(18px, env(safe-area-inset-top)) 20px max(36px, env(safe-area-inset-bottom));margin:0 auto;position:relative}.pull-refresh{--pull-distance:0px;z-index:40;top:env(safe-area-inset-top);color:#8d7c79;pointer-events:none;opacity:0;min-height:34px;transform:translate(-50%, calc(-46px + var(--pull-distance)));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffdf9f5;border:1px solid #684d4917;border-radius:18px;align-items:center;gap:7px;padding:0 13px;font-size:10px;font-weight:750;transition:opacity .16s,transform .2s,color .16s;display:flex;position:fixed;left:50%;box-shadow:0 8px 25px #48333024}.pull-refresh.is-visible{opacity:1;transition:opacity 80ms}.pull-refresh.is-ready{color:var(--rose-deep)}.pull-refresh.is-refreshing{opacity:1;transform:translate(-50%,7px)}.pull-refresh-icon{place-items:center;width:17px;height:17px;font-size:16px;line-height:1;transition:transform .18s;display:grid}.pull-refresh.is-ready .pull-refresh-icon{transform:rotate(180deg)}.pull-refresh.is-refreshing .pull-refresh-icon{border:2px solid #f0d8d2;border-top-color:var(--rose);border-radius:50%;animation:.72s linear infinite pull-refresh-spin}@keyframes pull-refresh-spin{to{transform:rotate(360deg)}}.topbar{align-items:center;gap:11px;display:flex}.brand-mark{background:#ffe374;border-radius:15px;place-items:center;width:42px;height:42px;display:grid;overflow:hidden;transform:rotate(-3deg);box-shadow:0 8px 22px #ae7e3733}.brand-mark img{object-fit:contain;width:100%;height:100%;display:block}.brand-copy{flex:1}.brand-copy p,.brand-copy h1{margin:0}.brand-copy p{color:var(--muted);letter-spacing:.16em;font-size:10px}.brand-copy h1{font-family:var(--font-serif), serif;letter-spacing:.08em;font-size:21px;font-weight:700}.today-button{min-width:52px;min-height:38px;color:var(--rose-deep);background:#ffffffc7;border:1px solid #df7b734d;border-radius:20px;font-size:13px;font-weight:700}.today-button:disabled{opacity:.42}.topbar-actions{flex-direction:column;align-items:center;gap:4px;display:flex}.logout-button{color:#9d8e8b;background:0 0;border:0;min-width:48px;min-height:24px;font-size:10px}.date-strip{justify-content:center;align-items:center;gap:18px;margin:23px 0 16px;display:flex}.date-arrow{background:#ffffffc2;border:0;border-radius:50%;width:40px;height:40px;font-size:27px;line-height:1;box-shadow:0 3px 14px #5b433f14}.date-arrow:disabled{opacity:.28}.date-picker{text-align:center;-webkit-tap-highlight-color:transparent;background:#ffffff61;border:0;border-radius:16px;justify-content:center;align-items:center;gap:7px;min-width:176px;min-height:44px;padding:0 10px;display:flex}.date-picker span{font-family:var(--font-serif), serif;font-size:17px;font-weight:700}.date-picker b{color:var(--rose-deep);font-size:15px;transform:translateY(-2px)}.calendar-backdrop{z-index:45;padding:max(112px, calc(env(safe-area-inset-top) + 82px)) 16px 24px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#3f35362e;justify-content:center;align-items:flex-start;display:flex;position:fixed;inset:0}.calendar-popover{background:#fffdf9fa;border:1px solid #684d491a;border-radius:26px;width:min(100%,360px);padding:20px 18px 16px;animation:.18s ease-out calendar-in;position:relative;box-shadow:0 20px 60px #48333038}@keyframes calendar-in{0%{opacity:0;transform:translateY(-8px)scale(.98)}}.calendar-close{color:#998986;background:#f5eeeb;border:0;border-radius:50%;width:32px;height:32px;font-size:21px;line-height:1;position:absolute;top:10px;right:10px}.calendar-header{grid-template-columns:38px 1fr 38px;align-items:center;gap:8px;padding:3px 32px 16px 0;display:grid}.calendar-header h2{font-family:var(--font-serif), serif;text-align:center;margin:0;font-size:18px}.calendar-header button{width:36px;height:36px;color:var(--rose-deep);background:#f8eae5;border:0;border-radius:50%;font-size:24px;line-height:1}.calendar-header button:disabled{opacity:.28}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,1fr);display:grid}.calendar-weekdays{margin-bottom:4px}.calendar-weekdays span{color:#aa9b98;text-align:center;font-size:10px;font-weight:800}.calendar-grid{gap:3px}.calendar-grid button{aspect-ratio:1;color:#574b4b;background:0 0;border:0;border-radius:50%;min-width:0;font-size:13px;font-weight:650}.calendar-grid button:not(:disabled):active{transform:scale(.92)}.calendar-grid .outside-month{opacity:.3}.calendar-grid .today-date{color:var(--rose-deep);box-shadow:inset 0 0 0 1.5px #d269637a}.calendar-grid .selected-day{color:#fff;background:linear-gradient(145deg,#e78a80,#cc6868);box-shadow:0 5px 14px #ba585640}.calendar-grid button:disabled{opacity:.14}.calendar-today{min-height:38px;color:var(--rose-deep);background:#f7e7e2;border:0;border-radius:18px;margin:13px auto 0;padding:0 16px;font-size:11px;font-weight:800;display:block}.progress-card{color:#fff;text-shadow:0 1px 8px #70383829;background:linear-gradient(132deg,#e38a80b3 0%,#d47370ab 55%,#c9666bb3 100%);border:1px solid #ffffff57;border-radius:21px;align-items:center;gap:12px;min-height:69px;padding:10px 14px;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 45px #b8645e2b}.progress-card:before{content:"";border:18px solid #ffffff14;border-radius:50%;width:92px;height:92px;position:absolute;bottom:-58px;right:-32px}.progress-ring{--progress:0%;background:conic-gradient(#fff var(--progress), #ffffff3d 0);border-radius:50%;flex:none;place-items:center;width:48px;height:48px;display:grid;position:relative}.progress-ring:after{content:"";background:#c968679e;border-radius:50%;position:absolute;inset:4px}.progress-ring div{z-index:1;align-items:baseline;display:flex;position:relative}.progress-ring strong{font-family:var(--font-serif), serif;font-size:18px}.progress-ring span{opacity:.8;margin-left:2px;font-size:8px}.progress-copy{z-index:1;min-width:0;position:relative}.eyebrow{letter-spacing:.18em;text-transform:uppercase;opacity:.72;font-size:9px;font-weight:800;display:block}.progress-copy h2{font-family:var(--font-serif), serif;margin:2px 0 1px;font-size:clamp(15px,4vw,18px);line-height:1.2}.progress-copy p{opacity:.82;margin:0;font-size:10px}.tiny-hearts{opacity:.28;font-size:11px;position:absolute;top:9px;right:14px;transform:rotate(8deg)}.protein-target-card{background:#fffcf8db;border:1px solid #be6c6529;border-radius:21px;align-items:center;gap:14px;margin-top:10px;padding:13px 15px;display:flex;box-shadow:0 8px 24px #5b444012}.protein-total{min-height:43px;color:var(--rose-deep);background:linear-gradient(145deg,#fae5df,#f7d8d3);border-radius:15px;flex:0 0 86px;justify-content:center;align-items:baseline;padding:8px 9px;display:flex}.protein-total strong{font-family:var(--font-serif), serif;font-size:24px;line-height:1}.protein-total span{opacity:.72;margin-left:3px;font-size:10px;font-weight:800}.protein-target-copy{flex:1;min-width:0}.protein-target-heading{justify-content:space-between;align-items:end;gap:10px;display:flex}.protein-target-heading>div{min-width:0}.protein-target-heading strong{margin-top:2px;font-size:12px;display:block}.protein-target-heading>span{color:var(--rose-deep);flex:none;font-size:10px;font-weight:800}.protein-progress{background:#f0e5e1;border-radius:999px;height:7px;margin-top:8px;overflow:hidden}.protein-progress span{border-radius:inherit;background:linear-gradient(90deg,#e69482,#cf6b6b);width:0;height:100%;transition:width .35s;display:block}.notification-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:13px;display:grid}.reminder-card{background:#ffffffc7;border:1px solid #7e5d591a;border-radius:20px;align-items:center;gap:11px;margin-top:13px;padding:12px 13px;display:flex;box-shadow:0 7px 20px #5b44400f}.reminder-card.is-enabled{background:#f4fcf1db;border-color:#6490653d}.reminder-bell{background:#f7e4dd;border-radius:13px;flex:none;place-items:center;width:36px;height:36px;font-size:17px;display:grid}.is-enabled .reminder-bell{background:#dfeedd}.reminder-copy{flex:1;min-width:0}.reminder-copy strong{font-size:12px;display:block}.reminder-copy p{color:var(--muted);margin:3px 0 0;font-size:10px;line-height:1.4}.reminder-card button{min-width:54px;min-height:34px;color:var(--rose-deep);background:#f4ded8;border:0;border-radius:17px;flex:none;padding:0 12px;font-size:11px;font-weight:800}.reminder-card.is-enabled button{color:#648965;background:#e5eee2}.reminder-card button:disabled{opacity:.52}.update-alert-card .reminder-bell{background:#eee2f1}.update-alert-card.is-enabled .reminder-bell{background:#dfeedd}.notification-grid .reminder-card{grid-template-columns:32px minmax(0,1fr);grid-template-areas:"bell copy""action action";align-content:start;gap:8px;min-width:0;margin-top:0;padding:10px;display:grid}.notification-grid .reminder-bell{border-radius:11px;grid-area:bell;width:32px;height:32px;font-size:15px}.notification-grid .reminder-copy{grid-area:copy}.notification-grid .reminder-copy strong{font-size:10px;line-height:1.35}.notification-grid .reminder-copy p{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:2px;font-size:9px;display:-webkit-box;overflow:hidden}.notification-grid .reminder-card button{grid-area:action;width:100%;min-width:0;min-height:30px;padding:0 8px;font-size:10px}.section-heading{justify-content:space-between;align-items:end;gap:10px;margin:30px 3px 15px;display:flex}.section-heading h2{font-family:var(--font-serif), serif;margin:4px 0 0;font-size:22px}.section-heading p{color:var(--muted);margin:0 0 2px;font-size:11px}.meal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.meal-card{--tone:#eee;--tone-deep:#777;text-align:left;-webkit-tap-highlight-color:transparent;background:#fffc;border:1px solid #5b444014;border-radius:25px;flex-direction:column;align-items:flex-start;min-height:190px;padding:16px;transition:transform .18s,box-shadow .18s;display:flex;position:relative;overflow:hidden;box-shadow:0 7px 24px #5b444012}.meal-card:active{transform:scale(.98)}.meal-card:disabled{opacity:.58}.meal-card.sun{--tone:#fff0cd;--tone-deep:#d9923d}.meal-card.leaf{--tone:#e2f1df;--tone-deep:#659065}.meal-card.coral{--tone:#fee0d8;--tone-deep:#cf6f64}.meal-card.lilac{--tone:#eee2f1;--tone-deep:#92709b}.meal-card.snack-one{--tone:#f8e6d3;--tone-deep:#b78158}.meal-card.snack-two{--tone:#f6dfe5;--tone-deep:#bd6f82}.meal-icon{background:var(--tone);border-radius:13px;place-items:center;width:38px;height:38px;font-size:18px;display:grid;box-shadow:inset 0 -2px 8px #fff6}.meal-status{background:var(--tone);width:26px;height:26px;color:var(--tone-deep);border-radius:50%;place-items:center;font-weight:800;display:grid;position:absolute;top:15px;right:15px}.is-complete .meal-status{background:var(--tone-deep);color:#fff}.meal-label{font-family:var(--font-serif), serif;margin-top:14px;font-size:20px;font-weight:750}.meal-detail{width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;overflow:hidden}.meal-time{color:var(--tone-deep);letter-spacing:.06em;margin-top:auto;padding-top:12px;font-size:11px;font-weight:800}.meal-photo-wrap{z-index:-1;position:absolute;inset:0}.meal-photo-wrap:after{content:"";background:linear-gradient(#ffffffd1,#fffffff0);position:absolute;inset:0}.meal-photo-wrap img{object-fit:cover;width:100%;height:100%}.state-card{min-height:130px;color:var(--muted);background:#ffffffb8;border-radius:24px;justify-content:center;align-items:center;gap:9px;display:flex}.state-card p{margin:0;font-size:13px}.state-card button{color:var(--rose-deep);background:0 0;border:0;font-weight:700}.love-note{background:#fff7efbd;border:1px dashed #bd787047;border-radius:22px;align-items:center;gap:14px;margin-top:22px;padding:17px 18px;display:flex}.love-note-icon{color:#c66f68;background:#f6dcd4;border-radius:50%;place-items:center;width:37px;height:37px;font-size:18px;display:grid}.love-note p{font-family:var(--font-serif), serif;margin:5px 0 0;font-size:13px;line-height:1.65;animation:.28s ease-out note-in}@keyframes note-in{0%{opacity:0;transform:translateY(4px)}}footer{color:#aa9d9a;text-align:center;letter-spacing:.04em;padding:27px 0 2px;font-size:10px}.sheet-backdrop{z-index:50;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#362a2b5c;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.editor-sheet{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;width:min(100%,640px);max-height:calc(100svh - 18px);scroll-padding-block:16px max(84px, env(safe-area-inset-bottom));padding:10px 20px max(24px, env(safe-area-inset-bottom));background:#fffdf9;border-radius:30px 30px 0 0;animation:.25s ease-out slide-up;overflow-y:auto;box-shadow:0 -18px 60px #3225252e}@keyframes slide-up{0%{opacity:.7;transform:translateY(40px)}}.sheet-handle{background:#dfd5d1;border-radius:4px;width:42px;height:4px;margin:2px auto 16px}.editor-heading{align-items:center;gap:12px;margin-bottom:17px;display:flex}.editor-heading h2{font-family:var(--font-serif), serif;margin:3px 0 0;font-size:22px}.editor-icon{background:#f7e5dc;border-radius:16px;place-items:center;width:48px;height:48px;font-size:24px;display:grid}.editor-icon.leaf{background:#e2f1df}.editor-icon.coral{background:#fee0d8}.editor-icon.lilac{background:#eee2f1}.editor-icon.snack-one{background:#f8e6d3}.editor-icon.snack-two{background:#f6dfe5}.close-button{color:#8c7f7e;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#f4eeea;border:0;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;margin-left:auto;font-size:24px;display:grid}.close-button:disabled{cursor:default;opacity:.48}.entry-form{gap:14px;min-width:0;display:grid}.entry-form label>span:not(.photo-empty){color:#695b5a;margin:0 0 7px 2px;font-size:12px;font-weight:750;display:block}.entry-form label small{color:#a99c9a;font-weight:500}.entry-form input:not([type=file]),.entry-form textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #634b4821;border-radius:15px;outline:none}.entry-form input:not([type=file]){height:48px;padding:0 14px}.entry-form textarea{resize:vertical;min-height:88px;padding:13px 14px}.entry-form input:focus,.entry-form textarea:focus{border-color:#d3706a9e;box-shadow:0 0 0 3px #df7b731c}.entry-form input:disabled,.entry-form textarea:disabled{color:#9d918e;-webkit-text-fill-color:#9d918e;opacity:1;background:#f7f2ee;border-color:#634b4814}.entry-form button:focus-visible,.close-button:focus-visible,.photo-input:focus-within{outline-offset:2px;outline:3px solid #d3706a4d}.field-row{grid-template-columns:.85fr 1.15fr;gap:11px;display:grid}.field-row.single-field{grid-template-columns:1fr}.field-note{margin:7px 3px 0;font-size:11px;line-height:1.55;display:block;color:#9a7773!important;font-weight:600!important}.photo-input{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#fff8f3;border:1.5px dashed #c56f6757;border-radius:20px;place-items:center;min-height:150px;display:grid;position:relative;overflow:hidden}.photo-input.has-photo{background:#f3ece7;height:min(36svh,320px);min-height:220px}.photo-input input{opacity:0;width:1px;height:1px;position:absolute}.photo-input input:disabled{pointer-events:none}.photo-input:has(input:disabled){cursor:wait}.photo-input img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.photo-empty{color:var(--rose-deep);text-align:center;justify-items:center;gap:5px;display:grid}.photo-empty b{background:#f5dcd4;border-radius:50%;place-items:center;width:39px;height:39px;font-size:22px;display:grid}.photo-empty strong{font-size:13px}.photo-empty small{font-size:11px;line-height:1.45}.photo-change{color:#fff;background:#342a2ac2;border-radius:16px;padding:8px 11px;font-size:11px;font-weight:700;position:absolute;bottom:10px;right:10px}.photo-preparing{z-index:3;text-align:center;pointer-events:none;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#fffaf5d6;justify-content:center;align-items:center;gap:10px;padding:18px;line-height:1.5;position:absolute;inset:0;color:#8d5f5c!important;margin:0!important;font-size:13px!important;font-weight:800!important;display:flex!important}.photo-preparing i{border:3px solid #c7656233;border-top-color:#c76562;border-radius:50%;flex:none;width:22px;height:22px;animation:.78s linear infinite ai-estimate-spin;display:block}.remove-photo{min-width:88px;min-height:44px;color:var(--rose-deep);touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:14px;justify-self:end;margin-top:-8px;padding:0 10px;font-size:12px;font-weight:700}.remove-photo:disabled{cursor:default;opacity:.45}.ai-estimate-panel{gap:9px;min-width:0;display:grid}.ai-estimate-button{color:#aa5756;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:linear-gradient(135deg,#fff4ebfa,#f8e0dde6);border:1px solid #c2686433;border-radius:16px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:48px;padding:0 14px;font-size:13px;font-weight:800;display:flex;box-shadow:0 8px 22px #9755511a}.ai-estimate-button:active:not(:disabled),.ai-apply-button:active:not(:disabled),.remove-photo:active:not(:disabled){transform:scale(.985)}.ai-estimate-button:disabled{cursor:default;box-shadow:none;opacity:.58}.ai-estimate-sparkle{color:#d8736d;font-size:18px;line-height:1}.ai-estimate-spinner{border:2px solid #c7656238;border-top-color:#c76562;border-radius:50%;flex:none;width:18px;height:18px;animation:.78s linear infinite ai-estimate-spin}@keyframes ai-estimate-spin{to{transform:rotate(360deg)}}.ai-estimate-privacy{color:#8f817e;text-align:center;margin:-2px 2px 0;font-size:11px;line-height:1.55}.ai-estimate-status,.ai-estimate-error{overflow-wrap:anywhere;border-radius:13px;padding:11px 12px;font-size:12px;line-height:1.55}.ai-estimate-status{color:#927875;text-align:center;background:#fff7ef}.ai-estimate-error{color:#9b5554;background:#fff1ef;border:1px solid #b752501f;gap:2px;display:grid}.ai-estimate-error strong{font-size:12px}.ai-estimate-error span{color:#8f6764;font-size:11px}.ai-estimate-result{background:linear-gradient(160deg,#fffdf9fa,#fff2ece6);border:1px solid #b6635f24;border-radius:19px;padding:15px;animation:.22s ease-out ai-result-in;overflow:hidden;box-shadow:0 10px 28px #6f474417}@keyframes ai-result-in{0%{opacity:0;transform:translateY(5px)}}.ai-estimate-result-heading{justify-content:space-between;align-items:flex-end;gap:12px;min-width:0;display:flex}.ai-estimate-result-heading>div{gap:1px;display:grid}.ai-estimate-result-heading span{color:#9d716e;letter-spacing:.12em;font-size:11px;font-weight:800}.ai-estimate-result-heading strong{color:#b65f5d;font-family:var(--font-serif), serif;font-size:clamp(24px,7vw,27px);line-height:1.2}.ai-estimate-result-heading p{color:#6f5b59;text-align:right;justify-items:end;gap:2px;margin:0;font-size:12px;font-weight:750;display:grid}.ai-estimate-result-heading p small{color:#93827f;font-size:11px;font-weight:500}.ai-food-list{border-top:1px solid #71534f17;gap:0;margin:12px 0 0;padding:0;list-style:none;display:grid}.ai-food-list li{border-bottom:1px solid #71534f14;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:12px;min-height:48px;padding:8px 1px;display:grid}.ai-food-list li div{gap:2px;min-width:0;display:grid}.ai-food-list li strong{color:#584849;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.ai-food-list li span{color:#887875;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.ai-food-list li b{color:#a75c59;white-space:nowrap;font-size:12px}.ai-estimate-summary{color:#655556;overflow-wrap:anywhere;margin:11px 1px 0;font-size:12px;line-height:1.6}.ai-estimate-caveat{color:#8e716e;overflow-wrap:anywhere;margin:7px 1px 0;font-size:11px;line-height:1.6}.ai-apply-button{color:#fff;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:linear-gradient(135deg,#df8177,#c96565);border:0;border-radius:14px;width:100%;min-height:48px;margin-top:13px;padding:0 14px;font-size:13px;font-weight:800;box-shadow:0 8px 20px #b95b5833}.ai-apply-button:disabled{cursor:default;box-shadow:none;opacity:.5}.form-actions{gap:10px;margin-top:2px;display:flex}.save-button,.delete-button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;border:0;border-radius:16px;min-height:50px;font-weight:800}.save-button{color:#fff;background:linear-gradient(135deg,#df8177,#c96565);flex:1;box-shadow:0 10px 24px #b95b5838}.delete-button{color:#a96764;background:#f4edeb;width:76px}.save-button:disabled,.delete-button:disabled{cursor:default;box-shadow:none;opacity:.52}.sticker-celebration{z-index:95;pointer-events:none;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#fff8f12e;place-items:center;padding:22px;animation:2.3s both celebration-fade;display:grid;position:fixed;inset:0}.sticker-card{background:#fffffff7;border:1px solid #60494614;border-radius:30px;justify-items:center;width:min(260px,78vw);padding:12px 15px 19px;animation:2.3s cubic-bezier(.22,.9,.3,1) both sticker-pop;display:grid;position:relative;box-shadow:0 22px 70px #4833303d}.sticker-image{aspect-ratio:1;background:#fff;border-radius:23px;width:min(220px,66vw);overflow:hidden}.sticker-image img{object-fit:cover;object-position:50% 54%;width:100%;height:100%;display:block}.sticker-card strong{color:#4c3e3f;font-family:var(--font-serif), serif;letter-spacing:.04em;margin-top:8px;font-size:21px}.sticker-card>span{color:var(--muted);margin-top:3px;font-size:11px}.sticker-sparkles{z-index:1;width:min(320px,90vw);height:330px;position:absolute}.sticker-sparkles span{color:#e17f77;opacity:0;font-size:25px;animation:1.25s ease-out .14s both sticker-sparkle;position:absolute}.sticker-sparkles span:first-child{top:18%;left:4%}.sticker-sparkles span:nth-child(2){color:#62c9c7;animation-delay:.27s;top:27%;right:2%}.sticker-sparkles span:nth-child(3){color:#efb35d;animation-delay:.39s;bottom:16%;right:9%}.sticker-sparkles span:nth-child(4){color:#62c9c7;animation-delay:.48s;bottom:20%;left:7%}@keyframes sticker-pop{0%{opacity:0;transform:translateY(30px)scale(.28)rotate(-7deg)}16%{opacity:1;transform:translateY(-8px)scale(1.08)rotate(2deg)}25%{transform:translateY(0)scale(.97)rotate(-1deg)}36%,76%{opacity:1;transform:translateY(-4px)scale(1)rotate(0)}to{opacity:0;transform:translateY(-25px)scale(.92)}}@keyframes sticker-sparkle{0%{opacity:0;transform:translateY(18px)scale(.25)rotate(-20deg)}35%{opacity:1;transform:translateY(-8px)scale(1.18)rotate(8deg)}to{opacity:0;transform:translateY(-38px)scale(.72)rotate(22deg)}}@keyframes celebration-fade{0%,78%{opacity:1}to{opacity:0}}.toast{z-index:80;left:50%;bottom:max(26px, env(safe-area-inset-bottom));color:#fff;background:#3b2f30eb;border-radius:18px;width:max-content;max-width:calc(100vw - 36px);padding:11px 17px;font-size:12px;animation:.2s ease-out toast-in;position:fixed;transform:translate(-50%);box-shadow:0 12px 30px #281e1f33}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}@media (width<=380px){.editor-sheet{border-radius:26px 26px 0 0;padding-inline:14px}.editor-heading{gap:9px}.editor-heading h2{font-size:20px}.editor-icon{border-radius:14px;width:44px;height:44px;font-size:22px}.field-row{grid-template-columns:1fr}.photo-input.has-photo{min-height:190px}.ai-estimate-result{padding:13px}.ai-estimate-result-heading{flex-direction:column;align-items:flex-start;gap:7px}.ai-estimate-result-heading p{text-align:left;justify-items:start}.ai-food-list li{gap:8px}.ai-food-list li b{text-align:right}}@media (height<=560px) and (orientation:landscape){.editor-sheet{max-height:calc(100svh - 8px)}.photo-input.has-photo{height:min(31svh,190px);min-height:145px}}@media (width>=600px){.app-shell{padding-left:32px;padding-right:32px}.notification-grid .reminder-card{gap:9px;padding:12px 13px;display:flex}.notification-grid .reminder-bell{border-radius:13px;width:36px;height:36px;font-size:17px}.notification-grid .reminder-copy strong{font-size:12px}.notification-grid .reminder-copy p{margin-top:3px;font-size:10px;display:block;overflow:visible}.notification-grid .reminder-card button{width:auto;min-width:54px;min-height:34px;padding:0 12px;font-size:11px}.meal-grid{grid-template-columns:repeat(4,1fr)}.meal-card{min-height:210px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}.editor-sheet,.ai-estimate-result{animation:none!important}.ai-estimate-spinner,.photo-preparing i{border-color:#c76562 #c7656242 #c7656242;animation:none!important}.ai-estimate-button:active:not(:disabled),.ai-apply-button:active:not(:disabled),.remove-photo:active:not(:disabled){transform:none}}

.stamp-card{isolation:isolate;min-width:292px;min-height:66px;background:#fffdf7dc;border:1px solid #d98a8061;border-radius:22px;grid-template-columns:98px 1fr;align-items:center;gap:10px;padding:8px 11px;display:grid;position:relative;overflow:hidden;box-shadow:0 9px 26px #794a4519;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.stamp-card:before{content:"";z-index:-1;opacity:.055;background:url(/stamps/bear-strip.png) center/contain no-repeat;position:absolute;inset:4px 7px}
.stamp-card:after{content:"";z-index:-1;opacity:.16;background:url(/stamps/bear-heart.png) center/contain no-repeat;width:38px;height:38px;position:absolute;right:-8px;bottom:-10px;transform:rotate(10deg)}
.stamp-card-meta{min-width:0;line-height:1.05;display:grid;gap:3px;position:relative}
.stamp-card-meta:after{content:"";opacity:.12;background:url(/stamps/bear-pair.png) center/contain no-repeat;width:46px;height:20px;position:absolute;right:-3px;bottom:-3px}
.stamp-card-meta span{color:#b16b67;letter-spacing:.13em;white-space:nowrap;font-size:7px;font-weight:850}
.stamp-card-meta strong{font-family:var(--font-serif),serif;letter-spacing:.04em;white-space:nowrap;font-size:15px}
.stamp-card-meta small{color:#9d8581;white-space:nowrap;font-size:8px;font-weight:700}
.stamp-slots{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}
.stamp-slot{aspect-ratio:1;background:#fffaf6b8;border:1px dashed #c98d8666;border-radius:12px;place-items:center;min-width:0;display:grid;position:relative;overflow:hidden}
.stamp-slot i{color:#d8b7b1;font-style:normal;font-size:12px}
.stamp-slot.is-filled{background:#fff;border-style:solid;border-color:#dc9e957d;box-shadow:inset 0 0 0 2px #fff,0 3px 8px #8c59521a}
.stamp-slot img{object-fit:contain;width:96%;height:96%;transform:rotate(-3deg) scale(.96)}
.stamp-slot:nth-child(2n).is-filled img{transform:rotate(3deg) scale(.94)}
.stamp-card.is-stamped{border-color:#d7776e8f;background:linear-gradient(145deg,#fffdf8ec,#fff1ecdf)}
.stamp-card.is-stamped .stamp-slot.is-filled:last-of-type img{animation:stamp-pop .42s cubic-bezier(.2,.9,.3,1.25) both}
@keyframes stamp-pop{0%{opacity:0;transform:scale(.35) rotate(-13deg)}70%{transform:scale(1.08) rotate(5deg)}to{opacity:1}}
@media (width<=650px){.topbar{flex-wrap:wrap}.stamp-card{order:4;width:100%;min-width:0;grid-template-columns:105px 1fr;margin-top:3px}.brand-copy{min-width:0}.brand-copy h1{font-size:19px}}
@media (width<=360px){.stamp-card{grid-template-columns:94px 1fr;padding-inline:9px}.stamp-slots{gap:3px}.stamp-card-meta strong{font-size:14px}}
@media (prefers-reduced-motion:reduce){.stamp-card.is-stamped .stamp-slot.is-filled:last-of-type img{animation:none}}

.stamp-card{min-width:338px;min-height:76px;grid-template-columns:80px 46px 1fr;gap:6px;padding:7px 9px}
.stamp-card-meta:after{display:none}
.big-stamp{opacity:.22;border:1px dashed #c98d8666;border-radius:13px;place-items:center;width:44px;height:58px;display:grid;position:relative}
.big-stamp img{object-fit:contain;width:39px;height:39px;filter:grayscale(1)}
.big-stamp b{color:#9e7772;background:#fff8f4e8;border-radius:9px;padding:1px 5px;font-size:9px;line-height:1.3;position:absolute;right:-3px;bottom:-2px}
.big-stamp.is-earned{opacity:1;border-style:solid;border-color:#d98a807d;background:#fff;box-shadow:0 3px 9px #8c59521f}
.big-stamp.is-earned img{filter:none}
.stamp-slots{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,1fr);gap:3px}
.stamp-slot{border-radius:8px;min-height:26px}
.stamp-slot i{font-size:9px}
.stamp-slot.is-latest img{animation:stamp-pop .42s cubic-bezier(.2,.9,.3,1.25) both}
.big-stamp.is-new{animation:big-stamp-pop .55s cubic-bezier(.2,.9,.3,1.2) both}
@keyframes big-stamp-pop{0%{opacity:0;transform:scale(.35) rotate(-10deg)}70%{transform:scale(1.1) rotate(4deg)}to{opacity:1;transform:none}}
@media (width<=650px){.stamp-card{grid-template-columns:82px 46px 1fr}}
@media (width<=360px){.stamp-card{grid-template-columns:76px 42px 1fr;padding-inline:7px}.big-stamp{width:40px}.stamp-slots{gap:2px}}
@media (prefers-reduced-motion:reduce){.stamp-slot.is-latest img,.big-stamp.is-new{animation:none}}

.stamp-card-trigger{touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#fffdf9e8;border:1px solid #d98a8066;border-radius:16px;place-items:center;width:48px;height:48px;padding:3px;display:grid;position:relative;box-shadow:0 7px 19px #794a451c;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.stamp-card-trigger img{object-fit:contain;width:28px;height:28px}
.stamp-card-trigger span{color:#a26661;letter-spacing:.08em;font-size:8px;font-weight:850;line-height:1}
.stamp-card-trigger b{color:#fff;background:#d5756e;border:2px solid #fffdf9;border-radius:12px;place-items:center;min-width:19px;height:19px;padding:0 4px;font-size:8px;line-height:1;display:grid;position:absolute;top:-5px;right:-6px;box-shadow:0 3px 8px #8249452d}
.stamp-card-trigger:active{transform:scale(.96)}
.stamp-card-trigger:focus-visible,.stamp-card-close:focus-visible{outline:3px solid #d3706a4d;outline-offset:3px}
.stamp-card-backdrop{z-index:48;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#3f35366b;place-items:center;padding:14px;display:grid;position:fixed;inset:0}
.stamp-card-popover{background:#fffaf6;border:1px solid #684d4930;border-radius:30px;width:min(100%,540px);padding:38px 22px 22px;animation:.22s cubic-bezier(.22,.9,.3,1) stamp-dialog-in;position:relative;box-shadow:0 28px 85px #30212359}
.stamp-card-popover .stamp-card{order:initial;width:100%;min-width:0;min-height:118px;margin:0;padding:14px;background:#fffefa;border-color:#d98a8073;box-shadow:0 10px 30px #794a451c}
.stamp-card-popover .stamp-card-meta span{font-size:8px}
.stamp-card-popover .stamp-card-meta strong{font-size:18px}
.stamp-card-popover .stamp-card-meta small{font-size:10px}
.stamp-card-popover .stamp-slots{gap:6px}
.stamp-card-popover .stamp-slot{min-height:39px;background:#fffdfb;border-color:#c98d8673}
.stamp-card-popover .stamp-slot i{font-size:12px}
.stamp-card-popover .big-stamp{border-radius:16px;width:58px;height:86px}
.stamp-card-popover .big-stamp img{width:50px;height:50px}
.stamp-card-close{color:#806f6c;background:#f1e7e2;border:0;border-radius:50%;place-items:center;width:38px;height:38px;font-size:24px;line-height:1;display:grid;position:absolute;top:10px;right:10px}
.stamp-card-note{color:#806d6a;text-align:center;margin:16px 8px 0;font-size:11px;line-height:1.65}
@keyframes stamp-dialog-in{0%{opacity:0;transform:translateY(10px) scale(.96)}}
@media (width<=650px){.topbar{flex-wrap:nowrap}.stamp-card-popover .stamp-card{grid-template-columns:104px 60px 1fr}}
@media (width<=360px){.stamp-card-trigger{width:44px;height:44px}.stamp-card-trigger img{width:25px;height:25px}.stamp-card-popover{padding-inline:12px}.stamp-card-popover .stamp-card{grid-template-columns:86px 52px 1fr;padding-inline:10px}.stamp-card-popover .stamp-slots{gap:4px}.stamp-card-popover .stamp-slot{min-height:34px}}
@media (prefers-reduced-motion:reduce){.stamp-card-popover{animation:none}.stamp-card-trigger:active{transform:none}}
.stamp-card-popover .stamp-card:not(.has-big-stamp){grid-template-columns:110px 1fr;gap:12px}

@media (width<=420px){
.app-shell{padding-left:14px;padding-right:14px}
.topbar{grid-template-columns:42px minmax(0,1fr) 46px 52px;gap:8px;display:grid}
.brand-copy{min-width:0}
.brand-copy p{white-space:nowrap;font-size:8px}
.brand-copy h1{white-space:nowrap;font-size:17px;overflow:hidden;text-overflow:ellipsis}
.stamp-card-trigger{flex:none;width:46px;height:46px}
.topbar-actions{min-width:52px}
.stamp-card-backdrop{padding:10px}
.stamp-card-popover{width:100%;max-height:calc(100svh - 20px);padding:38px 12px 18px;overflow-y:auto}
.stamp-card-popover .stamp-card,.stamp-card-popover .stamp-card.has-big-stamp{grid-template-areas:"meta big" "slots slots";grid-template-columns:minmax(0,1fr) 58px;gap:10px;min-height:0;padding:14px}
.stamp-card-popover .stamp-card:not(.has-big-stamp){grid-template-areas:"meta" "slots";grid-template-columns:minmax(0,1fr);gap:12px}
.stamp-card-popover .stamp-card-meta{grid-area:meta;align-self:center}
.stamp-card-popover .big-stamp{grid-area:big;width:58px;height:64px}
.stamp-card-popover .stamp-slots{grid-area:slots;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:6px}
.stamp-card-popover .stamp-slot{aspect-ratio:1;min-height:0}
.stamp-card-note{margin-top:12px;font-size:10px}
}
