/*!***************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f7f8f5;
  --panel: #ffffff;
  --text: #152018;
  --muted: #58655b;
  --border: #d9dfd5;
  --accent: #0f766e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top right, #d9eee8 0%, transparent 30%),
    radial-gradient(circle at 20% 20%, #f1f3d4 0%, transparent 26%),
    var(--bg);
  color: var(--text);
}

main {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.grid {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.grid.two {
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.stat-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 13px;
}

.risk-row .stat-chip {
  border-color: #c9d8cf;
  background: #f4f8f4;
  color: #2f3a34;
  font-weight: 600;
}

.title {
  margin: 0 0 8px;
  font-size: 20px;
}

.subtitle {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
}

.tab-row {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}

.tab {
  border: 1px solid var(--border);
  background: #fbfcfa;
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
}

.tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.control-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.control-label {
  color: var(--muted);
  font-size: 13px;
}

.segmented {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.seg-btn {
  border: 0;
  border-right: 1px solid var(--border);
  background: #fbfcfa;
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
}

.seg-btn:last-child {
  border-right: 0;
}

.seg-btn.active {
  background: #d8efe8;
  color: #0e5f58;
}

.pivot-tab {
  width: 100%;
}

.prediction-tab {
  width: 100%;
}

.pivot-chart-panel {
  width: 100%;
}

.pivot-chart-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
}

.total-tab {
  width: 100%;
}

.customer-tab {
  width: 100%;
}

.prediction-panel {
  width: 100%;
}

.prediction-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 14px;
}

.prediction-summary-card {
  border: 1px solid #d7e1d7;
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, #fcfdf9 0%, #f4f8f0 100%);
}

.prediction-summary-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prediction-summary-strike {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 800;
  color: #143126;
}

.prediction-summary-meta {
  margin-top: 4px;
  color: #415045;
  font-size: 13px;
}

.prediction-ladder {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prediction-row {
  display: grid;
  grid-template-columns: 180px minmax(140px, 1fr) minmax(260px, auto);
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  border: 1px solid #d9dfd5;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
}

.prediction-row.gamma-positive {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.16) 0%, rgba(255, 255, 255, 0.98) 55%);
}

.prediction-row.gamma-negative {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.16) 0%, rgba(255, 255, 255, 0.98) 55%);
}

.prediction-row.gamma-neutral {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.1) 0%, rgba(255, 255, 255, 0.98) 55%);
}

.prediction-row.is-primary {
  border-color: #0f766e;
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.16), inset 0 0 0 1px rgba(15, 118, 110, 0.08);
  background: linear-gradient(90deg, rgba(217, 238, 232, 0.62) 0%, rgba(255, 255, 255, 0.98) 48%);
}

.prediction-row.is-spot {
  border-style: dashed;
}

.prediction-row.is-nearest-spot {
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.18);
}

.prediction-strike-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prediction-strike {
  font-size: 22px;
  font-weight: 800;
  color: #16261d;
}

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

.prediction-badge {
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid transparent;
}

.prediction-badge.primary {
  background: #d1fae5;
  border-color: #6ee7b7;
  color: #065f46;
}

.prediction-badge.upper {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.prediction-badge.lower {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.prediction-badge.sticky {
  background: #ede9fe;
  border-color: #c4b5fd;
  color: #6d28d9;
}

.prediction-badge.straddle {
  background: #ecfccb;
  border-color: #bef264;
  color: #3f6212;
}

.prediction-badge.active-gamma {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #075985;
}

.prediction-badge.nearest {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}

.prediction-badge.spot,
.prediction-badge.peak {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

.prediction-score-cell {
  min-width: 0;
}

.prediction-score-track {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #eef4eb 0%, #f8faf7 100%);
  overflow: hidden;
  border: 1px solid #dbe5da;
}

.prediction-score-track.gamma-contrast {
  border-color: rgba(15, 23, 42, 0.82);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.18);
}

.prediction-score-fill {
  height: 100%;
  border-radius: 999px;
}

.prediction-score-fill.positive {
  background: linear-gradient(90deg, #34d399 0%, #0f766e 100%);
}

.prediction-score-fill.negative {
  background: linear-gradient(90deg, #fca5a5 0%, #dc2626 100%);
}

.prediction-metrics-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.prediction-metric {
  border: 1px solid #d9dfd5;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  color: #3f4a42;
  background: #f8faf7;
}

.prediction-metric.metric-max-positive {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
  font-weight: 700;
}

.prediction-metric.metric-max-negative {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
  font-weight: 700;
}

@media (max-width: 900px) {
  .prediction-row {
    grid-template-columns: 1fr;
  }

  .prediction-metrics-cell {
    justify-content: flex-start;
  }
}

.spx-dte-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 12px;
  gap: 12px;
}

@media (min-width: 1300px) {
  .spx-dte-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1800px) {
  .spx-dte-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.spx-dte-card .title {
  margin-bottom: 6px;
  font-size: 16px;
}

.total-chart-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
}

.chart-panel {
  position: relative;
}

.chart-panel-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.chart-panel-header .title {
  margin: 0;
}

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

.chart-toggle-btn {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.chart-toggle-btn.active {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.chart-fullscreen-btn {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.chart-panel-fullscreen {
  position: fixed;
  inset: 12px;
  z-index: 9999;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  overflow: auto;
}

.customer-chart-panel {
  width: 100%;
}

.customer-chart-panel-mobile .chart-panel-header {
  gap: 8px;
}

.customer-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-ladder-header {
  margin-top: 8px;
  margin-bottom: 4px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr);
  grid-gap: 10px;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.customer-ladder-header span:nth-child(1) {
  text-align: right;
}

.customer-ladder-header span:nth-child(2) {
  text-align: center;
}

.customer-ladder-header span:nth-child(3) {
  text-align: left;
}

.customer-ladder-scroll {
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid #e3e8e2;
  border-radius: 10px;
}

.customer-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 170px;
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #edf1eb;
}

.customer-row:last-child {
  border-bottom: 0;
}

.customer-row.spot {
  background: linear-gradient(90deg, #dbeafe 0%, #bfdbfe 52%, #dbeafe 100%);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.customer-row.compact {
  padding: 6px 4px;
}

.customer-chart-panel-mobile .customer-ladder-scroll {
  max-height: 78vh;
}

.customer-chart-panel-compact .customer-ladder-scroll {
  max-height: calc(100vh - 240px);
}

.customer-chart-panel-fullscreen-active .customer-ladder-scroll {
  max-height: calc(100vh - 110px);
}

.customer-chart-panel-compact .customer-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}

.customer-chart-panel-compact .customer-strike-cell {
  width: 100%;
  justify-content: stretch;
}

.customer-chart-panel-mobile .customer-mini-lane {
  grid-template-columns: 1fr 64px 1fr;
}

.customer-chart-panel-compact .customer-lanes-frame {
  min-width: 0;
  width: 100%;
}

.customer-chart-panel-mobile .customer-strike-card {
  min-width: 64px;
  max-width: 64px;
  padding: 4px 4px;
}

.customer-chart-panel-mobile .customer-strike {
  font-size: 12px;
  line-height: 1.05;
}

.customer-chart-panel-compact .customer-mini-lane {
  grid-template-columns: 1fr 64px 1fr;
}

.customer-chart-panel-compact .customer-strike-card {
  min-width: 64px;
  max-width: 64px;
}

.customer-chart-panel-mobile .lane-compact-label {
  font-size: 9px;
  padding: 1px 3px;
}

.customer-side {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  justify-content: center;
}

.put-side {
  justify-content: stretch;
}

.call-side {
  justify-content: stretch;
}

.customer-note-input {
  width: 100%;
  min-height: 34px;
  max-height: 48px;
  resize: vertical;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.25;
  padding: 6px 8px;
}

.customer-note-input:focus {
  outline: 2px solid #bfdbfe;
  border-color: #93c5fd;
}

.customer-value {
  font-size: 12px;
  color: #334155;
  min-width: 52px;
  text-align: center;
}

.value-put {
  color: #b91c1c;
}

.value-call {
  color: #047857;
}

.customer-mini-lane {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 32px;
  display: grid;
  grid-template-columns: 1fr 96px 1fr;
  grid-gap: 0;
  gap: 0;
}

.customer-lanes-frame {
  width: 100%;
  min-width: 260px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-gap: 6px;
  gap: 6px;
}

.lane-segment {
  position: relative;
  height: 32px;
}

.lane-left {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.04), rgba(148, 163, 184, 0.1));
}

.lane-right {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.04));
}

.lane-segment.monetization-highlight {
  box-shadow: inset 0 0 0 1px rgba(202, 138, 4, 0.14);
}

.lane-segment.monetization-highlight.tone-possible {
  background:
    linear-gradient(90deg, rgba(254, 249, 195, 0.78), rgba(253, 224, 71, 0.18)),
    linear-gradient(90deg, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.04));
}

.lane-segment.monetization-highlight.tone-likely {
  background:
    linear-gradient(90deg, rgba(254, 240, 138, 0.9), rgba(250, 204, 21, 0.24)),
    linear-gradient(90deg, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.04));
  box-shadow: inset 0 0 0 1px rgba(202, 138, 4, 0.2);
}

.lane-segment.monetization-highlight.tone-veryLikely {
  background:
    linear-gradient(90deg, rgba(253, 230, 138, 0.96), rgba(245, 158, 11, 0.32)),
    linear-gradient(90deg, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.04));
  box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.24);
}

.lane-gap {
  position: relative;
  height: 32px;
  background: transparent;
}

.lane-zero {
  position: absolute;
  top: 3px;
  bottom: 3px;
  width: 1px;
}

.lane-zero-left {
  right: 10%;
}

.lane-zero-right {
  left: 10%;
}

.put-zero {
  background: rgba(220, 38, 38, 0.7);
}

.call-zero {
  background: rgba(5, 150, 105, 0.72);
}

.lane-bar {
  position: absolute;
  top: 7px;
  height: 18px;
  border-radius: 999px;
  min-width: 1px;
}

.lane-bar.put-bar {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.lane-bar.call-bar {
  background: linear-gradient(90deg, #10b981, #059669);
}

.lane-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.lane-mid-label {
  position: absolute;
  top: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  min-width: 48px;
  text-align: center;
  padding: 1px 4px;
  background: rgba(255, 255, 255, 0.58);
  border-radius: 4px;
  pointer-events: none;
}

.lane-compact-label {
  position: absolute;
  top: 8px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.16);
  pointer-events: none;
  white-space: nowrap;
}

.lane-side-label {
  position: absolute;
  top: 7px;
  left: calc(100% + 8px);
  z-index: 3;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.lane-side-label-left {
  left: auto;
  right: calc(100% + 8px);
}

.monetization-call {
  color: #065f46;
}

.monetization-put {
  color: #991b1b;
}

.closeout-call {
  color: #065f46;
}

.closeout-put {
  color: #991b1b;
}

.lane-side-label.tone-none {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.lane-side-label.tone-possible {
  border-color: #f59e0b;
  background: #fffbeb;
}

.lane-side-label.tone-likely {
  border-color: #fb923c;
  background: #fff7ed;
}

.lane-side-label.tone-veryLikely {
  border-color: #dc2626;
  background: #fef2f2;
}

.marker-put {
  color: #111827;
}

.marker-call {
  color: #111827;
}

.marker-start {
  top: -1px;
  opacity: 0.82;
}

.marker-30m {
  top: 12px;
  opacity: 0.94;
}

.marker-prev {
  top: 24px;
  opacity: 1;
}

.customer-strike-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: visible;
  border-radius: 10px;
  padding: 4px 0;
  transition: background 140ms ease, box-shadow 140ms ease;
}

.customer-row-badges {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}

.customer-row-badges.left {
  left: 16px;
  align-items: flex-start;
}

.customer-row-badges.right {
  right: 16px;
  align-items: flex-end;
}

.customer-signal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #cbd5e1;
  color: #0f172a;
  box-shadow: 0 1px 5px rgba(15, 23, 42, 0.16);
}

.customer-signal-badge.tone-gamma {
  border-color: #22c55e;
  color: #14532d;
  background: #ecfdf5;
}

.customer-signal-badge.tone-straddle {
  border-color: #f59e0b;
  color: #92400e;
  background: #fffbeb;
}

.customer-signal-badge.tone-charm {
  border-color: #2563eb;
  color: #1e3a8a;
  background: #eff6ff;
}

.customer-strike-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  min-width: 104px;
  max-width: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-radius: 12px;
  padding: 6px 6px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.customer-strike {
  font-weight: 700;
  color: #0f172a;
}

.customer-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.customer-tag {
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  background: #eff6ff;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
}

.customer-spot-pill {
  border: 1px solid #93c5fd;
  color: #1d4ed8;
  background: #dbeafe;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 700;
}

.customer-flip-pill {
  border: 1px solid #fdba74;
  color: #9a3412;
  background: #ffedd5;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 800;
}

.customer-info-card {
  width: 100%;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  background: #f8fafc;
  padding: 6px 8px;
  display: grid;
  grid-gap: 3px;
  gap: 3px;
}

.customer-watch-btn {
  justify-self: start;
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 999px;
  border-color: #cbd5e1;
  background: #ffffff;
}

.customer-watch-btn.active {
  border-color: #0ea5a4;
  background: #ccfbf1;
  color: #115e59;
}

.customer-info-line {
  font-size: 11px;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.customer-history-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.customer-header-spot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border: 1px solid #93c5fd;
  background: #dbeafe;
  color: #1e3a8a;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.legend-pill {
  border: 1px solid #d1d9e3;
  background: #f8fafc;
  color: #334155;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}

.top-header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  grid-gap: 12px;
  gap: 12px;
}

.top-header-row .title {
  margin: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.top-header-row .button {
  justify-self: end;
}

.top-live-ticker {
  justify-self: center;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff 0%, #eef5f2 100%);
  border: 1px solid #cfd8d3;
  border-radius: 12px;
  padding: 6px 14px;
  line-height: 1.1;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.top-live-ticker.up {
  color: #15803d;
  border-color: #86efac;
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
}

.top-live-ticker.down {
  color: #b91c1c;
  border-color: #fca5a5;
  background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
}

.top-live-ticker.flat {
  color: #0f172a;
  border-color: #cfd8d3;
  background: linear-gradient(180deg, #ffffff 0%, #eef5f2 100%);
}

@media (max-width: 820px) {
  .customer-chart-panel-mobile {
    padding: 10px;
  }

  .customer-chart-panel-mobile .chart-actions {
    justify-content: flex-start;
  }

  .top-header-row {
    grid-template-columns: 1fr;
  }

  .top-header-row .button {
    justify-self: start;
  }

  .top-live-ticker {
    justify-self: start;
    font-size: clamp(22px, 7vw, 34px);
  }

  .customer-header-spot {
    position: static;
    transform: none;
    margin-left: auto;
    margin-right: auto;
  }

  .customer-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .customer-row.compact {
    padding: 4px 2px;
  }

  .customer-lanes-frame {
    min-width: 260px;
    width: 100%;
  }

  .customer-mini-lane {
    grid-template-columns: 1fr 84px 1fr;
  }

  .customer-strike-card {
    min-width: 84px;
    max-width: 84px;
  }

  .customer-side {
    justify-content: stretch;
  }

  .customer-row-badges.left {
    left: 8px;
  }

  .customer-row-badges.right {
    right: 8px;
  }

  .customer-signal-badge {
    min-width: 42px;
    padding: 2px 6px;
    font-size: 10px;
  }

  .lane-side-label {
    position: static;
    display: inline-flex;
    margin-left: 6px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .lane-compact-label {
    font-size: 10px;
    padding: 2px 3px;
  }
}

