:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--bg: #f7f9f7;--surface: #ffffff;--surface-soft: #f1f5f2;--ink: #121713;--muted: #657169;--faint: #8a968e;--line: #dfe7e1;--accent: #14964a;--accent-strong: #0d7b39;--accent-soft: #e7f6ec;--danger: #c2410c;--shadow: 0 22px 56px rgba(38, 53, 44, .1);--radius: 8px}*{box-sizing:border-box}html,body,#root{height:100%;overflow:hidden}body{margin:0;min-width:320px;background:var(--bg);color:var(--ink)}button,input,textarea{font:inherit}button{border:0}button:disabled{cursor:not-allowed;opacity:.48}.app-shell{display:grid;grid-template-rows:70px minmax(0,1fr);height:100dvh;min-height:0;overflow:hidden}.topbar{position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;height:70px;padding:0 28px;background:#fffffff0;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand,.top-actions{display:inline-flex;align-items:center}.brand{gap:10px;font-size:22px;font-weight:760;letter-spacing:0}.brand-mark{display:grid;place-items:center;width:34px;height:34px;color:#fff;background:var(--accent);border-radius:8px}.top-actions{gap:12px}.mvp-workspace{display:grid;grid-template-columns:minmax(260px,330px) minmax(440px,1fr) minmax(330px,430px);height:100%;min-height:0;overflow:hidden}.journal-panel,.capture-panel,.meal-inspector{min-width:0;min-height:0}.journal-panel,.meal-inspector{display:flex;flex-direction:column;gap:18px;padding:28px 24px;background:var(--surface);overflow-y:auto}.journal-panel{border-right:1px solid var(--line)}.meal-inspector{border-left:1px solid var(--line)}.capture-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:18px;padding:28px;overflow:hidden}.section-heading,.capture-toolbar,.block-title,.day-header,.benchmark-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.section-heading h1,.capture-toolbar h1{margin:0 0 7px;font-size:24px;line-height:1.1;letter-spacing:0}.section-heading p,.capture-toolbar p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}.capture-actions,.inline-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap}.capture-actions{flex-shrink:0}.capture-actions .primary-button,.capture-actions .secondary-button{white-space:nowrap}.icon-button{display:inline-grid;place-items:center;width:36px;height:36px;color:#243029;background:var(--surface);border:1px solid var(--line);border-radius:8px;cursor:pointer}.primary-button,.secondary-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 18px;border-radius:8px;font-weight:720;cursor:pointer}.primary-button{color:#fff;background:linear-gradient(180deg,#19aa50,#118b3f);box-shadow:0 10px 22px #1599473d}.secondary-button{color:#1e2a22;background:var(--surface);border:1px solid var(--line)}.ghost-button{color:#314138;background:transparent;border:1px solid var(--line)}.compact{min-height:38px;padding-inline:13px;font-size:14px}.full-width{width:100%}.file-input{display:none}.empty-records,.empty-inspector,.empty-stage{display:grid;justify-items:center;gap:12px;color:var(--muted);text-align:center;border:1px dashed #c9d5cd;border-radius:var(--radius)}.empty-records{align-content:center;min-height:230px;padding:22px}.empty-records span,.empty-inspector span,.empty-stage span{color:var(--ink);font-weight:700}.empty-records small{line-height:1.5}.choose-stage{width:100%;color:var(--muted);background:transparent;cursor:pointer}.day-list{display:grid;gap:16px}.day-group{display:grid;gap:9px}.day-header strong{font-size:15px}.day-header span{color:var(--muted);font-size:13px}.meal-row{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;width:100%;padding:10px;color:inherit;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);cursor:pointer}.meal-row.active,.meal-row:hover{border-color:#89c99b;background:#fbfefc}.meal-row img{width:64px;height:54px;object-fit:cover;border-radius:6px}.meal-row span{display:grid;align-content:center;gap:5px;min-width:0}.meal-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.meal-row small{color:var(--muted);font-size:13px}.comment-entry,.panel-block,.usage-stats-panel,.daily-goal-panel,.benchmark-card{display:grid;gap:14px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.comment-entry label,.field-label{color:#26322b;font-size:14px;font-weight:720}textarea,.time-input-row input{width:100%;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:8px;outline:none}textarea{min-height:86px;padding:12px;resize:vertical;line-height:1.5}textarea:focus,.time-input-row input:focus{border-color:#85c897;box-shadow:0 0 0 3px #1599471a}.meal-photo-card{position:relative;display:grid;place-items:center;min-height:0;width:min(100%,900px,calc((100dvh - 280px) * var(--photo-ratio, 1.25)));max-height:100%;aspect-ratio:var(--photo-ratio, 1.25);margin:0 auto;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);cursor:zoom-in}.meal-photo-card img{width:100%;height:100%;object-fit:contain;display:block}.image-meta-line{display:flex;align-items:center;justify-content:center;gap:10px;min-height:34px;padding:7px 10px;color:var(--muted);background:#fbfdfb;border:1px solid var(--line);border-radius:8px;font-size:12px;line-height:1.35;text-align:center}.image-meta-line small{color:var(--faint)}.analysis-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;align-content:center;gap:10px;color:#fff;background:#0c140f8a;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-align:center}.analysis-overlay span{color:#ffffffd1;font-size:14px}.analysis-actions{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px}.analysis-actions span{color:var(--muted);font-size:14px;line-height:1.45}.label-photo-card{background:#fff}.compact-empty{align-content:center;min-height:100%;padding:28px;background:var(--surface)}.block-title span{font-size:17px;font-weight:760}.block-title small{color:var(--faint);font-size:12px}.time-input-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;color:var(--muted)}.time-input-row input{min-height:40px;padding:0 10px}.estimate-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:4px;background:var(--surface-soft);border-radius:8px}.estimate-switch button{min-height:38px;color:#2e3c34;background:#fff;border:1px solid transparent;border-radius:8px;cursor:pointer}.estimate-switch button.active{color:var(--accent-strong);background:var(--accent-soft);border-color:#7dc998;font-weight:760}.calorie-total{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:baseline;gap:8px}.calorie-total span,.calorie-total small{color:var(--muted)}.calorie-total strong{font-size:40px;line-height:1}.macro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.macro-grid span{display:grid;gap:5px;min-height:58px;padding:10px;color:var(--muted);font-size:12px;background:var(--surface-soft);border-radius:8px}.macro-grid strong{color:var(--ink);font-size:14px}.manual-nutrition-editor{display:grid;gap:10px;padding:10px;background:#fbfdfb;border:1px solid var(--line);border-radius:8px}.manual-nutrition-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.manual-nutrition-grid label{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;min-height:38px;padding:0 9px;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:8px;font-size:12px}.manual-nutrition-grid input{min-width:0;color:var(--ink);text-align:right;background:transparent;border:0;outline:none}.inline-actions.stretch{display:grid;grid-template-columns:1fr 1fr}.pending-summary{display:grid;place-items:center;gap:10px;min-height:110px;color:var(--muted);background:var(--surface-soft);border-radius:var(--radius)}.assumption-list,.comment-thread,.item-list{display:grid;gap:8px}.assumption-list small{color:var(--muted);line-height:1.4}.assumption-list strong{color:var(--ink);font-size:13px}.usage-cost{display:grid;gap:9px;padding:12px;color:var(--muted);background:#fbfdfb;border:1px solid var(--line);border-radius:8px}.usage-cost-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.usage-cost-head span,.usage-cost small{color:var(--muted);font-size:12px}.usage-cost-head strong{color:var(--accent-strong);font-size:18px}.usage-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.usage-grid span{display:grid;gap:3px;min-height:42px;padding:7px;background:var(--surface-soft);border-radius:8px;font-size:11px}.usage-grid strong{color:var(--ink);font-size:13px}.usage-stats-panel{gap:12px}.daily-burn-entry{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,140px);align-items:center;gap:10px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.daily-burn-entry>div{display:grid;gap:4px}.daily-burn-entry span{color:var(--ink);font-size:14px;font-weight:760}.daily-burn-entry small{color:var(--muted);font-size:12px}.daily-burn-entry label{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-height:38px;padding:0 9px;background:var(--surface-soft);border-radius:8px}.daily-burn-entry input{min-width:0;color:var(--ink);text-align:right;background:transparent;border:0;outline:none}.usage-entry-list{display:grid;gap:8px;max-height:260px;overflow:auto}.usage-entry{display:grid;gap:4px;padding:8px;background:#fbfdfb;border:1px solid var(--line);border-radius:8px}.usage-entry div{display:flex;justify-content:space-between;gap:8px;min-width:0}.usage-entry strong{overflow:hidden;color:var(--ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.usage-entry span,.usage-entry small{color:var(--muted);font-size:11px}.daily-goal-panel{gap:10px;padding:10px}.goal-compact{display:flex;align-items:baseline;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:10px;text-align:left;background:var(--surface-soft);border:1px solid transparent;border-radius:8px;cursor:pointer}.goal-compact.hit{color:var(--accent-strong);background:var(--accent-soft);border-color:#b7dec3}.goal-compact.under,.goal-compact.over{color:#8a4b00;background:#fff6e5;border-color:#edd29c}.goal-compact span,.goal-compact small{color:var(--muted);font-size:12px}.goal-compact strong{color:inherit;font-size:18px}.goal-detail-line{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px}.goal-detail-line span{color:var(--ink);font-weight:760}.goal-list,.goal-row{display:grid;gap:8px}.goal-row{padding:9px;background:#fbfdfb;border:1px solid var(--line);border-radius:8px}.goal-row-head{display:flex;justify-content:space-between;gap:8px;color:var(--ink);font-size:13px}.goal-row-head small{color:var(--muted)}.goal-row-head small.hit{color:var(--accent-strong)}.goal-row-head small.under,.goal-row-head small.over{color:#9a5200}.goal-track{height:6px;overflow:hidden;background:var(--surface-soft);border-radius:999px}.goal-track i{display:block;height:100%;background:var(--accent);border-radius:inherit}.goal-inputs,.goal-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.goal-inputs.single{grid-template-columns:1fr}.goal-inputs label,.goal-settings-grid label{display:grid;gap:5px}.goal-inputs label span,.goal-settings-grid label span{color:var(--muted);font-size:12px}.goal-inputs input,.goal-settings-grid input,.goal-settings-grid select{min-width:0;min-height:32px;padding:0 8px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:8px;outline:none}.goal-settings-preview,.metabolism-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.metabolism-grid{grid-template-columns:repeat(2,1fr)}.goal-settings-preview span,.metabolism-grid span{display:grid;gap:4px;min-height:48px;padding:9px;color:var(--muted);background:var(--surface-soft);border-radius:8px;font-size:12px}.goal-settings-preview strong,.metabolism-grid strong{color:var(--ink);font-size:15px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stats-grid span{display:grid;gap:4px;min-height:54px;padding:9px;color:var(--muted);background:var(--surface-soft);border-radius:8px;font-size:12px}.stats-grid strong{color:var(--ink);font-size:14px}.text-reset-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;color:var(--muted);background:transparent;border:0;font:inherit;font-size:12px;cursor:pointer}.text-reset-button:hover{color:var(--accent-strong)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:24px;background:#11181457;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal-card{display:grid;gap:16px;width:min(680px,100%);max-height:min(760px,calc(100dvh - 48px));overflow:hidden;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.records-modal{width:min(960px,100%)}.records-backup-actions{display:inline-flex;align-items:center;gap:8px;margin-left:auto}.records-layout{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:14px;min-height:0}.records-day-list,.record-detail,.record-meal-list{display:grid;gap:9px}.records-day-list{align-content:start;max-height:min(600px,calc(100dvh - 180px));overflow:auto}.record-day-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;padding:10px;color:inherit;text-align:left;background:#fbfdfb;border:1px solid var(--line);border-radius:8px;cursor:pointer}.record-day-row.active,.record-day-row:hover{border-color:#89c99b;background:#f5fbf7}.record-day-row span{display:grid;gap:4px;min-width:0}.record-day-row strong,.record-day-row b{color:var(--ink);font-size:13px}.record-day-row small,.record-day-row em{color:var(--muted);font-size:12px;font-style:normal}.record-day-row em{grid-column:1 / -1;justify-self:start;padding:3px 6px;background:var(--surface-soft);border-radius:6px}.record-day-row em.hit{color:var(--accent-strong);background:var(--accent-soft)}.record-day-row em.over{color:#8a4b00;background:#fff6e5}.record-detail{align-content:start;min-width:0;max-height:min(600px,calc(100dvh - 180px));overflow:auto}.record-detail-summary{display:grid;gap:5px;padding:12px;background:var(--surface-soft);border-radius:8px}.record-detail-summary span,.record-detail-summary small{color:var(--muted)}.record-detail-summary strong{color:var(--ink);font-size:28px;line-height:1}.image-viewer{display:grid;gap:14px;width:min(1100px,100%);max-height:calc(100dvh - 48px);padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.image-viewer img{display:block;width:100%;max-height:calc(100dvh - 138px);object-fit:contain;background:#fff;border-radius:8px}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.modal-head>div{display:grid;gap:4px}.modal-head strong{font-size:18px}.modal-head span{color:var(--muted);font-size:13px}.usage-ledger-modal .usage-entry-list,.goal-settings-modal .goal-list{max-height:min(620px,calc(100dvh - 170px));overflow:auto}.model-cost-list{display:grid;gap:6px}.model-cost-list small{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;color:var(--muted);font-size:12px}.model-cost-list b,.model-cost-list strong{color:var(--ink)}.model-cost-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comment-thread{max-height:170px;overflow:auto}.label-result-status{display:grid;gap:6px;min-height:72px;padding:14px;border-radius:var(--radius)}.label-result-status.success{color:var(--accent-strong);background:var(--accent-soft);border:1px solid #b7dec3}.label-result-status.warning{color:#8a4b00;background:#fff6e5;border:1px solid #edd29c}.label-result-status span{color:var(--muted);font-size:13px}.label-serving{display:grid;gap:5px;padding:10px;background:var(--surface-soft);border-radius:8px}.label-serving span,.label-serving small{color:var(--muted);font-size:12px}.label-serving strong{color:var(--ink)}.label-macro-grid{grid-template-columns:repeat(2,1fr)}.label-consumption-panel{gap:12px}.portion-choice-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:4px;background:var(--surface-soft);border-radius:8px}.portion-choice-row button{min-height:38px;color:#2e3c34;background:#fff;border:1px solid transparent;border-radius:8px;cursor:pointer}.portion-choice-row button.active{color:var(--accent-strong);background:var(--accent-soft);border-color:#7dc998;font-weight:760}.label-amount-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.label-amount-grid.single{grid-template-columns:1fr}.label-amount-grid label{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:42px;padding:0 10px;background:#fff;border:1px solid var(--line);border-radius:8px}.label-amount-grid span,.label-amount-grid small,.label-consumption-preview{color:var(--muted);font-size:12px}.label-amount-grid input{min-width:0;height:34px;color:var(--ink);text-align:right;background:transparent;border:0;outline:none}.label-consumption-preview{min-height:38px;padding:10px;background:var(--surface-soft);border-radius:8px;line-height:1.45}.label-warning-list{display:grid;gap:5px}.label-warning-list small{color:#8a4b00}.raw-ocr-text{max-height:260px;margin:0;overflow:auto;padding:12px;color:#26342c;background:#f4f7f5;border-radius:8px;font-size:12px;line-height:1.5;white-space:pre-wrap}.comment-thread p{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;margin:0;padding:9px;color:#314139;background:var(--surface-soft);border-radius:8px;font-size:13px;line-height:1.45}.food-item{display:grid;gap:7px;padding:12px;background:var(--surface-soft);border-radius:8px}.food-item>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.food-item span,.food-item small{color:var(--muted);font-size:12px;line-height:1.4}.food-item b{color:var(--accent-strong)}.note-chip-list{display:flex;flex-wrap:wrap;gap:6px}.note-chip-list small{padding:5px 7px;color:#7c3f00;background:#fff4dd;border:1px solid #f3d08b;border-radius:8px}.note-list{display:grid;gap:7px}.note-list.compact{gap:6px}.note-card{display:grid;gap:5px;padding:9px;color:#314139;background:#fbfdfb;border:1px solid var(--line);border-radius:8px}.note-list.compact .note-card{padding:7px}.note-card.attention{color:#733f00;background:#fff4dd;border-color:#f0cf8d}.note-card.quiet{background:var(--surface-soft)}.note-card div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}.note-card span,.note-card small{font-size:12px;line-height:1.4}.note-card b{color:inherit;font-size:12px}.empty-note-list small{color:var(--muted);font-size:12px}.empty-inspector{align-content:center;min-height:230px;padding:24px}.empty-inspector.small{min-height:120px}.benchmark-shell{background:var(--bg)}.benchmark-layout{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:22px;min-height:0;padding:24px;overflow:hidden}.benchmark-inputs,.benchmark-results{gap:14px;min-height:0}.benchmark-inputs{display:grid;align-content:start;overflow-y:auto}.benchmark-results{display:flex;align-items:flex-start;overflow-x:auto;overflow-y:hidden;padding-bottom:8px}.benchmark-image{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-height:260px;max-height:360px;aspect-ratio:4 / 3;display:grid;place-items:center}.benchmark-image img{display:block;width:100%;height:100%;max-height:360px;object-fit:contain}.benchmark-mode-switch{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:4px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.benchmark-mode-switch button{min-height:38px;color:#2e3c34;background:transparent;border-radius:8px;cursor:pointer}.benchmark-mode-switch button.active{color:var(--accent-strong);background:var(--accent-soft);font-weight:760}.benchmark-card{align-content:start;flex:0 0 min(520px,calc(100vw - 48px));max-height:100%;overflow-y:auto}.benchmark-model-picker,.benchmark-compression-picker{display:grid;gap:10px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.model-option,.compression-option{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;padding:10px;background:var(--surface-soft);border-radius:8px;cursor:pointer}.model-option input,.compression-option input{margin-top:3px;accent-color:var(--accent)}.model-option.readonly{grid-template-columns:1fr;cursor:default}.model-option span,.compression-option span{display:grid;gap:4px;min-width:0}.model-option strong,.compression-option strong{color:var(--ink);font-size:14px}.model-option small,.model-option em,.compression-option small,.compression-option em{color:var(--muted);font-size:12px;line-height:1.35;font-style:normal}.model-option .model-warning{color:#9a5200}.compression-preview-strip{display:flex;flex-wrap:wrap;gap:8px}.preview-chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 10px;color:var(--ink);background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;cursor:pointer}.preview-chip.active{color:#fff;background:var(--accent);border-color:var(--accent)}.preview-chip small{color:inherit;opacity:.78}.benchmark-card-head span{color:var(--muted);font-size:13px}.benchmark-card-sub{display:grid;gap:5px;padding:10px;background:var(--surface-soft);border-radius:8px}.benchmark-card-sub span{color:var(--ink);font-weight:700}.benchmark-card-sub small{color:var(--muted)}.benchmark-card-sub .text-reset-button{justify-self:start;display:inline-flex;align-items:center;gap:5px;padding:0}.small-total strong{font-size:28px}.benchmark-card pre{max-height:360px;margin:0;overflow:auto;padding:12px;color:#26342c;background:#f4f7f5;border-radius:8px;font-size:12px;line-height:1.5;white-space:pre-wrap}.error-text{color:var(--danger);white-space:pre-wrap}.toast{position:fixed;left:50%;bottom:24px;z-index:40;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 16px;color:#fff;background:#142118;border-radius:8px;box-shadow:0 14px 34px #10181238;transform:translate(-50%)}.spin{animation:spin .92s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1180px){.mvp-workspace{grid-template-columns:minmax(230px,280px) minmax(380px,1fr) minmax(300px,360px)}}@media(max-width:880px){html,body,#root{overflow:auto}.app-shell{height:auto;min-height:100dvh;overflow:visible}.topbar{height:auto;min-height:66px;padding:14px 16px}.mvp-workspace,.benchmark-layout{grid-template-columns:1fr;height:auto;overflow:visible}.journal-panel,.capture-panel,.meal-inspector,.benchmark-inputs{overflow:visible}.benchmark-results{overflow-x:auto;overflow-y:hidden}.journal-panel,.capture-panel,.meal-inspector{padding:20px 16px;border:0}.journal-panel{border-bottom:1px solid var(--line)}.meal-inspector{border-top:1px solid var(--line)}.capture-panel{grid-template-rows:auto}.capture-toolbar{flex-direction:column}.capture-actions{width:100%;justify-content:stretch}.capture-actions .primary-button,.capture-actions .secondary-button{flex:1}.analysis-actions{grid-template-columns:1fr}.meal-photo-card{width:100%;max-height:56dvh}}@media(max-width:560px){.brand{font-size:19px}.top-actions .secondary-button{padding-inline:10px}.macro-grid,.usage-grid,.benchmark-layout{grid-template-columns:1fr}.section-heading h1,.capture-toolbar h1{font-size:22px}.image-meta-line{flex-direction:column;gap:2px}}
