.arb-desk-shell { max-width: 1880px; margin: 0 auto; }
.arb-desk-heading { display: flex; min-height: 142px; align-items: center; justify-content: space-between; gap: 36px; padding: 26px 4px 22px; }
.arb-desk-heading h1, .desk-ledger h2 { margin: 8px 0 7px; color: var(--text); font-size: clamp(28px, 2.7vw, 40px); font-weight: 730; line-height: 1.05; letter-spacing: -.035em; }
.arb-desk-heading p { max-width: 78ch; margin: 0; color: #979a9c; font-size: 12px; line-height: 1.65; }
.desk-status { display: flex; min-width: 290px; align-items: center; gap: 12px; border-left: 1px solid var(--line-strong); padding: 8px 0 8px 21px; }
.desk-status > i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #6b6d70; }
.desk-status.is-live > i { background: var(--signal); box-shadow: 0 0 0 4px rgba(24,211,145,.1); }
.desk-status.is-partial > i { background: #e2b95b; box-shadow: 0 0 0 4px rgba(226,185,91,.09); }
.desk-status.is-error > i { background: var(--sell); }
.desk-status b, .desk-status small { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-status b { color: #eceeea; font-size: 11px; }
.desk-status small { margin-top: 5px; color: #85888a; font-size: 9px; }
.desk-controls { border: 1px solid var(--line-strong); background: #111212; }
.desk-control-grid { display: grid; grid-template-columns: minmax(235px, 1.4fr) repeat(4, minmax(140px, .72fr)) minmax(158px, .78fr); }
.desk-control-grid > * { min-width: 0; min-height: 68px; border-right: 1px solid var(--line); }
.desk-control-grid > *:last-child { border-right: 0; }
.desk-search, .desk-select { display: grid; align-content: center; gap: 8px; padding: 0 17px; }
.desk-search { grid-template-columns: minmax(0, 1fr) auto; }
.desk-search > span, .desk-select > span { grid-column: 1 / -1; color: #777a7c; font: 650 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }
.desk-search input, .desk-select select { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #eeefeb; font: 690 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-search input::placeholder { color: #626568; }
.desk-search kbd { color: #696c6e; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-search:focus-within, .desk-select:focus-within { background: #151a18; box-shadow: inset 0 -1px var(--signal); }
.desk-select select { appearance: none; cursor: pointer; background: linear-gradient(45deg, transparent 50%, #777 50%) calc(100% - 8px) 50% / 4px 4px no-repeat, linear-gradient(135deg, #777 50%, transparent 50%) calc(100% - 4px) 50% / 4px 4px no-repeat; padding-right: 18px; }
.desk-reload { border: 0; background: #14251f; color: #82e9bf; cursor: pointer; font: 750 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; transition: background .15s ease, color .15s ease; }
.desk-reload:hover { background: #193229; color: #c3ffe4; }
.desk-reload:focus-visible { outline: 1px solid var(--signal); outline-offset: -3px; }
.desk-reload:disabled { color: #6a7b74; cursor: wait; }
.desk-venue-strip { display: grid; grid-template-columns: 92px minmax(0, 1fr); min-height: 54px; align-items: stretch; border-top: 1px solid var(--line); }
.desk-venue-strip > span { display: flex; align-items: center; border-right: 1px solid var(--line); color: #777a7c; padding: 0 17px; font: 680 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-venue-filters { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 0; }
.desk-venue-choice { display: flex; min-height: 53px; align-items: center; gap: 7px; border-right: 1px solid var(--line); color: #b8bbb8; padding: 0 13px; cursor: pointer; font: 680 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-venue-choice input { width: 13px; height: 13px; margin: 0; accent-color: var(--signal); }
.desk-venue-choice small { min-width: 18px; color: #68706d; font-size: 8px; text-align: right; }
.desk-venue-choice:has(input:checked) { background: #13241e; color: #a4f2d1; }
.desk-venue-choice.is-unavailable { color: #6c6d70; cursor: not-allowed; text-decoration: line-through; text-decoration-thickness: 1px; }
.desk-venue-loading { color: #74777a; padding: 0 14px; font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-ledger { margin-top: 12px; border: 1px solid var(--line-strong); background: var(--panel); }
.desk-ledger-header { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding: 16px 19px; }
.desk-ledger h2 { font-size: 19px; }
.desk-ledger-summary { display: flex; align-items: flex-end; flex-direction: column; gap: 6px; color: #b9bbb8; font: 680 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-ledger-summary span:last-child { color: #777a7c; font-size: 8px; }
.desk-table-scroll {
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}
.desk-sticky-head[hidden] { display: none; }
.desk-sticky-head { position: fixed; top: 0; z-index: 30; overflow: hidden; border: 1px solid var(--line-strong); border-top: 0; background: #101111; box-shadow: 0 12px 24px rgba(0,0,0,.32); pointer-events: none; }
.desk-sticky-head > div { will-change: transform; }
.desk-sticky-table { min-width: 0; margin: 0; }
.desk-sticky-table th { border-bottom-color: #454846; }
.desk-table { width: 100%; min-width: 1340px; border-collapse: collapse; table-layout: fixed; }
.desk-table th { height: 52px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #101111; color: #9da09e; padding: 0 13px; font: 680 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: left; }
.desk-table th:nth-child(1) { width: 12%; }.desk-table th:nth-child(2) { width: 13%; }.desk-table th:nth-child(3), .desk-table th:nth-child(4) { width: 11%; }.desk-table th:nth-child(5) { width: 13%; }.desk-table th:nth-child(6) { width: 13%; }.desk-table th:nth-child(7) { width: 11%; }.desk-table th:nth-child(8) { width: 7%; }.desk-table th:nth-child(9) { width: 9%; }
.desk-table th:last-child, .desk-table td:last-child { border-right: 0; }
.desk-table th.is-numeric, .desk-table td.is-numeric { text-align: right; }
.desk-table th button { border: 0; background: transparent; color: inherit; padding: 10px 0; cursor: pointer; font: inherit; }
.desk-table th button:hover, .desk-table th button.is-active { color: #dddfdb; }
.desk-table th button:focus-visible { outline: 1px solid var(--signal); outline-offset: 3px; }
.desk-header-search { display: grid; grid-template-columns: auto minmax(0, 1fr) 22px; align-items: center; gap: 7px; }
.desk-header-search label { color: #9da09e; cursor: text; }
.desk-header-search input { width: 100%; min-width: 0; border: 0; border-bottom: 1px solid #3a3d3b; outline: 0; background: transparent; color: #eeefeb; padding: 6px 2px 5px; font: 690 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-header-search input::placeholder { color: #717572; opacity: 1; }
.desk-header-search input:focus { border-bottom-color: var(--signal); }
.desk-header-search button { display: grid; width: 22px; height: 28px; place-items: center; padding: 0 !important; color: #707471; }
.desk-header-search button.is-active { color: var(--signal) !important; }
.desk-sticky-head .desk-header-search input, .desk-sticky-head .desk-header-search button { pointer-events: auto; }
.desk-table td { height: 64px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #141515; color: #d8dad6; padding: 0 13px; }
.desk-table tbody tr[data-market-id] { cursor: pointer; }
.desk-table tbody tr:hover td { background: #181b1a; }
.desk-table tbody tr:focus-visible { outline: 1px solid var(--signal); outline-offset: -2px; }
.desk-table tbody tr.is-selected td { background: #17201c; }
.desk-table tbody tr.is-selected td:first-child { box-shadow: inset 2px 0 var(--signal); }
.desk-table tbody tr:last-child td { border-bottom: 0; }
.desk-table td b, .desk-table td small { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-table td b { font-size: 11px; line-height: 1.2; }
.desk-table td small { margin-top: 5px; overflow: hidden; color: #74777a; font-size: 8px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.desk-venue b { color: #d9dbd7; }.desk-venue small { color: #58645f; letter-spacing: .08em; }
.desk-symbol b { color: #f0f1ed; font-size: 12px !important; letter-spacing: -.02em; }
.desk-measure b { color: #c5c7c4; }
.desk-funding b { font-size: 13px !important; }.desk-funding.is-positive b, .desk-next.is-positive b { color: #58e3ae; }.desk-funding.is-negative b, .desk-next.is-negative b { color: #ff7780; }.desk-funding.is-neutral b, .desk-next.is-neutral b { color: #b7b9b6; }
.desk-limits b, .desk-interval b { color: #aaadaa; }
.desk-market-state { display: inline-flex; align-items: center; gap: 6px; color: #a7aaa7; font: 680 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-market-state i { width: 6px; height: 6px; border-radius: 50%; background: #777; }
.desk-market-state.is-live { color: #7fe8bd; }.desk-market-state.is-live i { background: var(--signal); }.desk-market-state.is-off { color: #d3b66d; }.desk-market-state.is-off i { background: #d3a94d; }
.desk-loading-row td, .desk-empty-row td { height: 120px; color: #85888a; font: 650 10px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: center; }
.desk-loading-row span { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(24,211,145,.1); }
.desk-ledger-footer { display: flex; min-height: 43px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); background: #101111; color: #777a7c; padding: 0 13px; font: 620 8px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-boundary { display: flex; align-items: baseline; gap: 14px; margin: 12px 0 18px; border-top: 1px solid rgba(24,211,145,.38); padding: 12px 4px 0; }
.desk-boundary strong { flex: 0 0 auto; color: #d6d8d4; font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }.desk-boundary p { max-width: 112ch; margin: 0; color: #777a7c; font-size: 9px; line-height: 1.55; }
.desk-toast { position: fixed; right: 24px; bottom: 24px; z-index: 20; max-width: 360px; transform: translateY(10px); border: 1px solid #3b3d3f; border-radius: 9px; background: #1b1c1e; color: #e5e6e2; opacity: 0; padding: 12px 14px; pointer-events: none; font: 600 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; transition: opacity .16s ease, transform .16s ease; }.desk-toast.show { transform: translateY(0); opacity: 1; }
.desk-history[hidden] { display: none; }
.desk-history { position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 40; display: grid; width: min(430px, calc(100vw - 24px)); min-height: 0; grid-template-rows: auto auto auto auto minmax(0, 1fr) auto; border: 1px solid #454846; background: #0d0e0e; color: var(--text); box-shadow: -18px 16px 48px rgba(0,0,0,.48); }
.desk-history-header { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding: 19px 18px 17px; }
.desk-history-header > div { min-width: 0; }
.desk-history-header h2 { margin: 8px 0 5px; color: #f0f1ed; font-size: 21px; line-height: 1.1; letter-spacing: -.025em; }
.desk-history-header p { margin: 0; overflow: hidden; color: #8c908d; font: 650 9px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.desk-history-close { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 1px solid var(--line-strong); border-radius: 0; background: #141515; color: #c9cbc8; cursor: pointer; font: 400 24px/1 ui-sans-serif, sans-serif; }
.desk-history-close:hover, .desk-history-close:focus-visible { border-color: #707471; color: #fff; outline: 0; }
.desk-history-summary { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.desk-history-summary > div { min-width: 0; border-right: 1px solid var(--line); padding: 15px 17px 14px; }
.desk-history-summary > div:last-child { border-right: 0; }
.desk-history-summary span, .desk-history-summary strong, .desk-history-summary small { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-history-summary span { color: #7d817e; font-size: 8px; }
.desk-history-summary strong { margin-top: 9px; color: #58e3ae; font-size: 18px; line-height: 1; }
.desk-history-summary strong.is-negative { color: #ff7780; }
.desk-history-summary small { margin-top: 7px; color: #686d69; font-size: 8px; }
.desk-history-toolbar { display: flex; min-height: 48px; align-items: stretch; justify-content: space-between; border-bottom: 1px solid var(--line); }
.desk-history-tabs { display: flex; }
.desk-history-tabs button, .desk-history-refresh { min-width: 64px; border: 0; border-right: 1px solid var(--line); background: transparent; color: #848885; cursor: pointer; font: 720 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-history-tabs button[aria-pressed="true"] { background: #14251f; color: #7fe8bd; box-shadow: inset 0 -1px var(--signal); }
.desk-history-tabs button:focus-visible, .desk-history-refresh:focus-visible { outline: 1px solid var(--signal); outline-offset: -3px; }
.desk-history-refresh { min-width: 72px; border-right: 0; border-left: 1px solid var(--line); }
.desk-history-refresh:disabled { color: #555956; cursor: wait; }
.desk-history-state { min-height: 37px; margin: 0; border-bottom: 1px solid var(--line); color: #777c78; padding: 11px 17px; font: 620 9px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-history-state.is-error { color: #e08a90; }
.desk-history-list { min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; outline: 0; scrollbar-width: thin; }
.desk-history-list:focus-visible { box-shadow: inset 0 0 0 1px var(--signal); }
.desk-history-row { position: relative; display: grid; min-height: 39px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; overflow: hidden; border-bottom: 1px solid #222523; padding: 0 17px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.desk-history-row::before { position: absolute; inset: 5px auto 5px 0; width: var(--rate-bar, 0%); max-width: 72%; background: rgba(24,211,145,.18); content: ""; pointer-events: none; }
.desk-history-row.is-negative::before { background: rgba(255,79,89,.16); }
.desk-history-row strong, .desk-history-row time { position: relative; z-index: 1; }
.desk-history-row strong { color: #58e3ae; font-size: 11px; }
.desk-history-row.is-negative strong { color: #ff7780; }
.desk-history-row time { color: #8d918e; font-size: 9px; }
.desk-history-empty { margin: 0; color: #747975; padding: 34px 18px; font: 620 10px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: center; }
.desk-history footer { border-top: 1px solid var(--line); color: #646965; padding: 11px 17px; font: 620 8px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
@media (max-width: 1180px) { .workspace-nav { gap: 15px; }.desk-control-grid { grid-template-columns: minmax(230px, 1.4fr) repeat(2, minmax(150px, 1fr)); }.desk-control-grid > * { border-bottom: 1px solid var(--line); }.desk-control-grid > *:nth-child(3n) { border-right: 0; }.desk-control-grid > *:nth-last-child(-n+3) { border-bottom: 0; } }
@media (max-width: 780px) { .terminal-shell { padding: 0 12px 14px; }.funding-topbar { min-height: auto; align-items: flex-start; padding: 16px 0 0; }.brand-lockup { display: block; }.workspace-nav { min-height: 46px; gap: 17px; overflow-x: auto; }.workspace-nav a { flex: 0 0 auto; }.member-button { display: none; }.arb-desk-heading { min-height: 0; align-items: flex-start; flex-direction: column; gap: 17px; padding: 29px 3px 23px; }.arb-desk-heading h1 { max-width: 12ch; font-size: 32px; }.desk-status { min-width: 0; border-left: 0; border-top: 1px solid var(--line-strong); padding: 12px 0 0; }.desk-control-grid { grid-template-columns: 1fr 1fr; }.desk-control-grid > * { min-height: 64px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.desk-control-grid > *:nth-child(2n) { border-right: 0; }.desk-control-grid > *:nth-last-child(-n+2) { border-bottom: 0; }.desk-search { grid-column: 1 / -1; }.desk-search + * { border-top: 0; }.desk-reload { min-height: 64px; }.desk-venue-strip { grid-template-columns: 1fr; }.desk-venue-strip > span { min-height: 38px; border-right: 0; border-bottom: 1px solid var(--line); }.desk-venue-filters { display: grid; grid-template-columns: 1fr 1fr; }.desk-venue-choice { min-height: 45px; border-bottom: 1px solid var(--line); }.desk-venue-choice:nth-child(2n) { border-right: 0; }.desk-ledger-header { min-height: 78px; padding: 14px; }.desk-ledger-summary { align-items: flex-end; }.desk-table { min-width: 1250px; }.desk-ledger-footer { align-items: flex-start; flex-direction: column; gap: 5px; padding: 10px 12px; }.desk-boundary { align-items: flex-start; flex-direction: column; gap: 7px; }.desk-history { inset: auto 0 0; width: 100%; height: min(72dvh, 680px); border-right: 0; border-bottom: 0; border-left: 0; }.desk-history-header { padding: 15px 14px 13px; }.desk-history-summary > div { padding: 13px 14px; }.desk-history-row { padding: 0 14px; } }
