@charset "UTF-8";
/* Semantic theme tokens — the single source of truth for themable colors.
   Pure CSS custom properties, zero SCSS dependencies: this file is emitted by
   BOTH the Nuxt bundle (main.scss) and the standalone legacy bundle
   (legacy/app.scss), so it must not rely on injected variables.

   Dark is the default on :root because SSR HTML carries no theme class and the
   pre-hydration paint must stay dark (see public/js/theme-early.js). `.dark`
   restates it so a nested themed container can override an outer `.light`. */
:root,
.dark {
  color-scheme: dark;
  /* base surfaces */
  --bw-bg: #000000;
  --bw-bg-mask: rgba(0, 0, 0, 0.8);
  --bw-surface: #1a1a1a;
  --bw-surface-2: #0a0a0a;
  /* text */
  --bw-text: #cccccc;
  --bw-text-strong: #f5f5f5;
  --bw-text-muted: #999999;
  --bw-text-faint: #666666;
  /* borders */
  --bw-border: #333333;
  --bw-border-strong: #3a3a3a;
  --bw-border-faint: rgba(51, 51, 51, 0.35);
  /* links & accents */
  --bw-link: #66bbff;
  --bw-accent: #ffcc99;
  --bw-accent-muted: #cca37a;
  --bw-selected: #ffbb66;
  --bw-brand: #f7931a; /* bitcoin orange — theme-invariant */
  /* status */
  --bw-up: #00cc00;
  --bw-down: #cc0000;
  --bw-up-soft: #66cc66;
  --bw-down-soft: #cc6666;
  --bw-error: #ff3333;
  --bw-warn: #ffcc66;
  /* form controls */
  --bw-field-bg: #121214;
  --bw-field-bg-hover: #1e1e22;
  --bw-field-border: #0d0d10;
  --bw-disabled: #474747;
  /* legacy chart-shell controls (buttons/inputs/selects of the chart page) */
  --bw-btn-bg: #333333;
  --bw-btn-bg-hover: #474747;
  --bw-btn-bg-active: #333333;
  /* legacy chart-shell viz chrome */
  --bw-text-dim: #666666; /* <g> fraction-digit dimming in prices */
  --bw-up-flash: #00ff00; /* sidebar price tick direction */
  --bw-down-flash: #ff0000;
  --bw-viz-highlight: #eeee00; /* highlighted value in #chart_info/#indicator_info (tracks canvas palette) */
  /* neutral "glass" base: mid-gray reads the same on dark and light, so no
     .light override — custom themes get a single knob for panel glass */
  --bw-neutral: #808080;
  /* scrollbar (theme-invariant for now: no .light override) */
  --bw-scrollbar-thumb: rgba(253, 152, 36, 0.5);
  --bw-scrollbar-track: #0f0f10;
  /* effects (composite tokens) */
  --bw-shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--bw-border) inset;
  --bw-shadow-2: 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--bw-border) inset;
  --bw-focus-ring: 0 0 0 3px color-mix(in srgb, var(--bw-link) 35%, transparent);
}

.light {
  color-scheme: light;
  --bw-bg: #ffffff;
  --bw-bg-mask: rgba(255, 255, 255, 0.8);
  --bw-surface: #f5f5f5;
  --bw-surface-2: #ededed;
  --bw-text: #333333;
  --bw-text-strong: #000000;
  --bw-text-muted: #aaaaaa;
  --bw-text-faint: #cccccc;
  --bw-border: #cccccc;
  --bw-border-strong: #bbbbbb;
  --bw-border-faint: rgba(204, 204, 204, 0.5);
  --bw-link: #0d86ff;
  --bw-accent: #ff8800;
  --bw-accent-muted: #cc6d00;
  /* light legacy had no distinct "selected" color — it always used the accent
     ($light-active #f80); #ffcc66 was unreadable-on-white dark leakage */
  --bw-selected: #ff8800;
  --bw-up: green;
  --bw-down: red;
  --bw-up-soft: #339933;
  --bw-down-soft: #cc3333;
  --bw-error: #b23a3a; /* legacy light .alarm-list__status--error */
  --bw-warn: #999900; /* legacy $legacy-warning */
  --bw-field-bg: #ffffff;
  --bw-field-bg-hover: #e6e6e6;
  --bw-field-border: #cccccc;
  --bw-disabled: #aaaaaa;
  --bw-btn-bg: #ffffff;
  --bw-btn-bg-hover: #e6e6e6;
  --bw-btn-bg-active: #f2f2f2;
  --bw-text-dim: #aaaaaa;
  --bw-up-flash: green;
  --bw-down-flash: red;
  --bw-viz-highlight: #0033ee; /* legacy $legacy-indicator-blue — yellow unreadable on white */
  --bw-shadow-1: 0 1px 2px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--bw-border) inset;
  --bw-shadow-2: 0 6px 16px rgba(0, 0, 0, 0.18), 0 0 0 1px var(--bw-border) inset;
}

@keyframes orderBookSlideDown {
  from {
    max-height: 0;
    background: var(--bw-border);
  }
  30% {
    max-height: 13px;
  }
  to {
    max-height: 13px;
    background: var(--bw-border);
  }
}
@keyframes orderBookSlideUp {
  from {
    max-height: 13px;
  }
  to {
    max-height: 0;
  }
}
@keyframes tradeLogDropDown {
  from {
    max-height: 0;
    background: var(--bw-border);
  }
  50% {
    max-height: 13px;
  }
  to {
    background: var(--bw-border);
  }
}
@keyframes tradeLogDropDownTranslate {
  from {
    transform: translateY(-100%);
    background: var(--bw-border);
  }
  50% {
    transform: translateY(0);
  }
  to {
    background: var(--bw-border);
  }
}
.c-modal-app-banner.modal-window {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  overflow: auto;
}
.c-modal-app-banner.modal-window .overlay {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0.6;
  width: 100%;
  height: 100%;
  display: block !important;
}
.c-modal-app-banner.modal-window .window-content {
  z-index: 8;
  background-color: #111;
  border-top: 3px solid #f7931a;
  min-height: auto;
  display: table;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 25vh;
  border-top: none;
  padding: 0;
}
.c-modal-app-banner.modal-window .window-content .close {
  position: absolute;
  z-index: 999;
  height: 30px;
  opacity: 1;
  width: 30px;
  cursor: pointer;
  top: 15px;
  right: 15px;
}
.c-modal-app-banner.modal-window .window-content .close:after {
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 17px;
  opacity: 0.5;
  background-color: #fff;
  transform: translate(-50%, -50%) rotate(135deg);
}
.c-modal-app-banner.modal-window .window-content .close:before {
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 17px;
  opacity: 0.5;
  background-color: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.c-modal-app-banner.modal-window .window-content .dynamic-part {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.c-modal-app-banner .window-content .banner-header {
  padding: 20px;
  max-height: 40px;
  display: inline-flex;
  border-bottom: 1px solid #333;
}
.c-modal-app-banner .window-content .banner-header .icon-app-logo {
  fill: #111;
  overflow: hidden;
  background: #f7931a;
  box-sizing: initial;
  position: relative;
  width: 63px;
  height: 64px;
  padding: 11px 11px;
  top: -50px;
  border-radius: 11px;
  -webkit-box-shadow: 0 5px 20px 5px rgba(247, 147, 26, 0.3);
  -moz-box-shadow: 0 5px 20px 5px rgba(247, 147, 26, 0.3);
  box-shadow: 0 5px 20px 5px rgba(247, 147, 26, 0.3);
}
.c-modal-app-banner .window-content .banner-body h4 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
}
.c-modal-app-banner .window-content .banner-body .banner-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 20px;
}
.c-modal-app-banner .window-content .banner-body .banner-list li::before {
  content: "•";
  color: #333;
  font-weight: bold;
  display: inline-block;
  width: 1em;
}
.c-modal-app-banner .window-content .banner-body .banner-list li {
  font-size: 14px;
  padding-bottom: 12px;
}
.c-modal-app-banner .window-content .banner-body .sbmt-btn2 {
  width: 100%;
  padding-top: 17px;
  padding-bottom: 17px;
  border-radius: 8px;
}
.c-modal-app-banner .window-content .banner-body .sbmt-btn {
  color: #fff;
  background-color: #f7931a;
  width: 100%;
  display: block;
  text-align: center;
  cursor: pointer;
  outline: none;
  border: 1px solid #f7931a;
  margin: 0 auto;
  border-radius: 8px;
  padding-top: 17px;
  padding-bottom: 17px;
  font-size: 16px;
  max-width: 440px;
}
.c-modal-app-banner .window-content .banner-body .sbmt-btn:hover {
  background-color: #111;
  color: #f7931a;
  border: 1px solid #f7931a;
}
.c-modal-app-banner .window-content .banner-body .sbmt-btn:active {
  background-color: #111;
  color: #f7931a;
  border: 1px solid #f7931a;
}
.c-modal-app-banner .window-content .banner-body {
  padding: 20px;
}

@media (max-width: 2.98px) {
  .modal-window .overlay {
    display: none;
    width: 0;
    height: 0;
  }
  .modal-window .window-content .close {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 320px) {
  .modal-window .window-content {
    width: 100%;
    height: 100%;
  }
}
[class^=icon-]:before,
[class*=" icon-"]:before {
  display: inline-block;
  min-width: 1em;
  text-align: center;
}

form {
  margin: 0;
  padding: 0;
}

dl.form > dt {
  width: 240px;
  text-align: right;
  display: inline-block;
  float: left;
  margin-right: 8px;
  height: 28px;
  line-height: 28px;
}
dl.form > dd {
  height: 28px;
  line-height: 28px;
}

table.form {
  border-collapse: collapse;
  margin: auto;
}
table.form td {
  padding: 4px;
  margin: 0;
}
table.form th {
  padding: 4px;
  margin: 0;
  font-weight: normal;
  text-align: right;
}
table.form .message {
  text-align: center;
  color: green;
}
table.form .error {
  color: red;
}

.full-screen-only {
  display: none !important;
}

html {
  background-color: #FFF;
}
html:fullscreen .full-screen-only {
  display: inline-block !important;
}
html:fullscreen .not-full-screen-only {
  display: none !important;
}

body {
  overflow: auto;
  margin: 0;
  font-size: 14px;
  font-family: Arial, sans;
  line-height: 18px;
}

.dark,
.light {
  background-color: var(--bw-bg);
  color: var(--bw-text);
}

a {
  color: var(--bw-link);
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  text-decoration: underline;
}

a.active {
  color: var(--bw-accent);
}

a.active.grey {
  color: var(--bw-accent-muted);
}

.green {
  color: var(--bw-up);
}

.red {
  color: var(--bw-down);
}

.ab {
  position: absolute;
  left: 0;
  top: 0;
}

g {
  color: var(--bw-text-dim);
}
g g {
  color: var(--bw-border);
}

h {
  visibility: hidden;
}

.donate {
  text-align: center;
  font-size: 12px;
  font-family: Arial, sans;
}

abbr {
  cursor: help;
  font-weight: normal;
  border-bottom: 1px dotted var(--bw-text);
}

code {
  font-family: Consolas, Monospace;
}

hr {
  border-bottom: 1px solid var(--bw-surface);
}

#before_trades {
  border-bottom-width: 1px;
}

#donation {
  color: #333;
  font-size: 10px;
  font-family: Consolas, Monospace;
  vertical-align: top;
}

#now {
  position: absolute;
  right: 0;
  color: var(--bw-text-muted);
  cursor: pointer;
}

.dark ::-webkit-scrollbar {
  background-color: #333;
  width: 16px;
  height: 13px;
}
.dark ::-webkit-scrollbar-button:start:decrement {
  height: 0;
  width: 0;
}
.dark ::-webkit-scrollbar-button:end:increment {
  height: 0;
  width: 0;
}
.dark ::-webkit-scrollbar-track-piece {
  background-color: #222;
  border: 1px solid #555;
}
.dark ::-webkit-scrollbar-thumb:vertical {
  height: 50px;
  background: linear-gradient(to right, #4D4D4D, #333333);
  border: 1px solid #0D0D0D;
  border-top: 1px solid #666666;
  border-left: 1px solid #666666;
}
.dark ::-webkit-scrollbar-thumb:horizontal {
  width: 50px;
  background: linear-gradient(to bottom, #4D4D4D, #333333);
  border: 1px solid #1F1F1F;
  border-top: 1px solid #666666;
  border-left: 1px solid #666666;
}

.good {
  color: #090;
}
.good .bw-circle {
  background-color: #090;
}

.normal {
  color: #990;
}
.normal .bw-circle {
  background-color: #990;
}

.bad {
  color: #900;
}
.bad .bw-circle {
  background-color: #900;
}

.reason {
  text-align: left;
  font-weight: normal;
  font-size: 14px;
}
.reason dt {
  font-weight: bold;
}

.unselectable {
  user-select: none;
}

.unsel {
  user-select: none;
}

.hide {
  display: none;
}

.center {
  text-align: center;
}

.template {
  display: none;
  margin: auto;
}

.nowrap {
  white-space: nowrap;
}

.desktop-only {
  display: none !important;
}

.unit_k {
  color: var(--bw-up-flash);
}

.unit_m {
  color: #FF0;
}

.hideable-inline-block-mobile {
  display: none !important;
}

.hideable-block-mobile {
  display: none !important;
}

.mobile-only-inline-block {
  display: inline-block !important;
}

.mobile-only-block {
  display: block !important;
}

.non-mobile-inline-block {
  display: none !important;
}

.hideable-inline-block-phablet {
  display: none !important;
}

.hideable-block-phablet {
  display: none !important;
}

.hideable-inline-block-tablet {
  display: none !important;
}

.hideable-block-tablet {
  display: none !important;
}

.hideable-inline-block-desktop {
  display: none !important;
}

.hideable-block-desktop {
  display: none !important;
}

.hideable-inline-block-desktop-large {
  display: none !important;
}

.hideable-block-desktop-large {
  display: none !important;
}

.bw-circle {
  width: 10px;
  height: 10px;
  display: inline-block;
  background-color: #090;
  vertical-align: baseline;
  border-radius: 3px;
}

.logo .supercycle-logo {
  transform: scaleY(-1);
  vertical-align: super;
  height: 16px;
}

.hint {
  font-size: 11px;
  margin-left: 20px;
  font-family: Tahoma, Arial, sans;
}

.warning {
  color: #FF0;
  font-size: 14px;
  font-family: Tahoma, Arial, sans;
  padding: 4px 8px;
  font-weight: bold;
}

.difficulty {
  position: absolute;
  right: 5px;
  top: 5px;
  font-family: Tahoma, Arial, sans;
  font-size: 11px;
  text-align: right;
  display: none;
}
.difficulty table {
  margin: auto;
  border: 1px solid #333;
  border-collapse: collapse;
  text-align: left;
  background-color: #0A0A0A;
}
.difficulty table td {
  overflow: hidden;
  height: 16px;
  padding: 0 4px;
  line-height: 16px;
}
.difficulty span {
  font-family: Consolas, Monospace;
}

.more {
  text-align: right;
}

.address {
  font-family: Consolas, Monospace;
}

a.direct_address {
  color: #6C6;
}

.grey {
  color: grey;
}

ul.horiz {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.horiz > li {
  display: inline-block;
  vertical-align: baseline;
  margin-right: 12px;
}
ul.horiz > li.spaceholder {
  display: none;
}
ul.horiz li.subsep {
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
}
ul.horiz li.addthis {
  position: absolute;
  right: 0;
  margin-top: 6px;
  vertical-align: top;
  width: 190px;
}
ul.horiz li.last {
  margin-right: 0;
}
ul.horiz input {
  vertical-align: middle;
}
ul.horiz select {
  vertical-align: middle;
}
ul.horiz button {
  vertical-align: middle;
}
ul.horiz .button {
  vertical-align: middle;
}

.sep {
  display: inline-block;
  height: 16px;
  vertical-align: middle;
  border-right: 1px solid var(--bw-border);
}

li.subsep {
  border-right: 1px solid var(--bw-border);
}

#control {
  font-family: Arial, sans;
  font-size: 12px;
  font-weight: bold;
  border-bottom: 1px solid var(--bw-border);
}
#control select {
  font-size: 12px;
  font-family: sans-serif;
  outline: none;
}
#control input {
  font-size: 12px;
  font-family: sans-serif;
  outline: none;
}
#control button {
  font-size: 12px;
  font-family: sans-serif;
  outline: none;
}
#control .button {
  font-size: 12px;
  font-family: sans-serif;
  outline: none;
}
#control i {
  vertical-align: middle;
}

#sidebar_outer {
  float: right;
  height: 100%;
  line-height: 13px;
}

#sidebar {
  height: 100%;
  border-left: 1px solid var(--bw-border);
  padding-left: 6px;
}
#sidebar #market {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  height: 18px;
  line-height: 18px;
  font-family: Arial, sans;
  padding: 6px;
}
#sidebar #price {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  height: 28px;
  line-height: 28px;
}
#sidebar #trades {
  text-align: left;
}
#sidebar #trades span {
  font-size: 1.6em;
  font-weight: bold;
}
#sidebar #trades .row {
  display: block;
}

.legacy-runtime-block__sidebar {
  height: 100%;
  border-left: 1px solid var(--bw-border);
  padding-left: 6px;
}
.legacy-runtime-block__sidebar #market {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  height: 18px;
  line-height: 18px;
  font-family: Arial, sans;
  padding: 6px;
}
.legacy-runtime-block__sidebar #price {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  height: 28px;
  line-height: 28px;
}
.legacy-runtime-block__sidebar #trades {
  text-align: left;
}
.legacy-runtime-block__sidebar #trades span {
  font-size: 1.6em;
  font-weight: bold;
}
.legacy-runtime-block__sidebar #trades .row {
  display: block;
}

#sidebar .green,
.legacy-runtime-block__sidebar .green {
  color: var(--bw-up-soft);
}
#sidebar .green g,
.legacy-runtime-block__sidebar .green g {
  color: #336633;
}
#sidebar .red,
.legacy-runtime-block__sidebar .red {
  color: var(--bw-down-soft);
}
#sidebar .red g,
.legacy-runtime-block__sidebar .red g {
  color: #663333;
}
#sidebar #price.green,
.legacy-runtime-block__sidebar #price.green {
  color: var(--bw-up-flash);
}
#sidebar #price.red,
.legacy-runtime-block__sidebar #price.red {
  color: var(--bw-down-flash);
}

#middlebar {
  width: 120px;
  height: 100%;
  padding: 6px;
  border-right: 1px solid #333;
  text-align: center;
  float: right;
}

#main,
.legacy-runtime-block__sidebar {
  font-family: Consolas, Monospace;
  font-size: 11px;
  line-height: 14px;
}

#main {
  overflow: hidden;
  display: none;
}
#main #wrapper {
  height: 100%;
  position: relative;
  overflow: hidden;
}
#main .hide_cursor canvas {
  cursor: none;
}
#main .hide_cursor #chart_info {
  cursor: none;
}

.footer {
  border-top: 1px solid var(--bw-border);
  line-height: 28px;
}
.footer .icon-sun {
  font-size: 11px;
}
.footer .icon-moon {
  font-size: 11px;
}
.footer .conn {
  color: #090;
}
.footer .horiz {
  text-align: center;
  font-size: 12px;
  font-family: Arial, sans;
}
.footer .horiz .float-left {
  float: left;
  margin-left: 10px;
}
.footer .horiz .feedback-inbox__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer .horiz .feedback-inbox__link .feedback-inbox__badge {
  flex: 0 0 auto;
  margin-left: 0;
}

#assist {
  overflow-y: auto;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 320px;
  height: 32px;
  padding: 0 4px;
  border-left: 1px solid var(--bw-border);
  border-top: 1px solid var(--bw-border);
  font-size: 11px;
  font-weight: normal;
  line-height: 16px;
  color: var(--bw-text-muted);
  background-color: var(--bw-bg-mask);
}

#info {
  position: absolute;
  font-size: 10px;
  font-family: Consolas, Monospace;
  color: #999999;
}

#leftbar_outer {
  float: right;
  height: 100%;
}
#leftbar_outer #leftbar {
  border-left: 1px solid var(--bw-border);
}
#leftbar_outer .gg160x600 {
  width: 160px;
  padding: 6px;
}

#close_ad {
  text-align: center;
  padding: 2em;
}
#close_ad span {
  cursor: pointer;
  color: var(--bw-link);
}

#leftbar {
  height: 100%;
  font-size: 12px;
  position: relative;
  font-family: Consolas, Monospace;
  border-right: 1px solid var(--bw-border);
}

#date {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-top: 1px solid var(--bw-border);
}

#periods li.period {
  cursor: pointer;
  color: var(--bw-link);
}
#periods li.selected {
  color: var(--bw-accent);
}
#periods .selected a {
  color: var(--bw-selected);
}
#header #periods.periods-inline-list {
  box-sizing: border-box;
  padding-left: 12px;
  padding-right: 8px;
}
#periods .tf-label {
  margin-left: 6px;
  line-height: 26px;
  display: none;
}

#sidebar {
  width: 8px;
}
#sidebar #expand_sidebar {
  opacity: 0.8;
  cursor: pointer;
  height: 100%;
  margin-left: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header .horizontal_line {
  display: block;
  border-bottom: 1px solid var(--bw-border);
}
#header .control-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#header .control-toolbar > .horizontal_line {
  flex-basis: 100%;
  height: 0;
}
#header .periods-shell {
  min-width: 0;
  margin-right: 0;
}
@media (max-width: 1.98px) {
  #header .periods-shell {
    flex: 1 1 auto;
  }
}
#header .periods-inline-scroll {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
@media (max-width: 1.98px) {
  #header ul.horiz.periods-inline-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
    min-width: 100%;
    white-space: nowrap;
    width: max-content;
  }
  #header ul.horiz.periods-inline-list > li {
    flex: 0 0 auto;
    margin-right: 0;
    min-width: 0;
  }
  #header ul.horiz.periods-inline-list > li.period {
    flex: 0 0 auto;
    text-align: center;
  }
  #header ul.horiz.periods-inline-list > li.period-timeframe-control--plus {
    min-width: 11px;
  }
}
#header .toolbar-inline-actions,
#header .toolbar-settings-tools {
  flex: 0 0 auto;
}
#header .toolbar-settings-tools {
  margin-right: 0;
}
#header ul.horiz {
  padding: 0;
}
#header ul.horiz ul {
  display: inline-block;
}
#header ul.horiz li {
  padding: 4px 0;
}
#header ul.horiz li.sep {
  padding: 0;
}
#header ul.horiz li.subsep {
  padding: 0;
}
#header ul.horiz .dropdown-data {
  padding: 3px;
}
#header ul.horiz .li_settings {
  padding: 0;
  margin-left: 3px;
  margin-right: 0;
}
#header ul.horiz .li_settings table.simple td {
  padding: 3px;
}
#header ul.horiz .li_settings table.simple td ul li {
  padding: 0;
}
#header ul.horiz .li_settings .dropdown-data-full-size {
  width: calc(100vw - 8px);
}
#header ul.horiz .li_tools {
  padding: 0;
}
#header .inner > ul.horiz li {
  vertical-align: middle;
}

.markets_outer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
}

#market_status {
  font-size: 11px;
}
#market_status label {
  font-weight: normal;
  margin: 0 6px;
}

#qr {
  border: 1px solid var(--bw-border);
  left: 0;
  top: 0;
  padding: 8px;
  background-color: var(--bw-bg-mask);
  position: absolute;
  z-index: 105;
  display: none;
}

.gg468x60 {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100;
  width: 468px;
  height: 60px;
  border-left: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
}

.gg200x200 {
  height: 200px;
  overflow: hidden;
  margin-top: 6px;
  border-top: 1px solid #333;
  padding-top: 6px;
}

.gg728x90 {
  width: 728px;
  height: 90px;
  margin: 16px auto auto;
}

.ggtop {
  position: absolute;
  top: 0;
  right: 0;
}
.ggtop img {
  display: block;
}

#asks {
  width: 130px;
}
#asks .row {
  position: relative;
  width: 120px;
}

#bids {
  width: 130px;
}
#bids .row {
  position: relative;
  width: 120px;
}

#gasks {
  width: 80px;
}
#gasks .row {
  width: 80px;
}

#gbids {
  width: 80px;
}
#gbids .row {
  width: 80px;
}

.new {
  background-color: var(--bw-border);
}

#orderbook {
  line-height: 0;
}
#orderbook .orderbook {
  overflow: hidden;
}
#orderbook #asks {
  height: 195px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  contain: layout;
}
#orderbook #asks .table {
  bottom: 0;
}
#orderbook #gasks {
  height: 195px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  contain: layout;
}
#orderbook #gasks .table {
  bottom: 0;
}
#orderbook #bids {
  height: 195px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  contain: layout;
}
#orderbook #bids .table {
  top: 0;
}
#orderbook #gbids {
  height: 195px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  contain: layout;
}
#orderbook #gbids .table {
  top: 0;
}
#orderbook .table {
  position: absolute;
  border-collapse: collapse;
  padding: 0;
  margin: 0;
}
#orderbook .table .row {
  padding: 0;
  margin: 0;
  height: 13px;
  line-height: 13px;
}
#orderbook .remove {
  color: var(--bw-border);
}
#orderbook .remove g {
  color: var(--bw-border);
}
#orderbook .amount {
  float: right;
}

.orderbook .table > div {
  overflow: hidden;
}
.orderbook .table > div.animated:not(.remove) {
  animation-duration: 1.4s;
  animation-name: orderBookSlideDown;
  animation-timing-function: ease;
}
.orderbook .table > div.remove {
  animation-delay: 0.8s;
  animation-duration: 0.4s;
  animation-name: orderBookSlideUp;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}

button, .button {
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid var(--bw-border);
  background-color: var(--bw-btn-bg);
  color: var(--bw-text);
  padding: 4px 8px;
}
button:hover, .button:hover {
  background-color: var(--bw-btn-bg-hover);
}
button:active, .button:active {
  background-color: var(--bw-btn-bg-active);
}
button:disabled, .button:disabled {
  cursor: not-allowed;
  background-color: var(--bw-disabled);
}
button.selected, .button.selected {
  background-color: var(--bw-surface-2);
}

select, option {
  background-color: var(--bw-btn-bg);
  color: var(--bw-text);
  border: 1px solid var(--bw-text-muted);
}

select {
  cursor: pointer;
}

input {
  padding: 4px;
  border-radius: 4px;
  border: 1px solid var(--bw-border);
  background-color: var(--bw-btn-bg);
  color: var(--bw-text);
}

input[type=text] {
  width: 12em;
}

input[type=password] {
  width: 12em;
}

input[type=checkbox] {
  vertical-align: middle;
}

input[type=button] {
  padding: 4px 8px;
  cursor: pointer;
}
input[type=button]:hover {
  background-color: var(--bw-btn-bg-hover);
}
input[type=button]:active {
  background-color: var(--bw-btn-bg-active);
}

input[type=submit] {
  padding: 4px 8px;
  cursor: pointer;
}
input[type=submit]:hover {
  background-color: var(--bw-btn-bg-hover);
}
input[type=submit]:active {
  background-color: var(--bw-btn-bg-active);
}

#loading {
  position: absolute;
  top: 25%;
  width: 100%;
  font-size: 18px;
  text-align: center;
  z-index: 99;
}
#loading .inner {
  margin-top: -32px;
  line-height: 32px;
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--bw-border);
  border-radius: 5px;
  background-color: var(--bw-bg-mask);
}

.notify {
  position: absolute;
  top: 20%;
  width: 100%;
  font-size: 18px;
  text-align: center;
  z-index: 99;
  display: none;
}
.notify .inner {
  margin-top: -32px;
  line-height: 32px;
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--bw-border);
  border-radius: 5px;
  background-color: var(--bw-bg-mask);
}

.popup {
  position: absolute;
  background-color: var(--bw-bg);
  border-radius: 5px;
  box-shadow: 0 0 3px #666;
  padding: 12px;
  display: none;
  width: calc(100vw - 50px);
  top: 10px;
  left: 3px;
  z-index: 20;
}
.popup input {
  width: 2em;
  vertical-align: top;
  margin-right: 1em;
}
.popup h3 {
  border-bottom: 1px solid #333;
}
.popup dl dt {
  display: inline-block;
  margin: 0;
  padding: 0;
  margin-right: 6px;
}
.popup dl dd {
  display: inline-block;
  margin: 0;
  padding: 0;
  margin-right: 6px;
}

.popup--fullscreen {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: auto;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  flex-direction: column;
  z-index: 10000;
}

#error_popup.popup {
  top: auto;
  bottom: 50px;
  left: 10px;
  width: 200px;
  text-align: center;
  box-shadow: 0 0 3px var(--bw-text-strong);
}
#error_popup.popup span {
  color: red;
}

#performance_settings {
  width: 320px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

#heatmap_settings.popup {
  top: 3px;
}

#heatmap_settings table {
  width: 100%;
}
#heatmap_settings .color {
  display: inline-block;
  width: 0.99%;
}
#heatmap_settings .colors {
  width: 100%;
  line-height: 0;
}
#heatmap_settings .colors img {
  width: 100%;
  height: 20px;
}
#heatmap_settings [type=number] {
  width: 8em;
}
#heatmap_settings [type=range] {
  width: 10em;
}
#heatmap_settings td label > input {
  visibility: hidden;
  position: absolute;
}
#heatmap_settings td label > input + div {
  cursor: pointer;
  border: 2px solid transparent;
  background: #000;
}
#heatmap_settings td label > input:checked + div {
  border: 1px solid #FF6600;
}
#heatmap_settings .container > div {
  display: inline-block;
  width: 49%;
}
#heatmap_settings #heatmap_advanced_settings tr {
  height: 3em;
}

.dropdown {
  padding: 0;
  margin: 0;
  display: inline-block;
  list-style: none;
  position: relative;
  z-index: 10;
}
.dropdown .t {
  border: 1px solid transparent;
  border-bottom: none;
  padding: 3px 6px;
  z-index: 101;
  position: relative;
  cursor: default;
}
.dropdown .caret {
  margin-left: 6px;
}
.dropdown .caret .icon-caret-down {
  display: inline;
}
.dropdown .caret .icon-caret-up {
  display: none;
}

.dropdown-hover {
  z-index: 100;
}
.dropdown-hover .dropdown-data {
  display: block;
}
.dropdown-hover .t {
  color: var(--bw-text-strong);
  border: 1px solid #666;
  border-bottom: none;
  background-color: color-mix(in srgb, var(--bw-bg) 90%, transparent);
}
.dropdown-hover .caret .icon-caret-down {
  display: none;
}
.dropdown-hover .caret .icon-caret-up {
  display: inline;
}

.dropdown-data {
  display: none;
  position: absolute;
  z-index: 100;
  background-color: color-mix(in srgb, var(--bw-bg) 90%, transparent);
  padding: 6px;
  margin: 0;
  text-align: left;
  border: 1px solid #666;
  margin-top: -1px;
}
.dropdown-data li {
  display: block;
  white-space: nowrap;
}
.dropdown-data table.simple {
  width: 100%;
}
.dropdown-data table.simple td:nth-child(1) {
  white-space: nowrap;
}
.dropdown-data.dropdown-data-full-size {
  width: calc(100vw - 16px);
}

.dropdown-period.period {
  margin-right: 0;
}

.mobile-bottom-sheet-backdrop,
.mobile-bottom-sheet__header {
  display: none;
}

.mobile-bottom-sheet__body {
  display: contents;
}

@keyframes mobileBottomSheetEnter {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes mobileBottomSheetBackdropEnter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 999px) {
  #header .li_settings .mobile-bottom-sheet-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 6px 10px;
    color: var(--bw-text);
    line-height: 1;
    cursor: pointer;
    border: none;
  }
  #header .li_settings .dropdown-hover .mobile-bottom-sheet-trigger {
    border: none;
    background: color-mix(in srgb, var(--bw-neutral) 18%, var(--bw-surface-2));
    color: var(--bw-text-strong);
  }
  #header .li_settings .mobile-bottom-sheet-trigger .caret {
    display: none;
  }
  body:has(.mobile-bottom-sheet--open),
  body:has(.li_settings .dropdown-hover) {
    overflow: hidden;
  }
  .mobile-bottom-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: color-mix(in srgb, var(--bw-bg) 62%, transparent);
    cursor: default;
    animation: mobileBottomSheetBackdropEnter 160ms ease-out;
  }
  .mobile-bottom-sheet-backdrop--open,
  .dropdown-hover > .mobile-bottom-sheet-backdrop {
    display: block;
  }
  .mobile-bottom-sheet {
    position: fixed !important;
    inset: auto 0 0 !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 9999 !important;
    box-sizing: border-box;
    flex-direction: column;
    width: 100% !important;
    max-width: none !important;
    max-height: 85vh;
    max-height: 85dvh;
    margin: 0 !important;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    overflow: hidden;
    border: 1px solid var(--bw-border);
    border-bottom: 0;
    border-radius: 0;
    box-shadow: 0 -8px 28px color-mix(in srgb, var(--bw-bg) 45%, transparent);
    animation: mobileBottomSheetEnter 180ms ease-out;
  }
  .dropdown > .mobile-bottom-sheet {
    display: none;
  }
  .dropdown-hover > .mobile-bottom-sheet {
    display: flex;
  }
  .mobile-bottom-sheet__header,
  .mobile-bottom-sheet .popup__header {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    margin: 0;
    padding: 15px 12px 7px;
    /*border-bottom: 1px solid var(--bw-border);*/
  }
  .mobile-bottom-sheet__header > strong,
  .mobile-bottom-sheet__header > .mobile-bottom-sheet__close,
  .mobile-bottom-sheet .popup__header > h2,
  .mobile-bottom-sheet .popup__header > .popup__close,
  [data-settings-panel=indicators_settings].popup--fullscreen .popup__header > h2,
  [data-settings-panel=chart_objects].popup--fullscreen .popup__header > h2 {
    display: none;
  }
  .mobile-bottom-sheet__header,
  .mobile-bottom-sheet .popup__header {
    min-height: 22px;
    padding: 0;
    border-bottom: 0;
  }
  [data-settings-panel=indicators_settings].popup--fullscreen .popup__header,
  [data-settings-panel=chart_objects].popup--fullscreen .popup__header {
    position: relative;
    min-height: 44px;
    margin: 0;
    padding: 0;
  }
  [data-settings-panel=indicators_settings].popup--fullscreen .popup__header > .popup__close,
  [data-settings-panel=chart_objects].popup--fullscreen .popup__header > .popup__close {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: 44px;
    height: 44px;
    margin: 0;
  }
  .mobile-bottom-sheet__handle {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 36px;
    height: 4px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--bw-border);
    transform: translateX(-50%);
    cursor: pointer;
  }
  .mobile-bottom-sheet__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
  }
  .mobile-bottom-sheet__body {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
  }
  #header ul.horiz .li_settings .mobile-bottom-sheet__body table.simple td,
  #header ul.horiz .li_settings .mobile-bottom-sheet__body table.simple th {
    padding-top: 6px;
    padding-bottom: 6px;
  }
}
@media (max-width: 999px) and (prefers-reduced-motion: reduce) {
  .mobile-bottom-sheet,
  .mobile-bottom-sheet-backdrop {
    animation: none;
  }
}
.dropdown-period .dropdown-data {
  text-align: center;
  width: 100%;
}
.dropdown-period .period {
  padding: 1px 0 2px;
}
.dropdown-period #dropdown-period-value {
  color: var(--bw-selected);
}

.navbar {
  font-family: Arial, sans;
  font-size: 12px;
  border-bottom: 1px solid var(--bw-border);
}
.navbar .nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
  list-style: none;
  padding-left: 3px;
}
.navbar .nav li {
  display: inline-block;
  flex: 0 0 auto;
  margin-right: 18px;
}
.navbar .nav li#nav-charts {
  margin-right: 0;
}
.navbar .nav .logo {
  margin-left: 0;
  font-size: 14px;
  line-height: 40px;
}
.navbar .nav .logo .dropdown-data {
  min-width: 350px;
}
.navbar .nav .logo .row {
  display: flex;
  padding: 0;
  width: 100%;
  flex-direction: row;
  margin-left: -1rem;
}
.navbar .nav .logo .row .column {
  margin-bottom: inherit;
  padding-left: 2rem;
}
.navbar .nav .logo .row .column:nth-child(2) {
  padding-left: 1rem;
}
.navbar .nav li.ticker {
  display: none;
}
.navbar .nav li.ticker span {
  margin-left: 6px;
  font-family: Consolas, Monospace;
  font-size: 12px;
}
.navbar .nav li.ticker span.eprice {
  margin-left: 0;
}
.navbar .nav {
  /* li.passport styles moved to assets/styles/_navbar.scss (Nuxt graph)
     so the passport button is styled at first paint, not after this
     legacy sheet loads (CLS). */
}
.navbar .nav li.feedback-inbox {
  display: inline-flex;
  align-items: center;
  vertical-align: top;
  height: 40px;
  margin: 0 13px 0 0;
  padding: 0;
}
.navbar .nav li.feedback-inbox .feedback-inbox__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  transition: color 120ms ease;
}
.navbar .nav li.feedback-inbox .feedback-inbox__link:hover {
  background: transparent;
  color: var(--bw-link);
}
.navbar .nav li.feedback-inbox .feedback-inbox__link i {
  font-size: 14px;
  line-height: 1;
}
.navbar .nav li.feedback-inbox .feedback-inbox__link .feedback-inbox__badge {
  position: absolute;
  top: 4px;
  right: -4px;
  margin-left: 0;
}
.navbar .nav .logo .dropdown .t {
  padding: 0 6px;
}
.navbar .nav .logo .dropdown .t {
  padding: 3px 6px 3px;
}
.navbar .nav .logo {
  margin-right: 0;
}
.navbar .nav .logo img {
  width: 28px;
  margin-bottom: -9px;
}
.navbar .nav .logo > a {
  display: none;
}
.navbar table.simple {
  width: 100%;
}

table.simple {
  font-weight: normal;
  border-collapse: collapse;
  font-size: 12px;
}
table.simple td {
  padding: 6px;
  border-bottom: 1px solid var(--bw-border);
}
table.simple tr:last-child td {
  border-bottom: none;
}
table.simple ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
table.simple ul li {
  display: inline-block;
  margin-right: 12px;
  color: var(--bw-link);
  cursor: pointer;
}
table.simple ul li:hover {
  text-decoration: underline;
}
table.simple ul li.active {
  color: var(--bw-accent);
}

#trades {
  color: #808080;
  overflow: hidden;
  contain: layout;
}
#trades .row {
  overflow: hidden;
  clear: both;
  height: 13px;
  line-height: 13px;
  position: relative;
}
#trades .t {
  display: inline-block;
  vertical-align: top;
}
#trades .p {
  display: inline-block;
  vertical-align: top;
}
#trades .v {
  display: inline-block;
  vertical-align: top;
  color: var(--bw-text);
  float: right;
  text-align: left;
  width: 5em;
}
#trades .s {
  text-align: right;
}
#trades > div.animate {
  animation-duration: 1s;
  animation-name: tradeLogDropDown;
}
#trades:hover {
  overflow-y: scroll;
}

#nav-charts {
  font-weight: normal;
  display: none;
}

.nav-markets {
  font-family: Arial, sans;
}
.nav-markets a {
  margin-right: 6px;
}

#markets {
  right: 0;
  font-size: 11px;
  text-align: center;
  font-weight: normal;
}
#markets a {
  margin: 0 3px;
}
#markets .currency {
  font-size: 12px;
}
#markets div {
  display: inline-block;
  font-family: Consolas, Monospace;
  margin-right: 12px;
  margin-left: 0;
  text-align: left;
}

#mode {
  font-family: Consolas, Monospace;
  font-size: 12px;
  height: 25px;
  line-height: 25px;
  margin-right: 2px;
  display: inline-block;
}
#mode a {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 6px;
  line-height: 17px;
  text-align: center;
  text-decoration: none;
  color: var(--bw-text-muted);
  font-weight: normal;
  vertical-align: top;
  margin-top: 3px;
  border-radius: 3px;
  border: 1px solid transparent;
}
#mode a:hover {
  border: 1px solid var(--bw-border);
  color: var(--bw-text);
}
#mode a.selected {
  border: 1px solid var(--bw-border);
  background-color: var(--bw-surface);
  color: var(--bw-text);
}
#mode img {
  vertical-align: middle;
  width: 13px;
  height: 13px;
}

.dialog {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 640px;
  padding: 8px;
  border: 1px solid var(--bw-border);
  font-family: Arial, sans;
  font-size: 13px;
  background-color: var(--bw-surface);
  color: var(--bw-text);
  z-index: 101;
  display: none;
}
.dialog .tablist {
  border-bottom: 2px solid transparent;
  /* theme-neutral mid-gray: reads on both --bw-surface-2 values */
  border-image: linear-gradient(90deg, transparent, #666, transparent) 1;
  background: var(--bw-surface-2);
  margin-bottom: 0;
  cursor: move;
}
.dialog .tablist .tab {
  display: inline-block;
  padding: 0;
  font-size: 12px;
  text-align: center;
  margin-right: 4px;
  letter-spacing: 0.02em;
  vertical-align: top;
  white-space: nowrap;
}
.dialog .tablist .tab > a,
.dialog .tablist .tab-static,
.dialog .tablist .close > a,
.dialog .tablist .close > i,
.dialog .tablist .close > .iconify {
  display: block;
  padding: 7px 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--bw-text);
  text-decoration: none;
  text-transform: none;
  transition: background 0.12s, border-color 0.12s, color 0.12s, opacity 0.12s;
}
.dialog .tablist .tab > a:hover,
.dialog .tablist .tab > a:focus,
.dialog .tablist .tab > a:focus-visible,
.dialog .tablist .close > a:hover,
.dialog .tablist .close > i:hover,
.dialog .tablist .close:hover > .iconify {
  color: var(--bw-text-strong);
  outline: none;
}
.dialog .tablist .tab > a.selected {
  background: color-mix(in srgb, var(--bw-text-strong) 12%, transparent);
  color: var(--bw-text-strong);
}
.dialog .tablist .close {
  cursor: pointer;
  width: auto;
  text-align: right;
  float: right;
  margin-right: 0;
  opacity: 0.52;
}
.dialog .tablist .close > a,
.dialog .tablist .close > i {
  text-align: center;
}
.dialog .tablist .close > .iconify {
  margin-left: 0;
  vertical-align: top;
}
.dialog .tablist .close:hover,
.dialog .tablist .close > a:hover,
.dialog .tablist .close > i:hover {
  opacity: 1;
}
.dialog .tablist .tab-static {
  background: color-mix(in srgb, var(--bw-text-strong) 12%, transparent);
  color: var(--bw-text-strong);
}
.dialog .tablist .icon-ok {
  color: #6C6;
}
.dialog .tablist table {
  border-collapse: collapse;
}
.dialog .tablist table td {
  padding: 2px 4px;
}
.dialog .tablist table td:first-child {
  text-align: right;
  width: 160px;
}
.dialog .tablist-one {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.dialog .tablist-one .tab {
  width: auto;
}
.dialog .tablist-one .tab:not(.close) {
  order: 1;
}
.dialog .tablist-one .tab > a.selected,
.dialog .tablist-one .tab-static {
  background: transparent;
}
.dialog .tablist-one .close {
  order: 2;
  float: none;
  flex: 0 0 auto;
  margin-left: 8px;
}
.dialog button,
.dialog .button,
.dialog input[type=button],
.dialog input[type=submit] {
  box-sizing: border-box;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--bw-text-strong) 18%, transparent);
  background: color-mix(in srgb, var(--bw-text-strong) 6%, transparent);
  color: inherit;
  font: inherit;
  line-height: 1.2;
  text-align: center;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.dialog button:hover,
.dialog .button:hover,
.dialog input[type=button]:hover,
.dialog input[type=submit]:hover {
  border-color: color-mix(in srgb, var(--bw-text-strong) 26%, transparent);
  background: color-mix(in srgb, var(--bw-text-strong) 10%, transparent);
}
.dialog button:active, .dialog button:focus, .dialog button:focus-visible,
.dialog .button:active,
.dialog .button:focus,
.dialog .button:focus-visible,
.dialog input[type=button]:active,
.dialog input[type=button]:focus,
.dialog input[type=button]:focus-visible,
.dialog input[type=submit]:active,
.dialog input[type=submit]:focus,
.dialog input[type=submit]:focus-visible {
  border-color: color-mix(in srgb, var(--bw-text-strong) 26%, transparent);
  background: color-mix(in srgb, var(--bw-text-strong) 10%, transparent);
  color: inherit;
  outline: none;
  box-shadow: none;
}
.dialog button:disabled,
.dialog .button:disabled,
.dialog input[type=button]:disabled,
.dialog input[type=submit]:disabled {
  opacity: 0.65;
  cursor: default;
}
.dialog table.s1 {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  margin-bottom: 8px;
}
.dialog table.s1 .icon-ok {
  color: #6C6;
}
.dialog table.s1 .icon-remove {
  color: #F66;
}
.dialog table.s1 td {
  border: 1px solid #4D4D4D;
  padding: 4px;
}
.dialog table.s1 th {
  border: 1px solid #4D4D4D;
  padding: 4px;
}
.dialog h3 {
  margin-top: 0;
  margin-bottom: 8px;
  padding-top: 4px;
  font-size: 12px;
}
.dialog dl {
  margin-top: 0;
}
.dialog ol {
  margin: 0;
  padding: 0;
}
.dialog ol li {
  margin-left: 40px;
}
.dialog .error {
  color: #F33;
  text-align: center;
  display: none;
}
.dialog .rt {
  display: none;
}
.dialog .ok {
  color: #6C6;
  text-align: center;
}
.dialog .content_premium table#price_table {
  width: 300px;
  margin: auto;
  margin-bottom: 8px;
}
.dialog .content_premium .steps {
  text-align: center;
}
.dialog .content .selected {
  background: color-mix(in srgb, var(--bw-text-strong) 12%, transparent);
  border-radius: 3px;
  color: var(--bw-text-strong);
}
.dialog .unit {
  padding: 3px 6px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 3px;
}
.dialog .unit:hover {
  border-color: color-mix(in srgb, var(--bw-text-strong) 18%, transparent);
}
.dialog .tablist .tab > a.active,
.dialog .tablist .tab > a.active span {
  color: var(--bw-accent) !important;
  font-weight: 700;
}

.dialog-auto-size {
  width: auto;
  height: auto;
}
.dialog-auto-size form table td:first-child {
  width: auto;
}

.del {
  text-decoration: line-through;
}
.del i {
  text-decoration: none;
}

#dlg_alarm {
  box-sizing: border-box;
  width: min(640px, 100vw - 32px);
  min-width: 0;
  font-family: Arial, sans;
}

#dlg_alarm.alarm-basic {
  width: min(340px, 100vw - 32px);
}

#dlg_alarm.popup--fullscreen {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: auto;
  height: 100vh;
  height: 100dvh;
}
#dlg_alarm.popup--fullscreen .content_alarm {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

#dlg_ucp .content {
  position: relative;
  overflow-y: auto;
}
#dlg_ucp .content_history {
  text-align: left;
  overflow-y: auto;
  min-height: 200px;
}
#dlg_ucp .content_history table {
  font-size: 11px;
}
#dlg_ucp .rt {
  text-align: center;
  position: absolute;
  top: 0;
}

.content_warning {
  text-align: center;
}
.content_warning .icon {
  float: left;
  font-size: 36px;
}

.content_alarm {
  max-height: min(620px, 100vh - 100px);
  overflow-y: auto;
  padding: 10px 2px 2px;
  text-align: left;
}
.content_alarm table {
  width: 100%;
  border-collapse: collapse;
}
.content_alarm table td {
  vertical-align: middle;
}
.content_alarm .alarm-thresholds td:first-child {
  width: 120px;
  white-space: nowrap;
  color: var(--bw-text-muted);
}
.content_alarm .alarm-thresholds td:last-child {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.content_alarm button {
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 3px;
  font-family: inherit;
  line-height: 1.1;
  margin-right: 0;
  vertical-align: middle;
}
.content_alarm input {
  font-family: Consolas, Monospace;
  vertical-align: middle;
}
.content_alarm .price {
  min-width: 96px;
  font-family: Consolas, Monospace;
}
.content_alarm .alarm-section {
  border: 1px solid color-mix(in srgb, var(--bw-text-strong) 8%, transparent);
  background: color-mix(in srgb, var(--bw-text-strong) 1.8%, transparent);
  margin-bottom: 8px;
  padding: 10px;
}
.content_alarm .alarm-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 26px;
  margin: -4px 0 6px;
  color: var(--bw-text);
}
.content_alarm .alarm-section__header strong {
  font-size: 12px;
  font-weight: 600;
}
.content_alarm .alarm-channel {
  display: block;
}
.content_alarm .alarm-channel-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 6px;
}
.content_alarm .alarm-channel-card {
  box-sizing: border-box;
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 6px 8px;
  border: 1px solid color-mix(in srgb, var(--bw-text-strong) 12%, transparent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--bw-text-strong) 3.5%, transparent);
  color: var(--bw-text);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}
.content_alarm .alarm-channel-card:focus-visible, .content_alarm .alarm-channel-card:hover:not(:disabled):not(.alarm-channel-card--unavailable) {
  border-color: color-mix(in srgb, var(--bw-link) 72%, transparent);
  background: color-mix(in srgb, var(--bw-link) 8%, transparent);
}
.content_alarm .alarm-channel-card:disabled {
  cursor: not-allowed;
  color: var(--bw-text-muted);
  border-color: color-mix(in srgb, var(--bw-text-strong) 8%, transparent);
  background: color-mix(in srgb, var(--bw-text-strong) 2.5%, transparent);
}
.content_alarm .alarm-channel-card.is-selected {
  border-color: color-mix(in srgb, var(--bw-link) 86%, transparent);
  background: color-mix(in srgb, var(--bw-link) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bw-link) 18%, transparent);
}
.content_alarm .alarm-channel-card--cta {
  border-color: color-mix(in srgb, var(--bw-link) 28%, transparent);
}
.content_alarm .alarm-channel-card--pro {
  border-color: color-mix(in srgb, var(--bw-accent) 32%, transparent);
}
.content_alarm .alarm-channel-card--pro:focus-visible, .content_alarm .alarm-channel-card--pro:hover {
  border-color: color-mix(in srgb, var(--bw-accent) 72%, transparent);
  background: color-mix(in srgb, var(--bw-accent) 8%, transparent);
}
.content_alarm .alarm-channel-card--unavailable {
  cursor: default;
  color: var(--bw-text-muted);
  border-color: color-mix(in srgb, var(--bw-text-strong) 8%, transparent);
  background: color-mix(in srgb, var(--bw-text-strong) 2%, transparent);
}
.content_alarm .alarm-channel-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid color-mix(in srgb, var(--bw-text-strong) 12%, transparent);
  border-radius: 4px;
  color: var(--bw-link);
  background: rgba(0, 0, 0, 0.18);
  font-size: 13px;
}
.content_alarm .alarm-channel-card__body {
  min-width: 0;
}
.content_alarm .alarm-channel-card__title,
.content_alarm .alarm-channel-card__subtitle {
  display: block;
  overflow-wrap: anywhere;
}
.content_alarm .alarm-channel-card__title {
  color: var(--bw-text);
  font-weight: 600;
  line-height: 1.18;
}
.content_alarm .alarm-channel-card__subtitle {
  margin-top: 2px;
  color: var(--bw-text-muted);
  font-size: 11px;
  line-height: 1.18;
}
.content_alarm .alarm-channel-card__badge {
  grid-column: 2;
  justify-self: start;
  max-width: 100%;
  margin-top: 4px;
  padding: 1px 5px;
  border: 1px solid color-mix(in srgb, var(--bw-link) 22%, transparent);
  border-radius: 3px;
  color: var(--bw-link);
  background: color-mix(in srgb, var(--bw-link) 8%, transparent);
  font-size: 10px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.content_alarm .alarm-mobile-install {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 2px 0 4px;
  padding: 8px 0 8px 10px;
  /* border-left: 1px solid bw-alpha(var(--bw-link), 0.35); */
  color: var(--bw-text-muted);
}
.content_alarm .alarm-mobile-install__qr {
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  image-rendering: pixelated;
  background: #fff;
}
.content_alarm .alarm-mobile-install__copy {
  min-width: 0;
}
.content_alarm .alarm-mobile-install__copy p {
  max-width: 220px;
  margin: 0 0 7px;
  line-height: 1.35;
}
.content_alarm .alarm-mobile-install__copy a {
  color: var(--bw-link);
  text-decoration: underline;
}
.content_alarm .alarm-mobile-install__copy a:hover {
  color: var(--bw-text-strong);
}
.content_alarm .alarm-channel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.content_alarm .alarm-telegram-connect {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.content_alarm .alarm-telegram-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.content_alarm .alarm-notice {
  margin: 0 0 8px;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--bw-link) 25%, transparent);
  color: var(--bw-link);
  background: color-mix(in srgb, var(--bw-link) 6%, transparent);
}
.content_alarm .alarm-notice--error {
  color: var(--bw-error);
  border-color: color-mix(in srgb, var(--bw-error) 30%, transparent);
  background: color-mix(in srgb, var(--bw-error) 6%, transparent);
}
.content_alarm .alarm-notice--divergence {
  margin-top: 8px;
  color: var(--bw-warn);
  border-color: color-mix(in srgb, var(--bw-warn) 30%, transparent);
  background: color-mix(in srgb, var(--bw-warn) 6%, transparent);
}
.content_alarm .alarm-thresholds td {
  padding: 4px 0;
}
.content_alarm .alarm-thresholds .price {
  box-sizing: border-box;
  flex: 1 1 auto;
  width: 100%;
}
.content_alarm .alarm-clear-all {
  min-height: 24px;
  color: var(--bw-text-muted);
}
.content_alarm .alarm-threshold-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--bw-text-strong) 8%, transparent);
}
.content_alarm .alarm-save {
  min-width: 120px;
  color: var(--bw-text-strong);
  border-color: rgba(66, 165, 245, 0.8);
  background: rgba(33, 150, 243, 0.35);
}
.content_alarm .alarm-save:hover:not(:disabled) {
  background: rgba(33, 150, 243, 0.5);
}
.content_alarm .alarm-market--raw {
  color: var(--bw-text-muted);
  font-family: Consolas, Monospace;
  text-transform: none;
}
.content_alarm .alarm-market-groups {
  display: grid;
  gap: 12px;
}
.content_alarm .alarm-market-group {
  min-width: 0;
}
.content_alarm .alarm-market-group + .alarm-market-group {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--bw-text-strong) 8%, transparent);
}
.content_alarm .alarm-market-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.content_alarm .alarm-market-group__title {
  color: var(--bw-text);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.content_alarm .alarm-market-group__title:hover {
  color: var(--bw-link);
}
.content_alarm .alarm-market-group__count {
  flex: 0 0 auto;
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 10px;
  color: var(--bw-text-muted);
  background: color-mix(in srgb, var(--bw-text-strong) 6%, transparent);
  font-family: Consolas, Monospace;
  font-size: 10px;
  text-align: center;
}
.content_alarm .alarm-alert-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px;
  align-items: start;
}
.content_alarm .alarm-alert-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--bw-text-strong) 12%, transparent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--bw-text-strong) 3.5%, transparent);
}
.content_alarm .alarm-alert-card:hover {
  border-color: color-mix(in srgb, var(--bw-link) 40%, transparent);
}
.content_alarm .alarm-alert-card.is-dirty {
  border-color: color-mix(in srgb, var(--bw-link) 60%, transparent);
}
.content_alarm .alarm-alert-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}
.content_alarm .alarm-alert-card__market {
  color: var(--bw-text);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.content_alarm .alarm-alert-card__market:hover {
  color: var(--bw-link);
}
.content_alarm .alarm-alert-card__controls {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
}
.content_alarm .alarm-condition-toggle {
  display: inline-flex;
  border: 1px solid color-mix(in srgb, var(--bw-text-strong) 18%, transparent);
  border-radius: 4px;
  overflow: hidden;
}
.content_alarm .alarm-condition-toggle__option {
  box-sizing: border-box;
  min-width: 28px;
  height: 26px;
  min-height: 26px;
  margin: 0;
  padding: 0 8px;
  border: none;
  border-radius: 0;
  background: color-mix(in srgb, var(--bw-text-strong) 3%, transparent);
  color: var(--bw-text-muted);
  line-height: 1;
}
.content_alarm .alarm-condition-toggle__option + .alarm-condition-toggle__option {
  border-left: 1px solid color-mix(in srgb, var(--bw-text-strong) 14%, transparent);
}
.content_alarm .alarm-condition-toggle__option.is-selected {
  color: var(--bw-link);
  background: color-mix(in srgb, var(--bw-link) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bw-link) 25%, transparent);
}
.content_alarm .alarm-alert-card__price {
  box-sizing: border-box;
  flex: 1 1 64px;
  width: auto;
  min-width: 48px;
  max-width: 140px;
  height: 26px;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--bw-text-strong) 20%, transparent);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--bw-text);
  font-family: Consolas, Monospace;
}
.content_alarm .alarm-alert-card__price:focus {
  border-color: color-mix(in srgb, var(--bw-link) 72%, transparent);
  outline: none;
}
.content_alarm .alarm-alert-card__channels {
  flex: 1 1 auto;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.content_alarm .alarm-chip {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  min-height: 26px;
  padding: 0 4px 0 8px;
  border: 1px solid color-mix(in srgb, var(--bw-text-strong) 18%, transparent);
  border-radius: 3px;
  background: color-mix(in srgb, var(--bw-text-strong) 4%, transparent);
  font-size: 11px;
  line-height: 1;
}
.content_alarm .alarm-chip__icon {
  display: inline-flex;
  color: var(--bw-link);
  font-size: 12px;
}
.content_alarm .alarm-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: none;
  color: var(--bw-text-muted);
  font-size: 10px;
  line-height: 1;
}
.content_alarm .alarm-chip__remove:hover:not(:disabled) {
  color: var(--bw-error);
  background: color-mix(in srgb, var(--bw-error) 14%, transparent);
}
.content_alarm .alarm-chip-add {
  flex: 0 0 auto;
}
.content_alarm .alarm-chip-add__button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 26px;
  min-height: 26px;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--bw-text-strong) 16%, transparent);
  border-radius: 3px;
  background: color-mix(in srgb, var(--bw-text-strong) 3%, transparent);
  color: var(--bw-text-muted);
  font-size: 16px;
  line-height: 1;
}
.content_alarm .alarm-chip-add__button:hover:not(:disabled) {
  color: var(--bw-text);
  border-color: color-mix(in srgb, var(--bw-link) 42%, transparent);
  background: color-mix(in srgb, var(--bw-link) 10%, transparent);
}
.content_alarm .alarm-list__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.content_alarm .alarm-list__status {
  color: var(--bw-up-soft);
  font-size: 11px;
  white-space: nowrap;
}
.content_alarm .alarm-list__status--error {
  color: var(--bw-down-soft);
  white-space: normal;
  overflow-wrap: anywhere;
}
.content_alarm .alarm-list__action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  min-width: 28px;
  height: 26px;
  min-height: 26px;
  padding: 0;
  border: 1px solid var(--bw-border-strong);
  border-radius: 3px;
  color: var(--bw-text-muted);
  background: color-mix(in srgb, var(--bw-text-strong) 5%, transparent);
  line-height: 1;
}
.content_alarm .alarm-list__action > * {
  display: block;
  flex: 0 0 auto;
  margin: 0 auto;
}
.content_alarm .alarm-list__action:hover {
  color: var(--bw-text-strong);
  border-color: var(--bw-text-faint);
  background: color-mix(in srgb, var(--bw-text-strong) 9%, transparent);
}
.content_alarm .alarm-list__action--save {
  color: var(--bw-up-soft);
  border-color: color-mix(in srgb, var(--bw-up-soft) 50%, transparent);
}
.content_alarm .alarm-list__action--save:hover:not(:disabled) {
  color: var(--bw-up-soft);
  border-color: color-mix(in srgb, var(--bw-up-soft) 80%, transparent);
}
.content_alarm .alarm-list__action--danger:hover:not(:disabled) {
  color: var(--bw-error);
  border-color: color-mix(in srgb, var(--bw-error) 50%, transparent);
}
.content_alarm .alarm-counts {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}
.content_alarm .alarm-count {
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 10px;
  color: var(--bw-text-muted);
  background: color-mix(in srgb, var(--bw-text-strong) 6%, transparent);
  font-family: Consolas, Monospace;
  font-size: 10px;
  text-align: center;
}
.content_alarm .alarm-count--server.is-limit-reached {
  color: var(--bw-down-soft);
  background: color-mix(in srgb, var(--bw-down-soft) 18%, transparent);
}
.content_alarm .alarm-empty {
  margin: 14px 0 8px;
  color: var(--bw-text-muted);
  text-align: center;
}
.content_alarm .alarm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--bw-text-muted);
  font-size: 11px;
}
.content_alarm .alarm-footer .close {
  min-width: 78px;
}

.sidebar-resize-handle {
  cursor: row-resize;
  flex: 0 0 18px;
  position: relative;
  touch-action: none;
}
.sidebar-resize-handle::before {
  background: var(--bw-border);
  content: "";
  height: 1px;
  left: 1px;
  position: absolute;
  right: 1px;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.15s ease;
}
.sidebar-resize-handle::after {
  background: color-mix(in srgb, var(--bw-text-strong) 14%, transparent);
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 50%;
  opacity: 0.7;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background-color 0.15s ease, opacity 0.15s ease;
  width: 24px;
}
.sidebar-resize-handle:hover::before, .sidebar-resize-handle:hover::after, .sidebar-resize-handle:active::before, .sidebar-resize-handle:active::after, .sidebar-resize-handle:focus-visible::before, .sidebar-resize-handle:focus-visible::after {
  background: color-mix(in srgb, var(--bw-text-strong) 28%, transparent);
  opacity: 1;
}

.sidebar-resize-handle--column {
  bottom: 0;
  cursor: col-resize;
  flex: none;
  left: -18px;
  position: absolute;
  top: 0;
  width: 18px;
  z-index: 2;
}
.sidebar-resize-handle--column::before {
  bottom: 1px;
  height: auto;
  left: 100%;
  right: auto;
  top: 1px;
  transform: translateX(-50%);
  width: 1px;
}
.sidebar-resize-handle--column::after {
  height: 24px;
  left: 100%;
  width: 4px;
}

.alarm-sidebar-column {
  border-left: 1px solid var(--bw-border);
  display: flex;
  flex-direction: column;
  font-family: Arial, sans;
  font-size: 13px;
  height: 100%;
  line-height: normal;
  margin-left: 18px;
  min-height: 0;
  position: relative;
  width: 360px;
}
.alarm-sidebar-column .alarm-sidebar-column__header {
  align-items: center;
  background: var(--bw-surface-2);
  border-bottom: 1px solid var(--bw-border);
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  justify-content: space-between;
  margin: 0;
  padding: 8px 10px;
}
.alarm-sidebar-column .alarm-sidebar-column__header h2 {
  flex: 1 1 auto;
  margin: 0;
}
.alarm-sidebar-column .alarm-sidebar-column__close {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  height: 26px;
  justify-content: center;
  margin: -4px -4px 0 0;
  opacity: 0.55;
  padding: 0;
  transition: opacity 0.12s, background 0.12s;
  width: 26px;
}
.alarm-sidebar-column .alarm-sidebar-column__close:hover, .alarm-sidebar-column .alarm-sidebar-column__close:focus-visible {
  background: color-mix(in srgb, var(--bw-neutral) 15%, transparent);
  outline: none;
  opacity: 1;
}
.alarm-sidebar-column .content_alarm--column {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
}

.chart-objects-sidebar-column {
  font-family: Arial, sans;
}

@media (max-width: 600px) {
  #dlg_alarm {
    min-width: 0;
  }
  .content_alarm .alarm-channel-card-grid {
    grid-template-columns: 1fr;
  }
  .content_alarm .alarm-channel-actions {
    padding-left: 0;
  }
  .content_alarm .alarm-mobile-install {
    align-items: flex-start;
    flex-direction: column;
    margin-left: 0;
    padding-left: 9px;
  }
  .content_alarm .alarm-thresholds td:first-child {
    width: 92px;
  }
  .content_alarm .alarm-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .content_alarm .alarm-footer .close {
    width: 100%;
  }
}
.content_aggregated_heatmap button {
  font-family: Consolas, Monospace;
  margin-right: 4px;
}

.help {
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--bw-bg);
  font-size: 11px;
  padding: 8px;
  border: 1px solid var(--bw-border);
  display: none;
}
.help dl:first-child {
  margin-top: 0;
}

#chart_info {
  position: absolute;
  font-family: Consolas, Monospace;
  font-size: 11px;
  width: 100%;
  text-align: left;
  line-height: 12px;
  top: 4px;
  left: 4px;
}
#chart_info dl {
  margin: 0;
  padding: 0;
  margin-right: -18px;
}
#chart_info dl dd {
  padding: 0;
  margin: 0;
  margin-right: 18px;
  display: inline-block;
}
#chart_info .m {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  width: 1em;
}
#chart_info .yellow {
  color: var(--bw-viz-highlight);
}
#chart_info .inner {
  display: inline-block;
}
#chart_info .inner dd {
  background-color: var(--bw-bg-mask);
}

#indicator_info {
  position: absolute;
  font-family: Consolas, Monospace;
  font-size: 11px;
  width: 100%;
  text-align: left;
  line-height: 12px;
  bottom: 0;
  left: 4px;
}
#indicator_info dl {
  margin: 0;
  padding: 0;
  margin-right: -18px;
}
#indicator_info dl dd {
  padding: 0;
  margin: 0;
  margin-right: 18px;
  display: inline-block;
}
#indicator_info .m {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  width: 1em;
}
#indicator_info .yellow {
  color: var(--bw-viz-highlight);
}
#indicator_info .inner {
  display: inline-block;
}
#indicator_info .inner dd {
  background-color: var(--bw-bg-mask);
}

.eprice {
  display: none;
}

@media (min-width: 1px) {
  .mobile-only-inline-block,
  .mobile-only-block {
    display: none !important;
  }
  .non-mobile-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 2px) {
  #sidebar {
    width: 220px;
  }
  #sidebar #expand_sidebar {
    display: none;
  }
  .hideable-inline-block-phablet {
    display: inline-block !important;
  }
  .hideable-block-phablet {
    display: block !important;
  }
}
@media (min-width: 2px) and (max-width: 2.98px) {
  ul.horiz > li.spaceholder {
    display: inline-block;
  }
  .float-right-phablet {
    float: right;
  }
  .visible-inline-block-phablet-tablet {
    display: inline-block !important;
  }
  .hideable-inline-block-phablet-tablet {
    display: none !important;
  }
}
@media (min-width: 3px) {
  .hideable-inline-block-mobile {
    display: inline-block !important;
  }
  .hideable-block-mobile {
    display: block !important;
  }
  .hideable-inline-block-tablet {
    display: inline-block !important;
  }
  #nav-charts {
    display: inline-block;
  }
  #header ul.horiz .li_settings {
    margin-right: 10px;
    margin-left: 0;
  }
  #header ul.horiz .li_settings .dropdown-data {
    white-space: nowrap;
  }
  #header ul.horiz .li_settings table.simple td {
    padding: 6px;
  }
  #header ul.horiz .li_settings .dropdown-data-full-size {
    width: auto;
  }
  .nav-markets .dropdown-data table.simple td:nth-child(2) {
    white-space: nowrap;
  }
  .dropdown-data.dropdown-data-full-size {
    width: auto;
  }
  .dropdown-data.dropdown-data-full-size table {
    white-space: nowrap;
  }
}
@media (min-width: 1000px) {
  #header .horizontal_line {
    display: none;
  }
}
@media (min-width: 4px) {
  .dropdown-data {
    width: auto;
  }
  .dropdown-data table.simple {
    width: auto;
  }
  #now {
    padding-right: 6px;
  }
  #header .inner > ul.horiz {
    padding-left: 6px;
  }
  #header .inner > ul.horiz li {
    padding: 0;
  }
  .navbar .nav {
    overflow: visible;
    box-sizing: border-box;
  }
  .navbar .nav li.ticker {
    display: inline-block;
  }
  .navbar .nav .logo {
    margin-left: 3px;
    margin-right: 18px;
  }
  .navbar .nav .logo > a {
    display: inline;
  }
  .navbar .nav .logo > div {
    display: none;
  }
  .hideable-block-desktop {
    display: block !important;
  }
  .hideable-inline-block-desktop {
    display: inline-block !important;
  }
  #heatmap_settings.popup {
    top: 70px;
  }
  .popup {
    width: 60%;
    left: 20%;
    top: 20%;
  }
  #periods .tf-label {
    margin-left: 0;
    display: inline-block;
  }
  #header #periods.periods-inline-list {
    padding-left: 0;
    padding-right: 0;
  }
  ul.horiz > li {
    margin-right: 10px;
  }
}
@media (min-width: 1200px) {
  .desktop-only {
    display: block;
  }
  .difficulty {
    display: block;
  }
  .hideable-block-desktop-large {
    display: block !important;
  }
  .hideable-inline-block-desktop-large {
    display: inline-block !important;
  }
}