@import url("typography.css");
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
html:not([data-app-ready]) [data-needs-app],
#startup-panel [hidden] {
  display: none;
}
:root {
  color-scheme: light;
  --bg: #f7f8f8;
  --panel: #ffffff;
  --card: #f3f6f4;
  --selected: #eaf2ed;
  --line: #d7dedd;
  --muted: #4d605a;
  --dim: #55655f;
  --ink: #17241f;
  --mint: #00664e;
  --up: #12653f;
  --down: #ab3347;
  --lime: #c5f65c;
  --lime-ink: #213818;
  --mono: "IBM Plex Mono", Consolas, monospace;
  /* Roles documented in design/BRAND-KIT.md. Lime never carries text or forms
     the only boundary on white (about 1.3:1); --control-edge is the 3:1 edge. */
  --focus-ring: var(--mint);
  --control-edge: #7f938a;
  --rule: var(--line);
  --brief-surface: #f3f8f5;
  --brief-edge: #25644c;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --radius-s: 6px;
  --radius-m: .75rem;
  --radius-l: 1rem;
  --touch: 44px;
  font:
    16px "DM Sans",
    Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
  border: 0;
  color: inherit;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}
button:hover,
a:hover {
  color: var(--mint);
}
header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.nav-shell,
main,
footer {
  width: min(1490px, calc(100% - 7vw));
  margin: auto;
}
.nav-shell {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3.8vw, 4rem);
  min-height: 72px;
}
.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  font-weight: 780;
  letter-spacing: -1.3px;
  font-size: 1.48rem;
}
.brand img {
  width: 31px;
  margin-right: 9px;
}
.brand span {
  color: var(--mint);
}
nav {
  display: flex;
  align-self: stretch;
  gap: clamp(0.85rem, 2.1vw, 2rem);
}
nav a {
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  font-size: 0.91rem;
  color: var(--muted);
  font-weight: 550;
  padding-top: 2px;
}
nav a.active {
  color: var(--mint);
  border-color: var(--mint);
  font-weight: 750;
}
@media (min-width: 761px) {
  .nav-shell { flex-wrap: wrap; row-gap: .25rem; }
  #navigation { align-items: center; flex-wrap: wrap; max-width: 100%; min-width: 0; gap: clamp(.1rem, .65vw, .7rem); }
  #navigation a { padding: .48rem .8rem; border: 0; border-radius: 2rem; }
  #navigation a.active { background: var(--selected); color: var(--mint); }
  #navigation a:not(.active):hover { background: var(--card); }
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 24px;
  padding: 8px 10px;
  font-size: 0.88rem;
  min-width: 174px;
}
kbd {
  font: 12px var(--mono);
  color: var(--muted);
  background: #e9eeeb;
  border: 1px solid #ced9d3;
  border-radius: 3px;
  padding: 0 5px;
  margin-left: auto;
}
.icon {
  width: 17px;
  height: 17px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
main {
  min-height: 73vh;
  padding: 34px 0 40px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.16;
  letter-spacing: -0.052em;
  font-weight: 760;
}
h2 {
  font-size: 1.19rem;
  line-height: 1.3;
  letter-spacing: -0.035em;
  font-weight: 600;
}
h3 {
  font-size: 1rem;
}
.heading,
.row,
.spread,
.panel-title,
.dialog-title,
.page-actions,
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.spread,
.heading,
.panel-title,
.dialog-title {
  justify-content: space-between;
}
.heading {
  margin-bottom: 23px;
  align-items: flex-end;
}
.sub {
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.5;
}
.heading .sub {
  margin-top: 8px;
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.square {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #678879;
  display: inline-block;
}
.divider {
  width: 1px;
  height: 13px;
  display: inline-block;
  background: #a6b6ad;
}
.ui-btn,
.pill,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #7f938a;
  background: #ffffff;
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.3;
  font-weight: 550;
}
.ui-btn:hover,
.icon-btn:hover {
  border-color: #467660;
}
.primary {
  background: var(--lime);
  border-color: #a7d84a;
  color: var(--lime-ink);
  border-radius: 2rem;
  font-weight: 700;
}
.primary:hover {
  color: var(--lime-ink);
  background: #b5eb46;
}
.icon-btn {
  width: 31px;
  height: 31px;
  padding: 5px;
}
.overview-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 17px;
}
.bench {
  position: relative;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(125deg, #f3f6f4, #ffffff);
  padding: 16px 17px 15px;
  min-height: 130px;
  color: var(--ink);
}
.bench.selected {
  border-color: #99b75f;
  background: linear-gradient(120deg, #e8f7c5, #f6fbea);
}
.bench:focus-visible {
  z-index: 1;
}
.bench:hover {
  border-color: #467660;
  color: var(--ink);
}
.bench-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.bench-name {
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.025em;
}
.ticker,
.date,
.mono,
.price,
.num,
.change,
.periods button,
.chart-axis,
.label-mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.ticker,
.tag {
  font-size: 0.75rem;
  color: var(--muted);
  border-radius: 4px;
  padding: 2px 5px;
  background: #e9eeeb;
  border: 1px solid #ced9d3;
}
.bench .price {
  font-size: clamp(1.4rem, 2.15vw, 2rem);
  margin: 12px 0 7px;
  line-height: 1;
  letter-spacing: -0.07em;
}
.change {
  font-size: 0.79rem;
}
.pos {
  color: var(--up);
}
.neg {
  color: var(--down);
}
.spark {
  position: absolute;
  bottom: 16px;
  right: 12px;
  width: 31%;
  height: 34px;
  pointer-events: none;
}
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.94fr) minmax(285px, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
  overflow: hidden;
}
.panel-title {
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
  min-height: 57px;
}
.panel-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-heading > .icon {
  color: var(--mint);
  width: 18px;
  height: 18px;
}
.panel-body {
  padding: 18px;
}
.chart-info {
  padding: 20px 20px 4px;
}
.asset-title {
  font-weight: 550;
  letter-spacing: -0.025em;
}
.quote-big {
  font: 740 clamp(1.6rem, 2.5vw, 2.2rem) "DM Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.05em;
}
.chart-stat {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.chart-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 12px 20px 0;
}
.periods,
.seg {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  background: #ffffff;
  gap: 2px;
}
.periods button,
.seg button {
  font-size: 0.77rem;
  padding: 4px 8px;
  border-radius: 3px;
  color: var(--muted);
  white-space: nowrap;
}
.seg button {
  font-family: inherit;
  font-size: 0.84rem;
}
.periods button.on,
.seg button.on {
  background: #e0f2e8;
  color: var(--mint);
}
.chart-host {
  position: relative;
  padding: 0 13px 5px;
}
.chart-scrub {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.25rem 0.5rem 0.65rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.chart-scrub input {
  flex: 1;
  min-width: 64px;
  padding: 0;
  accent-color: var(--mint);
}
#dialog-error:not(:empty) {
  margin-top: 0.8rem;
  color: var(--ink);
}
.chart-svg {
  width: 100%;
  height: 212px;
  display: block;
  touch-action: pan-y;
}
.chart-axis {
  fill: #53655e;
  font-size: 11px;
}
.chart-tip {
  position: absolute;
  top: 10px;
  pointer-events: none;
  background: #e9eeeb;
  border: 1px solid #7f938a;
  font: 0.75rem var(--mono);
  padding: 6px 9px;
  border-radius: 4px;
  max-width: 90%;
}
.chart-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--muted);
}
.legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.swatch {
  width: 14px;
  height: 3px;
  display: inline-block;
  background: var(--mint);
  border-radius: 1px;
}
.swatch.alt {
  background: #5b4ba3;
}
.compare-select,
select {
  appearance: none;
  background: #f3f6f4
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2353655e' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E")
    no-repeat right 9px center;
  padding: 7px 28px 7px 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.83rem;
  max-width: 100%;
}
.plain {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 4px;
}
.text-link {
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 550;
}
.watch-body {
  padding: 0 18px;
}
.watch-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 51px;
  padding: 8px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.watch-row:last-child {
  border: 0;
}
.stock-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--tile, #e8f0ec);
  color: var(--tint, #284c3e);
  border: 1px solid #b3c9be;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  flex: none;
}
.stock-info,
.quote-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.stock-info strong {
  font-size: 0.89rem;
}
.stock-info small {
  color: var(--muted);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quote-info {
  margin-left: auto;
  text-align: right;
}
.quote-info .price {
  font-size: 0.87rem;
}
.quote-info .change {
  font-size: 0.73rem;
}
.watch-foot {
  padding: 10px 18px;
  border-top: 1px solid var(--line);
}
.watch-foot .text-link {
  display: flex;
  align-items: center;
  gap: 6px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.89rem;
}
th,
td {
  text-align: left;
  padding: 11px 20px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
th {
  background: #ffffff;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.77rem;
}
td.r,
th.r {
  text-align: right;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #f3f6f4;
}
.symbol-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  color: var(--ink);
}
.symbol-link:hover {
  text-decoration: underline;
}
.symbol-link .stock-icon {
  width: 27px;
  height: 27px;
  font-size: 0.73rem;
}
td.num {
  font-size: 0.84rem;
}
.company {
  color: #465b53;
}
.empty {
  padding: 26px 20px;
  color: var(--muted);
  line-height: 1.6;
}
.toolbar {
  padding: 14px 18px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.toolbar .end {
  margin-left: auto;
}
.heading > div:first-child {
  min-width: 0;
  max-width: 100%;
}
.heading h1 {
  overflow-wrap: anywhere;
}
.toolbar label:has(#watch-list) {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-width: 0;
  max-width: 100%;
  overflow: clip;
}
#watch-list {
  min-width: 0;
  max-width: 100%;
}
#watch-list:focus-visible {
  outline-offset: -2px;
}
input {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #7f938a;
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 0.9rem;
  min-width: 0;
}
.tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tabs a,
.tabs button {
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 2rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
}
.tabs .active {
  color: var(--lime-ink);
  border-color: #a7d84a;
  background: var(--lime);
}
.stack {
  display: grid;
  gap: 16px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat {
  padding: 18px;
}
.stat .quote-big {
  display: block;
  margin-top: 8px;
}
.provider {
  padding: 12px;
  min-height: 240px;
}
.provider a {
  color: var(--mint);
  text-decoration: underline;
}
.provider:has(.tradingview-widget-container[hidden]) { min-height: auto; }
.archive-quote { margin-top:.6rem; padding:.6rem .8rem; border-radius:.8rem; background:#f0ecf7; }
.archive-quote strong { display:block; margin-top:.3rem; font-size:1.25rem; font-variant-numeric:tabular-nums; }
.archive-quote[open] { padding:clamp(.85rem,2vw,1.35rem); border:1px solid #d8cdea; background:linear-gradient(110deg,#f0e8ff,#fbf9ff); }
.archive-quote[open] strong { font-size:clamp(1.65rem,4vw,2.75rem); letter-spacing:-.045em; line-height:1.2; }
.archive-quote summary { cursor:pointer; font-weight:650; }
.archive-quote time { white-space:nowrap; }
#filing-briefs { margin-block:.8rem; }
#filing-briefs h2 { max-width:45ch; text-wrap:balance; }
#filing-briefs label { display:grid; gap:.3rem; max-width:30rem; font-weight:650; }
#filing-briefs input { width:100%; }
.following-filters { display:flex; align-items:end; flex-wrap:wrap; gap:.65rem; margin-bottom:1.1rem; }
.following-filters label { min-width:0; }
.following-filters select { max-width:100%; }
.following-filters > label select,.following-filters > label input { width:100%; min-width:0; box-sizing:border-box; }
.following-period { font-weight:650; margin:.5rem 0; }
.following-settings { margin:.4rem 0; }
.following-stories > li:first-child { background: var(--card); border:1px solid var(--line); border-radius:.8rem; padding:1rem; }
.following-stories > li:first-child a { display:block; margin-top:.3rem; font-size:clamp(1.08rem,2vw,1.4rem); line-height:1.25; }
#filing-briefs .following-actions { justify-content:flex-start; align-items:center; }
#filing-briefs details > summary { cursor:pointer; padding:.4rem 0; color:var(--mint); }
@media(max-width:540px) {
  .following-filters { display:grid; grid-template-columns:minmax(0,1fr); }
  .following-filters button { justify-self:start; }
}
.filing-brief-list,.filing-matches { list-style:none; padding:0; margin:.6rem 0 1rem; }
.filing-brief-list li,.filing-matches li { padding:.6rem 0; border-bottom:1px solid var(--line); }
.filing-brief-list small { display:block; color:var(--muted); margin-bottom:.2rem; }
.filing-byline { line-height:1.7; font-variant-numeric:tabular-nums; }
.filing-form { display:inline-block; padding:0 .4em; border-radius:.35em; background:#eee8fa; color:#44365e; font-weight:650; }
.following-coverage { margin:.2rem 0 .65rem; }
.peer-controls { margin:.85rem 0; }
.fundamental-summary { background: var(--card); border:1px solid var(--line); border-radius:1rem; padding:clamp(.8rem,2vw,1.35rem); }
.fundamental-summary h2,.fundamental-summary p { margin:0 0 .35rem; }
.fundamental-summary h2 { font-size:clamp(1.4rem,3vw,2.1rem); letter-spacing:-.035em; }
#fundamental-screen .page-actions { justify-content:flex-start; margin:.55rem 0; }
.fundamental-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap:.7rem; padding:.75rem 0; align-items:start; }
.fundamental-filters label { display:grid; gap:.25rem; min-width:0; }
.fundamental-filters :is(input,select) { min-width:0; max-width:100%; }
.fundamental-filters fieldset { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border:1px solid var(--line); border-radius:.65rem; min-width:0; padding:.45rem; gap:.4rem; }
.fundamental-filters .fundamental-columns { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:.65rem; }
.fundamental-columns label,.fundamental-company { display:flex; align-items:center; gap:.45rem; }
.fundamental-filters button { justify-self:start; }
.fundamental-company small,#fundamental-screen td a { display:block; font: .83rem/1.4 "DM Sans",sans-serif; white-space:normal; }
.fundamental-company { text-align:left; }
.fundamental-choices p { margin:.3rem 0; }
.fundamental-summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.fundamental-summary p { margin-bottom:0; }
.fundamental-coverage { min-width:min(12rem,100%); font-size:.82rem; }
.fundamental-coverage strong { font-size:1.1rem; font-variant-numeric:tabular-nums; }
.fundamental-coverage meter { display:block; width:100%; height:.7rem; margin-top:.2rem; accent-color:#317a42; }
.fundamental-toolbar { display:flex; gap:.6rem; flex-wrap:wrap; margin:.7rem 0; }
#fundamental-screen .fundamental-toolbar details { margin:0; min-width:0; border:1px solid #d9d2e4; border-radius:.65rem; background:#faf7ff; }
#fundamental-screen .fundamental-toolbar summary { padding:.44rem .68rem; font-weight:600; }
#fundamental-screen .fundamental-toolbar details[open] { flex-basis:100%; padding:0 .65rem; }
.fundamental-company a { font-weight:700; }
.fundamental-views { display:inline-flex; flex-wrap:wrap; gap:.2rem; padding:.18rem; border:1px solid var(--line); border-radius:1rem; }
.fundamental-views a { padding:.32rem .74rem; border-radius:.8rem; font-size:.86rem; }
.fundamental-views [aria-current] { background:#d2f78b; color:#17321b; font-weight:700; }
.industry-name { text-align:left; }
.profile-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:.8rem; margin:1rem 0; }
.profile-facts > div { display:grid; align-content:start; gap:.32rem; padding:clamp(.8rem,2vw,1.3rem); background: var(--card); border:1px solid var(--line); border-radius:1rem; }
.profile-facts > div:nth-child(3) strong { font-variant-numeric:tabular-nums; }
.profile-facts span { font-size:.8rem; color:var(--muted); }
.profile-facts strong { font-size:clamp(1.05rem,2vw,1.55rem); line-height:1.2; overflow-wrap:anywhere; }
.company-intro p { font-size:1.05rem; margin:0; }
.company-intro a,.profile-issuer small { font-size:.78rem; }
.profile-issuer small {display:block; font-weight:400;}
.profile-filters,.profile-actions { display:flex; flex-wrap:wrap; align-items:end; gap:.65rem 1rem; margin:.75rem 0; }
.profile-filters label { display:grid; gap:.2rem; min-width:0; max-width:100%; }
.profile-filters select,.profile-filters input { min-width:0; max-width:100%; }
#company-profile .screen-filters summary { padding:.5rem 0; }
#company-profile .peer-table th[scope=row] { max-width:55ch; white-space:normal; }
@media(max-width:560px){.profile-facts { grid-template-columns:1fr;gap:.4rem; } .profile-filters {display:grid;} .profile-filters button{justify-self:start;} }
.pay-periods,.pay-source { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem 1.1rem; margin:.65rem 0; }
.pay-periods label { display:grid; gap:.22rem; }
.pay-issuer small { display:block; font-weight:400; }
.pay-highlight { background: var(--card); border:1px solid var(--line); border-radius:1rem; padding:.85rem 1rem; display:grid; gap:.18rem; }
.pay-highlight strong { font-size:clamp(1.7rem,4vw,3rem); line-height:1.05; letter-spacing:-.045em; font-variant-numeric:tabular-nums; }
.pay-highlight span { max-width:60ch; }
#executive-pay .pay-measures th[scope=row] { max-width:66ch; white-space:normal; }
#executive-pay .pay-source details { margin:0; }
.industry-name small { display:block; margin-top:.12rem; color:var(--muted); font-size:.75rem; }
.industry-rate { display:grid; justify-items:end; gap:.16rem; font-variant-numeric:tabular-nums; }
.industry-rate meter { width:4.5rem; height:.6rem; accent-color:#287245; }
.fundamental-company .company-industry { display:inline; font-size:.75rem; line-height:1.2; color:#4f4778; font-weight:500; }
@media(max-width:650px) {
  .fundamental-summary { display:block; }
  .fundamental-coverage { margin-top:.45rem; }
  .fundamental-toolbar { gap:.3rem; }
  #fundamental-screen .fundamental-toolbar summary { font-size:.84rem; }
}
.peer-views { display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:.85rem; }
.peer-growth-measure small,.peer-growth-result small { display:block; color:var(--muted); font: .81rem/1.4 "DM Sans",sans-serif; }
.peer-growth-result { white-space:normal; }
.peer-controls input { width:100%; min-width:0; }
.peer-matches { padding:0; list-style:none; }
.peer-matches a { display:inline-block; padding:.3rem 0; }
.peer-settings { margin:.7rem 0; }
.peer-filters { display:flex; gap:.8rem; flex-wrap:wrap; }
.peer-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap:.65rem; margin:1rem 0; }
.peer-cards section { min-width:0; border:1px solid var(--line); background:var(--card); border-radius:1rem; padding:.85rem; display:flex; flex-direction:column; align-items:flex-start; gap:.25rem; overflow-wrap:anywhere; }
.peer-cards :is(h3,p) { margin:0; }
.peer-cards strong { font-size:1.4rem; font-variant-numeric:tabular-nums; }
.peer-cards p,.peer-cards span,.peer-cards a { font-size:.9rem; }
.source-panel .peer-cards h3 { margin:0; }
.peer-sources > div { display:flex; flex-wrap:wrap; align-items:baseline; gap:.3rem .9rem; margin:.65rem 0; }
.peer-sources strong { flex-basis:100%; }
.peer-note { font-weight:650; }
@media(max-width:600px) {
  .peer-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem; }
  .peer-cards section { padding:.6rem; border-radius:.75rem; }
  .peer-cards p,.peer-cards small { font-size:.77rem; }
  .peer-cards strong { margin-top:auto; font-size:clamp(.96rem,4.5vw,1.3rem); }
  .peer-table { display:block; }
  .peer-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .peer-table tbody,.peer-table tbody tr,.peer-table tbody th { display:block; }
  .peer-table tbody tr { padding:.5rem 0; border-bottom:1px solid var(--line); }
  .peer-table tbody :is(th,td) { padding:.2rem 0; border:0; white-space:normal; }
  .peer-table td { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:.3rem; }
  .peer-table td::before { content:attr(data-heading) / ""; color:var(--muted); font: .85rem "DM Sans",sans-serif; }
  .peer-filters { display:grid; }
}
.filing-brief-list a { font-weight:650; }
.filing-story-summary { padding:clamp(.85rem,1.7vw,1.5rem); background: var(--card); border:1px solid var(--line); border-radius:14px; }
.filing-story h2 { font-size:clamp(1.45rem,3vw,2.3rem); line-height:1.12; letter-spacing:-.035em; margin:.45rem 0; }
.filing-story-summary p { margin:.5rem 0; }
.filing-story-figures h3 { margin:1rem 0 .3rem; }
.filing-story-figures > p { margin:.25rem 0; }
.filing-story .page-actions { justify-content:flex-start; margin-top:1rem; }
.filing-figures { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap:.6rem; }
.filing-figures > div { padding:.8rem; border:1px solid var(--line); border-radius:12px; }
.filing-figures dt { font-size:.9rem; }
.filing-figures dd { margin:.25rem 0 0; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.filing-figures dd:not(.sub) { font-weight:700; font-size:1.12rem; }
@media(min-width:960px) {
  .filing-story { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:1rem 1.5rem; align-items:start; }
  .filing-story-figures h3 { margin-top:0; }
  .filing-story .page-actions { grid-column:1/-1; margin-top:0; }
}
.archive-quote p { margin:.35rem 0 .65rem; max-width:56ch; }
.open-research [role=status] .ui-btn { margin:.25rem .4rem; }
.provider[data-view="symbol-info"] .open-research [role=status]:not([hidden]) { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem; margin:0 0 .75rem; }
.provider[data-view="symbol-info"] .open-research [role=status] .ui-btn { margin:0; }
.quote-research-link:not([hidden]) { display:inline-block; margin:.65rem 0 .2rem; font-weight:650; }
.quote-navigation { display:block; overflow:visible; margin:.8rem 0 1rem; }
.quote-navigation .tabs { margin:0; }
.quote-navigation details { margin-top:.5rem; }
.quote-navigation details:not([open]) > .tabs { display:none; }
.quote-navigation summary { width:fit-content; color:var(--mint); cursor:pointer; padding:.35rem 0; font-weight:650; }
.quote-navigation details[open] .tabs { margin-top:.25rem; }
@media(max-width:400px) {
  .quote-navigation > .tabs { gap:.2rem; }
  .quote-navigation > .tabs a { padding:.45rem .5rem; }
}
.holdings-totals > .stat:first-child { background: var(--card); border-color: var(--line); }
.holdings-totals > .stat .quote-big { letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.issuer-outlook-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.5rem; padding: 1rem 1.25rem; margin: .75rem 0; border: 1px solid var(--line); border-radius: 1rem; background: var(--card); }
.issuer-outlook-summary > div { display: grid; gap: .3rem; }
.issuer-outlook-summary h2 { font-size: 1rem; }
.issuer-outlook-summary .guidance-number { font-size: clamp(1.45rem, 3vw, 2.2rem); font-weight: 750; letter-spacing: -.05em; }
.provider-note {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0 0 12px;
}
.note {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}
.table-note {
  padding: 10px 18px;
  color: var(--muted);
  font-size: 0.78rem;
  border-top: 1px solid var(--line);
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-brand {
  font-size: 0.93rem;
  letter-spacing: -0.035em;
  gap: 7px;
}
.footer-brand img {
  width: 17px;
  filter: grayscale(1);
  opacity: 0.65;
}
footer button {
  font-size: 0.8rem;
}
.skip {
  position: fixed;
  z-index: 5;
  left: 12px;
  top: -60px;
  background: var(--mint);
  color: #ffffff;
  padding: 8px;
}
.skip:focus {
  top: 8px;
}
.skip:not(:focus) {
  clip-path: inset(50%);
}
dialog {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #7f938a;
  border-radius: 11px;
  width: min(460px, calc(100% - 28px));
  padding: 0;
  box-shadow: 0 24px 70px #153d302e;
}
dialog::backdrop {
  background: #152a2266;
  backdrop-filter: blur(3px);
}
.dialog-title {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
}
.dialog-body {
  padding: 18px;
}
.dialog-body input,
.dialog-body select {
  width: 100%;
}
.results {
  max-height: 44vh;
  overflow: auto;
}
.result {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 11px 5px;
  border-bottom: 1px solid var(--line);
}
.result .tag {
  margin-left: auto;
}
dialog:has(#discovery) {
  width: min(36rem, calc(100% - 1.5rem));
  max-height: 90dvh;
}
#discovery .results {
  max-height: min(52dvh, 30rem);
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.discovery-scopes {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin: .6rem 0 .25rem;
  border-bottom: 1px solid var(--line);
}
.discovery-scopes button {
  min-height: 44px;
  padding: .5rem clamp(.35rem, 1.7vw, .85rem);
  border-bottom: 2px solid transparent;
  color: var(--muted);
}
.discovery-scopes [aria-pressed="true"] {
  border-bottom-color: var(--mint);
  color: var(--ink);
}
.discovery-status, .discovery-section {
  color: var(--muted);
  font-size: .82rem;
}
.discovery-status:empty { margin: 0; }
/* Sit clear of the field's focus ring at every width and text size. */
.discovery-status:not(:empty) {
  margin: max(.6rem, 10px) .35rem .4rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.profile-outline {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.discovery-section {
  margin: .9rem .35rem .25rem;
  font-weight: 600;
}
.discovery-row {
  min-height: 44px;
  overflow-wrap: anywhere;
}
.discovery-row:focus-visible {
  outline-offset: -2px;
}
.discovery-row .stock-info { min-width: 0; }
.discovery-row .stock-info small { white-space: normal; }
#modal:has(#discovery) #dialog-error:empty { margin: 0; }
#modal:has(#discovery) .dialog-title button { min-width: 44px; min-height: 44px; }
.form-fields {
  display: grid;
  gap: 14px;
}
.form-fields label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}
.sources {
  line-height: 1.6;
  font-size: 0.9rem;
}
.sources p + p {
  margin-top: 12px;
}
.sources a {
  text-decoration: underline;
  color: var(--mint);
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: #def2e7;
  color: #284c3e;
  border-radius: 6px;
  font-size: 0.9rem;
  z-index: 5;
}
#toast:not(:empty) {
  padding: 10px 18px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1550px) {
  .chart-svg {
    height: 250px;
  }
  .watch-row {
    min-height: 58px;
  }
}
.live-tape {
  margin-bottom: 16px;
  padding: 6px 10px 0;
}
[data-feed]:not([data-view="tickers"]) {
  padding: 8px 12px 0;
}
.open-research p {
  color: var(--muted);
  margin: 8px 0;
  line-height: 1.5;
  font-size: 0.88rem;
}
.tradingview-widget-copyright {
  margin-block: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}
.open-research .tradingview-widget-copyright a {
  color: var(--mint);
}
footer .row {
  gap: 18px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 450px) {
  footer {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  footer .row {
    justify-content: flex-start;
    gap: 10px;
  }
}
@media (max-width: 1000px) {
  .nav-shell,
  main,
  footer {
    width: 94%;
  }
  .nav-shell {
    gap: 20px;
  }
  nav {
    gap: 15px;
  }
  @media (min-width: 761px) {
    #navigation { gap: .15rem; }
    #navigation a { padding-inline: .5rem; }
  }
  .search-trigger {
    min-width: 0;
  }
  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }
  .dash-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr);
  }
  .bench {
    padding: 12px;
    min-height: 119px;
  }
  .spark {
    width: 27%;
    bottom: 18px;
  }
  .bench .change {
    font-size: 0.73rem;
  }
  .bench-name {
    font-size: 0.87rem;
  }
  .chart-tools {
    margin-inline: 14px;
  }
}
@media (max-width: 760px) {
  .nav-shell {
    flex-wrap: wrap;
    gap: 0;
    min-height: 0;
    padding-top: 13px;
  }
  .brand {
    font-size: 1.35rem;
  }
  .brand img {
    width: 27px;
  }
  nav {
    order: 3;
    width: 100%;
    overflow: auto;
    gap: 24px;
    margin-top: 6px;
  }
  nav a {
    padding: 11px 0 10px;
    font-size: 0.85rem;
  }
  .search-trigger {
    padding: 7px;
  }
  .search-trigger span {
    display: inline;
  }
  main {
    padding-top: 24px;
  }
  .overview-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .bench {
    min-height: 108px;
  }
  .spark {
    width: 31%;
  }
  .panel-title {
    padding: 13px 14px;
    min-height: 49px;
  }
  .panel-title h2 {
    font-size: 1.07rem;
  }
  .chart-info {
    padding: 15px 15px 3px;
  }
  .watch-row {
    min-height: 48px;
  }
  .chart-svg {
    height: 208px;
  }
  .heading {
    align-items: center;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .stat .quote-big {
    margin: 0;
    font-size: 1.3rem;
  }
  .heading .sub {
    font-size: 0.8rem;
  }
  .page-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  th,
  td {
    padding: 10px 13px;
  }
  .page-actions .ui-btn {
    font-size: 0.78rem;
    padding: 7px;
  }
  .periods button {
    padding: 4px 6px;
  }
  .seg button {
    font-size: 0.74rem;
  }
  .panel-title {
    gap: 5px;
  }
  .chart-caption {
    padding: 9px 12px;
  }
}
@media (max-width: 450px) {
  .heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  .bench .price {
    font-size: 1.48rem;
  }
  .search-trigger span {
    font-size: 0.79rem;
  }
  .bench .ticker {
    font-size: 0.66rem;
  }
  .bench .change {
    font-size: 0.72rem;
  }
  .bench-name {
    font-size: 0.82rem;
  }
  .spark {
    width: 24%;
  }
  .chart-tools {
    gap: 6px;
    flex-wrap: wrap;
  }
  .toolbar .end {
    margin-left: 0;
  }
  .movers-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 9px;
  }
  .panel-title .ui-btn {
    font-size: 0.76rem;
  }
  .chart-caption {
    flex-wrap: wrap;
  }
  .stat-grid {
    gap: 6px;
  }
  nav {
    gap: 19px;
  }
  .chart-axis {
    font-size: 12px;
  }
}
.source-panel {
  padding: clamp(16px, 3vw, 30px);
  min-width: 0;
}
#performance-desk {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
#performance-desk details {
  margin: 0.85rem 0;
}
#performance-desk summary {
  cursor: pointer;
  width: fit-content;
}
#performance-desk .stat-grid {
  margin: 1rem 0;
  gap: 1rem;
}
#performance-desk .stat {
  padding: 0;
}
.return-chart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
  max-height: 240px;
}
@media (max-width: 600px) {
  #performance-desk [data-report] > .data-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #performance-desk [data-report] .stat-grid {
    gap: 0.4rem;
  }
  #performance-desk [data-report] .stat {
    min-height: 2.25rem;
  }
  #performance-desk [data-report] .stat .quote-big {
    margin: 0;
  }
}
.statement-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #ced9d3;
  padding: 0.45rem 0;
}
.statement-row strong {
  margin-right: auto;
}
#performance-desk .table-wrap {
  margin: 0.85rem 0;
}
.study-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  padding: 0.65rem 1rem 1rem;
}
.study-tools label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.session-link {
  color: inherit;
  text-underline-offset: 0.2em;
}
.close-panel { margin: 0 0 .6rem; }
.close-panel[aria-busy] .close-grid { min-height: 28rem; }
@media (max-width: 700px) {
  .close-panel[aria-busy] .close-grid { min-height: 36rem; grid-template-rows: 2fr 3fr; }
}
@media (max-width: 400px) {
  .close-panel[aria-busy] .close-grid { min-height: 40rem; }
}
.home-watch-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; margin: 0 0 1rem; }
.home-watch-strip select { min-width: 0; max-width: 100%; }
.home-watch-strip a { padding-block: .25rem; overflow-wrap: anywhere; }
.dash-grid .panel:has(.watch-foot) .panel-heading { min-width: 0; }
.dash-grid .panel:has(.watch-foot) h2 { overflow-wrap: anywhere; }
.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.close-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.25rem, 2.2vw, 2rem);
}
.close-card:only-child { grid-column: 1 / -1; }
.close-card + .close-card { border-inline-start: 1px solid var(--line); }
.close-card > .text-link {
  align-self: start;
  margin-top: auto;
  padding-block: .5rem;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .25em;
  text-decoration-color: #a4c7b9;
}
.close-card > .text-link:hover { text-decoration-color: currentColor; }
.close-breadth { display: flex; height: .44rem; overflow: hidden; gap: 2px; border-radius: 1rem; margin: .7rem 0 .45rem; }
.breadth-higher { background: #27734d; }
.breadth-unchanged { background: #83928a; }
.breadth-lower { background: #c14d61; }
.close-byline, .close-yield-row, .close-stock-list li { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.close-byline { flex-wrap: wrap; align-items: baseline; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.close-byline h2 { margin: 0; font-size: 1.05rem; }
.close-edition, .close-label, .close-plot figcaption { font-size: .8rem; color: var(--muted); }
.close-edition time, .close-label time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.close-figure { min-width: 0; }
.close-figure .close-label time { color: var(--ink); font-weight: 600; }
.close-yield-row { margin: 1.3rem 0 .8rem; }
.close-yield { display: block; margin: .15rem 0 .35rem; font: 620 clamp(2.7rem,6vw,5.4rem)/.98 var(--display-face); font-variant-numeric: tabular-nums; letter-spacing: -.065em; }
.close-change { font-size: .86rem; }
.close-plot { width: min(35%, 11rem); margin: 0; color: var(--mint); text-align: right; }
.close-plot svg { display: block; width: 100%; height: auto; }
.close-plot polyline { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.close-plot line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.close-dates { display: none; }
.close-frame, .close-chart { position: relative; }
.close-chart::after {
  content: "";
  position: absolute;
  top: var(--last-y);
  left: var(--last-x);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.close-chart:has(.close-cursor:not([hidden]))::after { display: none; }
.close-chart input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 24px; margin: 0; padding: 0; opacity: 0; cursor: crosshair; }
.close-chart:has(input:focus-visible) { outline: 2px solid var(--mint); outline-offset: 3px; }
.close-cursor { position: absolute; left: var(--point-x); top: var(--point-y); transform: translate(-50%, -50%); border: 2px solid white; background: var(--mint); border-radius: 50%; width: 10px; height: 10px; pointer-events: none; }
.close-point { position: absolute; z-index: 1; bottom: calc(100% + 3px); right: 0; width: max-content; max-width: 14rem; padding: .2rem .55rem; border: 1px solid #b1c79c; border-radius: 1rem; background: white; color: var(--ink); font-size: .78rem; font-variant-numeric: tabular-nums; pointer-events: none; }
.close-range { font: .75rem/1.4 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
@media (min-width: 701px) {
  .close-rates .close-yield-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; margin: .9rem 0 .5rem; }
  .close-plot { width: 100%; text-align: left; }
  .close-frame { padding-right: 3.6rem; }
  .close-plot svg { height: 5rem; }
  .close-range { position: absolute; inset: 0 0 0 auto; width: 3.2rem; }
  .close-range > span { position: absolute; left: 0; transform: translateY(-50%); }
  .close-range .hi { top: 8.333%; }
  .close-range .lo { top: 91.667%; }
  .close-range .flat { top: 50%; }
  .close-range .sep { display: none; }
  .close-dates { display: flex; justify-content: space-between; font: .75rem var(--mono); color: var(--muted); margin: .3rem 3.6rem .3rem 0; }
  .close-plot figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .2rem .5rem; }
}
.close-plot figcaption { margin-top: .2rem; }
.close-plot button { padding: .2rem 0; color: var(--mint); white-space: nowrap; }
.close-plot button::after { content: " ▾"; }
.close-plot button[aria-expanded="true"]::after { content: " ▴"; }
#close-yield-table[hidden] { display: none; }
#close-yield-table { max-height: 14.5rem; }
#close-yield-table table { min-width: 0; width: 100%; }
#close-yield-table :is(td,th) { padding: .45rem .4rem; white-space: normal; }
.close-headline { margin: .95rem 0 .25rem; max-width: 32ch; font-size: clamp(1.15rem,2.15vw,1.9rem); font-weight: 630; line-height: 1.14; letter-spacing: -.035em; text-wrap: balance; }
.close-coverage { margin: .4rem 0; color: var(--muted); font-size: .84rem; }
.close-terms { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin: .8rem 0; }
.close-terms div { display: flex; align-items: baseline; gap: .4rem; }
.close-terms dt { font-size: .85rem; color: var(--muted); }
.close-terms dd { margin: 0; font: 500 .85rem var(--mono); }
.heading:has(.jump-quotes) .page-actions:empty { display: none; }
.heading:has(.jump-quotes) h1 { font-size: clamp(2.1rem, 4.3vw, 3.6rem); font-weight: 660; letter-spacing: -.055em; line-height: 1.06; }
.jump-quotes { border: 0; padding: 0; background: transparent; cursor: pointer; }
#home-quotes { scroll-margin-top: 7rem; }
.close-rankings { margin: .65rem 0 .5rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.close-rankings .seg { width: fit-content; max-width: 100%; border: 0; border-radius: 9px; padding: 3px; background: var(--card); }
.close-rankings .seg button { border: 1px solid transparent; border-radius: 7px; font-size: .85rem; }
.close-rankings button[aria-pressed="true"] { background: white; color: var(--ink); border-color: var(--line); font-weight: 650; }
.close-rank-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .75rem; margin-bottom: .2rem; }
.close-rankings .close-basis { margin: 0 0 0 auto; text-align: right; }
.close-rankings .seg button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.close-stock-list { margin: 0; padding: 0; list-style: none; }
.close-stock-list li { min-height: 2rem; border-bottom: 1px solid var(--line); }
.close-stock-list li:last-child { border: 0; }
.close-stock-list a { display: inline-flex; flex-wrap: wrap; gap: .2rem .55rem; align-items: baseline; min-width: 0; padding: .25rem 0; }
.close-stock-list a span { color: var(--muted); overflow-wrap: anywhere; }
.close-number { font: 500 .88rem var(--mono); white-space: nowrap; }
.overview-links { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .4rem; margin: .5rem 0 1rem; }
.overview-links :is(a,button) { display: flex; align-items: center; gap: .65rem; padding: .55rem .65rem; min-height: 44px; border-radius: 8px; color: var(--ink); font: 570 .9rem/1.25 "DM Sans", sans-serif; cursor: pointer; text-align: left; }
.overview-links .icon { width: 18px; height: 18px; color: var(--mint); }
.overview-links :is(a,button):hover { background: var(--selected); color: var(--mint); }
@media (min-width: 681px) and (max-width: 1000px) {
  .overview-links { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
.watch-start { display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden; padding: 0; margin-block: 1rem; }
.watch-intro, .watch-examples { padding: clamp(1rem, 3vw, 2.5rem); min-width: 0; }
.watch-intro { background: var(--card); color: var(--ink); }
.watch-star { display: inline-grid; place-items: center; background: var(--selected); color: var(--mint); border-radius: 10px; width: 2.5rem; height: 2.5rem; }
.watch-star .icon { width: 1.4rem; height: 1.4rem; }
.watch-intro h2 { margin: 1rem 0 .5rem; max-width: 13ch; font-size: clamp(1.9rem, 3.5vw, 3.35rem); line-height: 1; letter-spacing: -.055em; font-weight: 750; }
.watch-intro p { max-width: 43ch; margin: .7rem 0 1.2rem; }
.watch-intro > .text-link { display: block; width: fit-content; margin-top: .7rem; padding-block: .4rem; }
.watch-examples h3 { margin-bottom: .5rem; }
.watch-examples a { display: flex; align-items: center; gap: .75rem; min-height: 4rem; border-top: 1px solid var(--line); }
.watch-examples a > span:first-child { flex: 1; min-width: 0; }
.watch-examples small { display: block; color: var(--muted); }
.watch-kind { background: #eff4f1; color: #334c40; border-radius: 1rem; padding: .25rem .6rem; font-size: .78rem; }
@media(max-width: 680px) {
  .watch-start { grid-template-columns: 1fr; }
  .watch-examples a { display: grid; grid-template-columns: auto 1fr auto; align-content: center; gap: .15rem .5rem; padding: .5rem 0; }
  .watch-examples a > span:first-child { display: contents; }
  .watch-examples strong { grid-area: 1 / 1; }
  .watch-examples small { grid-area: 2 / 1 / 3 / 3; }
  .watch-examples .watch-kind { grid-area: 1 / 2; justify-self: start; }
  .watch-examples a > span:last-child { grid-area: 1 / 3 / 3 / 4; }
  .overview-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-links :is(a,button) { font-size: .875rem; padding: .4rem; gap: .5rem; }
}
.feed-note { margin: .65rem 1rem .25rem; font-size: .8rem; color: var(--muted); }
@media (max-width: 700px) {
  .close-grid { grid-template-columns: minmax(0, 1fr); }
  .close-card { padding: .9rem 1rem; }
  .close-card + .close-card { border-inline-start: 0; border-top: 1px solid var(--line); }
  .heading:has(.jump-quotes) { margin-bottom: .65rem; }
  .heading:has(.jump-quotes) .sub { gap: .25rem .6rem; }
  .session-link { text-wrap: pretty; }
  .close-byline { padding-bottom: .4rem; }
  .close-yield-row { margin: .55rem 0; }
  .close-plot { width: 39%; }
  .close-dates { display: flex; justify-content: space-between; gap: .25rem; color: var(--muted); font: .75rem/1.4 var(--mono); }
  .close-terms { margin: .3rem 0; }
  .close-rankings .seg button { min-height: 32px; }
  .close-rankings .seg button { padding-inline: .65rem; }
  .close-plot { display: flex; flex-direction: column; }
  .close-frame { display: contents; }
  .close-dates { order: 1; }
  .close-range { order: 2; }
  .close-plot figcaption { order: 3; }
  .close-plot line { display: none; }
  .close-headline { margin-top: .6rem; }
  .close-breadth { margin: .55rem 0 .35rem; }
  .close-rankings { margin-top: .5rem; padding-top: .6rem; }
}
.session-time, .profile-date { white-space: nowrap; }
.heading:has(.jump-quotes) .sub { flex-wrap: wrap; }
.heading:has(.jump-quotes) .session-link { flex: 0 0 100%; }
.watch-price { display: inline-grid; justify-items: end; gap: .1rem; }
.watch-price-status { max-width: 14rem; font: .875rem/1.4 "DM Sans", sans-serif; color: var(--muted); text-align: right; white-space: normal; }
.watch-price-status.is-missing { color: var(--ink); font-weight: 600; }
.watch-price-status time { white-space: nowrap; color: var(--ink); font-weight: 600; }
@media (max-width: 600px) {
  .watch-price { justify-items: start; }
  .watch-price-status { text-align: left; }
  .watch-price-value { font-size: 1.2rem; font-weight: 700; }
}
.fund-search {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.9rem 0;
  width: min(100%, 24rem);
}
.fund-search input {
  min-height: 40px;
}
.screen-filters {
  margin: 0.8rem 0 1.2rem;
}
#home-movers {
  scroll-margin-top: 6.5rem;
}
.screen-filters summary {
  cursor: pointer;
  width: fit-content;
  padding: 0.4rem 0;
}
.screen-filters .data-controls {
  margin-top: 0.4rem;
}
@media (max-width: 600px) {
  [data-public-view="options"] .data-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0.8rem 0;
  }
}
.source-panel h2 {
  margin-top: 0;
}
.consumer-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.desk-toolbar,
.desk-controls {
  display: flex;
  gap: 0.65rem;
  align-items: end;
  flex-wrap: wrap;
}
.desk-toolbar {
  margin: 0.35rem 0 1rem;
}
.desk-toolbar label,
.desk-controls label,
.desk-editor label {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}
.desk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.desk-panel {
  min-width: 0;
  overflow: hidden;
}
.desk-wide {
  grid-column: 1/-1;
}
.desk-panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 1rem;
}
.desk-panel-heading h2 {
  font-size: 1rem;
  margin: 0;
}
.desk-content,
.desk-content.source-panel {
  padding: 1rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.desk-content > .source-panel,
.desk-content .open-research {
  min-width: 0;
}
.desk-value {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  display: block;
  margin: 0.3rem 0;
}
.desk-provenance,
.desk-trigger {
  margin: 0.65rem 0 0.35rem;
}
.desk-provenance {
  font-size: 0.85rem;
  color: var(--muted);
}
.desk-trigger {
  font-weight: 650;
  color: var(--mint);
}
.desk-stories {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
}
.desk-stories li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--line);
}
.desk-editor {
  width: min(38rem, calc(100vw - 1rem));
}
.desk-editor-rows {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0;
}
.desk-editor-rows details {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
  min-width: 0;
}
.desk-editor-rows summary {
  cursor: pointer;
  font-weight: 600;
}
.desk-panel-settings {
  display: grid;
  gap: 0.55rem;
  margin: 0.6rem 0;
}
.desk-editor-rows select,
.desk-panel-settings input {
  max-width: 100%;
  min-width: 0;
}
.desk-editor [role="alert"]:not(:empty) {
  margin: 0.7rem 0;
}
.desk-editor .dialog-body > .desk-controls:last-child {
  margin-top: 1rem;
}
.desk-editor .dialog-body > .desk-controls:last-child {
  position: sticky;
  bottom: -1.125rem;
  background: #ffffff;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
}
.desk-filter {
  margin: 0.8rem 0;
}
.desk-filter summary {
  cursor: pointer;
  color: var(--mint);
  width: fit-content;
}
#filed-metrics tbody th {
  white-space: normal;
  min-width: 8rem;
  max-width: 25rem;
}
@media (max-width: 700px) {
  .desk-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .desk-toolbar label {
    flex: 1 1 8rem;
  }
  .desk-toolbar input,
  .desk-toolbar select {
    width: 100%;
    min-width: 0;
  }
}
.consumer-topics a {
  padding: 0.3rem 0.1rem;
}
.consumer-topics [aria-current] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}
.consumer-lead,
.consumer-guide p {
  max-width: 76ch;
}
.consumer-guide {
  margin: 1.6rem 0;
}
.consumer-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}
.consumer-fields fieldset {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  min-width: 0;
  margin: 0;
  padding: 0.75rem;
}
.consumer-fields legend {
  padding: 0 0.35rem;
  font-weight: 650;
}
.consumer-fields .data-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 0;
}
.consumer-fields input,
[data-public-view="calculators"] select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
[data-public-view="calculators"] > .text-link {
  display: inline-block;
  margin: 0.45rem 0.9rem 0.45rem 0;
}
[data-public-view="calculators"] .data-controls label {
  min-width: 0;
  max-width: 100%;
}
[data-public-view="calculators"] td,
[data-public-view="calculators"] th {
  white-space: normal;
  overflow-wrap: anywhere;
}
[data-public-view="calculators"] td {
  min-width: 5rem;
}
[aria-label="Reported credit card comparison"] table {
  table-layout: fixed;
}
.consumer-byline {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.consumer-topic-select {
  display: none;
}
.consumer-market,
.consumer-directory {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.consumer-market {
  margin: 0.8rem 0 2rem;
}
.consumer-market a,
.consumer-directory a {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}
.consumer-directory span,
.consumer-rate small {
  color: var(--muted);
}
.consumer-market a:hover,
.consumer-directory a:hover {
  border-color: var(--mint);
}
.consumer-rate strong {
  font-variant-numeric: tabular-nums;
  font-size: 1.45rem;
}
.consumer-tile strong {
  color: var(--mint);
}
.consumer-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.consumer-highlights > div {
  border-left: 2px solid var(--mint);
  padding-left: 0.8rem;
}
.consumer-highlights span,
.consumer-highlights strong {
  display: block;
}
.consumer-highlights strong {
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.05rem, 2.5vw, 1.65rem);
  overflow-wrap: anywhere;
}
.consumer-comparison details {
  margin: 0.7rem 0 1rem;
}
.consumer-comparison summary {
  cursor: pointer;
  color: var(--mint);
  width: fit-content;
}
.consumer-method {
  margin: 1.3rem 0;
}
.issuer-notes input { display:block; max-width:100%; margin:.5rem 0; }
.issuer-notes label { display:block; margin-top:.8rem; }
.issuer-note-plans { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr)); gap:1rem; margin-top:.8rem; }
.issuer-note-plans section { min-width:0; border-top:1px solid var(--line); overflow-wrap:anywhere; }
.issuer-note-plans dt { font-weight:600; margin-top:.6rem; }
.issuer-note-plans dd { margin:.2rem 0 .7rem; white-space:pre-line; }
.card-highlights { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:.7rem 0 1.2rem; }
.card-highlights section { display:flex; flex-direction:column; align-items:flex-start; min-width:0; overflow-wrap:anywhere; border-top:1px solid var(--line); padding-top:.45rem; }
.card-highlights small, .card-highlights span { color:var(--muted); font-size:.8rem; }
.source-panel .card-highlights h3 { margin:.1rem 0; }
.card-highlights span + small { margin-top:.5rem; }
.card-highlights strong { font-variant-numeric:tabular-nums; font-size:1.22rem; }
.consumer-method summary {
  cursor: pointer;
  width: fit-content;
  color: var(--mint);
}
.consumer-comparison [role="status"]:empty {
  display: none;
}
@media (max-width: 700px) {
  .consumer-topics {
    display: none;
  }
  .consumer-topic-select {
    display: block;
    margin: 0 0 1rem;
  }
}
@media (max-width: 410px) {
  #navigation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 0.5rem;
  }
  #navigation a {
    justify-content: center;
    padding: 0.4rem 0;
  }
}
.source-panel h3 {
  margin: 1.8rem 0 0.6rem;
}
.source-panel p {
  line-height: 1.55;
}
.source-panel .quote-big {
  display: block;
  margin: 0.9rem 0;
}
.source-panel .table-wrap {
  max-height: 32rem;
  overflow: auto;
}
[data-public-view="holders"] tbody th {
  width: clamp(8rem, 18vw, 16rem);
  min-width: 8rem;
  max-width: 16rem;
  overflow-wrap: anywhere;
  white-space: normal;
}
.holder-report > h2 { margin-top:.6rem; font-size:clamp(1.4rem, 3vw, 2rem); }
#model-research > h2 {font-size:clamp(1.5rem,3vw,2.25rem);line-height:1.12;letter-spacing:-.035em;margin:1.1rem 0 .5rem;max-width:31ch}
.model-thesis {max-width:74ch}
#quote-session:empty {display:none}
#quote-session {margin:.6rem 0 1rem}
#quote-session nav {display:inline-flex;gap:.15rem;flex-wrap:wrap;padding:.2rem;border:1px solid var(--line);border-radius:.9rem;background:var(--panel)}
#quote-session nav a {padding:.55rem .8rem;font-size:.9rem;border-radius:.65rem;font-weight:650}
#quote-session [aria-current] {background:var(--lime);color:var(--lime-ink)}
#quote-session p {margin:.45rem 0;max-width:78ch}
.model-links,.model-legend {display:flex;flex-wrap:wrap;gap:.5rem}
.model-links [aria-current] {background:var(--lime);color:var(--lime-ink);border-color:#a1c94c}
.allocation-chart {margin:1rem 0;padding:1rem;border:1px solid var(--line);border-radius:1rem;background:#fbfcf8}
.allocation-chart figcaption {font-weight:700}
.model-plot {display:grid;grid-template-columns:auto minmax(0,1fr);gap:.35rem .6rem;padding:.5rem 0}
.model-plot svg {display:block;width:100%;height:clamp(8rem,18vw,13rem);overflow:visible}
.model-axis,.model-dates {display:flex;justify-content:space-between;color:var(--muted);font-size:.83rem;font-variant-numeric:tabular-nums}
.model-axis {flex-direction:column;align-items:end}
.model-dates {grid-column:2}
.model-legend {font-size:.85rem;gap:1rem;color:var(--muted);margin:.35rem 0}
.model-legend span::before {content:"";display:inline-block;width:1.4em;border-top:3px solid #00664e;vertical-align:middle;margin-right:.3em}
.model-legend span + span::before {border-top:3px dashed #77418d}
#model-research .peer-table :is(th,td) {white-space:normal;padding:.5rem}
#model-research .table-wrap {max-height:none}
@media(max-width:600px) {
  #model-research .peer-cards section:last-child {grid-column:1/-1}
  #model-research > .data-controls {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}
  #model-research > .data-controls :is(select,button) {min-width:0;width:100%}
  #model-research > .data-controls a {align-self:center}
  .allocation-chart {padding:.6rem}
  #model-research .peer-table :is(th,td) {padding:.2rem 0}
}
.holder-report details summary { width:fit-content; cursor:pointer; color:var(--mint); padding:.4rem 0; }
.holder-report .comparison-sources a { display:block; }
.holder-report .peer-table :is(th,td) { padding:.6rem .45rem; }
.holder-report .peer-table th[scope="row"] { white-space:normal; overflow-wrap:anywhere; width:20%; }
.holder-report .peer-table td { white-space:normal; }
.holder-report .table-wrap { max-height:none; }
@media (max-width: 600px) {
  .holder-report .peer-cards section:first-child { grid-column:1/-1; }
  .holder-report .peer-table th[scope="row"] { width:auto; max-width:none; font-weight:700; }
  .holder-report .peer-table :is(th,td) { padding:.22rem 0; }
}
[data-public-view="pairsummary"] > .text-link,
[data-public-view="reference"] > .text-link {
  display: block;
  width: fit-content;
  margin: 0.65rem 0;
}
[data-public-view="options"] > a + h2 {
  margin-top: 0.8rem;
}
[data-public-view="fundfacts"] section + section {
  margin-top: 2rem;
  border-top: 1px solid #7f938a;
  padding-top: 1.5rem;
}
.comparison-sources {
  margin: 0.85rem 0;
}
.comparison-sources details summary {
  padding: 0.5rem 0;
  cursor: pointer;
}
.comparison-sources details a {
  display: block;
  padding: 0.3rem 0;
}
.source-panel th[scope="row"] {
  text-transform: none;
  font: inherit;
  color: inherit;
}
.data-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: end;
  margin: 1.4rem 0;
}
.data-controls label,
label.data-controls {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.4rem;
  font-size: 0.9rem;
}
.data-controls input,
.data-controls select {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
}
.data-controls label {
  max-width: 100%;
  min-width: 0;
}
#valuations .valuation-comparison {
  max-width: 38rem;
  margin: .75rem 0;
}
#valuations .valuation-comparison table {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
}
#valuations .valuation-comparison :is(th, td) {
  white-space: normal;
  overflow-wrap: anywhere;
  padding: .45rem .35rem;
}
#valuations .valuation-comparison th:first-child { width: 40%; }
#valuations .valuation-comparison td { font-variant-numeric: tabular-nums; }
#valuations .data-controls :is(label, select) { min-width: 0; max-width: 100%; }
#valuations { min-width: 0; }
#watch-quotes { min-width: 0; }
#watch-quotes .data-controls { margin: .6rem 0; gap: .5rem; }
.watch-quotes-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; }
.watch-quotes-head ~ .data-controls { padding-top: .9rem; border-top: 1px solid var(--line); }
.watch-quotes-head ~ div .watch-security > a:first-child { font-weight: 650; }
.watch-security { display:grid; gap:.2rem; white-space:normal; min-width:8rem; max-width:24rem; }
.watch-security :is(span,small) { font-weight:400; overflow-wrap:anywhere; }
.watch-security small { color:var(--muted); }
.watch-field { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:.5rem; margin:.35rem 0; }
#watch-view-form .watch-field label { display:flex; flex-direction:row; align-items:center; gap:.35rem; }
#watch-view-form .watch-field input { width:auto; min-height:0; }
#watch-view-form fieldset { min-width:0; border:1px solid var(--line); }
@media (max-width:600px) {
  #watch-quotes .watch-quote-table, #watch-quotes .watch-quote-table tbody { display:block; width:100%; min-width:0; }
  #watch-quotes .watch-quote-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  #watch-quotes .watch-quote-table tbody tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.45rem; padding:.6rem 0; border-bottom:1px solid var(--line); }
  #watch-quotes .watch-quote-table tbody th { grid-column:1/-1; }
  #watch-quotes .watch-quote-table tbody :is(th,td) { padding:0; border:0; text-align:left; white-space:normal; overflow-wrap:anywhere; }
  #watch-quotes .watch-quote-table td::before { display:block; content:attr(data-heading); color:var(--muted); font:.76rem/1.4 "DM Sans",sans-serif; }
  #watch-quotes .watch-quotes-head ~ div .watch-quote-table tbody tr { background: var(--panel); padding-block: .85rem; }
  #watch-quotes .watch-quotes-head ~ div .watch-quote-table tbody th { position: static; background: transparent; }
  .watch-quotes-head + .sub { margin-block: .4rem; }
}
@media (max-width: 600px) {
  #valuations .data-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  #valuations .data-controls select { width: 100%; }
  #valuations .valuation-directory, #valuations .valuation-directory tbody { display: block; width: 100%; min-width: 0; }
  #valuations .valuation-directory thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #valuations .valuation-directory tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); padding: .65rem 0; gap: .45rem; }
  #valuations .valuation-directory tbody th { grid-column: 1 / -1; }
  #valuations .valuation-directory tbody :is(th,td) { text-align: left; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  #valuations .valuation-directory td::before { display: block; content: attr(data-heading); color: var(--muted); font: .76rem/1.4 "DM Sans", sans-serif; }
}
.weight-row {
  display: grid;
  grid-template-columns: minmax(5rem, 1fr) 2fr 4rem;
  align-items: center;
  gap: 1rem;
  margin: 0.65rem 0;
}
.breadth-summary {
  font-size: 1.1rem;
  font-weight: 600;
}
.breadth-map {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}
.industry-tile {
  display: flex;
  flex-flow: column;
  gap: 0.4rem;
  padding: 0.85rem;
  border: 1px solid #7f938a;
  border-radius: 0.4rem;
  color: #152a22;
  background: #e8f0ec;
  text-decoration: none;
}
.industry-tile.advance {
  background: color-mix(in srgb, #a7d6ba var(--strength), #eaf6f0);
}
.industry-tile.decline {
  background: color-mix(in srgb, #edb6ba var(--strength), #fcecee);
}
.industry-tile span,
.industry-tile small {
  font-variant-numeric: tabular-nums;
}
.industry-tile strong {
  flex: 1;
}
.industry-tile:hover {
  text-decoration: underline;
}
.sector-controls summary { cursor:pointer; color:var(--mint); padding:.5rem 0; }
@media(max-width:699px){
  #us-sectors .breadth-map {grid-template-columns:repeat(2,minmax(0,1fr))}
  #us-sectors .industry-tile {padding:.6rem; overflow-wrap:anywhere}
}
.weight-row progress {
  width: 100%;
  accent-color: #00664e;
}
.weight-row span {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 600px) {
  nav {
    gap: 0.35rem;
    justify-content: space-between;
  }
  nav a {
    margin: 0;
  }
  .bench .ticker,
  .bench .change,
  .bench-name,
  .heading .sub,
  .page-actions .ui-btn {
    font-size: 0.875rem;
  }
  .bench {
    min-width: 0;
  }
  .table-wrap:focus-visible {
    outline: 2px solid #00664e;
    outline-offset: -2px;
  }
  .data-controls label {
    width: 100%;
  }
}
.doc-links {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 0;
}
.filing-details {
  padding: 0.8rem 0;
  border-bottom: 1px solid #ced9d3;
}
.filing-details summary {
  cursor: pointer;
}
.calculator + .calculator {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid #ced9d3;
}
.source-panel label {
  max-width: 100%;
}
.form-fields label[hidden] {
  display: none;
}
.market-groups {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: auto;
  min-height: 0;
  margin: 0;
  border-bottom: 1px solid #ced9d3;
  overflow: visible;
}
.market-groups a {
  padding: 0.65rem 0.15rem;
  text-decoration: none;
  color: #465b53;
  font-size: 0.9rem;
}
.market-groups a.selected {
  color: #00664e;
  border-bottom: 2px solid #00664e;
}
.market-groups + .tabs {
  margin-top: 0.75rem;
}
.long-history .data-controls {
  align-items: end;
  gap: 0.75rem;
}
.long-history input[type="date"],
.long-history select {
  max-width: 100%;
  min-width: 0;
}
.history-quote {
  display: grid;
  gap: 0.25rem;
  margin: 1rem 0;
}
.price-plot {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.history-viewport {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}
.history-viewport svg {
  background: #ffffff;
  width: 100%;
  height: 190px;
  touch-action: pan-y;
}
.history-axis,
.history-ends {
  display: flex;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
  color: #465b53;
  font-size: 0.8rem;
}
.history-axis {
  flex-direction: column;
  padding: 0.35rem 0;
}
.history-ends {
  margin-right: 3rem;
}
.history-grid {
  stroke: #ced9d3;
  stroke-width: 1;
}
openquote-event-track { grid-column:1; position:relative; display:block; height:51px; background:#f7f5fc; border-radius:.6rem; }
openquote-event-track[hidden], .event-inspector[hidden] { display:none; }
openquote-event-track button { position:absolute; top:7px; transform:translateX(-50%); box-sizing:border-box; width:44px; height:44px; padding:0; border:0; background:transparent; color:#433361; cursor:pointer; font-size:.8rem; font-weight:750; font-variant-numeric:tabular-nums; white-space:nowrap; }
openquote-event-track [data-day] { position:absolute; top:0; height:7px; width:2px; transform:translateX(-50%); background:#77668f; }
openquote-event-track [data-day].selected { height:9px; width:3px; background:#49316d; }
openquote-event-track [aria-pressed="true"] { background:#e4d8ff; border-radius:.5rem; }
.history-events { padding:.8rem 0 1rem; margin-bottom:.6rem; border-block:1px solid var(--line); }
.history-events > label { display:inline-flex; gap:.5rem; align-items:center; min-height:44px; font-weight:650; cursor:pointer; }
.history-events input { accent-color:var(--mint); }
.event-inspector { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem .75rem; }
.event-inspector > small { width:100%; white-space:pre-wrap; }
.event-inspector select { max-width:100%; min-width:0; }
.event-report:not(:empty) { flex-basis:100%; background:#f0ebfb; border-radius:.7rem; padding:.8rem 1rem; }
.event-report a { display:inline-block; margin:.4rem 1rem .15rem 0; }
.history-line {
  fill: none;
  stroke: #00664e;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.history-line.series-1 {
  stroke: #8b530e;
  stroke-dasharray: 5 3;
}
.history-cursor {
  stroke: #53675e;
  stroke-dasharray: 2 4;
}
.history-dot {
  fill: #00664e;
}
.history-dot.series-1 {
  fill: #8b530e;
}
.price-plot label {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: #465b53;
  font-size: 0.9rem;
}
.price-plot input {
  flex: 1;
  min-width: 0;
  accent-color: #00664e;
}
.history-table-heading,
.history-pager {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.history-pager {
  margin-top: 0.6rem;
  justify-content: flex-end;
}
.history-presets {
  flex-wrap: wrap;
}
.history-presets [aria-pressed="true"] {
  border-color: #00664e;
}
.history-legend {
  margin-bottom: 0.6rem;
}
.history-legend span::before {
  content: "";
  display: inline-block;
  width: 1.4rem;
  border-top: 2px solid #00664e;
  vertical-align: middle;
  margin-right: 0.4rem;
}
.history-legend .alternate::before {
  border-color: #8b530e;
  border-top-style: dashed;
}
.history-settings {
  margin-top: 0.9rem;
}
.history-settings summary,
.history-navigation summary {
  padding: 0.5rem 0;
  cursor: pointer;
  color: #00664e;
}
.history-navigation {
  margin: 0 0 0.8rem;
}
.research-path { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:flex-start; order:0; gap:.25rem .55rem; overflow:visible; font-size:.9rem; }
.research-path a { color:var(--mint); margin:0; padding:.25rem 0; font-size:inherit; overflow-wrap:anywhere; }
.research-path strong { color:var(--ink); overflow-wrap:anywhere; }
.watch-security .watch-compare-choice { display:inline-flex; align-items:center; gap:.35rem; width:fit-content; cursor:pointer; font-size:.85rem; }
.watch-growth { display:inline-block; padding:.15em .55em; border-radius:1rem; font-weight:650; background:#eff3f1; }
.watch-growth.rise { color:#18533a; background:#e1f5dd; }
.watch-growth.fall { color:#842c45; background:#fce6ed; }
.issuer-peer-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:.75rem; margin:1rem 0; }
.peer-measure { min-width:0; border:1px solid var(--line); border-radius:1rem; padding:1rem; background: var(--card); }
.peer-measure h3 { font-size:1rem; margin:0 0 .8rem; }
.peer-measure dl { display:grid; gap:.35rem; margin:0; }
.peer-measure dl > div { display:flex; align-items:baseline; justify-content:space-between; gap:.4rem; flex-wrap:wrap; }
.peer-measure dt,.peer-measure small { font-size:.8rem; color:var(--muted); }
.peer-measure dd { margin:0; font-weight:650; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.peer-measure dl > div:first-child dd { font-size:clamp(1.25rem,2vw,1.7rem); letter-spacing:-.035em; }
.peer-measure .peer-gap { font-size:.88rem; font-weight:650; margin:.7rem 0 .15rem; }
.peer-measure meter { display:block; width:100%; height:.85rem; accent-color:#277348; }
.peer-measure small { display:block; }
#issuer-peers .peer-source { margin:.85rem 0 .25rem; }
#issuer-peers .peer-cohort { color:var(--muted); font-size:.9rem; }
@media (max-width:600px) {
  #issuer-peers .data-controls { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:.55rem; }
  #issuer-peers .data-controls label,#issuer-peers .data-controls select { width:100%; min-width:0; }
}
.watch-compare-choice input { width:1rem; height:1rem; }
.watch-research-actions { display:flex; flex-wrap:wrap; gap:.4rem 1rem; margin:.55rem 0; }
.watch-filing-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; margin:.7rem 0; }
.watch-filing-summary > div { display:grid; gap:.18rem; padding:clamp(.6rem,1.6vw,1.05rem); border:1px solid var(--line); border-radius:.9rem; background: var(--card); }
.watch-filing-summary span { font-weight:650; }
.watch-filing-summary strong { font-size:clamp(1.2rem,3vw,2.1rem); line-height:1.15; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.watch-filing-summary small { color:var(--muted); }
.watch-filing-summary > div:only-child { grid-column:1/-1; }
@supports(grid-template-rows:subgrid) {
  .watch-filing-summary > div { grid-row:span 3; grid-template-rows:subgrid; }
}
.index-publisher { display:flex; flex-wrap:wrap; gap:.4rem 1.2rem; }
.benchmark-directory { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:.8rem; margin-top:.7rem; }
.benchmark-directory section { padding:1rem; border:1px solid var(--line); border-radius:1rem; background:#f6fbe9; }
.benchmark-directory section:nth-child(2) { background:#f5f0fc; }
.benchmark-directory section:nth-child(3) { background:#fff4e8; }
.benchmark-directory :is(h3,h4,ul) { margin:0; }
.benchmark-directory ul { list-style:none; padding:0; }
.benchmark-directory li { display:grid; gap:.12rem; margin-top:.75rem; }
.benchmark-directory li a:first-child { font-weight:650; color:var(--ink); }
.benchmark-directory .text-link { font-size:.83rem; }
.commodity-chart { margin:1rem 0; padding:1rem; border:1px solid var(--line); border-radius:1rem; background:#fafcf6; }
.commodity-chart figcaption { font-weight:700; }
.commodity-chart svg { width:100%; height:150px; display:block; border-block:1px solid var(--line); }
.commodity-chart small,.commodity-chart .buyback-bounds,.commodity-levels strong { font-variant-numeric:tabular-nums; }
#commodity-indexes .bulletin-levels { grid-template-columns:repeat(2,minmax(0,1fr)); }
#commodity-indexes .bulletin-levels > div { display:grid; grid-template-rows:subgrid; grid-row:span 3; min-width:0; }
#commodity-indexes .bulletin-levels strong { font-size:clamp(1.5rem,3vw,2.35rem); }
.commodity-chart polyline { fill:none; vector-effect:non-scaling-stroke; stroke-width:2.5; }
.commodity-chart .primary-index { stroke:#00664e; }
.commodity-chart .comparison { stroke:#67459a; stroke-dasharray:6 4; }
.commodity-chart circle.primary-index { fill:#00664e; }
.commodity-chart circle.comparison { fill:#67459a; }
.commodity-legend { display:flex; flex-wrap:wrap; gap:.3rem 1rem; margin:.5rem 0; }
.commodity-legend span::before { content:""; display:inline-block; width:1.5rem; margin-right:.35rem; vertical-align:middle; border-top:3px solid #00664e; }
.commodity-legend span:nth-child(2)::before { border-color:#67459a; border-top-style:dashed; }
#commodity-indexes .profile-filters select { min-height:42px; }
.history-sources {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.6rem;
}
.history-quote:empty {
  display: none;
}
@media (max-width: 600px) {
  .long-history .data-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .history-viewport svg {
    height: 155px;
  }
}
.signal-tool .signal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
}
.signal-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ced9d3;
}
.signal-list small,
.signal-market strong {
  display: block;
}
.signal-market {
  max-width: min(13rem, 38vw);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.signal-issuer {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.signal-total {
  font-weight: 650;
}
.signal-evidence {
  display: grid;
  grid-template-columns: minmax(8rem, auto) minmax(0, 1fr);
  gap: 0.55rem 1rem;
  max-width: 52rem;
}
.signal-evidence dt {
  color: #465b53;
}
.signal-evidence dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.event-chart {
  margin: 1rem 0;
}
.event-chart label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.event-chart input {
  flex: 1;
  min-width: 0;
}
.event-chart output {
  display: block;
  line-height: 1.6;
}
.signal-formation {
  fill: #e0f2e8;
}
.event-chart svg .bar-up {
  stroke: #00664e;
  fill: #00664e;
}
.event-chart svg .bar-down {
  stroke: #a53042;
  fill: #fcecee;
}
.event-level {
  stroke: #8b530e;
  stroke-width: 2;
  stroke-dasharray: 4 2;
}
.event-pivot {
  stroke: #826119;
  stroke-width: 2;
  fill: #fffae9;
}
.signal-tool .screen-filters {
  margin: 1rem 0;
}
.signal-tool .history-quote {
  margin: 0.5rem 0;
}
.signal-tool .history-quote .quote-big {
  margin: 0;
}
.signal-tool summary {
  cursor: pointer;
}
#technical-subscription > div { max-width: 48rem; margin-top: .65rem; }
#technical-subscription label { display: grid; gap: .3rem; margin-top: .65rem; }
#technical-subscription select, #technical-subscription input { width: 100%; min-width: 0; }
#technical-subscription .page-actions { justify-content: flex-start; flex-wrap: wrap; gap: .75rem; margin: .6rem 0; }
#technical-subscription p { margin: .45rem 0; }
:is(#statement-archive, [data-quote-panel="statement-archive"]) label { display: grid; gap: .35rem; min-width: 0; }
:is(#statement-archive, [data-quote-panel="statement-archive"]) label input, :is(#statement-archive, [data-quote-panel="statement-archive"]) label select { width: 100%; min-width: 0; }
:is(#statement-archive, [data-quote-panel="statement-archive"]) > label { max-width: 36rem; margin: 1rem 0 .5rem; }
:is(#statement-archive, [data-quote-panel="statement-archive"]) h3 { margin: 1.4rem 0 .45rem; }
:is(#statement-archive, [data-quote-panel="statement-archive"]) .statement-head { margin-bottom: 1rem; }
.statement-highlight { margin: -.35rem 0 1.1rem; }
.call-day { margin: 1.6rem 0 0; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.issuer-call { display: grid; grid-template-columns: minmax(8rem, .7fr) minmax(10rem, 1.2fr) minmax(12rem, 1.3fr); align-items: start; gap: .55rem 1.4rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.issuer-call p, .issuer-call h4 { margin: 0 0 .3rem; }
.issuer-call h4 { font-size: 1.05rem; }
.call-time { font-variant-numeric: tabular-nums; font-weight: 650; }
.call-links { display: flex; flex-wrap: wrap; gap: .45rem 1rem; align-items: baseline; }
.call-links a { display: inline-flex; align-items: center; min-height: 26px; }
.issuer-call h4 a { font-size: inherit; }
.call-filters summary, .call-subscription summary { cursor: pointer; }
.call-filters[open] summary { margin-bottom: .8rem; }
.call-subscription { flex-basis: 100%; max-width: 100%; }
.call-subscription label { display: grid; gap: .25rem; }
.call-subscription input { min-width: 0; width: 100%; }
@media (max-width: 700px) {
  .issuer-call { grid-template-columns: 1fr; }
  .issuer-call .call-links { margin-top: .2rem; }
}
.statement-highlight p { margin: .3rem 0; }
.statement-key-values { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; }
.ratio-inputs summary,.ratio-method summary { cursor:pointer; color:var(--mint); }
.ratio-inputs { text-align:left; white-space:normal; }
.ratio-inputs p { margin:.4rem 0; font-weight:400; }
.ratio-evidence { margin:.7rem 0; font-size:.9rem; }
.ratio-evidence small { display:block; overflow-wrap:anywhere; color:var(--muted); }
.ratio-method { margin:1rem 0; }
@media(max-width:680px) {
  :is(#statement-archive, [data-quote-panel="statement-archive"]) .ratio-table { min-width:0; width:100%; }
  .ratio-table,.ratio-table tbody,.ratio-table tbody tr { display:block; }
  .ratio-table thead { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
  .ratio-table tbody tr { padding:.5rem 0; border-bottom:1px solid var(--line); }
  :is(#statement-archive, [data-quote-panel="statement-archive"]) .table-wrap .ratio-table tbody th { display:block; position:static; max-width:none; width:100%; box-sizing:border-box; border:0; white-space:normal; }
  :is(#statement-archive, [data-quote-panel="statement-archive"]) .table-wrap:has(.ratio-table) { max-height:none; overflow:visible; }
  .ratio-table tbody td { display:flex; justify-content:space-between; gap:.6rem; padding:.25rem .5rem; white-space:normal; border:0; }
  .ratio-table td::before { content:attr(data-heading) / ""; text-align:left; color:var(--muted); }
}
.statement-value { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; font-variant-numeric: tabular-nums; }
:is(#statement-archive, [data-quote-panel="statement-archive"]) label.statement-changes { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
:is(#statement-archive, [data-quote-panel="statement-archive"]) label.statement-changes input { width: 1rem; height: 1rem; }
.statement-controls { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: .8rem; max-width: 60rem; }
.fiscal-compare:not([hidden]) { margin-top:.75rem; }
.fiscal-compare[hidden] { display:none; }
.statement-more { margin: 1rem 0; }
.statement-more .statement-controls { margin-top: .6rem; }
.statement-actions { display: flex; gap: .6rem 1rem; flex-wrap: wrap; align-items:center; margin: .8rem 0; }
.statement-results { list-style: none; padding: 0; max-width: 60rem; }
.statement-results li { display: grid; gap: .25rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
:is(#statement-archive, [data-quote-panel="statement-archive"]) .table-wrap { margin-bottom: 1.25rem; }
:is(#statement-archive, [data-quote-panel="statement-archive"]) td { font-variant-numeric: tabular-nums; }
@media(max-width:640px) {
  .statement-controls { grid-template-columns: minmax(0,1fr); }
  :is(#statement-archive, [data-quote-panel="statement-archive"]) .table-wrap th:first-child { max-width: 12rem; white-space: normal; }
}
@media (max-width: 600px) {
  .signal-tool .signal-major {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .signal-major label:first-child {
    grid-column: 1/-1;
  }
  .signal-market .sub {
    max-width: 9rem;
  }
}
#broker-workspace .screen-filters {
  margin: 1.15rem 0;
  padding: 0.6rem 0;
  border-top: 1px solid #ced9d3;
}
#broker-workspace summary {
  cursor: pointer;
  padding: 0.35rem 0;
}
#broker-workspace .broker-index-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ced9d3;
}
.broker-summary {
  display: grid;
  gap: 0.2rem;
  margin: 0.75rem 0 1.15rem;
}
#broker-workspace .broker-summary .quote-big {
  margin: 0;
  overflow-wrap: anywhere;
}
.broker-pick {
  display: grid;
  gap: 0.4rem;
  font-weight: 550;
}
.broker-file {
  max-width: 100%;
  min-width: 0;
  font-size: 0.9rem;
}
.broker-file::file-selector-button {
  background: #e0f2e8;
  color: #284c3e;
  border: 1px solid #467660;
  border-radius: 5px;
  padding: 0.55rem 0.75rem;
  margin-right: 0.5rem;
  cursor: pointer;
}
.broker-review {
  border-top: 1px solid #ced9d3;
  margin-top: 1rem;
  padding-top: 0.5rem;
}
.broker-review > button {
  margin-top: 0.75rem;
}
.broker-error {
  color: #a53042;
}
#broker-workspace code {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f3f6f4;
  padding: 0.75rem;
}
#broker-workspace textarea {
  background: #ffffff;
  color: #152a22;
  border: 1px solid #7f938a;
  font: inherit;
  padding: 0.55rem;
}
.broker-mapping {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
}
@media (max-width: 600px) {
  #broker-workspace .data-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  #broker-workspace .page-actions {
    flex-wrap: wrap;
  }
  .broker-review {
    min-width: 0;
  }
}
.filing-feed-row {
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid var(--line);
}
.filing-feed-row label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 600;
}
.filing-feed-row input {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.filing-feed-choice {display:flex;align-items:flex-start;gap:.65rem;padding:.55rem 0;border-bottom:1px solid var(--line);cursor:pointer}
.filing-feed-choice input {margin-top:.25rem;flex:none}
.filing-feed-choice span {min-width:0;overflow-wrap:anywhere}
.filing-feed-choice small {display:block}
.filing-feed-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.35rem 0 0 1.5rem;
}
.risk-section {
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.recovery-notice {
  max-width: 78rem;
  margin: 1rem auto;
  padding: 0.8rem 1rem;
  border-inline-start: 0.25rem solid var(--mint);
  background: var(--panel);
}
.risk-section .stat-grid {
  margin: 1rem 0;
  gap: 0.6rem;
}
.risk-number {
  font-family: var(--mono);
  font-size: clamp(1.05rem, 2.3vw, 1.6rem);
  overflow-wrap: anywhere;
}
#risk-report .stat {
  display: grid;
  align-content: start;
  justify-content: start;
  gap: 0.35rem;
  min-width: 0;
}
.risk-summary .stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.55rem 0 1.2rem;
}
.risk-summary .stat-grid:empty {
  display: none;
}
#risk-report .risk-section .stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 740px) {
  .risk-summary .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #risk-report .stat {
    padding: 0.6rem;
  }
  #risk-report table thead th,
  #risk-report table tbody th[scope="row"] {
    min-width: 5.3rem;
    max-width: 7.5rem;
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 0.55rem 0.38rem;
  }
  #risk-report table td {
    padding: 0.55rem 0.38rem;
  }
}
.risk-section details {
  margin: 0.85rem 0;
}
.risk-section label {
  display: block;
  margin: 0.6rem 0;
}
.risk-section textarea {
  display: block;
  width: 100%;
  margin: 0.4rem 0;
  font: small var(--mono);
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
}
.risk-section .data-controls label {
  margin: 0;
}
.risk-section .table-wrap {
  max-height: 32rem;
}
.risk-csv {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 100%;
  font: small var(--mono);
}
#risk-report label input[type="number"] {
  max-width: 8rem;
}
.risk-chart {
  margin: 1rem 0;
}
.risk-chart svg {
  display: block;
  width: 100%;
  max-width: 52rem;
  height: auto;
}
.risk-chart figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.risk-chart figcaption span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.risk-chart figcaption i {
  width: 1.4rem;
  border-top-width: 3px;
}
#risk-report input[type="file"],
#risk-report select,
#risk-report textarea {
  max-inline-size: 100%;
  min-inline-size: 0;
}
.private-list,
.private-events {
  list-style: none;
  padding: 0;
}
.private-list li,
.private-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem 1.25rem;
}
.private-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.private-list small,
.private-list strong,
.private-stat > * {
  display: block;
}
.private-list a,
.private-list strong,
.private-stat strong {
  font-size: 1.15rem;
}
.private-list small,
.private-stat .sub {
  line-height: 1.5;
}
.private-list strong,
.private-stat strong {
  font-variant-numeric: tabular-nums;
}
.private-stats {
  margin: 1rem 0 1.5rem;
}
@media (min-width: 651px) {
  #private-companies .private-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.private-stat {
  padding: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}
.private-stat:first-child strong {
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.25;
}
.private-stat a {
  margin-top: 0.35rem;
}
.private-stat {
  min-width: 0;
  overflow-wrap: anywhere;
}
.private-events li {
  border-inline-start: 2px solid var(--line);
  padding: 0 0 1.25rem 1rem;
}
.private-events time {
  color: var(--muted);
  font-size: 0.875rem;
}
.private-events h3 {
  margin: 0.25rem 0;
}
.private-events p {
  margin: 0.25rem 0;
}
.private-marks {
  margin-top: 1.5rem;
}
#industry-map { min-width:0; }
#industry-map h2 { margin:.75rem 0 .25rem; }
#industry-map .weight-summary { margin:.3rem 0; }
.weight-summary strong { font-size:1.7rem; font-variant-numeric:tabular-nums; }
.weight-map { position:relative; width:100%; height:clamp(20rem,35vw,29rem); background:var(--line); }
.weight-sort { display:grid; gap:.25rem; max-width:22rem; margin:.5rem 0; }
.weight-tile { position:absolute; display:flex; align-items:flex-start; justify-content:center; flex-direction:column; gap:.1rem; overflow:hidden; padding:.45rem; box-sizing:border-box; text-decoration:none; text-align:left; line-height:1.15; border:1px solid var(--bg); border-radius:0; background:var(--card); color:var(--ink); overflow-wrap:anywhere; font:inherit; cursor:pointer; }
.weight-tile.up { background:color-mix(in srgb,#a7d6ba var(--intensity),var(--card)); }
.weight-tile.down { background:color-mix(in srgb,#edb6ba var(--intensity),var(--card)); }
.weight-tile:focus-visible { outline:3px solid var(--ink); outline-offset:-4px; z-index:1; }
.weight-tile strong {font-size:clamp(.82rem,1.7vw,1.35rem);line-height:1.12;}
.weight-tile.compact-weight-tile strong {font-size:.82rem;}
.weight-tile span,.weight-tile small {font-variant-numeric:tabular-nums;}
.weight-tile small {font-size:.78rem;}
#industry-map details {margin:1rem 0;}
#industry-map .page-actions {display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0;}
@media(max-width:680px){
  .weight-map {aspect-ratio:auto;height:20rem;}
  .weight-tile {padding:.35rem;font-size:.85rem;}
  #industry-map .weight-table {width:100%;min-width:0;}
  .weight-table,.weight-table tbody,.weight-table tbody tr {display:block;}
  .weight-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
  .weight-table tbody tr {padding:.6rem 0;border-bottom:1px solid var(--line);}
  .weight-table tbody th {display:block;text-align:left;white-space:normal;border:0;}
  .weight-table tbody td {display:flex;justify-content:space-between;gap:.35rem;white-space:normal;border:0;padding:.18rem .5rem;}
  .weight-table td::before {content:attr(data-heading) / "";color:var(--muted);text-align:left;font-family:inherit;}
}
#private-companies > .ui-btn + .text-link {
  display: block;
  margin-top: 0.75rem;
}
@media (max-width: 650px) {
  .private-list li,
  .private-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .private-list li > :last-child {
    grid-column: 1 / -1;
  }
  .private-list li > :last-child small,
  .private-list li > :last-child span {
    display: inline;
    margin-right: 0.4rem;
  }
  .private-stats .private-stat:first-child {
    grid-column: 1 / -1;
  }
}
.distribution-name {
  display: grid;
  gap: .25rem;
  min-width: 7rem;
  max-width: 22rem;
  white-space: normal;
}
.distribution-name small {
  font-weight: 400;
  color: var(--muted);
}
#distributions { min-width: 0; }
#distributions .table-wrap { max-width: 100%; }
#distributions h2 { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  #distributions .tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: .25rem;
  }
  #distributions .tabs a { flex: 0 0 auto; white-space: nowrap; padding: .4rem .5rem; }
  #distributions .data-controls {
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
    gap: .5rem;
  }
  #distributions .data-controls :is(input,select) { width: 100%; min-width: 0; }
}
#sustainability { min-width: 0; }
#sustainability .table-wrap { max-width: 100%; }
#sustainability .table-wrap td { white-space: normal; overflow-wrap: anywhere; }
#sustainability .table-wrap th[scope="row"] { white-space: normal; min-width: 8rem; }
#sustainability .history-settings { margin: .6rem 0; }
#sustainability input { max-width: 100%; }
#sustainability .private-stat strong { overflow-wrap: anywhere; }
#sustainability .esg-comparison { margin: .8rem 0; table-layout: fixed; width: 100%; }
#sustainability .esg-comparison :is(th,td) { text-align: left; white-space: normal; padding: .4rem .6rem; }
#sustainability .esg-comparison th small { display: block; color: var(--muted); overflow-wrap: anywhere; }
#sustainability .esg-comparison th[scope="rowgroup"] { color: var(--muted); font-weight: 400; }
#sustainability .esg-comparison td { font-variant-numeric: tabular-nums; font-size: 1.05rem; }

#economic-calendar { min-width: 0; }
#economic-calendar small { display: block; }
#treasury-auctions { min-width: 0; }
#treasury-screen { min-width: 0; }
#fund-screen { min-width: 0; }
#fund-screen .fund-filters [hidden] { display:none; }
#fund-screen .fund-filters [aria-invalid="true"] { outline:2px solid currentColor; }
#fund-screen .ranked-fee a { display:block; font:.77rem/1.3 "DM Sans",sans-serif; margin-top:.2rem; }
@media (max-width:600px) {
  #fund-screen .fund-ranking-table, #fund-screen .fund-ranking-table tbody { display:block; width:100%; }
  #fund-screen .fund-ranking-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  #fund-screen .fund-ranking-table tbody tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); border-bottom:1px solid var(--line); padding:.65rem 0; gap:.45rem; }
  #fund-screen .fund-ranking-table tbody th { grid-column:1/-1; padding:0; border:0; }
  #fund-screen .fund-ranking-table tbody td { border:0; text-align:left; padding:0; }
  #fund-screen .fund-ranking-table tbody td::before { display:block; color:var(--muted); font:.78rem/1.4 "DM Sans",sans-serif; }
  #fund-screen .fund-ranking-table tbody td:nth-child(2)::before { content:"Annualized return" / ""; }
  #fund-screen .fund-ranking-table tbody td:nth-child(3)::before { content:"Gross expenses" / ""; }
}
#fund-screen .fund-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr)); gap:.65rem 1rem; }
#fund-screen :is(.fund-filters,.fund-peer) label { display:grid; gap:.25rem; color:var(--muted); font-size:.88rem; }
#fund-screen :is(input,select) { min-width:0; width:100%; min-height:44px; }
#fund-screen .screen-filters { border-top:1px solid var(--line); margin:.5rem 0; }
#fund-screen summary { min-height:44px; padding:.75rem 0; }
#fund-screen .page-actions { flex-wrap:wrap; gap:.75rem; margin:.75rem 0; }
#fund-screen .fund-criteria { font-weight:600; margin:.7rem 0 .15rem; }
#fund-screen .fund-peer { max-width:44rem; margin:1rem 0; }
#fund-screen table { width:100%; }
#fund-screen table :is(th,td) { vertical-align:top; }
#fund-screen table :is(th,strong,small) { white-space:normal; overflow-wrap:anywhere; }
#fund-screen table strong, #fund-screen table small, #fund-screen .fund-detail td a { display:block; }
#fund-screen tbody th strong { font:500 .9rem/1.3 "DM Sans",sans-serif; margin:.2rem 0; }
#fund-screen tbody th small { color:var(--muted); font:.8rem/1.3 "DM Sans",sans-serif; }
#fund-screen td small { color:var(--muted); font:.76rem/1.3 "DM Sans",sans-serif; margin-top:.25rem; }
#fund-screen .fund-detail h2 { margin-top:1.3rem; }
#fund-screen .fund-missing { font:.85rem/1.25 "DM Sans",sans-serif; color:var(--muted); }
#fund-screen .fund-long-term > summary { font-weight:600; }
#fund-screen .fund-long-term label { display:grid; gap:.3rem; max-width:42rem; margin:.7rem 0; }
#fund-screen .fund-long-term .table-wrap { max-width:100%; }
#fund-screen .fund-long-term table { min-width:min(32rem,100%); }
@media (max-width:540px) {
  #fund-screen .fund-period-table, #fund-screen .fund-period-table tbody { display:block; width:100%; }
  #fund-screen .fund-period-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  #fund-screen .fund-period-table tbody tr { display:block; border-bottom:1px solid var(--line); padding:.55rem 0; }
  #fund-screen .fund-period-table tbody th { display:block; border:0; padding:.25rem 0; }
  #fund-screen .fund-period-table tbody th :is(strong,small) { display:inline; margin-right:.45rem; }
  #fund-screen .fund-period-table td { display:flex; justify-content:space-between; align-items:baseline; gap:.7rem; padding:.18rem 0; border:0; }
  #fund-screen .fund-period-table td::before { content:attr(data-heading) / ""; color:var(--muted); font:.82rem/1.4 "DM Sans",sans-serif; text-align:left; white-space:normal; }
}
#fund-screen .fund-growth { max-width:42rem; margin:1rem 0; }
#fund-screen .fund-growth figcaption { font-weight:600; }
#fund-screen .fund-growth svg { display:block; width:100%; height:auto; max-width:35rem; }
#fund-screen .fund-growth svg text { fill:var(--muted); font:11px "DM Sans",sans-serif; }
#fund-screen .fund-grid { stroke:var(--line); stroke-width:1; }
#fund-screen .fund-growth polyline { stroke-width:2.5; stroke-linejoin:round; }
#fund-screen .fund-own-line { stroke:var(--mint); }
#fund-screen .fund-peer-line { stroke:var(--ink); stroke-dasharray:5 4; }
#fund-screen .fund-legend { display:flex; flex-wrap:wrap; gap:.4rem 1rem; margin:.5rem 0; font-size:.9rem; }
#fund-screen :is(.fund-own-key,.fund-peer-key)::before { display:inline-block; width:1.5rem; margin-right:.4rem; vertical-align:middle; content:""; border-top:3px solid var(--mint); }
#fund-screen .fund-peer-key::before { border-top:3px dashed var(--ink); }
@media(min-width:840px) {
  #fund-screen .fund-performance { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; gap:2rem; }
  #fund-screen .fund-performance .fund-growth { margin:0; }
}
@media(max-width:640px) {
  #fund-screen table :is(th,td) { padding:.5rem .3rem; }
  #fund-screen table { min-width:0; }
  #fund-screen td { white-space:normal; }
}
#treasury-screen .treasury-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(12rem,100%),1fr));
  gap: .65rem 1rem;
}
#treasury-screen .treasury-filters label { display: grid; gap: .25rem; color: var(--muted); font-size: .88rem; }
#treasury-screen .treasury-filters :is(input,select) { min-width: 0; width: 100%; min-height: 44px; }
#treasury-screen .screen-filters { border-top: 1px solid var(--line); margin: .5rem 0; }
#treasury-screen .treasury-criteria { margin: .7rem 0 .15rem; font-weight:600; }
#treasury-screen summary { min-height: 44px; padding: .75rem 0; }
#treasury-screen .treasury-columns { border: 0; margin: .75rem 0; padding: 0; }
#treasury-screen .treasury-columns label { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem .5rem 0; }
#treasury-screen .treasury-columns input { width: 1rem; height: 1rem; }
#treasury-screen .page-actions { flex-wrap: wrap; gap:.75rem; margin:.75rem 0; }
#treasury-screen .table-wrap { max-width:100%; }
#treasury-screen table { width:100%; }
#treasury-screen td, #treasury-screen th { vertical-align:top; }
#treasury-screen tbody th { white-space:normal; min-width:5.6rem; }
#treasury-screen table small { display:block; margin-top:.2rem; color:var(--muted); font: .78rem/1.35 "DM Sans",sans-serif; white-space:normal; }
@media (max-width:640px) {
  #treasury-screen .treasury-filters { grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr)); }
  #treasury-screen .table-wrap :is(th,td) { padding:.5rem .35rem; }
  #treasury-screen table:has(th:nth-child(4)) { min-width:32rem; }
}
#treasury-auctions .auction-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
#treasury-auctions :is(input,select) { min-width: 0; width: 100%; }
#treasury-auctions .auction-row { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap:.5rem; border-top:1px solid var(--line); padding:.7rem 0; }
#treasury-auctions .auction-row > div:last-child { text-align:right; }
#treasury-auctions .auction-row small, #treasury-auctions .auction-cash output { display:block; }
#treasury-auctions .auction-cash { margin: 1rem 0; }
#treasury-auctions .auction-cash label { display:block; max-width:16rem; }
#treasury-auctions .auction-cash output { font-variant-numeric:tabular-nums; margin-top:.5rem; }
#treasury-auctions .private-stat strong { overflow-wrap:anywhere; }
#treasury-auctions > a { display:inline-block; margin:.6rem .75rem .4rem 0; }
#treasury-auctions .page-actions { flex-wrap:wrap; margin:.5rem 0; }
#treasury-auctions .table-wrap { max-width:100%; }
#treasury-auctions .table-wrap table { table-layout:fixed; }
#treasury-auctions .table-wrap :is(td,th) { white-space:normal; overflow-wrap:anywhere; padding:.55rem .65rem; }
#treasury-auctions .table-wrap tr > :first-child { width:45%; }
#treasury-auctions .table-wrap small { display:block; }
#treasury-auctions .auction-comparison { table-layout:fixed; width:100%; }
#treasury-auctions .auction-comparison :is(td,th) { white-space:normal; overflow-wrap:anywhere; padding:.4rem .55rem; text-align:left; }
#treasury-auctions .auction-comparison small { display:block; color:var(--muted); }
#treasury-auctions .auction-comparison td { font-variant-numeric:tabular-nums; }
#treasury-auctions details form { padding:.5rem 0; }
@media(max-width:600px) {
  #treasury-auctions .auction-controls { gap:.5rem; }
  #treasury-auctions .auction-controls label:first-child { grid-column:1/-1; }
  #treasury-auctions .auction-controls label:last-child { grid-column:1/-1; }
  #treasury-auctions .private-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
#economic-calendar .econ-lead h2 { margin: .15rem 0; }
#economic-calendar .econ-lead h2 a { color: inherit; font: inherit; }
#economic-calendar .econ-lead p { margin: .3rem 0; }
#economic-calendar .econ-time { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
#economic-calendar .econ-controls { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1.4fr); }
#economic-calendar select { width: 100%; min-width: 0; }
#price-alerts .alert-close { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .7rem; margin: .35rem 0 1rem; }
#price-alerts .alert-close strong { font-size: 1.65rem; font-variant-numeric: tabular-nums; }
#price-alerts input { max-width: 100%; }
#price-alerts h3 { margin: 1.25rem 0 .4rem; }
#price-alerts .ui-btn { margin: .25rem 0; }
#economic-calendar .econ-row { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,2fr) auto; align-items: center; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--line); }
#economic-calendar .econ-row time { font-variant-numeric: tabular-nums; }
#economic-calendar .econ-result dl { display: flex; flex-wrap: wrap; gap: 1.25rem; }
#economic-calendar .econ-result dd { margin: .25rem 0; }
#economic-calendar .econ-result dd:not(.sub) { font-size: 1.3rem; }
#economic-calendar .page-actions { margin: 1rem 0; flex-wrap: wrap; }
#economic-calendar > a { display: inline-block; margin: .25rem .8rem .25rem 0; }
@media(max-width:650px) {
  #economic-calendar .econ-controls { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  #economic-calendar .econ-controls label:first-child { grid-column: 1/-1; }
  #economic-calendar .econ-row { grid-template-columns: minmax(0,1fr) auto; gap:.3rem .5rem; }
  #economic-calendar .econ-row time { grid-column: 1/-1; font-size:.85rem; }
}

#us-actions .action-controls { display:flex; gap:.75rem; align-items:end; flex-wrap:wrap; margin:1rem 0; }
#us-actions label { display:grid; gap:.3rem; max-width:22rem; }
#us-actions input,#us-actions select { min-width:0; width:100%; box-sizing:border-box; }
#us-actions .action-matches,#us-actions .action-sections { display:flex; flex-wrap:wrap; gap:.5rem 1rem; margin:.8rem 0; }
#us-actions .action-matches:not(:empty) { display:grid; }
#us-actions .action-sections [aria-current] { text-decoration:underline; text-underline-offset:.3rem; }
#us-actions .action-headline { margin:.85rem 0 1rem; }
#us-actions .action-headline p { margin:.3rem 0; }
#us-actions .action-calendar { margin:.8rem 0; }
#us-actions .action-calendar h3 { margin:1rem 0 .3rem; font-size:1rem; }
#us-actions .action-calendar p { max-width:70ch; }
#us-actions .action-calendar label { display:grid; gap:.3rem; max-width:45rem; }
#us-actions .action-calendar input { width:100%; min-width:0; margin-bottom:.6rem; }
.futures-strip { padding:1.15rem 1.25rem .45rem; }
.futures-heading { display:flex; gap:.6rem 1.5rem; align-items:baseline; justify-content:space-between; flex-wrap:wrap; }
.futures-heading h3 { margin:0; }
.snapshot-controls { display:flex; gap:.4rem; flex-wrap:wrap; margin:.5rem 0 1rem; }
.snapshot-controls .ui-btn { border-radius: 2rem; }
.snapshot-controls [aria-pressed="true"] { background:var(--selected); color:var(--mint); border-color:var(--mint); }
.futures-strip > h2 { margin:0; }
.futures-strip .sub { margin:.35rem 0 .6rem; }
.futures-strip > p { margin:.3rem 0 .8rem; }
.futures-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(9rem,1fr)); gap:.6rem; margin:.8rem 0; }
.futures-cards > * { display:grid; align-content:start; gap:.3rem; border-left:2px solid var(--line); padding:.2rem .7rem; min-width:0; }
.futures-cards > a { background:#f5f8ee; border:1px solid #dce4d4; border-radius:.8rem; padding:.65rem .8rem; }
.futures-cards > a:hover { background:#ecf7db; border-color:var(--mint); }
.futures-cards small.pos { color:var(--up); }
.futures-cards small.neg { color:var(--down); }
.futures-cards strong { font:500 clamp(1.15rem,1.7vw,1.65rem) var(--mono); overflow-wrap:anywhere; }
.futures-cards small,#futures-desk small { color:var(--muted); }
#home-index-quotes { border-top:1px solid var(--line); padding:.75rem 1.25rem; }
#home-index-quotes summary,#futures-desk summary { cursor:pointer; color:var(--mint); }
#futures-desk .data-controls { margin:1rem 0; }
#account-values { padding:clamp(1rem, 3vw, 2rem); }
#account-values .data-controls { margin:1rem 0; }
#account-values .account-value-total { margin-top:.75rem; padding:1.1rem 1.25rem; border:1px solid var(--line); border-radius:1rem; background: var(--card); }
#account-values .account-value-total .quote-big { display:block; margin:.3rem 0; overflow-wrap:anywhere; }
#account-values .account-value-total h3 { margin:0; }
#account-values .account-value-mix { display:grid; align-content:center; min-width:0; gap:.2rem; margin-top:.7rem; overflow-wrap:anywhere; }
#account-values .account-share-bar { display:flex; height:.5rem; border-radius:2rem; overflow:hidden; margin-top:.25rem; }
#account-values .account-share-bar span { background:#16644c; }
#account-values .account-share-bar span:nth-child(2) { background:#8780b6; }
#account-values .account-share-bar span:nth-child(3) { background:#6f9d37; }
#account-values .account-share-bar span:nth-child(4) { background:#86968b; }
@media (min-width:760px) {
  #account-values .account-value-total:has(.account-value-mix) { display:grid; grid-template-columns: minmax(0,1fr) minmax(12rem,32%); column-gap:1.5rem; }
  #account-values .account-value-mix { grid-column:2; grid-row:1 / 4; margin:0; padding-inline:1rem; }
}
#account-values .account-value-table { min-width:0; width:100%; }
#account-values .table-wrap { margin:.85rem 0; }
#account-values .account-value-table tbody td:last-child { font-family:inherit; }
#account-values details { margin:1rem 0; max-width:70rem; }
#account-values summary { color:var(--mint); cursor:pointer; }
#account-values details p { max-width:78ch; margin:.65rem 0; }
#account-values > .ui-btn { margin:.3rem .9rem .3rem 0; }
@media (max-width:700px) {
  #account-values .account-value-table, #account-values .account-value-table tbody, #account-values .account-value-table tr { display:block; width:100%; }
  #account-values .account-value-table thead { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
  #account-values .account-value-table tbody tr { padding:.5rem 0; border-bottom:1px solid var(--line); }
  #account-values .account-value-table tbody th { display:block; position:static; max-width:none; white-space:normal; overflow-wrap:anywhere; }
  #account-values .account-value-table tbody td { display:flex; align-items:baseline; justify-content:space-between; gap:.7rem; padding:.2rem .6rem; white-space:normal; border:0; overflow-wrap:anywhere; }
  #account-values .account-value-table td::before { content:attr(data-heading) / ""; color:var(--muted); text-align:left; }
  #account-values .table-wrap { max-height:none; }
}
#futures-desk .futures-instrument { margin:.7rem 0 .25rem; font-size:clamp(1.4rem,3vw,2.2rem); font-weight:720; }
#futures-desk .futures-grid th:first-child { min-width:8rem; }
#futures-desk .futures-grid small { display:block; margin-top:.2rem; font: .75rem var(--mono); }
#futures-desk .ui-btn { margin:.5rem .5rem .5rem 0; }
#futures-desk details { margin:1rem 0; }
#futures-desk details p { max-width:75ch; }
.futures-trend { margin:1rem 0; max-width:56rem; }
.futures-trend svg { display:block; width:100%; background:var(--card); color:var(--mint); }
.futures-trend figcaption { margin-top:.35rem; }
.futures-trend label { display:grid; gap:.25rem; margin:.7rem 0 .25rem; }
.futures-trend input { width:100%; accent-color:var(--mint); }
.futures-trend output { font: .84rem var(--mono); }
@media(max-width:640px){
  .futures-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .futures-strip { padding:.9rem; }
  .futures-cards > * { padding:.2rem .45rem; }
  #futures-desk .futures-grid,#futures-desk .futures-grid tbody,#futures-desk .futures-grid tr { display:block; width:100%; min-width:0; }
  #futures-desk .futures-grid thead { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
  #futures-desk .futures-grid tbody th { display:block; position:static; white-space:normal; max-width:none; }
  #futures-desk .futures-grid tbody td { display:flex; justify-content:space-between; gap:.6rem; padding:.2rem .6rem; border:0; white-space:normal; }
  #futures-desk .futures-grid td::before { content:attr(data-heading) / ""; color:var(--muted); text-align:left; }
  #futures-desk .futures-grid tbody tr { padding:.45rem 0; border-bottom:1px solid var(--line); }
  #futures-desk .table-wrap:has(tbody tr:last-child:nth-child(-n+4)) { max-height:none; }
}
#corporate-agenda .agenda-steps,#corporate-agenda .agenda-days { display:flex; flex-wrap:wrap; gap:.4rem; margin:.8rem 0; }
#corporate-agenda .agenda-days .ui-btn { flex-direction:column; min-width:0; }
#corporate-agenda .agenda-days { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); }
#corporate-agenda .agenda-filters { margin:.6rem 0; }
#corporate-agenda .agenda-days [aria-pressed="true"] { background:var(--mint); color:white; }
#corporate-agenda .agenda-day ul { list-style:none; padding:0; }
#corporate-agenda .agenda-day li { display:grid; grid-template-columns:minmax(7rem,10rem) 1fr auto; gap:.6rem; border-top:1px solid var(--line); padding:.65rem 0; }
#corporate-agenda .agenda-day p { margin:.15rem 0 0; }
#corporate-agenda .agenda-stamp { font: .82rem var(--mono); color:var(--muted); }
#corporate-agenda details { margin:1rem 0; }
#corporate-agenda summary { cursor:pointer; }
@media(max-width:620px){
  #corporate-agenda .agenda-days { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
  #corporate-agenda .agenda-days .ui-btn { min-width:0; padding-inline:.15rem; }
  #corporate-agenda .agenda-day li { grid-template-columns:minmax(0,1fr) auto; }
  #corporate-agenda .agenda-stamp { grid-column:1/-1; }
  #corporate-agenda .agenda-day h3 { margin:.6rem 0 .25rem; }
  #corporate-agenda .agenda-day ul { margin:.25rem 0 .8rem; }
  #corporate-agenda .agenda-days .ui-btn { min-height:44px; gap:.15rem; }
}
#us-actions .action-lead { display:block; font-size:clamp(1.15rem,2vw,1.65rem); font-weight:650; margin:.35rem 0 1rem; }
#us-actions h3 { margin:1.1rem 0 .5rem; }
#us-actions .ui-btn { margin:.3rem 0; }
#us-actions .table-wrap { margin:.65rem 0; }
#us-actions summary { cursor:pointer; color:var(--mint); }
#us-actions .action-split-example { border-top:1px solid var(--line); padding:.85rem 0; }
#us-actions .action-split-example label { margin-top:.75rem; }
#us-actions .us-actions-table th[scope=row] { white-space:normal; }
#us-actions .us-actions-table td { font-variant-numeric:tabular-nums; }
@media(max-width:680px) {
  #us-actions .action-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:end; }
  #us-actions .action-controls label:nth-child(-n+2) { grid-column:1/-1; }
  #us-actions .action-controls button { justify-self:start; }
  #us-actions .table-wrap { overflow:visible; }
  #us-actions .us-actions-table,#us-actions .us-actions-table tbody,#us-actions .us-actions-table tr { display:block; min-width:0; width:100%; }
  #us-actions .us-actions-table thead { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
  #us-actions .us-actions-table tbody tr { padding:.5rem 0; border-bottom:1px solid var(--line); }
  #us-actions .us-actions-table tbody th { display:block; position:static; max-width:none; white-space:normal; }
  #us-actions .us-actions-table tbody td { display:flex; justify-content:space-between; gap:.7rem; white-space:normal; border:0; padding:.25rem .55rem; }
  #us-actions .us-actions-table td::before { content:attr(data-heading) / ""; color:var(--muted); text-align:left; }
}

#investor-return { border-bottom:1px solid var(--line); padding:1rem 0; margin-bottom:1.25rem; }
#investor-return h3 { margin:.65rem 0 .4rem; }
#management-guidance { max-width: 74rem; }
#money-market { padding:clamp(.85rem,2vw,1.6rem); }
#money-market h2 { margin:.6rem 0 .2rem; }
#money-market label { display:grid; gap:.3rem; width:fit-content; max-width:100%; }
#money-market .mm-controls, #money-market .mm-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1rem; margin:.85rem 0; }
.mm-lead,.mm-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; margin:1rem 0; }
.mm-stat { display:grid; gap:.25rem; align-content:start; background: var(--card); border:1px solid var(--line); border-radius:1rem; padding:1rem; }
.mm-stat strong { font-size:clamp(1.45rem,3.5vw,3.25rem); line-height:1.1; letter-spacing:-.055em; overflow-wrap:anywhere; }
.mm-stat small,.mm-facts dt,#money-market .mm-table small { color:var(--muted); }
.mm-facts { grid-template-columns:repeat(auto-fit,minmax(min(12rem,100%),1fr)); }
.mm-facts dd { margin:.2rem 0; font-weight:650; overflow-wrap:anywhere; }
.buyback-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr)); gap:.65rem; margin:1rem 0; }
.buyback-stat { display:grid; align-content:start; gap:.35rem; padding:1rem; border:1px solid var(--line); border-radius:1rem; background:#fff; }
.buyback-stat:first-child { background: var(--card); border-color:var(--line); }
.buyback-stat strong,.buyback-figure { font-size:clamp(1.25rem,2.2vw,2rem); line-height:1.18; letter-spacing:-.045em; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.buyback-stat small { color:var(--muted); }
.buyback-stat:first-child strong { font-size:clamp(1.75rem,3.5vw,3.2rem); line-height:1.05; }
.buyback-summary { border-block:1px solid var(--line); margin:.7rem 0; padding:.7rem 0; }
.buyback-summary > * { margin-block:.3rem; }
.buyback-plot { margin:1rem 0; padding:1rem; border-radius:1rem; border:1px solid var(--line); background: var(--card); }
.buyback-plot figcaption { font-weight:650; }
.buyback-plot svg { width:100%; height:120px; display:block; overflow:visible; margin:.5rem 0; border-block:1px solid #ddd5eb; }
.buyback-plot circle { fill:#64478e; }
.buyback-bounds { display:flex; justify-content:space-between; gap:.5rem; font-variant-numeric:tabular-nums; }
.buyback-controls { display:flex; flex-wrap:wrap; gap:.6rem 1rem; margin:1rem 0; }
.buyback-controls label { display:grid; gap:.25rem; max-width:100%; }
.buyback-controls select { width:100%; min-width:0; min-height:44px; }
#treasury-buybacks > a { display:inline-block; margin:.5rem 1rem .5rem 0; }
.buyback-table { width:100%; margin:.7rem 0; }
.buyback-table :is(td,th) { text-align:right; font-variant-numeric:tabular-nums; }
.buyback-table tr > :first-child { text-align:left; }
@media(max-width:400px) {
  #treasury-buybacks .buyback-stats { grid-template-columns:minmax(0,1fr); }
  .buyback-stat:not(:first-child) { display:flex; flex-wrap:wrap; align-items:baseline; gap:.2rem .6rem; }
  .buyback-stat:not(:first-child) strong { margin-left:auto; white-space:nowrap; }
  .buyback-stat:not(:first-child) small { flex:0 0 100%; }
}
@media(max-width:700px) {
  .buyback-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .buyback-stat:first-child { grid-column:1/-1; }
  .buyback-stat { padding:.7rem; }
  .buyback-controls label { width:100%; }
  .buyback-table, .buyback-table tbody, .buyback-table tr { display:block; min-width:0; }
  .buyback-table thead { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
  .buyback-table tr { border-block-start:1px solid var(--line); padding:.45rem 0; }
  .buyback-table th[scope=row] { position:static; display:block; padding:.45rem .2rem; }
  .buyback-table td { display:flex; gap:.5rem; justify-content:space-between; border:0; white-space:normal; padding:.22rem .2rem; }
  .buyback-table td::before { content:attr(data-heading) / ""; color:var(--muted); text-align:left; }
}
#money-market .mm-table small { display:block; margin-top:.15rem; }
#money-market .table-wrap { margin:.7rem 0; }
#money-market :is(.mm-table,.mm-history) { width:100%; min-width:0; }
#money-market .mm-table th:first-child { white-space:normal; overflow-wrap:anywhere; }
#money-market summary { cursor:pointer; margin:.85rem 0; }
@media(max-width:680px) {
  #money-market .mm-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  #money-market .mm-controls label { width:100%; }
  #money-market .mm-controls label:first-child { grid-column:1/-1; }
  #money-market .mm-controls :is(input,select) { width:100%; }
  #money-market .mm-table,#money-market .mm-table tbody,#money-market .mm-table tr { display:block; }
  #money-market .mm-table thead { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
  #money-market .mm-table tr { padding:.5rem 0; border-bottom:1px solid var(--line); }
  #money-market .mm-table th[scope=row] { display:block; max-width:none; position:static; }
  #money-market .mm-table td { display:flex; justify-content:space-between; gap:.45rem; white-space:normal; border:none; padding:.2rem .4rem; }
  #money-market .mm-table td::before { content:attr(data-heading) / ""; text-align:left; color:var(--muted); }
  #money-market .mm-history { table-layout:fixed; }
  #money-market .mm-history :is(th,td) { position:static; white-space:normal; overflow-wrap:anywhere; padding:.3rem .18rem; font: .79rem/1.4 "DM Sans", sans-serif; }
  .mm-stat { padding:.65rem; }
}
.guidance-controls { display: flex; flex-wrap: wrap; gap: .65rem 1rem; margin: 1rem 0; }
.guidance-controls label { display: grid; gap: .3rem; }
#management-guidance .guidance-measure {
  margin: 1rem 0;
  padding: clamp(.85rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
}
#management-guidance .guidance-number { display: block; font-size: clamp(1.65rem,3.4vw,3rem); font-variant-numeric: tabular-nums; letter-spacing: -.055em; line-height: 1.15; }
#management-guidance .table-wrap { margin: .75rem 0 0; }
#management-guidance .guidance-table { width: 100%; min-width: 0; }
#management-guidance .guidance-table :is(th,td) { position: static; padding: .5rem .3rem; white-space: normal; }
#management-guidance > .ui-btn { margin: 1rem .4rem 0 0; }
@media (min-width: 920px) {
  .guidance-results:has(.guidance-measure:nth-child(2)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .guidance-results > p { grid-column: 1 / -1; }
}
@media (max-width: 550px) {
  .guidance-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guidance-controls label:first-child { grid-column: 1/-1; }
  #management-guidance .guidance-table { font-size: .79rem; }
}
#investor-return p { margin:.35rem 0 .65rem; }
#investor-return p { max-width:76ch; }
#investor-return .table-wrap:has(tbody tr:last-child:nth-child(-n+4)) { max-height:none; }
#investor-return .investor-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem; margin:.75rem 0 1.2rem; }
#investor-return .investor-stats div { padding:.5rem .8rem; border-left:2px solid var(--line); }
#investor-return .investor-stats div:last-child { border-color:var(--mint); }
#investor-return .investor-stats strong,#investor-return .investor-result { display:block; font-size:clamp(1.12rem,2vw,1.6rem); overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
#investor-return summary { color:var(--mint); cursor:pointer; }
#investor-return .ui-btn { margin:.5rem 0; }
@media(max-width:700px) {
 #investor-return .investor-stats { grid-template-columns:minmax(0,1fr); gap:.25rem; }
 #investor-return .investor-stats div { display:flex; justify-content:space-between; align-items:baseline; gap:.6rem; }
 #investor-return .investor-stats strong { text-align:right; }
 #investor-return .investor-table,#investor-return .investor-table tbody,#investor-return .investor-table tr { display:block; min-width:0; width:100%; }
 #investor-return .investor-table thead { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
 #investor-return .investor-table tbody tr { padding:.5rem 0; border-bottom:1px solid var(--line); }
 #investor-return .investor-table tbody th { display:block; position:static; max-width:none; white-space:normal; }
 #investor-return .investor-table tbody td { display:flex; justify-content:space-between; gap:.7rem; padding:.2rem .6rem; white-space:normal; border:0; }
 #investor-return .investor-table td::before { content:attr(data-heading) / ""; color:var(--muted); text-align:left; }
}

/* Continuous stock page, light only: one white editorial sheet. A concise masthead, the
   jump rail, the price spread (provider quote and chart on one unframed surface, closed by
   a single utility row), then the reader's ruled sections. No cards. */
body:has(main > .stock-title) { background: var(--panel); }

/* Masthead. Where no provider quote carries the identity (other landed views, or a quote
   that is slow or unavailable) the native title leads at full strength. */
.stock-title { flex-wrap: wrap; align-items: flex-end; gap: .5rem 1.5rem; margin-bottom: clamp(.75rem, 1.6vw, 1.25rem); }
.stock-title > div:first-child { flex: 1 1 14rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; }
.stock-title h1 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 720; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.stock-title .sub { margin-top: 0; gap: .25rem .65rem; font-size: .9375rem; }
/* Ticker as plain type with a hairline divider, not a chip. */
.stock-title .ticker { padding: 0 .65rem 0 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: none; color: var(--ink); font-size: .875em; font-weight: 500; }
.stock-title .page-actions { flex: none; }
/* Beside the provider quote, the quote's own logo, ticker and full name are the one strong
   identity; the h1 (still the page title) steps back to a context line with Follow. */
.stock-title--quote { align-items: center; margin-bottom: .5rem; }
.stock-title--quote h1 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.stock-title--quote .sub { font-size: .875rem; }
main:has(#stock-quote-feed:is([data-feed-state="slow"], [data-feed-state="unavailable"])) > .stock-title--quote { align-items: flex-end; margin-bottom: clamp(.75rem, 1.6vw, 1.25rem); }
main:has(#stock-quote-feed:is([data-feed-state="slow"], [data-feed-state="unavailable"])) > .stock-title--quote h1 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 720; line-height: 1.08; letter-spacing: -.045em; }
main:has(#stock-quote-feed:is([data-feed-state="slow"], [data-feed-state="unavailable"])) > .stock-title--quote .sub { font-size: .9375rem; }

/* Jump rail: the page's section index. Quiet labels; the landed view carries an ink bar on
   the rule. More opens the remaining research over the page. */
.stock-jumps { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.stock-jump-label { flex: none; color: var(--muted); font-size: .8125rem; }
.stock-jumps > .tabs { flex: 1 1 18rem; min-width: 0; gap: 0 clamp(1.1rem, 2vw, 1.75rem); }
.stock-jumps .tabs a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0; color: var(--muted); font-size: .9375rem; font-weight: 550; border: 0; border-radius: 0; background: transparent; }
.stock-jumps > .tabs a.active { color: var(--ink); font-weight: 650; box-shadow: inset 0 -2px 0 var(--ink); }
.stock-jumps .tabs a:hover { color: var(--mint); }
.stock-jumps details { flex: none; margin: 0; }
.stock-jumps summary { padding: .625rem 0; font-size: .875rem; }
.stock-jumps details[open] > .tabs { position: absolute; z-index: 6; top: calc(100% + .375rem); left: 0; right: 0; margin: 0; padding: .375rem 1.25rem; gap: 0 1.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; box-shadow: 0 16px 32px rgb(23 36 31 / 12%); }
.stock-jumps details[open] > .tabs a { min-height: 2.5rem; }
@media (min-width: 701px) {
  /* The remaining research reads as an index in even columns. */
  .stock-jumps details[open] > .tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
}
@media (max-width: 700px) {
  /* Visually hidden, still read: the "On this page" label and the full "More … research" name. */
  .stock-jump-label, .stock-jump-extra { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* One row of whole labels (the app moves the other sections under More). If a landed view
     adds a label, or text is enlarged, the row wraps; words never get cut. */
  .stock-jumps { justify-content: space-between; gap: 0 1rem; }
  .stock-jumps > .tabs { flex: 0 1 auto; gap: 0 1.1rem; }
  .stock-jumps .tabs a { min-height: 2.5rem; white-space: nowrap; }
}
@media (max-width: 360px) {
  .stock-jumps, .stock-jumps > .tabs { column-gap: .8rem; }
  .stock-jumps .tabs a, .stock-jumps summary { font-size: .875rem; }
}

/* Price spread: the provider quote and chart share one unframed white surface. Widgets use
   the provider's documented transparent mode (research.js `flush`) and the app panels
   around them drop their chrome. Provider frames are only ever made wider than their
   column, never cropped or covered. --tv-inset is the quote widget's own inner padding
   (20px, measured from its rendered frame), used to align its content optically. */
.stock-quote { --tv-inset: 20px; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: .75rem; align-items: start; margin: 0; padding-top: clamp(1rem, 2.4vw, 2rem); min-width: 0; scroll-margin-top: .75rem; }
.stock-quote:focus-visible, .stock-quote-chart:focus-visible, .stock-quote .open-research:focus-visible { outline-offset: -2px; }
.stock-quote .provider { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.stock-quote-feed:empty { min-height: 15rem; }
.stock-quote-chart { min-width: 0; scroll-margin-top: .75rem; }
.stock-quote-chart .provider:empty { min-height: 23.5rem; }
.stock-quote .tradingview-widget-copyright { margin: .375rem 0 0; font-size: .8125rem; }
.stock-quote .quote-research-link:not([hidden]) { margin: .75rem 0 0; }
/* Unavailable quote: the dated close stands in the quote's place at full strength. */
.stock-quote-feed .archive-quote[open] { margin: .25rem 0 .5rem; }
@media (min-width: 701px) {
  /* The quote frame extends by the widget's own inset so its logo and price line up with
     the masthead, rail and credit. */
  .stock-quote-feed .tradingview-widget-container__widget { margin-inline: calc(-1 * var(--tv-inset)); }
}
/* One utility row closes the spread: exchange schedule, chart and filing links, then the
   quote feed's tray (dated close, Quote feed options). It follows the chart, so price and
   plot lead on every screen. */
.stock-quote-tools { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1.25rem; min-width: 0; margin-top: clamp(.5rem, 1.5vw, 1rem); padding-top: .625rem; border-top: 1px solid var(--line); font-size: .875rem; }
.stock-quote-tools #quote-session { display: contents; }
.stock-quote-tools > a, .stock-quote-tools #quote-session > a { display: inline-flex; align-items: center; min-height: 2rem; }
.session-schedule { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .5rem; }
.session-label { color: var(--muted); font-size: .8125rem; }
.session-schedule .session-link { font-weight: 600; }
.stock-quote-tray { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: baseline; gap: 0 1.25rem; min-width: 0; }
.stock-quote-tray:empty { display: none; }
.stock-quote-tray > [open] { flex-basis: 100%; }
.stock-quote-tray .archive-quote { margin: 0; padding: .375rem 0; border: 0; border-radius: 0; background: none; color: var(--muted); font-size: .8125rem; }
.stock-quote-tray .archive-quote summary { font-weight: 550; }
.stock-quote-tray .archive-quote[open] { margin: .25rem 0 .5rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--card); color: var(--ink); }
.stock-quote-tray .archive-quote[open] summary { color: var(--muted); }
.stock-quote-tray .archive-quote[open] strong { font-size: 1.375rem; letter-spacing: -.03em; }
@media (min-width: 1100px) {
  /* Two columns under one top edge, divided by a column rule: quote over its utility row on
     the left, chart full height on the right. Price and plot share the first screen. */
  .stock-quote { --gutter: clamp(2rem, 3.2vw, 3.5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: var(--gutter); }
  .stock-quote > .stock-quote-feed { grid-area: 1 / 1; }
  .stock-quote--chart { grid-template-rows: auto 1fr auto; }
  .stock-quote--chart > .stock-quote-chart { grid-area: 1 / 2 / 4 / 3; align-self: stretch; padding-left: var(--gutter); border-left: 1px solid var(--line); }
  .stock-quote--chart > .stock-quote-tools { grid-area: 3 / 1; }
  /* News: the same quote column, its utilities beside it at the column rule. */
  .stock-quote:not(.stock-quote--chart) > .stock-quote-tools { grid-area: 1 / 2; align-self: stretch; align-content: flex-end; margin: 0; padding: 0 0 0 var(--gutter); border: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 700px) {
  /* Phone: a one-line masthead and the rail, then quote and chart edge to edge, so the plot
     starts within the first screen. */
  main:has(> .stock-title) { padding-top: .5rem; }
  .stock-title { flex-wrap: nowrap; align-items: flex-start; gap: .75rem; margin-bottom: .5rem; }
  .stock-title > div:first-child { flex: 1 1 auto; min-width: 0; gap: 0 .6rem; }
  .stock-title .sub { font-size: .8125rem; line-height: 1.35; }
  .stock-title--quote { align-items: center; margin-bottom: .25rem; }
  .stock-title--quote h1 { font-size: 1.125rem; }
  main:has(#stock-quote-feed:is([data-feed-state="slow"], [data-feed-state="unavailable"])) > .stock-title--quote { align-items: flex-start; margin-bottom: .5rem; }
  /* Follow stays on the heading row: a star button named by its visually hidden label. */
  .stock-title .page-actions { flex-wrap: nowrap; }
  .stock-title .page-actions .ui-btn { position: relative; width: 2.25rem; height: 2.25rem; padding: 0; gap: 0; }
  .stock-title .page-actions .ui-btn .icon { width: 1.25rem; height: 1.25rem; }
  .stock-title .follow-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* main is 94% wide here: the spread spans the full screen, so provider frames get every
     available pixel (their own inner padding insets the content). App rows keep the 3%
     page gutter. */
  .stock-quote { margin-inline: calc((100% - 100% / .94) / 2); padding-top: .5rem; row-gap: .25rem; }
  .stock-quote .open-research > [role=status],
  .stock-quote .tradingview-widget-copyright { padding-inline: 3vw; }
  .stock-quote .open-research > :is(.archive-quote, .quote-research-link) { margin-inline: 3vw; }
  .stock-quote > .stock-quote-tools { margin-inline: 3vw; }
}
@media (max-width: 410px) {
  /* Stock pages: the six global routes share one compact row instead of two. */
  :root:has(.stock-title) #navigation { display: flex; justify-content: space-between; gap: .4rem; margin-top: 2px; }
  :root:has(.stock-title) #navigation a { flex: none; padding: .45rem 0; font-size: .8rem; }
}

/* Reader: ruled sections on the sheet, no cards. Lead research (financials, industry
   comparison, news) opens under a heavy ink rule with a major DM Sans heading; compact
   research follows in paired columns under hairlines. Every head is the same: title left,
   Full view right on the title's baseline. */
.stock-reader { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 4rem); align-items: start; margin-top: clamp(2.5rem, 5vw, 4.5rem); min-width: 0; }
@media (min-width: 1000px) {
  .stock-reader--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stock-reader--grid > .stock-section:not(.stock-section--half) { grid-column: 1 / -1; }
}
#stock-primary { min-width: 0; }
.stock-section { min-width: 0; scroll-margin-top: .75rem; padding-top: clamp(.75rem, 1.4vw, 1.125rem); border-top: 1px solid var(--line); }
.stock-section--lead { border-top: 2px solid var(--ink); }
.stock-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1.5rem; margin-bottom: clamp(.875rem, 1.6vw, 1.375rem); }
.stock-section-head h2 { margin: 0; font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); font-weight: 650; line-height: 1.2; letter-spacing: -.03em; text-wrap: balance; }
.stock-section--lead > .stock-section-head h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 680; line-height: 1.1; letter-spacing: -.045em; }
.stock-section-head h2:focus { outline: none; }
.stock-section-head h2:focus-visible { outline: 2px solid var(--mint); outline-offset: .3rem; border-radius: 2px; }
.stock-section-head a { display: inline-flex; align-items: center; gap: .375rem; min-height: 2rem; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.stock-section-head a::after { content: "\2192" / ""; }
.stock-section-body { display: grid; gap: 1.25rem; min-width: 0; }
.stock-section-body:empty { min-height: 10rem; }
.stock-section--half > .stock-section-body:empty { min-height: 8rem; }
/* App panels in a section drop their card chrome, so modules sit on the sheet aligned to
   the heading. The matching 6px padding and negative margin keep focus rings inside the
   panel's clip. Module styling inside is unchanged. */
.stock-section-body > :is(.source-panel, .provider) { margin: -6px; padding: 6px; border: 0; border-radius: 0; background: none; }
.stock-section-body > .issuer-outlook-summary { margin: 0; }
.stock-section-body > * { min-width: 0; }
.stock-section-body caption { padding-bottom: .6rem; text-align: left; color: var(--muted); }
.stock-section-body .pay-highlight { grid-template-columns: minmax(0, 1fr); overflow-wrap: anywhere; }
.stock-section-body .screen-filters :is(label, input) { min-width: 0; max-width: 100%; }
.stock-section-body [data-recent-history] table { width: 100%; table-layout: fixed; }
.stock-section-body [data-recent-history] th { white-space: normal; }
.stock-section-body .price-plot { grid-template-columns: minmax(0, 1fr); }
.stock-section-body .price-plot :is(label, input, output) { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }

/* Compact research previews on the scrolling quote page.
   Every rule is scoped to .stock-reader so dedicated full routes are unchanged.
   Custom-property fallbacks keep the rules usable before integration. */

.stock-reader .research-compact {
  display: grid;
  gap: 0.625rem;
  min-width: 0;
}
.stock-reader .research-compact p,
.stock-reader .research-compact h3 {
  margin: 0;
}
.stock-reader .research-compact h3 {
  font-size: 0.875rem;
  font-weight: 600;
}
.stock-reader .research-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: 0.8125rem;
}
.stock-reader .research-list {
  margin: 0.25rem 0 0.5rem;
  padding-left: 1.125rem;
}

/* Financials: paired quarterly bars */
.stock-reader .fin-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}
.stock-reader .fin-trend {
  margin: 0;
  min-width: 0;
}
.stock-reader .fin-trend figcaption {
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted, #5f6b78);
}
.stock-reader .fin-trend figcaption strong {
  font-size: 0.8125rem;
  color: var(--text, inherit);
}
/* Latest value as text, shown above its bars */
.stock-reader .fin-latest {
  display: block;
  margin-top: 0.125rem;
}
.stock-reader .fin-latest-value {
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text, inherit);
}
.stock-reader .fin-latest.is-negative .fin-latest-value {
  color: var(--negative, #b3261e);
}
.stock-reader .fin-latest small {
  font-size: 0.75rem;
}
.stock-reader .fin-latest .fin-status {
  font-size: 0.875rem;
}
.stock-reader .fin-bars {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stock-reader .fin-bar {
  display: grid;
  grid-template-rows: auto 4.25rem auto;
  gap: 0.125rem;
  min-width: 0;
  font-size: 0.75rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.stock-reader .fin-bar-value {
  font-weight: 600;
  white-space: nowrap;
}
.stock-reader .fin-bar-period {
  color: var(--muted, #5f6b78);
  white-space: nowrap;
}
.stock-reader .fin-bar-track {
  position: relative;
}
.stock-reader .fin-bar-track::after {
  content: "";
  position: absolute;
  top: var(--fin-base, 100%);
  right: 0;
  left: 0;
  border-top: 1px solid var(--line, #c9d0d8);
}
.stock-reader .fin-bar-fill {
  position: absolute;
  top: var(--fin-top, 100%);
  right: 22%;
  left: 22%;
  height: var(--fin-size, 0%);
  min-height: 1px;
  border-radius: 2px;
  background: var(--accent, #3b6fb6);
}
.stock-reader .fin-bar:last-child .fin-bar-fill {
  background: var(--accent-strong, #24548f);
}
.stock-reader .fin-bar.is-negative .fin-bar-fill {
  background: var(--negative, #c2412d);
}
.stock-reader .fin-bar.is-negative .fin-bar-value,
.stock-reader .fin-readout .is-negative {
  color: var(--negative, #b3261e);
}
.stock-reader .fin-bar.is-zero .fin-bar-fill {
  display: none;
}
.stock-reader .fin-bar.is-missing .fin-bar-track {
  border-radius: 2px;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 4px,
    rgba(120, 130, 140, 0.14) 4px 6px
  );
}
.stock-reader .fin-bar.is-missing .fin-bar-value {
  font-weight: 400;
  font-style: italic;
  color: var(--muted, #5f6b78);
}

/* Financials: exact-value readout */
.stock-reader .fin-readout {
  width: 100%;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.stock-reader .fin-readout th,
.stock-reader .fin-readout td {
  padding: 0.3125rem 0.5rem;
  vertical-align: top;
}
.stock-reader .fin-readout small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--muted, #5f6b78);
}
.stock-reader .fin-readout .fin-status,
.stock-reader .fin-latest .fin-status {
  font-style: italic;
  color: var(--muted, #5f6b78);
}
.stock-reader .fin-sources {
  display: grid;
  justify-items: end;
}
/* Exact table, source concept and method collapsed under one summary */
.stock-reader .fin-more > summary {
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
}
.stock-reader .fin-more > :not(summary) {
  margin-top: 0.5rem;
}

/* Ratios: compact statistics */
.stock-reader .fin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  margin: 0;
}
.stock-reader .fin-stats > div {
  padding-top: 0.375rem;
  border-top: 1px solid var(--line, #dde2e8);
}
.stock-reader .fin-stats dt {
  font-size: 0.75rem;
  color: var(--muted, #5f6b78);
}
.stock-reader .fin-stats dd {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stock-reader .fin-stats dd.fin-stat-note {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--muted, #5f6b78);
}
.stock-reader .fin-stats .is-negative dd:not(.fin-stat-note) {
  color: var(--negative, #b3261e);
}
.stock-reader .fin-stats .is-unavailable dd:not(.fin-stat-note) {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--muted, #5f6b78);
}

/* Institutional holders */
.stock-reader .holder-compact {
  gap: 0.5rem;
}
.stock-reader .holder-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  margin: 0;
}
.stock-reader .holder-stats > div {
  min-width: 0;
  padding-top: 0.375rem;
  border-top: 1px solid var(--line, #dde2e8);
}
.stock-reader .holder-stats dt {
  font-size: 0.75rem;
  color: var(--muted, #5f6b78);
}
.stock-reader .holder-stats dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stock-reader .holder-stats dd.holder-stat-note {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted, #5f6b78);
  overflow-wrap: anywhere;
}
.stock-reader .holder-stats .is-positive dd:not(.holder-stat-note) {
  color: var(--positive, #1d7a46);
}
.stock-reader .holder-stats .is-negative dd:not(.holder-stat-note) {
  color: var(--negative, #b3261e);
}
.stock-reader .holder-top {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* One line per manager: name · shares · filing link */
.stock-reader .holder-top li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 0 0.75rem;
  padding: 0.25rem 0;
  border-top: 1px solid var(--line, #dde2e8);
  font-size: 0.8125rem;
}
.stock-reader .holder-top .holder-name {
  overflow-wrap: anywhere;
}
.stock-reader .holder-top .holder-shares {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stock-reader .holder-top .comparison-sources {
  display: grid;
  justify-items: end;
  font-size: 0.75rem;
}

@media (max-width: 40rem) {
  .stock-reader .fin-charts {
    grid-template-columns: 1fr;
  }
  .stock-reader .fin-stats,
  .stock-reader .holder-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Manager count reads as one line: label, count, prior-quarter count. */
  .stock-reader .holder-stats > div:first-child {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 0.5rem;
  }
  /* Readout rows become short two-column blocks instead of a wide table. */
  .stock-reader .fin-readout thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .stock-reader .fin-readout,
  .stock-reader .fin-readout tbody,
  .stock-reader .fin-readout th,
  .stock-reader .fin-readout td {
    display: block;
  }
  .stock-reader .fin-readout tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.125rem 0.75rem;
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--line, #dde2e8);
  }
  .stock-reader .fin-readout th,
  .stock-reader .fin-readout td {
    padding: 0;
    text-align: left;
  }
  .stock-reader .fin-readout tbody th,
  .stock-reader .fin-readout td:last-child {
    grid-column: 1 / -1;
  }
  .stock-reader .fin-readout td::before {
    content: attr(data-heading);
    display: block;
    font-size: 0.6875rem;
    color: var(--muted, #5f6b78);
  }
  .stock-reader .fin-sources {
    justify-items: start;
  }
}

/* Compact quote-page previews. Every rule is scoped to .stock-reader, so full
   detail pages keep their existing layout. Nothing here hides or clips
   content: previews render only the records they show. */
.stock-reader .digest {
  display: grid;
  gap: 0.5rem;
}
.stock-reader .digest > * {
  margin: 0;
}
.stock-reader .digest-list {
  list-style: none;
  margin: 0.5rem 0;
  padding: 0;
}
.stock-reader .digest-list > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.125rem 1rem;
  padding: 0.375rem 0;
  border-top: 1px solid rgba(127, 127, 127, 0.25);
  border-top-color: color-mix(in srgb, currentColor 15%, transparent);
}
.stock-reader .digest-list > li > :first-child {
  flex: 1 1 16rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.stock-reader .digest-list small {
  display: block;
}
.stock-reader .digest-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 0.5rem 1rem;
  margin: 0.5rem 0;
}
.stock-reader .digest-facts > div {
  min-width: 0;
}
.stock-reader .digest-facts dt {
  font-size: 0.8125rem;
}
.stock-reader .digest-facts dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.stock-reader .digest-facts dd.sub {
  font-weight: normal;
}
.stock-reader .digest-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
.stock-reader .digest-spark {
  display: block;
  width: 100%;
  height: 2.5rem;
}
.stock-reader .digest-spark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

/* Quote-page analysis previews: reported results and industry comparison.
   Every rule is scoped to .stock-reader, so dedicated detail routes keep their
   layout. Selectors out-rank the matching style.css rules, so load order is free.
   Light theme only: DM Sans, graphite text, teal/green accents, quiet rules. */

.stock-reader .analysis-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.stock-reader .peer-method { margin-block: .25rem; }
.stock-reader .peer-method summary {
  color: var(--mint);
  cursor: pointer;
  width: fit-content;
  padding-block: .5rem;
  font-size: .875rem;
  font-weight: 600;
}

/* ───────────── Reported results ───────────── */

.stock-reader .research-compact.statement-preview {
  --fin-h: 7.25rem; /* bar track height */
  --fin-gutter: 1.375rem; /* headroom for the tallest bar's label */
  --fin-axis: 2.75rem; /* gridline label column */
  --fin-baseline: #8b9a94;
  --fin-rule: #e5ebe8;
  --fin-loss: var(--down, #ab3347);
  --fin-loss-soft: #cd8591;
  container-type: inline-size;
  gap: 0.875rem;
}
.stock-reader .statement-preview > p.sub {
  font-size: 0.8125rem;
}
.stock-reader .statement-preview .fin-charts {
  gap: 1.5rem 2.5rem;
}

/* Revenue: deep teal, broad bars. Net income: leaf green, narrower bars.
   Earlier periods use a lighter tint; the latest period is solid. */
.stock-reader .statement-preview .fin-trend.is-revenue {
  --fin-color: var(--mint, #00664e);
  --fin-soft: #66a395;
  --fin-width: min(58%, 2.75rem);
}
.stock-reader .statement-preview .fin-trend.is-net {
  --fin-color: #4f8a10;
  --fin-soft: #95b970;
  --fin-width: min(40%, 1.875rem);
}

/* Caption: metric name → large figure + period → exact filed amount */
.stock-reader .statement-preview .fin-trend figcaption {
  display: grid;
  gap: 0.3125rem;
  margin: 0 0 0.625rem;
  font-size: 0.8125rem;
  color: var(--muted, #4d605a);
}
.stock-reader .statement-preview .fin-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.375rem;
}
.stock-reader .statement-preview .fin-name strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--ink, #17241f);
}
.stock-reader .statement-preview .fin-name strong::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 2px;
  background: var(--fin-color, #00664e);
}
.stock-reader .statement-preview .fin-qualifier {
  font-size: 0.75rem;
}
.stock-reader .statement-preview .fin-latest {
  display: grid;
  gap: 0.1875rem;
  margin: 0;
}
.stock-reader .statement-preview .fin-latest-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.5rem;
}
.stock-reader .statement-preview .fin-latest-short {
  font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink, #17241f);
  font-variant-numeric: lining-nums tabular-nums;
}
.stock-reader .statement-preview .fin-latest.is-negative .fin-latest-short {
  color: var(--fin-loss);
}
.stock-reader .statement-preview .fin-latest .fin-latest-period {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted, #4d605a);
}
.stock-reader .statement-preview .fin-latest-exact {
  font-size: 0.8125rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.stock-reader .statement-preview .fin-latest-exact .fin-latest-value {
  font-size: inherit;
  font-weight: 600;
  color: #34433d;
}
.stock-reader .statement-preview .fin-latest.is-negative .fin-latest-value {
  color: var(--fin-loss);
}
.stock-reader .statement-preview .fin-latest-exact small {
  font-size: inherit;
}
.stock-reader .statement-preview .fin-latest .fin-status {
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  color: var(--muted, #4d605a);
}

/* Plot: gridline column + bars on one shared money scale */
.stock-reader .statement-preview .fin-plot {
  position: relative;
  padding-left: var(--fin-axis);
}
.stock-reader .statement-preview .fin-grid {
  position: absolute;
  top: var(--fin-gutter);
  right: 0;
  left: 0;
  height: var(--fin-h);
  pointer-events: none;
}
.stock-reader .statement-preview .fin-gridline {
  position: absolute;
  top: var(--fin-at, 100%);
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
}
.stock-reader .statement-preview .fin-gridline::after {
  content: "";
  flex: 1 1 auto;
  border-top: 1px solid var(--fin-rule);
}
.stock-reader .statement-preview .fin-gridline.is-zero::after {
  border-top-color: transparent; /* the bar tracks draw the zero line */
}
.stock-reader .statement-preview .fin-tick {
  flex: 0 0 auto;
  min-width: var(--fin-axis);
  padding-right: 0.5rem;
  font-size: 0.75rem;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
  color: var(--muted, #4d605a);
  font-variant-numeric: tabular-nums;
}
.stock-reader .statement-preview .fin-bars {
  position: relative;
  gap: 0;
}
.stock-reader .statement-preview .fin-bar {
  grid-template-rows: var(--fin-gutter) var(--fin-h) auto;
  gap: 0;
  font-size: 0.75rem;
}
.stock-reader .statement-preview .fin-bar-track {
  grid-area: 2 / 1 / 3 / 2;
}
.stock-reader .statement-preview .fin-bar-track::after {
  border-top-color: var(--fin-baseline);
}
/* Value label sits on the bar end (on the zero line for a loss or a gap). */
.stock-reader .statement-preview .fin-bar-value {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1 / 3 / 2;
  align-self: start;
  justify-self: center;
  max-width: 100%;
  margin-top: calc(
    var(--fin-gutter) + var(--fin-y, 1) * var(--fin-h) - 0.1875rem
  );
  padding: 0 0.1875rem;
  transform: translateY(-100%);
  background: var(--panel, #fff);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink, #17241f);
}
.stock-reader .statement-preview .fin-bar-period {
  grid-row: 3;
  margin-top: 0.4375rem;
  font-size: 0.75rem;
  color: var(--muted, #4d605a);
}
.stock-reader .statement-preview .fin-bar:last-child .fin-bar-period {
  font-weight: 650;
  color: var(--ink, #17241f);
}
.stock-reader .statement-preview .fin-bar-fill {
  right: auto;
  left: 50%;
  width: var(--fin-width, 50%);
  transform: translateX(-50%);
  border-radius: 3px 3px 0 0;
  background: var(--fin-soft, #66a395);
}
.stock-reader .statement-preview .fin-bar:last-child .fin-bar-fill {
  background: var(--fin-color, #00664e);
}

/* Loss: drawn below zero in rose, label signed with a true minus. */
.stock-reader .statement-preview .fin-bar.is-negative .fin-bar-fill {
  border-radius: 0 0 3px 3px;
  background: var(--fin-loss-soft);
}
.stock-reader .statement-preview .fin-bar.is-negative:last-child .fin-bar-fill {
  background: var(--fin-loss);
}
.stock-reader .statement-preview .fin-bar.is-negative .fin-bar-value {
  color: var(--fin-loss);
}

/* Reported zero: a short graphite mark on the zero line, labelled $0. */
.stock-reader .statement-preview .fin-bar.is-zero .fin-bar-fill {
  display: block;
  height: 2px;
  min-height: 2px;
  transform: translate(-50%, -1px);
  border-radius: 1px;
  background: var(--ink, #17241f);
}

/* No figure for the slot (e.g. annual report only): dashed zero line and
   the reason in plain words; the footnote below gives the full status. */
.stock-reader .statement-preview .fin-bar.is-missing .fin-bar-track {
  background: none;
}
.stock-reader .statement-preview .fin-bar.is-missing .fin-bar-track::after {
  border-top-style: dashed;
}
.stock-reader .statement-preview .fin-bar.is-missing .fin-bar-value {
  white-space: normal;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  color: var(--muted, #4d605a);
  background: transparent;
}

.stock-reader .statement-preview .fin-footnote {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted, #4d605a);
}
.stock-reader .statement-preview .fin-more > summary {
  color: var(--ink, #17241f);
}
.stock-reader .statement-preview .fin-readout small {
  font-size: 0.75rem;
}

@container (max-width: 34rem) {
  .stock-reader .statement-preview .fin-charts {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .stock-reader .statement-preview .fin-trend {
    --fin-h: 6rem;
  }
  .stock-reader .statement-preview .fin-trend + .fin-trend {
    padding-top: 1rem;
    border-top: 1px solid var(--line, #d7dedd);
  }
}
@media (max-width: 40rem) {
  .stock-reader .statement-preview .fin-readout td::before {
    font-size: 0.75rem;
  }
}

/* ───────────── Industry comparison ───────────── */

.stock-reader .peer-compare-wrap {
  container-type: inline-size;
  min-width: 0;
  margin: 0.5rem 0 0.25rem;
  overflow-x: auto;
}
.stock-reader .peer-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: var(--ink, #17241f);
  font-variant-numeric: tabular-nums;
}
.stock-reader .peer-compare :is(th, td) {
  padding: 0.6875rem 0.625rem;
  border-bottom: 1px solid var(--line, #d7dedd);
  font-weight: 400;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}
.stock-reader .peer-compare :is(th, td):first-child {
  padding-left: 0;
}
.stock-reader .peer-compare :is(th, td):last-child {
  padding-right: 0;
}
.stock-reader .peer-compare thead th {
  padding-top: 0;
  padding-bottom: 0.5rem;
  border-bottom-color: #b8c5c0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted, #4d605a);
  vertical-align: bottom;
  white-space: normal;
}
.stock-reader .peer-compare thead .peer-own {
  color: var(--ink, #17241f);
}
.stock-reader .peer-compare .peer-name {
  text-align: left;
  white-space: normal;
}
.stock-reader .peer-compare tbody .peer-name {
  font-size: 0.9375rem;
  font-weight: 600;
}
.stock-reader .peer-compare tbody .peer-own {
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.stock-reader .peer-compare tbody .peer-median {
  color: #34433d;
}
.stock-reader .peer-compare tbody .peer-diff {
  font-weight: 600;
}
.stock-reader .peer-compare .peer-rank {
  width: 36%;
  text-align: left;
}
.stock-reader .peer-compare td.is-missing {
  color: var(--muted, #4d605a);
  font-weight: 400;
}
.stock-reader .peer-rank-line {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

/* Share of reporting peers below the company, on a 0–100% track. */
.stock-reader .peer-rank-plot {
  position: relative;
  flex: 1 1 6rem;
  min-width: 4.5rem;
  max-width: 13rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #e3eae7;
}
.stock-reader .peer-rank-plot::after {
  content: "";
  position: absolute;
  top: -0.1875rem;
  bottom: -0.1875rem;
  left: 50%;
  width: 1px;
  background: #8b9a94;
}
.stock-reader .peer-rank-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--peer-below, 0%);
  border-radius: 999px 0 0 999px;
  background: #9ccabd;
}
.stock-reader .peer-rank-mark {
  position: absolute;
  z-index: 1;
  top: -0.3125rem;
  bottom: -0.3125rem;
  left: var(--peer-below, 0%);
  width: 3px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--mint, #00664e);
  box-shadow: 0 0 0 1.5px var(--panel, #fff);
}
.stock-reader .peer-rank-plot.has-ties .peer-rank-mark {
  width: max(3px, var(--peer-tied, 0%));
  transform: none;
}
.stock-reader .peer-rank-text {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  color: var(--muted, #4d605a);
  white-space: nowrap;
}
.stock-reader .peer-rank-text strong {
  font-weight: 650;
  color: var(--ink, #17241f);
}
.stock-reader .peer-rank.is-missing .peer-rank-text {
  white-space: normal;
}
.stock-reader .peer-compare-note {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.stock-reader .peer-compare-note + .research-links {
  margin-top: 0.25rem;
}

/* Narrow: each measure becomes three short lines, no cards, no overflow.
     Revenue growth                   NVDA 65.47%
     Peer median 11.08%        Difference +54.39 pp
     Peers below NVDA  [━━━━━━━━━|━━━━━·───]  83 of 98 */
@container (max-width: 40rem) {
  .stock-reader .peer-compare,
  .stock-reader .peer-compare tbody {
    display: block;
  }
  .stock-reader .peer-compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .stock-reader .peer-compare tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 0.3125rem 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line, #d7dedd);
  }
  .stock-reader .peer-compare tbody :is(th, td) {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    white-space: normal;
  }
  .stock-reader .peer-compare tbody .peer-name {
    grid-area: 1 / 1;
  }
  .stock-reader .peer-compare tbody .peer-own {
    grid-area: 1 / 2;
    font-size: 1rem;
  }
  .stock-reader .peer-compare tbody .peer-median {
    grid-area: 2 / 1;
    text-align: left;
  }
  .stock-reader .peer-compare tbody .peer-diff {
    grid-area: 2 / 2;
  }
  .stock-reader .peer-compare tbody .peer-rank {
    grid-area: 3 / 1 / 4 / 3;
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 0.1875rem;
  }
  .stock-reader .peer-compare tbody .peer-rank-line {
    flex: 1 1 auto;
  }
  .stock-reader .peer-compare tbody .peer-rank-plot {
    max-width: none;
  }
  .stock-reader .peer-compare tbody td::before {
    content: attr(data-heading);
    content: attr(data-heading) / "";
    margin-right: 0.375rem;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted, #4d605a);
  }
  .stock-reader .peer-compare tbody .peer-rank::before {
    flex: 0 0 auto;
    margin-right: 0;
  }
}

/* Quote news pairs the issuer's filed record with the provider's news stream. */
.stock-section[data-section="news"] .stock-section-body {
  align-items: start;
}
.quote-filings .filing-brief-list { margin: 1.2rem 0 .25rem; }
.quote-filings .filing-brief-list li { padding: .9rem 0; }
.quote-filings .filing-brief-list li:first-child { padding-top: 0; }
.quote-filings .brief-dateline {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  font-size: .8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.quote-filings .brief-dateline span { color: var(--ink); font-weight: 650; }
.quote-filings .filing-brief-list h3 { margin: .32rem 0 0; font-size: 1.04rem; line-height: 1.35; }
.quote-filings .filing-brief-list li:first-child h3 {
  max-width: 28ch;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.13;
  letter-spacing: -.035em;
}
.quote-filings .filing-brief-list h3 a { color: var(--ink); font-weight: 620; }
.quote-filings .filing-brief-list h3 a:hover { color: var(--mint); text-decoration: underline; }
.quote-filings .brief-period { margin: .45rem 0 0; font-size: .9rem; color: var(--muted); }
.quote-filings .brief-actions { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; padding-top: .6rem; }
.quote-filings .brief-actions a { padding-block: .25rem; }
@media (min-width: 1000px) {
  .stock-section[data-section="news"] .stock-section-body:has(.quote-filings) {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 3vw, 3.25rem);
  }
}


.stock-reader .holder-top li::after {
  content: "";
  display: block;
  grid-column: 1 / -1;
  width: var(--position-width, 0%);
  height: 3px;
  border-radius: 1.5px;
  background: #568778;
}
.stock-reader .holder-top li:first-child::after { background: #1b6650; }
.stock-reader .holder-stats dd:not(.holder-stat-note) { letter-spacing: -.035em; }
.quote-filings .filing-brief-list h3 a {
  display: inline;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.stock-section[data-section="news"] .quote-filings { margin-block: 0; }

.stock-reader .issuer-outlook-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: .65rem clamp(1rem, 3vw, 2.75rem);
  align-items: start;
  padding: clamp(1rem, 2vw, 1.65rem);
  background: #eff5f1;
  border: 0;
  border-radius: .65rem;
}
.stock-reader .issuer-outlook-summary > div { align-content: start; justify-items: start; gap: .35rem; }
.stock-reader .issuer-outlook-summary h2,
.stock-reader .issuer-outlook-summary h3 { margin: 0; font-size: .98rem; font-weight: 600; }
.stock-reader .issuer-outlook-summary .guidance-number,
.stock-reader .outlook-actual { font-variant-numeric: tabular-nums; line-height: 1.12; }
.stock-reader .outlook-actual { font-size: clamp(1.4rem, 2.4vw, 2.1rem); letter-spacing: -.04em; font-weight: 620; }
.stock-reader .issuer-outlook-summary p { margin: 0; max-width: 60ch; font-size: .875rem; line-height: 1.45; }
.stock-reader .outlook-reported { padding-inline-start: clamp(1rem, 2.5vw, 2rem); border-inline-start: 1px solid #b9d0c3; }
.stock-reader .issuer-outlook-summary > a { grid-column: 1 / -1; justify-self: start; }
@media(max-width: 640px) {
  .stock-reader .issuer-outlook-summary { grid-template-columns: minmax(0, 1fr); }
  .stock-reader .outlook-reported { padding: .65rem 0 0; border: 0; border-top: 1px solid #cbdcd1; }
}
.stock-jumps.is-pinned { position: sticky; top: 0; z-index: 7; background: #fff; }
.stock-jumps.is-pinned details[open] > .tabs { max-height: 65vh; overflow-y: auto; }
.stock-jumps details.contains-current > summary { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }
main:has(> .stock-jumps) :is(#stock-primary, #stock-quote, .stock-quote-chart, .stock-section, .stock-section-head h2) {
  scroll-margin-block-start: calc(var(--quote-nav-height, 0px) + .75rem);
}
.stock-follow-action { flex: none; }
.stock-follow-action .ui-btn { white-space: nowrap; }
main:not(:has(.quote-spread)):has(#stock-quote-feed[data-feed-state="ready"]) > .stock-title--quote {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  white-space: nowrap; overflow: hidden; clip-path: inset(50%);
}
@media (max-width: 700px) {
  .stock-jumps:has(.stock-follow-action), .stock-jumps:has(.stock-follow-action) > .tabs { column-gap: .65rem; }
  .stock-follow-action .ui-btn { position: relative; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; }
  .stock-follow-action .icon { width: 1.2rem; height: 1.2rem; }
  .stock-follow-action .follow-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
.quote-metrics-hint { display: none; }
@media (max-width: 600px) {
  .stock-quote-feed[data-feed-state="ready"] .quote-metrics-hint {
    display: inline; float: right; font-size: .75rem; color: var(--muted);
  }
}
.stock-quote--chart { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
.stock-quote--chart > .stock-quote-chart { grid-area: auto; padding: 0; border: 0; order: 0; }
.stock-quote--chart > .stock-quote-tools {
  grid-area: auto; display: grid; align-content: start; justify-items: start;
  gap: .55rem; order: 1; margin-block: .65rem; padding-block: .75rem;
}
.stock-quote-tools .session-context-title { margin: 0; font-size: 1.05rem; letter-spacing: -.035em; }
.stock-quote--chart .session-schedule { display: grid; gap: .25rem; }
.stock-quote--chart .session-schedule a { font-size: 1.05rem; color: var(--ink); line-height: 1.35; }
@media (min-width: 920px) {
  .stock-quote--chart { grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); column-gap: clamp(2rem, 4vw, 4.5rem); }
  .stock-quote--chart > .stock-quote-tools { margin: 0; border: 0; border-left: 1px solid var(--line); padding: .75rem 0 .75rem clamp(1.25rem, 3vw, 2.5rem); }
  }
@media (max-width: 919px) {
  .stock-quote--chart > .stock-quote-tools { display: flex; align-items: baseline; gap: .15rem .9rem; }
  .stock-quote--chart .session-context-title, .stock-quote--chart .session-schedule { flex-basis: 100%; }
}
.stock-quote-chart .quote-market-line {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0 .7rem;
  margin: .15rem 0 .25rem; padding-inline: 1rem; color: var(--muted);
  font-size: .8125rem; font-variant-numeric: tabular-nums;
}
.quote-market-line strong { color: var(--ink); letter-spacing: .035em; }
.quote-time-key { display: inline-flex; align-items: center; gap: .65rem; }
.quote-time-key .session-skip { padding: .25rem 0; border: 0; background: none; font-size: inherit; cursor: pointer; }
.stock-price-recovery:empty { display: none; }
.stock-price-recovery { grid-column: 1 / -1; order: -1; padding-inline: 1rem; }
.stock-price-recovery .archive-quote { margin-block-end: .75rem; }
.stock-reader > .stock-quote-feed {
  grid-column: 1 / -1; border-top: 1px solid var(--line); border-radius: 0;
  box-shadow: none; padding: 1rem 0 0;
  scroll-margin: calc(var(--quote-nav-height, 0px) + .75rem) 0 0;
}
.stock-reader > .stock-quote-feed .session-detail-title { margin: 0 0 .75rem; font-size: 1.25rem; letter-spacing: -.025em; }
.stock-quote-tools .quote-filed-facts:empty { display: none; }
.stock-quote-tools .quote-filed-facts { width: 100%; border-block: 1px solid var(--line); padding: .65rem 0 .75rem; margin-block: .25rem; }
.quote-filed-facts > a { font-size: .8125rem; }
.quote-filed-facts dl { display: flex; flex-wrap: wrap; gap: .65rem 2rem; margin: .45rem 0 0; }
.quote-filed-facts dt { color: var(--muted); font-size: .8125rem; }
.quote-filed-facts dd { margin: 0; color: var(--ink); font-size: 1.35rem; font-weight: 630; font-variant-numeric: tabular-nums; }
.stock-quote:not(.stock-quote--chart) > .stock-quote-feed { order: -1; }

.stock-quote-tools .quote-filed-facts {
  display: grid;
  gap: .55rem;
  padding: 0 0 1rem;
  margin: 0 0 .6rem;
  border-top: 0;
}
.quote-filed-facts h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.quote-filing-period { margin: -.2rem 0 0; font-size: .875rem; color: var(--muted); }
.quote-filed-facts dl { display: grid; gap: 0; margin: .25rem 0; }
.quote-filed-facts dl > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: .8rem;
  padding: .28rem 0; border-bottom: 1px solid var(--line);
}
.quote-filed-facts dd { font-size: 1.1rem; }
.quote-filed-facts .quote-analysis-link { justify-self: start; font-size: .9rem; font-weight: 650; }
.stock-quote--chart > .stock-quote-tools { align-items: stretch; }
.peer-brief {
  margin: .7rem 0 1.1rem; padding: clamp(.85rem,2vw,1.4rem) clamp(1rem,2vw,1.6rem);
  border-inline-start: 3px solid var(--brief-edge); background: var(--brief-surface);
  color: var(--ink); overflow-wrap: anywhere;
}
.peer-brief :is(h3,h4) { margin: 0; color: #264d3c; font-size: .95rem; }
.peer-brief p { margin: .35rem 0; line-height: 1.5; }
.peer-brief-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.peer-brief-title { display: grid; gap: .1rem; min-width: 0; }
/* Signature cue: a lime square with an ink edge marks OpenQuote's own analysis. */
.peer-brief .peer-brief-byline { margin: 0; color: var(--muted); font-size: .8125rem; }
.peer-brief .peer-brief-byline::before,
.stock-reader .peer-compare tbody tr.is-selected .peer-name::before,
.peer-measure.is-selected h3::before {
  content: ""; display: inline-block; width: .55rem; height: .55rem; margin-inline-end: .45rem;
  border-radius: 2px; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--lime-ink); vertical-align: .05em;
}
.peer-brief-header label { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--muted); }
.peer-brief-header select { max-width: 100%; min-height: var(--touch); color: var(--ink); background-color: white; border: 1px solid var(--control-edge); border-radius: var(--radius-s); padding-inline: .5rem; }
.peer-brief .peer-brief-statement { max-width: 64ch; margin: .6rem 0 .4rem; font-size: clamp(1.04rem,1.5vw,1.35rem); line-height: 1.4; letter-spacing: -.016em; font-weight: 540; }
.peer-brief .peer-brief-definition { max-width: 72ch; font-size: .875rem; }
.peer-brief .peer-brief-context { font-size: .875rem; color: var(--muted); }
.peer-values {display:flex;flex-wrap:wrap;gap:1rem 2rem;margin:0;}
.peer-values dt {font-size:.8125rem;font-weight:500;color:var(--muted);}
.peer-values dd {margin:0;font-weight:650;font-variant-numeric:tabular-nums;}
.peer-brief .peer-brief-caveat { font-size: .875rem; font-weight: 600; }
.peer-brief-clocks { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: var(--space-2) 0 0; font-size: .8125rem; }
.peer-brief-clocks > div { display: grid; gap: .05rem; min-width: 0; }
.peer-brief-clocks dt { color: var(--muted); }
.peer-brief-clocks dd { margin: 0; color: var(--ink); font: 500 .8125rem/1.4 var(--mono); font-variant-numeric: tabular-nums; }
.peer-brief .peer-brief-freshness { color: var(--muted); font-size: .8125rem; }
.peer-brief :is(.peer-brief-revision, .peer-brief-change) {
  max-width: 72ch; padding: var(--space-2) var(--space-3); border: 1px solid var(--control-edge);
  border-radius: var(--radius-s); background: var(--panel); font-size: .875rem;
}
.peer-brief .peer-brief-change.is-changed { border-color: var(--ink); font-weight: 560; }
.peer-brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin-top: .65rem; }
.peer-brief-actions .ui-btn { min-height: var(--touch); }
.peer-brief-actions > .text-link { display: inline-flex; align-items: center; min-height: var(--touch); }
.peer-brief-actions .peer-brief-next { font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.peer-brief-actions [aria-pressed="true"] { border-color: var(--mint); background: var(--selected); color: var(--mint); }
.peer-brief-actions [aria-pressed="true"]::before { content: "✓" / ""; font-weight: 700; }
.peer-brief .peer-saved-note { flex-basis: 100%; font-size: .8125rem; }
.peer-brief textarea { width: 100%; min-height: 6rem; font: inherit; }
.peer-table td { font-variant-numeric: tabular-nums; }
.peer-table .peer-median-tag,
.peer-median-tag { display: inline-block; padding: 0 .4rem; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.peer-method-list { margin: var(--space-2) 0 0; padding-inline-start: 1.1rem; max-width: 80ch; }
.peer-method-list li + li { margin-top: .3rem; }
.peer-method-full { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--rule); }
.peer-method-full h3, .peer-saved h3 { margin: 0 0 var(--space-2); font-size: 1rem; }
#issuer-peers .peer-rule { margin: .25rem 0 0; font-size: .8125rem; }
.peer-saved { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--rule); }
.peer-saved-list { margin: var(--space-2) 0 var(--space-3); padding: 0; list-style: none; }
.peer-saved-list li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--rule); }
.peer-saved-list li > .ui-btn, .peer-saved > .ui-btn { min-height: var(--touch); }
.peer-measure.is-selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.peer-measure dd.is-missing { color: var(--muted); font-weight: 500; }
.stock-reader .peer-compare tbody tr.is-selected .peer-name { font-weight: 700; }
/* Motion: state changes are instant when the reader asks for reduced motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
@media (max-width: 919px) {
  .stock-quote-tools .quote-filed-facts { flex-basis: 100%; }
  .quote-filed-facts dl { grid-template-columns: repeat(auto-fit,minmax(6rem,1fr)); gap: .65rem; }
  .quote-filed-facts dl > div { display: grid; align-content: start; gap: .18rem; }
}
@media (max-width: 700px) {
  .stock-jumps:has(.stock-follow-action) { display: grid; grid-template-columns: minmax(0,1fr) auto auto; column-gap: .3rem; }
  .stock-jumps:has(.stock-follow-action) > .tabs { column-gap: clamp(.4rem,1.9vw,.65rem); }
}
.quote-finding:not([hidden]) {
  margin: .35rem 0 .65rem; padding: .35rem .8rem;
  border-inline-start: 3px solid var(--lime);
}
.quote-finding p { margin: 0; max-width: 76ch; color: var(--ink); font-weight: 600; }
.quote-finding small { display: block; }
.brand-lockup { display: grid; justify-items: start; align-content: center; }
.brand-promise { display: none; }
body:not(:has(.quote-site-menu)):has(#published-close, .stock-title, #issuer-peers) .brand-promise {
  display: block; color: var(--muted); font-size: .75rem; line-height: 1.25;
}
@media (max-width: 400px) {
  .brand-lockup { max-width: calc(100% - 5.8rem); }
  header:has(+ aside) .brand-promise { font-size: .6875rem; }
  main:has(#published-close) { padding-top: .65rem; }
  .close-taiwan { display: flex; flex-direction: column; }
  .close-taiwan .close-breadth, .close-taiwan .close-coverage { order: 1; }
  .close-taiwan > .text-link { order: 2; }
  .close-rankings { display: flex; flex-direction: column; padding-top: .25rem; }
  .close-rank-head { display: contents; }
  .close-rankings .close-basis { order: 1; }
  .close-card { padding-block: .6rem; }
  .heading:has(.jump-quotes) h1 { margin-block: 0; }
}
.quote-finding .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-inline-end: 1rem; }
@media (max-width: 700px) {
  .stock-jumps .tabs a, .stock-jumps details[open] > .tabs a,
  .stock-jumps summary, .stock-follow-action .ui-btn,
  #issuer-peers :is(.data-controls select, .profile-actions button, .peer-filings summary) {
    min-width: var(--touch);
    min-height: var(--touch);
  }
  .stock-jumps summary { align-content: center; }
  .stock-jumps:has(.stock-follow-action) > .tabs { gap: 0 .2rem; }
  .stock-follow-action .ui-btn { width: auto; gap: 0; }
  .stock-follow-action .follow-label {
    position: static; width: auto; height: auto; clip-path: none; font-size: .7rem; line-height: 1.1;
  }
}

.stock-quote-tools .quote-results-disclosure { flex-basis: 100%; width: 100%; }
.quote-results-disclosure > summary { width: fit-content; padding-block: .65rem; cursor: pointer; font-weight: 600; }
.quote-results-disclosure .quote-finding { margin-block: .5rem; }

.nav-shell:has(.quote-site-menu) { display: flex; flex-flow: row nowrap; align-items: center; gap: .75rem; }
.nav-shell:has(.quote-site-menu) .brand-lockup { margin-right: auto; }
body:has(header .quote-site-menu) header .nav-shell .brand-promise { display: none; }
.nav-shell:has(.quote-site-menu) .search-trigger { order: 0; margin: 0; }
.quote-site-menu { position: relative; order: 1; }
.quote-site-menu > summary { cursor: pointer; padding: .75rem .4rem; }
.quote-site-menu:not([open]) #navigation { display: none; }
:root header .nav-shell .quote-site-menu[open] #navigation { grid-template-columns: 1fr; grid-auto-flow: row; width: max-content; display: grid; position: absolute; top: 100%; right: 0; z-index: 12; min-width: 10rem; padding: .5rem; background: var(--panel); border: 1px solid var(--line); border-radius: .5rem; }
:root header .nav-shell .quote-site-menu[open] #navigation a { padding: .65rem .8rem; }

/* Stock summary: a compact quote tape, followed by the chart and a two-column reading grid. */
main:has(.quote-spread) > .stock-title--quote { position: static; width: auto; height: auto; margin: 1rem 0 .4rem; padding: 0; overflow: visible; white-space: normal; clip-path: none; }
main:has(.quote-spread) > .stock-title--quote h1 { font-size: clamp(1.7rem, 3vw, 2.65rem); }
.stock-quote.quote-spread { display: flex; flex-direction: column; align-items: stretch; gap: .5rem; min-width: 0; padding: 0; margin-bottom: 1rem; }
.quote-spread > .stock-quote-chart { order: 1; width: 100%; padding: 0; border: 0; background: var(--panel); }
.quote-spread > .stock-quote-tools { order: 2; display: flex; gap: 1rem; flex-wrap: wrap; margin: 0; border: 0; padding: 0; }
.quote-spread details > summary { font-size: .875rem; color: var(--muted); cursor: pointer; width: fit-content; padding: .45rem 0; }
.quote-spread .summary-provider-quote:not([open]) { order: 3; }
.quote-spread .stock-quote-feed { min-height: 0; }
.summary-price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; }
.summary-price-line strong { font-size: clamp(2.65rem,5vw,4.5rem); letter-spacing: -.055em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.summary-price-change { color: var(--mint); font-weight: 650; font-size: clamp(1rem,2vw,1.4rem); }
.summary-price-change[data-down="true"] { color: var(--down, #a33238); }
.summary-stamp { display: block; font-size: .78rem; color: var(--muted); margin: .35rem 0; }
.summary-extended { margin: .55rem 0 .15rem; font-size: .92rem; }
.stock-reader.quote-summary-reader { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(1.5rem,4vw,3.5rem); align-items: start; }
.quote-summary-reader > .stock-section { grid-column: auto; min-width: 0; padding: 1.35rem 0; border: 0; border-top: 1px solid var(--line); box-shadow: none; }
.quote-summary-reader > :is(.summary-latest,.summary-news,.summary-industry-peers) { grid-column: 1/-1; }
.quote-summary-reader .stock-section-head { margin: 0 0 .85rem; padding: 0; }
.quote-summary-reader .stock-section-head h2 { font-size: clamp(1.16rem,2vw,1.55rem); letter-spacing: -.035em; }
.quote-summary-reader .stock-section-head a { font-size: .83rem; }
.quote-summary-reader .stock-section-body { min-height: 0; }
.quote-summary-reader .filing-brief-list { list-style: none; padding: 0; margin: 0; }
.quote-summary-reader .filing-brief-list li { padding: 0; margin: 0; border: 0; }
.summary-latest .filing-brief-list h3 { font-size: clamp(1.08rem,2vw,1.45rem); margin: .35rem 0; }
.summary-latest .filing-brief-list p { margin: .35rem 0; }
.summary-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1.4rem; margin: 0; }
.summary-metrics > div { padding: .5rem 0; border-bottom: 1px solid var(--line); display:flex; gap:.35rem; justify-content:space-between; align-items:baseline; flex-wrap:wrap; }
.summary-metrics dt, .summary-caption, .summary-period { font-size: .875rem; color: var(--muted); }
.summary-metrics dd { margin:0; font-weight: 650; font-variant-numeric: tabular-nums; }
.return-cards {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:.65rem;}
.return-card {min-width:0;padding:8px;border:1px solid var(--line);border-radius:6px;}
.return-card h3 {margin:0 0 8px;color:#174b3b;font-size:16px;line-height:20px;}
.return-card dl {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;}
.return-card dt {font-size:12px;line-height:16px;color:var(--muted);}
.return-card dd {font-size:14px;line-height:18px;font-weight:700;font-variant-numeric:tabular-nums;margin:0;}
.return-gain {color:var(--mint);} .return-loss {color:var(--down);}
.statistics-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.earnings-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.earnings-card {min-width:0;border:1px solid var(--line);border-radius:6px;padding:14px;}
.earn-heading {display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;}
.earn-heading h3 {font-size:17px;color:#174b3b;margin:0;}
.earn-periods {display:inline-flex;border:1px solid #96a99f;border-radius:16px;overflow:hidden;}
.earn-periods button {background:none;color:inherit;border:0;font-size:12px;font-weight:650;padding:4px 7px;cursor:pointer;}
.earn-periods button[aria-pressed=true] {background:#e3f1e7;color:#12523d;}
.earn-readout {display:flex;align-items:center;gap:4px 8px;flex-wrap:wrap;font-size:12px;min-height:40px;}
.earn-outcome {flex-basis:100%;color:var(--muted);}
.earn-key::before {content:"";display:inline-block;width:7px;height:7px;margin-right:3px;border-radius:2px;}
.key-estimate::before {border:1px solid #576d63;border-radius:50%;}
.key-actual::before,.key-margin::before {background:#08664d;border-radius:50%;}
.key-revenue::before {background:#2773ad;} .key-income::before {background:#daa524;}
.earn-plot {position:relative;}
.earn-plot svg {display:block;width:100%;height:auto;overflow:visible;}
.earn-plot svg text {font:500 12px var(--reading-face);font-variant-numeric:tabular-nums;fill:#374d43;}
.earn-grid {stroke:#d7e0da;stroke-dasharray:3 3;}
.earn-selection {fill:#7f9b8c;opacity:.09;}
.earn-estimate {fill:white;stroke:#566d61;stroke-width:2;} .earn-actual {fill:#08664d;}
.earn-revenue {fill:#2773ad;} .earn-income {fill:#daa524;}
.earn-margin-line,.earn-margin-point {stroke:#08664d;stroke-width:2;} .earn-margin-point {fill:white;}
.earn-plot svg .earn-beat {fill:#00664e;} .earn-plot svg .earn-miss {fill:#a33146;}
.earn-targets {display:flex;position:absolute;top:0;bottom:0;}
.earn-targets button {flex:1;min-width:0;cursor:crosshair;border:0;background:transparent;padding:0;}
.earn-targets button:focus-visible {outline:2px solid var(--mint);outline-offset:-2px;}
.earn-currency {display:block;color:var(--muted);font-size:11px;text-align:right;}
@media(max-width:760px){.earnings-cards {grid-template-columns:minmax(0,1fr);}.earnings-card {padding:10px;}}
.statistics-card {min-width:0;padding:16px;border:1px solid var(--line);border-radius:6px;}
.statistics-card h3 {margin:0 0 10px;color:#174b3b;font-size:18px;line-height:23px;}
.statistics-card h4 {font-size:14px;margin:15px 0 2px;}
.statistics-card dl {margin:0;}
.statistics-card dl div {display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px dashed var(--line);font-size:14px;line-height:18px;}
.statistics-card dl div:last-child {border:0;}
.statistics-card dd {margin:0;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;}
.valuation-period {display:flex;gap:4px;}
.valuation-period button {border:0;border-radius:4px;background:transparent;color:inherit;padding:7px 11px;font-weight:650;cursor:pointer;}
.valuation-period button[aria-pressed=true] {background:#e5f2eb;color:#14503d;}
.valuation-date {text-align:right;margin:4px 0;font-size:13px;color:var(--muted);}
@media(max-width:760px){.statistics-cards{grid-template-columns:minmax(0,1fr);gap:16px;}}
@media(max-width:1000px){.return-cards{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){.return-card dl{grid-template-columns:1fr;}.return-card h3{font-size:14px;}}
.summary-big { font-size: 2.1rem; letter-spacing: -.05em; }
.summary-caption, .summary-period { margin: .3rem 0; }
.summary-peers { display:grid; grid-template-columns:repeat(auto-fit,minmax(9rem,1fr)); gap:1rem; margin-bottom:1rem; }
.summary-peers a { display:grid; align-content:start; gap:.2rem; color:var(--ink); text-decoration:none; }
.summary-peers a:hover strong { text-decoration:underline; }
.compare-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; margin:.4rem 0 .8rem; }
.compare-actions span { margin-right:auto; font-size:.86rem; }
.compare-actions button,.compare-card button { color:var(--ink); background:var(--paper,white); border:1px solid var(--line,#ccc); border-radius:2rem; min-width:28px; min-height:28px; cursor:pointer; }
.compare-actions button:disabled,.compare-card button:disabled { opacity:.45; cursor:default; }
.compare-carousel { display:flex; gap:16px; max-width:100%; overflow-x:auto; scroll-snap-type:x proximity; margin-bottom:1rem; padding:2px 2px 6px; }
.compare-card { flex:0 0 198px; box-sizing:border-box; scroll-snap-align:start; position:relative; display:grid; align-content:start; gap:2px; min-height:135px; padding:10px 12px; border:1px solid var(--line,#ccc); border-radius:10px; }
.compare-card a { display:grid; margin-right:28px; color:var(--ink); text-decoration:none; }
.compare-card a small,.compare-card div span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.compare-card button { position:absolute; right:8px; top:8px; padding:0; }
.compare-card b { font-size:.85rem; }
.compare-card [data-direction=down] { color:var(--negative,#a52d30); }
.compare-card [data-direction=up] { color:var(--positive,#196b43); }
.compare-card div { display:flex; justify-content:space-between; gap:6px; font-size:.76rem; }
.compare-card small { color:var(--muted); font-size:.75rem; }
.compare-card div small { flex:none; }
.compare-table { max-width:100%; overflow-x:auto; margin-bottom:1rem; }
.snapshot-table { max-width:100%; overflow-x:auto; }
.daily-prices { margin:.45rem 0 .75rem; font-size:.84rem; }
.closing-chart { display:none; margin:.3rem 0 .6rem; }
.news-disclosures { display:none; }
.summary-news:has([data-feed-state="unavailable"]) .news-disclosures,
.summary-news:has([data-feed-state="slow"]) .news-disclosures { display:block; }
.news-disclosures h3 { font-size:1rem; margin:.75rem 0 .25rem; }
.news-disclosures p { padding:.55rem 0; margin:0; border-bottom:1px solid var(--line); }
.news-disclosures a { font-weight:650; color:var(--ink); }
.news-disclosures small { display:block; margin-top:.15rem; color:var(--muted); }
.stock-quote-chart:has([data-price-chart]:is([data-feed-state="slow"],[data-feed-state="unavailable"])) .closing-chart { display:block; }
.stock-quote-chart:has(.closing-chart) [data-price-chart][data-feed-state="slow"] .tradingview-widget-container:not(:focus-within) { position:absolute!important; visibility:hidden; }
.closing-chart figcaption { font-size:.85rem; font-weight:650; margin-bottom:.65rem; }
.closing-chart-area { display:grid; grid-template-columns:minmax(0,1fr) max-content; gap:.5rem; }
.closing-chart svg { width:100%; height:clamp(115px,14vw,170px); border-block:1px solid var(--line); }
.closing-chart polyline { fill:none; stroke:var(--accent,#17634a); stroke-width:2.5; stroke-linejoin:round; }
.closing-scale,.closing-dates { display:flex; justify-content:space-between; color:var(--muted); font: .74rem var(--mono); }
.closing-scale { flex-direction:column; }
.closing-dates { margin-top:.25rem; }
.daily-prices summary { width:fit-content; padding:.35rem .1rem; color:var(--ink); cursor:pointer; font-weight:650; }
.daily-prices .snapshot-table { max-height:18rem; margin:.45rem 0; }
.daily-prices :is(th,td) { white-space:nowrap; font-variant-numeric:tabular-nums; }
.missing-page { max-width:38rem; margin:clamp(3rem,10vh,8rem) auto; padding:1.25rem; }
.missing-page h1 { margin:2rem 0 .75rem; }
.missing-page p { margin-bottom:1.5rem; }
.snapshot-table table { width:100%; border-collapse:collapse; }
.snapshot-table :is(th,td) { padding:.4rem; border-bottom:1px solid var(--line,#ccc); text-align:left; }
.compare-table table { width:100%; font-size:.85rem; border-collapse:collapse; }
.compare-table :is(th,td) { padding:.45rem; text-align:left; border-bottom:1px solid var(--line,#ccc); }
.summary-peers :is(small,span) { color:var(--muted); font-size:.84rem; }
@media(max-width:760px) {
  .stock-reader.quote-summary-reader { grid-template-columns:minmax(0,1fr); }
  .quote-spread > .stock-quote-tools { margin:0; }
  .summary-metrics { grid-template-columns:minmax(0,1fr); }
}

.quote-spread .summary-provider-quote:not([open]) > summary { font-size: .8rem; }
.quote-spread.has-native-price > .stock-quote-tools { display: none; }
.quote-spread .summary-native-price { margin: 0 0 .65rem; }
@media(max-width:760px) {
  .quote-spread .summary-native-price, .quote-spread .summary-provider-quote, .quote-spread > .stock-quote-tools { margin-inline: 3vw; }
}

.summary-latest .brief-dateline { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .8rem; }

/* Reference geometry: at 1440px, a 160px rail, 876px story and 344px market panel. */
body:has(.quote-frame-top) > header .nav-shell { width:100%; max-width:none; height:64px; padding-inline:24px; justify-content:flex-start; gap:24px; }
body:has(.quote-frame-top) .nav-shell .brand-lockup { margin:0; }
body:has(.quote-frame-top) .nav-shell .search-trigger { justify-content:flex-start; width:min(34vw,476px); height:40px; border-radius:24px; background:var(--card); }
body:has(.quote-frame-top) .nav-shell .quote-site-menu { margin-left:auto; }
main:has(> .quote-frame-top) { max-width:1600px; margin:0 auto; width:100%; padding:0 12px 4rem 0; display:grid; grid-template-columns:160px minmax(0,1fr) minmax(260px,24%); column-gap:24px; align-items:start; }
.quote-frame-top { grid-column:1/-1; grid-row:1; margin-right:-12px; }
.quote-site-links,.quote-market-strip { display:flex; align-items:center; gap:clamp(1rem,2.6vw,3rem); height:52px; padding-inline:26px; border-bottom:1px solid var(--line); }
.quote-site-links a { color:var(--ink); text-decoration:none; font-weight:650; font-size:.9rem; }
.quote-site-links a:hover,.quote-market-strip a:hover strong,.quote-market-rail a:hover strong {text-decoration:underline;}
.quote-market-strip {height:77px; justify-content:space-between; gap:1rem; overflow:auto; }
.quote-market-strip a,.quote-market-rail [data-market-watch] a {display:grid; text-decoration:none; color:var(--ink); font-variant-numeric:tabular-nums; line-height:1.22; white-space:nowrap;}
.quote-market-strip a {min-width:5.4rem;font-size:.82rem;}
.quote-market-strip small,.quote-market-rail small[data-down] {color:var(--mint);font-weight:650;}
.quote-market-strip small[data-down="true"],.quote-market-rail small[data-down="true"] {color:#a33238;}
.quote-market-strip:has(.market-instrument) { justify-content:flex-start; }
.quote-market-strip > b { flex:none; }
.quote-market-strip > b small { display:block; color:var(--muted); font-weight:normal; }
.quote-market-strip .market-instrument { flex:none; grid-template-columns:max-content auto; column-gap:.5rem; align-items:center; }
.market-instrument :is(strong,span,small) { grid-column:1; }
.market-instrument svg { grid-column:2; grid-row:1/4; width:52px; height:28px; }
.market-instrument polyline { fill:none; stroke:var(--mint); stroke-width:1.6; }
.market-instrument:has([data-down="true"]) polyline { stroke:#a33238; }
.quote-banner-slot {height:283px;display:grid;place-items:center;border-bottom:1px solid var(--line);}
.quote-house-banner {width:min(720px,90%);height:90px;display:flex;align-items:center;gap:1.4rem;background:#eaf2e9;color:#173f34;padding:0 2rem;text-decoration:none;border-left:5px solid #b5ec49;}
.quote-house-banner strong {font-size:1.5rem;letter-spacing:-.04em;}
.quote-house-banner span:last-child {margin-left:auto;font-size:1.4rem;}
main:has(.quote-frame-top) > .stock-jumps {grid-column:1;grid-row:2/6;position:sticky;top:1rem;align-self:start;display:block;padding:20px 0 0 24px;border:0;background:var(--panel);z-index:5;}
main:has(.quote-frame-top) .stock-jumps > .stock-jump-label {display:none;}
main:has(.quote-frame-top) .stock-jumps > .tabs {display:flex;flex-direction:column;align-items:flex-start;gap:0;overflow:visible;}
main:has(.quote-frame-top) .stock-jumps > .tabs a {min-height:28px;line-height:20px;padding:4px 8px;border:0;font-size:14px;}
main:has(.quote-frame-top) .stock-jumps > .tabs a.active {background:#eaf4dc;color:#155943;border-radius:4px;}
main:has(.quote-frame-top) .stock-jumps details summary {margin:0;padding:6px 8px;}
main:has(.quote-frame-top) > .quote-frame-title {grid-column:2;grid-row:2;display:flex;justify-content:space-between;align-items:center;margin:20px 0 0;padding:4px 0 12px;border-bottom:1px solid var(--line);}
main:has(.quote-frame-top) > .quote-frame-title h1 {font-size:clamp(1.5rem,1.25rem + 1vw,1.875rem);line-height:1.16;letter-spacing:-.035em;margin:.4rem 0 0;}
main:has(.quote-frame-top) > .quote-frame-title .sub {font-size:13px;line-height:18px;}
main:has(.quote-frame-top) > .quote-spread {grid-column:2;grid-row:3;margin:12px 0 .8rem;width:100%;}
.quote-frame-title .page-actions button {border:0;background:transparent;}
.quote-market-rail {grid-column:3;grid-row:2/6;position:sticky;top:1rem; margin-top:24px;border:1px solid var(--line);border-radius:9px;box-shadow:0 4px 15px #19392b0b;padding:16px;}
.quote-market-rail h2 {font-size:18px;line-height:24px;margin:0;}
.quote-market-rail [data-market-watch] a {grid-template-columns:1fr auto;gap:.12rem .75rem;border-top:1px solid var(--line);padding:.65rem 0;font-size:14px;}
.quote-market-rail [data-market-watch] a small {grid-column:2;text-align:right;}
.quote-market-rail > a {display:inline-block;margin-top:.6rem;}
main:has(.quote-frame-top) > .quote-summary-reader {grid-column:2;grid-row:4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;width:100%; }
.quote-summary-reader > .stock-section {grid-column:1/-1;}
.quote-summary-reader > .summary-numbers {grid-column:1/-1;}
.summary-numbers .summary-metrics {grid-auto-flow:column;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,auto);gap:8px 32px;}
.summary-numbers .summary-metrics > div {padding:0 0 3px;min-height:24px;gap:2px 6px;}
.summary-numbers .summary-metrics dt {font-size:13px;line-height:17px;}
.summary-numbers .summary-metrics dd {font-size:14px;line-height:18px;}
@media(min-width:761px){.summary-numbers .summary-metrics > div {align-content:start;}.summary-numbers .summary-metrics dt {min-width:min-content;text-wrap:pretty;}.summary-numbers .summary-metrics dd {flex:none;margin-inline-start:auto;white-space:nowrap;}}
@media(max-width:1199px){.summary-numbers .summary-metrics {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(8,auto);}}
@media(max-width:760px){.summary-numbers .summary-metrics {row-gap:0;}.summary-numbers .summary-metrics > div {min-height:42px;flex-direction:column;align-items:start;justify-content:center;gap:0;}}
.quote-summary-reader .stock-section-head h2 {font-size:24px;line-height:30px;color:#153e32;font-weight:720;}
.quote-spread .summary-native-price {display:grid;grid-template-columns:max-content minmax(0,1fr);gap:2px 20px;align-items:baseline;margin:0;}
.quote-spread .summary-native-price[hidden] {display:none;}
.quote-spread .summary-price-loading {min-height:88px;margin:0;color:var(--muted);font-size:.875rem;}
@media(max-width:760px){.quote-spread .summary-price-loading {min-height:150px;}}
.quote-spread .summary-price-line {gap:.5rem;}
.quote-spread .summary-price-line strong {font-size:clamp(2rem,1.75rem + 1vw,2.375rem);line-height:1.16;font-weight:730;letter-spacing:-.035em;}
.quote-spread .summary-price-change {font-size:20px;}
.quote-spread .summary-extended {margin:0;}
.quote-spread .summary-extended strong {font-size:24px;line-height:32px;}
.quote-spread .summary-extended .summary-price-change {font-size:16px;}
.quote-spread .summary-price-flat {color:var(--muted);}
.quote-spread .summary-native-price > .summary-stamp {grid-column:1/-1;margin:0;}
.quote-spread > .stock-quote-chart {padding:0;margin-top:8px;}
.quote-frame-top ~ .quote-summary-reader .summary-latest {margin:.5rem 0 1rem;padding:1rem 1.25rem;border:1px solid #d4dfce;border-radius:8px;background:#f5f9f1;}
@media(min-width:1280px) {
 main:has(> .quote-frame-top) {grid-template-columns:160px minmax(0,1fr) 344px;}
}
@media(min-width:1050px) and (max-width:1279px) {
 main:has(> .quote-frame-top) {grid-template-columns:160px minmax(0,1fr) 250px;}
}
@media(min-width:768px) and (max-width:1049px) {
 main:has(> .quote-frame-top) {grid-template-columns:minmax(0,1fr) 250px;column-gap:16px;padding:0 12px 4rem 16px;}
 .quote-frame-top {margin-left:-16px;}
 .quote-frame-top .quote-site-links {display:none;}
 main:has(.quote-frame-top) > .stock-jumps {grid-area:2/1;min-width:0;display:flex;align-items:center;position:relative;top:auto;margin:0;padding:0;height:44px;}
 main:has(.quote-frame-top) .stock-jumps > .tabs {min-width:0;flex:1;flex-direction:row;align-items:center;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none;}
 main:has(.quote-frame-top) .stock-jumps > .tabs a {flex:none;min-height:40px;}
 main:has(.quote-frame-top) > .quote-frame-title {grid-area:3/1;margin:8px 0 0;}
 main:has(.quote-frame-top) > .quote-spread {grid-area:4/1;}
 main:has(.quote-frame-top) > .quote-summary-reader {grid-area:5/1;}
 .quote-market-rail {grid-area:2/2/6/3;margin-top:0;}
}
@media (scripting:enabled) and (max-width:767px) {
 body:has(#startup-panel[data-stock-page]) > header .nav-shell {height:88px;align-items:start;justify-content:center;padding-top:3px;}
}
@media(max-width:767px) {
 body:has(.quote-frame-top) > header .nav-shell {height:88px;display:grid;grid-template-columns:1fr auto 1fr;grid-template-rows:40px 36px;gap:0;padding:3px 16px 8px;border-bottom:2px solid var(--mint);}
 body:has(.quote-frame-top) .nav-shell .brand-lockup {grid-column:2;grid-row:1;max-width:none;}
 body:has(.quote-frame-top) .nav-shell .quote-site-menu {grid-column:1;grid-row:1;margin:0;justify-self:start;}
 body:has(.quote-frame-top) .nav-shell .quote-site-menu nav {left:0;right:auto;}
 body:has(.quote-frame-top) .nav-shell .search-trigger {grid-column:1/-1;grid-row:2;width:100%;height:32px;justify-content:flex-start;}
 main:has(> .quote-frame-top) {display:flex;flex-direction:column;align-items:stretch;width:100%;padding:0 16px 3rem;overflow:visible;}
 .quote-frame-top {display:none;}
 .quote-market-rail {display:block;position:static;order:4;align-self:stretch;margin:1rem 0 0;}
 main:has(.quote-frame-top) > .stock-jumps {position:relative;top:auto;order:0;display:flex;align-items:center;gap:8px;width:100%;align-self:stretch;margin:0;padding:4px 0;border:0;}
 main:has(.quote-frame-top) .stock-jumps > .tabs {flex-direction:row;align-items:center;overflow-x:auto;flex:1;white-space:nowrap;flex-wrap:nowrap;scrollbar-width:none;}
 main:has(.quote-frame-top) .stock-jumps > .tabs a {min-height:40px;flex:none;}
 main:has(.quote-frame-top) > .quote-frame-title {order:1;margin:0;padding:3px 0 9px;}
 main:has(.quote-frame-top) > .quote-spread {order:2;margin:10px 0;width:100%;}
 .quote-spread .summary-native-price {display:block;margin:0;}
 .quote-spread .summary-extended {margin:.4rem 0 0;}
 .quote-spread .summary-native-price > small:last-child {margin-top:2px;}
 main:has(.quote-frame-top) > .quote-summary-reader {order:3;display:block;}
}

.quote-frame-title h1 {font-weight:720;}
.quote-summary-reader > .stock-section .stock-section-head h2 {border-left:4px solid #b5ec49;padding-left:10px;}
.directory-page { max-width:58rem; }
.published-closes { display:flex; flex-wrap:wrap; list-style:none; gap:.65rem 1.25rem; padding:0; }
.published-closes a { display:grid; gap:.15rem; min-width:5rem; color:var(--ink); text-decoration:none; font-variant-numeric:tabular-nums; }
.published-closes a:hover strong { text-decoration:underline; }
.directory-page h1 { margin:2rem 0 1.3rem; }
#directory-filter label { display:block; font-weight:650; margin-bottom:.35rem; }
#company-filter { width:min(100%,28rem); padding:.7rem .9rem; font:inherit; color:var(--ink); background:white; border:1px solid var(--muted); border-radius:.45rem; }
#directory-count { color:var(--muted); margin:1rem 0 .5rem; }
.stock-directory { list-style:none; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:2rem; }
.stock-directory a { display:flex; gap:1rem; justify-content:space-between; align-items:center; min-height:48px; padding:.7rem .2rem; border-top:1px solid var(--line); text-decoration:none; }
.stock-directory a:hover strong { text-decoration:underline; }
.stock-directory span { font-family:var(--mono); color:var(--muted); font-size:.8rem; }
@media (max-width:640px) { .stock-directory { grid-template-columns:1fr; } }
@media(max-width:760px){main:has(.quote-frame-top) .stock-jumps > .tabs a.active {border-bottom:2px solid #8bbd24;border-radius:0;background:none;}}

.summary-corporate-event {grid-column:1/-1;margin:.5rem 0;padding:.75rem 1rem;border:1px solid var(--line);border-radius:7px;font-size:.875rem;}
.summary-corporate-event strong {margin-right:.6rem;}
.summary-corporate-event .dividend-date {white-space:nowrap;}
@media(max-width:760px){
  .summary-corporate-event {display:grid;gap:4px;padding:12px 16px;line-height:1.45;}
  .summary-corporate-event strong {margin:0;}
}
.summary-filings {margin-top:.55rem;font-size:.875rem;}
.summary-filings summary {cursor:pointer;font-weight:650;}
.summary-filings ul {padding-left:1.25rem;}
.summary-filings li + li {margin-top:.4rem;}
.analyst-cards {display:grid;font-size:13px;grid-template-columns:repeat(auto-fit,minmax(min(100%,19ch),1fr));gap:16px;}
.summary-profile .summary-metrics {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;}
.summary-profile .summary-metrics > div {display:flex;flex-direction:column-reverse;align-items:start;justify-content:end;gap:2px;padding:4px 0 6px;}
.summary-profile .summary-metrics dd {font-size:1rem;line-height:1.25;overflow-wrap:anywhere;}
.analyst-card {border:1px solid var(--line);border-radius:6px;padding:9px;min-width:0;min-height:192px;display:flex;flex-direction:column;font-size:13px;color:var(--ink);}
.analyst-card h3 {font-size:16px;line-height:20px;color:#174b3b;margin:0 0 12px;}
.analyst-card > strong {margin-top:auto;}
.analyst-card meter {width:100%;height:14px;accent-color:var(--mint);}
.analyst-card > p {margin:auto 0 0;padding-top:12px;}
.analyst-rating {font-size:12px;background:#e4f2e9;color:#14503d;border-radius:3px;padding:2px 5px;}
.analyst-targets {position:relative;min-height:137px;margin:auto 0;}
.analyst-line {position:absolute;top:50%;left:2px;right:2px;height:4px;background:#aab7b1;border-radius:3px;}
.analyst-marker {position:absolute;inset:0 0 0 0;pointer-events:none;}
.analyst-marker::before {content:"";position:absolute;left:clamp(3px,var(--position),calc(100% - 3px));top:calc(50% - 1px);width:6px;height:6px;background:#345648;border-radius:50%;transform:translateX(-50%);}
.analyst-marker-label {display:grid;line-height:14px;position:absolute;top:calc(50% + 7px);left:clamp(25px,var(--position),calc(100% - 25px));transform:translateX(-50%);text-align:center;font-size:13px;}
.marker-low .analyst-marker-label {left:clamp(0px,var(--position),calc(100% - 40px));transform:none;text-align:left;}
.marker-high .analyst-marker-label {left:clamp(40px,var(--position),100%);transform:translateX(-100%);text-align:right;}
.marker-current::after,.marker-average::after {content:"";position:absolute;width:1px;left:clamp(3px,var(--position),calc(100% - 3px));background:#557164;}
.marker-current::after {top:calc(50% + 4px);height:29px;}
.marker-average::after {bottom:50%;height:8px;}
.marker-average .analyst-marker-label,.marker-current .analyst-marker-label {padding:2px 4px;border:1px solid var(--mint);border-radius:4px;background:var(--card);white-space:nowrap;}
.marker-average .analyst-marker-label {top:auto;bottom:calc(50% + 8px);color:var(--mint);}
.marker-current .analyst-marker-label {top:calc(50% + 34px);border-color:#55645e;}
.analyst-trend {position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:5px;margin:auto 0 0;}
.analyst-bars {min-width:0;display:flex;align-items:flex-end;justify-content:space-between;gap:2px;}
.analyst-bar {min-width:0;font-size:10px;line-height:13px;}
.analyst-bar summary {display:flex;align-items:center;flex-direction:column;min-width:20px;cursor:pointer;list-style:none;}
.analyst-bar summary::-webkit-details-marker {display:none;}
.analyst-bar small {font-size:10px;}
.analyst-stack {width:clamp(12px,1vw,22px);display:flex;flex-direction:column;overflow:hidden;border-radius:3px 3px 0 0;}
.rating-band {flex-basis:0;display:grid;place-items:center;overflow:hidden;font-size:10px;line-height:1;font-weight:bold;color:white;}
.band-0 {background:#00634e;} .band-1 {background:#507a22;} .band-2 {background:#f1bf45;color:#302000;} .band-3 {background:#bd561f;} .band-4 {background:#9c3348;}
.analyst-legend {list-style:none;margin:0;padding:0;display:grid;gap:5px;font-size:10px;}
.analyst-legend li {display:flex;align-items:center;gap:3px;}
.analyst-legend i {width:7px;height:7px;border-radius:50%;}
.analyst-tooltip {position:absolute;bottom:100%;left:0;right:0;z-index:1;padding:6px;background:#193f34;color:white;border-radius:4px;display:none;}
.analyst-bar[open] .analyst-tooltip {display:block;}
@media(pointer:coarse){.analyst-bar summary {min-width:26px;}}
.analyst-facts {display:grid;gap:6px;margin:0;font-size:13px;line-height:16px;}
.analyst-facts div {display:flex;align-items:baseline;justify-content:space-between;gap:4px;}
.analyst-facts dd {margin:0;font-weight:650;text-align:right;}
.analyst-lower {color:var(--down);}
.analyst-higher {color:var(--mint);}
.analyst-card:has(.analyst-trend) {container-type:inline-size;}
@container (max-width:200px){.analyst-bar summary{min-width:14px;}}
.analyst-marker-label {white-space:nowrap;}
.marker-current .analyst-marker-label,.marker-average .analyst-marker-label {width:66px;left:clamp(33px,var(--position),calc(100% - 33px));}
.quote-summary-reader .summary-analysts .stock-section-head {display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;}
.summary-analysts .stock-section-head a {white-space:nowrap;}
.summary-analysts .stock-section-head a[target="_blank"]::after {content:"↗" / "";}
@media(min-width:761px) and (max-width:1239px){.analyst-cards {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){.analyst-cards {grid-template-columns:minmax(0,1fr);}.analyst-card {min-height:0;}.analyst-card:has(meter) {min-height:142px;}.analyst-card:has(.analyst-trend) {min-height:170px;}.analyst-stack {width:20px;}.analyst-trend {grid-template-columns:minmax(0,1fr) 88px;gap:20px;}}
.analyst-facts,.analyst-bar,.analyst-card h3 {line-height:normal;}
.analyst-facts div {flex-wrap:wrap;}
.analyst-facts dd {margin-inline-start:auto;}
.analyst-bar summary {line-height:normal;}
.analyst-targets {font-size:13px;line-height:normal;min-height:max(137px,calc(8lh + 16px));}
.analyst-marker-label {line-height:normal;}
.marker-current .analyst-marker-label,.marker-average .analyst-marker-label {
  width:max(66px,8ch);left:clamp(max(33px,4ch),var(--position),calc(100% - max(33px,4ch)));
}
.marker-current .analyst-marker-label {top:calc(50% + 2lh + 8px);}
.marker-current::after {height:calc(2lh + 4px);}
@media(max-width:760px){
  .analyst-trend {display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;}
  .analyst-bars {flex:1 0 min(100%,16ch);}
  .analyst-legend {flex:0 1 auto;}
  .analyst-legend li {white-space:normal;}
  .analyst-stack {width:max(20px,2.2ch);}
}
@media (pointer:coarse) {
  .analyst-trend {display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;}
  .analyst-bars {flex:1 0 min(100%,182px);flex-wrap:wrap;}
  .analyst-bar summary {min-width:44px;min-height:44px;}
}
.quote-market-rail:has(.rail-ranking) {position:static;padding:0;border:0;box-shadow:none;}
.quote-market-rail:has(.rail-ranking) section {padding:12px 14px;margin-bottom:14px;border:1px solid var(--line);border-radius:8px;background:var(--panel);}
.rail-ranking > a {display:grid;grid-template-columns:minmax(0,1fr) max-content;column-gap:.5rem;align-content:center;min-height:39px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-variant-numeric:tabular-nums;font-size:.875rem;line-height:1.25;}
.rail-ranking > a:last-child {border:0;}
.rail-ranking a b,.rail-ranking a small[data-down] {text-align:right;}
.rail-ranking a small:first-of-type {color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.quote-market-rail .rail-ranking > .summary-stamp {display:block;margin:.1rem 0 .25rem;}
.quote-market-rail section > .text-link,.rail-recent a {display:inline-block;margin:.45rem .6rem 0 0;}
body:has(.quote-frame-top) > header {padding:0;}
.brand img.publisher-wordmark, .identity img.publisher-wordmark { width: 150px; max-width: 100%; height: auto; margin: 0; display: block; }
@media (max-width: 700px) { .brand img.publisher-wordmark, .identity img.publisher-wordmark { width: 128px; } }
.footer-brand img.publisher-wordmark { width: 110px; height: auto; filter: none; opacity: 1; }
