/* ================================================================
   CricketScenarios — IPL 2026 Scenario Engine
   Broadcast/Analyst Professional Light Theme
   ================================================================ */

/* ── CSS Custom Properties ─────────────────────────────────────── */
:root {
  --primary:       #1a237e;
  --primary-light: #3949ab;
  --accent:        #1565c0;
  --accent-light:  #e3f2fd;
  --success:       #2e7d32;
  --success-light: #e8f5e9;
  --warning:       #f57f17;
  --warning-light: #fffde7;
  --danger:        #c62828;
  --danger-light:  #ffebee;
  --surface:       #ffffff;
  --bg:            #f5f6fa;
  --bg-alt:        #eef0f8;
  --border:        #e0e4ef;
  --border-dark:   #c5cae9;
  --text:          #1a1a2e;
  --text-secondary:#4a5568;
  --muted:         #6b7280;
  --shadow-sm:     0 1px 3px rgba(26,35,126,0.08);
  --shadow-md:     0 4px 12px rgba(26,35,126,0.12);
  --shadow-lg:     0 8px 24px rgba(26,35,126,0.15);
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     12px;
  --font-mono:     'JetBrains Mono', 'Fira Mono', 'Consolas', monospace;
  --font:          -apple-system, 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1.125rem; }
h4 { font-size: 0.9375rem; }

p { margin-bottom: 0.75rem; }

/* ── Navigation Bar ─────────────────────────────────────────────── */
.nav {
  background: var(--primary);
  color: #fff;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  gap: 0;
}

.nav-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 2rem;
  letter-spacing: -0.02em;
}

.nav-brand span { color: #90caf9; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
}

.nav-links a.active {
  background: rgba(255,255,255,0.2);
  font-weight: 600;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}

/* ── Page Header ────────────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  padding: 2rem 1.5rem 1.75rem;
}

.page-header h1 { font-size: 1.75rem; margin-bottom: 0.25rem; }
.page-header p  { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.9375rem; }

.header-meta {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ── Layout Containers ──────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main-content {
  padding: 1.5rem 1.5rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Card Component ─────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card + .card { margin-top: 1.25rem; }

/* ── Grid Layouts ───────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.stat-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  text-align: center;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* ── Points Table ───────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--surface);
}

thead th {
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.75rem 0.875rem;
  text-align: left;
  white-space: nowrap;
  position: sticky;
  top: 0;
}

thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--accent-light); }

tbody td {
  padding: 0.7rem 0.875rem;
  vertical-align: middle;
  white-space: nowrap;
}

/* Qualification row tints */
tbody tr.qualified  { background: var(--success-light); }
tbody tr.safe       { background: #f0fdf4; }
tbody tr.borderline { background: var(--warning-light); }
tbody tr.danger     { background: #fff8f0; }
tbody tr.eliminated { background: var(--danger-light); }

tbody tr.qualified:hover  { background: #dcfce7; }
tbody tr.borderline:hover { background: #fef9c3; }
tbody tr.eliminated:hover { background: #fee2e2; }

/* Numeric cells */
.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 0.85rem; }
.nrr-pos { color: var(--success); font-weight: 700; }
.nrr-neg { color: var(--danger);  font-weight: 700; }

/* ── Team Badge ─────────────────────────────────────────────────── */
.team-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
}

.team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.team-chip {
  display: inline-block;
  padding: 0.1875rem 0.5rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
}

/* ── Status Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-success { background: var(--success-light); color: var(--success); border: 1px solid #a7f3d0; }
.badge-warning { background: var(--warning-light); color: #b45309;        border: 1px solid #fde68a; }
.badge-danger  { background: var(--danger-light);  color: var(--danger);  border: 1px solid #fca5a5; }
.badge-info    { background: var(--accent-light);  color: var(--accent);  border: 1px solid #bfdbfe; }
.badge-muted   { background: var(--bg-alt);        color: var(--muted);   border: 1px solid var(--border); }

/* Rank circle */
.rank-circle {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.rank-circle.top4 { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Form Elements ──────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 0.5625rem 0.875rem;
  font-size: 0.9375rem;
  font-family: var(--font);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}

select.form-control { cursor: pointer; }

.form-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5625rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(21,101,192,0.3);
}
.btn-primary:hover { background: var(--primary); box-shadow: 0 4px 12px rgba(21,101,192,0.4); text-decoration: none; color: #fff; }

.btn-secondary {
  background: var(--surface);
  color: var(--accent);
  border: 1.5px solid var(--border-dark);
}
.btn-secondary:hover { background: var(--bg-alt); text-decoration: none; }

.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #1b5e20; text-decoration: none; color: #fff; }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #8b0000; text-decoration: none; color: #fff; }

.btn-warning { background: var(--warning); color: #fff; }
.btn-warning:hover { background: #e65100; text-decoration: none; color: #fff; }

.btn-sm { padding: 0.3125rem 0.75rem; font-size: 0.8125rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

.refresh-btn {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.15s;
}

.refresh-btn:hover { background: rgba(255,255,255,0.25); }

/* ── Scenario Box (Narrative Display) ───────────────────────────── */
.scenario-box {
  background: linear-gradient(135deg, var(--accent-light) 0%, #e8eaf6 100%);
  border: 1px solid var(--border-dark);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.125rem 1.25rem;
  margin: 1rem 0;
}

.scenario-box.success {
  background: var(--success-light);
  border-left-color: var(--success);
}

.scenario-box.warning {
  background: var(--warning-light);
  border-left-color: var(--warning);
}

.scenario-box.danger {
  background: var(--danger-light);
  border-left-color: var(--danger);
}

.scenario-box .scenario-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.375rem;
}

.scenario-box .scenario-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
}

/* ── Win Probability Bar ────────────────────────────────────────── */
.prob-bar-container {
  margin: 1.25rem 0;
}

.prob-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.prob-bar-track {
  height: 36px;
  border-radius: 18px;
  background: var(--bg-alt);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  position: relative;
}

.prob-bar-fill {
  height: 100%;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: #fff;
  min-width: 36px;
}

.prob-bar-fill.team-a { background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%); }
.prob-bar-fill.team-b { background: linear-gradient(90deg, #e53935 0%, #c62828 100%); margin-left: auto; }

.prob-bar-divider {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(0,0,0,0.1);
  transform: translateX(-50%);
}

/* Animated progress bar (generic) */
.progress-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--bg-alt);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 0.5rem 0;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
  transition: width 0.5s ease;
  animation: progress-pulse 2s ease-in-out infinite;
}

@keyframes progress-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.85; }
}

/* ── Module Cards (Home page) ───────────────────────────────────── */
.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
}

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

.module-card-icon {
  font-size: 2.25rem;
  line-height: 1;
}

.module-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
}

.module-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.module-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

.module-card-link::after { content: ' →'; }

/* ── Fixture Card ───────────────────────────────────────────────── */
.fixture-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  transition: background 0.1s;
}

.fixture-item:hover { background: var(--bg-alt); }

.fixture-match-id {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 36px;
}

.fixture-teams {
  flex: 1;
  font-weight: 700;
  font-size: 0.9375rem;
}

.fixture-vs { color: var(--muted); font-weight: 400; font-size: 0.8125rem; margin: 0 0.25rem; }

.fixture-meta {
  font-size: 0.7875rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.4;
}

.fixture-actions {
  display: flex;
  gap: 0.375rem;
  align-items: center;
}

.sim-btn {
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1.5px solid;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--font);
}

.sim-btn.win  { border-color: var(--success); color: var(--success); background: transparent; }
.sim-btn.win.active, .sim-btn.win:hover  { background: var(--success); color: #fff; }

.sim-btn.loss { border-color: var(--danger);  color: var(--danger);  background: transparent; }
.sim-btn.loss.active, .sim-btn.loss:hover { background: var(--danger);  color: #fff; }

.sim-btn.nr   { border-color: var(--muted);   color: var(--muted);   background: transparent; }
.sim-btn.nr.active, .sim-btn.nr:hover   { background: var(--muted);   color: #fff; }

/* ── Info Banner ────────────────────────────────────────────────── */
.info-banner {
  background: var(--accent-light);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 0.875rem 1.125rem;
  font-size: 0.875rem;
  color: var(--accent);
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

/* ── Separator ──────────────────────────────────────────────────── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

/* ── Result Table ───────────────────────────────────────────────── */
.result-table td:first-child { font-weight: 600; }
.result-table td.highlight   { background: var(--accent-light); font-weight: 700; }

/* ── Page-specific: Home ────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #283593 60%, var(--accent) 100%);
  color: #fff;
  padding: 2.5rem 1.5rem 2rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  flex-wrap: wrap;
}

.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4caf50;
  margin-right: 0.375rem;
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 1.25rem 1.5rem;
  font-size: 0.8125rem;
  margin-top: auto;
}

.footer a { color: rgba(255,255,255,0.85); }

/* ── Utility Classes ────────────────────────────────────────────── */
.text-right    { text-align: right; }
.text-center   { text-align: center; }
.text-muted    { color: var(--muted); }
.text-success  { color: var(--success); font-weight: 600; }
.text-danger   { color: var(--danger);  font-weight: 600; }
.text-warning  { color: var(--warning); font-weight: 600; }
.text-primary  { color: var(--primary); font-weight: 600; }
.font-mono     { font-family: var(--font-mono); }
.font-bold     { font-weight: 700; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: 0.5rem; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.hidden { display: none !important; }

/* Loading state */
.loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.loading::before {
  content: '';
  display: block;
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 1rem;
}

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

.error-state {
  text-align: center;
  padding: 2rem;
  color: var(--danger);
  background: var(--danger-light);
  border-radius: var(--radius-md);
  border: 1px solid #fca5a5;
}

/* ── Tool section headers ───────────────────────────────────────── */
.tool-section {
  margin-bottom: 2rem;
}

.tool-section-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 0.375rem 0.5rem; font-size: 0.8125rem; }
  .main-content { padding: 1rem 1rem 2rem; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 1.5rem; }
  .nav-brand { font-size: 0.9375rem; margin-right: 1rem; }
  .fixture-meta { display: none; }
}

/* ── Print Styles ───────────────────────────────────────────────── */
@media print {
  .nav, .refresh-btn, .btn, .fixture-actions, .form-group, .nav-right { display: none !important; }

  body { background: #fff; font-size: 11pt; }

  .card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }

  table { font-size: 9pt; }

  thead th { background: #1a237e !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  tbody tr.qualified  { background: #e8f5e9 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  tbody tr.eliminated { background: #ffebee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  tbody tr.borderline { background: #fffde7 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .prob-bar-track { border: 2px solid #333; }

  .hero { background: #1a237e !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .scenario-box { border: 1px solid #ccc; border-left: 4px solid #1565c0; }

  .page-break { page-break-before: always; }

  .no-print { display: none !important; }

  a::after { content: ''; }

  h1, h2, h3 { color: #1a237e; }
}
