/* Visual parity with wealthtracker.us IBKR desk */

.desk-shell {
  box-sizing: border-box;
  padding-left: 2px;
  padding-right: 2px;
}

.rail-aside {
  display: flex;
  width: 56px;
  flex-shrink: 0;
  flex-direction: column;
  border-right: 1px solid var(--desk-rail-border);
  background: var(--metal-face-rail);
  box-shadow: var(--metal-sheen);
}

.rail-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--desk-rail-border);
  text-decoration: none;
  background: transparent;
}

.rail-brand__icon {
  display: block;
  width: 22px;
  height: 36px;
  object-fit: contain;
  filter: none;
}

.rail-brand:hover .rail-brand__icon {
  opacity: 0.88;
}

.rail-nav {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  padding-top: 2px;
}

.rail-btn {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #525252;
  padding: 10px 2px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.rail-icon {
  width: 20px;
  height: 20px;
}

.rail-btn:hover {
  color: #e8d4ff;
  background: color-mix(in srgb, var(--wt-purple) 8%, transparent);
}

.rail-btn.is-active {
  color: #faf5ff;
  background: color-mix(in srgb, var(--wt-purple) 14%, transparent);
  box-shadow:
    inset 2px 0 0 var(--wt-purple),
    0 0 16px color-mix(in srgb, var(--wt-purple) 18%, transparent);
}

.rail-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid var(--desk-rail-border);
}

.rail-tool {
  position: relative;
  display: flex;
  width: 100%;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #6b6b78;
  cursor: pointer;
}

.rail-tool:hover,
.rail-tool.has-alert {
  color: #e8d4ff;
  background: color-mix(in srgb, var(--wt-purple) 8%, transparent);
}

.frequent-tickers {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
}

.frequent-ticker-row {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-bottom: 1px solid var(--desk-rail-border);
  padding: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--desk-text-soft);
  cursor: pointer;
  background: var(--desk-row);
}

.frequent-ticker-row:nth-child(even) {
  background: var(--desk-row-alt);
}

.frequent-ticker-row.is-active {
  color: #faf5ff;
  background: color-mix(in srgb, var(--wt-purple) 12%, transparent);
  box-shadow: inset 2px 0 0 var(--wt-purple);
}

.desk-topbar {
  display: flex;
  height: 48px;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--desk-border);
  padding: 4px 12px;
  background: var(--desk-panel);
}

.desk-topbar-control {
  display: flex;
  align-items: flex-end;
  min-height: calc(var(--desk-metric-label-h) + var(--desk-metric-gap) + var(--desk-metric-h));
}

.broker-slot {
  flex: 0 0 auto;
  min-width: 0;
  border-right: 1px solid var(--desk-border);
  padding-right: 12px;
}

.broker-account-menu {
  position: relative;
  z-index: 50;
  width: max-content;
  max-width: 330px;
}

.broker-account-trigger {
  display: flex;
  width: max-content;
  max-width: 330px;
  min-height: 34px;
  align-items: center;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: linear-gradient(110deg, rgb(8 10 15 / 62%), rgb(27 28 36 / 52%));
  color: #e5e7eb;
  cursor: pointer;
  padding: 2px 7px;
  text-align: left;
}

.broker-account-trigger:hover,
.broker-account-trigger.is-open {
  border-color: color-mix(in srgb, var(--wt-purple-bright) 42%, var(--desk-border));
}

.broker-account-trigger-copy {
  display: inline-flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.05;
}

.broker-account-trigger-label {
  color: #858b9b;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.broker-account-trigger-value {
  overflow: hidden;
  max-width: 145px;
  color: #f0f2f8;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.broker-account-trigger-account {
  max-width: 110px;
  overflow: hidden;
  color: #aeb5c2;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.broker-account-trigger-chevron,
.status-chevron {
  height: 13px;
  width: 13px;
  flex: 0 0 auto;
  color: #a5abbb;
}

.desk-topbar-v2 {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 0;
}

.desk-topbar-v2__search {
  flex: 0 0 auto;
  width: 12rem;
  margin-right: 10px;
}

.desk-symbol-search {
  position: relative;
  z-index: 50;
  display: flex;
  width: 100%;
  align-items: center;
}

.desk-symbol-search-open {
  position: relative;
  width: 100%;
}

.symbol-search-hits {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  max-height: 240px;
  overflow: auto;
  border: 1px solid var(--desk-border);
  background: var(--desk-panel);
}

.symbol-search-hit {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  color: var(--desk-text);
  cursor: pointer;
  text-align: left;
}

.symbol-search-hit:hover {
  background: color-mix(in srgb, var(--wt-purple) 12%, transparent);
}

.symbol-search-hit strong {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
}

.symbol-search-hit span {
  color: var(--desk-text-muted);
  font-size: 10px;
}

.desk-symbol-search > button,
.desk-symbol-search input {
  height: 30px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0;
  background: transparent;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  color: var(--desk-text);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.desk-symbol-search > button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  cursor: text;
  text-align: left;
}

.desk-symbol-search > button:hover,
.desk-symbol-search input:focus,
.desk-symbol-search:focus-within > button {
  border-bottom-color: color-mix(in srgb, var(--wt-purple) 82%, transparent);
  background: linear-gradient(180deg, transparent 48%, color-mix(in srgb, var(--wt-purple) 8%, transparent));
}

.desk-symbol-search__icon {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  color: #8a8a8a;
}

.desk-symbol-search__ticker {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
}

.desk-symbol-search__label {
  margin-left: auto;
  color: #858895;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.symbol-search-logo {
  position: relative;
  display: inline-flex;
  height: 20px;
  width: 20px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 5px;
  background: color-mix(in srgb, var(--wt-purple) 14%, transparent);
}

.symbol-search-logo-fallback {
  color: #dfc5ff;
  font-size: 9px;
  font-weight: 800;
}

.symbol-search-logo-img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  background: #fff;
}

.desk-topbar-v2__stats {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  align-items: flex-end;
  gap: 5px;
  padding: 0 9px;
}

.desk-topbar-v2__stats--market { flex-basis: 335px; }
.desk-topbar-v2__stats--account { flex-basis: 390px; }

.desk-topbar-v2__separator {
  width: 1px;
  height: 29px;
  flex: 0 0 auto;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.18) 35%, rgba(255, 255, 255, 0.18) 65%, transparent);
}

.desk-metric {
  display: flex;
  min-width: 0;
  width: 100%;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--desk-metric-gap);
}

.desk-topbar-v2 .desk-metric__label {
  height: 10px;
  font-size: 8px;
  letter-spacing: 0.05em;
}

.desk-metric__label {
  display: flex;
  height: var(--desk-metric-label-h);
  align-items: flex-end;
  font-size: var(--desk-metric-label-size);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--desk-text-muted);
  white-space: nowrap;
}

.desk-metric__value {
  display: inline-flex;
  height: var(--desk-metric-h);
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 var(--desk-metric-pad-x);
  border: 1px solid transparent;
  border-radius: var(--desk-metric-radius);
  font-size: var(--desk-metric-value-size);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desk-topbar-v2 .desk-metric__value {
  height: 21px;
  padding: 0 2px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 750;
}

.desk-metric__value--plain,
.desk-metric__value--signed {
  color: var(--desk-text);
  background: transparent;
  border-color: transparent;
}

.desk-metric__value--signed.pos { color: var(--desk-up); }
.desk-metric__value--signed.neg { color: var(--desk-down); }

.desk-metric__value--bid {
  background: transparent;
  color: var(--desk-bid);
  border-color: transparent;
}

.desk-metric__value--ask {
  background: transparent;
  color: var(--desk-ask);
  border-color: transparent;
}

.desk-metric__value--capital {
  color: #dbeaff;
  background: transparent;
  border-color: transparent;
}

.desk-metric__value--pnl-flat {
  color: #aeb0ba;
  background: transparent;
  border-color: transparent;
}

.desk-metric__value--pnl-pos {
  color: #55e38d;
  background: transparent;
  border-color: transparent;
}

.desk-metric__value--pnl-neg {
  color: #ff727a;
  background: transparent;
  border-color: transparent;
}

.desk-topbar-v2__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.desk-topbar-v2__icon-button {
  display: inline-flex;
  height: 28px;
  width: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #a5a8b3;
  cursor: pointer;
}

.desk-topbar-v2__icon-button:hover {
  border-color: color-mix(in srgb, var(--wt-purple) 50%, transparent);
  background: color-mix(in srgb, var(--wt-purple) 12%, transparent);
  color: #f1ddff;
}

.desk-topbar-v2__icon-button--warning {
  border-color: rgba(193, 146, 4, 0.5);
  color: #f4d477;
}

.desk-topbar-v2__icon {
  width: 14px;
  height: 14px;
}

.desk-topbar-v2__status-wrap { position: relative; }

.desk-topbar-v2__status-trigger {
  display: inline-flex;
  height: 28px;
  min-width: 92px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: var(--desk-text);
  cursor: pointer;
}

.desk-topbar-v2 .status-pill.ok,
.desk-topbar-v2 .status-pill.warn,
.desk-topbar-v2 .status-pill.err {
  border-color: transparent;
  background: transparent;
}

.status-pill.ok { color: #9dffd0; }
.status-pill.warn { color: #ffe08a; }
.status-pill.err { color: #ff9aa8; }

.desk-topbar-v2__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.desk-topbar-v2__status-dot--ok { background: #4be895; box-shadow: 0 0 8px rgba(75, 232, 149, 0.75); }
.desk-topbar-v2__status-dot--warn { background: #f4d477; }
.desk-topbar-v2__status-dot--err { background: #ff7281; }

.desk-topbar-v2__status-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 300;
  min-width: 156px;
  border: 1px solid var(--desk-border-soft);
  border-radius: 7px;
  background: var(--desk-panel);
  padding: 4px;
}

.desk-topbar-v2__status-menu button {
  display: flex;
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--desk-text);
  padding: 8px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.pos-desk {
  --terminal-bg: var(--blotter-bg);
  --terminal-header-bg: var(--blotter-bg);
  --terminal-row-bg: var(--blotter-row-parent);
  --terminal-row-named: var(--blotter-row-expanded);
  --terminal-row-child: var(--blotter-row-expanded);
  --terminal-row-hover: var(--blotter-row-hover);
  --terminal-selected-sym: var(--blotter-row-active-sym);
  --terminal-selected-row: var(--blotter-row-active);
  --terminal-selected-hover: var(--blotter-row-active-hover);
  --terminal-gridline: var(--blotter-gridline);
  --terminal-text: var(--blotter-body-text);
  --terminal-text-header: var(--blotter-header-text);
  --terminal-text-symbol: var(--wt-text, #f5f5f5);
  --terminal-text-muted: var(--desk-text-muted);
  --terminal-positive: #69bd7b;
  --terminal-negative: #e05d63;
  --terminal-dot: #e27832;
  --value-badge-height: 24px;
  --value-badge-min-width: 160px;
  --value-badge-width: 160px;
  --value-badge-radius: 3px;
  --value-badge-pos-chg-bg: var(--blotter-badge-bg);
  --value-badge-pos-px-bg: #1a1e28;
  --value-badge-pos-border: #2d4a38;
  --value-badge-pos-chg-text: #6db87f;
  --value-badge-pos-px-text: #e8ece9;
  --value-badge-neg-chg-bg: var(--blotter-badge-bg);
  --value-badge-neg-px-bg: #1e1a22;
  --value-badge-neg-border: #4a2d32;
  --value-badge-neg-chg-text: #d46a72;
  --value-badge-neg-px-text: #ece8e8;
  --value-badge-indicator: #d2ad27;
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  background: var(--terminal-bg);
  color: var(--terminal-text);
}

.pos-filter-bar {
  display: flex;
  min-height: 28px;
  flex-shrink: 0;
  align-items: center;
  gap: 2px;
  border-bottom: 1px solid var(--terminal-gridline);
  background: var(--terminal-bg);
  padding: 0 8px;
}

.pos-filter-kicker {
  margin-right: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--desk-text-muted);
}

.pos-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: #8a8a8a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.pos-filter-btn:hover { color: var(--desk-text); background: var(--terminal-row-hover); }
.pos-filter-btn.is-active {
  color: var(--wt-text, #f5f5f5);
  background: color-mix(in srgb, var(--wt-purple) 16%, transparent);
  border-color: var(--wt-accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wt-purple) 25%, transparent);
}

.pos-filter-count {
  min-width: 14px;
  padding: 0 4px;
  border-radius: 7px;
  background: #333;
  color: #ccc;
  font-size: 9px;
  font-weight: 700;
}

.pos-filter-icon { width: 14px; height: 14px; }
.pos-filter-cols { display: flex; margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--desk-border); }
.pos-filter-group { margin-left: auto; font-size: 10px; color: var(--desk-text-muted); }
.pos-filter-group span { color: #999; }

.pos-sym-expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--terminal-text-muted);
  cursor: pointer;
  padding: 0 2px;
}
.pos-sym-expand:hover { color: var(--terminal-text-header); }
.pos-sym-expand .pos-chevron-icon { width: 14px; height: 14px; }

.pos-scroll { scrollbar-gutter: stable; min-height: 0; flex: 1; overflow: auto; background: var(--terminal-bg); }

.pos-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.pos-col-sym-width { width: 248px; min-width: 220px; }
.pos-col-last-width { width: 168px; }
.pos-col-metric-width { width: 96px; }

.pos-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 35px;
  padding: 4px 8px;
  border-bottom: 1px solid var(--terminal-gridline);
  background: var(--terminal-header-bg);
  color: var(--terminal-text-header);
  font-size: 11px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.pos-table th.pos-col-sym { text-align: left; padding-left: 8px; }
.pos-sym-header { display: inline-flex; align-items: center; gap: 2px; color: inherit; font: inherit; font-weight: 600; }

.pos-table td {
  height: 32px;
  padding: 3px 8px;
  border-bottom: 1px solid var(--terminal-gridline);
  background: var(--terminal-row-bg);
  color: var(--terminal-text);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pos-num { text-align: right; }
.pos-num.pos { color: var(--terminal-positive); }
.pos-num.neg { color: var(--terminal-negative); }
.pos-num.muted { color: var(--terminal-text-muted); }

.pos-row--parent.is-toggleable { cursor: pointer; }
.pos-row--parent:hover td { background: var(--terminal-row-hover); }
.pos-row--parent:hover td:first-child { background: var(--terminal-selected-sym); }
.pos-row--child td { background: var(--terminal-row-child); }
.pos-row--child:hover td { background: var(--terminal-row-hover); }
.pos-row--child.is-selectable { cursor: pointer; }
.pos-row--child:hover td:first-child,
.pos-row--named:hover td:first-child,
.pos-row--working:hover td:first-child { background: var(--terminal-selected-sym); }
.pos-row--child.is-selected td {
  background: var(--terminal-selected-row);
  filter: none;
  color: var(--wt-text, #f5f5f5);
  box-shadow: none;
}
.pos-row--child.is-selected td:first-child {
  background: var(--terminal-selected-sym);
  box-shadow: inset 3px 0 0 var(--wt-accent-bright);
}
.pos-row--child.is-selected:hover td { background: var(--terminal-selected-hover); }
.pos-row--child.is-selected:hover td:first-child { background: var(--terminal-selected-sym); }
.pos-row.is-selected .pos-dot--child {
  background: #e8e8e8;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.pos-row.is-selected .pos-leg-chip {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}
.pos-select-check {
  display: inline-flex;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  padding: 0 3px;
  border-radius: 3px;
  background: #fff;
  color: #111;
  font-size: 9px;
  font-weight: 800;
}

.pos-sym-cell { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; }
.pos-sym-cell--has-itm { overflow: hidden; }
.pos-sym-cell--child { padding-left: 10px; }

.pos-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terminal-dot); flex-shrink: 0; }
.pos-dot--child { width: 6px; height: 6px; margin-left: 6px; background: #c45a72; }

.pos-chevron {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #bbb;
  cursor: pointer;
}

.pos-chevron-icon { width: 12px; height: 12px; }
.pos-chevron-spacer { display: inline-block; width: 12px; height: 12px; }

.pos-und-btn {
  border: 0;
  background: transparent;
  color: var(--terminal-text-symbol);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.pos-und-btn:hover { color: #7eb8ff; }

.pos-last-cell { text-align: left !important; padding-top: 4px !important; padding-bottom: 4px !important; }

.pos-last-pill {
  position: relative;
  display: inline-grid;
  grid-template-columns: 52% 48%;
  width: var(--value-badge-width);
  min-width: var(--value-badge-min-width);
  height: var(--value-badge-height);
  border-radius: var(--value-badge-radius);
  border: 1px solid transparent;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.pos-last-chg,
.pos-last-px {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 12px;
  overflow: hidden;
}

.pos-last-chg { justify-content: center; padding: 0 6px; border-right: 1px solid rgba(0, 0, 0, 0.35); }
.pos-last-px { justify-content: flex-end; padding: 0 5px 0 7px; font-weight: 700; }

.pos-last-ear {
  position: absolute;
  top: 0;
  left: 0;
  border-top: 6px solid var(--value-badge-indicator);
  border-right: 6px solid transparent;
}

.pos-last-pill.is-up { border-color: var(--value-badge-pos-border); }
.pos-last-pill.is-up .pos-last-chg { background: var(--value-badge-pos-chg-bg); color: var(--value-badge-pos-chg-text); }
.pos-last-pill.is-up .pos-last-px { background: var(--value-badge-pos-px-bg); color: var(--value-badge-pos-px-text); }
.pos-last-pill.is-down { border-color: var(--value-badge-neg-border); }
.pos-last-pill.is-down .pos-last-chg { background: var(--value-badge-neg-chg-bg); color: var(--value-badge-neg-chg-text); }
.pos-last-pill.is-down .pos-last-px { background: var(--value-badge-neg-px-bg); color: var(--value-badge-neg-px-text); }
.pos-last-pill.is-flat,
.pos-last-pill.is-last-only { border-color: var(--desk-border); }
.pos-last-pill.is-flat .pos-last-chg,
.pos-last-pill.is-last-only .pos-last-chg { background: var(--blotter-badge-bg); color: var(--terminal-text-muted); }
.pos-last-pill.is-flat .pos-last-px,
.pos-last-pill.is-last-only .pos-last-px { background: #1a1e28; color: var(--terminal-text); }
.pos-last-pill.is-flat .pos-last-ear,
.pos-last-pill.is-last-only .pos-last-ear { display: none; }

.pos-itm-badge {
  display: inline-flex;
  height: 16px;
  align-items: center;
  padding: 0 4px;
  border: 1px solid #d93646;
  border-radius: 1px;
  background: #1a1a1a;
  color: #ef5b68;
  font-size: 10px;
  font-weight: 600;
}

.pos-qty-chip {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  color: #aaa;
  background: #1e1e1e;
  border-radius: 2px;
  padding: 0 4px;
}

.pos-leg-chip {
  display: inline-flex;
  align-items: stretch;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  min-width: 88px;
  font-size: 11px;
  color: #e0e0e0;
}

.pos-leg-qty {
  display: inline-flex;
  min-width: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  background: #3a3a3a;
  font-weight: 600;
}

.pos-leg-rest {
  display: inline-flex;
  align-items: center;
  flex: 1;
  background: #262626;
}

.pos-leg-exp,
.pos-leg-dte,
.pos-leg-strike,
.pos-leg-right {
  padding: 0 4px;
  font-size: 11px;
}

.pos-leg-dte { color: #b0b0b0; }
.pos-leg-right { font-weight: 700; padding-right: 7px; }

.acct-strip { flex-shrink: 0; border-bottom: 1px solid var(--desk-border); background: var(--blotter-bg); user-select: none; }
.acct-strip-collapsed {
  display: flex;
  height: 28px;
  width: 100%;
  align-items: center;
  gap: 6px;
  border: 0;
  border-bottom: 1px solid var(--desk-border);
  background: var(--blotter-bg);
  padding: 0 10px;
  color: #9aa0ae;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}
.acct-strip-table-wrap { overflow-x: auto; }
.acct-strip-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 11px; }
.acct-strip-table th {
  height: 22px;
  padding: 0 8px;
  border-bottom: 1px solid var(--blotter-gridline);
  color: var(--blotter-header-text);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}
.acct-strip-table td {
  height: 28px;
  padding: 0 8px;
  border-bottom: 1px solid var(--blotter-gridline);
  color: var(--blotter-body-text);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.acct-strip-table tbody tr { cursor: pointer; }
.acct-strip-table tbody tr:hover { background: var(--blotter-row-hover); }
.acct-strip-table tbody tr.is-viewing { background: var(--blotter-row-active); }
.acct-strip-name-col { position: sticky; left: 0; z-index: 1; min-width: 280px; background: var(--blotter-bg); text-align: left !important; }
.acct-strip-table tbody tr.is-viewing .acct-strip-name-col,
.acct-strip-table tbody tr:hover .acct-strip-name-col { background: var(--blotter-row-active-sym); }
.acct-strip-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #c9ccd4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.acct-strip-identity { display: flex; align-items: center; gap: 8px; }
.acct-strip-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.acct-strip-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; line-height: 1.15; }
.acct-strip-nickname { overflow: hidden; color: #f3f4f6; font-size: 12px; font-weight: 600; text-overflow: ellipsis; }
.acct-strip-id { color: #8b8f9c; font-family: ui-monospace, Menlo, monospace; font-size: 10px; }
.acct-strip-badge {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #2a2d38;
  color: #c7c9d1;
  font-size: 10px;
  font-weight: 800;
}
.acct-strip-badge.is-armed { background: #5b4dff; color: #fff; box-shadow: 0 0 0 1px rgb(139 124 255 / 55%); }
.acct-strip-house {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: #8b8f9c;
}
.acct-strip-house-icon { width: 14px; height: 14px; }
.acct-strip-bal {
  display: inline-flex;
  height: 16px;
  flex-shrink: 0;
  align-items: center;
  border: 1px solid #3a3d48;
  border-radius: 3px;
  background: transparent;
  padding: 0 5px;
  color: #b8bcc8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.acct-strip-bal:hover,
.acct-strip-bal.is-open {
  border-color: #6b6f7c;
  color: #f3f4f6;
  background: #1c1f28;
}
.acct-strip-balance-menu {
  position: fixed;
  z-index: 80;
  width: 280px;
  overflow: hidden;
  border: 1px solid #2a2d36;
  border-radius: 8px;
  background: #1a1c22;
  box-shadow: 0 12px 32px rgb(0 0 0 / 45%);
}
.acct-strip-balance-head,
.acct-strip-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px;
}
.acct-strip-balance-head {
  color: #8b8f9c;
  font-size: 11px;
  font-weight: 600;
}
.acct-strip-balance-row {
  color: #d5d7de;
  font-size: 12px;
}
.acct-strip-balance-row span:last-child {
  color: #f3f4f6;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.acct-strip-balance-empty {
  padding: 10px 12px 12px;
  color: #8b8f9c;
  font-size: 12px;
}
.acct-strip-num.pos { color: #69bd7b; }
.acct-strip-num.neg { color: #e05d63; }
.acct-strip-hint {
  height: 22px;
  padding: 0 10px;
  border-top: 1px solid rgb(255 255 255 / 6%);
  color: #a78bfa;
  font-size: 10px;
  line-height: 22px;
}

.pos-col-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
}

.pos-col-modal {
  width: min(640px, 94vw);
  max-height: min(80vh, 560px);
  display: flex;
  flex-direction: column;
  background: #141414;
  border: 1px solid #333;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.pos-col-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #2a2a2a;
  color: #eee;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.pos-col-modal-hint {
  margin: 0;
  padding: 10px 14px 0;
  color: #777;
  font-size: 11px;
  line-height: 1.4;
}

.account-picker-backdrop {
  z-index: 400;
  top: 48px;
  left: 56px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(2px);
}

.account-picker-modal.pos-col-modal {
  width: min(380px, 92vw);
  max-height: min(72vh, 420px);
  box-shadow:
    0 0 0 1px rgba(74, 151, 208, 0.18),
    0 24px 56px rgba(0, 0, 0, 0.72);
}

.account-picker-hint { padding-bottom: 8px; }

.account-picker-loading {
  margin: 12px;
  padding: 14px 20px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #141414;
  color: #aaa;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.45;
}

.account-picker-loading__hint {
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.75;
}

.account-picker-list {
  list-style: none;
  margin: 0 12px 12px;
  padding: 4px;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  background: #0e0e0e;
  overflow: auto;
  min-height: 0;
  flex: 1;
  outline: none;
}

.account-picker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #ddd;
  text-align: left;
  cursor: pointer;
}

.account-picker-row:hover,
.account-picker-row.is-focused {
  background: #1a1a1a;
  border-color: #2e2e2e;
}

.account-picker-row.is-focused {
  border-color: rgba(74, 151, 208, 0.55);
  background: rgba(74, 151, 208, 0.1);
}

.account-picker-row-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.account-picker-name {
  font-size: 13px;
  font-weight: 650;
  color: #f0f0f0;
}

.account-picker-id {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  color: #666;
}

.account-picker-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.account-picker-meta-item {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: #bbb;
  white-space: nowrap;
}

.account-picker-meta-item em {
  margin-right: 4px;
  color: #666;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-picker-meta-item.pos { color: #69bd7b; }
.account-picker-meta-item.neg { color: #e05d63; }

.scan-page {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--desk-bg);
}

.scan-toolbar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 10px;
  border-bottom: 1px solid var(--desk-border);
  background: var(--desk-header);
}

.scan-toolbar-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--desk-text-muted);
}

.scan-body { min-height: 0; flex: 1; overflow: hidden; padding: 0; }
.scan-out { margin: 0; color: var(--desk-text-soft); font-size: 12px; white-space: pre-wrap; }

.desk-center { display: flex; flex-direction: column; }

.pos-ctx-scrim {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: transparent;
}

.pos-ctx {
  position: fixed;
  min-width: 272px;
  max-height: min(480px, calc(100vh - 16px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 4px 0;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.pos-ctx-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #e8e8e8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.pos-ctx-item:hover,
.pos-ctx-item.is-active {
  background: #3a3a3a;
}

.pos-ctx-item.is-danger .pos-ctx-label {
  color: #f0f0f0;
}

.pos-ctx-item.is-chart .pos-ctx-label,
.pos-ctx-item.is-chart .pos-ctx-icon {
  color: #5dffa8;
}

.pos-ctx-item.is-chart:hover {
  background: #163326;
}

.pos-ctx-icon {
  display: inline-flex;
  width: 16px;
  justify-content: center;
  flex-shrink: 0;
}

.pos-ctx-icon .rail-icon,
.pos-ctx-icon .ticket-head-icon {
  width: 14px;
  height: 14px;
}

.pos-ctx-label {
  flex: 1;
}

.pos-ctx-sep {
  height: 1px;
  margin: 4px 8px;
  background: #3f3f3f;
  border-top: 1px dotted #555;
}

.pos-ctx-root {
  position: fixed;
  z-index: 401;
}

.pos-ctx-caret {
  margin-left: auto;
  color: #777;
  font-size: 11px;
}

.pos-ctx-close-pct-block {
  display: flex;
  flex-direction: column;
  padding: 2px 0 6px;
}

.pos-ctx-close-pct {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 10px;
  color: #ccc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pos-ctx-close-label { flex: 1; color: #bbb; }

.pos-ctx-spin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 2px;
  background: #3a3a3a;
  color: #ccc;
  cursor: pointer;
}

.pos-ctx-pct-input {
  width: 46px;
  height: 20px;
  border: 1px solid #4a4a4a;
  border-radius: 2px;
  background: #1a1a1a;
  color: #eee;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.pos-ctx-close-hint {
  min-width: 52px;
  color: #8ec8a8;
  font-size: 10px;
  font-weight: 700;
  text-align: right;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

.pos-ctx-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #4a7a9a;
  color: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.pos-ctx-pct-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 2px 10px 2px;
}

.pos-ctx-pct-chip {
  min-width: 36px;
  height: 20px;
  padding: 0 6px;
  border: 1px solid #3a4248;
  border-radius: 3px;
  background: #1a1d20;
  color: #b0b8c0;
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.pos-ctx-pct-chip:hover:not(:disabled) {
  border-color: #5b656e;
  color: #e6edf3;
}

.pos-ctx-pct-chip:disabled {
  opacity: 0.4;
  cursor: default;
}

.pos-ctx-pct-chip.is-on {
  border-color: #22e08a;
  color: #4dffab;
  background: #0b0f12;
  box-shadow: 0 0 0 1px rgba(34, 224, 138, 0.45);
}

.pos-ctx-pct-gear {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  border: 0;
  background: transparent;
  color: #888;
  cursor: pointer;
}

.pos-table.hide-col-last [data-col="last"],
.pos-table.hide-col-day_pnl [data-col="day_pnl"],
.pos-table.hide-col-open_pnl [data-col="open_pnl"],
.pos-table.hide-col-open_pnl_pct [data-col="open_pnl_pct"],
.pos-table.hide-col-realized [data-col="realized"],
.pos-table.hide-col-bid [data-col="bid"],
.pos-table.hide-col-ask [data-col="ask"],
.pos-table.hide-col-avg [data-col="avg"],
.pos-table.hide-col-mark [data-col="mark"],
.pos-table.hide-col-dte [data-col="dte"],
.pos-table.hide-col-ext [data-col="ext"],
.pos-table.hide-col-ext_pct [data-col="ext_pct"],
.pos-table.hide-col-cap_req [data-col="cap_req"] {
  display: none;
}

.pos-col-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
}

.pos-col-modal {
  width: min(640px, 94vw);
  max-height: min(80vh, 560px);
  display: flex;
  flex-direction: column;
  background: #141414;
  border: 1px solid #333;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.pos-col-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #2a2a2a;
  color: #eee;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.pos-col-icon-btn {
  display: inline-flex;
  padding: 4px;
  border: 0;
  background: transparent;
  color: #888;
  cursor: pointer;
}

.pos-col-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 14px 0;
}

.pos-col-tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #888;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 8px;
  cursor: pointer;
}

.pos-col-tab--on {
  color: #e6edf3;
  border-bottom-color: #22e08a;
}

.pos-col-modal-hint {
  margin: 0;
  padding: 10px 14px 0;
  color: #777;
  font-size: 11px;
  line-height: 1.4;
}

.pos-col-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 14px;
  min-height: 0;
  overflow: auto;
  flex: 1;
}

.pos-col-modal-grid h4 {
  margin: 0 0 6px;
  color: #888;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pos-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  background: #0e0e0e;
  min-height: 180px;
  max-height: 320px;
  overflow: auto;
}

.pos-col-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-bottom: 1px solid #1a1a1a;
  color: #ccc;
  font-size: 12px;
}

.pos-col-row:hover { background: #1a1a1a; }
.pos-col-name { flex: 1; min-width: 0; }
.pos-col-add,
.pos-col-remove {
  border: 0;
  background: transparent;
  color: #6a9;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}
.pos-col-remove { color: #a66; }
.pos-col-empty {
  padding: 16px 10px;
  color: #555;
  font-size: 11px;
  text-align: center;
}

.pos-col-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid #2a2a2a;
}

.tp-queue {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 8px 0 16px;
}

.tp-queue-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #3a4248;
  border-radius: 4px;
  background: #1a1d20;
  color: #ddd;
  font-size: 11px;
  font-weight: 700;
}

.tp-queue-chip button {
  border: 0;
  background: transparent;
  color: #888;
  cursor: pointer;
}

.tp-symbol-add,
.tp-queue-add {
  display: flex;
  gap: 6px;
  align-items: center;
}

.pos-ctx-group,
.pos-ctx-flyout {
  position: absolute;
  left: 236px;
  top: 8px;
  width: 220px;
  padding: 12px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  z-index: 402;
}

.pos-ctx-group-title {
  margin-bottom: 10px;
  color: #ddd;
  font-size: 12px;
  font-weight: 700;
}

.pos-ctx-group-legs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.pos-ctx-group-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: #ccc;
}

.pos-ctx-group-label {
  margin-bottom: 4px;
  color: #888;
  font-size: 11px;
  font-weight: 600;
}

.pos-ctx-group-input {
  width: 100%;
  height: 28px;
  margin-bottom: 10px;
  padding: 0 8px;
  border: 1px solid #4a4a4a;
  border-radius: 2px;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
}

.pos-ctx-group-btn,
.pos-ctx-fly-item {
  width: 100%;
  height: 30px;
  border: 1px solid #4a4a4a;
  border-radius: 2px;
  background: #333;
  color: #ccc;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.pos-ctx-fly-item {
  border: 0;
  text-align: left;
  padding: 0 10px;
  margin-bottom: 2px;
}

.pos-ctx-fly-item.is-muted { color: #666; cursor: default; }

.pos-row--named.is-toggleable { cursor: pointer; }
.pos-row--named td { background: var(--terminal-row-named); }
.pos-row--named:hover td { background: var(--terminal-row-hover); }
.pos-sym-cell--named { padding-left: 18px; }
.pos-dot--named { background: var(--terminal-dot); }
.pos-named-label {
  flex: 1;
  color: var(--terminal-text-symbol);
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.pos-named-net {
  flex: none;
  margin-left: auto;
  padding-right: 8px;
  color: var(--terminal-text-secondary, #9a9a9a);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.desk-picker { position: relative; display: inline-block; width: 100%; }
.desk-picker-scrim { position: fixed; inset: 0; z-index: 319; background: transparent; }
.desk-picker-menu {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  z-index: 320;
  min-width: 88px;
  max-height: min(340px, calc(100vh - 16px));
  display: flex;
  flex-direction: column;
  background: #141414;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}
.desk-px-menu, .desk-price-wand { min-width: 228px; }
.desk-picker-head {
  flex-shrink: 0;
  padding: 4px 8px;
  border-bottom: 1px solid #2a2a2a;
  color: #666;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #0e0e0e;
}
.desk-picker-scroll { overflow-y: auto; max-height: 240px; flex: 1 1 auto; min-height: 72px; }
.desk-picker-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  color: #e0e0e0;
  font-size: 12px;
  font-family: ui-monospace, Menlo, monospace;
  text-align: left;
  cursor: pointer;
}
.desk-picker-item:hover { background: #2a3a48; }
.desk-picker-item.is-active { background: #1f2c33; color: #fff; }
.desk-px-cols { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 0; flex: 1 1 auto; overflow: hidden; }
.desk-px-cols--market-only { grid-template-columns: 1fr; }
.desk-px-col { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #2a2a2a; }
.desk-px-col:last-child { border-right: 0; }
.desk-px-dollar-label { font-size: 11px; font-weight: 700; color: #c8a84b; }
.desk-px-shortcuts { flex-shrink: 0; display: flex; flex-direction: column; border-top: 1px solid #2a2a2a; }
.desk-px-sc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 26px;
  padding: 2px 8px;
  border: 0;
  border-top: 1px solid #1a1a1a;
  background: #101010;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.desk-px-sc.is-ask { background: #2a1218; color: var(--desk-down, #e05d63); }
.desk-px-sc.is-mid { background: #1a1a1a; color: #aaa; }
.desk-px-sc.is-bid { background: #0f221c; color: var(--desk-up, #69bd7b); }
