/* Append after the current EUM styles. Exact opt-in asset filename prefix only. */
img.company-logo-img[src*="/company-logos/codex-wordmark-"] {
  display:block;
  width:150px !important; min-width:150px !important; max-width:150px !important;
  height:52px !important; min-height:52px !important; max-height:52px !important;
  box-sizing:border-box !important; padding:4px !important;
  border:1px solid #d7e2f2 !important; border-radius:10px;
  background:#fff; object-fit:contain !important;
  flex:0 0 150px !important; aspect-ratio:auto !important;
}
.job-card:has(.company-line > img.company-logo-img[src*="/company-logos/codex-wordmark-"]) {
  container-type:inline-size; container-name:codex-wordmark-card;
}
.job-card .job-open .company-line:has(> img.company-logo-img[src*="/company-logos/codex-wordmark-"]) {
  padding-right:122px;
}
.company-card-heading:has(> img.company-logo-img[src*="/company-logos/codex-wordmark-"]),
.detail-employer:has(> img.company-logo-img[src*="/company-logos/codex-wordmark-"]),
.home-company-line:has(> img.company-logo-img[src*="/company-logos/codex-wordmark-"]) {
  display:flex; flex-wrap:wrap; align-items:center; gap:10px; min-width:0;
}
.company-card-heading:has(> img.company-logo-img[src*="/company-logos/codex-wordmark-"]) > .company-card-name,
.detail-employer:has(> img.company-logo-img[src*="/company-logos/codex-wordmark-"]) > .detail-company,
.home-company-line:has(> img.company-logo-img[src*="/company-logos/codex-wordmark-"]) > .home-company {
  min-width:0; flex:1 1 140px; overflow-wrap:anywhere;
}
/* Keep Save Job in its existing top-right position; move the name below the logo. */
@container codex-wordmark-card (max-width:420px) {
  .job-card .job-open .company-line:has(> img.company-logo-img[src*="/company-logos/codex-wordmark-"]) {
    display:grid; grid-template-columns:minmax(0,1fr); gap:8px; padding-right:0;
  }
  .job-card .job-open .company-line:has(> img.company-logo-img[src*="/company-logos/codex-wordmark-"]) > .company-name {
    width:100%; min-width:0; line-height:1.3;
  }
}
/* At unusually narrow card widths, begin below the existing Save Job button. */
@container codex-wordmark-card (max-width:299px) {
  .job-card .job-open .company-line:has(> img.company-logo-img[src*="/company-logos/codex-wordmark-"]) { padding-top:42px; }
}

/* User-reported Dexter only. Complete official wordmark; other company logos unchanged. */
/* Append after the current EUM styles. Exact opt-in asset filename prefix only. */
img.company-logo-img[src*="/company-logos/codex-remote4-dexter-"] {
  display:block;
  width:180px !important; min-width:180px !important; max-width:180px !important;
  height:72px !important; min-height:72px !important; max-height:72px !important;
  box-sizing:border-box !important; padding:4px !important;
  border:1px solid #d7e2f2 !important; border-radius:10px;
  background:#fff; object-fit:contain !important;
  flex:0 0 180px !important; aspect-ratio:auto !important;
}
.job-card:has(.company-line > img.company-logo-img[src*="/company-logos/codex-remote4-dexter-"]) {
  container-type:inline-size; container-name:codex-remote4-dexter-card;
}
.job-card .job-open .company-line:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dexter-"]) {
  padding-right:122px;
}
.company-card-heading:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dexter-"]),
.detail-employer:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dexter-"]),
.home-company-line:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dexter-"]) {
  display:flex; flex-wrap:wrap; align-items:center; gap:10px; min-width:0;
}
.company-card-heading:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dexter-"]) > .company-card-name,
.detail-employer:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dexter-"]) > .detail-company,
.home-company-line:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dexter-"]) > .home-company {
  min-width:0; flex:1 1 140px; overflow-wrap:anywhere;
}
/* Keep Save Job in its existing top-right position; move the name below the logo. */
@container codex-remote4-dexter-card (max-width:700px) {
  .job-card .job-open .company-line:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dexter-"]) {
    display:grid; grid-template-columns:minmax(0,1fr); gap:8px; padding-right:0;
  }
  .job-card .job-open .company-line:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dexter-"]) > .company-name {
    width:100%; min-width:0; line-height:1.3;
  }
}
/* At unusually narrow card widths, begin below the existing Save Job button. */
@container codex-remote4-dexter-card (max-width:299px) {
  .job-card .job-open .company-line:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dexter-"]) { padding-top:42px; }
}

/* DBV complete original navy wordmark only; original pale symbol/source remains archived. */
/* Append after the current EUM styles. Exact opt-in asset filename prefix only. */
img.company-logo-img[src*="/company-logos/codex-remote4-dbv-wordmark-"] {
  display:block;
  width:100px !important; min-width:100px !important; max-width:100px !important;
  height:60px !important; min-height:60px !important; max-height:60px !important;
  box-sizing:border-box !important; padding:4px !important;
  border:1px solid #d7e2f2 !important; border-radius:10px;
  background:#fff; object-fit:contain !important;
  flex:0 0 100px !important; aspect-ratio:auto !important;
}
.job-card:has(.company-line > img.company-logo-img[src*="/company-logos/codex-remote4-dbv-wordmark-"]) {
  container-type:inline-size; container-name:codex-remote4-dbv-wordmark-card;
}
.job-card .job-open .company-line:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dbv-wordmark-"]) {
  padding-right:122px;
}
.company-card-heading:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dbv-wordmark-"]),
.detail-employer:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dbv-wordmark-"]),
.home-company-line:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dbv-wordmark-"]) {
  display:flex; flex-wrap:wrap; align-items:center; gap:10px; min-width:0;
}
.company-card-heading:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dbv-wordmark-"]) > .company-card-name,
.detail-employer:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dbv-wordmark-"]) > .detail-company,
.home-company-line:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dbv-wordmark-"]) > .home-company {
  min-width:0; flex:1 1 140px; overflow-wrap:anywhere;
}
/* Keep Save Job in its existing top-right position; move the name below the logo. */
@container codex-remote4-dbv-wordmark-card (max-width:520px) {
  .job-card .job-open .company-line:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dbv-wordmark-"]) {
    display:grid; grid-template-columns:minmax(0,1fr); gap:8px; padding-right:0;
  }
  .job-card .job-open .company-line:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dbv-wordmark-"]) > .company-name {
    width:100%; min-width:0; line-height:1.3;
  }
}
/* At unusually narrow card widths, begin below the existing Save Job button. */
@container codex-remote4-dbv-wordmark-card (max-width:299px) {
  .job-card .job-open .company-line:has(> img.company-logo-img[src*="/company-logos/codex-remote4-dbv-wordmark-"]) { padding-top:42px; }
}

/* READY45 root-approved display condition (IrisGo only): the
   approved white wordmark renders on a #111827 logo box.
   Scoped to this company's logo file; no other company changes.
   The grid-scoped selector is required: articles-shared.css
   sets a white background on Companies-grid logos under two
   IDs, which outranks the plain img rule there. */
img.company-logo-img[src*="/company-logos/codex-wordmark-irisgo-"],
#companies-page #companies-grid img.company-logo-img[src*="/company-logos/codex-wordmark-irisgo-"] {
  background:#111827;
}

/* READY42 root-approved display condition V3 (Amentum only):
   the approved white wordmark renders on a #111827 logo box.
   Scoped to this company's logo file; no other company changes.
   The grid-scoped selector is required: articles-shared.css
   sets a white background on Companies-grid logos under two
   IDs, which outranks the plain img rule there. */
img.company-logo-img[src*="/company-logos/codex-wordmark-amentum-"],
#companies-page #companies-grid img.company-logo-img[src*="/company-logos/codex-wordmark-amentum-"] {
  background:#111827;
}

/* The Delaney Agency (Hugh/Root directive 2026-11-15): the Root-approved lockup's
   wordmark is white; APPLY_PROFILE specifies container background #152536 so the
   full wordmark renders on card/detail/Companies. Artwork bytes unchanged -
   no cropping, no recoloring. */
img.company-logo-img[src*="/company-logos/codex-wordmark-approved8-delaney"] {
  background:#152536 !important;
}

/* Approved15 dark-background lockups (APPLY_PROFILE background #152536; artwork bytes unchanged). */
img.company-logo-img[src*="/company-logos/codex-wordmark-approved15-ensemble_health_partners.svg"] { background:#152536 !important; }
img.company-logo-img[src*="/company-logos/codex-wordmark-approved15-peraton.svg"] { background:#152536 !important; }
img.company-logo-img[src*="/company-logos/codex-wordmark-approved15-texas_hhsc.png"] { background:#152536 !important; }

img.company-logo-img[src*="/company-logos/approved15-uthealth.svg"] { background:#152536 !important; }

img.company-logo-img[src*="/company-logos/codex-wordmark-approved22-mds-solutions"] { background:#152536!important; }

img.company-logo-img[src*="/company-logos/codex-wordmark-approved22-nordic-consulting"] { background:#152536!important; }

img.company-logo-img[src*="/company-logos/codex-wordmark-approved22-bd"] { background:#152536!important; }

/* Approved5 dark-container lockups (APPLY_PROFILE container background #111111; artwork bytes unchanged). */
img.company-logo-img[src*="/company-logos/approved5-gainwell.png"] { background:#111111 !important; }
img.company-logo-img[src*="/company-logos/approved5-easy-ice.png"] { background:#111111 !important; }

img.company-logo-img[src*="/company-logos/approved2-voyager.svg"]{background:#101827!important;}

img.company-logo-img[src*="/company-logos/next10-mbl-technologies.svg"] { background:#101827!important; }

img.company-logo-img[src*="/company-logos/next10-perfectus-labs.png"] { background:#111111!important; }
