/* /portfolio/desk/assistant/: the chat, its cards and "Call the desk" (sections/desk.py, static/desk/assistant.js, voice.js).
   On brand with business.otrecord.news (bz26.css): Source Serif to read, Public Sans for labels and figures, ink on
   white, light rules, square corners (the round call button is the one exception). */
section.blk.ai, section.blk.vc-sec, section.blk.pc-sec { --a-ink: var(--b-text, #121212); --a-2: var(--b-text-2, #363636); --a-meta: var(--b-meta, #5F5F5F); --a-rule: var(--b-rule, #DCDCDC);
  --a-rule2: var(--b-rule-2, #EDEDED); --a-wash: var(--b-wash, #F5F5F3); --a-src: var(--b-src, #1F48B8); --a-up: var(--b-up, #0A7B3E); --a-down: var(--b-down, #C4122F);
  --a-serif: var(--b-serif, "Source Serif 4", Georgia, serif); --a-sans: var(--b-sans, "Public Sans", system-ui, sans-serif); }
section.blk.ai [hidden], section.blk .vc [hidden] { display: none !important; }
section.blk .ai-main { max-width: 880px; margin: 0 auto; min-width: 0; }

/* the bar above the chat */
section.blk .ai-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 10px 0; border-bottom: 1px solid var(--a-rule); }
section.blk .ai-limit { margin: 0; font: 400 14px/1.4 var(--a-sans); color: var(--a-meta); }
section.blk .ai-limit .dk-pro, section.blk .ai-limit .dk-free { margin-right: 6px; }
section.blk .ai-limit a { color: var(--a-ink); font-weight: 600; }
section.blk .ai-acts { display: flex; gap: 8px; }
section.blk .ai-acts .btn.alt { padding: 7px 12px; font-size: 14px; }
section.blk #ai-gate { margin: 14px 0 0; }
section.blk #ai-gate p { margin: 0; }
section.blk #ai-gate a { font-weight: 600; }

/* the conversation */
section.blk .ai-log { min-height: 300px; padding: 22px 0 10px; display: grid; gap: 26px; align-content: start; }
section.blk .ai-empty { padding: 18px 0 6px; }
section.blk .ai-hello { margin: 0 0 18px; font: 400 20px/1.5 var(--a-serif); color: var(--a-ink); max-width: 46ch; }
section.blk .ai-sugg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
section.blk .ai-sugg button { appearance: none; text-align: left; padding: 13px 15px; border: 1px solid var(--a-rule); background: #fff; color: var(--a-ink); font: 600 15px/1.35 var(--a-sans); cursor: pointer; transition: border-color .12s, background .12s; }
section.blk .ai-sugg button:hover { border-color: var(--a-ink); background: var(--a-wash); }
section.blk .ai-sugg button:focus-visible { outline: 3px solid var(--a-src); outline-offset: 2px; }

section.blk .ai-m { min-width: 0; }
section.blk .ai-m.me { justify-self: end; max-width: min(64ch, 86%); }
section.blk .ai-m.me .ai-txt { padding: 11px 15px; background: var(--a-wash); border: 1px solid var(--a-rule2); color: var(--a-ink); white-space: pre-wrap; overflow-wrap: anywhere; font: 400 16px/1.45 var(--a-sans); }
section.blk .ai-who { display: flex; align-items: center; gap: 8px; font: 800 12px/1 var(--a-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--a-ink); margin: 0 0 10px; }
section.blk .ai-who .mark { width: 10px; height: 10px; background: var(--hl, #FFE45C); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
section.blk .ai-who .note { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--a-meta); }
section.blk .ai-status { margin: 0 0 8px; font: 400 15px/1.4 var(--a-sans); color: var(--a-meta); }
section.blk .ai-m.live .ai-status::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--a-meta); animation: ai-blink 1s steps(2) infinite; }
@keyframes ai-blink { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { section.blk .ai-m.live .ai-status::before { animation: none; } }

/* answer text: the site's reading style, house tables */
section.blk .ai-md { font: 400 17px/1.6 var(--a-serif); color: var(--a-ink); overflow-wrap: anywhere; max-width: 70ch; }
section.blk .ai-md p, section.blk .ai-md li { margin: 0 0 12px; font: inherit; color: inherit; }
section.blk .ai-md li { margin: 0; }
section.blk .ai-md p:last-child { margin-bottom: 0; }
section.blk .ai-md b, section.blk .ai-md strong { font-weight: 700; }
section.blk .ai-md ul, section.blk .ai-md ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 5px; }
section.blk .ai-md li::marker { color: var(--a-meta); }
section.blk .ai-md code { font: 400 14px/1.3 ui-monospace, Menlo, monospace; background: var(--a-wash); padding: 1px 4px; }
section.blk .ai-md a { color: var(--a-src); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
section.blk .ai-md .dk-mdh { margin: 16px 0 6px; }
section.blk .ai-md .dk-mdh b { font: 700 19px/1.25 var(--a-serif); }
section.blk .ai-md .dk-mdh:first-child { margin-top: 0; }
section.blk .dk-mdt { overflow-x: auto; margin: 4px 0 14px; max-width: 100%; }
section.blk .dk-mdt table { border-collapse: collapse; font: 400 14px/1.4 var(--a-sans); font-variant-numeric: tabular-nums; border-top: 2px solid var(--a-ink); min-width: 60%; }
section.blk .dk-mdt th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--a-meta); padding: 7px 14px 7px 0; border-bottom: 1px solid var(--a-ink); white-space: nowrap; }
section.blk .dk-mdt td { padding: 7px 14px 7px 0; border-bottom: 1px solid var(--a-rule2); vertical-align: top; }
section.blk .dk-mdt td:first-child { font-weight: 600; }
section.blk .dk-mdt .n { text-align: right; white-space: nowrap; }
section.blk .ai-tools { margin: 8px 0 0; }
section.blk .ai-tools .dk-link { font-size: 13px; color: var(--a-meta); }
section.blk .ai-sys { max-width: 76ch; }
section.blk .ai-sys p { margin: 0; }
section.blk .ai-sys .dk-link { margin-top: 6px; }

/* where it looked (chips) and what else it was given */
section.blk .ai-looked { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font: 400 13px/1.4 var(--a-sans); color: var(--a-meta); }
section.blk .ai-looked b { font-weight: 700; color: var(--a-ink); margin-right: 2px; }
section.blk .ai-looked ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
section.blk .ai-looked li { padding: 2px 8px; border: 1px solid var(--a-rule); background: #fff; max-width: 100%; overflow-wrap: anywhere; }
section.blk .ai-looked a { color: var(--a-src); text-decoration: none; }
section.blk .ai-looked a:hover { text-decoration: underline; }
section.blk .ai-src { margin: 6px 0 0; font: 400 12px/1.45 var(--a-sans); color: var(--a-meta); max-width: 76ch; }

/* ---------- Cards ---------- */
section.blk .ai-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 16px; align-items: stretch; }
section.blk .ai-cards > .ai-card { grid-column: 1 / -1; }
section.blk .ai-cards > .ai-card.half { grid-column: auto; }
section.blk .ai-card { min-width: 0; border: 1px solid var(--a-rule); border-top: 2px solid var(--a-ink); background: #fff; padding: 14px 16px 14px; font: 400 14px/1.45 var(--a-sans); color: var(--a-ink); }
section.blk .ai-card.wide { grid-column: 1 / -1; }
section.blk .ai-card a { color: var(--a-ink); text-decoration: none; }
section.blk .ai-card a:hover { text-decoration: underline; }
section.blk .ai-card header { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
section.blk .ai-card header > div { min-width: 0; flex: 1; }
section.blk .ai-card h4 { margin: 0; font: 700 19px/1.2 var(--a-serif); letter-spacing: -.005em; overflow-wrap: anywhere; }
section.blk .ai-card h5 { margin: 0 0 8px; font: 800 12px/1.2 var(--a-sans); letter-spacing: .06em; text-transform: uppercase; }
section.blk .ai-card .k { margin: 3px 0 0; font-size: 13px; color: var(--a-meta); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
section.blk .ai-card .tk, section.blk .ai-rows .tk { display: inline-block; padding: 0 5px; border: 1px solid var(--a-ink); font: 800 11px/1.5 var(--a-sans); letter-spacing: .03em; color: var(--a-ink); }
section.blk .ai-card .px { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 6px; }
section.blk .ai-card .px b { font: 800 28px/1 var(--a-sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
section.blk .ai-card .px .k { margin: 0; }
section.blk .ai-card .about { margin: 10px 0 0; color: var(--a-2); font-size: 13px; }
section.blk .ai-card .links { margin: 10px 0 0; padding: 9px 0 0; border-top: 1px solid var(--a-rule2); display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 700; font-size: 13px; }
section.blk .ai-card .links a { color: var(--a-src); }
section.blk .ai-cap { margin: 10px 0 4px; font: 600 12px/1.3 var(--a-sans); color: var(--a-meta); }
section.blk .ai-pct { display: inline-block; padding: 1px 6px; font: 800 13px/1.35 var(--a-sans); font-variant-numeric: tabular-nums; background: var(--a-wash); color: var(--a-2); }
section.blk .ai-pct.up { background: var(--up-bg, #E3F4E8); color: var(--a-up); }
section.blk .ai-pct.down { background: var(--down-bg, #FBE5E8); color: var(--a-down); }
section.blk .ai-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; margin: 10px 0 0; }
section.blk .ai-facts > div { min-width: 0; border-top: 1px solid var(--a-rule2); padding-top: 6px; }
section.blk .ai-facts dt { font-size: 12px; color: var(--a-meta); }
section.blk .ai-facts dd { margin: 2px 0 0; font: 700 15px/1.3 var(--a-sans); font-variant-numeric: tabular-nums; }
section.blk .ai-facts.big dd { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
section.blk .ai-facts.big dd .ai-pct { font-size: 12px; vertical-align: 3px; letter-spacing: 0; }
section.blk .ai-sp { margin: 4px 0 0; }
section.blk .ai-sp .ai-cap { display: block; margin: 2px 0 0; font-weight: 400; }
section.blk .ai-spark { display: block; width: 100%; height: auto; }
section.blk .ai-spark .line { fill: none; stroke: var(--k0, #1D3557); stroke-width: 2; }
section.blk .ai-spark.up .line { stroke: var(--a-up); }
section.blk .ai-spark.down .line { stroke: var(--a-down); }
section.blk .ai-spark .fill { fill: var(--a-wash); }
section.blk .chart .ai-spark { height: 140px; }
section.blk .ai-axis { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--a-meta); font-variant-numeric: tabular-nums; }
section.blk .ai-card header .ret { margin: 0; font-size: 18px; }
section.blk .ai-card header .ret .ai-pct { font-size: 16px; padding: 3px 8px; }
section.blk .ai-bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; align-items: end; height: 120px; }
section.blk .ai-bars .b { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; align-items: end; text-align: center; min-width: 0; }
section.blk .ai-bars i { display: block; width: 100%; background: var(--k0, #1D3557); align-self: end; }
section.blk .ai-bars .b:last-child i { background: var(--hl, #FFE45C); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
section.blk .ai-bars i.neg { background: var(--a-down); }
section.blk .ai-bars .v, section.blk .ai-bars .l { font-size: 11px; color: var(--a-meta); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
section.blk .ai-bars .v { color: var(--a-ink); font-weight: 600; padding-bottom: 2px; }
section.blk .ai-bars .l { padding-top: 3px; }
section.blk .ai-qs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 24px; }
/* lists inside cards */
section.blk .ai-rows { list-style: none; margin: 0; padding: 0; }
section.blk .ai-rows li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--a-rule2); min-width: 0; }
section.blk .ai-rows li:first-child { border-top: 0; padding-top: 2px; }
section.blk .ai-rows li > div { min-width: 0; flex: 1; }
section.blk .ai-rows .sm { display: block; font-size: 12px; color: var(--a-meta); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
section.blk .ai-rows .ai-ph { width: 32px; height: 32px; object-fit: cover; flex: none; background: var(--a-wash); }
section.blk .ai-rows .ai-ph.none { position: relative; overflow: hidden; display: grid; place-items: center; font: 800 14px/1 var(--a-sans); color: var(--a-meta); }
section.blk .ai-rows .ai-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
section.blk .ai-rows.fil .form { flex: none; min-width: 44px; text-align: center; padding: 1px 5px; border: 1px solid var(--a-rule); font: 800 11px/1.5 var(--a-sans); color: var(--a-2); }
section.blk .ai-rows.cal .when { flex: none; width: 92px; font-size: 13px; color: var(--a-meta); font-variant-numeric: tabular-nums; }
section.blk .ai-rows.mv .ai-pct { flex: none; }
section.blk .ai-arts { list-style: none; margin: 0; padding: 0; }
section.blk .ai-arts li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--a-rule2); min-width: 0; }
section.blk .ai-arts li:first-child { border-top: 0; padding-top: 2px; }
section.blk .ai-arts img { flex: none; width: 88px; height: 58px; object-fit: cover; background: var(--a-wash); }
section.blk .ai-arts li > div { min-width: 0; }
section.blk .ai-arts .h { display: block; font: 700 16px/1.28 var(--a-serif); color: var(--a-ink); }
section.blk .ai-arts .sm { display: block; margin-top: 3px; font-size: 12px; color: var(--a-meta); }
section.blk .ai-arts .sum { display: block; margin-top: 3px; font-size: 13px; color: var(--a-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* portfolio analytics */
section.blk .ai-mix { display: flex; height: 12px; background: var(--a-rule2); overflow: hidden; }
section.blk .ai-mix i { display: block; height: 100%; }
section.blk .ai-legend { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--a-2); }
section.blk .ai-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; vertical-align: -1px; }
section.blk .ai-weights { list-style: none; margin: 0; padding: 0; }
section.blk .ai-weights li { display: grid; grid-template-columns: 4.5em minmax(40px, 1fr) 3.6em 5.4em; gap: 10px; align-items: center; padding: 5px 0; border-top: 1px solid var(--a-rule2); font-size: 13px; font-variant-numeric: tabular-nums; }
section.blk .ai-weights .bar { display: block; height: 8px; background: var(--a-rule2); }
section.blk .ai-weights .bar i { display: block; height: 100%; background: var(--k0, #1D3557); }
section.blk .ai-weights .v { text-align: right; font-weight: 700; }
section.blk .ai-weights .d { text-align: right; }
/* screener table, movers */
section.blk .ai-tw { overflow-x: auto; }
section.blk .ai-t { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
section.blk .ai-t th, section.blk .ai-t td { padding: 7px 10px 7px 0; border-bottom: 1px solid var(--a-rule2); text-align: left; vertical-align: middle; }
section.blk .ai-t thead th { font-size: 11px; font-weight: 700; color: var(--a-meta); border-bottom: 1px solid var(--a-ink); letter-spacing: .03em; }
section.blk .ai-t th[scope=row] { font-weight: 400; display: flex; align-items: center; gap: 8px; min-width: 0; }
section.blk .ai-t th[scope=row] .sm { color: var(--a-meta); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 18ch; }
section.blk .ai-t .n { text-align: right; white-space: nowrap; }
section.blk .ai-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
/* logos (static/grades.js), as the stock panel draws them */
section.blk .ai-card .lg, section.blk .ai-t .lg { position: relative; display: inline-block; flex: 0 0 auto; vertical-align: middle; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--a-rule); margin: 0; border: 0; }
section.blk .ai-card .lg img, section.blk .ai-t .lg img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 3px; box-sizing: border-box; object-fit: contain; background: #fff; }
section.blk .ai-card .lg.lg-dark, section.blk .ai-card .lg.lg-dark img { background: #1F1F1F; }
section.blk .ai-card .lg-ini, section.blk .ai-t .lg-ini { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 800 10px/1 var(--a-sans); letter-spacing: .02em; }

/* the box to type in */
section.blk .ai-form { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; padding: 12px 0 10px; background: #fff; border-top: 1px solid var(--a-rule); }
section.blk .ai-form textarea { width: 100%; min-height: 54px; max-height: 40vh; resize: vertical; font: 400 16px/1.4 var(--a-sans); padding: 13px 14px; border: 1px solid var(--a-ink); border-radius: 0; color: var(--a-ink); background: #fff; }
section.blk .ai-form textarea:focus { outline: 3px solid var(--a-src); outline-offset: 0; }
section.blk .ai-form textarea:disabled { background: var(--a-wash); }
section.blk .ai-send { display: flex; gap: 8px; }
section.blk .ai-send .btn { padding: 16px 22px; }
section.blk .ai-standing { margin: 0; font: 400 13px/1.4 var(--a-sans); color: var(--a-meta); }

@media (max-width: 640px) {
  section.blk .ai-sugg { grid-template-columns: minmax(0, 1fr); }
  section.blk .ai-form { grid-template-columns: minmax(0, 1fr); }
  section.blk .ai-send .btn { flex: 1 1 auto; padding: 12px; }
  section.blk .ai-m.me { max-width: 92%; }
  section.blk .ai-hello { font-size: 18px; }
  section.blk .ai-md { font-size: 16px; }
  section.blk .ai-cards { grid-template-columns: minmax(0, 1fr); }
  section.blk .ai-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section.blk .ai-facts.big dd { font-size: 19px; }
  section.blk .ai-two { grid-template-columns: minmax(0, 1fr); }
  section.blk .ai-t .c2 { display: none; }
  section.blk .ai-arts img { width: 72px; height: 48px; }
  section.blk .ai-weights li { grid-template-columns: 4em minmax(30px, 1fr) 3.4em 4.8em; gap: 8px; }
}

/* ---------- Call the desk (static/desk/voice.js): one calm card, the round button, clear states ---------- */
section.blk.vc-sec { margin-bottom: 4px; }
section.blk .vc { max-width: 880px; margin: 0 auto; padding: 20px 22px 16px; border: 1px solid var(--a-rule); box-shadow: inset 0 2px 0 var(--a-ink); background: #fff; }   /* the site zeroes a section's first border-top; the line is a shadow */
section.blk .vc-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 22px; align-items: center; }
section.blk .vc-call { appearance: none; display: inline-grid; place-items: center; align-content: center; gap: 3px; width: 84px; height: 84px; border: 0; background: var(--a-up); color: #fff; cursor: pointer; font: 800 13px/1 var(--a-sans); transition: background .15s, transform .1s; }
section.blk .vc .vc-call { border-radius: 50% !important; }   /* the one round control (a site rule squares everything with !important) */
section.blk .vc-call:hover { filter: brightness(1.08); }
section.blk .vc-call:active { transform: scale(.97); }
section.blk .vc-call:focus-visible { outline: 3px solid var(--a-src); outline-offset: 4px; }
section.blk .vc[data-phase="live"] .vc-call, section.blk .vc[data-phase="connecting"] .vc-call, section.blk .vc[data-phase="ending"] .vc-call { background: var(--a-down); }
section.blk .vc[data-phase="live"] .vc-call svg, section.blk .vc[data-phase="connecting"] .vc-call svg, section.blk .vc[data-phase="ending"] .vc-call svg { transform: rotate(135deg); }
section.blk .vc[data-phase="connecting"] .vc-call { animation: vc-pulse 1.2s ease-out infinite; }
@keyframes vc-pulse { 0% { box-shadow: 0 0 0 0 rgba(196, 18, 47, .4); } 100% { box-shadow: 0 0 0 18px rgba(196, 18, 47, 0); } }
@media (prefers-reduced-motion: reduce) { section.blk .vc[data-phase="connecting"] .vc-call { animation: none; } }
section.blk .vc-state { min-width: 0; }
section.blk .vc-k { margin: 0 0 6px; padding: 0; border: 0; font: 800 12px/1 var(--a-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--a-meta); display: flex; align-items: center; gap: 8px; }
section.blk .vc-title { margin: 0; font: 700 24px/1.15 var(--a-serif); color: var(--a-ink); letter-spacing: -.01em; }
section.blk .vc[data-phase="live"][data-muted="true"] .vc-title { color: var(--a-down); }
section.blk .vc-status { margin: 4px 0 0; font: 400 15px/1.45 var(--a-sans); color: var(--a-2); max-width: 52ch; }
section.blk .vc-status.err { color: var(--a-down); font-weight: 600; }
section.blk .vc-live { display: grid; justify-items: end; gap: 8px; }
section.blk .vc-timer { font: 800 30px/1 var(--a-sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--a-ink); }
section.blk .vc-who { display: flex; gap: 12px; }
section.blk .vc-spk { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--a-rule); font: 700 12px/1 var(--a-sans); color: var(--a-meta); transition: border-color .15s, color .15s; }
section.blk .vc-spk.on { border-color: var(--a-ink); color: var(--a-ink); }
section.blk .vc-lvl { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
section.blk .vc-lvl b { display: block; width: 3px; background: var(--a-rule); }
section.blk .vc-lvl b:nth-child(1) { height: 4px; } section.blk .vc-lvl b:nth-child(2) { height: 6px; } section.blk .vc-lvl b:nth-child(3) { height: 9px; }
section.blk .vc-lvl b:nth-child(4) { height: 11px; } section.blk .vc-lvl b:nth-child(5) { height: 14px; }
section.blk .vc-lvl b.lit { background: var(--a-up); }
section.blk #vc-spk-desk .vc-lvl b.lit { background: var(--k0, #1D3557); }
section.blk .vc-btns { display: flex; gap: 8px; }
section.blk .vc-btns .btn { padding: 11px 18px; font-size: 15px; min-height: 44px; }
section.blk .vc-btns .btn[aria-pressed="true"] { background: var(--a-ink); color: #fff; }
section.blk .vc-body { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--a-rule2); display: grid; gap: 14px; }
section.blk .vc-trh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin: 0 0 6px; }
section.blk .vc-trh h3 { margin: 0 !important; font: 800 12px/1 var(--a-sans) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--a-ink) !important; }
section.blk .vc-tra { display: flex; gap: 14px; }
section.blk .vc-tra .dk-link { font-size: 13px; }
section.blk .vc-tra .dk-link:disabled { color: var(--a-meta); text-decoration: none; cursor: default; }
section.blk .vc-tr, section.blk .ai-calltr { list-style: none; margin: 0; padding: 0; }
section.blk .vc-tr { max-height: 340px; overflow-y: auto; overscroll-behavior: contain; }
section.blk .vc-tr li, section.blk .ai-calltr li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--a-rule2); font: 400 16px/1.5 var(--a-serif); color: var(--a-ink); }
section.blk .vc-tr li:first-child, section.blk .ai-calltr li:first-child { border-top: 0; }
section.blk .vc-tr li b, section.blk .ai-calltr li b { font: 800 11px/1.9 var(--a-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--a-meta); }
section.blk .vc-tr li.desk b, section.blk .ai-calltr li.desk b { color: var(--a-ink); }
section.blk .vc-tr li.you span, section.blk .ai-calltr li.you span { color: var(--a-2); }
section.blk .vc-tr li.empty { display: block; font: 400 14px/1.4 var(--a-sans); color: var(--a-meta); }
section.blk .vc-trnote { margin: 6px 0 0; font: 400 12px/1.4 var(--a-sans); color: var(--a-meta); }
section.blk .vc-cards { margin: 0; }
section.blk .vc-looked { margin: 0; }
section.blk .vc-what { margin: 14px 0 0; padding: 10px 0 0; border-top: 1px solid var(--a-rule2); font: 400 13px/1.45 var(--a-sans); color: var(--a-meta); }
@media (max-width: 760px) {
  section.blk .vc { padding: 18px 16px 14px; }
  section.blk .vc-top { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  section.blk .vc-call { width: 96px; height: 96px; }
  section.blk .vc-k { justify-content: center; }
  section.blk .vc-status { margin-left: auto; margin-right: auto; }
  section.blk .vc-live { justify-items: center; width: 100%; }
  section.blk .vc-btns { width: 100%; }
  section.blk .vc-btns .btn { flex: 1 1 0; }
  section.blk .vc-tr li, section.blk .ai-calltr li { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* a finished call in the chat */
section.blk .ai-m.call { border: 1px solid var(--a-rule); background: #fff; padding: 12px 16px; }
section.blk .ai-who .mark.call { background: var(--a-up); box-shadow: none; }
section.blk .ai-call summary { cursor: pointer; font: 700 14px/1.4 var(--a-sans); color: var(--a-ink); padding: 2px 0 8px; }
section.blk .ai-call[open] summary { border-bottom: 1px solid var(--a-rule2); margin-bottom: 4px; }

/* the screener table's row headers: plain, not the site's uppercase table heads */
section.blk .ai-t th[scope=row] { text-transform: none; letter-spacing: 0; font: 400 13px/1.3 var(--a-sans); color: var(--a-ink); }
section.blk .ai-t a, section.blk .ai-rows a, section.blk .ai-weights a { color: var(--a-ink); }
/* the call's buttons: an outlined Mute (filled while muted) and a red Hang up, whatever the site's .btn rules say */
section.blk .vc-btns .btn.alt { background: #fff !important; color: var(--a-ink) !important; border: 1px solid var(--a-ink) !important; }
section.blk .vc-btns .btn.alt[aria-pressed="true"] { background: var(--a-ink) !important; color: #fff !important; }
section.blk .vc-btns .btn.danger { background: var(--a-down) !important; color: #fff !important; border: 1px solid var(--a-down) !important; }
section.blk .vc-btns .btn:focus-visible { outline: 3px solid var(--a-src); outline-offset: 2px; }

/* people as a compact strip: 40px photo (initial underneath, shown if the photo is missing or fails), name, role */
section.blk .ai-people { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
section.blk .ai-people li { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }
section.blk .ai-people li > div { min-width: 0; }
section.blk .ai-people .sm { display: block; font-size: 12px; color: var(--a-meta); max-width: 38ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
section.blk .ai-people .ai-ph, section.blk .search .ai-ph { position: relative; overflow: hidden; flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--a-wash); font: 800 16px/1 var(--a-sans); color: var(--a-meta); }
section.blk .ai-people .ai-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
section.blk .ai-people + .ai-rows { border-top: 1px solid var(--a-rule2); padding-top: 4px; }
section.blk .ai-more summary { cursor: pointer; font: 700 13px/1.4 var(--a-sans); color: var(--a-src); padding: 8px 0 0; border-top: 1px solid var(--a-rule2); }
section.blk .ai-more[open] summary { margin-bottom: 4px; }
@media (max-width: 640px) { section.blk .ai-cards > .ai-card.half { grid-column: 1 / -1; } }
section.blk .ai-people .ai-ph { width: 40px !important; height: 40px !important; }
section.blk .ai-people .ai-ph img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; margin: 0 !important; }
@media (min-width: 761px) { section.blk .ai-rows.fil { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } section.blk .ai-rows.fil li:nth-child(2) { border-top: 0; padding-top: 2px; } }

/* ---------- Motion (Nov 27): transform and opacity only, 150-300 ms ease-out; all of it off under reduced motion ---------- */
@keyframes ai-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ai-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ai-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ai-grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ai-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ai-shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes ai-caret { 50% { opacity: 0; } }
@keyframes ai-sup { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: .35; transform: translateY(-1px); } }
@keyframes ai-sweep { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes vc-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes vc-ripple { from { transform: scale(1); opacity: .45; } to { transform: scale(1.7); opacity: 0; } }

/* the "On the record¹" loader: house wordmark in text, a sweeping hairline, the status crossfading under it */
section.blk .ai-think { display: inline-grid; gap: 5px; margin: 2px 0 12px; }
section.blk .ai-wm { position: relative; display: inline-block; padding-bottom: 5px; font: 800 19px/1 var(--a-sans); letter-spacing: -.035em; color: var(--a-ink); overflow: hidden; white-space: nowrap; }
section.blk .ai-wm sup { font-size: .5em; font-weight: 800; color: #1F48B8; margin-left: 1px; vertical-align: .9em; line-height: 0; display: inline-block; animation: ai-sup 1.2s ease-in-out infinite; }
section.blk .ai-wm::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 2px; background: var(--a-ink); animation: ai-sweep 1.1s cubic-bezier(.4, 0, .2, 1) infinite; }
section.blk .ai-think-s { position: relative; display: grid; min-height: 1.4em; font: 400 13px/1.4 var(--a-sans); color: var(--a-meta); }
section.blk .ai-think-s > span { grid-area: 1 / 1; transition: opacity .2s ease-out, transform .2s ease-out; }
section.blk .ai-think-s > .cur { animation: ai-rise .22s ease-out both; }
section.blk .ai-think-s > .old { opacity: 0; transform: translateY(-4px); }
section.blk .vc-think { margin: 8px 0 0; }

/* messages and cards rise in; cards one after another */
section.blk .ai-m.rise { animation: ai-rise .24s ease-out both; }
section.blk .ai-card.anim { animation: ai-rise .26s ease-out both; animation-delay: calc(var(--i, 0) * 70ms); }
section.blk .ai-card.anim .ai-weights .bar i, section.blk .ai-card.anim .ai-mix i { transform-origin: left center; animation: ai-grow-x .3s ease-out both; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
section.blk .ai-card.anim .ai-weights li:nth-child(2) .bar i { animation-delay: calc(var(--i, 0) * 70ms + 150ms); }
section.blk .ai-card.anim .ai-weights li:nth-child(3) .bar i { animation-delay: calc(var(--i, 0) * 70ms + 180ms); }
section.blk .ai-card.anim .ai-weights li:nth-child(n+4) .bar i { animation-delay: calc(var(--i, 0) * 70ms + 210ms); }
section.blk .ai-card.anim .ai-bars i { transform-origin: center bottom; animation: ai-grow-y .3s ease-out both; animation-delay: calc(var(--i, 0) * 70ms + 140ms); }
section.blk .ai-card.anim .ai-spark .line { stroke-dasharray: 1; animation: ai-draw .3s ease-out both; animation-delay: calc(var(--i, 0) * 70ms + 100ms); }
section.blk .ai-card.anim .ai-spark .fill { animation: ai-fade .3s ease-out both; animation-delay: calc(var(--i, 0) * 70ms + 200ms); }
section.blk .ai-sp .ai-spark .line { stroke-dasharray: 1; animation: ai-draw .3s ease-out both; }   /* the company sparkline arrives later */

/* where a card is about to land */
section.blk .ai-skel { grid-column: 1 / -1; position: relative; overflow: hidden; display: grid; gap: 10px; padding: 16px; border: 1px solid var(--a-rule2); background: #fff; }
section.blk .ai-skel i { display: block; height: 12px; background: var(--a-rule2); }
section.blk .ai-skel i:nth-child(1) { width: 40%; height: 16px; } section.blk .ai-skel i:nth-child(2) { width: 85%; } section.blk .ai-skel i:nth-child(3) { width: 65%; }
section.blk .ai-skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); animation: ai-shimmer 1.2s ease-in-out infinite; }

/* a soft caret while the answer streams */
section.blk .ai-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: var(--a-ink); animation: ai-caret 1s steps(1) infinite; }

/* hover and press */
section.blk .ai-card { transition: transform .18s ease-out, box-shadow .18s ease-out; }
section.blk .ai-card:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
section.blk.ai .btn, section.blk.vc-sec .btn, section.blk .ai-sugg button, section.blk .vc-call { transition: transform .15s ease-out, background-color .15s ease-out, border-color .15s ease-out; }
section.blk.ai .btn:active, section.blk.vc-sec .btn:active, section.blk .ai-sugg button:active { transform: scale(.98); }
section.blk .ai-sugg button:hover { transform: translateY(-1px); }
section.blk .ai-more[open] .ai-arts { animation: ai-rise .22s ease-out both; }

/* the call button breathes when idle; ripples while ringing; meters move smoothly */
section.blk .vc-call { position: relative; isolation: isolate; }
section.blk .vc[data-phase="idle"] .vc-call, section.blk .vc[data-phase="ended"] .vc-call { animation: vc-breathe 2.6s ease-in-out infinite; }
section.blk .vc[data-phase="connecting"] .vc-call { animation: none; }
section.blk .vc[data-phase="connecting"] .vc-call::before, section.blk .vc[data-phase="connecting"] .vc-call::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--a-down); animation: vc-ripple 1.4s ease-out infinite; }
section.blk .vc[data-phase="connecting"] .vc-call::after { animation-delay: .7s; }
section.blk .vc-lvl b { transform-origin: center bottom; transition: background-color .12s ease-out, transform .12s ease-out; transform: scaleY(.55); }
section.blk .vc-lvl b.lit { transform: scaleY(1); }
section.blk .vc-tr li { animation: ai-fade .2s ease-out both; }
section.blk .vc-body { animation: ai-rise .24s ease-out both; }

@media (prefers-reduced-motion: reduce) {
  section.blk.ai *, section.blk.ai *::before, section.blk.ai *::after, section.blk.vc-sec *, section.blk.vc-sec *::before, section.blk.vc-sec *::after { animation: none !important; transition: none !important; }
  section.blk .ai-card:hover, section.blk .ai-sugg button:hover { transform: none; }
}

/* ---------- Answer formatting (Nov 27): stat chips, footnotes to our articles, words that fade in as they arrive ---------- */
section.blk .ai-stat { display: inline-block; padding: 0 6px; margin: 0 1px; font: 800 .86em/1.5 var(--a-sans); font-variant-numeric: tabular-nums; letter-spacing: -.01em; background: var(--a-wash); color: var(--a-ink); border: 1px solid var(--a-rule2); white-space: nowrap; vertical-align: .05em; }
section.blk .ai-stat.up { background: var(--up-bg, #E3F4E8); color: var(--a-up); border-color: transparent; }
section.blk .ai-stat.down { background: var(--down-bg, #FBE5E8); color: var(--a-down); border-color: transparent; }
section.blk .ai-cite { font: 800 .62em/0 var(--a-sans); vertical-align: .55em; margin-left: 1px; }
section.blk .ai-cite a { display: inline-block; min-width: 1.5em; padding: 2px 3px; text-align: center; color: var(--a-src) !important; text-decoration: none !important; background: #EEF2FC; line-height: 1.2; }
section.blk .ai-cite a:hover, section.blk .ai-cite a:focus-visible { background: #1F48B8; color: #fff !important; }
section.blk .ai-n { display: inline-block; margin-right: 6px; min-width: 18px; padding: 1px 4px; text-align: center; font: 800 11px/1.3 var(--a-sans); color: var(--a-src); background: #EEF2FC; vertical-align: 2px; }
section.blk .ai-md h2, section.blk .ai-md .dk-mdh { animation: none; }
@keyframes ai-word { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: blur(0); } }
section.blk .ai-w { animation: ai-word .2s ease-out both; }
section.blk .ai-blk + .ai-blk, section.blk .ai-blk + div { margin-top: 0; }
section.blk .ai-blk > :last-child { margin-bottom: 12px; }
/* the company card's figures */
section.blk .ai-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; margin: 0; }
section.blk .ai-stats > div { min-width: 0; padding: 6px 0; border-top: 1px solid var(--a-rule2); }
section.blk .ai-stats dt { font-size: 11px; line-height: 1.3; color: var(--a-meta); }
section.blk .ai-stats dd { margin: 2px 0 0; font: 700 14px/1.3 var(--a-sans); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
section.blk .ai-stats dd .ai-pct { font-size: 12px; }
section.blk .ai-card.half .ai-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { section.blk .ai-stats, section.blk .ai-card.half .ai-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Past calls (#pc, static/desk/voice.js) ---------- */
section.blk.pc-sec { margin-bottom: 4px; }
section.blk .pc { max-width: 880px; margin: 0 auto; border: 1px solid var(--a-rule); background: #fff; }
section.blk .pc-head { list-style: none; cursor: pointer; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
section.blk .pc-head::-webkit-details-marker { display: none; }
section.blk .pc-head::after { content: "+"; font: 800 18px/1 var(--a-sans); color: var(--a-meta); transition: transform .2s ease-out; }
section.blk .pc[open] .pc-head::after { transform: rotate(45deg); }
section.blk .pc-head h2 { margin: 0 !important; padding: 0 !important; border: 0 !important; font: 800 12px/1 var(--a-sans) !important; letter-spacing: .06em !important; text-transform: uppercase !important; }
section.blk .pc-n { color: var(--a-meta); font-weight: 600; margin-left: 4px; letter-spacing: 0; }
section.blk .pc-body { padding: 0 18px 14px; animation: ai-rise .22s ease-out both; }
section.blk .pc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--a-rule2); max-height: 520px; overflow-y: auto; }
section.blk .pc-item { border-bottom: 1px solid var(--a-rule2); transition: opacity .2s ease-out, transform .2s ease-out; }
section.blk .pc-item.pc-new { animation: ai-rise .3s ease-out both; }
section.blk .pc-item.pc-new .pc-row b::before { content: "New"; display: inline-block; margin-right: 8px; padding: 0 5px; font: 800 10px/1.6 var(--a-sans); letter-spacing: .05em; text-transform: uppercase; background: var(--hl, #FFE45C); color: var(--a-ink); vertical-align: 2px; }
section.blk .pc-item.pc-gone { opacity: 0; transform: translateX(8px); }
section.blk .pc-row { appearance: none; width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; padding: 11px 2px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--a-ink); }
section.blk .pc-row:hover { background: var(--a-wash); }
section.blk .pc-row:focus-visible { outline: 3px solid var(--a-src); outline-offset: -3px; }
section.blk .pc-row b { font: 700 16px/1.35 var(--a-serif); min-width: 0; flex: 1 1 260px; }
section.blk .pc-row span { font: 400 13px/1.4 var(--a-sans); color: var(--a-meta); font-variant-numeric: tabular-nums; white-space: nowrap; }
section.blk .pc-row[aria-expanded="true"] { background: var(--a-wash); }
section.blk .pc-open { padding: 4px 2px 14px; animation: ai-rise .2s ease-out both; }
section.blk .pc-tr { max-height: 360px; }
section.blk .pc-acts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 0; }
section.blk .pc-acts .dk-link, section.blk .pc-foot .dk-link { font-size: 13px; }
section.blk .pc-empty { padding: 12px 2px; font: 400 14px/1.4 var(--a-sans); color: var(--a-meta); list-style: none; }
section.blk .pc-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin: 10px 0 0; }
section.blk .pc-note { margin: 0; font: 400 12px/1.4 var(--a-sans); color: var(--a-meta); }
section.blk .pc-confirm { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--a-down); background: var(--down-bg, #FBE5E8); animation: ai-rise .2s ease-out both; }
section.blk .pc-confirm p { margin: 0 0 10px; font: 600 15px/1.4 var(--a-sans); color: var(--a-ink); }
section.blk .pc-btns { display: flex; flex-wrap: wrap; gap: 8px; }
section.blk .pc-btns .btn.danger { background: var(--a-down) !important; color: #fff !important; border: 1px solid var(--a-down) !important; }
section.blk .pc-btns .btn.alt { background: #fff !important; color: var(--a-ink) !important; border: 1px solid var(--a-ink) !important; }
@media (prefers-reduced-motion: reduce) {
  section.blk .ai-w, section.blk.pc-sec *, section.blk.pc-sec *::after { animation: none !important; transition: none !important; }
}
section.blk .dk-mdt td:first-child, section.blk .dk-mdt th:first-child { text-align: left; }

/* ---------- Card charts (static/desk/charts.js, Nov 27): pickers, the mix chart, your holdings, metric and period toggles ---------- */
section.blk .ch-pick { display: inline-flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--a-rule); background: #fff; }
section.blk .ch-pick button { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 11px; border: 0; border-right: 1px solid var(--a-rule); background: transparent;
  font: 600 13px/1.2 var(--a-sans); color: var(--a-2); cursor: pointer; transition: background .15s, color .15s; }
section.blk .ch-pick button:last-child { border-right: 0; }
section.blk .ch-pick button:hover { background: var(--a-wash); color: var(--a-ink); }
section.blk .ch-pick button[aria-checked="true"] { background: var(--a-ink); color: #fff; }
section.blk .ch-pick button:focus-visible { outline: 2px solid var(--a-src); outline-offset: 2px; position: relative; z-index: 1; }
section.blk .ch-pick svg { width: 14px; height: 14px; flex: 0 0 auto; }
section.blk .ch-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; margin: 18px 0 12px; }
section.blk .ch-stage { transition: opacity .13s ease, transform .13s ease; min-width: 0; }
section.blk .ch-stage.out { opacity: 0; transform: translateY(4px); }
section.blk .ch-note { margin: 8px 0 0; font: 400 12px/1.4 var(--a-sans); color: var(--a-meta); }

/* the mix: donut with its legend beside it; bars; treemap */
section.blk .ch-view.donut, section.blk .ch-view.treemap { display: grid; gap: 14px 24px; }
section.blk .ch-view.donut { grid-template-columns: 180px minmax(0, 1fr); align-items: center; }
section.blk .ch-donut { position: relative; width: 180px; height: 180px; }
section.blk .ch-donut svg { display: block; width: 100%; height: 100%; }
section.blk .ch-donut .track { fill: none; stroke: var(--a-rule2); stroke-width: 16; }
section.blk .ch-donut .seg { fill: none; stroke-width: 16; transition: stroke-dasharray .55s cubic-bezier(.2,.7,.2,1), stroke-dashoffset .55s cubic-bezier(.2,.7,.2,1), opacity .15s, stroke .3s; cursor: default; }
section.blk .ch-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 40px; pointer-events: none; }
section.blk .ch-mid b { font: 700 22px/1.1 var(--a-sans); color: var(--a-ink); font-variant-numeric: tabular-nums; }
section.blk .ch-mid span { font: 400 12px/1.25 var(--a-sans); color: var(--a-meta); margin-top: 3px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
section.blk .ch-leg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2px 18px; font: 400 13px/1.35 var(--a-sans); color: var(--a-2); }
section.blk .ch-leg li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--a-rule2); transition: opacity .15s; }
section.blk .ch-leg i { width: 10px; height: 10px; }
section.blk .ch-leg .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
section.blk .ch-leg .v { font-variant-numeric: tabular-nums; color: var(--a-ink); font-weight: 600; }
section.blk .ch-stage .dim { opacity: .3; }
section.blk .ch-hbars { list-style: none; margin: 0; padding: 0; }
section.blk .ch-hbars li { display: grid; grid-template-columns: minmax(90px, 32%) minmax(40px, 1fr) 3.6em; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--a-rule2); font: 400 13px/1.3 var(--a-sans); transition: opacity .15s; }
section.blk .ch-hbars .nm { color: var(--a-ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
section.blk .ch-hbars .sub { display: block; font-weight: 400; font-size: 12px; color: var(--a-meta); overflow: hidden; text-overflow: ellipsis; }
section.blk .ch-hbars .bar { display: block; height: 12px; background: var(--a-rule2); }
section.blk .ch-hbars .bar i { display: block; height: 100%; width: 0; transition: width .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 30ms); }
section.blk .ch-hbars .v { text-align: right; font-variant-numeric: tabular-nums; color: var(--a-ink); font-weight: 600; }
section.blk .ch-tree { position: relative; width: 100%; overflow: hidden; background: var(--a-rule2); }
section.blk .ch-tree .cell { position: absolute; box-sizing: border-box; border: 1.5px solid #fff; padding: 6px 8px; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start;
  opacity: 0; transform: scale(.92); transform-origin: center; transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 25ms); }
section.blk .ch-tree.in .cell { opacity: 1; transform: none; }
section.blk .ch-tree.in .cell.dim { opacity: .35; }
section.blk .ch-tree .cell.lt { color: var(--a-ink); }
section.blk .ch-tree .cell b { font: 700 13px/1.2 var(--a-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
section.blk .ch-tree .cell span { font: 400 12px/1.2 var(--a-sans); font-variant-numeric: tabular-nums; opacity: .9; }

/* your holdings */
section.blk .ch-hold { margin-top: 22px; }
section.blk .ch-hhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 10px; }
section.blk .ch-hhead .ai-cap { margin: 0; }
section.blk .ch-value { border: 1px solid var(--a-rule2); padding: 12px 12px 8px; margin-bottom: 14px; }
section.blk .ch-vbox { min-height: 0; }
section.blk .ch-line { display: block; width: 100%; height: auto; overflow: visible; }
section.blk .ch-line:focus-visible { outline: 2px solid var(--a-src); outline-offset: 4px; }
section.blk .ch-line .grid { stroke: var(--a-rule2); stroke-width: 1; }
section.blk .ch-line .zero { stroke: var(--a-rule); stroke-width: 1; }
section.blk .ch-line .tk, section.blk .ch-line .dt { font: 400 11px var(--a-sans); fill: var(--a-meta); }
section.blk .ch-line path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
section.blk .ch-line path.mine { stroke: var(--a-ink); stroke-width: 2.25; }
section.blk .ch-line path.bench { stroke: #9A9A93; stroke-dasharray: 4 3; }
section.blk .ch-line path.mine.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ch-draw .9s cubic-bezier(.3,.6,.2,1) forwards; }
section.blk .ch-line .hair line { stroke: var(--a-meta); stroke-width: 1; }
section.blk .ch-line .hair circle.mine { fill: var(--a-ink); }
section.blk .ch-line .hair circle.bench { fill: #9A9A93; }
section.blk .ch-read { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 0; min-height: 1.4em; font: 400 13px/1.4 var(--a-sans); color: var(--a-2); font-variant-numeric: tabular-nums; }
section.blk .ch-read .sw { display: inline-block; width: 14px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 2px solid var(--a-ink); }
section.blk .ch-read .sw.bench { border-top: 2px dashed #9A9A93; }
section.blk .ch-vnote { margin: 4px 0 0; }
section.blk .ch-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 10px; }
section.blk .ch-h { border: 1px solid var(--a-rule2); padding: 9px 10px 8px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
section.blk .ch-ht { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font: 400 13px/1.2 var(--a-sans); }
section.blk .ch-ht a, section.blk .ch-ht b { color: var(--a-ink); text-decoration: none; font-weight: 700; }
section.blk .ch-ht a:hover { text-decoration: underline; }
section.blk .ch-ht .w { color: var(--a-meta); font-variant-numeric: tabular-nums; }
section.blk .ch-h .sm { display: block; font: 400 12px/1.3 var(--a-sans); color: var(--a-meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
section.blk .ch-sp { height: 54px; margin: 4px 0 2px; }
section.blk .ch-sp .note { margin: 0; padding-top: 18px; font-size: 12px; color: var(--a-meta); }
section.blk .ch-mini { display: block; width: 100%; height: 54px; }
section.blk .ch-mini .fill { fill: var(--a-wash); }
section.blk .ch-mini .line { fill: none; stroke-width: 1.75; }
section.blk .ch-mini.up .line { stroke: var(--a-up); }
section.blk .ch-mini.down .line { stroke: var(--a-down); }
section.blk .ch-mini .line.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ch-draw .7s cubic-bezier(.3,.6,.2,1) forwards; }
section.blk .ch-mini .cost { stroke: var(--a-ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: .55; }
section.blk .ch-hb { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; font: 400 12px/1.3 var(--a-sans); color: var(--a-meta); white-space: nowrap; }
section.blk .ch-hb .ai-pct { padding: 0 3px; }
section.blk .ch-hb .ai-pct { font-size: 12px; }
section.blk .ch-more { margin: 10px 0 0; }
section.blk .ch-more:empty { display: none; }
section.blk .ch-skel { height: 100%; min-height: 40px; background: linear-gradient(90deg, var(--a-wash) 0, #ECECE8 50%, var(--a-wash) 100%); background-size: 200% 100%; animation: ch-shim 1.2s linear infinite; }
section.blk .ch-vbox .ch-skel { height: 170px; }
@keyframes ch-draw { to { stroke-dashoffset: 0; } }
@keyframes ch-shim { to { background-position: -200% 0; } }

/* company and quarterly pickers; bars grow from the baseline */
section.blk .ch-metric, section.blk .ch-quarters { margin-top: 14px; }
section.blk .ch-metric .ch-pick, section.blk .ch-quarters .ch-pick { margin-bottom: 10px; }
section.blk .ch-mcap { margin-top: 0; }
section.blk .ch-vb i { height: 0; transition: height .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 35ms); }

/* a chart drawn before comes back without its entrance */
section.blk .ch-still *, section.blk .ch-still { transition: none !important; animation: none !important; }
section.blk .ch-still .ch-line path.draw, section.blk .ch-still .ch-mini .line.draw { stroke-dasharray: none; stroke-dashoffset: 0; }
section.blk .ch-still .ch-line path.bench { stroke-dasharray: 4 3; }

@media (max-width: 560px) {
  section.blk .ch-view.donut { grid-template-columns: 1fr; justify-items: center; }
  section.blk .ch-view.donut .ch-leg { width: 100%; }
  section.blk .ch-donut { width: 170px; height: 170px; }
  section.blk .ch-pick button { padding: 6px 9px; font-size: 12.5px; }
  section.blk .ch-pick.how button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  section.blk .ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  section.blk .ch-hbars li { grid-template-columns: minmax(70px, 34%) minmax(30px, 1fr) 3.4em; }
}
@media (prefers-reduced-motion: reduce) {
  section.blk .ch-stage, section.blk .ch-donut .seg, section.blk .ch-hbars .bar i, section.blk .ch-tree .cell, section.blk .ch-vb i { transition: none !important; }
  section.blk .ch-skel { animation: none; }
}

/* the chat header: the parent "On the record¹" wordmark, still (the loader's animated copy is the same type) */
section.blk .ai-brand { display: flex; align-items: baseline; gap: 10px; margin: 0; }
section.blk .ai-wm.ai-wm-still { padding-bottom: 0; font-size: 22px; }
section.blk .ai-wm.ai-wm-still::after { display: none; }
section.blk .ai-wm.ai-wm-still sup { animation: none; }
section.blk .ai-brand-t { font: 600 13px/1 var(--a-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--a-meta, #5b6677); }
