:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #66727f;
  --line: #dbe2e6;
  --paper: #ffffff;
  --ground: #f3f6f6;
  --ground-alt: #e9eff1;
  --green: #2f8a67;
  --green-soft: #e3f4ed;
  --coral: #e56b4f;
  --coral-soft: #fde8e2;
  --blue: #3f72d8;
  --blue-soft: #e7eefc;
  --gold: #f4c95d;
  --gold-soft: #fff5d8;
  --danger: #b43f35;
  --shadow: 0 16px 40px rgba(23, 33, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, var(--ground) 0%, #f7f9fa 44%, var(--ground-alt) 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 12px clamp(16px, 3vw, 42px);
  border-bottom: 1px solid rgba(219, 226, 230, 0.9);
  background: rgba(247, 249, 250, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.brand span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.15;
}

.brand small,
.eyebrow,
.label,
.fine-print {
  color: var(--muted);
}

.brand small {
  font-size: 0.74rem;
}

.top-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #465461;
  font-size: 0.9rem;
  white-space: nowrap;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: var(--green-soft);
  color: var(--ink);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.app-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 28px clamp(16px, 3vw, 42px) 64px;
}

.section-block {
  scroll-margin-top: 96px;
  margin-bottom: 34px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h1,
.section-heading h2,
.card h2 {
  margin: 0;
  line-height: 1.08;
  font-weight: 760;
}

.section-heading h1 {
  font-size: clamp(1.95rem, 4vw, 4.2rem);
}

.section-heading h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.5rem);
}

.card h2 {
  font-size: 1.1rem;
}

.eyebrow {
  margin: 0 0 5px;
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.04fr) minmax(260px, 1fr) minmax(300px, 1.08fr);
  gap: 16px;
  align-items: stretch;
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.dashboard-grid .card,
.two-column .card {
  padding: 18px;
}

.visual-card {
  grid-column: span 1;
}

.coach-card {
  min-height: 326px;
}

.card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.readiness-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: center;
}

.score-ring {
  --score: 0;
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--paper) 0 58%, transparent 59%),
    conic-gradient(var(--green) calc(var(--score) * 1%), #e1e7ea 0);
}

.score-ring span {
  font-size: 2.4rem;
  font-weight: 800;
}

.metric-list {
  display: grid;
  gap: 10px;
}

.metric-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 34px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf1f3;
}

.metric-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.metric-item strong {
  white-space: nowrap;
}

.score-badge,
.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47, 138, 103, 0.22);
  background: var(--green-soft);
  color: #1d644a;
  font-size: 0.78rem;
  font-weight: 740;
  white-space: nowrap;
}

.score-badge.warm {
  border-color: rgba(229, 107, 79, 0.22);
  background: var(--coral-soft);
  color: #9d3d28;
}

.score-badge.blue {
  border-color: rgba(63, 114, 216, 0.22);
  background: var(--blue-soft);
  color: #294d98;
}

.status-chip {
  border-color: rgba(23, 33, 43, 0.1);
  background: #eef3f5;
  color: #41505d;
}

.calorie-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.calorie-row div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid #edf1f3;
  border-bottom: 1px solid #edf1f3;
}

.calorie-row strong {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.label {
  font-size: 0.8rem;
  font-weight: 650;
}

.macro-bars {
  display: grid;
  gap: 12px;
}

.macro-row {
  display: grid;
  gap: 7px;
}

.macro-row header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}

.progress-track {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #e4ebee;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 240ms ease;
}

.progress-fill.protein {
  background: var(--blue);
}

.progress-fill.carbs {
  background: var(--gold);
}

.progress-fill.fat {
  background: var(--coral);
}

.coach-output {
  display: grid;
  gap: 12px;
}

.coach-item {
  display: grid;
  grid-template-columns: 5px 1fr;
  gap: 10px;
  align-items: start;
  min-height: 44px;
}

.coach-item::before {
  content: "";
  width: 5px;
  height: 100%;
  min-height: 44px;
  border-radius: 999px;
  background: var(--green);
}

.coach-item:nth-child(2)::before {
  background: var(--blue);
}

.coach-item:nth-child(3)::before {
  background: var(--coral);
}

.coach-item strong {
  display: block;
  margin-bottom: 3px;
}

.coach-item p {
  margin: 0;
  color: #43515d;
  line-height: 1.45;
}

.agent-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 0.72fr);
  gap: 16px;
  align-items: stretch;
}

.agent-console,
.agent-actions {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.agent-console {
  grid-template-rows: auto minmax(280px, 1fr) auto;
}

.agent-stream {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  padding: 14px;
  border: 1px solid #edf1f3;
  border-radius: 8px;
  background: #fbfcfc;
}

.agent-message {
  display: grid;
  gap: 5px;
  max-width: 82%;
  padding: 10px 12px;
  border: 1px solid #e2e9ec;
  border-radius: 8px;
  background: var(--paper);
}

.agent-message span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  text-transform: uppercase;
}

.agent-message p {
  margin: 0;
  color: #364652;
  line-height: 1.5;
}

.agent-message.user {
  justify-self: end;
  border-color: rgba(63, 114, 216, 0.26);
  background: var(--blue-soft);
}

.agent-message.agent {
  border-color: rgba(47, 138, 103, 0.26);
  background: var(--green-soft);
}

.agent-message.trace {
  max-width: 92%;
  border-style: dashed;
  background: #f7faf9;
}

.agent-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.agent-form textarea {
  min-height: 76px;
}

.agent-task-list {
  display: grid;
  gap: 12px;
}

.agent-task {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid #edf1f3;
  border-radius: 8px;
  background: #fbfcfc;
}

.agent-task.active {
  border-color: rgba(63, 114, 216, 0.32);
  background: #f2f6ff;
}

.agent-task.done {
  opacity: 0.68;
}

.agent-task-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.agent-task h3 {
  margin: 2px 0 0;
  font-size: 1rem;
  line-height: 1.2;
}

.agent-task p {
  margin: 0;
  color: #43515d;
  line-height: 1.46;
}

.task-meta {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.agent-task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.primary-button.compact,
.secondary-button.compact {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.82rem;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

#poseCanvas {
  display: block;
  width: 100%;
  height: min(280px, 45vw);
  min-height: 220px;
  border-radius: 8px;
  background: #101923;
}

.insights-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(280px, 0.42fr);
  gap: 16px;
  align-items: stretch;
}

.chart-card,
.insights-side {
  padding: 18px;
}

.chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.segmented-control {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(64px, 1fr));
  gap: 4px;
  min-height: 40px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.segmented-control button {
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #465461;
  font-weight: 760;
}

.segmented-control button.active,
.segmented-control button:hover,
.segmented-control button:focus-visible {
  background: var(--ink);
  color: #fff;
  outline: none;
}

.compact-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(260px, 100%);
}

.compact-label select {
  min-width: 150px;
}

.chart-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #edf1f3;
  border-radius: 8px;
  background: #101923;
}

#trendCanvas {
  display: block;
  width: 100%;
  height: min(360px, 52vw);
  min-height: 260px;
  cursor: crosshair;
}

.chart-tooltip {
  position: absolute;
  z-index: 4;
  max-width: 220px;
  padding: 9px 10px;
  border: 1px solid rgba(247, 249, 250, 0.18);
  border-radius: 7px;
  background: rgba(23, 33, 43, 0.94);
  color: #f7f9fa;
  font-size: 0.82rem;
  line-height: 1.4;
  pointer-events: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.chart-tooltip strong {
  display: block;
  margin-bottom: 3px;
}

.insight-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.insight-stat {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #edf1f3;
  border-radius: 8px;
  background: #fbfcfc;
}

.insight-stat strong {
  font-size: 1.45rem;
  line-height: 1.05;
}

.upload-timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  min-height: 46px;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--blue);
}

.timeline-item:nth-child(2n) .timeline-dot {
  background: var(--green);
}

.timeline-item:nth-child(3n) .timeline-dot {
  background: var(--coral);
}

.timeline-item p {
  margin: 0;
  color: #43515d;
  line-height: 1.42;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: 16px;
  align-items: start;
}

.form-card {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #374651;
  font-size: 0.88rem;
  font-weight: 680;
}

.full-span {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid #cfd8dd;
  border-radius: 7px;
  background: #fbfcfc;
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 86px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 138, 103, 0.14);
}

input[type="range"] {
  padding-inline: 0;
  accent-color: var(--green);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button-row.split {
  justify-content: space-between;
}

.primary-button,
.secondary-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  max-width: 100%;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 760;
}

.primary-button {
  padding: 10px 15px;
  background: var(--ink);
  color: #fff;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #263442;
  outline: none;
}

.secondary-button {
  padding: 10px 14px;
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.secondary-button:hover,
.secondary-button:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(47, 138, 103, 0.42);
  background: var(--green-soft);
  outline: none;
}

.icon-button {
  padding: 8px 12px;
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9rem;
}

.icon-button.compact {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.82rem;
}

.file-picker input,
.file-inline input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-picker {
  position: relative;
}

.file-surface {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 12px;
  border: 1px dashed #b8c5cb;
  border-radius: 8px;
  background: #f7faf9;
  color: #41505d;
}

.file-surface.drag-over,
.media-preview.drag-over {
  border-color: rgba(47, 138, 103, 0.62);
  background: var(--green-soft);
  box-shadow: inset 0 0 0 2px rgba(47, 138, 103, 0.14);
}

.file-inline {
  position: relative;
  margin: 0;
}

.media-preview {
  display: grid;
  place-items: center;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid #edf1f3;
  border-radius: 8px;
  background: repeating-linear-gradient(
    135deg,
    #f7faf9,
    #f7faf9 10px,
    #eef3f5 10px,
    #eef3f5 20px
  );
}

.media-preview.tall {
  min-height: 220px;
}

.media-preview img,
.media-preview video {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.live-camera-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: #101923;
}

.live-camera-wrap video,
.live-camera-wrap canvas {
  width: 100%;
  height: min(420px, 56vw);
  min-height: 260px;
}

.live-camera-wrap video {
  object-fit: contain;
}

.live-camera-wrap canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.live-hud {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  border: 1px solid rgba(247, 249, 250, 0.18);
  border-radius: 7px;
  background: rgba(16, 25, 35, 0.82);
  color: #f7f9fa;
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.35;
}

.placeholder {
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.target-summary,
.health-output,
.analysis-output,
.meal-list {
  display: grid;
  gap: 12px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.summary-stat {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 13px 0;
  border-top: 1px solid #edf1f3;
}

.summary-stat strong {
  font-size: 1.45rem;
}

.summary-note {
  margin: 0;
  color: #43515d;
  line-height: 1.5;
}

.meal-entry,
.analysis-entry,
.health-entry {
  display: grid;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f3;
}

.meal-entry:last-child,
.analysis-entry:last-child,
.health-entry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.meal-title-row,
.entry-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.meal-title-row h3,
.entry-title-row h3 {
  margin: 0;
  font-size: 0.98rem;
}

.delete-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--danger);
}

.delete-button:hover,
.delete-button:focus-visible {
  border-color: rgba(180, 63, 53, 0.38);
  background: #fff0ee;
  outline: none;
}

.meal-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.meal-edit-grid label {
  gap: 4px;
  font-size: 0.72rem;
}

.meal-edit-grid input {
  min-height: 34px;
  padding: 7px 8px;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(160px, 1fr));
  gap: 12px;
}

.training-day {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.training-day.completed {
  border-color: rgba(47, 138, 103, 0.36);
  background: #f2fbf6;
}

.training-day header {
  display: grid;
  gap: 4px;
}

.training-day h3 {
  margin: 0;
  font-size: 1rem;
}

.exercise-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.exercise-list li {
  display: grid;
  gap: 3px;
  color: #43515d;
  line-height: 1.35;
}

.exercise-list strong {
  color: var(--ink);
}

.day-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfc;
  color: var(--ink);
  font-weight: 740;
}

.day-button:hover,
.day-button:focus-visible {
  border-color: rgba(47, 138, 103, 0.44);
  background: var(--green-soft);
  outline: none;
}

.risk-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef3f5;
  color: #40505c;
  font-size: 0.78rem;
  font-weight: 720;
}

.pill.low {
  background: var(--green-soft);
  color: #1d644a;
}

.pill.medium {
  background: var(--gold-soft);
  color: #7b5f13;
}

.pill.high {
  background: var(--coral-soft);
  color: #9d3d28;
}

.finding-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.finding-list li {
  padding-left: 14px;
  border-left: 3px solid var(--blue);
  color: #43515d;
  line-height: 1.46;
}

.fine-print {
  margin: 13px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .app-header {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    grid-column: 1 / -1;
    justify-content: start;
    overflow-x: auto;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .agent-grid {
    grid-template-columns: 1fr;
  }

  .coach-card {
    min-height: auto;
  }

  .training-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 820px) {
  .app-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand {
    justify-content: start;
  }

  .header-actions {
    grid-column: auto;
    grid-row: auto;
    justify-content: start;
  }

  .dashboard-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .readiness-layout {
    grid-template-columns: 1fr;
  }

  .score-ring {
    width: min(180px, 68vw);
    justify-self: center;
  }

  .form-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .agent-form {
    grid-template-columns: 1fr;
  }

  .agent-message {
    max-width: 100%;
  }

  .full-span {
    grid-column: auto;
  }

  .training-grid {
    grid-template-columns: 1fr;
  }

  .compact-label {
    align-items: start;
    flex-direction: column;
  }

  .compact-label select {
    min-width: 100%;
  }

  .meal-edit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .app-shell {
    padding-inline: 12px;
  }

  .section-heading,
  .card-header,
  .meal-title-row,
  .entry-title-row {
    align-items: start;
    flex-direction: column;
  }

  .top-nav a {
    min-width: 48px;
    padding-inline: 10px;
  }

  .calorie-row,
  .meal-edit-grid {
    grid-template-columns: 1fr;
  }

  .button-row.split {
    justify-content: start;
  }

  .insight-summary {
    grid-template-columns: 1fr;
  }
}
