/* ============================================
   Cloud Learning Platform — Style Sheet
   从零到高级解决方案架构师
   ============================================ */

:root {
  --primary: #7C3AED;
  --primary-dark: #6D28D9;
  --primary-light: #EDE9FE;
  --dark: #0A1628;
  --dark-2: #142339;
  --gray-900: #1E293B;
  --gray-700: #475569;
  --gray-500: #94A3B8;
  --gray-300: #CBD5E1;
  --gray-200: #E2E8F0;
  --gray-100: #F1F5F9;
  --gray-50: #F8FAFC;
  --white: #FFFFFF;
  --green: #10B981;
  --green-light: #D1FAE5;
  --yellow: #F59E0B;
  --yellow-light: #FEF3C7;
  --red: #EF4444;
  --red-light: #FEE2E2;
  --purple: #8B5CF6;
  --purple-light: #EDE9FE;
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --border: #E2E8F0;
  --text-secondary: #475569;
  --accent: #8B5CF6;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ Reset ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.7;
  color: var(--gray-900);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
}

/* ============ Layout ============ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Navbar ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.navbar-logo .cloud-icon {
  font-size: 1.4rem;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navbar-links a {
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
}

.navbar-links a:hover {
  color: var(--primary);
}

.navbar-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-700);
}

.progress-bar-mini {
  width: 80px;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-mini-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--primary));
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, #0A1628 0%, #142339 40%, #1a2a4a 100%);
  color: white;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: #7DB4FF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, #7C3AED, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ============ Sections ============ */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ============ Learning Path ============ */
.learning-path {
  background: var(--white);
}

.phase {
  margin-bottom: 48px;
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.phase-1 .phase-header {
  background: linear-gradient(135deg, #D1FAE5 0%, #EDE9FE 100%);
}

.phase-2 .phase-header {
  background: linear-gradient(135deg, #FEF3C7 0%, #FEF9E7 100%);
}

.phase-3 .phase-header {
  background: linear-gradient(135deg, #FEE2E2 0%, #FEF2F2 100%);
}

.phase-4 .phase-header {
  background: linear-gradient(135deg, #EDE9FE 0%, #F5F3FF 100%);
}

.phase-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
  background: white;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.phase-1 .phase-icon { color: var(--green); }
.phase-2 .phase-icon { color: var(--yellow); }
.phase-3 .phase-icon { color: var(--red); }
.phase-4 .phase-icon { color: var(--purple); }

.phase-title {
  flex: 1;
}

.phase-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.phase-title p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.phase-progress {
  text-align: right;
  font-size: 0.85rem;
  color: var(--gray-700);
  font-weight: 600;
}

/* Module Cards Grid */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.module-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.module-card.completed {
  border-color: var(--green);
  background: linear-gradient(135deg, #F0FDF4 0%, white 100%);
}

.module-card.completed::after {
  content: '✓';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.module-card-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.phase-1 .module-card-num { color: var(--green); }
.phase-2 .module-card-num { color: var(--yellow); }
.phase-3 .module-card-num { color: var(--red); }
.phase-4 .module-card-num { color: var(--purple); }

.module-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.module-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.5;
  flex: 1;
}

.module-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.8rem;
  color: var(--gray-400);
}

.module-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============ Module Content Page ============ */
.module-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px 60px;
}

.module-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  font-size: 0.9rem;
}

.module-nav a {
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 6px;
}

.module-nav a:hover {
  color: var(--primary);
}

.module-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--gray-100);
}

.module-header .breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.module-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.module-header .meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.module-header .meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Content Styling */
.content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
}

.content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 12px;
}

.content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 24px 0 8px;
}

.content p {
  margin-bottom: 16px;
}

.content ul, .content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.content li {
  margin-bottom: 6px;
}

.content code {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--primary-dark);
}

.content pre {
  background: var(--dark);
  color: #E2E8F0;
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 20px 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}

.content blockquote p {
  margin: 0;
  color: var(--gray-700);
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.content th {
  background: var(--gray-100);
  font-weight: 700;
  color: var(--dark);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--gray-200);
}

.content td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.content tr:hover td {
  background: var(--gray-50);
}

/* Info Boxes */
.info-box {
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  gap: 12px;
}

.info-box-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
}

.info-box-content {
  flex: 1;
}

.info-box-content p {
  margin: 0;
}

.info-box-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.info-tip {
  background: var(--primary-light);
  border: 1px solid rgba(0, 102, 255, 0.15);
}

.info-tip .info-box-title { color: var(--primary); }

.info-warn {
  background: var(--yellow-light);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.info-warn .info-box-title { color: #92400E; }

.info-danger {
  background: var(--red-light);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.info-danger .info-box-title { color: #991B1B; }

.info-success {
  background: var(--green-light);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.info-success .info-box-title { color: #065F46; }

/* Architecture Diagram Container */
.diagram {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  text-align: center;
}

.diagram-caption {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 12px;
  font-style: italic;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.comparison-table th {
  background: var(--dark);
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}

.comparison-table th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
}

.comparison-table tr:nth-child(even) td {
  background: var(--gray-50);
}

/* Quiz Section */
.quiz-section {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
}

.quiz-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}

.quiz-question {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.quiz-question p {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all var(--transition);
}

.quiz-option:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.quiz-option.correct {
  border-color: var(--green);
  background: var(--green-light);
}

.quiz-option.wrong {
  border-color: var(--red);
  background: var(--red-light);
}

.quiz-option input[type="radio"] {
  accent-color: var(--primary);
}

.quiz-feedback {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.88rem;
}

.quiz-feedback.show {
  display: block;
}

.quiz-feedback.correct {
  background: var(--green-light);
  color: #065F46;
}

.quiz-feedback.wrong {
  background: var(--red-light);
  color: #991B1B;
}

/* Module Footer */
.module-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 2px solid var(--gray-100);
}

.module-footer-nav {
  display: flex;
  gap: 12px;
}

.btn-module {
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-module-prev {
  background: var(--gray-100);
  color: var(--gray-700);
}

.btn-module-prev:hover {
  background: var(--gray-200);
}

.btn-module-next {
  background: var(--primary);
  color: white;
}

.btn-module-next:hover {
  background: var(--primary-dark);
}

.btn-complete {
  background: var(--green);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-complete:hover {
  background: #059669;
}

.btn-complete.done {
  background: var(--gray-100);
  color: var(--gray-500);
}

/* ============ Footer ============ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}

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

.footer-brand h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============ Key Takeaways ============ */
.key-takeaways {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--purple-light) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
}

.key-takeaways h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  color: var(--dark);
}

.key-takeaways ul {
  list-style: none;
  padding: 0;
}

.key-takeaways li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-700);
}

.key-takeaways li::before {
  content: '🎯';
  position: absolute;
  left: 0;
}

/* ============ Responsive ============ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

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

  .navbar-links {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .content h2 {
    font-size: 1.25rem;
  }

  .module-footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}

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

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.module-card {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.module-card:nth-child(1) { animation-delay: 0.05s; }
.module-card:nth-child(2) { animation-delay: 0.1s; }
.module-card:nth-child(3) { animation-delay: 0.15s; }
.module-card:nth-child(4) { animation-delay: 0.2s; }
.module-card:nth-child(5) { animation-delay: 0.25s; }
.module-card:nth-child(6) { animation-delay: 0.3s; }

/* Architecture Diagram (CSS-based) */
.arch-diagram {
  font-family: monospace;
  white-space: pre;
  background: var(--dark);
  color: #7DB4FF;
  padding: 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 20px 0;
}

/* Tag pills */
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.tag-green { background: var(--green-light); color: #065F46; }
.tag-yellow { background: var(--yellow-light); color: #92400E; }
.tag-red { background: var(--red-light); color: #991B1B; }
.tag-purple { background: var(--purple-light); color: #5B21B6; }
.tag-blue { background: var(--primary-light); color: var(--primary-dark); }

/* ============ Mermaid Diagrams ============ */
.mermaid {
  display: flex;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.mermaid:hover {
  box-shadow: var(--shadow-md);
}
.mermaid svg {
  max-width: 100%;
  height: auto;
}
/* Dark theme variant for specific diagrams */
.mermaid-dark {
  background: var(--dark);
  border-color: var(--gray-700);
}
.mermaid-dark svg {
  filter: invert(0.9) hue-rotate(180deg);
}

/* ============ Selection Matrix Table ============ */
.arch-table {
  margin: 24px 0;
  overflow-x: auto;
}
.selection-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.selection-matrix thead {
  background: var(--primary);
  color: var(--white);
}
.selection-matrix th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.selection-matrix td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-200);
}
.selection-matrix tbody tr:nth-child(even) {
  background: var(--gray-50);
}
.selection-matrix tbody tr:hover {
  background: var(--primary-light);
}
.selection-matrix tfoot {
  background: var(--gray-100);
  font-weight: 600;
}
.selection-matrix tfoot td {
  border-top: 2px solid var(--primary);
  border-bottom: none;
}
.score-high {
  color: var(--green);
  font-weight: 600;
}
.score-mid {
  color: var(--gray-700);
}
.score-low {
  color: var(--red);
}
.score-winner {
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}
.arch-note {
  margin-top: 12px;
  padding: 8px 16px;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  color: var(--primary-dark);
  font-size: 14px;
}