:root {
  color-scheme: dark;
  --base: #0d1014;
  --panel: #14191f;
  --panel2: #171d24;
  --line: #2b323c;
  --sub: #a0aab6;
  --muted: #8693a2;
  --ink: #eef1f4;
  --lime: #cdf977;
  --up: #69d4a9;
  --down: #f2878c;
  --mono: "IBM Plex Mono","DejaVu Sans Mono",Consolas,monospace;
  font-family: Inter,"Segoe UI",Arial,sans-serif;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  background: var(--base);
}
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #3b4650 transparent;
}
body {
  margin: 0;
}
button,select,input,textarea {
  font: inherit;
  color: inherit;
}
button,select,input,textarea,.file-btn {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #1c222a;
}
button,.file-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  line-height: 1.25;
}
button:hover,.file-btn:hover {
  background: #29313a;
  color: #fff;
}
button:disabled {
  opacity: .42;
  cursor: default;
}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}
button svg,.file-btn svg {
  flex: none;
}
input,select,textarea {
  min-width: 0;
  padding: 8px 10px;
  background: #10151b;
}
select {
  appearance: none;
  padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a7b2be' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 8px center;
  background-repeat: no-repeat;
}
input[type=checkbox] {
  accent-color: var(--lime);
  width: 15px;
  height: 15px;
  flex: none;
}
input[type=range] {
  accent-color: var(--lime);
}
input:disabled {
  opacity: .53;
}
button svg {
  width: 16px;
  height: 16px;
}
h1,h2,h3,p {
  margin: 0;
}
p {
  line-height: 1.5;
}
b,strong {
  font-weight: 640;
}
small {
  font-size: .75rem;
}
.pos {
  color: var(--up)!important;
}
.neg,.error {
  color: var(--down)!important;
}
.soft,.empty {
  color: var(--sub);
  font-size: .82rem;
  line-height: 1.5;
}
.empty {
  padding: 18px;
}
.soft {
  margin: 10px 0;
}
.error {
  font-size: .85rem;
  margin: 6px 0;
}
.icon-btn {
  width: 29px;
  height: 29px;
  border: 0;
  background: transparent;
  color: var(--sub);
  padding: 5px;
}
.icon-btn.on,.selected {
  color: var(--lime);
  background: #2c3526;
}
.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #172012;
  font-weight: 650;
}
.primary:hover {
  background: #dcffa4;
  color: #121910;
}
.full {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
}
.scroll,.table-wrap {
  overflow: auto;
  min-height: 0;
  min-width: 0;
}
.app {
  display: grid;
  grid-template: 56px minmax(0,1fr) 27px / 55px minmax(0,1fr);
  height: 100dvh;
  min-height: 460px;
}
.global {
  grid-column: 1/-1;
  background: #111519;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: clamp(18px,5vw,90px);
  padding: 0 18px;
}
.brand {
  border: 0;
  background: none;
  padding: 0;
  gap: 8px;
}
.brand:hover {
  background: none;
}
.brand img {
  height: 31px;
  width: 31px;
  object-fit: contain;
}
.brand b {
  font-size: 1.31rem;
  letter-spacing: -.065em;
  font-weight: 800;
}
.brand i {
  height: 16px;
  border-left: 1px solid #47503f;
  margin: 0 1px;
}
.brand span {
  font: 600 .755rem var(--mono);
  letter-spacing: .11em;
  color: var(--lime);
}
.global-search {
  background: #181d23;
  border-color: #2b333d;
  padding: 6px 8px 6px 12px;
  color: var(--muted);
  width: min(345px,30vw);
  justify-content: flex-start;
  font-size: .8rem;
}
.global-search kbd {
  margin-left: auto;
  font: 10px var(--mono);
  border: 1px solid #3a424c;
  border-radius: 3px;
  padding: 3px 4px;
}
.global-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.mode,.paper-label,.ticker-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 3px;
  font-size: .72rem;
  white-space: nowrap;
}
.mode,.paper-label {
  background: #302c1d;
  color: #e5c982;
  border: 1px solid #4b432d;
}
.mode {
  padding: 4px 8px;
}
.mode>span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d6b76f;
}
.paper-label {
  font-size: .65rem;
  padding: 2px 5px;
}
.ticker-tag {
  color: #bbd4a1;
  background: #283022;
  padding: 2px 5px;
  font: 10px var(--mono);
}
.acct {
  background: transparent;
  border: 0;
  font-size: .82rem;
  padding: 6px;
}
.rail {
  grid-column: 1;
  grid-row: 2;
  background: #111519;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 0 8px;
}
.rail>button {
  width: 38px;
  height: 39px;
  border: 0;
  background: none;
  color: #8996a4;
  position: relative;
  border-radius: 5px;
}
.rail>button svg {
  width: 19px;
  height: 19px;
}
.rail>button:hover {
  background: #20262e;
  color: var(--ink);
}
.rail>button.active {
  background: #293522;
  color: var(--lime);
}
.rail>button.active:before {
  content: "";
  position: absolute;
  left: -8px;
  height: 20px;
  width: 2px;
  background: var(--lime);
}
.rail>button span {
  display: none;
}
.rail .bottom {
  margin-top: auto;
}
.app main {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ticker-strip {
  display: flex;
  overflow: hidden;
  min-height: 34px;
  height: 34px;
  flex: none;
  border-bottom: 1px solid var(--line);
  background: #101419;
}
.ticker-strip button {
  flex: 1 0 auto;
  gap: 9px;
  font: 11px var(--mono);
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 0 13px;
  background: none;
}
.ticker-strip button:hover {
  background: #20262b;
}
.ticker-strip em {
  font-style: normal;
}
.spark {
  width: 44px;
  height: 17px;
  vertical-align: middle;
}
.workspace-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 15px;
  height: 61px;
  flex: none;
}
.title-line,.workspace-tools,.button-row,.seg,.symbol-cell,.chart-symbol,.chart-actions,.clock-controls,.section-title,.file-btn,.event-source {
  display: flex;
  align-items: center;
}
.title-line {
  gap: 9px;
}
.page-icon {
  display: grid;
  place-content: center;
  color: var(--lime);
}
h1 {
  font-size: 1.35rem;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.workspace-tools,.button-row,.seg {
  gap: 6px;
}
.workspace-tools button,.return {
  font-size: .79rem;
  background: #1a2026;
  padding: 7px 10px;
}
.workspace-tools svg {
  width: 14px;
  height: 14px;
}
.workspace-tools button svg:last-child:not(:first-child) {
  width: 12px;
}
.board {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  padding: 0 10px 9px;
  position: relative;
}
.column {
  flex-basis: 0;
  min-width: 0;
  min-height: 0;
  display: grid;
}
.sash {
  touch-action: none;
  position: relative;
  z-index: 2;
}
.sash:after {
  content: "";
  position: absolute;
  background: transparent;
}
.sash:hover:after {
  background: #647f44;
}
.sash.vertical {
  width: 5px;
  cursor: col-resize;
}
.sash.horizontal {
  height: 5px;
  cursor: row-resize;
}
.sash.vertical:after {
  inset: 0 1px;
}
.sash.horizontal:after {
  inset: 1px 0;
}
.panel {
  position: relative;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  font-size: .81rem;
}
.panel-head {
  height: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border-bottom: 1px solid var(--line);
  background: #181e25;
}
.panel-head>svg:first-child {
  height: 15px;
  width: 15px;
  color: var(--sub);
}
.panel-head h2 {
  font-size: .88rem;
  font-weight: 650;
  letter-spacing: -.015em;
}
.head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.panel-head .handle {
  opacity: 0;
  width: 9px;
}
.drag-zone {
  z-index: 2;
  position: absolute;
  top: 10px;
  right: 2px;
  width: 13px;
  height: 20px;
  display: grid;
  place-content: center;
  cursor: grab;
  color: #64717f;
}
.panel-chart>.drag-zone,.panel-dock>.drag-zone {
  top: 8px;
}
.drag-zone:hover {
  color: var(--lime);
}
.watch-listbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 35px;
  min-height: 35px;
  padding: 0 9px;
  border-bottom: 1px solid #242b33;
}
.watch-listbar>button:first-child {
  padding: 2px 0;
  border: 0;
  background: none;
  color: #c0c9d3;
  font-size: .75rem;
}
.watch-listbar>span,.ledger-tabs small {
  font: 10px var(--mono);
  background: #292f37;
  color: var(--sub);
  border-radius: 3px;
  padding: 2px 4px;
}
.watch-listbar .icon-btn {
  margin-left: auto;
}
.watch {
  flex: 1;
}
.panel table,.large-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
.panel th,.panel td,.large-table th,.large-table td {
  padding: 6px 9px;
  text-align: right;
}
.panel th,.large-table th,.depth-head {
  color: var(--muted);
  font-size: .71rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.panel th:first-child,.panel td:first-child,.large-table th:first-child,.large-table td:first-child {
  text-align: left;
}
.panel td,.large-table td {
  border-bottom: 1px solid #242b33;
  font: .75rem var(--mono);
}
.panel table th {
  position: sticky;
  top: 0;
  background: var(--panel);
  z-index: 1;
}
.watch td {
  height: 40px;
  padding: 3px 8px;
}
.watch tr.chosen {
  background: #202a24;
  box-shadow: inset 2px 0 var(--lime);
}
.watch tr:hover {
  background: #20262c;
}
.watch td:not(:first-child) {
  cursor: pointer;
}
.symbol-cell {
  border: 0;
  background: transparent;
  text-align: left;
  justify-content: flex-start;
  gap: 7px;
  padding: 0;
  color: var(--ink);
  font: .755rem var(--mono);
}
.symbol-cell:hover {
  background: transparent;
  color: var(--lime);
}
.symbol-cell span b,.symbol-cell span small,.chart-symbol span b,.chart-symbol span small {
  display: block;
}
.symbol-cell small {
  font: 10px Inter,Arial,sans-serif;
  color: var(--muted);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.issuer {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-grid;
  place-content: center;
  color: var(--issuer);
  background: color-mix(in srgb,var(--issuer) 15%,#11171a);
  border: 1px solid color-mix(in srgb,var(--issuer) 34%,#11171a);
  font: 700 18px Arial,sans-serif;
  flex: none;
}
.issuer.small {
  width: 23px;
  height: 23px;
  font-size: 12px;
  border-radius: 6px;
}
.panel-link {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: #161c22;
  font-size: .74rem;
  justify-content: space-between;
  color: #b5c0cb;
  padding: 8px 11px;
}
.feed button {
  display: block;
  text-align: left;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  padding: 11px 12px;
}
.feed button:hover {
  background: #1e252d;
}
.feed button>div {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.feed time,.feed b {
  font: 10px var(--mono);
}
.feed time {
  color: var(--muted);
}
.feed b {
  color: #bdc9d5;
  background: #282f37;
  padding: 2px 4px;
  border-radius: 2px;
}
.feed small {
  font-size: .64rem;
  color: var(--muted);
}
.feed strong {
  font-size: .8rem;
  line-height: 1.35;
  font-weight: 530;
}
.chart-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px 0 14px;
  gap: 8px;
}
.chart-symbol {
  gap: 8px;
}
.chart-symbol b {
  font: 650 1rem var(--mono);
  letter-spacing: .02em;
}
.chart-symbol small {
  color: var(--sub);
  font-size: .7rem;
  margin-top: 2px;
}
.chart-actions {
  gap: 3px;
}
.quote-line {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 14px 8px;
  white-space: nowrap;
}
.quote-line strong {
  font: 550 clamp(1.7rem,2.4vw,2.65rem) var(--mono);
  letter-spacing: -.08em;
  line-height: 1.15;
}
.quote-line>span {
  font-size: 1.08rem;
  color: var(--muted);
}
.quote-line b {
  font: .78rem var(--mono);
}
.quote-line small {
  color: var(--muted);
  font-size: .7rem;
}
.chart-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-block: 1px solid var(--line);
  min-height: 35px;
}
.tf {
  display: flex;
  align-items: center;
  gap: 2px;
}
.tf button,.indicator {
  background: none;
  border: 0;
  padding: 4px 7px;
  color: var(--sub);
  font-size: .74rem;
}
.tf button.active,.minor-tabs .active {
  color: var(--lime);
  background: #293323;
  border-radius: 3px;
}
.chart-toolbar i {
  height: 16px;
  border-left: 1px solid var(--line);
}
.chart-toolbar .icon-btn {
  height: 23px;
  width: 23px;
}
.chart-area {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #11161c;
}
.chart-slot {
  position: relative;
  min-height: 0;
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.chart-slot .eb-chart {
  min-height: 0;
}
.chart-slot.second {
  border-top: 1px solid #4b5b49;
}
.pin-row {
  position: absolute;
  z-index: 1;
  right: 67px;
  top: 1px;
  display: flex;
  align-items: center;
  background: #14191f;
  font-size: .65rem;
}
.pin-row select {
  padding: 2px 20px 2px 4px;
}
.pin-row .icon-btn {
  height: 20px;
}
.chart-foot,.ledger-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
  background: #14191f;
  border-top: 1px solid var(--line);
  padding: 5px 10px;
  color: var(--muted);
  font: .62rem var(--mono);
}
.chart-foot span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.source-dot {
  width: 5px;
  height: 5px;
  background: var(--muted);
  border-radius: 50%;
}
.panel-chart.expanded {
  position: fixed;
  inset: 60px 12px 32px 60px;
  z-index: 5;
  box-shadow: 0 0 0 100vmax #090c10d0;
}
.ledger-tabs,.minor-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  padding: 0 8px;
}
.ledger-tabs {
  height: 40px;
  min-height: 40px;
  padding-right: 15px;
  background: #181e25;
  overflow: auto;
}
.ledger-tabs button,.minor-tabs button {
  position: relative;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--sub);
  white-space: nowrap;
  font-size: .75rem;
  padding: 0 8px;
  height: 100%;
}
.ledger-tabs .active {
  color: var(--lime);
}
.ledger-tabs .active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 7px;
  right: 7px;
  height: 2px;
  background: var(--lime);
}
.ledger-tabs small {
  font-size: 9px;
}
.ledger {
  flex: 1;
}
.ledger td {
  height: 35px;
}
.ledger-foot {
  justify-content: flex-start;
  font-family: inherit;
  font-size: .68rem;
}
.ledger-foot span {
  margin-left: auto;
}
.text-action {
  padding: 2px 4px;
  font: 11px Arial,sans-serif;
}
.minor-tabs {
  min-height: 32px;
  gap: 3px;
  align-items: center;
  padding: 4px 10px;
}
.minor-tabs button {
  padding: 2px 7px;
  font-size: .71rem;
}
.depth-select {
  margin-left: auto;
  padding: 1px 20px 1px 6px;
  font: .65rem var(--mono);
  border: 0;
}
.book-body {
  flex: 1;
  padding: 0 8px 4px;
}
.depth-head,.depth-row,.spread {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.depth-head {
  padding: 5px 5px;
}
.depth-row {
  width: 100%;
  border: 0;
  border-radius: 0;
  position: relative;
  padding: 2px 6px;
  height: 21px;
  background: none;
  font: .75rem var(--mono);
  overflow: hidden;
}
.depth-row span,.depth-row b {
  z-index: 1;
  font-weight: 500;
}
.depth-row i {
  position: absolute;
  right: 0;
  top: 1px;
  bottom: 1px;
  max-width: 100%;
}
.ask span {
  color: var(--down);
}
.bid span {
  color: var(--up);
}
.ask i {
  background: #56303880;
}
.bid i {
  background: #254c4080;
}
.spread {
  border-block: 1px solid var(--line);
  margin: 3px 0;
  padding: 4px 6px;
}
.spread b {
  font: .92rem var(--mono);
}
.spread span {
  color: var(--sub);
  font-size: .68rem;
}
.ticket-pane {
  padding: 10px 12px;
  flex: 1;
}
.side-toggle {
  display: flex;
  background: #101419;
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: 4px;
  gap: 4px;
}
.side-toggle button {
  flex: 1;
  padding: 5px;
  background: none;
  color: var(--sub);
  border: 0;
  font-size: .78rem;
  font-weight: 600;
}
.side-toggle .buy.active {
  background: #213e33;
  color: var(--up);
}
.side-toggle .sell.active {
  background: #492c33;
  color: var(--down);
}
.ticket-kind {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 9px 0;
}
.ticket-kind select {
  font-size: .76rem;
  padding: 3px 21px 3px 5px;
}
.ticket-kind span {
  font-size: .65rem;
  color: var(--muted);
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 6px;
}
.field-pair label,.form-label,.settings-grid label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--sub);
  font-size: .75rem;
}
.field-pair input {
  width: 100%;
  padding: 7px 8px;
  font: .8rem var(--mono);
  color: var(--ink);
}
.pair {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  font-size: .8rem;
}
.pair>span {
  color: var(--sub);
}
.pair strong {
  text-align: right;
  font: .82rem var(--mono);
}
.submit {
  width: 100%;
  margin-top: 4px;
  font-size: .85rem;
  font-weight: 650;
  padding: 8px;
}
.submit.buy {
  color: #a1e9c5;
  background: #234634;
  border-color: #396747;
}
.submit.sell {
  color: #ffb2b5;
  background: #4a2a32;
  border-color: #78434d;
}
.submit:hover {
  filter: brightness(1.14);
}
footer {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 13px;
  background: #111519;
  border-top: 1px solid var(--line);
  font-size: .67rem;
  color: var(--muted);
}
footer>span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
footer>span i {
  height: 6px;
  width: 6px;
  background: currentColor;
  border-radius: 50%;
}
.footer-source {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.clock-controls {
  gap: 8px;
  margin-left: auto;
}
.clock-controls b {
  font: .67rem var(--mono);
  color: #bfc8d1;
}
.clock-controls svg {
  width: 12px;
  height: 12px;
}
.clock-controls button {
  width: 21px;
  height: 20px;
  padding: 2px;
  background: none;
  border: none;
  color: var(--sub);
}
.mobile-tabs {
  display: none;
}
.loading {
  display: grid;
  place-content: center;
  gap: 10px;
  flex: 1;
  text-align: center;
  color: var(--sub);
}
.warning,.replay-bar {
  padding: 6px 13px;
  background: #302c20;
  color: #f4dc9a;
  font-size: .78rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.warning button,.replay-bar button {
  padding: 3px 7px;
}
.replay-bar {
  background: #1c2624;
  color: var(--ink);
  margin: 0 10px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.replay-bar b {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}
.replay-bar input {
  width: 140px;
}
.replay-bar select {
  padding: 3px 22px 3px 7px;
}
.toast {
  position: fixed;
  bottom: 39px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #596c4a;
  background: #232c22;
  border-radius: 5px;
  color: #e2efdc;
  box-shadow: 0 6px 24px #0008;
  font-size: .82rem;
  z-index: 30;
}
.toast button {
  border: 0;
  padding: 0;
  background: none;
}
.scrim {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  background: #030609b8;
  padding: 16px;
}
.modal {
  width: min(450px,100%);
  max-height: 85dvh;
  overflow: auto;
  border: 1px solid #46515b;
  background: #181e25;
  border-radius: 7px;
  padding: 17px 18px;
  box-shadow: 0 20px 80px #0008;
}
.modal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}
.modal h2 {
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
.modal h3 {
  font-size: 1.03rem;
  margin: 13px 0;
}
.modal .form-label {
  margin: 10px 0;
}
.modal>p,.modal details {
  font-size: .86rem;
}
.modal .pair {
  border-bottom: 1px solid var(--line);
}
.check {
  display: flex!important;
  flex-direction: row!important;
  align-items: center;
  gap: 9px!important;
  font-size: .82rem;
  color: var(--ink)!important;
}
.config-row,.results button,.calendar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.config-row {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
}
.config-row button {
  font-size: .75rem;
  padding: 4px 7px;
}
.results {
  max-height: 52vh;
  overflow: auto;
}
.results button {
  width: 100%;
  justify-content: flex-start;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  border-radius: 0;
  padding: 10px 4px;
  font-size: .83rem;
}
.results button:hover {
  background: #222b32;
}
.results button span:not(.issuer) {
  color: var(--sub);
}
.results button svg:last-child,.results button small {
  margin-left: auto;
  color: var(--lime);
}
.indicator-option {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.event-source {
  gap: 7px;
  color: var(--sub);
}
.event-source svg {
  width: 15px;
}
.document {
  border-left: 2px solid var(--lime);
  background: #1d252a;
  padding: 10px;
  margin-top: 13px;
}
.document summary {
  cursor: pointer;
  color: var(--lime);
}
.document p {
  margin-top: 9px;
}
.page {
  margin: 0 10px 9px;
  min-height: 0;
  overflow: auto;
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: clamp(15px,2vw,30px);
  font-size: .88rem;
}
.section-title {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.section-title h2 {
  font-size: 1.35rem;
  letter-spacing: -.03em;
}
.section-title p {
  color: var(--sub);
  margin-top: 5px;
  font-size: .8rem;
}
.section-title>svg {
  color: var(--lime);
}
.section-title button,.filter-bar button,.filter-bar select,.filter-bar input,.settings-grid button {
  font-size: .8rem;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}
.filter-bar>input[type=number] {
  width: 102px;
}
.input-icon {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #10151b;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding-left: 9px;
}
.input-icon svg {
  width: 16px;
  height: 16px;
  color: var(--sub);
}
.input-icon input {
  border: 0;
  flex: 1;
  background: none;
}
.seg button.active {
  background: #283325;
  color: var(--lime);
  border-color: #48583c;
}
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 4px;
}
.large-table th {
  font-family: inherit;
  background: #1a2027;
}
.large-table th button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
}
.large-table th,.large-table td {
  padding: 9px 12px;
}
.large-table td button:not(.symbol-cell):not(.icon-btn) {
  padding: 4px 8px;
  font: 12px Arial,sans-serif;
}
.large-table tr:hover {
  background: #1a2128;
}
.heatmap {
  display: flex;
  flex-flow: row wrap;
  gap: 3px;
}
.heatmap button {
  flex-basis: 12%;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 2px;
  font: .75rem var(--mono);
}
.heatmap b {
  font-size: 1rem;
}
.metrics {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin: 10px 0 22px;
  border-block: 1px solid var(--line);
}
.metrics>div {
  padding: 14px 20px 14px 0;
  min-width: 140px;
  flex: 1;
}
.metrics span,.metrics b {
  display: block;
}
.metrics span {
  color: var(--sub);
  font-size: .75rem;
  margin-bottom: 5px;
}
.metrics b {
  font: 1.15rem var(--mono);
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px 35px;
}
.settings-grid section {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.settings-grid h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.settings-grid section>label {
  margin: 9px 0;
  max-width: 360px;
}
.settings-grid section>p {
  color: var(--sub);
  font-size: .82rem;
  margin: 9px 0;
}
.settings-grid section>button {
  margin: 8px 0;
}
.settings-grid .pair {
  border-bottom: 1px solid #252c33;
}
.risk-line {
  position: relative;
  padding-bottom: 4px;
}
.risk-line i {
  position: absolute;
  height: 2px;
  background: var(--lime);
  left: 0;
  bottom: 0;
}
.file-btn {
  position: relative;
  font-size: .8rem;
  overflow: hidden;
}
.file-btn input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.calendar-item {
  width: 100%;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  text-align: left;
  padding: 13px 4px;
  justify-content: flex-start;
}
.calendar-item time {
  font: .85rem var(--mono);
  color: var(--lime);
  margin-right: 18px;
}
.calendar-item span {
  font-size: .72rem;
  color: var(--sub);
}
.calendar-item b {
  display: block;
  font-size: .95rem;
  margin-top: 4px;
  color: var(--ink);
}
.calendar-item>svg {
  margin-left: auto;
  color: var(--sub);
}
.dense .watch td,.dense .ledger td {
  height: 28px;
}
.dense .feed button {
  padding-block: 7px;
}
.dense .depth-row {
  height: 17px;
}
@media(min-width:1700px) {
  .watch td {
    height: 48px;
  }
  .depth-row {
    height: 25px;
  }
  .panel {
    font-size: .9rem;
  }
  .panel-head h2 {
    font-size: .97rem;
  }
  .panel td {
    font-size: .85rem;
  }
  .feed button {
    padding: 15px;
  }
  .ticket-pane {
    padding: 14px 18px;
  }
  .ticket-kind {
    margin: 14px 0;
  }
  .field-pair input {
    padding: 10px;
  }
  .chart-top {
    padding-top: 16px;
  }
  .ticker-strip button {
    font-size: 12px;
  }
  .board {
    padding-inline: 14px;
  }
  .workspace-title {
    height: 68px;
  }
}
@media(max-height:780px) and (min-width:901px) {
  .app {
    grid-template-rows: 47px minmax(0,1fr) 24px;
  }
  .workspace-title {
    height: 46px;
  }
  .ticker-strip {
    height: 29px;
    min-height: 29px;
  }
  .panel-head,.ledger-tabs {
    height: 32px;
    min-height: 32px;
  }
  .watch td {
    height: 32px;
  }
  .watch-listbar {
    height: 29px;
    min-height: 29px;
  }
  .feed button {
    padding: 8px 11px;
  }
  .chart-top {
    padding-top: 8px;
  }
  .chart-toolbar {
    min-height: 30px;
    padding-block: 1px;
  }
  .quote-line strong {
    font-size: 1.8rem;
  }
  .chart-foot {
    padding: 3px 8px;
  }
  .minor-tabs {
    min-height: 27px;
  }
  .depth-row {
    height: 16px;
    font-size: .7rem;
  }
  .depth-head {
    padding-block: 3px;
  }
  .spread {
    padding-block: 2px;
    margin: 1px 0;
  }
  .ticket-pane {
    padding: 6px 9px;
  }
  .ticket-kind {
    margin: 5px 0;
  }
  .field-pair input {
    padding: 5px 6px;
  }
  .side-toggle button {
    padding: 3px;
  }
  .ticket-pane .pair {
    padding: 4px 0;
  }
  .submit {
    padding: 6px;
  }
  .drag-zone {
    top: 6px;
  }
  .rail {
    gap: 4px;
  }
}
@media(max-width:1230px) and (min-width:901px) {
  .watch td,.watch th,.ledger th,.ledger td {
    padding-inline: 5px;
  }
  .issuer.small {
    width: 19px;
    height: 19px;
  }
  .watch .symbol-cell {
    gap: 4px;
  }
  .ledger-tabs {
    gap: 0;
  }
  .ledger-tabs button {
    padding-inline: 5px;
  }
  .global {
    gap: 30px;
  }
  .panel-head {
    padding-inline: 8px;
  }
  .ticker-strip button {
    font-size: 10px;
    gap: 5px;
  }
  .ticker-strip .spark {
    width: 31px;
  }
  .workspace-title {
    padding-inline: 10px;
  }
  .watch td {
    font-size: .68rem;
  }
}
@media(max-width:900px) {
  .app {
    grid-template: 49px minmax(0,1fr) 26px / 44px minmax(0,1fr);
  }
  .global {
    gap: 12px;
    padding-inline: 9px;
  }
  .global-search {
    margin-left: auto;
    width: 32px;
    padding: 7px;
  }
  .global-search span,.global-search kbd {
    display: none;
  }
  .global-right {
    margin-left: 0;
    gap: 7px;
  }
  .rail {
    gap: 4px;
  }
  .rail>button {
    width: 33px;
  }
  .ticker-strip {
    min-height: 28px;
    height: 28px;
  }
  .ticker-strip button {
    padding-inline: 8px;
    font-size: 10px;
  }
  .ticker-strip .spark {
    display: none;
  }
  .workspace-title {
    height: 51px;
    padding: 0 9px;
  }
  .workspace-title h1 {
    font-size: 1.15rem;
  }
  .workspace-tools button {
    font-size: .7rem;
    padding: 6px;
  }
  .workspace-tools button:first-child>svg:first-child {
    display: none;
  }
  .board {
    display: block;
    padding: 0 7px 6px;
  }
  .column {
    display: contents;
  }
  .sash,.panel:not(.mobile-show) {
    display: none;
  }
  .panel.mobile-show {
    height: 100%;
    display: flex;
  }
  .mobile-tabs {
    display: flex;
    overflow: auto;
    gap: 4px;
    padding: 0 7px 7px;
    min-height: 35px;
  }
  .mobile-tabs button {
    font-size: .73rem;
    border: 1px solid var(--line);
    white-space: nowrap;
    background: var(--panel);
    padding: 4px 8px;
  }
  .mobile-tabs .active {
    color: var(--lime);
    border-color: #495a3c;
  }
  .drag-zone {
    display: none;
  }
  .panel-head .handle {
    display: none;
  }
  .ticket-pane {
    padding: 14px;
  }
  .ticket-pane .pair {
    padding: 12px 0;
  }
  .depth-row {
    height: 24px;
  }
  .watch td {
    height: 44px;
  }
  .footer-source {
    display: none;
  }
  .settings-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .page {
    margin-inline: 7px;
  }
  .chart-area.dual .pin-row span {
    display: none;
  }
  .modal .results {
    max-height: 48vh;
  }
  .panel-chart.expanded {
    inset: 52px 7px 32px 48px;
  }
  .clock-controls {
    gap: 6px;
  }
  .replay-bar {
    flex-wrap: wrap;
  }
  .clock-controls span {
    font-size: .65rem;
  }
}
@media(max-width:590px) {
  .app {
    grid-template: 46px minmax(0,1fr) 45px 24px / minmax(0,1fr);
    min-height: 420px;
  }
  .global {
    grid-row: 1;
  }
  .brand {
    gap: 4px;
  }
  .brand b {
    font-size: 1.03rem;
  }
  .brand img {
    width: 23px;
    height: 23px;
  }
  .brand span {
    font-size: .55rem;
  }
  .brand i {
    height: 12px;
  }
  .mode {
    font-size: .62rem;
    padding: 3px 5px;
  }
  .mode>span {
    width: 4px;
    height: 4px;
  }
  .acct {
    font-size: 0;
    gap: 2px;
    padding: 4px;
  }
  .acct>svg:last-child {
    display: none;
  }
  .rail {
    grid-column: 1;
    grid-row: 3;
    flex-direction: row;
    justify-content: space-between;
    overflow: auto;
    gap: 0;
    padding: 2px 3px;
    border: 0;
    border-top: 1px solid var(--line);
  }
  .rail>button {
    flex: 1;
    height: 38px;
    min-width: 38px;
    flex-direction: column;
    gap: 3px;
    padding: 2px;
  }
  .rail>button span {
    display: block;
    font-size: 7px;
    white-space: nowrap;
  }
  .rail>button svg {
    width: 16px;
    height: 16px;
  }
  .rail .bottom {
    margin: 0;
  }
  .rail>.icon-btn {
    display: none;
  }
  .rail>button.active:before {
    display: none;
  }
  .app main {
    grid-column: 1;
    grid-row: 2;
  }
  .ticker-strip button {
    font-size: 9px;
  }
  .workspace-title {
    height: 44px;
  }
  .workspace-title h1 {
    font-size: 1.04rem;
  }
  .title-line {
    gap: 5px;
  }
  .page-icon svg {
    width: 14px;
  }
  .workspace-tools {
    gap: 3px;
  }
  .workspace-tools button {
    font-size: 10px;
    gap: 3px;
    padding: 5px;
  }
  .workspace-tools svg {
    width: 12px;
  }
  .workspace-tools button:last-child {
    font-size: 0;
    gap: 0;
    padding: 6px;
  }
  .mobile-tabs {
    min-height: 33px;
  }
  .mobile-tabs button {
    font-size: 11px;
    padding: 4px 7px;
  }
  .app footer {
    grid-row: 4;
    font-size: 10px;
    padding-inline: 7px;
  }
  .clock-controls {
    gap: 4px;
  }
  .clock-controls>svg {
    display: none;
  }
  .clock-controls b {
    font-size: 10px;
  }
  .panel-chart.expanded {
    inset: 47px 5px 71px;
  }
  .quote-line small {
    display: none;
  }
  .chart-toolbar {
    gap: 2px;
    padding-inline: 6px;
  }
  .tf button {
    padding-inline: 5px;
  }
  .chart-toolbar .indicator {
    padding-inline: 4px;
  }
  .quote-line strong {
    font-size: 1.8rem;
  }
  .chart-top {
    padding-top: 9px;
  }
  .page {
    padding: 12px;
  }
  .section-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .section-title h2 {
    font-size: 1.08rem;
  }
  .filter-bar>* {
    max-width: 100%;
  }
  .metrics>div {
    min-width: 120px;
    padding: 8px;
  }
  .metrics b {
    font-size: .9rem;
  }
  .toast {
    bottom: 76px;
    min-width: 70%;
  }
  .ledger-tabs {
    padding: 0 3px;
  }
  .ledger-tabs button {
    font-size: .7rem;
    padding-inline: 5px;
  }
  .modal {
    padding: 14px;
  }
  .replay-bar {
    margin-bottom: 4px;
    gap: 5px;
    font-size: 11px;
  }
  .replay-bar input {
    width: 90px;
  }
  .replay-bar button,.replay-bar select {
    font-size: 11px;
  }
  .replay-bar span {
    display: none;
  }
  .heatmap button {
    flex-basis: 24%;
  }
  .pin-row {
    right: 4px;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    animation: none!important;
    transition: none!important;
  }
}
.reaction {
  width: 100%;
  border-collapse: collapse;
  font-size: .76rem;
}
.reaction th,.reaction td {
  text-align: right;
  padding: 4px;
  border-bottom: 1px solid var(--line);
}
.reaction th {
  font-weight: 500;
  color: var(--sub);
}
.reaction th:first-child,.reaction td:first-child {
  text-align: left;
}
.reaction td {
  font-family: var(--mono);
}
.ticket-free {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0 8px;
  color: var(--sub);
  font-size: .7rem;
}
.ticket-free b {
  font: inherit;
  font-family: var(--mono);
}
.ledger-foot b {
  font: inherit;
  font-family: var(--mono);
}

.chart-area.triple { display: grid; grid-template: minmax(0,1.2fr) minmax(0,1fr) / repeat(2,minmax(0,1fr)); }
.triple .chart-slot:first-child { grid-column: span 2; }
.triple .linked { border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.series-label { position: absolute; z-index: 1; top: 1px; right: 8px; padding: 2px 5px; background: var(--panel); font: 10px var(--mono); color: var(--sub); }
.triple .pin-row { right: 2px; }
.triple .pin-row span { display:none; }

.rail .mobile-more { display:none; }
@media(max-width:590px) {
  .rail > button:nth-child(3), .rail > button:nth-child(4), .rail > button:nth-child(7), .rail > button:nth-child(8) { display:none; }
  .rail .mobile-more { display:flex; }
  .rail > button span { font-size:10px; }
  .rail > button svg { width:17px; height:17px; }
}

/* Рабочее место */
:root {
  --base:#0a0e12; --panel:#12181e; --panel2:#171e25; --line:#2b333c;
  --ink:#f0f4f6; --sub:#abb6c1; --muted:#91a0ad; --lime:#c2f66b;
  --up:#62d8ad; --down:#ff9097;
}
.global {background:#11171c; border-bottom-color:#303a42}
.brand span {background:#223024; padding:5px 7px; border-radius:4px; letter-spacing:.12em}
.brand i {display:none}
.global-search {border-radius:6px; background:#1a2128}
.header-equity {display:grid; gap:3px; justify-items:end; padding:0 16px 0 0; border:0; border-right:1px solid var(--line); border-radius:0; background:none}
.header-equity:hover {background:none}
.header-equity small {color:var(--muted);font-size:.68rem}
.header-equity b {font:600 .83rem var(--mono)}
.workspace-title .page-icon {background:#1a2420; border:1px solid #364734; border-radius:7px; width:31px; height:31px}
.workspace-title h1 {margin:0; font-weight:650; letter-spacing:-.04em}
.workspace-tools button {border-radius:6px; min-height:32px}
.workspace-tools .add-widget,.workspace-empty button {background:var(--lime);border-color:var(--lime); color:#192211; font-weight:680}
.workspace-tools .add-widget:hover,.workspace-empty button:hover {background:#d4ff8e; color:#131c0d}
.workspace-tools .undo-layout {padding-inline:8px}
.ticker-strip {height:47px; min-height:47px; overflow-x:auto; scrollbar-width:none; background:#10151a}
.ticker-strip::-webkit-scrollbar {display:none}
.ticker-strip button {justify-content:space-between; min-width:0; flex:1 0 0; gap:8px; padding:0 clamp(7px,1vw,19px)}
.strip-instrument,.strip-quote {display:flex; flex-direction:column; align-items:flex-start; gap:2px; min-width:0}
.strip-instrument b {font:700 .76rem var(--mono)}
.strip-instrument small {font: .65rem Arial,sans-serif; color:var(--muted); max-width:100%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
.strip-quote {margin-left:auto; align-items:flex-end; white-space:nowrap}
.strip-quote b {font:600 .76rem var(--mono)}
.strip-quote em {font:.64rem var(--mono)}
.ticker-strip button .spark {width:clamp(22px,2.7vw,49px); height:17px; opacity:.88}
.ticker-strip button>.issuer {width:24px; height:24px}
.dock-board {padding:0 10px 9px; min-height:0}
.dock-board>.dock-split,.dock-board>.panel {flex:1 1 0%; min-height:0; min-width:0}
.dock-split {display:grid; min-width:0; min-height:0}
.split-x {grid-template-columns:minmax(0,var(--first)) 7px minmax(0,var(--second)); grid-template-rows:minmax(0,1fr)}
.split-y {grid-template-rows:minmax(0,var(--first)) 7px minmax(0,var(--second));grid-template-columns:minmax(0,1fr)}
.dock-board .sash {width:100%;height:100%;outline-offset:-1px}
.sash.vertical:after {inset:13% 2px;border-radius:5px}
.sash.horizontal:after {inset:2px 13%;border-radius:5px}
.sash:hover:after,.sash:focus-visible:after,.sash:active:after {background:var(--lime)}
.panel {border-radius:7px; background:var(--panel);container-type:inline-size}
.panel-head,.ledger-tabs {background:#192027}
.panel-head {padding-right:52px}
.panel-head .handle {display:none}
.panel-head h2 {font-size:.86rem; font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.panel-head>svg:first-child {color:#a9babd;flex:none}
.panel-head,.chart-symbol,.ledger-tabs {cursor:grab}
.widget-tools {position:absolute; top:5px; right:5px; height:29px; display:flex; align-items:center; z-index:3; gap:0}
.widget-tools button {border:0;background:transparent; border-radius:4px; padding:0; color:#83909a; width:21px; height:25px}
.widget-tools svg {width:14px;height:14px}
.widget-tools button:focus-visible,.widget-tools button:hover {background:#2a353d;color:var(--lime)}
.widget-tools .drag-handle {cursor:grab;width:16px}
.widget-tools .drag-handle:active,.panel-head:active {cursor:grabbing}
.dock-preview {position:absolute; z-index:7; background:#bdf67420;border:2px solid var(--lime); border-radius:6px; display:grid;place-items:center;pointer-events:none}
.dock-preview span {background:var(--lime);color:#15200f;border-radius:4px;padding:5px 10px;font-size:.8rem;font-weight:650}
.drop-left {inset:0 50% 0 0}.drop-right {inset:0 0 0 50%}.drop-top {inset:0 0 50%}.drop-bottom {inset:50% 0 0}
.has-focus .dock-split {display:contents}
.has-focus .sash,.has-focus .panel:not(.is-focus) {display:none}
.has-focus .is-focus {display:flex;flex:1; height:100%}
.workspace-empty {margin:auto;text-align:center;color:var(--muted)}
.workspace-empty>svg {height:32px;width:32px;color:var(--lime)}
.workspace-empty h2 {font-size:1.11rem;color:var(--ink)}
.watch tr.chosen {background:#222f29}
.watch-listbar,.panel-link,.chart-foot,.ledger-foot {background:#141b20}
.watch .symbol-cell,.ledger .symbol-cell {gap:9px}
.watch .symbol-cell b,.ledger .symbol-cell b {font:650 .78rem var(--mono)}
.watch .symbol-cell small {font-size:.66rem;margin-top:2px}
.feed button {padding:11px 13px}
.feed button>div {margin-bottom:5px}
.feed b {background:#26333a;color:#cfdae1;border-radius:4px}
.feed strong {font-size:.82rem;line-height:1.4}
.chart-top {padding:13px 50px 0 15px}
.chart-symbol b {font:700 1.04rem var(--mono)}
.chart-actions .icon-btn {color:#a5b2be}
.quote-line {gap:8px; padding:6px 15px 9px}
.quote-line strong {font:600 clamp(1.65rem,2vw,2.22rem)/1.12 Inter,Arial,sans-serif;letter-spacing:-.046em}
.quote-line>b {background:color-mix(in srgb,currentColor 10%, transparent);padding:3px 5px;border-radius:4px}
.quote-range {display:flex; gap:10px; margin-left:auto; align-self:center; color:var(--muted); font-size:.65rem}
.quote-range b {display:block;color:#cbd4da;font:600 .70rem var(--mono);margin-top:3px}
.chart-toolbar {background:#141b20; gap:7px}
.tf button.active,.minor-tabs .active {background:#2d3927;color:var(--lime)}
.ledger-tabs {padding-right:49px}
.panel-book .book-body {padding-inline:9px}
.ask i {background:#6d343d89;border-left:1px solid #a0535f}
.bid i {background:#27564b99;border-left:1px solid #448b75}
.balance {padding:6px 12px 8px;border-top:1px solid var(--line);background:#141b20}
.balance>div:first-child,.range-caption,.range-values {display:flex;justify-content:space-between;align-items:center}
.balance span {font-size:.64rem;color:var(--muted)}
.balance b {font:600 .64rem var(--mono)}
.balance span:first-child b {color:var(--up)}.balance span:last-child b {color:var(--down)}
.balance-bar {margin-top:5px;height:3px;background:var(--down);border-radius:3px;overflow:hidden}
.balance-bar i {display:block;height:100%;background:var(--up);border-right:2px solid var(--panel)}
.submit.buy {background:#92e4b9;color:#11251b;border-color:#92e4b9}
.submit.sell {background:#ffadb0;color:#38191d;border-color:#ffadb0}
.submit:hover {filter:brightness(1.08)}
.quick-lots {display:flex;align-items:center;gap:5px;margin:7px 0 3px}
.quick-lots span {color:var(--muted);font-size:.66rem;margin-right:auto}
.quick-lots button {background:#1a2229;color:var(--sub);padding:2px 6px;font:.66rem var(--mono)}
.quick-lots button[aria-pressed=true] {color:var(--ink);border-color:#5c6b73}
.catalog-head {display:flex;align-items:center;justify-content:space-between;color:var(--sub);font-size:.82rem;margin:3px 0 10px}
.catalog-head b {font:.75rem var(--mono)}
.widget-catalog {display:grid;grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px;margin-bottom:12px}
.widget-catalog button {padding:9px;display:grid;grid-template-columns:25px minmax(0,1fr) 15px;text-align:left;gap:7px;background:#171e24}
.widget-catalog button[aria-pressed=true] {border-color:#485a42}
.widget-catalog button:hover {background:#222e2b}
.catalog-icon {width:25px;height:28px;display:grid;place-items:center;color:#afbdc5}
.widget-catalog button b,.widget-catalog button small {display:block}
.widget-catalog button b {font-size:.79rem;font-weight:630}
.widget-catalog button small {color:var(--muted);font-size:.68rem;margin-top:3px;line-height:1.2}
.catalog-check {color:var(--lime)}
.widget-command-list {display:grid;grid-template-columns:1fr 1fr;gap:6px}
.widget-command-list button,.widget-placement button {font-size:.8rem}
.widget-placement {border-top:1px solid var(--line);padding-top:14px;margin-top:16px}
.widget-placement label {display:flex;align-items:center;gap:8px;color:var(--sub);font-size:.8rem}
.widget-placement select {margin-left:auto;max-width:48%}
.widget-placement>div {margin-top:9px;display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
.movers-list button {width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;justify-content:flex-start;padding:8px 11px}
.movers-list button:hover {background:var(--panel2)}
.movers-list b,.movers-list strong {font:600 .75rem var(--mono)}.movers-list strong {margin-left:auto;white-space:nowrap}
.movers-list small {color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.instrument-info {padding:12px}
.instrument-identity {display:flex;align-items:center;gap:9px;margin:0 0 13px}
.instrument-identity small {display:block;color:var(--sub);margin-top:3px}
.range-caption,.range-values {font-size:.7rem;color:var(--muted)}.range-caption b {color:var(--ink);font:.72rem var(--mono)}
.day-range {background:#34413a;margin:8px 4px;height:4px;border-radius:4px;position:relative}
.day-range i {position:absolute;width:7px;height:9px;top:50%;transform:translate(-50%,-50%);border-radius:2px;background:var(--lime)}
.range-values {font: .65rem var(--mono);margin-bottom:9px}
@media(min-width:1051px) {
  .app {grid-template-columns:70px minmax(0,1fr)}
  .rail {gap:4px;padding-top:10px}
  .rail>button {width:57px;height:49px;flex-direction:column;gap:4px;padding:3px}
  .rail>button span {display:block;font:500 .61rem/1 Arial,sans-serif}
  .rail>button.active:before {left:-7px;height:23px}
  .workspace-title {height:58px}
}
@media(max-width:1100px) {
  .ticker-strip button .spark {display:none}
}
@media(max-width:900px) {
  .dock-board {padding:0 7px 6px}
  .dock-split {display:contents}
  .header-equity {display:none}
  .widget-tools .drag-handle {display:none}
  .widget-tools {right:8px}
  .widget-tools .widget-more {width:29px}
  .ticker-strip button {min-width:135px;padding-inline:8px}
  .ticker-strip {height:36px;min-height:36px}
  .ticker-strip .strip-instrument small {display:none}
  .ticker-strip button>.issuer {width:20px;height:20px}
  .workspace-title .page-icon {width:26px;height:26px}
  .workspace-tools .focus-exit span {display:none}
  .workspace-tools .undo-layout {min-width:25px}
}
@media(max-width:590px) {
  .workspace-title .page-icon {display:none}
  .workspace-tools .add-widget {font-size:0;min-width:29px}
  .workspace-tools .add-widget svg {width:16px;height:16px}
  .workspace-tools .layout-picker {font-size:.68rem;max-width:113px;overflow:hidden}
  .widget-catalog {grid-template-columns:1fr}
  .widget-catalog button {padding:7px}
  .widget-catalog button small {display:none}
  .widget-tools {height:25px}
  .brand span {font-size:.60rem;padding:4px}
}
@container (max-width:460px) {
 .quote-range {display:none}
 .quote-line small {display:none}
}
@container (max-width:245px) {
 .panel-head>svg:first-child,.chart-actions,.chart-toolbar .indicator span,.watch .symbol-cell small,.watch .issuer {display:none}
 .panel-head h2 {font-size:.76rem}
 .panel .ledger-tabs small {display:none}
}
@media(max-height:800px) and (min-width:901px) {
 .workspace-title {height:46px}
 .ticker-strip {height:36px;min-height:36px}
 .widget-tools {top:2px}
 .quote-line {padding-block:3px 6px}
 .balance {padding-block:4px}
 .quick-lots {margin-block:3px}
}
.catalog-foot {display:flex;gap:8px;justify-content:flex-end;margin-top:13px}
.chart-top {background:linear-gradient(105deg,#1b282b 0%,#141b21 58%);padding-top:12px}
.quote-line {background:linear-gradient(105deg,#1b282b 0%,#141b21 58%)}
.chart-symbol .instrument-heading {display:flex;align-items:center;gap:8px;min-width:0}
.instrument-heading strong {font:650 1.13rem/1.1 Inter,Arial,sans-serif;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:24ch}
.chart-symbol .instrument-heading b {font:600 .65rem var(--mono);border-radius:4px;color:#d3dfdf;background:#29373c;padding:3px 5px}
.chart-symbol>span:last-child {min-width:0}
.chart-symbol {min-width:0}
.chart-symbol small {margin-top:3px;font-size:.69rem}
.chart-top .chart-actions {flex:none}
.chart-top+.quote-line {padding-block:8px 10px}
.quote-line strong {font-size:clamp(1.8rem,2.35vw,2.6rem);font-weight:640}
.feed button {position:relative;padding-left:21px}
.feed button:before {content:"";position:absolute;left:10px;top:17px;width:4px;height:4px;border-radius:50%;background:#556874}
.feed button:first-child:before {background:var(--lime)}
.panel-book .depth-row {height:clamp(16px,1.98vh,25px)}
@media(max-width:900px){.panel-book .depth-row {height:24px}}
@container (max-width:370px) {.chart-symbol .instrument-heading strong {font-size:.94rem}.chart-symbol small {font-size:.62rem}.chart-actions {gap:0}.chart-top {padding-left:9px}.quote-line {padding-inline:9px}}
.panel-head,.ledger-tabs {padding-right:64px}
.chart-top {padding-right:65px}
.widget-tools .widget-hide {width:18px;opacity:0}
.widget-tools .widget-hide svg {width:12px;height:12px}
.panel:hover .widget-hide,.panel:focus-within .widget-hide {opacity:1}
.layout-gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:14px}
.layout-gallery button {background:#171e24;display:flex;justify-content:flex-start;padding:7px 8px;gap:8px;font-size:.78rem;text-align:left;min-width:0}
.layout-gallery button[aria-pressed=true] {border-color:#617b49;color:var(--lime)}
.layout-gallery button>svg {width:13px;margin-left:auto}
.layout-mini {width:39px;height:27px;padding:2px;border:1px solid #38434a;border-radius:3px;flex:none;display:grid}
.layout-mini span {display:grid;gap:1px;min-width:0;min-height:0}
.mini-x {grid-template-columns:minmax(0,var(--mini-ratio)) minmax(0,var(--mini-rest))}
.mini-y {grid-template-rows:minmax(0,var(--mini-ratio)) minmax(0,var(--mini-rest))}
.layout-mini i {display:block;background:#53616a;border-radius:1px}.layout-mini .mini-chart {background:#94bd65}
@media(hover:none){.widget-tools .widget-hide {opacity:1}}
@media(max-width:900px){.panel-head,.ledger-tabs,.chart-top {padding-right:58px}.widget-tools .widget-hide {opacity:1}}
.strip-instrument b {max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:900px) {.ticker-strip button {min-width:158px;flex:0 0 auto}.ticker-strip .strip-quote {margin-left:auto}}
