.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.heading-overline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: var(--accent);
  text-transform: uppercase;
}
.heading-overline::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.heading-subtitle {
  margin-top: 10px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.market-select .country-marker {
  width: 19px;
  height: 19px;
  background: var(--tint);
  color: var(--accent);
  border-radius: 50%;
  font-size: 8px;
  display: grid;
  place-items: center;
}
/* ---------------------------------------------------------------------
 * Research magazine
 *
 * A quiet editorial read, not a photo wall: one lead story with room to
 * breathe, and the rest as a plain scannable list with a small thumbnail
 * each. A single accent — the lead image — carries the section; everything
 * after it is typography and hairline dividers. Keep the illustrative
 * badge in the panel heading visible at every viewport — this content must
 * never be mistaken for the real, collected news feed further down the
 * page.
 * ------------------------------------------------------------------- */
.magazine-panel {
  padding: 22px 24px 6px;
  margin-bottom: 26px;
}
.magazine-filters {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.magazine-filters button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  padding: 0;
  min-height: 24px;
}
.magazine-filters button:hover {
  color: var(--ink);
}
.magazine-filters button[aria-pressed="true"] {
  color: var(--accent);
}
.magazine-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 8px 32px;
  align-items: start;
}
.magazine-lead {
  min-width: 0;
}
.magazine-lead-trigger {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: start;
  width: 100%;
  border: 0;
  background: none;
  padding: 20px 0;
}
.magazine-lead-thumb {
  display: block;
  inline-size: 100%;
  block-size: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}
.magazine-lead-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.magazine-lead-title {
  display: block;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.magazine-lead-summary {
  display: block;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 56ch;
}
.magazine-lead-trigger:hover .magazine-lead-title {
  color: var(--accent);
}
.magazine-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.magazine-category {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.magazine-read-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--muted);
}
.magazine-read-time .icon {
  width: 11px;
  height: 11px;
}
.magazine-list {
  border-inline-start: 1px solid var(--border);
  padding-inline-start: 28px;
  margin: 0;
  list-style: none;
}
.magazine-row {
  border-bottom: 1px solid var(--border);
}
.magazine-row:last-child {
  border-bottom: 0;
}
.magazine-row-trigger {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  border: 0;
  background: none;
  text-align: start;
  padding: 14px 0;
}
.magazine-row-thumb {
  display: block;
  inline-size: 64px;
  block-size: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}
.magazine-row-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.magazine-row-title {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}
.magazine-row-trigger:hover .magazine-row-title {
  color: var(--accent);
}
.magazine-drawer-thumb {
  display: block;
  inline-size: 100%;
  block-size: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-top: 14px;
}
.magazine-drawer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 10px;
  color: var(--muted);
}
.magazine-drawer-meta .icon {
  width: 12px;
  height: 12px;
  vertical-align: -2px;
}
.magazine-image-credit {
  color: var(--muted);
}
/* A compact teaser for the company drawer and record page: two small
 * photo cards, not a full-width list. A stretched single-column row left a
 * short title beside a lot of empty trailing space; a short two-up grid
 * fills the same footprint on purpose. `auto-fit`/`minmax` collapses to one
 * column on its own in the narrow drawer, no separate breakpoint needed. */
.company-magazine {
  margin-top: 4px;
}
.company-magazine-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.company-magazine-heading h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.company-magazine-note {
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}
.company-magazine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.company-magazine-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: start;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  padding: 0;
}
.company-magazine-card:hover {
  border-color: var(--accent);
}
.company-magazine-card:hover .company-magazine-card-title {
  color: var(--accent);
}
.company-magazine-card-thumb {
  display: block;
  inline-size: 100%;
  block-size: 92px;
  object-fit: cover;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}
.company-magazine-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 12px;
}
.company-magazine-card-title {
  display: block;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--ink);
}
.company-magazine-more {
  font-size: 10px;
  margin-top: 10px;
  min-height: 30px;
}
/* The news-page explorer grid: several medium photo cards below the hero,
 * for browsing the rest of the illustrative set at a glance. */
.magazine-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.magazine-explore-card-trigger {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: start;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  padding: 0;
}
.magazine-explore-card-trigger:hover {
  border-color: var(--accent);
}
.magazine-explore-card-trigger:hover .magazine-explore-card-title {
  color: var(--accent);
}
.magazine-explore-card-thumb {
  display: block;
  inline-size: 100%;
  block-size: 130px;
  object-fit: cover;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}
.magazine-explore-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px;
  flex: 1;
}
.magazine-explore-card-title {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.55;
  color: var(--ink);
}
@media (max-width: 1279px) {
  .magazine-lead-thumb {
    block-size: 190px;
  }
}
@media (max-width: 1024px) {
  .magazine-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .magazine-list {
    border-inline-start: 0;
    padding-inline-start: 0;
    border-top: 1px solid var(--border);
  }
}
@media (max-width: 767px) {
  .magazine-panel {
    padding-inline: 16px;
  }
  .magazine-lead-thumb {
    block-size: 180px;
  }
  .magazine-row-trigger {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .magazine-row-thumb {
    inline-size: 56px;
    block-size: 56px;
  }
}

.top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(285px, 1fr);
  gap: 22px;
  margin-bottom: 26px;
}
.market-panel {
  padding: 24px 25px 0;
  position: relative;
  background: linear-gradient(135deg, var(--surface) 40%, var(--surface-soft));
}
.market-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.market-monogram {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--surface);
}
.market-name h2 {
  font-size: 14px;
  letter-spacing: 0;
}
.market-name small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.market-reading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.market-value {
  font-size: 45px;
  letter-spacing: -1.8px;
  font-weight: 550;
  line-height: 1.2;
}
.market-movement {
  font-size: 12px;
  font-weight: 650;
}
.market-caption {
  margin-top: 5px;
  font-size: 10px;
  color: var(--muted);
}
.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 21px;
}
.compare-button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 10px;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.compare-button[aria-pressed="true"] {
  color: var(--accent);
}
.compare-button .icon {
  width: 14px;
  height: 14px;
}
.chart-wrap {
  height: 225px;
  margin: 5px -12px 0;
  direction: ltr;
}
.chart-canvas {
  height: 225px;
  min-width: 0;
}
.chart-data {
  height: 225px;
  overflow: auto;
  margin-top: 5px;
}
.chart-data table {
  width: 100%;
  font-size: 11px;
}
.chart-data td,
.chart-data th {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  text-align: end;
}
.chart-data th:first-child,
.chart-data td:first-child {
  text-align: start;
}
.chart-data th {
  position: sticky;
  top: 0;
  background: var(--surface);
  font-weight: 650;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 9px;
  color: var(--muted);
  min-height: 23px;
  margin-top: 0;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.line-key {
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--accent);
}
.line-key.comparison {
  background: none;
  border-top: 2px dashed var(--compare);
}
.chart-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-top: 0;
}
.chart-bottom .btn-text {
  font-size: 9px;
  min-height: 28px;
  color: var(--muted);
}
.market-summary {
  margin: 15px -25px 0;
  padding: 18px 25px;
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.25fr;
  gap: 15px;
}
.summary-item + .summary-item {
  border-inline-start: 1px solid var(--border);
  padding-inline-start: 20px;
}
.summary-label {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}
.summary-value {
  font-size: 14px;
  font-weight: 700;
}
.summary-value small {
  font-size: 10px;
  font-weight: 500;
}
.breadth-bar {
  height: 3px;
  display: flex;
  gap: 2px;
  margin-top: 7px;
  max-width: 100px;
  border-radius: 3px;
  overflow: hidden;
}
.breadth-bar span:first-child {
  background: var(--positive);
  flex: var(--advancing, 1);
}
.breadth-bar span:last-child {
  background: var(--negative);
  flex: var(--declining, 1);
}
.research-panel {
  padding: 24px 22px 0;
  display: flex;
  flex-direction: column;
}
.research-panel .panel-heading {
  align-items: flex-start;
}
.research-panel h2 {
  font-size: 16px;
}
.research-filters {
  display: flex;
  gap: 17px;
  border-bottom: 1px solid var(--border);
  margin-top: 16px;
}
.research-filters button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 10px;
  padding: 11px 0;
  color: var(--muted);
  font-weight: 600;
  min-height: 39px;
}
.research-filters button[aria-pressed="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.research-items {
  padding-top: 5px;
}
.research-item {
  position: relative;
  padding: 17px 0 16px 25px;
  border-bottom: 1px solid var(--border);
}
.research-item:last-child {
  border-bottom: 0;
}
.research-item::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 24px;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: var(--surface);
}
.research-item::after {
  content: "";
  position: absolute;
  inset-inline-start: 5px;
  top: 35px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.research-item:last-child::after {
  display: none;
}
.research-item.is-read::before {
  background: var(--tint);
  border-color: var(--muted);
}
.event-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 6px;
}
.event-type {
  color: var(--accent);
  font-weight: 650;
}
.research-item h3 {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.65;
  margin-bottom: 5px;
}
.event-company {
  color: var(--muted);
  font-size: 10px;
}
.event-action {
  min-height: 28px;
  font-size: 10px;
  margin-top: 3px;
}
.research-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 12px 0 16px;
  border-top: 1px solid var(--border);
  gap: 8px;
}
.research-footer small {
  font-size: 9px;
  color: var(--muted);
}
.research-footer .btn-text {
  font-size: 10px;
  min-height: 28px;
}
.watchlist-panel {
  margin-bottom: 24px;
}
.watchlist-heading {
  padding: 22px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.watchlist-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.watchlist-title h2 {
  font-size: 17px;
}
.watchlist-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.list-select {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  max-width: 150px;
  min-height: 36px;
  padding-inline-end: 5px;
}
.watchlist-search {
  width: 170px;
}
.watchlist-search input {
  font-size: 10px;
  min-height: 36px;
  padding-block: 8px;
}
.watchlist-search > .icon {
  top: 10px;
}
.table-scroll {
  overflow: auto;
}
.watchlist-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
.watchlist-table th {
  font-weight: 500;
  font-size: 9px;
  color: var(--muted);
  background: var(--surface-soft);
  height: 37px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0 14px;
  text-align: end;
}
.watchlist-table th:first-child {
  padding-inline-start: 24px;
  text-align: start;
}
.watchlist-table th:last-child {
  padding-inline-end: 24px;
}
.sort-button {
  background: none;
  border: 0;
  padding: 8px 0;
  font-size: inherit;
  color: inherit;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.sort-button .icon {
  width: 11px;
  height: 11px;
}
.watchlist-table td {
  height: var(--row-height);
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  text-align: end;
  font-size: 13px;
  font-weight: 600;
}
.watchlist-table tr:last-child td {
  border-bottom: 0;
}
.watchlist-table td:first-child {
  padding-inline-start: 24px;
  text-align: start;
}
.watchlist-table td:last-child {
  padding-inline-end: 24px;
}
.watchlist-table tbody tr:hover {
  background: var(--surface-soft);
}
.company-button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: none;
  padding: 0;
  min-height: 44px;
  text-align: start;
  width: 100%;
}
.company-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
}
.company-button strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.company-button small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
  font-weight: 450;
}
.stock-change {
  font-size: 10px !important;
}
.sparkline {
  width: 80px;
  height: 27px;
  direction: ltr;
}
.filing-date {
  font-size: 10px !important;
  color: var(--muted);
  font-weight: 500 !important;
}
.coverage-chip {
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--surface-soft);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.watchlist-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  font-size: 9px;
  color: var(--muted);
}
.watchlist-footer .provenance {
  font-size: 9px;
}
.watchlist-mobile {
  display: none;
}
.mobile-details [data-remove-company] {
  min-width: 44px;
  padding-inline: 12px;
  margin-inline-start: 8px;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.context-panel {
  padding: 22px 24px;
}
.context-panel .panel-heading {
  margin-bottom: 18px;
}
.context-panel h2 {
  font-size: 15px;
}
.calendar-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
}
.calendar-item + .calendar-item {
  border-top: 1px solid var(--border);
}
.date-tile {
  width: 43px;
  min-height: 49px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
}
.date-tile span {
  font-size: 8px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.date-tile strong {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.4;
}
.calendar-copy {
  flex: 1;
}
.calendar-copy strong {
  display: block;
  font-size: 11px;
  font-weight: 650;
}
.calendar-copy p {
  font-size: 10px;
  margin-top: 4px;
}
.calendar-item > .icon {
  color: var(--muted);
  width: 14px;
  height: 14px;
}
.recent-empty {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 16px 0;
}
.recent-illustration {
  width: 60px;
  height: 68px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  flex: none;
  transform: rotate(-6deg);
  color: var(--accent);
}
.recent-illustration .icon {
  width: 26px;
  height: 26px;
}
.recent-empty h3 {
  font-size: 12px;
  margin-bottom: 5px;
}
.recent-empty p {
  font-size: 11px;
  max-width: 245px;
  line-height: 1.8;
}
.recent-empty .btn-text {
  font-size: 10px;
  min-height: 30px;
}
.recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: none;
  width: 100%;
  text-align: start;
  font-size: 12px;
  min-height: 52px;
}
.recent-item .icon:last-child {
  margin-inline-start: auto;
  color: var(--muted);
  width: 14px;
}
.recent-item:hover {
  color: var(--accent);
}
.intro-reveal {
  animation: region-in var(--dur-slow) var(--ease) both;
}
.top-grid.intro-reveal {
  animation-delay: 40ms;
}
.watchlist-panel.intro-reveal {
  animation-delay: 80ms;
}
.apexcharts-tooltip {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--ink) !important;
  box-shadow: var(--shadow) !important;
}
.apexcharts-tooltip-title {
  background: var(--surface-soft) !important;
  border-color: var(--border) !important;
}
.apexcharts-text {
  fill: var(--muted);
}
.apexcharts-canvas {
  direction: ltr !important;
}
@keyframes region-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Keep the first watchlist rows in reach on a laptop-sized research desk. */
@media (min-width: 1200px) and (max-width: 1599px) {
  .market-reading {
    margin-top: 16px;
  }
  .chart-toolbar {
    margin-top: 12px;
  }
  .chart-wrap,
  .chart-canvas,
  .chart-data {
    height: 190px;
  }
  .market-summary {
    padding-block: 12px;
    margin-top: 10px;
  }
  .research-item {
    padding-block: 12px;
  }
  .research-filters {
    margin-top: 12px;
  }
}
@media (max-width: 1279px) {
  .command-bar .status-line {
    display: none;
  }
}
@media (min-width: 1600px) {
  .chart-wrap,
  .chart-canvas,
  .chart-data {
    height: 265px;
  }
  .research-item {
    padding-block: 21px;
  }
  .market-reading {
    margin-top: 30px;
  }
}
@media (max-width: 1199px) {
  .top-grid {
    grid-template-columns: 1fr;
  }
  .research-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .research-item {
    border-bottom: 0;
  }
  .research-footer {
    margin-top: 10px;
  }
  .research-item::after {
    display: none;
  }
  .research-item h3 {
    font-size: 13px;
  }
  .watchlist-heading {
    flex-wrap: wrap;
  }
  .market-summary {
    padding-block: 20px;
  }
  .chart-wrap,
  .chart-canvas,
  .chart-data {
    height: 250px;
  }
  .page-heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 28px;
  }
  .heading-actions {
    margin-top: 18px;
  }
  .watchlist-controls {
    margin-inline-start: auto;
  }
  .bottom-grid {
    gap: 18px;
  }
}
@media (max-width: 767px) {
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  .heading-overline {
    font-size: 9px;
    margin-bottom: 9px;
  }
  h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .heading-subtitle {
    font-size: 10px;
    flex-wrap: wrap;
  }
  .heading-actions {
    margin-top: 17px;
    justify-content: space-between;
  }
  .heading-actions .btn-osool {
    font-size: 11px;
    min-height: 40px;
  }
  .top-grid {
    gap: 18px;
    margin-bottom: 18px;
  }
  .market-panel {
    padding: 20px 18px 0;
  }
  .market-value {
    font-size: 37px;
    letter-spacing: -1.4px;
  }
  .market-reading {
    gap: 9px;
    margin-top: 23px;
  }
  .market-movement {
    font-size: 11px;
  }
  .market-name small {
    font-size: 8px;
  }
  .market-caption {
    font-size: 9px;
  }
  .chart-toolbar {
    gap: 7px;
    margin-top: 18px;
  }
  .compare-button {
    font-size: 9px;
  }
  .segmented {
    gap: 1px;
  }
  .segmented button {
    padding-inline: 8px;
    min-width: 32px;
  }
  .chart-wrap,
  .chart-canvas,
  .chart-data {
    height: 210px;
  }
  .market-summary {
    margin-inline: -18px;
    padding: 16px 18px;
    gap: 8px;
    grid-template-columns: 0.9fr 1fr 1.15fr;
  }
  .summary-item + .summary-item {
    padding-inline-start: 10px;
  }
  .summary-label {
    font-size: 8px;
  }
  .summary-value {
    font-size: 11px;
  }
  .summary-value small {
    font-size: 8px;
  }
  .chart-legend {
    font-size: 8px;
    gap: 8px;
  }
  .research-panel {
    padding: 20px 20px 0;
  }
  .research-items {
    display: block;
  }
  .research-item {
    padding: 17px 0 14px 25px;
    border-bottom: 1px solid var(--border);
  }
  .research-item::after {
    display: block;
  }
  .research-item h3 {
    font-size: 13px;
  }
  .event-meta,
  .event-company {
    font-size: 10px;
  }
  .event-action {
    min-height: 35px;
    font-size: 11px;
  }
  .research-filters button {
    font-size: 11px;
    min-height: 44px;
  }
  .watchlist-heading {
    padding: 20px 18px 14px;
    gap: 10px;
  }
  .watchlist-title {
    width: 100%;
    justify-content: space-between;
  }
  .watchlist-title h2 {
    font-size: 16px;
  }
  .watchlist-controls {
    width: 100%;
    gap: 8px;
  }
  .watchlist-search {
    flex: 1;
    width: auto;
  }
  .watchlist-search input {
    font-size: 12px;
    min-height: 42px;
  }
  .watchlist-search > .icon {
    top: 13px;
  }
  .table-scroll {
    display: none;
  }
  .watchlist-mobile {
    display: block;
    padding-inline: 18px;
  }
  .mobile-stock {
    border-top: 1px solid var(--border);
  }
  .mobile-stock summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 76px;
    cursor: pointer;
  }
  .mobile-stock summary::-webkit-details-marker {
    display: none;
  }
  .mobile-company {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mobile-company strong {
    font-size: 12px;
    display: block;
  }
  .mobile-company small {
    font-size: 10px;
    color: var(--muted);
  }
  .mobile-price {
    text-align: end;
    font-size: 12px;
    flex: none;
  }
  .mobile-price .stock-change {
    display: block;
    margin-top: 4px;
  }
  .mobile-details {
    padding: 0 0 16px;
    font-size: 12px;
  }
  .mobile-details .detail-list {
    margin: 0 0 12px;
  }
  .mobile-details .btn-osool {
    min-height: 44px;
    font-size: 11px;
  }
  .watchlist-footer {
    padding: 12px 18px;
    flex-wrap: wrap;
    font-size: 9px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .context-panel {
    padding: 20px;
  }
  .calendar-copy strong {
    font-size: 12px;
  }
  .calendar-copy p {
    font-size: 11px;
  }
  .context-panel h2 {
    font-size: 16px;
  }
  .recent-empty p {
    font-size: 12px;
  }
  .chart-bottom {
    font-size: 8px;
  }
  .chart-bottom .btn-text {
    font-size: 9px;
    min-height: 40px;
  }
}

/* ---------------------------------------------------------------------
 * First-run setup prompt (§ home)
 * A single quiet line above the desk. It never blocks the page and it
 * never repeats once dismissed, so it is styled as chrome, not a card.
 * ------------------------------------------------------------------- */
.setup-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--tint);
}
.setup-prompt p {
  font-size: 11px;
  color: var(--ink);
  margin: 0;
}
.setup-prompt-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.setup-prompt .btn-osool {
  min-height: 36px;
  padding: 6px 13px;
}

/* ---------------------------------------------------------------------
 * Cohort movers
 * Two ranked lists over the covered cohort. Direction is carried by the
 * arrow and the sign, never by colour alone.
 * ------------------------------------------------------------------- */
.movers-panel {
  padding: 22px 24px 8px;
  margin-bottom: 24px;
}
.movers-panel h2 {
  font-size: 15px;
}
.movers-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 34px;
  margin-top: 8px;
}
.movers-column + .movers-column {
  border-inline-start: 1px solid var(--border);
  padding-inline-start: 34px;
}
.movers-heading {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 0 6px;
}
.movers-table {
  width: 100%;
  border-collapse: collapse;
}
.movers-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  font-size: 12px;
}
.movers-table tr:last-child td {
  border-bottom: 0;
}
.movers-table .company-button small {
  display: block;
}
.movers-table .num {
  text-align: end;
  white-space: nowrap;
}
.movers-spark {
  width: 74px;
}
.movers-spark svg {
  display: block;
  margin-inline-start: auto;
}
.movers-empty {
  padding: 18px 0 22px;
  color: var(--muted);
}
.movers-empty p {
  font-size: 12px;
  margin-bottom: 2px;
}
.movers-empty small {
  font-size: 10px;
}

/* ---------------------------------------------------------------------
 * Market disclosures
 * The one measured region on this page. Titles keep the language the
 * issuer filed them in, so a row can be RTL inside an LTR page.
 * ------------------------------------------------------------------- */
.disclosures-panel {
  padding: 22px 24px 0;
  margin-bottom: 24px;
}
.disclosures-panel h2 {
  font-size: 15px;
}
.disclosure-items {
  padding-top: 4px;
}
.disclosure-items .skeleton {
  margin: 18px 0;
}
.disclosure-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.disclosure-row:last-child {
  border-bottom: 0;
}
.disclosure-time {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted);
  font-size: 10px;
  padding-top: 2px;
}
.disclosure-time strong {
  font-size: 12px;
  color: var(--ink);
  font-weight: 650;
}
.disclosure-issuer {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
.disclosure-body h3 {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.7;
}
.disclosure-body h3[dir="rtl"] {
  font-family: var(--font-ar);
}
.disclosure-body h3[dir="ltr"] {
  font-family: var(--font);
}
.disclosure-hijri {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.disclosure-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.disclosure-actions .btn-text {
  font-size: 10px;
  min-height: 36px;
}
.pill-quiet {
  background: var(--surface-soft);
  color: var(--muted);
  border: 1px solid var(--border);
}
.disclosures-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding: 12px 0 14px;
  font-size: 9px;
  color: var(--muted);
}
.disclosures-footer .btn-text {
  font-size: 10px;
  min-height: 30px;
}

@media (max-width: 899px) {
  .movers-split {
    grid-template-columns: 1fr;
  }
  .movers-column + .movers-column {
    border-inline-start: 0;
    padding-inline-start: 0;
    border-top: 1px solid var(--border);
    margin-top: 6px;
  }
}
@media (max-width: 767px) {
  .disclosure-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .disclosure-time {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }
  .movers-panel,
  .disclosures-panel {
    padding-inline: 16px;
  }
  .setup-prompt {
    align-items: flex-start;
  }
}

/* ---------------------------------------------------------------------
 * Market news
 *
 * A reading surface for the full snapshot on news.html (the homepage no
 * longer carries its own digest of this feed — the hero magazine above
 * covers that role with fabricated illustrative stories, kept separate).
 * Two rules keep a mixed Arabic/English feed legible: every row aligns to
 * the page's start edge, and a row without a thumbnail simply gives its
 * text the full width.
 * ------------------------------------------------------------------- */
.news-items {
  padding-top: 6px;
}
.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.news-item.has-thumb {
  grid-template-columns: 112px minmax(0, 1fr);
}
.news-item:first-child {
  padding-top: 8px;
}
.news-item:last-child {
  border-bottom: 0;
}
.news-item.is-lead.has-thumb {
  grid-template-columns: 216px minmax(0, 1fr);
}
.news-thumb {
  display: block;
  inline-size: 100%;
  block-size: 66px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-soft);
}
.news-item.is-lead .news-thumb {
  block-size: 124px;
}
.news-body {
  min-width: 0;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}
.news-publisher {
  font-weight: 700;
  color: var(--ink);
}
.news-language {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  font-family: var(--font);
}
/* The heading block stays in the page's direction so the column has one
 * edge; `bdi` inside it carries the headline's own script. */
.news-title {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.7;
  text-align: start;
}
.news-item.is-lead .news-title {
  font-size: 15px;
  line-height: 1.6;
}
.news-title a {
  color: var(--ink);
}
.news-title a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-title-text:lang(ar) {
  font-family: var(--font-ar);
}
.news-title-text:lang(en) {
  font-family: var(--font);
}
.news-summary {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 68ch;
  text-align: start;
}
.news-summary bdi:lang(ar) {
  font-family: var(--font-ar);
}
.news-mentions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 10px;
  color: var(--muted);
}
.news-mentions .pill {
  font-size: 10px;
}
.news-mentions a.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.news-more-symbols {
  font-weight: 700;
}
.news-read {
  font-size: 10px;
  min-height: 32px;
  margin-top: 4px;
  justify-content: flex-start;
}
@media (max-width: 767px) {
  .news-item.is-lead.has-thumb,
  .news-item.has-thumb {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }
  .news-item.is-lead.has-thumb {
    grid-template-columns: 1fr;
  }
  .news-item.is-lead .news-thumb {
    block-size: 150px;
  }
}
