/* Popup light palettes are independent of the page's current theme. */
html body #dossierContainer.is-light {
    --text-main: #111827;
    --text-muted: #475569;
    color: #111827 !important;
    color-scheme: light;
}
html body #dossierContainer.is-light *,
html body #vacancyModal.is-light * {
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
}
html body #dossierContainer.is-light :is(.ea-profile-role,.ea-dossier-title,.ea-intel-item strong,.ea-tech-sys-status strong) {
    color: #111827 !important;
}
html body #dossierContainer.is-light :is(.ea-profile-location,.ea-dossier-copy,.ea-timeline-entry p,.ea-request-banner p,.ea-intel-item small,.ea-metric-card small,.ea-tech-sys-status small,.ea-spon-data small,.ea-dossier-clearance) {
    color: #475569 !important;
}
html body #dossierContainer.is-light :is(.ea-dossier-id-badge,.ea-profile-tag,.ea-kicker,.ea-capability-chip,.ea-timeline-entry time,.ea-metric-card strong,.ea-request-banner strong,.ea-request-button,.ea-dossier-theme,.ea-close-dossier,.ea-operations-id) {
    color: var(--dossier-accent) !important;
}
html body #dossierContainer.is-light #modal-dossier-id {color: inherit !important;}
/* Keep cyan lines and icons; use dark text on the cyan class's light surfaces. */
html body #dossierContainer.pathway-1.is-light :is(.ea-dossier-id-badge,.ea-profile-tag,.ea-kicker,.ea-capability-chip,.ea-timeline-entry time,.ea-metric-card strong,.ea-request-banner strong,.ea-request-button,.ea-dossier-theme,.ea-close-dossier) {
    color: #111827 !important;
}
html body #dossierContainer.pathway-1.is-light :is(.ea-intel-item,.ea-metric-card) {
    border-color: rgba(32,220,255,.65) !important;
}
html body #dossierContainer.is-light :is(.ea-request-button,.ea-dossier-theme,.ea-close-dossier):is(:hover,:focus-visible) {
    color: #111827 !important;
}
html body #vacancyModal.is-light {color: #172334 !important;}
html body #vacancyModal.is-light :is(.ea-modal-title,.ea-vacancy-detail-section dd) {
    color: #172334 !important;
}
html body #vacancyModal.is-light :is(.ea-modal-meta,.ea-vacancy-detail-section dt,.ea-vacancy-detail-section li,.ea-vacancy-detail-section p,.ea-modal-notice,.ea-vacancy-modal-request p,#vacancyModalSelectionStatus) {
    color: #475569 !important;
}
html body #vacancyModal.is-light :is(.ea-modal-kicker,.ea-modal-kicker span,.ea-vacancy-detail-section h3,.ea-vacancy-theme-toggle,.ea-modal-close) {
    color: #007b92 !important;
}
html body #vacancyModal.is-light .ea-modal-action.employer,
html body #vacancyModal.is-light .ea-modal-action.employer :is(small,strong) {color: #021017 !important;}
html body #vacancyModal.is-light .ea-modal-action.worker,
html body #vacancyModal.is-light .ea-modal-action.worker :is(small,strong) {color: #806000 !important;}
html body #vacancyModal.is-light .ea-modal-action.worker:is(:hover,:focus-visible),
html body #vacancyModal.is-light .ea-modal-action.worker:is(:hover,:focus-visible) :is(small,strong) {color: #fff !important;}
html body #vacancyModal.is-light :is(.ea-vacancy-theme-toggle,.ea-modal-close):is(:hover,:focus-visible) {color: #fff !important;}

/* End columns contain actions; the rest of each row still opens the briefing. */
html body.vacancies-page .ea-vacancy-table {
    --request-ink: #c7d5e4;
    --request-cyan: #25d9ff;
    --request-worker: #f5c842;
    min-width: 1660px;
}
html body.vacancies-page .ea-vacancy-table :is(.col-employer-actions,.col-worker-actions) {width: 225px;min-width: 0;}
html body.vacancies-page .ea-vacancy-row-actions {display: flex;flex-direction: column;align-items: flex-start;gap: 9px;}
html body.vacancies-page .ea-vacancy-row-actions :is(a,button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid var(--request-cyan);
    background: transparent;
    color: var(--request-cyan) !important;
    -webkit-text-fill-color: currentColor !important;
    font: 700 11px/1.5 Arial,sans-serif;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
}
html body.vacancies-page .col-worker-actions :is(a,button) {color: var(--request-worker) !important;border-color: var(--request-worker);}
html body.vacancies-page .ea-vacancy-row-actions :is(a,button):is(:hover,:focus-visible) {background: rgba(37,217,255,.12);outline: 2px solid currentColor;outline-offset: 2px;}
html body.vacancies-page [data-add-vacancy][aria-pressed="true"] {background: rgba(245,200,66,.12);}
html body.vacancies-page .ea-vacancy-row-actions button:disabled {opacity: .4;cursor: default;}
html body.vacancies-page .ea-vacancy-click-hint {margin-top: 14px;padding-top: 12px;border-top: 1px solid rgba(37,217,255,.25);}

/* A small session shortlist sends one primary ID and up to nine additional IDs. */
html body.vacancies-page #vacancyRequestPanel {
    --request-ink: #c7d5e4;
    --request-cyan: #25d9ff;
    box-sizing: border-box;
    margin: 0 0 20px;
    padding: 20px;
    border: 1px solid rgba(37,217,255,.35);
    background: rgba(3,10,16,.88);
    scroll-margin-top: 110px;
    color: var(--request-ink);
}
html body.vacancies-page #vacancyRequestPanel * {-webkit-text-fill-color: currentColor !important;}
html body.vacancies-page #vacancyRequestPanel h3 {margin: 0 0 10px;color: var(--request-cyan) !important;font-size: 18px;line-height: 1.5;text-transform: none;}
html body.vacancies-page #vacancyRequestPanel :is(p,label,span) {color: var(--request-ink) !important;font-size: 13px;line-height: 1.75;}
html body.vacancies-page #vacancyRequestPanel p {margin: 9px 0;}
html body.vacancies-page #vacancyRequestPanel strong {color: inherit !important;}
html body.vacancies-page .ea-vacancy-request-list {display: flex;flex-wrap: wrap;gap: 8px;margin: 12px 0;}
html body.vacancies-page #vacancyRequestPanel label {display: block;margin: 8px 0;}
html body.vacancies-page #selectedVacancyIds {display: block;box-sizing: border-box;width: 100%;min-height: 56px;padding: 10px 12px;border: 1px solid var(--request-cyan);background: #050b15;color: var(--request-ink) !important;font: 400 13px/1.6 Arial,sans-serif;resize: vertical;}
html body.vacancies-page .ea-vacancy-request-toolbar {display: flex;align-items: center;flex-wrap: wrap;gap: 12px;margin: 14px 0;}
html body.vacancies-page #vacancyRequestPanel :is(button,a) {padding: 9px 12px;border: 1px solid var(--request-cyan);background: transparent;color: var(--request-cyan) !important;font: 700 12px/1.5 Arial,sans-serif;text-decoration: none;cursor: pointer;}
html body.vacancies-page #vacancyRequestPanel button span {color: inherit !important;}
html body.vacancies-page #vacancyRequestPanel :is(button,a):focus-visible {outline: 2px solid var(--request-cyan);outline-offset: 3px;}
html body.vacancies-page #vacancyRequestPanel :is(button:disabled,a[aria-disabled="true"]) {opacity: .4;cursor: default;}
html body.vacancies-page #vacancyRequestPanel .ea-vacancy-request-detail {font-size: 12px;}
html body.vacancies-page #vacancyRequestPanel .ea-vacancy-permit-note {margin-top: 16px;padding-top: 12px;border-top: 1px solid rgba(148,163,184,.3);font-size: 12px;}
html body #vacancyModal .ea-vacancy-modal-request {display: flex;flex-wrap: wrap;align-items: center;gap: 12px;margin-top: 18px;padding: 18px;border: 1px solid var(--job-border);background: var(--job-panel);}
html body #vacancyModal .ea-vacancy-modal-request :is(button,a) {padding: 10px 12px;border: 1px solid var(--cyan);background: transparent;color: var(--cyan);font: 700 12px/1.5 Arial,sans-serif;text-decoration: none;cursor: pointer;}
html body #vacancyModal .ea-vacancy-modal-request :is(button,a):focus-visible {outline: 2px solid var(--cyan);outline-offset: 3px;}
html body #vacancyModal .ea-vacancy-modal-request button[aria-pressed="true"] {background: rgba(var(--cyan-rgb),.1);}
html body #vacancyModal .ea-vacancy-modal-request button:disabled {opacity: .4;cursor: default;}
html body #vacancyModal .ea-vacancy-modal-request :is(p,span) {margin: 0;color: var(--job-muted);font-size: 12px;line-height: 1.75;}
html body #vacancyModal .ea-vacancy-modal-request p {flex-basis: 100%;}
html.ea-clean-white body.vacancies-page :is(#vacancyRequestPanel,.ea-vacancy-table),
html body.vacancies-page:is(.light-mode,.ea-clean-white,.ea-theme-light) :is(#vacancyRequestPanel,.ea-vacancy-table) {--request-ink: #334155;--request-cyan: #007b92;--request-worker: #806000;}
html.ea-clean-white body.vacancies-page #vacancyRequestPanel,
html body.vacancies-page:is(.light-mode,.ea-clean-white,.ea-theme-light) #vacancyRequestPanel {background: #fff;border-color: #b6d9e2;}
html.ea-clean-white body.vacancies-page #selectedVacancyIds,
html body.vacancies-page:is(.light-mode,.ea-clean-white,.ea-theme-light) #selectedVacancyIds {background: #f8fafc;}
@media(max-width:760px) {
    html body.vacancies-page #vacancyRequestPanel {padding: 15px;}
    html body.vacancies-page .ea-vacancy-request-toolbar {align-items: flex-start;}
    html body #vacancyModal .ea-vacancy-modal-request {padding: 14px;}
}
