/* Complete signal ledger. All ten data columns stay available at every width. */
html:root body.equity-portfolio-font #expanded-table-shell {
  --eu-bg: #0b0d0f;
  --eu-ink: #edf1f7;
  --eu-muted: #a3aeb8;
  --eu-line: #253038;
  --eu-accent: #b5d4ff;
  --eu-positive: #b5d4ff;
  --eu-negative: #eee3d4;
  --eu-hover: #0f1316;
  --eu-selected: #1d2932;
  --eu-stretch: #29251f;
  --eu-track: #34424c;
  color: var(--eu-ink);
  scroll-margin-top: 90px;
}
html:root[data-theme="light"] body.equity-portfolio-font #expanded-table-shell {
  --eu-bg: #fcfaf7;
  --eu-ink: #252724;
  --eu-muted: #555b53;
  --eu-line: #e3e0da;
  --eu-accent: #385469;
  --eu-positive: #36543f;
  --eu-negative: #804b3e;
  --eu-hover: #f8f6f2;
  --eu-selected: #e7edf0;
  --eu-stretch: #f1e5da;
  --eu-track: #d9dcd7;
  color-scheme: light;
}
html:root body.equity-portfolio-font #expanded-table-shell .section-head { align-items: center; gap: 14px; margin-bottom: 18px; }
html:root body.equity-portfolio-font #expanded-table-shell #table-mode-title { color: var(--eu-ink) !important; font-size: 19px !important; }
html:root body.equity-portfolio-font #expanded-table-shell :is(.eq-table-snapshot,.eq-filter-feedback) { color: var(--eu-muted) !important; font-size: 11px; line-height: 1.6; font-weight: 400; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-table-snapshot { margin: 4px 0 0; }
html:root body.equity-portfolio-font #expanded-table-shell .table-actions { gap: 8px; flex-wrap: wrap; }
html:root body.equity-portfolio-font #expanded-table-shell :is(.table-expand-btn,.eq-clear-filters) {
  min-height: 36px; padding: 8px 11px !important; border: 1px solid var(--eu-line) !important;
  border-radius: 7px !important; background: transparent !important; color: var(--eu-ink) !important;
  font: 400 12px var(--font-ui) !important; box-shadow: none !important; transform: none !important;
}
html:root body.equity-portfolio-font #expanded-table-shell :is(.table-expand-btn,.eq-clear-filters):hover { background: var(--eu-hover) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .signal-change-toggle[aria-pressed="true"] { background: var(--eu-selected) !important; }
html:root body.equity-portfolio-font #expanded-table-shell #filtered-count { background: transparent !important; border: 0 !important; color: var(--eu-muted) !important; font-size: 12px !important; font-weight: 500 !important; padding: 0 0 0 6px !important; }
html:root body.equity-portfolio-font #expanded-table-shell #signal-controls { gap: 10px; }
html:root body.equity-portfolio-font #expanded-table-shell :is(.search-box,.select) { min-height: 42px; border: 1px solid var(--eu-line) !important; border-radius: 7px !important; background: var(--eu-bg) !important; color: var(--eu-ink) !important; font: 400 12px var(--font-ui) !important; box-shadow: none !important; }
html:root body.equity-portfolio-font #expanded-table-shell .search-box { gap: 10px; padding: 8px 11px !important; }
html:root body.equity-portfolio-font #expanded-table-shell .search-box > span { color: var(--eu-muted) !important; font-size: 12px !important; font-weight: 400 !important; }
html:root body.equity-portfolio-font #expanded-table-shell #search-input { color: var(--eu-ink) !important; background: transparent !important; font: 400 12px var(--font-ui) !important; min-width: 0; border: 0 !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; }
html:root body.equity-portfolio-font #expanded-table-shell .search-box:focus-within { outline: 2px solid var(--eu-accent) !important; outline-offset: 2px; }
html:root body.equity-portfolio-font #expanded-table-shell #search-input::placeholder { color: var(--eu-muted) !important; opacity: 1; font-weight: 400 !important; }
html:root body.equity-portfolio-font #expanded-table-shell .select option { background: var(--eu-bg); color: var(--eu-ink); }
html:root body.equity-portfolio-font #expanded-table-shell .filter-row { display: flex !important; gap: 5px; margin: 12px 0 8px; }
html:root body.equity-portfolio-font #expanded-table-shell .filter-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 8px 10px !important; border: 0 !important; border-radius: 6px !important; background: transparent !important; color: var(--eu-muted) !important; font: 400 11px var(--font-ui) !important; box-shadow: none !important; transform: none !important; }
html:root body.equity-portfolio-font #expanded-table-shell .filter-btn:not(.active):hover { background: var(--eu-hover) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .filter-btn.active { background: var(--eu-selected) !important; color: var(--eu-ink) !important; font-weight: 500 !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-filter-count { color: var(--eu-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-filter-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; padding-bottom: 8px; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-clear-filters { color: var(--eu-accent) !important; border: 0 !important; min-height: 30px; cursor: pointer; }
html:root body.equity-portfolio-font #expanded-table-shell [hidden] { display: none !important; }
html:root body.equity-portfolio-font #expanded-table-shell #table-scroll { border-color: var(--eu-line) !important; background: var(--eu-bg) !important; overflow: auto !important; scrollbar-color: var(--eu-line) var(--eu-bg); }
html:root body.equity-portfolio-font #expanded-table-shell table.eq-complete-signal-table { display: table !important; width: 100% !important; min-width: 1180px !important; table-layout: auto !important; border-collapse: separate !important; border-spacing: 0 !important; border: 0 !important; background: var(--eu-bg) !important; color: var(--eu-ink) !important; font-family: var(--font-ui) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table thead { display: table-header-group !important; background: var(--eu-bg) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table tbody { display: table-row-group !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table tr { display: table-row !important; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: var(--eu-bg) !important; transform: none !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table :is(th,td) { display: table-cell !important; width: auto !important; padding: 13px 12px !important; border: 0 !important; border-bottom: 1px solid var(--eu-line) !important; border-radius: 0 !important; background: transparent !important; color: var(--eu-ink) !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.5 !important; text-transform: none !important; letter-spacing: 0 !important; vertical-align: middle; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table td::before { display: none !important; content: none !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table th { position: sticky !important; top: 0 !important; z-index: 2; color: var(--eu-muted) !important; background: var(--eu-bg) !important; font-size: 12px !important; font-weight: 400 !important; white-space: nowrap; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .asset-cell { position: sticky !important; left: 0 !important; z-index: 1; width: 220px !important; min-width: 220px !important; max-width: 240px !important; background: var(--eu-bg) !important; text-align: left !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table th.asset-cell { z-index: 3; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table tbody tr:hover { background: var(--eu-hover) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table tbody tr:hover .asset-cell { background: var(--eu-hover) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .ticker-cell { color: var(--eu-ink) !important; font-size: 15px !important; font-weight: 600 !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .subtext { display: block; margin-top: 3px; color: var(--eu-muted) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.5 !important; white-space: normal !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-table-sort { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 0 !important; border: 0 !important; border-radius: 3px !important; background: transparent !important; color: inherit !important; font: inherit !important; cursor: pointer; white-space: nowrap; }
html:root body.equity-portfolio-font #expanded-table-shell th[aria-sort]:not([aria-sort="none"]) .eq-table-sort { color: var(--eu-accent) !important; font-weight: 500 !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-sort-arrow { width: 11px; height: 11px; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table :is(.momentum-trend,.momentum-strength) { gap: 8px; white-space: nowrap; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table :is(.momentum-value,.strength-label,.badge) { color: var(--eu-muted) !important; background: transparent !important; border: 0 !important; padding: 0 !important; font-size: 13px !important; font-weight: 400 !important; box-shadow: none !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table :is(.momentum-trend,.momentum-strength,.badge).pos { color: var(--eu-positive) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table :is(.momentum-trend,.momentum-strength,.badge).neg { color: var(--eu-negative) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table :is(.momentum-strength.mod,.badge.warn) { color: var(--eu-accent) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table :is(.momentum-trend,.momentum-strength) :is(.momentum-value,.strength-label) { color: inherit !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table :is(.momentum-bars,.strength-bars) { display: inline-flex; gap: 2px; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table :is(.momentum-bars,.strength-bars) i { width: 4px !important; height: 13px !important; border-radius: 2px; background: var(--eu-track) !important; opacity: 1 !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table :is(.momentum-bars,.strength-bars) i.on { background: currentColor !important; opacity: .55 !important; }
/* Combined keeps its existing type scale while the surrounding ledger grows. */
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .eq-combined-cell { font-size: 13px !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table th[data-sort="combinedTrend"] { font-size: 11px !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .eq-combined-cell .momentum-value { min-width: 22px; font-size: 16px !important; font-weight: 600 !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .eq-combined-cell i.on { height: 15px !important; opacity: .85 !important; }
html:root[data-theme="light"] body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table :is(.momentum-bars,.strength-bars) i.on { opacity: .9 !important; }
html:root[data-theme="light"] body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .eq-combined-cell i.on { opacity: 1 !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .eq-mr-stretched .badge { padding: 3px 6px !important; border-radius: 4px !important; background: var(--eu-stretch) !important; color: var(--eu-negative) !important; font-weight: 500 !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .eq-date-cell { font-family: var(--font-ui) !important; font-size: 13px !important; color: var(--eu-muted) !important; white-space: nowrap !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .eq-date-older { color: var(--eu-negative) !important; text-decoration: underline dotted; text-underline-offset: 4px; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .table-spark { width: 62px !important; height: 27px !important; color: var(--eu-accent) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .trace-line { stroke: var(--eu-accent) !important; stroke-width: 1.6 !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .trace-base { stroke: var(--eu-line) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .table-spark circle { fill: var(--eu-accent) !important; stroke: var(--eu-bg) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .portfolio-swipe-shell { --ps-bg: var(--eu-bg); --ps-muted: var(--eu-muted); }
html:root body.equity-portfolio-font #expanded-table-shell :is(.portfolio-swipe-hint,.render-note,.empty-state) { color: var(--eu-muted) !important; }
html:root body.equity-portfolio-font #expanded-table-shell :is(button,input,select):focus-visible { outline: 2px solid var(--eu-accent) !important; outline-offset: 3px; }
html:root body.equity-portfolio-font #expanded-table-shell #search-input:focus-visible { outline: 0 !important; }
/* A soft edge signals more rows without intercepting scroll or row clicks. */
html:root body.equity-portfolio-font #expanded-table-shell .eq-table-bottom-fade {
  position: absolute;
  top: calc(var(--eu-scroll-bottom, 0px) - 28px);
  left: 0;
  right: 0;
  height: 28px;
  z-index: 4;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--eu-bg) 55%, transparent) 60%, var(--eu-bg));
  pointer-events: none;
  opacity: 0;
}
html:root body.equity-portfolio-font #expanded-table-shell .eq-table-has-more-rows > .eq-table-bottom-fade { opacity: 1; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-table-scroll-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 46px;
  padding: 10px 24px;
  border-top: 1px solid var(--eu-line);
  background: var(--eu-bg);
  color: var(--eu-muted);
  font: 400 11px/1.5 var(--font-ui);
}
html:root body.equity-portfolio-font #expanded-table-shell .eq-table-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 4px 0 !important;
  background: transparent !important;
  color: var(--eu-muted) !important;
  font: inherit !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer;
}
html:root body.equity-portfolio-font #expanded-table-shell .eq-table-scroll-cue:hover { color: var(--eu-ink) !important; }
html:root body.equity-portfolio-font #expanded-table-shell .eq-table-scroll-cue svg { width: 14px; height: 14px; }
/* The cue wrapper is the flex child of the panel; its inner ledger must have
   a bounded height to scroll instead of overflowing the clipped panel. */
html:root body.equity-portfolio-font #expanded-table-shell.is-expanded > .portfolio-swipe-shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  min-height: 0;
}
html:root body.equity-portfolio-font #expanded-table-shell.is-expanded > .portfolio-swipe-shell > #table-scroll {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  max-height: none !important;
}
@media (min-width:761px) {
  /* Put the former 56px page padding and 48px footer margin into the ledger. */
  html:root body.equity-portfolio-font main.shell { padding-bottom: 0 !important; }
  html:root body.equity-portfolio-font .ct-site-footer { margin-top: 0 !important; }
  html:root body.equity-portfolio-font .ct-site-footer .ct-footer-links { margin-top: 0 !important; }
  html:root body.equity-portfolio-font #expanded-table-shell:not(.is-expanded) {
    height: calc(100dvh + 120px) !important;
    max-height: calc(100dvh + 120px) !important;
  }
  html:root body.equity-portfolio-font #expanded-table-shell > .portfolio-swipe-shell {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    min-height: 0;
  }
  html:root body.equity-portfolio-font #expanded-table-shell > .portfolio-swipe-shell > #table-scroll {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    max-height: none !important;
    overscroll-behavior-y: contain;
  }
  html:root body.equity-portfolio-font #expanded-table-shell .section-head { margin-bottom: 10px !important; }
  html:root body.equity-portfolio-font #expanded-table-shell #signal-controls { margin-bottom: 0 !important; }
  html:root body.equity-portfolio-font #expanded-table-shell .filter-row { min-height: 34px !important; margin-top: 8px !important; }
  html:root body.equity-portfolio-font #expanded-table-shell .eq-filter-status { min-height: 28px; padding-bottom: 4px; }
  html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table td { padding-block: 6px !important; }
}
@media (max-width:760px) {
  html:root body.equity-portfolio-font #expanded-table-shell .eq-table-scroll-footer { padding: 0 12px; }
  html:root body.equity-portfolio-font #expanded-table-shell .eq-table-scroll-cue { min-height: 44px; }
  /* Give the space before the footer to the mobile ledger. */
  html:root body.equity-portfolio-font main.shell { padding-bottom: 0 !important; }
  html:root body.equity-portfolio-font .ct-site-footer { margin-top: 0 !important; }
  html:root body.equity-portfolio-font #expanded-table-shell:not(.is-expanded) #table-scroll.is-mobile-table { max-height: min(calc(64dvh + 84px), 704px) !important; }
  html:root body.equity-portfolio-font #expanded-table-shell .section-head { align-items: flex-start; flex-wrap: wrap; }
  html:root body.equity-portfolio-font #expanded-table-shell #table-mode-title { font-size: 18px !important; }
  html:root body.equity-portfolio-font #expanded-table-shell .table-actions { width: 100%; }
  html:root body.equity-portfolio-font #expanded-table-shell #filtered-count { margin-left: auto; }
  html:root body.equity-portfolio-font #expanded-table-shell #signal-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  html:root body.equity-portfolio-font #expanded-table-shell .search-box { grid-column: 1 / -1; }
  html:root body.equity-portfolio-font #expanded-table-shell :is(.select,#search-input) { font-size: 16px !important; }
  html:root body.equity-portfolio-font #expanded-table-shell :is(.table-expand-btn,.eq-clear-filters,.filter-btn,.select,.search-box,.eq-table-sort) { min-height: 44px !important; }
  html:root body.equity-portfolio-font #expanded-table-shell .filter-row { flex-wrap: nowrap !important; overflow-x: auto !important; overflow-y: hidden !important; padding-bottom: 4px !important; }
  html:root body.equity-portfolio-font #expanded-table-shell .filter-btn { flex: 0 0 auto; }
  html:root body.equity-portfolio-font #expanded-table-shell .eq-filter-status { align-items: flex-start; }
  html:root body.equity-portfolio-font #expanded-table-shell .eq-clear-filters { flex: 0 0 auto; }
  html:root body.equity-portfolio-font #expanded-table-shell .portfolio-swipe-shell:has(.eq-complete-signal-table) { padding-top: 24px; }
  html:root body.equity-portfolio-font #expanded-table-shell .portfolio-swipe-shell:has(.eq-complete-signal-table) > .portfolio-swipe-hint { position: absolute; top: 0; right: 0; bottom: auto; min-height: 20px; margin: 0; padding: 0; }
  html:root body.equity-portfolio-font #expanded-table-shell .portfolio-swipe-shell:has(.eq-complete-signal-table) > .portfolio-swipe-edge { top: 24px; }
  html:root body.equity-portfolio-font #expanded-table-shell table.eq-complete-signal-table { min-width: 1100px !important; }
  html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .asset-cell { width: 140px !important; min-width: 140px !important; max-width: 140px !important; }
  html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table :is(th,td) { padding: 12px 10px !important; }
  html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table th { padding-block: 0 !important; }
}
@media (max-width:370px) {
  html:root body.equity-portfolio-font #expanded-table-shell .eq-complete-signal-table .asset-cell { width: 120px !important; min-width: 120px !important; max-width: 120px !important; }
}
@media (prefers-reduced-motion:reduce) {
  html:root body.equity-portfolio-font #expanded-table-shell :is(button,tr) { transition: none !important; }
}
