@import "https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;600&family=Google+Sans+Text:wght@400;500&display=swap";:root{color:#202124;font-synthesis:none;--blue:#1a73e8;--blue-soft:#e8f0fe;--red:#ea4335;--yellow:#fbbc04;--green:#34a853;--ink:#202124;--muted:#5f6368;--line:#dadce0;--soft:#f8fafd;--shadow:0 1px 2px #3c40431f,0 4px 12px #3c404314;background:#fff;font-family:Google Sans Text,Google Sans,Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;overflow-x:hidden}body{background:#fff;min-width:320px;margin:0;overflow-x:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}.app{min-height:100vh}.topbar{z-index:20;background:#fff;border-bottom:1px solid #f1f3f4;align-items:center;gap:40px;height:72px;padding:0 max(24px,50vw - 640px);display:flex;position:sticky;top:0}.brand{color:var(--ink);letter-spacing:-.03em;align-items:center;gap:11px;font-family:Google Sans,Arial,sans-serif;font-size:21px;text-decoration:none;display:flex}.brand-mark{grid-template-columns:repeat(2,8px);gap:3px;width:19px;height:19px;display:grid;transform:rotate(-8deg)}.brand-mark i{border-radius:3px;width:8px;height:8px}.brand-mark i:first-child{background:var(--blue)}.brand-mark i:nth-child(2){background:var(--red)}.brand-mark i:nth-child(3){background:var(--yellow)}.brand-mark i:nth-child(4){background:var(--green)}nav[aria-label=主导航]{gap:5px;height:100%;display:flex}nav[aria-label=主导航] button{height:40px;color:var(--muted);background:0 0;border:0;border-radius:22px;align-self:center;padding:0 16px;font-size:14px}nav[aria-label=主导航] button.active,nav[aria-label=主导航] button:hover{color:var(--blue);background:var(--blue-soft)}.refresh-button{width:40px;height:40px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;margin-left:auto;font-size:21px;display:grid}.refresh-button:hover{color:var(--blue);background:var(--blue-soft)}.app-shell{max-width:1280px;margin:0 auto;padding:54px 40px 90px}.intro,.history-title{justify-content:space-between;align-items:flex-end;margin-bottom:42px;display:flex}.eyebrow{color:var(--blue);letter-spacing:.13em;margin-bottom:12px;font-size:11px;font-weight:600;display:block}.intro h1,.history-title h1{letter-spacing:-.065em;margin:0 0 10px;font-family:Google Sans,Arial,sans-serif;font-size:clamp(36px,5vw,58px);font-weight:500;line-height:1.05}.intro p,.history-title p{color:var(--muted);margin:0;font-size:16px}.color-dots{gap:9px;padding-bottom:12px;display:flex}.color-dots i{border-radius:50%;width:12px;height:12px}.color-dots i:first-child{background:var(--blue)}.color-dots i:nth-child(2){background:var(--red)}.color-dots i:nth-child(3){background:var(--yellow)}.color-dots i:nth-child(4){background:var(--green)}.content-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:72px;display:grid}.flow{min-width:0}.flow-step{grid-template-columns:36px minmax(0,1fr);gap:18px;padding-bottom:38px;display:grid;position:relative}.flow-step:not(:last-child):after{content:"";background:#e8eaed;width:1px;position:absolute;top:35px;bottom:0;left:17px}.step-number{z-index:1;background:#fff;border:1px solid;border-radius:50%;place-items:center;width:34px;height:34px;font-family:Google Sans;font-size:14px;font-weight:600;display:grid;position:relative}.step-number.blue{color:var(--blue)}.step-number.red{color:var(--red)}.step-number.yellow{color:#d89400}.step-content{min-width:0}.step-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.step-heading h2{letter-spacing:-.025em;margin:0 0 5px;font-family:Google Sans;font-size:21px;font-weight:500}.step-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.optional,.counter{color:#80868b;flex:none;font-size:12px}.time-area{max-width:720px}.time-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.date-field{min-width:0;color:var(--blue);background:#f8faff;border:1px solid #c7d7f5;border-radius:12px;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px;padding:9px 12px;font-size:12px;font-weight:500;display:grid}.date-field input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:15px}.date-field input:focus{box-shadow:none}.time-foot{color:#80868b;justify-content:space-between;align-items:center;margin:8px 2px 0;font-size:12px;display:flex}.now-button,.text-button{color:var(--blue);background:0 0;border:0;font-size:13px}.now-button{border-radius:12px;padding:4px 8px}.now-button:hover,.text-button:hover{background:var(--blue-soft)}.meal-picker{flex-wrap:wrap;gap:8px;margin-top:15px;display:flex}.meal-picker button{border:1px solid var(--line);min-height:38px;color:var(--muted);background:#fff;border-radius:20px;padding:0 15px;font-size:13px;transition:all .18s}.meal-picker button span{margin-right:7px}.meal-picker button:hover,.meal-picker button.selected{border-color:var(--blue);color:#174ea6;background:var(--blue-soft)}.meal-picker.compact{margin-top:8px}.meal-picker.compact button{min-height:34px;padding:0 13px;font-size:12px}.photo-block{max-width:720px}.photo-drop{min-height:250px;color:var(--muted);text-align:center;background:#fbfcff;border:1px dashed #bdc1c6;border-radius:14px;place-items:center;gap:7px;transition:all .18s;display:grid}.photo-drop:hover{border-color:var(--blue);background:#f8faff}.photo-drop strong{color:var(--ink);font-size:14px;font-weight:500}.photo-drop span:last-child{font-size:12px}.camera-icon{width:50px;height:50px;color:var(--blue);background:var(--blue-soft);border-radius:50%;place-items:center;margin-bottom:5px;font-size:28px;display:grid}.photo-drop.has-photo{background:#f1f3f4;border-style:solid;min-height:0;display:block;overflow:hidden}.photo-drop img{object-fit:contain;width:100%;height:300px;display:block}.photo-details{background:var(--soft);border-radius:12px;margin-top:14px;padding:16px}.photo-detail-head{justify-content:space-between;font-size:13px;display:flex}.photo-detail-head strong{font-weight:500}.photo-details input[type=range]{width:100%;accent-color:var(--blue);margin:14px 0 5px}.range-copy{color:#80868b;justify-content:space-between;gap:8px;font-size:11px;display:flex}.range-copy span:nth-child(2){color:var(--muted)}.photo-details .text-button{margin-top:11px;padding:5px 0}.photo-busy{color:var(--blue);margin-top:8px;font-size:12px;display:block}textarea{border:1px solid var(--line);resize:vertical;width:100%;max-width:720px;min-height:142px;color:var(--ink);border-radius:12px;outline:0;padding:15px;line-height:1.65;display:block}textarea:focus,.search-box:focus-within,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1a73e824}textarea::placeholder{color:#9aa0a6}.action-row{grid-template-columns:1fr 1.2fr;gap:10px;max-width:720px;margin-top:17px;display:grid}.primary-button,.secondary-button{border-radius:24px;min-height:48px;font-size:14px;font-weight:500}.primary-button{border:1px solid var(--blue);color:#fff;background:var(--blue)}.primary-button:hover{box-shadow:var(--shadow);background:#185abc}.primary-button span{margin-left:10px;font-size:17px}.secondary-button{color:var(--blue);background:#fff;border:1px solid #aeb4bb}.secondary-button:hover{border-color:var(--blue);background:var(--blue-soft)}.status{border-radius:9px;max-width:720px;margin:13px 0 0;padding:11px 13px;font-size:13px}.status.info{color:#174ea6;background:var(--blue-soft)}.status.success{color:#137333;background:#e6f4ea}.status.error{color:#c5221f;background:#fce8e6}.history-rail{box-shadow:var(--shadow);background:#fff;border:1px solid #e1e4e8;border-radius:16px;padding:21px 20px 19px;position:sticky;top:105px}.rail-head{justify-content:space-between;align-items:flex-start;margin-bottom:14px;display:flex}.rail-head span{color:var(--muted);letter-spacing:.13em;margin-bottom:5px;font-size:10px;display:block}.rail-head h2{margin:0;font-family:Google Sans;font-size:21px;font-weight:500}.rail-head button{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:50%;font-size:19px}.rail-head button:hover{color:var(--blue);background:var(--blue-soft)}.history-list{border-top:1px solid #f1f3f4;max-width:800px}.compact-list{margin-top:10px}.record-row{border-bottom:1px solid #e8eaed;grid-template-columns:92px minmax(0,1fr) 18px;align-items:start;gap:16px;padding:20px 0;display:grid}.record-row.compact{grid-template-columns:44px minmax(0,1fr) 12px;gap:10px;padding:14px 0}.record-row>img,.record-avatar{object-fit:cover;border-radius:12px;width:92px;height:92px}.record-row.compact>img,.record-row.compact .record-avatar{border-radius:10px;width:44px;height:44px}.record-avatar{color:var(--blue);background:var(--blue-soft);place-items:center;font-size:26px;display:grid}.record-row.compact .record-avatar{font-size:18px}.record-main{min-width:0}.record-meta{color:#80868b;justify-content:space-between;gap:8px;font-size:11px;display:flex}.meal-label{color:var(--blue);font-weight:500}.record-main h3{text-overflow:ellipsis;white-space:nowrap;margin:7px 0 0;font-size:14px;font-weight:500;line-height:1.45;overflow:hidden}.record-row:not(.compact) .record-main h3{white-space:normal;font-size:16px}.record-main p{color:var(--muted);margin:7px 0 0;font-size:13px;line-height:1.5}.food-tags{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.food-tags span{color:#5f6368;background:#f1f3f4;border-radius:10px;padding:3px 7px;font-size:10px}.record-arrow{color:#80868b;align-self:center;font-size:24px}.history-link{width:100%;color:var(--blue);text-align:left;background:0 0;border:0;margin-top:15px;padding:8px;font-size:13px}.history-link span{float:right;font-size:17px}.empty-state{color:var(--muted);text-align:center;padding:48px 20px;line-height:1.7}.empty-state span{color:#80868b;font-size:12px}.history-view{max-width:900px}.history-title{margin-bottom:34px}.history-toolbar{grid-template-columns:minmax(0,1fr) 160px;gap:10px;max-width:720px;margin-bottom:22px;display:grid}.search-box{border:1px solid var(--line);min-height:48px;color:var(--muted);border-radius:24px;align-items:center;gap:8px;padding:0 14px;display:flex}.search-box span{font-size:21px}.search-box input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0}.history-toolbar select{border:1px solid var(--line);min-width:0;color:var(--ink);background:#fff;border-radius:10px;outline:0;padding:0 13px}.bottom-nav{display:none}.review-dialog{background:#fff;border:1px solid #dfe3e8;border-radius:20px;width:min(92vw,560px);padding:26px;box-shadow:0 18px 60px #3c404340}.review-dialog::backdrop{background:#20212461}.dialog-head{justify-content:space-between;align-items:flex-start;display:flex}.dialog-head h2{letter-spacing:-.03em;margin:0;font-family:Google Sans;font-size:24px;font-weight:500}.close-button{width:34px;height:34px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;font-size:24px;display:grid}.close-button:hover{color:var(--blue);background:var(--blue-soft)}.review-time{color:var(--blue);margin:15px 0 12px;font-size:13px}.review-surface{background:var(--soft);border-radius:13px;padding:17px}.review-summary{color:var(--ink);font-size:14px;line-height:1.65}.review-label{color:var(--muted);margin-top:16px;font-size:12px}.food-list{margin-top:14px}.food-row{border-bottom:1px solid #e8eaed;justify-content:space-between;gap:12px;padding:11px 0;font-size:13px;display:flex}.food-row span{color:var(--muted)}.uncertain{color:#b06000;margin:13px 0 0;font-size:12px;line-height:1.5}.dialog-actions{justify-content:flex-end;align-items:center;gap:16px;margin-top:18px;display:flex}.dialog-actions .primary-button{padding:0 18px}.review-meal-label{display:none}@media (width<=900px){.topbar{padding:0 22px}.app-shell{padding:44px 24px 78px}.content-grid{grid-template-columns:1fr;gap:24px}.history-rail{position:static}.intro{margin-bottom:34px}.time-area,.photo-block,textarea,.action-row,.status{max-width:none}}@media (width<=600px){body{padding-bottom:70px}.topbar{gap:16px;height:62px;padding:0 16px}.brand{min-width:0;font-size:18px}.brand>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar nav{display:none}.app-shell{width:100%;padding:32px 16px 28px}.intro,.history-title{align-items:flex-start;margin-bottom:29px}.intro h1,.history-title h1{overflow-wrap:anywhere;max-width:calc(100vw - 75px);font-size:36px;line-height:1.08}.intro p,.history-title p{font-size:14px;line-height:1.5}.color-dots{gap:7px;padding-top:7px}.color-dots i{width:11px;height:11px}.flow-step{grid-template-columns:30px minmax(0,1fr);gap:12px;padding-bottom:31px}.flow-step:not(:last-child):after{top:31px;left:14px}.step-number{width:29px;height:29px;font-size:12px}.step-heading{gap:8px;margin-bottom:15px}.step-heading h2{font-size:19px}.step-heading p{font-size:12px}.optional,.counter{font-size:11px}.time-grid{grid-template-columns:1fr;gap:9px}.date-field{grid-template-columns:38px minmax(0,1fr);padding:8px 10px}.date-field input{font-size:14px}.time-foot{font-size:11px}.meal-picker{gap:6px;margin-top:12px}.meal-picker button{min-height:36px;padding:0 12px;font-size:12px}.photo-drop{min-height:215px}.photo-drop img{height:245px}.photo-details{padding:13px}.range-copy{font-size:10px}.range-copy span:nth-child(2){text-align:center;max-width:150px}.action-row{grid-template-columns:1fr;gap:9px;margin-top:14px}.primary-button,.secondary-button{min-height:47px}.history-rail{padding:18px 15px}.record-row{grid-template-columns:64px minmax(0,1fr) 12px;gap:12px;padding:16px 0}.record-row>img,.record-row .record-avatar{width:64px;height:64px}.record-main h3,.record-row:not(.compact) .record-main h3{font-size:14px}.record-main p{font-size:12px}.history-toolbar{grid-template-columns:1fr;gap:9px}.history-toolbar select{min-height:46px}.bottom-nav{z-index:30;height:70px;padding-bottom:env(safe-area-inset-bottom);background:#fffffff7;border-top:1px solid #e8eaed;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -3px 14px #3c404317}.bottom-nav button{min-width:100px;color:var(--muted);background:0 0;border:0;place-items:center;padding:6px 18px;display:grid}.bottom-nav button span{font-size:21px;line-height:20px}.bottom-nav button small{font-size:11px}.bottom-nav button.active{color:var(--blue)}.review-dialog{border-radius:18px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:21px 17px}.review-dialog .dialog-head h2{font-size:21px}.review-surface{padding:14px}.dialog-actions{gap:10px}.dialog-actions .primary-button{padding:0 13px}.meal-picker.compact{gap:6px}.meal-picker.compact button{padding:0 10px}}@media (prefers-reduced-motion:no-preference){.flow-step,.history-rail,.intro{animation:.35s ease-out both rise}.flow-step:nth-child(2){animation-delay:50ms}.flow-step:nth-child(3){animation-delay:.1s}.photo-drop,.primary-button,.secondary-button,.meal-picker button{transition:transform .18s,box-shadow .18s,background .18s,border-color .18s}.photo-drop:active,.primary-button:active,.secondary-button:active,.meal-picker button:active{transform:scale(.985)}}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
