/* Dashboard-only: globale Selektoren sind unter #dashboardView / body:has(#dashboardView.is-active) gescoped.
   Beeinflusst NICHT: .view, .main-content, .app-shell außerhalb des Dashboards. */
.soTrends {
  display: grid;
  gap: 16px;
}

.soDashboardHero__senseiMessage {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 6px 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(251,191,36,0.08));
  animation: senseiGlow 3s ease-in-out infinite;
  align-self: flex-start;
  cursor: pointer;
  position: relative;
  max-width: max-content;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  border: 2px solid rgba(251,191,36,0.4);
  box-shadow: 0 4px 16px rgba(251,191,36,0.2), 0 2px 8px rgba(0,0,0,0.1);
}

.soDashboardHero__senseiIcon {
  font-size: 16px;
  opacity: 0.9;
  animation: senseiSparkle 2s ease-in-out infinite;
}

.soDashboardHero__senseiPrefix {
  font-weight: 600;
  opacity: 0.8;
}

.soDashboardHero__senseiArrow {
  font-size: 14px;
  opacity: 0.7;
  transition: transform 180ms ease;
}

.soDashboardHero__senseiMessage:hover .soDashboardHero__senseiArrow {
  transform: translateX(2px);
}

.soDashboardHero__senseiMessage:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, rgba(251,191,36,0.25), rgba(251,191,36,0.12));
  border-color: rgba(251,191,36,0.6);
  box-shadow: 0 8px 24px rgba(251,191,36,0.3), 0 4px 12px rgba(0,0,0,0.15);
}

.soDashboardHero__ampelLine {
  cursor: default;
}

.soDashboardHero__ampelLine--clickable {
  cursor: pointer;
}

.soDashboardHero__senseiMessage--green {
  color: #22c55e;
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,197,94,0.08));
  border: 2px solid rgba(34,197,94,0.4);
  box-shadow: 0 4px 16px rgba(34,197,94,0.2), 0 2px 8px rgba(0,0,0,0.1);
}

.soDashboardHero__senseiMessage--yellow {
  color: #fbbf24;
  background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(251,191,36,0.08));
  border: 2px solid rgba(251,191,36,0.4);
  box-shadow: 0 4px 16px rgba(251,191,36,0.2), 0 2px 8px rgba(0,0,0,0.1);
}

.soDashboardHero__senseiMessage--red {
  color: #ef4444;
  background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(239,68,68,0.08));
  border: 2px solid rgba(239,68,68,0.4);
  box-shadow: 0 4px 16px rgba(239,68,68,0.2), 0 2px 8px rgba(0,0,0,0.1);
}

@keyframes senseiGlow {
  0%, 100% { 
    background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(251,191,36,0.08));
    border-color: rgba(251,191,36,0.4);
  }
  50% { 
    background: linear-gradient(135deg, rgba(251,191,36,0.20), rgba(251,191,36,0.10));
    border-color: rgba(251,191,36,0.5);
  }
}

@keyframes senseiSparkle {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.soTrend {
  border-radius: var(--radius-lg);
  padding: 16px;
  background: linear-gradient(145deg, rgba(15,23,42,0.7), rgba(2,6,23,0.6));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 12px rgba(2,6,23,0.3), 0 1px 0 rgba(255,255,255,0.04) inset;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.soTrend:hover {
  border-color: rgba(251,146,60,0.3);
  box-shadow: 0 8px 24px rgba(2,6,23,0.4), 0 0 24px rgba(251,146,60,0.08);
  transform: translateY(-2px);
}

.soTrend__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.soTrend__title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(226,232,240,0.75); }
.soTrend__unit { font-size: 12px; color: rgba(226,232,240,0.55); }

.soTrend__chart {
  min-height: 180px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(2,6,23,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

/* SVG Chart inside trend chart container */
.soTrend__chart svg.soChartPrimitive {
  width: 100%;
  height: auto;
  max-height: 180px;
}

/* Fallback text when no chart data */
.soTrend__chartText {
  font-size: 13px;
  color: rgba(148,163,184,0.7);
  text-align: center;
  padding: 20px;
  line-height: 1.5;
}

.soTrends__axis {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(226,232,240,0.5);
  letter-spacing: 0.08em;
}
.soPanel,
.soPanel--trends,
.soPanel--insights {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: linear-gradient(145deg, rgba(15,23,42,0.95), rgba(2,6,23,0.9));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 
    0 8px 32px rgba(2,6,23,0.5),
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 0 60px rgba(251,146,60,0.08);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.soPanel:hover,
.soPanel--trends:hover,
.soPanel--insights:hover {
  border-color: rgba(251,146,60,0.3);
  box-shadow: 
    0 12px 48px rgba(2,6,23,0.6),
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 0 80px rgba(251,146,60,0.12);
  transform: translateY(-2px);
}

.soPanel.is-loading::after {
  content: 'Lädt …';
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.6);
}

.soPanel__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.soPanel__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(248,250,252,0.85);
}

.soPanel__sub {
  font-size: 13px;
  color: rgba(226,232,240,0.65);
  line-height: 1.4;
}

.soActions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.soAction {
  border-radius: var(--radius-lg);
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  display: grid;
  gap: 10px;
}

.soAction__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.soAction__title {
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
}

.soAction__badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}

.soAction__text {
  font-size: 13px;
  color: rgba(226,232,240,0.75);
  line-height: 1.5;
}

.soDashboard__header {
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  background: linear-gradient(140deg, rgba(15,23,42,0.95), rgba(2,6,23,0.85));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 28px 60px rgba(2,6,23,0.45);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.soDashboard__headerMain {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.soDashboard__left {
  flex: 1 1 320px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.soDashboard__right {
  flex: 0 0 auto;
  min-width: 220px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.soDashboard__kicker {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.6);
}

.soDashboard__title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  margin: 0;
}

.soDashboard__metaLine {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: rgba(226,232,240,0.7);
}

.soDashboard__sep {
  color: rgba(226,232,240,0.4);
}

.soDashboard__batches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.soDashboard__batch {
  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(145deg, rgba(15,23,42,0.6), rgba(2,6,23,0.5));
  box-shadow: 0 4px 12px rgba(2,6,23,0.3), 0 1px 0 rgba(255,255,255,0.05) inset;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.soDashboard__batch:hover {
  border-color: rgba(251,146,60,0.4);
  background: linear-gradient(145deg, rgba(15,23,42,0.75), rgba(2,6,23,0.65));
  box-shadow: 0 8px 24px rgba(2,6,23,0.4), 0 0 24px rgba(251,146,60,0.1);
  transform: translateY(-2px);
}

.soDashboard__batchLabel {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(203,213,225,0.7);
}

.soDashboard__batchValue {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
}

.soDashboard__batchSub {
  font-size: 12px;
  color: rgba(226,232,240,0.6);
}


/* ============================================================================
   HERO/HEADER - THE FIRST IMPRESSION (REVOLUTIONARY)
   ============================================================================ */

.soDashboardHero {
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  background: 
    linear-gradient(145deg, 
      rgba(4,7,18,0.98) 0%, 
      rgba(15,23,42,0.96) 50%,
      rgba(2,6,23,0.98) 100%);
  border: 1px solid rgba(251,146,60,0.3);
  box-shadow: 
    0 28px 60px rgba(2,6,23,0.6),
    0 8px 32px rgba(2,6,23,0.4),
    0 0 80px rgba(251,146,60,0.15),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 0 80px rgba(251,146,60,0.04);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  animation: fadeInUp var(--reveal-duration) var(--ease-smooth) backwards;
}

/* Multi-layer background effects */
.soDashboardHero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(251,146,60,0.6) 50%, 
    transparent 100%);
  pointer-events: none;
  animation: shimmer 8s linear infinite;
}

.soDashboardHero::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  opacity: 0.3;
  pointer-events: none;
  background: 
    radial-gradient(circle at 20% 30%, rgba(251,146,60,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16,185,129,0.06) 0%, transparent 50%);
  z-index: 0;
}

.soDashboardHero__layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.soDashboardHero__stack {
  flex: 1 1 460px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

/* Hero Kicker + Mode-Guard (DEMO/LIVE) */
.soDashboardHero__top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.soDashboardHero__kicker {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.8);
  transition: color var(--transition-base);
  position: relative;
  z-index: 1;
  animation: fadeInUp var(--reveal-duration) var(--ease-smooth) 80ms backwards;
}
.soDashboardHero__modeBadge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.soDashboardHero__modeBadge--live {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.4);
  color: #34d399;
}
.soDashboardHero__modeBadge--demo {
  background: rgba(96,165,250,0.15);
  border: 1px solid rgba(96,165,250,0.4);
  color: #60a5fa;
}
.soDashboardHero__modeBadge--offline {
  background: rgba(148,163,184,0.12);
  border: 1px solid rgba(148,163,184,0.3);
  color: rgba(148,163,184,0.9);
}
.soDashboardHero__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.soDashboardHero__subline {
  font-size: 0.9375rem;
  color: rgba(148,163,184,0.85);
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
  position: relative;
  z-index: 1;
}
.soDashboardHero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.soDashboardHero__cta {
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.soDashboardHero__cta--primary {
  background: rgba(16,185,129,0.2);
  border: 1px solid rgba(16,185,129,0.4);
  color: #34d399;
}
.soDashboardHero__cta--primary:hover {
  background: rgba(16,185,129,0.3);
  transform: translateY(-1px);
}
.soDashboardHero__cta--secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(226,232,240,0.95);
}
.soDashboardHero__cta--secondary:hover {
  background: rgba(255,255,255,0.1);
}
.soDashboardHero__statusBadge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
  text-align: center;
}
.soDashboardHero__statusBadge--all_good {
  background: rgba(16,185,129,0.15);
  color: #34d399;
}
.soDashboardHero__statusBadge--needs_attention {
  background: rgba(251,191,36,0.15);
  color: #fbbf24;
}
.soDashboardHero__statusBadge--critical {
  background: rgba(239,68,68,0.15);
  color: #f87171;
}
.soDashboardHero--all_good .soDashboardHero__subline { color: rgba(148,163,184,0.85); }
.soDashboardHero--needs_attention .soDashboardHero__subline { color: rgba(251,191,36,0.9); }
.soDashboardHero--critical .soDashboardHero__subline { color: rgba(239,68,68,0.9); }

.soDashboardHero__statusWrap {
  flex: 0 0 auto;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.soDashboardHero__ampelStack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.soDashboardHero__ampelLine {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(15,23,42,0.5);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  color: rgba(226,232,240,0.85);
  font-weight: 600;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.soDashboardHero__ampelLine:hover {
  background: rgba(15,23,42,0.75);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-1px);
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.soDashboardHero__ampelLine--green:hover {
  border-color: rgba(34,197,94,0.5);
  box-shadow: 0 0 8px rgba(34,197,94,0.2);
}

.soDashboardHero__ampelLine--yellow:hover {
  border-color: rgba(251,191,36,0.5);
  box-shadow: 0 0 8px rgba(251,191,36,0.2);
}

.soDashboardHero__ampelLine--red:hover {
  border-color: rgba(239,68,68,0.6);
  box-shadow: 0 0 8px rgba(239,68,68,0.3);
}

.soDashboardHero__ampelLine:focus-visible {
  outline: 2px solid rgba(251,146,60,0.5);
  outline-offset: 2px;
}

.soDashboardHero__ampelIcon {
  width: 22px;
  height: 22px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
  color: inherit;
}

.soDashboardHero__ampelLabel {
  letter-spacing: 0.02em;
  font-weight: 700;
}

.soDashboardHero__ampelDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  justify-self: end;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}

.soDashboardHero__ampelLine--green {
  border-color: rgba(34,197,94,0.3);
  color: #22c55e;
}

.soDashboardHero__ampelLine--red {
  animation: pulse-red 4s ease-in-out infinite;
}

@keyframes pulse-yellow {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

@keyframes pulse-red {
  0%, 100% { 
    opacity: 0.85; 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239,68,68,0.2); 
  }
  50% { 
    opacity: 1; 
    transform: scale(1.03);
    box-shadow: 0 0 0 6px rgba(239,68,68,0.15); 
  }
}

.soDashboardHero__ampelLine--green .soDashboardHero__ampelIcon {
  background: rgba(34,197,94,0.1);
}

.soDashboardHero__ampelLine--green .soDashboardHero__ampelDot {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.1);
}

.soDashboardHero__ampelLine--yellow {
  border-color: rgba(251,191,36,0.3);
  color: #fbbf24;
  animation: pulse-yellow 4.2s ease-in-out infinite;
}

.soDashboardHero__ampelLine--yellow .soDashboardHero__ampelIcon {
  background: rgba(251,191,36,0.12);
}

.soDashboardHero__ampelLine--yellow .soDashboardHero__ampelDot {
  background: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251,191,36,0.14);
}

.soDashboardHero__ampelLine--red {
  border-color: rgba(239,68,68,0.35);
  color: #ef4444;
}

.soDashboardHero__ampelLine--red .soDashboardHero__ampelIcon {
  background: rgba(239,68,68,0.12);
}

.soDashboardHero__ampelLine--red .soDashboardHero__ampelDot {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.16);
}

.soDashboardHero__ampelTooltip {
  position: fixed;
  top: var(--ampel-tooltip-top, -9999px);
  left: var(--ampel-tooltip-left, -9999px);
  margin-top: 0;
  min-width: 240px;
  max-width: 320px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(10,12,24,0.94);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(226,232,240,0.92);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease, transform 120ms ease;
  transform: translateY(-4px);
  z-index: 20;
  line-height: 1.45;
}

.soDashboardHero__ampelTooltip::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: rgba(10,12,24,0.94);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  border-right: none;
  transform: translateX(-50%) rotate(45deg);
}

.soDashboardHero__ampelTooltip strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.soDashboardHero__ampelTooltip span {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(203,213,225,0.9);
}

.soDashboardHero__ampelLine.is-open .soDashboardHero__ampelTooltip,
.soDashboardHero__ampelLine:focus-visible .soDashboardHero__ampelTooltip,
.soDashboardHero__ampelLine:hover .soDashboardHero__ampelTooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.soDashboardHero.is-loading {
  opacity: 0.6;
  filter: saturate(0.8);
}

.soSenseiTrendsGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.soSenseiPanel {
  grid-column: span 2;
  background: transparent;
  border: none;
  box-shadow: none;
  display: grid;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 0;
}

.soSenseiPanel__mainGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.soSenseiPanel__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.soSenseiPanel__sectionHeader--prominent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.soSenseiPanel__headerLeft {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.soSenseiPanel__sectionTitle {
  font-size: 20px;
  font-weight: 700;
  color: #e5e7eb;
  letter-spacing: -0.01em;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: var(--accent-line);
}

.soSenseiPanel__sectionBadge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fb923c;
  background: rgba(251,146,60,0.15);
  padding: 4px 8px;
  border-radius: 4px;
}

.soSenseiPanel__scoreZone {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.soSenseiPanel__metricBadge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  min-width: 140px;
}

.soSenseiPanel__metricBadgeLabel {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.7);
  margin-bottom: 4px;
}

.soSenseiPanel__metricBadgeValue {
  font-size: 28px;
  font-weight: 700;
  color: #e5e7eb;
  line-height: 1;
  margin-bottom: 4px;
}

.soSenseiPanel__metricBadgeValue span {
  font-size: 14px;
  opacity: 0.7;
}

.soSenseiPanel__metricBadgeGrade {
  font-size: 12px;
  font-weight: 600;
  color: rgba(226,232,240,0.8);
}

.soSenseiPanel__metricsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.soSenseiPanel__metricCard {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.soSenseiPanel__metricHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.soSenseiPanel__metricLabel {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(226,232,240,0.7);
}

.soSenseiPanel__metricValue {
  font-size: 12px;
  font-weight: 700;
  color: #e5e7eb;
}

.soSenseiPanel__metricValue.is-excellent { color: #22c55e; }
.soSenseiPanel__metricValue.is-good { color: #22c55e; }
.soSenseiPanel__metricValue.is-mid { color: #fb923c; }
.soSenseiPanel__metricValue.is-warn { color: #fb923c; }
.soSenseiPanel__metricValue.is-critical { color: #ef4444; }

.soSenseiPanel__metricBar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.soSenseiPanel__metricFill {
  height: 100%;
  background: currentColor;
  transition: width 0.3s ease;
}

.soSenseiPanel__aiSection {
  padding: 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}

.soSenseiPanel__aiContent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.soSenseiPanel__aiIcon {
  font-size: 16px;
  margin-top: 2px;
}

.soSenseiPanel__aiRecommendation {
  flex: 1;
}

.soSenseiPanel__aiTitle {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fb923c;
  margin-bottom: 4px;
}

.soSenseiPanel__aiText {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(226,232,240,0.9);
}

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

.soSenseiPanel__nextStepsLabel {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(226,232,240,0.7);
  margin-bottom: 4px;
}

.soSenseiPanel__nextStep {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(226,232,240,0.8);
}

.soSenseiPanel__stepNumber {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(251,146,60,0.2);
  color: #fb923c;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

.soSenseiPanel__stepText {
  flex: 1;
  line-height: 1.4;
}

.soSenseiPanel__actions {
  display: flex;
  gap: 8px;
}

.soSenseiPanel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* Hero Title - Elite Animated Gradient Text */
.soDashboardHero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(
    135deg,
    #fff 0%,
    #fb923c 30%,
    #fff 50%,
    #10b981 70%,
    #fff 100%
  );
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: dashboardTitleGlow 10s ease infinite;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 40px rgba(251,146,60,0.3);
}

@keyframes dashboardTitleGlow {
  0%, 100% { background-position: 0%; }
  50% { background-position: 100%; }
}

@keyframes titleShimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.soDashboardHero__metaLine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: rgba(203,213,225,0.8);
  font-size: var(--font-size-sm);
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 0;
  font-weight: var(--font-weight-medium);
  transition: opacity var(--transition-base);
}

.soDashboardHero__metaLine span {
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.soDashboardHero__metaLine span:hover {
  opacity: 1;
}


.soSensei__sectionBadge {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fb923c;
  background: rgba(251,146,60,0.15);
  padding: 4px 8px;
  border-radius: 4px;
}

.soSensei__scoreZone {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.soSensei__mainGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.soSensei__leverGrid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.soSensei__section {
  background: linear-gradient(135deg, rgba(51,65,85,0.92), rgba(30,41,59,0.88));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-xl);
  padding: 20px;
  box-shadow: 
    var(--shadow-md),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.soSensei__section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.25) 50%, 
    transparent 100%);
  pointer-events: none;
}

.soSensei__section--primary {
  border: 2px solid rgba(251,146,60,0.45);
}

.soSensei__scoreWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}

.soSensei__scoreGrid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}

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

.soSensei__diagBar {
  display: grid;
  grid-template-columns: 100px 1fr 48px;
  gap: 10px;
  align-items: center;
}

.soSensei__diagLabel {
  font-size: 12px;
  font-weight: 700;
  color: rgba(226,232,240,0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================================
   PERFORMANCE BARS - MOMENTUM, STABILITY, BUDGET, FATIGUE
   ============================================================================ */

.soSensei__diagTrack {
  height: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  
  box-shadow: 
    inset 0 2px 4px rgba(0,0,0,0.15),
    inset 0 0 0 1px rgba(0,0,0,0.1);
}

.soSensei__diagFill {
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(251,146,60,1) 0%, 
    rgba(249,115,22,0.8) 100%);
  border-radius: var(--radius-full);
  
  box-shadow: 
    0 0 16px rgba(251,146,60,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
  
  transition: width 800ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Shimmer effect overlay */
.soSensei__diagFill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  pointer-events: none;
}

/* State-based colors with enhanced glows */
.soSensei__diagFill.is-good { 
  background: linear-gradient(90deg, 
    rgba(34,197,94,1) 0%, 
    rgba(16,185,129,0.85) 100%);
  box-shadow: 
    0 0 20px rgba(34,197,94,0.5),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.soSensei__diagFill.is-mid { 
  background: linear-gradient(90deg, 
    rgba(251,191,36,1) 0%, 
    rgba(245,158,11,0.85) 100%);
  box-shadow: 
    0 0 18px rgba(251,191,36,0.45),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.soSensei__diagFill.is-warn { 
  background: linear-gradient(90deg, 
    rgba(249,115,22,1) 0%, 
    rgba(234,88,12,0.85) 100%);
  box-shadow: 
    0 0 18px rgba(249,115,22,0.45),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.soSensei__diagFill.is-critical { 
  background: linear-gradient(90deg, 
    rgba(239,68,68,1) 0%, 
    rgba(220,38,38,0.85) 100%);
  box-shadow: 
    0 0 20px rgba(239,68,68,0.5),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.soSensei__diagValue {
  font-size: 12px;
  font-weight: 700;
  color: rgba(226,232,240,0.9);
  text-align: right;
}

.soSensei__gaugeStatus {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.soSensei__gaugeStatus.is-excellent { color: #22c55e; }
.soSensei__gaugeStatus.is-good { color: #22c55e; }
.soSensei__gaugeStatus.is-mid { color: #fbbf24; }
.soSensei__gaugeStatus.is-warn { color: #f97316; }
.soSensei__gaugeStatus.is-critical { color: #ef4444; }

.soSensei__sectionTitle {
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(251,146,60,0.6);
  margin-bottom: 8px;
}

.soSensei__roasBadge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.soSensei__roasBadgeValue { color: #e2e8f0; }
.soSensei__roasBadgeDelta { font-size: 12px; opacity: 0.8; }

.soSensei__roasBadge.is-excellent { box-shadow: 0 0 0 1px rgba(34,197,94,0.35); }
.soSensei__roasBadge.is-mid { box-shadow: 0 0 0 1px rgba(251,191,36,0.35); }
.soSensei__roasBadge.is-warn { box-shadow: 0 0 0 1px rgba(249,115,22,0.35); }
.soSensei__roasBadge.is-critical { box-shadow: 0 0 0 1px rgba(239,68,68,0.35); }

/* ============================================================================
   PERFORMANCE GAUGE - CIRCULAR SCORE (ELITE)
   ============================================================================ */

.soSensei__gauge {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  
  /* Multi-layer circular background */
  background: 
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 38%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(251,146,60,0.05) 0%, transparent 60%),
    rgba(15,23,42,0.4);
  
  border: 3px solid rgba(251,146,60,0.45);
  
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  
  box-shadow: 
    var(--shadow-xl),
    0 0 40px rgba(251,146,60,0.2),
    0 0 80px rgba(251,146,60,0.1),
    inset 0 2px 6px rgba(0,0,0,0.15),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  
  transition: all var(--transition-base);
  animation: fadeInUp 800ms var(--ease-smooth) 200ms backwards;
}

/* Outer orbit ring */
.soSensei__gauge::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(251,146,60,0.2);
  animation: orbit 20s linear infinite;
  pointer-events: none;
}

/* Inner orbit ring */
.soSensei__gauge::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px dashed rgba(251,146,60,0.15);
  animation: counter-orbit 15s linear infinite;
  pointer-events: none;
}

/* Gauge hover - EPIC GLOW */
.soSensei__gauge:hover {
  border-color: rgba(251,146,60,0.7);
  transform: scale(1.05);
  
  box-shadow: 
    0 16px 48px rgba(0,0,0,0.3),
    0 0 60px rgba(251,146,60,0.35),
    0 0 100px rgba(251,146,60,0.15),
    inset 0 2px 8px rgba(0,0,0,0.2),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

.soSensei__gauge:hover::before {
  border-color: rgba(251,146,60,0.35);
  animation-duration: 15s;
}

.soSensei__gauge:hover::after {
  border-color: rgba(251,146,60,0.25);
  animation-duration: 10s;
}

.soSensei__gaugeTrack,
.soSensei__gaugeFill {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
}

.soSensei__gaugeTrack {
  border: 3px solid rgba(255,255,255,0.1);
}

.soSensei__gaugeFill {
  border: 4px solid #fb923c;
  clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 0);
  transform: rotate(calc((var(--soGauge, 0) / 100) * 360deg));
  transform-origin: center;
  opacity: 0.85;
}

/* Gauge Value - The Hero Number */
.soSensei__gaugeValue {
  position: relative;
  z-index: 10;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(251,146,60,1);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  
  text-shadow: 
    0 2px 12px rgba(251,146,60,0.5),
    0 0 40px rgba(251,146,60,0.3),
    0 0 20px rgba(251,146,60,0.4);
  
  transition: all var(--transition-base);
}

.soSensei__gaugeValue span {
  font-size: 1.5rem;
  opacity: 0.6;
  margin-left: 6px;
  font-weight: 600;
}

/* Gauge Status Badge */
.soSensei__gaugeLabel {
  position: absolute;
  bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(16,185,129,1);
  
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.35);
  border-radius: 16px;
  padding: 6px 14px;
  
  box-shadow: 
    0 4px 12px rgba(16,185,129,0.25),
    0 0 20px rgba(16,185,129,0.15),
    inset 0 1px 0 rgba(255,255,255,0.2);
  
  z-index: 10;
  transition: all var(--transition-base);
}

.soSensei__gauge:hover .soSensei__gaugeLabel {
  background: rgba(16,185,129,0.25);
  border-color: rgba(16,185,129,0.5);
  
  box-shadow: 
    0 6px 20px rgba(16,185,129,0.35),
    0 0 32px rgba(16,185,129,0.25),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.soSensei__metricBadge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  min-width: 140px;
}

.soSensei__metricBadgeLabel {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.7);
  margin-bottom: 4px;
}

.soSensei__metricBadgeValue {
  font-size: 28px;
  font-weight: 700;
  color: #e5e7eb;
  line-height: 1;
  margin-bottom: 4px;
}

.soSensei__metricBadgeValue span {
  font-size: 14px;
  opacity: 0.7;
}

.soSensei__metricBadgeGrade {
  font-size: 12px;
  font-weight: 600;
  color: rgba(226,232,240,0.8);
}

.soSensei__metricsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.soSensei__metricCard {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.soSensei__metricHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.soSensei__metricSub {
  font-size: 12px;
  color: rgba(226,232,240,0.75);
}

.soSensei__metricLabel {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(226,232,240,0.7);
}

.soSensei__metricValue {
  font-size: 12px;
  font-weight: 700;
  color: #e5e7eb;
}

.soSensei__metricValue.is-excellent { color: #22c55e; }
.soSensei__metricValue.is-good { color: #22c55e; }
.soSensei__metricValue.is-mid { color: #fb923c; }
.soSensei__metricValue.is-warn { color: #fb923c; }
.soSensei__metricValue.is-critical { color: #ef4444; }

.soSensei__metricBar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.soSensei__metricFill {
  height: 100%;
  background: currentColor;
  transition: width 0.3s ease;
}

.soSensei__barBoard {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
}

.soSensei__barBoardY {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  color: rgba(226,232,240,0.7);
  text-align: right;
}

.soSensei__barBoardBars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16px, 1fr));
  gap: 6px;
  align-items: end;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.soSensei__barBoardBar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.soSensei__barBoardFill {
  width: 100%;
  min-height: 6px;
  background: linear-gradient(180deg, rgba(59,130,246,0.8), rgba(59,130,246,0.35));
  border-radius: 4px 4px 0 0;
}

.soSensei__barBoardX {
  font-size: 10px;
  color: rgba(226,232,240,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.soSensei__spark {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 64px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.soSensei__sparkBar {
  flex: 1;
  display: block;
  width: 6px;
  background: linear-gradient(180deg, rgba(251,146,60,0.85), rgba(251,146,60,0.35));
  border-radius: 3px 3px 0 0;
}

.soSensei__roasStats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.soSensei__roasChart {
  margin-bottom: 18px;
}

/* Feste Höhe nötig, damit Balken-Höhen in % (Y-Skala) einen Bezug haben – sonst nur Striche */
/* ROAS Chart Container - Premium data visualization surface */
.soSensei__roasChartWrap {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border-radius: 14px;
  
  background: linear-gradient(135deg,
    rgba(255,255,255,0.06) 0%,
    rgba(255,255,255,0.04) 100%);
  
  border: 1px solid rgba(255,255,255,0.10);
  min-height: 200px;
  
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 2px 8px rgba(0,0,0,0.12);
  
  position: relative;
  overflow: hidden;
}

/* Ambient glow overlay */
.soSensei__roasChartWrap::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(
    ellipse at top left,
    rgba(16,185,129,0.08) 0%,
    rgba(16,185,129,0.03) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.soSensei__roasY {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  color: rgba(226,232,240,0.8);
  text-align: right;
  min-height: 200px;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
}

/* Container mit fester Höhe: Balken height:X% bezieht sich darauf, Graph „bewegt“ sich mit Daten */
.soSensei__roasBars {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
  height: 200px;
  min-height: 200px;
  position: relative;
  z-index: 1;
}

.soSensei__roasBar {
  min-width: 8px;
  min-height: 4px;
  background: linear-gradient(180deg, rgba(251,146,60,0.9), rgba(251,146,60,0.4));
  border-radius: 4px 4px 0 0;
  align-self: flex-end;
}

.soSensei__roasX {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-size: 10px;
  color: rgba(226,232,240,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 4px 0;
}

.soSensei__roasStat {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.soSensei__roasStatLabel {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(226,232,240,0.7);
  margin-bottom: 4px;
}

.soSensei__roasStatValue {
  font-size: 16px;
  font-weight: 700;
  color: #e5e7eb;
}

.soSensei__roasStatDelta {
  font-size: 11px;
  color: rgba(226,232,240,0.65);
}

.soSensei__roasStatDelta.is-positive { color: #22c55e; }
.soSensei__roasStatDelta.is-negative { color: #ef4444; }
.soSensei__roasStatDelta.is-neutral { color: rgba(226,232,240,0.65); }

.soSensei__aiSection {
  padding: 18px 20px;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, 
    rgba(16,185,129,0.08) 0%, 
    rgba(16,185,129,0.04) 100%);
  border-left: 3px solid rgba(16,185,129,0.6);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-top: 16px;
  margin-bottom: 20px;
  box-shadow: 
    0 4px 12px rgba(16,185,129,0.08),
    -2px 0 12px rgba(16,185,129,0.12),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.soSensei__aiSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    rgba(16,185,129,0.4) 0%, 
    rgba(16,185,129,0.2) 50%, 
    transparent 100%);
  pointer-events: none;
}

.soSensei__aiSection:hover {
  border-left-color: rgba(16,185,129,0.8);
  box-shadow: 
    0 6px 20px rgba(16,185,129,0.12),
    -3px 0 18px rgba(16,185,129,0.2),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.soSensei__aiContent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.soSensei__aiIcon {
  font-size: 16px;
  margin-top: 2px;
}

.soSensei__aiRecommendation {
  flex: 1;
}

.soSensei__aiTitle {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fb923c;
  margin-bottom: 4px;
}

.soSensei__aiText {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(226,232,240,0.9);
}

.soSensei__nextSteps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--border-radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
}

.soSensei__nextStepsLabel {
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
  color: rgba(226,232,240,0.75);
  margin-bottom: 6px;
}

.soSensei__nextStep {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--font-size-xs);
  color: rgba(226,232,240,0.85);
  line-height: 1.5;
  transition: all var(--transition-fast);
}

.soSensei__nextStep:hover {
  color: rgba(226,232,240,1);
  transform: translateX(2px);
}

.soSensei__stepNumber {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    rgba(251,146,60,0.28) 0%, 
    rgba(251,146,60,0.18) 100%);
  color: rgba(251,146,60,1);
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
  border: 1px solid rgba(251,146,60,0.4);
  box-shadow: 
    0 2px 6px rgba(251,146,60,0.15),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all var(--transition-fast);
}

.soSensei__nextStep:hover .soSensei__stepNumber {
  background: linear-gradient(135deg, 
    rgba(251,146,60,0.4) 0%, 
    rgba(251,146,60,0.28) 100%);
  border-color: rgba(251,146,60,0.6);
  box-shadow: 
    0 4px 10px rgba(251,146,60,0.25),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.soSensei__stepText {
  flex: 1;
  line-height: 1.4;
}

.soSensei__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.soSensei__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  box-shadow: 
    0 2px 6px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.soSensei__btn--blue {
  background: linear-gradient(135deg, 
    rgba(59,130,246,0.24) 0%, 
    rgba(59,130,246,0.18) 100%);
  color: rgba(96,165,250,1);
  border-color: rgba(59,130,246,0.35);
  text-shadow: 0 0 8px rgba(59,130,246,0.2);
}

.soSensei__btn--blue:hover {
  background: linear-gradient(135deg, 
    rgba(59,130,246,0.35) 0%, 
    rgba(59,130,246,0.28) 100%);
  border-color: rgba(59,130,246,0.6);
  box-shadow: 
    0 4px 12px rgba(59,130,246,0.25),
    0 0 20px rgba(59,130,246,0.15),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.soSensei__btn--blue:active {
  transform: translateY(0) scale(0.97);
  transition: transform 80ms cubic-bezier(0.4, 0, 0.2, 1);
}

.soSensei__btn--purple {
  background: linear-gradient(135deg, 
    rgba(139,92,246,0.24) 0%, 
    rgba(139,92,246,0.18) 100%);
  color: rgba(168,85,247,1);
  border-color: rgba(139,92,246,0.35);
  text-shadow: 0 0 8px rgba(139,92,246,0.2);
}

.soSensei__btn--purple:hover {
  background: linear-gradient(135deg, 
    rgba(139,92,246,0.35) 0%, 
    rgba(139,92,246,0.28) 100%);
  border-color: rgba(139,92,246,0.6);
  box-shadow: 
    0 4px 12px rgba(139,92,246,0.25),
    0 0 20px rgba(139,92,246,0.15),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.soSensei__btn--purple:active {
  transform: translateY(0) scale(0.97);
  transition: transform 80ms cubic-bezier(0.4, 0, 0.2, 1);
}

.soSensei__btn--cyan {
  background: linear-gradient(135deg, 
    rgba(6,182,212,0.24) 0%, 
    rgba(6,182,212,0.18) 100%);
  color: rgba(6,182,212,1);
  border-color: rgba(6,182,212,0.35);
  text-shadow: 0 0 8px rgba(6,182,212,0.2);
}

.soSensei__btn--cyan:hover {
  background: linear-gradient(135deg, 
    rgba(6,182,212,0.35) 0%, 
    rgba(6,182,212,0.28) 100%);
  border-color: rgba(6,182,212,0.6);
  box-shadow: 
    0 4px 12px rgba(6,182,212,0.25),
    0 0 20px rgba(6,182,212,0.15),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.soSensei__btn--cyan:active {
  transform: translateY(0) scale(0.97);
  transition: transform 80ms cubic-bezier(0.4, 0, 0.2, 1);
}

.soSensei__btn--green {
  background: linear-gradient(135deg, 
    rgba(34,197,94,0.24) 0%, 
    rgba(34,197,94,0.18) 100%);
  color: rgba(34,197,94,1);
  border-color: rgba(34,197,94,0.35);
  text-shadow: 0 0 8px rgba(34,197,94,0.2);
}

.soSensei__btn--green:hover {
  background: linear-gradient(135deg, 
    rgba(34,197,94,0.35) 0%, 
    rgba(34,197,94,0.28) 100%);
  border-color: rgba(34,197,94,0.6);
  box-shadow: 
    0 4px 12px rgba(34,197,94,0.25),
    0 0 20px rgba(34,197,94,0.15),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.soSensei__btn--green:active {
  transform: translateY(0) scale(0.97);
  transition: transform 80ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* Reports Actions and Summary */
.soReports__actions {
  display: flex;
  gap: 8px;
}

.soReports__btn {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(226,232,240,0.8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.soReports__btn--primary {
  background: rgba(251,146,60,0.18);
  border-color: rgba(251,146,60,0.35);
  color: rgba(251,146,60,0.95);
}

.soReports__btn:hover {
  background: rgba(251,146,60,0.15);
  border-color: rgba(251,146,60,0.3);
  color: #fb923c;
}

.soReports__btn:disabled,
.soReports__btn:disabled:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: rgba(226,232,240,0.4);
  cursor: not-allowed;
  box-shadow: none;
}

.soReports__summaryCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.soInsightWall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 14px 0 24px;
}

@media (max-width: 980px) {
  .soInsightWall {
    grid-template-columns: 1fr;
  }
}

.soInsightCard {
  position: relative;
  border-radius: var(--border-radius-lg);
  padding: 20px 20px 18px;
  background: linear-gradient(160deg, rgba(15,23,42,0.96), rgba(2,6,23,0.93));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 
    var(--shadow-lg),
    inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  transition: all var(--transition-base);
}

.soInsightCard:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 
    0 24px 56px rgba(2,6,23,0.65),
    inset 0 1px 0 rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}

.soInsightCard:active {
  transform: translateY(-2px) scale(0.99);
  transition-duration: var(--interaction-active);
}

.soInsightCard:focus { outline: none; }
.soInsightCard:focus-visible {
  outline: 2px solid rgba(251,146,60,0.8);
  outline-offset: 2px;
}

.soInsightCard::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  opacity: 0.35;
  pointer-events: none;
  background: radial-gradient(120px 120px at 20% 10%, rgba(255,255,255,0.14), transparent 60%),
              radial-gradient(220px 220px at 100% 0%, rgba(255,255,255,0.06), transparent 60%);
}

.soInsightCard__top {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.soInsightCard__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}

.soInsightCard__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.70);
  margin-bottom: 4px;
}

.soInsightCard__title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(248,250,252,0.92);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.soInsightCard__value {
  position: relative;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  color: #f8fafc;
  text-shadow: 0 12px 34px rgba(0,0,0,0.35);
}

.soInsightCard__meta {
  position: relative;
  font-size: 13px;
  color: rgba(226,232,240,0.70);
}

/* Accent tones */
.soInsightCard--winner {
  border-color: rgba(34,197,94,0.28);
}
.soInsightCard--winner .soInsightCard__icon {
  border-color: rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.14);
}
.soInsightCard--winner .soInsightCard__value {
  color: rgba(34,197,94,0.95);
}

.soInsightCard--scaler {
  border-color: rgba(59,130,246,0.28);
}
.soInsightCard--scaler .soInsightCard__icon {
  border-color: rgba(59,130,246,0.35);
  background: rgba(59,130,246,0.14);
}
.soInsightCard--scaler .soInsightCard__value {
  color: rgba(96,165,250,0.96);
}

.soInsightCard--warning {
  border-color: rgba(251,191,36,0.30);
}
.soInsightCard--warning .soInsightCard__icon {
  border-color: rgba(251,191,36,0.35);
  background: rgba(251,191,36,0.14);
}
.soInsightCard--warning .soInsightCard__value {
  color: rgba(251,191,36,0.96);
}

/* Ghost state */
.soInsightWall.is-ghost .soInsightCard {
  border-color: rgba(148,163,184,0.18);
  background: linear-gradient(160deg, rgba(15,23,42,0.70), rgba(2,6,23,0.65));
  box-shadow: 0 18px 44px rgba(2,6,23,0.35);
  filter: saturate(0.6);
}

.soInsightCard--ghost {
  animation: soGhostPulse 1.25s ease-in-out infinite;
}

.soInsightCard__ghostBlock {
  background: rgba(148,163,184,0.14);
  border-color: rgba(148,163,184,0.20);
}

.soInsightCard__ghostLine {
  height: 12px;
  border-radius: 999px;
  background: rgba(148,163,184,0.14);
  border: 1px solid rgba(148,163,184,0.18);
}

.soInsightCard--ghost .soInsightCard__label.soInsightCard__ghostLine { width: 84px; }
.soInsightCard--ghost .soInsightCard__title.soInsightCard__ghostLine { width: 70%; height: 14px; }
.soInsightCard--ghost .soInsightCard__value.soInsightCard__ghostLine { width: 52%; height: 38px; margin: 10px 0 10px; }
.soInsightCard--ghost .soInsightCard__meta.soInsightCard__ghostLine { width: 62%; }

@keyframes soGhostPulse {
  0% { opacity: 1; }
  50% { opacity: 0.45; }
  100% { opacity: 1; }
}

.soReports__ctaRow {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.soReports__empty {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 18px;
  margin: 14px 0 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
}

.soReports__emptyIcon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(148,163,184,0.10);
  border: 1px solid rgba(148,163,184,0.18);
}

.soReports__emptyTitle {
  font-weight: 700;
  color: rgba(226,232,240,0.92);
  margin-bottom: 2px;
}

.soReports__emptyText {
  font-size: 13px;
  color: rgba(226,232,240,0.72);
}

.soReports__summaryCard {
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.soReports__summaryLabel.is-accent {
  color: #fb923c;
  letter-spacing: 0.08em;
}

.soReports__summaryCard:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.soReports__summaryValue {
  font-size: 20px;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 4px;
}

.soReports__summaryLabel {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(226,232,240,0.7);
  letter-spacing: 0.05em;
}

.soReports__summaryText {
  font-size: 13px;
  color: rgba(226,232,240,0.82);
  margin: 6px 0;
}

.soReports__meta {
  font-size: 12px;
  color: rgba(226,232,240,0.75);
  margin: 2px 0;
}

.soReports__helper {
  font-size: 12px;
  color: rgba(226,232,240,0.6);
  margin: 6px 0 10px;
}

.soReports__summaryTop {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 6px;
}

.soReports__iconBubble {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(251,146,60,0.12);
  border: 1px solid rgba(251,146,60,0.25);
  font-size: 16px;
}

.soReports__divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  margin: 24px 0;
}

.soReports__rows {
  display: grid;
  gap: 0;
}

.soReports__rowsSet {
  display: none;
}

.soReports__rowsSet.is-active {
  display: block;
}

/* ============================================================================
   GLOBAL TYPOGRAPHY & RENDERING - ABSOLUTE QUALITY
   ============================================================================ */

/* Premium font rendering - nur innerhalb Dashboard-View (kein Leak auf andere Module) */
#dashboardView * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

/* Typography nur für Dashboard-Container */
#dashboardView {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

/* Tabular numbers for all numeric values */
.soKpiFocus__cardValue,
.soKpiSummary__cardValue,
.soWL__chipValue,
.soAO__count,
.soSensei__gaugeValue,
.soSensei__metricBadgeValue,
[data-numeric="true"] {
  font-variant-numeric: tabular-nums slashed-zero;
  font-feature-settings: 'tnum' 1, 'zero' 1;
}

/* Display typography (hero numbers, titles) */
.soDashboardHero__title,
.soKpiFocus__cardValue,
.soWL__title,
.soAO__count {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}

/* ============================================================================
   ELITE ANIMATION KEYFRAMES
   ============================================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes draw-line {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes glow-pulse {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes border-glow {
  0%, 100% {
    background-position: 0% 50%;
    filter: brightness(1) hue-rotate(0deg);
  }
  50% {
    background-position: 100% 50%;
    filter: brightness(1.2) hue-rotate(10deg);
  }
}

@keyframes rank-shimmer {
  0% { 
    transform: translateX(-100%); 
  }
  50%, 100% { 
    transform: translateX(200%); 
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes counter-orbit {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

/* Layout nur wenn Dashboard-View aktiv – volle Breite, kein max-width/margin, kein zentrierendes Padding auf Shell */
body:has(#dashboardView.is-active) .soDashboard {
  background: transparent;
  width: 100%;
  min-width: 0;
  animation: fadeIn 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dashboard-Modul: volle Breite, kein max-width */
.soModule--dashboard,
#dashboardView .view-content,
#dashboardView [data-module="dashboard"] {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.soDash__wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  background: transparent;
}

/* Hero Section Spacing */
.soDashboardHero {
  margin-bottom: 32px;
}

/* ============================================================================
   ABSOLUTE ELITE DESIGN SYSTEM - THE NEW STANDARD
   ============================================================================
   SignalOne.cloud - Performance Dashboard 2026
   Design Philosophy: Every pixel tells a story.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Spline+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* Custom Properties nur für Dashboard – kein :root-Leak */
#dashboardView {
  /* ========================================
     TYPOGRAPHY - ABSOLUTE REFINEMENT
     ======================================== */
  
  /* Font Families */
  --font-display: 'Spline Sans', 'Satoshi', 'Roobert', system-ui, sans-serif;
  --font-body: 'Spline Sans', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  
  /* Font Sizes - Refined Scale */
  --text-xs: 0.6875rem;     /* 11px - micro labels */
  --text-sm: 0.8125rem;     /* 13px - labels */
  --text-base: 0.9375rem;   /* 15px - body */
  --text-lg: 1.125rem;      /* 18px - lead */
  --text-xl: 1.375rem;      /* 22px - title */
  --text-2xl: 1.75rem;      /* 28px - heading */
  --text-3xl: 2.25rem;      /* 36px - display */
  --text-4xl: 3rem;         /* 48px - hero */
  --text-5xl: 4rem;         /* 64px - massive */
  
  /* ========================================
     SPACING SYSTEM - 4px BASE UNIT
     ======================================== */
  --spacing-unit: 4px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  
  /* ========================================
     BORDER RADIUS - CONSISTENT SYSTEM (Finish & Freeze)
     Ein Wert für alle Haupt-Zonen/Cards/Sections
     ======================================== */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  /* Aliase: Haupt-Zonen nutzen nur --radius-lg */
  --border-radius-sm: var(--radius-sm);
  --border-radius-md: var(--radius-lg);
  --border-radius-lg: var(--radius-lg);
  --border-radius-xl: var(--radius-lg);

  /* ========================================
     AKZENT-LINIE - eine definierte Linie (nutzt --accent-orange aus core)
     ======================================== */
  --accent-line: 2px solid var(--accent-orange);
  
  /* ========================================
     TRANSITIONS - PREMIUM FEEL (UX Polish: schnell, 60fps)
     ======================================== */
  --interaction-hover: 120ms;
  --interaction-active: 100ms;
  --reveal-duration: 180ms;
  --transition-instant: 100ms cubic-bezier(0.4, 0, 1, 1);
  --transition-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slower: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Named Easings */
  --ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.6, 1);
  --ease-bounce: cubic-bezier(0.68, -0.6, 0.32, 1.6);
  
  /* ========================================
     SHADOWS - MULTI-LAYERED DEPTH
     ======================================== */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.08);
  
  --shadow-sm: 
    0 2px 4px rgba(0,0,0,0.1),
    0 1px 2px rgba(0,0,0,0.06);
  
  --shadow-md: 
    0 4px 12px rgba(0,0,0,0.12),
    0 2px 4px rgba(0,0,0,0.08);
  
  --shadow-lg: 
    0 8px 24px rgba(0,0,0,0.15),
    0 4px 8px rgba(0,0,0,0.1);
  
  --shadow-xl: 
    0 16px 48px rgba(0,0,0,0.2),
    0 8px 16px rgba(0,0,0,0.12);
  
  --shadow-2xl: 
    0 24px 64px rgba(0,0,0,0.25),
    0 12px 24px rgba(0,0,0,0.15);
  
  /* ========================================
     COLOR GLOWS - EMOTIONAL IMPACT
     ======================================== */
  
  /* Emerald (Success, Revenue, Growth) */
  --glow-emerald: 
    0 0 20px rgba(16,185,129,0.3),
    0 0 40px rgba(16,185,129,0.15);
  
  --glow-emerald-intense: 
    0 0 30px rgba(16,185,129,0.5),
    0 0 60px rgba(16,185,129,0.3);
  
  /* Orange (Attention, Spend, Action) */
  --glow-orange: 
    0 0 20px rgba(249,115,22,0.3),
    0 0 40px rgba(249,115,22,0.15);
  
  --glow-orange-intense: 
    0 0 30px rgba(249,115,22,0.5),
    0 0 60px rgba(249,115,22,0.3);
  
  /* Blue (Trust, Data, Stability) */
  --glow-blue: 
    0 0 20px rgba(59,130,246,0.3),
    0 0 40px rgba(59,130,246,0.15);
  
  --glow-blue-intense: 
    0 0 30px rgba(59,130,246,0.5),
    0 0 60px rgba(59,130,246,0.3);
  
  /* Purple (Premium, Elite) */
  --glow-purple: 
    0 0 20px rgba(168,85,247,0.3),
    0 0 40px rgba(168,85,247,0.15);
  
  /* Cyan (Analytics, Reports) */
  --glow-cyan: 
    0 0 20px rgba(6,182,212,0.3),
    0 0 40px rgba(6,182,212,0.15);
  
  /* Gold (VIP, Premium Features) */
  --glow-gold:
    0 0 20px rgba(251,191,36,0.4),
    0 0 40px rgba(251,191,36,0.2);
  
  /* ========================================
     Z-INDEX SCALE - LAYERING SYSTEM
     ======================================== */
  --z-base: 1;
  --z-dropdown: 1000;
  --z-sticky: 1100;
  --z-fixed: 1200;
  --z-modal-backdrop: 1300;
  --z-modal: 1400;
  --z-popover: 1500;
  --z-tooltip: 1600;
}

/* ============================================================================
   KPI-ZONE STYLES (KANON-KONFORM)
   ============================================================================ */

.soKpiSummary,
.soKpiOverview,
.soKpiSeries {
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}

.soKpiSummary__head,
.soKpiOverview__head,
.soKpiSeries__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.soKpiSummary__kicker,
.soKpiOverview__kicker,
.soKpiSeries__kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.65);
  margin-bottom: 6px;
}

.soKpiSummary__title,
.soKpiOverview__title,
.soKpiSeries__title {
  font-size: 20px;
  font-weight: 750;
  color: rgba(248,250,252,0.92);
  margin: 0;
}

/* KPI Summary Grid */
.soKpiSummary__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

@media (min-width: 1200px) {
  .soKpiSummary__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* KPI Summary Cards */
.soKpiSummary__card {
  border-radius: var(--radius-lg);
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(2,6,23,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.soKpiSummary__card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 12px 32px rgba(2,6,23,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

.soKpiSummary__card:active {
  transform: translateY(0) scale(0.99);
  transition-duration: var(--interaction-active);
}

.soKpiSummary__card:focus { outline: none; }
.soKpiSummary__card:focus-visible {
  outline: 2px solid rgba(251,146,60,0.8);
  outline-offset: 2px;
}

.soKpiSummary__cardHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.soKpiSummary__cardLabel {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.8);
}

.soKpiSummary__cardValue {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f8fafc;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Trend Indicator (Primary KPIs) */
.soKpiSummary__trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 650;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid transparent;
}

.soKpiSummary__trendArrow {
  font-size: 12px;
  line-height: 1;
}

.soKpiSummary__trendValue {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.soKpiSummary__trend.is-positive {
  color: rgba(34,197,94,0.95);
  border-color: rgba(34,197,94,0.25);
  background: rgba(34,197,94,0.1);
}

.soKpiSummary__trend.is-negative {
  color: rgba(239,68,68,0.95);
  border-color: rgba(239,68,68,0.25);
  background: rgba(239,68,68,0.1);
}

.soKpiSummary__trend.is-neutral {
  color: rgba(148,163,184,0.85);
  border-color: rgba(148,163,184,0.2);
  background: rgba(148,163,184,0.05);
}

/* Delta Indicator (Derived KPIs) */
.soKpiSummary__cardDelta {
  margin-top: 4px;
}

.soKpiSummary__delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 650;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid transparent;
}

.soKpiSummary__deltaArrow {
  font-size: 14px;
  line-height: 1;
}

.soKpiSummary__deltaValue {
  font-size: 13px;
  letter-spacing: 0.02em;
}

.soKpiSummary__delta.is-positive {
  color: rgba(34,197,94,0.95);
  border-color: rgba(34,197,94,0.25);
  background: rgba(34,197,94,0.1);
}

.soKpiSummary__delta.is-negative {
  color: rgba(239,68,68,0.95);
  border-color: rgba(239,68,68,0.25);
  background: rgba(239,68,68,0.1);
}

.soKpiSummary__delta.is-neutral {
  color: rgba(148,163,184,0.85);
  border-color: rgba(148,163,184,0.2);
  background: rgba(148,163,184,0.05);
}

/* Primary Chart */
.soKpiSummary__cardChart {
  margin-top: 8px;
  height: 60px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(2,6,23,0.6);
  overflow: hidden;
  position: relative;
}

.soKpiSummary__chart {
  width: 100%;
  height: 100%;
  display: block;
}

.soKpiSummary__chartEmpty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(148,163,184,0.6);
  background: rgba(2,6,23,0.4);
}

.soKpiSeries__sub {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(226,232,240,0.65);
}

.soKpiOverview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.soKpiSeries__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.soKpiCard,
.soChartCard {
  border-radius: 18px;
  padding: 16px 16px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 34px rgba(2,6,23,0.35);
}

.soKpiCard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.soKpiCard__label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.75);
}

.soKpiCard__statusDot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148,163,184,0.6);
  box-shadow: 0 0 0 4px rgba(148,163,184,0.08);
}

.soKpiCard.is-good .soKpiCard__statusDot { background: rgba(34,197,94,0.8); box-shadow: 0 0 0 4px rgba(34,197,94,0.12); }
.soKpiCard.is-ok .soKpiCard__statusDot { background: rgba(59,130,246,0.75); box-shadow: 0 0 0 4px rgba(59,130,246,0.12); }
.soKpiCard.is-mid .soKpiCard__statusDot { background: rgba(251,191,36,0.85); box-shadow: 0 0 0 4px rgba(251,191,36,0.12); }
.soKpiCard.is-warn .soKpiCard__statusDot { background: rgba(249,115,22,0.85); box-shadow: 0 0 0 4px rgba(249,115,22,0.12); }
.soKpiCard.is-critical .soKpiCard__statusDot { background: rgba(239,68,68,0.85); box-shadow: 0 0 0 4px rgba(239,68,68,0.12); }

.soKpiCard__value {
  margin-top: 10px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f8fafc;
  line-height: 1.05;
}

.soKpiCard__delta {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 650;
  color: rgba(226,232,240,0.65);
}

.soKpiCard__delta.is-up { color: rgba(34,197,94,0.95); }
.soKpiCard__delta.is-down { color: rgba(239,68,68,0.95); }

.soKpiCard__spark {
  margin-top: 12px;
  position: relative;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(2,6,23,0.55);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.soSpark {
  width: 100%;
  height: 100%;
  display: block;
}

.soKpiOverview__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: rgba(226,232,240,0.6);
  background: rgba(2,6,23,0.45);
}

.soChartCard__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.soChartCard__title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(248,250,252,0.92);
}

.soChartCard__meta {
  font-size: 12px;
  color: rgba(226,232,240,0.65);
}

.soChartCard__canvas {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.soChart {
  width: 100%;
  height: 140px;
  display: block;
}

.soChartCard__empty,
.soKpiSeries__note {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(226,232,240,0.65);
}

.soKpiZone {
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}

/* ============================================================================
   KPI FOCUS ANALYSIS ZONE – gleiche Farben wie Performance Analyse + AI Empfehlungen
   ============================================================================ */

/* Zone: Premium gradient with depth and subtle animation */
.soKpiFocus {
  margin-top: 0;
  margin-bottom: var(--space-8);
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, 
    rgba(51,65,85,0.95) 0%, 
    rgba(30,41,59,0.92) 50%,
    rgba(15,23,42,0.93) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 
    var(--shadow-lg),
    0 0 40px rgba(59,130,246,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.soKpiFocus::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.3) 50%, 
    transparent 100%);
  pointer-events: none;
}

/* Loading ≠ Stillstand: subtiler Shimmer wenn Daten neu kommen */
.soKpiFocus.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.03) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s linear infinite;
  pointer-events: none;
}

/* 8 KPI cards, 2 rows × 4 columns, equal size */
.soKpiFocus__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ============================================================================
   KPI CARDS - DATA AS ART (REVOLUTIONARY)
   ============================================================================ */

.soKpiFocus__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 140px;
  padding: 24px;
  border-radius: var(--radius-lg);
  
  /* Multi-layer background complexity */
  background: 
    radial-gradient(circle at top right, rgba(255,255,255,0.08) 0%, transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%),
    rgba(15,23,42,0.3);
  
  border: 1px solid rgba(255,255,255,0.12);
  
  box-shadow: 
    var(--shadow-lg),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 1px 2px rgba(255,255,255,0.05) inset;
  
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}

.soKpiFocus__card:active {
  transform: translateY(-2px) scale(0.99);
  transition-duration: var(--interaction-active);
}

.soKpiFocus__card:focus {
  outline: none;
}

.soKpiFocus__card:focus-visible {
  outline: 2px solid rgba(251,146,60,0.8);
  outline-offset: 2px;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(251,146,60,0.15);
}

.soKpiFocus__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.3) 50%, 
    transparent 100%);
  pointer-events: none;
}

/* KPI Type-Specific Colors & Glows - EMOTIONAL IMPACT */

/* Revenue & Profit - Emerald (Success, Growth) */
.soKpiFocus__card--kpi-green {
  background: 
    radial-gradient(circle at top right, rgba(34,197,94,0.12) 0%, transparent 60%),
    linear-gradient(135deg, rgba(34,197,94,0.08) 0%, rgba(16,185,129,0.04) 100%),
    rgba(15,23,42,0.3);
  
  border-color: rgba(34,197,94,0.25);
  
  box-shadow: 
    var(--shadow-md),
    0 0 24px rgba(34,197,94,0.12),
    0 0 0 1px rgba(34,197,94,0.2) inset,
    0 1px 2px rgba(255,255,255,0.08) inset;
}
/* Spend & CPA - Orange (Attention, Action) */
.soKpiFocus__card--kpi-orange {
  background: 
    radial-gradient(circle at top right, rgba(251,146,60,0.12) 0%, transparent 60%),
    linear-gradient(135deg, rgba(251,146,60,0.08) 0%, rgba(249,115,22,0.04) 100%),
    rgba(15,23,42,0.3);
  
  border-color: rgba(251,146,60,0.28);
  
  box-shadow: 
    var(--shadow-md),
    0 0 24px rgba(251,146,60,0.12),
    0 0 0 1px rgba(251,146,60,0.22) inset,
    0 1px 2px rgba(255,255,255,0.08) inset;
}

/* CTR & ROAS - Blue (Trust, Data) */
.soKpiFocus__card--kpi-blue {
  background: 
    radial-gradient(circle at top right, rgba(59,130,246,0.12) 0%, transparent 60%),
    linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(37,99,235,0.04) 100%),
    rgba(15,23,42,0.3);
  
  border-color: rgba(59,130,246,0.28);
  
  box-shadow: 
    var(--shadow-md),
    0 0 24px rgba(59,130,246,0.12),
    0 0 0 1px rgba(59,130,246,0.22) inset,
    0 1px 2px rgba(255,255,255,0.08) inset;
}

/* Conversions - Slate (Neutral, Data) */
.soKpiFocus__card--kpi-gray {
  background: 
    radial-gradient(circle at top right, rgba(148,163,184,0.08) 0%, transparent 60%),
    linear-gradient(135deg, rgba(148,163,184,0.06) 0%, rgba(100,116,139,0.03) 100%),
    rgba(15,23,42,0.3);
  
  border-color: rgba(148,163,184,0.2);
  
  box-shadow: 
    var(--shadow-md),
    0 0 20px rgba(100,116,139,0.08),
    0 0 0 1px rgba(148,163,184,0.15) inset,
    0 1px 2px rgba(255,255,255,0.06) inset;
}

/* ============================================================================
   KPI CARD HOVER STATES - EPIC TRANSFORMATION
   ============================================================================ */

/* Emerald Cards - SUCCESS GLOW */
.soKpiFocus__card:hover.soKpiFocus__card--kpi-green { 
  transform: translateY(-4px) scale(1.008) rotateX(2deg);
  border-color: rgba(34,197,94,0.6);
  
  box-shadow: 
    0 16px 48px rgba(34,197,94,0.2),
    0 8px 24px rgba(0,0,0,0.15),
    0 0 40px rgba(34,197,94,0.15),
    0 0 0 1px rgba(34,197,94,0.4) inset,
    0 2px 4px rgba(255,255,255,0.1) inset;
  
  background: 
    radial-gradient(circle at top right, rgba(34,197,94,0.16) 0%, transparent 60%),
    linear-gradient(135deg, rgba(34,197,94,0.1) 0%, rgba(16,185,129,0.06) 100%),
    rgba(15,23,42,0.3);
}

/* Orange Cards - ATTENTION GLOW */
.soKpiFocus__card:hover.soKpiFocus__card--kpi-orange { 
  transform: translateY(-4px) scale(1.008) rotateX(2deg);
  border-color: rgba(251,146,60,0.6);
  
  box-shadow: 
    0 16px 48px rgba(251,146,60,0.2),
    0 8px 24px rgba(0,0,0,0.15),
    0 0 40px rgba(251,146,60,0.15),
    0 0 0 1px rgba(251,146,60,0.4) inset,
    0 2px 4px rgba(255,255,255,0.1) inset;
  
  background: 
    radial-gradient(circle at top right, rgba(251,146,60,0.16) 0%, transparent 60%),
    linear-gradient(135deg, rgba(251,146,60,0.1) 0%, rgba(249,115,22,0.06) 100%),
    rgba(15,23,42,0.3);
}

/* Blue Cards - TRUST GLOW */
.soKpiFocus__card:hover.soKpiFocus__card--kpi-blue { 
  transform: translateY(-4px) scale(1.008) rotateX(2deg);
  border-color: rgba(59,130,246,0.6);
  
  box-shadow: 
    0 16px 48px rgba(59,130,246,0.2),
    0 8px 24px rgba(0,0,0,0.15),
    0 0 40px rgba(59,130,246,0.15),
    0 0 0 1px rgba(59,130,246,0.4) inset,
    0 2px 4px rgba(255,255,255,0.1) inset;
  
  background: 
    radial-gradient(circle at top right, rgba(59,130,246,0.16) 0%, transparent 60%),
    linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(37,99,235,0.06) 100%),
    rgba(15,23,42,0.3);
}

/* Gray Cards - NEUTRAL LIFT */
.soKpiFocus__card:hover.soKpiFocus__card--kpi-gray { 
  transform: translateY(-4px) scale(1.008) rotateX(2deg);
  border-color: rgba(148,163,184,0.35);
  
  box-shadow: 
    0 16px 44px rgba(100,116,139,0.15),
    0 8px 20px rgba(0,0,0,0.12),
    0 0 36px rgba(148,163,184,0.08),
    0 0 0 1px rgba(148,163,184,0.25) inset,
    0 2px 4px rgba(255,255,255,0.08) inset;
  
  background: 
    radial-gradient(circle at top right, rgba(148,163,184,0.12) 0%, transparent 60%),
    linear-gradient(135deg, rgba(148,163,184,0.08) 0%, rgba(100,116,139,0.04) 100%),
    rgba(15,23,42,0.3);
}

/* Delta-based overlay gradients (layered on top of KPI type colors) */
.soKpiFocus__card--positive {
  background: linear-gradient(135deg, 
    rgba(34,197,94,0.12) 0%, 
    rgba(255,255,255,0.08) 50%,
    rgba(16,185,129,0.08) 100%);
}

.soKpiFocus__card--negative {
  background: linear-gradient(135deg, 
    rgba(239,68,68,0.12) 0%, 
    rgba(255,255,255,0.08) 50%,
    rgba(220,38,38,0.08) 100%);
}

.soKpiFocus__card--zero,
.soKpiFocus__card--neutral {
  background: linear-gradient(135deg, 
    rgba(148,163,184,0.08) 0%, 
    rgba(255,255,255,0.08) 50%,
    rgba(100,116,139,0.06) 100%);
}

/* Thick accent bar with glow – only when comparison exists, color by delta */
.soKpiFocus__cardAccent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 12px 0 0 12px;
  pointer-events: none;
  transition: width 0.2s ease;
}

.soKpiFocus__cardAccent.is-positive {
  background: linear-gradient(180deg, 
    rgba(34,197,94,0.95) 0%, 
    rgba(16,185,129,0.85) 100%);
  box-shadow: 
    0 0 8px rgba(34,197,94,0.5),
    inset 0 0 2px rgba(255,255,255,0.4);
}

.soKpiFocus__cardAccent.is-negative {
  background: linear-gradient(180deg, 
    rgba(239,68,68,0.95) 0%, 
    rgba(220,38,38,0.85) 100%);
  box-shadow: 
    0 0 8px rgba(239,68,68,0.5),
    inset 0 0 2px rgba(255,255,255,0.4);
}

.soKpiFocus__cardAccent.is-zero,
.soKpiFocus__cardAccent.is-neutral {
  background: linear-gradient(180deg, 
    rgba(148,163,184,0.8) 0%, 
    rgba(100,116,139,0.7) 100%);
  box-shadow: 
    0 0 6px rgba(148,163,184,0.4),
    inset 0 0 2px rgba(255,255,255,0.3);
}

.soKpiFocus__card:hover .soKpiFocus__cardAccent {
  width: 4px;
}

.soKpiFocus__cardHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.soKpiFocus__cardHeadRight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.soKpiFocus__card:hover .soKpiFocus__cardBadge {
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.16) 0%, 
    rgba(255,255,255,0.10) 100%);
  border-color: rgba(255,255,255,0.25);
  color: rgba(226,232,240,1);
}

/* KPI badge top-right: TOTAL, AVG, PER DAY, PER HOUR – subtle but visible */
.soKpiFocus__cardBadge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 4px;
  color: rgba(203,213,225,0.95);
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.12) 0%, 
    rgba(255,255,255,0.08) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 
    0 1px 3px rgba(0,0,0,0.15),
    inset 0 0.5px 0 rgba(255,255,255,0.25);
}

/* ============================================================================
   SPARKLINES - CHARTS AS VISUAL POETRY
   ============================================================================ */

.soKpiFocus__cardSparkline {
  width: 100%;
  min-height: 96px;
  height: 96px;
  margin-top: 16px;
  padding: 10px;
  border-radius: var(--radius-lg);
  
  background: 
    linear-gradient(135deg, 
      rgba(0,0,0,0.3) 0%, 
      rgba(0,0,0,0.15) 100%),
    rgba(2,6,23,0.4);
  
  border: 1px solid rgba(0,0,0,0.2);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-base);
  
  box-shadow: 
    inset 0 2px 8px rgba(0,0,0,0.2),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

/* Sparkline hover - Intensity boost */
.soKpiFocus__card:hover .soKpiFocus__cardSparkline {
  background: 
    linear-gradient(135deg, 
      rgba(0,0,0,0.35) 0%, 
      rgba(0,0,0,0.18) 100%),
    rgba(2,6,23,0.5);
  
  border-color: rgba(0,0,0,0.3);
  
  box-shadow: 
    inset 0 2px 10px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}

.soKpiFocus__sparklineInner {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
}

.soKpiFocus__sparklineChart {
  flex: 1;
  min-width: 0;
  height: 100%;
}

.soKpiFocus__sparklineChart .soChartPrimitive {
  display: block;
  width: 100%;
  height: 100%;
}

/* NOW Indicator - Pulsing Live Status */
.soKpiFocus__sparklineNow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148,163,184,1);
  background: rgba(255,255,255,0.1);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
  position: relative;
  
  box-shadow: 
    0 2px 6px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.15);
  
  animation: nowBlink 2s ease-in-out infinite;
  transition: all var(--transition-base);
}

/* Pulsing dot before "NOW" */
.soKpiFocus__sparklineNow::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(16,185,129,1);
  
  box-shadow: 
    0 0 0 0 rgba(16,185,129,0.7),
    0 0 8px rgba(16,185,129,0.5);
  
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 
      0 0 0 0 rgba(16,185,129,0.7),
      0 0 8px rgba(16,185,129,0.5);
  }
  50% {
    box-shadow: 
      0 0 0 6px rgba(16,185,129,0),
      0 0 16px rgba(16,185,129,0.8);
  }
}

.soKpiFocus__cardSparkline .soChartPrimitive {
  display: block;
  width: 100%;
  height: 100%;
}

.soKpiFocus__sparklineAverageWrap {
  display: block;
  position: relative;
  width: 100%;
  height: 96px;
}

.soKpiFocus__sparklineAverageWrap .soChartPrimitive {
  display: block;
  width: 100%;
  height: 100%;
}

.soKpiFocus__sparklineAverageLabel {
  position: absolute;
  bottom: 4px;
  left: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.9);
  background: rgba(0,0,0,0.25);
  padding: 2px 4px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}


/* KPI title: 16px, font-weight 600 – clear and prominent */
.soKpiFocus__cardLabel {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(241,245,249,0.98);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  flex: 1;
  min-width: 0;
}

/* Period label: 11px – subtle but visible */
.soKpiFocus__cardChartLabel {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.85);
  margin-top: 2px;
}

.soKpiFocus__cardValueWrap {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
}

/* Delta text below KPI value: "+12% vs. Vorperiode" – vibrant and clear */
.soKpiFocus__deltaVsPrevious {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.soKpiFocus__deltaVsPrevious.is-positive { 
  color: rgba(34,197,94,0.98); 
  text-shadow: 0 0 8px rgba(34,197,94,0.2);
}
.soKpiFocus__deltaVsPrevious.is-negative { 
  color: rgba(239,68,68,0.98); 
  text-shadow: 0 0 8px rgba(239,68,68,0.2);
}
.soKpiFocus__deltaVsPrevious.is-neutral,
.soKpiFocus__deltaVsPrevious.is-zero { 
  color: rgba(148,163,184,0.92); 
}

/* ============================================================================
   KPI VALUES - NUMBERS AS VISUAL STATEMENTS
   ============================================================================ */

.soKpiFocus__cardValue {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums slashed-zero;
  color: rgba(248,250,252,1);
  
  text-shadow: 
    0 2px 8px rgba(0,0,0,0.25),
    0 0 24px rgba(255,255,255,0.1);
  
  transition: all var(--transition-base);
  animation: countUp 500ms var(--ease-smooth) backwards;
}

/* Neutral State - Clean white */
.soKpiFocus__cardValue.is-neutral {
  color: rgba(248,250,252,1);
  text-shadow: 
    0 2px 8px rgba(0,0,0,0.25),
    0 0 20px rgba(255,255,255,0.08);
}

/* Zero State - Muted */
.soKpiFocus__cardValue.is-zero {
  color: rgba(148,163,184,0.95);
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Positive Trend - EMERALD GLOW */
.soKpiFocus__cardValue.is-positive {
  color: rgba(34,197,94,1);
  text-shadow: 
    0 2px 8px rgba(34,197,94,0.4),
    0 0 32px rgba(34,197,94,0.25),
    0 0 16px rgba(34,197,94,0.35);
}

/* Negative Trend - RED GLOW */
.soKpiFocus__cardValue.is-negative {
  color: rgba(239,68,68,1);
  text-shadow: 
    0 2px 8px rgba(239,68,68,0.4),
    0 0 32px rgba(239,68,68,0.25),
    0 0 16px rgba(239,68,68,0.35);
}

/* Card hover - Value pop animation */
.soKpiFocus__card:hover .soKpiFocus__cardValue {
  animation: valuePop 500ms var(--ease-bounce);
}

/* Delta-Badge oben rechts der Karte – nur bei Vergleich, dezent */
.soKpiFocus__cardDelta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.soKpiFocus__deltaBadge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 3px 7px;
  border-radius: 5px;
  color: #9CA3AF;
  transition: all 0.2s ease;
  cursor: default;
}

.soKpiFocus__card:hover .soKpiFocus__deltaBadge.is-positive {
  box-shadow: 
    0 3px 8px rgba(34,197,94,0.4),
    inset 0 1px 0 rgba(255,255,255,0.3);
  transform: scale(1.05);
}

.soKpiFocus__card:hover .soKpiFocus__deltaBadge.is-negative {
  box-shadow: 
    0 3px 8px rgba(239,68,68,0.4),
    inset 0 1px 0 rgba(255,255,255,0.3);
  transform: scale(1.05);
}

/* ============================================================================
   DELTA BADGES - EMOTIONAL INDICATORS
   ============================================================================ */

/* Positive Delta - EMERALD GLORY */
.soKpiFocus__deltaBadge.is-positive {
  color: rgba(255,255,255,1);
  background: linear-gradient(135deg, 
    rgba(34,197,94,0.95) 0%, 
    rgba(16,185,129,0.85) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease-in-out infinite;
  border: 1px solid rgba(34,197,94,0.7);
  
  box-shadow: 
    0 4px 12px rgba(34,197,94,0.35),
    0 0 24px rgba(34,197,94,0.25),
    0 0 0 3px rgba(34,197,94,0.15),
    inset 0 1px 0 rgba(255,255,255,0.3);
  
  font-weight: 700;
  transition: all var(--transition-base);
}

/* Negative Delta - RED INTENSITY */
.soKpiFocus__deltaBadge.is-negative {
  color: rgba(255,255,255,1);
  background: linear-gradient(135deg, 
    rgba(239,68,68,0.95) 0%, 
    rgba(220,38,38,0.85) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease-in-out infinite;
  border: 1px solid rgba(239,68,68,0.7);
  
  box-shadow: 
    0 4px 12px rgba(239,68,68,0.35),
    0 0 24px rgba(239,68,68,0.25),
    0 0 0 3px rgba(239,68,68,0.15),
    inset 0 1px 0 rgba(255,255,255,0.3);
  
  font-weight: 700;
  transition: all var(--transition-base);
}

/* Neutral/Zero Delta - SUBTLE */
.soKpiFocus__deltaBadge.is-neutral,
.soKpiFocus__deltaBadge.is-zero {
  color: rgba(203,213,225,1);
  background: linear-gradient(135deg, 
    rgba(148,163,184,0.35) 0%, 
    rgba(100,116,139,0.28) 100%);
  border: 1px solid rgba(148,163,184,0.45);
  
  box-shadow: 
    0 2px 6px rgba(100,116,139,0.15),
    0 0 0 2px rgba(148,163,184,0.1),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

/* 2) KPI VALUE HEADER */
.soKpiFocus__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.soKpiFocus__headerLabel {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.75);
}

.soKpiFocus__headerValue {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f8fafc;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.soKpiFocus__headerDelta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.soKpiFocus__arrow {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.soKpiFocus__arrow.is-positive {
  color: rgba(34,197,94,0.95);
}

.soKpiFocus__arrow.is-negative {
  color: rgba(239,68,68,0.95);
}

.soKpiFocus__arrow.is-neutral {
  color: rgba(148,163,184,0.7);
}

/* 3) KPI VISUALIZATION AREA */
.soKpiFocus__visualization {
  min-height: 200px;
}

/* A) TIME-BASED: LINE CHART */
.soKpiFocus__chart {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(2,6,23,0.6);
  overflow: hidden;
  padding: 16px;
  box-sizing: border-box;
}

.soKpiFocus__chartUnit {
  display: block;
  font-size: 11px;
  color: rgba(148,163,184,0.7);
  font-family: system-ui, sans-serif;
  margin-bottom: 6px;
}

.soKpiFocus__chartSvg {
  width: 100%;
  height: 100%;
  display: block;
}

/* B) DERIVED: FILL BAR */
.soKpiFocus__derived {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.soKpiFocus__fillBar {
  width: 100%;
}

.soKpiFocus__fillBarTrack {
  width: 100%;
  height: 32px;
  border-radius: 16px;
  background: rgba(2,6,23,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}

.soKpiFocus__fillBarFill {
  height: 100%;
  background: linear-gradient(90deg, rgba(251,146,60,0.8), rgba(251,146,60,0.6));
  border-radius: 16px;
  transition: width 0.3s ease;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.1);
}

.soKpiFocus__derivedDelta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(226,232,240,0.8);
}

/* EMPTY STATE */
.soKpiFocus__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 40px;
  border-radius: 12px;
  background: rgba(2,6,23,0.4);
  border: 1px solid rgba(255,255,255,0.06);
}

.soKpiFocus__emptyText {
  font-size: 14px;
  color: rgba(226,232,240,0.7);
  text-align: center;
  line-height: 1.6;
}

/* ============================================================================
   SPEND – ZEITVERLAUF (CHART PRIMITIVE)
   ============================================================================ */

.soSpendTimeseries {
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}

.soSpendTimeseries__chart {
  width: 100%;
  max-width: 100%;
}

.soSpendTimeseries__chart .soChartPrimitive {
  width: 100%;
  height: auto;
  display: block;
}

.soKpiFocus__delta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
}

.soKpiFocus__deltaValue {
  font-size: 14px;
  letter-spacing: 0.02em;
}

.soKpiFocus__delta.is-positive {
  color: rgba(34,197,94,0.95);
}

.soKpiFocus__delta.is-negative {
  color: rgba(239,68,68,0.95);
}

.soKpiFocus__delta.is-neutral {
  color: rgba(148,163,184,0.85);
}

.soKpiZone__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.soKpiZone__title {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
}

.soKpiZone__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

@media (min-width: 1200px) {
  .soKpiZone__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.soKpiZone__card {
  border-radius: var(--radius-lg);
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.soKpiZone__card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.12);
}

.soKpiZone__cardHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.soKpiZone__cardLabel {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: rgba(226,232,240,0.85);
  font-weight: 600;
}

.soKpiZone__cardValue {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f1f5f9;
  line-height: 1.1;
}

.soKpiZone__cardChart {
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(15,23,42,0.55);
  padding: 10px;
  height: 64px;
  display: flex;
  align-items: stretch;
}

.soKpiZone__miniChart {
  width: 100%;
  height: 100%;
  display: block;
}

.soKpiGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  align-items: stretch;
}

/* Sensei Grid Layout */
.soSenseiRoas {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 24px;
  align-items: start;
  width: 100%;
}

/* Reports Section Spacing */
.soReports {
  margin-top: var(--space-6);
}

/* Guidance Section */
.soGuidance {
  margin-top: var(--space-6);
}

.soGuidance__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.soGuidance__col {
  border-radius: var(--border-radius-lg);
  padding: 28px;
  background: linear-gradient(180deg, 
    rgba(255,255,255,0.10) 0%, 
    rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 
    var(--shadow-lg),
    inset 0 1px 0 rgba(255,255,255,0.08);
  display: grid;
  gap: 16px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.soGuidance__col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.3) 50%, 
    transparent 100%);
  pointer-events: none;
}

.soGuidance__col:hover {
  border-color: rgba(255,255,255,0.16);
  box-shadow: 
    0 20px 48px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.soGuidance__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.soGuidance__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(248,250,252,0.9);
  text-transform: uppercase;
}

.soGuidance__subtitle {
  font-size: 13px;
  color: rgba(226,232,240,0.75);
}

.soGuidance__stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.soGuidance__card {
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(15,23,42,0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.soGuidance__cardName {
  font-size: 15px;
  font-weight: 600;
  color: #f8fafc;
}

.soGuidance__cardKpi {
  font-size: 13px;
  color: rgba(226,232,240,0.75);
}

.soGuidance__empty {
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: rgba(226,232,240,0.6);
}

.soGuidance__empty.is-loading {
  animation: pulse 1.2s ease-in-out infinite;
}

.soSenseiFeed__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.soSenseiFeed__card {
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(15,23,42,0.55);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.soSenseiFeed__card.is-insight {
  box-shadow: 0 12px 28px rgba(2,6,23,0.4);
}

.soSenseiFeed__title {
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
}

.soSenseiFeed__desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(226,232,240,0.8);
}

.soSenseiFeed__footer {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(251,146,60,0.85);
}

.soGuidance__col.is-feed {
  background: linear-gradient(180deg, rgba(15,23,42,0.95), rgba(2,6,23,0.85));
}

.soGuidance__col.is-feed .soGuidance__title {
  color: rgba(248,250,252,0.95);
}

.soGuidance__col.is-feed .soGuidance__head {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 8px;
}

.soGuidance__col.is-feed .soSenseiFeed__card {
  background: rgba(10,15,30,0.9);
}

/* ============================================================================
   WINNERS & LOSERS – Premium dashboard; same zone colors as Performance Analyse / AI
   ============================================================================ */

.soWL {
  margin-top: 0;
  margin-bottom: var(--space-8);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: linear-gradient(135deg, 
    rgba(51,65,85,0.96) 0%, 
    rgba(30,41,59,0.92) 50%,
    rgba(15,23,42,0.94) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 
    var(--shadow-lg),
    0 0 40px rgba(251,146,60,0.05),
    inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.soWL::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(251,146,60,0.4) 50%, 
    transparent 100%);
  pointer-events: none;
}

.soWL__header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.soWL__headerLeft {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.soWL__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
  margin: 0;
}

.soWL__subtitle {
  font-size: 13px;
  color: rgba(226,232,240,0.7);
}

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

.soWL__viewBadge,
.soWL__countBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 12px;
  color: rgba(248,250,252,0.85);
}

.soWL__countBadge--winners {
  border-color: rgba(34,197,94,0.25);
  color: rgba(34,197,94,0.9);
}

.soWL__countBadge--losers {
  border-color: rgba(251,191,36,0.35);
  color: rgba(251,191,36,0.95);
}

.soWL__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.soWL__column {
  border-radius: 12px;
  padding: 20px;
  padding-top: 48px;
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.10) 0%, 
    rgba(255,255,255,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 
    0 4px 16px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: visible;
}

.soWL__column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.25) 50%, 
    transparent 100%);
  pointer-events: none;
}

.soWL__columnHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.soWL__columnHeaderLeft {
  display: flex;
  align-items: center;
  gap: 8px;
}

.soWL__columnIcon {
  font-size: 18px;
}

.soWL__columnTitle {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(248,250,252,0.98);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.soWL__columnCount {
  font-size: 13px;
  color: rgba(226,232,240,0.7);
}

.soWL__columnContent {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}

.soWL__columnFooter {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.soWL__viewAll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.02em;
  color: rgba(251,146,60,1);
  background: linear-gradient(135deg, 
    rgba(251,146,60,0.14) 0%, 
    rgba(251,146,60,0.09) 100%);
  border: 1px solid rgba(251,146,60,0.4);
  box-shadow: 
    0 2px 8px rgba(251,146,60,0.15),
    inset 0 1px 0 rgba(255,255,255,0.18);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.soWL__viewAll::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(251,146,60,0.1) 0%, 
    transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.soWL__viewAll:hover {
  background: linear-gradient(135deg, 
    rgba(251,146,60,0.22) 0%, 
    rgba(251,146,60,0.15) 100%);
  border-color: rgba(251,146,60,0.7);
  box-shadow: 
    0 6px 20px rgba(251,146,60,0.3),
    0 0 24px rgba(251,146,60,0.15),
    inset 0 1px 0 rgba(255,255,255,0.3);
  transform: translateY(-3px);
}

.soWL__viewAll:hover::before {
  opacity: 1;
}

.soWL__viewAll:active {
  transform: translateY(-1px) scale(0.98);
  transition: transform 80ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================================
   WINNERS & LOSERS CARDS - THE SHOWSTOPPER
   ============================================================================ */

.soWL__card {
  border-radius: var(--radius-lg);
  padding: 30px 24px 24px;
  
  /* Dunklerer Hintergrund – weniger Helligkeit, mehr Kontrast */
  background: 
    radial-gradient(circle at top left, rgba(255,255,255,0.06) 0%, transparent 50%),
    linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%),
    rgba(20,28,42,0.85);
  
  border: 2px solid rgba(255,255,255,0.18);
  
  box-shadow: 
    var(--shadow-lg),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 1px 2px rgba(0,0,0,0.12) inset;
  
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition-base);
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}

/* Top highlight shimmer */
.soWL__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.5) 50%, 
    transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
  pointer-events: none;
  z-index: 2;
}

/* Subtle noise texture overlay */
.soWL__card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxwYXRoIGQ9Ik0wIDBoMzAwdjMwMEgweiIgZmlsdGVyPSJ1cmwoI2EpIiBvcGFjaXR5PSIuMDUiLz48L3N2Zz4=');
  pointer-events: none;
  z-index: 0;
}

.soWL__card[data-wl-card="true"] {
  cursor: pointer;
}

.soWL__card[data-wl-card="true"]:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 
    0 12px 36px rgba(0,0,0,0.4),
    0 0 30px rgba(251,146,60,0.2),
    0 0 0 1px rgba(251,146,60,0.7),
    inset 0 1px 0 rgba(255,255,255,0.4);
  border-color: rgba(251,146,60,0.7);
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.32) 0%, 
    rgba(255,255,255,0.26) 100%);
  cursor: pointer;
}

.soWL__card[data-wl-card="true"]:active {
  transform: translateY(-2px) scale(0.99);
  transition: transform var(--interaction-active) cubic-bezier(0.4, 0, 0.2, 1);
}

.soWL__card[data-wl-card="true"]:focus {
  outline: none;
}

.soWL__card[data-wl-card="true"]:focus-visible {
  outline: 2px solid rgba(251,146,60,0.8);
  outline-offset: 2px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.4), 0 0 0 4px rgba(251,146,60,0.15);
}

.soWL__card[data-wl-card="true"]:hover .soWL__cardCta {
  opacity: 1;
}

/* ============================================================================
   WINNER CARDS - EMERALD GLORY
   ============================================================================ */

.soWL__card--winner {
  border-left: 4px solid rgba(34,197,94,1);
  
  /* Dunkler mit grünem Akzent – besserer Kontrast */
  background: 
    radial-gradient(circle at top left, rgba(34,197,94,0.08) 0%, transparent 50%),
    radial-gradient(circle at bottom right, rgba(16,185,129,0.05) 0%, transparent 50%),
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%),
    rgba(18,26,38,0.9);
  
  box-shadow: 
    var(--shadow-lg),
    -4px 0 20px rgba(34,197,94,0.25),
    0 0 32px rgba(34,197,94,0.15),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 2px 4px rgba(0,0,0,0.2) inset;
  
  position: relative;
}

/* Animated border glow */
.soWL__card--winner::before {
  background: linear-gradient(90deg, 
    rgba(34,197,94,0.3) 0%, 
    rgba(16,185,129,0.5) 50%, 
    rgba(34,197,94,0.3) 100%);
  background-size: 200% 100%;
}

/* Winner hover - EPIC GLOW */
.soWL__card--winner:hover {
  border-left-color: rgba(34,197,94,1);
  
  box-shadow: 
    0 20px 56px rgba(0,0,0,0.35),
    -6px 0 36px rgba(34,197,94,0.4),
    0 0 56px rgba(34,197,94,0.2),
    0 0 0 1px rgba(34,197,94,0.3) inset,
    0 2px 6px rgba(255,255,255,0.15) inset;
  
  animation: borderPulseWinner 2s ease-in-out infinite;
}

/* ============================================================================
   LOSER CARDS - ORANGE INTENSITY
   ============================================================================ */

.soWL__card--loser {
  border-left: 4px solid rgba(251,191,36,1);
  
  /* Dunkler mit orangem Akzent – besserer Kontrast */
  background: 
    radial-gradient(circle at top left, rgba(251,191,36,0.08) 0%, transparent 50%),
    radial-gradient(circle at bottom right, rgba(249,115,22,0.05) 0%, transparent 50%),
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%),
    rgba(18,26,38,0.9);
  
  box-shadow: 
    var(--shadow-lg),
    -4px 0 20px rgba(251,191,36,0.25),
    0 0 32px rgba(251,191,36,0.15),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 2px 4px rgba(0,0,0,0.2) inset;
  
  position: relative;
}

/* Animated border glow */
.soWL__card--loser::before {
  background: linear-gradient(90deg, 
    rgba(251,191,36,0.3) 0%, 
    rgba(249,115,22,0.5) 50%, 
    rgba(251,191,36,0.3) 100%);
  background-size: 200% 100%;
}

/* Loser hover - INTENSE GLOW */
.soWL__card--loser:hover {
  border-left-color: rgba(251,191,36,1);
  
  box-shadow: 
    0 20px 56px rgba(0,0,0,0.35),
    -6px 0 36px rgba(251,191,36,0.4),
    0 0 56px rgba(251,191,36,0.2),
    0 0 0 1px rgba(251,191,36,0.3) inset,
    0 2px 6px rgba(255,255,255,0.15) inset;
  
  animation: borderPulseLoser 2s ease-in-out infinite;
}

.soWL__cardHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.soWL__cardTitle {
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.soWL__typeBadge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(148,163,184,0.95);
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.soWL__cardSeparator {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0;
}

.soWL__cardMetrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

/* ============================================================================
   METRIC CHIPS - PREMIUM DATA DISPLAY
   ============================================================================ */

.soWL__chip {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  
  background: 
    linear-gradient(135deg, 
      rgba(255,255,255,0.16) 0%, 
      rgba(255,255,255,0.1) 100%);
  
  border: 1px solid rgba(255,255,255,0.22);
  
  box-shadow: 
    0 2px 8px rgba(0,0,0,0.12),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 1px 2px rgba(255,255,255,0.15) inset;
  
  transition: all var(--transition-base);
  transform-style: preserve-3d;
  position: relative;
}

/* Chip hover - 3D Depth */
.soWL__card:hover .soWL__chip {
  background: 
    linear-gradient(135deg, 
      rgba(255,255,255,0.22) 0%, 
      rgba(255,255,255,0.15) 100%);
  
  border-color: rgba(255,255,255,0.3);
  
  box-shadow: 
    0 4px 14px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 2px 4px rgba(255,255,255,0.2) inset;
  
  transform: translateZ(10px);
}

.soWL__chipLabel {
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: rgba(148,163,184,1);
  transition: color var(--transition-fast);
}

.soWL__card:hover .soWL__chipLabel {
  color: rgba(203,213,225,1);
}

.soWL__chipValue {
  font-size: 16px;
  font-weight: var(--font-weight-extrabold);
  letter-spacing: var(--letter-spacing-tight);
  color: rgba(248,250,252,1);
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.soWL__cardContext {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(226,232,240,0.85);
  margin: 0;
}

.soWL__senseiActions {
  display: flex;
  gap: 8px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.soWL__senseiBtn {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}

.soWL__senseiBtn:hover {
  opacity: 0.9;
}

.soWL__senseiBtn:active {
  transform: scale(0.98);
}

.soWL__senseiBtn--accept {
  background: rgba(34,197,94,0.25);
  color: rgba(134,239,172,1);
  border: 1px solid rgba(34,197,94,0.5);
}

.soWL__senseiBtn--reject {
  background: rgba(239,68,68,0.2);
  color: rgba(252,165,165,1);
  border: 1px solid rgba(239,68,68,0.4);
}

.soWL__cardCta {
  font-size: 12px;
  font-weight: 600;
  color: rgba(251,146,60,0.9);
  margin-top: 2px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.soWL__card[data-wl-card="true"]:hover .soWL__cardCta {
  opacity: 1;
}

.soWL__empty {
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  color: rgba(226,232,240,0.7);
}

.soWL__empty.is-loading {
  animation: pulse 1.2s ease-in-out infinite;
}

.soWL__emptyIcon {
  font-size: 24px;
  opacity: 0.7;
}

.soWL__emptyText {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

.soWL__emptyGuidance {
  text-align: center;
  font-size: 12px;
  color: rgba(226,232,240,0.6);
  max-width: 260px;
  line-height: 1.4;
}

/* Zone – Assets / Operative Level (Creatives & Tests) */
.soAO {
  margin-top: 0;
  margin-bottom: 32px;
  padding: 0;
}

.soAO__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 720px) {
  .soAO__grid {
    grid-template-columns: 1fr;
  }
}

.soAO__card {
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 160px;
  background: linear-gradient(135deg, 
    rgba(51,65,85,0.92) 0%, 
    rgba(30,41,59,0.88) 50%,
    rgba(15,23,42,0.91) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 
    var(--shadow-lg),
    inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.soAO__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.25) 50%, 
    transparent 100%);
  pointer-events: none;
}

.soAO__card--creatives {
  box-shadow: 
    0 4px 20px rgba(0,0,0,0.25),
    0 0 30px rgba(59,130,246,0.06),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.soAO__card--tests {
  box-shadow: 
    0 4px 20px rgba(0,0,0,0.25),
    0 0 30px rgba(139,92,246,0.06),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.soAO__card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 
    0 12px 36px rgba(0,0,0,0.35),
    0 0 48px rgba(59,130,246,0.12),
    inset 0 1px 0 rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.22);
}

.soAO__card:active {
  transform: translateY(-2px) scale(0.99);
  transition: transform var(--interaction-active) cubic-bezier(0.4, 0, 0.2, 1);
}

.soAO__card:focus {
  outline: none;
}

.soAO__card:focus-visible {
  outline: 2px solid rgba(251,146,60,0.8);
  outline-offset: 2px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.35), 0 0 0 4px rgba(251,146,60,0.15);
}

.soAO__cardHead {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.soAO__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #f8fafc;
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.soAO__subline {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(226,232,240,0.75);
}

.soAO__cardBody {
  flex: 1;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.soAO__count {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(248,250,252,1);
  text-shadow: 
    0 2px 6px rgba(0,0,0,0.2),
    0 0 20px rgba(59,130,246,0.1);
  line-height: 1.2;
}

.soAO__meta {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(226,232,240,0.75);
}

.soAO__empty {
  padding: 20px;
  border-radius: 8px;
  background: rgba(0,0,0,0.15);
  border: 1px dashed rgba(255,255,255,0.12);
  color: rgba(226,232,240,0.75);
  text-align: center;
}

.soAO__emptyText {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.soAO__cardFooter {
  margin-top: auto;
}

.soAO__cta {
  border-radius: var(--border-radius-md);
  padding: 12px 18px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: rgba(148,163,184,1);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 
    0 2px 6px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.soAO__cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.16);
  color: rgba(248,250,252,1);
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.soAO__cta:active {
  transform: translateY(0) scale(0.98);
  transition: transform 80ms cubic-bezier(0.4, 0, 0.2, 1);
}

.soState {
  border-radius: var(--border-radius-xl);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, 
    rgba(15,23,42,0.85) 0%, 
    rgba(2,6,23,0.8) 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  color: rgba(226,232,240,0.9);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.soState::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.25) 50%, 
    transparent 100%);
  pointer-events: none;
}

.soState--loading {
  gap: 18px;
}

.soState__spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid rgba(226,232,240,0.15);
  border-top-color: rgba(251,146,60,0.95);
  animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 20px rgba(251,146,60,0.2);
}

.soState__icon {
  font-size: 24px;
}

.soState__title {
  font-size: 18px;
  font-weight: 700;
}

.soInlineState {
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(226,232,240,0.75);
}

.soAlerts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.soAlert {
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(15,23,42,0.8);
  display: flex;
  gap: 12px;
}

.soAlert__icon {
  font-size: 20px;
}

.soAlert__title {
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
}

.soAlert__message,
.soAlert__time {
  font-size: 12px;
  color: rgba(226,232,240,0.75);
}

.soAlert--critical {
  border-color: rgba(248,113,113,0.4);
}

.soAlert--warning {
  border-color: rgba(251,191,36,0.35);
}

.soAlert--success {
  border-color: rgba(34,197,94,0.35);
}

.soFooter {
  margin-top: var(--space-10);
  padding: 20px 28px;
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, 
    rgba(2,6,23,0.92) 0%, 
    rgba(15,23,42,0.88) 100%);
  box-shadow: 
    0 -4px 20px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.soFooter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.2) 50%, 
    transparent 100%);
  pointer-events: none;
}

.soFooter__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.soFooter__left,
.soFooter__center,
.soFooter__right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(226,232,240,0.85);
  font-size: 13px;
}

.soFooter__brandIcon {
  font-size: 16px;
}

.soFooter__sep {
  color: rgba(148,163,184,0.5);
}

.soFooter__modeIcon {
  font-size: 10px;
  color: #22c55e;
}

.soFooter__modeIcon.is-demo {
  color: #fb923c;
}

.soFooter__statusIcon,
.soFooter__systemIcon {
  font-size: 12px;
}

.soFooter__version {
  font-weight: 600;
}

/* ============================================================================
   ANIMATIONS – PREMIUM MICRO-INTERACTIONS
   ============================================================================ */

@keyframes spin {
  from { 
    transform: rotate(0deg); 
  }
  to { 
    transform: rotate(360deg); 
  }
}

@keyframes pulse {
  0% { 
    opacity: 1; 
  }
  50% { 
    opacity: 0.5; 
  }
  100% { 
    opacity: 1; 
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Stagger animation for KPI cards – max 180ms Einblenden */
.soKpiFocus__card {
  animation: fadeInUp var(--reveal-duration) cubic-bezier(0.4, 0, 0.2, 1) backwards;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.soKpiFocus__card:nth-child(1) { animation-delay: 0ms; }
.soKpiFocus__card:nth-child(2) { animation-delay: 25ms; }
.soKpiFocus__card:nth-child(3) { animation-delay: 50ms; }
.soKpiFocus__card:nth-child(4) { animation-delay: 75ms; }
.soKpiFocus__card:nth-child(5) { animation-delay: 100ms; }
.soKpiFocus__card:nth-child(6) { animation-delay: 125ms; }
.soKpiFocus__card:nth-child(7) { animation-delay: 150ms; }
.soKpiFocus__card:nth-child(8) { animation-delay: 175ms; }

/* ============================================================================
   PREMIUM MICRO-INTERACTIONS
   ============================================================================ */

/* 1. SPARKLINE HOVER PULSE */
@keyframes sparklinePulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.85; 
    transform: scale(1.02);
  }
}

.soKpiFocus__card:hover .soKpiFocus__sparklineChart {
  animation: sparklinePulse 2s ease-in-out infinite;
}

/* 2. ICON BOUNCE ON HOVER */
@keyframes iconBounce {
  0%, 100% { 
    transform: translateY(0); 
  }
  50% { 
    transform: translateY(-4px); 
  }
}

.soWL__columnIcon {
  display: inline-block;
  transition: all var(--transition-base);
}

.soWL__column:hover .soWL__columnIcon {
  animation: iconBounce 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.soAO__cardHead:hover ~ .soAO__cardBody .soAO__count {
  animation: iconBounce 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. NUMBER COUNTER ANIMATION (wird via JS getriggert, aber CSS vorbereitet) */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.soKpiFocus__cardValue,
.soWL__chipValue,
.soAO__count {
  animation: countUp 500ms cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

/* 4. BUTTON RIPPLE EFFECT */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.6;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

.soWL__viewAll,
.soAO__cta,
.soSensei__btn {
  position: relative;
  overflow: hidden;
}

.soWL__viewAll::after,
.soAO__cta::after,
.soSensei__btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
}

.soWL__viewAll:active::after,
.soAO__cta:active::after,
.soSensei__btn:active::after {
  animation: ripple 120ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 5. CARD TILT EFFECT (3D) */
.soWL__card[data-wl-card="true"],
.soKpiFocus__card {
  transition: all var(--transition-base), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Wird via JS für echten 3D-Tilt erweitert, aber Basis-Transform hier */
.soWL__card[data-wl-card="true"]:hover {
  transform: translateY(-5px) scale(1.015) rotateX(2deg);
}

/* 6. SHIMMER EFFECT für Progress-Bars */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.soSensei__diagFill::after,
.soKpiFocus__fillBarFill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.2) 50%,
    transparent 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 3s infinite linear;
  pointer-events: none;
}

/* 7. BADGE PULSE */
@keyframes badgePulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 
      0 2px 6px rgba(251,146,60,0.15),
      inset 0 1px 0 rgba(255,255,255,0.18);
  }
  50% { 
    transform: scale(1.05); 
    box-shadow: 
      0 4px 12px rgba(251,146,60,0.25),
      inset 0 1px 0 rgba(255,255,255,0.25);
  }
}

.soKpiFocus__cardBadge:hover,
.soWL__typeBadge:hover {
  animation: badgePulse 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 8. DELTA BADGE GLOW PULSE */
@keyframes deltaGlow {
  0%, 100% { 
    box-shadow: 
      0 2px 6px rgba(34,197,94,0.3),
      inset 0 1px 0 rgba(255,255,255,0.2);
  }
  50% { 
    box-shadow: 
      0 4px 12px rgba(34,197,94,0.5),
      0 0 20px rgba(34,197,94,0.3),
      inset 0 1px 0 rgba(255,255,255,0.3);
  }
}

.soKpiFocus__deltaBadge.is-positive:hover {
  animation: deltaGlow 1s ease-in-out;
}

.soKpiFocus__deltaBadge.is-negative:hover {
  animation: deltaGlow 1s ease-in-out;
  animation-name: deltaGlowNegative;
}

@keyframes deltaGlowNegative {
  0%, 100% { 
    box-shadow: 
      0 2px 6px rgba(239,68,68,0.3),
      inset 0 1px 0 rgba(255,255,255,0.2);
  }
  50% { 
    box-shadow: 
      0 4px 12px rgba(239,68,68,0.5),
      0 0 20px rgba(239,68,68,0.3),
      inset 0 1px 0 rgba(255,255,255,0.3);
  }
}

/* 9. ACCENT BAR EXPAND */
@keyframes accentExpand {
  from {
    width: 3px;
  }
  to {
    width: 6px;
  }
}

.soKpiFocus__card:hover .soKpiFocus__cardAccent {
  animation: accentExpand 300ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 10. GAUGE VALUE POP */
@keyframes valuePop {
  0% { 
    transform: scale(1); 
  }
  50% { 
    transform: scale(1.1); 
  }
  100% { 
    transform: scale(1); 
  }
}

.soSensei__gauge:hover .soSensei__gaugeValue {
  animation: valuePop 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 11. SECTION HEADER UNDERLINE – einheitliche Länge (64px) */
@keyframes underlineExpand {
  from {
    width: 0;
  }
  to {
    width: 64px;
  }
}

/* Überschriften-Akzent: einheitliche Länge & Abstand (--accent-line) */
.soWL__title::after,
.soAO__title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 2px;
  width: 0;
  max-width: 64px;
  background: rgba(251,146,60,0.9);
  transition: width var(--transition-slow);
}

.soWL:hover .soWL__title::after,
.soAO__card:hover .soAO__title::after {
  animation: underlineExpand 600ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.soWL__title,
.soAO__title {
  position: relative;
  display: inline-block;
}

/* Fokus-Zonen: max 2 KPIs subtil (Revenue + ROAS) – dünne Border-Variante */
.soKpiFocus__card:nth-child(2),
.soKpiFocus__card:nth-child(5) {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(251,146,60,0.1) inset;
}
.soKpiFocus__card:nth-child(2):hover,
.soKpiFocus__card:nth-child(5):hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(251,146,60,0.18) inset;
}

/* 12. CHIP STACK DEPTH */
.soWL__cardMetrics {
  perspective: 1000px;
}

.soWL__chip {
  transform-style: preserve-3d;
}

.soWL__card:hover .soWL__chip {
  transform: translateZ(10px);
}

/* 13. EMPTY STATE BREATHING */
@keyframes breathe {
  0%, 100% { 
    transform: scale(1); 
    opacity: 1;
  }
  50% { 
    transform: scale(1.02); 
    opacity: 0.8;
  }
}

.soWL__empty,
.soAO__empty {
  animation: breathe 3s ease-in-out infinite;
}

/* 14. STATUS DOT PULSE */
@keyframes statusPulse {
  0%, 100% { 
    box-shadow: 0 0 0 0 currentColor;
    opacity: 1;
  }
  50% { 
    box-shadow: 0 0 0 8px transparent;
    opacity: 0.8;
  }
}

.soKpiCard__statusDot {
  animation: statusPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 15. HOVER GLOW INTENSITY WAVE */
@keyframes glowWave {
  0%, 100% { 
    filter: brightness(1);
  }
  50% { 
    filter: brightness(1.15);
  }
}

.soKpiFocus__card:hover::before,
.soWL__card:hover::before,
.soAO__card:hover::before {
  animation: glowWave 2s ease-in-out infinite;
}

/* 16. SPARKLINE "NOW" INDICATOR BLINK */
@keyframes nowBlink {
  0%, 100% { 
    opacity: 1;
    background: rgba(255,255,255,0.08);
  }
  50% { 
    opacity: 0.6;
    background: rgba(255,255,255,0.12);
  }
}

.soKpiFocus__sparklineNow {
  animation: nowBlink 2s ease-in-out infinite;
}

/* 17. METRIC LABEL SLIDE-IN ON HOVER */
@keyframes slideInLabel {
  from {
    transform: translateX(-4px);
    opacity: 0.8;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.soKpiFocus__card:hover .soKpiFocus__cardLabel {
  animation: slideInLabel 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 18. CHART LABEL FADE-UP ON HOVER */
@keyframes fadeUpLabel {
  from {
    transform: translateY(2px);
    opacity: 0.85;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.soKpiFocus__card:hover .soKpiFocus__cardChartLabel {
  animation: fadeUpLabel 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 19. WINNER/LOSER BORDER PULSE */
@keyframes borderPulseWinner {
  0%, 100% { 
    border-left-color: rgba(34,197,94,0.9);
    box-shadow: 
      0 4px 16px rgba(0,0,0,0.32),
      -3px 0 16px rgba(34,197,94,0.25),
      0 0 20px rgba(34,197,94,0.08),
      inset 0 1px 0 rgba(255,255,255,0.25);
  }
  50% { 
    border-left-color: rgba(34,197,94,1);
    box-shadow: 
      0 4px 16px rgba(0,0,0,0.32),
      -4px 0 24px rgba(34,197,94,0.4),
      0 0 32px rgba(34,197,94,0.15),
      inset 0 1px 0 rgba(255,255,255,0.25);
  }
}

@keyframes borderPulseLoser {
  0%, 100% { 
    border-left-color: rgba(251,191,36,0.9);
    box-shadow: 
      0 4px 16px rgba(0,0,0,0.32),
      -3px 0 16px rgba(251,191,36,0.25),
      0 0 20px rgba(251,191,36,0.08),
      inset 0 1px 0 rgba(255,255,255,0.25);
  }
  50% { 
    border-left-color: rgba(251,191,36,1);
    box-shadow: 
      0 4px 16px rgba(0,0,0,0.32),
      -4px 0 24px rgba(251,191,36,0.4),
      0 0 32px rgba(251,191,36,0.15),
      inset 0 1px 0 rgba(255,255,255,0.25);
  }
}

.soWL__card--winner:hover {
  animation: borderPulseWinner 2s ease-in-out infinite;
}

.soWL__card--loser:hover {
  animation: borderPulseLoser 2s ease-in-out infinite;
}

/* 20. HERO TITLE SHIMMER */
@keyframes titleShimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.soDashboardHero__title {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.8) 0%,
    rgba(255,255,255,1) 25%,
    rgba(226,232,240,0.9) 50%,
    rgba(255,255,255,1) 75%,
    rgba(255,255,255,0.8) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 8s linear infinite;
}

/* 21. FOOTER FADE-IN */
.soFooter {
  animation: fadeInUp 800ms cubic-bezier(0.4, 0, 0.2, 1) backwards;
  animation-delay: 400ms;
}

/* 22. SECTION STAGGER ANIMATIONS */
.soKpiFocus {
  animation: fadeInUp var(--reveal-duration) cubic-bezier(0.4, 0, 0.2, 1) backwards;
  animation-delay: 50ms;
}

.soWL {
  animation: fadeInUp var(--reveal-duration) cubic-bezier(0.4, 0, 0.2, 1) backwards;
  animation-delay: 100ms;
}

.soAO {
  animation: fadeInUp var(--reveal-duration) cubic-bezier(0.4, 0, 0.2, 1) backwards;
  animation-delay: 150ms;
}

/* 23. BUTTON MAGNETIC HOVER PREPARATION (enhanced via JS) */
.soWL__viewAll,
.soAO__cta,
.soSensei__btn {
  transition: all var(--transition-base), transform 100ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* 24. CHIP VALUE SCALE ON PARENT HOVER */
.soWL__card:hover .soWL__chipValue {
  animation: valuePop 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 25. AI SECTION BORDER GLOW PULSE */
@keyframes aiBorderGlow {
  0%, 100% { 
    border-left-color: rgba(16,185,129,0.6);
    box-shadow: 
      0 4px 12px rgba(16,185,129,0.08),
      -2px 0 12px rgba(16,185,129,0.12),
      inset 0 1px 0 rgba(255,255,255,0.08);
  }
  50% { 
    border-left-color: rgba(16,185,129,0.9);
    box-shadow: 
      0 6px 20px rgba(16,185,129,0.15),
      -3px 0 20px rgba(16,185,129,0.25),
      inset 0 1px 0 rgba(255,255,255,0.12);
  }
}

.soSensei__aiSection:hover {
  animation: aiBorderGlow 2s ease-in-out infinite;
}

/* 26. NEXT STEP HOVER SLIDE */
.soSensei__stepText {
  transition: all var(--transition-fast);
}

.soSensei__nextStep:hover .soSensei__stepText {
  color: rgba(248,250,252,1);
  transform: translateX(4px);
}

/* 27. GUIDANCE CARD STACK EFFECT */
.soGuidance__card {
  transition: all var(--transition-base);
  transform-style: preserve-3d;
}

.soGuidance__card:hover {
  transform: translateY(-2px) translateZ(10px);
  box-shadow: 
    0 8px 20px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

/* 28. EMPTY STATE ICON FLOAT */
@keyframes iconFloat {
  0%, 100% { 
    transform: translateY(0); 
  }
  50% { 
    transform: translateY(-8px); 
  }
}

.soWL__emptyIcon,
.soAO__empty::before {
  animation: iconFloat 3s ease-in-out infinite;
}

/* 29. LOADING SPINNER ENHANCED */
.soState__spinner {
  animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 0 8px rgba(251,146,60,0.4));
}

@keyframes spinPulse {
  0%, 100% { 
    transform: rotate(0deg) scale(1); 
  }
  50% { 
    transform: rotate(180deg) scale(1.05); 
  }
  100% { 
    transform: rotate(360deg) scale(1); 
  }
}

.soState--loading .soState__spinner {
  animation: spinPulse 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 30. PERFORMANCE OPTIMIZATION - Hardware Acceleration */
.soKpiFocus__card,
.soWL__card,
.soAO__card,
.soWL__viewAll,
.soAO__cta,
.soSensei__btn,
.soSensei__gauge {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ============================================================================
   GLOBAL FOCUS STATES & ACCESSIBILITY (WCAG 2.1 AA)
   ============================================================================ */

/* Kein Default-Browser-Outline – nur :focus-visible zeigt Akzent */
button:focus,
a:focus,
[role="button"]:focus,
[tabindex]:focus {
  outline: none;
}

/* Premium focus outline nur bei Tastatur-Fokus */
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid rgba(251,146,60,0.8);
  outline-offset: 3px;
  border-radius: var(--border-radius-sm);
  box-shadow: 
    0 0 0 4px rgba(251,146,60,0.15),
    0 0 12px rgba(251,146,60,0.3);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Consistent spacing for all sections */
section {
  margin-bottom: var(--space-6);
}

section:last-child {
  margin-bottom: 0;
}

/* ============================================================================
   RESPONSIVE DESIGN – MOBILE-FIRST REFINEMENTS
   ============================================================================ */

/* Tablet & Small Desktop (1200px and below) */
@media (max-width: 1200px) {
  .soKpiFocus__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .soKpiGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .soSenseiRoas {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .soWL__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .soGuidance__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Tablet Portrait (900px and below) */
@media (max-width: 900px) {
  .soKpiFocus {
    padding: 24px;
  }
  
  .soKpiFocus__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .soWL {
    padding: 24px;
  }
  
  .soAO__grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  :root {
    --space-8: 24px;
    --space-10: 28px;
  }
  
  .soDashboard {
    padding: var(--space-4) var(--space-5);
  }
  
  .soKpiGrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .soDashboardHero {
    padding: 20px;
    min-height: auto;
  }
  
  .soDashboardHero__layout {
    flex-direction: column;
    gap: 20px;
  }
  
  .soDashboardHero__title {
    font-size: var(--font-size-2xl);
    white-space: normal;
  }
  
  .soDashboardHero__statusWrap {
    min-width: auto;
    width: 100%;
  }
  
  .soKpiFocus {
    padding: 20px;
  }
  
  .soKpiFocus__grid {
    gap: 12px;
  }
  
  .soWL {
    padding: 20px;
  }
  
  .soWL__grid {
    gap: 20px;
  }
  
  .soWL__card {
    padding: 16px;
  }
  
  .soAO__card {
    padding: 20px;
  }
  
  /* Smaller buttons on mobile */
  .soWL__viewAll,
  .soAO__cta {
    padding: 10px 14px;
    font-size: var(--font-size-xs);
  }
  
  .soSensei__btn {
    height: 36px;
    padding: 0 14px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .soDashboard {
    padding: var(--space-3) var(--space-4);
  }
  
  .soDashboardHero {
    padding: 16px;
  }
  
  .soKpiFocus,
  .soWL,
  .soAO__card {
    padding: 16px;
  }
  
  .soKpiFocus__cardValue {
    font-size: var(--font-size-2xl);
  }
  
  .soWL__title {
    font-size: var(--font-size-lg);
  }
}

/* ============================================================================
   PEACE OF MIND DASHBOARD – Ruhe, maximal 1 Scroll
   ============================================================================ */

.soPeaceHero {
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  margin-bottom: 24px;
  background: linear-gradient(145deg, rgba(15,23,42,0.95), rgba(2,6,23,0.9));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 42px rgba(2,6,23,0.4);
}

.soPeaceHero__statusBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.soPeaceHero--green .soPeaceHero__statusBadge {
  background: rgba(16,185,129,0.2);
  color: #34d399;
  border: 1px solid rgba(16,185,129,0.35);
}

.soPeaceHero--yellow .soPeaceHero__statusBadge {
  background: rgba(251,191,36,0.2);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.35);
}

.soPeaceHero--red .soPeaceHero__statusBadge {
  background: rgba(239,68,68,0.2);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.35);
}

.soPeaceHero__statusIcon {
  font-size: 14px;
  line-height: 1;
}

.soPeaceHero__headline {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: rgba(248,250,252,0.95);
  margin: 0 0 8px;
  line-height: 1.25;
}

.soPeaceHero__subline {
  font-size: 1rem;
  color: rgba(148,163,184,0.9);
  margin: 0;
  line-height: 1.5;
}

.soPriorityStack {
  margin-top: 24px;
}

.soPriorityStack__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.7);
  margin: 0 0 16px;
}

.soPriorityStack__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.soPriorityCard {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s ease;
}

.soPriorityCard:hover {
  border-color: rgba(255,255,255,0.12);
}

.soPriorityCard--critical {
  border-left: 4px solid rgba(239,68,68,0.6);
}

.soPriorityCard--warning {
  border-left: 4px solid rgba(251,191,36,0.6);
}

.soPriorityCard__icon {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
}

.soPriorityCard__body {
  flex: 1;
  min-width: 0;
}

.soPriorityCard__title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(248,250,252,0.95);
  margin: 0 0 4px;
}

.soPriorityCard__reasoning {
  font-size: 13px;
  color: rgba(148,163,184,0.85);
  margin: 0;
  line-height: 1.45;
}

.soPriorityCard__action {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(139,92,246,0.95);
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.soPriorityCard__action:hover {
  background: rgba(139,92,246,0.2);
  transform: translateY(-1px);
}
