@font-face {
  font-family: "JetBrains Mono Slashed";
  src: url("/fonts/JetBrainsMonoSlashed-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono Slashed";
  src: url("/fonts/JetBrainsMonoSlashed-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono Slashed";
  src: url("/fonts/JetBrainsMonoSlashed-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  --bg: #0f0f0f;
  --panel: #141414;
  --head: #1a1a1a;
  --border: #242424;
  --grid: #1f1f1f;
  --fg: #ccc;
  --bright: #f2f2f2;
  --muted: #929292;
  --tool: #1f1f1f;
  --hover: #2e2e2e;
  --active: #424242;
  --primary: #402673;
  --accent: #6f4db3;
  --up: #4bd24b;
  --down: #d24b4b;
  --signal-up: #00c950;
  --signal-down: #ff2056;
  --volume: #4d4d4d;
  --font: "JetBrains Mono Slashed", monospace;
  --row: 23px;
  color-scheme: dark;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 300;
  color: var(--fg);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
  height: 100dvh;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: transparent;
}
button:disabled {
  opacity: 0.3;
  cursor: default;
}
button:hover {
  background: var(--hover);
  color: var(--bright);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #9b7fd7;
  outline-offset: 1px;
}
button.active {
  background: var(--active);
  color: var(--bright);
}
button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
button,
select {
  touch-action: manipulation;
}
a {
  color: inherit;
}
input,
select {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--tool);
  padding: 5px 8px;
  min-width: 0;
}
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
}
input[type="range"] {
  accent-color: var(--accent);
  padding: 0;
}
input[type="number"] {
  width: 92px;
}
select {
  max-width: 220px;
}
button[hidden],
[hidden] {
  display: none !important;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: #4d4d4d;
  border-radius: 4px;
}
#toolbar {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 5px;
  font-size: 11.375px;
  white-space: nowrap;
  position: relative;
  z-index: 15;
}
.toolbar-left,
.toolbar-center,
.toolbar-right,
.tools {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.toolbar-center {
  gap: 5px;
}
.toolbar-right {
  gap: 5px;
}
.tools {
  background: var(--tool);
  border-radius: 4px;
  padding: 0 2px;
  height: 30px;
}
.tool {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 7px;
  height: 30px;
  min-width: 30px;
  border-radius: 3px;
  line-height: 16.25px;
}
.tool.brand {
  padding: 3px;
  background: #ccc;
  width: 30px;
}
.brand img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: inline-block;
}
.group-tool {
  padding: 0 6px;
  min-width: 25px;
}
.group-tool.active {
  box-shadow: inset 0 0 0 1px var(--muted);
}
.page-label {
  font-size: 11px;
  padding: 0 5px;
}
.page-prev svg {
  transform: rotate(180deg);
}
.mobile-only,
.compact-tf {
  display: none;
}
.sort-control small {
  font-size: 11px;
}
.connection {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9e8c45;
  display: inline-block;
}
.connection.live {
  background: #49a65b;
}
.connection.stale {
  background: #c65c5c;
}
#workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px 30px;
  gap: 5px;
  padding: 0 5px 5px;
  height: calc(100dvh - 40px);
}
#workspace.panel-closed {
  grid-template-columns: minmax(0, 1fr) 30px;
}
#workspace.panel-closed #panel {
  display: none;
}
#board {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  grid-template-rows: repeat(var(--rows, 2), minmax(0, 1fr));
  gap: 5px;
}
.chart-card {
  min-width: 0;
  min-height: 0;
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chart-card.selected {
  border-color: var(--accent);
}
.chart-head {
  height: 26px;
  min-height: 26px;
  display: flex;
  align-items: center;
  background: var(--head);
  font-size: 12px;
  line-height: 26px;
  overflow: hidden;
  white-space: nowrap;
}
.chart-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0 4px;
  gap: 4px;
  height: 26px;
  flex-shrink: 0;
}
.token-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  border-radius: 3px;
}
.venue {
  font-weight: 300;
  color: #858585;
  margin-left: 2px;
}
.chart-metrics {
  display: flex;
  height: 26px;
  overflow: hidden;
  flex: 1;
}
.metric {
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 4px;
  border-left: 1px solid var(--border);
}
.metric svg {
  width: 13px;
  height: 13px;
  color: #929292;
}
.metric.hot {
  background: #c7434320;
}
.chart-action {
  height: 24px;
  min-width: 23px;
  padding: 3px;
  opacity: 0;
  flex-shrink: 0;
}
.chart-card:hover .chart-action,
.chart-action:focus-visible {
  opacity: 1;
}
.chart-action svg {
  width: 13px;
  height: 13px;
}
.plot {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 300;
  pointer-events: none;
  z-index: 2;
  color: var(--fg);
  opacity: 0.2;
}
.chart-message {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  color: var(--muted);
  text-align: center;
  padding: 28px;
  line-height: 1.7;
  font-size: 12px;
}
.chart-status {
  position: absolute;
  bottom: 28px;
  right: 72px;
  color: var(--muted);
  font-size: 9px;
  background: var(--panel);
  z-index: 3;
  padding: 0 3px;
  pointer-events: none;
}
.chart-status[data-state="live"] {
  display: none;
}
.empty-board {
  grid-column: 1/-1;
  grid-row: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  gap: 14px;
}
.empty-board button {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
#panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.panel-head {
  height: 26px;
  min-height: 26px;
  background: var(--head);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  font-size: 12px;
}
.panel-head svg {
  width: 13px;
  height: 13px;
}
.panel-head .spacer {
  flex: 1;
}
.panel-head button {
  padding: 2px;
  display: flex;
}
.panel-body {
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.coin-columns,
.coin-row {
  display: grid;
  grid-template-columns: minmax(66px, 1.25fr) repeat(5, minmax(0, 1fr));
  align-items: center;
  padding: 0 6px;
  gap: 2px;
}
.coin-columns {
  height: 38px;
  min-height: 38px;
  background: var(--head);
  font-size: 9.25px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 10px;
}
.coin-columns button {
  padding: 0;
  text-align: right;
  height: 38px;
  font: inherit;
}
.coin-columns button:first-child {
  text-align: left;
}
.coin-columns .sorted {
  color: var(--bright);
  font-size: 10px;
}
.coin-row {
  height: var(--row);
  width: 100%;
  text-align: right;
  font-size: 10px;
  line-height: 10px;
  color: var(--table-fg, #aaa);
  position: relative;
}
.coin-row:hover {
  background: var(--hover);
}
.coin-row.visible {
  background: #cccccc06;
}
.coin-row.focused {
  background: var(--primary);
}
.coin-row .symbol {
  text-align: left;
  color: var(--fg);
  display: flex;
  gap: 4px;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.coin-row .sorted {
  font-size: 11px;
  color: var(--fg);
  font-weight: 600;
}
.positive {
  color: var(--signal-up);
}
.negative {
  color: var(--signal-down);
}
.color-tag {
  width: 4px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.panel-note {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  padding: 9px;
  border-top: 1px solid var(--border);
}
.panel-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.panel-empty svg {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
}
.panel-empty button {
  display: block;
  margin: 15px auto;
  background: var(--tool);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 4px;
  color: var(--fg);
}
#rail {
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: stretch;
}
#rail .tool {
  height: 30px;
  padding: 5px;
  background: var(--tool);
}
#rail .tool.active {
  background: var(--active);
}
.rail-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.clock {
  font-size: 12px;
  line-height: 17px;
  text-align: center;
  padding: 4px 0;
  background: var(--tool);
  border-radius: 4px;
}
.clock span {
  display: block;
}
.rail-status {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  background: var(--tool);
  border-radius: 4px;
}
.rail-status .connection {
  width: 7px;
  height: 7px;
}
#overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #0003;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
}
.modal {
  width: min(1024px, calc(100vw - 32px));
  height: min(855px, 100dvh);
  display: flex;
  flex-direction: column;
  border: 1px solid #cccccc1f;
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 20px 100px #0005;
  overflow: hidden;
}
.modal.small {
  width: 500px;
  height: auto;
  max-height: 90dvh;
}
.modal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  min-height: 50px;
  padding: 0 15px;
  background: var(--tool);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.modal-head svg {
  width: 18px;
  height: 18px;
}
.modal-head .close {
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 3px;
}
.modal-content {
  display: flex;
  min-height: 0;
  flex: 1;
}
.settings-nav {
  width: 220px;
  min-width: 220px;
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.settings-nav button {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-size: 13px;
  border-radius: 4px;
}
.settings-nav button svg {
  width: 16px;
  height: 16px;
}
.settings-nav button.active {
  background: #cccccc18;
}
.settings-footer {
  margin-top: auto;
  font-size: 11px;
  line-height: 1.6;
  padding: 10px;
  color: var(--muted);
}
.settings-content {
  flex: 1;
  padding: 24px;
  overflow: auto;
  min-width: 0;
}
.settings-content h2 {
  font-size: 17px;
  font-weight: 400;
  margin: 0 0 24px;
  color: var(--bright);
}
.settings-content h3 {
  font-size: 13px;
  font-weight: 400;
  margin: 27px 0 14px;
  color: var(--bright);
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid #cccccc0a;
  font-size: 12px;
}
.setting-row > span {
  flex: 1;
}
.setting-row input:not([type="checkbox"]):not([type="range"]),
.setting-row select {
  height: 28px;
}
.setting-row input[type="range"] {
  max-width: 150px;
}
.help {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}
.info {
  padding: 15px;
  border: 1px solid #6f4db34d;
  background: #40267333;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.choice {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--tool);
  font-size: 12px;
}
.choice.active {
  background: var(--primary);
  border-color: var(--accent);
}
.grid-picker {
  display: grid;
  grid-template-columns: repeat(7, 26px);
  gap: 5px;
  max-width: 250px;
  margin: 18px 0;
}
.grid-picker button {
  width: 26px;
  height: 26px;
  border: 1px solid #555;
  border-radius: 2px;
  padding: 0;
}
.grid-picker button.chosen {
  background: var(--accent);
  border-color: var(--accent);
}
.scheme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.scheme {
  border: 1px solid var(--border);
  border-radius: 5px;
  text-align: left;
  padding: 14px;
  background: var(--tool);
  font-size: 12px;
}
.scheme.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.scheme-colors {
  display: flex;
  margin-top: 12px;
  height: 35px;
  border-radius: 3px;
  overflow: hidden;
}
.scheme-colors i {
  flex: 1;
}
.settings-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.primary-button {
  padding: 8px 13px;
  background: var(--primary);
  border: 1px solid var(--accent);
  border-radius: 4px;
}
.danger {
  color: #e29d9d;
}
.settings-back {
  display: none;
}
.filter-content {
  padding: 16px 24px;
  overflow: auto;
}
.filter-content .setting-row {
  gap: 12px;
}
.filter-content .setting-row input[type="number"] {
  width: 100px;
}
.search-modal {
  width: 380px;
  height: min(855px, 100dvh);
  border: 1px solid #444;
  border-radius: 14px;
  background: var(--tool);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 70px #0006;
}
.search-header {
  height: 52px;
  min-height: 52px;
  border-bottom: 1px solid #353535;
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 8px;
}
.search-header input {
  flex: 1;
  width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  outline: none;
  height: 44px;
  font-size: 13px;
}
.search-header button {
  display: grid;
  place-items: center;
  width: 25px;
  height: 30px;
}
.search-results {
  overflow: auto;
  flex: 1;
}
.search-result {
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
  min-height: 44px;
}
.search-result.selected,
.search-result:hover {
  background: #cccccc0c;
}
.search-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  min-width: 70px;
  padding: 10px 0;
}
.search-venues {
  display: flex;
  justify-content: flex-end;
  gap: 3px;
  flex: 1;
  flex-wrap: wrap;
}
.venue-button {
  font-size: 9px;
  color: #929292;
  border: 1px solid var(--border);
  padding: 2px 3px;
  border-radius: 3px;
}
.search-empty {
  padding: 30px 18px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
#context {
  position: fixed;
  z-index: 80;
  width: 200px;
  padding: 6px;
  background: var(--tool);
  border: 1px solid #444;
  border-radius: 5px;
  box-shadow: 0 12px 35px #0008;
}
#context button {
  width: 100%;
  text-align: left;
  padding: 9px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  border-radius: 3px;
}
.context-colors {
  display: flex;
  gap: 3px;
  padding: 5px;
}
#context .context-colors button {
  justify-content: center;
  padding: 6px;
}
.alert-form {
  display: grid;
  gap: 13px;
  padding: 22px;
}
.alert-form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
}
.alert-form input,
.alert-form select {
  width: 100%;
  max-width: none;
}
.event-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  padding: 12px 9px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}
.event-row small {
  color: var(--muted);
  font-size: 10px;
}
.event-row button {
  text-align: left;
  padding: 0;
}
.event-row .remove-event {
  grid-column: 2;
  grid-row: 1/3;
  width: 24px;
  text-align: center;
}
.event-row svg {
  width: 14px;
  height: 14px;
}
.density-map {
  padding: 5px;
  font-size: 10px;
}
.density-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  text-align: center;
  color: var(--muted);
  padding: 7px 0;
}
.density-zone {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.density-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.density-chip {
  padding: 7px 4px;
  border: 1px solid #c7434333;
  border-radius: 3px;
  background: #c7434318;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  font-size: 10px;
  overflow: hidden;
}
.density-chip.bid {
  border-color: #43c74333;
  background: #43c74318;
}
.density-chip small {
  font-size: 8px;
  color: var(--muted);
}
.density-mid {
  margin: 12px 0;
  padding: 5px;
  text-align: center;
  border-top: 1px dashed #555;
  border-bottom: 1px dashed #555;
  color: var(--muted);
  font-size: 10px;
}
.density-status {
  padding: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.listing-row {
  padding: 11px 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}
.listing-row small {
  font-size: 10px;
  color: var(--muted);
}
#toasts {
  position: fixed;
  right: 42px;
  bottom: 15px;
  z-index: 100;
  display: grid;
  gap: 8px;
  max-width: min(380px, calc(100vw - 30px));
}
.toast {
  background: var(--tool);
  border: 1px solid #555;
  border-radius: 5px;
  padding: 12px 16px;
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 8px 24px #0005;
}
.toast.error {
  border-color: #b35555;
}
.drawing-dock,
.drawing-editor {
  background: var(--tool);
  border-color: var(--border);
  box-shadow: none;
}
.drawing-button {
  color: var(--fg);
}
.drawing-button.active {
  background: var(--active);
  color: var(--bright);
  border-color: var(--border);
}
.drawing-button:hover {
  background: var(--hover);
  color: var(--bright);
}
.drawing-status,
.drawing-hint,
.drawing-value {
  background: var(--tool);
  color: var(--muted);
  font-family: var(--font);
}
.drawing-dock {
  left: 5px;
  top: 5px;
}
.chart-card:not(.focus-card) .drawing-dock {
  display: none;
}
.drawing-status {
  display: none;
}
.about-content {
  padding: 25px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.8;
}
.about-content h2 {
  font-size: 21px;
  color: var(--bright);
  font-weight: 400;
}
.about-content p {
  margin: 18px 0;
}
.about-content img {
  width: 44px;
  height: 44px;
}
.about-content code {
  font-family: var(--font);
}
.loading-mark {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border);
  border-top-color: var(--muted);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 9px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1590px) {
  .sort-control small,
  .settings-label,
  .drawing-shortcuts {
    display: none;
  }
  .toolbar-center {
    gap: 3px;
  }
  .tool {
    padding: 0 6px;
  }
  .toolbar-left {
    gap: 3px;
  }
  .tf-wide {
    display: none;
  }
  .compact-tf {
    display: flex;
  }
  .metric {
    padding: 0 4px;
  }
  .chart-title {
    font-size: 11px;
  }
  .chart-metrics {
    font-size: 11px;
  }
}
@media (max-width: 1000px) {
  .metric-controls .sort-control:not(.active) {
    display: none;
  }
  .secondary-action {
    display: none;
  }
  .toolbar-right {
    gap: 2px;
  }
  .group-tool {
    min-width: 20px;
    padding: 0 4px;
  }
  .toolbar-center {
    margin-left: auto;
  }
  .chart-title {
    font-size: 11px;
  }
  .metric {
    padding: 0 4px;
    font-size: 10px;
  }
  .chart-metrics .metric:nth-child(n + 4) {
    display: none;
  }
}
@media (max-width: 650px) {
  #toolbar {
    height: 40px;
    gap: 3px;
    font-size: 11px;
  }
  .mobile-only {
    display: flex;
  }
  .toolbar-left .group-tool:not(.active),
  .toolbar-left .page-prev,
  .toolbar-center .metric-controls,
  .toolbar-center .refresh-tool,
  .toolbar-center .auto-tool,
  .toolbar-center .filter-tool,
  .toolbar-right .sound-tool,
  .toolbar-right .fullscreen-tool,
  .toolbar-right .language-tool,
  .toolbar-right .brand {
    display: none;
  }
  .toolbar-left .page-label {
    padding: 0 3px;
  }
  .toolbar-right {
    margin-left: auto;
  }
  .toolbar-center {
    margin: 0;
  }
  .toolbar-left,
  .toolbar-right,
  .toolbar-center {
    flex-shrink: 0;
  }
  .tool {
    padding: 0 5px;
    min-width: 29px;
  }
  #workspace {
    grid-template-columns: minmax(0, 1fr) 30px;
  }
  #panel {
    position: absolute;
    left: 5px;
    top: 40px;
    bottom: 5px;
    width: calc(100vw - 45px);
    z-index: 12;
    background: var(--panel);
  }
  #workspace.panel-closed #panel {
    display: none;
  }
  .chart-head {
    height: 26px;
  }
  .chart-action {
    opacity: 1;
  }
  .chart-metrics .metric:nth-child(n + 3) {
    display: none;
  }
  .watermark {
    font-size: 40px;
  }
  .modal {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    border: 0;
  }
  .modal.small {
    width: calc(100vw - 20px);
    height: auto;
    max-height: 95dvh;
    border: 1px solid var(--border);
    border-radius: 6px;
  }
  .modal-head {
    height: 48px;
    min-height: 48px;
  }
  .settings-nav {
    width: 100%;
    min-width: 0;
    border-right: 0;
    overflow: auto;
  }
  .settings-nav button {
    padding: 12px;
    font-size: 14px;
  }
  .settings-content {
    display: none;
    padding: 18px;
  }
  .modal.settings-detail .settings-nav {
    display: none;
  }
  .modal.settings-detail .settings-content {
    display: block;
  }
  .settings-back {
    display: grid;
    place-items: center;
    width: 25px;
    height: 30px;
  }
  .setting-row {
    gap: 9px;
    line-height: 1.6;
  }
  .setting-row select {
    max-width: 145px;
  }
  .scheme-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .scheme {
    padding: 10px;
    font-size: 11px;
  }
  .search-modal {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }
  .search-venues {
    gap: 3px;
  }
  .coin-row {
    height: 26px;
    font-size: 11px;
  }
  .coin-columns {
    font-size: 9.25px;
  }
  .coin-row .sorted {
    font-size: 12px;
  }
  .panel-head {
    height: 30px;
    min-height: 30px;
  }
  .chart-card.focus-card .drawing-dock {
    max-height: calc(100% - 35px);
  }
  #toasts {
    right: 12px;
    bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
  }
}

.search-header > svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.choice > svg {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}
.setting-row .spacer {
  flex: 1;
}
.chart-status[data-state="rest"] {
  color: var(--muted);
}

.watermark {
  bottom: 10%;
  right: 62px;
}
.coin-row.positive,
.coin-row .positive {
  color: var(--signal-up);
}
.coin-row.negative,
.coin-row .negative {
  color: var(--signal-down);
}
