/* ══════════════════════════════════════════════════════════════════════════════
   MEMBERS AREA STYLING
   Matches main site theme but optimized for utility/dashboard use
   ══════════════════════════════════════════════════════════════════════════════ */

/* Container Variants */
.container-fluid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header actions: normalize the Account link + Logout button to the same
   height (the <a> otherwise inherits a taller line-height than the <button>),
   and style the Account link as the red primary action. */
.topbar__cta .btn {
  line-height: 1 !important;
}
.topbar__cta a.btn {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.topbar__cta a.btn:hover {
  background: var(--red2);
  border-color: var(--red2);
  color: #fff;
}

/* Mobile hamburger (built by membersNav.js) — desktop keeps the inline nav. */
.topbar__user.members-burger {
  display: none;
}
.user-dropdown__item--active {
  color: var(--text);
  background: rgba(255, 43, 43, 0.08);
}
@media (max-width: 980px) {
  .topbar__user.members-burger {
    display: flex !important;
    margin-left: auto !important;
  }
  /* Inline header actions move into the hamburger menu on mobile. */
  .topbar__inner > .topbar__cta {
    display: none !important;
  }
}

/* Loading State */
.members-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  gap: 20px;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 43, 43, 0.2);
  border-top-color: var(--red2);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.members-loading p {
  color: var(--m-t65);
  font-size: 14px;
  font-family: var(--mono);
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 8px 0;
  text-shadow: 0 0 20px rgba(255, 43, 43, 0.3);
}

.dashboard-subtitle {
  color: var(--m-t65);
  font-size: 16px;
  margin: 0;
}

.dashboard-status {
  display: flex;
  gap: 12px;
  align-items: center;
}

.status-badge--pro {
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.2), rgba(255, 43, 43, 0.1));
  border: 1px solid rgba(255, 43, 43, 0.4);
  color: var(--red2);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--m-bg30);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.stat-card:hover {
  background: var(--m-bg40);
  border-color: rgba(255, 43, 43, 0.2);
  transform: translateY(-2px);
}

.stat-card:hover .stat-card__icon {
  filter: drop-shadow(0 0 8px rgba(255, 43, 43, 0.6));
}

.stat-card__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--red2);
}

.stat-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.stat-card__content {
  flex: 1;
}

.stat-card__label {
  font-size: 12px;
  color: var(--m-t50);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
  margin-bottom: 4px;
}

.stat-card__value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

/* Section Headers */
.section-header {
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px 0;
}

.section-subtitle {
  font-size: 14px;
  color: var(--m-t50);
  margin: 0;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--m-bg40);
  border: 1px solid rgba(255, 43, 43, 0.2);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card:hover {
  border-color: rgba(255, 43, 43, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 43, 43, 0.15);
}

.tool-card--coming {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.tool-card--coming .tool-card__icon {
  color: var(--m-t40);
}

/* ── Free-tier locked state ──────────────────────────────────────────────── */
.status-badge--trial {
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.2), rgba(227, 179, 65, 0.08));
  border: 1px solid rgba(227, 179, 65, 0.4);
  color: #e3b341;
}

.trial-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 36px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(227, 179, 65, 0.12), rgba(227, 179, 65, 0.02));
  border: 1px solid rgba(227, 179, 65, 0.28);
}
.trial-banner__text {
  flex: 1 1 260px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--m-t85);
}
.trial-banner .btn { flex: 0 0 auto; }

/* Locked tool cards — frosted glass over a blurred card */
.tool-card--locked { position: relative; overflow: hidden; cursor: pointer; }
.tool-card--locked > *:not(.tool-card__lock) {
  filter: blur(2px);
  opacity: 0.45;
  pointer-events: none;
}
.tool-card__lock {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: inherit;
  background: rgba(13, 13, 15, 0.5);
  backdrop-filter: blur(7px) saturate(1.2);
  -webkit-backdrop-filter: blur(7px) saturate(1.2);
  color: var(--m-t90);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.18s ease;
}
.tool-card__lock svg { color: var(--red2); }
.tool-card--locked:hover .tool-card__lock { background: rgba(13, 13, 15, 0.38); }

.tool-note {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--m-t50);
  max-width: 60ch;
}

/* Pro feature preview modal */
.pro-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pro-modal[hidden] { display: none; }
.pro-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pro-modal__card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #121316;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.pro-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--m-t50);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.pro-modal__close:hover { color: #fff; }
.pro-modal__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; padding-right: 20px; }
.pro-modal__icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 43, 43, 0.12);
  border: 1px solid rgba(255, 43, 43, 0.3);
  color: var(--red2);
}
.pro-modal__icon svg { width: 24px; height: 24px; }
.pro-modal__tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red2);
}
.pro-modal__title { margin: 5px 0 5px; font-size: 20px; }
.pro-modal__tagline { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--m-t60); }
.pro-peek {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  padding: 18px;
  margin-bottom: 20px;
  min-height: 110px;
}
.pro-peek::after {
  content: "Preview";
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--m-t70);
  background: var(--m-bg45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 7px;
  border-radius: 999px;
}
.pro-peek__inner { filter: blur(1.3px); opacity: 0.9; pointer-events: none; }
.pro-modal__list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pro-modal__list li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--m-t82); }
.pro-modal__list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red2);
}
.pro-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Peek mocks */
.peek-eval { display: flex; gap: 16px; align-items: center; }
.peek-gauge {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--red2) 0 78%, rgba(255, 255, 255, 0.08) 78% 100%);
}
.peek-gauge__val { font-size: 22px; font-weight: 800; color: #fff; }
.peek-gauge__label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--m-t70); }
.peek-rows { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; }
.peek-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); color: var(--m-t75); }
.peek-row span:last-child { font-weight: 700; font-family: var(--mono); color: #fff; }
.peek-lb { display: flex; flex-direction: column; gap: 8px; }
.peek-lb__row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.peek-lb__rank { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; background: rgba(255, 255, 255, 0.08); }
.peek-lb__row--1 .peek-lb__rank { background: linear-gradient(135deg, #ffd700, #b8860b); color: #000; }
.peek-lb__row--2 .peek-lb__rank { background: linear-gradient(135deg, #c0c0c0, #808080); color: #000; }
.peek-lb__row--3 .peek-lb__rank { background: linear-gradient(135deg, #cd7f32, #8b4513); color: #000; }
.peek-lb__name { flex: 1 1 auto; font-family: var(--mono); font-size: 13px; color: #fff; }
.peek-lb__val { font-weight: 700; font-size: 13px; color: var(--m-t80); }
.peek-chart { display: flex; align-items: flex-end; gap: 6px; height: 86px; }
.peek-chart span { flex: 1 1 auto; background: linear-gradient(180deg, var(--red2), rgba(255, 43, 43, 0.18)); border-radius: 4px 4px 0 0; }

/* Locked quick link + nav link get a small PRO tag */
.quick-link--locked { opacity: 0.6; }
.nav__link--locked { position: relative; opacity: 0.65; }
.nav__link--locked::after {
  content: "PRO";
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--red2);
  border: 1px solid rgba(255, 43, 43, 0.4);
  border-radius: 999px;
  padding: 1px 5px;
  vertical-align: middle;
}

.tool-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--red2);
}

.tool-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tool-card__content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.tool-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px 0;
}

.tool-card__desc {
  font-size: 14px;
  color: var(--m-t65);
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.tool-card__status {
  margin-top: 8px;
}

.tool-card__arrow {
  width: 24px;
  height: 24px;
  color: var(--red2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.tool-card__arrow svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tool-card:hover .tool-card__arrow {
  transform: translateX(4px);
}

.tool-card:hover .tool-card__icon {
  filter: drop-shadow(0 0 12px rgba(255, 43, 43, 0.6));
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.badge--live {
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #4cd964;
}

.badge--soon {
  background: rgba(255, 176, 32, .12);
  border: 1px solid rgba(255, 176, 32, .3);
  color: #ffb020;
}

/* Quick Links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--m-bg30);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.quick-link:hover {
  background: var(--m-bg40);
  border-color: rgba(255, 43, 43, 0.3);
  transform: translateX(4px);
}

.quick-link:hover .quick-link__icon {
  filter: drop-shadow(0 0 8px rgba(255, 43, 43, 0.6));
}

.quick-link__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--red2);
}

.quick-link__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ══════════════════════════════════════════════════════════════════════════════
   HEAT MAP TOOL
   ══════════════════════════════════════════════════════════════════════════════ */

/* Tool Header */
.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 20px;
}

.tool-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 6px 0;
  text-shadow: 0 0 20px rgba(255, 43, 43, 0.3);
}

.tool-subtitle {
  font-size: 14px;
  color: var(--m-t50);
  margin: 0;
  font-family: var(--mono);
}

.tool-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.tool-select {
  padding: 8px 16px;
  background: var(--m-bg40);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tool-select:hover {
  border-color: rgba(255, 43, 43, 0.3);
  background: var(--m-bg50);
}

.tool-select:focus {
  outline: none;
  border-color: rgba(255, 43, 43, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.1);
}

.tool-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 43, 43, 0.1);
  border: 1px solid rgba(255, 43, 43, 0.3);
  border-radius: 6px;
  color: var(--red2);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tool-btn:hover {
  background: rgba(255, 43, 43, 0.2);
  border-color: rgba(255, 43, 43, 0.5);
  transform: translateY(-2px);
}

.tool-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Heat Map Grid */
.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.heatmap-tile {
  position: relative;
  padding: 24px;
  border: 1px solid;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.heatmap-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.heatmap-tile__symbol {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  font-family: var(--mono);
  margin-bottom: 4px;
}

.heatmap-tile__name {
  font-size: 13px;
  color: var(--m-t65);
  margin-bottom: 16px;
  line-height: 1.3;
}

.heatmap-tile__change {
  font-size: 24px;
  font-weight: 900;
  font-family: var(--mono);
}

.heatmap-tile__change.positive {
  color: #4cd964;
}

.heatmap-tile__change.negative {
  color: #ff6b6b;
}

/* Heat Map Legend */
.heatmap-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--m-bg30);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 32px;
}

.legend-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--m-t50);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
}

.legend-gradient {
  flex: 1;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, 
    rgba(255, 59, 48, 0.6) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(52, 199, 89, 0.6) 100%
  );
}

.legend-labels {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--m-t65);
}

/* Market Overview */
.market-overview {
  margin-top: 48px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.overview-card {
  padding: 20px;
  background: var(--m-bg30);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-align: center;
}

.overview-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--m-t50);
  font-family: var(--mono);
  margin-bottom: 8px;
}

.overview-value {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  font-family: var(--mono);
  margin-bottom: 4px;
}

.overview-change {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--mono);
}

.overview-change .positive {
  color: #4cd964;
}

.overview-change .negative {
  color: #ff6b6b;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 20px;
  background: var(--m-bg40);
  border: 1px solid rgba(255, 43, 43, 0.2);
  border-radius: 12px;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pagination-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--m-t70);
  font-family: var(--mono);
}

.pagination-hint {
  font-size: 11px;
  color: var(--m-t40);
  font-style: italic;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 43, 43, 0.1);
  border: 1px solid rgba(255, 43, 43, 0.3);
  border-radius: 8px;
  color: var(--red2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(255, 43, 43, 0.2);
  border-color: rgba(255, 43, 43, 0.5);
  transform: translateY(-2px);
}

.pagination-btn:active:not(:disabled) {
  transform: translateY(0);
}

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

.page-number {
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red2);
  font-family: var(--mono);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .pagination-container {
    flex-direction: column;
    text-align: center;
    padding: 16px 12px;
  }

  .pagination-info {
    order: 2;
    margin-top: 8px;
    font-size: 12px;
  }

  .pagination-hint {
    font-size: 10px;
  }

  .pagination-controls {
    order: 1;
    gap: 8px;
  }

  .pagination-btn {
    width: 36px;
    height: 36px;
  }

  .page-number {
    padding: 0 12px;
    font-size: 12px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   GEX SCANNER
   ══════════════════════════════════════════════════════════════════════════════ */

/* GEX Content */
.gex-content {
  padding-top: 20px;
}

/* API Warning Banner */
.api-warning-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(255, 165, 0, 0.1);
  border: 2px solid rgba(255, 165, 0, 0.4);
  border-radius: 12px;
  margin-bottom: 24px;
  animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
  0%, 100% { border-color: rgba(255, 165, 0, 0.4); }
  50% { border-color: rgba(255, 165, 0, 0.8); }
}

.api-warning-icon {
  font-size: 32px;
  line-height: 1;
}

.api-warning-content {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--m-t90);
}

.api-warning-content strong {
  color: #ffa500;
  font-weight: 700;
}

.api-warning-close {
  width: 32px;
  height: 32px;
  background: rgba(255, 165, 0, 0.2);
  border: 1px solid rgba(255, 165, 0, 0.4);
  border-radius: 50%;
  color: #ffa500;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.api-warning-close:hover {
  background: rgba(255, 165, 0, 0.3);
  transform: rotate(90deg);
}

/* Ticker Selector */
.gex-selector {
  margin-bottom: 32px;
}

.gex-selector-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--m-t70);
  margin-bottom: 12px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gex-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  max-width: 800px;
}

.ticker-btn {
  padding: 12px 20px;
  background: var(--m-bg40);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--m-t70);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ticker-btn:hover {
  background: rgba(255, 43, 43, 0.1);
  border-color: rgba(255, 43, 43, 0.3);
  color: var(--red2);
  transform: translateY(-2px);
}

.ticker-btn--active {
  background: rgba(255, 43, 43, 0.2);
  border-color: var(--red2);
  color: var(--red2);
  box-shadow: 0 0 20px rgba(255, 43, 43, 0.3);
}

/* GEX Grid */
.gex-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 1200px) {
  .gex-grid {
    grid-template-columns: 1fr;
  }
}

/* GEX Card */
.gex-card {
  background: var(--m-bg40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

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

.gex-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gex-card-badge {
  padding: 6px 12px;
  background: rgba(255, 43, 43, 0.2);
  border: 1px solid var(--red2);
  border-radius: 6px;
  color: var(--red2);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--mono);
}

/* Chart Container */
.gex-chart-container {
  min-height: 500px;
}

.gex-chart-wrapper {
  position: relative;
  height: 400px;
  margin-bottom: 20px;
}

.gex-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.gex-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--m-t70);
  font-family: var(--mono);
}

.gex-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Metrics Container */
.gex-metrics-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Price Card */
.gex-price-card {
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.1), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(255, 43, 43, 0.3);
}

.gex-price-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--m-t60);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  font-family: var(--mono);
}

.gex-price-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--red2);
  font-family: var(--mono);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255, 43, 43, 0.5);
}

.gex-price-change {
  font-size: 14px;
  font-weight: 600;
  color: var(--m-t70);
  font-family: var(--mono);
}

/* Metrics Grid */
.gex-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gex-metric {
  padding: 16px;
  background: var(--m-bg30);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-align: center;
}

.gex-metric-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--m-t50);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  font-family: var(--mono);
}

.gex-metric-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
}

/* Consensus Card */
.gex-consensus-card {
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.05), rgba(0, 0, 0, 0.4));
}

.gex-consensus {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gex-consensus-direction {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--m-bg30);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.gex-consensus-icon {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.gex-consensus-text {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gex-consensus-range {
  padding: 16px;
  background: var(--m-bg30);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.gex-consensus-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--m-t50);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  font-family: var(--mono);
}

.gex-consensus-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
}

.gex-consensus-arrow {
  color: var(--red2);
  font-size: 20px;
}

.gex-consensus-confidence {
  padding: 16px;
  background: var(--m-bg30);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.gex-confidence-bar {
  height: 24px;
  background: var(--m-bg50);
  border-radius: 12px;
  overflow: hidden;
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gex-confidence-fill {
  height: 100%;
  background: var(--red2);
  transition: width 0.5s ease, background 0.3s ease;
  border-radius: 12px;
}

.gex-confidence-text {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--mono);
}

/* Key Levels */
.gex-levels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gex-level {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: var(--m-bg30);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.gex-level:hover {
  background: rgba(255, 43, 43, 0.05);
  border-color: rgba(255, 43, 43, 0.2);
  transform: translateX(4px);
}

.gex-level-strike {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
}

.gex-level-type {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
}

.gex-level-gex {
  font-size: 13px;
  font-weight: 600;
  color: var(--m-t60);
  font-family: var(--mono);
}

.gex-level-distance {
  font-size: 12px;
  font-weight: 500;
  color: var(--m-t50);
  font-family: var(--mono);
}

.gex-level-loading {
  text-align: center;
  padding: 20px;
  color: var(--m-t50);
  font-family: var(--mono);
}

/* Responsive */
@media (max-width: 768px) {
  .gex-selector-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ticker-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .gex-price-value {
    font-size: 36px;
  }

  .gex-metrics-grid {
    grid-template-columns: 1fr;
  }

  .gex-consensus-icon {
    font-size: 36px;
  }

  .gex-consensus-text {
    font-size: 18px;
  }

  .gex-level {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gex-level-gex,
  .gex-level-distance {
    grid-column: span 2;
    font-size: 11px;
  }

  .gex-chart-wrapper {
    height: 300px;
  }
}

/* Info Box */
.info-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 43, 43, 0.05);
  border: 1px solid rgba(255, 43, 43, 0.2);
  border-radius: 12px;
  margin-top: 32px;
  align-items: flex-start;
}

.info-box__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--red2);
}

.info-box__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.info-box__content {
  font-size: 14px;
  color: var(--m-t75);
  line-height: 1.6;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.info-box__content strong {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 768px) {
  .info-box {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .info-box__icon {
    width: 20px;
    height: 20px;
  }

  .info-box__content {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* Active Nav Link */
.nav__link--active {
  color: var(--red2);
  position: relative;
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red2);
  box-shadow: 0 0 8px var(--red2);
}

/* Responsive */
/* ══════════════════════════════════════════════════════════════════════════════
   OPTIONS FLOW SCANNER
   ══════════════════════════════════════════════════════════════════════════════ */

/* Flow Stats */
.flow-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.flow-stat-card {
  padding: 20px;
  background: var(--m-bg40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.flow-stat-card--clickable {
  cursor: pointer;
}

.flow-stat-card--clickable:hover {
  background: var(--m-bg50);
  border-color: rgba(255, 43, 43, 0.3);
  transform: translateY(-2px);
}

.flow-stat-hint {
  font-size: 10px;
  color: var(--m-t40);
  margin-top: 4px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flow-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--m-t50);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
  margin-bottom: 8px;
}

.flow-stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  font-family: var(--mono);
  margin-bottom: 4px;
}

.flow-stat-value--call {
  color: #4cd964;
}

.flow-stat-value--put {
  color: #ff6b6b;
}

.flow-stat-change {
  font-size: 13px;
  color: var(--m-t65);
  font-family: var(--mono);
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 43, 43, 0.1);
  border: 1px solid rgba(255, 43, 43, 0.3);
  border-radius: 8px;
  color: var(--red2);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-action-btn:hover {
  background: rgba(255, 43, 43, 0.2);
  border-color: rgba(255, 43, 43, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 43, 43, 0.2);
}

.quick-action-btn:active {
  transform: translateY(0);
}

/* Flow Filters */
.flow-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--m-bg30);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--m-t65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--mono);
}

.filter-input,
.filter-select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  background: var(--m-bg40);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--mono);
  transition: all 0.2s ease;
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: rgba(255, 43, 43, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.1);
}

.filter-input::placeholder {
  color: var(--m-t30);
}

/* Flow Table */
.flow-table-container {
  overflow-x: auto;
  margin-bottom: 32px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.flow-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--m-bg40);
  font-family: var(--mono);
}

.flow-table tbody {
  min-height: 400px;
  display: table-row-group;
}

.flow-table thead {
  background: var(--m-bg60);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-table th {
  padding: 16px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--m-t65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.flow-table td {
  padding: 14px 12px;
  font-size: 13px;
  color: var(--m-t85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.flow-cell-time {
  cursor: help;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  min-width: 60px;
  color: #4cd964;
}

.flow-cell-time:hover {
  color: var(--red2);
  text-shadow: 0 0 8px rgba(255, 43, 43, 0.4);
}

.flow-table tbody tr {
  transition: background 0.2s ease;
}

.flow-table tbody tr:hover {
  background: rgba(255, 43, 43, 0.05);
}

.flow-row-call {
  border-left: 3px solid #4cd964;
}

.flow-row-put {
  border-left: 3px solid #ff6b6b;
}

.flow-cell-time {
  color: var(--m-t50);
  font-size: 12px;
}

.flow-cell-ticker {
  font-weight: 700;
  color: var(--red2);
  font-size: 14px;
}

.flow-cell-premium {
  font-weight: 700;
  color: var(--text);
}

.flow-type-call {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  border-radius: 4px;
  color: #4cd964;
  font-size: 11px;
  font-weight: 700;
}

.flow-type-put {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 4px;
  color: #ff6b6b;
  font-size: 11px;
  font-weight: 700;
}

.flow-badge-unusual {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(255, 43, 43, 0.2);
  border: 1px solid rgba(255, 43, 43, 0.4);
  border-radius: 4px;
  color: var(--red2);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Responsive Options Flow */
@media (max-width: 768px) {
  .flow-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-filters {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    gap: 8px;
  }

  .quick-action-btn {
    padding: 8px 12px;
    font-size: 12px;
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .quick-action-btn svg {
    width: 14px;
    height: 14px;
  }

  .flow-table {
    font-size: 11px;
  }

  .flow-table th,
  .flow-table td {
    padding: 10px 8px;
    font-size: 11px;
  }

  .flow-table:not(.flow-table--journal) th:nth-child(n+6),
  .flow-table:not(.flow-table--journal) td:nth-child(n+6) {
    display: none;
  }

  /* Journal keeps all columns (incl. Actions) and scrolls horizontally. */
  .flow-table--journal {
    min-width: 720px;
  }

  .flow-stat-card {
    padding: 16px 12px;
  }

  .flow-stat-label {
    font-size: 10px;
  }

  .flow-stat-value {
    font-size: 20px;
  }

  .flow-stat-change {
    font-size: 11px;
  }

  .flow-stat-hint {
    font-size: 9px;
  }
}

/* Responsive (existing) */
@media (max-width: 768px) {
  .container-fluid {
    padding: 0 16px;
  }

  .dashboard-header {
    flex-direction: column;
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-header {
    flex-direction: column;
    align-items: stretch;
  }

  .tool-controls {
    flex-direction: column;
  }

  .tool-select,
  .tool-btn {
    width: 100%;
    justify-content: center;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   TRADING JOURNAL + TRADER DASHBOARD
   ══════════════════════════════════════════════════════════════════════════════ */

/* Shared value colors */
.value-positive { color: #4cd964 !important; }
.value-negative { color: #ff6b6b !important; }

.dashboard-session {
  font-size: 14px;
  color: var(--m-t40);
  font-family: var(--mono);
  font-weight: 400;
}

/* Metric stat cards (dashboard performance snapshot) */
.stat-card--metric {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.stat-card--metric .stat-card__value {
  font-size: 28px;
  font-family: var(--mono);
}

.stat-card__trend {
  font-size: 12px;
  color: var(--m-t45);
  font-family: var(--mono);
}

/* Section header with inline actions */
.section-header--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Dashboard journal table spacing */
.dash-journal {
  margin-bottom: 48px;
}

.dash-journal__empty {
  text-align: center;
  padding: 32px 16px !important;
  color: var(--m-t50);
  font-family: var(--mono);
  font-size: 13px;
}

.dash-journal__empty a {
  color: var(--red2);
  text-decoration: none;
}

.dash-journal__empty a:hover {
  text-decoration: underline;
}

/* Primary tool button variant */
.tool-btn--primary {
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.25), rgba(255, 43, 43, 0.12));
  border-color: var(--red2);
  color: var(--red2);
}

.tool-btn--primary:hover {
  background: rgba(255, 43, 43, 0.3);
}

.risk-apply-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.risk-apply-row .filter-input {
  flex: 1;
  min-width: 0;
}

.tool-btn--apply {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 8px 14px;
  font-size: 12px;
}

.tool-btn--apply:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 500px) {
  .risk-apply-row {
    flex-direction: column;
  }

  .tool-btn--apply {
    width: 100%;
    justify-content: center;
  }
}

/* Journal table action buttons */
.journal-actions {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.icon-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--m-t70);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 43, 43, 0.15);
  border-color: rgba(255, 43, 43, 0.4);
  color: var(--red2);
}

.icon-btn--danger:hover {
  background: rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.4);
  color: #ff6b6b;
}

.icon-btn--accent {
  color: #4cd964;
  font-weight: 800;
}

.icon-btn--accent:hover {
  background: rgba(76, 217, 100, 0.15);
  border-color: rgba(76, 217, 100, 0.4);
  color: #4cd964;
}

/* Loss reflection: subtle amber call-to-action, solid once a note exists. */
.icon-btn--reflect {
  color: #ffcf8a;
  border-color: rgba(255, 205, 120, 0.35);
}
.icon-btn--reflect:hover {
  background: rgba(255, 205, 120, 0.16);
  border-color: rgba(255, 205, 120, 0.5);
  color: #ffe0a6;
}
.icon-btn--noted {
  color: #4cd964;
  background: rgba(76, 217, 100, 0.12);
  border-color: rgba(76, 217, 100, 0.35);
}
.icon-btn--noted:hover {
  background: rgba(76, 217, 100, 0.2);
  border-color: rgba(76, 217, 100, 0.5);
  color: #4cd964;
}

.refl-intro {
  margin: 0 0 4px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 233, 184, 0.95);
  background: rgba(26, 18, 8, 0.6);
  border: 1px solid rgba(255, 205, 120, 0.28);
  border-radius: 8px;
}

/* Manage open position modal */
.pos-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  padding: 16px;
  background: var(--m-bg40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 20px;
}

.pos-summary__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pos-summary__item span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--m-t45);
}

.pos-summary__item strong {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--text);
}

.pos-section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--m-t55);
  margin: 0 0 10px;
}

.pos-fills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.pos-fill {
  display: grid;
  grid-template-columns: 1fr auto auto 30px;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 14px;
}

.pos-fill--empty {
  display: block;
  color: var(--m-t40);
  font-family: inherit;
  text-align: center;
}

.pos-fill__date { color: var(--m-t55); }
.pos-fill__price { color: var(--text); font-weight: 700; }
.pos-fill__qty { color: var(--m-t70); }
.pos-fill__rm { justify-self: end; }

.pos-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}

.pos-row__btn {
  white-space: nowrap;
  height: 42px;
}

@media (max-width: 600px) {
  .pos-row {
    grid-template-columns: 1fr 1fr;
  }
  .pos-row__btn {
    grid-column: 1 / -1;
  }
  .pos-summary {
    grid-template-columns: 1fr;
  }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  z-index: 1000;
  overflow-y: auto;
}

.modal-overlay--open {
  display: flex;
}

.jmodal {
  width: 100%;
  max-width: 640px;
  background: linear-gradient(180deg, rgba(20, 8, 8, 0.98), rgba(0, 0, 0, 0.98));
  border: 1px solid rgba(255, 43, 43, 0.3);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 43, 43, 0.1);
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.jmodal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jmodal__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.jmodal__close {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--m-t60);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jmodal__close:hover {
  background: rgba(255, 43, 43, 0.15);
  color: var(--red2);
}

.jmodal__body {
  padding: 24px 28px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.form-field--full {
  margin-bottom: 16px;
}

.form-field textarea.filter-input {
  resize: vertical;
  font-family: var(--mono);
  line-height: 1.5;
}

.filter-input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.form-pnl-preview {
  padding: 14px 16px;
  background: var(--m-bg40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--m-t70);
  margin-bottom: 20px;
}

.form-pnl-preview strong {
  font-size: 18px;
}

.pnl-spec {
  color: var(--m-t45);
  font-size: 12px;
  font-weight: 400;
}

.jmodal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-header--row {
    flex-direction: column;
    align-items: stretch;
  }

  .section-header__actions {
    width: 100%;
  }

  .section-header__actions .tool-btn,
  .section-header__actions .tool-select {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .jmodal__header,
  .jmodal__body {
    padding: 20px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   EVAL & FUNDED PLANNER
   ══════════════════════════════════════════════════════════════════════════════ */

.seg-toggle {
  display: inline-flex;
  background: var(--m-bg40);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.seg-btn {
  padding: 9px 22px;
  background: transparent;
  border: none;
  border-radius: 7px;
  color: var(--m-t60);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seg-btn:hover {
  color: var(--text);
}

.seg-btn--active {
  background: rgba(255, 43, 43, 0.2);
  color: var(--red2);
  box-shadow: 0 0 16px rgba(255, 43, 43, 0.25);
}

.planner-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 24px;
  align-items: stretch;
}

#planner-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#planner-content .tool-header {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  align-items: center;
}

.planner-mode {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.planner-mode[hidden] {
  display: none !important;
}

@media (max-width: 1000px) {
  .planner-grid {
    grid-template-columns: 1fr;
  }
}

.planner-panel {
  background: var(--m-bg40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  box-sizing: border-box;
}

.planner-panel .form-grid {
  margin-bottom: 0;
}

.planner-panel .form-grid + .planner-panel__title {
  margin-top: 28px;
}

#planner-content .form-field--full {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.planner-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  min-width: 0;
}

#planner-content .flow-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 0;
}

#planner-content .info-box {
  margin-top: auto;
  border-radius: 12px;
}

#planner-content .verdict {
  border-radius: 12px;
  padding: 24px;
}

#planner-content .flow-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 108px;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  #planner-content .flow-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #planner-content .flow-stats {
    grid-template-columns: 1fr;
  }

  #planner-content .verdict {
    padding: 20px;
  }

  .planner-panel {
    padding: 20px;
  }

  .ticker-picks {
    padding: 24px 20px;
  }
}

.planner-panel__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--red2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--mono);
  margin: 24px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.planner-panel__title:first-child {
  margin-top: 0;
}

.input-hint {
  font-size: 11px;
  color: var(--m-t40);
  line-height: 1.4;
}

.verdict {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--m-bg40);
}

.verdict--good {
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.12), rgba(0, 0, 0, 0.4));
  border-color: rgba(52, 199, 89, 0.4);
}

.verdict--warn {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.12), rgba(0, 0, 0, 0.4));
  border-color: rgba(255, 165, 0, 0.4);
}

.verdict--bad {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(0, 0, 0, 0.4));
  border-color: rgba(255, 107, 107, 0.4);
}

.verdict__pct {
  font-size: 52px;
  font-weight: 900;
  font-family: var(--mono);
  line-height: 1;
  min-width: 120px;
  text-align: center;
}

.verdict__body {
  flex: 1;
}

.verdict__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
}

.verdict__desc {
  font-size: 13px;
  color: var(--m-t70);
  margin: 0;
  line-height: 1.5;
}

.meter {
  height: 10px;
  background: var(--m-bg50);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 14px;
}

.meter__fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: var(--red2);
  transition: width 0.4s ease, background 0.3s ease;
}

@media (max-width: 600px) {
  .verdict {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }

  .verdict__pct {
    min-width: 0;
  }

  .seg-btn {
    padding: 9px 16px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   GUIDED PLAN
   ══════════════════════════════════════════════════════════════════════════════ */
.plan-preview {
  background: var(--m-bg40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 20px;
}
.plan-preview__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.plan-preview__row:last-child { border-bottom: none; }
.plan-preview__label {
  font-size: 13px;
  color: var(--m-t60);
}
.plan-preview__value {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}

.plan-path__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.plan-path__controls {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.plan-days-edit {
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-days-edit .filter-label {
  margin: 0;
}
.plan-days-edit .filter-input {
  width: 72px;
}

.tool-btn--danger-ghost {
  border-color: rgba(255, 107, 107, 0.3);
  color: #ff8a8a;
}

/* Auto-extend toggle */
.plan-autoswitch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  color: var(--m-t70);
}
.plan-autoswitch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.plan-autoswitch__box {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.15s ease, border-color 0.15s ease;
  flex: none;
}
.plan-autoswitch__box::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}
.plan-autoswitch input:checked + .plan-autoswitch__box {
  background: rgba(76, 217, 100, 0.45);
  border-color: rgba(76, 217, 100, 0.6);
}
.plan-autoswitch input:checked + .plan-autoswitch__box::after {
  transform: translateX(16px);
}
.plan-autoswitch input:focus-visible + .plan-autoswitch__box {
  outline: 2px solid rgba(76, 217, 100, 0.6);
  outline-offset: 2px;
}
.plan-autoswitch__label {
  white-space: nowrap;
}

/* Auto-extend notice under the verdict */
.plan-autonote {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 176, 32, 0.1);
  border: 1px solid rgba(255, 176, 32, 0.28);
  color: #ffce8a;
  font-size: 13px;
  line-height: 1.4;
}
.tool-btn--danger-ghost:hover {
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(255, 107, 107, 0.5);
}

.plan-path {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-empty {
  padding: 40px;
  text-align: center;
  color: var(--m-t50);
}

.plan-day {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background: var(--m-bg40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  font-family: inherit;
}
.plan-day:hover {
  border-color: rgba(255, 43, 43, 0.35);
  background: rgba(255, 43, 43, 0.04);
  transform: translateX(2px);
}
.plan-day__dot {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--m-t60);
}
.plan-day__dot--done {
  background: rgba(76, 217, 100, 0.18);
  border-color: rgba(76, 217, 100, 0.5);
  color: #4cd964;
}
.plan-day__dot--warn {
  background: rgba(255, 165, 0, 0.18);
  border-color: rgba(255, 165, 0, 0.5);
  color: #ffa500;
}
.plan-day__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plan-day__date {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.plan-day__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--m-t50);
}
.plan-day__rules { font-family: var(--mono); }
.plan-day__status {
  flex-shrink: 0;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 15px;
}
.plan-day__target { color: var(--m-t45); font-weight: 600; }

.plan-day--current {
  border-color: rgba(255, 43, 43, 0.5);
  background: rgba(255, 43, 43, 0.06);
  box-shadow: 0 0 16px rgba(255, 43, 43, 0.12);
}
.plan-day--current .plan-day__dot {
  background: rgba(255, 43, 43, 0.2);
  border-color: rgba(255, 43, 43, 0.6);
  color: var(--red2);
}
.plan-day--win { border-color: rgba(76, 217, 100, 0.25); }
.plan-day--loss { border-color: rgba(255, 107, 107, 0.25); }
.plan-day--future { opacity: 0.7; }

.day-target-banner {
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(255, 43, 43, 0.08);
  border: 1px solid rgba(255, 43, 43, 0.2);
  font-size: 14px;
  color: var(--m-t80);
}
.day-target-banner strong {
  font-family: var(--mono);
  color: var(--red2);
}
.day-target-adj {
  font-size: 12px;
  color: var(--m-t55);
  font-style: italic;
}

.rule-check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.rule-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--m-bg30);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.rule-check:hover { border-color: var(--m-t20); }
.rule-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.rule-check__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.rule-check__box::after {
  content: '✓';
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}
.rule-check input:checked + .rule-check__box {
  background: #4cd964;
  border-color: #4cd964;
}
.rule-check input:checked + .rule-check__box::after {
  opacity: 1;
  transform: scale(1);
}
.rule-check input:focus-visible + .rule-check__box {
  outline: 2px solid rgba(255, 43, 43, 0.7);
  outline-offset: 2px;
}
.rule-check__label {
  font-size: 14px;
  line-height: 1.45;
  color: var(--m-t85);
}
.rule-check input:checked ~ .rule-check__label {
  color: var(--text);
}

@media (max-width: 600px) {
  .plan-day {
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .plan-day__status {
    width: 100%;
    padding-left: 50px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   TICKER AUTOCOMPLETE
   ══════════════════════════════════════════════════════════════════════════════ */

.ticker-ac {
  position: relative;
  width: 100%;
}

.ticker-ac .filter-input {
  width: 100%;
}

.ticker-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: rgba(10, 6, 6, 0.98);
  border: 1px solid rgba(255, 43, 43, 0.3);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}

.ticker-suggest--open {
  display: block;
}

.ticker-suggest__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s ease;
}

.ticker-suggest__item--active,
.ticker-suggest__item:hover {
  background: rgba(255, 43, 43, 0.15);
}

.ticker-suggest__sym {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--red2);
  min-width: 54px;
}

.ticker-suggest__name {
  flex: 1;
  font-size: 12px;
  color: var(--m-t60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-suggest__tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #4cd964;
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Eval planner — instrument picks by tick value */
.ticker-picks {
  background: var(--m-bg40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 32px;
}

#planner-content > .ticker-picks--full {
  margin-top: 16px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.ticker-picks--full {
  width: 100%;
  box-sizing: border-box;
}

.ticker-picks--full .ticker-picks__table {
  table-layout: fixed;
}

.ticker-picks--full .ticker-picks__table th:nth-child(1),
.ticker-picks--full .ticker-picks__table td:nth-child(1) {
  width: 22%;
}

.ticker-picks--full .ticker-picks__table th:nth-child(2),
.ticker-picks--full .ticker-picks__table td:nth-child(2) {
  width: 14%;
}

.ticker-picks--full .ticker-picks__table th:nth-child(5),
.ticker-picks--full .ticker-picks__table td:nth-child(5) {
  width: 12%;
}

.ticker-picks__head {
  margin-bottom: 24px;
}

.ticker-picks__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--red2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--mono);
  margin: 0 0 10px;
}

.ticker-picks__sub {
  margin: 0;
  font-size: 12px;
  color: var(--m-t45);
}

.ticker-picks__table-wrap {
  overflow-x: auto;
}

.ticker-picks__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.ticker-picks__table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--m-t40);
  padding: 0 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-picks__table td {
  padding: 18px 20px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--m-t85);
}

.ticker-picks__row--top td:first-child {
  box-shadow: inset 3px 0 0 #4cd964;
}

.ticker-picks__sym {
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--red2);
}

.ticker-picks__name {
  display: block;
  font-size: 11px;
  color: var(--m-t45);
  margin-top: 4px;
}

.ticker-picks__meta {
  display: block;
  font-size: 10px;
  color: var(--m-t35);
  margin-top: 6px;
  font-family: var(--mono);
}

.ticker-picks__badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.ticker-picks__badge--good {
  color: #4cd964;
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.35);
}

.ticker-picks__badge--risk {
  color: #ffa500;
  background: rgba(255, 165, 0, 0.12);
  border: 1px solid rgba(255, 165, 0, 0.35);
}

.ticker-picks__empty {
  text-align: center;
  color: var(--m-t40);
  padding: 32px 0 !important;
  font-size: 12px;
}

@media (max-width: 720px) {
  .ticker-picks {
    padding: 24px 20px;
  }

  #planner-content > .ticker-picks--full {
    margin-top: 8px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .ticker-picks__table th:nth-child(4),
  .ticker-picks__table td:nth-child(4) {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   OPTIONS TOOLS — tempered glass "coming soon" shell
   ══════════════════════════════════════════════════════════════════════════════ */
.tool-soon-wrap {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0 48px;
}

.tool-soon-wrap__ghost {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.42;
  filter: blur(1.5px);
  background:
    linear-gradient(180deg, rgba(255, 43, 43, .04), transparent 40%),
    rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .04);
}

.tool-soon-wrap__ghost-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 24px 24px 0;
}

.tool-soon-wrap__ghost-stats > div {
  height: 72px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
}

.tool-soon-wrap__ghost-body {
  padding: 20px 24px 24px;
  display: grid;
  gap: 10px;
}

.tool-soon-wrap__ghost-row {
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05);
}

.tool-soon-wrap__ghost-row:nth-child(odd) {
  background: rgba(255, 43, 43, .04);
}

.tool-soon-wrap__ghost--gex .tool-soon-wrap__ghost-stats {
  grid-template-columns: 1fr 1fr;
}

.tool-soon-wrap__ghost--gex .tool-soon-wrap__ghost-chart {
  margin: 0 24px;
  height: 220px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(76, 217, 100, .06), rgba(255, 43, 43, .06));
  border: 1px solid rgba(255, 255, 255, .06);
}

.tool-soon-wrap__ghost--iv .tool-soon-wrap__ghost-stats {
  grid-template-columns: repeat(3, 1fr);
}

.tool-soon-glass {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 40px 36px 36px;
  text-align: center;
  background: rgba(12, 12, 14, .58);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(255, 43, 43, .08) inset,
    0 24px 64px rgba(0, 0, 0, .45),
    0 0 40px rgba(255, 43, 43, .06);
}

.tool-soon-glass .soon-badge {
  margin-left: 0;
}

.tool-soon-glass__title {
  margin: 18px 0 10px;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: -.02em;
}

.tool-soon-glass__desc {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

.tool-soon-glass__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.tool-soon-glass__chip {
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--m-t55);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}

.tool-soon-glass__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 640px) {
  .tool-soon-wrap {
    min-height: 62vh;
    padding: 20px 0 36px;
  }

  .tool-soon-wrap__ghost-stats {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 16px;
  }

  .tool-soon-glass {
    padding: 32px 22px 28px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   LEADERBOARDS
   ══════════════════════════════════════════════════════════════════════════════ */
.lb-note {
  margin: -8px 0 28px;
  font-size: 13px;
  color: var(--m-t55);
  max-width: 720px;
}
.lb-you-chip {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--red2);
  background: rgba(255, 43, 43, 0.12);
  border: 1px solid rgba(255, 43, 43, 0.3);
}

.lb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.lb-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}
.lb-card__head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.lb-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.lb-card__sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--m-t50);
}

.lb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
}
.lb-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 14px;
  transition: background 0.15s ease;
}
.lb-row:hover { background: rgba(255, 255, 255, 0.03); }
.lb-row__rank {
  flex: 0 0 24px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--m-t40);
  text-align: center;
}
.lb-row__name {
  flex: 1 1 auto;
  font-weight: 500;
  color: var(--m-t85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-row__value {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--m-t70);
}

.lb-row--rank1 .lb-row__rank { color: #ffd95e; }
.lb-row--rank2 .lb-row__rank { color: #d6dde6; }
.lb-row--rank3 .lb-row__rank { color: #e8a766; }
.lb-row--top .lb-row__name { color: #fff; font-weight: 600; }

.lb-row--me {
  background: rgba(255, 43, 43, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 43, 43, 0.25);
}
.lb-row--me .lb-row__name { color: var(--red2); font-weight: 700; }

.lb-empty {
  padding: 18px 10px;
  font-size: 13px;
  color: var(--m-t40);
  text-align: center;
}

.lb-card__me {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.lb-card__me .lb-row__name { color: var(--red2); font-weight: 700; flex: 1 1 auto; }
.lb-card__me .lb-row__rank { flex: 0 0 24px; text-align: center; font-family: var(--mono); font-weight: 700; color: var(--red2); }
.lb-card__me .lb-row__value { font-family: var(--mono); font-weight: 600; color: var(--m-t70); }

.lb-error {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 43, 43, 0.08);
  border: 1px solid rgba(255, 43, 43, 0.25);
  color: #ffb4b4;
  font-size: 13px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   ANNOUNCEMENT BANNER
   ══════════════════════════════════════════════════════════════════════════════ */
.ann-banner {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 43, 43, 0.12), rgba(255, 43, 43, 0.02) 60%, transparent),
    rgba(255, 255, 255, 0.02);
}
.ann-banner::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red2, #ff4d4d);
}
.ann-banner--success {
  background:
    linear-gradient(90deg, rgba(46, 160, 67, 0.14), rgba(46, 160, 67, 0.02) 60%, transparent),
    rgba(255, 255, 255, 0.02);
}
.ann-banner--success::before { background: #56d364; }
.ann-banner--warning {
  background:
    linear-gradient(90deg, rgba(227, 179, 65, 0.16), rgba(227, 179, 65, 0.02) 60%, transparent),
    rgba(255, 255, 255, 0.02);
}
.ann-banner--warning::before { background: #e3b341; }
.ann-banner__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
}
.ann-banner__label {
  flex: 0 0 auto;
  font-family: var(--mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red2, #ff4d4d);
  border: 1px solid rgba(255, 77, 77, 0.4);
  background: rgba(255, 43, 43, 0.1);
  padding: 3px 9px;
  border-radius: 999px;
}
.ann-banner--success .ann-banner__label {
  color: #56d364;
  border-color: rgba(86, 211, 100, 0.4);
  background: rgba(46, 160, 67, 0.12);
}
.ann-banner--warning .ann-banner__label {
  color: #e3b341;
  border-color: rgba(227, 179, 65, 0.4);
  background: rgba(227, 179, 65, 0.12);
}
.ann-banner__msg {
  flex: 1 1 auto;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--m-t88);
}
.ann-banner__close {
  flex: 0 0 auto;
  background: none;
  border: none;
  color: var(--m-t45);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.ann-banner__close:hover { color: #fff; }
@media (max-width: 600px) {
  .ann-banner__inner { flex-wrap: wrap; gap: 8px; }
  .ann-banner__close { margin-left: auto; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   TRADE GRAPH
   ══════════════════════════════════════════════════════════════════════════════ */
.graph-empty {
  margin-top: 24px;
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: var(--m-t55);
  font-size: 14px;
}
.graph-empty a { color: var(--red2); }

.graph-stage {
  position: relative;
  margin-top: 8px;
  height: 70vh;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 70% -10%, rgba(255, 43, 43, 0.06), transparent 60%),
    rgba(255, 255, 255, 0.015);
}
.graph-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.graph-controls {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(14, 14, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 190px;
}
.graph-controls__group { display: flex; flex-direction: column; gap: 7px; }
.graph-controls__title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--m-t40);
}
.graph-chk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--m-t80);
  cursor: pointer;
}
.graph-chk input { accent-color: #ff2b2b; cursor: pointer; }
.graph-chk .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.dot--win { background: #2ea043; }
.dot--loss { background: #da3633; }
.dot--open { background: #9e6a03; }
.dot--ticker { background: #58a6ff; border-radius: 2px; }
.dot--setup { background: #bc8cff; border-radius: 2px; }
.graph-controls .btn { width: 100%; }

.graph-detail {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  width: 280px;
  max-width: calc(100% - 28px);
  max-height: calc(100% - 28px);
  overflow-y: auto;
  padding: 18px;
  border-radius: 14px;
  background: rgba(14, 14, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.graph-detail__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: var(--m-t40);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.graph-detail__close:hover { color: #fff; }

.gd-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-right: 20px; }
.gd-ticker { font-size: 20px; font-weight: 800; color: #fff; }
.gd-badge {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--m-t70);
}
.gd-badge--long { color: #56d364; border-color: rgba(86, 211, 100, 0.4); }
.gd-badge--short { color: #ff7b72; border-color: rgba(255, 123, 114, 0.4); }
.gd-badge--win { color: #56d364; border-color: rgba(86, 211, 100, 0.4); }
.gd-badge--loss { color: #ff7b72; border-color: rgba(255, 123, 114, 0.4); }
.gd-badge--open { color: #e3b341; border-color: rgba(227, 179, 65, 0.4); }
.gd-badge--ticker { color: #a5d0ff; border-color: rgba(88, 166, 255, 0.4); }
.gd-badge--setup { color: #d8c1ff; border-color: rgba(188, 140, 255, 0.4); }
.gd-date { margin-top: 4px; font-size: 12px; color: var(--m-t45); font-family: var(--mono); }
.gd-pnl { margin-top: 10px; font-size: 26px; font-weight: 800; }
.gd-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.gd-rows > div {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}
.gd-rows span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--m-t40);
}
.gd-rows b { font-size: 14px; color: #fff; }
.gd-section { margin-top: 14px; }
.gd-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-t40);
  margin-bottom: 4px;
}
.gd-section p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--m-t75); }
.gd-reflect p { margin-bottom: 6px; }
.gd-reflect em { color: var(--m-t50); font-style: normal; font-weight: 600; }
.gd-open { width: 100%; margin-top: 16px; }

@media (max-width: 640px) {
  .graph-stage { height: 64vh; }
  .graph-controls { max-width: 150px; padding: 10px; gap: 9px; }
  .graph-detail { width: calc(100% - 28px); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   THEME TOGGLE BUTTON (members topbar, both themes)
   Injected by theme.js. Icon-only sun/moon.
   ══════════════════════════════════════════════════════════════════════════════ */
.theme-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.theme-toggle:hover{ border-color: var(--border2); transform: translateY(-1px); }
.theme-toggle svg{ display: block; }
[data-theme="light"] .theme-toggle{ background: rgba(0, 0, 0, 0.04); }
/* Desktop shows the icon button; mobile uses the hamburger menu item instead. */
.theme-toggle--desktop{ display: none; }
@media (min-width: 981px){
  .theme-toggle--desktop{ display: inline-flex; }
}

/* Theme toggle row inside the hamburger menu. */
.user-dropdown__theme{
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-dropdown__theme svg{ flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════════════════
   THEME VARIABLE SCALES (members area)
   These default to the EXACT dark values so dark mode stays byte-identical after
   the literal→var sweep below. Light mode just remaps them.
   --m-tNN  = text color scale (was white @ .NN alpha)
   --m-bgNN = panel surface scale (was black @ .NN alpha)
   ══════════════════════════════════════════════════════════════════════════════ */
:root{
  --m-t90: rgba(255, 255, 255, 0.9);  --m-t88: rgba(255, 255, 255, 0.88);
  --m-t85: rgba(255, 255, 255, 0.85); --m-t82: rgba(255, 255, 255, 0.82);
  --m-t80: rgba(255, 255, 255, 0.8);  --m-t75: rgba(255, 255, 255, 0.75);
  --m-t70: rgba(255, 255, 255, 0.7);  --m-t65: rgba(255, 255, 255, 0.65);
  --m-t60: rgba(255, 255, 255, 0.6);  --m-t55: rgba(255, 255, 255, 0.55);
  --m-t50: rgba(255, 255, 255, 0.5);  --m-t45: rgba(255, 255, 255, 0.45);
  --m-t40: rgba(255, 255, 255, 0.4);  --m-t35: rgba(255, 255, 255, 0.35);
  --m-t30: rgba(255, 255, 255, 0.3);  --m-t20: rgba(255, 255, 255, 0.2);
  --m-bg30: rgba(0, 0, 0, 0.3); --m-bg40: rgba(0, 0, 0, 0.4);
  --m-bg45: rgba(0, 0, 0, 0.45); --m-bg50: rgba(0, 0, 0, 0.5);
  --m-bg60: rgba(0, 0, 0, 0.6);
}

/* ══════════════════════════════════════════════════════════════════════════════
   LIGHT MODE — members area only
   Scoped under [data-theme="light"]; dark stays the default and untouched.
   This file only loads on /members/ pages, so the landing site is never affected.
   A soft, dimmed light palette (gray, not bright white) to reduce glare.
   ══════════════════════════════════════════════════════════════════════════════ */
:root[data-theme="light"]{
  --bg: #e6e8ee;
  --panel: #edeff3;
  --panel2: #e4e6ec;
  --text: #1a1c22;
  --muted: #565c68;
  --border: rgba(0, 0, 0, 0.13);
  --border2: rgba(255, 43, 43, 0.32);
  --border-highlight: rgba(0, 0, 0, 0.16);
  --shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 3px 16px rgba(0, 0, 0, 0.08);
  --glow: 0 0 16px rgba(255, 43, 43, 0.14);
  --m-surface: #edeff3;
  --m-surface-2: #e4e6ec;
  /* Dimmed dark-text scale (graded so the dark-mode hierarchy is preserved). */
  --m-t90: rgba(20, 22, 28, 0.92); --m-t88: rgba(20, 22, 28, 0.9);
  --m-t85: rgba(20, 22, 28, 0.88); --m-t82: rgba(20, 22, 28, 0.85);
  --m-t80: rgba(20, 22, 28, 0.82); --m-t75: rgba(20, 22, 28, 0.78);
  --m-t70: rgba(20, 22, 28, 0.74); --m-t65: rgba(20, 22, 28, 0.7);
  --m-t60: rgba(20, 22, 28, 0.66); --m-t55: rgba(20, 22, 28, 0.62);
  --m-t50: rgba(20, 22, 28, 0.58); --m-t45: rgba(20, 22, 28, 0.56);
  --m-t40: rgba(20, 22, 28, 0.54); --m-t35: rgba(20, 22, 28, 0.52);
  --m-t30: rgba(20, 22, 28, 0.5);  --m-t20: rgba(20, 22, 28, 0.46);
  /* Panel surfaces → soft grays (deeper dark alpha → slightly more contrast). */
  --m-bg30: #edeff3; --m-bg40: #e7e9ef;
  --m-bg45: #e4e6ec; --m-bg50: #e1e3ea;
  --m-bg60: #dadce4;
}

[data-theme="light"] body{ background: transparent; color: var(--text); }

/* html carries the page fill; body stays transparent so .bg stars show through. */
html{ background: var(--bg); color-scheme: dark; }
body{ background: transparent; }
:root[data-theme="light"]{ color-scheme: light; }

/* Background FX: the dark scanlines/noise/screen-blend particles don't read on a
   light backdrop — hide or retune them. */
[data-theme="light"] .bg__scanlines,
[data-theme="light"] .bg__noise{ display: none; }
[data-theme="light"] .bg__glow{ opacity: .22; filter: blur(30px); }
[data-theme="light"] .bg__particles{ mix-blend-mode: multiply; opacity: .16; }

/* Topbar + dropdown + theme toggle */
[data-theme="light"] .topbar{ background: rgba(230, 232, 238, 0.82); border-bottom-color: var(--border); }
[data-theme="light"] .user-dropdown{ background: var(--panel); border-color: var(--border); box-shadow: var(--shadow); }
[data-theme="light"] .user-dropdown__item{ color: var(--text); }
[data-theme="light"] .user-dropdown__item:hover{ background: rgba(0, 0, 0, 0.05); }
[data-theme="light"] .user-dropdown__item--active{ background: rgba(255, 43, 43, 0.10); color: var(--text); }
[data-theme="light"] .user-menu-btn{ background: rgba(0, 0, 0, 0.05) !important; border-color: var(--border2) !important; }

/* Scrims/overlays must stay dark even in light mode (these alphas are NOT in the
   panel sweep, so they keep their dark literal — listed here for clarity). */

/* Main cards: add a soft border + shadow on top of the swept light backgrounds. */
[data-theme="light"] .stat-card,
[data-theme="light"] .tool-card,
[data-theme="light"] .quick-link,
[data-theme="light"] .overview-card,
[data-theme="light"] .gex-card,
[data-theme="light"] .flow-stat-card,
[data-theme="light"] .info-box,
[data-theme="light"] .lb-card{
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}
/* Secondary panels: just a defining border (no heavy shadow). */
[data-theme="light"] .gex-metric,
[data-theme="light"] .gex-consensus-range,
[data-theme="light"] .gex-consensus-confidence,
[data-theme="light"] .gex-confidence-bar,
[data-theme="light"] .heatmap-tile,
[data-theme="light"] .tool-select,
[data-theme="light"] .filter-input,
[data-theme="light"] .filter-select,
[data-theme="light"] .ticker-btn,
[data-theme="light"] .ticker-picks,
[data-theme="light"] .flow-table,
[data-theme="light"] .planner-panel,
[data-theme="light"] .plan-preview,
[data-theme="light"] .form-pnl-preview,
[data-theme="light"] .seg-toggle,
[data-theme="light"] .meter,
[data-theme="light"] .lb-card,
[data-theme="light"] .gd-rows > div{
  border-color: var(--border);
}
[data-theme="light"] .stat-card:hover,
[data-theme="light"] .tool-card:hover,
[data-theme="light"] .quick-link:hover,
[data-theme="light"] .flow-stat-card--clickable:hover{
  background: var(--m-surface-2);
  border-color: var(--border2);
}
/* These cards used white (not black) fills — flip them explicitly. */
[data-theme="light"] .lb-card{ background: var(--m-surface); }
[data-theme="light"] .gd-rows > div{ background: var(--m-surface-2); }
[data-theme="light"] .flow-table thead{ background: var(--m-surface-2); }
[data-theme="light"] .filter-input::placeholder{ color: rgba(0, 0, 0, 0.4); }

/* Pure-white (#fff) hardcoded text → near-black in light. */
[data-theme="light"] .gd-ticker,
[data-theme="light"] .peek-gauge__val,
[data-theme="light"] .peek-lb__name,
[data-theme="light"] .peek-row span:last-child{
  color: var(--text);
}

/* Small dark-fill accents that vanish on light. */
[data-theme="light"] .lb-row:hover{ background: rgba(0, 0, 0, 0.04); }
