.nhs-sick-pay-page .nhs-home-hero p {
  max-width: 960px;
}

.nhs-sick-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-sick-pay-page .nhs-home-highlights li {
  align-items: flex-start;
  white-space: normal;
}

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

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

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

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

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

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

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

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

.nhs-sick-pay-field input,
.nhs-sick-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-sick-pay-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-sick-pay-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
}

.nhs-sick-pay-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--nhs-border);
  border-radius: 14px;
  background: var(--nhs-surface-soft);
  color: var(--nhs-ink);
  font-weight: 600;
}

.nhs-sick-pay-check input {
  width: 18px;
  height: 18px;
}

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

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

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

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

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

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

.nhs-sick-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-sick-pay-phase-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  align-items: center;
  margin-top: 18px;
  margin-bottom: 16px;
  padding: 16px 0 14px;
  border-top: 1px solid var(--nhs-border);
  border-bottom: 1px solid var(--nhs-border);
}

.nhs-sick-pay-phase-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0;
  color: #526277;
  font-weight: 700;
  white-space: nowrap;
}

.nhs-sick-pay-phase-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 999px;
  background: #d6e0ee;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(9, 30, 66, 0.1);
}

.nhs-sick-pay-phase-text {
  min-width: 0;
}

.nhs-sick-pay-phase-step.is-active {
  color: var(--nhs-blue);
}

.nhs-sick-pay-phase-step.is-active .nhs-sick-pay-phase-dot {
  background: var(--nhs-blue);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(0, 94, 184, 0.22);
}

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

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

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

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

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

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

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

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

  .nhs-sick-pay-checks {
    flex-direction: column;
  }

  .nhs-sick-pay-phase-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
