:root{--bg:#f3f1eb;--surface:#e7e3db;--card:#fbfaf7;--line:#ddd8ce;--ink:#141414;--muted:#5f5a55;--blue:#2e6bf0;--c-grains:#ffd447;--c-vegetables:#7fd3a4;--c-fruits:#ff6a3d;--c-protein:#b7a4f4;--c-mushrooms:#f59ac3;--c-nuts:#9cc3ff;--pass-bg:#cfefd9;--pass-fg:#14532d;--watch-bg:#ffe68a;--watch-fg:#5b4300;--stop-bg:#ffd1c2;--stop-fg:#8a2a0f;--stop:#c7391b;--todo-bg:#e7e3db;--todo-fg:#4f4a45;--radius:22px;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;font-family:Manrope,Noto Sans TC,system-ui,sans-serif}*{box-sizing:border-box}body{background:var(--bg);margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}h1,h2,p{margin:0}.app{background:var(--bg);max-width:480px;min-height:100dvh;margin:0 auto}.page{padding:calc(env(safe-area-inset-top) + 12px) 16px 112px;flex-direction:column;gap:18px;display:flex}.topbar{justify-content:space-between;align-items:center;gap:12px;min-height:48px;display:flex}.pill-btn{background:var(--surface);letter-spacing:.06em;border:0;border-radius:14px;align-items:center;gap:8px;height:44px;padding:0 18px;font-size:15px;font-weight:500;display:inline-flex}.round-btn{background:var(--surface);border:0;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;display:inline-flex}.title-block{flex-direction:column;gap:6px;padding:4px 2px 2px;display:flex}.display{text-transform:uppercase;letter-spacing:-.5px;overflow-wrap:anywhere;font-family:Anton,Noto Sans TC,sans-serif;font-size:clamp(64px,24vw,108px);font-weight:400;line-height:.88}.display--m{font-size:clamp(52px,17vw,80px)}.display--s{font-size:clamp(40px,12vw,60px)}.subtitle{color:var(--muted);font-size:19px;line-height:26px}.anton{font-family:Anton,sans-serif;font-weight:400;line-height:.9}.bento{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.tile{border-radius:var(--radius);background:var(--surface);flex-direction:column;justify-content:space-between;gap:8px;min-height:148px;padding:14px;display:flex;position:relative;overflow:hidden}.tile--cat{background:var(--cat)}.tile__name{font-size:16px;font-weight:700;line-height:1.2}.tile__meta{opacity:.85;font-size:13px;font-weight:500}.span-2{grid-column:span 2}.span-4{grid-column:span 4}.tile--photo{color:#fff;background:var(--surface) center / cover no-repeat;grid-area:span 2/span 2;justify-content:flex-end}.tile--photo:before{content:"";background:linear-gradient(#0000 45%,#0000009e 100%);position:absolute;inset:0}.tile--photo>*{position:relative}.tile--photo-empty{color:var(--muted);text-align:center;background:0 0;border:1.5px dashed #b9b2a6;justify-content:center;align-items:center}.banner{background:var(--blue);color:#fff;border-radius:var(--radius);flex-direction:column;grid-column:span 4;justify-content:space-between;gap:10px;min-height:168px;padding:20px;display:flex;position:relative;overflow:hidden}.banner__label{font-size:14px;font-weight:500}.banner__big{font-size:64px}.banner__sub{max-width:62%;font-size:16px;line-height:22px}.banner__dots{gap:6px;display:flex}.banner__dots span{background:#ffffff59;border-radius:3px;width:26px;height:6px}.banner__dots span.on{background:#fff}.shape-half{background:var(--bg);border-radius:64px 0 0 64px;width:64px;height:128px;position:absolute;top:20px;right:64px}.shape-dot{background:var(--c-fruits);border-radius:50%;width:72px;height:72px;position:absolute;top:28px;right:16px}.stat{justify-content:space-between}.stat__num{font-size:64px}.stat__row{justify-content:space-between;align-items:flex-end;gap:8px;display:flex}.bars{align-items:flex-end;gap:4px;height:52px;display:flex}.bars span{background:var(--ink);border-radius:5px;width:9px;min-height:9px}.section{flex-direction:column;gap:6px;padding-top:10px;display:flex}.section__head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.h2{font-size:20px;font-weight:700}.meta{color:var(--muted);font-size:15px}.list{flex-direction:column;display:flex}.item{border-bottom:1px solid var(--line);align-items:center;gap:14px;min-height:64px;padding:12px 0;display:flex}.item:last-child{border-bottom:0}.item__main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.item__title{font-size:17px;font-weight:700}.item__sub{color:var(--muted);font-size:14px}.item__sub--issue{color:var(--stop);font-weight:500}.avatar{background:var(--cat,var(--surface));width:48px;height:48px;color:var(--ink);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.pill{border-radius:999px;flex:none;padding:6px 11px;font-size:13px;font-weight:600}.pill--pass{background:var(--pass-bg);color:var(--pass-fg)}.pill--watch{background:var(--watch-bg);color:var(--watch-fg)}.pill--stop{background:var(--stop-bg);color:var(--stop-fg)}.pill--todo{background:var(--todo-bg);color:var(--todo-fg)}.tags{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chips{flex-wrap:wrap;gap:8px;display:flex}.chips--scroll{scrollbar-width:none;flex-wrap:nowrap;margin:0 -16px;padding:0 16px;overflow-x:auto}.chip{background:var(--surface);border:0;border-radius:12px;flex:none;align-items:center;gap:6px;height:40px;padding:0 14px;font-size:14px;font-weight:500;display:inline-flex}.chip[aria-pressed=true]{background:var(--ink);color:#fff}.chip--cat[aria-current=page]{background:var(--cat)}.chip--alert[aria-pressed=true]{background:var(--stop);color:#fff}.actions{gap:10px;display:flex}.btn{border:0;border-radius:16px;justify-content:center;align-items:center;gap:10px;width:100%;height:56px;padding:0 20px;font-size:17px;font-weight:600;display:flex}.btn--ink{background:var(--ink);color:#fff}.btn--ghost{background:var(--surface);color:var(--ink)}.btn--alert{background:var(--stop);color:#fff}.btn:disabled{opacity:.45;cursor:not-allowed}.food-hero{grid-template-columns:1.35fr 1fr;gap:10px;display:grid}.food-hero__icon{background:var(--cat);border-radius:var(--radius);justify-content:center;align-items:center;min-height:236px;display:flex;position:relative;overflow:hidden}.food-hero__stamp{background:var(--ink);color:#fff;text-align:center;letter-spacing:.08em;border-radius:50%;justify-content:center;align-items:center;width:92px;height:92px;padding:0 14px 10px 0;font-size:12px;font-weight:700;line-height:1.3;display:flex;position:absolute;bottom:-14px;right:-14px}.day-stack{grid-template-rows:repeat(3,minmax(0,1fr));gap:10px;display:grid}.day{background:var(--surface);color:var(--muted);border-radius:18px;flex-direction:column;justify-content:center;padding:10px 14px;display:flex}.day b{font-family:Anton,sans-serif;font-size:26px;font-weight:400;line-height:1}.day span{font-size:13px;font-weight:500}.day--done{background:var(--ink);color:#fff}.day--issue{background:var(--stop);color:#fff}.callout{border-radius:18px;align-items:flex-start;gap:12px;padding:16px;display:flex}.callout b{margin-bottom:4px;font-size:16px;display:block}.callout p{font-size:15px;line-height:22px}.callout--stop{background:var(--stop-bg);color:var(--stop-fg)}.callout--info{background:var(--surface)}.trial{border-bottom:1px solid var(--line);flex-direction:column;gap:8px;padding:14px 0;display:flex}.trial:last-child{border-bottom:0}.trial p{font-size:15px;line-height:22px}.photo{object-fit:cover;border-radius:16px;width:100%;max-height:280px;display:block}.page-photo{border-radius:var(--radius);background:var(--surface) center 30% / cover no-repeat;height:180px}.prep{margin:0}.prep div{border-bottom:1px solid var(--line);padding:12px 0}.prep div:last-child{border-bottom:0}.prep dt{font-size:15px;font-weight:700}.prep dd{color:var(--muted);margin:4px 0 0;font-size:15px;line-height:22px}.form{flex-direction:column;gap:20px;display:flex}.field{border:0;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;font-size:14px;font-weight:600;display:flex}.field legend{margin-bottom:8px;padding:0}.input{border:1px solid var(--line);background:var(--card);height:52px;color:var(--ink);border-radius:14px;width:100%;padding:0 14px;font-size:16px;font-weight:400}textarea.input{resize:none;height:auto;padding:12px 14px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.segmented{background:var(--surface);border-radius:16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;display:grid}.segmented button{background:0 0;border:0;border-radius:12px;height:44px;font-size:15px;font-weight:500}.segmented button[aria-pressed=true]{background:var(--ink);color:#fff}.photo-pick{min-height:56px;color:var(--muted);border:1.5px dashed #b9b2a6;border-radius:16px;justify-content:center;align-items:center;gap:8px;font-size:15px;font-weight:500;display:flex;position:relative}.photo-pick input{opacity:0;cursor:pointer;position:absolute;inset:0}.notice{background:var(--stop-bg);color:var(--stop-fg);border-radius:14px;padding:12px 14px;font-size:15px;line-height:22px}.notice--ok{background:var(--surface);color:var(--ink)}.empty{color:var(--muted);padding:14px 0;font-size:15px}.bg-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.bg-slot{flex-direction:column;gap:6px;display:flex}.bg-slot__thumb{aspect-ratio:3/4;cursor:pointer;color:var(--muted);background:var(--card) center / cover no-repeat;border:1.5px dashed #b9b2a6;border-radius:14px;justify-content:center;align-items:center;font-size:13px;display:flex}.bg-slot__thumb[style]{border-style:solid;border-color:#0000}.bg-slot__meta{justify-content:space-between;align-items:center;min-height:32px;font-size:13px;font-weight:600;display:flex}.bg-slot__remove{color:var(--stop);background:0 0;border:0;min-height:32px;padding:6px 0;font-size:13px}.tabbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);width:100%;max-width:480px;padding:8px 12px calc(env(safe-area-inset-bottom) + 8px);z-index:10;background:#f3f1ebf0;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.tabbar a{min-height:48px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:12px;font-weight:500;display:flex}.tabbar a.active{color:var(--ink);font-weight:700}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}
