/* ─── DASHBOARD: Phase Strip, Hero, Prediction, Alert, Charts, Insights ─── */
  /* DASHBOARD PHASE STRIP */
  .dash-phase-strip {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 4px 0 2px;
  }
  .dash-phase-strip .phase-badge { flex: 1; min-width: 0; }

  /* DASHBOARD HERO — stacked vertically, full width each */
  .dash-dual-metrics { display: flex; flex-direction: column; gap: 0; }
  .dash-metric-col { width: 100%; }
  .dash-metric-divider {
    height: 1px; width: 100%; background: var(--border); margin: 14px 0;
  }
  .dash-metric-label {
    font-family: var(--font-mono); font-size: 10px; color: var(--text3);
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px;
  }
  .dash-metric-top {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 4px;
  }
  .dash-metric-value {
    font-family: var(--font-display); font-size: 36px; font-weight: 800;
    letter-spacing: -1.5px; line-height: 1;
  }
  .dash-metric-sub {
    font-size: 12px; color: var(--text2); font-family: var(--font-mono);
  }
  .blue-fill {
    height: 100%; border-radius: 99px;
    background: linear-gradient(90deg, var(--accent4), #a78bff);
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }


  /* CHART CARD */
  .chart-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
  }
  .chart-header {
    display: flex; justify-content: space-between;
    align-items: flex-start; margin-bottom: 16px;
  }
  .chart-title {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 700;
  }
  .chart-badge {
    font-family: var(--font-mono);
    font-size: 10px; letter-spacing: 1px;
    padding: 4px 8px; border-radius: 4px;
    text-transform: uppercase;
  }
  .chart-wrap { position: relative; height: 160px; }

  /* ALERT CARD */
  .alert-card {
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex; gap: 12px; align-items: flex-start;
  }
  .alert-card .alert-icon { font-size: 20px; flex-shrink: 0; }
  .alert-card .alert-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; margin-bottom: 3px; }
  .alert-card .alert-text { font-size: 13px; line-height: 1.4; color: var(--text2); }
  .alert-green { background: rgba(124,255,196,0.08); border: 1px solid rgba(124,255,196,0.2); }
  .alert-yellow { background: rgba(255,196,107,0.08); border: 1px solid rgba(255,196,107,0.2); }
  .alert-red { background: rgba(255,107,107,0.08); border: 1px solid rgba(255,107,107,0.2); }
  .alert-blue { background: rgba(107,184,255,0.08); border: 1px solid rgba(107,184,255,0.2); }

  /* INSIGHTS PAGE */
  .insight-week-label {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 800;
    letter-spacing: -0.5px;
  }
  .insight-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
  }
  .insight-summary p {
    font-size: 15px; line-height: 1.6; color: var(--text2);
  }
  .insight-summary strong { color: var(--text); font-weight: 600; }

  .reco-list { display: flex; flex-direction: column; gap: 8px; }
  .reco-item {
    display: flex; align-items: center; gap: 12px;
    background: var(--surface2);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    border-left: 3px solid var(--accent);
    font-size: 14px;
  }
  .reco-item.warn { border-left-color: var(--accent3); }
  .reco-item.danger { border-left-color: var(--accent2); }
  .reco-item.info { border-left-color: var(--accent4); }

  /* HISTORY TABLE */
  .hist-row {
    display: flex; align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    gap: 8px;
  }
  .hist-row:last-child { border-bottom: none; }
  .hist-wk {
    font-family: var(--font-mono); font-size: 11px;
    color: var(--text3); width: 48px; flex-shrink: 0;
  }
  .hist-weight {
    font-family: var(--font-display); font-weight: 700;
    font-size: 16px; flex: 1;
  }
  .hist-waist { font-size: 12px; color: var(--text2); font-family: var(--font-mono); }
  .hist-change {
    font-size: 12px; font-family: var(--font-mono);
    font-weight: 600; text-align: right; width: 60px;
  }

  /* BF ESTIMATE */
  .bf-card {
    background: linear-gradient(135deg, #111118 0%, #1a1a25 100%);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    padding: 20px;
  }
  .bf-main {
    font-family: var(--font-display);
    font-size: 48px; font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
  }
  .bf-main span { font-size: 24px; font-weight: 500; color: var(--text2); }

  /* Empty state */
  .empty-state {
    text-align: center; padding: 40px 20px;
    color: var(--text3); font-family: var(--font-mono);
    font-size: 12px; letter-spacing: 1px;
  }
  .empty-state .big { font-size: 32px; margin-bottom: 12px; }

  /* Chart empty state */
  .chart-empty-state {
    height: 160px; display: flex; align-items: center; justify-content: center;
    text-align: center;
    font-family: var(--font-mono); font-size: 12px;
    color: var(--text3); line-height: 1.6; padding: 0 20px;
  }
  .chart-empty-state strong { color: var(--text2); }

  /* Insights empty state */
  .insights-empty-state {
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 12px; text-align: center; gap: 6px;
  }
  .ies-icon { font-size: 28px; }
  .ies-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text); }
  .ies-desc { font-family: var(--font-mono); font-size: 11px; color: var(--text3); line-height: 1.6; }
  .ies-desc strong { color: var(--text2); }
  
  /* Neck input note */
  .note-text { font-size: 11px; color: var(--text3); font-family: var(--font-mono); margin-top: 6px; line-height: 1.5; }
  
  /* PREDICTION CARD */
  .pred-grid { display: flex; flex-direction: column; gap: 8px; }
  .pred-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; border-radius: var(--radius-sm);
    background: var(--surface2); border: 1px solid var(--border);
  }
  .pred-row-label { font-family: var(--font-mono); font-size: 10px; color: var(--text3); letter-spacing: 1px; text-transform: uppercase; }
  .pred-row-val { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
  .pred-row-date { font-family: var(--font-mono); font-size: 10px; color: var(--text3); margin-top: 2px; }
  .pred-goal-row {
    background: rgba(124,255,196,0.08);
    border-color: rgba(124,255,196,0.25);
  }
  .pred-goal-row .pred-row-val { color: var(--accent); }

