/* Copyright 2019 The Tomorrow Project Authors (github.com/MonicaRizzolli/Tomorrow).
   Tomorrow is licensed under the SIL Open Font License 1.1; see /brand/fonts/OFL.txt. */
@font-face {
  font-family: "Tomorrow";
  src: url("/brand/fonts/Tomorrow-ExtraBoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}
/* tokenizedstonks: the supplied #00BC62 identity in both themes. */
:root {
  color-scheme: dark;
  --bg: #0b0f17;
  --panel: #141a24;
  --raised: #1e2633;
  --ink: #f5f7fc;
  --muted: #bcc6d6;
  --subtle: #a5b1c4;
  --line: #344050;
  --brand-green: #00BC62;
  --accent: var(--brand-green);
  --accent-fill: var(--brand-green);
  --accent-ink: #0c1010;
  --cobalt: var(--accent);
  --cobalt-fill: var(--brand-green);
  --signal: var(--accent);
  --secondary: #b6c5e7;
  --warn: #ffc18c;
  --shadow: #05080e;
  --radius: 14px;
  --rail: 176px;
  --sans: Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Tomorrow", "Arial Black", Arial, ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f8fafc;
  --panel: #ffffff;
  --raised: #eef2f6;
  --ink: #152031;
  --muted: #4e5c70;
  --subtle: #53647b;
  --line: #d4dce7;
  /* Exact green remains on fills; this related shade keeps small text readable. */
  --accent: #007d41;
  --accent-fill: var(--brand-green);
  --accent-ink: #0c1010;
  --cobalt: var(--accent);
  --signal: var(--accent);
  --warn: #995006;
  --shadow: #dce3ee;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:where(a, button, input, select, textarea, summary, main):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent-fill); color: var(--accent-ink); }
h1, h2, h3, p { margin: 0; }
h1 { font: italic 800 clamp(42px, 5.4vw, 72px)/1.08 var(--display); letter-spacing: -.025em; overflow-wrap: anywhere; }
h1 em { color: var(--brand-green); font-style: inherit; }
h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.035em; font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; line-height: 1.35; }
em { font-style: normal; }
.wide { width: calc(100% - var(--rail) - 80px); max-width: 1600px; margin-left: calc(var(--rail) + 40px); margin-right: 40px; }
.site-header { position: fixed; inset: 0 auto 0 0; width: var(--rail); border-right: 1px solid var(--line); background: var(--panel); z-index: 20; }
.header-inner { padding: 18px 10px 16px; height: 100%; display: flex; flex-direction: column; min-height: 0; gap: 20px; }
.rail-top { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.brand { display: block; width: 100%; max-width: 200px; }
.rail-top .brand { flex: 1; min-width: 0; }
.brand-wordmark { display: block; width: 100%; height: auto; object-fit: contain; }
.brand-on-light { display: none; }
html[data-theme="light"] .brand-on-dark { display: none; }
html[data-theme="light"] .brand-on-light { display: block; }
.sidebar-toggle { display: grid; place-items: center; width: 32px; height: 40px; flex-shrink: 0; padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: transparent; }
.sidebar-toggle:hover { background: var(--raised); color: var(--ink); }
.sidebar-mobile-icon { display: none; }
.primary-nav { display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 3px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.primary-nav a { min-height: 44px; flex-shrink: 0; display: flex; align-items: center; gap: 9px; padding: 9px 8px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); font-size: 13px; transition: color 150ms, background 150ms; }
.primary-nav a:hover { background: var(--raised); color: var(--ink); }
.primary-nav a[aria-current="page"] { background: var(--accent-fill); color: var(--accent-ink); box-shadow: 3px 3px 0 var(--shadow); }
.nav-icon { flex: 0 0 20px; }
.nav-text { white-space: nowrap; }
.nav-mode { margin-left: auto; color: var(--muted); font: 8px var(--mono); }
.primary-nav a[aria-current="page"] .nav-mode { color: inherit; }
.rail-footer { display: flex; justify-content: center; margin-top: auto; padding-top: 8px; flex-shrink: 0; }
.rail-brand { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.rail-symbol { display: block; width: 32px; height: auto; }
html[data-sidebar="collapsed"] { --rail: 64px; }
@media(min-width:1001px) {
  html[data-sidebar="collapsed"] .header-inner { padding-inline: 7px; }
  html[data-sidebar="collapsed"] .rail-top { justify-content: center; }
  html[data-sidebar="collapsed"] .rail-top .brand, html[data-sidebar="collapsed"] .nav-text, html[data-sidebar="collapsed"] .nav-mode { display: none; }
  html[data-sidebar="collapsed"] .sidebar-toggle { width: 44px; }
  html[data-sidebar="collapsed"] .sidebar-desktop-icon { transform: rotate(180deg); }
  html[data-sidebar="collapsed"] .primary-nav a { justify-content: center; padding-inline: 0; }
}
.workspace-masthead { min-height: 91px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.masthead-label { color: var(--muted); font: 10px var(--mono); letter-spacing: .13em; }
.masthead-label > span { color: var(--accent); font-size: 21px; margin-right: 10px; }
.masthead-actions { display: flex; align-items: center; gap: 12px; }
.motion-toggle { min-height: 44px; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: 10px var(--mono); white-space: nowrap; }
.motion-toggle:hover { color: var(--ink); background: var(--raised); }
.command-trigger { min-height: 45px; width: 290px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--muted); padding: 9px 14px; text-align: left; font-size: 13px; transition: border-color 150ms, box-shadow 150ms; }
.command-trigger:hover { border-color: var(--accent); box-shadow: 3px 3px 0 var(--shadow); }
.command-trigger kbd { margin-left: auto; white-space: nowrap; }
kbd { font: 10px var(--mono); color: var(--muted); background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 3px 5px; }
.icon-button { width: 45px; height: 45px; flex-shrink: 0; display: grid; place-items: center; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 9px; transition: background 150ms; }
.icon-button:hover { background: var(--raised); }
.demo-banner { color: var(--muted); font-size: 12px; }
.demo-banner .wide { display: flex; align-items: center; gap: 15px; padding-block: 14px; border-bottom: 1px dashed var(--line); }
.demo-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--signal); font: 10px var(--mono); letter-spacing: .07em; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.demo-banner a { margin-left: auto; color: var(--ink); font-size: 11px; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
main { min-height: 70vh; padding-top: 38px; padding-bottom: 48px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; color: var(--accent); font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: 0 0 18px; width: 18px; height: 20px; background: var(--brand-green); mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJ0b2tlbml6ZWRzdG9ua3MtaWNvbiIgdmlld0JveD0iODkyIDUwMiAzMTIgMzQ4IiB3aWR0aD0iMzEyIiBoZWlnaHQ9IjM0OCIgcm9sZT0iaW1nIiBhcmlhLWxhYmVsbGVkYnk9ImxvZ28tdGl0bGUgbG9nby1kZXNjcmlwdGlvbiI+CiAgPHRpdGxlIGlkPSJsb2dvLXRpdGxlIj50b2tlbml6ZWRzdG9ua3MgaWNvbjwvdGl0bGU+CiAgPGRlc2MgaWQ9ImxvZ28tZGVzY3JpcHRpb24iPlRocmVlIGFzY2VuZGluZyBpbnRlcmxpbmtlZCBwcmljZSBjYW5kbGVzIHdpdGggdGhpY2tlciBvdXRsaW5lcyBhbmQgd2lkZXIgY3Jvc3NpbmcgZ2FwcyBpbiBzb2xpZCBncmVlbi48L2Rlc2M+CiAgPGcgaWQ9ImNhbmRsZS1jaGFpbiIgZmlsbD0iIzAwQkM2MiIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGlkPSJjYW5kbGUtY2hhaW4tb3V0bGluZSIgZD0iTTExMTUuMjUgNzE0LjIyTDExMjYuNDMgNzE0LjIyTDExMjguODYgNjk1LjU3TDExNTMuMDkgNjk1LjU3TDExNjUuNzMgNjg0LjM5TDExODEgNTY2Ljk0TDExNzEuMjcgNTU1Ljc2TDExNDcuMDMgNTU1Ljc2TDExNTEuMDMgNTI1TDExMzkuODUgNTI1TDExMzUuODUgNTU1Ljc2TDExMTEuNjEgNTU1Ljc2TDEwOTguOTggNTY2Ljk0TDEwODkuNTIgNjM5LjY1TDExMTAuMDMgNjM5LjY1TDExMTcuOTEgNTc5LjA2TDExMjEuMDcgNTc2LjI3TDExNTYuNDkgNTc2LjI3TDExNTguOTIgNTc5LjA2TDExNDYuOCA2NzIuMjdMMTE0My42NCA2NzUuMDdMMTExMi44OCA2NzUuMDdMMTEwOC4yMiA2NzUuMDdMMTA4NC45MiA2NzUuMDdMMTA4My43MSA2ODQuMzlMMTA5My40NCA2OTUuNTdMMTExNy42NyA2OTUuNTdaTTEwNzguMyA2NDcuMUwxMDgxLjIxIDYyNC43M0wxMDcwLjAyIDYyNC43M0wxMDY3LjEyIDY0Ny4xTDEwNDAuMDkgNjQ3LjFMMTAyNi4zOSA2NTkuMjJMMTAyMC45NCA3MDEuMTdMMTA0MS40NSA3MDEuMTdMMTA0NS40NCA2NzAuNDFMMTA0OC42IDY2Ny42MUwxMDg2LjgyIDY2Ny42MUwxMDkxLjQ4IDY2Ny42MUwxMTE0Ljc4IDY2Ny42MUwxMTE1Ljg3IDY1OS4yMkwxMTA1LjMzIDY0Ny4xWk0xMDYyLjA2IDc3Mi4wMUwxMDY0IDc1Ny4wOUwxMDkxLjAzIDc1Ny4wOUwxMTA0LjczIDc0NC45OEwxMTEwLjE4IDcwMy4wM0wxMDg5LjY3IDcwMy4wM0wxMDg1LjY3IDczMy43OUwxMDgyLjUxIDczNi41OUwxMDQ0LjMgNzM2LjU5TDEwMzkuNjQgNzM2LjU5TDEwMTYuMzQgNzM2LjU5TDEwMTUuMjQgNzQ0Ljk4TDEwMjUuNzkgNzU3LjA5TDEwNTIuODIgNzU3LjA5TDEwNTAuODggNzcyLjAxWk05ODUuMDEgODI3TDk5Ni4xOSA4MjdMOTk4LjI1IDgxMS4xNUwxMDI4LjA4IDgxMS4xNUwxMDQwLjcyIDc5OS45N0wxMDQ1LjMyIDc2NC41NUwxMDI0LjgyIDc2NC41NUwxMDIxLjc5IDc4Ny44NUwxMDE4LjYzIDc5MC42NUw5NzIuMDIgNzkwLjY1TDk2OS41OSA3ODcuODVMOTc2Ljg2IDczMS45M0w5ODAuMDIgNzI5LjEzTDEwMjEuOTcgNzI5LjEzTDEwMjYuNjMgNzI5LjEzTDEwNDkuOTMgNzI5LjEzTDEwNTEuMTQgNzE5LjgxTDEwNDEuNDEgNzA4LjYyTDEwMTEuNTggNzA4LjYyTDEwMTMuNzYgNjkxLjg1TDEwMDIuNTggNjkxLjg1TDEwMDAuNCA3MDguNjJMOTcwLjU3IDcwOC42Mkw5NTcuOTMgNzE5LjgxTDk0Ny41MSA3OTkuOTdMOTU3LjI0IDgxMS4xNUw5ODcuMDcgODExLjE1WiIvPgogIDwvZz4KPC9zdmc+Cg==") center / contain no-repeat; }
.page-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 35px; }
.page-top p { max-width: 690px; margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.as-of { color: var(--muted); font: 11px/1.6 var(--mono); text-align: right; flex-shrink: 0; }
.as-of strong { display: block; color: var(--subtle); margin-bottom: 7px; font: 10px var(--mono); letter-spacing: .05em; }

.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font: 11px var(--mono); margin-top: 26px; }
.hero-stats strong { color: var(--ink); font-weight: 600; }

.map-label { position: absolute; bottom: -4px; left: 10%; right: 0; color: var(--subtle); font: 9px var(--mono); letter-spacing: .04em; text-align: center; }
.featured-strip { display: flex; gap: 12px; overflow-x: auto; padding: 8px 0 16px; margin-bottom: 27px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; scroll-snap-type: x proximity; }
.featured-card { flex: 1 0 155px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 12px; padding: 17px; background: var(--panel); transition: transform 180ms, border-color 180ms; }
.featured-card:hover { transform: translateY(-4px); border-color: var(--cobalt); }
.featured-card strong { display: block; font-size: 17px; margin-top: 10px; }
.featured-card small, .featured-card .cell-secondary { font-size: 11px; color: var(--muted); }
.featured-card .asset-monogram { width: 32px; height: 32px; }
.featured-card > a { display: flex; align-items: center; gap: 11px; }
.featured-card > a > span:last-child { margin-left: auto; color: var(--cobalt); }
.featured-card strong { margin-top: 0; }
.featured-card small { display: block; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.featured-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; border-top: 1px solid var(--line); margin-top: 17px; padding-top: 10px; }
.hero-proof { display: flex; gap: 10px 20px; flex-wrap: wrap; color: var(--muted); font: 10px var(--mono); margin-top: 27px; }
.hero-proof span:not(:last-child) { border-right: 1px solid var(--line); padding-right: 20px; }
.overview-tools { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 20px; }
.overview-tools > div { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.overview-tools > div:first-child { display: block; }
.overview-tools .eyebrow { margin-bottom: 13px; }
.directory-views { display: flex; gap: 7px; }
.directory-views .chip { min-height: 44px; padding: 9px 12px; }
.directory-views .chip[aria-pressed="true"] { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); }
.section-number { color: var(--signal); font: 10px var(--mono); border: 1px solid var(--line); border-radius: 5px; padding: 5px 7px; }
.badge, .chip { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--raised); padding: 5px 8px; white-space: nowrap; }
.badge.accent { color: var(--accent); }
.badge.warn { color: var(--warn); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 32px; }
.metric-card { min-width: 0; position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.metric-card::before { content: ""; position: absolute; top: 23px; right: 23px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green); }
.metric-card:nth-child(2)::before { background: var(--brand-green); }
.metric-card:nth-child(3)::before { background: var(--brand-green); }
.metric-card:nth-child(4)::before { background: var(--secondary); }
.metric-label { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); padding-right: 13px; }
.metric-value { font-size: clamp(25px, 2.7vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -.05em; margin: 18px 0 13px; font-variant-numeric: tabular-nums; }
.metric-note { color: var(--subtle); font-size: 11px; line-height: 1.5; }
.metric-note .accent { color: var(--accent); }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 22px; align-items: start; }
.main-grid > div { min-width: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 25px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { font-size: 22px; }
.subhead { margin-top: 7px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.panel-heading .count { color: var(--subtle); font: 10px var(--mono); white-space: nowrap; }
.section-link { color: var(--cobalt); font-size: 12px; white-space: nowrap; }
.section-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.search-wrap { position: relative; flex: 1; min-width: 180px; }
.search-wrap svg { position: absolute; left: 14px; top: 15px; color: var(--subtle); pointer-events: none; }
.search-wrap input { width: 100%; height: 45px; padding: 0 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font-size: 13px; }
.search-wrap input::placeholder { color: var(--subtle); }
.search-wrap kbd { position: absolute; right: 12px; top: 12px; }
.filter-select { min-height: 45px; max-width: 168px; padding: 9px 27px 9px 12px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.reset-button { border: 0; min-height: 44px; color: var(--accent); background: none; padding: 8px; font-size: 12px; }
.table-wrap { position: relative; width: 100%; overflow-x: auto; scrollbar-color: var(--line) transparent; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 14px; }
.data-table th { color: var(--muted); background: var(--panel); padding: 14px 16px; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--line); }
.data-table td { padding: 20px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table :is(th, td):first-child { padding-left: 24px; }
.data-table :is(th, td):last-child { padding-right: 24px; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background 150ms; }
.data-table tbody tr:hover { background: var(--raised); }
.numeric { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.sort-button { border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 9px 0; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.sort-button.active { color: var(--accent); }
.asset-cell { display: flex; align-items: center; gap: 12px; min-width: 175px; }
.asset-monogram { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--raised); font-size: 13px; font-weight: 800; color: var(--cobalt); }
.asset-monogram[data-color="1"] { color: var(--signal); }
.asset-monogram[data-color="2"] { color: var(--signal); }
.asset-monogram[data-color="3"] { color: var(--ink); background: var(--raised); }
.asset-symbol { color: var(--ink); font-size: 14px; font-weight: 800; }
.asset-link:hover .asset-symbol { color: var(--accent); }
.asset-name { display: block; color: var(--muted); max-width: 190px; overflow: hidden; text-overflow: ellipsis; font-size: 11px; margin-top: 3px; }
.type-label { color: var(--muted); font-size: 11px; }
.network-dots, .issuer-pills { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; max-width: 135px; }
.network-dots span { font-size: 10px; color: var(--muted); }
.network-dots > span:not(:last-child)::after { content: "·"; margin-left: 4px; }
.issuer-pills > span { font-size: 10px; background: var(--raised); border-radius: 4px; padding: 3px 5px; }
.row-arrow { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; color: var(--cobalt); font-size: 22px; border-radius: 8px; }
.row-arrow:hover { background: var(--panel); }
.missing { color: var(--subtle); }
.stale { color: var(--warn); }
.table-footer { padding: 15px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); font-size: 10px; color: var(--subtle); line-height: 1.7; }
.sidebar { display: grid; gap: 20px; }
.sidebar .panel-heading { padding: 20px; }
.sidebar .panel-heading h2 { font-size: 18px; }
.coverage-list { padding: 9px 20px 20px; }
.coverage-row { padding-top: 15px; }
.coverage-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 12px; }
.coverage-label a:hover { color: var(--accent); }
.coverage-label .numeric { color: var(--muted); font-size: 10px; }
.coverage-progress { appearance: none; display: block; width: 100%; height: 6px; border: 0; border-radius: 4px; overflow: hidden; background: var(--raised); accent-color: var(--brand-green); }
.coverage-progress::-webkit-progress-bar { background: var(--raised); }
.coverage-progress::-webkit-progress-value { background: var(--brand-green); border-radius: 4px; }
.coverage-progress::-moz-progress-bar { background: var(--brand-green); border-radius: 4px; }
.sidebar .panel:nth-child(2) .coverage-progress { accent-color: var(--brand-green); }
.sidebar .panel:nth-child(2) .coverage-progress::-webkit-progress-value { background: var(--brand-green); }
.sidebar .panel:nth-child(2) .coverage-progress::-moz-progress-bar { background: var(--brand-green); }
.sidebar-note { padding: 15px 20px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 11px; line-height: 1.7; }
.research-note { padding: 25px; background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); box-shadow: 5px 6px 0 var(--shadow); }
.research-note .note-icon { color: var(--accent-ink); font-size: 33px; line-height: 1; margin-bottom: 20px; }
.research-note h3 { font-size: 25px; letter-spacing: -.035em; }
.research-note p { color: var(--accent-ink); margin: 15px 0 22px; font-size: 13px; line-height: 1.7; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); color: var(--ink); font-size: 12px; font-weight: 600; transition: transform 150ms, box-shadow 150ms, border-color 150ms; }
.button:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 3px 3px 0 var(--shadow); }
.button.primary { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); }
.hero-actions .button { min-height: 49px; padding: 12px 20px; font-size: 14px; }
.hero-actions .button.primary { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); box-shadow: 4px 5px 0 var(--shadow); }
.research-note .button { color: var(--accent-ink); background: transparent; border-color: currentColor; }
.methodology-strip { display: flex; align-items: flex-start; gap: 16px; padding: 22px 0; margin-top: 26px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); line-height: 1.8; }
.methodology-strip .badge { margin-top: 3px; }
.methodology-strip a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.site-footer { padding: 27px 0 40px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 25px; color: var(--subtle); font-size: 11px; }
.site-footer > div { display: flex; align-items: center; gap: 20px; }
.site-footer > div:last-child { flex-direction: column; align-items: flex-end; gap: 7px; }
.footer-brand { display: block; width: 160px; flex: 0 0 160px; }
.site-footer a { color: var(--ink); }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; color: var(--muted); font-size: 12px; }
.breadcrumb a:hover { color: var(--accent); }
.detail-title { display: flex; align-items: center; gap: 20px; }
.detail-title .asset-monogram { width: 68px; height: 68px; font-size: 24px; border-radius: 16px; }
.detail-title h1 { font-size: clamp(36px, 4vw, 56px); }
.detail-title p { margin-top: 9px; }
.detail-title .badge { margin-left: 8px; vertical-align: middle; }
.stat-inline { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; font-size: 12px; color: var(--muted); }
.stat-inline strong { color: var(--ink); margin-right: 6px; }
.section-stack { display: grid; gap: 25px; }
.detail-table { min-width: 990px; white-space: normal; }
.detail-table th { white-space: nowrap; }
.detail-table td { vertical-align: top; font-size: 13px; }
.cell-secondary { display: block; max-width: 235px; white-space: normal; color: var(--muted); font-size: 11px; line-height: 1.65; margin-top: 6px; }
.contract { display: block; max-width: 155px; white-space: normal; overflow-wrap: anywhere; margin-top: 6px; color: var(--subtle); font: 10px/1.65 var(--mono); }
.metric-provenance { display: block; color: var(--subtle); font: 10px/1.6 var(--sans); max-width: 170px; white-space: normal; letter-spacing: normal; margin-top: 7px; }
.metric-provenance.stale { color: var(--warn); }
.registry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.registry-card { display: block; padding: 27px; transition: transform 180ms, background 180ms, border-color 180ms; }
.registry-card:hover { transform: translateY(-4px); background: var(--raised); border-color: var(--cobalt); }
.registry-card .card-top { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.registry-card h2 { font-size: 24px; }
.registry-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.registry-card .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 11px; }
.registry-card .card-bottom span:last-child { color: var(--accent); }
.metadata-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 25px; }
.metadata-grid dt { color: var(--subtle); font-size: 11px; margin-bottom: 8px; }
.metadata-grid dd { margin: 0; font-size: 14px; }
.yield-intro { display: flex; align-items: flex-start; gap: 24px; padding: 27px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); }
.yield-intro .note-icon { color: var(--signal); font-size: 30px; }
.yield-intro p { color: var(--muted); max-width: 870px; font-size: 14px; line-height: 1.8; margin-top: 13px; }
.pool-name { font-size: 14px; font-weight: 700; }
.source-list { padding: 0 25px; }
.source-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 27px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.source-row:last-child { border-bottom: 0; }
.source-row p { color: var(--muted); max-width: 760px; font-size: 13px; margin-top: 8px; }
.source-meta { color: var(--subtle); text-align: right; font: 10px/1.8 var(--mono); }
.section-note { border-top: 1px solid var(--line); padding: 20px 25px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.filter-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.filter-tags .badge { color: var(--accent); }
.history-placeholder { padding: 28px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.history-placeholder strong { display: block; color: var(--ink); margin-bottom: 8px; }
.history-chart { padding: 24px 18px 10px; overflow-x: auto; }
.history-chart svg { display: block; width: 100%; min-width: 610px; height: auto; }
.chart-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 4 5; }
.chart-axis { fill: var(--muted); font: 10px var(--mono); }
.chart-line { fill: none; stroke: var(--brand-green); stroke-width: 2.5; stroke-linejoin: round; }
.chart-point { fill: var(--brand-green); stroke: var(--panel); stroke-width: 1.5; }
.provenance-list { display: grid; gap: 15px; padding: 22px 25px; }
.provenance-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 25px; border-bottom: 1px solid var(--line); padding-bottom: 15px; font-size: 12px; }
.provenance-item:last-child { padding-bottom: 0; border: 0; }
.provenance-item span { color: var(--muted); }
.space-above { margin-top: 25px; }
.card-description { margin-top: 15px; }
.centered { justify-content: center; }
.loading-state, .error-state, .empty-state { text-align: center; padding: 70px 24px; color: var(--muted); font-size: 14px; }
.error-state h2, .empty-state h3 { color: var(--ink); margin-bottom: 15px; }
.error-state .button { margin-top: 24px; }
.loading-mark { display: block; margin: 0 auto 24px; width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--brand-green); border-radius: 8px; animation: spin 1.5s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.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-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--accent-fill); color: var(--accent-ink); padding: 14px 20px; border-radius: 8px; }
.skip-link:focus { top: 10px; }
/* Shared command, inspector, and native filter surfaces. */
.ui-dialog { color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 0; width: min(660px, calc(100% - 32px)); max-height: min(80vh, 760px); box-shadow: 12px 15px 0 color-mix(in srgb, var(--shadow) 80%, transparent), 0 30px 100px #0004; overflow: auto; }
.ui-dialog[open] { animation: dialog-enter 180ms ease-out; }
.ui-dialog::backdrop { background: #101722b8; backdrop-filter: blur(7px); }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.ui-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.ui-dialog-head h2 { font-size: 22px; }
.ui-dialog-close { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; color: var(--muted); background: var(--raised); border: 1px solid var(--line); border-radius: 9px; font-size: 24px; line-height: 1; }
.ui-dialog-close:hover { color: var(--ink); border-color: var(--accent); }
.ui-command-input { display: block; width: calc(100% - 48px); margin: 20px 24px; min-height: 54px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--ink); padding: 12px 16px; font-size: 16px; }
.ui-command-input::placeholder { color: var(--subtle); }
.ui-command-results { list-style: none; margin: 0; padding: 0 14px 12px; max-height: 45vh; overflow-y: auto; }
.ui-command-item { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 18px; min-height: 64px; padding: 13px; border: 1px solid transparent; border-radius: 9px; color: var(--ink); background: none; text-align: left; cursor: pointer; }
.ui-command-item:hover, .ui-command-item:focus-visible, .ui-command-item[aria-selected="true"] { background: var(--raised); border-color: var(--cobalt); }
.ui-command-item-meta { display: block; grid-column: 1; grid-row: 2; color: var(--muted); font-size: 11px; margin-top: 4px; }
.ui-command-item-label { font-weight: 700; }
.ui-command-item-arrow { grid-column: 2; grid-row: 1 / span 2; margin-left: auto; color: var(--cobalt); }
.ui-inspector-context { padding: 20px 25px 0; color: var(--muted); font-size: 12px; }
.ui-command-empty { padding: 35px 20px; color: var(--muted); text-align: center; }
.ui-command-footer { display: flex; gap: 14px; flex-wrap: wrap; padding: 15px 24px; color: var(--subtle); font-size: 11px; border-top: 1px solid var(--line); }
.ui-inspector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 25px; }
.ui-inspector-grid dt { color: var(--subtle); font-size: 11px; margin-bottom: 6px; }
.ui-inspector-grid dd { margin: 0; color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
.ui-inspector-note { margin: 0; border-top: 1px solid var(--line); padding: 20px 25px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.watch-button { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--panel); font-size: 20px; }
.watch-button:hover, .watch-button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); background: var(--raised); }
.metric-info-button, .metric-info { display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 8px; background: none; color: var(--subtle); font: 14px var(--mono); vertical-align: middle; }
.metric-info-button:hover, .metric-info:hover { background: var(--raised); color: var(--cobalt); }
.watch-labelled { display: inline-flex; gap: 10px; padding: 9px 16px; font-size: 13px; }
.directory-filters { width: min(400px, calc(100% - 32px)); padding: 24px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 7px 8px 0 var(--shadow); }
.directory-filters::backdrop { background: #10172255; }
.directory-filters:popover-open { animation: dialog-enter 180ms ease-out; }
.filter-control { display: grid; gap: 9px; margin-block: 16px; color: var(--muted); font-size: 12px; }
.filter-control .filter-select { max-width: none; width: 100%; }
[data-reveal] { --reveal-delay: 0ms; }
[data-reveal-order="0"] { --reveal-delay: 0ms; }
[data-reveal-order="1"] { --reveal-delay: 45ms; }
[data-reveal-order="2"] { --reveal-delay: 90ms; }
[data-reveal-order="3"] { --reveal-delay: 135ms; }
[data-reveal-order="4"] { --reveal-delay: 180ms; }
[data-reveal-order="5"] { --reveal-delay: 225ms; }
[data-reveal-state="pending"] { opacity: 0; transform: translateY(12px); animation: none; }
[data-reveal-state="visible"] { animation: section-enter 450ms ease-out var(--reveal-delay, 0ms) both; }
html[data-motion="paused"] *, html[data-motion="paused"] *::before, html[data-motion="paused"] *::after { animation: none !important; }
html[data-motion="paused"] [data-reveal-state="pending"] { opacity: 1; transform: none; }
@keyframes section-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (min-width: 1600px) {
  :root { --rail: 208px; }
  .header-inner { padding: 32px 24px; }

}
@media (max-width: 1270px) {
  .wide { width: calc(100% - var(--rail) - 48px); margin-left: calc(var(--rail) + 24px); margin-right: 24px; }
  .main-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sidebar .panel-heading h2 { font-size: 17px; }
  .research-note { box-shadow: none; }
  .metric-card { padding: 20px; }

  .masthead-label { font-size: 9px; letter-spacing: .05em; }
}
@media (max-width: 1000px) {
  :root, html[data-sidebar="collapsed"] { --rail: 0px; }
  .site-header { position: relative; width: 100%; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .header-inner { padding: 14px 24px; gap: 12px; }
  .rail-top .brand { max-width: 160px; }
  .sidebar-toggle { margin-left: auto; width: 44px; height: 44px; }
  .sidebar-desktop-icon, .rail-footer { display: none; }
  .sidebar-mobile-icon { display: block; }
  .primary-nav { flex-direction: row; justify-content: space-between; gap: 5px; overflow-x: auto; padding-bottom: 10px; }
  html:not([data-sidebar="expanded"]) .primary-nav { display: none; }
  .primary-nav a { gap: 7px; padding-inline: 12px; white-space: nowrap; font-size: 13px; }
  .wide { width: calc(100% - 48px); margin-inline: 24px; }
  .workspace-masthead { min-height: 78px; }

  .registry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-value { font-size: 34px; }
  .page-top { align-items: flex-start; }
  .as-of { white-space: normal; max-width: 200px; }
}
@media (max-width: 720px) {
  .header-inner { padding: 14px 18px; }
  .wide { width: calc(100% - 36px); margin-inline: 18px; }
  .primary-nav { justify-content: flex-start; gap: 3px; }
  .primary-nav a { padding-inline: 12px; font-size: 12px; }
  .workspace-masthead { min-height: 71px; }
  .masthead-label { display: none; }
  .masthead-actions { width: 100%; gap: 10px; }
  .motion-toggle { font-size: 9px; padding-inline: 5px; }
  .command-trigger { width: auto; flex: 1; }
  .command-trigger kbd { display: none; }
  .demo-banner .wide { flex-wrap: wrap; gap: 7px 12px; }
  .demo-banner .wide > span:nth-child(2) { order: 3; width: 100%; font-size: 11px; }
  .demo-banner a { font-size: 10px; }
  main { padding-top: 27px; }

  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .metric-card { padding: 19px 16px; }
  .metric-card::before { right: 15px; top: 20px; }
  .metric-label { font-size: 11px; }
  .metric-value { font-size: 32px; }
  .metric-note { font-size: 10px; }
  .sidebar { grid-template-columns: 1fr; }
  .sidebar .research-note { display: block; }
  .registry-grid, .metadata-grid { grid-template-columns: 1fr; }
  .page-top { flex-direction: column; gap: 23px; }
  .page-top h1 { font-size: 45px; }
  .page-top p { font-size: 14px; margin-top: 15px; }
  .as-of { text-align: left; max-width: none; }
  .eyebrow { font-size: 9px; }
  .panel-heading { padding: 20px; flex-wrap: wrap; }
  .panel-heading h2 { font-size: 21px; }
  .toolbar { padding: 15px; gap: 8px; }
  .toolbar .search-wrap { flex-basis: 100%; }
  .filter-select { flex: 1; min-width: 110px; max-width: none; font-size: 11px; }
  .data-table :is(th, td):first-child { padding-left: 20px; }
  .data-table :is(th, td):last-child { padding-right: 20px; }
  .overview-tools { flex-wrap: wrap; }
  .methodology-strip { flex-direction: column; gap: 10px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .site-footer > div:last-child { align-items: flex-start; }
  .source-row { flex-direction: column; gap: 14px; }
  .source-meta { text-align: left; }
  .yield-intro { padding: 23px; gap: 17px; }
  .yield-intro h2 { font-size: 21px; }
  .yield-intro p { font-size: 13px; }
  .detail-title { align-items: flex-start; gap: 15px; }
  .detail-title h1 { font-size: 34px; }
  .detail-title .asset-monogram { width: 51px; height: 51px; font-size: 19px; }
  .detail-title p { display: flex; flex-wrap: wrap; gap: 7px; }
  .detail-title .badge { margin-left: 0; }
  .stat-inline { gap: 10px 20px; font-size: 11px; }
  .ui-dialog-head { padding: 18px; }
  .ui-inspector-grid { grid-template-columns: 1fr; gap: 17px; padding: 20px; }
}
@media (max-width: 380px) {
  .hero-actions .button { padding-inline: 14px; font-size: 13px; }

  .metric-value { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal-state="pending"] { opacity: 1; transform: none; }
}

/* The overview begins with an actionable research preview. */
.research-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 44px; padding: 10px 0 38px; }
.research-copy h1 { font-size: clamp(42px, 4.7vw, 76px); line-height: 1.03; }
.research-copy h1 em { color: var(--brand-green); }
.research-copy p { max-width: 530px; font-size: 17px; color: var(--muted); margin-top: 24px; }
.research-launcher { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: 6px 7px 0 var(--shadow); overflow: hidden; }
.research-launcher-head { padding: 23px 26px 19px; border-bottom: 1px solid var(--line); }
.research-launcher-head .eyebrow { margin-bottom: 10px; }
.research-launcher-head h2 { font-size: 25px; }
.research-picker { display: grid; gap: 8px; margin-top: 19px; font-size: 12px; color: var(--muted); }
.research-picker select { width: 100%; min-height: 45px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); padding: 10px; font-size: 14px; }
#research-preview { padding: 22px 26px; }
.research-security { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.research-security strong { font-size: 22px; }
.research-security .asset-name { max-width: none; }
.research-counts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 19px 0; padding: 16px 0; border-block: 1px solid var(--line); gap: 10px; }
.research-counts strong { display: block; font-size: 28px; font-variant-numeric: tabular-nums; }
.research-counts span { color: var(--muted); font-size: 12px; }
.research-coverage { margin-top: 12px; }
.research-coverage > div { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.research-coverage .chip { min-height: 32px; font-size: 12px; }
.research-coverage .chip:hover { border-color: var(--cobalt); color: var(--cobalt); }
.research-compare { display: flex; margin-top: 22px; text-align: center; }
.research-caption { margin-top: 13px; font-size: 11px; color: var(--subtle); line-height: 1.6; }
@media(max-width:1100px) { .research-hero { gap: 26px; } .research-copy h1 { font-size: 48px; } }
@media(max-width:760px) { .research-hero { grid-template-columns: 1fr; gap: 27px; } .research-copy h1 { font-size: clamp(40px,8vw,58px); } .research-copy p { font-size: 15px; margin-top: 18px; } .research-launcher-head, #research-preview { padding: 20px; } }

.entity-logo { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; padding: 5px; border: 1px solid #dce3ee; border-radius: 11px; background: #fff; color: #213858; position: relative; vertical-align: middle; }
.entity-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.entity-logo.large { width: 60px; height: 60px; padding: 8px; }
.entity-logo.logo-pending { background: var(--raised); color: var(--muted); border-color: var(--line); font-size: 12px; font-weight: 700; }
.logo-fixture small { position: absolute; bottom: -2px; padding: 0 2px; background: #eef3ff; color: #007d41; font: 6px/1.4 var(--mono); border-radius: 2px; }
.entity-label { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; }
.entity-label .entity-logo { width: 25px; height: 25px; padding: 4px; border-radius: 6px; }
.metric-provenance .entity-logo { width: 20px; height: 20px; padding: 3px; margin-right: 5px; }
.detail-title .entity-logo.large { width: 68px; height: 68px; }
.research-hero { grid-template-columns: 1fr 1.12fr; }
.research-launcher { background: linear-gradient(135deg,var(--panel),var(--raised)); }
.research-launcher-head { border-bottom: 0; padding-bottom: 8px; }
#research-preview { padding-top: 10px; }
.coverage-root { display: flex; align-items: center; justify-content: center; gap: 16px; }
.coverage-security { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 12px 18px; border-radius: 15px; background: var(--panel); box-shadow: 0 8px 24px var(--shadow); animation: security-float 7s ease-in-out infinite; }
.coverage-security strong { display: block; font-size: 23px; }
.coverage-security small { display: block; font-size: 11px; color: var(--muted); max-width: 160px; }
.coverage-security:hover { border-color: var(--cobalt); }
.coverage-products { display: grid; justify-items: center; gap: 3px; margin-top: 12px; font-size: 12px; color: var(--ink); }
.coverage-direction { color: var(--muted); font-size: 10px; }
.coverage-connectors { display: block; width: 100%; height: 42px; overflow: visible; }
.coverage-connectors path { fill: none; stroke: var(--line); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.coverage-connectors .connection-trace { stroke: var(--brand-green); stroke-dasharray: 10 24; animation: connection-travel 12s linear infinite; opacity: .65; }
.coverage-branches { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.coverage-branch { min-width: 0; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); padding: 12px 9px; animation: branch-enter 350ms ease-out both; }
.coverage-branch:nth-child(2) { animation-delay: 70ms; }.coverage-branch:nth-child(3) { animation-delay: 140ms; }
.coverage-branch h3 { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); gap: 3px; margin-bottom: 12px; }
.coverage-branch h3 span { color: var(--cobalt); }
.coverage-nodes { display: grid; gap: 8px; }
.coverage-node { display: grid; grid-template-columns: 30px 1fr; gap: 6px; align-items: center; padding: 5px 2px; min-height: 40px; font-size: 10px; line-height: 1.3; border-radius: 6px; }
.coverage-node .entity-logo { width: 29px; height: 29px; padding: 5px; border-radius: 7px; }
.coverage-node span:nth-child(2) { overflow-wrap: anywhere; }
.coverage-node > span:last-child { display: none; }
.coverage-node:hover, .coverage-node:focus-visible { background: var(--raised); color: var(--cobalt); }
.coverage-more, .coverage-none { font-size: 10px; color: var(--muted); line-height: 1.5; }
.command-logo { grid-column: 1; grid-row: 1 / span 2; }
.ui-command-item:has(.command-logo) { grid-template-columns: 40px 1fr auto; }.ui-command-item:has(.command-logo) .ui-command-item-label, .ui-command-item:has(.command-logo) .ui-command-item-meta { grid-column: 2; }
@keyframes security-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes connection-travel { to { stroke-dashoffset: -136; } }
@keyframes branch-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media(max-width:1100px) { .research-hero { grid-template-columns: 1fr 1.25fr; gap: 22px; }.research-copy h1 { font-size: 43px; } }
@media(max-width:800px) { .research-hero { grid-template-columns: 1fr; }.research-copy h1 { font-size: clamp(40px,7vw,60px); } }
@media(max-width:420px) { .research-launcher-head, #research-preview { padding-inline: 12px; }.coverage-branches { gap: 5px; }.coverage-branch { padding: 11px 6px; }.coverage-node { grid-template-columns: 1fr; justify-items: start; }.coverage-node .entity-logo { width: 32px; height: 32px; }.coverage-branch h3 { font-size: 10px; }.coverage-security .entity-logo.large { width: 48px; height: 48px; } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none!important; transition: none!important; } }
html[data-motion="paused"] .coverage-security,html[data-motion="paused"] .connection-trace,html[data-motion="paused"] .coverage-branch { animation: none!important; }

.ui-command-item:has(.command-logo) .ui-command-item-arrow { grid-column: 3; }

/* Dated official research sits apart from synthetic market measurements. */
.reference-toolbar { flex-wrap:wrap;align-items:end;gap:1rem;padding-bottom:1rem; }
.reference-toolbar label { display:grid;gap:.5rem;font-size:.82rem;color:var(--muted); }
.reference-toolbar input[type=search],.reference-toolbar select { min-height:44px;max-width:100%;border:1px solid var(--line);background:var(--raised);color:var(--ink);border-radius:12px;padding:.75rem;font:inherit; }
.reference-search { flex:1;min-width:200px; }
.reference-toolbar .reference-pending { display:flex;align-items:center;gap:.5rem;min-height:44px; }
.reference-facts { display:grid;gap:1.2rem;margin:1.5rem 0; }
.reference-facts dt { font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:.4rem; }
.reference-facts dd { margin:0;color:var(--ink);font-size:.92rem;line-height:1.6; }
.reference-sources { font-size:.8rem;line-height:1.7;margin:1rem 0;overflow-wrap:anywhere; }
.reference-family h2 a { text-decoration:none; }
.reference-contract { display:grid;gap:.6rem;padding:1.3rem 0;border-top:1px solid var(--line); }
.reference-contract code { overflow-wrap:anywhere;font-size:.85rem;color:var(--ink); }
.reference-contract small { color:var(--muted); }
.reference-contract a { font-size:.8rem; }
.reference-branch { display:grid;gap:.5rem;font-size:.78rem;line-height:1.45;overflow-wrap:anywhere;color:var(--ink); }
.reference-branch .entity-logo { width:28px;height:28px; }
@media(min-width:1000px) { .reference-family .reference-facts { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .reference-toolbar>* { width:100%; } }
.reference-source-link { display:inline-flex;align-items:center;gap:.35rem;vertical-align:middle; }
.reference-source-link .entity-logo { width:20px;height:20px;border-radius:5px;font-size:.5rem; }
.reference-source-link img { width:16px;height:16px; }

/* Only security marks use a tile; infrastructure and provider marks stay unboxed. */
.entity-logo.logo-network, .entity-logo.logo-provider { background: transparent; border: 0; border-radius: 0; padding: 2px; }
.entity-logo.logo-network img, .entity-logo.logo-provider img { object-position: center; }
.entity-logo.logo-network.large, .entity-logo.logo-provider.large { padding: 4px; }
.entity-logo.logo-network.logo-pending, .entity-logo.logo-provider.logo-pending { background: transparent; color: var(--subtle); }
html:not([data-theme="light"]) .logo-network[data-identity="ethereum"] img { filter: brightness(2.9); }
.reference-source-link .entity-logo.logo-provider, .entity-label .entity-logo.logo-network, .coverage-node .entity-logo.logo-network { padding: 1px; border: 0; border-radius: 0; }


.reference-family-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media(max-width:900px) { .reference-family-grid { grid-template-columns:1fr; } }

.entity-directory { overflow: hidden; }
.ed-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 25px 18px; }
.ed-header h2 { font-size: 22px; }
.ed-header p { margin-top: 7px; color: var(--muted); font-size: 13px; }
.ed-total { white-space: nowrap; font: 11px var(--mono); color: var(--muted); padding-top: 7px; }
.ed-controls { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,.65fr) auto; align-items: end; gap: 14px; padding: 0 25px 20px; }
.ed-controls label { display: grid; gap: 6px; font-size: 11px; color: var(--muted); }
.ed-controls input, .ed-controls select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--ink); font: 13px var(--sans); }
.ed-reset { min-height: 44px; }
.ed-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 0 25px 20px; align-items: start; }
.ed-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.ed-card-head { display: flex; align-items: flex-start; gap: 10px; }
.ed-card-head > .entity-logo { flex: 0 0 28px; width: 28px; height: 28px; }
.ed-card h3 { font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.ed-roles { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 12px 0; padding: 0; }
.ed-roles li { max-width: 100%; padding: 4px 7px; border-radius: 5px; background: var(--raised); color: var(--muted); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.ed-evidence { border-top: 1px solid var(--line); padding-top: 9px; font-size: 11px; }
.ed-evidence summary { cursor: pointer; color: var(--ink); min-height: 28px; display: list-item; }
.ed-evidence ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.ed-evidence a { overflow-wrap: anywhere; }
.ed-unknown, .ed-empty { font-size: 12px; color: var(--muted); }
.ed-unknown { margin: 9px 0; }
.ed-empty { grid-column: 1 / -1; padding: 20px 0; }
.ed-footer { border-top: 1px solid var(--line); padding: 16px 25px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.ed-count, .ed-page { color: var(--muted); font-size: 11px; }
.ed-pagination { display: flex; align-items: center; gap: 12px; }
.ed-pagination button { min-height: 40px; padding: 8px 12px; }
.ed-pagination button:disabled { opacity: .4; cursor: default; }
@media(max-width:1100px) { .ed-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .ed-header { padding: 20px 16px 16px; gap: 12px; }.ed-header h2 { font-size: 19px; }.ed-total { white-space: normal; text-align: right; }.ed-controls { grid-template-columns: minmax(0,1fr) auto; padding: 0 16px 16px; }.ed-controls label:first-child { grid-column: 1 / -1; }.ed-grid { grid-template-columns: minmax(0,1fr); padding: 0 16px 16px; }.ed-footer { padding: 16px; }.ed-pagination { flex-wrap: wrap; gap: 8px; } }


/* Dark neutral backing preserves the source lime mark in every theme. */
.entity-logo[data-brand="robinhood"] { background: #17212d; border-radius: 50%; padding: 4px; border: 0; }
.entity-label .entity-logo[data-brand="robinhood"], .reference-source-link .entity-logo[data-brand="robinhood"], .product-explorer .entity-logo[data-brand="robinhood"] { padding: 3px; border-radius: 50%; background: #17212d; }
.reference-product-link.asset-name { display: flex; align-items: center; gap: 11px; max-width: 320px; font-size: 12px; margin: 0; }


/* Published monochrome provider marks follow the surface contrast. */
html:not([data-theme="light"]) .entity-logo[data-monochrome="true"] img { filter: invert(1); }
.entity-logo img { max-width: 100%; max-height: 100%; object-position: center; }


.site-footer .logo-attribution { font-size: 16px; line-height: 1.5; }


/* Official wordmarks retain their proportions and source colors. */
.entity-logo.logo-provider[data-shape="wordmark"], .entity-logo.logo-network[data-shape="wordmark"] { width: 72px; min-width: 72px; height: 28px; }
.entity-logo[data-neutral-surface="true"] { background: #fff; border-radius: 3px; padding: 3px; }
.entity-logo.logo-stock[data-dark-surface="true"] { background: #13212d; border-color: #334451; }
html[data-theme="light"] .entity-logo[data-light-invert="true"] img { filter: brightness(0); }
html:not([data-theme="light"]) .entity-logo[data-dark-invert="true"] img { filter: brightness(0) invert(1); }


.entity-logo.logo-stock[data-light-invert="true"] img { filter: brightness(0); }


/* Large editorial headings share the angular italic character of the wordmark. */
.research-launcher-head h2, .research-note h3 { font-family: var(--display); font-style: italic; font-weight: 800; letter-spacing: -.025em; }

/* COMPONENT STYLES: generated by build:frontend */
.product-explorer { --explorer-accent: var(--accent, #007d41); padding: 20px 22px 15px; color: var(--ink); }
.explorer-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.explorer-eyebrow { font: 9px/1.4 var(--mono, monospace); letter-spacing: .12em; color: var(--muted); }
.explorer-header h2 { margin: 5px 0 0; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.15; letter-spacing: -.025em; }
.explorer-picker { display: flex; flex-direction: column; gap: 5px; width: min(46%, 280px); min-width: 0; }
.explorer-picker > span { font-size: 10px; color: var(--muted); }
.explorer-picker select { width: 100%; min-height: 38px; padding: 7px 24px 7px 9px; border: 1px solid var(--line); border-radius: 7px; background-color: var(--panel); color: var(--ink); font: 11px var(--sans, sans-serif); text-overflow: ellipsis; }
.explorer-picker select:focus-visible, .explorer-stock:focus-visible, .explorer-inspect:focus-visible { outline: 2px solid var(--explorer-accent); outline-offset: 4px; }
.explorer-map { display: grid; grid-template-columns: minmax(120px, .78fr) 48px minmax(0, 1.45fr); align-items: center; }
.explorer-stock { display: flex; align-items: center; flex-direction: column; min-width: 0; text-align: center; text-decoration: none; color: var(--ink); padding: 12px 8px; }
.explorer-stock-mark { width: 88px; height: 88px; display: grid; place-items: center; background: #fff; border: 3px solid var(--accent-fill); border-radius: 18px; box-shadow: 0 0 28px color-mix(in srgb, var(--shadow) 25%, transparent); transition: transform 180ms; }
.explorer-stock:hover .explorer-stock-mark { transform: translateY(-3px); }
.explorer-stock-mark .entity-logo { width: 64px; height: 64px; border: 0; background: transparent; border-radius: 12px; color: var(--accent-ink, #14210a); }
.explorer-stock-mark .entity-logo img { width: 48px; height: 48px; object-fit: contain; }
.explorer-stock-mark .logo-pending { font-size: 24px; }
.explorer-stock-ticker { margin-top: 13px; font: 700 28px/1.1 var(--sans, sans-serif); letter-spacing: -.04em; }
.explorer-stock-name { font-size: 11px; color: var(--muted); line-height: 1.4; margin-top: 4px; overflow-wrap: anywhere; }
.explorer-product-symbol { margin-top: 11px; font: 11px/1.3 var(--mono, monospace); }
.explorer-product-symbol > span { font-size: 9px; color: var(--muted); }
.explorer-family { max-width: 190px; font-size: 10px; line-height: 1.4; color: var(--muted); margin-top: 3px; }
.explorer-connectors { width: 100%; height: 240px; overflow: visible; }
.explorer-connectors path { fill: none; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.explorer-wire { stroke: var(--line); }
.explorer-flow { stroke: var(--brand-green); stroke-dasharray: 13 100; animation: explorer-flow 5s linear infinite; opacity: .85; }
.explorer-branches { display: grid; gap: 9px; }
.explorer-branch { min-height: 71px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: var(--panel); min-width: 0; }
.explorer-branch-title { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.explorer-branch-title > span { color: var(--explorer-accent); font: 9px var(--mono, monospace); }
.explorer-branch-title h3 { margin: 0; font-size: 11px; font-weight: 650; }
.explorer-branch-title small { margin-left: auto; font-size: 9px; color: var(--muted); }
.explorer-entities { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 13px; }
.explorer-entity { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-size: 11px; line-height: 1.35; }
.explorer-entity > span:last-child { overflow-wrap: anywhere; }
.explorer-entity .entity-logo { flex-shrink: 0; width: 25px; height: 25px; border-radius: 6px; }
.explorer-entity .entity-logo img { width: 18px; height: 18px; }
.explorer-entity .logo-pending { font-size: 9px; }
.explorer-unverified { font-size: 11px; color: var(--muted); padding: 4px 0; }
.explorer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 15px; }
.explorer-snapshot { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; }
.explorer-snapshot > span { height: 5px; width: 5px; border-radius: 50%; background: var(--brand-green); }
.explorer-inspect { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); font-size: 11px; font-weight: 600; text-decoration: none; }
.explorer-inspect:hover { color: var(--explorer-accent); }
.explorer-inspect > span { color: var(--explorer-accent); font-size: 16px; }
.explorer-qualification { margin: 9px 0 0; font-size: 9px; line-height: 1.5; color: var(--muted); }
.explorer-empty { color: var(--muted); font-size: 12px; }
@keyframes explorer-flow { to { stroke-dashoffset: -226; } }
@media (max-width: 560px) {
 .product-explorer { padding: 16px 13px 12px; }
 .explorer-header { align-items: flex-start; gap: 10px; }
 .explorer-header h2 { max-width: 180px; font-size: 17px; }
 .explorer-picker { width: 47%; }
 .explorer-picker select { font-size: 10px; }
 .explorer-map { grid-template-columns: minmax(85px, .6fr) 24px minmax(0, 1.4fr); }
 .explorer-stock { padding-inline: 0; }
 .explorer-stock-mark { width: 65px; height: 65px; border-radius: 13px; }
 .explorer-stock-mark .entity-logo { width: 52px; height: 52px; }
 .explorer-stock-mark .entity-logo img { width: 38px; height: 38px; }
 .explorer-stock-ticker { font-size: 24px; }
 .explorer-family { font-size: 9px; }
 .explorer-branch { padding: 9px; }
 .explorer-branch-title { flex-wrap: wrap; gap: 5px; }
 .explorer-branch-title small { display: none; }
 .explorer-entity { font-size: 10px; gap: 5px; }
 .explorer-bottom { align-items: flex-start; }
 .explorer-inspect { max-width: 52%; font-size: 10px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) { .explorer-flow { animation: none; stroke-dasharray: none; opacity: .4; } .explorer-stock-mark { transition: none; } .explorer-stock:hover .explorer-stock-mark { transform: none; } }
[data-motion="reduced"] .explorer-flow, .motion-reduced .explorer-flow { animation: none; stroke-dasharray: none; opacity: .4; }
[data-motion="reduced"] .explorer-stock-mark, .motion-reduced .explorer-stock-mark { transition: none; }

.product-explorer #reference-preview { padding: 0; }
.product-explorer .logo-provider, .product-explorer .logo-network { padding: 1px; border-radius: 0; }

.product-explorer .entity-logo[data-brand="robinhood"] { padding: 3px; border-radius: 50%; background: #17212d; }

/* Source-bounded issuer diagrams. Theme values come from the application. */
.issuer-diagram {
  container: issuer-path / inline-size;
  margin: 24px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
  overflow: hidden;
}
.issuer-diagram-heading { display: grid; gap: 10px; margin-bottom: 26px; }
.issuer-diagram-kicker { color: var(--accent); font: 10px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.issuer-diagram-kicker > span { margin: 0 7px; color: var(--muted); }
.issuer-diagram-heading > strong { max-width: 650px; font: 700 clamp(19px, 2.1vw, 27px)/1.3 var(--sans); letter-spacing: -.035em; }
.issuer-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.issuer-node { min-width: 0; position: relative; display: flex; flex-direction: column; }
.issuer-node-symbol { position: relative; width: 54px; margin-bottom: 16px; }
.issuer-node-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid color-mix(in srgb, var(--brand-green) 48%, var(--line)); border-radius: 15px; background: var(--panel); color: var(--accent); box-shadow: none; }
.issuer-node-icon svg { width: 27px; height: 27px; }
.issuer-node-number { position: absolute; z-index: 2; top: -7px; right: -9px; min-width: 22px; padding: 2px 4px; border-radius: 5px; color: var(--muted); background: var(--panel); font: 9px/1.2 var(--mono); text-align: center; }
.issuer-node-copy { display: flex; flex: 1; flex-direction: column; gap: 7px; align-items: flex-start; }
.issuer-node-role { color: var(--muted); font: 9px/1.55 var(--mono); letter-spacing: .035em; text-transform: uppercase; }
.issuer-node-title { display: block; font: 700 15px/1.3 var(--sans); letter-spacing: -.025em; }
.issuer-node-description { color: var(--muted); font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.issuer-node-brand { margin-top: 5px; }
.issuer-node-brand .entity-logo { width: 23px; height: 23px; min-width: 23px; border-radius: 6px; font-size: 9px; }
.issuer-node-brand .entity-logo img { width: 23px; height: 23px; }
.issuer-flow-link { display: flex; align-items: center; gap: 4px; padding-top: 15px; color: var(--accent); font: 9px/1.55 var(--mono); }
.issuer-flow-link > svg { width: 25px; height: 13px; flex-shrink: 0; }
.issuer-node:not(:last-child)::after { content: ''; position: absolute; top: 27px; left: 58px; width: calc(100% - 35px); border-top: 1px solid color-mix(in srgb, var(--brand-green) 45%, var(--line)); }
.issuer-node:last-child .issuer-node-icon { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); }
.issuer-node-unknown .issuer-node-icon { border-style: dashed; }
.issuer-diagram-uncertain .issuer-node:not(:last-child)::after { border-top-style: dashed; }
.issuer-diagram-uncertain .issuer-node:last-child .issuer-node-icon { background: var(--panel); color: var(--accent); border-style: dashed; }
.issuer-diagram-conditional .issuer-node:nth-child(3) .issuer-node-icon { border-width: 2px; box-shadow: 0 0 0 5px var(--raised); }
.issuer-entitlement { display: flex; align-items: flex-start; gap: 10px; margin-top: 23px; padding: 13px 15px; border-left: 3px solid var(--brand-green); border-radius: 0 8px 8px 0; background: var(--raised); }
.issuer-entitlement > svg { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 1px; color: var(--accent); }
.issuer-diagram .issuer-entitlement p { margin: 0; color: var(--ink); font: 600 12px/1.65 var(--sans); }
.issuer-diagram .issuer-diagram-scope { margin: 11px 0 0; color: var(--muted); font: 11px/1.7 var(--sans); }
.issuer-explanation { margin-top: 18px; border-top: 1px solid var(--line); }
.issuer-explanation > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 47px; padding: 13px 0 3px; color: var(--accent); font: 600 12px/1.5 var(--sans); cursor: pointer; list-style: none; }
.issuer-explanation > summary::-webkit-details-marker { display: none; }
.issuer-explanation > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.issuer-details-plus { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 50%; font: 18px/1 var(--sans); transition: transform 180ms ease; flex-shrink: 0; }
.issuer-explanation[open] .issuer-details-plus { transform: rotate(45deg); }
.issuer-detail-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 26px; margin: 20px 0; }
.issuer-detail-stages dt, .issuer-detail-terms dt { color: var(--ink); font: 600 12px/1.6 var(--sans); }
.issuer-detail-stages dd, .issuer-detail-terms dd { margin: 6px 0 0; color: var(--muted); font: 12px/1.8 var(--sans); }
.issuer-detail-terms { display: grid; gap: 14px; border-top: 1px dashed var(--line); margin: 20px 0 0; padding-top: 17px; }
.issuer-detail-terms > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 15px; }
.issuer-detail-terms dd { margin-top: 0; }
.issuer-diagram-compact { padding: 20px; }
.issuer-diagram-compact .issuer-diagram-heading > strong { font-size: 21px; }
@container issuer-path (max-width: 620px) {
  .issuer-flow { grid-template-columns: 1fr; gap: 18px; }
  .issuer-node { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 17px; }
  .issuer-node-symbol { grid-column: 1; grid-row: 1 / 3; margin-bottom: 0; }
  .issuer-node-copy { grid-column: 2; gap: 5px; padding-top: 1px; }
  .issuer-node-title { font-size: 15px; }
  .issuer-node-description { font-size: 12px; }
  .issuer-node-brand { position: absolute; top: 36px; left: 37px; z-index: 3; margin: 0; }
  .issuer-node-brand .entity-logo { border: 1px solid var(--line); box-shadow: 0 0 0 2px var(--panel); }
  .issuer-flow-link { grid-column: 2; padding-top: 9px; }
  .issuer-flow-link > svg { transform: rotate(90deg); width: 18px; height: 13px; }
  .issuer-node:not(:last-child)::after { top: 60px; left: 26px; bottom: -12px; width: 0; border-top: 0; border-left: 1px solid color-mix(in srgb, var(--brand-green) 45%, var(--line)); }
  .issuer-diagram-uncertain .issuer-node:not(:last-child)::after { border-left-style: dashed; }
  .issuer-detail-stages { grid-template-columns: 1fr; gap: 17px; }
}
@container issuer-path (max-width: 340px) {
  .issuer-diagram-heading > strong { font-size: 20px; }
  .issuer-node { column-gap: 14px; }
  .issuer-detail-terms > div { grid-template-columns: 1fr; gap: 3px; }
}
/* Vertical fallback also keeps the flow readable in browsers without container queries. */
@supports not (container-type: inline-size) {
  .issuer-flow { grid-template-columns: 1fr; gap: 20px; }
  .issuer-node { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 18px; }
  .issuer-node-symbol { grid-row: 1 / 3; }
  .issuer-node:not(:last-child)::after { display: none; }
  .issuer-flow-link { grid-column: 2; }
  .issuer-detail-stages { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .issuer-details-plus { transition: none; }
}
html[data-motion="reduced"] .issuer-details-plus,
html[data-motion="off"] .issuer-details-plus,
html[data-motion="paused"] .issuer-details-plus { transition: none; }

/* Keep vector images within the padded logo container at every density. */
.issuer-node-brand .entity-logo img { width: 100%; height: 100%; min-width: 0; object-fit: contain; }

/* Product research page. Theme colors follow the shared green identity. */
.product-detail { --detail-accent: var(--accent); display: grid; gap: 26px; max-width: 1400px; margin-inline: auto; padding-bottom: 24px; font: 15px/1.65 var(--sans); }
.product-detail *, .product-detail *::before, .product-detail *::after { box-sizing: border-box; }
.product-detail h1, .product-detail h2, .product-detail h3, .product-detail p { margin: 0; }
.product-detail h2 { color: var(--ink); font: 700 clamp(21px, 2vw, 26px)/1.25 var(--sans); letter-spacing: -.035em; }
.product-detail h3 { font: 650 16px/1.4 var(--sans); letter-spacing: -.015em; }
.product-detail p { color: var(--muted); line-height: 1.8; }
.pd-muted { color: var(--muted); }
.pd-mono { font-family: var(--mono); overflow-wrap: anywhere; }
.pd-kicker { display: block; margin-bottom: 9px; color: var(--detail-accent); font: 10px/1.6 var(--mono); letter-spacing: .1em; }
.pd-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.pd-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.pd-breadcrumb a:hover { color: var(--detail-accent); text-decoration: underline; }
.pd-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 27px; padding: 10px 0 5px; }
.pd-hero-main { display: flex; align-items: center; gap: 25px; min-width: 0; }
.pd-stock-logo { flex-shrink: 0; }
.pd-stock-logo .entity-logo { width: 90px; height: 90px; min-width: 90px; border-radius: 22px; }
.pd-stock-logo .entity-logo img { width: 64px; height: 64px; }
.pd-hero-copy { min-width: 0; }
.product-detail .pd-hero h1 { font: italic 800 clamp(38px, 5vw, 62px)/1.08 var(--display); letter-spacing: -.025em; overflow-wrap: anywhere; }
.product-detail .pd-hero-underlying { margin-top: 10px; font-size: 21px; color: var(--ink); line-height: 1.4; }
.pd-hero-underlying > span { margin-left: 10px; color: var(--muted); font: 12px var(--mono); }
.pd-hero-status { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 12px; }
.pd-tag { display: inline-flex; align-items: center; justify-content: center; gap: 7px; max-width: 100%; padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: var(--raised); font: 11px/1.5 var(--sans); overflow-wrap: anywhere; }
.pd-tag svg { width: 14px; height: 14px; flex-shrink: 0; }
.pd-tag-green { color: var(--detail-accent); border-color: color-mix(in srgb, var(--brand-green) 35%, var(--line)); background: var(--raised); }
.pd-tag-warn { color: var(--warn); }
.pd-hero-date { color: var(--muted); font-size: 11px; }
.pd-identity-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.pd-identity-label { font-size: 12px; color: var(--muted); }
.pd-identity, .pd-network { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; overflow-wrap: anywhere; }
.pd-network { padding: 6px 11px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line); }
.pd-identity .entity-logo, .pd-network .entity-logo { width: 25px; height: 25px; min-width: 25px; }
.pd-identity .entity-logo img, .pd-network .entity-logo img { width: 25px; height: 25px; }
.pd-identity-separator { height: 24px; width: 1px; background: var(--line); }
.product-detail .pd-classification-reason { grid-column: 1 / -1; max-width: 850px; font-size: 13px; }
.pd-reference-note { display: flex; align-items: flex-start; gap: 13px; padding: 18px 21px; border: 1px dashed var(--line); border-radius: 12px; background: var(--bg); }
.pd-reference-note > svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--detail-accent); }
.pd-reference-note p { max-width: 1000px; font-size: 12px; }
.pd-card { min-width: 0; padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.pd-overview-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.pd-section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 25px; }
.pd-section-symbol > svg { width: 29px; height: 29px; color: var(--detail-accent); }
.pd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 30px; margin: 0; }
.pd-facts > div { min-width: 0; }
.pd-facts dt, .pd-contract-facts dt, .pd-quote-dates dt { margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.pd-facts dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.pd-fact-extra { display: block; color: var(--muted); font-size: 12px; }
.pd-sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 23px 0 0; }
.pd-sources li { min-width: 0; }
.pd-sources a { display: flex; align-items: center; gap: 10px; height: 100%; min-height: 54px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--raised); transition: border-color 150ms; }
.pd-sources a:hover { border-color: var(--detail-accent); }
.pd-sources a > span:not(.entity-logo):not(.pd-outbound) { min-width: 0; }
.pd-sources strong { display: block; color: var(--ink); font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.pd-sources small { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.pd-sources .entity-logo, .pd-sources .entity-logo img { width: 24px; height: 24px; min-width: 24px; }
.pd-sources-compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.pd-outbound { margin-left: auto; padding-left: 6px; color: var(--detail-accent); flex-shrink: 0; }
.pd-source-empty { margin-top: 15px !important; font-size: 12px; }
.pd-price { background: var(--panel); }
.pd-price-empty { display: flex; align-items: center; gap: 23px; }
.pd-empty-icon { display: grid; place-items: center; width: 65px; height: 65px; border: 1px dashed var(--line); border-radius: 16px; flex-shrink: 0; color: var(--detail-accent); }
.pd-empty-icon svg { width: 32px; height: 32px; }
.pd-price-empty h2 { max-width: 290px; font-size: 24px; }
.pd-price-empty p { max-width: 340px; margin-top: 13px; font-size: 13px; }
.pd-price-footnote { display: block; margin-top: 16px; color: var(--muted); font-size: 11px; }
.pd-price .pd-section-heading { flex-wrap: wrap; }
.pd-quote-grid { display: grid; gap: 23px; }
.pd-quote-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pd-quote-caption h3 { font-size: 14px; }
.pd-bid-ask { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 15px 0 0; }
.pd-bid-ask dt { color: var(--muted); font-size: 11px; margin-bottom: 6px; }
.pd-bid-ask dd { margin: 0; color: var(--ink); font: 650 clamp(19px, 2vw, 26px)/1.35 var(--sans); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pd-quote-multiplier, .pd-quote-basis { font-size: 12px; }
.product-detail .pd-quote-disclaimer { padding-top: 19px; margin-top: 22px; border-top: 1px solid var(--line); font-size: 12px; }
.product-detail .pd-quote-basis { margin-top: 10px; }
.pd-quote-dates { display: grid; gap: 12px; margin: 19px 0 0; }
.pd-quote-dates > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 18px; }
.pd-quote-dates dt { margin: 0; }
.pd-quote-dates dd { margin: 0; color: var(--muted); font: 10px/1.6 var(--mono); overflow-wrap: anywhere; }
.pd-display-price { margin-top: 17px !important; color: var(--ink) !important; font: 700 35px/1.3 var(--sans); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pd-underlying-reference { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 15px; color: var(--muted); font-size: 12px; }
.pd-underlying-reference strong { font-weight: 500; }
.pd-section-intro { max-width: 780px; font-size: 13px; margin-top: -10px !important; margin-bottom: 23px !important; }
.pd-contract-list { display: grid; gap: 18px; }
.pd-contract { min-width: 0; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.pd-contract-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.pd-contract-top h3 { display: flex; align-items: center; gap: 11px; }
.pd-contract-top .entity-logo, .pd-contract-top .entity-logo img { width: 28px; height: 28px; min-width: 28px; }
.pd-address { margin: 23px 0; }
.pd-address > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.pd-address code { display: block; color: var(--ink); font: 500 clamp(14px, 1.5vw, 19px)/1.75 var(--mono); letter-spacing: .01em; overflow-wrap: anywhere; user-select: all; }
.pd-contract-facts { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.pd-contract-facts dd { margin: 0; color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.pd-small-note { max-width: 850px; margin-top: 20px !important; font-size: 12px; }
.pd-inline-empty { display: flex; align-items: flex-start; gap: 15px; padding: 19px 21px; border-radius: 10px; background: var(--raised); }
.pd-inline-empty > svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; color: var(--muted); }
.pd-inline-empty > p { max-width: 770px; font-size: 13px; }
.pd-family-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--detail-accent); font-size: 12px; text-align: right; }
.pd-family-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.pd-rights .issuer-diagram { margin: 0; padding: 27px; }
.pd-rights .issuer-node-description { font-size: 12px; }
.pd-rights .issuer-node-role, .pd-rights .issuer-flow-link { font-size: 10px; }
.pd-rights .issuer-diagram-scope { font-size: 12px; }
.pd-rights .issuer-entitlement p { font-size: 13px; }
.pd-scope-warning { padding: 15px 18px; margin-bottom: 20px !important; border-left: 3px solid var(--warn); border-radius: 5px; background: var(--raised); font-size: 13px; }
.pd-topic-heading { margin-top: 33px; margin-bottom: 20px; }
.pd-topic-heading p { margin-top: 6px; font-size: 12px; }
.pd-topics { border-top: 1px solid var(--line); }
.pd-topic { border-bottom: 1px solid var(--line); }
.pd-topic > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 67px; padding: 18px 2px; color: var(--ink); font: 600 14px/1.6 var(--sans); list-style: none; cursor: pointer; }
.pd-topic > summary::-webkit-details-marker { display: none; }
.pd-topic > summary:hover { color: var(--detail-accent); }
.pd-topic-plus { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; color: var(--detail-accent); font: 20px/1 var(--sans); transition: transform 160ms; }
.pd-topic[open] .pd-topic-plus { transform: rotate(45deg); }
.pd-topic-body { padding: 0 2px 25px; }
.pd-topic-body > p { max-width: 900px; margin-bottom: 13px; font-size: 14px; line-height: 1.85; }
.pd-topic-body .pd-sources { max-width: 850px; margin-top: 20px; }
.pd-comparison-list { display: grid; gap: 10px; }
.pd-comparison { display: flex; align-items: center; gap: 15px; padding: 17px 20px; background: var(--raised); border: 1px solid var(--line); border-radius: 10px; }
.pd-comparison:hover { border-color: var(--detail-accent); }
.pd-comparison > span:not(.entity-logo) { min-width: 0; }
.pd-comparison strong { display: block; font-size: 15px; }
.pd-comparison small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.pd-comparison-network { color: var(--muted); font-size: 12px; margin-left: auto; }
.pd-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 0 4px; color: var(--muted); font-size: 11px; }
.pd-footer > span { display: inline-flex; align-items: center; gap: 9px; }
.pd-footer svg { width: 17px; height: 17px; }
.pd-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--detail-accent); }
@media (max-width: 1150px) {
  .pd-overview-grid { grid-template-columns: 1fr; }
  .pd-price-empty { align-items: flex-start; }
  .pd-price-empty h2, .pd-price-empty p { max-width: none; }
}
@media (max-width: 650px) {
  .product-detail { gap: 21px; }
  .pd-hero { grid-template-columns: 1fr; gap: 21px; }
  .pd-hero-main { gap: 17px; }
  .pd-stock-logo .entity-logo { width: 70px; height: 70px; min-width: 70px; border-radius: 17px; }
  .pd-stock-logo .entity-logo img { width: 48px; height: 48px; }
  .pd-hero-status { align-items: flex-start; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; }
  .pd-hero-date { align-self: center; }
  .pd-identity-row { gap: 11px; }
  .pd-identity-separator { display: none; }
  .pd-identity-label { flex-basis: 100%; }
  .pd-identity { flex-basis: 100%; }
  .pd-card { padding: 23px 20px; border-radius: 14px; }
  .pd-facts { gap: 22px 20px; }
  .pd-section-heading { flex-wrap: wrap; margin-bottom: 23px; }
  .pd-reference-note { padding: 16px; }
  .pd-price-empty { gap: 15px; }
  .pd-empty-icon { width: 45px; height: 45px; border-radius: 11px; }
  .pd-empty-icon svg { width: 24px; height: 24px; }
  .pd-price-empty h2 { font-size: 21px; }
  .pd-contract { padding: 19px 16px; }
  .pd-contract-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .pd-contract-facts > div:first-child { grid-column: 1 / -1; }
  .pd-rights .issuer-diagram { padding: 20px 16px; }
  .pd-family-link { text-align: left; }
  .pd-comparison { flex-wrap: wrap; gap: 10px; padding: 15px; }
  .pd-comparison-network { flex-basis: 100%; order: 2; margin-left: 42px; }
  .pd-sources { grid-template-columns: 1fr; }
  .pd-sources-compact { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .pd-facts { grid-template-columns: 1fr; }
  .pd-stock-logo .entity-logo { width: 56px; height: 56px; min-width: 56px; }
  .pd-price-empty { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .pd-topic-plus, .pd-sources a { transition: none; } }
html[data-motion="reduced"] .pd-topic-plus, html[data-motion="off"] .pd-topic-plus, html[data-motion="paused"] .pd-topic-plus { transition: none; }

/* Keep vector images within the padded logo container at every density. */
.pd-sources .entity-logo img, .pd-contract-top .entity-logo img, .pd-comparison .entity-logo img, .pd-identity .entity-logo img, .pd-network .entity-logo img { width: 100%; height: 100%; min-width: 0; object-fit: contain; }

/* Asset research inherits the neutral themes and supplied brand tokens. */
.asset-markets { display: grid; gap: 22px; min-width: 0; }
.am-filters, .am-history-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.am-filters { padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.am-filters label, .am-history-controls label { display: grid; gap: 7px; flex: 1 1 155px; min-width: 0; color: var(--muted); font-size: 12px; }
.am-filters select, .am-history-controls select { width: 100%; min-height: 44px; max-width: 100%; padding: 9px 32px 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); color: var(--ink); }
.am-series-control { flex-basis: 400px !important; }
.am-result-count { color: var(--muted); font: 12px var(--mono); margin-top: -12px; }
.am-table { min-width: 1040px; }
.am-market-table { min-width: 1440px; }
.am-table td { vertical-align: top; max-width: 270px; }
.am-table .numeric { min-width: 155px; }
.am-table .am-value { display: block; font: 600 15px var(--mono); white-space: nowrap; }
.am-provenance, .am-timestamp { display: block; color: var(--muted); font-size: 11px; line-height: 1.6; margin-top: 5px; white-space: normal; }
.am-provenance .entity-label { justify-content: inherit; }
.am-timestamp { color: var(--subtle); font-size: 10px; }
.am-stale { color: var(--warn) !important; }
.am-info { display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 0 8px; font-size: 10px; margin-top: 5px; min-height: 44px; white-space: nowrap; }
.am-pair, .am-product { display: block; margin-top: 6px; font-size: 13px; }
.am-contract { display: block; max-width: 220px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; white-space: normal; margin-top: 8px; }
.am-coverage { display: flex; flex-wrap: wrap; gap: 12px 30px; padding: 12px 22px; background: var(--raised); border-block: 1px solid var(--line); color: var(--muted); font: 11px/1.7 var(--mono); }
.am-missing { color: var(--subtle); }
.am-metadata summary, .am-pool summary, .am-history-data summary { cursor: pointer; color: var(--accent); font-size: 12px; min-height: 44px; padding-block: 11px; }
.am-metadata dl, .am-pool dl { display: grid; gap: 12px; margin: 10px 0; font-size: 12px; }
.am-metadata dt, .am-pool dt { color: var(--muted); }
.am-metadata dd, .am-pool dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.am-pool { margin-top: 10px; border-top: 1px solid var(--line); }
.am-action { white-space: nowrap; font-size: 12px; padding-inline: 12px; min-height: 44px; }
.am-history-controls { padding: 0 22px 20px; }
.am-chart { margin: 0 22px; overflow-x: auto; }
.am-chart svg { display: block; width: 100%; min-width: 480px; height: auto; }
.am-grid { stroke: var(--line); stroke-width: 1; }
.am-axis { fill: var(--muted); font: 10px var(--mono); }
.am-line { stroke: var(--brand-green); stroke-width: 2; fill: none; }
.am-point { fill: var(--brand-green); stroke: var(--panel); stroke-width: 1; }
.am-point-stale { fill: var(--warn); }
.am-history-note, .am-history-empty { color: var(--muted); font-size: 12px; line-height: 1.8; padding: 20px 22px; }
.am-history-data { border-top: 1px solid var(--line); }
.am-history-data > summary { padding-inline: 22px; }
@media (max-width: 600px) {
  .am-filters { padding: 12px; }
  .am-filters label { flex-basis: calc(50% - 12px); }
  .am-history-controls { padding-inline: 14px; }
  .am-history-controls label { flex-basis: calc(50% - 12px); }
  .am-series-control { flex-basis: 100% !important; }
  .am-chart { margin-inline: 14px; }
  .am-coverage { padding-inline: 14px; }
  .am-history-note, .am-history-empty { padding-inline: 14px; }
}

.equity-panel .equity-empty,.equity-panel .equity-note{padding:0 24px;color:var(--muted);font-size:13px;line-height:1.6}
.equity-panel .equity-empty{padding-top:8px}
.equity-panel>.equity-note{padding-bottom:18px}
.equity-quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;padding:0 24px 16px}
.equity-quote h3{font-size:16px;font-weight:500;margin:0 0 10px}
.equity-quote h3 span{font-size:12px;color:var(--muted);margin-left:8px}
.equity-quote .equity-price{font-size:25px;font-variant-numeric:tabular-nums;margin:0 0 8px;overflow-wrap:anywhere}
.equity-quote .equity-note{padding:0;margin:0 0 12px}
.equity-quote dl{font-size:12px;line-height:1.6;margin:0}
.equity-quote dl div{display:flex;justify-content:space-between;gap:12px;padding:4px 0}
.equity-quote dt{color:var(--muted)}
.equity-quote dd{margin:0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.equity-history{padding:20px 24px;border-top:1px solid var(--line)}
.equity-history h3{font-size:14px;font-weight:500;margin:0 0 16px}
.equity-chart{margin:0 0 20px}
.equity-chart svg{display:block;width:100%;height:auto;overflow:visible}
.equity-line{stroke:var(--accent,#00BC62);stroke-width:2;vector-effect:non-scaling-stroke}
.equity-axis{stroke:var(--line);stroke-width:1}
.equity-chart text{fill:var(--muted);font-size:12px;font-family:inherit}
.equity-chart figcaption,.equity-history summary{font-size:12px;color:var(--muted);line-height:1.6}
.equity-history summary{cursor:pointer;margin-bottom:12px}
@media(max-width:600px){.equity-quotes{grid-template-columns:1fr;padding:0 16px 16px}.equity-history{padding:16px}.equity-panel>.equity-note,.equity-panel>.equity-empty{padding-left:16px;padding-right:16px}.equity-quote dl div{display:block}.equity-quote dd{text-align:left}.equity-chart text{font-size:16px}}

.vt-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; padding: 0 22px 14px; }
.vt-controls label { display: grid; gap: 6px; flex: 1 1 260px; min-width: 0; color: var(--muted); font-size: 12px; }
.vt-controls select { max-width: 100%; min-height: 44px; padding: 9px 12px; background: var(--raised); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; }
.vt-status, .vt-coverage, .vt-empty, .vt-footnote { padding: 14px 22px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.vt-status:empty { display: none; }
.vt-coverage { background: var(--raised); border-block: 1px solid var(--line); }
.vt-table { min-width: 1150px; }
.vt-table time { white-space: nowrap; font-size: 11px; }
.vt-note { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 5px; }
.vt-unit { color: var(--muted); font-size: 10px; }
.vt-pagination { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; padding: 18px; border-top: 1px solid var(--line); }
.vt-pagination span { color: var(--muted); font-size: 12px; }
@media(max-width:600px) { .vt-controls, .vt-status, .vt-coverage, .vt-empty, .vt-footnote { padding-inline: 14px; } }

.market-dashboard { display: grid; gap: 20px; color: var(--ink); font: 14px/1.6 var(--sans); min-width: 0; margin-block: 24px; }
.market-dashboard *, .market-dashboard *::before, .market-dashboard *::after { box-sizing: border-box; }
.market-dashboard h2, .market-dashboard h3, .market-dashboard p { margin: 0; }
.market-dashboard h2 { font-size: clamp(23px, 3vw, 32px); letter-spacing: -.035em; }
.market-dashboard h3 { font-size: 17px; letter-spacing: -.015em; }
.md-heading { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.md-kicker { color: var(--accent, #00BC62); font: 10px/1.7 var(--mono); letter-spacing: .12em; }
.md-asof, .md-note { color: var(--muted); font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.md-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.md-stat, .md-panel { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 22px; min-width: 0; }
.md-stat h3 { color: var(--muted); font-size: 12px; font-weight: 500; }
.md-stat > strong { display: block; font: 650 clamp(26px, 3vw, 36px)/1.5 var(--sans); letter-spacing: -.035em; }
.md-classification { display: block; color: var(--muted); font-size: 11px; }
.md-evidence { margin-top: 12px; font-size: 11px; color: var(--muted); }
.market-dashboard summary { cursor: pointer; padding-block: 8px; }
.md-evidence ul { padding-left: 16px; max-height: 240px; overflow-y: auto; }
.md-evidence li { margin-block: 10px; overflow-wrap: anywhere; }
.md-counts { display: flex; gap: 12px 26px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.md-counts strong { color: var(--ink); margin-right: 4px; }
.md-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.md-panel > *, .md-history-table, .md-table-wrap { min-width: 0; }
.market-dashboard label { display: flex; gap: 6px; flex-direction: column; font-size: 11px; color: var(--muted); min-width: 0; }
.market-dashboard input, .market-dashboard select { color: var(--ink); background: var(--raised); border: 1px solid var(--line); border-radius: 7px; font: 12px var(--sans); min-height: 40px; padding: 9px 11px; max-width: 100%; }
.market-dashboard input:focus-visible, .market-dashboard select:focus-visible, .market-dashboard summary:focus-visible { outline: 2px solid var(--accent, #00BC62); outline-offset: 3px; }
.md-heading label { flex-direction: row; align-items: center; gap: 10px; }
.md-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; }
.md-filters .md-checkbox { flex-direction: row; gap: 8px; align-items: center; min-height: 40px; }
.md-checkbox input { accent-color: var(--accent, #00BC62); min-height: auto; width: 16px; height: 16px; }
.market-dashboard [hidden] { display: none !important; }
.md-chart-wrap { width: 100%; min-width: 0; overflow-x: auto; }
.md-chart { display: block; width: 100%; min-width: 400px; height: auto; }
.md-grid { stroke: var(--line); stroke-width: 1; }
.md-axis { fill: var(--muted); font: 11px var(--mono); }
.md-line { fill: none; stroke: var(--accent, #00BC62); stroke-width: 2.5; stroke-linejoin: round; }
.md-point { fill: var(--accent, #00BC62); stroke: var(--panel); stroke-width: 1; }
.md-empty { padding: 25px 12px; color: var(--muted); text-align: center; font-size: 13px; }
.md-history-table { color: var(--muted); font-size: 12px; }
.md-table-wrap { width: 100%; overflow-x: auto; }
.market-dashboard table { width: 100%; border-collapse: collapse; font-size: 12px; }
.market-dashboard th, .market-dashboard td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.market-dashboard thead th { color: var(--muted); font-size: 11px; font-weight: 500; }
.market-dashboard tbody th { font-weight: 600; max-width: 290px; white-space: normal; }
.market-dashboard small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; }
.market-dashboard tbody a { text-underline-offset: 4px; }
.market-dashboard tbody a:hover { color: var(--accent, #00BC62); text-decoration: underline; }
.md-rank { color: var(--muted); font-family: var(--mono); }
.md-pagination { display: flex; gap: 14px; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.md-pagination > div { display: flex; gap: 8px; }
.market-dashboard button:disabled { opacity: .45; cursor: default; }
@media (max-width: 850px) { .md-cards { grid-template-columns: 1fr; }.md-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }.md-stat { padding: 18px; } }
@media (max-width: 480px) { .md-panel { padding: 16px; }.md-filters { grid-template-columns: 1fr; }.md-heading label { width: 100%; justify-content: space-between; }.md-pagination { flex-wrap: wrap; } }

.lx-filters{display:flex;flex-wrap:wrap;gap:14px;padding:18px 24px;border-bottom:1px solid var(--line);align-items:end}.lx-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted);min-width:125px}.lx-filters .lx-search{flex:1;min-width:230px}.lx-filters input,.lx-filters select{min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--raised);color:var(--ink);font:inherit}.lx-filters input[type=number]{width:155px}.lx-filters .lx-checkbox{flex-direction:row;align-items:center;min-height:40px}.lx-checkbox input{min-height:auto}.lx-table td{vertical-align:top}.lx-provenance{display:block;max-width:240px;font-size:10px;line-height:1.5;color:var(--muted);margin-top:5px;font-weight:400}.lx-yield-details{text-align:left;min-width:180px;max-width:290px;font-size:11px;line-height:1.5;margin-top:8px}.lx-yield-details summary{cursor:pointer;color:var(--accent)}.lx-yield-details dl{margin:10px 0}.lx-yield-details dl>div{display:flex;justify-content:space-between;gap:15px}.lx-yield-details dd{margin:0}.lx-yield-details p{white-space:normal;margin:8px 0}.lx-risk{font-size:10px;border:1px solid var(--line);border-radius:3px;padding:4px 6px;display:inline-block}.liquidity-explorer>.section-note{padding:16px 24px;line-height:1.6}@media(max-width:600px){.lx-filters{padding:15px;gap:12px}.lx-filters label{flex:1;min-width:140px}.lx-filters .lx-search{min-width:100%}.lx-filters input[type=number]{width:100%}.lx-filters .lx-checkbox{min-width:100%}.liquidity-explorer>.section-note{padding:15px}}

.pool-yield-history { margin-top: 12px; text-align: left; max-width: 800px; }
.pool-yield-history > summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: var(--accent); font-size: 12px; }
.pyh-note, .pyh-empty { display: block; color: var(--muted); font-size: 11px; line-height: 1.7; white-space: normal; margin-block: 8px; }
.pyh-series h4 { margin: 15px 0 5px; font-size: 12px; }
.pyh-chart { overflow-x: auto; }
.pyh-chart svg { display: block; width: 100%; min-width: 500px; }
.pyh-axis { fill: var(--muted); font: 10px var(--mono); }
.pyh-grid { stroke: var(--line); stroke-width: 1; }
.pyh-point { fill: var(--brand-green); }
.pyh-table { min-width: 700px; }
.pyh-table small { display: block; font-size: 10px; color: var(--muted); }

.admin-view{max-width:1280px;margin:0 auto}.admin-view button,.admin-view input,.admin-view select,.admin-view textarea{font:inherit}.admin-view button{min-height:40px;padding:8px 14px;border:1px solid var(--border,#515151);border-radius:5px;background:var(--panel-bg,transparent);color:inherit;cursor:pointer}.admin-view button:disabled{opacity:.55;cursor:default}.admin-view button:focus-visible,.admin-view input:focus-visible,.admin-view select:focus-visible,.admin-view textarea:focus-visible{outline:2px solid #00bc62;outline-offset:3px}.admin-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--border,#515151);padding-bottom:12px}.admin-tabs button[aria-current=page]{border-color:#00bc62}.admin-view [data-admin-status]{min-height:1.5em;margin:16px 0}.admin-view label{display:flex;flex-direction:column;gap:7px}.admin-view input,.admin-view select,.admin-view textarea{width:100%;min-height:40px;box-sizing:border-box;border:1px solid var(--border,#515151);border-radius:4px;background:var(--surface,var(--bg,#181818));color:inherit;padding:9px 11px}.admin-view textarea{min-height:92px;resize:vertical}.admin-login{max-width:600px;padding:24px}.admin-login form,.admin-editor form{display:grid;gap:18px}.admin-login form button{justify-self:start}.admin-tools{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin:18px 0}.admin-tools form{display:flex;gap:12px;align-items:end}.admin-tools label{min-width:180px}.admin-note{line-height:1.6;max-width:920px}.admin-view th,.admin-view td{text-align:left;vertical-align:top}.admin-view small{display:block;margin-top:6px;overflow-wrap:anywhere;opacity:.75}.admin-view td,.admin-view th{overflow-wrap:anywhere}.admin-pager,.admin-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.admin-pager span{margin-right:auto}.admin-editor{padding:24px;margin-top:24px;max-width:720px}.admin-source-list{display:grid;gap:16px}.admin-source-list article{padding:20px}.admin-source-list dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-source-list dt{font-size:.85em;opacity:.7}.admin-source-list dd{margin:5px 0;overflow-wrap:anywhere}.admin-view pre{max-width:500px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85em}.admin-view summary{cursor:pointer;margin:10px 0}.admin-view .table-scroll{overflow-x:auto}.admin-view table{width:100%;min-width:540px}.admin-view .page-top>button{align-self:start}@media(max-width:640px){.admin-tools,.admin-tools form{display:grid;width:100%}.admin-source-list dl{grid-template-columns:1fr}.admin-login,.admin-editor{padding:16px}.admin-view .page-top{flex-wrap:wrap;gap:16px}}

.referral-admin { display:grid; gap:1.25rem; }
.referral-admin > p { margin:0; }
.referral-admin-panel { padding:1.25rem; min-width:0; }
.referral-admin-panel h3 { margin:0 0 1rem; }
.referral-admin-panel p { color:var(--text-muted,var(--muted)); font-size:.88rem; line-height:1.6; }
.referral-admin-form { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:1rem; margin:1rem 0 1.5rem; align-items:end; }
.referral-admin-form label { display:grid; gap:.4rem; font-size:.8rem; }
.referral-admin-form input,.referral-admin-form select { width:100%; min-width:0; min-height:42px; padding:.6rem .7rem; color:inherit; border:1px solid var(--border); border-radius:5px; background:var(--surface,var(--bg)); font:inherit; }
.referral-form-actions { display:flex; flex-wrap:wrap; gap:.5rem; }
.referral-admin .data-table td { max-width:360px; overflow-wrap:anywhere; white-space:normal; vertical-align:top; }
.referral-admin .data-table { min-width:650px; }
.referral-report-summary { display:flex; flex-wrap:wrap; gap:.75rem; margin:1rem 0; }
.referral-report-summary span { border:1px solid var(--border); border-radius:5px; padding:.5rem .7rem; font-variant-numeric:tabular-nums; }
.referral-pagination { display:flex; align-items:center; gap:1rem; justify-content:flex-end; margin-top:1rem; font-size:.8rem; }
.referral-admin button:disabled { opacity:.55; cursor:default; }
.referral-admin [data-referral-status]:empty { display:none; }
