.hrv-page {
  background: #07111f;
  color: #e5f3ff;
}

.hrv-hero,
.hrv-panel,
.hrv-result-panel {
  border: 1px solid #243b53;
  border-radius: 16px;
  background: #0b1220;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.hrv-hero {
  padding: 2rem;
  margin-bottom: 1rem;
}

.hrv-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.03;
}

.hrv-hero p {
  color: #bfdbfe;
}

.hrv-link-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 1rem 0 1.5rem;
}

.hrv-link-strip a {
  border: 1px solid #334155;
  border-radius: 12px;
  background: #111827;
  color: #e0f2fe;
  font-weight: 900;
  padding: .85rem 1rem;
  text-align: center;
  text-decoration: none;
}

.hrv-link-strip a:hover {
  border-color: #38bdf8;
  color: #38bdf8;
}

.hrv-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, .85fr);
  gap: 1.5rem;
  align-items: start;
}

.hrv-panel-header,
.hrv-panel-body {
  padding: 1.25rem;
}

.hrv-panel-header {
  border-bottom: 1px solid #243b53;
}

.hrv-panel-header h2,
.article-body h2 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
  margin: 0 0 .4rem;
}

.hrv-panel-header p {
  color: #93c5fd;
  margin: 0;
}

.hrv-panel .form-label {
  color: #bfdbfe;
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hrv-panel .form-control,
.hrv-panel .form-select {
  border-color: #334155;
  background-color: #0f172a;
  color: #f8fafc;
}

.hrv-panel .form-control:focus,
.hrv-panel .form-select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 .18rem rgba(56, 189, 248, .15);
}

.hrv-panel .form-text {
  color: #93c5fd;
}

.hrv-result-panel {
  padding: 1rem;
  position: sticky;
  top: 84px;
}

.hrv-readiness-card {
  border-radius: 14px;
  padding: 1.2rem;
  background: linear-gradient(135deg, #082f49, #111827);
  text-align: center;
}

.hrv-readiness-card span,
.hrv-readiness-card small {
  color: #bae6fd;
  display: block;
}

.hrv-readiness-card strong {
  color: #fff;
  display: block;
  font-size: 4rem;
  font-weight: 950;
  line-height: 1;
  margin: .4rem 0;
}

.hrv-readiness-card.is-green {
  background: linear-gradient(135deg, #064e3b, #111827);
}

.hrv-readiness-card.is-yellow {
  background: linear-gradient(135deg, #713f12, #111827);
}

.hrv-readiness-card.is-orange {
  background: linear-gradient(135deg, #7c2d12, #111827);
}

.hrv-readiness-card.is-red {
  background: linear-gradient(135deg, #7f1d1d, #111827);
}

.hrv-result-list {
  display: grid;
  gap: .75rem;
  margin: 1rem 0;
}

.hrv-result-list > div,
.hrv-advice,
.hrv-decision-grid > div {
  border: 1px solid #334155;
  border-radius: 14px;
  background: #111827;
  padding: .9rem;
}

.hrv-result-list span {
  color: #94a3b8;
  display: block;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hrv-result-list strong {
  color: #e0f2fe;
  display: block;
  font-size: 1.05rem;
  margin-top: .15rem;
}

.hrv-advice {
  color: #dbeafe;
  line-height: 1.5;
}

.article-body {
  color: #dbeafe;
  font-size: 1rem;
  line-height: 1.7;
}

.article-body h2 {
  margin-top: 1.8rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li {
  color: #dbeafe;
}

.article-body a,
.hrv-source-list a {
  color: #7dd3fc;
  font-weight: 800;
}

.hrv-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.hrv-decision-grid h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  margin: 0 0 .4rem;
}

.hrv-decision-grid p {
  margin: 0;
}

.hrv-panel details {
  border: 1px solid #334155;
  border-radius: 14px;
  background: #111827;
  margin-top: .75rem;
  padding: .9rem 1rem;
}

.hrv-panel summary {
  color: #f8fafc;
  cursor: pointer;
  font-weight: 950;
}

.hrv-panel details p {
  color: #cbd5e1;
  margin: .75rem 0 0;
}

.hrv-source-list {
  margin: 0;
}

@media (max-width: 991px) {
  .hrv-tool-grid,
  .hrv-decision-grid {
    grid-template-columns: 1fr;
  }

  .hrv-result-panel {
    position: static;
  }
}

@media (max-width: 575px) {
  .hrv-link-strip {
    grid-template-columns: 1fr;
  }

  .hrv-hero {
    padding: 1.35rem;
  }
}
