/* ============================================================
   Health Dashboard — Light Clinical Design System
   ============================================================ */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --accent: #2563eb;
  --accent-soft: #eff6ff;
  --accent-border: #bfdbfe;

  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;

  --green: #16a34a;
  --green-soft: #f0fdf4;
  --green-border: #bbf7d0;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --amber-border: #fde68a;
  --slate-soft: #f1f5f9;
  --red: #dc2626;
  --red-soft: #fef2f2;
  --red-border: #fecaca;
  --purple: #9333ea;
  --purple-soft: #faf5ff;
  --purple-border: #e9d5ff;
  --cold: #0891b2;
  --cold-soft: #ecfeff;
  --heat: #ea580c;
  --heat-soft: #fff7ed;
  --spark-line: #cbd5e1;
  --nav-bg: rgba(255, 255, 255, 0.92);

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Top nav ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.nav-links {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--slate-soft); color: var(--text); }
.nav-links a.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.last-updated {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.page-header { margin-bottom: 28px; }
.page-header h1 { font-size: 26px; letter-spacing: -0.02em; }
.page-header .subtitle { color: var(--text-2); font-size: 14px; margin-top: 4px; }

section { margin-bottom: 44px; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.section-head h2 { font-size: 18px; letter-spacing: -0.01em; }
.section-head .section-sub { font-size: 13px; color: var(--text-2); }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card h3 { font-size: 15px; margin-bottom: 4px; letter-spacing: -0.01em; }
.card .card-meta { font-size: 12.5px; color: var(--text-2); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.badge-green { color: var(--green); background: var(--green-soft); border-color: var(--green-border); }
.badge-amber { color: var(--amber); background: var(--amber-soft); border-color: var(--amber-border); }
.badge-blue  { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-border); }
.badge-slate { color: var(--text-2); background: var(--slate-soft); border-color: var(--border-strong); }
.badge-red   { color: var(--red); background: var(--red-soft); border-color: var(--red-border); }

.sample-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px dashed var(--amber-border);
  border-radius: 999px;
  padding: 2px 10px;
}

/* ---------- Upcoming banner ---------- */
.upcoming-banner .card {
  border-left: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.upcoming-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.upcoming-with { font-size: 13px; color: var(--text-2); }
.upcoming-notes { font-size: 12.5px; color: var(--text-3); }

/* ---------- Tests ---------- */
.test-card .test-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.detail-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.detail-table td { padding: 5px 0; vertical-align: top; border-top: 1px solid var(--border); }
.detail-table td:first-child {
  color: var(--text-3);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: 88px;
  padding-right: 10px;
}

/* ---------- Oura rings ---------- */
.oura-rings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.ring-card { text-align: center; padding: 22px 16px; }
.ring-wrap { position: relative; width: 120px; height: 120px; margin: 0 auto 10px; }
.ring-wrap svg { transform: rotate(-90deg); }
.ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-value .num { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.ring-label { font-size: 13px; font-weight: 600; color: var(--text-2); }

.oura-stats { grid-template-columns: repeat(6, 1fr); }
.stat-card { text-align: center; padding: 14px 8px; }
.stat-card .stat-num { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.stat-label {
  font-size: 10.5px;
  color: var(--text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-card .stat-label { margin-top: 2px; }

.trend-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.trend-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}
.trend-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); }
.trend-table tr:last-child td { border-bottom: none; }
.trend-table .num { font-variant-numeric: tabular-nums; }

.score-pill {
  display: inline-block;
  min-width: 34px;
  text-align: center;
  font-weight: 600;
  font-size: 12.5px;
  padding: 1px 8px;
  border-radius: 999px;
}
.score-good { background: var(--green-soft); color: var(--green); }
.score-ok   { background: var(--amber-soft); color: var(--amber); }
.score-low  { background: var(--red-soft); color: var(--red); }

/* ---------- Workout ---------- */
.workout-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.workout-day .day-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.workout-day .day-focus { font-size: 14.5px; font-weight: 600; margin: 2px 0 10px; }
.exercise-list { list-style: none; font-size: 13px; }
.exercise-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-top: 1px solid var(--border);
}
.exercise-list .sets { color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rest-day { color: var(--text-3); font-size: 13px; font-style: italic; padding-top: 4px; }

/* ---------- Recovery (sauna / plunge) ---------- */
.protocol-card { border-top: 3px solid; }
.protocol-sauna { border-top-color: var(--heat); }
.protocol-cold { border-top-color: var(--cold); }

.protocol-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.protocol-metrics .pm {
  background: var(--slate-soft);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
}
.protocol-sauna .pm { background: var(--heat-soft); }
.protocol-cold .pm { background: var(--cold-soft); }
.pm .pm-val { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.pm .pm-key {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.protocol-note { font-size: 12.5px; color: var(--text-2); }

.sequence-list { list-style: none; counter-reset: step; font-size: 13.5px; }
.sequence-list li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.sequence-list li:first-child { border-top: none; }
.sequence-list li::before {
  content: counter(step);
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.safety-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

/* ---------- Medications ---------- */
.med-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.med-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--slate-soft);
}
.med-table th:first-child { border-top-left-radius: var(--radius-sm); }
.med-table th:last-child { border-top-right-radius: var(--radius-sm); }
.med-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.med-table tr:last-child td { border-bottom: none; }
.med-name { font-weight: 600; }
.med-notes { color: var(--text-2); font-size: 12.5px; }

/* ---------- Nutrition ---------- */
.goal-list { list-style: none; font-size: 13.5px; }
.goal-list li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); }
.goal-list li:first-child { border-top: none; }
.goal-list li::before { content: "✓"; color: var(--green); font-weight: 700; }

.snack-item { padding: 8px 0; border-top: 1px solid var(--border); }
.snack-item:first-child { border-top: none; }
.snack-item .snack-name { font-weight: 600; font-size: 13.5px; }
.snack-item .snack-detail { font-size: 12.5px; color: var(--text-2); }

/* ---------- Referrals ---------- */
.referral-card .ref-specialty { font-size: 12.5px; color: var(--text-2); margin-bottom: 8px; }
.referral-card .ref-status { font-size: 13px; margin-bottom: 8px; }
.referral-card .ref-contact {
  font-size: 12.5px;
  font-family: var(--mono);
  color: var(--accent);
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding: 0 0 18px 12px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--border-strong);
}
.timeline-item.cat-lab::before { border-color: var(--accent); }
.timeline-item.cat-report::before { border-color: var(--green); }
.timeline-item.cat-visit::before { border-color: var(--amber); }
.timeline-item.cat-medication::before { border-color: var(--purple); }
.timeline-item.cat-upcoming::before { border-color: var(--accent); background: var(--accent); }

.timeline-date {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.timeline-event { font-size: 14px; }
.timeline-item.cat-upcoming .timeline-event { font-weight: 600; color: var(--accent); }

/* ---------- Section note ---------- */
.section-note {
  font-size: 13px;
  color: var(--text-2);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
}

/* ---------- Oura adaptive banner ---------- */
.adaptive-card { border-left: 4px solid; }
.adaptive-card.tone-green { border-left-color: var(--green); background: var(--green-soft); }
.adaptive-card.tone-blue  { border-left-color: var(--accent); background: var(--accent-soft); }
.adaptive-card.tone-amber { border-left-color: var(--amber); background: var(--amber-soft); }
.adaptive-card.tone-red   { border-left-color: var(--red); background: var(--red-soft); }

.adaptive-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.adaptive-label { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.tone-green .adaptive-label { color: var(--green); }
.tone-blue  .adaptive-label { color: var(--accent); }
.tone-amber .adaptive-label { color: var(--amber); }
.tone-red   .adaptive-label { color: var(--red); }
.adaptive-summary { font-size: 13px; color: var(--text-2); margin-top: 2px; }

.adaptive-scores {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-2);
  align-items: center;
}
.adaptive-scores strong { color: var(--text); }

.adaptive-list {
  list-style: none;
  margin-top: 12px;
  font-size: 13.5px;
}
.adaptive-list li {
  display: flex;
  gap: 8px;
  padding: 4px 0;
}
.adaptive-list li::before { content: "→"; color: var(--text-3); }

.adaptive-src {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-3);
}

/* ---------- Today's protocol ---------- */
.today-grid .card .day-name { margin-bottom: 8px; }

/* ---------- Daily plan (Overview) ---------- */
.plan-block .day-name { margin-bottom: 8px; font-size: 12.5px; }

.plan-list { list-style: none; font-size: 13.5px; }
.plan-item { border-top: 1px solid var(--border); }
.plan-item:first-child { border-top: none; }
.plan-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
}
.plan-item input[type="checkbox"] {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
  flex: 0 0 auto;
}
.plan-item.done span {
  text-decoration: line-through;
  color: var(--text-3);
}

/* ---------- Calendar ---------- */
.cal-card { padding: 16px; }

.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cal-month { font-size: 15px; font-weight: 700; min-width: 160px; text-align: center; }
.cal-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.cal-btn:hover { background: var(--slate-soft); color: var(--text); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-dows { margin-bottom: 4px; }
.cal-dow {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 0;
}

.cal-cell {
  min-height: 76px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 6px;
  background: var(--surface);
  overflow: hidden;
}
.cal-empty { border-color: transparent; background: transparent; }
.cal-today { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cal-today .cal-day-num { color: var(--accent); }

.cal-day-num { font-size: 12px; font-weight: 700; color: var(--text-2); margin-bottom: 3px; }

.cal-event {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  padding: 1px 5px;
  margin-bottom: 2px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-lab        { background: var(--accent-soft); color: var(--accent); }
.cal-report     { background: var(--green-soft); color: var(--green); }
.cal-visit      { background: var(--amber-soft); color: var(--amber); }
.cal-medication { background: var(--purple-soft); color: var(--purple); }
.cal-upcoming   { background: var(--accent); color: #fff; }

.cal-more { font-size: 10px; color: var(--text-3); padding-left: 5px; }

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--text-2);
}
.cal-legend .dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  margin-right: 4px;
}
.cal-legend .dot.cal-lab        { background: var(--accent-border); }
.cal-legend .dot.cal-report     { background: var(--green-border); }
.cal-legend .dot.cal-visit      { background: var(--amber-border); }
.cal-legend .dot.cal-medication { background: var(--purple-border); }
.cal-legend .dot.cal-upcoming   { background: var(--accent); }

/* ---------- Stat tiles: sparklines, deltas (labs + Oura trend) ---------- */
.spark { display: block; margin: 6px 0 4px; }

.lab-row { display: flex; align-items: center; gap: 10px; }
.lab-val { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.lab-unit { font-size: 12px; font-weight: 500; color: var(--text-2); }

.delta {
  font-size: 11.5px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.delta-good { color: var(--green); background: var(--green-soft); }
.delta-bad  { color: var(--red); background: var(--red-soft); }
.delta-flat { color: var(--text-3); background: var(--slate-soft); }

.trend-tiles { grid-template-columns: repeat(5, 1fr); margin-bottom: 16px; }
.stat-tile { text-align: left; padding: 14px 16px; }
.stat-tile .stat-label { margin-top: 0; margin-bottom: 4px; }

/* ---------- Adherence (Overview) ---------- */
.adherence-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.adherence-bars { display: flex; gap: 10px; align-items: flex-end; }
.abar-col { text-align: center; }
.abar-track {
  width: 20px;
  height: 48px;
  background: var(--accent-soft);
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.abar-fill { width: 100%; background: var(--accent); border-radius: 4px 4px 0 0; }
.abar-day { font-size: 10px; font-weight: 700; color: var(--text-3); margin-top: 3px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ---------- Error state ---------- */
.load-error {
  max-width: 560px;
  margin: 80px auto;
  text-align: center;
  color: var(--text-2);
}
.load-error code {
  font-family: var(--mono);
  background: var(--slate-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12.5px;
}

/* ---------- Dark mode ----------
   Hue steps validated against the dark surface (OKLCH band + CVD + contrast);
   soft/border tints are translucent steps of the same hues. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #131c2e;
    --border: #243147;
    --border-strong: #3a4a66;

    --accent: #3b82f6;
    --accent-soft: rgba(96, 165, 250, 0.14);
    --accent-border: rgba(96, 165, 250, 0.4);

    --text: #e6edf6;
    --text-2: #a7b4c7;
    --text-3: #6f7f97;

    --green: #16a34a;
    --green-soft: rgba(74, 222, 128, 0.12);
    --green-border: rgba(74, 222, 128, 0.35);
    --amber: #d97706;
    --amber-soft: rgba(251, 191, 36, 0.1);
    --amber-border: rgba(251, 191, 36, 0.35);
    --slate-soft: #1b2537;
    --red: #ef4444;
    --red-soft: rgba(248, 113, 113, 0.12);
    --red-border: rgba(248, 113, 113, 0.35);
    --purple: #a855f7;
    --purple-soft: rgba(192, 132, 252, 0.12);
    --purple-border: rgba(192, 132, 252, 0.4);
    --cold: #22d3ee;
    --cold-soft: rgba(34, 211, 238, 0.09);
    --heat: #fb923c;
    --heat-soft: rgba(251, 146, 60, 0.09);
    --spark-line: #3a4a66;
    --nav-bg: rgba(11, 18, 32, 0.92);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.45);
  }
  .cal-upcoming { color: #0b1220; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .oura-stats { grid-template-columns: repeat(3, 1fr); }
  .trend-tiles { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 20px 16px 60px; }
  .cal-cell { min-height: 44px; padding: 3px 4px; }
  .cal-event { display: none; }
  .cal-cell:has(.cal-event) .cal-day-num::after {
    content: "•";
    color: var(--accent);
    margin-left: 2px;
  }
  .cal-more { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .oura-rings { grid-template-columns: 1fr; }
  .oura-stats { grid-template-columns: repeat(2, 1fr); }
  .trend-tiles { grid-template-columns: repeat(2, 1fr); }
  .protocol-metrics { grid-template-columns: repeat(2, 1fr); }
  .last-updated { display: none; }
  .med-table { display: block; overflow-x: auto; }
  .trend-scroll { overflow-x: auto; }
}
