.MarketChart {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #0b0e14;
  color: #c7d0e0;
  font-family: "SF Mono", "Roboto Mono", ui-monospace, Menlo, monospace;
}
.MarketChart * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.MarketChart-Chart {
  position: fixed;
  inset: 0;
  background: #0b0e14;
}
.MarketChart-Canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}
.MarketChart-Canvas[data-grabbing] {
  cursor: grabbing;
}
.MarketChart-Tooltip {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: none;
  padding: 8px 10px;
  border: 1px solid #2a3142;
  border-radius: 4px;
  background: #1a2030;
  font-size: 11px;
  line-height: 1.6;
  white-space: nowrap;
  cursor: move;
  user-select: none;
}
.MarketChart-TooltipRow {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.MarketChart-TooltipRow [data-direction=up] {
  color: #26a69a;
}
.MarketChart-TooltipRow [data-direction=down] {
  color: #ef5350;
}
.MarketChart-TooltipKey {
  color: #6b7689;
}
.MarketChart-TooltipSection {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #2a3142;
}
.MarketChart-Hud {
  position: fixed;
  bottom: 14px;
  left: 50%;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid #2a3142;
  border-radius: 6px;
  background: rgba(19, 24, 34, 0.9);
  font-size: 12px;
  backdrop-filter: blur(6px);
  transform: translateX(-50%);
}
.MarketChart-HudButton {
  width: 30px;
  height: 28px;
  border: 1px solid #2a3142;
  border-radius: 4px;
  background: #1a2030;
  color: #c7d0e0;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.MarketChart-HudButton:hover {
  border-color: #6b7689;
  background: #222a3c;
}
.MarketChart-HudInfo {
  min-width: 90px;
  padding: 0 8px;
  color: #6b7689;
  text-align: center;
}
.MarketChart-Panel {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  width: 310px;
  max-height: calc(100vh - 32px);
  border: 1px solid #2a3142;
  border-radius: 8px;
  background: rgba(19, 24, 34, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}
.MarketChart-Bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #2a3142;
  cursor: move;
  user-select: none;
}
.MarketChart-BarDot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0b90b;
}
.MarketChart-BarTitle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.MarketChart-BarStat {
  margin-left: auto;
  font-size: 11px;
}
.MarketChart-StatPrice {
  color: #c7d0e0;
}
.MarketChart-StatChange[data-direction=up] {
  color: #26a69a;
}
.MarketChart-StatChange[data-direction=down] {
  color: #ef5350;
}
.MarketChart-BarCollapse {
  padding: 2px 6px;
  border: none;
  border-radius: 4px;
  background: none;
  color: #6b7689;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.MarketChart-BarCollapse:hover {
  background: #1a2030;
  color: #c7d0e0;
}
.MarketChart-Body {
  overflow-y: auto;
}
.MarketChart[data-collapsed] .MarketChart-Body {
  display: none;
}
.MarketChart-Tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #2a3142;
}
.MarketChart-Tab {
  flex: 1 0 auto;
  padding: 8px 6px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: #6b7689;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}
.MarketChart-Pane {
  display: none;
  padding: 12px;
}
.MarketChart[data-active-tab=data] .MarketChart-Tab[data-tab=data] {
  border-bottom-color: #f0b90b;
  color: #c7d0e0;
}
.MarketChart[data-active-tab=data] .MarketChart-Pane[data-pane=data] {
  display: block;
}
.MarketChart[data-active-tab=movingAverage] .MarketChart-Tab[data-tab=movingAverage] {
  border-bottom-color: #f0b90b;
  color: #c7d0e0;
}
.MarketChart[data-active-tab=movingAverage] .MarketChart-Pane[data-pane=movingAverage] {
  display: block;
}
.MarketChart[data-active-tab=indicator] .MarketChart-Tab[data-tab=indicator] {
  border-bottom-color: #f0b90b;
  color: #c7d0e0;
}
.MarketChart[data-active-tab=indicator] .MarketChart-Pane[data-pane=indicator] {
  display: block;
}
.MarketChart[data-active-tab=export] .MarketChart-Tab[data-tab=export] {
  border-bottom-color: #f0b90b;
  color: #c7d0e0;
}
.MarketChart[data-active-tab=export] .MarketChart-Pane[data-pane=export] {
  display: block;
}
.MarketChart-Field {
  display: block;
  margin-bottom: 12px;
  color: #6b7689;
  font-size: 11px;
}
.MarketChart-Field[data-dim] {
  opacity: 0.4;
  pointer-events: none;
}
.MarketChart-FieldRow {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.MarketChart-FieldRow span:last-child {
  color: #f0b90b;
}
.MarketChart-Select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 7px 8px;
  border: 1px solid #2a3142;
  border-radius: 4px;
  background: #1a2030;
  color: #c7d0e0;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  outline: none;
}
.MarketChart-Select:focus {
  border-color: #f0b90b;
}
.MarketChart-Range {
  width: 100%;
  accent-color: #f0b90b;
}
.MarketChart-Textarea {
  width: 100%;
  height: 200px;
  padding: 10px;
  border: 1px solid #2a3142;
  border-radius: 4px;
  background: #0b0e14;
  color: #c7d0e0;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.7;
  resize: vertical;
  outline: none;
}
.MarketChart-Hint {
  margin-top: 8px;
  color: #6b7689;
  font-size: 10px;
  line-height: 1.5;
}
.MarketChart-Hint b {
  color: #c7d0e0;
}
.MarketChart-Error {
  min-height: 14px;
  margin-top: 6px;
  color: #ef5350;
  font-size: 10px;
}
.MarketChart-Buttons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.MarketChart-Button {
  flex: 1;
  padding: 8px;
  border: 1px solid #2a3142;
  border-radius: 4px;
  background: #1a2030;
  color: #c7d0e0;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}
.MarketChart-Button:hover {
  border-color: #6b7689;
  background: #222a3c;
}
.MarketChart-Button[data-primary] {
  border-color: #f0b90b;
  background: #f0b90b;
  color: #1a1206;
  font-weight: 600;
}
.MarketChart-Button[data-primary]:hover {
  background: #f5c322;
}
.MarketChart-Button[data-wide] {
  width: 100%;
  margin-top: 2px;
}
.MarketChart-MovingAverage {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid #2a3142;
  border-radius: 5px;
  background: #0b0e14;
}
.MarketChart-MovingAverage-Swatch {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}
.MarketChart-MovingAverage-ColorInput {
  position: absolute;
  inset: -4px;
  opacity: 0;
  cursor: pointer;
}
.MarketChart-MovingAverage-Type {
  padding: 5px 4px;
  border: 1px solid #2a3142;
  border-radius: 4px;
  background: #1a2030;
  color: #c7d0e0;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
  outline: none;
}
.MarketChart-MovingAverage-Type:focus {
  border-color: #f0b90b;
}
.MarketChart-MovingAverage-Days {
  width: 50px;
  padding: 5px 6px;
  border: 1px solid #2a3142;
  border-radius: 4px;
  background: #1a2030;
  color: #c7d0e0;
  font-family: inherit;
  font-size: 12px;
  outline: none;
}
.MarketChart-MovingAverage-Days:focus {
  border-color: #f0b90b;
}
.MarketChart-MovingAverage-Unit {
  margin-left: -4px;
  color: #6b7689;
  font-size: 11px;
}
.MarketChart-MovingAverage-Delete {
  margin-left: auto;
  padding: 2px 6px;
  border: none;
  border-radius: 4px;
  background: none;
  color: #6b7689;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.MarketChart-MovingAverage-Delete:hover {
  background: rgba(239, 83, 80, 0.15);
  color: #ef5350;
}
.MarketChart-MovingAverageEmpty {
  padding: 12px 0;
  color: #6b7689;
  font-size: 11px;
  text-align: center;
}
.MarketChart-SectionTitle {
  margin: 4px 0 8px;
  color: #f0b90b;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.MarketChart-SubParams + .MarketChart-SectionTitle {
  margin-top: 14px;
}
.MarketChart-Toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid #2a3142;
  border-radius: 5px;
  background: #0b0e14;
}
.MarketChart-ToggleLabel {
  font-size: 12px;
}
.MarketChart-ToggleNote {
  display: block;
  margin-top: 2px;
  color: #6b7689;
  font-size: 10px;
}
.MarketChart-Switch {
  position: relative;
  flex: none;
  width: 38px;
  height: 22px;
}
.MarketChart-Switch input {
  width: 0;
  height: 0;
  opacity: 0;
}
.MarketChart-SwitchTrack {
  position: absolute;
  inset: 0;
  border: 1px solid #2a3142;
  border-radius: 11px;
  background: #1a2030;
  transition: 0.15s;
  cursor: pointer;
}
.MarketChart-SwitchTrack::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6b7689;
  transition: 0.15s;
}
.MarketChart-Switch input:checked + .MarketChart-SwitchTrack {
  border-color: #f0b90b;
  background: rgba(240, 185, 11, 0.25);
}
.MarketChart-Switch input:checked + .MarketChart-SwitchTrack::before {
  transform: translateX(16px);
  background: #f0b90b;
}
.MarketChart-SubParams {
  display: none;
  padding: 2px 2px 10px;
}
.MarketChart[data-bollinger-band] .MarketChart-SubParams[data-params=bollingerBand] {
  display: block;
}
.MarketChart[data-rsi] .MarketChart-SubParams[data-params=rsi] {
  display: block;
}
.MarketChart[data-macd] .MarketChart-SubParams[data-params=macd] {
  display: block;
}
.MarketChart-ParamRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #6b7689;
  font-size: 11px;
}
.MarketChart-ParamLabel {
  flex: 1;
}
.MarketChart-ParamInput {
  width: 56px;
  padding: 5px 6px;
  border: 1px solid #2a3142;
  border-radius: 4px;
  background: #1a2030;
  color: #c7d0e0;
  font-family: inherit;
  font-size: 12px;
  outline: none;
}
.MarketChart-ParamInput:focus {
  border-color: #f0b90b;
}