/* Shared high-contrast action buttons. Navigation and image controls retain their layouts. */
html:not([data-contrast="on"]) :is(
  .vault-tabs button, .membership-badge-tools button,
  .primary-action, .secondary-action, a.action, .primary-button, .secondary-button,
  .submit-button, .mobile-submit-button, .hologram-button, .hologram-submit,
  button:not(nav button, .footer-grid button, [role="tab"], [aria-pressed], [aria-expanded], .vault-mode,
    .atlas-image-button, .atlas-category-heading, .atlas-type-list button,
    .lightbox-nav, .text-action)
) {
  background:#70531e !important;
  color:#fff !important;
  border-color:#aa8745 !important;
  box-shadow:none !important;
}
html:not([data-contrast="on"]) :is(
  .vault-tabs button, .membership-badge-tools button,
  .primary-action, .secondary-action, a.action, .primary-button, .secondary-button,
  .submit-button, .mobile-submit-button, .hologram-button, .hologram-submit,
  button:not(nav button, .footer-grid button, [role="tab"], [aria-pressed], [aria-expanded], .vault-mode,
    .atlas-image-button, .atlas-category-heading, .atlas-type-list button,
    .lightbox-nav, .text-action)
):hover:not(:disabled) { background:#563f15 !important; color:#fff !important; }
html:not([data-contrast="on"]) :is(
  .vault-tabs button, .membership-badge-tools button,
  .primary-action, .secondary-action, a.action, .primary-button, .secondary-button,
  .submit-button, .mobile-submit-button, .hologram-button, .hologram-submit,
  button:not(nav button, .footer-grid button, [role="tab"], [aria-pressed], [aria-expanded], .vault-mode,
    .atlas-image-button, .atlas-category-heading, .atlas-type-list button,
    .lightbox-nav, .text-action)
):focus-visible { outline:3px solid #b39250; outline-offset:3px; }
html:not([data-contrast="on"]) :is(
  .vault-tabs button, .membership-badge-tools button,
  .primary-action, .secondary-action, a.action, .primary-button, .secondary-button,
  .submit-button, .mobile-submit-button, .hologram-button, .hologram-submit,
  button:not(nav button, .footer-grid button, [role="tab"], [aria-pressed], [aria-expanded], .vault-mode,
    .atlas-image-button, .atlas-category-heading, .atlas-type-list button,
    .lightbox-nav, .text-action)
) :is(span,small) { color:inherit !important; }
.atlas-details-button { padding:.65rem .9rem; text-decoration:none; border-radius:3px; }
/* Distinguish the current workspace section without relying on text alone. */
html:not([data-contrast="on"]) .vault-tabs > button:is([aria-pressed="true"],[aria-current="page"]) {
 background:#17191b!important; color:#fff!important; border-color:#17191b!important;
 box-shadow:inset 0 -4px #c7a55d!important;
}

/* Shared action typography and dimensions across public pages and certification. */
:root{--criterion-button-font-size:12px;--criterion-button-height:48px;--criterion-button-tracking:.06em}
html :is(body,#criterion-root) :is(.primary-action,.secondary-action,a.action,.primary-button,.secondary-button,
 .submit-button,.mobile-submit-button,.hologram-button,.hologram-submit,
 .atlas-details-button,.atlas-profile-link,.vault-documents-button,
 .membership-badge-tools button,.vault-tabs button,
 button[type="submit"],.record-actions button,.verification-panel button,.population-search button) {
 box-sizing:border-box!important;display:inline-flex;align-items:center;justify-content:center;
 min-height:var(--criterion-button-height)!important;max-width:100%;min-width:0;
 padding:12px 20px!important;
 font-family:"DM Sans",Arial,sans-serif!important;font-size:var(--criterion-button-font-size)!important;
 font-weight:700!important;line-height:1.4!important;letter-spacing:var(--criterion-button-tracking)!important;
 text-transform:uppercase!important;text-align:center;white-space:normal;overflow-wrap:break-word;
}
html :is(body,#criterion-root) :is(.primary-action,.secondary-action,a.action,.primary-button,.secondary-button,
 .submit-button,.mobile-submit-button,.hologram-button,.hologram-submit,
 .atlas-details-button,.atlas-profile-link,.vault-documents-button,
 .membership-badge-tools button,.vault-tabs button,
 button[type="submit"],.record-actions button,.verification-panel button,.population-search button) :is(span,small){font-size:inherit!important;letter-spacing:inherit!important;text-transform:inherit!important}
