@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&display=swap";:root{--klein: #002fa7;--klein-600: #0646c8;--klein-soft: #edf4ff;--ink: #0a0e1a;--muted: #64748b;--line: #e5edf6;--page: #f5f7fa;--card: #ffffff;--sky: #38bdf8;--mint: #14b8a6;--sun: #f59e0b;--rose: #fb7185;--status-green: #16a34a;--status-yellow: #d97706;--status-red: #dc2626;--status-neutral: #64748b;--shadow: 0 24px 70px rgb(15 23 42 / 9%);--shadow-soft: 0 12px 34px rgb(15 23 42 / 7%);color:var(--ink);font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(circle at 18% 8%,rgb(255 255 255 / 42%),transparent 22rem),linear-gradient(135deg,#2f83dc,#7aaee4 42%,#d8dff2)}button{min-height:44px;border:0;font:inherit;cursor:pointer}button:focus-visible{outline:3px solid rgb(0 47 167 / 24%);outline-offset:3px}.app-shell{min-height:100dvh;display:grid;grid-template-columns:260px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100dvh;padding:28px 18px;background:#ffffffbd;border-right:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:12px;padding:4px 8px 28px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,var(--klein),var(--klein-600));color:#fff;font-weight:800;box-shadow:0 14px 28px #002fa73d}.brand strong,.brand span{display:block}.brand strong{font-size:18px}.brand span{margin-top:2px;color:var(--muted);font-size:12px}.side-nav{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;background:transparent;color:var(--muted);text-align:left;transition:background-color .16s ease-out,color .16s ease-out,transform .16s ease-out}.nav-item.active{background:var(--klein-soft);color:var(--ink);box-shadow:inset 4px 0 0 var(--klein)}.nav-item span{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:#fff;color:var(--klein);font-weight:800;box-shadow:inset 0 0 0 1px #002fa714}.dashboard{min-width:0;width:min(100%,1040px);margin:0 auto;padding:22px 32px 48px}.mobile-app-header{padding:6px 4px 0}.phone-status{display:flex;justify-content:space-between;color:var(--ink);font-size:12px;font-weight:800;line-height:1;opacity:.9}.app-titlebar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:14px;margin-top:22px;text-align:center}.avatar-button,.target-medal{display:grid;place-items:center;width:38px;height:38px;border-radius:999px;background:#ffffffb8;color:var(--klein);box-shadow:var(--shadow-soft)}.avatar-button{color:#4b5563}.target-medal{justify-self:end;color:#f6b21a;font-size:18px}.target-medal.green{background:#ecfdf3;color:var(--status-green)}.target-medal.yellow{background:#fff7ed;color:var(--status-yellow)}.target-medal.red{background:#fef2f2;color:var(--status-red)}.mobile-app-header h1{font-size:20px;letter-spacing:0}.selected-day{margin-top:14px;color:#0a0e1ab8;text-align:center;font-size:14px}.selected-day strong{color:var(--ink);font-variant-numeric:tabular-nums}.hero-card{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:164px;overflow:hidden;padding:28px;border:1px solid rgb(255 255 255 / 72%);border-radius:30px;background:radial-gradient(circle at 82% 18%,rgb(127 240 232 / 28%),transparent 14rem),linear-gradient(135deg,#fff,#f3f8ff 54%,#eaf2ff);box-shadow:var(--shadow)}.hero-card:after{position:absolute;right:-52px;bottom:-90px;width:230px;height:230px;border:34px solid rgb(0 47 167 / 8%);border-radius:50%;content:""}.hero-copy{position:relative;z-index:1}.hero-status{position:relative;z-index:1;display:grid;grid-template-columns:auto 1fr;min-width:168px;gap:5px;padding:16px 18px;border-radius:22px;background:#ffffffc7;box-shadow:var(--shadow-soft)}.hero-status i{color:var(--status-color, var(--status-green));font-style:normal;font-size:11px;line-height:1.3}.hero-status.green{--status-color: var(--status-green)}.hero-status.yellow{--status-color: var(--status-yellow)}.hero-status.red{--status-color: var(--status-red)}.hero-status span{color:var(--muted);font-size:12px;font-weight:800}.hero-status strong{grid-column:1 / -1;color:var(--status-color);font-size:22px;font-variant-numeric:tabular-nums}.eyebrow{margin:0 0 4px;color:var(--muted);font-size:12px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}h1,h2,h3,p{margin:0}h1{font-size:clamp(34px,5vw,58px);line-height:1.02;letter-spacing:-.05em}h2{font-size:22px}.date-line{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;margin-top:12px;color:var(--muted);font-size:15px}.date-line strong{color:var(--ink);font-size:19px;white-space:nowrap}.icon-button{width:48px;height:48px;border-radius:50%;background:var(--card);color:var(--klein);box-shadow:var(--shadow-soft)}.date-strip{min-width:0;max-width:100%;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:22px 0 18px}.date-pill{display:inline-grid;align-items:center;justify-content:center;gap:4px;padding:13px 8px;border:1px solid rgb(255 255 255 / 58%);border-radius:18px;background:#eef4ffb8;color:var(--muted);box-shadow:var(--shadow-soft);text-align:center;transition:background-color .16s ease-out,color .16s ease-out,transform .16s ease-out,box-shadow .16s ease-out}.date-pill:hover{transform:translateY(-1px)}.date-pill span{font-size:12px;font-weight:700;line-height:1}.date-pill strong{color:var(--ink);font-size:17px;font-variant-numeric:tabular-nums;line-height:1}.date-pill.active{border-color:#002fa700;background:var(--klein);color:#fff;box-shadow:0 16px 34px #2879dc47}.date-pill.active strong{color:#fff}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);grid-template-areas:"calories meals" "records meals";gap:18px}.dashboard-grid.page-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:none;gap:16px}.page-layout>*{grid-area:auto!important}.page-intro{display:grid;gap:4px;padding:6px 2px 2px}.page-intro h2{margin:0;font-size:clamp(22px,2vw,30px);letter-spacing:-.02em}.page-intro span{color:var(--muted);font-size:14px;line-height:1.6}.feature-grid,.feature-split,.record-page{display:grid;gap:16px}.record-switch{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:min(100%,320px);padding:6px;border-radius:999px;background:#ffffffb8;border:1px solid rgb(255 255 255 / 78%);box-shadow:var(--shadow-soft)}.record-switch-pill{border-radius:999px;background:transparent;color:var(--muted);font-weight:700;transition:background-color .16s ease-out,color .16s ease-out,box-shadow .16s ease-out}.record-switch-pill.active{background:var(--klein);color:#fff;box-shadow:0 12px 24px #2879dc38}.record-hero,.record-detail-grid,.record-actions{display:grid;gap:16px}.record-flow-shell{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:16px}.record-hero,.record-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.record-action-card{display:grid;gap:12px;padding:18px;border-radius:20px;border:1px solid rgb(255 255 255 / 76%);background:#ffffffe5;box-shadow:var(--shadow-soft)}.record-action-card h3{margin:0;font-size:16px;line-height:1.4}.record-action-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}.record-action-card button{justify-self:start;padding:0 14px;border-radius:999px;background:var(--klein-soft);color:var(--klein);font-weight:700}.flow-choice-list{display:grid;gap:10px}.flow-choice{display:grid;justify-items:start;gap:4px;padding:14px 16px;border-radius:16px;background:#f8fbff;border:1px solid #e7edf6;text-align:left;transition:border-color .16s ease-out,transform .16s ease-out,background-color .16s ease-out}.flow-choice.active{border-color:#2879dc47;background:#edf4ff;transform:translateY(-1px)}.flow-choice strong{font-size:14px;line-height:1.4}.flow-choice span{color:var(--muted);font-size:12px;line-height:1.5}.record-confirm-card{display:grid;gap:16px;padding:20px;border-radius:20px;border:1px solid rgb(255 255 255 / 78%);background:radial-gradient(circle at 12% 12%,rgb(0 102 204 / 9%),transparent 34%),#fffffff0;box-shadow:var(--shadow)}.record-confirm-card>p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}.confirm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.confirm-grid div,.confirm-grid label{display:grid;gap:4px;padding:12px 14px;border-radius:16px;background:#f8fbff;border:1px solid #e8edf6}.confirm-grid span{color:var(--muted);font-size:11px;line-height:1.4}.confirm-grid strong{font-size:14px;line-height:1.5}.form-grid input,.form-grid select,.macro-edit-row input{width:100%;min-height:42px;border:0;background:transparent;color:var(--ink);font:inherit;padding:0}.form-grid input:focus,.form-grid select:focus,.macro-edit-row input:focus{outline:none}.wide-field{grid-column:1 / -1}.input-suffix{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.input-suffix i{color:var(--muted);font-style:normal;font-size:12px;font-weight:700}.macro-edit-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.macro-edit-row label{display:grid;gap:4px;padding:12px 14px;border-radius:16px;background:#f8fbff;border:1px solid #e8edf6}.macro-edit-row span{color:var(--muted);font-size:11px;line-height:1.4}.confirm-actions{display:flex;gap:10px;flex-wrap:wrap}.primary-action,.secondary-action{padding:0 16px;border-radius:999px;font-weight:700}.primary-action{background:linear-gradient(180deg,#4ba1ff,#2879dc);color:#fff;box-shadow:0 12px 24px #2879dc3d}.secondary-action{background:#eef4fb;color:var(--ink)}.record-feed{display:grid;gap:10px}.record-feed-item{display:grid;gap:3px;padding:12px 14px;border-radius:16px;background:#f8fbff;border:1px solid #e7edf6}.record-feed-item strong{font-size:14px;line-height:1.4}.record-feed-item span,.record-feed-item em{color:var(--muted);font-size:12px;line-height:1.5;font-style:normal}.cooked-library{gap:16px}.meal-target-row{display:grid;gap:10px}.meal-target-row>span{color:var(--muted);font-size:13px}.meal-target-switch{display:flex;flex-wrap:wrap;gap:8px}.meal-target-pill{padding:0 14px;border-radius:999px;background:#eef4fb;color:var(--muted);font-weight:700}.meal-target-pill.active{background:var(--klein);color:#fff;box-shadow:0 10px 22px #2879dc38}.cooked-list{display:grid;gap:12px}.cooked-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 18px;border-radius:18px;border:1px solid #e7edf6;background:#fbfcff}.cooked-item.active{background:#edf4ff;box-shadow:0 12px 28px #2879dc1a}.cooked-item.tone-green{border-left:4px solid #43a047}.cooked-item.tone-yellow{border-left:4px solid #ffb300}.cooked-item.tone-red{border-left:4px solid #e53935}.cooked-item-main{display:grid;gap:6px}.cooked-item-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.cooked-item-head strong{font-size:16px;line-height:1.4}.cooked-item-head span{color:var(--muted);font-size:12px;font-weight:700}.cooked-item-main em,.cooked-item-main p{margin:0;color:var(--muted);font-size:12px;line-height:1.6;font-style:normal}.cooked-item-actions{display:grid;gap:10px;justify-items:stretch;min-width:190px}.serving-stepper{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:6px}.serving-stepper button,.serving-stepper strong{display:grid;place-items:center;min-height:40px;border-radius:12px;background:#eef4fb;color:var(--ink)}.serving-stepper strong{background:#fff;border:1px solid #e7edf6;font-size:14px}.record-rules{display:grid;gap:10px}.record-rules span{display:block;padding:12px 14px;border-radius:16px;background:#f5f8fd;color:var(--muted);font-size:13px;line-height:1.7}.feature-split{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-card{display:grid;gap:10px;padding:20px;border-radius:20px;border:1px solid rgb(255 255 255 / 76%);background:#ffffffe5;box-shadow:var(--shadow-soft)}.feature-card-primary{background:radial-gradient(circle at 18% 12%,rgb(0 47 167 / 10%),transparent 40%),#fffffff0}.feature-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.feature-card h3{margin:0;font-size:18px;line-height:1.35}.feature-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.7}.feature-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:var(--klein-soft);color:var(--klein);font-size:12px;font-weight:700}.feature-pill.muted{background:#0f172a0f;color:var(--muted)}.calorie-card,.meal-panel,.record-panel{border-radius:18px;border:1px solid rgb(255 255 255 / 74%);background:#ffffffeb;box-shadow:var(--shadow)}.calorie-card{grid-area:calories;position:relative;overflow:hidden;padding:20px;background:linear-gradient(180deg,#eaf0fff5,#f5f8fff5),#fff}.calorie-card:before{display:none}.meal-panel{grid-area:meals;padding:24px}.record-panel{grid-area:records;padding:24px}.card-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.card-heading button{border-radius:999px;padding:0 18px;background:var(--klein-soft);color:var(--klein);font-weight:700}.overview-layout{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(230px,1fr);align-items:center;gap:24px}.ring-wrap{position:relative;width:min(100%,320px);margin:8px auto 0}.ring-wrap svg{width:100%;height:auto}.ring-bg{stroke:#eaf0f8}.ring-fill{stroke:var(--status-color);transition:stroke-dasharray .18s ease-out}.ring-value{position:absolute;inset:60% 0 auto;translate:0 -50%;display:grid;place-items:center;gap:4px}.ring-value strong{font-size:clamp(44px,6vw,64px);line-height:1;font-variant-numeric:tabular-nums}.ring-value>span{color:#5f6778;font-size:16px}.ring-value em{color:var(--muted);font-size:12px;font-style:normal;font-weight:900;letter-spacing:.02em}.ring-value em{color:var(--ink)}.macro-meter-list{display:grid;gap:16px}.macro-meter{display:grid;gap:7px}.macro-meter>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.macro-meter span{color:var(--ink);font-size:12px;font-weight:900}.macro-meter strong{color:var(--muted);font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}.meter-track{height:5px;overflow:hidden;border-radius:999px;background:#d6deebd6}.macro-meter.carbs .meter-track span{background:#ef5c6c}.macro-meter.protein .meter-track span{background:#8a6ee8}.macro-meter.fat .meter-track span{background:#23b7b0}.status-note{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;margin-top:2px;padding:8px 11px;border-radius:999px;background:#ffffffad;color:var(--status-color);font-size:12px;font-weight:900}.status-note.green{--status-color: var(--status-green)}.status-note.yellow{--status-color: var(--status-yellow)}.status-note.red{--status-color: var(--status-red)}.meal-list{display:grid;gap:0;margin-top:18px}.meal-card{display:block;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.meal-card:last-child{border-bottom:0}.meal-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:16px 0}.meal-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;font-weight:900;font-size:20px}.meal-card.sky .meal-icon{background:#38bdf824;color:#0284c7}.meal-card.mint .meal-icon{background:#14b8a624;color:#0f766e}.meal-card.amber .meal-icon{background:#f59e0b29;color:#b45309}.meal-card.rose .meal-icon{background:#fb718529;color:#be123c}.meal-copy{min-width:0}.meal-card p{margin-top:4px;color:var(--muted);font-size:12px}.meal-card strong{color:var(--ink);font-size:16px;font-variant-numeric:tabular-nums}.meal-card span{color:var(--muted);font-size:12px}.meal-row>button{display:grid;place-items:center;width:34px;height:34px;min-height:34px;border:2px solid #3297ef;border-radius:50%;background:#fff;color:#1977d2;font-size:22px;line-height:1}.meal-detail{display:flex;justify-content:space-between;gap:14px;margin:-4px 0 14px 58px;padding:14px;border-radius:14px;background:#fafbffe0;box-shadow:inset 0 0 0 1px var(--line)}.meal-detail strong{font-size:13px}.meal-detail p{margin-top:4px;font-size:11px}.meal-detail button{min-height:32px;width:32px;border-radius:50%;background:transparent;color:#697386;font-size:26px;line-height:1}.record-list{display:grid;gap:10px;margin-top:24px}.record-list article{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.record-list span,.record-list em{color:var(--muted);font-size:12px;font-style:normal;font-weight:800}.record-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-list em{color:var(--klein);font-variant-numeric:tabular-nums}.record-list .soft strong{color:var(--muted)}.bottom-nav{display:none}@media(max-width:1023px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.dashboard{padding:28px 20px calc(88px + env(safe-area-inset-bottom))}.dashboard-grid{grid-template-columns:1fr;grid-template-areas:"calories" "meals" "records"}.bottom-nav{position:fixed;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:30;display:grid;grid-template-columns:repeat(4,1fr);height:64px;padding:6px;border:1px solid var(--line);border-radius:22px;background:#fffffff0;box-shadow:var(--shadow)}.bottom-nav-item{display:grid;place-items:center;gap:2px;border-radius:16px;background:transparent;color:var(--muted);font-size:11px;font-weight:700}.bottom-nav-item span{font-size:16px;line-height:1}.bottom-nav-item.active{background:var(--klein);color:#fff}}@media(max-width:767px){.dashboard{padding:26px 16px calc(90px + env(safe-area-inset-bottom))}.hero-card{min-height:208px;padding:22px;border-radius:26px}.hero-card:after{right:-60px;bottom:-72px;width:210px;height:210px;border-width:28px}.hero-status{min-width:164px;padding:14px 16px}.hero-status strong{font-size:21px}h1{font-size:32px;letter-spacing:-.04em}.date-line{display:grid;gap:7px;margin-top:14px}.date-line strong{font-size:24px}.date-strip{gap:6px;overflow:visible;padding:0;margin:24px 0 18px}.date-pill{min-width:0;min-height:58px;border-radius:14px;padding:10px 4px}.date-pill span{font-size:11px}.date-pill strong{font-size:13px}.overview-layout{grid-template-columns:minmax(0,.95fr) minmax(112px,.72fr);gap:12px}.ring-wrap{width:min(100%,216px)}.macro-meter-list{gap:12px}.macro-meter span{font-size:12px}.macro-meter strong{font-size:10px}.status-note{padding:7px 8px;font-size:11px;white-space:nowrap}.calorie-card,.meal-panel,.record-panel{border-radius:16px;padding:16px}.macro-row{grid-template-columns:1fr 1fr 1fr;gap:8px}.macro-chip{padding:12px 8px}.macro-chip strong{font-size:20px}}body,.app-shell{background:#f7fbff}.dashboard{width:min(100%,1120px);padding:28px 32px 48px}.app-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:6px 2px 2px}.app-greeting p{margin:0;color:var(--ink);font-size:clamp(26px,4vw,44px);font-weight:900;letter-spacing:-.04em}.app-greeting h1{margin-top:8px;color:var(--muted);font-size:15px;font-weight:700;letter-spacing:0}.app-greeting h1 strong{color:var(--ink);font-weight:900;white-space:nowrap}.target-card{display:grid;min-width:174px;gap:4px;padding:14px 16px;border:1px solid #e7eef8;border-radius:20px;background:#fff;box-shadow:0 14px 34px #0f172a12}.target-card span,.target-card em{color:var(--muted);font-size:12px;font-style:normal;font-weight:800}.target-card strong{color:var(--status-color);font-size:18px;font-weight:900}.date-strip{margin:24px 0 18px}.date-pill{border-color:#e7eef8;background:#fff;box-shadow:0 10px 22px #0f172a0d}.date-pill.active{background:var(--klein);box-shadow:0 14px 28px #002fa72e}.dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(320px,.86fr);grid-template-areas:"calories meals" "records records";gap:18px}.calorie-card,.meal-panel,.record-panel{border:1px solid #e6eef7;border-radius:24px;background:#fff;box-shadow:0 18px 42px #0f172a0f}.calorie-card{padding:22px}.section-heading,.card-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.section-heading button{border-radius:999px;padding:0 16px;background:var(--klein-soft);color:var(--klein);font-weight:800}.overview-layout{grid-template-columns:minmax(220px,.92fr) minmax(220px,1fr);gap:24px;margin-top:4px}.ring-wrap{width:min(100%,270px);margin:0 auto}.ring-wrap svg{display:block}.ring-bg,.ring-fill{stroke-width:19}.ring-bg{stroke:#d9e0eb}.ring-value{inset:59% 0 auto}.ring-value>span{color:#667085;font-size:16px;line-height:1}.ring-value strong{font-size:clamp(40px,5.2vw,58px)}.ring-value em{color:var(--ink);font-size:12px;font-weight:900}.macro-meter-list{align-self:center;gap:15px}.macro-meter>div:first-child{align-items:baseline}.macro-meter span{color:var(--ink);font-size:13px}.macro-meter strong{color:var(--muted);font-size:12px}.meter-track{height:6px;background:#e4ebf5}.macro-meter.carbs .meter-track span{background:#3b82f6}.macro-meter.protein .meter-track span{background:#6366f1}.macro-meter.fat .meter-track span{background:#14b8a6}.meal-panel{padding:22px}.meal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.meal-box{display:grid;min-height:124px;align-content:space-between;justify-items:start;padding:16px;border:1px solid #e7eef8;border-radius:20px;background:#f8fbff;color:var(--ink);text-align:left}.meal-box.sky{background:#f4f9ff}.meal-box.mint{background:#f2fbfa}.meal-box.amber{background:#fffaf0}.meal-box.rose{background:#fff6f8}.meal-box span{font-size:17px;font-weight:900}.meal-box strong{margin-top:12px;font-size:26px;font-weight:900;font-variant-numeric:tabular-nums}.meal-box small,.meal-box em{color:var(--muted);font-size:12px;font-style:normal;font-weight:800}.record-panel{padding:22px}.record-list{gap:0;margin-top:16px}.record-list article{display:grid;grid-template-columns:1fr;gap:10px;padding:16px 0;border-bottom:1px solid var(--line)}.record-main{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:12px}.record-main>span{color:var(--muted);font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}.record-main strong{color:var(--ink);font-size:15px;font-weight:900}.record-main p{margin-top:3px;color:var(--muted);font-size:12px;font-weight:700}.record-main>strong{color:var(--klein);font-size:18px;font-variant-numeric:tabular-nums}.record-main>strong span{color:var(--muted);font-size:11px}.record-nutrition{display:flex;flex-wrap:wrap;gap:8px;padding-left:66px}.record-nutrition span{padding:6px 9px;border-radius:999px;background:#f1f6fd;color:var(--muted);font-size:12px;font-weight:800}.bottom-nav{border-color:#e7eef8;background:#fffffff5}.bottom-nav-item{font-size:13px}.bottom-nav-item span{display:none}:root{--apple-blue: #0066cc;--apple-blue-focus: #0071e3;--apple-ink: #1d1d1f;--apple-muted: #7a7a7a;--apple-hairline: #e0e0e0;--apple-divider: #f0f0f0;--apple-canvas: #ffffff;--apple-pearl: #fafafc;--app-bg: #f8fbff;--macro-carbs: #7c3aed;--macro-protein: #06b6d4;--macro-fat: #b68a5b}body,.app-shell{background:var(--app-bg)}.dashboard{width:min(100%,980px);padding:32px 28px 56px;color:var(--apple-ink);font-family:SF Pro Text,SF Pro Display,-apple-system,BlinkMacSystemFont,system-ui,sans-serif}.app-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:start;padding:4px 0 18px}.app-greeting p{color:var(--apple-ink);font-size:clamp(30px,4.2vw,40px);font-weight:600;letter-spacing:-.28px;line-height:1.07}.app-greeting h1{display:inline-grid;justify-items:center;gap:3px;margin-top:10px;color:var(--apple-ink);font-size:17px;font-weight:600;letter-spacing:-.374px;line-height:1.24}.app-greeting h1 span,.app-greeting h1 strong{color:var(--apple-ink);font-size:inherit;font-weight:600;white-space:nowrap}.target-card{display:grid;gap:6px;min-width:0;padding:18px 20px;border:1px solid var(--apple-hairline);border-radius:18px;background:var(--apple-canvas);box-shadow:none}.target-card span,.target-card em{color:var(--apple-muted);font-size:14px;font-style:normal;font-weight:400;letter-spacing:-.224px;line-height:1.29}.target-card strong{color:var(--status-color);font-size:21px;font-weight:600;letter-spacing:.231px;line-height:1.19}.target-card.green{--status-color: var(--status-green)}.target-card.yellow{--status-color: var(--status-yellow)}.target-card.red{--status-color: var(--status-red)}.dashboard-grid{display:grid;grid-template-columns:1fr;grid-template-areas:"calories" "meals" "records";gap:17px}.calorie-card,.meal-panel,.record-panel{border:1px solid var(--apple-hairline);border-radius:18px;background:var(--apple-canvas);box-shadow:none}.calorie-card{padding:20px}.date-strip-in-card{margin:0 0 24px}.date-strip{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.date-pill{min-height:54px;padding:8px 4px;border:0;border-radius:14px;background:#ffffff8f;box-shadow:none}.date-pill span{color:var(--apple-muted);font-size:11px;font-weight:400;letter-spacing:-.12px}.date-pill strong{color:var(--apple-ink);font-size:15px;font-weight:600}.date-pill.active{background:var(--apple-blue);color:#fff;box-shadow:0 8px 18px #0066cc24}.date-pill.active span,.date-pill.active strong{color:#fff}.section-heading{margin-bottom:8px}.eyebrow{color:var(--apple-muted);font-size:12px;font-weight:400;letter-spacing:-.12px;line-height:1;text-transform:none}.section-heading h2{margin-top:4px;color:var(--apple-ink);font-size:28px;font-weight:600;letter-spacing:.196px;line-height:1.14}.overview-layout{display:grid;grid-template-columns:minmax(240px,.88fr) minmax(260px,1fr);gap:34px;align-items:center}.ring-wrap{width:min(100%,260px);margin:0 auto}.ring-wrap svg{display:block;width:100%;height:auto}.ring-bg,.ring-fill{fill:none;stroke-width:18;stroke-linecap:round}.ring-bg{stroke:#d9dee8}.ring-fill{stroke:var(--apple-blue-focus);transform:rotate(-90deg);transform-origin:110px 110px}.calorie-card.green .ring-fill,.calorie-card.yellow .ring-fill{stroke:var(--apple-blue-focus)}.ring-value{position:absolute;inset:50% 0 auto;translate:0 -50%;display:grid;place-items:center;gap:2px}.ring-value span{color:var(--apple-muted);font-size:14px;font-weight:400;line-height:1}.ring-value strong{color:var(--apple-ink);font-size:34px;font-weight:600;letter-spacing:-.374px;line-height:1;font-variant-numeric:tabular-nums}.ring-value em,.ring-value small{color:var(--apple-ink);font-size:12px;font-style:normal;font-weight:600;line-height:1.15;font-variant-numeric:tabular-nums}.ring-value small{margin-top:3px;color:var(--apple-muted);font-weight:400}.macro-meter-list{display:grid;gap:18px}.macro-meter>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.macro-meter span{color:var(--apple-ink);font-size:17px;font-weight:600;letter-spacing:-.374px}.macro-meter strong{color:var(--apple-muted);font-size:14px;font-weight:600;letter-spacing:-.224px;font-variant-numeric:tabular-nums}.meter-track{height:6px;margin-top:7px;overflow:hidden;border-radius:999px;background:#e8edf5}.meter-track span{display:block;height:100%;border-radius:inherit}.macro-meter.carbs .meter-track span{background:var(--macro-carbs)}.macro-meter.protein .meter-track span{background:var(--macro-protein)}.macro-meter.fat .meter-track span{background:var(--macro-fat)}.macro-meter.over .meter-track span{background:var(--status-red)}.macro-meter.over strong{color:var(--status-red)}.status-note{display:none}.meal-panel{padding:20px}.meal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:14px}.meal-box{display:grid;min-height:124px;align-content:space-between;justify-items:start;padding:18px;border:1px solid var(--apple-hairline);border-radius:18px;background:var(--apple-pearl);color:var(--apple-ink);text-align:left;box-shadow:none}.meal-box.sky,.meal-box.mint,.meal-box.amber,.meal-box.rose{background:var(--apple-pearl)}.meal-box span{color:var(--apple-ink);font-size:20px;font-weight:600;letter-spacing:.196px;line-height:1.14}.meal-box em{color:var(--apple-muted);font-size:13px;font-style:normal;font-weight:400;letter-spacing:-.224px}.meal-box strong{color:var(--apple-ink);font-size:22px;font-weight:600;letter-spacing:.196px;line-height:1.14;font-variant-numeric:tabular-nums}.meal-box small{color:var(--apple-muted);font-size:13px;font-weight:400}.record-panel{padding:20px}.record-list{display:grid;gap:0;margin-top:12px}.record-list article{display:grid;grid-template-columns:1fr;gap:8px;padding:14px 0;border-bottom:1px solid var(--apple-divider)}.record-list article:last-child{border-bottom:0}.record-main{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center}.record-main>span{color:var(--apple-muted);font-size:13px;font-weight:600;letter-spacing:-.224px;font-variant-numeric:tabular-nums}.record-main strong{overflow:hidden;color:var(--apple-ink);font-size:13px;font-weight:600;letter-spacing:-.374px;line-height:1.24;text-overflow:ellipsis;white-space:nowrap}.record-main em{color:var(--apple-muted);font-size:13px;font-style:normal;letter-spacing:-.224px}.record-nutrition{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:center;gap:8px;padding-left:78px}.record-nutrition strong{color:var(--apple-blue);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.record-nutrition strong span{color:var(--apple-muted);font-size:12px}.record-nutrition span{min-width:0;padding:0;border-radius:999px;background:transparent;color:var(--apple-muted);font-size:13px;font-weight:600;letter-spacing:-.12px;text-align:center;white-space:nowrap}.bottom-nav{grid-template-columns:repeat(6,1fr);border-color:var(--apple-hairline);border-radius:18px;background:#fffffff5;box-shadow:none}.bottom-nav-item{min-width:0;border-radius:12px;color:var(--apple-muted);font-size:12px;font-weight:400;letter-spacing:-.12px}.bottom-nav-item.active{background:var(--apple-blue);color:#fff}.app-top{grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:start}.target-card{justify-items:end;gap:3px;min-width:0;padding:4px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:right}.target-card span{color:var(--apple-muted)}.target-card strong{font-size:24px;font-weight:600}.target-card em{color:var(--apple-muted);font-size:14px}.calorie-card{padding:24px;border-color:#e8edf5}.overview-layout{grid-template-columns:minmax(260px,.92fr) minmax(280px,1fr);gap:40px;margin-top:8px}.ring-wrap{width:min(100%,292px)}.ring-bg,.ring-fill{stroke-width:18}.ring-fill{stroke:var(--status-color)}.calorie-card.green .ring-fill{stroke:var(--status-green)}.calorie-card.yellow .ring-fill{stroke:var(--status-yellow)}.calorie-card.red .ring-fill{stroke:var(--status-red)}.ring-value strong{font-size:40px}.meal-box{min-height:132px;border-color:#e7edf6;background:#fbfcff}.meal-box:hover{border-color:#0066cc2e;transform:translateY(-1px)}.meal-box em{margin-top:4px}.meal-box strong{margin-top:14px}.bottom-nav{height:64px}@media(max-width:767px){.app-top{grid-template-columns:minmax(0,1fr) auto;gap:16px}.target-card{padding-top:2px}.target-card span,.target-card em{font-size:12px}.target-card strong{font-size:18px}.calorie-card{padding:16px}.overview-layout{grid-template-columns:minmax(0,1fr) minmax(120px,.72fr);gap:16px}.ring-wrap{width:min(100%,202px)}.ring-bg,.ring-fill{stroke-width:18}.ring-value strong{font-size:34px}.ring-value span,.ring-value em,.ring-value small{font-size:11px}.meal-box{min-height:118px}}@media(max-width:1023px){.dashboard-grid{grid-template-columns:1fr;grid-template-areas:"calories" "meals" "records"}}@media(max-width:767px){.dashboard{padding:24px 16px calc(90px + env(safe-area-inset-bottom))}.app-top{align-items:flex-start}.app-greeting p{font-size:30px}.app-greeting h1{display:inline-grid;justify-items:center;gap:3px;font-size:14px}.target-card{min-width:118px;padding:2px 0 0;border-radius:0}.target-card strong{font-size:18px}.overview-layout{grid-template-columns:minmax(0,1fr) minmax(112px,.72fr);gap:12px}.calorie-card,.meal-panel,.record-panel{border-radius:18px;padding:16px}.feature-split,.feature-grid,.record-flow-shell,.record-hero,.record-detail-grid,.record-actions,.cooked-item{grid-template-columns:1fr}.cooked-item-actions{min-width:0}.confirm-grid,.macro-edit-row{grid-template-columns:1fr}.record-switch{width:100%}.section-heading h2{font-size:20px}.ring-wrap{width:min(100%,190px)}.ring-bg,.ring-fill{stroke-width:18}.ring-value strong{font-size:34px}.macro-meter-list{gap:12px}.macro-meter span,.macro-meter strong{font-size:11px}.meal-grid{gap:10px}.meal-box{min-height:108px;padding:14px;border-radius:16px}.meal-box span{font-size:15px}.meal-box strong{font-size:20px}.record-nutrition{gap:6px;padding-left:60px}}.login-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px;background:#f5f7fa;font-family:Poppins,PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}.login-card{width:100%;max-width:380px;padding:30px 26px 26px;border:1px solid #eceef4;border-radius:22px;background:#fff;box-shadow:0 18px 50px #1c1c2814}.login-brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}.login-brand img{width:46px;height:46px;border-radius:14px;object-fit:contain}.login-brand strong{display:block;font-size:17px;color:#1c1c28}.login-brand span{display:block;margin-top:1px;font-size:12px;color:#8a8fa3}.login-title{margin:0;font-size:24px;font-weight:700;color:#1c1c28;letter-spacing:-.01em}.login-sub{margin:6px 0 20px;font-size:14px;color:#8a8fa3;line-height:1.5}.login-field{display:grid;gap:7px;margin-bottom:14px}.login-field label{font-size:13px;font-weight:700;color:#8a8fa3}.login-field input{width:100%;min-height:48px;padding:0 14px;border:1px solid #e3e7ef;border-radius:14px;background:#fbfcff;color:#1c1c28;font:inherit;font-size:16px;outline:none;transition:border-color .14s ease,box-shadow .14s ease}.login-field input::placeholder{color:#aab0bf}.login-field input:focus{border-color:#3973df;box-shadow:0 0 0 4px #3973df24}.login-err{margin:2px 0 14px;padding:10px 12px;border-radius:10px;background:#fef2f2;color:#b42318;font-size:13px;line-height:1.4}.login-btn{width:100%;min-height:50px;margin-top:4px;border:0;border-radius:14px;background:linear-gradient(145deg,#3973df,#2c5fc4);color:#fff;font-size:16px;font-weight:700;cursor:pointer;box-shadow:0 12px 26px #3973df42;transition:transform .14s ease,opacity .14s ease}.login-btn:hover{transform:translateY(-1px)}.login-btn:disabled{opacity:.6;cursor:default;transform:none}.login-switch{margin:18px 0 0;text-align:center;font-size:14px;color:#8a8fa3}.login-switch button{margin-left:4px;border:0;background:none;color:#3973df;font:inherit;font-weight:700;cursor:pointer;text-decoration:underline}.home-screen{--hs-card: #ffffff;--hs-ink: #1c1c28;--hs-muted: #7e879d;--hs-faint: #a9b0c2;--hs-line: #eceef4;--hs-blue: #2877c9;--hs-blue-deep: #1f67b1;--hs-protein: #76a9e5;--hs-protein-soft: rgba(118, 169, 229, .14);--hs-protein-ink: #2f6bb0;--hs-carbs: #8e7bc4;--hs-carbs-soft: rgba(142, 123, 196, .14);--hs-carbs-ink: #6a559e;--hs-fat: #c6a574;--hs-fat-soft: rgba(198, 165, 116, .16);--hs-fat-ink: #b1731d;--hs-green: #64ce96;--hs-green-ink: #2f9c66;--hs-yellow: #d8bb64;--hs-yellow-ink: #a88119;--hs-red: #d85c63;--hs-red-ink: #c2464d;--hs-neutral: #cfd4df;--hs-neutral-ink: #6d7486;--hs-m-breakfast: #eef8f1;--hs-m-breakfast-ink: #4e9f6d;--hs-m-lunch: #fbf3e7;--hs-m-lunch-ink: #c28b34;--hs-m-dinner: #eef4ff;--hs-m-dinner-ink: #4d7edc;--hs-m-snack: #fceef4;--hs-m-snack-ink: #d96a98;font-family:Poppins,PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:var(--hs-ink);min-height:100%;-webkit-font-smoothing:antialiased}.home-screen *{box-sizing:border-box}.hs-inner{width:100%;margin:0;padding:4px 0 16px;display:flex;flex-direction:column;gap:14px}.hs-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:12px;row-gap:3px;padding:8px 4px 0}.hs-brand-row{display:none;align-items:center;justify-content:flex-start;padding:0 2px}.hs-brand{display:flex;align-items:center;gap:9px;min-width:0}.hs-brand img{width:36px;height:36px;object-fit:contain;flex:none}.hs-brand strong,.hs-brand span{display:block}.hs-brand strong{font-size:13px;font-weight:800;line-height:1.1}.hs-brand span{margin-top:2px;color:var(--hs-muted);font-size:10px;font-weight:500}.hs-greet-sub{margin:0;font-size:14px;color:var(--hs-muted);font-weight:500;line-height:1.3}.hs-greet-title{margin:0;font-size:18px;font-weight:700;letter-spacing:-.025em;line-height:1.08}.hs-status-pill{display:inline-flex;align-items:center;justify-self:end;gap:8px;flex-shrink:0;padding:7px 11px;border:1px solid var(--hs-line);border-radius:999px;background:#fffffffa;box-shadow:0 12px 28px #1c1c2812}.hs-status-dot{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;color:#fff;font-size:8px;font-weight:700}.hs-status-pill.green .hs-status-dot{background:var(--hs-green)}.hs-status-pill.yellow .hs-status-dot{background:var(--hs-yellow-ink)}.hs-status-pill.red .hs-status-dot{background:var(--hs-red)}.hs-status-pill.neutral .hs-status-dot{background:var(--hs-neutral-ink)}.hs-status-pill-label{font-size:11px;font-weight:700}.hs-status-pill.green .hs-status-pill-label{color:var(--hs-green-ink)}.hs-status-pill.yellow .hs-status-pill-label{color:var(--hs-yellow-ink)}.hs-status-pill.red .hs-status-pill-label{color:var(--hs-red-ink)}.hs-status-pill.neutral .hs-status-pill-label{color:var(--hs-neutral-ink)}.hs-status-chevron{color:var(--hs-faint);font-size:13px;line-height:1}.hs-status-copy{margin:0;padding:0;max-width:205px;justify-self:end;text-align:right;font-size:10px;line-height:1.35;color:var(--hs-muted)}.hs-status-copy-empty{visibility:hidden}.hs-card{background:var(--hs-card);border:1px solid var(--hs-line);border-radius:24px;box-shadow:0 14px 32px #1c1c280f;padding:16px}.hs-cal-card{padding:16px;background:#fff}.hs-week-card{padding:10px 12px;border-color:#eceef4b8;box-shadow:0 10px 24px #1c1c280a}.hs-sec{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.hs-sec h3{margin:0;font-size:16px;font-weight:700;letter-spacing:-.02em}.hs-link{border:0;background:transparent;color:var(--hs-blue);font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;padding:4px 2px}.hs-hero-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:14px}.hs-ring{position:relative;justify-self:center;width:min(100%,220px);min-width:170px;max-width:220px;aspect-ratio:1 / 1}.hs-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.hs-ring-bg{stroke:#edf0f7}.hs-ring-fill{transition:stroke-dasharray .35s ease,stroke .2s ease}.hs-ring-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.hs-ring-center .cap{font-size:12px;color:var(--hs-muted);font-weight:600}.hs-ring-center .num{font-size:clamp(36px,4.8vw,50px);font-weight:800;letter-spacing:-.04em;line-height:.95}.hs-ring-center .num.over{color:var(--hs-red)}.hs-ring-center .unit{font-size:13px;color:var(--hs-muted);font-weight:500}.hs-ring-center .frac{font-size:10px;color:var(--hs-faint);font-weight:500;margin-top:3px}.hs-caps{width:95%;justify-self:end;display:grid;grid-template-columns:1fr;gap:8px;align-content:center}.hs-cap{min-width:0;padding:9px 11px;border-radius:18px;border:1px solid #f1f3f7;background:#fbfcfe;box-shadow:inset 0 1px #ffffff8c}.hs-cap-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:5px}.hs-cap-name{font-size:12px;font-weight:700;line-height:1.1}.hs-cap-pct{font-size:12px;font-weight:800;line-height:1}.hs-cap-bar{position:relative;width:100%;height:6px;border-radius:999px;overflow:hidden}.hs-cap-fill{position:absolute;inset:0 auto 0 0;border-radius:inherit;transition:width .3s ease}.hs-cap-val{display:block;margin-top:7px;font-size:10px;font-weight:500;opacity:.8;white-space:nowrap;text-align:right}.hs-cap.protein .hs-cap-bar{background:#e8edf5}.hs-cap.protein .hs-cap-fill{background:var(--hs-protein)}.hs-cap.protein .hs-cap-pct,.hs-cap.protein .hs-cap-name{color:var(--hs-protein-ink)}.hs-cap.carbs .hs-cap-bar{background:#e8edf5}.hs-cap.carbs .hs-cap-fill{background:var(--hs-carbs)}.hs-cap.carbs .hs-cap-pct,.hs-cap.carbs .hs-cap-name{color:var(--hs-carbs-ink)}.hs-cap.fat .hs-cap-bar{background:#e8edf5}.hs-cap.fat .hs-cap-fill{background:var(--hs-fat)}.hs-cap.fat .hs-cap-pct,.hs-cap.fat .hs-cap-name{color:var(--hs-fat-ink)}.hs-cap.over .hs-cap-pct,.hs-cap.over .hs-cap-val{color:var(--hs-red)}.hs-cap.over .hs-cap-val{font-weight:700}.hs-week{display:flex;gap:8px;justify-content:space-between}.hs-day{flex:1;border:1px solid transparent;background:#ffffffc2;border-radius:16px;padding:8px 0 7px;display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;box-shadow:none;transition:transform .12s ease,background .15s ease,border-color .15s ease;font-family:inherit}.hs-day:active{transform:scale(.96)}.hs-day span{font-size:10px;color:var(--hs-muted);font-weight:500}.hs-day strong{font-size:16px;font-weight:700;color:var(--hs-ink);line-height:1}.hs-day.today:after{content:"";width:4px;height:4px;border-radius:50%;background:var(--hs-blue);margin-top:1px}.hs-day.active{background:var(--hs-blue);border-color:transparent;box-shadow:0 10px 22px #2877c938}.hs-day.active span,.hs-day.active strong{color:#fff}.hs-day.active.today:after{background:#fff}.hs-meals{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hs-meal{position:relative;border:1px solid transparent;text-align:left;border-radius:20px;padding:12px;cursor:pointer;display:flex;flex-direction:column;gap:8px;min-height:106px;font-family:inherit;transition:transform .12s ease,box-shadow .12s ease;box-shadow:inset 0 1px #ffffffb3,0 8px 18px #1c1c2808}.hs-meal:active{transform:scale(.985)}.hs-meal-top{display:flex;align-items:center;gap:8px;padding-right:36px}.hs-meal-name{font-size:14px;font-weight:700}.hs-meal-arrow{position:absolute;right:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ffffffdb;box-shadow:0 8px 18px #1c1c2814;font-size:16px;line-height:1}.hs-meal-foot{margin-top:auto;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.hs-meal-sub{min-width:0;font-size:10px;font-weight:500;opacity:.78;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hs-meal-kcal{font-size:18px;font-weight:800;letter-spacing:-.02em;white-space:nowrap}.hs-meal-kcal small{font-size:10px;font-weight:600;opacity:.82}.hs-meal.breakfast{background:var(--hs-m-breakfast);color:var(--hs-m-breakfast-ink)}.hs-meal.lunch{background:var(--hs-m-lunch);color:var(--hs-m-lunch-ink)}.hs-meal.dinner{background:var(--hs-m-dinner);color:var(--hs-m-dinner-ink)}.hs-meal.snack{background:var(--hs-m-snack);color:var(--hs-m-snack-ink)}.hs-rec-list{display:flex;flex-direction:column}.hs-rec-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--hs-line);border-radius:18px;background:#fff;box-shadow:inset 0 1px #ffffffbf,0 6px 16px #1c1c2808}.hs-rec-row+.hs-rec-row{margin-top:8px}.hs-rec-left{min-width:0;flex:1}.hs-rec-main{display:flex;align-items:center;gap:8px;min-width:0}.hs-rec-copy{min-width:0}.hs-rec-title{font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hs-rec-meta{font-size:9px;color:var(--hs-faint);font-weight:500;margin-top:3px}.hs-rec-tag{display:inline-flex;align-items:center;justify-content:center;min-width:50px;padding:8px 10px;border-radius:14px;font-size:11px;font-weight:700;flex:none}.hs-rec-tag.breakfast{background:var(--hs-m-breakfast);color:var(--hs-m-breakfast-ink)}.hs-rec-tag.lunch{background:var(--hs-m-lunch);color:var(--hs-m-lunch-ink)}.hs-rec-tag.dinner{background:var(--hs-m-dinner);color:var(--hs-m-dinner-ink)}.hs-rec-tag.snack{background:var(--hs-m-snack);color:var(--hs-m-snack-ink)}.hs-rec-tag.other{background:#eef0f4;color:#6b7080}.hs-rec-right{display:flex;align-items:center;margin-left:auto;gap:0px;flex-shrink:0}.hs-rec-metrics{text-align:right}.hs-rec-grams{font-size:10px;color:var(--hs-faint);font-weight:500;margin-bottom:5px}.hs-rec-kcal{font-size:16px;font-weight:800;letter-spacing:-.02em}.hs-rec-kcal small{font-size:9px;color:var(--hs-muted);font-weight:600}.hs-rec-more{color:var(--hs-faint);font-size:18px;line-height:1;transform:translateY(2px)}.hs-rec-macros{font-size:10px;color:var(--hs-muted);font-weight:500;margin-top:6px}.hs-empty{text-align:center;padding:22px 8px;color:var(--hs-muted)}.hs-empty strong{display:block;font-size:15px;font-weight:600;color:var(--hs-ink)}.hs-empty em{font-style:normal;font-size:13px}.hs-ring-fill.green{stroke:var(--hs-green)}.hs-ring-fill.yellow{stroke:var(--hs-yellow)}.hs-ring-fill.red{stroke:var(--hs-red)}.hs-ring-fill.neutral{stroke:var(--hs-neutral)}@media(max-width:1023px){.hs-inner{padding:4px 0 calc(80px + env(safe-area-inset-bottom))}}@media(max-width:820px){.hs-inner{gap:10px}.hs-brand-row{display:flex}.hs-head{column-gap:12px;row-gap:3px;padding-top:2px}.hs-head .hs-status-pill{padding:6px 9px;gap:6px;box-shadow:0 12px 28px #1c1c2814}.hs-head .hs-status-dot{width:16px;height:16px;font-size:10px}.hs-head .hs-status-pill-label{font-size:12px}.hs-greet-title{font-size:19px}.hs-card,.hs-cal-card{border-radius:24px}.hs-sec h3{font-size:18px}.hs-hero-row{align-items:center;gap:10px}.hs-ring{width:100%;min-width:0;max-width:280px;margin:0}.hs-caps{width:100%}.hs-week{overflow-x:visible;gap:6px;padding-bottom:0}.hs-day{min-width:0}.hs-meals{grid-template-columns:1fr 1fr}.hs-rec-row{padding:14px}.hs-rec-main{gap:12px}.hs-rec-tag{min-width:56px;padding:10px 12px;font-size:13px}.hs-rec-title{font-size:13px}.hs-rec-kcal{font-size:18px}}@media(max-width:480px){.hs-inner{gap:8px}.hs-greet-title{font-size:18px;line-height:1.16}.hs-status-copy{margin-top:2px;max-width:168px;font-size:10px;line-height:1.32}.hs-card,.hs-cal-card{padding:12px 14px}.hs-week-card{padding:8px 10px}.hs-sec h3{font-size:16px}.hs-day{min-width:0;padding:7px 0 6px;gap:3px}.hs-day span{font-size:10px}.hs-day strong{font-size:15px}.hs-ring-center{gap:3px}.hs-ring-center .cap{font-size:10px}.hs-ring-center .num{font-size:36px}.hs-ring-center .unit{font-size:10px}.hs-ring-center .frac{font-size:9px;margin-top:1px}.hs-caps{gap:10px}.hs-cap{padding:7px 9px;border-radius:12px}.hs-cap-head{margin-bottom:4px}.hs-cap-name,.hs-cap-val,.hs-cap-pct{font-size:10px;line-height:1}.hs-cap-bar{height:5px}.hs-cap-val{margin-top:3px}.hs-meal{min-height:92px;padding:11px;gap:6px}.hs-meal-top{gap:7px}.hs-meal-foot{gap:4px}.hs-meal-name{font-size:15px}.hs-meal-sub{font-size:10px}.hs-meal-kcal{font-size:17px}.hs-meal-kcal small{font-size:9px}.hs-meal-arrow{width:26px;height:26px;font-size:16px;right:10px}.hs-card[aria-label=餐次] .hs-sec{margin-bottom:8px}.hs-card[aria-label=餐次] .hs-sec h3{font-size:15px}.hs-card[aria-label=饮食记录] .hs-sec{margin-bottom:1px}.hs-card[aria-label=饮食记录] .hs-sec h3{font-size:15px}.hs-rec-row{align-items:flex-start;gap:10px}.hs-rec-right{min-width:20px}.hs-rec-tag{min-width:48px;padding:8px 10px;font-size:12px}.hs-rec-title{font-size:13px}.hs-rec-meta{font-size:10px}.hs-rec-grams{font-size:11px}.hs-rec-kcal{font-size:18px}.hs-rec-kcal small{display:block;font-size:11px}.hs-rec-macros{font-size:11px}.hs-rec-more{font-size:16px}}.profile-screen{--pf-ink: #1c1c28;--pf-muted: #8a8fa3;--pf-faint: #b5bacc;--pf-line: #eceef4;--pf-blue: #2877c9;--pf-blue-deep: #1f67b1;--pf-blue-soft: #eef4ff;--pf-green: #2faa6a;--pf-green-soft: #eef8f1;--pf-protein: #6e57bc;--pf-protein-soft: #f3effc;--pf-carb: #49a36e;--pf-carb-soft: #eef8f1;--pf-fat: #c28b34;--pf-fat-soft: #fbf3e7;--pf-shadow: 0 14px 32px rgb(28 28 40 / 6%);font-family:Poppins,PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:var(--pf-ink);-webkit-font-smoothing:antialiased}.profile-screen *{box-sizing:border-box}.profile-inner{width:min(100%,860px);margin:0 auto;padding:4px 0 28px;display:flex;flex-direction:column;gap:16px}.profile-brand-row{display:flex;align-items:center;padding:8px 4px 0}.profile-brand{display:flex;align-items:center;gap:10px}.profile-brand img{width:38px;height:38px;object-fit:contain;flex:none}.profile-brand strong,.profile-brand span{display:block}.profile-brand strong{font-size:13px;line-height:1.08;font-weight:800}.profile-brand span{margin-top:2px;color:var(--pf-muted);font-size:10px;font-weight:500}.profile-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,220px);align-items:end;gap:12px 18px;padding:0 4px}.profile-title-group{display:grid;gap:4px}.profile-eyebrow{margin:0;color:var(--pf-muted);font-size:14px;font-weight:500;line-height:1.2;text-wrap:balance}.profile-title-group h1{margin:0;font-size:18px;line-height:1.08;font-weight:700;letter-spacing:-.03em;text-wrap:balance}.profile-head>p{margin:0;max-width:220px;justify-self:end;color:var(--pf-muted);text-align:right;font-size:11px;line-height:1.45;text-wrap:pretty}.profile-sync{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:64px;padding:12px 18px;border:1px solid var(--pf-line);border-radius:20px;background:#fff;box-shadow:var(--pf-shadow);color:inherit;text-align:left}.profile-sync-icon,.profile-sync-chevron,.profile-name-card i,.profile-targets-edit i{display:grid;place-items:center;flex:none}.profile-sync-icon{width:28px;height:28px;border-radius:50%;background:var(--pf-green-soft);color:var(--pf-green)}.profile-sync-icon svg,.profile-sync-chevron svg,.profile-name-card i svg,.profile-targets-edit i svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.profile-sync-copy{display:grid;gap:2px;min-width:0}.profile-sync-copy strong{font-size:13px;font-weight:700;line-height:1.25}.profile-sync-copy em{color:var(--pf-muted);font-style:normal;font-size:12px;line-height:1.4;text-wrap:pretty}.profile-sync.ready .profile-sync-copy strong{color:var(--pf-green)}.profile-sync.pending .profile-sync-icon{background:#fff7ea;color:#c28b34}.profile-sync.pending .profile-sync-copy strong{color:#c28b34}.profile-sync-chevron{color:var(--pf-faint)}.profile-card-shell{background:#fff;border:1px solid var(--pf-line);border-radius:24px;box-shadow:var(--pf-shadow);padding:18px}.profile-card-head,.profile-targets-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.profile-card-head h3,.profile-targets-head h3{margin:0;font-size:16px;font-weight:700;letter-spacing:-.02em;text-wrap:balance}.profile-targets-head p{margin:4px 0 0;color:var(--pf-muted);font-size:12px;line-height:1.45;text-wrap:pretty}.profile-inline-fields{margin-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:12px}.profile-name-card,.profile-select-card{position:relative;display:flex;align-items:center;gap:10px;min-height:52px;padding:0 14px;border:1px solid var(--pf-line);border-radius:18px;background:#fff;box-shadow:0 8px 22px #1c1c280a}.profile-name-card>span,.profile-select-card>span{flex:none;color:var(--pf-ink);font-size:13px;font-weight:700;white-space:nowrap}.profile-name-card input{width:100%;min-width:0;border:0;background:transparent;color:var(--pf-blue);font:inherit;font-size:15px;font-weight:700;outline:none}.profile-name-card input::placeholder{color:#a9b0c2;font-weight:500}.profile-name-card i{color:var(--pf-faint);pointer-events:none}.profile-select-card{gap:8px}.profile-select-card select{flex:1;width:auto;min-width:0;border:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none' stroke='%23B5BACC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7 5 5 5-5'/%3E%3C/svg%3E") no-repeat right center;color:var(--pf-ink);font:inherit;font-size:14px;font-weight:600;outline:none;appearance:none;-webkit-appearance:none}.profile-block{margin-top:16px}.profile-block-label{display:block;margin:0 0 10px;color:var(--pf-ink);font-size:13px;font-weight:700}.profile-seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;padding:5px;border-radius:18px;background:#f5f7fb;border:1px solid var(--pf-line)}.profile-seg-item{min-height:46px;padding:0 10px;border-radius:14px;background:transparent;color:var(--pf-muted);font-size:14px;font-weight:700;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease}.profile-seg-item.active{background:linear-gradient(135deg,var(--pf-blue),var(--pf-blue-deep));color:#fff;box-shadow:0 10px 22px #2877c938}.profile-seg-item.tone-cut:not(.active){color:#7f69b7}.profile-seg-item.tone-build:not(.active){color:#47a36d}.profile-metrics-grid{margin-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-metric-card{display:grid;gap:8px;padding:14px 14px 12px;border:1px solid var(--pf-line);border-radius:18px;background:#fff;box-shadow:0 8px 22px #1c1c280a}.profile-metric-label{color:var(--pf-ink);font-size:13px;font-weight:700}.profile-metric-value{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0}.profile-metric-value input{width:100%;min-width:0;padding:0;border:0;background:transparent;color:var(--pf-ink);font:inherit;font-size:15px;font-weight:600;outline:none}.profile-metric-value input::placeholder{color:#a9b0c2;font-weight:500}.profile-metric-value em{color:var(--pf-ink);font-style:normal;font-size:15px;font-weight:500}.profile-activity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.profile-activity-card{display:grid;justify-items:center;gap:6px;padding:16px 10px 14px;border:1px solid var(--pf-line);border-radius:18px;background:#fff;color:var(--pf-ink);box-shadow:0 8px 22px #1c1c280a;text-align:center}.profile-activity-card strong{font-size:13px;font-weight:700;line-height:1.3;text-wrap:balance}.profile-activity-card span{color:var(--pf-muted);font-size:11px;line-height:1.35;text-wrap:pretty}.profile-activity-card.active{border-color:#2877c9a8;box-shadow:inset 0 0 0 1px #2877c942}.profile-activity-card.active strong{color:var(--pf-blue)}.profile-activity-card.active span{color:#6d87b4}.profile-activity-note,.profile-target-note{display:flex;align-items:center;gap:8px;margin:12px 0 0;font-size:12px;line-height:1.45;text-wrap:pretty}.profile-activity-note{color:var(--pf-muted)}.profile-activity-note:before,.profile-target-note:before{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;flex:none;font-size:11px;font-weight:700;content:"i"}.profile-activity-note:before{background:#f1f4f9;color:var(--pf-muted)}.profile-targets-edit{display:inline-flex;align-items:center;gap:5px;padding:0;min-height:auto;background:transparent;color:var(--pf-blue);font-size:13px;font-weight:700}.profile-targets-tools{display:inline-flex;align-items:center;gap:14px}.profile-targets-reset{min-height:auto;padding:0;background:transparent;color:var(--pf-muted);font-size:13px;font-weight:700}.profile-targets-reset:disabled{color:#c4c8d5;cursor:default}.profile-target-grid{margin-top:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.profile-target-card,.profile-target-edit-card{border-radius:18px;border:1px solid var(--pf-line)}.profile-target-card{padding:16px 12px;text-align:left}.profile-target-card span{display:block;font-size:13px;font-weight:700}.profile-target-card strong{display:inline-block;margin-top:14px;font-size:25px;line-height:1;font-weight:700;font-variant-numeric:tabular-nums}.profile-target-card em{display:inline-block;margin-left:4px;color:currentColor;font-style:normal;font-size:13px;font-weight:500}.profile-target-card.calories{background:var(--pf-blue-soft);border-color:transparent;color:var(--pf-blue)}.profile-target-card.protein{background:var(--pf-protein-soft);border-color:transparent;color:var(--pf-protein)}.profile-target-card.carbs{background:var(--pf-carb-soft);border-color:transparent;color:var(--pf-carb)}.profile-target-card.fat{background:var(--pf-fat-soft);border-color:transparent;color:var(--pf-fat)}.profile-target-note.success{color:var(--pf-green)}.profile-target-note.success:before{content:"✓";background:var(--pf-green-soft);color:var(--pf-green)}.profile-target-note.neutral{color:var(--pf-muted)}.profile-target-note.neutral:before{background:#f1f4f9;color:var(--pf-muted)}.profile-target-edit-grid{margin-top:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.profile-target-edit-card{padding:12px;display:grid;gap:8px;background:#fff}.profile-target-edit-card span{font-size:12px;font-weight:700}.profile-target-edit-card div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px}.profile-target-edit-card input{width:100%;min-width:0;min-height:38px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-size:15px;font-weight:700;outline:none}.profile-target-edit-card input::placeholder{color:#a9b0c2;font-weight:500}.profile-target-edit-card em{color:inherit;font-style:normal;font-size:13px}.profile-target-edit-card.calories{background:var(--pf-blue-soft);border-color:#76a9e547;color:var(--pf-blue)}.profile-target-edit-card.protein{background:var(--pf-protein-soft);border-color:#8e7bc442;color:var(--pf-protein)}.profile-target-edit-card.carbs{background:var(--pf-carb-soft);border-color:#4f9f6d3d;color:var(--pf-carb)}.profile-target-edit-card.fat{background:var(--pf-fat-soft);border-color:#c6a57447;color:var(--pf-fat)}.profile-target-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.profile-target-cancel,.profile-target-save,.profile-primary-btn,.profile-secondary-btn{min-height:52px;border-radius:16px;font-size:16px;font-weight:700}.profile-target-cancel,.profile-secondary-btn{border:1px solid var(--pf-line);background:#fff;color:var(--pf-blue)}.profile-target-cancel{min-width:108px;min-height:46px;font-size:14px}.profile-target-save{min-width:124px;min-height:46px;background:linear-gradient(135deg,var(--pf-blue),var(--pf-blue-deep));color:#fff;box-shadow:0 10px 22px #2877c93d}.profile-primary-btn{width:100%;background:linear-gradient(135deg,var(--pf-blue),var(--pf-blue-deep));color:#fff;box-shadow:0 12px 26px #2877c93d}.profile-secondary-btn{width:100%}.profile-primary-btn:disabled,.profile-target-cancel:disabled,.profile-target-save:disabled{opacity:.62;cursor:default}.profile-save-msg{margin:-6px 0 0;font-size:13px;font-weight:600;text-align:center}.profile-save-msg.ok{color:var(--pf-green)}.profile-save-msg.err{color:#d24547}.profile-screen input[type=number]::-webkit-outer-spin-button,.profile-screen input[type=number]::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}@media(max-width:767px){.profile-inner{padding-bottom:20px}.profile-inline-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-name-card,.profile-select-card{gap:8px;padding:0 12px}.profile-target-grid{gap:6px}.profile-target-card{min-width:0;padding:14px 9px 14px 10px;border-radius:17px}.profile-target-card strong{font-size:23px}.profile-target-card em{margin-left:2px;font-size:12px}}@media(max-width:640px){.profile-head{grid-template-columns:minmax(0,1fr)}.profile-head>p{max-width:220px}}@media(max-width:359px){.profile-inline-fields{grid-template-columns:minmax(0,1fr)}.profile-activity-grid,.profile-target-grid,.profile-target-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.record-screen{--rec-card: #ffffff;--rec-ink: #1c1c28;--rec-muted: #8a8fa3;--rec-faint: #a7adbf;--rec-line: #eceef4;--rec-blue: #2877c9;--rec-blue-deep: #1f67b1;--rec-blue-soft: #eef4ff;--rec-shadow: 0 10px 28px rgb(28 28 40 / 6%);display:grid;gap:14px;width:min(100%,720px);margin:0 auto;padding:4px 0 18px;color:var(--rec-ink);font-family:Poppins,PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased}.record-screen *{box-sizing:border-box}.record-screen .profile-card,.record-screen .rec-dish{border:1px solid var(--rec-line);border-radius:24px;background:var(--rec-card);box-shadow:var(--rec-shadow)}.rec-brand-row{display:none;align-items:center;justify-content:space-between;gap:14px;padding:0 2px}.rec-brand{display:flex;align-items:center;gap:10px;min-width:0}.rec-brand img{width:36px;height:36px;object-fit:contain;flex:none}.rec-brand strong,.rec-brand span{display:block}.rec-brand strong{color:var(--rec-ink);font-size:13px;font-weight:800;line-height:1.1}.rec-brand span{margin-top:2px;color:var(--rec-muted);font-size:10px;font-weight:500}.rec-status-pill{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 11px;border:1px solid var(--rec-line);border-radius:999px;background:#fff;color:var(--rec-blue);box-shadow:var(--rec-shadow);white-space:nowrap}.rec-status-pill span{display:grid;place-items:center;width:16px;height:16px}.rec-status-pill strong{font-size:11px;font-weight:700;line-height:1}.rec-status-pill i{color:var(--rec-faint);font-style:normal;font-size:13px;line-height:1}.rec-status-pill svg,.rec-summary-icon svg,.rec-search-icon svg,.rec-create-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.rec-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,205px);align-items:end;gap:14px;padding:8px 4px 0}.rec-head-copy{display:grid;gap:4px;min-width:0}.record-screen .eyebrow{margin:0;color:var(--rec-muted);font-size:12px;font-weight:600;line-height:1;text-transform:none}.record-screen h2{margin:0;color:var(--rec-ink);font-size:18px;font-weight:700;line-height:1.08;letter-spacing:0}.rec-head-note{max-width:205px;margin:0;color:var(--rec-muted);font-size:10px;font-weight:500;line-height:1.35;text-align:right}.rec-summary-chip{display:inline-flex;align-items:center;gap:8px;width:fit-content;max-width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--rec-line);border-radius:18px;background:#fff;color:var(--rec-muted);box-shadow:var(--rec-shadow)}.rec-summary-icon{width:16px;height:16px;color:var(--rec-muted)}.rec-summary-chip span{font-size:12px;font-weight:600;line-height:1.2}.rec-summary-chip strong{color:var(--rec-blue);font-weight:700}.page-layout .rec-mode-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;padding:6px;border:1px solid var(--rec-line);border-radius:999px;background:linear-gradient(180deg,#fff,#f8faff);box-shadow:var(--rec-shadow)}.page-layout .rec-mode-switch .record-switch-pill{min-width:0;min-height:48px;border-radius:999px;background:transparent;color:var(--rec-muted);font-size:13px;font-weight:700;line-height:1;box-shadow:none;transition:background-color .16s ease-out,color .16s ease-out,transform .16s ease-out}.page-layout .rec-mode-switch .record-switch-pill.active{background:var(--rec-blue);color:#fff;box-shadow:inset 0 1px #ffffff3d}.rec-meal-card{padding:16px}.rec-meal-card .seg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;padding:6px;border:0;border-radius:20px;background:#f7f9fd}.rec-meal-card .seg-item{min-height:44px;border-radius:16px;background:transparent;color:var(--rec-muted);font-size:13px;font-weight:700;line-height:1;box-shadow:none}.rec-meal-card .seg-item.active{background:var(--rec-blue);color:#fff;box-shadow:inset 0 1px #ffffff3d}.rec-stack{display:grid;gap:14px}.rec-card{padding:18px}.rec-manual-card{display:grid;gap:16px;padding:18px 18px 20px}.rec-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}.rec-card-head h3{margin:0;color:var(--rec-ink);font-size:14px;font-weight:700;line-height:1.25}.rec-card-head p{max-width:280px;margin:0;color:var(--rec-muted);font-size:11px;font-weight:500;line-height:1.45;text-align:right}.rec-search-shell{position:relative}.rec-search-shell input{width:100%;min-height:52px;padding:0 14px 0 46px;border:1px solid #c5d2ef;border-radius:16px;background:#fff;color:var(--rec-ink);font:inherit;font-size:13px;font-weight:500;outline:none}.rec-search-shell input::placeholder{color:#9fa6ba}.rec-search-shell input:focus{border-color:var(--rec-blue);box-shadow:0 0 0 3px #2877c91f}.rec-search-icon{position:absolute;left:15px;top:50%;width:18px;height:18px;color:var(--rec-muted);transform:translateY(-50%)}.rec-search-results{display:grid;margin-top:10px;overflow:hidden;border:1px solid var(--rec-line);border-radius:18px;background:#fff;box-shadow:0 8px 20px #1c1c280d}.rec-result{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:66px;padding:12px 14px;border-radius:0;background:transparent;text-align:left}.rec-result+.rec-result{border-top:1px solid var(--rec-line)}.rec-result-copy{display:grid;gap:4px;min-width:0}.rec-result strong{color:var(--rec-ink);font-size:14px;font-weight:700;line-height:1.2}.rec-result span{color:var(--rec-muted);font-size:11px;font-weight:500;line-height:1.35}.rec-result i{color:var(--rec-muted);font-style:normal;font-size:24px;line-height:1}.rec-create-row{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 14px;border-top:1px solid var(--rec-line);background:var(--rec-blue-soft);color:var(--rec-blue);font-size:12px;font-weight:700;text-align:left}.rec-create-icon{width:18px;height:18px;flex:none}.rec-form-section{display:grid;gap:12px}.rec-form-handle{width:40px;height:3px;margin:0 auto 2px;border-radius:999px;background:#cfd5e4}.record-screen .field{display:grid;gap:7px;min-width:0}.record-screen .field label{color:var(--rec-ink);font-size:12px;font-weight:700;line-height:1.2}.record-screen .field input{width:100%;min-height:48px;padding:0 14px;border:1px solid var(--rec-line);border-radius:16px;background:#fff;color:var(--rec-ink);font:inherit;font-size:13px;font-weight:500;outline:none}.record-screen .field input::placeholder{color:#a0a6b8}.record-screen .field input:focus{border-color:var(--rec-blue);box-shadow:0 0 0 3px #2877c91f}.rec-grams-field{width:min(100%,320px)}.rec-unit-input{position:relative}.rec-unit-input input{padding-right:42px}.rec-unit-input span{position:absolute;right:13px;top:50%;color:var(--rec-muted);font-size:12px;font-weight:600;transform:translateY(-50%)}.rec-macro-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.rec-macro-grid .field label{min-height:28px;font-size:11px}.rec-macro-grid .field input{min-height:46px;padding-right:38px}.rec-macro-grid .rec-unit-input span{right:10px;font-size:11px}.rec-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.rec-toggle-row strong,.rec-toggle-row span{display:block}.rec-toggle-row strong{color:#68728f;font-size:12px;font-weight:700;line-height:1.25}.rec-toggle-row span{margin-top:4px;color:var(--rec-muted);font-size:11px;font-weight:500;line-height:1.35}.rec-toggle{position:relative;width:58px;min-width:58px;min-height:34px;border-radius:999px;background:#e7eaf2;box-shadow:inset 0 1px 2px #1c1c2812}.rec-toggle span{position:absolute;top:50%;left:4px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 4px 10px #1c1c2824;transform:translateY(-50%);transition:transform .16s ease-out}.rec-toggle.on{background:#dce9ff}.rec-toggle.on span{transform:translate(26px,-50%)}.rec-toggle-row{display:grid;grid-template-columns:minmax(0,1fr) 52px;align-items:center;gap:14px}.rec-toggle{justify-self:end;width:52px;min-width:52px;min-height:32px;border-radius:999px}.rec-toggle span{left:3px;width:26px;height:26px}.rec-toggle.on span{transform:translate(20px,-50%)}.rec-save-btn{width:100%;min-height:56px;margin-top:2px;border-radius:16px;background:var(--rec-blue);color:#fff;font-size:15px;font-weight:700;box-shadow:0 12px 24px #2877c933}.rec-save-btn:disabled{background:#d6dbe7;color:#f8f9fc;box-shadow:none}.rec-photo-card,.rec-cooked-head{padding:18px}.rec-photo-card .rec-card-head,.rec-cooked-head .rec-card-head{align-items:flex-start}.rec-photo-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rec-photo-pick{display:grid;gap:6px;justify-items:start;width:100%;min-height:82px;padding:14px;border:1px solid var(--rec-line);border-radius:18px;background:#fbfcff;text-align:left}.rec-photo-pick strong{color:var(--rec-ink);font-size:13px;font-weight:700}.rec-photo-pick span{color:var(--rec-muted);font-size:11px;font-weight:500;line-height:1.35}.rec-photo-hint{margin:12px 0 0;color:var(--rec-muted);font-size:11px;font-weight:500;line-height:1.45}.rec-photo-preview{display:block;width:100%;max-height:300px;margin-top:12px;border-radius:18px;object-fit:cover}.rec-photo-conf{margin:12px 0 0;padding:11px 12px;border-radius:14px;font-size:11px;font-weight:600;line-height:1.5}.rec-photo-conf.ok{background:#eef8f1;color:#4e9f6d}.rec-photo-conf.warn{background:#fbf3e7;color:#c28b34}.rec-photo-conf.err{background:#fef1f2;color:#c5404b}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.rec-photo-macro-grid,.rec-photo-ings{margin-top:12px}.rec-photo-ings>summary{list-style:none;cursor:pointer;color:var(--rec-muted);font-size:12px;font-weight:700}.rec-photo-ings>summary::-webkit-details-marker{display:none}.rec-photo-inglist{display:grid;gap:9px;margin-top:10px}.rec-photo-ing{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:9px;border-bottom:1px solid var(--rec-line);color:var(--rec-ink);font-size:11px;font-weight:500}.rec-photo-ing:last-child{padding-bottom:0;border-bottom:0}.rec-photo-redo{display:block;width:100%;min-height:44px;margin-top:10px;background:none;color:var(--rec-muted);font-size:12px;font-weight:700;text-decoration:underline}.rec-empty{padding:18px;color:var(--rec-muted);font-size:12px;font-weight:500;line-height:1.6}.rec-dish{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px}.rec-dish-info{min-width:0}.rec-dish-top{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.rec-dish-top strong{color:var(--rec-ink);font-size:14px;font-weight:700;line-height:1.25}.rec-dish-top span{color:var(--rec-muted);font-size:11px;font-weight:500}.rec-dish-nutri{margin:7px 0 0;color:var(--rec-muted);font-size:11px;font-weight:500;line-height:1.45}.rec-dish-act{display:flex;align-items:center;gap:10px}.rec-dish-act input{width:62px;min-height:44px;padding:0 8px;border:1px solid var(--rec-line);border-radius:14px;background:#fff;color:var(--rec-ink);font:inherit;font-size:13px;font-weight:600;text-align:center;outline:none}.rec-dish-act input:focus{border-color:var(--rec-blue);box-shadow:0 0 0 3px #2877c91f}.rec-eat-btn{min-height:44px;padding:0 16px;border-radius:14px;background:var(--rec-blue);color:#fff;font-size:12px;font-weight:700;white-space:nowrap;box-shadow:0 10px 18px #2877c92e}.save-msg{margin:0;padding:10px 12px;border-radius:14px;font-size:12px;font-weight:600;line-height:1.45}.save-msg.ok{background:#eef8f1;color:#4e9f6d}.save-msg.err{background:#fef1f2;color:#c5404b}.rec-cam-overlay{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:16px;background:#0a1428d1}.rec-cam-box{width:100%;max-width:460px;overflow:hidden;border-radius:20px;background:#0c1018}.rec-cam-video{display:block;width:100%;max-height:70vh;object-fit:cover;background:#000}.rec-cam-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}.rec-cam-shot{width:60px;height:60px;border:4px solid #fff;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #ffffff47}.rec-cam-btn.ghost{min-height:40px;padding:0 16px;border-radius:12px;background:#ffffff24;color:#fff;font:inherit;font-size:14px}.rec-cam-err{padding:26px 22px;color:#fff;font-size:14px;line-height:1.6;text-align:center}.rec-cam-err .rec-cam-btn.ghost{margin-top:14px}@media(max-width:900px){.record-screen{width:100%}.rec-head{grid-template-columns:minmax(0,1fr) minmax(140px,190px)}}@media(max-width:820px){.rec-brand-row{display:flex}}@media(max-width:767px){.record-screen{gap:12px}.rec-head{grid-template-columns:minmax(0,1fr) minmax(128px,176px);gap:12px}.rec-head-note{max-width:176px}.page-layout .rec-mode-switch{padding:6px}.page-layout .rec-mode-switch .record-switch-pill{min-height:48px;font-size:13px}.rec-meal-card{padding:14px}.rec-meal-card .seg-item{min-height:42px;font-size:12px}.rec-card,.rec-photo-card,.rec-cooked-head,.rec-manual-card{padding:16px;border-radius:22px}.rec-search-shell input{min-height:50px;font-size:13px}.rec-macro-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.rec-macro-grid .field label{min-height:26px;font-size:10px}.rec-macro-grid .field input{min-height:44px;padding:0 30px 0 9px;font-size:12px}.rec-macro-grid .rec-unit-input span{right:8px;font-size:10px}.rec-toggle-row{align-items:center}.rec-save-btn{min-height:54px}.rec-photo-picks{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-photo-pick{min-height:78px;padding:12px}.rec-dish{grid-template-columns:1fr;gap:12px;padding:16px;border-radius:22px}.rec-dish-act{width:100%}.rec-eat-btn{flex:1}}@media(max-width:390px){.rec-head{grid-template-columns:minmax(0,1fr) 138px}.rec-summary-chip span{font-size:11px}.rec-macro-grid{gap:6px}.rec-macro-grid .field label{font-size:9px}}.fridge-warn{margin:12px 0 0;padding:10px 12px;border:1px solid #f3dca6;border-radius:10px;background:#fff8ec;color:#92600a;font-size:13px}.fridge-preview{margin:10px 0 0;color:var(--muted);font-size:13px}.app-shell .fridge-add-btn{display:block;width:95%;margin:16px auto 0}.fridge-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.fridge-alert{display:grid;gap:2px;padding:12px 16px;border:1px solid var(--status-yellow);border-left-width:4px;border-radius:12px;background:#fff8ec}.fridge-alert strong{color:#92600a;font-size:14px}.fridge-alert span{color:#9a7430;font-size:13px}.fridge-alert.danger{border-color:var(--status-red);background:#fef2f2}.fridge-alert.danger strong{color:#b42318}.fridge-alert.danger span{color:#b9554c}.fridge-group-head{display:flex;align-items:baseline;justify-content:space-between;margin:6px 2px 0;color:var(--ink);font-size:14px;font-weight:700}.fridge-group-head em{color:var(--muted);font-style:normal;font-size:13px;font-weight:600}.fridge-item{display:flex;align-items:center;gap:12px;padding:14px 18px;border-left:4px solid var(--accent, var(--klein))}.fridge-item-main{display:grid;gap:2px;flex:1;min-width:0}.fridge-item-main strong{color:var(--ink);font-size:15px}.fridge-item-main span{color:var(--muted);font-size:13px}.fridge-item-meta{display:grid;gap:2px;text-align:right;white-space:nowrap}.fridge-days{font-size:13px;font-weight:700}.fridge-item-meta small{color:var(--muted);font-size:12px}.fridge-del{flex:none;width:32px;height:32px;min-height:32px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--muted);font-size:14px;line-height:1}.fridge-del:hover{color:var(--status-red);border-color:var(--status-red)}.fridge-manage{margin-top:4px}.fridge-collapse{border:1px solid var(--line);border-radius:12px;background:var(--card);overflow:hidden}.fridge-collapse>summary{padding:14px 18px;list-style:none;cursor:pointer;color:var(--klein);font-size:14px;font-weight:700}.fridge-collapse>summary::-webkit-details-marker{display:none}.fridge-collapse[open]>summary{border-bottom:1px solid var(--line)}.fridge-collapse-body{padding:4px 18px 18px}.fridge-days-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:8px}.fridge-days-grid .field{margin-top:0}.fridge-ci-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.fridge-ci-row:last-child{border-bottom:0}.fridge-ci-row strong{color:var(--ink);font-size:14px}.fridge-ci-row span{margin-left:6px;color:var(--muted);font-size:12px}.fridge-cooked{border-left:4px solid var(--accent, var(--klein))}.fridge-cooked-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.fridge-cooked-top strong{display:block;color:var(--ink);font-size:15px}.fridge-cooked-top span{color:var(--muted);font-size:12px}.fridge-cooked-top span em{font-style:normal;font-weight:700}.fridge-cooked-serv{text-align:right;white-space:nowrap;color:var(--muted);font-size:13px}.fridge-cooked-serv strong{color:var(--ink);font-size:15px}.fridge-progress{height:6px;margin-top:12px;border-radius:999px;background:#e8edf5;overflow:hidden}.fridge-progress span{display:block;height:100%;border-radius:inherit}.fridge-cooked-actions{display:flex;justify-content:flex-end;margin-top:12px}@media(max-width:600px){.fridge-stats{grid-template-columns:repeat(2,1fr)}}.scan-box{margin:10px 0 4px;padding:12px;border:1px dashed var(--line);border-radius:8px;background:var(--card-2, #f7f9fc)}.scan-box-title{margin:0 0 8px;color:var(--klein);font-size:13px;font-weight:700}.scan-pick-row{display:flex;gap:10px}.scan-pick-btn{flex:1;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);font-size:14px;font-weight:600;cursor:pointer}.scan-pick-btn:hover:not(:disabled){border-color:var(--klein);color:var(--klein)}.scan-pick-btn:disabled{opacity:.55;cursor:default}.scan-status{display:flex;align-items:center;gap:8px;margin:10px 0 0;color:var(--muted);font-size:13px}.scan-status.err{color:var(--status-red)}.scan-spinner{width:14px;height:14px;border:2px solid var(--line);border-top-color:var(--klein);border-radius:50%;animation:scan-spin .8s linear infinite}@keyframes scan-spin{to{transform:rotate(360deg)}}.scan-link{padding:0;border:0;background:none;color:var(--klein);font-size:13px;font-weight:600;text-decoration:underline;cursor:pointer}.scan-result{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.scan-thumb{flex:none;width:48px;height:48px;border-radius:6px;object-fit:cover}.scan-result-main{display:grid;gap:2px;flex:1;min-width:0}.scan-result-main strong{color:var(--ink);font-size:14px}.scan-result-main span{color:var(--muted);font-size:12px}.scan-result-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.app-shell .scan-apply{width:auto;margin:0;padding:8px 12px;min-height:0;font-size:13px}.scan-rows{display:grid;gap:8px;margin-top:12px}.scan-row{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.scan-row.off{opacity:.5}.scan-row-check{flex:none;padding-top:4px}.scan-row-body{display:grid;gap:6px;flex:1;min-width:0}.scan-row-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.scan-row-line .scan-name{flex:1;min-width:120px}.scan-row-body input,.scan-row-body select{min-height:34px;padding:4px 8px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);font-size:13px}.scan-grams{width:72px}.scan-unit{color:var(--muted);font-size:12px}.scan-cat,.scan-store{flex:none}.scan-raw{color:var(--muted);font-size:12px}.scan-badge{flex:none;padding:1px 7px;border-radius:999px;background:var(--klein);color:#fff;font-size:11px;font-weight:700}.scan-commit-row{display:flex;align-items:center;gap:14px;margin-top:14px}.app-shell .scan-commit-row .save-btn{width:auto;margin:0;flex:1}.scan-hint{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.cam-overlay{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;background:#000}.cam-stage{flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden}.cam-video{width:100%;height:100%;object-fit:contain}.cam-err{max-width:320px;margin:0 24px;color:#fff;font-size:14px;line-height:1.6;text-align:center}.cam-controls{flex:none;display:flex;align-items:center;justify-content:space-between;padding:20px 28px calc(20px + env(safe-area-inset-bottom));background:#000}.cam-shutter{width:64px;height:64px;padding:0;border:4px solid rgba(255,255,255,.5);border-radius:50%;background:#fff;cursor:pointer}.cam-shutter:active{transform:scale(.94)}.cam-btn-ghost{min-width:56px;padding:8px 4px;border:0;background:none;color:#fff;font-size:15px;cursor:pointer}.scan-seg{display:inline-flex;flex:none;border:1px solid var(--line);border-radius:4px;overflow:hidden}.scan-seg-btn{min-height:32px;padding:4px 12px;border:0;background:#fff;color:var(--muted);font-size:13px;font-weight:600;cursor:pointer}.scan-seg-btn+.scan-seg-btn{border-left:1px solid var(--line)}.scan-seg-btn.active{background:linear-gradient(145deg,var(--klein),#0646c8);color:#fff}.scan-nutri{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.scan-nutri>span{color:var(--muted);font-size:12px}.scan-nutri input{width:64px;min-height:32px;padding:4px 8px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);font-size:13px}.fridge-ci-actions{display:flex;align-items:center;gap:12px;flex:none}.fridge-ci-edit{padding:2px 0 14px;border-bottom:1px solid var(--line)}.fridge-ci-edit:last-child{border-bottom:0}.fridge-exp-input{width:130px;min-height:32px;padding:4px 6px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);font-size:12px}.scan-unit-sel{flex:none}.fridge-screen{--fr-card: #ffffff;--fr-ink: #1c1c28;--fr-muted: #7e879d;--fr-faint: #a9b0c2;--fr-line: #edf0f7;--fr-blue: #3973df;--fr-blue-soft: #eef5ff;--fr-green: #4da86f;--fr-green-soft: #edf8f2;--fr-amber: #c89644;--fr-amber-soft: #fbf3e4;--fr-red: #d75a62;--fr-red-soft: #fceef1;display:grid;gap:12px;width:min(100%,720px);margin:0 auto;padding:4px 0 14px;color:var(--fr-ink);font-family:Poppins,PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}.fridge-brand-row,.fridge-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.fridge-brand-row{display:none;padding:0 2px}.fridge-brand{display:flex;align-items:center;gap:9px;min-width:0}.fridge-brand img{width:36px;height:36px;object-fit:contain;flex:none}.fridge-brand strong,.fridge-brand span{display:block}.fridge-brand strong{font-size:13px;font-weight:800;line-height:1.1}.fridge-brand span{margin-top:2px;color:var(--fr-muted);font-size:10px;font-weight:500}.fridge-head{align-items:flex-end;padding:2px 4px 0}.fridge-eyebrow{margin:0;color:var(--fr-muted);font-size:12px;font-weight:600;letter-spacing:0}.fridge-head h2{margin:4px 0 0;color:var(--fr-ink);font-size:24px;font-weight:700;line-height:1.1;letter-spacing:0}.fridge-head p{max-width:250px;margin:0;color:var(--fr-muted);font-size:12px;line-height:1.45;text-align:right;text-wrap:balance}.page-layout .fridge-mode-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%;padding:8px;border:1px solid var(--fr-line);border-radius:24px;background:#f2f5fa;box-shadow:0 14px 32px #1c1c280d}.page-layout .fridge-mode-switch .record-switch-pill{min-height:52px;border-radius:18px;background:transparent;color:#7f88a8;font-size:14px;font-weight:700;box-shadow:none}.page-layout .fridge-mode-switch .record-switch-pill.active{background:var(--fr-blue);color:#fff;box-shadow:0 12px 24px #3973df38}.fridge-card{border:1px solid var(--fr-line);border-radius:24px;background:var(--fr-card);box-shadow:0 14px 32px #1c1c280f}.fridge-overview-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.fridge-health{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:700}.fridge-health.good,.fridge-health.idle{background:var(--fr-green-soft);color:var(--fr-green)}.fridge-health.warn{background:var(--fr-amber-soft);color:var(--fr-amber)}.fridge-health.danger{background:var(--fr-red-soft);color:var(--fr-red)}.fridge-overview-top p{margin:8px 0 0;color:var(--fr-muted);font-size:12px;line-height:1.45}.fridge-overview-total{min-width:74px;text-align:right}.fridge-overview-total strong,.fridge-overview-total span{display:block}.fridge-overview-total strong{color:var(--fr-blue);font-size:34px;font-weight:800;line-height:.95;font-variant-numeric:tabular-nums}.fridge-overview-total span{margin-top:5px;color:var(--fr-muted);font-size:11px;font-weight:700}.fridge-metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.fridge-metric{min-width:0;padding:10px 8px;border-radius:16px;text-align:center}.fridge-metric.safe{background:var(--fr-green-soft);color:var(--fr-green)}.fridge-metric.info{background:var(--fr-blue-soft);color:var(--fr-blue)}.fridge-metric.warn{background:var(--fr-amber-soft);color:var(--fr-amber)}.fridge-metric span,.fridge-metric strong,.fridge-metric em{display:block;font-style:normal}.fridge-metric span{font-size:11px;font-weight:700}.fridge-metric strong{margin-top:5px;color:currentColor;font-size:20px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}.fridge-metric em{margin-top:5px;font-size:10px;font-weight:600;opacity:.78}.fridge-storage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.fridge-storage-tile{min-width:0;padding:10px 12px;border-radius:16px;background:#f7f9fd}.fridge-storage-tile.冷藏{background:#eef8f3;color:#4d9a68}.fridge-storage-tile.冷冻{background:#eef5ff;color:#3973df}.fridge-storage-tile.常温{background:#fbf3e4;color:#b88235}.fridge-storage-tile span,.fridge-storage-tile strong,.fridge-storage-tile em{display:block;font-style:normal}.fridge-storage-tile span{font-size:11px;font-weight:700}.fridge-storage-tile strong{margin-top:7px;font-size:22px;font-weight:800;line-height:1}.fridge-storage-tile em{margin-top:4px;font-size:11px;font-weight:600;opacity:.78}.fridge-add-card{padding:18px 16px}.fridge-card-head,.fridge-section-head,.fridge-group-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.fridge-card-head{margin-bottom:14px}.fridge-card-head span{color:var(--fr-muted);font-size:12px;font-weight:700}.fridge-card-head h3{margin:4px 0 0;color:var(--fr-ink);font-size:17px;font-weight:700;line-height:1.25}.fridge-card-head em{color:var(--fr-blue);font-style:normal;font-size:12px;font-weight:700}.fridge-search-shell input,.fridge-add-fields input{width:100%;min-height:52px;border:1px solid #e2e8f2;border-radius:18px;background:#fbfcff;color:var(--fr-ink);font:inherit;font-size:14px;outline:none}.fridge-search-shell input{padding:0 18px}.fridge-search-shell input::placeholder,.fridge-add-fields input::placeholder{color:#a0a8bf}.fridge-search-shell input:focus,.fridge-add-fields input:focus{border-color:var(--fr-blue);box-shadow:0 0 0 4px #3973df1f}.fridge-search-results{margin-top:10px}.fridge-storage-pick{margin-top:12px}.fridge-storage-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fridge-storage-card{min-height:44px;border:1px solid var(--fr-line);border-radius:16px;background:#f7f9fd;color:var(--fr-muted);font-size:13px;font-weight:700;box-shadow:0 8px 20px #1c1c280a}.fridge-storage-card.冷藏{background:#eef8f1;color:#4e9f6d}.fridge-storage-card.冷冻{background:#eef4ff;color:#4d7edc}.fridge-storage-card.常温{background:#fbf3e7;color:#c28b34}.fridge-storage-card.active{border-color:#2877c92e;box-shadow:inset 0 0 0 1px #2877c924}.fridge-add-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.fridge-add-fields label{display:grid;gap:7px;min-width:0}.fridge-add-fields label>span{color:#7f88a8;font-size:12px;font-weight:700}.fridge-add-fields input{padding:0 14px}.app-shell .fridge-screen .fridge-add-btn{width:100%;min-height:58px;margin:14px 0 0;border-radius:18px;background:var(--fr-blue);font-size:15px;font-weight:700;box-shadow:0 14px 26px #3973df38}.fridge-warn,.fridge-preview{margin-top:10px;border-radius:14px;font-size:12px;line-height:1.45}.fridge-preview{color:var(--fr-muted)}.fridge-tool-row{display:grid;gap:10px}.fridge-screen .fridge-collapse{border:1px solid var(--fr-line);border-radius:18px;background:#fff;box-shadow:0 10px 24px #1c1c280a}.fridge-screen .fridge-collapse>summary{padding:14px 16px;color:var(--fr-ink);font-size:13px;font-weight:700}.fridge-screen .fridge-collapse-body{padding:4px 16px 16px}.fridge-section{display:grid;gap:10px}.fridge-section-head h3{margin:0;color:var(--fr-ink);font-size:18px;font-weight:700;line-height:1.2}.fridge-section-head span{color:var(--fr-muted);font-size:12px;font-weight:700}.fridge-priority-list,.fridge-groups,.fridge-item-list{display:grid;gap:10px}.fridge-priority-card,.fridge-item{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;border:1px solid var(--fr-line);border-radius:20px;background:#fff;box-shadow:0 12px 28px #1c1c280d}.fridge-priority-card{padding:15px 16px 15px 18px;overflow:hidden}.fridge-priority-card:before,.fridge-item:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:4px;border-radius:999px;background:var(--accent, var(--fr-blue))}.fridge-priority-card strong,.fridge-priority-card span,.fridge-priority-card em{display:block}.fridge-priority-card strong{color:var(--fr-ink);font-size:15px;font-weight:700}.fridge-priority-card span{margin-top:5px;color:var(--fr-muted);font-size:12px;line-height:1.35}.fridge-priority-card em{flex:none;color:var(--accent, var(--fr-blue));font-style:normal;font-size:12px;font-weight:800;white-space:nowrap}.fridge-empty-soft{padding:18px 16px;border:1px solid var(--fr-line);border-radius:20px;background:#fff;color:var(--fr-muted);font-size:13px;line-height:1.55}.fridge-group{padding:14px;border:1px solid var(--fr-line);border-radius:22px;background:#fff;box-shadow:0 12px 28px #1c1c280d}.fridge-group-head{margin:0 0 10px}.fridge-group-head span{color:var(--fr-ink);font-size:15px;font-weight:700}.fridge-group-head em{color:var(--fr-muted);font-size:12px;font-weight:700}.fridge-item{padding:14px 14px 14px 18px;border-radius:18px;box-shadow:none}.fridge-item-main{display:grid;gap:5px;flex:1;min-width:0}.fridge-item-main strong{color:var(--fr-ink);font-size:14px;font-weight:700;line-height:1.2}.fridge-item-main span{color:var(--fr-muted);font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fridge-item-meta{display:grid;gap:4px;flex:none;text-align:right;white-space:nowrap}.fridge-days{font-size:12px;font-weight:800}.fridge-item-meta small{color:var(--fr-faint);font-size:11px;font-weight:600}.fridge-screen .fridge-manage{margin:0;padding:0 2px;color:var(--fr-muted);font-size:13px}.fridge-item-edit{display:flex;align-items:center;gap:8px;flex:none}.fridge-exp-input{width:126px;min-height:34px;border-radius:10px}.fridge-screen .fridge-del{width:34px;height:34px;min-height:34px;border-radius:10px}.fridge-cooked{border:1px solid var(--fr-line);border-radius:20px;border-left:0;box-shadow:0 12px 28px #1c1c280d}.fridge-screen .scan-box{margin:0;padding:16px;border:1px solid var(--fr-line);border-radius:22px;background:#fff;box-shadow:0 12px 28px #1c1c280d}.fridge-screen .scan-box-title{margin:0 0 8px;color:var(--fr-muted);font-size:12px;font-weight:700}.fridge-screen .scan-pick-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.fridge-screen .scan-pick-btn{min-height:44px;border-radius:14px;font-size:13px;font-weight:700}@media(max-width:820px){.fridge-brand-row{display:flex}}@media(max-width:767px){.fridge-screen{gap:10px}.fridge-head{align-items:flex-start}.fridge-head p{max-width:188px}.fridge-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.fridge-metric{padding:9px 6px}.fridge-metric strong{font-size:19px}.fridge-add-fields{grid-template-columns:1fr 1fr}.fridge-priority-card,.fridge-item{align-items:flex-start}}@media(max-width:390px){.fridge-head p{max-width:168px;font-size:11px}.fridge-metric strong{font-size:17px}.fridge-storage-tile{padding:9px 10px}}.fridge-screen{--fr-blue: #2877c9;--fr-blue-soft: #eef4ff;--fr-green: #4e9f6d;--fr-green-soft: #eef8f1;--fr-amber: #c28b34;--fr-amber-soft: #fbf3e7;--fr-red: #d96a6f;--fr-red-soft: #fceef4;--fr-line: #eceef4;gap:14px}.fridge-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,205px);align-items:end;gap:14px;padding:8px 4px 0}.fridge-title-group{display:grid;justify-items:start;gap:4px}.fridge-head h2{margin-top:4px;font-size:18px;line-height:1.08}.fridge-head p{max-width:205px;font-size:10px;font-weight:500;line-height:1.35}button.fridge-status-card{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--fr-line);border-radius:18px;background:#fff;box-shadow:0 10px 28px #1c1c280f;text-align:left}button.fridge-status-card.warn{color:var(--fr-amber)}button.fridge-status-card.danger{color:var(--fr-red)}.fridge-status-icon{display:grid;place-items:center;width:18px;height:18px;color:currentColor}.fridge-status-icon svg,.fridge-search-icon svg,.fridge-group-title svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.fridge-status-icon svg circle{stroke-width:1.7}.fridge-status-card strong{color:currentColor;font-size:13px;font-weight:700;white-space:nowrap}.fridge-status-card span:not(.fridge-status-icon){min-width:0;color:var(--fr-muted);font-size:11px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fridge-status-card i{color:var(--fr-faint);font-style:normal;font-size:18px;line-height:1}.page-layout .fridge-mode-switch{gap:6px;padding:6px;border-radius:999px;background:linear-gradient(180deg,#fff,#f8faff)}.page-layout .fridge-mode-switch .record-switch-pill{min-height:48px;border-radius:999px;color:var(--fr-muted);font-size:13px}.page-layout .fridge-mode-switch .record-switch-pill.active{background:var(--fr-blue);box-shadow:inset 0 1px #ffffff3d}button.fridge-metric,.fridge-storage-card,.fridge-group{border-color:transparent;box-shadow:none}.fridge-group .fridge-item-list{gap:8px;overflow:visible;background:transparent}.fridge-group .fridge-item{width:100%;padding:12px 10px;border:0!important;border-radius:14px;background:#ffffffd1}.fridge-item-line strong{font-size:11px;white-space:normal}.fridge-item-line span{font-size:10px;white-space:nowrap}.fridge-item-progress{margin-top:1px}.fridge-detail-actions{display:flex;align-items:center;gap:8px;flex:none}.fridge-detail-manage{min-height:32px;padding:0 12px;border:1px solid var(--fr-line);border-radius:999px;background:#fff;color:var(--fr-muted);font-size:11px;font-weight:700;white-space:nowrap}.fridge-detail-manage.active{border-color:#2877c92e;background:#eef4ff;color:var(--fr-blue)}.fridge-detail-delete{min-height:42px;padding:0 14px;border-radius:14px;background:#fcecef;color:var(--fr-red);font-size:12px;font-weight:700;white-space:nowrap}.fridge-screen .fridge-collapse{overflow:hidden;border-color:transparent;border-radius:22px;background:#fff;box-shadow:0 12px 28px #1c1c280d}.fridge-screen .fridge-collapse>summary{min-height:54px;padding:16px 18px;color:var(--fr-ink);font-size:14px;font-weight:700}.fridge-screen .fridge-collapse-body{display:grid;gap:14px;padding:14px 18px 18px}.fridge-screen .fridge-collapse .rec-sub{margin:0;color:var(--fr-muted);font-size:12px;font-weight:600;line-height:1.55}.fridge-screen .fridge-collapse .field-row,.fridge-screen .fridge-collapse .rec-macro-grid,.fridge-screen .fridge-collapse .fridge-days-grid{gap:10px}.fridge-screen .fridge-collapse .field label{color:var(--fr-muted);font-size:11px;font-weight:700}.fridge-screen .scan-box>strong{color:var(--fr-ink);font-size:13px;font-weight:700}.fridge-screen .scan-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-shell .page-layout .fridge-mode-switch{border-radius:999px!important;background:linear-gradient(180deg,#fff,#f8faff)!important;box-shadow:0 10px 28px #1c1c280f!important}.app-shell .page-layout .fridge-mode-switch .record-switch-pill{border-radius:999px!important}.app-shell .fridge-group .fridge-item{border-color:transparent!important}.fridge-screen .fridge-collapse *,.fridge-screen .scan-box *{min-width:0}.fridge-screen .fridge-collapse .rec-sub,.fridge-screen .scan-box-title{max-width:100%;overflow-wrap:anywhere}.fridge-screen .fridge-collapse-body{grid-template-columns:minmax(0,1fr)!important}.fridge-screen .scan-box,.fridge-screen .scan-pick-row,.fridge-screen .scan-picks{max-width:100%}.fridge-screen .fridge-collapse .rec-macro-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fridge-screen .fridge-collapse .fridge-days-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.fridge-screen .fridge-collapse .field input,.fridge-screen .fridge-collapse .field select{width:100%!important;max-width:100%}@media(max-width:390px){.fridge-screen .fridge-collapse .fridge-days-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.fridge-item-progress{background:#1c1c2814}.fridge-group{border-color:transparent!important;box-shadow:none!important}.fridge-group.fridge{background:var(--fr-green-soft)!important}.fridge-group.freezer{background:var(--fr-blue-soft)!important}.fridge-group.room{background:var(--fr-amber-soft)!important}.fridge-group .fridge-item-list{gap:8px!important;overflow:visible!important;background:transparent!important}.fridge-group .fridge-item{width:100%;padding:12px 10px!important;border:0!important;border-radius:14px!important;background:#ffffffd6!important;box-shadow:none!important}.fridge-item-line{gap:6px}.fridge-item-line strong{white-space:normal!important}.fridge-item-line span{white-space:nowrap}.fridge-screen .fridge-collapse{overflow:hidden;border-color:transparent!important;border-radius:22px!important;background:#fff;box-shadow:0 12px 28px #1c1c280d!important}.fridge-screen .fridge-collapse>summary{min-height:54px;padding:16px 18px!important;color:var(--fr-ink);font-size:14px!important;font-weight:700}.fridge-screen .fridge-collapse[open]>summary{border-bottom:1px solid var(--fr-line);background:#fff}.fridge-screen .fridge-collapse-body{display:grid;gap:14px;padding:14px 18px 18px!important}.fridge-screen .fridge-collapse .rec-sub{margin:0!important;color:var(--fr-muted);font-size:12px;font-weight:600;line-height:1.55}.fridge-screen .fridge-collapse input,.fridge-screen .fridge-collapse select{min-height:44px;border:1px solid var(--fr-line);border-radius:14px;background:#fbfcff;color:var(--fr-ink);font-size:13px}.fridge-screen .fridge-collapse .save-btn{width:100%;min-height:48px;margin-top:2px!important;border-radius:16px;font-size:14px}.fridge-screen .scan-box{padding:14px;border:1px solid var(--fr-line);border-radius:18px;background:#fbfcff;box-shadow:none}.fridge-screen .scan-picks,.fridge-screen .scan-pick-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fridge-screen .scan-pick-btn{min-height:44px;border:1px solid var(--fr-line);border-radius:14px;background:#fff;color:var(--fr-ink);font-size:13px;font-weight:700}.fridge-overview{padding:16px}.fridge-overview-title{margin:0 0 12px;color:var(--fr-ink);font-size:14px;font-weight:700;line-height:1.25}.fridge-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}button.fridge-metric{display:grid;place-items:center;width:100%;min-height:64px;padding:10px 8px;border:1px solid var(--fr-line);border-radius:16px;cursor:pointer}.fridge-metric strong{display:flex;align-items:baseline;gap:4px;margin:0;color:currentColor;font-size:24px;font-weight:800;line-height:1}.fridge-metric small{font-size:11px;font-weight:700}.fridge-metric span{margin-top:6px;color:var(--fr-muted);font-size:11px;font-weight:600}.fridge-card-head{align-items:center;margin-bottom:12px}.fridge-card-head h3{margin:0;font-size:14px}.fridge-search-shell{position:relative}.fridge-search-icon{position:absolute;left:15px;top:50%;z-index:1;width:18px;height:18px;color:var(--fr-muted);transform:translateY(-50%)}.fridge-search-shell input{padding-left:46px}.fridge-field-label{display:block;margin:0 0 7px;color:var(--fr-muted);font-size:12px;font-weight:700}.fridge-section-head h3{font-size:15px}.fridge-view-all{color:var(--fr-blue);font-size:11px;font-weight:700}.fridge-priority-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fridge-priority-card{display:grid;align-content:space-between;min-height:104px;padding:14px;border:0;border-radius:18px;box-shadow:none;overflow:hidden}.fridge-priority-card:before,.fridge-item:before{display:none}.fridge-priority-card.soon,.fridge-priority-card.urgent{background:linear-gradient(135deg,#fff9ee,#fbf0dc)}.fridge-priority-card.expired{background:linear-gradient(135deg,#fff4f6,#fce9ef)}.fridge-priority-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.fridge-priority-top strong{color:var(--fr-ink);font-size:14px;font-weight:700;line-height:1.2}.fridge-priority-top span{flex:none;padding:4px 8px;border:1px solid rgb(40 119 201 / 18%);border-radius:10px;background:#ffffff8f;color:var(--fr-blue);font-size:10px;font-weight:700;line-height:1}.fridge-priority-card p{margin:8px 0 0;color:var(--fr-muted);font-size:11px;font-weight:600;line-height:1.3}.fridge-priority-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.fridge-priority-bottom em{color:var(--accent, var(--fr-amber));font-style:normal;font-size:14px;font-weight:800;line-height:1.15}.fridge-priority-bottom i{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:#ffffffbf;color:var(--fr-muted);font-style:normal;font-size:18px;box-shadow:0 8px 18px #1c1c2812}.fridge-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fridge-group{padding:12px;border-radius:18px;box-shadow:0 10px 24px #1c1c280d}.fridge-group.fridge{border-color:#dce9ff;background:linear-gradient(180deg,#f8fbff,#f2f7ff);color:var(--fr-blue)}.fridge-group.freezer{border-color:#e1d8f3;background:linear-gradient(180deg,#fbf9ff,#f5f1ff);color:#6a55a8}.fridge-group.room{border-color:#f0dfc8;background:linear-gradient(180deg,#fffaf3,#fbf2e6);color:#b17927}.fridge-group-head{align-items:center;margin-bottom:10px}.fridge-group-title{display:inline-flex;align-items:center;gap:6px;color:currentColor;font-size:13px;font-weight:800}.fridge-group-title i{display:grid;place-items:center;width:17px;height:17px}.fridge-group-head em{color:var(--fr-muted);font-size:10px;font-weight:700;white-space:nowrap}.fridge-item-list{gap:0;overflow:hidden;border-radius:14px;background:#ffffffbd}.fridge-item{display:block;padding:10px 0;border:0;border-bottom:1px solid var(--fr-line);border-radius:0;background:transparent;box-shadow:none}.fridge-item:last-child{border-bottom:0}.fridge-item-main{gap:6px}.fridge-item-line{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.fridge-item-line strong{min-width:0;color:var(--fr-ink);font-size:11px;font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fridge-item-line span{flex:none;color:var(--fr-muted);font-size:10px;font-weight:700;line-height:1}.fridge-item-progress{height:4px;overflow:hidden;border-radius:999px;background:#e8edf3}.fridge-item-progress span{display:block;width:var(--pct, 60%);height:100%;border-radius:inherit;background:var(--accent, var(--fr-green))}.fridge-item-main small{display:block;color:var(--fr-green);font-size:10px;font-weight:600;line-height:1;text-align:right}.fridge-zone-empty{padding:12px 0;color:var(--fr-muted);font-size:11px;font-weight:600;text-align:center}button.fridge-group-foot{margin-top:10px;width:100%;min-height:32px;padding-top:10px;border:0;border-top:1px solid var(--fr-line);background:none;color:currentColor;font-size:11px;font-weight:700;text-align:center}.fridge-detail-overlay{position:fixed;inset:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:#0a14283d}.fridge-detail-sheet{width:min(100%,720px);max-height:min(78vh,760px);overflow:auto;border:1px solid var(--fr-line);border-radius:24px;background:#fff;box-shadow:0 18px 40px #1c1c281f}.fridge-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 16px 14px;border-bottom:1px solid var(--fr-line)}.fridge-detail-head h3{margin:0;color:var(--fr-ink);font-size:15px;font-weight:700;line-height:1.2}.fridge-detail-head p{margin:5px 0 0;color:var(--fr-muted);font-size:11px;font-weight:600;line-height:1.4}.fridge-detail-close{width:32px;min-width:32px;min-height:32px;border:1px solid var(--fr-line);border-radius:999px;background:#fff;color:var(--fr-muted);font-size:14px;line-height:1}.fridge-detail-empty{padding:18px 16px 22px;color:var(--fr-muted);font-size:12px;line-height:1.5}.fridge-detail-list{display:grid;gap:10px;padding:14px 16px 16px}.fridge-detail-item{padding:14px;border:1px solid var(--fr-line);border-radius:18px;background:#fff}.fridge-detail-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.fridge-detail-top strong{display:block;color:var(--fr-ink);font-size:13px;font-weight:700;line-height:1.2}.fridge-detail-top span{display:block;margin-top:5px;color:var(--fr-muted);font-size:11px;font-weight:600;line-height:1.35}.fridge-detail-top em{flex:none;font-style:normal;font-size:11px;font-weight:800;line-height:1.2;text-align:right}.fridge-detail-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px;color:var(--fr-muted);font-size:11px;font-weight:600}.fridge-detail-edit{display:flex;align-items:end;gap:10px;margin-top:12px}.fridge-detail-edit label{display:grid;gap:6px;flex:1}.fridge-detail-edit label span{color:var(--fr-ink);font-size:11px;font-weight:700}.fridge-detail-edit input{width:100%;min-height:42px;padding:0 12px;border:1px solid var(--fr-line);border-radius:14px;background:#fff;color:var(--fr-ink);font:inherit;font-size:12px;outline:none}.fridge-detail-save{min-height:42px;padding:0 14px;border-radius:14px;background:var(--fr-blue);color:#fff;font-size:12px;font-weight:700;white-space:nowrap}.fridge-detail-save:disabled{background:#d6dbe7;color:#f8f9fc}@media(max-width:767px){.fridge-head{grid-template-columns:minmax(0,1fr) minmax(128px,176px);gap:12px}.fridge-head p{max-width:176px}.fridge-status-card{gap:8px}.fridge-status-card span:not(.fridge-status-icon){font-size:10px}.fridge-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fridge-group{padding:10px;border-radius:16px}.fridge-group-head{display:block}.fridge-group-head em{display:block;margin-top:5px}.fridge-item-list{border-radius:12px}.fridge-detail-overlay{padding:10px}.fridge-detail-sheet{border-radius:22px}.fridge-detail-edit{flex-direction:column;align-items:stretch}}@media(max-width:390px){.fridge-head{grid-template-columns:minmax(0,1fr) 138px}.fridge-status-card span:not(.fridge-status-icon){max-width:150px}.fridge-group{padding:9px}.fridge-group-title{font-size:12px}}.page-layout .fridge-mode-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;padding:6px;border:1px solid var(--fr-line);border-radius:999px;background:linear-gradient(180deg,#fff,#f8faff);box-shadow:0 10px 28px #1c1c280f}.page-layout .fridge-mode-switch .record-switch-pill{min-width:0;min-height:48px;border-radius:999px;background:transparent;color:var(--fr-muted);font-size:13px;font-weight:700;box-shadow:none}.page-layout .fridge-mode-switch .record-switch-pill.active{background:var(--fr-blue);color:#fff;box-shadow:inset 0 1px #ffffff3d}.fridge-metric.safe,.fridge-storage-card.冷藏,.fridge-group.fridge{background:var(--fr-green-soft);color:var(--fr-green)}.fridge-metric.info,.fridge-storage-card.冷冻,.fridge-group.freezer{background:var(--fr-blue-soft);color:#4d7edc}.fridge-metric.warn,.fridge-storage-card.常温,.fridge-group.room{background:var(--fr-amber-soft);color:var(--fr-amber)}.fridge-metric.danger{background:var(--fr-red-soft);color:var(--fr-red)}button.fridge-metric,.fridge-storage-card,.fridge-group,.profile-target-card{border-color:transparent;box-shadow:none}.fridge-metric span,.fridge-group-head em,.fridge-item-main small,.fridge-group-foot{color:#7e879deb}.fridge-group-head span,.fridge-group-title{color:currentColor}.fridge-group .fridge-item{border-color:transparent;background:#ffffffb8}.fridge-group .fridge-item:before,.fridge-priority-card:before{display:none}.fridge-cooked-meal-card{padding:16px}.fridge-cooked-meal-tabs .seg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;padding:6px;border:0;border-radius:20px;background:#f7f9fd}.fridge-cooked-meal-tabs .seg-item{min-height:44px;border-radius:16px;background:transparent;color:var(--fr-muted);font-size:13px;font-weight:700}.fridge-cooked-meal-tabs .seg-item.active{background:var(--fr-blue);color:#fff}.fridge-alert{padding:14px 16px;border:1px solid transparent;border-radius:18px;background:var(--fr-amber-soft);box-shadow:none}.fridge-alert.danger{border-color:transparent;background:var(--fr-red-soft)}.fridge-cooked{display:grid;gap:12px;padding:16px;border:1px solid var(--fr-line);border-radius:22px;background:#fff;box-shadow:0 12px 28px #1c1c280d}.fridge-cooked-top strong{font-size:15px}.fridge-cooked-top span,.fridge-cooked-serv,.fridge-cooked .rec-dish-nutri{font-size:11px;line-height:1.45}.fridge-cooked .fridge-progress{margin:0}.fridge-cooked-actions{margin-top:0}.fridge-cooked-actions .rec-eat-btn{width:100%;min-height:44px}.fridge-photo-card{padding:18px}.fridge-photo-card .rec-card-head{align-items:flex-start}.fridge-photo-card .scan-pick-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.fridge-photo-card .scan-pick-btn{min-height:50px;border:1px solid var(--fr-line);border-radius:16px;background:#fbfcff;color:var(--fr-ink);font-size:13px;font-weight:700}.history-screen{--hist-card: #ffffff;--hist-ink: #1c1c28;--hist-muted: #8a8fa3;--hist-faint: #a7adbf;--hist-line: #eceef4;--hist-blue: #2877c9;--hist-blue-deep: #1f67b1;--hist-protein: #76a9e5;--hist-protein-soft: rgba(118, 169, 229, .14);--hist-protein-ink: #2f6bb0;--hist-carbs: #8e7bc4;--hist-carbs-soft: rgba(142, 123, 196, .14);--hist-carbs-ink: #6a559e;--hist-fat: #c6a574;--hist-fat-soft: rgba(198, 165, 116, .16);--hist-fat-ink: #b17927;--hist-breakfast: #eef8f1;--hist-breakfast-ink: #4e9f6d;--hist-lunch: #fbf3e7;--hist-lunch-ink: #c28b34;--hist-dinner: #eef4ff;--hist-dinner-ink: #4d7edc;--hist-snack: #fceef4;--hist-snack-ink: #d96a98;--hist-other: #f4f5f8;--hist-other-ink: #7b8193;--hist-shadow: 0 10px 28px rgb(28 28 40 / 6%);min-height:100%;color:var(--hist-ink);font-family:Poppins,PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased}.history-screen *{box-sizing:border-box}.history-inner{width:100%;display:flex;flex-direction:column;gap:14px;padding:4px 0 18px}.history-brand-row{display:none;align-items:center;justify-content:space-between;gap:14px;padding:0 2px}.history-brand{display:flex;align-items:center;gap:10px;min-width:0}.history-brand img{width:36px;height:36px;object-fit:contain;flex:none}.history-brand strong,.history-brand span{display:block}.history-brand strong{font-size:13px;font-weight:800;line-height:1.1}.history-brand span{margin-top:2px;color:var(--hist-muted);font-size:10px;font-weight:500}.history-status-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid var(--hist-line);border-radius:999px;background:#fff;box-shadow:var(--hist-shadow);white-space:nowrap}.history-status-dot{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--hist-blue);color:#fff;font-size:8px;font-weight:700;line-height:1}.history-status-label{color:var(--hist-blue);font-size:11px;font-weight:700;line-height:1}.history-status-chevron{color:var(--hist-faint);font-size:13px;line-height:1}.history-head{display:grid;gap:4px;padding:8px 4px 0}.history-title-group{display:grid;gap:4px}.history-eyebrow{margin:0;color:var(--hist-muted);font-size:12px;font-weight:600;line-height:1}.history-head h1{margin:0;font-size:18px;font-weight:700;line-height:1.08}.history-head p{max-width:205px;margin:0;color:var(--hist-muted);font-size:10px;font-weight:500;line-height:1.35}.history-card,.history-day-card{border:1px solid var(--hist-line);border-radius:24px;background:var(--hist-card);box-shadow:var(--hist-shadow)}.history-summary{overflow:hidden;padding:16px}.history-summary-title{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}.history-summary-title strong{font-size:16px;font-weight:700;line-height:1}.history-summary-title span{color:var(--hist-muted);font-size:11px;font-weight:600}.history-summary-main{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,2.05fr);align-items:center;gap:10px}.history-average span,.history-average em{display:block}.history-average span{color:var(--hist-ink);font-size:12px;font-weight:700;line-height:1.2}.history-average strong{display:block;margin-top:10px;color:var(--hist-blue);font-size:clamp(36px,4.8vw,50px);font-weight:800;line-height:.92;font-variant-numeric:tabular-nums}.history-average em{margin-top:6px;color:var(--hist-muted);font-size:13px;font-weight:500;font-style:normal}.history-trend{min-width:0}.history-trend svg{display:block;width:100%;height:auto}.history-trend text{fill:var(--hist-faint);font-size:8px;font-weight:600}.history-trend line{stroke:#edf1f7;stroke-width:1}.history-trend-area{fill:url(#historyTrendFill)}.history-trend-line{fill:none;stroke:var(--hist-blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.history-trend-halo{fill:#2877c924}.history-trend circle{stroke:#fff;stroke-width:2}.history-trend circle.logged{fill:var(--hist-blue)}.history-trend circle.muted{fill:#d6dbea}.history-trend-labels{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding-left:26px;margin-top:-16px;color:var(--hist-faint);font-size:10px;font-weight:600;line-height:1.2;text-align:center;transform:translate(-10px)}.history-macro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.history-macro{min-width:0;padding:12px 10px;border:1px solid var(--hist-line);border-radius:18px;text-align:center}.history-macro span,.history-macro em{display:block;font-style:normal}.history-macro span{font-size:12px;font-weight:700;line-height:1.15}.history-macro strong{display:block;margin-top:8px;font-size:24px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}.history-macro em{margin-top:4px;color:var(--hist-muted);font-size:10px;font-weight:500}.history-macro.protein{background:var(--hist-protein-soft);color:var(--hist-blue)}.history-macro.carbs{background:var(--hist-carbs-soft);color:var(--hist-carbs-ink)}.history-macro.fat{background:var(--hist-fat-soft);color:var(--hist-fat-ink)}.history-list{display:flex;flex-direction:column;gap:14px}.history-empty{padding:22px 18px;color:var(--hist-muted);font-size:14px}.history-day-card{overflow:hidden}.history-day-toggle{width:100%;border:0;padding:16px;background:transparent;color:inherit;text-align:left}.history-day-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.history-day-left{min-width:0}.history-day-title-row{display:flex;align-items:center;gap:8px;min-width:0}.history-day-date{min-width:0;font-size:15px;font-weight:700;line-height:1.2}.history-day-pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:12px;font-size:11px;font-weight:700;line-height:1;white-space:nowrap}.history-day-pill.today{border:1px solid rgb(40 119 201 / 28%);background:#f7faff;color:var(--hist-blue)}.history-day-pill.yesterday{background:#f3f4f7;color:var(--hist-muted)}.history-day-right{display:flex;align-items:center;gap:10px}.history-day-total{display:inline-flex;align-items:baseline;gap:6px;color:var(--hist-muted);white-space:nowrap}.history-day-total strong{color:var(--hist-ink);font-size:18px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}.history-day-total small{font-size:10px;font-weight:600}.history-day-caret{color:var(--hist-faint);font-size:14px;line-height:1}.history-day-caret.open{color:var(--hist-muted)}.history-day-macros-inline{margin-top:8px;color:var(--hist-muted);font-size:10px;font-weight:500;line-height:1.35;text-align:right}.history-day-body{display:flex;flex-direction:column;gap:12px;padding:0 16px 16px}.history-meal-card{border:1px solid var(--hist-line);border-radius:18px;background:#fff;box-shadow:0 6px 18px #1c1c280a;padding:12px}.history-meal-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.history-meal-head-left{display:flex;align-items:center;gap:8px;min-width:0}.history-meal-tag{display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:32px;padding:0 10px;border-radius:12px;font-size:12px;font-weight:700;line-height:1;white-space:nowrap}.history-meal-tag.breakfast{background:var(--hist-breakfast);color:var(--hist-breakfast-ink)}.history-meal-tag.lunch{background:var(--hist-lunch);color:var(--hist-lunch-ink)}.history-meal-tag.dinner{background:var(--hist-dinner);color:var(--hist-dinner-ink)}.history-meal-tag.snack{background:var(--hist-snack);color:var(--hist-snack-ink)}.history-meal-tag.other{background:var(--hist-other);color:var(--hist-other-ink)}.history-meal-time{color:var(--hist-muted);font-size:10px;font-weight:500;line-height:1}.history-meal-total{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap}.history-meal-total strong{color:var(--hist-ink);font-size:16px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.history-meal-total small{color:var(--hist-muted);font-size:10px;font-weight:600}.history-entry-list{display:flex;flex-direction:column;margin-top:10px}.history-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 0 0}.history-entry:first-child{padding-top:0}.history-entry+.history-entry{border-top:1px solid var(--hist-line)}.history-entry-copy{min-width:0}.history-entry-copy strong,.history-entry-copy span{display:block}.history-entry-copy strong{color:var(--hist-ink);font-size:13px;font-weight:700;line-height:1.35}.history-entry-copy span{margin-top:5px;color:var(--hist-muted);font-size:10px;font-weight:500;line-height:1.35}.history-entry-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px;min-width:58px}.history-entry-right em{color:var(--hist-ink);font-size:16px;font-style:normal;font-weight:600;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}.history-entry-more{color:var(--hist-faint);font-size:16px;line-height:1}@media(max-width:1023px){.history-inner{padding-bottom:calc(90px + env(safe-area-inset-bottom))}}@media(max-width:820px){.history-brand-row{display:flex}}@media(max-width:480px){.history-inner{gap:14px}.history-head h1{font-size:18px}.history-head p{max-width:190px;font-size:10px}.history-summary{padding:15px 16px 16px}.history-summary-title{margin-bottom:10px}.history-summary-title strong{font-size:13px}.history-summary-title span{font-size:11px}.history-summary-main{gap:10px}.history-average span{font-size:12px}.history-average strong{font-size:38px}.history-average em{font-size:12px}.history-trend text{font-size:8px}.history-trend-labels{padding-left:22px;margin-top:-20px;font-size:10px}.history-macro-grid{gap:10px;margin-top:10px}.history-macro{padding:10px 8px;border-radius:18px}.history-macro span{font-size:12px}.history-macro strong{margin-top:8px;font-size:18px}.history-macro em{font-size:12px}.history-day-toggle{padding:14px}.history-day-title-row{gap:8px}.history-day-date{font-size:15px}.history-day-pill{min-height:28px;padding:0 10px;font-size:11px}.history-day-total strong{font-size:18px}.history-day-total small,.history-day-macros-inline,.history-meal-time,.history-meal-total small,.history-entry-copy span{font-size:10px}.history-day-body{gap:12px;padding:0 14px 14px}.history-meal-card{padding:12px;border-radius:18px}.history-meal-head-left{gap:8px}.history-meal-tag{min-width:48px;min-height:32px;padding:0 10px;font-size:12px}.history-meal-total strong{font-size:16px}.history-entry{gap:10px}.history-entry-copy strong,.history-entry-right em{font-size:13px}.history-entry-right{gap:10px;min-width:58px}}.recipes-screen{--rcp-ink: #1c1c28;--rcp-muted: #8a8fa3;--rcp-faint: #b5bacc;--rcp-line: #eceef4;--rcp-blue: #2877c9;--rcp-blue-deep: #1f67b1;--rcp-green: #4e9f6d;--rcp-green-soft: #eef8f1;--rcp-lean: #60ae7b;--rcp-lean-soft: #eff8f2;--rcp-build: #4d7edc;--rcp-build-soft: #eef4ff;--rcp-steady: #c28b34;--rcp-steady-soft: #fbf3e7;--rcp-custom: #8e7bc4;--rcp-custom-soft: #f3effc;--rcp-warn: #d18d22;--rcp-warn-soft: #fff7ea;--rcp-danger: #d85c63;--rcp-danger-soft: #fceef1;--rcp-shadow: 0 14px 32px rgb(28 28 40 / 6%);font-family:Poppins,PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:var(--rcp-ink);-webkit-font-smoothing:antialiased}.recipes-screen *{box-sizing:border-box}.recipes-inner{width:min(100%,860px);margin:0 auto;padding:4px 0 30px;display:flex;flex-direction:column;gap:16px}.recipes-brand-row{display:flex;align-items:center;padding:8px 4px 0}.recipes-brand{display:flex;align-items:center;gap:10px}.recipes-brand img{width:38px;height:38px;object-fit:contain;flex:none}.recipes-brand strong,.recipes-brand span{display:block}.recipes-brand strong{font-size:13px;line-height:1.1;font-weight:800}.recipes-brand span{margin-top:2px;color:var(--rcp-muted);font-size:10px;font-weight:500}.recipes-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,220px);align-items:end;gap:12px 18px;padding:0 4px}.recipes-title-group{display:grid;gap:4px}.recipes-eyebrow{margin:0;color:var(--rcp-muted);font-size:14px;font-weight:500;line-height:1.2}.recipes-title-group h1{margin:0;font-size:18px;line-height:1.08;font-weight:700;letter-spacing:-.03em}.recipes-head>p{margin:0;max-width:220px;justify-self:end;color:var(--rcp-muted);text-align:right;font-size:11px;line-height:1.45}.recipes-card{background:#fff;border:1px solid var(--rcp-line);border-radius:24px;box-shadow:var(--rcp-shadow)}.recipes-msg{padding:11px 14px;border-radius:16px;font-size:13px;line-height:1.5}.recipes-msg.ok{border:1px solid #d7eedf;background:#f2fbf5;color:#2f9c66}.recipes-msg.err{border:1px solid #f4d8dc;background:#fff5f6;color:#c2464d}.recipes-builder{padding:18px 18px 20px;display:grid;gap:16px}.recipes-builder-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;position:relative}.recipes-builder-copy h3,.recipes-filter-card h3,.recipes-section-title h3{margin:0;font-size:16px;font-weight:700;letter-spacing:-.02em}.recipes-builder-copy p{margin:6px 0 0;color:var(--rcp-muted);font-size:13px;line-height:1.45}.recipes-picker-wrap{position:relative}.recipes-picker-toggle{position:relative;min-height:50px;min-width:192px;padding:0 44px 0 18px;border:1px solid var(--rcp-line);border-radius:18px;background:#fff;color:var(--rcp-ink);font-size:14px;font-weight:600;box-shadow:0 8px 20px #1c1c280a}.recipes-picker-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:5;width:min(280px,74vw);max-height:260px;overflow:auto;padding:10px;border:1px solid var(--rcp-line);border-radius:18px;background:#fff;box-shadow:0 16px 36px #1c1c281a}.recipes-picker-option{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:10px;min-height:42px;padding:8px 10px;border-radius:12px;cursor:pointer}.recipes-picker-option+.recipes-picker-option{margin-top:2px}.recipes-picker-option:hover{background:#f7f9fd}.recipes-picker-option input{margin:0}.recipes-picker-option span{display:block;min-width:0}.recipes-picker-option strong,.recipes-picker-option em{display:block;font-style:normal}.recipes-picker-option strong{font-size:12px;font-weight:700}.recipes-picker-option em{margin-top:2px;color:var(--rcp-muted);font-size:11px}.recipes-picker-toggle i,.recipes-filter-caret,.recipes-method-head button{display:grid;place-items:center}.recipes-picker-toggle i{position:absolute;top:50%;right:16px;width:16px;height:16px;margin-top:-8px;color:var(--rcp-faint)}.recipes-picker-toggle svg,.recipes-filter-caret svg,.recipes-method-head button svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.recipes-selected-block{display:grid;gap:10px}.recipes-subhead,.recipes-label,.recipes-method-head span,.recipes-available-head{color:var(--rcp-muted);font-size:13px;font-weight:600}.recipes-selected-list{display:flex;flex-wrap:wrap;gap:10px}.recipes-selected-chip{position:relative;min-width:118px;min-height:70px;padding:14px 14px 12px;border:1px solid var(--rcp-line);border-radius:18px;background:linear-gradient(180deg,#fff,#fbfcff);box-shadow:0 10px 24px #1c1c280a}.recipes-selected-chip strong,.recipes-selected-chip span{display:block}.recipes-selected-chip strong{font-size:13px;font-weight:700;line-height:1.25}.recipes-selected-chip span{margin-top:6px;color:var(--rcp-muted);font-size:12px;font-weight:500}.recipes-selected-close{position:absolute;top:8px;right:8px;width:22px;height:22px;min-height:22px;border-radius:999px;background:#eceef4e0;color:#5f6578;font-size:14px;line-height:1}.recipes-selected-empty{min-height:64px;width:100%;padding:20px 18px;border:1px dashed #d9deea;border-radius:18px;color:var(--rcp-muted);font-size:13px;line-height:1.45}.recipes-weight-box{display:grid;gap:10px;padding:14px;border:1px solid var(--rcp-line);border-radius:18px;background:#fbfcff}.recipes-weight-head{color:var(--rcp-muted);font-size:12px;font-weight:600}.recipes-weight-list{display:grid;gap:10px}.recipes-weight-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.recipes-weight-copy{display:inline-flex;align-items:baseline;gap:8px;min-width:0}.recipes-weight-copy strong,.recipes-weight-copy em{display:block;font-style:normal}.recipes-weight-copy strong{font-size:13px;font-weight:700;white-space:nowrap}.recipes-weight-copy em{color:var(--rcp-muted);font-size:11px;white-space:nowrap}.recipes-weight-input{display:inline-flex;align-items:center;gap:8px;min-height:40px;width:132px;padding:0 12px;border:1px solid var(--rcp-line);border-radius:14px;background:#fff}.recipes-weight-input input{width:48px;border:0;outline:none;background:transparent;color:var(--rcp-ink);font:inherit;font-size:13px;font-weight:600;text-align:right}.recipes-weight-input i{color:var(--rcp-muted);font-style:normal;font-size:12px;white-space:nowrap}.recipes-storage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;overflow:hidden;border:1px solid var(--rcp-line);border-radius:18px;background:#f8f9fd}.recipes-storage-option{min-height:66px;padding:12px 14px;border-radius:0;background:transparent;color:#66708a;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;column-gap:10px;row-gap:2px}.recipes-storage-option+.recipes-storage-option{border-left:1px solid rgb(236 238 244 / 86%)}.recipes-storage-option i{width:18px;height:18px;color:currentColor}.recipes-storage-option i svg,.recipes-filter-icon svg,.recipes-refresh-btn svg,.recipes-primary-btn svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.recipes-storage-option strong,.recipes-storage-option span{display:block;grid-column:2}.recipes-storage-option strong{font-size:13px;font-weight:700}.recipes-storage-option span{margin-top:2px;font-size:11px;font-weight:500}.recipes-storage-option.active{background:linear-gradient(135deg,var(--rcp-blue) 0%,#2f83dc 100%);color:#fff;box-shadow:inset 0 0 0 1px #ffffff14}.recipes-method-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.recipes-method-head button{width:32px;height:32px;min-height:32px;border-radius:999px;background:#fff;color:var(--rcp-faint)}.recipes-method-list{display:flex;flex-wrap:wrap;gap:10px}.recipes-method-chip{min-height:42px;padding:0 16px;border:1px solid var(--rcp-line);border-radius:14px;background:#fff;color:#2f3448;font-size:13px;font-weight:600}.recipes-method-chip.active{border-color:#2877c929;background:linear-gradient(135deg,var(--rcp-blue) 0%,#2f83dc 100%);color:#fff}.recipes-builder-bottom{display:grid;grid-template-columns:minmax(0,220px) auto;gap:14px;align-items:end}.recipes-serving{display:grid;gap:10px}.recipes-serving-label{color:var(--rcp-muted);font-size:13px;font-weight:600}.recipes-stepper{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;min-height:52px;border:1px solid var(--rcp-line);border-radius:16px;background:#fff;overflow:hidden}.recipes-stepper button{height:100%;min-height:52px;background:transparent;color:var(--rcp-ink);font-size:24px;line-height:1}.recipes-stepper strong{display:block;text-align:center;font-size:15px;font-weight:700}.recipes-stepper.compact{min-height:42px;grid-template-columns:36px minmax(0,1fr) 36px;border-radius:12px}.recipes-stepper.compact button{min-height:42px;font-size:19px}.recipes-stepper.compact strong{font-size:13px}.recipes-primary-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;min-width:188px;padding:0 18px;border-radius:16px;background:linear-gradient(135deg,var(--rcp-blue) 0%,#2f83dc 100%);color:#fff;font-size:15px;font-weight:700;box-shadow:0 14px 28px #2877c93d;justify-self:start}.recipes-weight-row{grid-template-columns:minmax(0,1fr) minmax(118px,132px)}.recipes-weight-copy{display:grid;grid-template-columns:minmax(0,auto) auto;align-items:baseline;justify-content:start;gap:10px}.recipes-weight-copy strong,.recipes-weight-copy em{min-width:0}.recipes-weight-input i{width:18px}.recipes-primary-btn:disabled,.recipes-refresh-btn:disabled,.recipes-make-btn:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}.recipes-filter-card{padding:18px;display:grid;gap:16px}.recipes-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.recipes-filter-select{position:relative;min-height:74px;padding:14px 44px 14px 54px;border:1px solid var(--rcp-line);border-radius:18px;background:#fff;box-shadow:0 10px 24px #1c1c280a}.recipes-filter-icon{position:absolute;top:22px;left:16px;width:22px;height:22px;color:var(--rcp-blue)}.recipes-filter-copy{display:block}.recipes-filter-copy em,.recipes-filter-copy strong{display:block;font-style:normal}.recipes-filter-copy em{color:var(--rcp-muted);font-size:12px;font-weight:500}.recipes-filter-copy strong{margin-top:4px;color:var(--rcp-ink);font-size:14px;font-weight:700}.recipes-filter-select select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.recipes-filter-caret{position:absolute;top:50%;right:16px;width:16px;height:16px;margin-top:-8px;color:var(--rcp-faint)}.recipes-available{display:grid;gap:12px}.recipes-available-list{display:flex;flex-wrap:wrap;gap:10px}.recipes-available-chip,.recipes-more-chip{min-height:34px;padding:0 14px;border:1px solid transparent;border-radius:12px;font-size:13px;font-weight:600}.recipes-available-chip.active{box-shadow:inset 0 0 0 1px #2877c938}.recipes-available-chip.tone-green{background:#eef8f1;color:#4e9f6d}.recipes-available-chip.tone-mint{background:#edf8f5;color:#4e9d84}.recipes-available-chip.tone-blue{background:#eef4ff;color:#4d7edc}.recipes-available-chip.tone-pink{background:#fceef4;color:#d96a98}.recipes-available-chip.tone-violet{background:#f3effc;color:#8e7bc4}.recipes-available-chip.tone-orange{background:#fbf3e7;color:#c28b34}.recipes-available-chip.tone-sand{background:#fcf6ed;color:#c18639}.recipes-more-chip{background:#fff;border-color:var(--rcp-line);color:var(--rcp-ink)}.recipes-section-title{display:flex;align-items:baseline;gap:10px}.recipes-section-title span{color:var(--rcp-blue);font-size:13px;font-weight:700}.recipes-refresh-btn{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 2px;background:transparent;color:var(--rcp-blue);font-size:13px;font-weight:700}.recipes-rec-collection{padding:14px 16px;display:grid;gap:8px}.recipes-rec-collection-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 4px}.recipes-rec-rows{display:grid}.recipes-rec-row{display:grid;gap:12px;padding:14px 0}.recipes-rec-row+.recipes-rec-row{border-top:1px solid var(--rcp-line)}.recipes-rec-head{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start}.recipes-rank{display:grid;place-items:center;width:28px;height:28px;min-height:28px;border-radius:8px;font-size:15px;font-weight:800;line-height:1;background:#f2f4f8;color:var(--rcp-blue)}.recipes-rec-main{min-width:0}.recipes-rec-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.recipes-rec-title-row h4{margin:0;min-width:0;font-size:15px;line-height:1.35;font-weight:700}.recipes-goal-pill,.recipes-storage-pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:10px;font-size:12px;font-weight:700;white-space:nowrap}.recipes-goal-pill.lean{background:var(--rcp-lean-soft);color:var(--rcp-lean)}.recipes-goal-pill.build{background:var(--rcp-build-soft);color:var(--rcp-build)}.recipes-goal-pill.steady{background:var(--rcp-steady-soft);color:var(--rcp-steady)}.recipes-goal-pill.custom{background:var(--rcp-custom-soft);color:var(--rcp-custom)}.recipes-storage-pill{border:1px solid var(--rcp-line);background:#f7f9fd;color:#62708e}.recipes-storage-pill.fridge{background:#eef4ff;color:#4d7edc}.recipes-storage-pill.freezer{background:#f1ecff;color:#8670c2}.recipes-storage-pill.fresh{background:#eef8f1;color:#4e9f6d}.recipes-rec-match-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px}.recipes-match-item{display:inline-flex;align-items:center;gap:7px;color:#606a83;font-size:12px;font-weight:600}.recipes-match-item i{width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}.recipes-match-item i.good,.recipes-match-item.stock.good{color:var(--rcp-green)}.recipes-match-item i.warn,.recipes-match-item.stock.warn{color:var(--rcp-warn)}.recipes-match-item i.danger,.recipes-match-item.stock.danger{color:var(--rcp-danger)}.recipes-rec-ingredients{display:flex;flex-wrap:wrap;gap:8px;padding-left:40px}.recipes-rec-ingredients span{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:10px;border:1px solid transparent;background:#fff;color:#475069;font-size:12px;font-weight:600}.recipes-rec-ingredients span.enough{background:#f5fbf7;color:#4e9f6d}.recipes-rec-ingredients span.missing{background:#fff8ec;color:#c28b34}.recipes-rec-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-left:40px}.recipes-rec-servings{display:inline-flex;align-items:center;gap:10px;min-width:0}.recipes-rec-servings span{color:var(--rcp-muted);font-size:12px;font-weight:600}.recipes-rec-meta-row{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding-left:40px}.recipes-rec-storage{display:inline-flex;align-items:center;gap:6px;flex:none;white-space:nowrap}.recipes-rec-meta{display:inline-flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;flex-wrap:nowrap;overflow:hidden}.recipes-inline-stat{display:inline-flex;align-items:baseline;gap:2px;color:#69738c;font-size:10px;font-weight:500;white-space:nowrap}.recipes-inline-stat em,.recipes-inline-stat i{font-style:normal;color:var(--rcp-muted)}.recipes-inline-stat strong{color:var(--rcp-ink);font-size:10px;font-weight:500}.recipes-mini-toggle{min-height:30px;padding:0 9px;border:1px solid transparent;border-radius:10px;background:#f5f7fb;color:#5f6982;font-size:11px;font-weight:700}.recipes-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.recipes-stat-grid.compact{padding-left:40px}.recipes-stat{min-height:66px;padding:10px 10px 9px;border:1px solid var(--rcp-line);border-radius:16px;background:#fff;display:grid;align-content:start;justify-items:center;text-align:center}.recipes-stat span,.recipes-stat strong,.recipes-stat em{display:block;font-style:normal}.recipes-stat span{color:var(--rcp-muted);font-size:11px;font-weight:500}.recipes-stat strong{margin-top:6px;font-size:16px;line-height:1.1;font-weight:700}.recipes-stat em{margin-top:2px;color:var(--rcp-muted);font-size:11px;font-weight:500}.recipes-make-btn{min-width:92px;min-height:44px;padding:0 12px;border-radius:14px;background:linear-gradient(135deg,var(--rcp-blue) 0%,#2f83dc 100%);color:#fff;font-size:13px;font-weight:700;box-shadow:0 14px 28px #2877c933}.recipes-make-btn.compact{align-self:start}.recipes-mini-toggle.active{border-color:transparent;background:#edf4ff;color:var(--rcp-blue)}.recipes-empty{padding:22px 18px;color:var(--rcp-muted);font-size:13px;line-height:1.55}@media(max-width:900px){.recipes-head{grid-template-columns:1fr}.recipes-head>p{max-width:none;justify-self:start;text-align:left}.recipes-builder-top,.recipes-builder-bottom,.recipes-rec-head{grid-template-columns:1fr}.recipes-picker-toggle,.recipes-primary-btn{width:100%}.recipes-make-btn.compact{width:auto}}@media(max-width:720px){.recipes-filter-grid{grid-template-columns:1fr}.recipes-weight-row{grid-template-columns:minmax(0,1fr) auto}.recipes-rec-controls,.recipes-rec-meta-row{padding-left:0}}@media(max-width:560px){.recipes-inner{gap:14px}.recipes-builder,.recipes-filter-card,.recipes-rec-card{padding-left:14px;padding-right:14px}.recipes-storage-grid{grid-template-columns:1fr}.recipes-storage-option+.recipes-storage-option{border-left:0;border-top:1px solid rgb(236 238 244 / 86%)}.recipes-stat-grid{gap:8px}.recipes-stat-grid.compact{padding-left:0}.recipes-stat{min-height:62px;padding-left:8px;padding-right:8px}.recipes-stat strong{font-size:15px}.recipes-rec-ingredients,.recipes-rec-controls,.recipes-rec-meta-row{padding-left:0}.recipes-rec-meta{gap:5px}.recipes-inline-stat,.recipes-inline-stat strong{font-size:9px}}:root{--klein: #2877c9;--klein-600: #1f67b1;--klein-soft: #eaf1fc;--ink: #1c1c28;--muted: #8a8fa3;--line: #eceef4;--page: #ffffff;--card: #ffffff;--calorie: #2877c9;--macro-protein: #76a9e5;--macro-carbs: #8e7bc4;--macro-fat: #c6a574;--status-green: #2faa6a;--status-yellow: #c79a2e;--status-red: #d24547;--status-neutral: #8a8fa3;--shadow-soft: 0 4px 18px rgb(28 28 40 / 5%);--shadow: 0 12px 34px rgb(28 28 40 / 8%);--apple-blue: #2877c9;--apple-ink: #1c1c28;--apple-muted: #8a8fa3;--apple-hairline: #eceef4;--apple-divider: #eef0f4;--apple-pearl: #fbfcfe;--r-card: 20px;--r-btn: 14px;--r-input: 14px;--r-chip: 10px;--font-display: "Poppins", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif}body{background:var(--page)}.app-shell .sidebar{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}.app-shell .bottom-nav{background:#fff;border-color:var(--line);box-shadow:0 -6px 20px #1c1c280a}.app-shell h1,.app-shell h2,.app-shell h3,.app-shell .page-intro h2{font-family:var(--font-display);letter-spacing:-.01em}.app-shell .eyebrow{font-family:var(--font-display);letter-spacing:.08em}.app-shell .profile-card{border:1px solid var(--line);border-radius:var(--r-card);background:var(--card);box-shadow:var(--shadow-soft)}.app-shell .field input,.app-shell .field select{border:1px solid var(--line);border-radius:var(--r-input);background:#fbfcfe}.app-shell .field input::placeholder{color:#aab0bf}.app-shell .field input:focus,.app-shell .field select:focus{border-color:var(--klein);box-shadow:0 0 0 4px #3973df24}.app-shell .field label{color:var(--muted)}.app-shell .target-stat{border:1px solid var(--line);border-radius:16px;background:#fbfcfe}.app-shell .target-stat strong{font-family:var(--font-display)}.app-shell .save-btn,.app-shell .rec-eat-btn,.app-shell .fridge-add-btn{border-radius:var(--r-btn)}.app-shell .save-btn,.app-shell .rec-eat-btn{background:linear-gradient(135deg,var(--klein),var(--klein-600));box-shadow:0 10px 22px #3973df3d}.app-shell .save-btn:hover,.app-shell .rec-eat-btn:hover{transform:translateY(-1px)}.app-shell .scan-pick-btn,.app-shell .scan-seg-btn,.app-shell .scan-apply,.app-shell .fridge-del,.app-shell .rcp-chip,.app-shell .rec-result{border-radius:var(--r-chip)}.app-shell .seg,.app-shell .record-switch{border-radius:14px;background:#f1f4f9;border-color:var(--line)}.app-shell .seg-item,.app-shell .record-switch-pill{border-radius:11px}.app-shell .nav-item,.app-shell .bottom-nav-item{border-radius:12px}.app-shell .seg-item.active,.app-shell .record-switch-pill.active,.app-shell .date-pill.active{background:var(--klein);color:#fff;box-shadow:0 8px 18px #3973df38}.app-shell .date-pill.active strong{color:#fff}.app-shell .rcp-chip.on{border-color:var(--klein);background:var(--klein-soft);color:var(--klein)}.app-shell .rcp-stepper button{border-radius:10px;background:var(--klein-soft);color:var(--klein)}.app-shell .rcp-stepper button:hover,.app-shell .scan-seg-btn.active{background:var(--klein);color:#fff}.app-shell .rec-checkrow input{accent-color:var(--klein)}.app-shell .target-stat.cal{background:#6ed39f29;border-color:#6ed39f4d}.app-shell .target-stat.cal span,.app-shell .target-stat.cal strong,.app-shell .target-stat.cal em{color:#2e9e68}.app-shell .target-stat.protein{background:#76a9e524;border-color:#76a9e54d}.app-shell .target-stat.protein span,.app-shell .target-stat.protein strong,.app-shell .target-stat.protein em{color:#2f6bb0}.app-shell .target-stat.carbs{background:#8e7bc424;border-color:#8e7bc44d}.app-shell .target-stat.carbs span,.app-shell .target-stat.carbs strong,.app-shell .target-stat.carbs em{color:#6a559e}.app-shell .target-stat.fat{background:#c6a57429;border-color:#c6a57452}.app-shell .target-stat.fat span,.app-shell .target-stat.fat strong,.app-shell .target-stat.fat em{color:#9a7536}.app-shell .hist-kcal strong,.app-shell .rcp-meta-nutri{color:var(--ink)}.app-shell .fridge-collapse>summary{color:var(--ink)}.app-shell .scan-box-title,.app-shell .rcp-note strong{color:var(--ink)}.app-shell .target-stat.f-total{background:#6ed39f29;border-color:#6ed39f4d}.app-shell .target-stat.f-total span,.app-shell .target-stat.f-total strong,.app-shell .target-stat.f-total em{color:#2e9e68}.app-shell .target-stat.f-weight{background:#76a9e524;border-color:#76a9e54d}.app-shell .target-stat.f-weight span,.app-shell .target-stat.f-weight strong,.app-shell .target-stat.f-weight em{color:#2f6bb0}.app-shell .target-stat.f-soon{background:#f5df6f38;border-color:#f5df6f73}.app-shell .target-stat.f-soon span,.app-shell .target-stat.f-soon strong,.app-shell .target-stat.f-soon em{color:#a8841c}.app-shell .target-stat.f-expired{background:#d245471f;border-color:#d2454747}.app-shell .target-stat.f-expired span,.app-shell .target-stat.f-expired strong,.app-shell .target-stat.f-expired em{color:#c13b3d}.app-shell .rcp-macro.cal{background:#6ed39f29}.app-shell .rcp-macro.cal span,.app-shell .rcp-macro.cal strong,.app-shell .rcp-macro.cal em{color:#2e9e68}.app-shell .rcp-macro.protein{background:#76a9e524}.app-shell .rcp-macro.protein span,.app-shell .rcp-macro.protein strong,.app-shell .rcp-macro.protein em{color:#2f6bb0}.app-shell .rcp-macro.carbs{background:#8e7bc424}.app-shell .rcp-macro.carbs span,.app-shell .rcp-macro.carbs strong,.app-shell .rcp-macro.carbs em{color:#6a559e}.app-shell .rcp-macro.fat{background:#c6a57429}.app-shell .rcp-macro.fat span,.app-shell .rcp-macro.fat strong,.app-shell .rcp-macro.fat em{color:#9a7536}.app-shell .rcp-icon{display:inline-flex;align-items:center}.app-shell .rcp-icon.sufficient{color:var(--status-green)}.app-shell .rcp-icon.partial{color:var(--status-yellow)}.app-shell .rcp-icon.missing{color:var(--status-red)}.app-shell .rcp-ing-stat{display:inline-flex;align-items:center;gap:5px}.app-shell .fridge-warn{border-color:#f3dca6;border-left:3px solid var(--status-yellow);border-radius:8px}.app-shell .brand-mark{background:none;box-shadow:none;object-fit:contain;border-radius:12px}@media(min-width:1024px){.app-shell .sidebar{display:flex;flex-direction:column}.app-shell .side-nav{flex:0 0 auto}}.app-shell .sidebar-foot{margin-top:auto;padding-top:16px;border-top:1px solid var(--line);display:grid;gap:8px}.app-shell .sidebar-user{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-shell .logout-btn{width:100%;min-height:40px;border:1px solid var(--line);border-radius:var(--r-btn);background:#fff;color:var(--muted);font-size:14px;font-weight:700;cursor:pointer;transition:color .14s ease,border-color .14s ease,background-color .14s ease}.app-shell .logout-btn:hover{color:var(--status-red);border-color:var(--status-red);background:#fff5f5}.app-shell :is(.home-screen,.history-screen,.record-screen){--app-brand-title: 13px;--app-brand-subtitle: 10px;--app-eyebrow: 12px;--app-page-title: 24px;--app-page-copy: 12px;--app-section-title: 18px;--app-card-title: 16px;--app-control-text: 14px;--app-body-text: 13px;--app-caption: 12px}.app-shell :is(.hs-brand img,.history-brand img,.rec-brand img){width:36px;height:36px}.app-shell :is(.hs-brand strong,.history-brand strong,.rec-brand strong){font-size:var(--app-brand-title);line-height:1.1}.app-shell :is(.hs-brand span,.history-brand span,.rec-brand span){font-size:var(--app-brand-subtitle);line-height:1.2}.app-shell :is(.hs-greet-sub,.history-eyebrow,.record-screen .eyebrow){font-size:var(--app-eyebrow);font-weight:600;letter-spacing:0}.app-shell :is(.hs-greet-title,.history-head h1,.record-screen h2){font-size:var(--app-page-title);font-weight:700;line-height:1.1;letter-spacing:0;text-wrap:balance}.app-shell :is(.history-head p,.rec-head-note,.hs-status-copy){font-size:var(--app-page-copy);line-height:1.45;text-wrap:balance}.app-shell :is(.hs-sec h3,.history-list-head h2){font-size:var(--app-section-title);font-weight:700;letter-spacing:0;line-height:1.2}.app-shell :is(.rec-card-head h3,.history-summary-title strong){font-size:var(--app-card-title);font-weight:700;letter-spacing:0;line-height:1.25}.app-shell :is(.record-switch-pill,.seg-item,.rec-search-shell input,.rec-form-card .field input){font-size:var(--app-control-text)}.app-shell :is(.rec-result strong,.history-day-date,.hs-meal-name){font-size:15px;font-weight:700;line-height:1.25}.app-shell :is(.rec-result span,.history-day-macros-inline,.history-entry span,.hs-meal-sub,.hs-rec-meta,.hs-rec-macros){font-size:var(--app-caption);line-height:1.4}.app-shell :is(.hs-ring-center .num,.history-average strong,.hs-meal-kcal,.hs-rec-kcal,.history-day-total strong){letter-spacing:0}@media(max-width:820px){.app-shell :is(.hs-greet-title,.history-head h1,.record-screen h2){font-size:24px}.app-shell :is(.record-switch-pill,.seg-item){font-size:14px}}@media(max-width:480px){.app-shell :is(.hs-greet-title,.history-head h1,.record-screen h2){font-size:22px}.app-shell :is(.hs-sec h3,.history-list-head h2){font-size:18px}.app-shell :is(.rec-card-head h3,.history-summary-title strong){font-size:15px}}
