.nhs-back-pay-page .nhs-home-hero p {
  max-width: 980px;
}

.nhs-back-pay-page .nhs-home-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  width: 100%;
  margin-left: 0;
  overflow: visible;
}

.nhs-back-pay-page .nhs-home-highlights li {
  align-items: flex-start;
  white-space: normal;
}

.nhs-back-pay-shell {
  margin-top: 26px;
}

.nhs-back-pay-region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.nhs-back-pay-region-tab {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--nhs-border);
  border-radius: 999px;
  background: #fff;
  color: #526277;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nhs-back-pay-region-tab.is-active {
  border-color: var(--nhs-blue);
  background: var(--nhs-blue);
  color: #fff;
}

.nhs-back-pay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.nhs-back-pay-card-stack {
  display: grid;
  gap: 18px;
}

.nhs-back-pay-form-grid,
.nhs-back-pay-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nhs-back-pay-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nhs-back-pay-field span,
.nhs-back-pay-range-field > span {
  color: #526277;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nhs-back-pay-field input,
.nhs-back-pay-field select {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--nhs-border);
  border-radius: 14px;
  background: #fff;
  color: var(--nhs-ink);
  font: inherit;
}

.nhs-back-pay-range-field {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
  padding: 10px 4px 4px;
}

.nhs-back-pay-range-field input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--nhs-blue) 0%, var(--nhs-blue) var(--range-progress, 0%), #c9d9f2 var(--range-progress, 0%), #c9d9f2 100%);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 94, 184, 0.06);
}

.nhs-back-pay-range-field input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.nhs-back-pay-range-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-top: -7px;
  background: var(--nhs-blue);
  border: 3px solid #ffffff;
  box-shadow: 0 8px 18px rgba(0, 94, 184, 0.28);
}

.nhs-back-pay-range-field input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #c9d9f2;
}

.nhs-back-pay-range-field input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--nhs-blue);
}

.nhs-back-pay-range-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: var(--nhs-blue);
  box-shadow: 0 8px 18px rgba(0, 94, 184, 0.28);
}

.nhs-back-pay-range-field input[type="range"]:focus-visible {
  outline: none;
}

.nhs-back-pay-range-field input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.18), 0 8px 18px rgba(0, 94, 184, 0.28);
}

.nhs-back-pay-range-field input[type="range"]:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.18), 0 8px 18px rgba(0, 94, 184, 0.28);
}

.nhs-back-pay-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--nhs-ink);
  font-weight: 600;
  cursor: pointer;
}

.nhs-back-pay-check input {
  width: 20px;
  height: 20px;
  margin: 0;
}

.nhs-back-pay-results-card {
  position: sticky;
  top: 18px;
}

.nhs-back-pay-results-top {
  padding: 16px 16px 18px;
  border-radius: 16px;
  background: var(--nhs-blue);
  color: #fff;
}

.nhs-back-pay-results-top .nhs-home-results-label,
.nhs-back-pay-results-top .nhs-home-results-value,
.nhs-back-pay-results-top .nhs-home-results-badge {
  color: #fff;
}

.nhs-back-pay-results-top .nhs-home-results-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.nhs-back-pay-note-grid {
  margin-top: 18px;
}

.nhs-back-pay-note-grid article {
  padding: 14px;
  border: 1px solid var(--nhs-border);
  border-radius: 14px;
  background: var(--nhs-surface-soft);
}

.nhs-back-pay-note-grid small {
  display: block;
  color: #526277;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nhs-back-pay-note-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.nhs-back-pay-alert {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.nhs-back-pay-alert-warning {
  border: 1px solid #facc15;
  background: #fff9db;
  color: #7c5700;
}

.nhs-back-pay-alert-info {
  border: 1px solid #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

@media (max-width: 920px) {
  .nhs-back-pay-page .nhs-home-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nhs-back-pay-grid {
    grid-template-columns: 1fr;
  }

  .nhs-back-pay-results-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .nhs-back-pay-form-grid,
  .nhs-back-pay-note-grid {
    grid-template-columns: 1fr;
  }
}
