/* [project]/app/styles.css [app-client] (css) */
:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #0b0f12;
  --panel: #111820;
  --panel-2: #151e27;
  --line: #94a3b82e;
  --text: #edf5f1;
  --muted: #9fb1aa;
  --green: #10b981;
  --red: #ef4444;
  --blue: #60a5fa;
  --amber: #f59e0b;
  --dock: #090e12f5;
}

* {
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  min-height: 100%;
  color: var(--text);
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

button, input {
  font: inherit;
}

button {
  color: var(--text);
}

.workspace {
  flex-direction: column;
  gap: 6px;
  min-height: 100dvh;
  padding: 8px;
  display: flex;
}

.appBar {
  border: 1px solid var(--line);
  background: linear-gradient(#131b22 0%, #0d1318 100%);
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 6px 10px;
  display: flex;
}

.brandBlock {
  gap: 2px;
  min-width: 0;
  display: grid;
}

.brand {
  font-size: 15px;
  font-weight: 900;
}

.subtle {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.symbolSearch {
  z-index: 30;
  align-items: center;
  width: 190px;
  display: flex;
  position: relative;
}

.symbolSearch input {
  width: 100%;
  min-width: 0;
  height: 32px;
  color: var(--text);
  letter-spacing: .03em;
  background: #071016;
  border: 1px solid #94a3b859;
  border-radius: 7px;
  outline: none;
  padding: 0 9px;
  font-weight: 900;
}

.symbolSearch input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #60a5fa29;
}

.bottomDock button, .dockSelect select, .dockMenu summary {
  cursor: pointer;
  background: #182330;
  border: 1px solid #94a3b847;
  border-radius: 7px;
  height: 32px;
  padding: 0 10px;
  font-weight: 850;
}

.bottomDock button:hover, .dockSelect select:hover, .dockMenu summary:hover {
  border-color: #60a5fabf;
}

.symbolMenu {
  z-index: 240;
  background: #0f1720;
  border: 1px solid #94a3b847;
  border-radius: 8px;
  max-height: 310px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  overflow: auto;
  box-shadow: 0 18px 42px #00000059;
}

.symbolCommandPalette {
  z-index: 10000;
  background: #0f1720;
  border: 1px solid #94a3b84d;
  border-radius: 8px;
  width: min(340px, 100vw - 24px);
  max-height: 360px;
  padding: 6px;
  position: fixed;
  bottom: 72px;
  left: 12px;
  overflow-y: auto;
  box-shadow: 0 22px 52px #00000075;
}

.bottomDock .symbolMenu {
  width: min(360px, 92vw);
  top: auto;
  bottom: calc(100% + 8px);
}

.symbolCommandPalette button, .symbolMenu button {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 2px;
  width: 100%;
  padding: 9px 10px;
  display: grid;
}

.symbolCommandPalette button.active, .symbolCommandPalette button:hover, .symbolMenu button:hover {
  background: #60a5fa1f;
}

.symbolCommandPalette button.active {
  box-shadow: inset 2px 0 0 var(--blue);
}

.symbolCommandPalette button span, .symbolMenu button span {
  min-width: 0;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.symbolCommandPalette button strong, .symbolMenu button strong {
  color: var(--text);
  font-size: 13px;
  line-height: 16px;
}

.symbolCommandPalette button small, .symbolMenu button small {
  color: #9fb1aab8;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 0;
  font-size: 10px;
  font-weight: 800;
  overflow: hidden;
}

.symbolMenuState {
  color: var(--muted);
  padding: 10px;
  font-size: 13px;
  font-weight: 800;
}

.bottomDock button.active {
  color: #d8fff0;
  background: #10b98129;
  border-color: #10b981d9;
}

.terminalGrid {
  flex: 1;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr) minmax(210px, 260px);
  gap: 8px;
  min-height: 0;
  display: grid;
}

.sidePanel, .chartFrame {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}

.sidePanel {
  min-height: 0;
  padding: 12px;
  overflow: auto;
}

.panelTitle {
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}

.sidePanel strong {
  margin-top: 8px;
  font-size: 20px;
  display: block;
}

.sidePanel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.metricGrid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  display: grid;
}

.metric {
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 8px;
  gap: 4px;
  padding: 10px;
  display: grid;
}

.metric span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.metric strong {
  margin: 0;
  font-size: 14px;
}

.appShell {
  background: var(--bg);
  grid-template-columns: minmax(0, 1fr);
  min-height: 100dvh;
  display: grid;
}

.desktopRail {
  border-right: 1px solid var(--line);
  background: #070c10;
  grid-template-rows: 54px repeat(5, 50px) 1fr;
  gap: 6px;
  height: 100dvh;
  padding: 8px;
  display: grid;
  position: sticky;
  top: 0;
}

.railBrand {
  color: var(--green);
  background: #101820;
  border: 1px solid #94a3b838;
  border-radius: 8px;
  place-items: center;
  font-size: 13px;
  font-weight: 950;
  display: grid;
}

.railTab, .mobileTab {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  border-radius: 8px;
  place-items: center;
  gap: 2px;
  display: grid;
}

.railTab span {
  display: none;
}

.railTab:hover, .mobileTab:hover, .railTab.active, .mobileTab.active {
  color: var(--text);
  background: #60a5fa1f;
  border-color: #60a5fa6b;
}

.appSurface {
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  min-width: 0;
  min-height: 100dvh;
  padding: 8px;
  display: grid;
}

.commandBar {
  border: 1px solid var(--line);
  background: linear-gradient(#131b22 0%, #0d1318 100%);
  border-radius: 8px;
  grid-template-columns: minmax(160px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 7px 10px;
  display: grid;
}

.commandActions {
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.dockSearch {
  background: #071016;
  border: 1px solid #94a3b83d;
  border-radius: 8px;
  flex: 0 175px;
  align-items: center;
  gap: 7px;
  min-width: 145px;
  max-width: 240px;
  padding-left: 9px;
  display: flex;
}

.dockSearch .symbolSearch {
  width: 100%;
}

.dockSearch .symbolSearch input {
  box-shadow: none;
  background: none;
  border: 0;
}

.contentGrid {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 8px;
  min-height: 0;
  display: grid;
}

.primaryPane {
  min-width: 0;
  min-height: 0;
  display: flex;
}

.contextPane {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  min-height: 0;
  padding: 12px;
  overflow: auto;
}

.contextPane strong {
  margin-top: 8px;
  font-size: 20px;
  display: block;
}

.contextPane p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.contextList {
  gap: 8px;
  margin-top: 14px;
  display: grid;
}

.contextRow {
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--muted);
  border-radius: 8px;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px;
  font-size: 12px;
  font-weight: 800;
  display: grid;
}

.contextRow strong {
  color: var(--text);
  text-transform: capitalize;
  margin: 0;
  font-size: 12px;
}

.tradeView {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  flex: 1;
  align-content: start;
  gap: 10px;
  min-height: 520px;
  padding: 12px;
  display: grid;
  overflow: auto;
}

.tradeHeader {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  display: flex;
}

.tradeHeader strong {
  margin-top: 4px;
  font-size: 22px;
  display: block;
}

.tradeDirection {
  height: 30px;
  color: var(--muted);
  text-transform: uppercase;
  background: #0f1720b8;
  border: 1px solid #94a3b842;
  border-radius: 8px;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 950;
  display: inline-flex;
}

.tradeDirection.long {
  color: #bbf7d0;
  border-color: #22c55e70;
}

.tradeDirection.short {
  color: #fecaca;
  border-color: #ef444470;
}

.tradePlanGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}

.tradeLevel {
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 8px;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  display: grid;
}

.tradeLevel span, .tradeReason span {
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 950;
}

.tradeLevel strong {
  min-width: 0;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 950;
  overflow: hidden;
}

.tradeLevel.entry {
  border-color: #60a5fa52;
}

.tradeLevel.zone {
  border-color: #facc1542;
}

.tradeLevel.risk {
  border-color: #f8717152;
}

.tradeLevel.target {
  border-color: #22c55e47;
}

.tradeReasons {
  gap: 8px;
  display: grid;
}

.tradeReason {
  border: 1px solid var(--line);
  background: #0f1720bd;
  border-radius: 8px;
  gap: 5px;
  padding: 10px;
  display: grid;
}

.tradeReason p, .tradeEmpty p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.tradeEmpty {
  text-align: center;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 320px;
  display: grid;
}

.statusChip {
  height: 34px;
  color: var(--muted);
  text-transform: uppercase;
  background: #0f1720d1;
  border: 1px solid #94a3b838;
  border-radius: 8px;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
}

.statusChip.live {
  color: #bbf7d0;
  border-color: #10b9816b;
}

.statusChip.syncing {
  color: #fde68a;
  border-color: #f59e0b6b;
}

.statusChip.error, .statusChip.paused {
  color: #fecaca;
  border-color: #ef44446b;
}

.groupedMenu {
  flex: none;
  position: relative;
}

.groupedMenuButton {
  height: 34px;
  color: var(--text);
  cursor: pointer;
  background: #182330;
  border: 1px solid #94a3b847;
  border-radius: 8px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  list-style: none;
  display: inline-flex;
}

.groupedMenuButton[aria-expanded="true"], .groupedMenuButton:hover {
  border-color: #60a5fabf;
}

.groupedMenuPanel {
  z-index: 80;
  background: #0f1720;
  border: 1px solid #94a3b847;
  border-radius: 8px;
  gap: 12px;
  width: min(320px, 86vw);
  max-height: min(70dvh, 560px);
  padding: 10px;
  display: grid;
  position: fixed;
  bottom: 62px;
  left: 50%;
  right: auto;
  overflow: auto;
  transform: translateX(-50%);
  box-shadow: 0 18px 42px #0000006b;
}

.groupedMenu.align-left .groupedMenuPanel {
  left: 50%;
  right: auto;
}

.groupedMenu.align-center .groupedMenuPanel {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.menuSection {
  gap: 8px;
  display: grid;
}

.menuActionRow {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  display: grid;
}

.menuActionRow button {
  justify-content: center;
}

.menuTitle {
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 950;
}

.menuSection button, .menuToggle {
  min-height: 34px;
  color: var(--text);
  cursor: pointer;
  background: #0f1720b8;
  border: 1px solid #94a3b82e;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  font-size: 13px;
  font-weight: 850;
  display: flex;
}

.menuSection button:hover, .menuToggle:hover {
  border-color: #60a5fa8c;
}

.menuSection button:disabled {
  cursor: not-allowed;
  opacity: .56;
}

.menuToggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.menuSummaryRow {
  background: #0f1720b8;
  border: 1px solid #94a3b82e;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 9px;
  font-size: 13px;
  font-weight: 900;
  display: flex;
}

.menuSummaryRow strong {
  color: var(--muted);
  font-size: 11px;
}

.menuSummaryGrid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.menuSummaryGrid span {
  color: var(--muted);
  background: #0f1720b8;
  border: 1px solid #94a3b82e;
  border-radius: 8px;
  gap: 2px;
  padding: 9px;
  font-size: 11px;
  font-weight: 850;
  display: grid;
}

.menuSummaryGrid b {
  color: var(--text);
  font-size: 18px;
}

.watchlistPreview {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.watchlistPreview span {
  color: var(--muted);
  background: #0f1720b8;
  border: 1px solid #94a3b82e;
  border-radius: 7px;
  padding: 5px 7px;
  font-size: 11px;
  font-weight: 900;
}

.segmentedOptions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  display: grid;
}

.segmentedOptions button {
  justify-content: center;
  min-height: 36px;
}

.segmentedOptions button.active {
  background: #10b9812e;
  border-color: #10b981b8;
}

.actionDock {
  z-index: 70;
  scrollbar-width: none;
  background: var(--dock);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid #94a3b83d;
  border-radius: 8px;
  flex-wrap: nowrap;
  justify-content: center;
  justify-self: center;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  padding: 7px;
  display: flex;
  position: relative;
  overflow: visible;
  box-shadow: 0 -14px 34px #00000057;
}

.actionDock::-webkit-scrollbar {
  display: none;
}

.actionDock .groupedMenuPanel {
  top: auto;
  bottom: 62px;
}

.mobileNav {
  display: none;
}

.placeholderView {
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: center;
  border-radius: 8px;
  flex: 1;
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 520px;
  padding: 28px;
  display: grid;
}

.placeholderView h1 {
  margin: 0;
  font-size: 24px;
}

.placeholderView p {
  max-width: 460px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.chartColumn {
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.chartFrame {
  flex: 1;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}

.chartShell {
  flex-direction: column;
  height: 100%;
  min-height: 520px;
  display: flex;
  position: relative;
}

.chartHeader {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(#111920 0%, #0c1116 100%);
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 10px;
  display: flex;
}

.chartHeader div {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.chartHeader strong {
  font-size: 14px;
}

.chartHeader span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chartHeader a {
  color: var(--muted);
  flex: none;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.chartHeader a:hover {
  color: var(--text);
}

.signalBadge {
  min-width: 0;
  max-width: 42%;
  height: 28px;
  color: var(--muted);
  background: #0f1720d1;
  border: 1px solid #94a3b838;
  border-radius: 7px;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 850;
  display: flex;
  overflow: hidden;
}

.liveStatus {
  height: 28px;
  color: var(--muted);
  text-transform: uppercase;
  background: #0f1720b8;
  border: 1px solid #94a3b833;
  border-radius: 7px;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 850;
  display: flex;
}

.liveStatus i {
  background: var(--muted);
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.liveStatus.live i {
  background: var(--green);
  box-shadow: 0 0 10px #10b981b3;
}

.liveStatus.syncing i {
  background: var(--amber);
}

.liveStatus.paused i, .liveStatus.error i {
  background: var(--red);
}

.signalBadge strong {
  flex: none;
  font-size: 12px;
}

.signalBadge span {
  color: var(--text);
  flex: none;
}

.signalBadge small {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.signalBadge.buy {
  background: #14532d38;
  border-color: #22c55e7a;
}

.signalBadge.sell {
  background: #7f1d1d38;
  border-color: #ef44447a;
}

.mtfBar {
  z-index: 8;
  pointer-events: none;
  scrollbar-width: none;
  gap: 5px;
  display: flex;
  position: absolute;
  top: 50px;
  left: 8px;
  right: 8px;
  overflow-x: auto;
}

.mtfBar::-webkit-scrollbar {
  display: none;
}

.mtfCell {
  height: 27px;
  color: var(--muted);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #090e12d1;
  border: 1px solid #94a3b833;
  border-radius: 7px;
  flex: none;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  font-size: 10px;
  font-weight: 850;
  display: flex;
}

.mtfCell b, .mtfCell i, .mtfCell em {
  font-style: normal;
}

.mtfCell.bull {
  color: #bbf7d0;
  border-color: #22c55e6b;
}

.mtfCell.bear {
  color: #fecaca;
  border-color: #ef44446b;
}

.mtfCell.chop {
  box-shadow: inset 0 -2px #f59e0bc7;
}

.chopShadeOverlay {
  z-index: 4;
  pointer-events: none;
  position: absolute;
  inset: 78px 0 26px;
  overflow: hidden;
}

.chopShadeOverlay span {
  background: #f59e0b0e;
  border-left: 1px solid #f59e0b29;
  border-right: 1px solid #f59e0b1f;
  position: absolute;
  top: 0;
  bottom: 0;
}

.payloadZoneOverlay {
  z-index: 3;
  pointer-events: none;
  position: absolute;
  inset: 46px 0 0;
  overflow: hidden;
}

.payloadZoneOverlay span {
  border-top: 1px solid #94a3b833;
  border-bottom: 1px solid #94a3b824;
  min-height: 2px;
  position: absolute;
  left: 0;
  right: 62px;
}

.payloadZoneOverlay b {
  color: #edf5f1bd;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(120px, 34vw);
  font-size: 10px;
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 8px;
  overflow: hidden;
  transform: translateY(-50%);
}

.payloadZoneOverlay .fvg.bullish {
  background: #22c55e13;
  border-color: #22c55e42;
}

.payloadZoneOverlay .fvg.bearish {
  background: #ef444413;
  border-color: #ef444442;
}

.payloadZoneOverlay .orderBlock.bullish {
  background: #2dd4bf12;
  border-color: #2dd4bf47;
}

.payloadZoneOverlay .orderBlock.bearish {
  background: #fb923c12;
  border-color: #fb923c4d;
}

.payloadZoneOverlay .structure {
  background: #60a5fa11;
  border-color: #60a5fa3d;
}

.payloadZoneOverlay .entryZone {
  background: #facc1517;
  border-color: #facc1557;
}

.movementVisualOverlay {
  z-index: 6;
  pointer-events: none;
  width: 100%;
  height: calc(100% - 46px);
  position: absolute;
  inset: 46px 0 0;
  overflow: visible;
}

.movementCone {
  filter: drop-shadow(0 0 10px #ffffff0f);
}

.movementLine {
  stroke-linecap: round;
  stroke-dasharray: 7 5;
  filter: drop-shadow(0 0 6px #ffffff2e);
}

.movementTargetDot {
  stroke: #0f1418;
  stroke-width: 2px;
  filter: drop-shadow(0 0 8px #ffffff29);
}

.movementTargetDot.active {
  animation: 1.25s ease-in-out infinite movementPulse;
}

.movementVisualOverlay text {
  fill: #edf5f1eb;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: #0f1418;
  stroke-width: 3px;
  font-size: 10px;
  font-weight: 950;
}

@keyframes movementPulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .48;
  }
}

.movementCountdown {
  fill: #94a3b8c7;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: #0f1418;
  stroke-width: 2px;
  font-size: 8px;
  font-weight: 700;
}

.movementStrength {
  fill: #edf5f1a6;
  paint-order: stroke;
  stroke: #0f1418;
  stroke-width: 3px;
  filter: drop-shadow(0 0 4px #ffffff1f);
  font-size: 9px;
  font-weight: 900;
}

.movementMtfConfirm {
  fill: #34d399d1;
  paint-order: stroke;
  stroke: #0f1418;
  stroke-width: 2px;
  letter-spacing: .5px;
  font-size: 8px;
  font-weight: 950;
}

.movementInvalidation {
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px #fb923c59);
}

.movementPulse {
  animation: .9s ease-in-out infinite dirPulse;
}

@keyframes dirPulse {
  0%, 100% {
    opacity: .7;
  }

  50% {
    opacity: .2;
  }
}

.reversalDotOverlay {
  z-index: 7;
  pointer-events: none;
  width: 100%;
  height: calc(100% - 46px);
  position: absolute;
  inset: 46px 0 0;
  overflow: visible;
}

.reversalPulse {
  animation: .75s ease-in-out infinite reversalPulseAnim;
}

@keyframes reversalPulseAnim {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .45;
  }
}

.reversalLabel {
  fill: #ef4444eb;
  letter-spacing: .3px;
  paint-order: stroke;
  stroke: #0f1418;
  stroke-width: 2px;
  font-size: 9px;
  font-weight: 950;
}

.priceActionTrendOverlay {
  z-index: 8;
  pointer-events: none;
  width: 100%;
  height: calc(100% - 46px);
  position: absolute;
  inset: 46px 0 0;
  overflow: visible;
}

.priceActionTrendOverlay text {
  paint-order: stroke;
  stroke: #0f1418;
  stroke-width: 3px;
  letter-spacing: .2px;
  font-size: 11px;
  font-weight: 950;
}

.priceActionTrendOverlay .trendUp {
  fill: #34d399eb;
}

.priceActionTrendOverlay .trendDown {
  fill: #f87171eb;
}

.confluenceGauge {
  z-index: 9;
  pointer-events: none;
  background: #0f1418cc;
  border: 1px solid #94a3b833;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  display: flex;
  position: absolute;
}

.confluenceGrade {
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}

.confluenceGrade[data-grade="A"] {
  color: #22c55e;
}

.confluenceGrade[data-grade="B"] {
  color: #10b981;
}

.confluenceGrade[data-grade="C"] {
  color: #f59e0b;
}

.confluenceGrade[data-grade="D"] {
  color: #f97316;
}

.confluenceGrade[data-grade="F"] {
  color: #ef4444;
}

.confluenceScore {
  color: #edf5f1b3;
  font-size: 10px;
  font-weight: 700;
}

.confluenceBar {
  background: #94a3b826;
  border-radius: 2px;
  width: 40px;
  height: 4px;
  overflow: hidden;
}

.confluenceFill {
  background: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e);
  border-radius: 2px;
  height: 100%;
  transition: width .3s;
}

.rrVisualizer {
  z-index: 9;
  pointer-events: none;
  position: absolute;
}

.rrBar {
  border-radius: 4px;
  align-items: center;
  min-width: 140px;
  height: 20px;
  font-size: 8px;
  font-weight: 800;
  display: flex;
  overflow: hidden;
}

.rrStop {
  color: #f87171e6;
  background: #f871714d;
  border-right: 1px solid #f8717180;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  display: flex;
}

.rrEntry {
  color: #60a5fae6;
  background: #60a5fa4d;
  border-right: 1px solid #60a5fa80;
  justify-content: center;
  align-items: center;
  padding: 0 6px;
  font-size: 9px;
  display: flex;
}

.rrTarget {
  color: #34d399e6;
  background: #34d3994d;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  display: flex;
}

.liquidityOverlay {
  z-index: 8;
  pointer-events: none;
  width: 100%;
  height: calc(100% - 46px);
  position: absolute;
  inset: 46px 0 0;
  overflow: visible;
}

.liquidityOverlay line.stopAbove {
  stroke: #f8717159;
  stroke-width: 1px;
  stroke-dasharray: 4 3;
}

.liquidityOverlay line.stopBelow {
  stroke: #34d39959;
  stroke-width: 1px;
  stroke-dasharray: 4 3;
}

.liquidityLabel {
  fill: #94a3b88c;
  paint-order: stroke;
  stroke: #0f1418;
  stroke-width: 2px;
  font-size: 8px;
  font-weight: 800;
}

.pnlProjectionOverlay {
  z-index: 8;
  pointer-events: none;
  width: 100%;
  height: calc(100% - 46px);
  position: absolute;
  inset: 46px 0 0;
  overflow: visible;
}

.pnlProjectionOverlay .pnlLine {
  stroke-width: 1.5px;
  stroke-dasharray: 6 4;
}

.pnlProjectionOverlay .pnlLabel {
  paint-order: stroke;
  stroke: #0f1418;
  stroke-width: 2px;
  font-size: 9px;
  font-weight: 900;
}

.entryTriggerBadge {
  z-index: 9;
  pointer-events: none;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 950;
  display: flex;
  position: absolute;
  top: 8px;
  right: 68px;
}

.entryTriggerBadge.ready {
  color: #bbf7d0;
  background: #22c55e2e;
  border: 1px solid #22c55e66;
}

.entryTriggerBadge.wait {
  color: #fde68a;
  background: #f59e0b2e;
  border: 1px solid #f59e0b66;
}

.entryTriggerBadge small {
  opacity: .75;
  font-size: 8px;
  font-weight: 700;
}

.mtfAlignmentDot {
  z-index: 9;
  pointer-events: none;
  border-radius: 4px;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  font-size: 8px;
  font-weight: 900;
  display: flex;
  position: absolute;
  top: 8px;
  right: 8px;
}

.mtfAlignmentDot.bullish {
  color: #86efac;
  background: #22c55e26;
}

.mtfAlignmentDot.bearish {
  color: #fca5a5;
  background: #ef444426;
}

.mtfAlignmentDot.mixed {
  color: #fde68a;
  background: #f59e0b26;
}

@keyframes pulseRing {
  0% {
    opacity: .7;
    r: 4;
  }

  100% {
    opacity: 0;
    r: 14;
  }
}

.movementTargetDot.explosive {
  filter: drop-shadow(0 0 14px #ffd70080);
}

.movementTargetDot.strong {
  filter: drop-shadow(0 0 10px #22c55e73);
}

.movementTargetDot.medium {
  filter: drop-shadow(0 0 6px #facc1559);
}

.movementTargetDot.weak {
  filter: drop-shadow(0 0 4px #94a3b833);
  opacity: .7;
}

.movementTrail {
  stroke-linecap: round;
}

.chartCanvas {
  flex: 1;
  min-height: 0;
}

.bottomDock {
  z-index: 50;
  background: var(--dock);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid #94a3b83d;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  min-height: 50px;
  padding: 7px;
  display: flex;
  position: sticky;
  bottom: 8px;
  box-shadow: 0 -14px 34px #00000057;
}

.dockSelect {
  color: var(--muted);
  text-transform: uppercase;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 900;
  display: flex;
}

.dockSelect select {
  min-width: 68px;
  color: var(--text);
  outline: none;
}

.dockMenu {
  margin-left: auto;
  position: relative;
}

.dockMenu summary {
  align-items: center;
  list-style: none;
  display: flex;
}

.dockMenu summary::-webkit-details-marker {
  display: none;
}

.dockMenuPanel {
  background: #0f1720;
  border: 1px solid #94a3b847;
  border-radius: 8px;
  gap: 8px;
  min-width: 170px;
  padding: 10px;
  display: grid;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  box-shadow: 0 18px 42px #0000006b;
}

.dockMenuPanel label {
  color: var(--text);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 850;
  display: flex;
}

.dockMenuPanel input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.loadingLayer, .errorLayer {
  z-index: 5;
  color: var(--muted);
  text-align: center;
  background: #0b0f12b8;
  place-items: center;
  padding: 24px;
  font-weight: 850;
  display: grid;
  position: absolute;
  inset: 46px 0 0;
}

.errorLayer {
  color: #fecaca;
}

.legendList {
  gap: 10px;
  margin-top: 14px;
  display: grid;
}

.legendList span {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
}

.legendList i {
  border-radius: 50%;
  width: 10px;
  height: 10px;
}

@media (max-width: 1180px) {
  .appShell {
    grid-template-columns: minmax(0, 1fr);
  }

  .appSurface {
    padding-bottom: 8px;
  }

  .contentGrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contextPane {
    display: none;
  }

  .terminalGrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidePanel {
    display: none;
  }

  .chartFrame, .chartShell {
    min-height: calc(100dvh - 112px);
  }
}

@media (max-width: 680px) {
  .appSurface {
    gap: 6px;
    padding: 6px;
  }

  .statusChip span, .groupedMenuButton span {
    display: none;
  }

  .groupedMenuButton {
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
  }

  .groupedMenuPanel {
    width: auto;
    max-height: min(62dvh, 520px);
    position: fixed;
    inset: auto 8px 56px;
    transform: none;
  }

  .groupedMenu.align-center .groupedMenuPanel, .groupedMenu.align-left .groupedMenuPanel {
    left: 8px;
    right: 8px;
    transform: none;
  }

  .actionDock {
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
    padding: 4px;
    transform: none;
  }

  .statusChip {
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
  }

  .placeholderView {
    min-height: calc(100dvh - 150px);
  }

  .tradeView {
    min-height: calc(100dvh - 106px);
    padding: 10px;
  }

  .tradePlanGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace {
    gap: 6px;
    padding: 6px;
  }

  .appBar {
    padding: 7px 8px;
  }

  .brandBlock {
    grid-template-columns: 1fr auto;
    align-items: baseline;
  }

  .symbolSearch {
    width: 100%;
  }

  .dockSearch {
    flex: 0 0 104px;
    gap: 4px;
    min-width: 104px;
    max-width: 104px;
    padding-left: 6px;
  }

  .dockSearch .symbolSearch {
    width: 100%;
  }

  .symbolSearch input, .bottomDock button, .dockSelect select, .dockMenu summary {
    height: 34px;
  }

  .symbolSearch input {
    padding: 0 8px;
  }

  .chartFrame, .chartShell {
    min-height: calc(100dvh - 106px);
  }

  .chartHeader {
    height: 38px;
  }

  .chartHeader a {
    display: none;
  }

  .signalBadge {
    max-width: 54%;
  }

  .signalBadge small {
    display: none;
  }

  .mtfBar {
    top: 43px;
  }

  .chopShadeOverlay {
    top: 70px;
  }

  .bottomDock {
    scrollbar-width: none;
    min-height: 52px;
    bottom: 6px;
    overflow-x: auto;
  }

  .bottomDock::-webkit-scrollbar {
    display: none;
  }

  .dockSelect span {
    display: none;
  }

  .dockMenu {
    margin-left: 0;
  }
}

@media (max-width: 360px) {
  .actionDock {
    gap: 3px;
  }

  .groupedMenuButton, .statusChip {
    width: 32px;
    height: 32px;
  }

  .dockSearch {
    flex-basis: 88px;
    min-width: 88px;
    max-width: 88px;
  }
}

.sessionLevelsOverlay {
  pointer-events: none;
  z-index: 5;
  position: absolute;
  inset: 0;
  overflow: visible;
}

.sessionHighLine {
  stroke: #22c55e8c;
  stroke-width: 1px;
  stroke-dasharray: 6 3;
}

.sessionHighLabel {
  fill: #22c55eb3;
  font-size: 10px;
  font-weight: 600;
}

.sessionLowLine {
  stroke: #ef44448c;
  stroke-width: 1px;
  stroke-dasharray: 6 3;
}

.sessionLowLabel {
  fill: #ef4444b3;
  font-size: 10px;
  font-weight: 600;
}

.sessionOpenLine {
  stroke: #94a3b873;
  stroke-width: 1px;
  stroke-dasharray: 4 4;
}

.sessionOpenLabel {
  fill: #94a3b899;
  font-size: 10px;
  font-weight: 600;
}

.openingRangeRect {
  fill: #60a5fa14;
  stroke: #60a5fa33;
  stroke-width: 1px;
}

.sessionBoundaryLine {
  stroke: #94a3b84d;
  stroke-width: 1px;
  stroke-dasharray: 2 2;
}

.chartPatternsOverlay {
  pointer-events: none;
  z-index: 4;
  position: absolute;
  inset: 0;
  overflow: visible;
}

.marketStateOverlay {
  pointer-events: none;
  z-index: 3;
  position: absolute;
  inset: 0;
  overflow: visible;
}

.stateTag {
  fill: #f8fafccc;
  font-size: 11px;
  font-weight: 800;
}

.compressionFill {
  fill: #38bdf814;
}

.compressionLineTop {
  stroke: #38bdf8b3;
  stroke-width: 2px;
}

.compressionLineBottom {
  stroke: #f59e0bb3;
  stroke-width: 2px;
}

.breakoutBox {
  fill: #22c55e12;
  stroke-width: 1.8px;
}

.breakoutBox.bullish {
  stroke: #22c55e99;
}

.breakoutBox.bearish {
  fill: #ef444412;
  stroke: #ef444499;
}

.breakoutArrow {
  stroke: #22c55ecc;
  stroke-width: 2.4px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.breakoutArrow.bearishArrow {
  stroke: #ef4444cc;
}

.retestZone {
  fill: #38bdf814;
  stroke: #38bdf880;
  stroke-width: 1.2px;
}

.reclaimDot {
  stroke-width: 0;
}

.reclaimDot.bullish {
  fill: #22c55ee6;
}

.reclaimDot.bearish {
  fill: #ef4444e6;
}

.reclaimRing {
  stroke-width: 2px;
  fill: none;
}

.reclaimRing.bullish {
  stroke: #22c55e33;
}

.reclaimRing.bearish {
  stroke: #ef444433;
}

.sweepLine {
  stroke-width: 1.8px;
}

.sweepLine.upSweep {
  stroke: #ef4444b3;
}

.sweepLine.downSweep {
  stroke: #22c55eb3;
}

.sweepDot {
  stroke-width: 0;
}

.sweepDot.upSweep {
  fill: #ef4444e6;
}

.sweepDot.downSweep {
  fill: #22c55ee6;
}

.contChannelLine {
  stroke: #22c55e99;
  stroke-width: 1.8px;
}

.exhaustionRect {
  fill: #f59e0b17;
  stroke: #f59e0b80;
  stroke-width: 1.6px;
}

.profitProtectionOverlay {
  pointer-events: none;
  z-index: 6;
  position: absolute;
  inset: 0;
  overflow: visible;
}

.profitZoneRect {
  fill: #22c55e1f;
  stroke: #22c55e80;
  stroke-width: 1px;
  stroke-dasharray: 4 3;
}

.profitZoneLabel {
  fill: #22c55ebf;
  font-size: 11px;
  font-weight: 700;
}

.patternNeckline {
  stroke: #facc158c;
  stroke-width: 1px;
  stroke-dasharray: 5 3;
}

.patternTarget {
  stroke: #a855f766;
  stroke-width: 1px;
  stroke-dasharray: 3 3;
}

.patternTriangleLine {
  stroke: #60a5fa80;
  stroke-width: 1px;
  stroke-dasharray: 4 4;
}

.patternFlagLine {
  stroke: #34d39980;
  stroke-width: 1px;
  stroke-dasharray: 4 4;
}

.patternPoint {
  fill: #facc15b3;
  stroke: #facc154d;
  stroke-width: 1px;
}

.patternPoint.extreme {
  fill: #facc15e6;
  r: 5;
}

.patternPoint.inner {
  fill: #94a3b880;
  r: 3;
}

.patternLabel {
  fill: #facc15bf;
  font-size: 10px;
  font-weight: 600;
}

.storedSignalsOverlay {
  pointer-events: none;
  z-index: 6;
  position: absolute;
  inset: 0;
  overflow: visible;
}

.signalProjection {
  stroke-width: 1px;
  stroke-dasharray: 3 3;
  opacity: .5;
}

.signalProjection.bullish {
  stroke: #22c55e80;
}

.signalProjection.bearish {
  stroke: #ef444480;
}

.signalArrow {
  filter: drop-shadow(0 1px 2px #0000004d);
}

.signalTargetLabel {
  fill: #a855f799;
  font-size: 9px;
  font-weight: 500;
}

.signalBadgeLabel {
  font-size: 10px;
  font-weight: 700;
}

.signalTimeAgo {
  fill: #94a3b899;
  font-size: 8px;
  font-weight: 400;
}

/*# sourceMappingURL=app_styles_0w8cxxa.css.map*/