/* ============================================================================
   TESTING LOG – ELITE EXPERIMENT HUB (V3)
   Science / Lab theme, premium dashboard polish
   Loads AFTER core.css to override legacy styles.
   ============================================================================ */

.soModule--testingLog .testing-log-lab {
  --tl-bg: rgba(15, 23, 42, 1);
  --tl-card: rgba(30, 41, 59, 0.5);
  --tl-border: rgba(255, 255, 255, 0.06);
  --tl-text: rgba(229, 231, 235, 1);
  --tl-text-2: rgba(156, 163, 175, 1);
  --tl-text-3: rgba(107, 114, 128, 1);
  --tl-lab: rgba(52, 211, 153, 1);
  --tl-blue: rgba(56, 189, 248, 1);
  --tl-purple: rgba(168, 85, 247, 1);
  --tl-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  color: var(--tl-text);
}

.soModule--testingLog .testing-log-lab .icon {
  display: inline-flex;
  width: 1.1em;
  height: 1.1em;
  align-items: center;
  justify-content: center;
}
.soModule--testingLog .testing-log-lab .icon svg {
  width: 100%;
  height: 100%;
}

/* ============================================================================
   HERO
   ============================================================================ */

.soModule--testingLog .testing-log-hero-elite {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 1) 100%);
  border-bottom: 1px solid var(--tl-border);
}

.soModule--testingLog .hero-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.soModule--testingLog .beaker-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}
.soModule--testingLog .beaker-orb.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
  top: -150px;
  left: -100px;
  animation: tlFloat 25s ease-in-out infinite;
}
.soModule--testingLog .beaker-orb.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: tlFloat 30s ease-in-out infinite -5s;
}
.soModule--testingLog .beaker-orb.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.10) 0%, transparent 70%);
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  animation: tlFloat 35s ease-in-out infinite -10s;
}
@keyframes tlFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -60px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(0.92); }
}

.soModule--testingLog .floating-particles {
  position: absolute;
  inset: 0;
}
.soModule--testingLog .particle {
  position: absolute;
  left: calc(10% + (80% * var(--rand, 0.5)));
  width: 6px;
  height: 6px;
  background: rgba(52, 211, 153, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
  animation: tlParticleRise 8s linear infinite;
  animation-delay: var(--delay);
  opacity: 0;
}
.soModule--testingLog .particle:nth-child(1) { left: 20%; --rand: 0.2; }
.soModule--testingLog .particle:nth-child(2) { left: 45%; --rand: 0.45; }
.soModule--testingLog .particle:nth-child(3) { left: 65%; --rand: 0.65; }
.soModule--testingLog .particle:nth-child(4) { left: 80%; --rand: 0.8; }
@keyframes tlParticleRise {
  0% { bottom: -10px; opacity: 0; transform: translateX(0) scale(1); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { bottom: 100%; opacity: 0; transform: translateX(30px) scale(0.5); }
}

.soModule--testingLog .hero-content-elite {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.soModule--testingLog .hero-icon-badge {
  margin-bottom: 2rem;
  animation: tlFadeInDown 600ms ease-out;
}
.soModule--testingLog .icon-wrapper-animated {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  border: 2px solid rgba(52, 211, 153, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(52, 211, 153, 1);
  box-shadow: 0 0 40px rgba(52, 211, 153, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: tlIconPulse 3s ease-in-out infinite;
  margin: 0 auto;
}
@keyframes tlIconPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(52, 211, 153, 0.2); }
  50% { transform: scale(1.05); box-shadow: 0 0 60px rgba(52, 211, 153, 0.4); }
}

.soModule--testingLog .hero-title-elite {
  text-align: center;
  margin: 0 0 1.5rem 0;
  animation: tlFadeInUp 600ms ease-out 100ms both;
}
.soModule--testingLog .hero-title-elite .title-main {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, rgba(229, 231, 235, 1) 0%, rgba(156, 163, 175, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.soModule--testingLog .hero-title-elite .title-subtitle {
  display: block;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: rgba(52, 211, 153, 1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.soModule--testingLog .hero-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(156, 163, 175, 1);
  margin: 0 auto;
  max-width: 640px;
  animation: tlFadeInUp 600ms ease-out 160ms both;
}

.soModule--testingLog .hero-quick-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin: 2.5rem 0;
  animation: tlFadeInUp 600ms ease-out 220ms both;
}
.soModule--testingLog .quick-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--tl-border);
  border-radius: 12px;
  backdrop-filter: blur(20px);
}
.soModule--testingLog .quick-stat .icon { color: rgba(52, 211, 153, 1); margin-bottom: 0.25rem; }
.soModule--testingLog .quick-stat .stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(229, 231, 235, 1);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.soModule--testingLog .quick-stat .stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(156, 163, 175, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.soModule--testingLog .hero-cta-create-test {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  background: linear-gradient(135deg, rgba(52, 211, 153, 1) 0%, rgba(16, 185, 129, 1) 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(52, 211, 153, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: tlFadeInUp 600ms ease-out 300ms both;
  overflow: hidden;
}
.soModule--testingLog .hero-cta-create-test:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(52, 211, 153, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}
.soModule--testingLog .hero-cta-create-test:active { transform: translateY(-1px) scale(0.98); }
.soModule--testingLog .hero-cta-create-test:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 10px 30px rgba(52, 211, 153, 0.1);
}
.soModule--testingLog .hero-cta-create-test .cta-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  border-radius: 14px;
  opacity: 0;
  animation: tlCtaGlow 3s ease-in-out infinite;
}
@keyframes tlCtaGlow {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(100%); }
}

.soModule--testingLog .hero-scope-hint {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(156, 163, 175, 1);
}

@keyframes tlFadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tlFadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================================
   STATS DASHBOARD
   ============================================================================ */

.soModule--testingLog .testing-log-stats {
  padding: 1.5rem 3rem 0;
}
.soModule--testingLog .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.soModule--testingLog .stat-card {
  background: rgba(30, 41, 59, 0.35);
  border: 1px solid var(--tl-border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.soModule--testingLog .stat-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(156, 163, 175, 1);
}
.soModule--testingLog .stat-value {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.soModule--testingLog .stat-unit { font-size: 1.25rem; opacity: 0.9; margin-left: 0.15rem; }
.soModule--testingLog .stat-meta {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(156, 163, 175, 1);
}

/* ============================================================================
   CONTROLS
   ============================================================================ */

.soModule--testingLog .testing-log-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 3rem;
  background: rgba(30, 41, 59, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--tl-border);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.soModule--testingLog .view-switcher {
  display: inline-flex;
  background: rgba(15, 23, 42, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 4px;
  position: relative;
}
.soModule--testingLog .view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: none;
  color: rgba(156, 163, 175, 1);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: color 200ms ease;
  position: relative;
  z-index: 1;
}
.soModule--testingLog .view-btn:hover { color: rgba(229, 231, 235, 1); }
.soModule--testingLog .view-btn.active { color: rgba(52, 211, 153, 1); }
.soModule--testingLog .view-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 8px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
  transform: translateX(0);
}

.soModule--testingLog .filter-bar {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
}
.soModule--testingLog .filter-group { position: relative; }
.soModule--testingLog .filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(229, 231, 235, 1);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.soModule--testingLog .filter-trigger:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.soModule--testingLog .filter-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(40px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 200ms ease;
  z-index: 100;
}
.soModule--testingLog .filter-group.open .filter-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.soModule--testingLog .filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 150ms ease;
  color: rgba(229, 231, 235, 1);
}
.soModule--testingLog .filter-option:hover { background: rgba(255, 255, 255, 0.05); }
.soModule--testingLog .filter-option input { accent-color: rgba(52, 211, 153, 1); }
.soModule--testingLog .filter-divider { height: 1px; background: rgba(255, 255, 255, 0.08); margin: 8px 0; }
.soModule--testingLog .filter-clear-btn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.9);
  color: rgba(156, 163, 175, 1);
  font-weight: 700;
  cursor: pointer;
}
.soModule--testingLog .filter-row-btn {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(229, 231, 235, 1);
  cursor: pointer;
  font-weight: 600;
}
.soModule--testingLog .filter-row-btn:hover { background: rgba(255, 255, 255, 0.06); }
.soModule--testingLog .filter-row-btn.active {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.soModule--testingLog .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.soModule--testingLog .status-dot.status-running {
  background: rgba(59, 130, 246, 1);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
  animation: tlStatusPulse 2s ease-in-out infinite;
}
.soModule--testingLog .status-dot.status-winner {
  background: rgba(16, 185, 129, 1);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}
.soModule--testingLog .status-dot.status-analyzing {
  background: rgba(139, 92, 246, 1);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}
.soModule--testingLog .status-dot.status-draft { background: rgba(100, 116, 139, 1); }
.soModule--testingLog .status-dot.status-inconclusive { background: rgba(245, 158, 11, 1); }
.soModule--testingLog .status-dot.status-stopped { background: rgba(239, 68, 68, 1); }
@keyframes tlStatusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.25); }
}

.soModule--testingLog .search-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  min-width: 260px;
}
.soModule--testingLog .search-box .icon { color: rgba(156, 163, 175, 1); }
.soModule--testingLog .search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: rgba(229, 231, 235, 1);
  width: 100%;
  font-size: 0.875rem;
}

/* ============================================================================
   CARDS GRID
   ============================================================================ */

.soModule--testingLog .test-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 1.5rem;
  padding: 2rem 3rem 4rem;
}

.soModule--testingLog .test-card-elite {
  position: relative;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--tl-border);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: default;
  animation: tlCardFadeIn 600ms ease-out both;
  animation-delay: var(--stagger, 0ms);
}
.soModule--testingLog .test-card-elite:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
@keyframes tlCardFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.soModule--testingLog .card-gradient-border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.65;
  transition: opacity 300ms ease;
}
.soModule--testingLog .test-card-elite:hover .card-gradient-border { opacity: 1; }
.soModule--testingLog .test-card-elite[data-status="running"] .card-gradient-border {
  background: linear-gradient(90deg, rgba(59, 130, 246, 1) 0%, rgba(99, 102, 241, 1) 100%);
  animation: tlGradientShift 3s ease-in-out infinite;
}
.soModule--testingLog .test-card-elite[data-status="analyzing"] .card-gradient-border {
  background: linear-gradient(90deg, rgba(139, 92, 246, 1) 0%, rgba(168, 85, 247, 1) 100%);
}
.soModule--testingLog .test-card-elite[data-status="winner"] .card-gradient-border {
  background: linear-gradient(90deg, rgba(16, 185, 129, 1) 0%, rgba(20, 184, 166, 1) 100%);
}
.soModule--testingLog .test-card-elite[data-status="draft"] .card-gradient-border {
  background: linear-gradient(90deg, rgba(100, 116, 139, 1) 0%, rgba(71, 85, 105, 1) 100%);
}
.soModule--testingLog .test-card-elite[data-status="inconclusive"] .card-gradient-border {
  background: linear-gradient(90deg, rgba(245, 158, 11, 1) 0%, rgba(251, 146, 60, 1) 100%);
}
.soModule--testingLog .test-card-elite[data-status="stopped"] .card-gradient-border {
  background: linear-gradient(90deg, rgba(239, 68, 68, 1) 0%, rgba(220, 38, 38, 1) 100%);
}
@keyframes tlGradientShift {
  0%, 100% { filter: saturate(1); }
  50% { filter: saturate(1.2); }
}

.soModule--testingLog .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.soModule--testingLog .card-menu-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(156, 163, 175, 1);
}
.soModule--testingLog .card-menu-btn:hover { background: rgba(255, 255, 255, 0.07); color: rgba(229, 231, 235, 1); }

.soModule--testingLog .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.soModule--testingLog .status-badge.status-running {
  background: rgba(59, 130, 246, 0.15);
  color: rgba(96, 165, 250, 1);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.18);
  animation: tlBadgePulse 2s ease-in-out infinite;
}
.soModule--testingLog .status-badge.status-analyzing {
  background: rgba(139, 92, 246, 0.15);
  color: rgba(168, 85, 247, 1);
  border-color: rgba(139, 92, 246, 0.3);
}
.soModule--testingLog .status-badge.status-winner {
  background: rgba(16, 185, 129, 0.15);
  color: rgba(52, 211, 153, 1);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.18);
}
.soModule--testingLog .status-badge.status-draft {
  background: rgba(100, 116, 139, 0.15);
  color: rgba(148, 163, 184, 1);
  border-color: rgba(100, 116, 139, 0.3);
}
.soModule--testingLog .status-badge.status-inconclusive {
  background: rgba(245, 158, 11, 0.15);
  color: rgba(251, 146, 60, 1);
  border-color: rgba(245, 158, 11, 0.3);
}
.soModule--testingLog .status-badge.status-stopped {
  background: rgba(239, 68, 68, 0.15);
  color: rgba(252, 165, 165, 1);
  border-color: rgba(239, 68, 68, 0.3);
}
@keyframes tlBadgePulse {
  0%, 100% { box-shadow: 0 0 16px rgba(59, 130, 246, 0.18); }
  50% { box-shadow: 0 0 24px rgba(59, 130, 246, 0.35); }
}

.soModule--testingLog .test-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(229, 231, 235, 1);
  letter-spacing: -0.01em;
  margin: 1rem 0 0.75rem 0;
  line-height: 1.3;
}
.soModule--testingLog .test-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(156, 163, 175, 1);
  font-size: 0.875rem;
}
.soModule--testingLog .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.soModule--testingLog .variants-section {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.soModule--testingLog .variant-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
}
.soModule--testingLog .variant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.soModule--testingLog .variant-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(156, 163, 175, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.soModule--testingLog .variant-trophy { color: rgba(245, 158, 11, 1); animation: tlTrophyBounce 0.6s ease-in-out; }
@keyframes tlTrophyBounce {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.2) rotate(-10deg); }
  75% { transform: scale(1.2) rotate(10deg); }
}
.soModule--testingLog .variant-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.soModule--testingLog .metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(229, 231, 235, 1);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.soModule--testingLog .metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(107, 114, 128, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.soModule--testingLog .variant-confidence { margin-top: 1rem; }
.soModule--testingLog .confidence-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.soModule--testingLog .confidence-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(52, 211, 153, 1) 0%, rgba(16, 185, 129, 1) 100%);
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.65, 0, 0.35, 1);
  animation: tlConfidencePulse 2s ease-in-out infinite;
}
@keyframes tlConfidencePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}
.soModule--testingLog .confidence-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(52, 211, 153, 1);
}
.soModule--testingLog .variant-caption {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(156, 163, 175, 1);
  line-height: 1.35;
}
.soModule--testingLog .variant-separator {
  display: flex;
  align-items: center;
  justify-content: center;
}
.soModule--testingLog .vs-badge {
  width: 32px;
  height: 32px;
  background: rgba(15, 23, 42, 1);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 900;
  color: rgba(156, 163, 175, 1);
  letter-spacing: 0.05em;
}

.soModule--testingLog .winner-announcement {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.1) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  margin-top: 1.25rem;
}
.soModule--testingLog .winner-announcement .icon { color: rgba(245, 158, 11, 1); animation: tlTrophySpin 1s ease-in-out; }
@keyframes tlTrophySpin {
  0% { transform: rotate(0deg) scale(0.5); opacity: 0; }
  50% { transform: rotate(180deg) scale(1.1); opacity: 1; }
  100% { transform: rotate(360deg) scale(1); opacity: 1; }
}
.soModule--testingLog .winner-label {
  font-size: 0.875rem;
  font-weight: 800;
  color: rgba(52, 211, 153, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.soModule--testingLog .winner-improvement {
  font-size: 1.125rem;
  font-weight: 800;
  color: rgba(229, 231, 235, 1);
}

.soModule--testingLog .test-progress { margin-top: 1.25rem; }
.soModule--testingLog .progress-bar {
  height: 8px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.soModule--testingLog .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(59, 130, 246, 1) 0%, rgba(99, 102, 241, 1) 100%);
  border-radius: 4px;
  transition: width 600ms ease;
  animation: tlProgressGlow 2s ease-in-out infinite;
}
@keyframes tlProgressGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(59, 130, 246, 0.35); }
  50% { box-shadow: 0 0 16px rgba(59, 130, 246, 0.6); }
}
.soModule--testingLog .progress-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(96, 165, 250, 1);
}

.soModule--testingLog .sensei-inline {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.soModule--testingLog .sensei-comment {
  color: rgba(229, 231, 235, 1);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.soModule--testingLog .sensei-recommendation {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.soModule--testingLog .sensei-label {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  color: rgba(52, 211, 153, 1);
}
.soModule--testingLog .sensei-text { color: rgba(229, 231, 235, 1); font-weight: 600; }
.soModule--testingLog .sensei-confidence { color: rgba(156, 163, 175, 1); font-weight: 700; }
.soModule--testingLog .sensei-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.soModule--testingLog .sensei-btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(229, 231, 235, 1);
  font-weight: 700;
  cursor: pointer;
}
.soModule--testingLog .sensei-btn.primary {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.22) 0%, rgba(59, 130, 246, 0.18) 100%);
  border-color: rgba(52, 211, 153, 0.28);
  color: rgba(52, 211, 153, 1);
}
.soModule--testingLog .sensei-btn:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-1px); }

.soModule--testingLog .card-footer {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.soModule--testingLog .action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(229, 231, 235, 1);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms ease;
  flex: 1;
}
.soModule--testingLog .action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}
.soModule--testingLog .action-btn.action-implement {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(52, 211, 153, 0.15) 100%);
  border-color: rgba(16, 185, 129, 0.3);
  color: rgba(52, 211, 153, 1);
}
.soModule--testingLog .action-btn.action-implement:hover { box-shadow: 0 0 20px rgba(16, 185, 129, 0.2); }

/* ============================================================================
   WINNER GALLERY
   ============================================================================ */

.soModule--testingLog .winner-gallery {
  padding: 0 3rem 4rem;
}
.soModule--testingLog .winner-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 0 1.25rem 0;
}
.soModule--testingLog .winner-title-group {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.soModule--testingLog .winner-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(251, 146, 60, 0.12) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: rgba(245, 158, 11, 1);
}
.soModule--testingLog .winner-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.soModule--testingLog .winner-subtitle {
  margin: 0.25rem 0 0 0;
  color: rgba(156, 163, 175, 1);
}
.soModule--testingLog .winner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.soModule--testingLog .winner-card {
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid var(--tl-border);
  border-radius: 18px;
  padding: 1.25rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}
.soModule--testingLog .winner-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.soModule--testingLog .winner-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: rgba(251, 191, 36, 1);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.6875rem;
}
.soModule--testingLog .winner-date { color: rgba(156, 163, 175, 1); font-weight: 700; font-size: 0.8125rem; }
.soModule--testingLog .winner-card-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 0.75rem; }
.soModule--testingLog .winner-card-winner { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 0.75rem; }
.soModule--testingLog .winner-card-label { color: rgba(156, 163, 175, 1); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; }
.soModule--testingLog .winner-card-value { font-weight: 800; }
.soModule--testingLog .winner-card-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.soModule--testingLog .winner-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(229, 231, 235, 1);
  font-weight: 800;
  font-size: 0.75rem;
}
.soModule--testingLog .winner-pill.accent {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.25);
  color: rgba(52, 211, 153, 1);
}

/* ============================================================================
   TIMELINE
   ============================================================================ */

.soModule--testingLog .testing-log-timeline {
  padding: 2rem 3rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.soModule--testingLog .timeline-group {
  background: rgba(30, 41, 59, 0.25);
  border: 1px solid var(--tl-border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
}
.soModule--testingLog .timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.soModule--testingLog .timeline-title { font-weight: 800; font-size: 1rem; }
.soModule--testingLog .timeline-count { color: rgba(156, 163, 175, 1); font-weight: 700; }
.soModule--testingLog .timeline-items { padding: 0.75rem 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.soModule--testingLog .timeline-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.55);
}
.soModule--testingLog .timeline-left { display: flex; gap: 0.75rem; align-items: center; min-width: 0; }
.soModule--testingLog .timeline-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.soModule--testingLog .timeline-dot.status-running { background: rgba(59,130,246,1); box-shadow: 0 0 10px rgba(59,130,246,0.6); }
.soModule--testingLog .timeline-dot.status-winner { background: rgba(16,185,129,1); box-shadow: 0 0 10px rgba(16,185,129,0.5); }
.soModule--testingLog .timeline-dot.status-analyzing { background: rgba(139,92,246,1); box-shadow: 0 0 10px rgba(168,85,247,0.5); }
.soModule--testingLog .timeline-dot.status-draft { background: rgba(100,116,139,1); }
.soModule--testingLog .timeline-dot.status-inconclusive { background: rgba(245,158,11,1); }
.soModule--testingLog .timeline-dot.status-stopped { background: rgba(239,68,68,1); }
.soModule--testingLog .timeline-meta { min-width: 0; }
.soModule--testingLog .timeline-name { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soModule--testingLog .timeline-sub { color: rgba(156, 163, 175, 1); font-size: 0.8125rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.soModule--testingLog .timeline-sub .sep { opacity: 0.7; }
.soModule--testingLog .timeline-right { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; }
.soModule--testingLog .timeline-vs { color: rgba(156, 163, 175, 1); font-weight: 600; font-size: 0.8125rem; }
.soModule--testingLog .timeline-vs .vs { opacity: 0.7; font-weight: 900; }
.soModule--testingLog .winner-pill { align-self: flex-end; }

/* ============================================================================
   TABLE
   ============================================================================ */

.soModule--testingLog .testing-log-table { padding: 2rem 3rem 3rem; }
.soModule--testingLog .testing-log-table .table-wrap {
  background: rgba(30, 41, 59, 0.25);
  border: 1px solid var(--tl-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.soModule--testingLog .testing-log-table table { width: 100%; border-collapse: collapse; }
.soModule--testingLog .testing-log-table thead { background: rgba(15, 23, 42, 0.95); }
.soModule--testingLog .testing-log-table th, 
.soModule--testingLog .testing-log-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}
.soModule--testingLog .testing-log-table th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(156, 163, 175, 1);
  font-weight: 800;
}
.soModule--testingLog .tbl-title { font-weight: 800; }
.soModule--testingLog .tbl-sub { color: rgba(156, 163, 175, 1); font-size: 0.8125rem; margin-top: 2px; }
.soModule--testingLog .tbl-variants { color: rgba(156, 163, 175, 1); }
.soModule--testingLog .tbl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(229, 231, 235, 1);
  font-weight: 900;
  font-size: 0.75rem;
  margin-right: 6px;
}
.soModule--testingLog .tbl-vs { margin: 0 10px; opacity: 0.65; font-weight: 900; }

/* ============================================================================
   EMPTY STATE
   ============================================================================ */

.soModule--testingLog .testing-log-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.soModule--testingLog .empty-icon-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  border: 2px solid rgba(52, 211, 153, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  animation: tlEmptyFloat 3s ease-in-out infinite;
  color: rgba(52, 211, 153, 1);
}
@keyframes tlEmptyFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.soModule--testingLog .empty-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  text-align: center;
}
.soModule--testingLog .empty-description {
  font-size: 1rem;
  color: rgba(156, 163, 175, 1);
  line-height: 1.6;
  text-align: center;
  max-width: 560px;
  margin: 0 0 2.5rem 0;
}
.soModule--testingLog .empty-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: linear-gradient(135deg, rgba(52, 211, 153, 1) 0%, rgba(16, 185, 129, 1) 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1.0rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(52, 211, 153, 0.25);
  transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.soModule--testingLog .empty-cta:hover { transform: translateY(-3px) scale(1.02); }
.soModule--testingLog .empty-cta:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.soModule--testingLog .empty-tips { margin-top: 4rem; width: 100%; }
.soModule--testingLog .tips-title { font-size: 1.125rem; font-weight: 800; text-align: center; margin: 0 0 2rem 0; }
.soModule--testingLog .tip-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.soModule--testingLog .tip-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid var(--tl-border);
  border-radius: 14px;
  backdrop-filter: blur(20px);
}
.soModule--testingLog .tip-item .icon { color: rgba(52, 211, 153, 1); }
.soModule--testingLog .tip-content { display: flex; flex-direction: column; gap: 0.25rem; }
.soModule--testingLog .tip-title { font-size: 0.9375rem; font-weight: 800; }
.soModule--testingLog .tip-text { font-size: 0.8125rem; color: rgba(156, 163, 175, 1); line-height: 1.5; }

/* ============================================================================
   MODAL
   ============================================================================ */

.soModule--testingLog .testing-log-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1000;
}
.soModule--testingLog .testing-log-modal {
  width: min(720px, 100%);
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  backdrop-filter: blur(30px);
  box-shadow: var(--tl-shadow);
  overflow: hidden;
}
.soModule--testingLog .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.soModule--testingLog .modal-title { display: flex; gap: 0.75rem; align-items: center; }
.soModule--testingLog .modal-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.18) 0%, rgba(59, 130, 246, 0.12) 100%);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: rgba(52, 211, 153, 1);
}
.soModule--testingLog .modal-title-main { font-weight: 900; letter-spacing: -0.02em; }
.soModule--testingLog .modal-title-sub { color: rgba(156, 163, 175, 1); font-size: 0.8125rem; }
.soModule--testingLog .modal-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(229, 231, 235, 1);
  cursor: pointer;
}
.soModule--testingLog .modal-close:hover { background: rgba(255, 255, 255, 0.08); }
.soModule--testingLog .modal-body { padding: 1.25rem 1.5rem; }
.soModule--testingLog .modal-hint {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(156, 163, 175, 1);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.soModule--testingLog .modal-hint.warning {
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.08);
  color: rgba(251, 146, 60, 1);
}
.soModule--testingLog .modal-form { display: flex; flex-direction: column; gap: 1rem; }
.soModule--testingLog .field { display: flex; flex-direction: column; gap: 0.5rem; }
.soModule--testingLog .field-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(156, 163, 175, 1);
}
.soModule--testingLog .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.soModule--testingLog .field input,
.soModule--testingLog .field select,
.soModule--testingLog .field textarea {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  color: rgba(229, 231, 235, 1);
  outline: none;
  font-size: 0.9375rem;
}
.soModule--testingLog .field textarea { resize: vertical; }
.soModule--testingLog .field input:focus,
.soModule--testingLog .field select:focus,
.soModule--testingLog .field textarea:focus {
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}
.soModule--testingLog .modal-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.5);
}
.soModule--testingLog .modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(229, 231, 235, 1);
  font-weight: 800;
  cursor: pointer;
}
.soModule--testingLog .modal-btn.secondary { color: rgba(156, 163, 175, 1); }
.soModule--testingLog .modal-btn.primary {
  background: linear-gradient(135deg, rgba(52, 211, 153, 1) 0%, rgba(16, 185, 129, 1) 100%);
  border-color: rgba(255, 255, 255, 0.12);
}
.soModule--testingLog .modal-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 1200px) {
  .soModule--testingLog .test-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    padding: 1.5rem 2rem 3rem;
  }
  .soModule--testingLog .testing-log-controls,
  .soModule--testingLog .testing-log-stats,
  .soModule--testingLog .winner-gallery {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 768px) {
  .soModule--testingLog .testing-log-hero-elite {
    min-height: auto;
    padding: 3rem 1.5rem;
  }
  .soModule--testingLog .hero-quick-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .soModule--testingLog .quick-stat { flex: 1; min-width: 140px; }
  .soModule--testingLog .stats-grid { grid-template-columns: 1fr 1fr; }
  .soModule--testingLog .testing-log-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.5rem;
  }
  .soModule--testingLog .view-switcher { width: 100%; justify-content: space-between; }
  .soModule--testingLog .filter-bar { overflow-x: auto; scrollbar-width: none; }
  .soModule--testingLog .search-box { width: 100%; min-width: 0; }
  .soModule--testingLog .test-cards-grid { grid-template-columns: 1fr; padding: 1.5rem; }
  .soModule--testingLog .variants-section { grid-template-columns: 1fr; }
  .soModule--testingLog .variant-separator { transform: rotate(90deg); }
  .soModule--testingLog .tip-list { grid-template-columns: 1fr; }
  .soModule--testingLog .field-row { grid-template-columns: 1fr; }
}

