/*
  Dashboard Pro — spectrogram, insight tiles, live chart
  Scoped to .sr-dash-pro
*/

body.sr-site .sr-dash-pro {
  --dp-bg: rgba(8, 12, 20, 0.82);
  --dp-border: rgba(255, 255, 255, 0.1);
  --dp-text: #f1f5f9;
  --dp-muted: rgba(148, 163, 184, 0.88);
  --dp-gold: #e2c178;
  --dp-teal: #2dd4bf;
  --dp-blue: #60a5fa;
  --dp-violet: #c084fc;
}

/* ── Section header ── */
body.sr-site .sr-dash-pro .sr-aether-dash-head {
  margin-bottom: 1.35rem;
  padding: 1.15rem 1.35rem;
  border-radius: 1.15rem;
  border: 1px solid var(--dp-border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    var(--dp-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.sr-site .sr-dash-pro .sr-aether-dash-head h2 {
  margin: 0.35rem 0 0 !important;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  color: var(--dp-text) !important;
  text-align: left !important;
}

body.sr-site .sr-dash-pro .sr-aether-dash-head p {
  margin: 0.45rem 0 0 !important;
  font-size: 0.875rem !important;
  line-height: 1.55;
  color: var(--dp-muted) !important;
  max-width: 40rem;
}

body.sr-site .sr-dash-pro .sr-aether-dash-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dp-gold);
}

/* ── Spectrogram card ── */
body.sr-site .sr-dash-pro #spectrogram.sr-dash-pro-spectro {
  padding: 0 !important;
  border-radius: 1.25rem !important;
  overflow: hidden;
  border: 1px solid var(--dp-border) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--dp-bg) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 64px rgba(0, 0, 0, 0.38) !important;
}

body.sr-site .sr-dash-pro .sr-prism-spectro-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

body.sr-site .sr-dash-pro .sr-prism-station-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dp-gold);
  border: 1px solid rgba(226, 193, 120, 0.28);
  background: rgba(226, 193, 120, 0.07);
}

body.sr-site .sr-dash-pro .sr-prism-spectro-head h3 {
  margin: 0 !important;
  font-size: clamp(0.95rem, 2vw, 1.125rem) !important;
  font-weight: 600 !important;
  color: var(--dp-text) !important;
  letter-spacing: -0.02em;
}

body.sr-site .sr-dash-pro .sr-prism-spectro-meta {
  text-align: right;
}

body.sr-site .sr-dash-pro .sr-prism-coords {
  display: block;
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 0.625rem;
  color: var(--dp-muted);
  margin-bottom: 0.3rem;
}

body.sr-site .sr-dash-pro .sr-prism-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 0.625rem;
  color: var(--dp-muted);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.sr-site .sr-dash-pro .sr-prism-timer-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--dp-teal);
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.65);
}

/* Spectro stage: viewport + insights */
body.sr-site .sr-dash-pro-spectro-stage {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem 0;
}

body.sr-site .sr-dash-pro-spectro-viewport {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  margin: 0 !important;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #020617;
  box-shadow: inset 0 0 48px rgba(0, 0, 0, 0.45);
}

body.sr-site .sr-dash-pro-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.65rem 0.45rem;
  min-width: 2.1rem;
  background: rgba(0, 0, 0, 0.55);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.75);
  text-align: right;
  user-select: none;
}

body.sr-site .sr-dash-pro-axis span::after {
  content: " Hz";
  font-size: 0.5rem;
  opacity: 0.65;
}

body.sr-site .sr-dash-pro-spectro-viewport .spectro-container {
  position: relative;
  margin: 0;
  min-height: clamp(11rem, 32vw, 16.5rem);
}

body.sr-site .sr-dash-pro-spectro-viewport #main-spectro {
  display: block;
  width: 100%;
  height: clamp(11rem, 32vw, 16.5rem) !important;
  min-height: 11rem !important;
  object-fit: contain;
  object-position: center;
  opacity: 0.96;
  background: #020617;
}

body.sr-site .sr-dash-pro-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(45, 212, 191, 0.06) 48%,
    rgba(45, 212, 191, 0.14) 50%,
    rgba(45, 212, 191, 0.06) 52%,
    transparent 100%
  );
  animation: sr-dash-scan 8s linear infinite;
  opacity: 0.55;
}

@keyframes sr-dash-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

body.sr-site .sr-dash-pro-spectro-viewport .spectro-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.sr-site .sr-dash-pro .spectro-marker {
  position: absolute;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
}

body.sr-site .sr-dash-pro .spectro-marker-line {
  flex: 1;
  height: 1px;
  margin-left: 0.35rem;
  background: linear-gradient(90deg, var(--marker-color, #e2c178), transparent 85%);
  opacity: 0.75;
}

body.sr-site .sr-dash-pro .spectro-marker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.5rem;
  padding: 0.22rem 0.5rem;
  border-radius: 0.45rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--marker-color, #e2c178);
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid color-mix(in srgb, var(--marker-color, #e2c178) 35%, transparent);
  backdrop-filter: blur(8px);
}

body.sr-site .sr-dash-pro .spectro-marker-badge strong {
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.62rem;
}

body.sr-site .sr-dash-pro .spectro-marker-badge small {
  font-size: 0.52rem;
  opacity: 0.75;
}

/* Insight tiles */
body.sr-site .sr-dash-pro-insights {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.65rem !important;
  padding: 0 0 0.85rem;
}

body.sr-site .sr-dash-pro-insight {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem !important;
  border-radius: 0.85rem !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(6, 10, 18, 0.72) !important;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

body.sr-site .sr-dash-pro-insight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--dp-insight-accent, var(--dp-gold));
  opacity: 0.85;
}

body.sr-site .sr-dash-pro-insight--gold { --dp-insight-accent: #e2c178; }
body.sr-site .sr-dash-pro-insight--blue { --dp-insight-accent: #60a5fa; }
body.sr-site .sr-dash-pro-insight--violet { --dp-insight-accent: #c084fc; }

body.sr-site .sr-dash-pro-insight:hover {
  border-color: color-mix(in srgb, var(--dp-insight-accent) 35%, transparent) !important;
  transform: translateY(-1px);
}

body.sr-site .sr-dash-pro-insight .spectro-insight-label {
  font-size: 0.58rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dp-muted) !important;
  margin: 0 !important;
}

body.sr-site .sr-dash-pro-insight .spectro-insight-value {
  font-family: "Roboto Mono", ui-monospace, monospace !important;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em;
  color: var(--dp-text) !important;
  line-height: 1.1;
}

body.sr-site .sr-dash-pro-insight-meter {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

body.sr-site .sr-dash-pro-insight-meter span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--dp-insight-accent), color-mix(in srgb, var(--dp-insight-accent) 60%, white));
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

body.sr-site .sr-dash-pro-insight .spectro-insight-caption {
  margin: 0 !important;
  font-size: 0.625rem !important;
  color: var(--dp-muted) !important;
  line-height: 1.4;
}

/* Spectro foot: guide + tabs */
body.sr-site .sr-dash-pro-spectro-foot {
  padding: 0 1.25rem 1.15rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.12);
}

body.sr-site .sr-dash-pro .spectro-analysis-card--guide {
  padding: 1rem 1.05rem !important;
  border-radius: 0.85rem !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  margin-bottom: 0.85rem;
}

body.sr-site .sr-dash-pro .spectro-analysis-card--guide h4 {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dp-gold);
}

body.sr-site .sr-dash-pro .spectro-legend-list {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 768px) {
  body.sr-site .sr-dash-pro .spectro-legend-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

body.sr-site .sr-dash-pro .spectro-legend-item {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

body.sr-site .sr-dash-pro .spectro-legend-swatch {
  flex-shrink: 0;
  width: 0.55rem;
  height: 2.25rem;
  border-radius: 999px;
  margin-top: 0.1rem;
}

body.sr-site .sr-dash-pro .spectro-legend-swatch.band {
  background: linear-gradient(180deg, #e2c178, rgba(226, 193, 120, 0.2));
}

body.sr-site .sr-dash-pro .spectro-legend-swatch.burst {
  background: linear-gradient(180deg, #f8fafc, rgba(248, 250, 252, 0.15));
}

body.sr-site .sr-dash-pro .spectro-legend-swatch.color {
  background: linear-gradient(180deg, #ef4444, #22c55e 50%, #3b82f6);
}

body.sr-site .sr-dash-pro .spectro-legend-item h5 {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dp-text);
}

body.sr-site .sr-dash-pro .spectro-legend-item p {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--dp-muted);
}

body.sr-site .sr-dash-pro-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.15rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body.sr-site .sr-dash-pro-tabs .tab-btn {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.5rem 0.85rem !important;
  border-radius: 0.55rem !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  color: var(--dp-muted) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.sr-site .sr-dash-pro-tabs .tab-btn:hover {
  color: var(--dp-text) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

body.sr-site .sr-dash-pro-tabs .tab-btn.active {
  color: #0f172a !important;
  background: linear-gradient(180deg, #fbbf24, #d4a017) !important;
  border-color: rgba(251, 191, 36, 0.45) !important;
  box-shadow: 0 4px 16px rgba(212, 160, 23, 0.2);
}

/* Live frequency chart card */
body.sr-site .sr-dash-pro-chart {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 1.15rem !important;
  border: 1px solid var(--dp-border) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--dp-bg) !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.32) !important;
}

body.sr-site .sr-dash-pro-chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.sr-site .sr-dash-pro-chart-head > div:not(.sr-dash-pro-chart-icon) {
  flex: 1 1 12rem;
  min-width: 0;
}

body.sr-site .sr-dash-pro-chart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.22);
  flex-shrink: 0;
}

body.sr-site .sr-dash-pro-chart-head h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dp-text);
  letter-spacing: -0.02em;
}

body.sr-site .sr-dash-pro-chart-head p {
  margin: 0.15rem 0 0;
  font-size: 0.6875rem;
  color: var(--dp-muted);
}

body.sr-site .sr-dash-pro-chart-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 0.625rem;
  color: var(--dp-teal);
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.22);
}

body.sr-site .sr-dash-pro-chart-live i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: currentColor;
  font-style: normal;
  box-shadow: 0 0 6px currentColor;
}

body.sr-site .sr-dash-pro-chart-frame {
  position: relative;
  height: clamp(12rem, 28vw, 14.5rem);
  margin: 0.85rem 1.15rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(4, 12, 30, 0.9), rgba(2, 6, 16, 0.95)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 23px,
      rgba(255, 255, 255, 0.025) 23px,
      rgba(255, 255, 255, 0.025) 24px
    );
}

body.sr-site .sr-dash-pro-chart-frame canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
}

body.sr-site .sr-dash-pro-chart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0 1.15rem 1rem;
  font-size: 0.625rem;
  color: var(--dp-muted);
}

body.sr-site .sr-dash-pro-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

body.sr-site .sr-dash-pro-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

body.sr-site .sr-dash-pro-chart-legend i {
  width: 0.65rem;
  height: 2px;
  border-radius: 999px;
  font-style: normal;
}

body.sr-site .sr-dash-pro-chart-legend i.sr1 { background: #60a5fa; }
body.sr-site .sr-dash-pro-chart-legend i.sr2 { background: #c084fc; }
body.sr-site .sr-dash-pro-chart-legend i.sr3 { background: #22d3ee; }

@media (max-width: 899px) {
  body.sr-site .sr-dash-pro-insights {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  body.sr-site .sr-dash-pro .sr-prism-spectro-meta {
    text-align: left;
    width: 100%;
  }

  body.sr-site .sr-dash-pro .spectro-marker-badge {
    font-size: 0.52rem;
    padding: 0.18rem 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sr-site .sr-dash-pro-scan {
    animation: none;
    opacity: 0.25;
  }

  body.sr-site .sr-dash-pro-insight:hover {
    transform: none;
  }
}

/* ── Dashboard section header (live kicker) ── */
body.sr-site .sr-dash-pro-head {
  position: relative;
  overflow: hidden;
}

body.sr-site .sr-dash-pro-head::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 0% 0%, rgba(56, 189, 248, 0.1), transparent 55%);
}

body.sr-site .sr-dash-pro-head__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

body.sr-site .sr-dash-pro-live-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.32);
  background: rgba(52, 211, 153, 0.1);
}

body.sr-site .sr-dash-pro-live-kicker i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #34d399;
  font-style: normal;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.75);
  animation: sr-dash-live-pulse 2s ease-in-out infinite;
}

body.sr-site .sr-dash-pro-head__hz {
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--dp-muted);
  padding: 0.18rem 0.45rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

@keyframes sr-dash-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.12); }
}

/* ── Trend chart cards ── */
body.sr-site .sr-dash-pro-trend {
  border-radius: 1.15rem !important;
  border: 1px solid var(--dp-border) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--dp-bg) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28) !important;
}

body.sr-site .sr-dash-pro-trend-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.sr-site .sr-dash-pro-trend-head > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

body.sr-site .sr-dash-pro-trend-head h3 {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dp-text);
  letter-spacing: -0.02em;
}

body.sr-site .sr-dash-pro-trend-head p {
  margin: 0.12rem 0 0;
  font-size: 0.625rem;
  color: var(--dp-muted);
}

body.sr-site .sr-dash-pro-trend-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  flex-shrink: 0;
}

body.sr-site .sr-dash-pro-trend-icon--green {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.22);
  color: #4ade80;
}

body.sr-site .sr-dash-pro-trend-icon--cyan {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.22);
  color: #22d3ee;
}

body.sr-site .sr-dash-pro-trend-val {
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 1.05rem;
  font-weight: 500;
  color: #4ade80;
  flex-shrink: 0;
}

body.sr-site .sr-dash-pro-trend-val--cyan {
  color: #22d3ee;
}

body.sr-site .sr-dash-pro-trend-frame {
  position: relative;
  height: 10.5rem;
  margin: 0.75rem 1rem 1rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 16, 0.65);
}

body.sr-site .sr-dash-pro-trend-frame canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* ── Viz suite (earth / spectrum / scope) ── */
body.sr-site .sr-dash-pro .sr-viz-suite {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1024px) {
  body.sr-site .sr-dash-pro .sr-viz-suite {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  body.sr-site .sr-dash-pro .sr-viz-panel--earth {
    grid-column: 1;
    grid-row: 1 / 3;
  }
}

body.sr-site .sr-dash-pro .sr-viz-panel {
  border-radius: 1.15rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--dp-border);
  background:
    linear-gradient(135deg, rgba(186, 230, 253, 0.05) 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%),
    linear-gradient(180deg, rgba(6, 14, 26, 0.55), rgba(4, 10, 20, 0.68));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

body.sr-site .sr-dash-pro .sr-viz-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

body.sr-site .sr-dash-pro .sr-viz-panel-head > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

body.sr-site .sr-dash-pro .sr-viz-panel-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dp-text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

body.sr-site .sr-dash-pro .sr-viz-panel-sub {
  font-size: 0.625rem;
  color: var(--dp-muted);
  margin-top: 0.2rem;
  line-height: 1.45;
}

body.sr-site .sr-dash-pro .sr-viz-canvas-wrap {
  position: relative;
  border-radius: 0.75rem;
  background: rgba(2, 6, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

body.sr-site .sr-dash-pro .sr-viz-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

body.sr-site .sr-dash-pro .sr-viz-canvas-wrap--earth {
  aspect-ratio: 1 / 1;
  max-height: 320px;
}

body.sr-site .sr-dash-pro .sr-viz-canvas-wrap--spectrum {
  height: 200px;
}

body.sr-site .sr-dash-pro .sr-viz-canvas-wrap--scope {
  height: 168px;
}

body.sr-site .sr-dash-pro .sr-viz-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  flex-shrink: 0;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.08);
}

body.sr-site .sr-dash-pro .sr-viz-live-badge::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.75);
}

body.sr-site .sr-dash-pro .sr-viz-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 0.65rem;
  font-size: 0.58rem;
  color: var(--dp-muted);
  font-family: "Roboto Mono", ui-monospace, monospace;
}

body.sr-site .sr-dash-pro .sr-viz-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

body.sr-site .sr-dash-pro .sr-viz-legend i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  font-style: normal;
}

/* ── Tam genişlik lane — sr-lane-cohesion.css owns gutters ── */
body.sr-site #dashboard > .max-w-7xl {
  width: 100% !important;
  max-width: var(--sr-dash-lane, var(--sr-lane-wide)) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

body.sr-site #dashboard > .max-w-7xl > * {
  width: 100%;
  max-width: none !important;
  margin-inline: 0 !important;
}

body.sr-site .sr-dash-pro .sr-aether-dash-head p {
  max-width: none;
}

body.sr-site .sr-dash-pro-spectro-stage {
  padding-inline: 0;
}

body.sr-site .sr-dash-pro-spectro-viewport {
  width: 100%;
}

body.sr-site .sr-dash-pro-spectro-viewport .spectro-container {
  min-height: clamp(12rem, 26vw, 19rem);
}

body.sr-site .sr-dash-pro-spectro-viewport #main-spectro {
  width: 100% !important;
  height: clamp(12rem, 26vw, 19rem) !important;
  min-height: 12rem !important;
  object-fit: cover !important;
  object-position: center center;
}

body.sr-site .sr-dash-pro-insights {
  width: 100%;
}

body.sr-site .sr-dash-pro .card,
body.sr-site .sr-dash-pro-chart,
body.sr-site .sr-dash-pro-trend,
body.sr-site .sr-dash-pro .sr-viz-panel {
  width: 100%;
  max-width: none !important;
}

body.sr-site #dashboard .grid {
  width: 100%;
}

@media (min-width: 1024px) {
  body.sr-site .sr-dash-pro-spectro-stage {
    padding-inline: 0;
  }
}
