/* LedgerGain professional finish. Neutral panels and headings, with colour confined to logos, icons and navigation. All layout, sizing, data colours and responsive rules retained. */

#app,
#modal,
#toast {
  --lg-research-ink: #27303b;
  --lg-research-copy: #45515e;
  --lg-research-muted: #64707d;
  --lg-research-blue: #245f96;
  --lg-research-line: #dde2e7;
  --lg-research-wash: #f6f7f8;
  --lg-research-copper: #64707d;
  font-family: 'Public Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#app {
  color: var(--lg-research-ink);
  --ink: #27303b;
  --body: #45515e;
  --blue: #245f96;
  --border: #dde2e7;
  --soft: #f6f7f8;
  --muted: #64707d;
}

#app :is(h1, h2, h3, .product-name),
#modal :is(h2, h3) {
  font-family: Inter, 'Public Sans', Arial, sans-serif;
  color: #27303b;
  letter-spacing: -.025em;
}

#app :is(button, input, select),
#modal :is(button, input, select) {
  font-family: 'Public Sans', Arial, sans-serif;
}

#app :is(.price-main, .summary-facts dd, .equity-overview-values dd, .performance-grid b, .us-grid dd),
#app :is(.market-table, .indicator-table, .holdings-table) {
  font-variant-numeric: tabular-nums;
}
#app .asset-nav {
  background: #fff;
  border-bottom-color: #dde2e7;
  box-shadow: none;
}

#app .asset-nav button[data-type] {
  color: #45515e;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
  background: transparent;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

#app .asset-nav button[data-type='stocks'] { --asset-accent: #64707d; --asset-tint: #f1f3f5; }
#app .asset-nav button[data-type='etfs'] { --asset-accent: #64707d; --asset-tint: #f1f3f5; }
#app .asset-nav button[data-type='crypto'] { --asset-accent: #64707d; --asset-tint: #f1f3f5; }
#app .asset-nav button[data-type='forex'] { --asset-accent: #64707d; --asset-tint: #f1f3f5; }
#app .asset-nav button[data-type='commodities'] { --asset-accent: #64707d; --asset-tint: #f1f3f5; }

#app .asset-nav button[data-type].active {
  color: #245f96;
  background: #f6f7f8;
  border-bottom-color: #245f96;
  box-shadow: inset 0 -2px 0 #245f96;
}

#app .asset-nav button[data-type]:hover {
  background: #f6f7f8;
  color: var(--asset-accent);
  border-bottom-color: var(--asset-accent);
  box-shadow: none;
}

#app .asset-tab-icon,
#app .asset-nav button.active .asset-tab-icon {
  border-radius: 7px;
  color: #64707d;
  background: #f1f3f5;
  box-shadow: none;
}

#app .asset-nav button[data-type]:is(:hover, :focus-visible) .asset-tab-icon {
  color: #64707d;
  background: #f1f3f5;
  box-shadow: 0 0 0 3px #245f9618;
}
#app .header {
  background: #fff;
  border-color: var(--lg-research-line);
}

#app .header .product-name { color: #27303b; font-weight: 700; letter-spacing: -.02em; }
#app .search-total { color: #64707d; }

#app .header .search-control {
  background: #fff;
  border-color: #dde2e7;
  border-radius: 8px;
  box-shadow: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

#app .header .search-control:hover { border-color: #dde2e7; }
#app .header .search-control:focus-within {
  border-color: #245f96;
  box-shadow: 0 0 0 3px #245f9618;
}

#app .header .search-wrap input,
#app .header .search-wrap input:focus {
  color: #27303b;
  background: transparent;
  font-size: 16px;
}

#app .header .search-wrap input::placeholder { color: #64707d; opacity: 1; }
#app .header .search-icon { color: #64707d; }

#app .header #check-price,
#app .calculator-form .calc-submit button {
  color: #fff;
  background: #245f96;
  border-color: #245f96;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: none;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

#app .header #check-price:hover,
#app .calculator-form .calc-submit button:hover {
  color: #fff;
  background: #245f96;
  border-color: #245f96;
  box-shadow: none;
}

#app .header-actions :is(.quiet, .icon-button),
#app .quick-instrument-actions .icon-button,
#app .context-actions .icon-button {
  color: #45515e;
  border-color: #dde2e7;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

#app .header-actions :is(.quiet, .icon-button):hover,
#app .quick-instrument-actions .icon-button:hover,
#app .context-actions .icon-button:hover {
  color: #45515e;
  border-color: #dde2e7;
  background: #f6f7f8;
}

#app .header-actions .count { color: #45515e; background: #fff; }
#app .subnav { background: #fff; border-color: var(--lg-research-line); }
#app #view-nav > button {
  color: #45515e;
  border-radius: 7px 7px 0 0;
  background: transparent;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

#app #view-nav > button b { font-weight: 600; }
#app #view-nav > button > .icon { color: #64707d; }
#app #view-nav > button:hover { background: #f6f7f8; color: #45515e; }
#app #view-nav > button.active {
  color: #245f96;
  background: #f6f7f8;
  border-bottom-color: #245f96;
  box-shadow: inset 0 -2px 0 #245f96;
}
#app #view-nav > button.active > .icon { color: #245f96; }
#app .visible-statistics-heading {
  background: #fff;
  border-color: #dde2e7;
  box-shadow: none;
}

#app .equity-overview-values dt { color: #64707d; }
#app .equity-overview-values dd { color: #27303b; font-weight: 700; letter-spacing: -.02em; }
#app .us-quick button strong { color: #45515e; }

#app .statistics-primary {
  color: #245f96;
  border-color: #dde2e7;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}
#app .statistics-primary:hover { color: #245f96; background: #f6f7f8; border-color: #dde2e7; }

#app .panel {
  background: #fff;
  border-color: #dde2e7;
  border-radius: 9px;
  box-shadow: none;
}
#app .panel-head { background: #fff; border-color: #dde2e7; }
#app .panel-head h2 { color: #27303b; font-weight: 650; }
#app .summary-facts { background: #fff; border-color: #dde2e7; }
#app .summary-facts dt { color: #64707d; }
#app .summary-facts dd { color: #27303b; }
#app :is(.asset-logo, .mini-logo) {
  border-radius: 7px;
  box-shadow: none;
  font-family: Inter, Arial, sans-serif;
}

#app :is(.range-controls, .meter-intervals, .chart-style, .us-segments) button {
  color: #64707d;
  border-radius: 5px;
}
#app :is(.range-controls, .meter-intervals, .chart-style, .us-segments) button.active {
  color: #245f96;
  background: #f6f7f8;
  box-shadow: none;
}

#app .research-sections button.active,
#app .tool-menu button.active {
  color: #245f96;
  background: #f6f7f8;
  border-color: #dde2e7;
  box-shadow: none;
}
#app .tool-menu button:hover { color: #245f96; background: #f6f7f8; }

#app #workspace :is(.market-table, .indicator-table, .asset-quote-table, .holdings-table table, .us-native table) th {
  color: #64707d;
  background: #f6f7f8;
  border-color: #dde2e7;
  font-weight: 600;
}
#app #workspace :is(.market-table, .indicator-table, .asset-quote-table, .holdings-table table, .us-native table) td {
  background: #fff;
  border-bottom-color: #dde2e7;
}
#app #workspace :is(.market-table, .indicator-table, .asset-quote-table, .holdings-table table, .us-native table) tbody tr:hover > td { background: #f6f7f8; }

#app #workspace :is(.field input, .field select, .calculator-form input, .calculator-form select),
#modal :is(.alert-fields input, .alert-fields select, input.control, select.control) {
  color: #27303b;
  background: #fff;
  border-color: #dde2e7;
  border-radius: 6px;
  box-shadow: none;
}
#app .calc-output { border-color: #dde2e7; }
#app .calc-output .label { color: #64707d; }

#app .research-accordion { border-color: #dde2e7; border-radius: 7px; }
#app .research-accordion > summary { color: #45515e; background: #fff; }
#app .research-accordion[open] > summary { color: #45515e; background: #fff; }
#app .header .search-results {
  background: #fff;
  border-color: #dde2e7;
  border-radius: 9px;
  box-shadow: 0 4px 14px #11182712;
}
#app :is(.search-discover-heading, .search-scopes, .search-guidance, .search-more) { background: #fff; }
#app .search-heading { color: #64707d; background: #fff; }
#app .search-result:hover,
#app .search-result[aria-selected='true'] { background: #f6f7f8; }
#app .search-result .search-title b { color: #27303b; }
#app .search-scopes button.active { color: #245f96; background: #f6f7f8; border-color: #dde2e7; }

#modal {
  color: #45515e;
  background: #fff;
  border-color: #dde2e7;
  border-radius: 10px;
  box-shadow: 0 4px 14px #11182712;
}
#modal .modal-heading { background: #fff; border-color: #dde2e7; }
#modal .modal-heading h2 { color: #27303b; }
#modal .modal-heading .icon-button { color: #45515e; border-radius: 6px; }
#modal .modal-heading .icon-button:hover { color: #45515e; background: #f6f7f8; }
#modal::backdrop { background: #11182752; }

#app .footer {
  color: #64707d;
  background: #fff;
  border-color: #dde2e7;
}
#app .footer #source-button { color: #245f96; }
#app .footer #source-button:hover { color: #245f96; text-decoration: underline; text-underline-offset: 3px; }

#app :is(button, a, select):focus-visible,
#modal :is(button, a, input, select):focus-visible {
  outline: 2px solid #245f96;
  outline-offset: 2px;
}
@container market (max-width:620px) {
  #app .asset-nav button[data-type] { border-radius: 6px 6px 0 0; }
  #app .asset-tab-icon { border-radius: 6px; }
  #app #view-nav > button { border-radius: 6px 6px 0 0; }
  #app .header .search-wrap input,
  #app .header .search-wrap input:focus { font-size: 16px; }
  #app .header #check-price { font-size: 13px; }
  #app .visible-statistics-heading { box-shadow: none; }
}

@media (prefers-reduced-motion:reduce) {
  #app :is(.view-enter, button, .asset-tab-icon, .search-control, .search-chevron),
  #modal button { animation: none !important; transition: none !important; }
}

@media (forced-colors:active) {
  #app :is(.asset-nav, .header, .subnav, .visible-statistics-heading, .panel, .footer),
  #modal, #modal .modal-heading { background: Canvas; color: CanvasText; box-shadow: none; }
  #app :is(.asset-nav button.active, #view-nav > button.active, .tool-menu button.active) { border-bottom-color: Highlight; outline: 1px solid Highlight; }
  #app .header #check-price, #app .calculator-form .calc-submit button { color: ButtonText; background: ButtonFace; border-color: ButtonText; }
}

.pulse,
html.lgmp-embedded #detail {
  --mp-navy: #27303b;
  --mp-sapphire: #245f96;
  --mp-ink: #27303b;
  --mp-muted: #64707d;
  --mp-line: #dde2e7;
  --mp-teal: #14735c;
  --mp-red: #ad3d52;
  --mp-copper: #64707d;
  --mp-wash: #f6f7f8;
  --ink: #27303b;
  --blue: #245f96;
  --muted: #64707d;
  --line: var(--mp-line);
  --up: var(--mp-teal);
  --down: var(--mp-red);
  --accent: var(--mp-copper);
  color: var(--mp-ink);
  font-family: 'Public Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pulse,
html.lgmp-embedded .pulse {
  min-inline-size: 0;
  max-inline-size: 100%;
  border: 1px solid #dde2e7;
  border-radius: 13px;
  background: #fff;
  box-shadow: none;
}
.pulse .pulse-head,
html.lgmp-embedded .pulse .pulse-head {
  padding: 23px 25px 21px;
  gap: 18px;
  background:
    #fff;
  box-shadow: none;
}
.pulse .pulse-head > div { min-width: 0; }
.pulse .pulse-head::before {
  left: 25px;
  width: 68px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: #fff;
  content: none;
}
.pulse .eyebrow {
  color: #45515e;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.5;
  margin-bottom: 8px;
}
.pulse .signal {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: #64707d;
  box-shadow: none;
}
.pulse .pulse-head h1 {
  color: #27303b;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -1.1px;
  font-weight: 750;
}
.pulse .title-dot { color: #64707d; }
.pulse .pulse-head p {
  margin-top: 8px;
  color: #64707d;
  font-size: 14px;
  line-height: 1.55;
}
.pulse .icon-btn {
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  border: 1px solid #dde2e7;
  border-radius: 9px;
  background: #fff;
  color: #45515e;
  box-shadow: none;
}
.pulse .icon-btn:hover { border-color: #dde2e7; background: #f6f7f8; color: #27303b; }

.pulse .market-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 18px;
  min-block-size: 53px;
  padding: 9px 25px;
  border-block: 1px solid #dde2e7;
  background: #f6f7f8;
  color: #64707d;
  font-size: 11.5px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.pulse .market-status > span { min-width: 0; }
.pulse .status-dot { background: #64707d; }
.pulse #data-date {
  justify-self: end;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-align: right;
  overflow-wrap: anywhere;
}
.pulse #data-date[data-freshness='delayed'],
.pulse #data-date[data-freshness='partial'] { color: #45515e; background: #f6f7f8; border-color: #dde2e7; }
.pulse #data-date[data-freshness='current'] { color: #45515e; background: #f6f7f8; border-color: #dde2e7; }
.pulse #data-date[data-freshness='unverified'] { color: #64707d; background: #f6f7f8; border-color: #dde2e7; }
.pulse .tabs {
  min-height: 70px;
  min-width: 0;
  padding: 9px 12px;
  gap: 5px;
  border-bottom: 1px solid #dde2e7;
  background: #fff;
  box-shadow: none;
  overscroll-behavior-inline: contain;
}
.pulse .tab {
  flex: 1 0 auto;
  min-width: 0;
  min-height: 50px;
  gap: 7px;
  padding: 10px 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #45515e;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.1px;
  transition: background-color .14s, border-color .14s, box-shadow .14s, color .14s;
}
.pulse .tab:hover {
  border-color: #dde2e7;
  background: #f6f7f8;
  color: #45515e;
  box-shadow: none;
}
.pulse .tab[aria-selected='true'] {
  color: #245f96;
  border-color: transparent;
  background: #f6f7f8;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 #245f96;
  border-bottom-color: #245f96;
}
.pulse .tab[aria-selected='true']::after { content: none; }
.pulse .tab-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid #dde2e7;
  border-radius: 7px;
  background: #f1f3f5;
  color: #64707d;
  box-shadow: none;
}
.pulse .tab-icon svg { width: 15px; height: 15px; stroke-width: 1.9; }
.pulse .tab[aria-selected='true'] .tab-icon {
  border-color: #dde2e7;
  background: transparent;
  color: #245f96;
  box-shadow: none;
}
.pulse [data-tab='highs'][aria-selected='true'] .tab-icon { color: #245f96; }
.pulse [data-tab='lows'][aria-selected='true'] .tab-icon { color: #245f96; }
.pulse [data-tab='trending'][aria-selected='true'] .tab-icon { color: #245f96; }
.pulse [data-tab='etfs'][aria-selected='true'] .tab-icon { color: #245f96; }
.pulse [data-tab='insiders'][aria-selected='true'] .tab-icon { color: #245f96; }

.pulse #panel { min-inline-size: 0; background: #fff; }
.pulse .section-title { margin: 22px 25px 17px; gap: 14px; }
.pulse .section-title > div { min-width: 0; }
.pulse .section-title h2 { color: #27303b; font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: -.45px; }
.pulse .section-title p { color: #64707d; font-size: 13px; line-height: 1.6; }
.pulse .periods { padding: 3px; border: 1px solid #dde2e7; border-radius: 8px; background: #f6f7f8; box-shadow: none; }
.pulse .periods button { min-height: 32px; border-radius: 5px; color: #64707d; font-size: 12px; padding-inline: 9px; }
.pulse .periods button.active { color: #245f96; background: #f6f7f8; box-shadow: none; }
.pulse .stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 25px 20px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.pulse .stat {
  --mp-stat-accent: #dde2e7;
  position: relative;
  min-width: 0;
  padding: 15px 15px 14px;
  border: 1px solid #dde2e7;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}
.pulse .stat + .stat { border-left: 1px solid #dde2e7; }
.pulse .stat::before { content: none; position: absolute; top: 0; left: 15px; right: 15px; height: 2px; border-radius: 0 0 2px 2px; background: #fff; opacity: .6; }
.pulse .stat:nth-child(1) { --mp-stat-accent: #dde2e7; background: #fff; }
.pulse .stat:nth-child(3) { --mp-stat-accent: #dde2e7; background: #fff; }
.pulse .stat-label { margin-bottom: 7px; color: #64707d; font-size: 11.5px; font-weight: 500; line-height: 1.5; }
.pulse .stat strong { font-size: 24px; letter-spacing: -.65px; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; }
.pulse .stat strong:not(.up):not(.down) { color: #27303b; }
.pulse .stat .stat-name { font-size: 14px; font-weight: 650; line-height: 1.45; letter-spacing: -.2px; }
.pulse .stat small { font-size: 12px; color: #64707d; }
.pulse .stat small.up { color: var(--mp-teal); }
.pulse .stat small.down { color: var(--mp-red); }
.pulse .subline { color: #64707d; font-size: 11.5px !important; line-height: 1.55; }
.pulse .breadth-mini i { height: 4px; border-radius: 2px; }
.pulse .breadth-mini i.pos { background: #45927a; }
.pulse .breadth-mini i.neg { background: #c27887; }

.pulse .toolbar { margin: 0 25px 16px; gap: 11px 15px; }
.pulse .toolbar .search { min-width: 0; min-height: 42px; max-width: 290px; padding: 9px 11px; border: 1px solid #dde2e7; border-radius: 8px; background: #fff; box-shadow: none; }
.pulse .search input { min-width: 0; color: #27303b; font-size: 14px; background: transparent; }
.pulse .search input::placeholder { color: #64707d; opacity: 1; }
.pulse .search svg { width: 15px; height: 15px; color: #64707d; }
.pulse .search:focus-within,
.pulse .etf-input:focus-within { border-color: #245f96; box-shadow: 0 0 0 3px #245f9618; }
.pulse .stock-refinements { min-width: 0; gap: 11px; }
.pulse .date-filter,
.pulse .sort-control,
.pulse .select-label,
.pulse .etf-finder > label { min-width: 0; color: #64707d; font-size: 11.5px; font-weight: 600; }
.pulse .stock-refinements select,
.pulse .sort-control select,
.pulse .select-label select { min-width: 0; min-height: 39px; padding: 8px 10px; border: 1px solid #dde2e7; border-radius: 7px; color: #45515e; background: #fff; font-size: 12.5px; box-shadow: none; }
.pulse .date-filter select:disabled { background: #fff; color: #64707d; border-color: #dde2e7; }
.pulse .filters { gap: 5px; }
.pulse .filters button { min-height: 37px; padding: 7px 11px; border: 1px solid #dde2e7; border-radius: 7px; color: #45515e; background: #fff; font-size: 12px; font-weight: 500; }
.pulse .filters button:hover { border-color: #dde2e7; background: #f6f7f8; }
.pulse .filters button.active { color: #245f96; border-color: #dde2e7; background: #f6f7f8; font-weight: 650; box-shadow: none; }
.pulse .list-options { gap: 10px 14px; min-width: 0; }
.pulse .sector-controls { min-width: 0; gap: 10px; }
.pulse .table-wrap { margin-inline: 25px; min-width: 0; border: 1px solid #dde2e7; border-radius: 10px; background: #fff; box-shadow: none; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: #b9c0c8 #f6f7f8; }
.pulse .data-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.pulse .data-table th { padding: 11px 9px; border-bottom: 1px solid #dde2e7; color: #64707d; background: #f6f7f8; font-size: 10.5px; font-weight: 700; line-height: 1.5; letter-spacing: .55px; }
.pulse .data-table th:first-child { padding-left: 13px; border-radius: 8px 0 0 0; }
.pulse .data-table th:last-child { padding-right: 13px; border-radius: 0 8px 0 0; }
.pulse .data-table td { padding: 12px 9px; border-bottom: 1px solid #dde2e7; color: #27303b; font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.pulse .data-table td:first-child { padding-left: 13px; }
.pulse .data-table td:last-child { padding-right: 13px; }
.pulse .data-table tbody tr:nth-child(even) { background: #fff; }
.pulse .data-table tbody tr:hover { background: #f6f7f8; }
.pulse .data-table tbody tr:last-child td { border-bottom: 0; }
.pulse .data-table td.num { font-size: 14px; font-weight: 550; letter-spacing: -.15px; font-variant-numeric: tabular-nums; }
.pulse .data-table td.up,
.pulse .up { color: var(--mp-teal); }
.pulse .data-table td.down,
.pulse .down { color: var(--mp-red); }
.pulse .symbol-button { gap: 9px; min-width: 0; border-radius: 5px; }
.pulse .symbol-button strong { color: #27303b; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .05px; }
.pulse .symbol-button:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.pulse .letter { width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid #dde2e7; border-radius: 8px; color: #64707d; background: #f1f3f5; font-size: 11px; box-shadow: none; }
.pulse .letter.sector-glyph { color: #64707d; background: #f1f3f5; border-color: #dde2e7; }
.pulse .sector-glyph svg { width: 15px; height: 15px; }
.pulse .company-copy { min-width: 0; }
.pulse .company-name { color: #64707d; font-size: 11.5px; line-height: 1.5; }
.pulse .sector-name { color: #27303b; font-size: 13px; line-height: 1.45; }
.pulse .sector-name small { color: #64707d; font-size: 10.5px; }
.pulse .disclosure-date { color: #64707d; font-size: 10.5px; line-height: 1.65; margin-top: 4px; }
.pulse .disclosure-date.up { color: var(--mp-teal); }
.pulse .disclosure-date.down { color: var(--mp-red); }
.pulse .bar-track { height: 6px; border: 1px solid #dde2e7; border-radius: 4px; background: #eceff2; box-shadow: none; }
.pulse .bar-fill { border-radius: 3px; animation: none; }
.pulse .bar-fill.positive { background: linear-gradient(90deg, #88bca9, #408b73); }
.pulse .bar-fill.negative { background: linear-gradient(90deg, #dab1b8, #b9697c); }
.pulse .bar-value { width: 61px; flex: 0 0 61px; font-size: 13px; font-weight: 650; }
.pulse .range-track { height: 5px; margin: 8px 0; border-radius: 4px; background: #eceff2; }
.pulse .range-track::before { border-radius: 4px; background: linear-gradient(90deg, #c38a98, #e3d9c8 48%, #5eaa90); box-shadow: none; }
.pulse .range-track i { width: 6px; height: 11px; border: 2px solid #dde2e7; border-radius: 4px; background: #eceff2; box-shadow: none; }
.pulse .range-ends { gap: 3px 7px; color: #64707d; font-size: 10.5px; line-height: 1.55; }
.pulse .range-ends span { max-width: 100%; overflow-wrap: anywhere; }
.pulse .freshness { display: inline-block; max-width: 100%; padding: 2px 5px; border: 1px solid #dde2e7; border-radius: 5px; color: #64707d; background: #f6f7f8; font-size: 10px; font-weight: 500; line-height: 1.5; white-space: normal; }
.pulse .freshness.older { border-color: #dde2e7; color: #45515e; background: #f6f7f8; }
.pulse .freshness.unverified { border-color: #dde2e7; color: #45515e; background: #f6f7f8; }
.pulse .range-label { font-size: 10.5px; line-height: 1.5; color: #64707d; }
.pulse .range-label.review { padding: 2px 5px; border-radius: 4px; color: #45515e; background: #f6f7f8; }
.pulse .tag { padding: 3px 6px; border-radius: 5px; font-size: 10.5px; line-height: 1.4; font-weight: 650; }
.pulse .tag.pos { color: #136b53; background: #f6f7f8; }
.pulse .tag.neg { color: #a43e50; background: #f6f7f8; }
.pulse .tag.blue { color: #245f96; background: #f6f7f8; }
.pulse .group-value { font-size: 12px; line-height: 1.8; }
.pulse .group-toggle,
.pulse .row-button { color: #245f96; font-size: 12px; line-height: 1.5; }
.pulse .insider-role { color: #64707d; font-size: 10.5px; line-height: 1.6; }
.pulse .insider-detail-row > td { background: #f6f7f8; }
.pulse .insider-detail-list { padding: 4px 13px 9px; }
.pulse .insider-line { border-color: #dde2e7; }
.pulse .insider-line small { font-size: 10.5px; color: #64707d; }

.pulse .etf-controls { margin: 0 25px 18px; gap: 13px; }
.pulse .etf-finder { min-width: 0; }
.pulse .etf-input { min-height: 42px; border: 1px solid #dde2e7; border-radius: 8px; background: #fff; box-shadow: none; }
.pulse .etf-input input { color: #27303b; font-size: 14px; background: transparent; }
.pulse .etf-input button { flex-basis: 38px; width: 38px; border-left: 1px solid #dde2e7; color: #45515e; background: #fff; }
.pulse .etf-results { min-width: 0; max-width: 100%; border: 1px solid #dde2e7; border-radius: 9px; background: #fff; box-shadow: 0 4px 14px #11182712; }
.pulse .etf-option { padding: 11px 12px; border-bottom-color: #dde2e7; }
.pulse .etf-option strong { color: #45515e; font-size: 13px; }
.pulse .etf-option span { color: #27303b; font-size: 12px; }
.pulse .etf-option small { color: #64707d; font-size: 10.5px; }
.pulse .etf-option.active,
.pulse .etf-option:hover { background: #f6f7f8; box-shadow: none; }
.pulse .etf-list-note,
.pulse .etf-no-results { color: #64707d; background: #f6f7f8; font-size: 11px; }

.pulse .bottom-line { margin: 15px 25px 18px; gap: 10px; color: #64707d; font-size: 11.5px; line-height: 1.6; }
.pulse .page-actions { gap: 6px; flex: 0 0 auto; }
.pulse .more-button { min-height: 37px; padding: 7px 12px; border: 1px solid #dde2e7; border-radius: 7px; color: #45515e; background: #fff; box-shadow: none; font-size: 12px; font-weight: 600; }
.pulse .more-button:hover { border-color: #dde2e7; background: #f6f7f8; }
.pulse .note { margin: 12px 25px 19px; padding: 11px 13px; border: 1px solid #dde2e7; border-left: 3px solid #dde2e7; border-radius: 7px; color: #64707d; background: #f6f7f8; font-size: 11.5px; line-height: 1.7; }
.pulse .note[data-stock-freshness] { border-color: #dde2e7; border-left-color: #dde2e7; color: #45515e; background: #f6f7f8; }
.pulse .inline-status { margin-inline: 25px; color: #64707d; font-size: 12px; }
.pulse .inline-status.error { color: #45515e; }
.pulse .pulse-footer { padding: 13px 25px; border-top: 1px solid #dde2e7; background: #fff; color: #64707d; font-size: 11.5px; line-height: 1.65; }
.pulse .pulse-footer .text-button { color: #245f96; font-size: 11.5px; }
.pulse .pulse-footer a { color: #245f96; text-decoration-color: #245f96; text-underline-offset: 3px; }
.pulse .loading,
.pulse .empty { color: #64707d; line-height: 1.75; }
.pulse .empty strong { color: #45515e; font-size: 14px; }
.pulse .loading::before { border-color: #dde2e7; border-top-color: #dde2e7; }
html.lgmp-embedded #detail { border: 1px solid #dde2e7; border-radius: 13px; background: #fff; box-shadow: 0 4px 14px #11182712; }
html.lgmp-embedded #detail::backdrop { background: #11182752; backdrop-filter: none; }
html.lgmp-embedded #detail .dialog-head { border-color: #dde2e7; background: #fff; }
html.lgmp-embedded #detail .dialog-head h2 { color: #27303b; font-weight: 700; }
html.lgmp-embedded #detail .dialog-head p { color: #64707d; }
html.lgmp-embedded #detail .icon-btn { border-color: #dde2e7; border-radius: 7px; color: #45515e; background: #fff; }
html.lgmp-embedded #detail .metrics { border: 1px solid #dde2e7; border-radius: 10px; overflow: hidden; background: #fff; }
html.lgmp-embedded #detail .metric { border-color: #dde2e7; background: #fff; }
html.lgmp-embedded #detail .metric small { color: #64707d; }
html.lgmp-embedded #detail .metric strong { color: #27303b; font-variant-numeric: tabular-nums; }
html.lgmp-embedded #detail .dialog-range { border: 1px solid #dde2e7; border-radius: 9px; background: #fff; }
html.lgmp-embedded #detail .research-button { color: #fff; border: 1px solid #245f96; border-radius: 8px; background: #245f96; box-shadow: none; }
html.lgmp-embedded #detail .research-button:hover { background: #245f96; }
html.lgmp-embedded #detail .back-quote { color: #245f96; border-color: #dde2e7; border-radius: 6px; background: #fff; }
html.lgmp-embedded #toast { border: 1px solid #dde2e7; border-radius: 8px; background: #27303b; color: #fff; box-shadow: none; }

.pulse button:focus-visible,
.pulse a:focus-visible,
.pulse select:focus-visible,
.pulse input:focus-visible,
html.lgmp-embedded #detail button:focus-visible,
html.lgmp-embedded #detail a:focus-visible { outline: 3px solid #245f96; outline-offset: 3px; }
.pulse .tab[aria-selected='true']:focus-visible { outline-color: #245f96; }

@media (max-width: 760px) {
  .pulse .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; min-height: 115px; padding: 9px 11px; overflow: visible; }
  .pulse .tab { min-height: 45px; padding: 8px; font-size: 12px; }
  .pulse .tab-icon { width: 24px; height: 24px; flex-basis: 24px; }
  .pulse .toolbar .search { flex: 1 1 100%; max-width: none; }
  .pulse .stock-refinements { flex: 1 1 100%; }
  .pulse .stock-refinements .date-filter { flex: 1 1 0; min-width: 0; }
  .pulse .stock-refinements select { width: 100%; max-width: none; }
  .pulse .sector-controls { justify-content: flex-start; }
  .pulse .sort-control select { max-width: min(240px, 100%); }
}

@media (max-width: 650px) {
  .pulse,
  html.lgmp-embedded .pulse { border-radius: 10px; }
  .pulse .pulse-head,
  html.lgmp-embedded .pulse .pulse-head { padding: 20px 15px 18px; gap: 12px; }
  .pulse .pulse-head::before { left: 15px; width: 52px; content: none; }
  .pulse .pulse-head h1 { font-size: 27px; letter-spacing: -.9px; }
  .pulse .pulse-head p { font-size: 12.5px; }
  .pulse .eyebrow { font-size: 10px; letter-spacing: .1em; }
  .pulse .market-status { grid-template-columns: 1fr; min-block-size: 86px; padding: 9px 15px; gap: 5px; font-size: 11px; }
  .pulse #data-date { justify-self: stretch; text-align: left; padding: 5px 7px; }
  .pulse .section-title { margin: 19px 15px 15px; gap: 11px; }
  .pulse .section-title h2 { font-size: 17px; }
  .pulse .section-title p { font-size: 12px; }
  .pulse .stats { margin: 0 15px 17px; gap: 7px; }
  .pulse .stat { padding: 12px 9px 11px; border-radius: 8px; }
  .pulse .stat::before { left: 9px; right: 9px; content: none; }
  .pulse .stat strong { font-size: 21px; letter-spacing: -.5px; }
  .pulse .stat .stat-name { font-size: 12px; line-height: 1.5; }
  .pulse .stat-label { font-size: 10.5px; line-height: 1.5; }
  .pulse .stat small,
  .pulse .subline { font-size: 10.5px !important; line-height: 1.55; }
  .pulse .toolbar { margin: 0 15px 14px; gap: 10px; }
  .pulse .toolbar .search,
  .pulse .etf-input { min-height: 44px; }
  .pulse .search input,
  .pulse .etf-input input { font-size: 16px; }
  .pulse .stock-refinements { gap: 9px; }
  .pulse .date-filter,
  .pulse .sort-control { font-size: 11px; }
  .pulse .stock-refinements select,
  .pulse .sort-control select,
  .pulse .select-label select { min-height: 41px; padding: 8px; font-size: 12px; }
  .pulse .filters button { min-height: 39px; padding: 7px 9px; font-size: 11.5px; }
  .pulse .list-options .sort-control { flex: 1 1 100%; margin-left: 0; justify-content: space-between; }
  .pulse .list-options .sort-control select { flex: 1 1 auto; max-width: 250px; }
  .pulse .table-wrap { margin-inline: 15px; border-radius: 8px; }
  .pulse .data-table th { padding: 9px 5px; font-size: 10px; letter-spacing: .15px; }
  .pulse .data-table td { padding: 11px 5px; font-size: 12px; }
  .pulse .data-table th:first-child,
  .pulse .data-table td:first-child { padding-left: 8px; }
  .pulse .data-table th:last-child,
  .pulse .data-table td:last-child { padding-right: 8px; }
  .pulse .data-table td.num { font-size: 13px; letter-spacing: -.15px; }
  .pulse .symbol-button { gap: 6px; }
  .pulse .letter { width: 24px; height: 26px; flex-basis: 24px; border-radius: 6px; font-size: 9.5px; }
  .pulse .symbol-button strong { font-size: 12px; }
  .pulse .company-name { font-size: 10.5px; }
  .pulse .sector-name { font-size: 12px; }
  .pulse .sector-name small { font-size: 10.5px; }
  .pulse .bar-cell { gap: 5px; }
  .pulse .bar-value { width: 52px; flex-basis: 52px; font-size: 12px; }
  .pulse .range-ends { font-size: 10px; gap: 3px; }
  .pulse .range-label,
  .pulse .disclosure-date,
  .pulse .freshness { font-size: 10px; line-height: 1.55; }
  .pulse .freshness { padding: 2px 3px; }
  .pulse .tag { padding: 3px 4px; font-size: 10px; white-space: normal; }
  .pulse .group-value { font-size: 11px; }
  .pulse .group-toggle,
  .pulse .row-button { font-size: 11px; }
  .pulse .insider-role,
  .pulse .insider-line small { font-size: 10px; }
  .pulse .etf-controls { margin-inline: 15px; gap: 10px; }
  .pulse .etf-controls > .select-label { flex: 1 1 100%; }
  .pulse .etf-option { grid-template-columns: 44px minmax(0, 1fr); padding: 11px; }
  .pulse .bottom-line { margin: 13px 15px 16px; font-size: 11px; flex-wrap: wrap; }
  .pulse .page-actions { margin-left: auto; }
  .pulse .more-button { min-height: 39px; padding: 8px 11px; font-size: 11.5px; }
  .pulse .note { margin: 11px 15px 17px; padding: 10px 11px; font-size: 11px; }
  .pulse .inline-status { margin-inline: 15px; font-size: 11.5px; }
  .pulse .pulse-footer { padding: 12px 15px; gap: 8px; font-size: 11px; }
  .pulse .pulse-footer .text-button { font-size: 11px; }
}

@media (max-width: 480px) {
  .pulse .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; min-height: 161px; padding: 8px 10px; }
  .pulse .tab { justify-content: flex-start; min-height: 44px; padding: 8px 10px; font-size: 12px; }
  .pulse .stat .stat-name { font-size: 11.5px; }
  .pulse .stats .stat-label { font-size: 10.5px; }
  .pulse .list-options .sort-control select { max-width: 215px; }
  .pulse .range-table col:nth-child(1) { width: 29% !important; }
  .pulse .range-table col:nth-child(2) { width: 24% !important; }
  .pulse .range-table col:nth-child(3) { width: 20% !important; }
  .pulse .range-table col:nth-child(4) { width: 27% !important; }
  .pulse .symbol-button { align-items: flex-start; }
  .pulse .letter { flex-basis: 21px; width: 21px; height: 24px; font-size: 9px; }
  .pulse .symbol-button strong { font-size: 12px; }
  .pulse .company-name { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse *,
  .pulse *::before,
  .pulse *::after,
  html.lgmp-embedded #detail *,
  html.lgmp-embedded #toast { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-contrast: more) {
  .pulse .stat,
  .pulse .table-wrap,
  .pulse .filters button,
  .pulse .stock-refinements select,
  .pulse .sort-control select { border-color: #dde2e7; }
  .pulse .data-table th,
  .pulse .company-name,
  .pulse .note,
  .pulse .stat-label { color: #45515e; }
}
@media (forced-colors: active) {
  .pulse .tab,
  .pulse .tab-icon,
  .pulse .stat,
  .pulse .letter,
  .pulse .table-wrap,
  .pulse .filters button,
  .pulse .more-button { background-image: none; box-shadow: none; border: 1px solid CanvasText; }
  .pulse .tab[aria-selected='true'],
  .pulse .filters button.active,
  .pulse .periods button.active { outline: 2px solid Highlight; outline-offset: -3px; }
  .pulse .stat::before { background: CanvasText; }
}
/* Coloured initials remain readable; actual image/SVG brand logos stay untouched. */
:is(#app, #modal) :is(.asset-logo, .mini-logo):not(.has-coin-logo):not(:has(img, svg)) {
  background: #edf4fb !important;
  color: #245f96 !important;
  box-shadow: none;
}
.pulse .letter:not(.sector-glyph):not(:has(img, svg)) {
  background: #edf4fb !important;
  color: #245f96 !important;
  border-color: #d5e3f0;
  box-shadow: none;
}

/* Small navigation accents only. White content panels and financial values stay unchanged. */
@media (forced-colors: none) {
  #app .asset-nav button[data-type='stocks'] { --asset-accent: #245f96; --asset-tint: #edf4fb; }
  #app .asset-nav button[data-type='etfs'] { --asset-accent: #62629b; --asset-tint: #f2f1f8; }
  #app .asset-nav button[data-type='crypto'] { --asset-accent: #8f5d2b; --asset-tint: #fbf2e7; }
  #app .asset-nav button[data-type='forex'] { --asset-accent: #25796f; --asset-tint: #eaf5f1; }
  #app .asset-nav button[data-type='commodities'] { --asset-accent: #876024; --asset-tint: #faf3e3; }
  #app .asset-nav button[data-type] { color: var(--asset-accent); }
  #app .asset-nav button[data-type] .asset-tab-icon,
  #app .asset-nav button[data-type]:is(.active, :hover, :focus-visible) .asset-tab-icon {
    color: var(--asset-accent); background: var(--asset-tint);
  }
  #app .asset-nav button[data-type]:is(.active, :hover) {
    color: var(--asset-accent); background: var(--asset-tint); border-bottom-color: var(--asset-accent);
  }
  #app .asset-nav button[data-type].active { box-shadow: inset 0 -2px 0 var(--asset-accent); }

  #app #view-nav > button { --view-accent: #245f96; --view-tint: #edf4fb; color: var(--view-accent); }
  #app #view-nav > button[data-view='chart'] { --view-accent: #25796f; --view-tint: #eaf5f1; }
  #app #view-nav > button[data-view='technicals'] { --view-accent: #62629b; --view-tint: #f2f1f8; }
  #app #view-nav > button[data-view='financials'] { --view-accent: #25796f; --view-tint: #eaf5f1; }
  #app #view-nav > button[data-view='news'] { --view-accent: #8f5d2b; --view-tint: #fbf2e7; }
  #app #view-nav > button[data-view='tools'] { --view-accent: #62629b; --view-tint: #f2f1f8; }
  #app #view-nav > button > .icon,
  #app #view-nav > button.active > .icon { color: var(--view-accent); }
  #app #view-nav > button:is(.active, :hover) {
    color: var(--view-accent); background: var(--view-tint); border-bottom-color: var(--view-accent);
  }
  #app #view-nav > button.active { box-shadow: inset 0 -2px 0 var(--view-accent); }
  #app .header .search-icon,
  #app .header-actions .icon-button,
  #app .quick-instrument-actions .icon-button,
  #app .context-actions .icon-button { color: #245f96; }

  .pulse .tab[data-tab='highs'] { --mp-tab-accent: #287861; --mp-tab-wash: #edf6f1; }
  .pulse .tab[data-tab='lows'] { --mp-tab-accent: #a44755; --mp-tab-wash: #fbf0f2; }
  .pulse .tab[data-tab='trending'] { --mp-tab-accent: #245f96; --mp-tab-wash: #edf4fb; }
  .pulse .tab[data-tab='etfs'] { --mp-tab-accent: #62629b; --mp-tab-wash: #f2f1f8; }
  .pulse .tab[data-tab='sectors'] { --mp-tab-accent: #25796f; --mp-tab-wash: #eaf5f1; }
  .pulse .tab[data-tab='insiders'] { --mp-tab-accent: #8f5d2b; --mp-tab-wash: #fbf2e7; }
  .pulse .tab[data-tab] { color: var(--mp-tab-accent); }
  .pulse .tab[data-tab] .tab-icon,
  .pulse .tab[data-tab][aria-selected='true'] .tab-icon {
    color: var(--mp-tab-accent); background: var(--mp-tab-wash); border-color: transparent;
  }
  .pulse .tab[data-tab]:is(:hover, [aria-selected='true']) {
    color: var(--mp-tab-accent); background: var(--mp-tab-wash);
  }
  .pulse .tab[data-tab][aria-selected='true'] {
    border-bottom-color: var(--mp-tab-accent); box-shadow: inset 0 -2px 0 var(--mp-tab-accent);
  }
  .pulse .letter.sector-glyph { background: var(--wash, #edf4fb); color: var(--color, #245f96); border-color: transparent; }
  .pulse .icon-btn, .pulse .search svg { color: #245f96; }
  .pulse .title-dot { color: #a85624; }
  .pulse .signal { background: #245f96; }
}
