/*
  FXTradeNow Beginner-Friendly UI
  Global Visual Foundation
  Phase 1 — Responsive Web Application
  18 October 2026
  IMPORTANT:
  Visual layer only.
  No signal logic, state management, Firebase logic,
  authentication rules or production data logic is defined here.
*/
:root {
  --fx-navy: #102a43;
  --fx-navy-deep: #0b1f33;
  --fx-navy-soft: #244967;
  --fx-gold: #c99a2e;
  --fx-gold-dark: #a97816;
  --fx-gold-soft: #fff8e8;
  --fx-white: #ffffff;
  --fx-page: #f7f9fc;
  --fx-surface: #ffffff;
  --fx-surface-soft: #f2f5f8;
  --fx-border: #dce4eb;
  --fx-border-strong: #c8d3dd;
  --fx-text: #132b43;
  --fx-muted: #66788a;
  --fx-subtle: #8b99a8;
  --fx-buy: #16865b;
  --fx-buy-soft: #eaf8f1;
  --fx-sell: #c64752;
  --fx-sell-soft: #fff0f1;
  --fx-shadow-sm: 0 4px 14px rgba(16, 42, 67, .07);
  --fx-shadow-md: 0 12px 34px rgba(16, 42, 67, .10);
  --fx-radius-sm: 8px;
  --fx-radius-md: 14px;
  --fx-radius-lg: 20px;
  /*
    Compatibility aliases for the existing production UI.
    Existing JavaScript and markup can continue using the
    original variable names while the visual language changes.
  */
  --bg: var(--fx-page);
  --panel: var(--fx-surface);
  --panel-2: var(--fx-surface-soft);
  --line: var(--fx-border);
  --line-hot: var(--fx-border-strong);
  --text: var(--fx-text);
  --muted: var(--fx-muted);
  --amber: var(--fx-gold);
  --amber-2: var(--fx-gold-dark);
  --cyan: #326d99;
  --green: var(--fx-buy);
  --red: var(--fx-sell);
  --blue: #356da5;
  --neutral: #8594a3;
  --shadow: var(--fx-shadow-md);
}
html {
  background: var(--fx-page);
}
body {
  color: var(--fx-text);
  background:
    radial-gradient(circle at 82% -15%, rgba(201,154,46,.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0, var(--fx-page) 360px);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
}
/* ---------- GLOBAL HEADER ---------- */
.topbar {
  border-bottom: 1px solid var(--fx-border);
  background: rgba(255,255,255,.96);
  box-shadow: 0 4px 20px rgba(16,42,67,.06);
  backdrop-filter: blur(18px);
}
.brand {
  color: var(--fx-navy);
}
.brand-mark {
  overflow: visible;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--fx-navy);
}
.brand-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
}
.brand-title {
  color: var(--fx-navy);
}
.brand-sub {
  color: var(--fx-muted);
}
.ticker {
  color: var(--fx-muted);
  border-color: var(--fx-border);
}
.ticker strong,
.clock-time {
  color: var(--fx-navy);
}
.clock-zone {
  color: var(--fx-muted);
}
.status-dot {
  background: var(--fx-buy);
  box-shadow: 0 0 0 4px rgba(22,134,91,.10);
}
/* ---------- MAIN NAVIGATION ---------- */
.sidebar {
  border-right: 1px solid var(--fx-border);
  background: rgba(255,255,255,.92);
}
.side-label {
  color: var(--fx-subtle);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}
.nav-btn {
  color: #53697d;
  border-radius: 10px;
  font-weight: 600;
}
.nav-btn:hover {
  color: var(--fx-navy);
  background: #f4f7fa;
  border-color: var(--fx-border);
}
.nav-btn.active {
  color: var(--fx-navy);
  background: var(--fx-gold-soft);
  border-color: #ead8a5;
  box-shadow: inset 3px 0 0 var(--fx-gold);
}
.nav-code {
  color: #5f7182;
}
.nav-btn.active .nav-code {
  color: #946600;
}
/* ---------- TYPOGRAPHY FOUNDATION ---------- */
.page-head h1,
.view h1 {
  color: var(--fx-navy);
  letter-spacing: -.02em;
}
.subtitle {
  color: var(--fx-muted);
  line-height: 1.65;
}
.eyebrow {
  color: var(--fx-gold-dark);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .09em;
}
/* ---------- GLOBAL COMPONENT FOUNDATION ---------- */
.panel,
.metric,
.methodology-strip,
.owner-recommendation {
  border-color: var(--fx-border);
  background: var(--fx-surface);
  box-shadow: var(--fx-shadow-sm);
}
.panel-head {
  border-bottom-color: var(--fx-border);
  background: #fbfcfd;
}
.panel-title {
  color: var(--fx-navy);
}
.panel-meta {
  color: var(--fx-subtle);
}
.badge.buy,
.badge.success,
.buy {
  color: var(--fx-buy);
}
.badge.sell,
.badge.danger,
.sell {
  color: var(--fx-sell);
}
/*
  Responsive rules for the redesigned Overview are intentionally
  NOT defined here. They will be implemented and tested separately
  during the approved responsive-web phase.
*/
/* =========================================================
   STEP 4 APPROVED OVERVIEW
   Beginner-Friendly Desktop Web Homepage
   ========================================================= */
#view-overview {
  max-width: 1500px;
  margin: 0 auto;
}
.fx-home-hero {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(400px,.95fr);
  gap: 34px;
  min-height: 440px;
  margin-bottom: 22px;
  padding: 38px 40px;
  overflow: hidden;
  border: 1px solid var(--fx-border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 20%, rgba(201,154,46,.10), transparent 26%),
    linear-gradient(135deg,#ffffff 0%,#fbfcfe 58%,#eef4f8 100%);
  box-shadow: var(--fx-shadow-md);
}
.fx-home-hero-copy {
  align-self: center;
  min-width: 0;
}
.fx-home-kicker,
.fx-section-kicker {
  margin-bottom: 12px;
  color: #946600;
  font-family: "Segoe UI",Arial,sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.fx-home-hero h1 {
  max-width: 690px;
  margin: 0;
  color: var(--fx-navy);
  font-family: "Segoe UI",Arial,sans-serif;
  font-size: clamp(40px,4vw,60px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.fx-home-hero h1 span {
  display: block;
  color: var(--fx-navy);
}
.fx-home-intro {
  max-width: 680px;
  margin: 22px 0 0;
  color: #51687c;
  font-size: 17px;
  line-height: 1.72;
}
.fx-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}
.fx-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: .18s ease;
}
.fx-btn-primary {
  color: #102a43;
  border-color: #d8a326;
  background: linear-gradient(180deg,#ffd45c,#f2b928);
  box-shadow: 0 8px 22px rgba(201,154,46,.22);
}
.fx-btn-primary:hover {
  transform: translateY(-1px);
  background: #ffd35a;
}
.fx-btn-secondary {
  color: var(--fx-navy);
  border-color: #b9c8d5;
  background: #ffffff;
}
.fx-btn-secondary:hover {
  border-color: var(--fx-navy);
  background: #f8fafc;
}
.fx-home-benefits {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  margin-top: 30px;
}
.fx-benefit {
  display: flex;
  min-width: 0;
  gap: 10px;
  padding: 13px;
  border: 1px solid #e5ebf0;
  border-radius: 11px;
  background: rgba(255,255,255,.80);
}
.fx-benefit-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 9px;
  color: var(--fx-navy);
  background: #edf4fb;
  font-size: 18px;
  font-weight: 900;
}
.fx-benefit strong {
  display: block;
  color: var(--fx-navy);
  font-size: 13px;
}
.fx-benefit small {
  display: block;
  margin-top: 4px;
  color: var(--fx-muted);
  font-size: 11px;
  line-height: 1.45;
}
.fx-home-hero-visual {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: grid;
  align-content: center;
  padding: 24px;
}
.fx-visual-message {
  position: relative;
  z-index: 2;
  margin: 0 0 14px 18px;
  transform: rotate(-3deg);
  color: var(--fx-navy);
  font-size: 15px;
  letter-spacing: .06em;
}
.fx-visual-message span,
.fx-visual-message strong {
  display: block;
}
.fx-visual-message strong {
  margin-top: 4px;
  color: var(--fx-gold-dark);
}
.fx-market-screen {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  border: 9px solid #17324b;
  border-radius: 18px;
  background:
    linear-gradient(rgba(16,42,67,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(16,42,67,.04) 1px,transparent 1px),
    #ffffff;
  background-size: 34px 34px;
  box-shadow: 0 22px 42px rgba(16,42,67,.20);
}
.fx-market-screen-head {
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
  color: var(--fx-muted);
  border-bottom: 1px solid var(--fx-border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.fx-market-decoration {
  width: 100%;
  height: 190px;
  padding: 20px 16px 0;
}
.fx-market-screen-footer {
  display: flex;
  justify-content: space-around;
  padding: 10px 14px;
  color: #718497;
  border-top: 1px solid var(--fx-border);
  font-size: 9px;
  font-weight: 800;
}
#view-overview .methodology-strip {
  margin: 0 0 18px;
  padding: 18px 20px;
  border-radius: 13px;
}
#view-overview .methodology-strip-label {
  color: #946600;
  font-family: "Segoe UI",Arial,sans-serif;
  font-size: 11px;
  font-weight: 800;
}
#view-overview .methodology-strip-text {
  margin-top: 6px;
  color: #526a7d;
  font-size: 14px;
  line-height: 1.6;
}
#view-overview .methodology-link {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #bccbd7;
  border-radius: 9px;
  color: var(--fx-navy);
  background: #fff;
  font-family: "Segoe UI",Arial,sans-serif;
  font-size: 11px;
  font-weight: 800;
}
#view-overview .owner-recommendation {
  margin-bottom: 30px;
  padding: 20px 22px;
  border-radius: 14px;
}
#view-overview .owner-rec-title {
  margin-top: 6px;
  color: var(--fx-navy);
  font-family: "Segoe UI",Arial,sans-serif;
  font-size: 19px;
  font-weight: 800;
}
#view-overview .owner-rec-message {
  max-width: 1000px;
  color: #526a7d;
  font-size: 14px;
  line-height: 1.65;
}
#view-overview .owner-rec-meta {
  color: #8292a0;
  font-family: "Segoe UI",Arial,sans-serif;
  font-size: 10px;
}
.fx-overview-section {
  margin-top: 34px;
}
.fx-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}
.fx-section-heading h2 {
  margin: 0;
  color: var(--fx-navy);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.fx-section-heading p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--fx-muted);
  font-size: 14px;
  line-height: 1.55;
}
.fx-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #cfe8dc;
  border-radius: 999px;
  color: #397259;
  background: #f1faf6;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
}
.fx-live-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fx-buy);
}
.fx-home-signal-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}
.fx-home-signal-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--fx-border);
  border-top: 4px solid var(--fx-buy);
  border-radius: 15px;
  background: #ffffff;
  box-shadow: var(--fx-shadow-sm);
}
.fx-home-signal-card.sell {
  border-top-color: var(--fx-sell);
}
.fx-signal-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 19px 15px;
}
.fx-signal-category {
  color: #5f7182;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fx-signal-card-head h3 {
  margin: 5px 0 4px;
  color: var(--fx-navy);
  font-size: 22px;
}
.fx-signal-mode {
  color: var(--fx-muted);
  font-size: 11px;
}
.fx-direction-badge {
  display: inline-flex;
  min-width: 58px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
}
.fx-direction-badge.buy {
  color: #ffffff;
  background: var(--fx-buy);
}
.fx-direction-badge.sell {
  color: #ffffff;
  background: var(--fx-sell);
}
.fx-signal-levels {
  display: grid;
  gap: 0;
  padding: 0 19px;
}
.fx-signal-levels > div {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #edf1f4;
}
.fx-signal-levels span {
  color: var(--fx-muted);
  font-size: 12px;
}
.fx-signal-levels strong {
  color: var(--fx-navy);
  font-size: 15px;
}
.fx-signal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 19px;
  border-top: 1px solid var(--fx-border);
  background: #fbfcfd;
}
.fx-active-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #557466;
  font-size: 11px;
  font-weight: 700;
}
.fx-active-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fx-buy);
}
.fx-view-details {
  padding: 7px 0;
  border: 0;
  color: #245f91;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.fx-how-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}
.fx-how-card {
  position: relative;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--fx-border);
  border-radius: 15px;
  background: #ffffff;
  box-shadow: var(--fx-shadow-sm);
}
.fx-step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #5ca6df;
  font-size: 12px;
  font-weight: 800;
}
.fx-how-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 12px;
  color: #357ab1;
  background: #edf6fd;
  font-size: 22px;
}
.fx-how-card h3 {
  margin: 16px 0 8px;
  color: var(--fx-navy);
  font-size: 17px;
}
.fx-how-card p {
  margin: 0;
  color: var(--fx-muted);
  font-size: 13px;
  line-height: 1.62;
}
.fx-performance-section {
  padding: 24px;
  border: 1px solid var(--fx-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--fx-shadow-sm);
}
.fx-text-action {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #c5d2dc;
  border-radius: 8px;
  color: var(--fx-navy);
  background: #ffffff;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
#view-overview .fx-home-metrics {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 12px;
}
#view-overview .fx-home-metrics .metric {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--fx-border);
  border-radius: 12px;
  background: #fbfcfd;
  box-shadow: none;
}
#view-overview .fx-home-metrics .metric-label {
  color: #5f7182;
  font-family: "Segoe UI",Arial,sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
}
#view-overview .fx-home-metrics .metric-value {
  margin-top: 9px;
  color: var(--fx-navy);
  font-family: "Segoe UI",Arial,sans-serif;
  font-size: 28px;
  font-weight: 800;
}
#view-overview .fx-home-metrics .metric-value.green {
  color: var(--fx-buy);
}
#view-overview .fx-home-metrics .metric-value.red {
  color: var(--fx-sell);
}
#view-overview .fx-home-metrics .metric-value.amber {
  color: var(--fx-gold-dark);
}
#view-overview .fx-home-metrics .metric-note {
  margin-top: 6px;
  color: var(--fx-muted);
  font-size: 10px;
  line-height: 1.4;
}
.fx-home-alert-row {
  margin-top: 18px;
}
.fx-home-disclosure {
  margin: 22px 0 8px;
  padding: 15px 17px;
  border: 1px solid #e3e9ee;
  border-radius: 11px;
  color: #738492;
  background: #f8fafb;
  font-size: 11px;
  line-height: 1.6;
}
.fx-compatibility-hooks {
  display: none !important;
}
.fx-no-signals {
  grid-column: 1/-1;
  padding: 30px;
  border: 1px dashed #cbd6de;
  border-radius: 14px;
  color: var(--fx-muted);
  background: #ffffff;
  text-align: center;
  font-size: 14px;
}/* =========================================================
   STEP 4B REFINEMENT
   ========================================================= */
.fx-home-hero h1 {
  max-width: 760px;
  font-size: clamp(44px,4.2vw,66px);
  line-height: 0.98;
  letter-spacing: -.055em;
}
.fx-home-intro {
  max-width: 700px;
  color: #3f566b;
  font-size: 18px;
  line-height: 1.78;
  font-weight: 500;
}
.fx-benefit small,
.fx-section-heading p,
#view-overview .methodology-strip-text,
#view-overview .owner-rec-message,
.fx-how-card p,
.fx-home-disclosure {
  color: #4c6479 !important;
}
.side-label {
  color: #728394 !important;
  font-weight: 700;
}
.nav-btn {
  color: #486277 !important;
  font-weight: 700;
}
.nav-btn:hover,
.nav-btn.active {
  font-weight: 800;
}
.fx-signal-mode,
.fx-signal-levels span,
.fx-home-metrics .metric-note,
.metric-note {
  color: #5d7387 !important;
}
.fx-home-hero-visual {
  padding: 16px 10px 16px 18px;
}
.fx-visual-message-brand {
  margin: 0 0 18px 8px;
  transform: none;
  font-size: 18px;
  letter-spacing: .04em;
}
.fx-visual-message-brand span {
  color: #415d76;
  font-weight: 700;
}
.fx-visual-message-brand strong {
  color: var(--fx-gold-dark);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}
.fx-brand-showcase {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  padding: 28px 24px;
  border: 8px solid #17324b;
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 15%, rgba(201,154,46,.13), transparent 24%),
    linear-gradient(180deg,#ffffff 0%,#f7fafc 100%);
  box-shadow: 0 22px 42px rgba(16,42,67,.18);
}
.fx-brand-showcase-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  flex: 1;
}
.fx-brand-showcase-logo {
  width: min(100%, 330px);
  max-height: 110px;
  object-fit: contain;
}
.fx-brand-showcase-title {
  color: var(--fx-navy);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}
.fx-brand-showcase-subtitle {
  margin-top: 6px;
  color: var(--fx-gold-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.fx-brand-showcase-copy p {
  max-width: 420px;
  margin: 12px auto 0;
  color: #4c6479;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
}
.fx-brand-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.fx-brand-pill-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #d7e0e7;
  border-radius: 999px;
  color: #264864;
  background: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}
.view > p,
.view .eyebrow + p,
.view .intro,
.view small,
.view .muted {
  color: #536b80 !important;
}
.signal-card small,
.market-card small,
.matrix-card small,
.owner-rec-meta,
.methodology-strip small {
  color: #607789 !important;
}
@media (max-width: 1180px) {
  .fx-home-hero {
    grid-template-columns: 1fr;
  }
  .fx-home-benefits {
    grid-template-columns: 1fr;
  }
  .fx-home-signal-grid,
  .fx-how-grid,
  #view-overview .fx-home-metrics {
    grid-template-columns: 1fr;
  }
}/* =========================================================
   STEP 5A GLOBAL TYPOGRAPHY + PAGE ALIGNMENT
   Applies approved FXTradeNow visual language site-wide
   ========================================================= */
/* ---------- CONSISTENT PAGE WIDTH ---------- */
main {
  min-width: 0;
  padding: 22px 22px 40px;
}
.view:not(#view-overview) {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
/* ---------- STANDARD PAGE HEADINGS ---------- */
.view:not(#view-overview) .page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.view:not(#view-overview) .page-head h1 {
  margin: 5px 0 0;
  color: var(--fx-navy);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: clamp(28px,2.3vw,38px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.view:not(#view-overview) .eyebrow {
  color: var(--fx-gold-dark);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .09em;
}
.view:not(#view-overview) .subtitle {
  max-width: 900px;
  margin-top: 8px;
  color: #4d6579;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.65;
}
/* ---------- GENERAL READABILITY ---------- */
.view:not(#view-overview) p,
.view:not(#view-overview) li {
  color: #4d6579;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
.view:not(#view-overview) small {
  color: #657b8e;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 11px;
}
/* ---------- PANELS ---------- */
.view:not(#view-overview) .panel {
  overflow: hidden;
  border: 1px solid var(--fx-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--fx-shadow-sm);
}
.view:not(#view-overview) .panel-head {
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--fx-border);
  background: #fbfcfd;
}
.view:not(#view-overview) .panel-title {
  color: var(--fx-navy);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .055em;
}
.view:not(#view-overview) .panel-meta {
  color: #758797;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
}
/* ---------- SIGNAL CARDS ---------- */
.view:not(#view-overview) .signal-card {
  padding: 18px;
  border: 1px solid var(--fx-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--fx-shadow-sm);
}
.view:not(#view-overview) .signal-card:hover {
  border-color: #bccbd7;
  box-shadow: var(--fx-shadow-md);
}
.view:not(#view-overview) .signal-card h3 {
  margin: 5px 0 3px;
  color: var(--fx-navy);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
}
.view:not(#view-overview) .signal-card .mode {
  color: #64798c;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 11px;
}
.view:not(#view-overview) .price-box {
  border-color: #e1e8ee;
  background: #f8fafc;
}
.view:not(#view-overview) .price-box label {
  color: #718395;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
}
.view:not(#view-overview) .price-box strong {
  color: var(--fx-navy);
  font-size: 15px;
}
/* ---------- TABLES ---------- */
.view:not(#view-overview) .table-wrap {
  border-radius: 12px;
}
.view:not(#view-overview) table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}
.view:not(#view-overview) th {
  padding: 12px 13px;
  color: #52697d;
  border-bottom: 1px solid #dce5ec;
  background: #f3f6f9;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .055em;
  text-align: left;
}
.view:not(#view-overview) td {
  padding: 13px;
  color: #324c62;
  border-bottom: 1px solid #e7edf2;
  background: #ffffff;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}
.view:not(#view-overview) tbody tr:hover td {
  background: #f8fafc;
}
.view:not(#view-overview) .pair {
  color: var(--fx-navy);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-weight: 800;
}
.view:not(#view-overview) .pair small {
  margin-top: 3px;
  color: #7a8b99;
}
/* ---------- MEMBER MODULE ---------- */
.member-card {
  overflow: hidden;
  border: 1px solid var(--fx-border) !important;
  border-radius: 14px;
  background: #ffffff !important;
  box-shadow: var(--fx-shadow-sm);
}
.member-card-head {
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--fx-border) !important;
  background: #f8fafc !important;
}
.member-card-title {
  color: var(--fx-navy) !important;
  font-family: "Segoe UI", Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}
.member-card-body {
  color: #4e6579;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
}
.member-table th {
  padding: 12px 13px !important;
  color: #52697d !important;
  border-bottom: 1px solid #dce5ec !important;
  background: #f3f6f9 !important;
  font-family: "Segoe UI", Inter, Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}
.member-table td {
  padding: 12px 13px !important;
  color: #324c62 !important;
  border-bottom: 1px solid #e7edf2 !important;
  background: #ffffff;
  font-family: "Segoe UI", Inter, Arial, sans-serif !important;
  font-size: 12px !important;
}
/* ---------- FORM READABILITY ---------- */
.member-field label {
  color: #566d80 !important;
  font-family: "Segoe UI", Inter, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
.member-field input,
.member-field select,
.member-field textarea {
  color: var(--fx-navy) !important;
  border-color: #cdd8e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  font-family: "Segoe UI", Inter, Arial, sans-serif !important;
  font-size: 13px !important;
}
/* ---------- BUTTON CONSISTENCY ---------- */
.member-btn,
.platform-link {
  border-radius: 8px !important;
  font-family: "Segoe UI", Inter, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}
.member-btn:not(.primary),
.platform-link:not(.primary) {
  color: #345069 !important;
  border-color: #cbd7e0 !important;
  background: #ffffff !important;
}
/* ---------- CONTENT SPACING ---------- */
.view:not(#view-overview) > .panel,
.view:not(#view-overview) > .notice,
.view:not(#view-overview) > .signal-cards,
.view:not(#view-overview) > .metrics,
.view:not(#view-overview) > .methodology-grid,
.view:not(#view-overview) > .training-shell {
  margin-top: 18px;
}
/* ---------- RESPONSIVE ALIGNMENT ---------- */
@media (max-width: 1100px) {
  main {
    padding: 18px 18px 32px;
  }
  .view:not(#view-overview) .page-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  main {
    padding: 14px 12px 26px;
  }
  .view:not(#view-overview) .page-head h1 {
    font-size: 28px;
  }
  .view:not(#view-overview) .subtitle {
    font-size: 14px;
  }
  .view:not(#view-overview) th {
    font-size: 9px;
  }
  .view:not(#view-overview) td {
    font-size: 11px;
  }
}/* =========================================================
   STEP 5B HERO MATRIX + WFXTC
   ========================================================= */
.fx-home-actions {
  align-items: stretch;
}
.fx-home-actions .fx-btn {
  white-space: nowrap;
}
.fx-btn-matrix {
  color: var(--fx-navy);
  border-color: #d8bc70;
  background: #fffaf0;
}
.fx-btn-matrix:hover {
  color: var(--fx-navy);
  border-color: var(--fx-gold);
  background: var(--fx-gold-soft);
}
.fx-ecosystem-promo {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin-top: 20px;
  padding: 16px 17px;
  border-top: 1px solid #e2e9ef;
  border-bottom: 1px solid #e2e9ef;
  background:
    linear-gradient(
      90deg,
      rgba(201,154,46,.07),
      rgba(255,255,255,.45)
    );
}
.fx-ecosystem-promo-copy {
  min-width: 0;
}
.fx-ecosystem-label {
  display: block;
  margin-bottom: 4px;
  color: #8a6a1c;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.fx-ecosystem-promo strong {
  display: block;
  color: var(--fx-navy);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}
.fx-ecosystem-name {
  display: block;
  margin-top: 4px;
  color: #52697d;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}
.fx-ecosystem-status {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 8px;
  border: 1px solid #d8bc70;
  border-radius: 999px;
  color: #806017;
  background: #fff8e7;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.fx-ecosystem-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #b9c8d5;
  border-radius: 8px;
  color: var(--fx-navy);
  background: #ffffff;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: .18s ease;
}
.fx-ecosystem-link:hover {
  border-color: var(--fx-gold);
  background: var(--fx-gold-soft);
  transform: translateY(-1px);
}
@media (max-width: 1350px) {
  .fx-home-actions {
    gap: 10px;
  }
  .fx-home-actions .fx-btn {
    padding-left: 17px;
    padding-right: 17px;
  }
}
@media (max-width: 820px) {
  .fx-home-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .fx-home-actions .fx-btn {
    width: 100%;
  }
  .fx-ecosystem-promo {
    grid-template-columns: 1fr;
  }
  .fx-ecosystem-link {
    width: 100%;
  }
}/* =========================================================
   STEP 5C HERO CLEANUP + MOBILE RESPONSIVENESS
   Same responsive website — no separate mobile application
   ========================================================= */
.fx-brand-showcase-copy-clean p {
  max-width: 430px;
  margin: 4px auto 0;
  color: #486176;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}
/* ---------- TABLET ---------- */
@media (max-width: 1180px) {
  .fx-home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 32px;
  }
  .fx-home-hero-copy {
    max-width: 850px;
  }
  .fx-home-hero-visual {
    width: 100%;
    max-width: 760px;
    margin: 4px auto 0;
  }
  .fx-home-hero h1 {
    font-size: clamp(42px,7vw,60px);
  }
  .fx-home-benefits {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .fx-home-signal-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  #view-overview .fx-home-metrics {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
/* ---------- MOBILE / SMALL TABLET ---------- */
@media (max-width: 820px) {
  .fx-home-hero {
    gap: 24px;
    padding: 26px 22px;
    border-radius: 15px;
  }
  .fx-home-kicker {
    font-size: 10px;
  }
  .fx-home-hero h1 {
    max-width: 100%;
    font-size: clamp(36px,10vw,48px);
    line-height: 1.02;
  }
  .fx-home-intro {
    margin-top: 17px;
    font-size: 16px;
    line-height: 1.65;
  }
  .fx-home-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .fx-home-actions .fx-btn {
    width: 100%;
    min-height: 48px;
  }
  .fx-home-benefits {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 22px;
  }
  .fx-home-hero-visual {
    padding: 0;
  }
  .fx-visual-message-brand {
    margin-left: 0;
  }
  .fx-visual-message-brand strong {
    font-size: 23px;
  }
  .fx-brand-showcase {
    min-height: 0;
    padding: 24px 18px;
    border-width: 5px;
    border-radius: 18px;
  }
  .fx-brand-showcase-logo {
    width: min(100%,280px);
  }
  .fx-ecosystem-promo {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }
  .fx-ecosystem-link {
    width: 100%;
  }
  .fx-brand-pill-row {
    gap: 7px;
  }
  .fx-brand-pill-row span {
    flex: 1 1 calc(50% - 7px);
    min-width: 100px;
  }
  .fx-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .fx-home-signal-grid {
    grid-template-columns: 1fr;
  }
  .fx-how-grid {
    grid-template-columns: 1fr;
  }
  #view-overview .fx-home-metrics {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  #view-overview .methodology-strip {
    grid-template-columns: 1fr;
  }
  #view-overview .methodology-link {
    width: 100%;
    margin-top: 12px;
  }
  .owner-rec-top {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* ---------- SMALL PHONE ---------- */
@media (max-width: 520px) {
  main {
    padding: 12px 10px 24px;
  }
  .fx-home-hero {
    padding: 22px 17px;
  }
  .fx-home-hero h1 {
    font-size: clamp(32px,10.5vw,42px);
  }
  .fx-home-intro {
    font-size: 15px;
  }
  .fx-section-heading h2 {
    font-size: 26px;
  }
  .fx-signal-card-head h3 {
    font-size: 20px;
  }
  #view-overview .fx-home-metrics {
    grid-template-columns: 1fr;
  }
  .fx-performance-section {
    padding: 18px;
  }
  .fx-brand-showcase-copy-clean p {
    font-size: 14px;
  }
  .fx-ecosystem-promo strong {
    font-size: 17px;
  }
  .fx-brand-pill-row span {
    font-size: 10px;
  }
}/* =========================================================
   STEP 5D MEMBER + PLATFORM
   Beginner-friendly visual normalization
   ========================================================= */
/* ---------- MEMBER LOGIN ---------- */
.member-login-shell {
  min-height: 420px;
  padding: 36px 0;
}
.member-login-card {
  width: min(560px,100%);
  overflow: hidden;
  border: 1px solid var(--fx-border) !important;
  border-radius: 18px;
  background: #ffffff !important;
  box-shadow: 0 22px 55px rgba(16,42,67,.12) !important;
}
.member-login-brand {
  padding: 26px 26px 20px !important;
  border-bottom: 1px solid var(--fx-border) !important;
  background:
    radial-gradient(circle at 90% 0,rgba(201,154,46,.10),transparent 34%),
    #fbfcfd;
}
.member-login-brand .member-lock {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border: 0 !important;
  border-radius: 10px;
  color: var(--fx-navy) !important;
  background: #f5c84b !important;
  box-shadow: none !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-weight: 900;
}
.member-login-brand h2 {
  margin: 0 0 8px !important;
  color: var(--fx-navy) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 25px !important;
  font-weight: 800 !important;
}
.member-login-brand p {
  color: #536b7f !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.member-login-form {
  padding: 24px 26px 28px !important;
  background: #ffffff;
}
.member-field label {
  margin-bottom: 7px !important;
  color: #50677b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}
.member-field input,
.member-field select,
.member-field textarea {
  min-height: 44px !important;
  padding: 10px 12px !important;
  border: 1px solid #cbd7e0 !important;
  border-radius: 9px !important;
  color: var(--fx-navy) !important;
  background: #ffffff !important;
  font-size: 13px !important;
}
.member-field input:focus,
.member-field select:focus,
.member-field textarea:focus {
  border-color: #7da6c6 !important;
  box-shadow: 0 0 0 3px rgba(53,109,165,.09) !important;
}
.member-actions {
  gap: 9px !important;
}
.member-btn {
  min-height: 40px !important;
  padding: 9px 14px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
}
.member-btn.primary {
  color: var(--fx-navy) !important;
  border-color: #d7a52b !important;
  background: linear-gradient(180deg,#ffd45d,#efb829) !important;
}
.member-btn.primary:hover {
  background: #ffd45d !important;
}
/* ---------- MEMBER INTERNAL UI ---------- */
.member-toolbar {
  margin-bottom: 16px !important;
  padding: 15px 16px !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: 12px;
  background: #ffffff !important;
}
.member-user strong {
  color: var(--fx-navy) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
}
.member-user span,
.member-note,
.member-empty {
  color: #5b7184 !important;
  font-size: 12px !important;
}
.member-subnav button {
  min-height: 36px;
  padding: 7px 11px !important;
  border: 1px solid #cbd7e0 !important;
  border-radius: 7px;
  color: #4d6578 !important;
  background: #ffffff !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 10px !important;
  font-weight: 800;
}
.member-subnav button.active {
  color: var(--fx-navy) !important;
  border-color: #d7a52b !important;
  background: var(--fx-gold-soft) !important;
}
.member-stat {
  padding: 15px !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: 11px;
  background: #f8fafc !important;
}
.member-stat label {
  color: #687e90 !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
}
.member-stat strong {
  color: var(--fx-navy) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
}
/* ---------- PLATFORM DOWNLOAD ---------- */
.platform-grid {
  gap: 18px !important;
}
.platform-card {
  overflow: hidden;
  border: 1px solid var(--fx-border) !important;
  border-radius: 16px;
  background: #ffffff !important;
  box-shadow: var(--fx-shadow-sm) !important;
}
.platform-card-head {
  padding: 20px !important;
  border-bottom: 1px solid var(--fx-border) !important;
  background:
    linear-gradient(180deg,#fbfcfd,#f7f9fb) !important;
}
.platform-card-head .platform-kicker {
  color: var(--fx-gold-dark) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 10px !important;
  font-weight: 800;
}
.platform-card-head h3 {
  margin: 7px 0 0 !important;
  color: var(--fx-navy) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
}
.platform-card-body {
  padding: 19px 20px !important;
  color: #4d6578 !important;
  background: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}
.platform-card-actions {
  gap: 9px !important;
  padding: 0 20px 20px !important;
  background: #ffffff;
}
.platform-link {
  min-height: 42px;
  padding: 10px 14px !important;
  border: 1px solid #c8d5de !important;
  border-radius: 8px !important;
  color: var(--fx-navy) !important;
  background: #ffffff !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}
.platform-link:hover {
  border-color: var(--fx-gold) !important;
  background: var(--fx-gold-soft) !important;
}
.platform-link.primary {
  color: var(--fx-navy) !important;
  border-color: #d7a52b !important;
  background: linear-gradient(180deg,#ffd45d,#efb829) !important;
}
/* ---------- MEMBER MODALS ---------- */
.member-modal {
  background: rgba(16,42,67,.48) !important;
  backdrop-filter: blur(7px);
}
.member-modal-card,
.verify-card {
  overflow: hidden;
  border: 1px solid var(--fx-border) !important;
  border-radius: 16px;
  background: #ffffff !important;
  box-shadow: 0 28px 80px rgba(16,42,67,.25) !important;
}
.member-modal-head,
.verify-head {
  border-bottom: 1px solid var(--fx-border) !important;
  background: #f8fafc;
}
.member-modal-body,
.verify-body {
  color: #4d6578;
  background: #ffffff;
}
/* ---------- MOBILE ---------- */
@media (max-width: 600px) {
  .member-login-shell {
    min-height: 0;
    padding: 16px 0;
  }
  .member-login-brand,
  .member-login-form {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .member-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .member-actions .member-btn {
    width: 100%;
  }
  .platform-card-head,
  .platform-card-body {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .platform-card-actions {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}/* =========================================================
   STEP 5E ANALYTICS PAGES
   Market Matrix + Performance + Recommendations
   ========================================================= */
/* =========================================================
   MARKET MATRIX
   ========================================================= */
#view-matrix .page-head {
  margin-bottom: 24px;
}
#view-matrix .panel {
  overflow: hidden;
  border-radius: 15px;
}
#view-matrix .table-wrap {
  overflow-x: auto;
  border-radius: 0 0 15px 15px;
  background: #ffffff;
}
#view-matrix table {
  min-width: 1050px;
}
#view-matrix th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 13px 14px;
  color: #4d6478;
  background: #eef3f7;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .055em;
}
#view-matrix td {
  padding: 13px 14px;
  color: #314c63;
  background: #ffffff;
  font-size: 12px;
}
#view-matrix tbody tr:nth-child(even) td {
  background: #fafcfd;
}
#view-matrix tbody tr:hover td {
  background: #f3f8fb;
}
#view-matrix .pair {
  color: var(--fx-navy);
  font-weight: 800;
}
#view-matrix .matrix-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #607589;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 10px;
  font-weight: 700;
}
#view-matrix .matrix-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
#view-matrix .matrix-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
/* =========================================================
   PERFORMANCE
   ========================================================= */
#view-performance .metrics {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 13px;
  margin-bottom: 20px;
}
#view-performance .metric {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--fx-border);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: var(--fx-shadow-sm);
}
#view-performance .metric-label {
  color: #667c8e;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .055em;
}
#view-performance .metric-value {
  margin-top: 8px;
  color: var(--fx-navy);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 27px;
  font-weight: 800;
}
#view-performance .metric-value.green {
  color: var(--fx-buy);
}
#view-performance .metric-value.red {
  color: var(--fx-sell);
}
#view-performance .metric-value.amber {
  color: var(--fx-gold-dark);
}
#view-performance .metric-note {
  margin-top: 6px;
  color: #62788b;
  font-size: 11px;
  line-height: 1.45;
}
#view-performance .notice {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #d8e2e9;
  border-radius: 12px;
  color: #486176;
  background: #f8fafc;
}
#view-performance .notice strong {
  display: block;
  margin-bottom: 5px;
  color: var(--fx-navy);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 11px;
  font-weight: 800;
}
#view-performance .notice span {
  color: #526a7d;
  font-size: 13px;
  line-height: 1.55;
}
#view-performance .panel {
  margin-top: 18px;
}
#view-performance table {
  min-width: 1250px;
}
#view-performance .table-wrap {
  overflow-x: auto;
  background: #ffffff;
}
/* =========================================================
   TODAY'S RECOMMENDATIONS
   ========================================================= */
#view-recommendations .notice,
#view-recommendations .recommendation-notice {
  padding: 17px 19px;
  border: 1px solid #cadce9;
  border-radius: 12px;
  color: #486176;
  background:
    linear-gradient(90deg,#f5fbff,#ffffff);
}
#view-recommendations .notice strong,
#view-recommendations .recommendation-notice strong {
  color: var(--fx-navy);
}
#view-recommendations .panel {
  margin-top: 18px;
}
#view-recommendations .signal-card {
  border-radius: 14px;
}
#view-recommendations .split-stat {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--fx-border);
  border-radius: 11px;
  background: #ffffff;
}
#view-recommendations .split-stat span {
  display: block;
  color: #64798b;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 10px;
  font-weight: 700;
}
#view-recommendations .split-stat strong {
  display: block;
  margin-top: 7px;
  color: var(--fx-navy);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 15px;
  font-weight: 800;
}
#view-recommendations table {
  background: #ffffff;
}
/* =========================================================
   BADGES ACROSS ANALYTICS PAGES
   ========================================================= */
#view-matrix .badge,
#view-performance .badge,
#view-recommendations .badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 6px;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 9px;
  font-weight: 800;
}
#view-matrix .badge.buy,
#view-performance .badge.buy,
#view-recommendations .badge.buy {
  color: #116847;
  border-color: #91cfb4;
  background: #eefaf4;
}
#view-matrix .badge.sell,
#view-performance .badge.sell,
#view-recommendations .badge.sell {
  color: #ad3541;
  border-color: #e7a4aa;
  background: #fff4f5;
}
#view-matrix .badge.live,
#view-performance .badge.live,
#view-recommendations .badge.live {
  color: #275f8e;
  border-color: #a9c9df;
  background: #f0f7fc;
}
#view-matrix .badge.waiting,
#view-performance .badge.waiting,
#view-recommendations .badge.waiting {
  color: #687b8c;
  border-color: #c8d2d9;
  background: #f6f8fa;
}
/* =========================================================
   MOBILE / TABLET
   ========================================================= */
@media (max-width: 1100px) {
  #view-performance .metrics {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@media (max-width: 720px) {
  #view-performance .metrics {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  #view-matrix .panel-head,
  #view-performance .panel-head,
  #view-recommendations .panel-head {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 13px;
    padding-bottom: 13px;
  }
}
@media (max-width: 480px) {
  #view-performance .metrics {
    grid-template-columns: 1fr;
  }
}/* =========================================================
   STEP 5F PERFORMANCE VISIBILITY FIX
   ========================================================= */
#view-performance .page-head,
#view-performance .panel,
#view-performance .table-wrap,
#view-performance .notice,
#view-performance .metric {
  overflow: hidden;
}
#view-performance .subtitle,
#view-performance p,
#view-performance small,
#view-performance .metric-note,
#view-performance .notice span,
#view-performance .notice,
#view-performance .panel-head small,
#view-performance .panel-head .muted,
#view-performance .panel-subtitle,
#view-performance .summary-note,
#view-performance .ledger-note {
  color: #5f7487 !important;
  opacity: 1 !important;
}
#view-performance th {
  color: #587082 !important;
  background: #eef3f7 !important;
  font-family: "Segoe UI", Inter, Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .05em !important;
}
#view-performance td {
  color: #334d63 !important;
  font-size: 12px !important;
  vertical-align: top !important;
}
#view-performance .pair,
#view-performance strong,
#view-performance b {
  color: #132f4c !important;
}
#view-performance .badge,
#view-performance .result-badge {
  opacity: 1 !important;
}
#view-performance .panel {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  border-radius: 14px !important;
}
#view-performance .table-wrap {
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  background: #ffffff !important;
}
#view-performance table {
  width: max-content !important;
  min-width: 1420px !important;
}
#view-performance th:last-child,
#view-performance td:last-child {
  min-width: 300px !important;
  max-width: 360px !important;
  white-space: normal !important;
  line-height: 1.45 !important;
  color: #708393 !important;
}
#view-performance td:nth-last-child(2),
#view-performance th:nth-last-child(2) {
  min-width: 130px !important;
}
#view-performance tbody tr:nth-child(even) td {
  background: #fbfcfd !important;
}
#view-performance tbody tr:hover td {
  background: #f4f8fb !important;
}
#view-performance .metric-label {
  color: #6a7e90 !important;
}
#view-performance .metric-value {
  color: #102d49 !important;
}
#view-performance .metric-value.green {
  color: #168157 !important;
}
#view-performance .metric-value.red {
  color: #c34753 !important;
}
#view-performance .metric-value.amber {
  color: #b07a08 !important;
}
#view-performance .panel-body,
#view-performance .ledger-body,
#view-performance .results-body,
#view-performance .summary-body {
  padding-bottom: 0 !important;
}
#view-performance .panel:last-child {
  margin-bottom: 0 !important;
}
/* mobile/tablet */
@media (max-width: 900px) {
  #view-performance table {
    min-width: 1180px !important;
  }
  #view-performance th:last-child,
  #view-performance td:last-child {
    min-width: 240px !important;
    max-width: 280px !important;
  }
}/* =========================================================
   STEP 5G SPECIALIST PAGES
   Money Management
   Important Notice
   Methodology & History
   Economic Calendar
   Training & Certification
   ========================================================= */
/* =========================================================
   COMMON SPECIALIST PAGE FOUNDATION
   ========================================================= */
#view-planner,
#view-notice,
#view-methodology,
#view-calendar,
#view-training {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
#view-planner .panel,
#view-notice .panel,
#view-methodology .panel,
#view-calendar .panel,
#view-training .panel {
  overflow: hidden;
  border: 1px solid var(--fx-border);
  border-radius: 15px;
  background: #ffffff;
  box-shadow: var(--fx-shadow-sm);
}
#view-planner .panel-head,
#view-notice .panel-head,
#view-methodology .panel-head,
#view-calendar .panel-head,
#view-training .panel-head {
  min-height: 52px;
  border-bottom: 1px solid var(--fx-border);
  background: #f8fafc;
}
#view-planner .panel-title,
#view-notice .panel-title,
#view-methodology .panel-title,
#view-calendar .panel-title,
#view-training .panel-title {
  color: var(--fx-navy);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}
#view-planner p,
#view-notice p,
#view-methodology p,
#view-calendar p,
#view-training p,
#view-planner li,
#view-notice li,
#view-methodology li,
#view-calendar li,
#view-training li {
  color: #4e6579;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
/* =========================================================
   MONEY MANAGEMENT
   ========================================================= */
#view-planner .planner-shell,
#view-planner .planner-grid,
#view-planner .money-grid {
  gap: 18px;
}
#view-planner input,
#view-planner select {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ccd8e1;
  border-radius: 9px;
  color: var(--fx-navy);
  background: #ffffff;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 14px;
}
#view-planner input:focus,
#view-planner select:focus {
  border-color: #7fa8c8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(53,109,165,.09);
}
#view-planner label {
  color: #566d80;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 11px;
  font-weight: 800;
}
#view-planner button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #c7d4dd;
  border-radius: 8px;
  color: var(--fx-navy);
  background: #ffffff;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
#view-planner button:hover {
  border-color: var(--fx-gold);
  background: var(--fx-gold-soft);
}
#view-planner .planner-status,
#view-planner #simplePlannerStatus {
  padding: 16px 18px;
  border: 1px solid #cfe1eb;
  border-radius: 12px;
  color: #4c6477;
  background: #f5fafe;
}
#view-planner .planner-status strong,
#view-planner #simplePlannerStatus strong {
  display: block;
  margin-bottom: 5px;
  color: var(--fx-navy);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 12px;
  font-weight: 800;
}
#view-planner .planner-status span,
#view-planner #simplePlannerStatus span {
  color: #536b7f;
  font-size: 13px;
  line-height: 1.55;
}
/* =========================================================
   IMPORTANT NOTICE
   ========================================================= */
#view-notice .notice {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid #d8e2e9;
  border-radius: 13px;
  color: #4c6477;
  background: #f8fafc;
}
#view-notice .notice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--fx-navy);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 12px;
  font-weight: 800;
}
#view-notice .notice span {
  color: #536b7f;
  font-size: 14px;
  line-height: 1.65;
}
#view-notice ol,
#view-notice ul {
  padding-left: 22px;
}
#view-notice li {
  padding: 6px 0;
}
#view-notice li strong {
  color: var(--fx-navy);
}
#view-notice .panel-body {
  padding: 20px;
}
/* =========================================================
   METHODOLOGY & HISTORY
   ========================================================= */
#view-methodology .methodology-grid {
  gap: 18px;
}
#view-methodology .method-step-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
#view-methodology .method-step-list li {
  padding: 14px 0;
  border-bottom: 1px solid #e4ebf0;
  color: #4f6679;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
#view-methodology .method-step-list li:last-child {
  border-bottom: 0;
}
#view-methodology .method-step-list strong {
  color: var(--fx-navy);
}
#view-methodology .history-roadmap {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e0cf9d;
  border-radius: 12px;
  color: #52697c;
  background:
    linear-gradient(90deg,#fffaf0,#ffffff);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 13px;
  line-height: 1.65;
}
#view-methodology .history-roadmap strong {
  color: #9b6b0b;
}
/* =========================================================
   ECONOMIC CALENDAR
   ========================================================= */
#view-calendar .panel-body {
  padding: 0;
}
#view-calendar iframe {
  display: block;
  width: 100%;
  min-height: 650px;
  border: 0;
  background: #ffffff;
}
#view-calendar .notice {
  margin: 16px 0;
  padding: 15px 18px;
  border: 1px solid #d8e2e9;
  border-radius: 12px;
  color: #536b7f;
  background: #f8fafc;
}
#view-calendar .foot {
  margin-top: 15px;
  padding: 14px 16px;
  border: 1px solid #e3e9ee;
  border-radius: 10px;
  color: #708294;
  background: #f9fafb;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 10px;
  line-height: 1.55;
}
/* =========================================================
   TRAINING & CERTIFICATION
   ========================================================= */
#view-training .training-shell,
#view-training .training-grid,
#view-training .module-grid {
  gap: 18px;
}
#view-training .training-card,
#view-training .module-card,
#view-training .lesson-card,
#view-training .exam-card {
  overflow: hidden;
  border: 1px solid var(--fx-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--fx-shadow-sm);
}
#view-training .training-card,
#view-training .module-card,
#view-training .lesson-card,
#view-training .exam-card {
  padding: 18px;
}
#view-training h2,
#view-training h3,
#view-training h4 {
  color: var(--fx-navy);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
}
#view-training h2 {
  font-size: 25px;
}
#view-training h3 {
  font-size: 18px;
}
#view-training .training-card small,
#view-training .module-card small,
#view-training .lesson-card small {
  color: #657b8e;
  font-size: 11px;
}
#view-training button,
#view-training .training-btn,
#view-training .exam-btn {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #c9d5de;
  border-radius: 8px;
  color: var(--fx-navy);
  background: #ffffff;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
#view-training button:hover,
#view-training .training-btn:hover,
#view-training .exam-btn:hover {
  border-color: var(--fx-gold);
  background: var(--fx-gold-soft);
}
#view-training input,
#view-training select,
#view-training textarea {
  border: 1px solid #ccd8e1;
  border-radius: 8px;
  color: var(--fx-navy);
  background: #ffffff;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
}
/* =========================================================
   MOBILE SPECIALIST PAGES
   ========================================================= */
@media (max-width: 820px) {
  #view-planner .planner-grid,
  #view-methodology .methodology-grid,
  #view-training .training-grid,
  #view-training .module-grid {
    grid-template-columns: 1fr !important;
  }
  #view-calendar iframe {
    min-height: 580px;
  }
}
@media (max-width: 520px) {
  #view-notice .panel-body,
  #view-planner .panel-body,
  #view-methodology .panel-body,
  #view-training .panel-body {
    padding: 16px;
  }
  #view-calendar iframe {
    min-height: 520px;
  }
}/* =========================================================
   STEP 5H SPECIALIST CORRECTION
   Methodology + Economic Calendar
   ========================================================= */
/* =========================================================
   METHODOLOGY & HISTORY — ACTUAL INNER COMPONENTS
   ========================================================= */
#view-methodology .notice {
  margin-bottom: 18px;
  padding: 17px 19px;
  border: 1px solid #dfcf9f;
  border-radius: 12px;
  background:
    linear-gradient(90deg,#fffaf0,#ffffff);
}
#view-methodology .notice strong {
  color: #9b6b0b !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .07em;
}
#view-methodology .notice span {
  color: #52697c !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}
#view-methodology .methodology-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin-bottom: 20px;
}
#view-methodology .methodology-card {
  min-width: 0;
  padding: 22px !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  box-shadow: var(--fx-shadow-sm) !important;
}
#view-methodology .methodology-card .eyebrow {
  color: var(--fx-gold-dark) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}
#view-methodology .methodology-card h3 {
  margin: 7px 0 12px !important;
  color: var(--fx-navy) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}
#view-methodology .methodology-card p {
  margin: 0 !important;
  color: #4e6579 !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
#view-methodology .indicator-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}
#view-methodology .indicator-chip {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #cad7e0 !important;
  border-radius: 7px !important;
  color: #34536d !important;
  background: #f7fafc !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}
#view-methodology .method-step-list {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
#view-methodology .method-step-list li {
  padding: 11px 0 !important;
  border-bottom: 1px solid #e4ebf0 !important;
  color: #4f6679 !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}
#view-methodology .method-step-list li:last-child {
  border-bottom: 0 !important;
}
#view-methodology .method-step-list strong {
  color: var(--fx-navy) !important;
}
#view-methodology .split-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid #e4ebf0;
}
#view-methodology .split-stat:last-of-type {
  border-bottom: 0;
}
#view-methodology .split-stat span {
  color: #5c7285 !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 12px !important;
}
#view-methodology .split-stat strong {
  color: var(--fx-navy) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-align: right;
}
#view-methodology .history-roadmap {
  margin-top: 16px !important;
  padding: 16px 17px !important;
  border: 1px solid #e0ca88 !important;
  border-radius: 11px !important;
  color: #52697c !important;
  background: #fffaf0 !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}
#view-methodology .history-roadmap strong {
  color: #99690b !important;
}
#view-methodology .foot {
  color: #718496 !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
}
/* =========================================================
   ECONOMIC CALENDAR — OUTER UI
   ========================================================= */
#view-calendar .calendar-summary {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 13px;
  margin-bottom: 18px;
}
#view-calendar .calendar-summary-card {
  min-width: 0;
  padding: 17px 18px !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: var(--fx-shadow-sm) !important;
}
#view-calendar .calendar-summary-card label {
  display: block;
  margin-bottom: 7px;
  color: #728697 !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
}
#view-calendar .calendar-summary-card strong {
  color: var(--fx-navy) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}
#view-calendar .calendar-summary-card .impact-high {
  color: #b83e49 !important;
}
#view-calendar .calendar-panel {
  overflow: hidden;
  border-radius: 15px !important;
}
#view-calendar .calendar-host {
  position: relative;
  width: 100%;
  min-height: 720px;
  background: #ffffff !important;
}
#view-calendar .calendar-host iframe {
  display: block;
  width: 100% !important;
  min-height: 700px;
  border: 0;
  background: #ffffff !important;
  color-scheme: light !important;
}
#view-calendar .calendar-loading {
  color: #5d7285 !important;
  background: #ffffff !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 12px !important;
}
#view-calendar .tradingview-widget-container {
  background: #ffffff !important;
}
#view-calendar .tradingview-widget-container__widget {
  background: #ffffff !important;
}
#view-calendar .tradingview-widget-copyright {
  min-height: 30px;
  padding: 8px 12px !important;
  color: #697e90 !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e9ee;
  text-align: right;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 10px !important;
}
#view-calendar .tradingview-widget-copyright a {
  color: #285f8c !important;
}
/* =========================================================
   SPECIALIST MOBILE
   ========================================================= */
@media (max-width: 820px) {
  #view-methodology .methodology-grid {
    grid-template-columns: 1fr;
  }
  #view-calendar .calendar-summary {
    grid-template-columns: 1fr;
  }
  #view-methodology .split-stat {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  #view-methodology .split-stat strong {
    text-align: left;
  }
}/* =========================================================
   STEP 5I MARKET EXPANSION
   ========================================================= */
#view-expansion .notice {
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid #dfcf9f;
  border-radius: 12px;
  background: linear-gradient(90deg,#fffaf0,#ffffff);
}
#view-expansion .notice strong {
  color: #9b6b0b !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}
#view-expansion .notice span {
  color: #536b7f !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 12px !important;
}
#view-expansion .catalog-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}
#view-expansion .catalog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--fx-border) !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  box-shadow: var(--fx-shadow-sm) !important;
}
#view-expansion .catalog-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 20px !important;
  border-bottom: 1px solid #e4ebf0 !important;
  background: #f8fafc !important;
}
#view-expansion .catalog-card-head .eyebrow {
  color: var(--fx-gold-dark) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}
#view-expansion .catalog-card h3 {
  margin: 6px 0 0 !important;
  color: var(--fx-navy) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}
#view-expansion .instrument-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 20px 20px !important;
  background: #ffffff !important;
}
#view-expansion .locked-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px !important;
  border: 1px solid #d3dde5 !important;
  border-radius: 7px !important;
  color: #405b71 !important;
  background: #f8fafc !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}
#view-expansion .locked-chip::before {
  color: #a7770d !important;
}
#view-expansion .badge {
  min-height: 27px;
  padding: 0 9px;
  border-radius: 6px;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}
#view-expansion .badge.locked {
  color: #667b8d !important;
  border-color: #c8d3dc !important;
  background: #f4f7f9 !important;
}
#view-expansion .badge.future {
  color: #8c6818 !important;
  border-color: #dec780 !important;
  background: #fff9e9 !important;
}
@media (max-width: 820px) {
  #view-expansion .catalog-grid {
    grid-template-columns: 1fr;
  }
  #view-expansion .catalog-card-head {
    align-items: flex-start;
  }
}/* =========================================================
   STEP 5J FINAL TRAINING FRAME
   ========================================================= */
#view-training .training-shell {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--fx-border);
  border-radius: 15px;
  background: #f7f9fc;
  box-shadow: var(--fx-shadow-sm);
}
#view-training .training-frame {
  display: block;
  width: 100%;
  min-height: 820px;
  border: 0;
  background: #f7f9fc !important;
  color-scheme: light !important;
}
@media (max-width: 820px) {
  #view-training .training-frame {
    min-height: 900px;
  }
}/* =========================================================
   STEP 6B FAQ + ECOSYSTEM
   ========================================================= */
.fx-nav-link {
  text-decoration: none !important;
}
.fx-nav-link:hover {
  text-decoration: none !important;
}
.fx-site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding: 21px 20px;
  border: 1px solid var(--fx-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--fx-shadow-sm);
}
.fx-site-footer-copy {
  max-width: 620px;
}
.fx-site-footer-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--fx-navy);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 13px;
  font-weight: 800;
}
.fx-site-footer-copy span {
  color: #64798b;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 11px;
  line-height: 1.55;
}
.fx-site-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 15px;
  flex-wrap: wrap;
}
.fx-site-footer-links a,
.fx-site-footer-links button {
  padding: 0;
  border: 0;
  color: #31536e;
  background: transparent;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.fx-site-footer-links a:hover,
.fx-site-footer-links button:hover {
  color: var(--fx-gold-dark);
}
@media (max-width: 820px) {
  .fx-site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .fx-site-footer-links {
    justify-content: flex-start;
  }
}/* =========================================================
   STEP 6D INTERNAL FAQ VIEW
   ========================================================= */
#view-faq {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
.fx-faq-championship {
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid #dfc675;
  border-radius: 17px;
  background:
    radial-gradient(circle at 92% 8%,
      rgba(201,154,46,.15),
      transparent 27%),
    linear-gradient(135deg,#fffaf0,#ffffff);
  box-shadow: var(--fx-shadow-sm);
}
.fx-faq-championship h2 {
  margin: 6px 0 13px;
  color: var(--fx-navy);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: clamp(27px,3.5vw,40px);
  font-weight: 800;
  letter-spacing: -.035em;
}
.fx-faq-championship p {
  max-width: 980px;
  color: #50687b;
  font-size: 14px;
  line-height: 1.75;
}
.fx-faq-journey {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--fx-navy);
  font-size: clamp(15px,2vw,22px);
  font-weight: 900;
}
.fx-faq-journey span {
  color: var(--fx-gold-dark);
}
.fx-faq-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.fx-faq-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #cad6df;
  border-radius: 8px;
  color: var(--fx-navy);
  background: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.fx-faq-actions a:first-child {
  border-color: #d7a52b;
  background: linear-gradient(180deg,#ffd45d,#efb829);
}
.fx-faq-section {
  margin-top: 28px;
}
.fx-faq-section-head {
  margin-bottom: 15px;
}
.fx-faq-section-head h2 {
  margin: 5px 0 0;
  color: var(--fx-navy);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.025em;
}
.fx-faq-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.fx-faq-grid details {
  overflow: hidden;
  border: 1px solid var(--fx-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(16,42,67,.045);
}
.fx-faq-grid summary {
  position: relative;
  padding: 17px 48px 17px 18px;
  color: var(--fx-navy);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.fx-faq-grid summary::-webkit-details-marker {
  display: none;
}
.fx-faq-grid summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fx-gold-dark);
  font-size: 21px;
  font-weight: 500;
}
.fx-faq-grid details[open] summary::after {
  content: "–";
}
.fx-faq-answer {
  padding: 0 18px 18px;
  color: #526a7d;
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 13px;
  line-height: 1.7;
}
.fx-faq-answer strong {
  color: var(--fx-navy);
}
.fx-faq-answer a {
  color: #285f8c;
}
.fx-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.fx-ecosystem-card {
  padding: 21px;
  border: 1px solid var(--fx-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--fx-shadow-sm);
}
.fx-ecosystem-card.current {
  border-color: #d8b354;
  background: linear-gradient(180deg,#fffdf8,#ffffff);
}
.fx-ecosystem-card h3 {
  margin: 7px 0 9px;
  color: var(--fx-navy);
  font-family: "Segoe UI",Inter,Arial,sans-serif;
  font-size: 21px;
  font-weight: 800;
}
.fx-ecosystem-card p {
  min-height: 86px;
  margin: 0 0 15px;
  color: #536b7f;
  font-size: 13px;
  line-height: 1.65;
}
.fx-ecosystem-card a,
.fx-ecosystem-card strong {
  color: #285f8c;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.fx-faq-seo-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px;
  padding: 16px 18px;
  border: 1px solid var(--fx-border);
  border-radius: 11px;
  color: #63788b;
  background: #f8fafc;
  font-size: 11px;
}
.fx-faq-seo-link a {
  color: #285f8c;
  font-weight: 800;
  text-decoration: none;
}
@media (max-width: 900px) {
  .fx-faq-grid,
  .fx-ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .fx-ecosystem-card p {
    min-height: 0;
  }
}
@media (max-width: 600px) {
  .fx-faq-championship {
    padding: 20px 17px;
  }
  .fx-faq-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .fx-faq-actions a {
    width: 100%;
  }
  .fx-faq-journey {
    align-items: flex-start;
    flex-direction: column;
  }
  .fx-faq-journey span {
    transform: rotate(90deg);
  }
  .fx-faq-seo-link {
    align-items: flex-start;
    flex-direction: column;
  }
}/* =========================================================
   STEP 7B AUTHENTICATED MEMBER LIGHT UI
   Presentation only
   ========================================================= */
#view-member {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
/* ---------- USER / ROLE ---------- */
.member-user strong {
  color: var(--fx-navy) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}
.member-user {
  color: #5f7486 !important;
}
.member-role {
  border: 1px solid #dfc77f !important;
  border-radius: 6px !important;
  color: #94690e !important;
  background: #fff9e9 !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}
/* ---------- MEMBER NOTES ---------- */
.member-note {
  border: 1px solid #d6e2ea !important;
  border-radius: 9px !important;
  color: #4f677a !important;
  background: #f7fafc !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  line-height: 1.55 !important;
}
.member-note strong {
  color: var(--fx-navy) !important;
}
.member-error {
  border: 1px solid #e6aeb4 !important;
  border-radius: 8px !important;
  color: #a33f49 !important;
  background: #fff3f4 !important;
}
.member-success {
  border: 1px solid #9ed3bb !important;
  border-radius: 8px !important;
  color: #176849 !important;
  background: #eefaf4 !important;
}
/* ---------- EMPTY STATES ---------- */
.member-empty {
  padding: 18px !important;
  border: 1px solid #e0e7ed !important;
  border-radius: 10px !important;
  color: #667b8d !important;
  background: #f9fbfc !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
}
/* ---------- DIGITAL MEMBER ID ---------- */
.member-id-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 18px;
  padding: 22px !important;
  border: 1px solid #d9bd66 !important;
  border-radius: 15px !important;
  background:
    radial-gradient(circle at 100% 0,
      rgba(201,154,46,.10),
      transparent 34%),
    linear-gradient(145deg,#fffdf8,#ffffff) !important;
  box-shadow: var(--fx-shadow-sm) !important;
}
.member-id-card::after {
  color: rgba(201,154,46,.06) !important;
}
.member-id-brand {
  color: #a57512 !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}
.member-id-name {
  margin: 18px 0 5px !important;
  color: var(--fx-navy) !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 23px !important;
  font-weight: 800 !important;
}
.member-id-meta {
  color: #61788a !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}
.member-id-qr {
  border: 1px solid #dce5eb !important;
  border-radius: 10px !important;
  background: #ffffff !important;
}
/* ---------- CODES / STATUS ---------- */
.member-code {
  color: #28658f !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-weight: 800 !important;
}
.member-status {
  border-radius: 6px !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}
.member-status.success,
.member-status.green {
  color: #16865b !important;
  background: #eefaf4 !important;
}
.member-status.pending,
.member-status.amber {
  color: #94690e !important;
  background: #fff9e9 !important;
}
.member-status.danger,
.member-status.red {
  color: #bd4651 !important;
  background: #fff3f4 !important;
}
/* ---------- REFERRAL LEVELS ---------- */
.level-schedule {
  gap: 9px !important;
}
.level-chip {
  padding: 11px !important;
  border: 1px solid #dce5eb !important;
  border-radius: 9px !important;
  color: #526a7d !important;
  background: #f8fafc !important;
  text-align: center;
}
.level-chip strong {
  color: #a57512 !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}
/* ---------- MEMBER TABLE CONTAINERS ---------- */
.member-table-wrap {
  overflow: auto;
  border: 1px solid #dce5eb !important;
  border-radius: 11px !important;
  background: #ffffff !important;
}
/* ---------- MODALS ---------- */
.member-modal {
  background: rgba(16,42,67,.34) !important;
  backdrop-filter: blur(7px) !important;
}
.member-modal-card {
  overflow: auto;
  border: 1px solid #d6e1e9 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(16,42,67,.20) !important;
}
.member-modal-head {
  color: var(--fx-navy) !important;
  background: #f7f9fb !important;
  border-bottom: 1px solid #dce5eb !important;
}
.member-modal-body {
  color: #4d6578 !important;
  background: #ffffff !important;
}
/* ---------- VERIFICATION DIALOG ---------- */
.verify-overlay {
  background: rgba(16,42,67,.36) !important;
  backdrop-filter: blur(8px) !important;
}
.verify-card {
  overflow: hidden;
  border: 1px solid #d4e0e8 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 25px 80px rgba(16,42,67,.22) !important;
}
.verify-head {
  color: var(--fx-navy) !important;
  background: #f7f9fb !important;
  border-bottom: 1px solid #dce5eb !important;
}
.verify-body {
  color: #4f677a !important;
  background: #ffffff !important;
}
/* ---------- BUTTON CONSISTENCY ---------- */
.member-btn {
  border-radius: 8px !important;
  border-color: #c9d5de !important;
  color: var(--fx-navy) !important;
  background: #ffffff !important;
  font-family: "Segoe UI",Inter,Arial,sans-serif !important;
}
.member-btn:hover {
  border-color: var(--fx-gold) !important;
  background: var(--fx-gold-soft) !important;
}
.member-btn.primary {
  color: var(--fx-navy) !important;
  border-color: #d7a52b !important;
  background: linear-gradient(180deg,#ffd45d,#efb829) !important;
}
.member-btn.danger {
  color: #ffffff !important;
  border-color: #c64752 !important;
  background: #c64752 !important;
}
/* ---------- MOBILE ---------- */
@media (max-width: 760px) {
  .member-id-card {
    grid-template-columns: 1fr !important;
  }
  .member-id-qr {
    width: min(190px,100%);
  }
}/* =========================================================
   STEP 8B GUEST MEMBER PROMPT
   ========================================================= */
.fx-guest-member-prompt {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 88;
  width: min(410px,calc(100vw - 32px));
  padding: 24px;
  border: 1px solid #dfc573;
  border-radius: 17px;
  color: #17324a;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(201,154,46,.14),
      transparent 31%
    ),
    #ffffff;
  box-shadow:
    0 24px 70px rgba(16,42,67,.20);
  font-family:
    "Segoe UI",
    Inter,
    Arial,
    sans-serif;
  animation:
    fxGuestPromptIn .24s ease-out;
}
@keyframes fxGuestPromptIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fx-guest-member-close {
  position: absolute;
  top: 12px;
  right: 13px;
  width: 30px;
  height: 30px;
  border: 1px solid #d8e2e9;
  border-radius: 50%;
  color: #61778a;
  background: #ffffff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.fx-guest-member-close:hover {
  border-color: #c99a2e;
  color: #102a43;
  background: #fff9e9;
}
.fx-guest-member-kicker {
  margin-right: 38px;
  margin-bottom: 7px;
  color: #a8740c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .10em;
}
.fx-guest-member-prompt h2 {
  margin: 0 35px 10px 0;
  color: #102a43;
  font-size: 23px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.025em;
}
.fx-guest-member-prompt p {
  margin: 0;
  color: #536b7f;
  font-size: 13px;
  line-height: 1.65;
}
.fx-guest-member-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}
.fx-guest-member-btn {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #cad7e0;
  border-radius: 8px;
  color: #102a43;
  background: #ffffff;
  font-family:
    "Segoe UI",
    Inter,
    Arial,
    sans-serif;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.fx-guest-member-btn:hover {
  border-color: #c99a2e;
  background: #fff9e9;
}
.fx-guest-member-btn.primary {
  border-color: #d5a429;
  background:
    linear-gradient(
      180deg,
      #ffd45d,
      #efb829
    );
}
.fx-guest-member-btn.ghost {
  grid-column: 1 / -1;
  min-height: 36px;
  border-color: transparent;
  color: #687e90;
  background: transparent;
}
.fx-guest-member-btn.ghost:hover {
  color: #102a43;
  background: #f6f8fa;
}
.fx-guest-member-note {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid #e4eaee;
  color: #748797;
  font-size: 10px;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .fx-guest-member-prompt {
    right: 12px;
    bottom: 12px;
    width:
      calc(100vw - 24px);
    padding:
      21px 17px 17px;
  }
  .fx-guest-member-actions {
    grid-template-columns: 1fr;
  }
  .fx-guest-member-btn.ghost {
    grid-column: auto;
  }
}
/* TASK 39 ACCESSIBILITY - targeted WCAG contrast corrections */
#view-overview .owner-recommendation .eyebrow {
  color: #946600;
}
#ownerRecStatus {
  color: #5f7182;
}
