/* ATSRS dark-theme text accents use the existing logo-aligned brand token. */
html[data-theme="dark"] :is(
  .good,
  .copy-ok,
  .badge-ready,
  .doc-chip.ok,
  .atsrs-account-badge div:first-child,
  .atsrs-name-meaning .meaning-and,
  #auth #introKicker .meaning-and,
  .phone-verification-note b.is-verified,
  .profile-photo-status,
  .profile-photo-crop-head span,
  .atsrs-verification-dialog > span,
  .profile-save-row #profileSaveStatus,
  #profileSaveStatus,
  .admin-overview-kicker,
  .atsrs-account-toast.is-ok,
  .atsrs-security-message.is-ok,
  .cv-generator-status.is-success,
  .atsrs-qr-status.is-success,
  .phone-upload-status.is-success,
  .recipient-link-status.active,
  #refsPage .atsrs-v134-status.ready,
  #refsPage .cv-main-panel .atsrs-v156-box-title,
  #refsPage #cvStatusBadge.badge-ready,
  .atsrs-upload-date.is-recent,
  .roadmap-news,
  .status-available,
  .atsrs-notification-email-sent,
  .atsrs-notification-status.is-ok,
  .projects-feedback:not(.is-error),
  .project-status.is-active,
  .project-card-actions button:first-child,
  .shared-profile-kicker,
  .shared-document-category,
  .shared-document-summary-link small.is-recent,
  .shared-document-summary-status:not(.warning):not(.expired),
  .shared-document-summary-status.is-new,
  .shared-document-summary-link:hover b,
  .shared-document-detail.shared-upload-date.is-recent b,
  .shared-document-status:not(.warning):not(.expired),
  .shared-document-actions button:hover,
  .shared-document-actions a:hover,
  .share-verified-identity,
  .status-approved .access-status,
  .access-document-row > small,
  .share-request-message,
  .preview-only-badge,
  #accountSharingTab .share-link-feedback .copy-ok,
  #accountSharingTab .share-link-controls #saveShareBtn,
  #accountSharingTab #manageAccessBtn,
  .personnel-table-status.is-current,
  .personnel-notification-status.is-notified,
  .personnel-document-update.is-recent,
  .talent-upload-date.is-recent,
  .talent-work-status.is-now b,
  .talent-work-status.is-offers b,
  .talent-presence.is-online,
  .talent-readiness,
  .talent-verification-badge.is-verified,
  .talent-mailbox-tools button.is-active,
  .corporate-summary-card.is-ready b,
  .job-card-company,
  .job-detail-kicker,
  .job-status-published,
  .jobs-admin-message:not(.is-error),
  .jobs-filter-chip[aria-pressed="true"],
  .job-new-badge
){
  color:var(--sidebar-accent)!important;
  -webkit-text-fill-color:var(--sidebar-accent)!important;
}

/* Shared profiles keep expiry meaning above generic heading and brand colors. */
html[data-theme] .shared-document-card.status-expiring-90 h3,
html[data-theme] .shared-document-status.expiring-90{
  color:#ca8a04!important;
  -webkit-text-fill-color:#ca8a04!important;
}
html[data-theme] .shared-document-card.status-expiring-60 h3,
html[data-theme] .shared-document-status.expiring-60{
  color:#d97706!important;
  -webkit-text-fill-color:#d97706!important;
}
html[data-theme] .shared-document-card.status-expiring-30 h3,
html[data-theme] .shared-document-status.expiring-30{
  color:#ea580c!important;
  -webkit-text-fill-color:#ea580c!important;
}
html[data-theme] :is(.shared-document-card.status-expiring-1,.shared-document-card.status-expired) h3,
html[data-theme] :is(.shared-document-status.expiring-1,.shared-document-status.expired){
  color:#dc2626!important;
  -webkit-text-fill-color:#dc2626!important;
}
html[data-theme="dark"] .shared-document-card.status-expiring-90 h3,
html[data-theme="dark"] .shared-document-status.expiring-90{
  color:#fde047!important;
  -webkit-text-fill-color:#fde047!important;
}
html[data-theme="dark"] .shared-document-card.status-expiring-60 h3,
html[data-theme="dark"] .shared-document-status.expiring-60{
  color:#fbbf24!important;
  -webkit-text-fill-color:#fbbf24!important;
}
html[data-theme="dark"] .shared-document-card.status-expiring-30 h3,
html[data-theme="dark"] .shared-document-status.expiring-30{
  color:#fb923c!important;
  -webkit-text-fill-color:#fb923c!important;
}
html[data-theme="dark"] :is(.shared-document-card.status-expiring-1,.shared-document-card.status-expired) h3,
html[data-theme="dark"] :is(.shared-document-status.expiring-1,.shared-document-status.expired){
  color:#f87171!important;
  -webkit-text-fill-color:#f87171!important;
}

html[data-theme="dark"] body #app.app:not(.hidden) :is(
  .pill,
  .sidebar .nav button.active,
  .sidebar .nav button:hover,
  #profilePage .account-tabs button.active,
  :is(#candidatesPage,#personnelPage,#projectsPage,#jobsPage) .talent-view-switch button[aria-pressed="true"],
  :is(#candidatesPage,#personnelPage,#projectsPage,#jobsPage) .talent-view-switch button.active,
  #jobsPage .jobs-hero h3,
  #jobsPage .jobs-view-switch button[aria-pressed="true"],
  #jobsPage .jobs-view-switch button.active
){
  color:var(--sidebar-accent)!important;
  -webkit-text-fill-color:var(--sidebar-accent)!important;
}
