:root {
  --cockpit-navy: #111827;
  --cockpit-ink: #1f2937;
  --cockpit-bg: #f4f6f8;
  --cockpit-line: #e5e7eb;
}

body {
  background: var(--cockpit-bg);
  color: var(--cockpit-ink);
}

.cockpit-nav {
  background: linear-gradient(90deg, #111827, #243244);
}

.metric-card {
  border-radius: 8px;
}

.metric-card .display-6 {
  font-size: clamp(1.65rem, 2vw, 2.25rem);
  letter-spacing: 0;
}

.info-icon {
  appearance: none;
  -webkit-appearance: none;
  align-items: center;
  background: #ffbf00;
  border: 0;
  border-radius: 8px;
  color: #111827;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  height: 2.15rem;
  justify-content: center;
  line-height: 1;
  min-width: 2.15rem;
  padding: 0;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(17, 24, 39, .16);
  vertical-align: middle;
}

.info-icon:hover,
.info-icon:focus {
  background: #f5b400;
  color: #111827;
  outline: 3px solid rgba(255, 191, 0, .28);
}

.metric-plain {
  background: #fff8df;
  border-left: 3px solid #ffbf00;
  border-radius: 6px;
  color: #4b5563;
  font-size: .86rem;
  line-height: 1.35;
  padding: .55rem .65rem;
}

.info-label {
  align-items: center;
  display: inline-flex;
  gap: .35rem;
  white-space: nowrap;
}

.info-label .info-icon {
  border-radius: 6px;
  font-size: .78rem;
  height: 1.35rem;
  min-width: 1.35rem;
}

th .info-label .info-icon,
td .info-label .info-icon {
  font-size: .72rem;
  height: 1.15rem;
  min-width: 1.15rem;
}

.popover {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
}

.popover-header {
  background: #fff8df;
  border-bottom: 1px solid #ffe08a;
  color: #111827;
  font-weight: 700;
}

.score-progress {
  height: 1.4rem;
  background: #e9eef3;
}

.collapse-pill {
  align-items: center;
  background: #111827;
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: .75rem;
  padding: .7rem 1rem;
}

.collapse-pill strong {
  font-size: 1.35rem;
}

.card {
  border-radius: 8px;
}

.table th {
  color: #64748b;
  font-size: .78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

a {
  color: #0f5f8f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

pre {
  background: #0f172a;
  border-radius: 8px;
  color: #e5e7eb;
  padding: 1rem;
  white-space: pre-wrap;
}

canvas {
  min-height: 260px;
}
