/* Loaded first so the shared screen palette takes precedence over older
   important rules while keeping the existing card layout and borders. */
@layer profileCream {
  @media screen {
    :is([data-profile-kind], .vehicle-profile-card, #vehicleProfile, .vehicle-offer,
        .help-provider-card, .help-profile-card, .identity-profile-dialog, .profile-modal,
        .recent-firm-card, .footer-profile-card, .rc-firm,
        .fr-row, .fr-det, .pt-card, .material-provider, .finder-result, .hr-item,
        .client-local-provider, .auto-card, .auto-detail, .animal-card,
        .wk-card, .job-card, #adsList > .ad-card) {
      background: #fff4dc !important;
      color: #000 !important;
      --identity-ink: #172c46;
      --identity-bg: #fff4dc;

      & :is(h1,h2,h3,h4,h5,h6,p,small,strong,em,b,label,li,dt,dd,address,summary,
             a,button,input,select,textarea,span,div):not(:where(
             .profile-identity-avatar,.profile-identity-avatar *,
             .profile-avatar,.profile-avatar *,[aria-hidden="true"],[aria-hidden="true"] *)) {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        text-shadow: none !important;
      }
      & :is(a,button,input,select,textarea,summary,.profile-type-badge,.help-contact,
            .profile-body,.profile-cover-copy,.auto-card-body,.vehicle-profile-card-body,
            .animal-card-info,.identity-profile-actions,.profile-summary) {
        background-color: #fff4dc !important;
        background-image: none !important;
      }
    }
  }
}
