.assessment-language-switch {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 800;
}

.assessment-language-switch a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.assessment-language-switch a.is-active {
  border-bottom-color: currentColor;
}

.assessment-access-section {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  background: #f7fbfd;
  border-bottom: 1px solid var(--line);
}

.assessment-access-intro {
  max-width: 760px;
  margin-bottom: 1rem;
}

.assessment-access-intro h2 {
  margin: .2rem 0 .45rem;
  color: var(--blue-dark);
}

.assessment-access-intro p {
  margin: 0;
  color: var(--muted);
}

.assessment-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}

.assessment-access-card {
  display: grid;
  align-content: start;
  gap: .35rem;
  min-height: 148px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--blue-dark);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 77, 124, .06);
}

button.assessment-access-card {
  width: 100%;
  font: inherit;
}

.assessment-access-card:hover,
.assessment-access-card:focus-visible,
.assessment-access-card.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15, 77, 124, .10), 0 12px 28px rgba(15, 77, 124, .08);
}

.assessment-access-card strong {
  font-size: 1.05rem;
}

.assessment-access-card span {
  color: var(--muted);
  line-height: 1.55;
}

.assessment-access-card--voice {
  background: #eef9f4;
  border-color: rgba(31, 132, 92, .28);
}

.assessment-access-card--urdu strong,
.assessment-access-card--voice strong {
  font-family: "Noto Nastaliq Urdu", "Noto Sans Arabic", sans-serif;
  line-height: 1.9;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  font-family: "Noto Sans Arabic", Inter, Arial, sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .button,
html[dir="rtl"] .answer-card,
html[dir="rtl"] label {
  line-height: 1.75;
}

html[dir="rtl"] .assessment-access-card {
  text-align: right;
}

html[dir="rtl"] .nav-links,
html[dir="rtl"] .top-line-inner,
html[dir="rtl"] .assessment-progress-copy,
html[dir="rtl"] .step-navigation,
html[dir="rtl"] .branch-question-nav,
html[dir="rtl"] .dual-site-route__actions,
html[dir="rtl"] .footer-bottom {
  direction: rtl;
}

html[dir="rtl"] .step-navigation,
html[dir="rtl"] .branch-question-nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  text-align: right;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[inputmode="tel"],
html[dir="rtl"] input[inputmode="numeric"],
html[dir="rtl"] .reference-id,
html[dir="rtl"] .phone-number,
html[dir="rtl"] .email-address {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .photo-list,
html[dir="rtl"] ol,
html[dir="rtl"] ul {
  padding-right: 1.2rem;
  padding-left: 0;
}

html[lang="ur"] .support-choice-grid .answer-card:has(input:checked)::after,
html[lang="ur"] .choice-card:has(input:checked)::after,
html[lang="ur"] .choice-card.is-selected::after {
  content: "منتخب";
  text-transform: none;
}

@media (max-width: 820px) {
  .assessment-access-grid {
    grid-template-columns: 1fr;
  }

  .assessment-access-card {
    min-height: 0;
  }
}

/* v4.2.1 hotfix: language-specific copy and persistent voice assistance */
[data-language-only="ur"] { display: none; }
html[lang="ur"] [data-language-only="ur"] { display: inline; }
html[lang="ur"] [data-language-only="en"] { display: none; }

.voice-help-copy { display: block; }

.assessment-voice-help-bar {
  position: sticky;
  top: 5.75rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .7rem 1rem;
  border: 1px solid rgba(31, 132, 92, .35);
  border-radius: 12px;
  background: #eef9f4;
  color: #184f3d;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 77, 124, .08);
}

.assessment-voice-help-bar:hover,
.assessment-voice-help-bar:focus-visible {
  border-color: #1f845c;
  box-shadow: 0 0 0 3px rgba(31, 132, 92, .12), 0 10px 24px rgba(15, 77, 124, .10);
}

.assessment-voice-help-icon { font-size: 1.15rem; }

html[dir="rtl"] .assessment-voice-help-bar {
  direction: rtl;
}

