.eat-root {
  display: grid;
  gap: 18px;
}

.eat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.eat-mode-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.eat-age-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 4px 3px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.eat-age-input {
  width: 56px;
  height: 32px;
  padding: 0 8px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  -moz-appearance: textfield;
}

.eat-age-input::-webkit-outer-spin-button,
.eat-age-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.eat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.eat-step {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.eat-axis-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.eat-track {
  width: 100%;
  height: 4px;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.eat-fill {
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-pill);
  transform-origin: left center;
  transform: scaleX(0.067);
  transition: transform 0.3s var(--ease-spring);
}

@keyframes eatFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.eat-stage {
  display: grid;
  gap: 16px;
}

.eat-stage.is-animating {
  animation: eatFadeUp 0.24s var(--ease-spring);
}

.eat-prompt {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.eat-choices {
  display: grid;
  gap: 10px;
}

.eat-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-ctrl);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, transform 0.14s var(--ease-spring);
}

.eat-choice:hover {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.eat-choice:active {
  transform: scale(0.985);
}

.eat-choice.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.eat-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.eat-choice:hover .eat-num,
.eat-choice.is-active .eat-num {
  background: #047857;
  border-color: #047857;
  color: #ffffff;
}

.eat-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.eat-text-btn {
  background: transparent;
  border: none;
  padding: 6px 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.eat-text-btn:hover:not(:disabled) {
  color: var(--ink);
}

.eat-text-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.eat-result-box {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  animation: eatFadeUp 0.32s var(--ease-spring);
}

.eat-score-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 16px;
  text-align: center;
  display: grid;
  gap: 8px;
}

.eat-score-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.eat-score-num {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
}

.eat-stage-pill {
  display: inline-block;
  margin: 4px auto 0;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: #047857;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.eat-gap-note {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.eat-result-right {
  display: grid;
  gap: 18px;
}

.eat-summary {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

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

.eat-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.eat-bar-score {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.eat-bar-bg {
  height: 5px;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.eat-bar-val {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.eat-growth {
  margin: 0;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-ctrl);
  font-size: 14px;
  color: var(--ink);
}

.eat-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.eat-msg {
  margin: 0;
  min-height: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 720px) {
  .eat-result-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .eat-root {
    gap: 14px;
  }

  .eat-prompt {
    font-size: 18px;
  }

  .eat-choice {
    padding: 11px 12px;
    font-size: 14px;
    min-height: 46px;
  }

  .eat-actions > * {
    width: 100%;
  }
}