
  /* CSS CUSTOM PROPERTIES */
  :root {
    --bg-body: #f8fafc;
    --bg-sidebar: #f8fafc;
    --bg-card: #fff;
    --bg-chart: #fafbfc;
    --bg-elevated: #fff;
    --border: #edf0f3;
    --border-light: #f4f6f8;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-on-dark: #fff;
    --accent: #2b5797;
    --accent-hover: #1e3f6f;
    --accent-light: #f0f6ff;
    --node-parent: #1a2e4a;
    --node-sub: #2b5797;
    --node-jv: #8b6914;
    --node-assoc: #566270;
    --node-ext: #d4d8de;
    --success: #1a7a4c;
  }

  [data-theme="dark"] {
    --bg-body: #0f1117;
    --bg-sidebar: #181b23;
    --bg-card: #1e2330;
    --bg-chart: #141720;
    --bg-elevated: #252a36;
    --border: #2a2f3a;
    --border-light: #232830;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-light: #1a2540;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary); background: var(--bg-body); line-height: 1.5; height: 100vh; overflow: hidden;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  }

  /* TOP BAR */
  .topbar {
    height: 44px; background: var(--bg-elevated); color: var(--text-primary); display: flex; align-items: center;
    justify-content: space-between; padding: 0 16px; flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    position: relative; z-index: 200;
    border-bottom: 1px solid var(--border);
  }
  .topbar-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .topbar-right { display: flex; align-items: center; gap: 4px; min-width: 0; }
  .topbar-icon { color: var(--text-muted); }
  .topbar-title { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); letter-spacing: -0.01em; }
  .topbar-sep { width: 1px; height: 16px; background: var(--border); flex-shrink: 0; }
  .topbar-company { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(36vw, 360px); }

  /* APP 3-COL */
  .app { display: flex; height: calc(100vh - 44px); }

  /* COL 1: SIDEBAR */
  .sidebar {
    width: 220px; min-width: 220px; background: var(--bg-sidebar); color: #334155;
    display: flex; flex-direction: column; overflow: hidden;
    border-right: 1px solid var(--border); position: relative;
    transition: width 0.2s ease, min-width 0.2s ease;
  }
  .sidebar.collapsed { width: 36px; min-width: 36px; }
  .sidebar.collapsed .sidebar-inner { display: none; }
  .sidebar-inner { display: flex; flex-direction: column; flex: 1; overflow: hidden; min-width: 0; }
  .sidebar-toggle {
    width: 28px; display: flex; align-items: center; justify-content: center;
    background: none; border: none; border-bottom: 2px solid transparent;
    cursor: pointer; color: var(--text-muted); transition: color 0.12s; flex-shrink: 0;
  }
  .sidebar-toggle:hover { color: var(--text-secondary); }
  .sidebar.collapsed .sidebar-tabs { flex-direction: column; border-bottom: none; }
  .sidebar.collapsed .sidebar-tab { display: none; }
  .sidebar.collapsed .sidebar-toggle { width: 100%; padding: 10px 0; border-bottom: none; }
  .sidebar.collapsed .sidebar-toggle svg { transform: rotate(180deg); }
  .sidebar-tabs { display: flex; flex-shrink: 0; border-bottom: 1px solid var(--border); }
  .sidebar-tab {
    flex: 1; padding: 9px 8px; background: none; border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.72rem; font-weight: 600; color: var(--text-muted); cursor: pointer;
    text-align: center; transition: color 0.12s;
  }
  .sidebar-tab:hover { color: var(--text-secondary); }
  .sidebar-tab.active { color: var(--text-primary); border-bottom-color: var(--accent); }
  .sidebar-tab-panel { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
  .sidebar-tab-panel[hidden] { display: none; }
  .sidebar-badge {
    font-size: 0.6rem; font-weight: 700; background: #e8ecf1; color: var(--text-secondary);
    padding: 1px 6px; border-radius: 10px; margin-left: 4px;
  }
  [data-theme="dark"] .sidebar-badge { background: #2a2f3a; }
  .sidebar-filter { padding: 8px 10px; }
  .sidebar-filter > input,
  .sidebar-filter select,
  .filter-multi summary {
    width: 100%; padding: 6px 10px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 6px; color: var(--text-primary); font-size: 0.78rem; outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .sidebar-filter select,
  .filter-multi { margin-top: 6px; }
  .sidebar-filter select,
  .filter-multi summary { cursor: pointer; }
  .filter-multi { position: relative; }
  .filter-multi summary { display: flex; align-items: center; justify-content: space-between; min-height: 31px; list-style: none; }
  .filter-multi summary::-webkit-details-marker { display: none; }
  .filter-multi summary::after { content: "v"; color: var(--text-muted); font-size: 0.7rem; margin-left: 8px; }
  .filter-multi[open] summary { border-color: #93b4d4; box-shadow: 0 0 0 3px rgba(43,87,151,0.08); }
  .filter-multi-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .filter-menu {
    position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30;
    max-height: 240px; overflow-y: auto; padding: 6px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 8px 20px rgba(15,23,42,0.12);
  }
  .filter-actions { display: flex; justify-content: flex-end; padding: 2px 2px 5px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
  .filter-clear { border: 0; background: transparent; color: var(--accent); font-size: 0.68rem; font-weight: 700; cursor: pointer; padding: 2px 4px; }
  .filter-clear:disabled { color: var(--text-muted); cursor: default; opacity: 0.55; }
  .filter-option { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 6px 5px; border-radius: 5px; color: var(--text-primary); font-size: 0.74rem; cursor: pointer; }
  .filter-option-featured { font-weight: 700; }
  .filter-option-divider { border-top: 1px solid var(--border); border-radius: 0 0 5px 5px; margin-top: 5px; padding-top: 10px; }
  .filter-option:hover { background: var(--accent-light); }
  .filter-option input { width: 13px; height: 13px; margin: 0; accent-color: var(--accent); }
  .filter-option-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .filter-option-count { color: var(--text-muted); font-size: 0.68rem; font-weight: 700; }
  .filter-empty { padding: 8px 6px; color: var(--text-muted); font-size: 0.72rem; text-align: center; }
  .sidebar-filter > input::placeholder { color: var(--text-muted); }
  .sidebar-filter > input:focus,
  .sidebar-filter select:focus,
  .filter-multi summary:focus { border-color: #93b4d4; box-shadow: 0 0 0 3px rgba(43,87,151,0.08); }
  .sidebar-list { flex: 1; overflow-y: auto; overflow-x: hidden; }
  .sidebar-list::-webkit-scrollbar { width: 4px; }
  .sidebar-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
  [data-theme="dark"] .sidebar-list::-webkit-scrollbar-thumb { background: #3a3f4a; }
  .sidebar-empty { padding: 16px 12px; color: var(--text-muted); font-size: 0.76rem; text-align: center; }
  .company-card {
    padding: 9px 12px; cursor: pointer;
    border-left: 3px solid transparent; transition: background 0.1s;
  }
  .company-card + .company-card { border-top: 1px solid var(--border); }
  .company-card:hover { background: var(--accent-light); }
  .company-card.active { background: var(--accent-light); border-left-color: var(--accent); }
  .cc-name { font-size: 0.78rem; font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cc-name-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .cc-chip { display: inline-flex; align-items: center; flex-shrink: 0; padding: 1px 5px; border-radius: 4px; border: 1px solid var(--border); font-size: 0.54rem; font-weight: 750; line-height: 1.4; color: var(--accent); background: var(--bg-card); text-transform: uppercase; letter-spacing: 0; }
  .cc-chip-deep-dive { border-color: #b8c7d9; background: #f5f9ff; }
  .cc-meta { font-size: 0.68rem; color: var(--text-muted); margin-top: 2px; }
  /* COL 2: CENTER (info panel — now right side) */
  .center-col {
    width: clamp(480px, 32vw, 580px); min-width: 440px; max-width: 580px; flex-shrink: 0;
    background: var(--bg-card); position: relative;
    display: flex; flex-direction: column;
    border-left: 1px solid var(--border);
    transition: width 0.25s ease, min-width 0.25s ease, max-width 0.25s ease;
  }
  /* When left sidebar is collapsed, give right panel more room */
  .sidebar.collapsed ~ .center-col:not(.collapsed) {
    width: clamp(540px, 36vw, 660px); min-width: 500px; max-width: 660px;
  }
  .center-col.collapsed { flex: 0; min-width: 36px; width: 36px; max-width: 36px; overflow: hidden; }
  .center-col.collapsed .center-inner { display: none; }
  .center-col.collapsed .center-tabs .center-tab { display: none; }
  .center-col.collapsed .center-tabs { border-bottom: none; }
  .center-col.collapsed .center-toggle { padding: 10px 0; width: 100%; border-bottom: none; }
  .center-col.collapsed .center-toggle svg { transform: rotate(180deg); }
  .center-inner { flex: 1; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; }
  .center-inner::-webkit-scrollbar { width: 5px; }
  .center-inner::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
  [data-theme="dark"] .center-inner::-webkit-scrollbar-thumb { background: #3a3f4a; }
  .center-tabs { display: flex; flex-shrink: 0; border-bottom: 1px solid var(--border); }
  .center-tab {
    flex: 1; padding: 9px 8px; background: none; border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.76rem; font-weight: 650; color: var(--text-muted); cursor: pointer;
    text-align: center; transition: color 0.12s;
  }
  .center-tab:hover { color: var(--text-secondary); }
  .center-tab.active { color: var(--text-primary); border-bottom-color: var(--accent); }
  .center-tab-panel { display: flex; flex-direction: column; flex: 1; }
  .center-tab-panel[hidden] { display: none; }
  .center-toggle {
    width: 28px; display: flex; align-items: center; justify-content: center;
    background: none; border: none; border-bottom: 2px solid transparent;
    cursor: pointer; color: var(--text-muted); transition: color 0.12s; flex-shrink: 0;
  }
  .center-toggle:hover { color: var(--text-secondary); }
  .co-stat-bar { padding: 9px 16px; font-size: 0.74rem; color: var(--text-muted); font-family: 'SF Mono', Monaco, 'Courier New', monospace; flex-shrink: 0; }

  /* STATS ROW */
  .stats-row { display: flex; gap: 6px; padding: 10px 16px 14px; flex-wrap: wrap; overflow: hidden; flex-shrink: 0; }
  .stat-chip { display: flex; align-items: baseline; gap: 4px; font-size: 1.05rem; font-weight: 700; color: var(--text-primary); font-family: 'SF Mono', Monaco, 'Courier New', monospace; }
  .stat-chip span { font-size: 0.6rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin-right: 10px; }
  .stat-chip.jv { color: #8b6914; }

  /* CARDS */
  .card { padding: 17px 18px; transition: background 0.15s; }
  .card + .card { border-top: 1px solid var(--border-light); }
  .card-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.045em; color: var(--text-muted); margin-bottom: 9px; }
  .card-hint { font-weight: 400; text-transform: none; letter-spacing: 0; }
  .co-desc { min-width: 0; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.55; overflow-wrap: anywhere; }
  .co-deep-dive-link {
    display: inline-flex; align-items: center; margin-bottom: 10px;
    font-size: 0.75rem; font-weight: 700; color: var(--accent); text-decoration: none;
    border-bottom: 1px solid rgba(43,87,151,0.35);
  }
  .co-deep-dive-link:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }
  .co-summary-block { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border-light); }
  .co-summary-label { font-size: 0.66rem; color: var(--text-muted); font-weight: 750; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
  .co-summary-text { min-width: 0; font-size: 0.82rem; color: var(--text-secondary); line-height: 1.48; overflow-wrap: anywhere; }
  .profile-status { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
  .profile-badge {
    display: inline-flex; align-items: center; max-width: 100%;
    padding: 3px 8px; border-radius: 5px; font-size: 0.64rem;
    font-weight: 700; line-height: 1.3; overflow-wrap: anywhere;
  }
  .profile-freshness { color: var(--text-secondary); background: var(--bg-body); border: 1px solid var(--border); }
  .open-questions { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border-light); }
  .open-questions-label { font-size: 0.66rem; color: var(--text-muted); font-weight: 750; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
  .open-questions ul { margin: 0; padding-left: 18px; }
  .open-questions li { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.45; margin: 4px 0; }
  .co-sources { font-size: 0.7rem; color: var(--text-muted); margin-top: 10px; line-height: 1.55; border-top: 1px solid var(--border-light); padding-top: 8px; }
  .co-sources strong { color: var(--text-secondary); }
  .quick-facts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; }
  .qf { font-size: 0.82rem; color: var(--text-primary); white-space: nowrap; }
  .qf-l { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.035em; margin-right: 4px; }

  /* KPI */
  .kpi-grid { }
  .kpi-hl-row { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
  .kpi-highlight { flex: 1 1 auto; background: var(--accent-light); padding: 12px 10px; text-align: center; border-radius: 8px; min-width: 70px; }
  .kpi-hl-value { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); font-family: 'SF Mono', Monaco, 'Courier New', monospace; }
  .kpi-hl-label { font-size: 0.58rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 3px; }
  .kpi-detail { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; gap: 12px; min-width: 0; }
  .kpi-detail + .kpi-detail { border-top: 1px solid var(--border-light); }
  .kpi-dl { font-size: 0.76rem; color: var(--text-muted); flex-shrink: 0; }
  .kpi-dv { font-size: 0.82rem; color: var(--text-primary); font-weight: 550; text-align: right; word-break: break-word; min-width: 0; line-height: 1.4; }
  .kpi-detail-long { display: block; }
  .kpi-detail-long .kpi-dl { display: block; margin-bottom: 4px; }
  .kpi-detail-long .kpi-dv { display: block; text-align: left; font-weight: 500; line-height: 1.48; }

  /* ACCOUNTS TABLE */
  .acct-header { font-size: 0.72rem; color: var(--text-secondary); margin-bottom: 10px; font-family: 'SF Mono', Monaco, 'Courier New', monospace; }
  .acct-list { display: flex; flex-direction: column; }
  .acct-row { padding: 8px 0; }
  .acct-row + .acct-row { border-top: 1px solid var(--border-light); }
  .acct-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: baseline; }
  .acct-table { width: 100%; border-collapse: collapse; table-layout: auto; }
  .acct-table td { padding: 7px 4px; font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; }
  .acct-table tr + tr td { border-top: 1px solid var(--border-light); }
  .acct-label { color: var(--text-secondary); font-size: 0.8rem; font-weight: 550; width: 34%; overflow-wrap: anywhere; }
  .acct-value { color: var(--text-primary); font-size: 0.82rem; font-weight: 750; font-family: 'SF Mono', Monaco, 'Courier New', monospace; text-align: right; width: 28%; white-space: nowrap; }
  .acct-value.neg { color: #dc2626; }
  .acct-note { color: var(--text-muted); font-size: 0.74rem; padding-left: 10px; width: 38%; word-break: break-word; }
  .acct-list .acct-label { width: auto; }
  .acct-list .acct-value { width: auto; max-width: none; white-space: nowrap; overflow-wrap: normal; }
  .acct-list .acct-value-long { white-space: normal; overflow-wrap: anywhere; }
  .acct-list .acct-note { width: auto; padding-left: 0; margin-top: 4px; line-height: 1.42; }
  .acct-source { margin-top: 9px; }

  /* DEBT STRUCTURE */
  .debt-list { display: flex; flex-direction: column; gap: 0; }
  .debt-row { padding: 12px 0; border-top: 1px solid var(--border-light); }
  .debt-row:first-child { border-top: none; padding-top: 0; }
  .debt-row-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(132px, 0.75fr); gap: 16px; align-items: start; }
  .dt-facility { min-width: 0; font-size: 0.82rem; color: var(--text-primary); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
  .dt-amount { min-width: 0; font-size: 0.82rem; color: var(--text-primary); font-weight: 780; font-family: 'SF Mono', Monaco, 'Courier New', monospace; text-align: right; line-height: 1.35; overflow-wrap: anywhere; }
  .debt-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 8px 14px; margin-top: 9px; }
  .debt-field { min-width: 0; }
  .debt-field-label { display: block; font-size: 0.62rem; color: var(--text-muted); font-weight: 750; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.25; }
  .debt-field-value { display: block; margin-top: 2px; font-size: 0.76rem; color: var(--text-secondary); line-height: 1.38; overflow-wrap: anywhere; }
  .dt-status { color: #16a34a; font-weight: 700; }
  .dt-source { margin-top: 5px; }
  .dt-undrawn { color: var(--text-muted); }
  .dt-committed { color: #2563eb; }
  .debt-price-list { display: flex; flex-direction: column; gap: 0; }
  .debt-price-row { padding: 12px 0; border-top: 1px solid var(--border-light); }
  .debt-price-row:first-child { border-top: none; padding-top: 0; }
  .debt-price-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(112px, 0.3fr); gap: 16px; align-items: start; }
  .dp-instrument { min-width: 0; font-size: 0.82rem; color: var(--text-primary); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
  .dp-price { min-width: 0; font-size: 0.84rem; color: var(--text-primary); font-weight: 800; font-family: 'SF Mono', Monaco, 'Courier New', monospace; text-align: right; line-height: 1.35; overflow-wrap: anywhere; }
  .debt-price-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 8px 14px; margin-top: 9px; }
  .dp-source { margin-top: 5px; }
  .dp-note { margin-top: 7px; font-size: 0.74rem; color: var(--text-muted); line-height: 1.42; }

  /* COVENANTS */
  .cov-row { padding: 9px 0; }
  .cov-row + .cov-row { border-top: 1px solid var(--border-light); }
  .cov-header { display: flex; justify-content: space-between; align-items: center; }
  .cov-name { font-size: 0.82rem; font-weight: 650; color: var(--text-primary); }
  .cov-badge { font-size: 0.62rem; font-weight: 750; padding: 2px 8px; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
  .cov-ok { background: #dcfce7; color: #15803d; }
  .cov-breach { background: #fee2e2; color: #dc2626; }
  .cov-waiver { background: #fef3c7; color: #b45309; }
  .cov-neutral { background: #e8eef5; color: #475569; }
  [data-theme="dark"] .cov-ok { background: #14332a; color: #4ade80; }
  [data-theme="dark"] .cov-breach { background: #3b1515; color: #f87171; }
  [data-theme="dark"] .cov-waiver { background: #352a14; color: #fbbf24; }
  [data-theme="dark"] .cov-neutral { background: #273241; color: #cbd5e1; }
  .cov-detail { display: flex; gap: 16px; margin-top: 4px; }
  .cov-thresh, .cov-actual { font-size: 0.76rem; color: var(--text-secondary); }
  .cov-actual { font-weight: 600; color: var(--text-primary); font-family: 'SF Mono', Monaco, 'Courier New', monospace; }
  .cov-source { margin-top: 5px; }

  /* LEGAL & REGULATORY */
  .legal-row { padding: 9px 0; }
  .legal-row + .legal-row { border-top: 1px solid var(--border-light); }
  .legal-header { display: flex; align-items: center; gap: 6px; }
  .legal-icon { font-size: 0.72rem; flex-shrink: 0; }
  .legal-type { font-size: 0.76rem; font-weight: 750; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.035em; }
  .legal-status { margin-left: auto; font-size: 0.68rem; font-weight: 650; }
  .legal-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.48; margin-top: 4px; padding-left: 18px; }
  .legal-source { padding-left: 18px; margin-top: 5px; }

  /* NEWS */
  .news-list { display: flex; flex-direction: column; }
  .news-item { display: flex; gap: 11px; padding: 9px 0; }
  .news-item + .news-item { border-top: 1px solid var(--border-light); }
  .news-left { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 62px; }
  .news-date { font-size: 0.72rem; color: var(--text-muted); font-family: 'SF Mono', Monaco, 'Courier New', monospace; }
  .news-tag { font-size: 0.58rem; font-weight: 750; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.04em; }
  .news-body { flex: 1; min-width: 0; }
  .news-title { font-size: 0.82rem; color: var(--text-primary); line-height: 1.42; }
  .news-source { margin-top: 5px; }

  /* ENTITY LIST */
  .ent-row { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; cursor: pointer; }
  .ent-row + .ent-row { border-top: 1px solid var(--border-light); }
  .ent-row:hover { background: var(--accent-light); }
  .ent-row.ent-active { background: var(--accent-light); border-left: 3px solid var(--accent); padding-left: 5px; }
  .ent-badge { font-size: 0.62rem; font-weight: 750; color: #fff; padding: 2px 7px; border-radius: 3px; white-space: nowrap; margin-top: 2px; flex-shrink: 0; letter-spacing: 0.02em; }
  .ent-info { min-width: 0; }
  .ent-name { font-size: 0.84rem; font-weight: 650; color: var(--text-primary); line-height: 1.3; word-break: break-word; }
  .ent-meta { font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; }
  .ent-org { margin-left: 6px; font-family: 'SF Mono', Monaco, 'Courier New', monospace; font-size: 0.72rem; color: var(--text-secondary); }
  .ent-own { margin-left: 6px; font-size: 0.72rem; font-weight: 650; color: var(--accent); font-family: 'SF Mono', Monaco, 'Courier New', monospace; }
  .copy-btn {
    float: right; font-size: 0.62rem; font-weight: 500; padding: 2px 10px;
    background: var(--accent-light); border: none; border-radius: 4px; color: var(--text-secondary);
    cursor: pointer; text-transform: none; letter-spacing: 0; transition: all 0.12s;
  }
  .copy-btn:hover { background: var(--border); color: var(--text-primary); }
  .copy-table { display: none; position: absolute; left: -9999px; }

  /* FLAG OVERLAYS (on chart nodes) */
  .flag-overlays { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
  .flag-badge { position: absolute; width: 14px; height: 14px; font-size: 8px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 3px; transform: translate(-50%, -50%); pointer-events: auto; cursor: default; line-height: 1; letter-spacing: 0; }

  /* FLAG BADGES (entity list) */
  .ent-flags { margin-left: 6px; display: inline-flex; gap: 2px; vertical-align: middle; }
  .ent-flag { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; font-size: 8px; font-weight: 700; color: #fff; border-radius: 3px; line-height: 1; cursor: default; }
  .ent-acct-icon { margin-left: 6px; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; font-size: 9px; font-weight: 700; color: var(--accent); background: var(--accent-light); border-radius: 4px; vertical-align: middle; cursor: pointer; line-height: 1; }
  .ent-detail { padding: 10px 0 10px 36px; animation: ent-detail-in 0.2s ease; }
  .ent-detail + .ent-row { border-top: 1px solid var(--border-light); }
  .ent-detail-header { font-size: 0.68rem; color: var(--text-secondary); margin-bottom: 6px; font-family: 'SF Mono', Monaco, 'Courier New', monospace; }
  .ent-detail .acct-table { max-width: 100%; }
  .ent-detail .acct-table td { padding: 4px 4px; font-size: 0.74rem; }
  @keyframes ent-detail-in { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 200px; } }

  /* LEGEND (chart overlay) */
  .legend-bar {
    position: absolute; bottom: 10px; left: 10px; right: 10px; z-index: 5;
    display: flex; gap: 8px; padding: 6px 10px; flex-wrap: nowrap; overflow-x: auto;
    background: rgba(255,255,255,0.92); border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); max-width: calc(100% - 20px); scrollbar-width: thin;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  }
  .legend-bar::-webkit-scrollbar { height: 3px; }
  .legend-bar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
  [data-theme="dark"] .legend-bar { background: rgba(30,35,48,0.92); }
  .legend-item { display: flex; align-items: center; gap: 4px; font-size: 0.62rem; color: var(--text-secondary); white-space: nowrap; }
  .legend-dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; flex-shrink: 0; }
  .legend-line { width: 18px; height: 0; border-top: 2px solid #566270; display: inline-block; flex-shrink: 0; }
  .legend-line-dashed { border-top-style: dashed; }
  .legend-line-thick { border-top-width: 3px; border-top-color: #6b8bb5; }
  .legend-note { width: 13px; height: 13px; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 700; color: #fff; background: #c49a1a; flex-shrink: 0; line-height: 1; }
  .legend-sep { width: 1px; height: 12px; background: var(--border); flex-shrink: 0; }
  .legend-flag { width: 13px; height: 13px; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 700; color: #fff; flex-shrink: 0; line-height: 1; }

  /* COL 3: CHART (now center — hero position) */
  .chart-col {
    flex: 1.5; min-width: 400px; position: relative; overflow: hidden; background: var(--bg-chart);
    transition: width 0.25s ease, min-width 0.25s ease, flex 0.25s ease;
  }
  .chart-col.expanded { flex: 10; min-width: 0; }
  .cyto-container { width: 100%; height: 100%; }
  .visual-mode-switch {
    position: absolute; top: 8px; left: 44px; z-index: 7;
    display: inline-flex; gap: 2px; padding: 3px;
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: 7px; box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }
  .visual-mode-btn {
    min-height: 24px; padding: 3px 9px; border: none; border-radius: 5px;
    background: transparent; color: var(--text-secondary); cursor: pointer;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0;
  }
  .visual-mode-btn.active { background: var(--accent); color: #fff; }
  .visual-mode-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .chart-col[data-visual-mode="maturity"] .cyto-container,
  .chart-col[data-visual-mode="maturity"] .flag-overlays,
  .chart-col[data-visual-mode="maturity"] .ownership-filter,
  .chart-col[data-visual-mode="maturity"] .jurisdiction-filter,
  .chart-col[data-visual-mode="maturity"] .chain-panel,
  .chart-col[data-visual-mode="maturity"] .zoom-controls,
  .chart-col[data-visual-mode="maturity"] .chart-search,
  .maturity-profile-container {
    width: 100%; height: 100%; overflow: auto; padding: 54px 22px 22px;
    background: var(--bg-chart); color: var(--text-primary);
  }
  .maturity-panel { min-width: 560px; max-width: 980px; margin: 0 auto; }
  .maturity-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
  .maturity-title { font-size: 0.95rem; font-weight: 800; color: var(--text-primary); }
  .maturity-subtitle { margin-top: 3px; font-size: 0.72rem; color: var(--text-muted); line-height: 1.35; }
  .maturity-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
  .maturity-controls label { display: inline-flex; align-items: center; gap: 5px; font-size: 0.68rem; color: var(--text-secondary); font-weight: 700; }
  .maturity-controls select {
    min-height: 28px; border: 1px solid var(--border); border-radius: 6px;
    background: var(--bg-elevated); color: var(--text-primary); font-size: 0.7rem;
    padding: 3px 7px;
  }
  .maturity-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
  .maturity-stat { border: 1px solid var(--border-light); background: var(--bg-card); border-radius: 6px; padding: 8px 9px; }
  .maturity-stat strong { display: block; font-size: 0.86rem; color: var(--text-primary); font-family: 'SF Mono', Monaco, 'Courier New', monospace; }
  .maturity-stat span { display: block; margin-top: 3px; font-size: 0.58rem; color: var(--text-muted); text-transform: uppercase; font-weight: 800; letter-spacing: 0.04em; }
  .maturity-chart-wrap { border: 1px solid var(--border-light); background: var(--bg-card); border-radius: 8px; padding: 12px; overflow-x: auto; }
  .maturity-chart { display: block; width: 100%; min-width: 520px; height: auto; }
  .maturity-axis { stroke: var(--border); stroke-width: 1; }
  .maturity-grid { stroke: var(--border-light); stroke-width: 1; }
  .maturity-label { fill: var(--text-muted); font-size: 11px; font-family: 'SF Mono', Monaco, 'Courier New', monospace; }
  .maturity-total { fill: var(--text-secondary); font-size: 11px; font-weight: 800; font-family: 'SF Mono', Monaco, 'Courier New', monospace; }
  .maturity-segment { cursor: pointer; transition: opacity 0.12s, filter 0.12s; }
  .maturity-segment:hover, .maturity-segment:focus { opacity: 0.86; filter: brightness(1.08); outline: none; }
  .maturity-empty { display: grid; place-items: center; min-height: 260px; border: 1px dashed var(--border); border-radius: 8px; color: var(--text-muted); text-align: center; padding: 24px; background: var(--bg-card); }
  .maturity-legend { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 10px; color: var(--text-secondary); font-size: 0.66rem; }
  .maturity-legend span { display: inline-flex; align-items: center; gap: 5px; }
  .maturity-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
  .maturity-unmapped { margin-top: 12px; border: 1px solid var(--border-light); background: var(--bg-card); border-radius: 8px; padding: 10px 12px; }
  .maturity-unmapped-title { font-size: 0.68rem; font-weight: 800; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 7px; }
  .maturity-unmapped-row { font-size: 0.72rem; color: var(--text-secondary); line-height: 1.35; padding: 5px 0; border-top: 1px solid var(--border-light); }
  .maturity-unmapped-row:first-of-type { border-top: 0; }
  .debt-row.is-highlighted { background: var(--accent-light); outline: 2px solid rgba(43,87,151,0.25); outline-offset: 2px; border-radius: 6px; }
  .debt-row { scroll-margin-top: 16px; }
  .chart-expand {
    position: absolute; top: 8px; left: 8px; z-index: 6;
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    background: var(--bg-elevated); border: none; border-radius: 6px; cursor: pointer;
    color: var(--text-muted); transition: all 0.15s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }
  .chart-expand:hover { background: var(--accent-light); color: var(--text-secondary); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
  .chart-col.expanded .chart-expand svg { transform: rotate(180deg); }

  /* ZOOM CONTROLS */
  .zoom-controls {
    position: absolute; top: 8px; right: 8px; z-index: 6;
    display: flex; flex-direction: column; gap: 2px;
  }
  .zoom-btn {
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    background: var(--bg-elevated); border: none; border-radius: 6px; cursor: pointer;
    color: var(--text-secondary); font-size: 1rem; font-weight: 600; transition: all 0.15s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }
  .zoom-btn:hover { background: var(--accent-light); color: var(--text-primary); }
  .zoom-pct {
    font-size: 0.6rem; color: var(--text-muted); text-align: center;
    padding: 1px 0; user-select: none; pointer-events: none;
  }

  /* CHART SEARCH */
  .chart-search {
    position: absolute; top: 42px; left: 44px; z-index: 6;
    display: flex; align-items: center; gap: 6px;
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: 6px; padding: 4px 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }
  .chart-search[hidden] { display: none; }
  .chart-search input {
    width: 180px; padding: 3px 6px; background: transparent; border: none;
    color: var(--text-primary); font-size: 0.75rem; outline: none;
  }
  .chart-search input::placeholder { color: var(--text-muted); }
  .chart-search-count { font-size: 0.68rem; color: var(--text-muted); white-space: nowrap; }
  .chart-search-close {
    background: none; border: none; cursor: pointer; color: var(--text-muted);
    font-size: 0.85rem; padding: 0 2px; line-height: 1;
  }
  .chart-search-close:hover { color: var(--text-primary); }

  /* TOOLBAR */
  .info-group, .edit-group { display: flex; align-items: center; gap: 2px; min-width: 0; }
  .edit-group {
    padding-left: 4px; margin-left: 2px;
    border-left: 1px solid var(--border-light);
  }
  .info-sep { width: 1px; height: 20px; background: var(--border); margin: 0 6px; }
  .tool-btn {
    display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px;
    font-size: 0.72rem; font-weight: 500; background: transparent; border: none;
    border-radius: 5px; cursor: pointer; color: var(--text-secondary); transition: all 0.12s;
  }
  .tool-btn:hover { background: var(--accent-light); color: var(--text-primary); }
  .tool-btn-export-primary {
    min-height: 30px; padding: 5px 13px;
    border: 1px solid #9fb4d0; background: var(--bg-card);
    color: var(--accent); font-weight: 750;
    box-shadow: 0 1px 0 rgba(15,23,42,0.04);
  }
  .tool-btn-export-primary:hover {
    border-color: var(--accent); background: var(--accent-light); color: var(--accent-hover);
  }
  .tool-btn svg { flex-shrink: 0; }
  .demo-badge {
    font-size: 0.44rem; font-weight: 700; color: var(--text-muted); background: var(--border);
    padding: 1px 3px; border-radius: 2px; letter-spacing: 0.04em;
    vertical-align: middle; line-height: 1; display: inline-block;
    margin-left: 2px; opacity: 0.7;
  }

  /* EXPORT DROPDOWN */
  .export-dropdown { position: relative; }
  .export-menu {
    position: absolute; top: 100%; right: 0; margin-top: 4px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    min-width: 180px; padding: 4px; z-index: 300;
    isolation: isolate;
  }
  .export-menu[hidden] { display: none; }
  .export-item {
    padding: 8px 12px; font-size: 0.78rem; cursor: pointer;
    border-radius: 5px; color: var(--text-primary);
  }
  .export-item:hover { background: var(--accent-light); }
  .toolbar-menu { position: relative; }
  .toolbar-menu-panel {
    position: absolute; top: 100%; right: 0; margin-top: 4px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    min-width: 170px; padding: 4px; z-index: 300;
    isolation: isolate;
  }
  .toolbar-menu-panel[hidden] { display: none; }
  .toolbar-menu-item {
    display: block; width: 100%; padding: 8px 12px; text-align: left;
    font-size: 0.78rem; line-height: 1.25; cursor: pointer;
    border: 0; border-radius: 5px; background: transparent; color: var(--text-primary);
  }
  .toolbar-menu-item:hover { background: var(--accent-light); }

  /* THEME TOGGLE */
  .theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; background: transparent; border: none;
    border-radius: 5px; cursor: pointer; color: var(--text-secondary);
    font-size: 1rem; transition: all 0.12s;
  }
  .theme-toggle:hover { background: var(--accent-light); color: var(--text-primary); }
  .print-exit-btn {
    display: none; position: fixed; top: 8px; right: 12px; z-index: 80;
    padding: 7px 12px; border: 1px solid var(--border); border-radius: 6px;
    background: var(--bg-card); color: var(--text-primary); font-size: 0.78rem;
    font-weight: 700; box-shadow: 0 4px 16px rgba(15,23,42,0.12); cursor: pointer;
  }
  .print-exit-btn:hover { background: var(--accent-light); }

  /* TOOLTIP */
  .cy-tooltip {
    position: absolute; z-index: 20; background: #1e293b; color: #e2e8f0;
    padding: 8px 12px; border-radius: 6px; font-size: 0.72rem; line-height: 1.45;
    pointer-events: none; max-width: 240px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .cy-tooltip[hidden] { display: none; }
  .cy-tooltip strong { color: #fff; }

  /* FINANCE PANEL */
  .finance-panel {
    position: absolute; top: 0; right: 0; width: 400px; height: 100%;
    background: var(--bg-card); z-index: 10; display: flex; flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,0.06);
  }
  .finance-panel[hidden] { display: none; }
  .finance-panel-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px; font-weight: 600; font-size: 0.85rem; color: var(--text-primary);
  }
  .finance-panel-close { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--text-muted); padding: 2px 6px; border-radius: 4px; transition: all 0.12s; }
  .finance-panel-close:hover { color: var(--text-primary); background: var(--accent-light); }
  .finance-panel-body { flex: 1; overflow-y: auto; padding: 0 18px 18px; }
  .fin-hint { font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
  #fin-textarea {
    width: 100%; padding: 10px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 6px; color: var(--text-primary); font-size: 0.75rem;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    resize: vertical; min-height: 180px; transition: border-color 0.15s, box-shadow 0.15s;
  }
  #fin-textarea:focus { border-color: #93b4d4; box-shadow: 0 0 0 3px rgba(43,87,151,0.08); outline: none; }
  #fin-textarea::placeholder { color: var(--text-muted); }
  .fin-textarea-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
  .fin-textarea-footer span { font-size: 0.68rem; color: var(--text-muted); }
  .fin-example-btn { background: none; border: none; font-size: 0.68rem; color: var(--accent); cursor: pointer; padding: 0; }
  .fin-example-btn:hover { color: var(--accent-hover); text-decoration: underline; }
  .fin-select-toggle { background: none; border: none; font-size: 0.68rem; color: var(--accent); cursor: pointer; padding: 0; margin-left: auto; display: block; }
  .fin-select-toggle:hover { color: var(--accent-hover); text-decoration: underline; }
  .fin-submit {
    width: 100%; margin-top: 12px; padding: 9px 16px; background: var(--accent); color: #fff;
    border: none; border-radius: 6px; font-size: 0.78rem; font-weight: 600;
    cursor: pointer; transition: background 0.15s;
  }
  .fin-submit:hover { background: var(--accent-hover); }
  .fin-submit:disabled { opacity: 0.45; cursor: default; }
  .fin-spinner { width: 28px; height: 28px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: fin-spin 0.7s linear infinite; margin: 40px auto 12px; }
  @keyframes fin-spin { to { transform: rotate(360deg); } }
  .fin-loading-text { text-align: center; font-size: 0.78rem; color: var(--text-secondary); }
  .fin-section-label { font-size: 0.7rem; font-weight: 700; color: var(--text-primary); margin: 16px 0 8px; text-transform: uppercase; letter-spacing: 0.05em; }
  .fin-summary { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 12px; padding: 10px 12px; background: var(--accent-light); border-radius: 6px; border-left: 3px solid var(--accent); }
  .fin-terms-table { width: 100%; font-size: 0.72rem; border-collapse: collapse; margin-bottom: 8px; }
  .fin-terms-table td { padding: 4px 6px; }
  .fin-terms-table tr + tr td { border-top: 1px solid var(--border-light); }
  .fin-terms-table td:first-child { color: var(--text-secondary); font-style: italic; }
  .fin-terms-table td:last-child { color: var(--text-primary); font-weight: 500; }
  .fin-match { padding: 8px 0; display: flex; align-items: flex-start; gap: 8px; }
  .fin-match + .fin-match { border-top: 1px solid var(--border-light); }
  .fin-match label { display: flex; align-items: flex-start; gap: 8px; flex: 1; cursor: pointer; }
  .fin-match input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }
  .fin-match-info { flex: 1; }
  .fin-match-name { font-weight: 600; font-size: 0.8rem; color: var(--text-primary); }
  .fin-match-entity { font-size: 0.68rem; color: var(--text-secondary); }
  .fin-match-roles { display: flex; gap: 3px; margin-top: 5px; flex-wrap: wrap; }
  .fin-match-role { display: inline-flex; align-items: center; justify-content: center; padding: 2px 7px; font-size: 0.66rem; font-weight: 600; color: #fff; border-radius: 3px; }
  .fin-match-conf { font-size: 0.68rem; color: var(--text-muted); margin-top: 3px; }
  .fin-role-existing { opacity: 0.45; position: relative; }
  .fin-role-existing::after { content: '\2713'; position: absolute; right: -1px; top: -1px; font-size: 6px; }
  .fin-diff-new { font-size: 0.65rem; color: var(--success); font-weight: 600; vertical-align: middle; }
  .fin-diff-same { font-size: 0.65rem; color: var(--text-muted); font-style: italic; vertical-align: middle; }
  .fin-unmatched { padding: 6px 0; }
  .fin-unmatched + .fin-unmatched { border-top: 1px solid var(--border-light); }
  .fin-unmatched-name { font-size: 0.78rem; color: var(--text-secondary); }
  .fin-unmatched-roles { display: flex; gap: 3px; margin-top: 3px; flex-wrap: wrap; }
  .fin-unmatched select { margin-top: 4px; font-size: 0.72rem; padding: 4px 6px; border: 1px solid var(--border); border-radius: 5px; width: 100%; background: var(--bg-card); color: var(--text-primary); }
  .fin-apply {
    width: 100%; margin-top: 16px; padding: 9px 16px; background: var(--success); color: #fff;
    border: none; border-radius: 6px; font-size: 0.78rem; font-weight: 600;
    cursor: pointer; transition: background 0.15s;
  }
  .fin-apply:hover { background: #15633e; }
  .fin-applied { text-align: center; padding: 16px; font-size: 0.78rem; color: var(--success); font-weight: 600; }
  .fin-back {
    width: 100%; margin-top: 8px; padding: 7px 16px; background: var(--bg-card); color: var(--text-secondary);
    border: 1px solid var(--border); border-radius: 6px; font-size: 0.75rem;
    cursor: pointer; transition: all 0.12s;
  }
  .fin-back:hover { background: var(--bg-body); border-color: var(--text-muted); }
  .fin-error { color: #dc2626; font-size: 0.75rem; margin-top: 8px; }

  /* Extracted items in finance results */
  .fin-extracted-list { display: flex; flex-direction: column; gap: 0; }
  .fin-extracted-item { padding: 8px 0; }
  .fin-extracted-item + .fin-extracted-item { border-top: 1px solid var(--border-light); }
  .fin-ext-header { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
  .fin-ext-name { font-size: 0.76rem; font-weight: 600; color: var(--text-primary); }
  .fin-ext-amount, .fin-ext-threshold { font-size: 0.74rem; font-weight: 700; color: var(--text-primary); font-family: 'SF Mono', Monaco, 'Courier New', monospace; flex-shrink: 0; }
  .fin-ext-detail { display: flex; gap: 10px; margin-top: 3px; flex-wrap: wrap; }
  .fin-ext-detail span { font-size: 0.68rem; color: var(--text-secondary); }
  .fin-ext-type { font-size: 0.74rem; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.04em; }
  .fin-ext-desc { font-size: 0.72rem; color: var(--text-secondary); line-height: 1.45; margin-top: 3px; }
  .fin-ext-source { font-size: 0.6rem; color: var(--text-muted); font-style: italic; margin-top: 2px; line-height: 1.3; }

  /* DATA SOURCES (in sidebar) */
  .ds-sidebar-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 8px 10px; min-height: 0; }
  #ds-import-view { display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden; }
  #ds-entity-detail { overflow-y: auto; min-height: 0; }
  #ds-search-results { overflow-y: auto; min-height: 0; max-height: 100%; }
  .ds-sidebar-body::-webkit-scrollbar { width: 4px; }
  .ds-sidebar-body::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
  [data-theme="dark"] .ds-sidebar-body::-webkit-scrollbar-thumb { background: #3a3f4a; }
  .ds-section-label { font-size: 0.62rem; font-weight: 700; color: var(--text-muted); margin: 14px 0 6px; text-transform: uppercase; letter-spacing: 0.06em; }
  .ds-section-label:first-child { margin-top: 4px; }
  .ds-source-card { padding: 8px 10px; margin-bottom: 4px; border-radius: 6px; background: var(--bg-card); }
  .ds-source-card.ds-available { background: var(--accent-light); }
  .ds-source-card.ds-limited { opacity: 0.55; }
  .ds-source-head { display: flex; align-items: flex-start; gap: 4px 8px; flex-wrap: wrap; }
  .ds-source-icon { font-size: 1rem; flex-shrink: 0; width: 22px; text-align: center; margin-top: 1px; }
  .ds-source-info { flex: 1 0 calc(100% - 32px); min-width: 0; }
  .ds-source-name { font-weight: 600; font-size: 0.75rem; color: var(--text-primary); line-height: 1.35; }
  .ds-source-meta { font-size: 0.65rem; color: var(--text-muted); margin-top: 1px; }
  .ds-source-desc { font-size: 0.68rem; color: var(--text-secondary); line-height: 1.4; margin-top: 5px; word-break: break-word; }
  .ds-import-btn {
    padding: 4px 10px; background: var(--accent); color: #fff; border: none;
    border-radius: 2px; font-size: 0.68rem; font-weight: 600; cursor: pointer;
    white-space: nowrap; flex-shrink: 0; transition: background 0.15s;
    margin-left: 30px;
  }
  .ds-import-btn:hover { background: var(--accent-hover); }
  .ds-import-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
  .ds-back-btn { background: none; border: none; font-size: 0.78rem; color: var(--accent); cursor: pointer; padding: 0; font-weight: 500; }
  .ds-back-btn:hover { color: var(--accent-hover); text-decoration: underline; }
  .ds-import-source { font-weight: 600; font-size: 0.82rem; color: var(--text-primary); }
  .ds-search-row { display: flex; gap: 6px; margin-bottom: 12px; max-width: 100%; }
  .ds-search-input {
    flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px;
    font-size: 0.78rem; transition: border-color 0.15s, box-shadow 0.15s;
    background: var(--bg-card); color: var(--text-primary);
  }
  .ds-search-input:focus { border-color: #93b4d4; box-shadow: 0 0 0 3px rgba(43,87,151,0.08); outline: none; }
  .ds-search-btn {
    padding: 7px 14px; background: var(--accent); color: #fff; border: none;
    border-radius: 6px; font-size: 0.75rem; font-weight: 600; cursor: pointer;
    transition: background 0.15s;
  }
  .ds-search-btn:hover { background: var(--accent-hover); }
  .ds-result-item {
    padding: 8px 10px; border-radius: 6px; margin-bottom: 4px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    background: var(--bg-card); transition: background 0.12s;
  }
  .ds-result-item:hover { background: var(--accent-light); }
  .ds-result-name { font-weight: 600; font-size: 0.78rem; color: var(--text-primary); }
  .ds-result-meta { font-size: 0.68rem; color: var(--text-secondary); margin-top: 1px; }
  .ds-result-arrow { color: var(--text-muted); font-size: 0.85rem; flex-shrink: 0; }
  .ds-detail-card { padding: 12px; border-radius: 8px; background: var(--accent-light); margin-bottom: 10px; }
  .ds-detail-name { font-weight: 700; font-size: 0.88rem; color: var(--text-primary); margin-bottom: 6px; }
  .ds-detail-row { display: flex; justify-content: space-between; font-size: 0.72rem; padding: 3px 0; }
  .ds-detail-label { color: var(--text-muted); }
  .ds-detail-value { color: var(--text-primary); font-weight: 500; }
  .ds-children-label { font-size: 0.68rem; font-weight: 700; color: var(--text-muted); margin: 10px 0 6px; text-transform: uppercase; letter-spacing: 0.05em; }
  .ds-child-item { padding: 5px 0; font-size: 0.72rem; display: flex; justify-content: space-between; }
  .ds-child-item + .ds-child-item { border-top: 1px solid var(--border); }
  .ds-child-name { color: var(--text-primary); font-weight: 500; }
  .ds-child-meta { color: var(--text-muted); }
  .ds-add-btn {
    width: 100%; margin-top: 12px; padding: 9px 16px; background: var(--success); color: #fff;
    border: none; border-radius: 6px; font-size: 0.78rem; font-weight: 600;
    cursor: pointer; transition: background 0.15s;
  }
  .ds-add-btn:hover { background: #15633e; }
  .ds-add-btn:disabled { opacity: 0.45; cursor: default; }
  .ds-added { text-align: center; padding: 12px; font-size: 0.78rem; color: var(--success); font-weight: 600; }
  .ds-error { color: #dc2626; font-size: 0.75rem; margin-top: 8px; }
  .ds-no-results { text-align: center; padding: 20px 10px; font-size: 0.78rem; color: var(--text-muted); }
  .ds-fetching-children { text-align: center; padding: 16px; }

  /* ENTITY NOTES */
  .ent-notes-section { margin-top: 8px; }
  .ent-notes-label { font-size: 0.64rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
  .ent-notes-text {
    color: var(--text-secondary); font-size: 0.74rem; line-height: 1.35;
    padding: 6px 8px; background: var(--bg-body); border: 1px solid var(--border); border-radius: 4px;
  }
  .ent-notes-icon {
    margin-left: 4px; display: inline-flex; align-items: center; justify-content: center;
    width: 15px; height: 15px; font-size: 9px; color: var(--text-muted);
    vertical-align: middle; cursor: default;
  }
  .note-indicator {
    position: absolute; width: 13px; height: 13px; font-size: 7px; font-weight: 800;
    color: #fff; background: #c49a1a; border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    transform: translate(-50%, -50%); pointer-events: none; line-height: 1;
    box-shadow: 0 1px 3px rgba(15,23,42,0.22);
  }

  /* OWNERSHIP FILTER */
  .ownership-filter {
    position: absolute; bottom: 68px; left: 10px; z-index: 5;
    display: flex; gap: 4px; padding: 5px 8px;
    background: rgba(255,255,255,0.92); border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  }
  [data-theme="dark"] .ownership-filter { background: rgba(30,35,48,0.92); }
  .ownership-filter .jf-chip { font-family: 'SF Mono', Monaco, 'Courier New', monospace; }

  /* JURISDICTION FILTER */
  .jurisdiction-filter {
    position: absolute; bottom: 38px; left: 10px; z-index: 5;
    display: flex; gap: 4px; padding: 5px 8px; flex-wrap: wrap;
    background: rgba(255,255,255,0.92); border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); max-width: calc(100% - 20px);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  }
  .jurisdiction-filter:empty { display: none; }
  [data-theme="dark"] .jurisdiction-filter { background: rgba(30,35,48,0.92); }
  .jf-chip {
    display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px;
    font-size: 0.62rem; font-weight: 600; color: var(--text-secondary);
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: 12px; cursor: pointer; transition: all 0.12s; user-select: none;
  }
  .jf-chip:hover { background: var(--accent-light); border-color: var(--accent); }
  .jf-chip.jf-active { background: var(--accent); color: #fff; border-color: var(--accent); }
  .jf-count {
    font-size: 0.54rem; font-weight: 700; background: var(--border); color: var(--text-muted);
    padding: 0 4px; border-radius: 6px; line-height: 1.4;
  }
  .jf-chip.jf-active .jf-count { background: rgba(255,255,255,0.25); color: #fff; }

  /* OWNERSHIP CHAIN PANEL */
  .chain-panel {
    position: absolute; top: 8px; left: 44px; z-index: 7;
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    min-width: 220px; max-width: 320px; max-height: calc(100% - 60px);
    overflow-y: auto;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  }
  .chain-panel[hidden] { display: none; }
  .chain-panel-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 12px; font-weight: 600; font-size: 0.75rem; color: var(--text-primary);
    border-bottom: 1px solid var(--border); position: sticky; top: 0;
    background: var(--bg-elevated);
  }
  .chain-panel-header button {
    background: none; border: none; font-size: 16px; cursor: pointer;
    color: var(--text-muted); padding: 0 4px; border-radius: 4px; line-height: 1;
  }
  .chain-panel-header button:hover { color: var(--text-primary); }
  #chain-panel-body { padding: 8px 12px; }
  .chain-step {
    padding: 6px 8px; border-radius: 6px; background: var(--accent-light);
    font-size: 0.72rem; font-weight: 600; color: var(--text-primary);
    margin-bottom: 2px;
  }
  .chain-step-target { background: #fef3c7; color: #92400e; }
  [data-theme="dark"] .chain-step-target { background: #352a14; color: #fbbf24; }
  .chain-arrow {
    display: flex; align-items: center; gap: 6px; padding: 2px 8px;
    font-size: 0.68rem; color: var(--text-muted);
  }
  .chain-edge-pct { font-weight: 700; color: var(--accent); font-family: 'SF Mono', Monaco, 'Courier New', monospace; }
  .chain-cumulative { font-size: 0.62rem; color: var(--text-muted); font-style: italic; }

  /* PRINT MODE */
  body.print-mode { background: #fff !important; }
  body.print-mode .topbar { background: #fff; border-bottom-color: #e2e8f0; }
  body.print-mode .sidebar { display: none !important; }
  body.print-mode .center-col { display: none !important; }
  body.print-mode .chart-col {
    flex: 1; width: 100% !important; min-width: 100% !important; background: #fff;
  }
  body.print-mode .legend-bar, body.print-mode .chart-expand,
  body.print-mode .finance-panel, body.print-mode .zoom-controls,
  body.print-mode .chart-search, body.print-mode .flag-overlays, body.print-mode .visual-mode-switch,
  body.print-mode .jurisdiction-filter, body.print-mode .chain-panel,
  body.print-mode .note-indicator { display: none !important; }
  body.print-mode .topbar-right .tool-btn:not(#btn-print),
  body.print-mode .topbar-right .info-sep,
  body.print-mode .topbar-right .theme-toggle,
  body.print-mode .topbar-right .export-dropdown,
  body.print-mode .topbar-right .toolbar-menu { display: none !important; }
  body.print-mode #btn-print { background: var(--accent); color: #fff; }
  body.print-mode .print-exit-btn { display: inline-flex; align-items: center; }
  body.print-mode .cyto-container { background: #fff; }

  /* RESPONSIVE */
  @media (max-width: 1024px) {
    .center-col:not(.collapsed) { width: 360px; min-width: 320px; max-width: 400px; }
    .chart-col { min-width: 280px; }
    .maturity-profile-container { padding: 54px 12px 16px; }
    .maturity-panel { min-width: 520px; }
    .debt-row-head { grid-template-columns: 1fr; gap: 4px; }
    .dt-amount { text-align: left; }
    .debt-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .debt-price-head { grid-template-columns: 1fr; gap: 4px; }
    .dp-price { text-align: left; }
    .debt-price-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 768px) {
    .app { flex-direction: column; }
    .sidebar { width: 100%; min-width: 100%; max-height: 38vh; border-right: none; border-bottom: 1px solid var(--border); }
    .sidebar-tab { padding: 7px 6px; font-size: 0.68rem; }
    .sidebar-filter { padding: 5px 8px; }
    .sidebar-filter > input,
    .sidebar-filter select,
    .filter-multi summary { padding: 5px 8px; font-size: 0.74rem; }
    .filter-menu { max-height: 190px; }
    .company-card { padding: 7px 10px; }
    .cc-name { font-size: 0.74rem; }
    .cc-meta { font-size: 0.64rem; margin-top: 1px; }
    .center-col { width: 100% !important; min-width: 100% !important; max-width: 100% !important; max-height: 35vh; border-left: none; border-bottom: 1px solid var(--border); }
    .center-tab-panel, .card, .quick-facts, .qf { min-width: 0; }
    .quick-facts { display: grid; grid-template-columns: 1fr; gap: 6px; }
    .qf { white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
    .acct-main { grid-template-columns: 1fr; gap: 4px; }
    .acct-list .acct-value { max-width: none; text-align: left; }
    .kpi-detail { display: block; }
    .kpi-dv { display: block; margin-top: 3px; text-align: left; }
    .chart-col { min-height: 300px; }
  }

  /* LARGE MONITORS */
  @media (min-width: 2000px) {
    .center-col:not(.collapsed) { max-width: 640px; }
    .sidebar.collapsed ~ .center-col:not(.collapsed) { max-width: 700px; }
    .chart-col { flex: 2; }
  }

  /* COLLAPSIBLE CARD SECTIONS */
  .card-collapsible {
    cursor: pointer; user-select: none; display: flex; align-items: center; gap: 4px;
  }
  .card-collapsible:hover { color: var(--text-secondary); }
  .card-chevron {
    font-size: 0.6rem; transition: transform 0.2s ease; display: inline-block;
    color: var(--text-muted); line-height: 1;
  }
  .card-collapsible.collapsed .card-chevron { transform: rotate(-90deg); }
  .card-collapsible .copy-btn { margin-left: auto; }

  /* SOURCE ATTRIBUTION */
  .empty-state {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
    padding: 8px 0;
  }
  .source-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .source-badge {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 1px 6px; font-size: 0.6rem; font-weight: 700;
    color: var(--text-muted); background: var(--bg-body);
    border: 1px solid var(--border); border-radius: 3px;
    letter-spacing: 0.02em; vertical-align: middle; margin-left: 0;
    cursor: default;
  }
  .source-badge-registry { border-color: #93b4d4; color: #2b5797; background: #f0f6ff; }
  [data-theme="dark"] .source-badge-registry { border-color: #2a3f5a; color: #7fb3e8; background: #1a2540; }
  .source-badge-filing { border-color: #c4a35a; color: #8b6914; background: #fefce8; }
  [data-theme="dark"] .source-badge-filing { border-color: #4a3f1a; color: #dab44c; background: #2a2515; }
  .source-badge-manual { border-color: var(--border); }
  .source-link { color: var(--accent); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
  .source-link:hover { text-decoration: underline; }
  .source-text { color: var(--text-muted); }
  .source-sep { color: var(--border); font-style: normal; }
  .source-item-note { color: var(--text-muted); font-size: 0.68rem; margin-top: 2px; line-height: 1.35; }
  .ent-account-source { font-size: 0.66rem; color: var(--text-muted); font-style: normal; margin-top: 4px; line-height: 1.35; }

  /* SOURCE SUMMARY PANEL */
  .source-list { display: flex; flex-direction: column; gap: 12px; }
  .source-group { min-width: 0; }
  .source-group + .source-group { border-top: 1px solid var(--border-light); padding-top: 12px; }
  .source-group-title {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-bottom: 5px; color: var(--text-muted); font-size: 0.64rem;
    font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  }
  .source-item {
    display: flex; align-items: flex-start; gap: 8px; padding: 6px 0;
    font-size: 0.78rem; color: var(--text-secondary); line-height: 1.45;
  }
  .source-item + .source-item { border-top: 1px solid var(--border-light); }
  .source-item-icon { flex-shrink: 0; font-size: 0.72rem; margin-top: 2px; }
  .source-item-text { flex: 1; min-width: 0; }
  .source-item-type {
    font-size: 0.58rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.05em;
  }
  .source-count {
    font-size: 0.64rem; color: var(--text-muted); margin-left: auto; flex-shrink: 0;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  }

  /* KEYBOARD SHORTCUTS OVERLAY */
  .shortcuts-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35); z-index: 100;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  }
  .shortcuts-overlay[hidden] { display: none; }
  .shortcuts-panel {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    width: 420px; max-width: 90vw; max-height: 80vh; overflow: hidden;
    display: flex; flex-direction: column;
  }
  .shortcuts-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px; font-weight: 600; font-size: 0.88rem;
    color: var(--text-primary); border-bottom: 1px solid var(--border);
  }
  .shortcuts-header button {
    background: none; border: none; font-size: 18px; cursor: pointer;
    color: var(--text-muted); padding: 0 4px; border-radius: 4px;
  }
  .shortcuts-header button:hover { color: var(--text-primary); }
  .shortcuts-body { padding: 12px 18px; overflow-y: auto; }
  .shortcuts-group { margin-bottom: 14px; }
  .shortcuts-group:last-child { margin-bottom: 4px; }
  .shortcuts-group-title {
    font-size: 0.62rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px;
  }
  .shortcut-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 0; font-size: 0.75rem; color: var(--text-secondary);
  }
  .shortcut-row kbd {
    display: inline-block; padding: 2px 6px; background: var(--bg-body);
    border: 1px solid var(--border); border-radius: 4px;
    font-size: 0.66rem; font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    color: var(--text-primary); box-shadow: 0 1px 0 var(--border);
    min-width: 22px; text-align: center;
  }

  /* DATA FRESHNESS */
  .freshness-indicator {
    font-size: 0.62rem; color: var(--text-muted); display: inline-flex;
    align-items: center; gap: 3px;
  }
  .freshness-dot {
    width: 5px; height: 5px; border-radius: 50%; display: inline-block;
  }
  .freshness-fresh { background: #15803d; }
  .freshness-stale { background: #d97706; }
  .freshness-old { background: #dc2626; }

  /* ODIN PRODUCT LANDING */
  body.odin-landing {
    --odin-paper: #f6f6f1;
    --odin-ink: #101214;
    --odin-muted: #5e6467;
    --odin-rule: #d7dad2;
    --odin-module-rule: #C5D3E8;
    --odin-soft: #ffffff;
    --odin-blue: #0f62fe;
    --odin-green: #1f6c65;
    --odin-navy: #15252a;
    --odin-gold: #947b34;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--odin-paper);
    color: var(--odin-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  }
  .odin-landing a {
    color: inherit;
    text-decoration: none;
  }
  .odin-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 56px;
    padding: 0 48px;
    background: var(--odin-paper);
    border-bottom: 1px solid var(--odin-rule);
  }
  .odin-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 650;
  }
  .odin-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--odin-blue);
    color: #fff;
    font-size: 0.7rem;
    line-height: 1;
  }
  .odin-brand-word {
    font-size: 0.86rem;
  }
  .odin-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--odin-muted);
    font-size: 0.82rem;
    font-weight: 500;
  }
  .odin-nav-links a:hover {
    color: var(--odin-ink);
  }
  .odin-nav-action,
  .odin-primary-link,
  .odin-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid var(--odin-ink);
    border-radius: 0;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
  }
  .odin-landing .odin-nav-action,
  .odin-landing .odin-primary-link {
    background: var(--odin-ink);
    color: #fff;
  }
  .odin-landing .odin-nav-action:hover,
  .odin-landing .odin-primary-link:hover {
    background: var(--odin-blue);
    border-color: var(--odin-blue);
    color: #fff;
  }
  .odin-landing .odin-secondary-link {
    background: transparent;
    color: var(--odin-ink);
  }
  .odin-landing .odin-secondary-link:hover {
    border-color: var(--odin-blue);
    color: var(--odin-blue);
  }
  .odin-hero {
    padding: 78px 48px 44px;
    border-bottom: 1px solid var(--odin-rule);
  }
  .odin-hero-copy,
  .odin-section,
  .odin-dark-inner,
  .odin-final-cta,
  .odin-footer {
    width: min(1180px, calc(100% - 96px));
    margin: 0 auto;
  }
  .odin-hero-copy {
    width: min(1320px, calc(100% - 96px));
  }
  .odin-kicker {
    margin: 0 0 14px;
    color: var(--odin-muted);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
  }
  .odin-hero-line {
    max-width: 1280px;
    margin: 0;
    color: var(--odin-ink);
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.02;
  }
  .odin-hero-definition {
    max-width: 1040px;
    margin: 26px 0 0;
    color: #2f3638;
    font-size: 1.38rem;
    font-weight: 400;
    line-height: 1.45;
  }
  .odin-hero-definition strong {
    color: var(--odin-ink);
    font-weight: 600;
  }
  .odin-hero-definition span {
    color: var(--odin-blue);
    font-weight: 500;
  }
  .odin-hero-line span {
    color: var(--odin-blue);
  }
  .odin-hero-line::selection,
  .odin-hero-definition::selection,
  .odin-section h2::selection {
    background: var(--odin-blue);
    color: #fff;
  }
  .odin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
  }
  .odin-product-frame {
    width: min(1180px, calc(100% - 96px));
    margin: 54px auto 0;
    background: var(--odin-soft);
    border: 1px solid #bfc6c5;
    box-shadow: 10px 10px 0 #dfe3db;
  }
  .odin-product-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-bottom: 1px solid var(--odin-rule);
    background: #fbfbf8;
    font-size: 0.74rem;
    font-weight: 600;
  }
  .odin-window-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--odin-rule);
  }
  .odin-window-dot:first-child { background: var(--odin-blue); }
  .odin-window-dot:nth-child(2) { background: var(--odin-gold); }
  .odin-window-dot:nth-child(3) { background: var(--odin-green); }
  .odin-product-title {
    margin-left: 8px;
  }
  .odin-product-status {
    margin-left: auto;
    color: var(--odin-muted);
    font-weight: 500;
  }
  .odin-product-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 260px;
    min-height: 430px;
  }
  .odin-product-list,
  .odin-product-brief {
    padding: 18px;
    background: #fbfbf8;
  }
  .odin-product-list {
    border-right: 1px solid var(--odin-rule);
    overflow: hidden;
  }
  .odin-product-brief {
    border-left: 1px solid var(--odin-rule);
  }
  .odin-product-label {
    margin-bottom: 12px;
    color: var(--odin-muted);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
  }
  .odin-list-item {
    padding: 8px 0;
    border-top: 1px solid var(--odin-rule);
  }
  .odin-list-item span,
  .odin-list-item small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .odin-list-item span {
    font-size: 0.78rem;
    font-weight: 600;
  }
  .odin-list-item small {
    margin-top: 3px;
    color: var(--odin-muted);
    font-size: 0.64rem;
  }
  .odin-list-item.active {
    color: var(--odin-blue);
  }
  .odin-product-canvas {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #ffffff;
  }
  .odin-product-canvas::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: 32px 32px;
    background-image:
      linear-gradient(#eceee8 1px, transparent 1px),
      linear-gradient(90deg, #eceee8 1px, transparent 1px);
    opacity: 0.72;
  }
  .odin-chart-tab {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 6px 10px;
    background: var(--odin-ink);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
  }
  .odin-node,
  .odin-chart-lines {
    position: absolute;
  }
  .odin-chart-lines {
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .odin-chart-lines path {
    fill: none;
    stroke: #8e9799;
    stroke-width: 1.4;
    stroke-linecap: square;
    vector-effect: non-scaling-stroke;
  }
  .odin-chart-lines path.gold {
    stroke: var(--odin-gold);
  }
  .odin-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
    min-width: 100px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--odin-ink);
    background: #fff;
    color: var(--odin-ink);
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 4px 4px 0 #d9ddd5;
    transform: translate(-50%, -50%);
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease, background 0.14s ease;
    cursor: default;
    outline: none;
  }
  .odin-node:hover,
  .odin-node:focus-visible {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 8px 8px 0 rgba(15,98,254,0.14);
    border-color: var(--odin-blue);
    z-index: 4;
  }
  .odin-node.parent {
    top: 20%;
    left: 50%;
    background: var(--odin-ink);
    color: #fff;
  }
  .odin-node.holdco {
    top: 42%;
    left: 50%;
    border-color: var(--odin-green);
    color: var(--odin-green);
  }
  .odin-node.issuer {
    top: 66%;
    left: 25%;
    border-color: var(--odin-blue);
    color: var(--odin-blue);
  }
  .odin-node.borrower {
    top: 66%;
    left: 50%;
    border-color: var(--odin-blue);
    color: var(--odin-blue);
  }
  .odin-node.guarantor {
    top: 66%;
    left: 75%;
    border-color: var(--odin-green);
    color: var(--odin-green);
  }
  .odin-node.restricted {
    top: 84%;
    left: 50%;
    border-color: var(--odin-gold);
    color: var(--odin-gold);
  }
  .odin-product-brief dl {
    margin: 0;
  }
  .odin-product-brief dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--odin-rule);
    font-size: 0.78rem;
  }
  .odin-product-brief dt {
    color: var(--odin-muted);
    font-weight: 500;
  }
  .odin-product-brief dd {
    margin: 0;
    color: var(--odin-ink);
    font-weight: 600;
    text-align: right;
  }
  .odin-section {
    padding: 82px 0;
  }
  .odin-landing #platform {
    width: min(1480px, calc(100% - 32px));
  }
  .odin-section-head {
    max-width: 900px;
    margin-bottom: 32px;
  }
  .odin-section h2,
  .odin-dark-section h2,
  .odin-final-cta h2 {
    margin: 0;
    font-size: clamp(2.2rem, 3.1vw, 2.75rem);
    font-weight: 600;
    line-height: 1.08;
  }
  .odin-module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
  }
  .odin-module-wrap {
    position: relative;
    border: 1px solid var(--odin-module-rule);
    background: #fff;
  }
  .odin-corner-marks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
  }
  .odin-corner-marks i {
    position: absolute;
    display: block;
    width: 8px;
    height: 8px;
    border: 1px solid var(--odin-module-rule);
    background: var(--odin-paper);
  }
  .odin-corner-marks .tl { top: -5px; left: -5px; }
  .odin-corner-marks .tr { top: -5px; right: -5px; }
  .odin-corner-marks .bl { bottom: -5px; left: -5px; }
  .odin-corner-marks .br { bottom: -5px; right: -5px; }
  .odin-module-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .odin-module-col > .odin-module-card {
    border-bottom: 1px solid var(--odin-module-rule);
  }
  .odin-module-col > .odin-module-card:last-child {
    border-bottom: 0;
  }
  .odin-module-grid > .odin-module-col:first-child > .odin-module-card {
    border-right: 1px solid var(--odin-module-rule);
  }
  .odin-module-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    background: #fff;
    position: relative;
  }
  .odin-module-card:focus-visible {
    z-index: 1;
    outline: 2px solid var(--odin-blue);
    outline-offset: -2px;
  }
  .odin-module-col:last-child > .odin-module-card:first-child {
    flex: 0 0 auto;
    min-height: 510px;
  }
  .odin-module-eyebrow {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--odin-module-rule);
    color: var(--odin-muted);
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
  }
  .odin-module-eyebrow small {
    color: var(--odin-blue);
    font-size: 0.86rem;
    font-weight: 500;
    text-transform: none;
  }
  .odin-module-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin: 22px 24px 8px;
  }
  .odin-module-title span {
    font-size: 1.42rem;
    font-weight: 600;
  }
  .odin-module-title small {
    color: var(--odin-blue);
    font-size: 0.98rem;
    font-weight: 500;
  }
  .odin-workflow-grid h3,
  .odin-step-list h3,
  .odin-compare h3 {
    margin: 16px 0 8px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
  }
  .odin-module-card p,
  .odin-workflow-grid p,
  .odin-step-list p,
  .odin-compare li,
  .odin-final-cta p {
    margin: 0;
    color: var(--odin-muted);
    font-size: 0.96rem;
    line-height: 1.55;
  }
  .odin-module-card p {
    margin: 0 24px 28px;
    font-size: 1.06rem;
    line-height: 1.58;
  }
  .odin-module-visual {
    min-height: 248px;
    background: #fbfbf8;
  }
  .odin-mini-snapshot {
    display: flex;
    padding: 16px;
  }
  .snapshot-mini-shell {
    display: flex;
    flex: 1;
    min-width: 0;
    min-height: 356px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--odin-module-rule);
    background: #fff;
  }
  .snapshot-mini-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    min-height: 32px;
    padding: 0 10px;
    border-bottom: 1px solid var(--odin-module-rule);
    background: #fbfbf8;
    color: var(--odin-ink);
    font-size: 0.72rem;
    font-weight: 700;
  }
  .snapshot-mini-toolbar strong,
  .snapshot-mini-toolbar em {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .snapshot-mini-toolbar strong {
    margin-left: 5px;
    font: inherit;
  }
  .snapshot-mini-toolbar em {
    margin-left: auto;
    color: var(--odin-muted);
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 600;
  }
  .snapshot-mini-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--odin-rule);
  }
  .snapshot-mini-dot:first-child { background: var(--odin-blue); }
  .snapshot-mini-dot:nth-child(2) { background: var(--odin-gold); }
  .snapshot-mini-dot:nth-child(3) { background: var(--odin-green); }
  .snapshot-mini-grid {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr) 168px;
    flex: 1;
    min-height: 0;
  }
  .snapshot-mini-list,
  .snapshot-mini-brief {
    background: #fbfbf8;
  }
  .snapshot-mini-list {
    display: grid;
    align-content: start;
    padding: 10px;
    border-right: 1px solid var(--odin-module-rule);
  }
  .snapshot-mini-list > span {
    display: block;
    min-width: 0;
    padding: 7px 0;
    border-top: 1px solid var(--odin-module-rule);
    color: var(--odin-ink);
    font-size: 0.74rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .snapshot-mini-list > span:first-child {
    border-top: 0;
  }
  .snapshot-mini-list > span.is-active {
    color: var(--odin-blue);
  }
  .snapshot-mini-list small {
    display: block;
    margin-top: 2px;
    color: var(--odin-muted);
    font-size: 0.58rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .snapshot-mini-map {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #fff;
  }
  .snapshot-mini-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: 20px 20px;
    background-image:
      linear-gradient(#eceee8 1px, transparent 1px),
      linear-gradient(90deg, #eceee8 1px, transparent 1px);
    opacity: 0.74;
  }
  .snapshot-mini-map svg {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
  }
  .snapshot-mini-map path {
    fill: none;
    stroke: #8e9799;
    stroke-width: 1.15;
    stroke-linecap: square;
    vector-effect: non-scaling-stroke;
  }
  .snapshot-mini-map path.gold {
    stroke: var(--odin-gold);
  }
  .mini-node {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    min-height: 26px;
    padding: 0 8px;
    border: 1px solid var(--odin-ink);
    background: #fff;
    color: var(--odin-ink);
    font-size: 0.66rem;
    font-weight: 700;
    transform: translate(-50%, -50%);
    box-shadow: 3px 3px 0 #d9ddd5;
    white-space: nowrap;
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease, background 0.14s ease;
  }
  .mini-node:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 6px 6px 0 rgba(15,98,254,0.14);
    border-color: var(--odin-blue);
    z-index: 4;
  }
  .mini-node.parent { top: 18%; left: 50%; background: var(--odin-ink); color: #fff; }
  .mini-node.holdco { top: 42%; left: 50%; border-color: var(--odin-green); color: var(--odin-green); }
  .mini-node.issuer { top: 72%; left: 24%; border-color: var(--odin-blue); color: var(--odin-blue); }
  .mini-node.borrower { top: 72%; left: 50%; border-color: var(--odin-blue); color: var(--odin-blue); }
  .mini-node.guarantor { top: 72%; left: 76%; border-color: var(--odin-green); color: var(--odin-green); }
  .mini-node.restricted { top: 90%; left: 50%; min-width: 72px; border-color: var(--odin-gold); color: var(--odin-gold); }
  .snapshot-mini-brief {
    padding: 10px;
    border-left: 1px solid var(--odin-module-rule);
  }
  .snapshot-mini-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 8px;
    border: 1px solid var(--odin-module-rule);
    background: #fff;
  }
  .snapshot-mini-tabs span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 24px;
    color: var(--odin-muted);
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .snapshot-mini-tabs span + span {
    border-left: 1px solid var(--odin-module-rule);
  }
  .snapshot-mini-tabs .is-active {
    background: var(--odin-blue);
    color: #fff;
  }
  .snapshot-mini-brief dl {
    margin: 0;
  }
  .snapshot-mini-brief dl div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid var(--odin-module-rule);
  }
  .snapshot-mini-brief dl div:first-child {
    border-top: 0;
  }
  .snapshot-mini-brief dt,
  .snapshot-mini-brief dd {
    min-width: 0;
    margin: 0;
    font-size: 0.64rem;
    line-height: 1.25;
  }
  .snapshot-mini-brief dt {
    flex: 0 0 54px;
    color: var(--odin-muted);
    font-weight: 600;
  }
  .snapshot-mini-brief dd {
    flex: 1 1 auto;
    color: var(--odin-ink);
    font-weight: 800;
    text-align: right;
    overflow-wrap: anywhere;
  }
  .odin-mini-deepdive {
    position: relative;
    padding: 26px;
    overflow: hidden;
  }
  .deep-query {
    max-width: 86%;
    padding: 12px 14px;
    background: var(--odin-ink);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
  }
  .deep-source {
    height: 12px;
    width: 72%;
    margin-top: 20px;
    background: #d5d9d1;
  }
  .deep-source.wide { width: 94%; background: var(--odin-blue); }
  .deep-source.short { width: 48%; background: var(--odin-green); }
  .deep-source-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
  }
  .deep-source-stack span {
    padding: 7px 9px;
    border: 1px solid var(--odin-module-rule);
    background: #fff;
    color: var(--odin-muted);
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
  }
  .deep-finding {
    position: absolute;
    right: 26px;
    bottom: 26px;
    padding: 10px 13px;
    border: 1px solid var(--odin-blue);
    background: #fff;
    color: var(--odin-blue);
    font-size: 0.82rem;
    font-weight: 600;
  }
  .odin-mini-pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 22px;
    background: #eef1ea;
  }
  .odin-mini-pricing div {
    min-width: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--odin-module-rule);
  }
  .odin-mini-pricing .pricing-band {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    background: #fbfbf8;
  }
  .odin-mini-pricing .pricing-band span {
    color: var(--odin-muted);
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
  }
  .odin-mini-pricing span,
  .odin-mini-pricing strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .odin-mini-pricing span {
    color: var(--odin-muted);
    font-size: 0.78rem;
    font-weight: 500;
  }
  .odin-mini-pricing strong {
    margin-top: 8px;
    color: var(--odin-ink);
    font-size: 1.24rem;
    font-weight: 600;
  }
  .odin-mini-secret {
    position: relative;
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 38px;
    background: var(--odin-ink);
  }
  .secret-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--odin-blue);
    color: #fff;
    font-size: 1.18rem;
    font-weight: 600;
  }
  .secret-line {
    height: 9px;
    width: 82%;
    background: rgba(255,255,255,0.28);
  }
  .secret-line.short {
    width: 54%;
  }
  .secret-grid {
    display: grid;
    grid-template-columns: repeat(4, 42px);
    gap: 8px;
  }
  .secret-grid span {
    width: 42px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.26);
    background: rgba(255,255,255,0.08);
  }
  .secret-lock {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,0.34);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
  }
  .odin-dark-section {
    background: var(--odin-navy);
    color: #fff;
    border-top: 1px solid #0d191d;
    border-bottom: 1px solid #0d191d;
  }
  .odin-dark-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 56px;
    padding: 82px 0;
  }
  .odin-dark-section .odin-kicker,
  .odin-dark-section p {
    color: #b9c2c1;
  }
  .odin-dark-section h2 {
    color: #fff;
  }
  .odin-dark-section > .odin-dark-inner > div > p:last-child {
    margin-top: 16px;
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.62;
  }
  .odin-workflow-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .odin-workflow-grid article {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.04);
  }
  .odin-workflow-grid code {
    display: inline-block;
    padding: 5px 7px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.72rem;
    font-family: "SF Mono", Monaco, Consolas, monospace;
  }
  .odin-workflow-grid h3 {
    color: #fff;
  }
  .odin-process {
    max-width: 930px;
  }
  .odin-step-list {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .odin-step-list li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
  .odin-step-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--odin-ink);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
  }
  .odin-step-list h3 {
    margin-top: 0;
  }
  .odin-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-top: 0;
  }
  .odin-compare-column {
    min-width: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--odin-rule);
  }
  .odin-compare-column + .odin-compare-column {
    border-left: 0;
  }
  .odin-compare-column h3 {
    margin-top: 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--odin-rule);
  }
  .odin-compare-strong h3 {
    border-bottom-color: var(--odin-blue);
  }
  .odin-compare ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .odin-compare li {
    position: relative;
    padding-left: 18px;
  }
  .odin-compare li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--odin-muted);
  }
  .odin-compare-strong li::before {
    content: "+";
    color: var(--odin-blue);
    font-weight: 600;
  }
  .odin-final-cta {
    padding: 76px 0 88px;
    text-align: center;
    border-top: 1px solid var(--odin-rule);
  }
  .odin-final-cta p:not(.odin-kicker) {
    max-width: 520px;
    margin: 14px auto 24px;
  }
  .odin-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    padding: 52px 48px 42px;
    background: var(--odin-blue);
    color: #fff;
  }
  .odin-footer-word {
    font-size: 7rem;
    font-weight: 650;
    line-height: 0.8;
  }
  .odin-footer-meta {
    display: grid;
    gap: 10px;
    justify-items: end;
    font-size: 0.82rem;
    font-weight: 500;
  }
  .odin-footer-meta a {
    border-bottom: 1px solid #fff;
  }

  @media (max-width: 1120px) {
    .odin-hero-line {
      font-size: 4.3rem;
    }
    .odin-hero-definition {
      max-width: 900px;
      font-size: 1.24rem;
    }
    .odin-product-grid {
      grid-template-columns: 190px minmax(0, 1fr);
    }
    .odin-product-brief {
      grid-column: 1 / -1;
      border-left: 0;
      border-top: 1px solid var(--odin-rule);
    }
    .odin-product-brief dl {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0;
    }
    .odin-product-brief dl div {
      padding-right: 14px;
    }
    .odin-module-grid {
      grid-template-columns: 1fr;
    }
    .odin-module-grid > .odin-module-col:first-child > .odin-module-card {
      border-right: 0;
    }
    .odin-module-col + .odin-module-col {
      border-top: 1px solid var(--odin-module-rule);
    }
    .odin-dark-inner {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  }

  @media (max-width: 820px) {
    .odin-nav {
      padding: 0 20px;
      gap: 12px;
    }
    .odin-nav-links {
      display: none;
    }
    .odin-nav-action {
      min-height: 34px;
      padding: 0 12px;
      font-size: 0.76rem;
    }
    .odin-hero {
      padding: 48px 20px 34px;
    }
    .odin-hero-copy,
    .odin-section,
    .odin-dark-inner,
    .odin-final-cta {
      width: calc(100% - 40px);
    }
    .odin-hero-line {
      font-size: 2.45rem;
      line-height: 1.06;
    }
    .odin-hero-definition {
      font-size: 1.05rem;
    }
    .odin-product-frame {
      width: calc(100% - 40px);
      margin-top: 34px;
      box-shadow: 6px 6px 0 #dfe3db;
    }
    .odin-product-status {
      display: none;
    }
    .odin-product-grid {
      grid-template-columns: 1fr;
    }
    .odin-product-list {
      border-right: 0;
      border-bottom: 1px solid var(--odin-rule);
    }
    .odin-product-canvas {
      min-height: 360px;
    }
    .odin-node {
      min-width: 88px;
      min-height: 34px;
      font-size: 0.72rem;
    }
    .odin-product-brief dl {
      grid-template-columns: 1fr 1fr;
    }
    .odin-section {
      padding: 58px 0;
    }
    .odin-landing #platform {
      width: calc(100% - 40px);
    }
    .odin-section h2,
    .odin-dark-section h2,
    .odin-final-cta h2 {
      font-size: 1.65rem;
    }
    .odin-module-grid,
    .odin-compare {
      grid-template-columns: 1fr;
    }
    .odin-module-col + .odin-module-col {
      border-left: 0;
      border-top: 1px solid var(--odin-module-rule);
    }
    .odin-module-col:last-child > .odin-module-card:first-child {
      min-height: 0;
    }
    .odin-compare-column + .odin-compare-column {
      border-left: 1px solid var(--odin-rule);
      border-top: 0;
    }
    .odin-dark-inner {
      padding: 58px 0;
    }
    .odin-footer {
      display: block;
      padding: 38px 20px 32px;
    }
    .odin-footer-word {
      font-size: 4.8rem;
    }
    .odin-footer-meta {
      justify-items: start;
      margin-top: 28px;
    }
  }

  @media (max-width: 640px) {
    .snapshot-mini-grid {
      grid-template-columns: 96px minmax(0, 1fr);
    }
    .snapshot-mini-brief {
      display: none;
    }
  }

  @media (max-width: 520px) {
    .odin-hero-line {
      font-size: 2.05rem;
    }
    .odin-hero-actions {
      display: grid;
      grid-template-columns: 1fr;
    }
    .odin-primary-link,
    .odin-secondary-link {
      width: 100%;
    }
    .odin-product-toolbar {
      gap: 5px;
      padding: 0 10px;
    }
    .odin-product-title {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .odin-product-canvas {
      min-height: 320px;
    }
    .odin-node {
      min-width: 74px;
      padding: 0 8px;
      font-size: 0.66rem;
    }
    .odin-product-brief dl {
      grid-template-columns: 1fr;
    }
    .odin-compare-column {
      padding: 18px;
    }
    .odin-module-visual {
      min-height: 124px;
    }
    .snapshot-mini-shell {
      min-height: 260px;
    }
    .mini-node {
      min-width: 44px;
      min-height: 20px;
      padding: 0 5px;
      font-size: 0.5rem;
      box-shadow: 2px 2px 0 #d9ddd5;
    }
    .mini-node.restricted {
      min-width: 54px;
    }
    .odin-step-list li {
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 12px;
    }
    .odin-footer-word {
      font-size: 3.7rem;
    }
  }

  /* PRINT */
  .print-header { display: none; }
  @media print {
    @page { size: landscape; margin: 12mm; }
    .topbar, .sidebar, .legend-bar, .chart-expand, .print-exit-btn,
    .finance-panel, .tool-btn:not(#btn-print), .zoom-controls, .chart-search,
    .export-dropdown, .toolbar-menu, .flag-overlays, .theme-toggle,
    .jurisdiction-filter, .chain-panel, .note-indicator { display: none !important; }
    #btn-print { display: none !important; }
    .print-header {
      display: block !important; padding: 0 0 6px; margin: 0 0 8px;
      border-bottom: 1.5px solid #cbd5e1; font-family: 'Inter', system-ui, sans-serif;
    }
    .print-header-title { font-size: 14pt; font-weight: 700; color: #1e293b; margin: 0; }
    .print-header-meta { font-size: 8pt; color: #64748b; margin: 2px 0 0; }
    .app { display: block !important; }
    .center-col { display: none !important; }
    .chart-col {
      width: 100% !important; min-width: 100% !important;
      max-width: 100% !important; flex: none !important;
      height: auto !important; min-height: 180mm;
    }
    .card { break-inside: avoid; }
    body { overflow: visible !important; height: auto !important; background: #fff !important; }
    body[data-theme="dark"] { --bg-body: #fff; --text-primary: #1e293b; --bg-card: #fff; --border: #e2e8f0; --bg-chart: #fff; }
    .cyto-container { background: #fff !important; }
  }
