/* US Markets Today — site styles (served as a static file, cached for a year; the ?v= in the page link changes with each edit) */
:root {
    color-scheme: dark;   /* dark only: native controls, scrollbars and date pickers follow */
    --bg: #191a1a; --card: #202222; --card2: #282a2a; --border: #333636; --line: #2b2e2e;
    --text: #ececea; --soft: #b8bbb7; --muted: #949793;
    --accent: #4cc2cf; --accent-bg: rgba(76,194,207,.12);
    --up: #4fcf80; --down: #f2726c; --up-bg: rgba(79,207,128,.14); --down-bg: rgba(242,114,108,.14); --warn: #e8a84f; --warn-bg: rgba(232,168,79,.14); --gold: #e8b339;   /* text pairs ≥ 4.5:1 on bg, card and card2 */
    --track: #343737;
    --sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
    --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.up { color: var(--up); } .down { color: var(--down); }
.grow { flex: 1; min-width: 0; }
.right { text-align: right; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { color: var(--muted); font-size: 13px; }
.tlink { text-decoration: none; font-weight: 600; } .tlink:hover { color: var(--accent); }
.scroll-x { overflow-x: auto; }

/* ---------- Accessibility & interaction basics ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: top .15s ease-out; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.heat a:focus-visible, .arow-link:focus-visible, .news-card:focus-visible, .asset:focus-visible { outline-offset: -2px; }
#content:focus { outline: none; }
a, button, summary, input { touch-action: manipulation; }
button, .arow-link, .asset, .news-card, .src-pill, .sources a { transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, box-shadow .15s ease-out; }
:is(.seg, .tabs, .bvb-tabs, .mtabs) button:active, .src-pill:active, .see-more:active, .btn:active, .wstar:active, .follow:active, .link-btn:active, .arow-link:active { filter: brightness(.93); }
.ic { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.125em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tag { display: inline-flex; align-items: center; gap: 5px; }
.btn .ic { width: 14px; height: 14px; }
h1, h2, h3, .pm-t, .issue, .news-title { text-wrap: balance; }
.tl-desc, .why p, .as-lead, .as-points li, .acc details p, .sd-why, .debate > div, .about p, .story-sum { text-wrap: pretty; }
.tl-desc, .why p, .as-lead, .as-points, .acc details p, .sd-why { max-width: 78ch; }   /* readable line length */
input[type="search"] { -webkit-appearance: none; appearance: none; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---------- Header + market nav ---------- */
.top { background: var(--card); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-t .td { color: var(--accent); }
.brand-t .us { color: #fff; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {   /* "US" filled like the flag: blue corner, red and white stripes */
    .brand-t .us { background: linear-gradient(#3d6fd6, #3d6fd6) 0 0 / 52% 50% no-repeat, repeating-linear-gradient(#ef3d55 0 .118em, #fff .118em .236em);
                   -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
@media (forced-colors: active) { .brand-t .us { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; } }
@media (max-width: 560px) { .brand-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }   /* phones: the mark alone, the name stays for screen readers */
.search { position: relative; flex: 1; max-width: 520px; margin-left: auto; }
.search svg { position: absolute; left: 12px; top: 12px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 40px; padding: 0 14px 0 36px; border: 1px solid var(--border); border-radius: 10px; background: var(--card2); font: inherit; font-size: 14px; color: var(--text); outline: none; }
.search input:focus { background: var(--card); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; z-index: 60; display: none; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; text-decoration: none; border-bottom: 1px solid var(--line); }
.suggest a:last-child { border: none; }
.suggest a.active, .suggest a:hover { background: var(--card2); }
.suggest .s-name { flex: 1; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mnav { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.mnav-l { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.mnav-l::-webkit-scrollbar { display: none; }
.mnav-l a { padding: 14px 12px 12px; text-decoration: none; color: var(--soft); font-size: 15px; white-space: nowrap; border-bottom: 2px solid transparent; }
.mnav-l a:hover { color: var(--text); }
.mnav-l a.on { color: var(--text); border-bottom-color: var(--text); font-weight: 500; }
.mnav-r { text-align: right; font-size: 13px; line-height: 1.45; flex-shrink: 0; color: var(--soft); }
.meter { display: inline-flex; gap: 2px; vertical-align: -1px; margin-right: 6px; }
.meter i { width: 2px; height: 11px; background: var(--track); border-radius: 1px; }
.meter.bullish i.on { background: var(--up); } .meter.bearish i.on { background: var(--down); } .meter.neutral i.on { background: #e88a5a; }
.meter-l.bullish { color: var(--up); } .meter-l.bearish { color: var(--down); } .meter-l.neutral { color: #e88a5a; }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.col-main, .col-side { min-width: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 30px 2px 12px; }
.col-main > .sec-head:first-child, .col-side > .sec-head:first-child, .col-main > .sr-only:first-child + .sec-head { margin-top: 0; }
.sec-head h2 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.link-btn { border: none; background: none; color: var(--soft); cursor: pointer; font-size: 13.5px; }
.link-btn:hover { color: var(--text); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; min-width: 0; }
.card h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; letter-spacing: -.005em; }
.card h3 .sub { font-weight: 400; color: var(--muted); font-size: 13px; }
.section { margin-top: 40px; }
/* Long pages: a section is laid out and painted only as it comes near the screen (the browser keeps a size estimate
   until then), so the first screen shows sooner. Content stays in the page for search, find-in-page and screen readers. */
.section { content-visibility: auto; contain-intrinsic-size: auto 800px; }
.section-title { font-size: 20px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.section-title small { font-size: 13px; font-weight: 400; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.span-all { grid-column: 1 / -1; }
.row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: none; }
.see-more { display: block; width: 100%; padding: 12px; border: none; border-top: 1px solid var(--line); background: none; color: var(--soft); cursor: pointer; font-size: 14px; }
.see-more:hover { background: var(--card2); color: var(--text); }
.more { background: none; border: none; color: var(--soft); cursor: pointer; font-size: 14px; margin-top: 8px; padding: 0; }
.more:hover { color: var(--text); }

/* ---------- Logos, favicons, rows ---------- */
.logo, .logo-sm, .logo-lg, .av { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; background: var(--card2); color: var(--muted); font-weight: 700; }
.logo-lg { width: 48px; height: 48px; border-radius: 10px; font-size: 15px; }
.logo { width: 32px; height: 32px; border-radius: 8px; font-size: 10px; }
.logo-sm { width: 22px; height: 22px; border-radius: 6px; font-size: 8px; }
.av { width: 36px; height: 36px; border-radius: 50%; font-size: 11px; font-weight: 600; }
.logo img, .logo-sm img, .logo-lg img, .av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--card2); }
.av img { object-fit: contain; }
.fav { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 16px; height: 16px; border-radius: 4px; overflow: hidden; background: #3a3d3d; color: var(--soft); font-size: 9px; font-weight: 700; line-height: 1; vertical-align: -3px; }
.fav img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.list-card { padding: 6px 0; }
.arow { display: flex; align-items: center; padding-right: 10px; }
.arow-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 9px 8px 9px 16px; text-decoration: none; border-radius: 10px; }
.arow-link:hover { background: var(--card2); }
.an { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.an b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an small { color: var(--muted); font-size: 12px; }
.ap { display: flex; flex-direction: column; align-items: flex-end; font-size: 15px; white-space: nowrap; }
.wstar { width: 32px; height: 32px; border: none; background: none; color: var(--muted); font-size: 18px; cursor: pointer; border-radius: 8px; flex-shrink: 0; }
.wstar:hover { background: var(--card2); color: var(--text); }
.wstar.on { color: var(--gold); }
.wstar .ic { width: 18px; height: 18px; }
.wstar.on .ic, .follow.on .ic { fill: currentColor; }
.hint { padding: 8px 16px 10px; color: var(--muted); font-size: 12.5px; }
.chip { display: inline-block; font-size: 11px; padding: 3px 9px; border-radius: 6px; background: var(--card2); border: 1px solid var(--line); color: var(--soft); text-transform: uppercase; letter-spacing: .03em; }
.chg { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chg.up { color: var(--up); } .chg.down { color: var(--down); }
.badge { justify-self: end; font-size: 12.5px; padding: 1px 6px; border-radius: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 1px; }
.badge.up { color: var(--up); background: var(--up-bg); } .badge.down { color: var(--down); background: var(--down-bg); }
.tag { font-size: 11.5px; padding: 2px 8px; border-radius: 6px; background: var(--accent-bg); color: var(--accent); white-space: nowrap; }
.tag.red { background: var(--down-bg); color: var(--down); }
.tag.green { background: var(--up-bg); color: var(--up); }
.tag.orange { background: var(--warn-bg); color: var(--warn); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Sources: pill, chips, hover card ---------- */
.srcs { margin-top: 12px; }
.src-pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 12px 3px 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); font-size: 13px; color: var(--soft); cursor: pointer; }
.src-pill:hover { background: var(--card2); color: var(--text); }
.src-pill[aria-expanded="true"] { background: var(--card2); }
.fav-stack { display: inline-flex; }
.fav-stack .fav { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--card); margin-left: -6px; }
.fav-stack .fav:first-child { margin-left: 0; }
.sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sources a { font-size: 12px; color: var(--soft); text-decoration: none; background: var(--card2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 7px; max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sources a:hover { background: #313434; color: var(--text); }
.sources a.src-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; max-width: 300px; }
.src-chip .src-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hovercard { position: fixed; z-index: 100; max-width: min(340px, calc(100vw - 16px)); background: var(--card2); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; box-shadow: 0 14px 34px rgba(0,0,0,.55); pointer-events: none; font-size: 12.5px; line-height: 1.45; color: var(--soft); }
.hc-head { display: flex; align-items: center; gap: 8px; }
.hc-head .fav { width: 20px; height: 20px; border-radius: 5px; font-size: 11px; }
.hc-head b { color: var(--text); font-size: 13px; }
.hc-head i { font-style: normal; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-title { margin-top: 7px; color: var(--text); font-weight: 500; }
.hc-snip { margin-top: 5px; color: var(--muted); font-size: 12px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cite { font-size: 10px; vertical-align: super; color: var(--accent); text-decoration: none; margin-left: 1px; }

/* ---------- Home ---------- */
.assets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.asset { background: var(--card); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; }
.asset:hover { border-color: #454949; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.as-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 14px 16px 0; }
.as-name { font-weight: 500; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-sub { padding-top: 3px; color: var(--soft); font-size: 14px; }
.spark { width: 100%; height: 64px; display: block; margin-top: 14px; }
.acc { padding: 0; overflow: hidden; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 13px 48px 13px 20px; font-size: 15.5px; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--card2); }
.acc summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.acc details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.acc details p { padding: 0 20px 16px; color: var(--soft); line-height: 1.6; font-size: 15px; }
.acc-foot { padding: 12px 16px 14px; }
.acc-foot .srcs { margin-top: 0; }
.heat-card { padding: 12px; }
.heat { position: relative; height: 540px; }
.heat.big { height: 860px; }
.heat .sec-l { position: absolute; height: 17px; font-size: 11.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 16px; padding: 0 1px; }
.heat .sec-l span { font-weight: 500; }
.heat a { position: absolute; display: block; padding: 3px 5px; text-decoration: none; color: var(--text); box-shadow: inset 0 0 0 1px var(--card); overflow: hidden; line-height: 1.15; }
.heat a:hover { z-index: 2; box-shadow: inset 0 0 0 1.5px var(--text); }
.heat a b { display: block; font-weight: 700; white-space: nowrap; }
.heat a span { display: block; color: var(--text); opacity: .92; font-size: .82em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.heat a.v { writing-mode: vertical-rl; transform: rotate(180deg); padding: 5px 3px; }
.heat-foot { display: flex; justify-content: space-between; gap: 10px; padding: 10px 4px 0; flex-wrap: wrap; }
.heat-scale { display: inline-flex; align-items: center; gap: 4px; }
.heat-scale i { display: inline-block; width: 18px; height: 9px; border-radius: 2px; }
.pm-card { padding: 0; overflow: hidden; }
.pm-ev { padding: 16px 20px 14px; border-bottom: 1px solid var(--line); }
.pm-ev:last-of-type { border-bottom: none; }
.pm-t { display: block; font-size: 15.5px; font-weight: 500; line-height: 1.35; text-decoration: none; }
.pm-t:hover { color: var(--accent); }
.pm-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.pm-ico { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; flex-shrink: 0; background: var(--card2); }
.pm-rows { display: flex; flex-direction: column; gap: 4px; }
.pm-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 76px; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; background: var(--card2); font-size: 15px; overflow: hidden; }
.pm-fill { position: absolute; inset: 0 auto 0 0; background: rgba(76,194,207,.11); }
.pm-row.lead .pm-fill { background: rgba(76,194,207,.22); }
.pm-row > :not(.pm-fill) { position: relative; }
.pm-row.lead .pm-p { font-weight: 600; color: var(--text); }
.pm-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-p { text-align: right; }
.pm-foot { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; margin-top: 12px; }
.pm-foot a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.pm-foot a:hover { color: var(--accent); }
.pm-why { margin-top: 10px; }
.pm-why summary { cursor: pointer; color: var(--soft); font-size: 13.5px; list-style: none; }
.pm-why summary::-webkit-details-marker { display: none; }
.pm-why summary::before { content: '▸'; display: inline-block; width: 14px; color: var(--muted); }
.pm-why[open] summary::before { content: '▾'; }
.pm-why p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--soft); }
.pm-why p strong { color: var(--text); }
.pm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 16px; }
.pm-grid .pm-card { display: flex; }
.pm-grid .pm-card .pm-ev { padding: 18px 20px; border-bottom: none; display: flex; flex-direction: column; width: 100%; }
.pm-grid .pm-foot { margin-top: auto; padding-top: 12px; }
.mtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin: 30px 2px 12px; }
.mtabs button { padding: 10px 12px; border: none; background: none; font-size: 16px; color: var(--soft); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.mtabs button.on { color: var(--text); border-bottom-color: var(--text); font-weight: 500; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal-day { background: var(--card2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; min-width: 0; }
.cal-day.today { border-color: var(--accent); background: var(--card); }
.cal-dow { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.cal-date { font-weight: 600; margin: 2px 0 6px; }
.cal-logos { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; min-height: 22px; }
.cal-count { font-size: 11px; color: var(--muted); margin-top: 6px; }
.zbar { width: 100px; height: 6px; background: var(--track); border-radius: 3px; position: relative; overflow: hidden; flex-shrink: 0; }
.zbar div { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.summary-item { margin-bottom: 14px; }

.sd-card { padding: 0; overflow: hidden; }
.sd { padding: 20px 22px; border-bottom: 1px solid var(--line); }
.sd-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sd-co { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.sd-co .an b { font-size: 17px; }
.sd-co:hover .an b { color: var(--accent); }
.sd-px { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sd-px .mono { font-size: 20px; font-weight: 600; }
.badge.lg { font-size: 15px; padding: 4px 10px; border-radius: 6px; }
.sd-body { display: grid; grid-template-columns: minmax(0, 1fr) 230px; margin-top: 14px; }
.sd-chart { position: relative; height: 240px; min-width: 0; }
.sd-stats { border-left: 1px solid var(--line); padding: 4px 0 4px 20px; }
.sd-stats .kv { border-bottom: none; padding: 8px 0; font-size: 14.5px; }
.sd-why { margin-top: 14px; color: var(--soft); line-height: 1.65; font-size: 15px; }
.sd-why strong { color: var(--text); }

/* ---------- Ticker page ---------- */
.hist-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.hist-tools .link-btn { margin-left: auto; }
.seg-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--card2); color: var(--soft); cursor: pointer; }
.seg-ico:hover { color: var(--text); }
.seg-ico.active, .seg-ico[aria-expanded="true"] { background: #2f3232; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 0 0 1px #3f4343; }
.seg-ico .ic { width: 17px; height: 17px; }
.hist-info { white-space: nowrap; }
.hist-range { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 12px; background: var(--card2); border: 1px solid var(--line); border-radius: 12px; }
.hist-range label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--soft); }
.hist-range .btn, .hist-range .link-btn { height: 38px; }
.hist-range input { height: 38px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); font: inherit; color: var(--text); }
#hist-table.novol .vol { display: none; }
#history .see-more { border-top: 1px solid var(--line); margin-top: 4px; }
.bvb { margin-top: 16px; }
.bvb-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.bvb-tabs button { border: 1px solid var(--border); background: var(--card); color: var(--soft); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; cursor: pointer; text-align: left; }
.bvb-tabs button:hover { color: var(--text); border-color: #4a4e4e; }
.bvb-tabs button.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.asum { margin-top: 16px; }
.as-lead { font-size: 16px; line-height: 1.6; margin: 6px 0 12px; }
.as-lead strong { font-weight: 600; }
.as-points { list-style: none; display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--line); padding-top: 12px; }
.as-points li { position: relative; padding-left: 20px; line-height: 1.6; color: var(--soft); font-size: 14.5px; }
.as-points li::before { content: '•'; position: absolute; left: 3px; top: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.as-points li.tone-up::before { content: '▲'; color: var(--up); font-size: 9px; line-height: 2.6; }
.as-points li.tone-down::before { content: '▼'; color: var(--down); font-size: 9px; line-height: 2.6; }
.as-points strong { color: var(--text); font-weight: 600; }
.as-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.as-foot .srcs { margin-top: 0; }
.spot { margin-bottom: 16px; }
.spot-px { font-size: 20px; font-weight: 500; margin: 2px 0 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.spot-px .chg { font-size: 15px; }
.rng { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgba(242,114,108,.4), var(--track) 50%, rgba(79,207,128,.4)); margin: 4px 0 6px; }
.rng i { position: absolute; top: -4px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.spot .range-labels { margin-bottom: 6px; }
.spot .kv { font-size: 14px; padding: 8px 0; }
.spot .kv:last-child { border-bottom: none; }
.ana { margin-bottom: 16px; }
.ana-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ana .consensus { gap: 2px 12px; margin-bottom: 10px; }
.ana .consensus-label { font-size: 24px; letter-spacing: -.01em; }
.ana a.more { display: inline-block; text-decoration: none; margin-top: 12px; font-size: 13.5px; }
.co-head { display: flex; align-items: center; gap: 14px; margin: 4px 0 8px; }
.co-t h1 { font-size: 26px; font-weight: 650; letter-spacing: -.02em; line-height: 1.15; }
.co-sub { font-size: 13px; margin-top: 3px; color: var(--soft); }
.follow { margin-left: auto; padding: 8px 14px; border: none; background: none; font-size: 15.5px; color: var(--soft); cursor: pointer; border-radius: 10px; white-space: nowrap; }
.follow:hover { background: var(--card2); color: var(--text); }
.follow.on { color: var(--warn); }
.follow { display: inline-flex; align-items: center; gap: 6px; }
.follow .ic { width: 17px; height: 17px; }
.follow.on .ic { color: var(--gold); }
.tabs-nav { position: sticky; top: 0; z-index: 40; background: rgba(25,26,26,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tabs-nav a { padding: 12px 10px 11px; text-decoration: none; color: var(--soft); font-size: 15.5px; white-space: nowrap; border-bottom: 2px solid transparent; }
.tabs-nav a:hover { color: var(--text); }
.tabs-nav a.active { color: var(--text); border-bottom-color: var(--text); }
.pcard { padding: 0; overflow: hidden; }
.pc-top { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.pc-cell { padding: 14px 20px; min-width: 0; }
.pc-cell + .pc-cell { border-left: 1px solid var(--line); }
.pc-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 20px; }
.pc-px { font-weight: 500; letter-spacing: -.01em; }
.pc-lbl { color: var(--soft); font-size: 13.5px; margin-top: 2px; }
.pc-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px 0; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--card2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: none; background: none; color: var(--soft); padding: 5px 12px; border-radius: 7px; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.seg button:hover { color: var(--text); }
.seg button.active { background: #2f3232; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 0 0 1px #3f4343; }
.period-chg { font-size: 14px; min-height: 1.5em; }   /* filled in by the chart: the line is kept so nothing moves */
.chart-wrap { position: relative; width: 100%; height: 340px; margin-top: 6px; }
.chart-wrap.sm { height: 240px; margin-top: 0; }
.chart-wrap.loading::after { content: 'Loading…'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); background: rgba(25,26,26,.6); }
.legend-note { font-size: 12px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; padding: 6px 18px 12px; }
.legend-note i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.legend-note .dots { background-image: radial-gradient(rgba(255,255,255,.45) 1px, transparent 1.2px); background-size: 4px 4px; border: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.st { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; min-width: 0; }
.st:nth-child(3n) { border-right: none; }
.stat-grid .st:nth-last-child(-n+3) { border-bottom: none; }
.st span { color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st b { font-weight: 500; white-space: nowrap; }
.why { margin-top: 16px; }
.why-label { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.why p { color: var(--soft); line-height: 1.65; font-size: 15px; }
.why p strong { color: var(--text); }
.tline { padding: 6px 20px; }
.tl { display: grid; grid-template-columns: 92px 22px minmax(0, 1fr); gap: 0 12px; padding: 16px 0; }
.tl-when { text-align: right; font-size: 15px; line-height: 1.35; }
.tl-when span { display: block; color: var(--soft); font-size: 13px; }
.tl-dot { position: relative; }
.tl-dot::before { content: ''; position: absolute; left: 10.5px; top: -16px; bottom: -16px; width: 1px; background: var(--border); }
.tl:first-child .tl-dot::before { top: 8px; }
.tl.last .tl-dot::before { bottom: auto; height: 22px; }
.tl:first-child.last .tl-dot::before { display: none; }
.tl-dot::after { content: ''; position: absolute; left: 5px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 1.5px solid #555959; box-sizing: border-box; }
.tl.first .tl-dot::after { background: var(--accent); border-color: var(--card); box-shadow: 0 0 0 3px rgba(76,194,207,.28); }
.tl-px { font-size: 16.5px; margin-bottom: 6px; }
.tl-px .sep { color: var(--muted); margin: 0 6px; }
.tl-desc { color: var(--text); line-height: 1.65; font-size: 15px; }
.tline .tl.extra { display: none; }
.tline .tl.flash { animation: tl-flash 1.8s ease-out; border-radius: 10px; }
@keyframes tl-flash { 0%, 35% { background: rgba(76,194,207,.16); } 100% { background: transparent; } }
.legend-note .mv-key { width: 9px; height: 9px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 2px var(--card), 0 0 0 4px rgba(79,207,128,.35); margin-right: 8px; }
.tline.show-all .tl.extra { display: grid; }
.tline .see-more { margin: 0 -20px; width: calc(100% + 40px); }
.profile { padding: 6px 20px 16px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv span { color: var(--soft); white-space: nowrap; }
.kv b { font-weight: 400; text-align: right; }
.kv a { color: var(--accent); text-decoration: none; }
.about { padding-top: 14px; }
.about p { line-height: 1.65; font-size: 15px; }
.clamp { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.clamp.open { display: block; }
.moves-card summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; }
.moves-card summary::-webkit-details-marker { display: none; }
.moves-card summary::before { content: '▸ '; color: var(--muted); }
.moves-card[open] summary::before { content: '▾ '; }
.moves-card[open] summary { margin-bottom: 6px; }
.move-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.move-row:last-child { border: none; }
.move-date { min-width: 92px; font-size: 13px; color: var(--muted); padding-top: 2px; }
.move-desc { font-size: 13.5px; line-height: 1.6; color: var(--soft); margin-top: 6px; }
.move-pct { font-weight: 600; font-size: 15px; min-width: 70px; text-align: right; padding-top: 2px; }
.flash-up { animation: flashUp 1.2s; } .flash-down { animation: flashDown 1.2s; }
@keyframes flashUp { 0% { background: var(--up-bg); } } @keyframes flashDown { 0% { background: var(--down-bg); } }

/* ---------- News & stories ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.news-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-decoration: none; transition: box-shadow .15s; }
.news-card:hover { border-color: #454949; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.news-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; background: var(--card2); }
.news-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.news-title { font-weight: 500; line-height: 1.4; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-grid .news-title { -webkit-line-clamp: 2; }
.story-sum { font-size: 13px; line-height: 1.55; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { margin-top: auto; font-size: 12.5px; color: var(--muted); }
.news-meta .fav { margin-right: 6px; }

/* ---------- Analysis, earnings, financials, holders, predictions ---------- */
.stats { width: 100%; border-collapse: collapse; }
.stats td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.stats tr:last-child td { border: none; }
.stats td:first-child { color: var(--soft); }
.stats td:last-child { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.debate { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.debate > div { border-radius: 12px; padding: 14px 16px; font-size: 14.5px; line-height: 1.65; color: var(--soft); }
.debate .bull { background: rgba(79,207,128,.07); border: 1px solid rgba(79,207,128,.22); }
.debate .bear { background: rgba(242,114,108,.07); border: 1px solid rgba(242,114,108,.22); }
.debate b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.debate .bull b { color: var(--up); } .debate .bear b { color: var(--down); }
.issue { font-weight: 600; font-size: 16px; margin-bottom: 10px; }
.consensus { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.consensus-label { font-size: 22px; font-weight: 700; text-transform: capitalize; }
.dist { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--track); margin: 6px 0; }
.dist div { height: 100%; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.pt { position: relative; height: 64px; margin: 18px 6px 6px; }
.pt .bar { position: absolute; top: 24px; left: 0; right: 0; height: 6px; border-radius: 3px; background: rgba(76,194,207,.22); }
.pt .mk { position: absolute; top: 0; transform: translateX(-50%); text-align: center; font-size: 11px; white-space: nowrap; }
.pt .mk::after { content: ''; display: block; width: 2px; height: 14px; margin: 3px auto 0; background: currentColor; }
.pt .mk.l { transform: none; text-align: left; } .pt .mk.l::after { margin-left: 0; }
.pt .mk.r { transform: translateX(-100%); text-align: right; } .pt .mk.r::after { margin-right: 0; }
.pt .mk.avg { top: 20px; }
.pt .mk.avg::after { display: none; }
.pt .mk.avg::before { content: ''; display: block; width: 2px; height: 14px; margin: 0 auto 3px; background: currentColor; }
.pt .mk.avg.l::before { margin-left: 0; } .pt .mk.avg.r::before { margin-right: 0; }
.pt .mk.cur { color: var(--text); top: 22px; }
.pt .mk.cur::after { display: none; }
.pt .mk.cur span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); margin-top: -1px; }
.analyst-summary { line-height: 1.7; color: var(--soft); }
.analyst-summary strong { color: var(--text); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.table tr:last-child td { border: none; }
.table .r, .table th.r { text-align: right; }
.table td:first-child, .table th:first-child { padding-left: 0; }
.table td:last-child, .table th:last-child { padding-right: 0; }
.table .est { color: var(--muted); font-style: italic; }
.table th.est { color: var(--accent); }
.table td.label { color: var(--soft); }
.table tr.head td { padding-top: 16px; color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; border-bottom-color: transparent; }
.table tr.bold td { font-weight: 600; color: var(--text); }
.table .neg, .table tr.bold td.neg { color: var(--down); }
.table th a.src { display: block; font-size: 10.5px; font-weight: 500; color: var(--accent); text-decoration: none; margin-top: 2px; }
.table th a.src:hover { text-decoration: underline; }
.table tbody tr:hover td { background: rgba(255,255,255,.025); }
.next-earn { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.kpi span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 3px; }
.kpi b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.earnings-bullets { display: flex; flex-direction: column; gap: 10px; }
.earnings-item { line-height: 1.7; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--soft); }
.earnings-item strong { color: var(--text); }
.beat { color: var(--up); } .miss { color: var(--down); }
.call-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(76,194,207,.35); background: var(--accent-bg); color: var(--accent); font-weight: 600; font-size: 13.5px; cursor: pointer; text-decoration: none; }
.btn:hover { background: rgba(76,194,207,.16); }
.btn:disabled { opacity: .6; cursor: default; }
.call-head audio { height: 36px; flex: 1; min-width: 240px; }
.chapters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 24px; }
.ch-part { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin: 8px 0 2px; grid-column: 1 / -1; }
.ch { display: flex; gap: 10px; align-items: baseline; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid var(--line); color: var(--soft); padding: 8px 0; cursor: pointer; font-size: 13.5px; }
.ch:hover { color: var(--text); }
.ch .num { color: var(--accent); min-width: 44px; font-size: 12px; }
.transcript { margin-top: 16px; }
.transcript summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 13.5px; }
.transcript .tx { max-height: 560px; overflow-y: auto; margin-top: 12px; padding-right: 8px; }
.tx .sp { font-weight: 600; font-size: 13.5px; margin: 16px 0 4px; }
.tx .sp:first-child { margin-top: 0; }
.tx p { line-height: 1.7; color: var(--soft); font-size: 14px; margin-bottom: 8px; padding: 2px 6px; border-radius: 6px; margin-left: -6px; }
.tx p.now { background: var(--accent-bg); color: var(--text); }
.tx .ts { background: none; border: none; color: var(--muted); font-size: 11px; cursor: pointer; margin-right: 6px; font-variant-numeric: tabular-nums; }
.tx .ts:hover { color: var(--accent); }
.ctl-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs button { border: none; background: none; color: var(--soft); padding: 9px 12px; font-size: 14px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tabs button.active { color: var(--text); border-bottom-color: var(--text); font-weight: 500; }
.ratio-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 24px; }
.hbar { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13.5px; }
.hbar .lbl { width: 42%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--soft); }
.hbar .trk { flex: 1; height: 8px; background: var(--track); border-radius: 4px; position: relative; overflow: hidden; }
.hbar .trk div { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.hbar .val { min-width: 64px; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.report { padding: 14px 0; border-bottom: 1px solid var(--line); }
.report:last-child { border: none; }
.report-title { font-weight: 500; line-height: 1.45; text-decoration: none; font-size: 15px; }
.report-title:hover { color: var(--accent); }
.report-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); margin: 6px 0; flex-wrap: wrap; }
.report p { font-size: 13.5px; line-height: 1.6; color: var(--soft); }

.footer { text-align: center; padding: 40px 0 24px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer a { color: var(--accent); text-decoration: none; }

@media (pointer: coarse) {   /* touch: 44px targets */
    .seg button, .tabs button, .bvb-tabs button, .mtabs button, .src-pill, .see-more, .link-btn, .follow, .btn, .ch, .more { min-height: 44px; }
    .wstar { width: 44px; height: 44px; }
    .search input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* ---------- Archive ---------- */
.arc-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 2px 8px; }
.arc-nav a { color: var(--soft); text-decoration: none; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; }
.arc-nav a:hover { color: var(--text); background: var(--card2); }
.arc-sum details { border-bottom: 1px solid var(--line); padding: 12px 2px; }
.arc-sum details:last-child { border-bottom: none; }
.arc-sum summary { cursor: pointer; font-weight: 600; font-size: 15.5px; }
.arc-sum p { margin-top: 8px; color: var(--soft); line-height: 1.6; }
.arc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 14px; }
.arc-sd .who { margin-bottom: 10px; } .arc-sd .who .badge { margin-left: auto; }
.arc-sd p { color: var(--soft); line-height: 1.55; font-size: 14.5px; }
.arc-list h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; } .arc-list h3 a { color: var(--text); text-decoration: none; }
.arc-lead { font-size: 13.5px; color: var(--soft); line-height: 1.55; margin-bottom: 8px; }
.arc-why { white-space: normal; min-width: 280px; color: var(--soft); font-size: 13.5px; line-height: 1.45; }
.arc-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; }
.arc-day { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); color: var(--text); text-decoration: none; }
.arc-day:hover { border-color: #4a4e4e; background: var(--card2); }
.arc-day span { font-size: 14px; color: var(--soft); line-height: 1.4; } .arc-day small { font-size: 12.5px; color: var(--muted); }

/* ---------- Standouts: sorting and the day of each move ---------- */
.sd-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.seg.sm button { padding: 4px 11px; font-size: 13px; }
.sd-day { font-size: 12px; color: var(--muted); background: var(--card2); border-radius: 999px; padding: 2px 9px; white-space: nowrap; align-self: center; margin-right: auto; }
.sd-day.now { color: var(--accent); background: var(--accent-bg); }

/* ---------- Politicians, insider trades, market lists, news ---------- */
.pol-ph { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--card2); color: var(--muted); font-size: 13px; font-weight: 700; }
.pol-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.pol-ph.sm { width: 30px; height: 30px; font-size: 11px; }
.pol-ph.xs { width: 22px; height: 22px; font-size: 9px; }
.pol-ph.lg { width: 96px; height: 96px; font-size: 28px; border: 2px solid var(--border); }
.pty { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; font-size: 11px; font-weight: 700; text-decoration: none; vertical-align: 1px; }
.pty.dem { background: rgba(96,152,245,.18); color: #8db4f7; }
.pty.rep { background: var(--down-bg); color: var(--down); }
.pty.ind { background: var(--card2); color: var(--soft); }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.who-t a { color: var(--text); text-decoration: none; } .who-t a:hover { color: var(--accent); }
.table .sub, .who-t .sub { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.txn { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 12.5px; font-weight: 600; background: var(--card2); color: var(--soft); white-space: nowrap; }
.txn.buy { background: var(--up-bg); color: var(--up); } .txn.sell { background: var(--down-bg); color: var(--down); }
.pol-tbl { padding: 6px 8px; }
.pol-tbl .table td { vertical-align: middle; }
.pol-foot { padding: 8px 10px 4px; }
.pol-head { display: flex; align-items: center; gap: 20px; margin: 6px 0 18px; }
.pol-head h1 { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.pol-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; color: var(--soft); }
.pol-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi-c { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi-c > span { font-size: 13px; color: var(--muted); } .kpi-c > b { font-size: 22px; font-weight: 600; } .kpi-c > small { font-size: 12.5px; color: var(--muted); }
.share { display: inline-block; width: 54px; height: 6px; border-radius: 3px; background: var(--track); margin-right: 8px; vertical-align: middle; overflow: hidden; }
.share i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.bars h3, .pol-note h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; font-size: 14px; }
.bar-l { min-width: 0; } .bar-l a { color: var(--text); text-decoration: none; font-weight: 600; } .bar-l a:hover { color: var(--accent); }
.bar-l.who { gap: 7px; }
.bar-t { height: 7px; border-radius: 4px; background: var(--track); overflow: hidden; }
.bar-t i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.bar-v { color: var(--soft); font-size: 13.5px; min-width: 52px; text-align: right; }
.kv small { font-weight: 400; font-size: 12px; margin-left: 4px; }
.pol-note p { font-size: 13.5px; color: var(--soft); line-height: 1.55; margin-bottom: 14px; }
.pol-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 2px 16px; }
.pol-stats div { display: flex; flex-direction: column; } .pol-stats b { font-size: 22px; font-weight: 600; } .pol-stats span { font-size: 13px; color: var(--muted); }
.tx-filters { margin-bottom: 12px; justify-content: flex-start; }
.tx-empty { padding: 14px 10px; }
.pol-q { width: 100%; max-width: 420px; margin: 2px 0 14px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--text); font: inherit; font-size: 15px; }
.pol-q:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.pol-dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 8px; }
.pol-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); color: var(--text); text-decoration: none; min-height: 56px; }
.pol-card:hover { border-color: #4a4e4e; background: var(--card2); }
.pol-card b { font-weight: 500; font-size: 14.5px; }
.arow { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.arow:last-child { border-bottom: none; } .arow:hover { background: var(--card2); }
.arow .who-t { flex: 1; } .arow b { font-weight: 500; }
.arow-r { display: flex; flex-direction: column; align-items: flex-end; font-size: 14px; white-space: nowrap; } .arow-r small { font-size: 12px; }
.feed-link { margin: 14px 4px; }
.mlist-more { display: block; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--soft); text-decoration: none; font-size: 14px; }
.mlist-more:hover { color: var(--accent); background: var(--card2); }
.lst-page { padding-bottom: 8px; }
.lst-sum { margin-bottom: 16px; }
.lst-sum h2 { font-size: 17px; font-weight: 600; }
.lst-lead, .lst-more p { line-height: 1.65; margin: 10px 0; }
.lst-lead { font-size: 16px; }
.lst-more summary { cursor: pointer; color: var(--accent); font-size: 14px; margin: 4px 0 8px; }
.lst-table td:first-child { width: 28px; }
.tk-chip { display: inline-block; padding: 0 6px; border-radius: 5px; background: var(--accent-bg); color: var(--accent); font-size: .86em; font-weight: 600; text-decoration: none; vertical-align: 1px; }
.tk-chip:hover { background: rgba(76,194,207,.2); }
.nw-list { padding: 4px 0; }
.nw { display: flex; flex-direction: column; gap: 3px; padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.nw:last-child { border-bottom: none; }
a.nw:hover { background: var(--card2); } a.nw:hover .nw-t { color: var(--accent); }
.nw-t { font-size: 15px; line-height: 1.4; } .nw-m { font-size: 12.5px; color: var(--muted); }
.foot-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 24px; padding: 28px 4px 8px; margin-top: 36px; border-top: 1px solid var(--line); }
.foot-nav h2 { font-size: 13px; font-weight: 600; color: var(--soft); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.foot-nav a { display: block; padding: 4px 0; color: var(--muted); text-decoration: none; font-size: 14px; }
.foot-nav a:hover { color: var(--text); }
/* ---------- A stock's archive pages, months, years ---------- */
.sub-head { margin-top: 2px; }
.sub-head h1 { font-size: 26px; text-wrap: balance; }
.sub-nav a .tab-n { font-size: 12px; color: var(--muted); margin-left: 4px; font-variant-numeric: tabular-nums; }
.sub-nav a.active .tab-n { color: var(--soft); }
.sub-lead { font-size: 16px; line-height: 1.65; color: var(--soft); max-width: 80ch; margin: 0 2px 18px; text-wrap: pretty; }
.sub-stats { margin-top: 4px; }
.section.first { margin-top: 8px; }
.day-move { padding: 20px 22px; }
.day-move .tl-px { margin-bottom: 10px; }
.day-desc { font-size: 16.5px; line-height: 1.75; max-width: 76ch; text-wrap: pretty; }
.day-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.stat-card { padding: 0; overflow: hidden; } .stat-card .stat-grid { border-top: none; }
.tl-when a { color: var(--text); text-decoration: none; border-bottom: 1px dotted var(--muted); } .tl-when a:hover { color: var(--accent); border-color: var(--accent); }
.tl-more { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--accent); text-decoration: none; } .tl-more:hover { text-decoration: underline; }
.arc-why a { color: inherit; text-decoration: none; } .arc-why a:hover { color: var(--accent); }
.bvb-issue + .bvb-issue { margin-top: 12px; }
.bvb-issue h3 { font-size: 16px; }
.bvb-old { margin-top: 10px; padding: 14px 18px; }
.bvb-old summary { cursor: pointer; line-height: 1.5; } .bvb-old summary .muted { font-size: 13.5px; }
.bvb-old[open] summary { margin-bottom: 12px; }
.bvb-old .bvb-issue { border: none; padding: 12px 0 0; background: none; }
.cons-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 6px; }
.cons-big { font-size: 30px; font-weight: 650; letter-spacing: -.02em; margin: 4px 0 2px; }
.cons-up { font-weight: 600; margin-bottom: 8px; }
.cons-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--track); margin: 10px 0 8px; }
.cons-bar i { display: block; height: 100%; } .cons-bar .b { background: var(--up); } .cons-bar .n { background: #6b6f6b; } .cons-bar .r { background: var(--down); }
.sub-more { padding: 14px 6px 8px; margin-bottom: 16px; }
.sub-more h3 { padding: 0 12px; margin-bottom: 6px; }
.sub-more a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 14.5px; min-height: 44px; }
.sub-more a:hover { background: var(--card2); color: var(--accent); }
.sub-more a small, .sub-more a span[aria-hidden] { color: var(--muted); font-size: 13px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 18px 0 4px; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 10px; font-size: 14px; }
.pager a { border: 1px solid var(--border); color: var(--soft); text-decoration: none; } .pager a:hover { color: var(--text); background: var(--card2); }
.pager span[aria-current] { background: var(--accent-bg); color: var(--accent); font-weight: 600; border: 1px solid rgba(76,194,207,.35); }
.pager .gap { color: var(--muted); min-width: 20px; padding: 0; }
.yr-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 2px 14px; }
.yr-chips a { display: inline-flex; align-items: baseline; gap: 5px; padding: 7px 12px; min-height: 36px; border-radius: 999px; border: 1px solid var(--border); color: var(--soft); text-decoration: none; font-size: 14px; }
.yr-chips a small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.yr-chips a:hover { color: var(--text); background: var(--card2); }
.yr-chips a.on { background: var(--accent-bg); color: var(--accent); border-color: rgba(76,194,207,.35); } .yr-chips a.on small { color: var(--accent); }
.yr-chips > .muted { margin-right: 4px; }
.yr-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 150px; padding: 16px 16px 10px; }
.ym { display: grid; grid-template-rows: 1fr auto auto; height: 100%; text-align: center; gap: 3px; min-width: 0; }
.ym i { align-self: end; display: block; width: 100%; min-height: 2px; background: var(--accent); border-radius: 4px 4px 2px 2px; opacity: .85; }
.ym span { font-size: 11.5px; color: var(--muted); } .ym b { font-size: 11.5px; font-weight: 500; color: var(--soft); min-height: 14px; }
.arc-years { padding: 8px 18px; }
.arc-yr { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.arc-yr:last-child { border-bottom: none; }
.arc-yr > b { font-size: 15px; font-weight: 600; }
.arc-yr > div { display: flex; flex-wrap: wrap; gap: 4px; }
.arc-yr a { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 36px; padding: 0 10px; border-radius: 8px; color: var(--soft); text-decoration: none; font-size: 14px; background: var(--card2); }
.arc-yr a:hover { color: var(--text); background: #323535; }
.arc-list h3.up { color: var(--up); } .arc-list h3.down { color: var(--down); }
.fc-arc-t { white-space: normal; min-width: 260px; } .fc-arc-t a { color: var(--text); text-decoration: none; font-weight: 500; } .fc-arc-t a:hover { color: var(--accent); }
.fc-arc-o { white-space: normal; min-width: 200px; color: var(--soft); }
.sub-days { margin-top: 28px; }
.arow .who-t { min-width: 0; overflow: hidden; } .arow .who-t .sub { overflow: hidden; text-overflow: ellipsis; }   /* long sub-lines never run under the numbers */
@media (max-width: 720px) {
    .cons-grid { grid-template-columns: 1fr; }
    .sub-head h1 { font-size: 21px; }
    .yr-months { height: 120px; gap: 3px; padding: 12px 10px 8px; }
    .ym span, .ym b { font-size: 10px; }
}
@media (max-width: 720px) { .pol-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pol-head h1 { font-size: 23px; } .pol-ph.lg { width: 72px; height: 72px; } }
/* ---------- Price forecast (stock pages) ---------- */
.fc-px { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; margin-bottom: 16px; }
.fc-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13px; color: var(--soft); }
.fc-key span { display: inline-flex; align-items: center; gap: 7px; }
.fc-key .ln { width: 16px; height: 2px; border-radius: 2px; background: var(--accent); }
.fc-key .dt { width: 8px; height: 8px; border-radius: 50%; }
.fc-key .ds { width: 18px; border-top: 2px dashed var(--soft); }
.fc-px-sum .fc-avg { font-size: 34px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.fc-px-sum .fc-up { font-weight: 600; margin: 2px 0 10px; }
.fc-px-sum .kv small { font-size: 12.5px; margin-left: 6px; }
.fc-px-sum p { margin-top: 12px; line-height: 1.5; }
.fc-est h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.fc-est th[scope="row"] { color: var(--soft); font-weight: 500; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.fc-est .est { background: rgba(76,194,207,.06); }
.fc-est tr.g td, .fc-est tr.g th { font-size: 12.5px; }
.fc-est tr:last-child th { border: none; }
/* ---------- Forecasts (prediction markets) ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin: 18px 2px 14px; }
.crumbs a { color: var(--soft); text-decoration: none; } .crumbs a:hover { color: var(--accent); }
.fc-title { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.fc-title h1 { font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.fc-ico { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: var(--card2); }
.fc-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; color: var(--soft); font-size: 14px; }
.fc-meta span:not(:last-child)::after { content: '·'; margin-left: 14px; color: var(--muted); }   /* a wrapped line never starts with a dot */
.pm-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--soft); }
.pm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pm-legend i { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.pm-legend b { color: var(--text); font-weight: 600; }
.pm-table-card { padding: 6px 8px; }
.pm-table td { white-space: normal; }
.pm-table td:first-child { width: 100%; min-width: 180px; }
.pm-cell { position: relative; padding: 6px 10px; border-radius: 8px; background: var(--card2); overflow: hidden; display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.pm-cell > :not(.pm-fill) { position: relative; }
.pm-cell.lead .pm-fill { background: rgba(76,194,207,.22); }
.pm-table b { font-weight: 600; }
.fc-why p { line-height: 1.65; color: var(--text); margin-bottom: 12px; }
.fc-facts h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.fc-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.fc-actions .btn { justify-content: center; min-height: 44px; }
.btn.ghost { background: none; border-color: var(--border); color: var(--soft); }
.btn.ghost:hover { color: var(--text); background: var(--card2); }
.fc-note { margin-top: 12px; }
.fc-arch { margin-top: 8px; padding: 8px 12px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: 14px; }
.fc-hub { padding-bottom: 8px; }
.fc-hero { margin: 22px 2px 16px; }
.fc-hero h1 { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.fc-hero p { color: var(--soft); margin-top: 6px; max-width: 68ch; line-height: 1.55; }
.fc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.fc-tabs a { padding: 8px 16px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--border); color: var(--soft); text-decoration: none; font-size: 14.5px; }
.fc-tabs a:hover { color: var(--text); background: var(--card2); }
.fc-tabs a.on { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 600; }
.fc-more { margin-top: 16px; border: 1px solid var(--border); border-radius: 12px; }
.fc-empty { text-align: center; padding: 40px 20px; color: var(--soft); }
@media (max-width: 1100px) { .fc-px { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .fc-title h1 { font-size: 21px; } .fc-ico { width: 48px; height: 48px; border-radius: 11px; } .fc-hero h1 { font-size: 24px; } }
@media (max-width: 1100px) {
    .layout { grid-template-columns: minmax(0, 1fr); }
    .assets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .wrap { padding: 0 14px; }
    .search input { font-size: 16px; }   /* stops iOS zooming into the field */
    .top-in { gap: 12px; }
    .mnav { flex-direction: column; align-items: stretch; gap: 0; }
    .mnav-r { text-align: left; padding: 2px 4px 10px; }
    .pc-top { grid-template-columns: 1fr; }
    .pc-cell + .pc-cell { border-left: none; border-top: 1px solid var(--line); }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .st:nth-child(3n) { border-right: 1px solid var(--line); }
    .st:nth-child(2n) { border-right: none; }
    .stat-grid .st:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
    .debate { grid-template-columns: 1fr; }
    .cal { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .heat { height: 440px; }
    .heat.big { height: 680px; }
    .tl { grid-template-columns: 56px 22px minmax(0, 1fr); gap: 0 8px; }
    .co-t h1 { font-size: 21px; }
    .chart-wrap { height: 280px; }
    .pc-tools .period-chg { flex-basis: 100%; }   /* its own line from the start, so the chart below never moves */
    .pc-tools .seg, .hist-tools .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
    .pc-tools .seg::-webkit-scrollbar, .hist-tools .seg::-webkit-scrollbar { display: none; }
    .hist-tools .link-btn { margin-left: 0; }
    .seg button { padding: 5px 9px; }
    .assets { gap: 8px; }
    .sd { padding: 16px; }
    .sd-head { align-items: flex-start; }
    .sd-px { flex-direction: column; align-items: flex-end; gap: 4px; }
    .sd-px .mono { font-size: 17px; }
    .sd-body { grid-template-columns: minmax(0, 1fr); }
    .sd-chart { height: 200px; }
    .sd-stats { border-left: none; padding: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
    .as-row { padding: 12px 12px 0; flex-direction: column; align-items: flex-start; gap: 1px; }   /* stack: no clipped prices on phones */
    .as-sub { padding-top: 4px; font-size: 13px; }
    .as-name { font-size: 14px; max-width: 100%; }
}
/* ---------- Trust pages: about, contact, privacy, terms, disclaimer ---------- */
.info-page .fc-hero p { max-width: 70ch; }
.prose { padding: 26px 30px; max-width: 880px; }
.prose h2 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 28px 0 8px; }
.prose h2:first-child, .prose p.muted + h2 { margin-top: 6px; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.7; color: var(--soft); max-width: 72ch; }
.prose p + p { margin-top: 10px; }
.prose ul { padding-left: 20px; display: grid; gap: 9px; }
.prose b { color: var(--text); font-weight: 600; }
.prose a, .contact-side a, .contact-form a, .form-ok + p a { color: var(--accent); }
.info-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.contact-card { padding: 24px 26px; }
.contact-form { display: grid; gap: 16px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 13px; border-radius: 10px; border: 1px solid var(--border); background: var(--card2); color: var(--text); font: inherit; font-size: 16px; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--down); }
.field small { font-size: 13px; }
.form-err { color: var(--down); font-size: 14px; }
.form-ok { padding: 16px 18px; border-radius: 12px; background: var(--up-bg); border: 1px solid rgba(79,207,128,.3); line-height: 1.6; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-side { padding: 22px 24px; }
.contact-side h2 { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.contact-side address, .contact-side p { font-style: normal; color: var(--soft); line-height: 1.6; margin-bottom: 18px; }
.contact-side p:last-child { margin-bottom: 0; }
.info-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 24px 2px 0; font-size: 14px; }
.info-links a { color: var(--soft); text-decoration: none; padding: 6px 0; } .info-links a:hover { color: var(--text); }
.info-links a[aria-current] { color: var(--text); font-weight: 600; }
.inbox-msg { margin-bottom: 12px; padding: 16px 20px; }
.inbox-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 8px; }
.inbox-head a { color: var(--accent); } .inbox-head .muted { margin-left: auto; }
.inbox-msg p { color: var(--soft); line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } .prose { padding: 20px 18px; } }

/* ---------- Earnings calls: one call's page, a stock's calls, the hub ---------- */
.tx.full { max-height: none; overflow: visible; padding-right: 0; }
.tx.full p { font-size: 15px; }
.call-spk { font-size: 13.5px; color: var(--soft); line-height: 1.6; margin: 0 0 12px; }
.kpi .kpi-n { display: block; font-size: 12.5px; margin-top: 3px; }
.call-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.call-nav a { color: var(--accent); text-decoration: none; font-weight: 500; }
.calls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.call-card h2 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.call-card h2 a { color: var(--text); text-decoration: none; }
.call-card h2 a:hover { color: var(--accent); }
.call-card p { font-size: 14px; line-height: 1.6; color: var(--soft); margin: 10px 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.call-go { font-size: 13.5px; color: var(--accent); text-decoration: none; font-weight: 500; }
.calls-day { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; padding: 14px 16px 6px; }
.calls-list .arow > .logo-sm { flex-shrink: 0; }

/* ---------- Market summary: earlier versions ---------- */
.sum-ver { border-top: 1px solid var(--border); }
.sum-when { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 20px 6px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.sum-when small { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12px; }
.sum-when a { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.sum-none { padding: 12px 20px; }

/* ---------- A day's move in context (one-day move pages) ---------- */
.ctx-lead { font-size: 15px; line-height: 1.65; color: var(--soft); max-width: 78ch; text-wrap: pretty; }
.ctx-after { margin-top: 14px; }

/* ---------- API docs (/docs) ---------- */
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--card2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; color: var(--text); overflow-wrap: anywhere; }
.prose a code { color: var(--accent); }
.prose pre { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-x: auto; margin: 10px 0 4px; max-width: 100%; }
.prose pre code { background: none; border: 0; padding: 0; font-size: 12.5px; line-height: 1.55; color: var(--soft); white-space: pre; overflow-wrap: normal; }
