/* Equity research uses the terminal's paper/dark tokens and self-hosted type. */
#viewEquities { max-width: 1280px; min-width: 0; }
#viewEquities [hidden] { display: none !important; }
#viewEquities .eq-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin: .6rem 0 1.25rem; }
#viewEquities .eq-heading { padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
#viewEquities .eq-heading .headline { margin: .2rem 0; letter-spacing: -.045em; }
#viewEquities .eq-symbol { overflow-wrap: anywhere; font-size: clamp(2rem, 4vw, 3.25rem); }
.eq-company { color: var(--muted); margin: .4rem 0 0; font-size: 1.1rem; }
.eq-kicker, .eq-caption, .eq-footnote, .eq-toolbar p { color: var(--muted); font-size: .8rem; line-height: 1.6; }
.eq-intro { color: var(--muted); max-width: 65ch; line-height: 1.7; margin: 0 0 1.7rem; }
.eq-back { display: inline-block; font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.eq-back:hover { color: var(--brand); }
.eq-select { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .8rem; white-space: nowrap; }
.eq-select select { padding: .65rem 2rem .65rem .75rem; font: 500 .85rem var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; }
.eq-filter { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.eq-filter input { width: min(260px, 50vw); padding: .63rem .75rem; font: 500 .85rem var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; }
.eq-filter input::placeholder { color: var(--muted); }
.eq-board-tools { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0 0 .75rem; }
.eq-board-tools .eq-caption { margin: 0; }
.eq-sort { appearance: none; display: inline-flex; align-items: center; gap: .3rem; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-align: inherit; }
.eq-sort::after { content: '↕'; color: var(--muted); font-size: .8rem; }
.eq-board th[aria-sort="ascending"] .eq-sort, .eq-board th[aria-sort="descending"] .eq-sort { color: var(--brand); }
.eq-board th[aria-sort="ascending"] .eq-sort::after { content: '↑'; color: var(--brand); }
.eq-board th[aria-sort="descending"] .eq-sort::after { content: '↓'; color: var(--brand); }
.eq-no-match { color: var(--muted); text-align: center !important; padding: 2rem !important; }
.eq-table-wrap { overflow: auto; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); max-width: 100%; }
.eq-table { width: 100%; border-collapse: collapse; font-size: .85rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.eq-table th, .eq-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--rule-soft); vertical-align: top; white-space: nowrap; }
.eq-table thead th { color: var(--muted); font-size: .7rem; font-weight: 500; background: var(--surface-2); }
.eq-table th[scope="row"] { font-weight: 500; }
.eq-table .eq-group-row th { padding-top: 1.1rem; color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: var(--surface); }
.eq-table .eq-group-row span { margin-left: .4rem; font-weight: 500; }
.eq-table .r { text-align: right; }
.eq-table td { color: var(--ink-2); }
.eq-table a { color: var(--brand); text-decoration: none; }
.eq-table a:hover { text-decoration: underline; }
.eq-table small { display: block; color: var(--muted); font-size: .7rem; font-weight: 400; margin-top: .25rem; }
.eq-table tbody tr:hover { background: var(--surface-hover); }
.eq-table tr:last-child > * { border-bottom: 0; }
.eq-tabs { display: flex; gap: 1.4rem; overflow-x: auto; border-bottom: 1px solid var(--rule); margin-top: 1.5rem; position: sticky; top: 0; z-index: 4; background: var(--ground); box-shadow: 0 1px 0 var(--ground); }
.eq-tabs button { flex-shrink: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: .85rem 0; font: 500 .85rem var(--sans); cursor: pointer; transition: color .2s, border-color .2s; }
.eq-tabs button[aria-selected="true"] { border-color: var(--brand); color: var(--ink); }
.eq-tabs button:hover { color: var(--brand); }
.eq-tabs button:active { transform: translateY(1px); }
#viewEquities :is(button, a, select):focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.eq-panel { padding-top: 1.7rem; }
.eq-panel:focus { outline: none; }
.eq-state { padding: 2.5rem 1.5rem; border: 1px dashed var(--rule-strong); background: var(--surface-2); margin: 1rem 0; border-radius: 6px; }
.eq-state h2 { font-size: 1.1rem; font-weight: 600; margin: 0 0 .5rem; letter-spacing: -.02em; }
.eq-state p { color: var(--muted); max-width: 65ch; font-size: .85rem; line-height: 1.7; margin: .4rem 0 1rem; }
.eq-loading { padding: 1.5rem 0; }
.eq-loading p { color: var(--muted); font-size: .85rem; }
.eq-loading span { display: block; height: 2.7rem; margin: .7rem 0; background: var(--surface-2); border: 1px solid var(--rule-soft); border-radius: 4px; }
.eq-loading span:last-child { max-width: 70%; }
.eq-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.eq-actions small { font-size: .7rem; color: var(--muted); }
.eq-actions button:disabled { opacity: .5; cursor: default; }
.eq-job { font-size: .8rem; line-height: 1.6; color: var(--muted); max-width: 75ch; }
.eq-job:empty { display: none; }
.eq-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--rule); margin: .5rem 0 1.5rem; padding: 1.1rem 0; gap: 1rem; }
.eq-facts .eq-fact { min-width: 0; }
.eq-fact dt { color: var(--muted); font-size: .72rem; margin-bottom: .6rem; }
.eq-fact dd { margin: 0; font-size: 1.3rem; line-height: 1.3; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.eq-fact small { display: block; color: var(--muted); font-size: .7rem; margin-top: .5rem; line-height: 1.6; }
.eq-block { margin-bottom: 2.3rem; min-width: 0; scroll-margin-top: 7rem; }
.eq-block h2 { margin: 0 0 1rem; font-size: 1.2rem; font-weight: 600; letter-spacing: -.025em; }
.eq-block h3 { font-size: .9rem; font-weight: 500; }
.eq-prose { max-width: 68ch; font-size: .95rem; line-height: 1.8; color: var(--ink-2); white-space: pre-line; }
.eq-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.eq-meta dd { font-size: .9rem; }
.eq-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; }
.eq-section-head span { color: var(--muted); font-size: .8rem; }
.eq-section-head strong { font: 500 .85rem var(--mono); }
.eq-price-chart { width: 100%; min-height: 260px; background: var(--surface-2); border-bottom: 1px solid var(--rule); }
.eq-chart-tools { margin: .2rem 0 .7rem; }
.eq-block .chart-note { padding-left: 0; padding-right: 0; border-bottom: 0; }
.eq-block .chart-hint { border-top: 0; padding-left: 0; }
.eq-block summary { cursor: pointer; font-size: .85rem; padding: .8rem 0; }
.eq-block summary:hover { color: var(--brand); }
.eq-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.eq-statement-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 1.5rem 0 2rem; font-size: .8rem; }
.eq-statement-links a { color: var(--brand); }
.eq-statement-wrap { max-height: 34rem; overscroll-behavior: contain; }
.eq-statement thead th { position: sticky; top: 0; z-index: 3; box-shadow: 0 1px 0 var(--rule); }
.eq-statement th:first-child { min-width: 220px; max-width: 360px; white-space: normal; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.eq-statement thead th:first-child { z-index: 4; background: var(--surface-2); }
.eq-highlight > * { background: var(--brand-wash) !important; }
.eq-neg { color: var(--neg); }
.eq-period-head strong { display: block; font-weight: 600; color: var(--ink); }
.eq-period-head small { display: block; color: var(--muted); font-size: .65rem; font-weight: 400; margin-top: .15rem; }
.eq-statement-summary { margin: 0 0 .5rem; }
.eq-statement-links { position: sticky; top: 3.1rem; z-index: 3; background: var(--ground); padding: .6rem 0; margin: .5rem 0 1.5rem; border-bottom: 1px solid var(--rule-soft); }
.eq-snapshots th[scope="row"] { white-space: normal; min-width: 220px; }
.eq-statement tbody th small { font-family: var(--mono); }
@media (max-width: 1100px) { .eq-facts, .eq-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  #viewEquities .eq-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .eq-actions { align-items: flex-start; }
  .eq-tabs { gap: 1.3rem; margin-top: 1rem; }
  .eq-facts { gap: 1.5rem 1rem; }
  .eq-fact dd { font-size: 1.1rem; }
  .eq-table th, .eq-table td { padding: .7rem .65rem; }
  .eq-section-head { flex-direction: column; gap: 0; }
  .eq-section-head h2 { margin-bottom: .5rem; }
  .eq-state { padding: 1.5rem 1rem; }
  .eq-kicker { font-size: .75rem; }
  .eq-board-tools { align-items: stretch; flex-direction: column; gap: .55rem; }
  .eq-filter { align-items: stretch; flex-direction: column; white-space: normal; }
  .eq-filter input { width: 100%; box-sizing: border-box; }
  .eq-statement-wrap { max-height: 27rem; }
}
.eq-job a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; margin-left: .35rem; }

/* The valuation pane: a sector model's range against the last close. */
.val-explain { color: var(--ink-2); font-size: .88rem; line-height: 1.65; max-width: 75ch; margin: 0 0 .35rem; }
.val-bar { display: block; width: 100%; height: 2.4rem; margin: 1.4rem 0 .5rem; overflow: visible; }
.val-bar line { vector-effect: non-scaling-stroke; }
.val-track { stroke: var(--rule-strong); stroke-width: 1; }
.val-span { fill: var(--brand); opacity: .28; }
.val-base { stroke: var(--brand); stroke-width: 3; }
.val-price { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 4 3; }
.val-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0 0 .4rem; color: var(--muted); font-size: .75rem; }
.val-key::before { content: ""; display: inline-block; width: .9rem; height: .55rem; margin-right: .4rem; vertical-align: baseline; }
.val-key-span::before { background: var(--brand); opacity: .28; }
.val-key-base::before { width: 3px; height: .8rem; background: var(--brand); vertical-align: -.12rem; }
.val-key-price::before { width: 0; height: .8rem; border-left: 2px dashed var(--ink); vertical-align: -.12rem; }
.eq-facts.val-facts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.val-table td, .val-table th { white-space: normal; }
.val-table .r, .val-grid .r { white-space: nowrap; font-family: var(--mono); font-size: .8rem; }
.val-source { color: var(--muted); font-size: .78rem; min-width: 14rem; max-width: 34rem; }
.val-missing td, .val-missing th { color: var(--muted); }
.val-field { display: inline-flex; align-items: center; gap: .3rem; }
.val-field input { width: 5.2rem; box-sizing: border-box; padding: .35rem .45rem; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--surface); color: var(--ink); font: 500 .8rem var(--mono); text-align: right; }
.val-field input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.val-grid td.val-here { background: var(--surface-hover); color: var(--ink); font-weight: 600; }
.val-flags { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.val-flag { border-left: 3px solid var(--rule-strong); padding: .5rem .8rem; background: var(--surface-2); font-size: .82rem; line-height: 1.6; color: var(--ink-2); }
.val-flag strong { font-weight: 600; margin-right: .3rem; }
.val-flag.val-warning { border-left-color: var(--brand); }
.val-flag.val-severe { border-left-color: var(--neg); }
.val-disclaimer { border-top: 1px solid var(--rule); padding-top: 1rem; }
.val-edited { color: var(--brand); }
@media (max-width: 1100px) { .eq-facts.val-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .eq-facts.val-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .val-source { min-width: 9rem; }
  .val-field input { width: 4.4rem; }
}
/* Yield curve (curve.js): the observed points joined by straight segments, comparison
   curves lighter behind the latest one. Paint is token-only, so the theme toggle repaints it. */
.curve { margin: 0 0 2rem; padding: var(--inset); border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); min-width: 0; }
.curve-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .75rem 1rem; }
.curve-head .eyebrow { margin: 0 0 .2rem; }
.curve-title { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.curve-status { margin: .7rem 0 .4rem; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.curve-status a { color: var(--brand); }
.curve-slope { display: inline-block; padding: .05rem .45rem; margin-right: .3rem; border: 1px solid currentColor; border-radius: 999px; font-weight: 600; font-size: .72rem; }
.curve-slope.slope-normal { color: var(--pos); }
.curve-slope.slope-inverted { color: var(--neg); }
.curve-slope.slope-flat { color: var(--muted); }
.curve-warn { color: var(--neg); }
.curve-figure { width: 100%; min-width: 0; overflow: hidden; }
.curve-chart { display: block; width: 100%; }
.curve-chart .curve-grid { stroke: var(--chart-grid); stroke-width: 1; }
.curve-chart .curve-tick { stroke: var(--chart-grid); stroke-width: 1; }
.curve-chart .curve-axis { fill: var(--muted); font: 500 11px var(--sans); }
.curve-chart .curve-pending { fill: var(--muted); opacity: .6; }
.curve-chart .curve-latest { fill: none; stroke: var(--chart-line); stroke-width: 2.25; stroke-linejoin: round; }
.curve-chart .curve-cmp { fill: none; stroke: var(--chart-fc); stroke-width: 1.5; stroke-linejoin: round; }
.curve-chart .cmp-1w { opacity: .55; stroke-dasharray: 6 3; }
.curve-chart .cmp-1m { opacity: .42; stroke-dasharray: 3 3; }
.curve-chart .cmp-3m { opacity: .32; stroke-dasharray: 1.5 3; }
.curve-chart .cmp-1y { opacity: .25; stroke-dasharray: 8 4 2 4; }
.curve-chart .curve-dot { fill: var(--surface); stroke: var(--chart-line); stroke-width: 2; }
.curve-chart .curve-hit { fill: transparent; stroke: none; }
.curve-chart .curve-point:hover .curve-dot, .curve-chart .curve-point:focus .curve-dot { fill: var(--chart-line); }
.curve-chart .curve-point:focus { outline: none; }
.curve-chart .curve-point:focus-visible .curve-hit { stroke: var(--chart-line); stroke-width: 1.5; }
.curve-legend { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: .5rem 0 .2rem; color: var(--muted); font-size: .74rem; }
.curve-key i { display: inline-block; width: 18px; height: 0; margin-right: .4rem; vertical-align: middle; border-top: 2px solid var(--chart-line); }
.curve-key i.key-cmp-1w, .curve-key i.key-cmp-1m, .curve-key i.key-cmp-3m, .curve-key i.key-cmp-1y { border-top: 2px dashed var(--chart-fc); }
.curve-key i.key-cmp-1w { opacity: .55; }
.curve-key i.key-cmp-1m { opacity: .42; }
.curve-key i.key-cmp-3m { opacity: .32; border-top-style: dotted; }
.curve-key i.key-cmp-1y { opacity: .25; }
.curve-missing { font-style: italic; }
.curve-spreads { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; margin: .9rem 0 .4rem; }
.curve-tile { display: grid; gap: .15rem; padding: .65rem .75rem; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); cursor: pointer; }
.curve-tile span, .curve-tile small { color: var(--muted); font-size: .72rem; }
.curve-tile strong { font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.curve-tile:hover:not(:disabled), .curve-tile[aria-pressed="true"] { border-color: var(--brand); background: var(--surface-hover); }
.curve-tile:disabled { cursor: default; opacity: .7; }
.curve-spread-title { margin: .6rem 0 .3rem; color: var(--muted); font-size: .78rem; }
.curve-note { margin: .7rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.6; }
@media (max-width: 600px) {
  .curve-head .eq-select { width: 100%; }
  .curve-head .eq-select select { flex: 1; min-width: 0; }
  .curve-spreads { grid-template-columns: 1fr; }
}
/* Yield surface (curve3d.js): the ribbons, the level ramp and the frame are read from these tokens with
   getComputedStyle when drawn and again when the theme flips; paper is the default theme. The ramp runs
   from the lowest yield on the surface (1) to the highest (5). */
:root {
  --curve-latest: var(--chart-line); --curve-spread: var(--ink); --curve-mesh: rgba(8, 10, 19, 0.55);
  --curve-cmp-1w: #0B7F86; --curve-cmp-1m: #7046C8; --curve-cmp-3m: #4F7A1F; --curve-cmp-1y: #4A5063; --curve-scrub: #C2185B;
  --curve-ramp-1: #E3ECF1; --curve-ramp-2: #A7D2CC; --curve-ramp-3: #EBDBA2; --curve-ramp-4: #EFA567; --curve-ramp-5: #D9634B;
}
[data-theme="dark"] {
  --curve-mesh: rgba(244, 244, 250, 0.5);
  --curve-cmp-1w: #3CC7C9; --curve-cmp-1m: #AE91FF; --curve-cmp-3m: #A6CB5C; --curve-cmp-1y: #C4C8D9; --curve-scrub: #FF6FAE;
  --curve-ramp-1: #22305A; --curve-ramp-2: #23707C; --curve-ramp-3: #8FA35A; --curve-ramp-4: #E8A13F; --curve-ramp-5: #F2664A;
}
.curve-tools { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; margin: .2rem 0 .7rem; }
.curve-seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; background: var(--surface); }
.curve-seg[hidden] { display: none; }
.curve-seg button { padding: .34rem .62rem; border: 0; background: transparent; color: var(--muted); font: 500 .74rem var(--sans); cursor: pointer; }
.curve-seg button + button { border-left: 1px solid var(--rule); }
.curve-seg button:hover { color: var(--ink); background: var(--surface-hover); }
.curve-seg button[aria-pressed="true"] { color: var(--ink); background: var(--brand-wash); }
.curve-seg button:focus-visible, .curve-key:focus-visible, .curve-scrub button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.curve3d { position: relative; width: 100%; height: clamp(340px, 42vw, 540px); border: 1px solid var(--rule-soft); border-radius: 6px; background: var(--surface); overflow: hidden; }
.curve3d-wait { display: grid; place-items: center; color: var(--muted); font-size: .8rem; }
.curve3d-canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.curve3d-canvas:active { cursor: grabbing; }
.curve3d-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.curve3d-label { position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--muted); font: 500 11px var(--sans); font-variant-numeric: tabular-nums; text-shadow: 0 0 3px var(--surface), 0 0 2px var(--surface); }
.curve3d-tenor { translate: -50% 0; }
.curve3d-year { translate: 4px -50%; }
.curve3d-year-left { translate: calc(-100% - 4px) -50%; }
.curve3d-scrub-tag { translate: calc(-100% - 6px) -50%; padding: .1rem .35rem; border-radius: 4px; background: var(--curve-scrub); color: var(--brand-ink); font-weight: 600; text-shadow: none; }
.curve3d-yield { translate: calc(-100% - 6px) -50%; }
.curve3d-pending { opacity: .6; }
.curve3d-leg { color: var(--ink); font-weight: 700; }
.curve3d-ring { width: 9px; height: 9px; border: 1.5px solid var(--muted); border-radius: 50%; translate: -50% -50%; }
.curve3d-spread-tag { translate: -50% calc(-100% - 6px); padding: .12rem .4rem; border: 1px solid var(--curve-spread); border-radius: 4px; background: var(--surface); color: var(--ink); font-weight: 600; }
.curve3d-readout { position: absolute; top: .6rem; left: .6rem; min-width: 10rem; padding: .5rem .65rem; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); color: var(--ink); font-size: .74rem; pointer-events: none; }
.curve3d-readout[hidden] { display: none; }
.curve3d-read-head { margin: 0; color: var(--muted); }
.curve3d-read-head strong { color: var(--ink); font-weight: 700; }
.curve3d-read-yield { margin: .1rem 0 .35rem; font: 600 1.05rem var(--mono); }
.curve3d-read-deltas { display: grid; grid-template-columns: auto auto; gap: .12rem .9rem; margin: 0; }
.curve3d-read-deltas div { display: contents; }
.curve3d-read-deltas dt { color: var(--muted); }
.curve3d-read-deltas dd { margin: 0; text-align: right; font-family: var(--mono); }
.curve3d-read-ticker { margin: .35rem 0 0; color: var(--muted); font: 500 .68rem var(--mono); }
.curve-caption { margin: .45rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.curve-scrub { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: .45rem .8rem; align-items: center; margin: .6rem 0 .1rem; color: var(--muted); font-size: .74rem; }
.curve-scrub[hidden] { display: none; }
.curve-scrub input { width: 100%; min-width: 0; accent-color: var(--curve-scrub); }
.curve-scrub output { color: var(--ink); font: 500 .74rem var(--mono); white-space: nowrap; }
.curve-scrub button { padding: .28rem .6rem; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); color: var(--ink); font: 500 .72rem var(--sans); cursor: pointer; }
button.curve-key { padding: .15rem .1rem; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-align: left; }
button.curve-key[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.curve.is-3d .curve-key i { height: 4px; border-top: 0; border-radius: 2px; opacity: 1; background: var(--curve-latest); }
.curve.is-3d .curve-key i.key-cmp-1w { background: var(--curve-cmp-1w); }
.curve.is-3d .curve-key i.key-cmp-1m { background: var(--curve-cmp-1m); }
.curve.is-3d .curve-key i.key-cmp-3m { background: var(--curve-cmp-3m); }
.curve.is-3d .curve-key i.key-cmp-1y { background: var(--curve-cmp-1y); }
.curve-summary { margin: .8rem 0 0; color: var(--ink-2); font-size: .8rem; line-height: 1.6; }
.curve-table { margin: .5rem 0 0; font-size: .76rem; }
.curve-table summary { color: var(--brand); cursor: pointer; }
.curve-table-scroll { overflow-x: auto; margin-top: .5rem; border: 1px solid var(--rule); border-radius: 6px; }
.curve-data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.curve-data caption { padding: .45rem .6rem; color: var(--muted); text-align: left; }
.curve-data th, .curve-data td { padding: .35rem .6rem; border-top: 1px solid var(--rule-soft); text-align: right; white-space: nowrap; }
.curve-data th:first-child, .curve-data td:nth-child(2) { text-align: left; }
.curve-data thead th { color: var(--muted); font-weight: 600; }
@media (max-width: 600px) {
  .curve3d { height: min(320px, 78vw); }
  /* A compact reading across the top: on a phone the corner box would cover half the surface. */
  .curve3d-readout { top: .35rem; left: .35rem; right: .35rem; min-width: 0; padding: .35rem .5rem; font-size: .7rem; }
  .curve3d-read-yield { display: inline; margin: 0 0 0 .4rem; font-size: .85rem; }
  .curve3d-read-head { display: inline; }
  .curve3d-read-deltas { grid-template-columns: repeat(4, auto); gap: .05rem .5rem; margin-top: .2rem; }
  .curve3d-read-ticker { margin-top: .15rem; }
  .curve-scrub { grid-template-columns: minmax(0, 1fr) auto; }
  .curve-scrub label { grid-column: 1 / -1; }
  .curve-scrub output { grid-column: 1 / -1; white-space: normal; }
}
