:root {
  --ink: #0a0a0b;
  --panel: #151516;
  --panel-hover: #1a1a1c;
  --line: #2b2c2e;
  --line-strong: #353638;
  --text: #f2f2f0;
  --muted: #8b8c90;
  --muted-strong: #b4b5b7;
  --signal: #18d391;
  --signal-wash: rgba(24, 211, 145, 0.07);
  --buy: #14c77a;
  --sell: #ff4f59;
  --sell-wash: rgba(156, 44, 42, 0.17);
  color: var(--text);
  background: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body { min-width: 320px; min-height: 100dvh; margin: 0; background: var(--ink); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

.terminal-shell { min-height: 100dvh; padding: 0 24px 18px; }

.funding-topbar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 30px;
}

.brand-name {
  color: var(--text);
  font: 720 16px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -.04em;
}

.workspace-nav {
  display: flex;
  min-height: 78px;
  align-items: stretch;
  gap: 24px;
}

.workspace-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: #77787c;
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .06em;
}

.workspace-nav a:hover,
.workspace-nav a.is-active { color: var(--text); }

.workspace-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--signal);
}

.funding-heading {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 25px 4px;
}

.surface-label {
  color: var(--signal);
  font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .12em;
}

.funding-heading h1 {
  max-width: 18ch;
  margin: 10px 0 7px;
  color: var(--text);
  font-size: clamp(29px, 3vw, 44px);
  font-weight: 690;
  line-height: 1;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.funding-heading p {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.funding-context {
  display: grid;
  min-width: 294px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 18px;
  border-left: 1px solid var(--line-strong);
  padding: 6px 0 6px 20px;
}

.funding-context > span {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--muted);
  font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.funding-context strong {
  color: var(--signal);
  font: 680 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.funding-context small {
  color: #77787c;
  font-size: 9px;
  line-height: 1.35;
}

.funding-toolbar {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: #111112;
  padding: 11px 12px;
}

.toolbar-group {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.collector-pill { display: flex; align-items: center; gap: 10px; min-width: 238px; min-height: 55px; border: 1px solid rgba(24, 211, 145, 0.35); border-radius: 11px; background: rgba(24, 211, 145, 0.045); color: var(--text); padding: 8px 13px; text-align: left; transition: background .16s ease, border-color .16s ease; }
.collector-pill:hover { border-color: var(--signal); background: rgba(24, 211, 145, 0.09); }
.collector-flash { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; background: rgba(24, 211, 145, 0.13); color: var(--signal); font: 800 22px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.collector-pill b, .collector-pill small { display: block; }.collector-pill b { color: #dcfef0; font-size: 12px; }.collector-pill small { margin-top: 3px; color: var(--muted); font-size: 10px; }.rail-arrow { margin-left: auto; color: var(--signal); font: 700 19px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.search-box { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 220px; height: 55px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--panel); padding: 0 13px 0 18px; transition: border-color .16s ease, background .16s ease; }.search-box:focus-within { border-color: #4b4c4f; background: var(--panel-hover); }.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 600 15px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.02em; }.search-box input::placeholder { color: #999a9d; }.search-box kbd { color: #77787b; font: 650 11px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tool-button, .exchange-button { min-height: 55px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--panel); color: #e8e8e6; padding: 0 17px; font: 650 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; transition: background .16s ease, border-color .16s ease; }.tool-button:hover, .exchange-button:hover { border-color: #56575a; background: var(--panel-hover); }.tool-button span { color: var(--signal); margin-left: 7px; }.exchange-filter { position: relative; }.exchange-button { display: flex; align-items: center; gap: 9px; min-width: 187px; justify-content: space-between; }.exchange-button i, .feed-label i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(24,211,145,.1); }.exchange-button.is-empty i { background: #5f6063; box-shadow: none; }.exchange-button[aria-expanded="true"] { border-color: rgba(24,211,145,.6); background: #18201e; }.exchange-button #exchangeButtonLabel { margin: 0 auto 0 0; color: #e8e8e6; }.exchange-chevron { margin-left: 7px; color: #b5b6b9; transition: transform .18s cubic-bezier(.16,1,.3,1); }.exchange-button[aria-expanded="true"] .exchange-chevron { transform: rotate(180deg); }
.exchange-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; width: min(310px, calc(100vw - 44px)); border: 1px solid #3b3d3f; border-radius: 11px; background: #121313; color: var(--text); box-shadow: 0 16px 38px rgba(0,0,0,.42); overflow: hidden; }
.exchange-menu[hidden] { display: none; }
.exchange-menu > header, .exchange-menu > footer { display: flex; align-items: center; justify-content: space-between; min-height: 43px; padding: 0 13px; }
.exchange-menu > header { border-bottom: 1px solid var(--line); color: #e0e1de; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }
.exchange-menu > footer { border-top: 1px solid var(--line); color: #85868a; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.exchange-menu > header button, .exchange-menu > footer button { min-height: 29px; border: 0; border-radius: 6px; background: transparent; color: #8ff0ca; padding: 0 7px; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.exchange-menu > header button:hover, .exchange-menu > footer button:hover { background: rgba(24,211,145,.09); color: #c9ffeb; }
.exchange-options { padding: 6px; }
.exchange-options label { display: grid; grid-template-columns: 18px 32px minmax(0,1fr); align-items: center; gap: 10px; min-height: 50px; border-radius: 8px; padding: 5px 8px; cursor: pointer; transition: background .14s ease; }
.exchange-options label:hover { background: #202221; }
.exchange-options label:focus-within { outline: 2px solid var(--signal); outline-offset: -2px; }
.exchange-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--signal); }
.exchange-options label > span:last-child { min-width: 0; }
.exchange-options b, .exchange-options small { display: block; }
.exchange-options b { color: #eeefec; font: 700 11px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.exchange-options small { margin-top: 4px; color: #77797c; font: 600 8px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.exchange-option-icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #383a3c; background: #080909; overflow: hidden; }
.exchange-option-icon img { display: block; width: 24px; height: 24px; object-fit: contain; }
.decibel-option-icon { background: #e8ff17; }
.venue-heading[hidden] { display: none; }
.member-button { display: flex; align-items: center; gap: 10px; min-width: 220px; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); color: var(--text); padding: 0 12px; transition: background .16s ease, border-color .16s ease; }.member-button:hover { border-color: #56575a; background: var(--panel-hover); }.member-avatar { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border: 1px solid #4a4b4e; border-radius: 50%; color: #d7d8d8; font: 750 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }.member-label { min-width: 0; }.member-label b, .member-label small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.member-label b { max-width: 140px; color: #e8e8e6; font: 680 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }.member-label small { max-width: 148px; margin-top: 4px; color: #87888b; font: 600 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }.member-button > i { width: 7px; height: 7px; flex: 0 0 7px; margin-left: auto; border-radius: 50%; background: #5f6063; }.member-button.is-live { border-color: rgba(24, 211, 145, .34); }.member-button.is-live .member-avatar { border-color: rgba(24, 211, 145, .4); color: var(--signal); }.member-button.is-live > i { background: var(--signal); box-shadow: 0 0 0 3px rgba(24,211,145,.1); }

.apy-range-control { display: inline-flex; align-items: center; min-height: 55px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--panel); padding: 5px; white-space: nowrap; }
.apy-range-control button { min-width: 35px; min-height: 43px; border: 0; border-radius: 7px; background: transparent; color: #85868a; padding: 0 7px; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; transition: background .16s ease, color .16s ease; }
.apy-range-control button:hover { background: #252628; color: #e8e8e6; }
.apy-range-control button.is-active { background: #263b34; color: #8ff0ca; }

.matrix-wrap { margin-top: 12px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }.matrix-scroll { max-height: 70dvh; overflow: auto; overscroll-behavior: contain; }.funding-matrix { width: 100%; min-width: 1130px; border-spacing: 0; border-collapse: collapse; table-layout: fixed; }.funding-matrix th { position: sticky; top: 0; z-index: 3; height: 102px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--panel); color: #e4e4e1; font: 700 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.03em; text-align: left; }.funding-matrix th:last-child { border-right: 0; }.funding-matrix th:nth-child(1) { width: 76px; }.funding-matrix th:nth-child(2) { width: 172px; }.funding-matrix th:nth-child(3) { width: 100px; }.funding-matrix th:nth-child(4) { width: 122px; }.funding-matrix th:nth-child(5) { width: 142px; }.funding-matrix th:nth-child(6) { width: 112px; }.favorite-heading, .align-center { text-align: center !important; }.funding-matrix th small { display: block; margin-top: 4px; color: var(--muted); font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; }.favorite-heading { color: #a6a7aa !important; font-size: 26px !important; font-weight: 400 !important; }.sortable-heading { padding: 0 !important; }.sortable-heading.is-active { background: #171b19; box-shadow: inset 0 -2px var(--signal); }.sort-heading-button { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 0; background: transparent; color: #d6d7d4; padding: 0 10px; font: inherit; letter-spacing: inherit; text-align: inherit; transition: background .15s ease, color .15s ease; }.sort-heading-button:hover { background: #202321; color: #f5f5f1; }.sort-heading-button:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--signal); outline-offset: -3px; }.sort-heading-left { justify-content: flex-start; padding-left: 24px; }.sort-heading-stacked, .venue-sort-button { flex-direction: column; gap: 0; }.sort-heading-stacked > span { display: inline-flex; align-items: center; gap: 6px; }.sort-indicator { color: #737579; font: 750 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; }.sortable-heading.is-active .sort-indicator { color: var(--signal); }.sortable-heading.is-active .sort-heading-button { color: #f4f4f0; }.venue-heading { padding: 0; text-align: center !important; }.venue-heading-label { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: #a6a7a9; font-size: 12px; letter-spacing: .02em; }.venue-sort-button { padding: 8px 12px 7px; }.venue-sort-button small { margin-top: 3px !important; }.venue-logo { display: grid; place-items: center; width: 36px !important; min-width: 36px; max-width: 36px; height: 36px !important; min-height: 36px; max-height: 36px; margin: 0 auto; overflow: hidden; }.venue-logo img { display: block; width: 36px; height: 36px; object-fit: contain; flex: none; }
.funding-matrix td { height: 63px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--panel); color: var(--text); text-align: center; }.funding-matrix td:last-child { border-right: 0; }.funding-matrix tbody tr { cursor: pointer; transition: background .15s ease; }.funding-matrix tbody tr:hover td { background: var(--panel-hover); }.funding-matrix tbody tr.selected td { background: #18201e; }.funding-matrix tbody tr.selected td:first-child { box-shadow: inset 2px 0 var(--signal); }.funding-matrix tbody tr:last-child td { border-bottom: 0; }
.empty-row { height: 116px !important; color: var(--muted) !important; font: 600 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.favorite-heading { padding: 0 !important; }.favorite-filter { width: 100%; height: 100%; border: 0; border-radius: 0; background: transparent; color: #77787b; font: 400 26px/1 ui-sans-serif, sans-serif; transition: background .15s ease, color .15s ease; }.favorite-filter:hover { background: #202321; color: #e5e5d8; }.favorite-filter:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--signal); outline-offset: -3px; }.favorite-filter.is-active { background: #1b211f; color: #f0e58c; box-shadow: inset 0 -2px var(--signal); }
.favorite-cell { padding: 0; }.favorite-toggle { width: 100%; height: 62px; border: 0; background: transparent; color: #303134; font: 400 23px/1 ui-sans-serif, sans-serif; transition: color .15s ease, transform .15s ease; }.favorite-toggle:hover { color: #c7c8c8; transform: scale(1.08); }.favorite-toggle.is-favorite { color: #e5e5d8; }.symbol-cell { text-align: left !important; padding-left: 24px; }.symbol-cell strong { display: block; color: #f4f4f1; font: 750 15px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.04em; }.symbol-cell small { display: block; margin-top: 5px; color: #77787c; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }.rank-cell { color: #e4e4e1; font: 650 14px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }.diff-cell { color: #dededb; font: 650 14px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.04em; }.diff-cell small { display: block; margin-top: 5px; color: #707176; font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }.arb-cell { color: var(--signal) !important; font: 700 15px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.04em; }.apy-cell small { display: block; margin-top: 5px; color: #727478; font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0; }.apy-cell.is-sparse { color: #c6c7c0 !important; }.apy-cell.is-negative { color: var(--sell) !important; }.apy-cell.is-empty { color: #646569 !important; }
.action-stack { display: inline-flex; align-items: center; gap: 4px; }
.action-trade-state { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.action-trade-state > small { color: #77787b; font: 650 7px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.action-button { min-width: 46px; min-height: 28px; border: 0; border-radius: 6px; background: transparent; color: #a6a7aa; padding: 0 7px; font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.action-button:hover { background: #27282a; color: var(--text); }
.action-button.trade { border: 1px solid rgba(24, 211, 145, .36); color: #8ff0ca; }
.action-button.trade:hover { border-color: var(--signal); background: rgba(24, 211, 145, .10); color: #c9ffeb; }
.action-button.trade.is-active { border-color: #b6a65d; background: rgba(183, 159, 55, .08); color: #e4d788; }
.action-button.trade.is-add { border-color: rgba(24, 211, 145, .54); background: rgba(24, 211, 145, .08); color: #9ff4d3; }
.action-button.trade.is-opening { border-color: rgba(255, 79, 89, .48); color: #ff9da3; }
.action-button.trade.is-closed { border-color: #555047; color: #bcb190; }
.funding-cell { padding: 0 24px; }.funding-cell.extreme { background: var(--sell-wash); }.funding-value { display: inline-flex; align-items: center; gap: 8px; color: #ededeb; font: 650 15px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.04em; }.funding-value.payer { color: var(--sell); }.funding-value.receiver { color: #e5e5e2; }.direction-tag { display: inline-flex; align-items: center; min-height: 19px; border-radius: 5px; padding: 0 5px; color: #07140e; font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: -.03em; }.direction-tag.buy { background: var(--buy); }.direction-tag.sell { background: var(--sell); color: #fff5f5; }.rate-period { display: block; margin-top: 5px; color: #6f7074; font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.matrix-footer { display: flex; align-items: center; min-height: 43px; border-top: 1px solid var(--line); background: #111112; color: #75767a; padding: 0 14px; font: 600 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .015em; }.matrix-footer > :nth-child(2) { margin-left: auto; padding-right: 18px; }.feed-label { display: inline-flex; align-items: center; gap: 7px; color: #9b9c9f; }.feed-label.is-live { color: #b8ead8; }.feed-label.is-live i { background: var(--signal); }
.legal-strip { display: flex; justify-content: space-between; gap: 20px; padding: 13px 4px 0; color: #68696d; font-size: 10px; line-height: 1.4; }.legal-strip span:last-child { text-align: right; }.toast { position: fixed; z-index: 20; right: 24px; bottom: 24px; max-width: 360px; transform: translateY(9px); border: 1px solid #3a3b3e; border-radius: 9px; background: #1c1d1f; color: #e4e4e1; opacity: 0; padding: 12px 14px; pointer-events: none; box-shadow: 0 14px 34px rgba(0,0,0,.38); font: 600 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; transition: opacity .18s ease, transform .18s ease; }.toast.show { transform: translateY(0); opacity: 1; }.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.trade-dialog {
  width: min(960px, calc(100vw - 32px));
  max-height: min(900px, calc(100dvh - 32px));
  border: 1px solid #404144;
  border-radius: 12px;
  background: #111112;
  color: var(--text);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .62);
}
.trade-dialog::backdrop { background: rgba(0, 0, 0, .76); }
.trade-dialog[open] { animation: trade-dialog-in .18s cubic-bezier(.16, 1, .3, 1); }
@keyframes trade-dialog-in {
  from { transform: translateY(10px); opacity: .65; }
  to { transform: translateY(0); opacity: 1; }
}
.trade-dialog-shell { display: block; max-height: min(900px, calc(100dvh - 32px)); overflow: auto; }
.trade-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 24px 26px 21px; }
.trade-dialog-header h2 { margin: 7px 0 0; color: #f5f5f1; font-size: 27px; line-height: 1.05; letter-spacing: -.03em; }
.trade-dialog-header p { max-width: 66ch; margin: 9px 0 0; color: #919296; font-size: 12px; line-height: 1.5; }
.trade-dialog-close { width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid var(--line-strong); border-radius: 8px; background: #171718; color: #a9aaad; font-size: 22px; line-height: 1; }
.trade-dialog-close:hover { border-color: #5a5b5e; color: #fff; }

.trade-route { display: grid; grid-template-columns: 1fr 170px 1fr; border-bottom: 1px solid var(--line); }
.trade-route > div { min-width: 0; padding: 18px 22px; text-align: center; }
.trade-route > div + div { border-left: 1px solid var(--line); }
.trade-route span, .trade-route small { display: block; color: #77787c; font: 650 9px/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-route strong { display: block; margin: 8px 0 6px; color: #f0f0ed; font: 760 17px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: uppercase; }
.trade-route-leg.buy { background: rgba(20, 199, 122, .065); }
.trade-route-leg.sell { background: rgba(255, 79, 89, .06); }
.trade-route-leg.buy strong { color: #65e7b0; }
.trade-route-leg.sell strong { color: #ff858d; }
.trade-route-spread strong { color: var(--signal); }
.trade-route-reverse {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--panel);
  color: var(--muted-strong);
  padding: 0 10px;
  font: 750 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.trade-route-reverse span { color: inherit; font-size: 14px; line-height: 1; }
.trade-route-reverse b { font: inherit; }
.trade-route-reverse:hover:not(:disabled) { border-color: var(--muted); color: var(--text); }
.trade-route-reverse:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.trade-route-reverse.is-active { border-color: var(--signal); background: var(--signal-wash); color: var(--signal); }
.trade-route-reverse:disabled { cursor: not-allowed; opacity: .42; }

.trade-order-books { border-bottom: 1px solid var(--line); padding: 19px 26px 21px; }
.trade-order-books-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.trade-order-books-header h3 { margin: 0; color: #e8e8e4; font-size: 13px; line-height: 1.2; }
.trade-order-books-header p { margin: 5px 0 0; color: #77787c; font-size: 9px; line-height: 1.45; }
.trade-order-books-header > span { flex: 0 0 auto; color: #88898c; font: 700 9px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-order-books-header > span.is-live { color: #74e8bb; }
.trade-order-books-header > span.is-partial { color: #e1ca72; }
.trade-order-books-header > span.is-error { color: #ff858d; }
.trade-order-book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #343538; }
.trade-order-book { min-width: 0; background: #0e0e0f; }
.trade-order-book + .trade-order-book { border-left: 1px solid #343538; }
.trade-order-book > header { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 57px; border-bottom: 1px solid #2f3032; padding: 0 13px; }
.trade-book-mark { display: grid; width: 28px; height: 28px; place-items: center; overflow: hidden; }
.trade-book-mark img { display: block; width: 28px; height: 28px; object-fit: contain; }
.trade-order-book > header strong, .trade-order-book > header small { display: block; }
.trade-order-book > header strong { color: #efefec; font-size: 12px; line-height: 1.2; }
.trade-order-book > header small { margin-top: 4px; color: #85868a; font: 700 8px/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-book-state { border: 1px solid #3b3c3e; color: #999a9d; padding: 5px 7px; font: 750 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-order-book.is-buy .trade-book-state { border-color: rgba(24, 211, 145, .34); color: #75e7bb; }
.trade-order-book.is-sell .trade-book-state { border-color: rgba(255, 79, 89, .32); color: #ff8c93; }
.trade-order-book .trade-book-state.is-stale { border-color: #6f6127; color: #e1ca72; }
.trade-order-book.is-error .trade-book-state { border-color: #653338; color: #ff858d; }
.trade-order-book.is-loading .trade-book-state { border-color: #414246; color: #98999d; }
.trade-book-best { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; border-bottom: 1px solid #2a2b2d; padding: 10px 13px; }
.trade-book-best > div { min-width: 0; }
.trade-book-best span, .trade-book-best small { display: block; font: 700 8px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-book-best span { color: #77787c; }
.trade-book-best strong { display: block; margin-top: 5px; color: #f0f0ed; font: 800 21px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.trade-book-best small { flex: 0 0 auto; color: #77787c; text-align: right; }
.trade-order-book.is-buy .trade-book-best { background: linear-gradient(90deg, rgba(20, 199, 122, .09), rgba(20, 199, 122, .015) 68%, transparent); }
.trade-order-book.is-sell .trade-book-best { background: linear-gradient(90deg, rgba(255, 79, 89, .085), rgba(255, 79, 89, .012) 68%, transparent); }
.trade-order-book.is-buy .trade-book-best strong { color: #65e7b0; }
.trade-order-book.is-sell .trade-book-best strong { color: #ff858d; }
.trade-order-book table { width: 100%; table-layout: fixed; border-collapse: collapse; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-order-book th, .trade-order-book td { text-align: right; }
.trade-order-book th:first-child, .trade-order-book td:first-child { text-align: left; }
.trade-order-book th { height: 30px; border-bottom: 1px solid #242527; color: #65666a; padding: 0 13px; font-size: 8px; font-weight: 700; }
.trade-order-book td { position: relative; z-index: 1; height: 34px; border-bottom: 1px solid #202123; color: #b9b9b6; padding: 0 13px; background: transparent; font-size: 10px; font-weight: 650; font-variant-numeric: tabular-nums; }
.trade-book-level { --depth: 0%; background-repeat: no-repeat; background-size: 100% 100%; }
.trade-order-book.is-buy .trade-book-level { background-image: linear-gradient(90deg, rgba(20, 199, 122, .23) 0%, rgba(20, 199, 122, .08) var(--depth), transparent var(--depth), transparent 100%); }
.trade-order-book.is-sell .trade-book-level { background-image: linear-gradient(90deg, rgba(255, 79, 89, .21) 0%, rgba(255, 79, 89, .075) var(--depth), transparent var(--depth), transparent 100%); }
.trade-book-level.is-best td { font-weight: 780; }
.trade-book-price { display: inline-flex; align-items: center; gap: 6px; }
.trade-book-price em { border: 1px solid currentColor; padding: 2px 4px; opacity: .72; font: 750 7px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; }
.trade-order-book.is-buy td:first-child { color: #65dcae; }
.trade-order-book.is-sell td:first-child { color: #ff8189; }
.trade-order-book tbody tr:last-child td { border-bottom: 0; }
.trade-order-book tbody tr:hover td { background: rgba(255, 255, 255, .018); }
.trade-order-book .trade-book-message td { height: 150px; color: #68696d; text-align: center; }
.trade-order-book > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 35px; border-top: 1px solid #2a2b2d; color: #6f7074; padding: 0 13px; font: 650 8px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-order-book-note { margin: 10px 0 0; color: #65666a; font-size: 8px; line-height: 1.45; }

.trade-auth-recovery { margin: 20px 26px 0; border: 1px solid #6f6127; background: rgba(147, 121, 20, .10); padding: 15px 17px; }
.trade-auth-recovery strong { color: #f2dd7d; font-size: 13px; }
.trade-auth-recovery p { margin: 6px 0 0; color: #c5b971; font-size: 11px; line-height: 1.45; }
.trade-auth-recovery a { display: inline-flex; margin-top: 10px; color: #f1df88; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-auth-recovery a[hidden] { display: none; }

.trade-trigger-mode {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  margin: 20px 26px 0;
  border: 1px solid #3a3b3e;
  background: #121213;
  padding: 14px 15px;
  cursor: pointer;
}
.trade-trigger-mode:hover { border-color: #505155; }
.trade-trigger-mode:focus-within { outline: 2px solid var(--signal); outline-offset: 2px; }
.trade-trigger-mode input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--signal); }
.trade-trigger-mode span, .trade-trigger-mode strong, .trade-trigger-mode small { display: block; min-width: 0; }
.trade-trigger-mode strong { color: #dededb; font-size: 11px; line-height: 1.25; }
.trade-trigger-mode small { margin-top: 5px; color: #77787c; font-size: 9px; line-height: 1.5; }
.trade-trigger-mode em { align-self: center; border: 1px solid #48494c; color: #929397; padding: 5px 7px; font: 750 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; white-space: nowrap; }
.trade-trigger-mode.is-active { border-color: rgba(24, 211, 145, .45); background: rgba(24, 211, 145, .055); }
.trade-trigger-mode.is-active strong { color: #9ff4d3; }
.trade-trigger-mode.is-active em { border-color: rgba(24, 211, 145, .42); color: #78e8bd; }
.trade-trigger-mode.is-disabled { cursor: not-allowed; opacity: .48; }
.trade-protection-toggle { margin-top: 10px; }
.trade-protection-toggle.is-active { border-color: rgba(239, 192, 74, .42); background: rgba(239, 192, 74, .045); }
.trade-protection-toggle.is-active strong { color: #f1d889; }
.trade-protection-toggle.is-active em { border-color: rgba(239, 192, 74, .38); color: #e2c76f; }

.trade-protection-fields { margin: 18px 26px 0; border: 1px solid #423d2b; background: rgba(145, 119, 31, .035); }
.trade-protection-fields[hidden] { display: none; }
.trade-protection-fields > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; border-bottom: 1px solid #353225; padding: 13px 15px; }
.trade-protection-fields > header div { min-width: 0; }
.trade-protection-fields > header span, .trade-protection-fields > header strong { display: block; }
.trade-protection-fields > header span { color: #bda85d; font: 750 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-protection-fields > header strong { margin-top: 6px; color: #ded5b5; font-size: 11px; }
.trade-protection-fields > header p { max-width: 430px; margin: 0; color: #85806e; font-size: 9px; line-height: 1.5; text-align: right; }
.trade-protection-fields > .trade-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 15px; }
.trade-protection-fields.is-disabled { opacity: .48; }

.trade-spread-backtest { margin: 12px 26px 0; border: 1px solid var(--line-strong); background: var(--panel); }
.trade-spread-backtest[hidden] { display: none; }
.trade-spread-backtest > header { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 14px; }
.trade-spread-backtest > header div { min-width: 0; }
.trade-spread-backtest > header span, .trade-spread-backtest > header strong { display: block; }
.trade-spread-backtest > header span { color: var(--signal); font: 750 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-spread-backtest > header strong { margin-top: 6px; overflow-wrap: anywhere; color: var(--muted-strong); font: 680 9px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-spread-backtest > header a { flex: 0 0 auto; color: var(--signal); font: 720 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-spread-backtest > header a:hover { color: var(--text); }
.trade-spread-backtest-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.trade-spread-backtest-metrics > div { min-width: 0; min-height: 72px; padding: 11px 13px; }
.trade-spread-backtest-metrics > div + div { border-left: 1px solid var(--line); }
.trade-spread-backtest-metrics span, .trade-spread-backtest-metrics strong, .trade-spread-backtest-metrics small { display: block; overflow-wrap: anywhere; }
.trade-spread-backtest-metrics span { color: var(--muted); font-size: 8px; }
.trade-spread-backtest-metrics strong { margin-top: 9px; color: var(--text); font: 760 15px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.trade-spread-backtest-metrics strong.is-positive { color: var(--signal); }
.trade-spread-backtest-metrics strong.is-negative { color: var(--sell); }
.trade-spread-backtest-metrics small { margin-top: 7px; color: var(--muted); font-size: 7px; line-height: 1.35; }
.trade-spread-backtest > p { margin: 0; border-top: 1px solid var(--line); color: var(--muted); padding: 9px 14px; font-size: 8px; line-height: 1.45; overflow-wrap: anywhere; }
.trade-spread-backtest.is-ready { border-color: rgba(24, 211, 145, .42); }
.trade-spread-backtest.is-error { border-color: rgba(255, 79, 89, .45); }
.trade-spread-backtest.is-error > header span, .trade-spread-backtest.is-error > p { color: var(--sell); }
.trade-spread-backtest[aria-busy="true"] > header span { color: var(--muted-strong); }

.trade-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; padding: 22px 26px 0; }
.trade-field { min-width: 0; }
.trade-field > span:first-child { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: #d1d2cf; font-size: 11px; font-weight: 680; }
.trade-field > span:first-child b { color: #74757a; font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-input-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 30px; align-items: center; min-height: 48px; border: 1px solid #3a3b3e; border-radius: 9px; background: #151516; }
.trade-input-wrap.prefixed { grid-template-columns: 30px minmax(0, 1fr); }
.trade-input-wrap:focus-within { border-color: var(--signal); }
.trade-input-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #f3f3f0; padding: 0 12px; font: 700 15px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-input-wrap i { color: #77787b; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; text-align: center; }
.trade-field > small { display: block; margin-top: 7px; color: #747579; font-size: 9px; line-height: 1.45; }
.trade-field > small.is-ready { color: #72dcb1; }
.trade-field > small.is-waiting { color: #e1ca72; }
.trade-field.is-ignored { opacity: .45; }
.trade-field.is-ignored .trade-input-wrap { background: #101011; }
.trade-fields[aria-disabled="true"] { opacity: .48; pointer-events: none; }

.trade-safety { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px 26px 0; border: 1px solid var(--line); }
.trade-safety > div { min-width: 0; padding: 14px 15px; }
.trade-safety > div + div { border-left: 1px solid var(--line); }
.trade-safety strong { color: #d7d8d5; font-size: 10px; }
.trade-safety p { margin: 6px 0 0; color: #77787d; font-size: 9px; line-height: 1.5; }

.trade-intent-status { margin: 20px 26px 0; border: 1px solid #4d472d; background: rgba(173, 145, 38, .055); padding: 14px 15px; }
.trade-intent-status > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.trade-intent-status span { color: #d8c875; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-intent-status strong { color: #f0e4a8; font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-intent-status p { margin: 10px 0 0; color: #b0a982; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.trade-intent-status textarea { width: 100%; height: 108px; resize: vertical; margin-top: 12px; border: 1px solid #39382f; border-radius: 7px; background: #0d0d0e; color: #b9b6a6; padding: 10px 11px; font: 600 9px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }
.trade-intent-status.is-danger { border-color: rgba(255, 79, 89, .48); background: rgba(255, 79, 89, .05); }
.trade-intent-status.is-danger span, .trade-intent-status.is-danger strong { color: #ff9aa1; }
.trade-intent-status.is-live { border-color: rgba(24, 211, 145, .4); background: rgba(24, 211, 145, .055); }
.trade-intent-status.is-live span, .trade-intent-status.is-live strong { color: #8ff0ca; }

.trade-confirmation { display: flex; align-items: flex-start; gap: 11px; margin: 20px 26px 0; border-top: 1px solid var(--line); padding-top: 17px; color: #aaa9a4; font-size: 10px; line-height: 1.5; }
.trade-confirmation input { width: 16px; height: 16px; flex: 0 0 16px; margin: 0; accent-color: var(--signal); }
.trade-confirmation[hidden] { display: none; }
.trade-form-error { margin: 14px 26px 0; border: 1px solid rgba(255, 79, 89, .45); background: rgba(255, 79, 89, .06); color: #ff9ba1; padding: 10px 12px; font-size: 10px; line-height: 1.45; }
.trade-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; border-top: 1px solid var(--line); background: #0f0f10; padding: 16px 26px; }
.trade-secondary-button, .trade-primary-button { min-height: 42px; border-radius: 8px; padding: 0 16px; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.trade-secondary-button { border: 1px solid #3a3b3e; background: #171718; color: #b6b7b8; }
.trade-secondary-button:hover { border-color: #5a5b5d; color: #fff; }
.trade-primary-button { min-width: 180px; border: 1px solid var(--signal); background: rgba(24, 211, 145, .13); color: #9ff4d3; }
.trade-primary-button:hover:not(:disabled) { background: rgba(24, 211, 145, .22); color: #d6fff0; }
.trade-primary-button:disabled { cursor: not-allowed; border-color: #363739; background: #1a1a1b; color: #5f6063; }

@media (max-width: 1100px) {
  .funding-toolbar { grid-template-columns: auto minmax(240px, 1fr); }
  .toolbar-group { grid-column: 1 / -1; justify-content: flex-start; }
  .funding-matrix { min-width: 1040px; }
}

@media (max-width: 720px) {
  .terminal-shell { padding: 0 12px 12px; }
  .funding-topbar { min-height: 70px; }
  .brand-lockup { gap: 18px; }
  .brand-name { font-size: 15px; }
  .workspace-nav { min-height: 70px; gap: 14px; }
  .member-button { min-width: 48px; width: 48px; min-height: 42px; padding: 0 9px; }
  .member-label, .member-button > i { display: none; }
  .funding-heading { display: block; min-height: 0; padding: 28px 4px 24px; }
  .funding-heading h1 { max-width: 15ch; font-size: 34px; }
  .funding-heading p { max-width: 56ch; }
  .funding-context { min-width: 0; margin-top: 23px; }
  .funding-toolbar { grid-template-columns: 1fr; gap: 8px; padding: 10px; }
  .collector-pill, .search-box, .toolbar-group { width: 100%; min-width: 0; }
  .collector-pill { min-height: 48px; }
  .collector-flash { width: 27px; height: 27px; }
  .search-box { height: 47px; }
  .toolbar-group { grid-column: 1; flex-wrap: wrap; justify-content: flex-start; }
  .apy-range-control { min-height: 41px; padding: 3px; }
  .apy-range-control button { min-width: 32px; min-height: 33px; padding: 0 5px; font-size: 9px; }
  .tool-button, .exchange-button { min-height: 41px; padding: 0 11px; font-size: 10px; }
  .exchange-button { min-width: 140px; }
  .matrix-scroll { max-height: 70dvh; }
  .funding-matrix { min-width: 940px; }
  .funding-matrix th { height: 78px; font-size: 11px; }
  .funding-matrix th:nth-child(1) { width: 48px; }
  .funding-matrix th:nth-child(2) { width: 112px; padding-left: 13px; }
  .funding-matrix th:nth-child(3) { width: 76px; }
  .funding-matrix th:nth-child(4) { width: 96px; }
  .funding-matrix th:nth-child(5) { width: 106px; }
  .funding-matrix th:nth-child(6) { width: 86px; }
  .funding-matrix td { height: 56px; }
  .symbol-cell { padding-left: 13px; }
  .symbol-cell strong { font-size: 12px; }
  .funding-cell { padding: 0 9px; }
  .funding-value { gap: 5px; font-size: 12px; }
  .funding-matrix td:nth-child(7), .funding-matrix td:nth-child(8) { min-width: 190px; }
  .legal-strip { display: block; padding: 11px 3px 0; }
  .legal-strip span { display: block; }
  .legal-strip span + span { margin-top: 4px; text-align: left; }
  .matrix-footer { min-height: 39px; font-size: 9px; }
  .matrix-footer > :nth-child(2) { display: none; }
  .toast { right: 12px; bottom: 12px; left: 12px; max-width: none; }
  .trade-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .trade-dialog-shell { max-height: calc(100dvh - 16px); }
  .trade-dialog-header { padding: 19px 17px 17px; }
  .trade-dialog-header h2 { font-size: 23px; }
  .trade-route { grid-template-columns: 1fr 112px 1fr; }
  .trade-route > div { padding: 15px 9px; }
  .trade-route strong { font-size: 13px; }
  .trade-order-books { padding: 17px; }
  .trade-order-books-header { display: block; }
  .trade-order-books-header > span { display: block; margin-top: 9px; }
  .trade-order-book-grid { grid-template-columns: 1fr; }
  .trade-order-book + .trade-order-book { border-top: 1px solid #343538; border-left: 0; }
  .trade-trigger-mode { grid-template-columns: 18px minmax(0, 1fr); margin-right: 17px; margin-left: 17px; }
  .trade-trigger-mode em { grid-column: 2; justify-self: start; }
  .trade-spread-backtest { margin-right: 17px; margin-left: 17px; }
  .trade-spread-backtest > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .trade-spread-backtest-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trade-spread-backtest-metrics > div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .trade-spread-backtest-metrics > div:nth-child(4) { border-top: 1px solid var(--line); }
  .trade-fields { grid-template-columns: 1fr; padding: 18px 17px 0; }
  .trade-protection-fields { margin: 16px 17px 0; }
  .trade-protection-fields > header { display: block; }
  .trade-protection-fields > header p { max-width: none; margin-top: 8px; text-align: left; }
  .trade-protection-fields > .trade-fields { grid-template-columns: 1fr; padding: 14px; }
  .trade-safety { grid-template-columns: 1fr; margin: 18px 17px 0; }
  .trade-safety > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .trade-auth-recovery, .trade-intent-status { margin-right: 17px; margin-left: 17px; }
  .trade-confirmation { margin-right: 17px; margin-left: 17px; }
  .trade-form-error { margin-right: 17px; margin-left: 17px; }
  .trade-dialog-actions { flex-wrap: wrap; padding: 14px 17px; }
  .trade-primary-button { width: 100%; order: -1; }
  .trade-secondary-button { flex: 1; }
}

@media (max-width: 420px) {
  .brand-name { display: none; }
  .brand-lockup { gap: 0; }
  .workspace-nav { gap: 13px; overflow-x: auto; scrollbar-width: none; }
  .workspace-nav::-webkit-scrollbar { display: none; }
  .workspace-nav a { font-size: 8px; letter-spacing: .02em; white-space: nowrap; }
}

/* Three-venue Funding Matrix: preserve the ledger layout while making the
   additional official source explicit and horizontally scrollable. */
.funding-matrix { min-width: 1320px; }
.extended-logo {
  border: 1px solid #2d5f4d;
  background: #050505;
}
.extended-logo img { display: block; width: 36px; height: 36px; object-fit: cover; }
.funding-value.neutral { color: #a4a5a7; }
.direction-tag.skip {
  border: 1px solid #55575a;
  background: #25272a;
  color: #c4c5c7;
}
.funding-cell.is-unavailable .funding-value,
.funding-cell.is-unavailable .rate-period { color: #6f7074; }

.funding-matrix { min-width: calc(650px + var(--visible-venue-count, 4) * 160px); }

@media (max-width: 720px) {
  .exchange-filter { min-width: 140px; }
  .exchange-button { width: 100%; }
  .exchange-menu { right: auto; left: 0; }
  .funding-matrix { min-width: calc(560px + var(--visible-venue-count, 4) * 140px); }
  .funding-cell { min-width: 140px; }
}
