/* ═══════════════════════════════════════════════════════════════════════════
   Fundamental Factor — Main Stylesheet
   Palette: Navy base, amber gold accent, monospaced data elements
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --bg:           #0A0D14;
  --bg-raised:    #0E1117;
  --bg-card:      #13171F;
  --bg-card-hover:#181D27;
  --border:       #1E2535;
  --border-light: #252D3D;

  --text:         #E8E8E8;
  --text-muted:   #8A8F98;
  --text-faint:   #4A5060;

  --gold:         #C8A96E;
  --gold-bright:  #E0C080;
  --gold-dim:     #8A6E3E;
  --on-gold:      var(--bg);   /* text color on a gold fill (flips in light mode) */

  --green:        #4CAF7D;
  --red:          #E05555;
  --blue:         #4A8FD4;

  --font-display: 'IBM Plex Mono', monospace;
  --font-body:    'IBM Plex Sans', sans-serif;
  --font-data:    'IBM Plex Mono', monospace;

  --radius:       4px;
  --radius-lg:    8px;
  --max-width:    1200px;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

/* ── App Shell ───────────────────────────────────────────────────────────── */
.ff-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ff-main {
  flex: 1;
}

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.ff-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.ff-navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ff-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
}

.ff-logo-top {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.ff-logo-bottom {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text);
}

.ff-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ff-nav-link {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
  text-transform: uppercase;
}

.ff-nav-link:hover {
  color: var(--text);
  background: var(--bg-card);
}

.ff-nav-cta {
  color: var(--gold) !important;
  border: 1px solid var(--gold-dim);
  margin-left: 8px;
}

.ff-nav-cta:hover {
  background: rgba(200, 169, 110, 0.08) !important;
  border-color: var(--gold);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.ff-hero {
  border-bottom: 1px solid var(--border);
  padding: 80px 0 72px;
}

.ff-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  max-width: 760px;
}

.ff-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.ff-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 20px;
}

.ff-hero-accent {
  color: var(--gold);
}

.ff-hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.ff-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Signal Bar ──────────────────────────────────────────────────────────── */
.ff-signal-bar {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.ff-signal-label {
  max-width: var(--max-width);
  margin: 0 auto 10px;
  padding: 0 24px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-faint);
}

.ff-signal-items {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ff-signal-items::-webkit-scrollbar { display: none; }

.ff-signal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ff-signal-name {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.ff-signal-net {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
}

.ff-signal-arrow {
  font-size: 10px;
}

.ff-signal-up   { color: var(--green); }
.ff-signal-down { color: var(--red); }
.ff-signal-flat { color: var(--text-muted); }

.ff-signal-timestamp {
  max-width: var(--max-width);
  margin: 10px auto 0;
  padding: 0 24px;
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--text-faint);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.ff-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
}

.ff-btn-primary {
  background: var(--gold);
  color: var(--on-gold);
  border-color: var(--gold);
}

.ff-btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.ff-btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-light);
}

.ff-btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.ff-btn-large {
  padding: 14px 28px;
  font-size: 12px;
}

/* ── Section Shared ──────────────────────────────────────────────────────── */
.ff-section-eyebrow {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold-dim);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

/* ── Models Section ──────────────────────────────────────────────────────── */
.ff-models-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
}

.ff-section-header {
  margin-bottom: 36px;
}

.ff-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.ff-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

/* ── Model Cards ─────────────────────────────────────────────────────────── */
.ff-model-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  cursor: pointer;
}

.ff-model-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-dim);
  transform: translateY(-1px);
}

.ff-model-card-full {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
}

.ff-model-card-full .ff-card-title { font-size: 18px; min-width: 200px; }
.ff-model-card-full .ff-card-desc  { flex: 1; }

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

.ff-card-tag {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding: 3px 8px;
  border-radius: 2px;
}

.ff-card-tag-live {
  background: rgba(76, 175, 125, 0.15);
  color: var(--green);
  border: 1px solid rgba(76, 175, 125, 0.3);
}

.ff-card-tag-seasonal {
  background: rgba(200, 169, 110, 0.12);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 110, 0.3);
}

.ff-card-updated {
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

.ff-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.ff-card-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.ff-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ff-meta-item {
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

.ff-meta-sep { color: var(--text-faint); }

.ff-card-cta {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-top: auto;
  transition: color 0.15s;
}

.ff-model-card:hover .ff-card-cta { color: var(--gold-bright); }

/* ── Newsletter ──────────────────────────────────────────────────────────── */
.ff-newsletter {
  border-top: 1px solid var(--border);
  background: var(--bg-raised);
  padding: 72px 0;
}

.ff-newsletter-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.ff-newsletter-copy { flex: 1; min-width: 280px; }

.ff-newsletter-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.ff-newsletter-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 440px;
}

.ff-newsletter-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ff-newsletter-fine {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.ff-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.ff-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ff-footer-copy {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}

.ff-footer-links { display: flex; align-items: center; gap: 12px; }

.ff-footer-link {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  transition: color 0.15s;
}
.ff-footer-link:hover { color: var(--text-muted); }
.ff-footer-sep { color: var(--text-faint); font-size: 10px; }

/* ── Page Shared ─────────────────────────────────────────────────────────── */
.ff-page { min-height: calc(100vh - 60px); }

.ff-page-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 40px;
  border-bottom: 1px solid var(--border);
}

.ff-page-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.ff-page-subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
}

/* ── Model Page ──────────────────────────────────────────────────────────── */
.ff-model-page-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px 24px 32px;
  border-bottom: 1px solid var(--border);
}

.ff-back-link {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  display: inline-block;
  margin-bottom: 16px;
  transition: color 0.15s;
}
.ff-back-link:hover { color: var(--text-muted); }

.ff-model-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

/* ── Chart Grid ──────────────────────────────────────────────────────────── */
.ff-chart-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

/* ── Scenario Cards ──────────────────────────────────────────────────────── */
.ff-scenario-row {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ff-scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ff-scenario-bear  { border-top: 2px solid var(--red); }
.ff-scenario-base  { border-top: 2px solid var(--gold); }
.ff-scenario-bull  { border-top: 2px solid var(--green); }

.ff-scenario-label {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-faint);
}

.ff-scenario-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.ff-scenario-desc {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Models Index ────────────────────────────────────────────────────────── */
.ff-models-index .ff-page-header { margin-bottom: 0; }

.ff-models-full-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Methodology ─────────────────────────────────────────────────────────── */
.ff-methodology {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 8px;
}

.ff-methodology-text {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-faint);
  max-width: 680px;
  font-family: var(--font-display);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ff-chart-grid        { grid-template-columns: 1fr; }
  .ff-chart-half        { grid-column: 1 / -1; }
  .ff-scenario-row      { grid-template-columns: 1fr; }
  .ff-model-card-full   { flex-direction: column; }
  .ff-newsletter-inner  { flex-direction: column; }
  .ff-nav-about         { display: none; }            /* reachable in footer */
  .ff-dropdown-menu     { display: none !important; } /* no hover menu on touch; tap Models -> index */
  .ff-nav-links         { gap: 2px; }
  .ff-hero-inner        { max-width: 100%; }
}

/* ── Nav dropdown ────────────────────────────────────────────────────────────── */
.ff-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ff-caret {
  font-size: 8px;
  margin-left: 5px;
  opacity: 0.7;
}

.ff-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  z-index: 200;
}

.ff-has-dropdown:hover .ff-dropdown-menu,
.ff-has-dropdown:focus-within .ff-dropdown-menu {
  display: flex;
}

.ff-dropdown-link {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: color 0.12s, background 0.12s;
  white-space: nowrap;
}

.ff-dropdown-link:hover {
  background: var(--bg-card);
  color: var(--text);
}

/* ── Theme toggle ────────────────────────────────────────────────────────────── */
.ff-theme-toggle {
  margin-left: 8px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.ff-theme-toggle:hover {
  color: var(--text);
  border-color: var(--text-muted);
  background: var(--bg-card);
}

/* ── Last-update badge (replaces the old LIVE/status pills) ───────────────────── */
.ff-updated-badge {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

/* ── Prose pages (About / Terms / Privacy) ───────────────────────────────────── */
.ff-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 24px 72px;
}

.ff-prose h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 30px 0 10px;
}

.ff-prose p,
.ff-prose li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.ff-prose ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.ff-prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ff-prose a:hover { color: var(--gold-bright); }

.ff-prose-updated {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.ff-prose-actions {
  margin-top: 32px;
}

/* ── Light theme ─────────────────────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:           #F6F5F1;
  --bg-raised:    #FFFFFF;
  --bg-card:      #FFFFFF;
  --bg-card-hover:#F0EEE8;
  --border:       #E4E0D6;
  --border-light: #D5D0C3;

  --text:         #1B1E26;
  --text-muted:   #5C626B;
  --text-faint:   #9AA0A8;

  --gold:         #9A7B33;
  --gold-bright:  #B8923A;
  --gold-dim:     #B6A578;

  --green:        #2E8B57;
  --red:          #C0392B;
  --blue:         #2E6FB0;

  --on-gold:      #FFFFFF;
}

/* Soft elevation for cards in light mode (dark mode relies on borders) */
[data-theme="light"] .ff-model-card {
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.04);
}
[data-theme="light"] .ff-model-card:hover {
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.08);
}
[data-theme="light"] .ff-dropdown-menu {
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.12);
}

/* ── CFTC model page ─────────────────────────────────────────────────────────── */
.ff-cftc-overview,
.ff-cftc-detail {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 8px;
}

.ff-cftc-section-label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* Charts render in their original light styling, so they live in white cards */
.ff-cftc-chart-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 10px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.ff-cftc-chart-stack { margin-top: 8px; }

/* Stat chips */
.ff-cftc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 16px;
}

.ff-cftc-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px 12px;
  font-size: 13px;
}

.ff-cftc-chip-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.ff-cftc-chip-value { font-weight: 600; color: var(--text); }

/* Tables (white card, navy header — matches the original report) */
.ff-cftc-table-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.ff-cftc-table-title {
  font-size: 15px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
}

.ff-cftc-table-note {
  font-size: 12px;
  color: #64748B;
  margin: -4px 0 12px;
  line-height: 1.6;
}

.ff-cftc-table-wrap { overflow-x: auto; }

.ff-cftc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #1E293B;
}

.ff-cftc-table th {
  background: #1E3A5F;
  color: #ffffff;
  padding: 9px 12px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.ff-cftc-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #E2E8F0;
  white-space: nowrap;
}

.ff-cftc-table tbody tr:hover td { background: #F8FAFC; }

/* Commodity selector */
.ff-cftc-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ff-cftc-selector-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.ff-cftc-dropdown {
  min-width: 280px;
  color: #1E293B;
}

.ff-cftc-empty {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
  color: var(--text-muted);
}

/* Per-commodity chart tabs */
.ff-cftc-tabs {
  margin-bottom: 16px !important;
  border-bottom: 1px solid var(--border) !important;
}

.ff-cftc-tab {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  color: var(--text-muted) !important;
  font-family: var(--font-display) !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
  padding: 10px 16px !important;
}

.ff-cftc-tab:hover { color: var(--text) !important; }

.ff-cftc-tab-selected {
  background: transparent !important;
  color: var(--text) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 2px solid var(--gold) !important;
}

