.nhs-redundancy-page .nhs-home-hero p {
  max-width: 920px;
}

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

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

.nhs-redundancy-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-redundancy-region-tab.is-active {
  border-color: var(--nhs-blue);
  background: var(--nhs-blue);
  color: #fff;
}

.nhs-redundancy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

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

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

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

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

.nhs-redundancy-field input,
.nhs-redundancy-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-redundancy-field select {
  background-position:
    calc(100% - var(--rp-select-chevron-right, 20px)) 50%,
    calc(100% - var(--rp-select-chevron-right-inner, 15px)) 50%;
  padding-right: var(--rp-select-padding-right, 40px);
}

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

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

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

.nhs-redundancy-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-redundancy-note-grid,
.nhs-redundancy-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.nhs-redundancy-note-grid article,
.nhs-redundancy-mini-result {
  padding: 14px;
  border: 1px solid var(--nhs-border);
  border-radius: 14px;
  background: var(--nhs-surface-soft);
}

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

.nhs-redundancy-note-grid strong,
.nhs-redundancy-mini-result strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.nhs-redundancy-mini-result span {
  display: block;
  margin-top: 8px;
  color: #526277;
  font-size: 0.86rem;
  line-height: 1.5;
}

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

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

.nhs-redundancy-alert-success {
  border: 1px solid #86efac;
  background: #ecfdf3;
  color: #166534;
}

.nhs-redundancy-disclaimer {
  margin-top: 16px;
  color: #526277;
  font-size: 0.9rem;
  line-height: 1.6;
}

.nhs-home-tool-link.is-disabled {
  opacity: 0.7;
  cursor: default;
}

@media (max-width: 920px) {
  .nhs-redundancy-grid {
    grid-template-columns: 1fr;
  }

  .nhs-redundancy-results-card {
    position: static;
  }
}

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