/* Approved VA Nexus Psych icon context assignments.
 * Theme-only compatibility with existing Core-block content.
 * Route classes come from the theme, never numeric WordPress IDs.
 * Inclusion positions are scoped to each reviewed service route.
 * Layout, color, and sizing remain owned by existing component styles.
 */

/* Route and component contexts are disjoint; group rules by meaning. */
/* stylelint-disable no-descending-specificity */

/* Full psychological evaluation service identity */
body :is(.service-overview-card, .service-card, .services-catalog-card, .pricing-service-card):has(a[href$="/services/full-psychological-evaluations/"]) {
	--vanp-icon-current: var(--vanp-icon-assessment);
}

/* Full psychological evaluation question panel */
body.vanp-route-full-psychological-evaluations .service-question-panel.vanp-icon-key {
	--vanp-icon-current: var(--vanp-icon-assessment);
}

/* Nexus opinion service identity */
body :is(.service-overview-card, .service-card, .services-catalog-card):has(a[href$="/services/nexus-opinions/"]) {
	--vanp-icon-current: var(--vanp-icon-nexus-opinion);
}

/* Nexus opinion question panel */
body.vanp-route-nexus-opinions .service-question-panel.vanp-icon-key {
	--vanp-icon-current: var(--vanp-icon-nexus-opinion);
}

/* Mental health DBQ service identity */
body :is(.service-overview-card, .service-card, .services-catalog-card, .pricing-service-card):has(a[href$="/services/mental-health-dbqs/"]) {
	--vanp-icon-current: var(--vanp-icon-form);
}

/* Mental health DBQ question panel */
body.vanp-route-mental-health-dbqs .service-question-panel.vanp-icon-key {
	--vanp-icon-current: var(--vanp-icon-form);
}

/* Occupational functioning service identity */
body :is(.service-overview-card, .service-card, .services-catalog-card, .pricing-service-card):has(a[href$="/services/occupational-functioning/"]) {
	--vanp-icon-current: var(--vanp-icon-work-function);
}

/* Occupational functioning question panel */
body.vanp-route-occupational-functioning .service-question-panel.vanp-icon-key {
	--vanp-icon-current: var(--vanp-icon-work-function);
}

/* Records and prior opinions service identity */
body :is(.service-overview-card, .service-card, .services-catalog-card, .pricing-service-card):has(a[href$="/services/records-and-prior-opinions/"]) {
	--vanp-icon-current: var(--vanp-icon-record-review);
}

/* Records and prior opinions question panel */
body.vanp-route-records-and-prior-opinions .service-question-panel.vanp-icon-key {
	--vanp-icon-current: var(--vanp-icon-record-review);
}

/* Professional consultation service identity */
body :is(.service-overview-card, .service-card, .services-catalog-card, .pricing-service-card):has(a[href$="/services/professional-consultations/"]) {
	--vanp-icon-current: var(--vanp-icon-consultation);
}

/* Professional consultation question panel */
body.vanp-route-professional-consultations .service-question-panel.vanp-icon-key {
	--vanp-icon-current: var(--vanp-icon-consultation);
}

/* Additional paid report, distinct from the included report bundle */
body #supplemental-fee.vanp-icon-key {
	--vanp-icon-current: var(--vanp-icon-additional-report);
}

/* Combat or hostile activity */
body .focus-card:has(a[href$="/ptsd-combat-hostile-activity/"]) {
	--vanp-icon-current: var(--vanp-icon-trauma);
}

/* MST or other personal trauma */
body .focus-card:has(a[href$="/ptsd-mst-personal-trauma/"]) {
	--vanp-icon-current: var(--vanp-icon-trauma);
}

/* Other traumatic events or military duties */
body .focus-card:has(a[href$="/ptsd-other-trauma-duties/"]) {
	--vanp-icon-current: var(--vanp-icon-trauma);
}

/* Other mental health conditions linked to service */
body .focus-card:has(a[href$="/mental-health-linked-to-service/"]) {
	--vanp-icon-current: var(--vanp-icon-service-link);
}

/* One mental health condition caused by another */
body .focus-card:has(a[href$="/secondary-mental-health/"]) {
	--vanp-icon-current: var(--vanp-icon-condition-link);
}

/* Mental health caused by a medical condition */
body .focus-card:has(a[href$="/mental-health-secondary-to-medical-condition/"]) {
	--vanp-icon-current: var(--vanp-icon-medical-mental-link);
}

/* TBI and mental health */
body .focus-card:has(a[href$="/tbi-and-mental-health/"]) {
	--vanp-icon-current: var(--vanp-icon-tbi-overlap);
}

/* Eating disorders */
body .focus-card:has(a[href$="/eating-disorders/"]) {
	--vanp-icon-current: var(--vanp-icon-eating-disorders);
}

/* Mental health increase evaluations */
body .focus-card:has(a[href$="/mental-health-increase/"]) {
	--vanp-icon-current: var(--vanp-icon-change-over-time);
}

/* 01 Review of the records needed for the evaluation */
body.vanp-route-full-psychological-evaluations .service-include-grid > .vanp-icon-key:nth-child(1) {
	--vanp-icon-current: var(--vanp-icon-record-review);
}

/* 02 About a 60-minute interview with Dr. Bell */
body.vanp-route-full-psychological-evaluations .service-include-grid > .vanp-icon-key:nth-child(2) {
	--vanp-icon-current: var(--vanp-icon-clinical-interview);
}

/* 03 Symptom questionnaires and scoring when useful */
body.vanp-route-full-psychological-evaluations .service-include-grid > .vanp-icon-key:nth-child(3) {
	--vanp-icon-current: var(--vanp-icon-form);
}

/* 04 Clinical analysis of the history, records, interview, and testing */
body.vanp-route-full-psychological-evaluations .service-include-grid > .vanp-icon-key:nth-child(4) {
	--vanp-icon-current: var(--vanp-icon-evidence-synthesis);
}

/* 05 A full report plus one nexus/IMO or mental health DBQ */
body.vanp-route-full-psychological-evaluations .service-include-grid > .vanp-icon-key:nth-child(5) {
	--vanp-icon-current: var(--vanp-icon-documents);
}

/* 01 A clearly defined relationship question */
body.vanp-route-nexus-opinions .service-include-grid > .vanp-icon-key:nth-child(1) {
	--vanp-icon-current: var(--vanp-icon-nexus-opinion);
}

/* 02 Review of the relevant records and history */
body.vanp-route-nexus-opinions .service-include-grid > .vanp-icon-key:nth-child(2) {
	--vanp-icon-current: var(--vanp-icon-record-review);
}

/* 03 A clinical evaluation when needed */
body.vanp-route-nexus-opinions .service-include-grid > .vanp-icon-key:nth-child(3) {
	--vanp-icon-current: var(--vanp-icon-assessment);
}

/* 04 Consideration of other possible explanations */
body.vanp-route-nexus-opinions .service-include-grid > .vanp-icon-key:nth-child(4) {
	--vanp-icon-current: var(--vanp-icon-alternative-explanations);
}

/* 05 A written rationale and clear conclusion when the evidence allows one */
body.vanp-route-nexus-opinions .service-include-grid > .vanp-icon-key:nth-child(5) {
	--vanp-icon-current: var(--vanp-icon-report);
}

/* 01 Review of the records needed for the evaluation */
body.vanp-route-mental-health-dbqs .service-include-grid > .vanp-icon-key:nth-child(1) {
	--vanp-icon-current: var(--vanp-icon-record-review);
}

/* 02 A current clinical interview with Dr. Bell */
body.vanp-route-mental-health-dbqs .service-include-grid > .vanp-icon-key:nth-child(2) {
	--vanp-icon-current: var(--vanp-icon-clinical-interview);
}

/* 03 Symptom measures when useful */
body.vanp-route-mental-health-dbqs .service-include-grid > .vanp-icon-key:nth-child(3) {
	--vanp-icon-current: var(--vanp-icon-form);
}

/* 04 Assessment of social and work functioning */
body.vanp-route-mental-health-dbqs .service-include-grid > .vanp-icon-key:nth-child(4) {
	--vanp-icon-current: var(--vanp-icon-person-work);
}

/* 05 Completion of the appropriate current public VA form */
body.vanp-route-mental-health-dbqs .service-include-grid > .vanp-icon-key:nth-child(5) {
	--vanp-icon-current: var(--vanp-icon-form);
}

/* 01 A full psychological evaluation */
body.vanp-route-occupational-functioning .service-include-grid > .vanp-icon-key:nth-child(1) {
	--vanp-icon-current: var(--vanp-icon-assessment);
}

/* 02 Review of relevant clinical and work records */
body.vanp-route-occupational-functioning .service-include-grid > .vanp-icon-key:nth-child(2) {
	--vanp-icon-current: var(--vanp-icon-record-review);
}

/* 03 A clinical interview and symptom measures */
body.vanp-route-occupational-functioning .service-include-grid > .vanp-icon-key:nth-child(3) {
	--vanp-icon-current: var(--vanp-icon-clinical-interview);
}

/* 04 Analysis of specific work-related functions */
body.vanp-route-occupational-functioning .service-include-grid > .vanp-icon-key:nth-child(4) {
	--vanp-icon-current: var(--vanp-icon-person-work);
}

/* 05 A written psychological report */
body.vanp-route-occupational-functioning .service-include-grid > .vanp-icon-key:nth-child(5) {
	--vanp-icon-current: var(--vanp-icon-report);
}

/* 01 A focused record set chosen in advance */
body.vanp-route-records-and-prior-opinions .service-include-grid > .vanp-icon-key:nth-child(1) {
	--vanp-icon-current: var(--vanp-icon-documents);
}

/* 02 One defined clinical question */
body.vanp-route-records-and-prior-opinions .service-include-grid > .vanp-icon-key:nth-child(2) {
	--vanp-icon-current: var(--vanp-icon-document-question);
}

/* 03 Review of the facts, methods, and reasoning in prior opinions */
body.vanp-route-records-and-prior-opinions .service-include-grid > .vanp-icon-key:nth-child(3) {
	--vanp-icon-current: var(--vanp-icon-record-review);
}

/* 04 A written summary or consultation, as listed in the plan */
body.vanp-route-records-and-prior-opinions .service-include-grid > .vanp-icon-key:nth-child(4) {
	--vanp-icon-current: var(--vanp-icon-document-discussion);
}

/* 05 A clear explanation of possible next steps */
body.vanp-route-records-and-prior-opinions .service-include-grid > .vanp-icon-key:nth-child(5) {
	--vanp-icon-current: var(--vanp-icon-next-steps);
}

/* 01 Conflict screening before the engagement */
body.vanp-route-professional-consultations .service-include-grid > .vanp-icon-key:nth-child(1) {
	--vanp-icon-current: var(--vanp-icon-record-review);
}

/* 02 A clear question, scope, and estimated time */
body.vanp-route-professional-consultations .service-include-grid > .vanp-icon-key:nth-child(2) {
	--vanp-icon-current: var(--vanp-icon-document-question);
}

/* 03 Secure video or phone consultation with Dr. Bell */
body.vanp-route-professional-consultations .service-include-grid > .vanp-icon-key:nth-child(3) {
	--vanp-icon-current: var(--vanp-icon-consultation);
}

/* 04 Record discussion when included in the plan */
body.vanp-route-professional-consultations .service-include-grid > .vanp-icon-key:nth-child(4) {
	--vanp-icon-current: var(--vanp-icon-document-discussion);
}

/* 05 Written follow-up when included in the plan */
body.vanp-route-professional-consultations .service-include-grid > .vanp-icon-key:nth-child(5) {
	--vanp-icon-current: var(--vanp-icon-report);
}

/* Booking destination */
body .service-detail-next-grid a[href$="/book/"] > .vanp-icon-key:first-child {
	--vanp-icon-current: var(--vanp-icon-calendar);
}

/* Email Dr. Bell */
body.vanp-route-records-and-prior-opinions .service-detail-next-grid a[href$="/contact/"] > .vanp-icon-key:first-child {
	--vanp-icon-current: var(--vanp-icon-mail);
}

/* Professional inquiry */
body.vanp-route-professional-consultations .service-detail-next-grid a[href$="/contact/"] > .vanp-icon-key:first-child {
	--vanp-icon-current: var(--vanp-icon-consultation);
}

/* Clinician biography */
body .service-detail-next-grid a[href$="/about/"] > .vanp-icon-key:first-child {
	--vanp-icon-current: var(--vanp-icon-clinician-profile);
}

/* Educational next-step guides */
body .service-detail-next-grid a:not([href$="/about/"]) > .vanp-icon--shield-check:first-child {
	--vanp-icon-current: var(--vanp-icon-open-book);
}

/* Readiness action */
body .service-detail-next-grid a[href$="/claims-readiness/"] > .vanp-icon-key:first-child {
	--vanp-icon-current: var(--vanp-icon-checklist);
}

/* Free telephone consultation */
body .service-detail-next-grid a[href$="/consultation/"] > .vanp-icon-key:first-child {
	--vanp-icon-current: var(--vanp-icon-phone);
}

/* Trailing next-step arrows */
body .service-detail-next-grid a > .vanp-icon-key:last-child {
	--vanp-icon-current: var(--vanp-icon-arrow-right);
}

/* Qualified delivery timing */
body .service-detail-timing .vanp-icon-key {
	--vanp-icon-current: var(--vanp-icon-clock);
}

/* Clinical evaluation experience */
body .experience-head.vanp-icon-key {
	--vanp-icon-current: var(--vanp-icon-assessment);
}

/* Clinical evaluation experience */
body.vanp-route-about .about-highlight-grid > :is(.vanp-icon--badge-check,.vanp-icon--users-round) {
	--vanp-icon-current: var(--vanp-icon-assessment);
}

/* Personal responsibility */
body .about-responsibility.vanp-icon-key {
	--vanp-icon-current: var(--vanp-icon-clinician-profile);
}

/* Direct clinician work */
body.vanp-route-about .about-highlight-grid > .vanp-icon--shield-check {
	--vanp-icon-current: var(--vanp-icon-clinician-profile);
}

/* Direct clinician work */
body .services-standard-strip__item.vanp-icon--user-round-check {
	--vanp-icon-current: var(--vanp-icon-clinician-profile);
}

/* Personal clinical care */
body .how-hero-card.vanp-icon--heart-handshake {
	--vanp-icon-current: var(--vanp-icon-clinician-profile);
}

/* Accredited claims assistance */
body .vanp-resource-card.vanp-icon--user-round-check {
	--vanp-icon-current: var(--vanp-icon-accredited-help);
}

/* Evaluation appointment promise */
body .promise-item.vanp-icon--stethoscope::before {
	-webkit-mask-image: var(--vanp-icon-clinical-interview);
	mask-image: var(--vanp-icon-clinical-interview);
}

/* Full report plus included document promise */
body .promise-item.vanp-icon--file-text::before {
	-webkit-mask-image: var(--vanp-icon-documents);
	mask-image: var(--vanp-icon-documents);
}

/* Pricing evaluation appointment */
body .pricing-promise-item.vanp-icon--stethoscope {
	--vanp-icon-current: var(--vanp-icon-clinical-interview);
}

/* Pricing included report bundle */
body .pricing-promise-item.vanp-icon--file-text {
	--vanp-icon-current: var(--vanp-icon-documents);
}

/* Fee transparency */
body .pricing-disclosure.vanp-icon--shield-check {
	--vanp-icon-current: var(--vanp-icon-receipt);
}

/* Agreed evaluation plan */
body .pricing-before-card.vanp-icon--handshake {
	--vanp-icon-current: var(--vanp-icon-checklist);
}

/* Booked clinical interview */
body .booking-summary-row.vanp-icon--stethoscope {
	--vanp-icon-current: var(--vanp-icon-clinical-interview);
}

/* Included full report bundle */
body .booking-summary-row.vanp-icon--file-text {
	--vanp-icon-current: var(--vanp-icon-documents);
}

/* Forms and records after booking */
body .after-booking-grid > .vanp-icon--file-text {
	--vanp-icon-current: var(--vanp-icon-form);
}

/* Payment explanation */
body .booking-secure-note.vanp-icon--shield-check {
	--vanp-icon-current: var(--vanp-icon-receipt);
}

/* Invoice explanation */
body .after-booking-grid > .vanp-icon--shield-check {
	--vanp-icon-current: var(--vanp-icon-receipt);
}

/* Secure scheduling message */
body .booking-practiceq-badge.vanp-icon--shield-check {
	--vanp-icon-current: var(--vanp-icon-shield);
}

/* Evaluation service summary */
body .services-hero-summary__item.vanp-icon--stethoscope {
	--vanp-icon-current: var(--vanp-icon-assessment);
}

/* Reviews and consultation summary */
body .services-hero-summary__item.vanp-icon--users-round {
	--vanp-icon-current: var(--vanp-icon-consultation);
}

/* Complete intake forms */
body .services-process-item.vanp-icon--clipboard-check {
	--vanp-icon-current: var(--vanp-icon-form);
}

/* Meet with Dr. Bell */
body .services-process-item.vanp-icon--stethoscope {
	--vanp-icon-current: var(--vanp-icon-clinical-interview);
}

/* Receive completed report */
body .services-process-item.vanp-icon--file-search {
	--vanp-icon-current: var(--vanp-icon-report);
}

/* Review of relevant records */
body .services-standard-strip__item.vanp-icon--files {
	--vanp-icon-current: var(--vanp-icon-record-review);
}

/* Services overview readiness action */
body .services-next-section .services-next-grid a[href$="/claims-readiness/"]::before {
	-webkit-mask-image: var(--vanp-icon-checklist);
	mask-image: var(--vanp-icon-checklist);
}

/* Thinking about a claim */
body .claim-path.vanp-icon--compass {
	--vanp-icon-current: var(--vanp-icon-document-question);
}

/* Existing service-connected decision */
body .claim-path.vanp-icon--badge-check {
	--vanp-icon-current: var(--vanp-icon-report);
}

/* Complete psychological evaluation */
body .how-step-head.vanp-icon--file-check2 {
	--vanp-icon-current: var(--vanp-icon-assessment);
}

/* New claim and possible relationship to service */
body .how-claim-card.vanp-icon--shield-check {
	--vanp-icon-current: var(--vanp-icon-service-link);
}

/* One condition linked to another */
body .how-claim-card.vanp-icon--link2 {
	--vanp-icon-current: var(--vanp-icon-condition-link);
}

/* Comparison of functioning over time */
body .how-claim-card.vanp-icon--history {
	--vanp-icon-current: var(--vanp-icon-change-over-time);
}

/* Current symptoms */
body .how-topic.vanp-icon--brain-circuit {
	--vanp-icon-current: var(--vanp-icon-mental-health);
}

/* Mental health history chronology */
body .how-topic.vanp-icon--history {
	--vanp-icon-current: var(--vanp-icon-history);
}

/* Military service history */
body .how-topic.vanp-icon--shield-check {
	--vanp-icon-current: var(--vanp-icon-service-link);
}

/* Daily life and relationships */
body .how-topic.vanp-icon--users-round {
	--vanp-icon-current: var(--vanp-icon-people);
}

/* Work functioning */
body .how-topic.vanp-icon--stethoscope {
	--vanp-icon-current: var(--vanp-icon-person-work);
}

/* Clinical symptom measures */
body .how-topic.vanp-icon--list-checks {
	--vanp-icon-current: var(--vanp-icon-form);
}

/* Intake form and history */
body :is(.how-timeline-step,.how-flow-input,.how-report-input).vanp-icon--clipboard-check {
	--vanp-icon-current: var(--vanp-icon-form);
}

/* Guided intake preview */
body .how-intake-preview-link.vanp-icon--clipboard-check::before {
	-webkit-mask-image: var(--vanp-icon-form);
	mask-image: var(--vanp-icon-form);
}

/* Review before clinical interview */
body .how-flow-review.vanp-icon--search-check {
	--vanp-icon-current: var(--vanp-icon-record-review);
}

/* Clinical synthesis of full picture */
body .how-analysis.vanp-icon--brain-circuit {
	--vanp-icon-current: var(--vanp-icon-evidence-synthesis);
}

/* Interview evidence */
body .how-report-input.vanp-icon--message-circle-more {
	--vanp-icon-current: var(--vanp-icon-clinical-interview);
}

/* Final report plus included document */
body .how-final-report.vanp-icon--file-check2 {
	--vanp-icon-current: var(--vanp-icon-documents);
}

/* Questions about completed report */
body .how-delivery-row.vanp-icon--message-circle-more {
	--vanp-icon-current: var(--vanp-icon-document-discussion);
}

/* Prepared respectful clinical interview */
body .service-warm-note.vanp-icon--message-circle-more {
	--vanp-icon-current: var(--vanp-icon-clinical-interview);
}

/* Veteran resource directory */
body.home .education-card .education-card-title.vanp-icon--circle-help::before {
	-webkit-mask-image: var(--vanp-icon-resource-folder);
	mask-image: var(--vanp-icon-resource-folder);
}

/* Education library invitation */
body .education-feature.vanp-icon-key::before {
	-webkit-mask-image: var(--vanp-icon-open-book);
	mask-image: var(--vanp-icon-open-book);
}

/* Before filing */
body .vanp-education-path .vanp-education-card:nth-child(1)::after {
	-webkit-mask-image: var(--vanp-icon-document-question);
	mask-image: var(--vanp-icon-document-question);
}

/* Claim underway */
body .vanp-education-path .vanp-education-card:nth-child(2)::after {
	-webkit-mask-image: var(--vanp-icon-checklist);
	mask-image: var(--vanp-icon-checklist);
}

/* Existing service-connected decision */
body .vanp-education-path .vanp-education-card:nth-child(3)::after {
	-webkit-mask-image: var(--vanp-icon-report);
	mask-image: var(--vanp-icon-report);
}

/* Review prior decision */
body .vanp-education-path .vanp-education-card:nth-child(4)::after {
	-webkit-mask-image: var(--vanp-icon-record-review);
	mask-image: var(--vanp-icon-record-review);
}

/* PTSD education */
body .vanp-education-focus .vanp-education-card:nth-child(1)::after {
	-webkit-mask-image: var(--vanp-icon-trauma);
	mask-image: var(--vanp-icon-trauma);
}

/* MST education */
body .vanp-education-focus .vanp-education-card:nth-child(2)::after {
	-webkit-mask-image: var(--vanp-icon-trauma);
	mask-image: var(--vanp-icon-trauma);
}

/* Depression and anxiety education */
body .vanp-education-focus .vanp-education-card:nth-child(3)::after {
	-webkit-mask-image: var(--vanp-icon-mental-health);
	mask-image: var(--vanp-icon-mental-health);
}

/* Secondary conditions education */
body .vanp-education-focus .vanp-education-card:nth-child(4)::after {
	-webkit-mask-image: var(--vanp-icon-condition-link);
	mask-image: var(--vanp-icon-condition-link);
}

/* Claims Readiness action */
body .vanp-education-card--resource-2::after {
	-webkit-mask-image: var(--vanp-icon-checklist);
	mask-image: var(--vanp-icon-checklist);
}

/* Free telephone consultation */
body .vanp-education-card--resource-3::after {
	-webkit-mask-image: var(--vanp-icon-phone);
	mask-image: var(--vanp-icon-phone);
}

/* Directory of VA care and services */
body .vanp-resource-card.vanp-icon--map-pinned {
	--vanp-icon-current: var(--vanp-icon-resource-folder);
}

/* Defined clinical question */
body .guide-question-panel.vanp-icon--message-circle-question {
	--vanp-icon-current: var(--vanp-icon-document-question);
}

/* Article readiness action */
body .wp-block-button.article-primary.vanp-icon--shield-check:has(a[href$="/claims-readiness/"]) {
	--vanp-icon-current: var(--vanp-icon-checklist);
}

/* Accessibility information */
body.vanp-route-accessibility .vanp-icon--search-check {
	--vanp-icon-current: var(--vanp-icon-information);
}

/* Service terms information */
body.vanp-route-terms .vanp-icon--search-check {
	--vanp-icon-current: var(--vanp-icon-information);
}

/* Privacy information */
body.vanp-route-privacy .vanp-icon--search-check {
	--vanp-icon-current: var(--vanp-icon-information);
}

/* Organizing and reviewing records */
body.vanp-route-organize-records .plain-guide-content-aside.vanp-icon--search-check {
	--vanp-icon-current: var(--vanp-icon-record-review);
}

/* Immediate-safety notice */
body.vanp-route-crisis-and-treatment .plain-guide-content-aside.vanp-icon--search-check {
	--vanp-icon-current: var(--vanp-icon-crisis);
}
