/* Shared product system: cool neutrals, strong typography, blue navigation. */
:root { --accent: #2456d6; --surface-subtle: #f0f4fa; }
.directory-search { position: relative; max-width: 700px; margin: 24px 0; }
.directory-search .ticker-search { margin: 0; }
.tape-header .directory-search { width: min(100%, 480px); margin: 0; }
.tape-header .ticker-search { flex-direction: row; flex-wrap: nowrap; }
.tape-header .ticker-search input { padding: 12px; font-size: .8rem; }
.tape-header .ticker-search input[type=submit] { min-height: 44px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; padding: 28px 0; font-size: .85rem; }
.pagination a { color: var(--accent); font-weight: 650; }
.directory-search input[type=search] { min-width: 0; text-transform: none; font: inherit; width: 100%; }
.search-suggestions { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px #172c5020; max-height: 360px; overflow-y: auto; }
.search-suggestions a { display: flex; justify-content: space-between; gap: 15px; padding: 14px 16px; text-decoration: none; font-size: .85rem; }
.search-suggestions a:hover, .search-suggestions a[aria-selected=true] { background: #edf2ff; }
.search-suggestions strong { overflow-wrap: anywhere; }
.search-suggestions small { flex-shrink: 0; color: var(--muted); }
.tape-shell, .customer-shell, .landing-shell, .manager-shell, .research-shell, .tape-panel, .table-wrap { min-width: 0; max-width: 100%; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.section-heading, .portfolio-toolbar, .ticker-search, .portfolio-filters, .docs-actions { flex-wrap: wrap; }
.tape-panel h2, .instrument-heading h1, .manager-heading h1 { overflow-wrap: anywhere; }
@media(max-width: 540px) {
  .ticker-search input, .portfolio-filters select, .portfolio-filters input { min-width: 0; max-width: 100%; }
  .quick-tickers { flex-wrap: wrap; }
  .section-heading { gap: 12px; }
  .search-suggestions a { flex-direction: column; gap: 4px; }
  .activity-overview { min-width: 0; }
  .activity-filters > div, .instrument-heading > div { min-width: 0; max-width: 100%; }
  .activity-filters input, .activity-filters select, input[type=date] { min-inline-size: 0; max-inline-size: 100%; }
  turbo-frame { display: block; min-width: 0; max-width: 100%; }
}
html { scroll-padding-top: 30px; }
:focus-visible { outline: 3px solid #7297ff; outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px; background: white; }
.skip-link:focus { top: 8px; }
.site-header { display: flex; gap: 32px; align-items: center; min-height: 78px; padding: 16px max(24px, calc((100% - 1400px)/2)); background: #111d32; color: #eaf0ff; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-size: 1.55rem; font-weight: 800; letter-spacing: -.055em; flex-shrink: 0; }
.brand-dot { color: #80a3ff; }
.site-navigation { display: flex; gap: 24px; }
.site-navigation a { font-size: .83rem; font-weight: 600; text-decoration: none; }
.site-navigation a:hover { color: #a9c2ff; }
.site-header .customer-nav { margin-left: auto; padding: 0; border: 0; background: none; gap: 15px; flex-wrap: wrap; font-size: .75rem; }
.site-header .customer-nav a, .site-header .customer-nav button { color: #eaf0ff; font-size: .75rem; }
.site-header .customer-nav a:last-child { border: 1px solid #53647f; padding: 9px 12px; border-radius: 6px; }
.site-footer { width: min(1400px, calc(100% - 48px)); margin: 60px auto 0; padding: 25px 0; border-top: 1px solid var(--line); display: flex; gap: 24px; justify-content: space-between; color: var(--muted); font-size: .75rem; }
.landing-shell { min-height: auto; padding: 88px 0 35px; }
.hero { max-width: 980px; }
.hero h1, .instrument-heading h1, .manager-heading h1, .customer-header h1, .account-header h1 { font-family: inherit; font-weight: 730; letter-spacing: -.055em; }
.hero h1 { font-size: clamp(3.1rem, 6.2vw, 5.7rem); line-height: 1.05; }
.hero-accent { color: var(--accent); }
.hero .lede { max-width: 675px; font-size: 1.15rem; line-height: 1.7; margin: 28px 0; }
.quick-tickers { display: flex; gap: 10px; align-items: center; margin-top: 20px; font-size: .75rem; }
.quick-tickers span { color: var(--muted); }
.quick-tickers a { text-decoration: none; border: 1px solid var(--line); background: white; border-radius: 5px; padding: 6px 10px; font-weight: 700; }
.principles { margin-top: 64px; }
.tape-header { padding-bottom: 12px; font-size: .8rem; }
.tape-header .wordmark { display: none; }
.tape-header { justify-content: flex-end; }
.tape-panel { box-shadow: 0 3px 14px rgb(18 39 72 / 3%); border-radius: 10px; }
.section-heading h2, .wordmark, .portfolio-toolbar h2, .manager-directory-heading h2, .customer-card h2 { font-family: inherit; font-weight: 650; }
.tape-table th, .institutional-table th { background: var(--surface-subtle); }
.tape-table td, .institutional-table td { border-color: var(--line); }
.tape-table tbody tr:hover, .institutional-table tbody tr:hover { background: #f8faff; }
.action--neutral { background: #edf1f6; color: #526176; }
.action--purchase, .portfolio-change--new, .portfolio-change--increased { background: #e2f5ed; color: #13714c; }
.manager-card { background: white; border-color: var(--line); box-shadow: 0 2px 12px rgb(18 39 72 / 3%); }
.manager-card:hover { background: #f8faff; border-color: #9eb5ee; transform: translateY(-2px); }
.manager-card h3 { font-family: inherit; }
.portfolio-stats { background: white; border-color: var(--line); }
.portfolio-stats dd { font-family: inherit; letter-spacing: -.035em; font-weight: 650; }
.portfolio-stats .portfolio-stat--value { background: #172c50; color: white; }
.portfolio-stat--value small { color: #c2d2ee; }
.portfolio-change { background: #edf1f6; color: #526176; }
.portfolio-change--increased, .portfolio-change--newly-reported { background: #e2f5ed; color: #13714c; }
.portfolio-change--decreased { background: var(--red-soft); color: var(--red); }
.portfolio-weight, .portfolio-weight::-webkit-meter-bar { background: #e4eaf4; }
.manager-heading > .api-link { margin-left: 18px; }
.customer-shell h1, .customer-shell h2 { font-family: inherit; letter-spacing: -.035em; }
.docs-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; width: min(1380px, calc(100% - 48px)); margin: 0 auto; }
.docs-sidebar { position: sticky; top: 20px; align-self: start; max-height: calc(100vh - 40px); overflow-y: auto; padding: 35px 16px 30px 0; }
.docs-sidebar input { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: white; font: inherit; font-size: .8rem; }
.docs-sidebar nav { display: grid; gap: 3px; margin-top: 16px; }
.docs-sidebar a { text-decoration: none; padding: 8px 10px; font-size: .8rem; color: var(--muted); border-radius: 5px; }
.docs-sidebar a:hover { background: var(--green-soft); color: var(--accent); }
.docs-sidebar a[hidden] { display: none; }
.docs-sidebar h2 { margin: 22px 10px 6px; font-size: .72rem; color: var(--ink); text-transform: uppercase; letter-spacing: .07em; }
.docs-main { min-width: 0; max-width: 960px; padding: 56px 0 40px; }
.docs-hero h1 { margin: 0; font-size: clamp(2.5rem, 4vw, 4.2rem); letter-spacing: -.055em; line-height: 1.12; }
.docs-hero .lede { font-size: 1.05rem; max-width: 640px; }
.docs-actions { display: flex; align-items: center; gap: 22px; }
.docs-base { margin-top: 30px; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 7px; font-size: .75rem; color: var(--muted); overflow-wrap: anywhere; }
.docs-base code { color: var(--ink); margin-left: 10px; }
.docs-base span { float: right; }
.docs-section { padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 25px; }
.docs-section h2 { margin: 0 0 18px; font-size: 1.65rem; letter-spacing: -.035em; }
.docs-section h3 { font-size: 1rem; margin-top: 24px; }
.docs-section p { font-size: .9rem; line-height: 1.8; color: #43536b; }
.docs-section p a { color: var(--accent); }
.docs-section p code { background: #eaf0f8; padding: 2px 4px; border-radius: 3px; font-size: .82em; }
.docs-section .tape-table { border: 1px solid var(--line); background: white; }
.docs-section .tape-table td { line-height: 1.7; }
.docs-section .tape-table td:first-child { min-width: 135px; }
.docs-concepts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.docs-concepts article { border: 1px solid var(--line); border-radius: 8px; padding: 0 20px 10px; background: white; }
.code-block { margin: 24px 0; border: 1px solid #253953; border-radius: 9px; overflow: hidden; background: #111d32; color: #d6e6ff; }
.code-heading { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; background: #1a2941; color: #b5c5df; font-size: .72rem; }
.code-heading button { border: 1px solid #526480; border-radius: 4px; background: transparent; color: white; padding: 5px 10px; cursor: pointer; font: inherit; }
.code-block pre { margin: 0; padding: 20px; overflow-x: auto; font: .76rem/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; tab-size: 2; }
.endpoint-path { background: white; border: 1px solid var(--line); padding: 14px; border-radius: 6px; overflow-wrap: anywhere; }
.endpoint-path span { color: #13714c; font-size: .75rem; font-weight: 800; margin-right: 12px; }
.docs-section .endpoint-path code { background: none; }
.account-form select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); font: inherit; }
.account-panel h2, .account-panel .account-plan { font-family: inherit; font-weight: 650; }
.site-header .customer-nav { width: auto; }
.customer-button { display: inline-block; border-radius: 6px; background: var(--accent); color: white; text-decoration: none; padding: 12px 18px; font-size: .85rem; font-weight: 650; }
.export-card { padding: 22px 0; border-top: 1px solid var(--line); margin-top: 15px; }
.export-card h3 { font-size: .95rem; margin: 0; }
.export-card details { margin-top: 15px; font-size: .75rem; color: var(--muted); }
.export-card pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .7rem; }
.response-example { margin-top: 20px; }
.response-example summary, .docs-section details summary { color: var(--accent); cursor: pointer; font-size: .85rem; padding: 12px 0; }
.response-example pre { max-height: 500px; }
.manager-search { margin-bottom: 25px; }
.manager-search input { text-transform: none; font-family: inherit; font-size: .9rem; }
.company-avatar { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; background: white; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; flex-shrink: 0; }
.company-avatar img { width: 30px; height: 30px; object-fit: contain; }
.company-avatar--fallback { background: #edf2ff; color: #395a9b; font-size: 1rem; font-weight: 750; letter-spacing: -.04em; }
.activity-overview { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; background: white; border: 1px solid var(--line); border-radius: 10px; padding: 24px; margin-bottom: 25px; }
.activity-overview-copy h2 { margin: 0; font-size: 1.5rem; letter-spacing: -.035em; }
.activity-overview-copy p { font-size: .85rem; color: var(--muted); }
.activity-overview-copy p strong { color: var(--ink); }
.activity-overview-copy small { display: block; font-size: .67rem; line-height: 1.6; color: var(--muted); max-width: 320px; }
.activity-mini-chart { display: flex; gap: 12px; align-items: end; min-height: 130px; }
.activity-month { flex: 1; min-width: 0; text-align: center; font-size: .6rem; color: var(--muted); }
.activity-month-bars { display: flex; height: 100px; align-items: end; gap: 3px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.activity-bar { width: 50%; border-radius: 3px 3px 0 0; }
.activity-bar--purchase { background: #198461; }
.activity-bar--sale { background: #e18898; }
.activity-summary-data { grid-column: 1 / -1; font-size: .7rem; color: var(--muted); }
@media(max-width: 650px) { .activity-overview { grid-template-columns: 1fr; } .activity-mini-chart { gap: 5px; } }
@media(max-width: 1050px) {
  .site-header { flex-wrap: wrap; gap: 18px; }
  .site-header .customer-nav { gap: 12px; }
  .docs-shell { grid-template-columns: 190px minmax(0, 1fr); gap: 26px; }
  .docs-base span { float: none; display: block; margin-top: 10px; }
}
@media(max-width: 720px) {
  .site-header { padding: 14px 20px; gap: 16px; }
  .brand { font-size: 1.35rem; }
  .site-navigation { margin-left: auto; gap: 12px; }
  .site-navigation a { font-size: .72rem; }
  .site-header .customer-nav { width: 100%; justify-content: flex-start; }
  .site-footer { flex-wrap: wrap; gap: 12px 24px; }
  .landing-shell { padding-top: 48px; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .docs-shell { display: block; width: calc(100% - 36px); }
  .docs-sidebar { position: static; max-height: 200px; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .docs-sidebar nav { grid-template-columns: 1fr 1fr; }
  .docs-sidebar h2 { grid-column: 1 / -1; }
  .docs-main { padding-top: 32px; }
  .docs-concepts { grid-template-columns: 1fr; }
  .docs-section { padding: 28px 0; }
}
@media(prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
