:root {
  --ink: #1d2b27;
  --muted: #68736e;
  --paper: #f7f4ed;
  --card: #fffdf8;
  --sage: #bfd0a6;
  --sage-dark: #355f4c;
  --lime: #d9ee74;
  --peach: #f4c39f;
  --line: #dfe2d8;
  --danger: #aa5149;
  --shadow: 0 16px 45px rgba(35, 58, 49, .08);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 85% -10%, #edf2d8 0, transparent 34%), var(--paper); padding-bottom: 96px; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, label[for] { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: white; padding: 12px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.topbar { max-width: 1180px; margin: 0 auto; padding: 22px clamp(18px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--ink); }
.brand-mark svg { width: 26px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: -.02em; }
.brand small { color: var(--muted); margin-top: 1px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.icon-button { border: 1px solid var(--line); background: rgba(255,255,255,.6); border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; }
.icon-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

main { max-width: 1180px; margin: 0 auto; padding: 14px clamp(18px, 4vw, 44px) 64px; }
.view { animation: fade .28s ease; }
@keyframes fade { from { opacity: .2; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 28px 0 30px; }
.hero h1, .page-heading h1 { margin: 8px 0 12px; font-size: clamp(38px, 6vw, 70px); line-height: .98; letter-spacing: -.055em; max-width: 850px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero h1 span { color: var(--sage-dark); font-style: italic; }
.hero-copy, .page-heading > p:last-child { margin: 0; color: var(--muted); max-width: 620px; line-height: 1.65; font-size: clamp(15px, 2vw, 18px); }
.eyebrow { margin: 0; color: var(--sage-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.streak-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #cbd6b8; background: rgba(255,255,255,.48); padding: 10px 14px; border-radius: 999px; white-space: nowrap; font-size: 13px; }
.streak-pill > span { color: #e99a54; font-size: 9px; }

.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: rgba(255,253,248,.88); border: 1px solid rgba(206,211,200,.9); border-radius: var(--radius); box-shadow: var(--shadow); }
.food-summary, .movement-card { padding: 24px; }
.card-heading, .movement-top, .section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card h2, .section-heading h2 { margin: 6px 0 0; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.035em; }
.card h2 small { font-size: 13px; color: var(--muted); letter-spacing: 0; font-weight: 500; }
.range-label, .step-chip, .quality-badge { background: #eef1e5; border-radius: 999px; padding: 8px 11px; font-size: 12px; font-weight: 700; color: var(--sage-dark); }
.progress-track { height: 9px; background: #e9e9df; border-radius: 99px; overflow: hidden; margin: 22px 0 14px; }
.progress-track span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sage-dark), #8baa6f); transition: width .5s ease; }
.summary-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; padding-top: 10px; }
.summary-row strong { color: var(--ink); }
.movement-card { background: var(--ink); color: #f6f4ed; border-color: var(--ink); }
.movement-card .eyebrow { color: var(--lime); }
.movement-card h2 small, .movement-card p { color: #bdc9c3; }
.movement-card p { line-height: 1.55; font-size: 14px; }
.movement-card p strong { color: white; }
.movement-orbit { width: 50px; height: 50px; border: 1px solid #5f756b; border-radius: 50%; display: grid; place-items: center; color: var(--lime); font-size: 22px; }

.button-row { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.button-row.end { justify-content: flex-end; }
.button { appearance: none; border: 0; border-radius: 14px; padding: 13px 17px; font-weight: 750; cursor: pointer; transition: transform .16s ease, opacity .16s ease, background .16s ease; min-height: 46px; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button.primary { background: var(--lime); color: #203326; }
.button.dark { background: #f8f7ef; color: var(--ink); flex: 1; }
.button.secondary { background: #33473f; color: white; border: 1px solid #4e635a; }
.button.ghost { background: transparent; border: 1px solid var(--line); }
.button.full { width: 100%; display: flex; justify-content: center; gap: 16px; align-items: center; }

.capture-card { margin-top: 16px; padding: clamp(20px, 4vw, 30px); }
.capture-card > .section-heading { margin-bottom: 22px; }
.capture-layout { display: grid; grid-template-columns: minmax(240px, .9fr) minmax(300px, 1.1fr); gap: 22px; }
.photo-drop { position: relative; min-height: 270px; border: 1.5px dashed #aab5a4; border-radius: 20px; background: #f1f1e8; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); }
.photo-drop:hover { border-color: var(--sage-dark); }
.photo-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.photo-drop img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.camera-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 20px; background: var(--card); box-shadow: 0 10px 24px rgba(37,61,51,.1); margin-bottom: 14px; }
.camera-icon svg { width: 34px; fill: none; stroke: var(--sage-dark); stroke-width: 2; stroke-linejoin: round; }
.photo-drop > span:last-of-type strong, .photo-drop > span:last-of-type small { display: block; text-align: center; }
.photo-drop > span:last-of-type small { margin-top: 4px; font-size: 12px; }
.remove-photo { position: absolute; z-index: 2; right: 10px; top: 10px; border: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(29,43,39,.8); color: white; font-size: 22px; cursor: pointer; }
.meal-fields { display: flex; flex-direction: column; gap: 13px; }
.field { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.78); border-radius: 13px; padding: 13px 14px; outline: none; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .chat-form:focus-within { border-color: var(--sage-dark); box-shadow: 0 0 0 3px rgba(53,95,76,.1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.microcopy { margin: -3px 2px 0; color: var(--muted); line-height: 1.45; font-size: 11px; }

.meal-result { margin-top: 16px; }
.result-card { padding: 26px; border-color: #bfd0a6; }
.quality-badge { background: #e5f0c6; }
.nutrition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.nutrition-grid > div { padding: 14px; background: #f1f2eb; border-radius: 14px; }
.nutrition-grid span, .nutrition-grid strong { display: block; }
.nutrition-grid span { color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.coach-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: #edf2dc; border-radius: 16px; color: #355341; }
.coach-note > span { color: #66823e; }
.coach-note p { margin: 0; line-height: 1.5; font-size: 14px; }

.recent-section { margin-top: 32px; }
.empty-state { margin-top: 14px; min-height: 130px; display: grid; place-items: center; text-align: center; border: 1px dashed #c9cdc2; border-radius: 20px; color: var(--muted); padding: 22px; }
.empty-state span { font-size: 30px; color: #a7af9d; }
.empty-state p { margin: 6px auto 0; max-width: 480px; line-height: 1.5; }
.meal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
.meal-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.meal-thumb { width: 88px; height: 72px; object-fit: cover; border-radius: 12px; background: #e7e9df; }
.meal-thumb.placeholder { display: grid; place-items: center; color: var(--sage-dark); font-weight: 800; }
.meal-item h3 { margin: 0 0 5px; font-size: 15px; }
.meal-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.meal-kcal { white-space: nowrap; font-weight: 800; font-size: 13px; }
.meal-delete { display: block; color: var(--muted); border: 0; background: transparent; font-size: 11px; margin: 8px 0 0 auto; cursor: pointer; }

.page-heading { margin: 38px 0 28px; }
.page-heading h1 { font-size: clamp(38px, 5vw, 62px); }
.segmented { display: inline-flex; background: #e9e9df; padding: 4px; border-radius: 14px; gap: 2px; margin-bottom: 16px; }
.segmented button { border: 0; background: transparent; padding: 9px 18px; border-radius: 11px; color: var(--muted); cursor: pointer; font-weight: 700; font-size: 13px; }
.segmented button.active { background: var(--card); color: var(--ink); box-shadow: 0 3px 8px rgba(40,60,50,.08); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.stat-card { padding: 22px; }
.stat-card span, .stat-card small { display: block; color: var(--muted); }
.stat-card > span { font-size: 12px; font-weight: 700; }
.stat-card strong { display: block; font-size: 34px; letter-spacing: -.04em; margin: 9px 0 1px; }
.stat-card small { font-size: 11px; }
.chart-card { padding: 26px; margin-top: 14px; }
.bar-chart { height: 240px; display: flex; align-items: flex-end; gap: clamp(7px, 2vw, 18px); padding: 28px 4px 22px; border-bottom: 1px solid var(--line); position: relative; }
.chart-target-line { position: absolute; left: 0; right: 0; border-top: 1px dashed #9ca793; }
.chart-bar-group { flex: 1; min-width: 22px; height: 100%; display: flex; align-items: flex-end; justify-content: center; position: relative; }
.chart-bar { width: min(42px, 74%); min-height: 3px; background: linear-gradient(180deg, #8daa71, var(--sage-dark)); border-radius: 8px 8px 3px 3px; transition: height .35s ease; }
.chart-bar-group small { position: absolute; bottom: -20px; font-size: 9px; color: var(--muted); white-space: nowrap; }
.chart-legend { display: flex; gap: 18px; margin-top: 16px; color: var(--muted); font-size: 11px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--sage-dark); }
.chart-legend .legend-target { height: 1px; border-radius: 0; border-top: 1px dashed #9ca793; background: transparent; }
.insight-card { margin-top: 14px; padding: 25px; display: flex; gap: 17px; align-items: flex-start; background: #edf2dc; }
.insight-card .insight-icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center; background: var(--lime); }
.insight-card h2 { margin-top: 5px; }
.insight-card p:last-child { color: #536258; line-height: 1.55; margin: 7px 0 0; }

.coach-heading { margin-bottom: 18px; }
.quick-prompts { display: flex; gap: 8px; overflow-x: auto; padding: 1px 1px 12px; }
.quick-prompts button { white-space: nowrap; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 9px 12px; cursor: pointer; color: var(--sage-dark); font-size: 12px; font-weight: 700; }
.chat-card { overflow: hidden; }
.chat-messages { min-height: 390px; max-height: 55vh; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 13px; }
.chat-message { max-width: min(78%, 640px); padding: 13px 15px; border-radius: 17px; line-height: 1.5; font-size: 14px; }
.chat-message.coach { align-self: flex-start; background: #edf2dc; border-bottom-left-radius: 5px; }
.chat-message.user { align-self: flex-end; background: var(--ink); color: white; border-bottom-right-radius: 5px; }
.chat-message small { display: block; opacity: .55; margin-top: 5px; font-size: 9px; }
.chat-form { display: grid; grid-template-columns: 1fr 46px; gap: 8px; margin: 0 14px 14px; border: 1px solid var(--line); padding: 7px 7px 7px 14px; border-radius: 18px; background: white; }
.chat-form textarea { border: 0; outline: 0; resize: none; padding: 9px 0; min-height: 43px; max-height: 130px; }
.send-button { border: 0; background: var(--lime); border-radius: 13px; font-weight: 900; font-size: 20px; cursor: pointer; }
.disclaimer { color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; max-width: 690px; margin: 16px auto; }

.profile-form { padding: clamp(20px, 4vw, 30px); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 23px; }
.field.wide { grid-column: 1 / -1; }
.inline-inputs, .unit-input { display: flex; align-items: center; gap: 8px; }
.inline-inputs input { min-width: 0; }
.inline-inputs span, .unit-input span { color: var(--muted); font-size: 12px; }
.target-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: white; border-radius: 17px; padding: 18px; margin: 20px 0 13px; }
.target-panel span, .target-panel strong { display: block; }
.target-panel span { color: #aebdb5; font-size: 11px; }
.target-panel strong { font-size: 24px; margin-top: 4px; }
.target-panel p { color: #b8c4be; max-width: 440px; margin: 0; font-size: 12px; line-height: 1.5; }
.saved-status { font-size: 12px; color: var(--sage-dark); }
.notification-button { margin-top: 9px; background: transparent; border: 1px solid var(--line); }
.plan-card { margin-top: 14px; padding: 25px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.plan-card p:last-child { color: var(--muted); margin-bottom: 0; line-height: 1.5; }
.price { text-align: right; white-space: nowrap; }
.price strong, .price span { display: block; }
.price strong { font-size: 34px; letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: 11px; }
.data-actions { display: flex; justify-content: center; gap: 18px; margin: 22px 0 8px; }
.text-button { border: 0; background: transparent; text-decoration: underline; cursor: pointer; color: var(--muted); font-size: 12px; }
.text-button.danger { color: var(--danger); }
.legal-links { text-align: center; font-size: 12px; margin: 10px 0 4px; }
.legal-links a, .check-field a { color: var(--sage-dark); }
.privacy-note { text-align: center; color: var(--muted); font-size: 11px; }

.bottom-nav { position: fixed; z-index: 30; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: repeat(4, 1fr); width: min(520px, calc(100% - 24px)); padding: 6px; border-radius: 21px; background: rgba(29,43,39,.94); backdrop-filter: blur(18px); box-shadow: 0 18px 48px rgba(29,43,39,.3); }
.bottom-nav button { border: 0; color: #aab7b0; background: transparent; border-radius: 16px; min-height: 54px; padding: 7px; display: grid; place-items: center; gap: 2px; cursor: pointer; }
.bottom-nav button.active { color: var(--ink); background: var(--lime); }
.bottom-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav span { font-size: 10px; font-weight: 750; }

.timer-sheet { position: fixed; inset: 0; z-index: 50; background: rgba(16,29,24,.62); backdrop-filter: blur(5px); display: grid; place-items: end center; padding: 18px; }
.timer-sheet[hidden] { display: none; }
.timer-card { position: relative; width: min(500px, 100%); text-align: center; background: var(--card); border-radius: 28px; padding: 32px; animation: sheetUp .25s ease; }
@keyframes sheetUp { from { transform: translateY(30px); opacity: .5; } }
.timer-card h2 { font-size: 32px; margin: 7px 0; }
.timer-card > p:not(.eyebrow) { color: var(--muted); }
.timer-display { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(58px, 16vw, 88px); letter-spacing: -.08em; margin: 24px 0; }
.close-button { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eceee7; cursor: pointer; font-size: 20px; }
.timer-card .button-row .button { flex: 1; }
.toast { position: fixed; z-index: 80; top: 18px; left: 50%; transform: translate(-50%, -16px); background: var(--ink); color: white; border-radius: 13px; padding: 12px 17px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .22s ease; font-size: 13px; text-align: center; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }


.setup-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; margin-bottom: 16px; background: #edf2dc; border-color: #bfd0a6; }
.setup-banner h2 { margin-top: 5px; }
.setup-banner p:last-child { margin: 6px 0 0; color: #536258; line-height: 1.5; font-size: 14px; }
.setup-banner .button { flex: 0 0 auto; }
.guess-note { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: #fbeee2; color: #7a4a24; font-size: 13px; line-height: 1.45; }
.guess-note[hidden] { display: none; }
.fallback-tag { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; color: #7a4a24; }
.weight-card { padding: 26px; margin-top: 14px; }
.weight-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; margin-top: 18px; }
.weight-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.weight-stats > div { padding: 14px; background: #f1f2eb; border-radius: 14px; }
.weight-stats span, .weight-stats strong { display: block; }
.weight-stats span { color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.weight-trend { height: 120px; display: flex; align-items: flex-end; gap: clamp(4px, 1.5vw, 12px); padding: 8px 4px 20px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.weight-dot-group { flex: 1; min-width: 14px; height: 100%; display: flex; align-items: flex-end; justify-content: center; position: relative; }
.weight-bar { width: min(28px, 70%); background: linear-gradient(180deg, #e9b98f, #c9895a); border-radius: 7px 7px 3px 3px; }
.weight-dot-group small { position: absolute; bottom: -18px; font-size: 9px; color: var(--muted); white-space: nowrap; }
.weight-empty { margin: auto; color: var(--muted); font-size: 13px; }
.goal-hint { margin: 14px 2px 0; font-size: 12px; color: var(--muted); }
.goal-hint.warning { color: var(--danger); font-weight: 700; }
.safety-panel { background: #f1f2eb; border-radius: 16px; padding: 16px; margin-bottom: 13px; }
.safety-panel p { margin: 0 0 12px; font-size: 12px; line-height: 1.55; color: #4c5a53; }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; }
.check-field input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--sage-dark); }

.share-card { margin-top: 14px; padding: 25px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-color: #bfd0a6; }
.share-card[hidden] { display: none; }
.share-card h2 { margin-top: 5px; }
.share-card p:last-child { color: var(--muted); line-height: 1.55; margin: 7px 0 0; font-size: 14px; }
.share-card .button-row { margin-top: 0; flex: 0 0 auto; }

.plan-card { flex-wrap: wrap; }
.plan-actions { flex-basis: 100%; }
.plan-actions[hidden] { display: none; }
.plan-status { margin: 0 0 10px; font-weight: 700; }
.paywall-card { text-align: left; max-height: calc(100vh - 36px); overflow-y: auto; }
.paywall-card h2 { font-size: 28px; }
.paywall-list { margin: 14px 0; padding-left: 20px; color: var(--ink); line-height: 1.6; }
.paywall-terms { font-size: 13px; line-height: 1.55; background: #f1f2eb; border-radius: 14px; padding: 12px 14px; color: #4c5a53; }
.paywall-card .check-field { margin: 14px 0; }
.paywall-card .check-field a { color: var(--sage-dark); }

@media (max-width: 760px) {
  .topbar { padding-top: 16px; }
  main { padding-top: 0; }
  .hero { display: block; margin-top: 20px; }
  .hero h1 { font-size: clamp(39px, 12vw, 58px); }
  .streak-pill { margin-top: 18px; }
  .dashboard-grid, .capture-layout, .meal-list { grid-template-columns: 1fr; }
  .capture-layout { gap: 16px; }
  .photo-drop { min-height: 230px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid .stat-card:last-child { grid-column: 1 / -1; }
  .plan-card, .target-panel, .setup-banner, .share-card { align-items: flex-start; flex-direction: column; }
  .price { text-align: left; }
}

@media (max-width: 480px) {
  .brand-mark { width: 37px; height: 37px; }
  .hero h1, .page-heading h1 { letter-spacing: -.045em; }
  .card { border-radius: 20px; }
  .food-summary, .movement-card, .result-card, .chart-card { padding: 20px; }
  .field-row, .form-grid { grid-template-columns: 1fr; }
  .field.wide { grid-column: auto; }
  .nutrition-grid { grid-template-columns: 1fr 1fr; }
  .nutrition-grid > div:last-child { grid-column: 1 / -1; }
  .weight-stats { grid-template-columns: 1fr 1fr; }
  .weight-stats > div:last-child { grid-column: 1 / -1; }
  .weight-form { grid-template-columns: 1fr; }
  .meal-item { grid-template-columns: 72px 1fr auto; }
  .meal-thumb { width: 72px; height: 66px; }
  .button-row { align-items: stretch; }
  .button-row .button { flex: 1; padding-left: 10px; padding-right: 10px; }
  .chat-message { max-width: 88%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.local-data-note{font-size:14px;line-height:1.6;margin:0 0 20px;max-width:75ch}.local-data-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}.local-data-note a:focus-visible{outline:3px solid currentColor;outline-offset:4px}
