/* REAL Stock Market Overview — isolated styles, deliberately scoped to .real-ir-stock-overview */
.real-ir-stock-overview {
  --ris-accent: #007eaf;
  --ris-accent-dark: #075985;
  --ris-text: #153653;
  --ris-muted: #6c8298;
  --ris-card-bg: #fff;
  --ris-border: #e2eaf1;
  --ris-table-head-bg: #ffc928;
  --ris-table-head-color: #172f45;
  --ris-volume: #63c77e;
  --ris-positive: #159a68;
  --ris-negative: #c53b36;
  --ris-table-row-alt: #f7fafc;
  --ris-table-line: #e6edf3;
  --ris-profile-header: #087aa7;
  --ris-profile-header-text: #fff;
  --ris-profile-button-bg: #007eaf;
  --ris-profile-button-text: #fff;
  --ris-chart-line: #0086c2;
  --ris-chart-area: #b7e1f1;
  --ris-grid: #e7eef4;
  --ris-axis: #6c8298;
  --ris-gap: 20px;
  --ris-chart-height: 270px;
  --ris-table-cell-padding: 12px;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  color: var(--ris-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
  isolation: isolate;
}
.real-ir-stock-overview *,
.real-ir-stock-overview *::before,
.real-ir-stock-overview *::after { box-sizing: border-box; }
.real-ir-stock-overview a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.real-ir-stock-overview .ris-intro { margin: 0 0 clamp(18px, 2vw, 28px); padding: 0; }
.real-ir-stock-overview .ris-eyebrow,
.real-ir-stock-overview .ris-section-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px;
  color: var(--ris-accent); font-size: 11px; font-weight: 800; line-height: 1.4;
  letter-spacing: .12em; text-transform: uppercase;
}
.real-ir-stock-overview .ris-eyebrow-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--ris-accent); box-shadow: 0 0 0 4px rgba(0, 126, 175, .12); }
.real-ir-stock-overview .ris-main-heading { margin: 0 0 8px; padding: 0; color: var(--ris-text); font-size: clamp(25px, 2.2vw, 34px); font-weight: 800; line-height: 1.16; letter-spacing: -.035em; }
.real-ir-stock-overview .ris-description { max-width: 760px; margin: 0; color: var(--ris-muted); font-size: 15px; line-height: 1.75; }
.real-ir-stock-overview .ris-top-grid {
  display: grid; grid-template-columns: var(--ris-column-track, 1.75fr minmax(270px, .9fr));
  grid-template-areas: "chart profile"; gap: var(--ris-gap, 20px); align-items: stretch; min-width: 0;
}
.real-ir-stock-overview--profile-first .ris-top-grid { grid-template-areas: "profile chart"; }
.real-ir-stock-overview .ris-top-grid--single { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
.real-ir-stock-overview .ris-top-grid--single .ris-card { grid-area: auto; }
.real-ir-stock-overview .ris-card {
  min-width: 0; width: 100%; padding: 24px; overflow: hidden;
  color: var(--ris-text); background: var(--ris-card-bg); border: 1px solid var(--ris-border);
  border-radius: 16px; box-shadow: 0 8px 24px rgba(19, 52, 80, .045);
}
.real-ir-stock-overview .ris-chart-card { grid-area: chart; display: flex; flex-direction: column; }
.real-ir-stock-overview .ris-profile-card { grid-area: profile; align-self: stretch; display: flex; flex-direction: column; padding: 0; }
.real-ir-stock-overview .ris-card-title { margin: 0; padding: 0; color: var(--ris-text); font-size: 17px; font-weight: 750; line-height: 1.35; letter-spacing: -.015em; }
.real-ir-stock-overview .ris-chart-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.real-ir-stock-overview .ris-chart-heading-main { min-width: 0; }
.real-ir-stock-overview .ris-card-overline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 5px; color: var(--ris-muted); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.real-ir-stock-overview .ris-card-overline span { color: var(--ris-accent); }
.real-ir-stock-overview .ris-chart-meta { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 3px; margin: 5px 0 0; color: var(--ris-muted); font-size: 11px; line-height: 1.5; }
.real-ir-stock-overview .ris-chart-meta a { color: var(--ris-accent); text-decoration: none; font-weight: 700; }
.real-ir-stock-overview .ris-chart-meta a:hover { color: var(--ris-accent-dark); text-decoration: underline; }
.real-ir-stock-overview .ris-updated { opacity: .9; }
.real-ir-stock-overview .ris-quote-badge { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 150px; padding: 9px 12px; border: 1px solid rgba(0, 126, 175, .12); border-radius: 13px; background: #F2F9FC; text-align: right; }
.real-ir-stock-overview .ris-quote-badge strong { color: var(--ris-text); font-size: 15px; font-weight: 800; line-height: 1.2; }
.real-ir-stock-overview .ris-quote-badge span { font-size: 11px; font-weight: 800; line-height: 1.25; }
.real-ir-stock-overview .ris-change-positive { color: var(--ris-positive); }
.real-ir-stock-overview .ris-change-negative { color: var(--ris-negative); }
.real-ir-stock-overview .ris-chart-controls { display: flex; align-items: center; justify-content: flex-start; margin: 18px 0 14px; }
.real-ir-stock-overview .ris-range-buttons { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.real-ir-stock-overview .ris-range-button {
  display: inline-flex; min-width: 36px; min-height: 34px; align-items: center; justify-content: center;
  padding: 7px 10px; border: 1px solid var(--ris-border); border-radius: 9px; background: #fff;
  color: var(--ris-muted); font: inherit; font-size: 11px; font-weight: 750; line-height: 1; cursor: pointer;
}
.real-ir-stock-overview .ris-range-button:hover { color: var(--ris-accent); border-color: var(--ris-accent); background: #F6FBFD; }
.real-ir-stock-overview .ris-range-button:disabled,
.real-ir-stock-overview .ris-range-button.is-unavailable { opacity: .42; cursor: not-allowed; background: #f6f8fa; color: var(--ris-muted); border-color: var(--ris-border); box-shadow: none; }
.real-ir-stock-overview .ris-range-button.is-active { color: #fff; background: var(--ris-accent); border-color: var(--ris-accent); box-shadow: 0 4px 10px rgba(0, 126, 175, .22); }
.real-ir-stock-overview .ris-range-button:focus-visible,
.real-ir-stock-overview .ris-profile-button:focus-visible { outline: 2px solid var(--ris-accent); outline-offset: 3px; }
.real-ir-stock-overview .ris-chart-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin: 0 0 5px; color: var(--ris-muted); font-size: 11px; }
.real-ir-stock-overview .ris-chart-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.real-ir-stock-overview .ris-legend-line { display: inline-block; width: 16px; height: 2px; border-radius: 3px; background: var(--ris-chart-line); }
.real-ir-stock-overview .ris-legend-volume { display: inline-block; width: 7px; height: 11px; border-radius: 3px; background: var(--ris-volume); }
.real-ir-stock-overview .ris-chart-plot { position: relative; min-width: 0; width: 100%; height: var(--ris-chart-height, 270px); margin-top: 3px; }
.real-ir-stock-overview .ris-chart-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.real-ir-stock-overview .ris-chart-svg text { fill: var(--ris-axis); font-family: inherit; font-size: 11px; font-weight: 500; }
.real-ir-stock-overview .ris-chart-svg .ris-svg-grid { stroke: var(--ris-grid); stroke-width: 1; }
.real-ir-stock-overview .ris-chart-svg .ris-svg-area { fill: var(--ris-chart-area); opacity: .48; }
.real-ir-stock-overview .ris-chart-svg .ris-svg-line { fill: none; stroke: var(--ris-chart-line); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.real-ir-stock-overview .ris-chart-svg .ris-svg-dot { fill: #fff; stroke: var(--ris-chart-line); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.real-ir-stock-overview .ris-chart-svg .ris-svg-volume { fill: var(--ris-volume); opacity: .95; }
.real-ir-stock-overview .ris-chart-svg .ris-svg-volume:hover { opacity: 1; }
.real-ir-stock-overview .ris-no-grid .ris-svg-grid { display: none; }
.real-ir-stock-overview .ris-hide-volume .ris-svg-volume,
.real-ir-stock-overview .ris-hide-volume .ris-volume-baseline { display: none; }
.real-ir-stock-overview .ris-chart-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; color: var(--ris-muted); background: #F7FAFC; border: 1px dashed var(--ris-border); border-radius: 12px; text-align: center; font-size: 13px; }
.real-ir-stock-overview .ris-chart-empty[hidden] { display: none; }
.real-ir-stock-overview .ris-chart-note { display: flex; align-items: flex-start; gap: 7px; margin: 10px 0 0; padding: 10px 12px; border-radius: 9px; background: #f6f9fc; color: var(--ris-muted); font-size: 11px; line-height: 1.55; }
.real-ir-stock-overview .ris-chart-note > span { flex: 0 0 auto; color: var(--ris-accent); font-size: 14px; line-height: 1.25; }
.real-ir-stock-overview .ris-profile-header { display: flex; align-items: center; gap: 12px; min-height: 55px; padding: 18px 20px; color: var(--ris-profile-header-text); background: var(--ris-profile-header); }
.real-ir-stock-overview .ris-profile-mark { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; flex: 0 0 29px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; background: rgba(255,255,255,.12); }
.real-ir-stock-overview .ris-profile-mark svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.real-ir-stock-overview .ris-profile-title { margin: 0; color: var(--ris-profile-header-text); font-size: 12px; font-weight: 850; letter-spacing: .08em; line-height: 1.35; }
.real-ir-stock-overview .ris-profile-list { display: block; flex: 1 1 auto; margin: 0; padding: 0; }
.real-ir-stock-overview .ris-profile-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 0; padding: 15px 20px; border-bottom: 1px solid var(--ris-table-line); }
.real-ir-stock-overview .ris-profile-label { flex: 1 1 42%; min-width: 0; margin: 0; color: var(--ris-muted); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.real-ir-stock-overview .ris-profile-value { flex: 1 1 58%; min-width: 0; margin: 0; color: var(--ris-text); font-size: 12px; font-weight: 750; line-height: 1.55; text-align: right; overflow-wrap: anywhere; }
.real-ir-stock-overview .ris-profile-footer { padding: 17px 20px 20px; margin-top: auto; }
.real-ir-stock-overview .ris-profile-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 42px; padding: 11px 15px; border: 1px solid var(--ris-profile-button-bg); border-radius: 10px; color: var(--ris-profile-button-text); background: var(--ris-profile-button-bg); font-size: 12px; font-weight: 750; line-height: 1.3; text-align: center; text-decoration: none; }
.real-ir-stock-overview .ris-profile-button:hover { filter: brightness(.94); color: var(--ris-profile-button-text); box-shadow: 0 5px 12px rgba(0, 126, 175, .16); }
.real-ir-stock-overview .ris-profile-button svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.real-ir-stock-overview .ris-shareholders-card { margin-top: var(--ris-gap, 20px); }
.real-ir-stock-overview .ris-shareholders-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 20px; }
.real-ir-stock-overview .ris-section-kicker { margin-bottom: 5px; color: var(--ris-accent); }
.real-ir-stock-overview .ris-shareholders-heading .ris-card-title { margin-bottom: 5px; font-size: 19px; }
.real-ir-stock-overview .ris-shareholders-subtitle { margin: 0; color: var(--ris-muted); font-size: 13px; line-height: 1.6; }
.real-ir-stock-overview .ris-ownership-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; background: #EAF5FA; color: var(--ris-accent); }
.real-ir-stock-overview .ris-ownership-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.real-ir-stock-overview .ris-shareholder-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--ris-table-line); border-radius: 11px; -webkit-overflow-scrolling: touch; }
.real-ir-stock-overview .ris-shareholder-table { width: 100%; min-width: 650px; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; color: var(--ris-text); font: inherit; font-size: 13px; line-height: 1.5; }
.real-ir-stock-overview .ris-shareholder-table th,
.real-ir-stock-overview .ris-shareholder-table td { padding: var(--ris-table-cell-padding, 12px); border: 0; border-bottom: 1px solid var(--ris-table-line); vertical-align: middle; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.real-ir-stock-overview .ris-shareholder-table th { color: var(--ris-table-head-color); background: var(--ris-table-head-bg); font-size: 12px; font-weight: 800; line-height: 1.4; }
.real-ir-stock-overview .ris-shareholder-table tbody tr:nth-child(even) td { background: var(--ris-table-row-alt); }
.real-ir-stock-overview .ris-shareholder-table tbody tr:last-child td { border-bottom: 0; }
.real-ir-stock-overview .ris-shareholder-table tbody td { color: var(--ris-text); }
.real-ir-stock-overview .ris-shareholder-table .ris-number-cell { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.real-ir-stock-overview .ris-shareholder-table .ris-total-row td { background: #FFF0B5 !important; font-weight: 800; }
.real-ir-stock-overview .ris-shareholders-note { margin: 12px 0 0; color: var(--ris-muted); font-size: 12px; }

@media (max-width: 1024px) {
  .real-ir-stock-overview--stack-1024 .ris-top-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "chart" "profile"; }
  .real-ir-stock-overview--stack-1024.real-ir-stock-overview--profile-first .ris-top-grid { grid-template-areas: "profile" "chart"; }
}
@media (max-width: 900px) {
  .real-ir-stock-overview--stack-900 .ris-top-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "chart" "profile"; }
  .real-ir-stock-overview--stack-900.real-ir-stock-overview--profile-first .ris-top-grid { grid-template-areas: "profile" "chart"; }
}
@media (max-width: 767px) {
  .real-ir-stock-overview--stack-767 .ris-top-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "chart" "profile"; }
  .real-ir-stock-overview--stack-767.real-ir-stock-overview--profile-first .ris-top-grid { grid-template-areas: "profile" "chart"; }
}
@media (max-width: 600px) {
  .real-ir-stock-overview--stack-600 .ris-top-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "chart" "profile"; }
  .real-ir-stock-overview--stack-600.real-ir-stock-overview--profile-first .ris-top-grid { grid-template-areas: "profile" "chart"; }
  .real-ir-stock-overview .ris-card { padding: 17px; border-radius: 13px; }
  .real-ir-stock-overview .ris-profile-card { padding: 0; }
  .real-ir-stock-overview .ris-chart-heading { flex-direction: column; }
  .real-ir-stock-overview .ris-quote-badge { align-items: flex-start; flex-direction: row; flex-wrap: wrap; max-width: 100%; text-align: left; }
  .real-ir-stock-overview .ris-range-buttons { gap: 5px; }
  .real-ir-stock-overview .ris-range-button { min-width: 33px; min-height: 32px; padding: 6px 8px; }
  .real-ir-stock-overview .ris-shareholders-card { padding: 17px; }
  .real-ir-stock-overview .ris-shareholders-heading { align-items: flex-start; gap: 10px; }
  .real-ir-stock-overview .ris-shareholders-heading .ris-card-title { font-size: 16px; }
  .real-ir-stock-overview .ris-shareholders-subtitle { font-size: 12px; }
  .real-ir-stock-overview .ris-ownership-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .real-ir-stock-overview .ris-chart-plot { height: min(var(--ris-chart-height, 270px), 240px); }
}
@media (prefers-reduced-motion: reduce) {
  .real-ir-stock-overview *, .real-ir-stock-overview *::before, .real-ir-stock-overview *::after { transition: none !important; scroll-behavior: auto !important; }
}
