/* ===== Design tokens (麺家まきむら リデザイン) ===== */
/* OS/ブラウザの自動ダークモードで背景が反転しないようライトスキームを固定 */
:root {
  /* light only: OS のダーク配色でコンポーネント背景が反転しにくくする */
  color-scheme: light only;
  --color-primary: #8b1a1a;
  --color-primary-bright: #b22222;
  --color-bg: #f9f1e4;
  /* カード・タイルは白ではなく薄いクリーム（スクリーンショットの黒タイル対策＋指定デザイン） */
  --color-card: #fff7eb;
  --color-card-elevated: #fffdf6;
  --color-text: #3d2b1f;
  --color-muted: #999999;
  --color-muted-text: #666666;
  --color-chip-border: #e8dcc8;
  --color-chip-surface: #fffefb;
  --color-exclude-bg: #fff0f0;
  --color-exclude-text: #cc4444;
  --color-exclude-border: #ffcccc;
  --color-tracking: #4caf50;
  --color-danger: #e53935;
  --color-weather-bar-bg: #fff5e6;
  --color-weather-bar-border: #edd9c0;
  --shadow-card: 0 2px 12px rgba(61, 43, 31, 0.06);
  --radius-card: 16px;
  --radius-hero: 20px;
  --bottom-nav-height: 72px;
  /* 端末幅いっぱいに追従（WebView / ブラウザ共通）。狭い画面は 100%、広い画面もはみ出さない */
  --app-max-width: 100%;
  /* fixed ヘッダー分の main 上余白（JS が実測で上書き） */
  --app-header-offset: 108px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  background: var(--color-bg);
  color-scheme: light only;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  /* fixed ヘッダーはビューポート基準のため、横は .app-shell でカット */
  overflow-x: visible;
  font-family: "Noto Sans JP", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
}

.app-shell {
  width: 100%;
  max-width: var(--app-max-width);
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ===== Header（sticky は WebView/overflow 子で壊れやすいので fixed） ===== */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 250;
  background: linear-gradient(135deg, #8b1a1a 0%, #a0522d 100%);
  color: #fff;
  padding: 20px 20px 16px;
  padding-top: calc(20px + env(safe-area-inset-top, 0px));
  box-shadow: 0 4px 14px rgba(61, 43, 31, 0.18);
  box-sizing: border-box;
}

.app-header h1 {
  margin: 0;
  font-size: calc(22px * 1.5);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 2px;
}

.app-header-tagline {
  margin: 2px 0 0;
  font-size: 11px;
  opacity: 0.85;
}

/* ===== Main ===== */
.app-main {
  padding: 16px;
  padding-top: calc(16px + var(--app-header-offset, 108px));
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tab-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fade-slide 220ms ease;
}

.tab-panel.is-hidden {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

/* ===== Weather bar ===== */
.weather-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  color-scheme: light only;
  background: var(--color-weather-bar-bg);
  border: 1px solid var(--color-weather-bar-border);
  border-radius: 12px;
  padding: 12px 16px;
}

.weather-bar__icon {
  font-size: 28px;
  line-height: 1;
}

.weather-bar__info {
  flex: 1;
  min-width: 0;
}

.weather-bar__temp {
  font-size: 18px;
  font-weight: 700;
}

.weather-bar__desc {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 2px;
}

/* ===== Hero recommendation（全体をクリーム基調に。価格・CTA でアクセント） ===== */
.hero-card {
  color-scheme: light only;
  background: linear-gradient(180deg, #fffdf8 0%, #fff4e8 42%, #ffe9d6 100%);
  color: var(--color-text);
  border: 1px solid rgba(220, 198, 175, 0.95);
  border-radius: var(--radius-hero);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.hero-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-muted-text);
  opacity: 1;
}

.hero-tag {
  background: rgba(139, 26, 26, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(139, 26, 26, 0.22);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.hero-card__title {
  font-size: clamp(1.35rem, 4.2vw + 0.6rem, 1.65rem);
  font-weight: 900;
  margin: 6px 0 4px;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.hero-card__sub {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 1;
  color: var(--color-muted-text);
}

.hero-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.hero-card__tags .hero-tag {
  margin: 0;
}

.hero-card__price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.hero-card__amount {
  font-size: clamp(1.65rem, 5vw + 0.5rem, 2rem);
  font-weight: 900;
  color: var(--color-primary);
}

.hero-card__tax {
  font-size: 12px;
  color: var(--color-muted);
}

.hero-card__reason-details {
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.hero-card__reason {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #f0e4d4;
  border-radius: 12px;
  padding: 12px 14px;
}

.hero-card__reason-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-line;
  color: var(--color-text);
}

/* <summary> … ヒーローCTA（14px）に揃えた丸み */
.hero-card__reason-toggle {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--color-chip-border);
  background: var(--color-chip-surface);
  color: var(--color-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  list-style: none;
}

.hero-card__reason-toggle::-webkit-details-marker {
  display: none;
}

.hero-card__reason-toggle::marker {
  content: "";
}

.hero-card__reason-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.hero-card__crowd {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5ebe0;
  border: 1px solid #ead9c8;
  position: relative;
  z-index: 1;
}

.hero-card__crowd-label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted-text);
}

.hero-card__crowd-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-line;
  color: var(--color-text);
}

.hero-card__meta {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--color-muted);
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-card__cta {
  margin-top: 16px;
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(139, 26, 26, 0.25);
}

.hero-card__cta:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* ===== Cards ===== */
.card {
  color-scheme: light only;
  background-color: var(--color-card);
  background: var(--color-card);
  color: var(--color-text);
  border: 1px solid rgba(232, 216, 196, 0.85);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.card.mood-section {
  background: var(--color-card-elevated);
  border-color: rgba(220, 200, 175, 0.9);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.card-header__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.card-header__icon--mood {
  background: #fff0e8;
}

.card-header__icon--history {
  background: #f0eff8;
}

.card-header__icon--order {
  background: #fff0e8;
}

.card-header__icon--add {
  background: #f0f8f0;
  color: #4caf50;
  font-weight: 700;
}

.card-header__icon--chart {
  background: #f0f8ff;
}

.card-header__icon--weather {
  background: #fff8ee;
}

.card-header__icon--memo {
  background: #f8f0ff;
}

.card-header__icon--stride {
  background: #f0f8f0;
}

.card-header__icon--data {
  background: #fff0f0;
}

.card-header__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

/* ===== Mood / chips ===== */
.mood-section__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted-text);
  display: block;
  margin-bottom: 8px;
  margin-top: 14px;
}

.mood-section__label:first-of-type {
  margin-top: 0;
}

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

.chip {
  padding: 8px 16px;
  border-radius: 24px;
  border: 1.5px solid var(--color-chip-border);
  background: var(--color-chip-surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted-text);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.chip.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.chip.is-excluded {
  background: var(--color-exclude-bg);
  color: var(--color-exclude-text);
  border-color: var(--color-exclude-border);
  text-decoration: line-through;
}

.chip:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== History (home) ===== */
#home-recommendation-history .history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0e8dd;
}

#home-recommendation-history .history-item:last-child {
  border-bottom: none;
}

#home-recommendation-history .history-item__left {
  min-width: 0;
}

#home-recommendation-history .history-item__date {
  font-size: 12px;
  color: var(--color-muted);
}

#home-recommendation-history .history-item__type {
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}

#home-recommendation-history .history-item__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}

/* ===== Order ===== */
.order-list .metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0e8dd;
  font-size: 14px;
}

.order-list .metric-row:last-child {
  border-bottom: none;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 2px solid var(--color-text);
  font-weight: 700;
}

.order-total span:last-child {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-primary);
}

.order-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}

.category-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  margin-top: 16px;
}

.menu-catalog-section {
  margin-top: 16px;
}

.menu-catalog-section:first-child {
  margin-top: 0;
}

.menu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.menu-chip {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--color-chip-border);
  background: var(--color-chip-surface);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  color: var(--color-text);
}

.menu-chip .menu-chip__price {
  font-size: 11px;
  color: var(--color-muted);
  font-weight: 500;
}

.menu-chip.is-active {
  background: #fff5f0;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.menu-chip.is-active .menu-chip__price {
  color: var(--color-primary);
  opacity: 0.85;
}

/* ===== Buttons ===== */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.btn {
  flex: 1;
  min-height: 44px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  padding: 12px 14px;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-outline {
  background: var(--color-chip-surface);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--color-muted-text);
  border: 1px solid #e0d8d0;
  font-weight: 600;
}

.btn-danger-outline {
  width: 100%;
  margin-top: 12px;
  background: var(--color-chip-surface);
  color: var(--color-danger);
  border: 1.5px solid #ffcccc;
  font-weight: 600;
}

.btn--compact {
  flex: none;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 14px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ===== Activity ===== */
.activity-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.tracking-meta {
  margin: 8px 0 0;
  font-size: 12px;
}

.tracking-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  border: 1px solid transparent;
}

.tracking-status--active {
  background: #f0fff0;
  border-color: #c0e8c0;
}

.tracking-status--stopped {
  background: #f5f0eb;
  border-color: #e0d8d0;
}

.tracking-status__left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tracking-dot {
  width: 8px;
  height: 8px;
  background: var(--color-tracking);
  border-radius: 50%;
  flex-shrink: 0;
}

.tracking-status--stopped .tracking-dot {
  background: #9e9e9e;
  animation: none;
}

.tracking-status--active .tracking-dot {
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.tracking-status__label {
  font-size: 13px;
  font-weight: 600;
  color: #2e7d32;
}

.tracking-status--stopped .tracking-status__label {
  color: var(--color-muted-text);
}

.tracking-status__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tracking-btn {
  background: var(--color-danger);
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.tracking-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.tracking-status--stopped .tracking-btn {
  display: none;
}

.tracking-status--active .tracking-start {
  display: none;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-box {
  background: #fff8ee;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.stat-box--wide {
  grid-column: span 2;
}

.stat-box--primary {
  background: linear-gradient(135deg, #8b1a1a, #b22222);
  color: #fff;
}

.stat-label {
  font-size: 11px;
  color: var(--color-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.stat-box--primary .stat-label {
  color: rgba(255, 255, 255, 0.75);
}

.stat-value {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.stat-box--primary .stat-value {
  font-size: 36px;
}

.stat-unit {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 4px;
  font-weight: 500;
}

.stat-box--primary .stat-unit {
  color: rgba(255, 255, 255, 0.75);
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f0e8dd;
  gap: 12px;
}

.setting-row:last-child {
  border-bottom: none;
}

.setting-label {
  font-size: 14px;
}

.setting-value {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 500;
  text-align: right;
}

.setting-block {
  margin-top: 12px;
}

.message {
  margin: 8px 0 0;
  min-height: 1.2em;
  font-size: 0.92rem;
  color: var(--color-primary);
}

.message.error {
  color: var(--color-danger);
}

.muted {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0;
}

.shop-address {
  font-size: 12px;
  margin-bottom: 12px !important;
}

.temp-field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.temp-field__label,
.temp-field__unit {
  font-size: 13px;
  color: var(--color-muted-text);
}

.temp-field__input {
  width: 72px;
  padding: 8px 12px;
  border: 1.5px solid var(--color-chip-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  text-align: center;
}

.weather-updated-meta {
  margin-top: 8px !important;
  text-align: center;
  font-size: 11px;
  color: #bbb;
}

/* Toggle switch */
.setting-row--toggle {
  border-bottom: none;
  padding-bottom: 8px;
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch__ui {
  width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 12px;
  position: relative;
  transition: background 0.2s;
}

.toggle-switch__ui::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-switch__ui {
  background: var(--color-primary);
}

.toggle-switch input:checked + .toggle-switch__ui::after {
  transform: translateX(20px);
}

.toggle-switch input:focus-visible + .toggle-switch__ui {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===== Bottom nav ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  color-scheme: light only;
  background: var(--color-card);
  border-top: 1px solid #e8dcc8;
  display: flex;
  padding: 8px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 100;
}

.tab-button {
  flex: 1;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px 0;
  font-family: inherit;
  color: #bbb;
}

.tab-button__icon {
  font-size: 22px;
  line-height: 1;
}

.tab-button__label {
  font-size: 10px;
  font-weight: 600;
}

.tab-button.is-active {
  color: var(--color-primary);
}

.tab-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 8px;
}

.footer-note {
  margin: 0 16px 8px;
  padding-bottom: 4px;
  font-size: 11px;
  color: var(--color-muted);
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ===== History / filters / table (運動履歴) ===== */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  border: 1px solid #e0d8d0;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
  background: var(--color-chip-surface);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.filter-button.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.summary-grid {
  margin: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.summary-grid div {
  border: 1px solid #f0e8dd;
  border-radius: 12px;
  padding: 8px 10px;
  background: #fffaf5;
}

.summary-grid dt {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.79rem;
}

.summary-grid dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.history-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-height: 130px;
  overflow-x: auto;
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 14px;
  background: #fff8ee;
  border: 1px solid #f0e0c8;
}

.history-bar {
  flex: 1;
  min-width: 6px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #8b1a1a, #b22222);
  position: relative;
}

.history-bar span {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: var(--color-muted);
  white-space: nowrap;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

thead th {
  text-align: left;
  font-size: 0.78rem;
  color: var(--color-muted);
  border-bottom: 1px solid #f0e8dd;
  padding-bottom: 8px;
}

tbody td {
  padding: 8px 0;
  border-bottom: 1px solid #f0e8dd;
}

.field-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.field {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--color-muted-text);
}

input,
select,
textarea {
  min-height: 38px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  padding: 0 10px;
  font: inherit;
  color: var(--color-text);
  background: #fff;
}

textarea {
  min-height: 76px;
  padding: 10px;
  resize: vertical;
}

input[type="range"] {
  padding: 0;
}

.highlight-list {
  margin: 8px 0 0;
  padding-left: 1.25rem;
}

.highlight-list.compact {
  margin: 6px 0 0;
}

.recommendation-history-list .metric-list-entry {
  padding: 10px 0;
  border-bottom: 1px solid #f0e8dd;
}

.recommendation-history-list .metric-list-entry:last-child {
  border-bottom: none;
}

.recommendation-history-list .metric-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 480px) {
  .app-shell {
    box-shadow: 0 0 0 1px rgba(61, 43, 31, 0.06);
  }
}
